infinity-forge 0.31.3 → 0.31.4

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 (348) 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 +4 -4
  67. package/dist/sites/index.js +4 -4
  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/sites/utils/index.d.ts +1 -1
  73. package/dist/sites/utils/index.js +1 -1
  74. package/dist/system/container/admin/auth/container.js +0 -11
  75. package/dist/system/container/admin/auth/index.d.ts +0 -2
  76. package/dist/system/container/admin/auth/index.js +0 -19
  77. package/dist/system/container/admin/index.d.ts +0 -3
  78. package/dist/system/container/admin/index.js +0 -20
  79. package/dist/system/container/admin/menu/container.js +0 -11
  80. package/dist/system/container/admin/menu/index.d.ts +0 -2
  81. package/dist/system/container/admin/menu/index.js +0 -19
  82. package/dist/system/container/admin/users/container.js +0 -12
  83. package/dist/system/container/admin/users/index.d.ts +0 -2
  84. package/dist/system/container/admin/users/index.js +0 -19
  85. package/dist/system/container/index.d.ts +0 -4
  86. package/dist/system/container/index.js +0 -21
  87. package/dist/system/container/main.d.ts +0 -4
  88. package/dist/system/container/main.js +0 -14
  89. package/dist/system/container/types.js +0 -19
  90. package/dist/system/index.d.ts +5 -5
  91. package/dist/system/index.js +5 -5
  92. package/dist/system/presentation/components/data/avatar/index.js +2 -2
  93. package/dist/system/presentation/components/data/chat/card-message/index.d.ts +1 -1
  94. package/dist/system/presentation/components/data/chat/card-message/index.js +3 -3
  95. package/dist/system/presentation/components/data/chat/index.d.ts +1 -1
  96. package/dist/system/presentation/components/data/chat/index.js +5 -5
  97. package/dist/system/presentation/components/data/chat/interfaces.d.ts +1 -1
  98. package/dist/system/presentation/components/data/chat/loader/index.js +1 -1
  99. package/dist/system/presentation/components/data/highlight-text/index.d.ts +1 -1
  100. package/dist/system/presentation/components/data/highlight-text/index.js +2 -2
  101. package/dist/system/presentation/components/data/index.d.ts +9 -9
  102. package/dist/system/presentation/components/data/index.js +9 -9
  103. package/dist/system/presentation/components/data/input-search/index.d.ts +1 -1
  104. package/dist/system/presentation/components/data/input-search/index.js +3 -3
  105. package/dist/system/presentation/components/data/logo/index.js +2 -2
  106. package/dist/system/presentation/components/data/overlay/index.d.ts +1 -1
  107. package/dist/system/presentation/components/data/overlay/index.js +2 -2
  108. package/dist/system/presentation/components/data/page-wrapper/index.d.ts +1 -1
  109. package/dist/system/presentation/components/data/page-wrapper/index.js +2 -2
  110. package/dist/system/presentation/components/data/page-wrapper/interfaces.d.ts +1 -1
  111. package/dist/system/presentation/components/data/popover/index.d.ts +1 -1
  112. package/dist/system/presentation/components/data/sign-up/index.js +3 -3
  113. package/dist/system/presentation/components/index.d.ts +3 -3
  114. package/dist/system/presentation/components/index.js +3 -3
  115. package/dist/system/presentation/components/layout/component.d.ts +1 -1
  116. package/dist/system/presentation/components/layout/component.js +2 -2
  117. package/dist/system/presentation/components/layout/header/components/index.d.ts +2 -2
  118. package/dist/system/presentation/components/layout/header/components/index.js +2 -2
  119. package/dist/system/presentation/components/layout/header/components/menu-right/index.js +6 -6
  120. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/card/index.d.ts +1 -1
  121. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/card/index.js +3 -3
  122. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.js +3 -3
  123. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/interfaces.d.ts +1 -1
  124. package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.js +3 -3
  125. package/dist/system/presentation/components/layout/header/components/menu-right/notifications/card/index.d.ts +1 -1
  126. package/dist/system/presentation/components/layout/header/components/menu-right/notifications/card/index.js +2 -2
  127. package/dist/system/presentation/components/layout/header/components/menu-right/notifications/index.js +5 -5
  128. package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/index.js +3 -3
  129. package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js +4 -4
  130. package/dist/system/presentation/components/layout/header/components/menu-right/settings/index.js +3 -3
  131. package/dist/system/presentation/components/layout/header/components/search-modal/index.js +4 -4
  132. package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.js +3 -3
  133. package/dist/system/presentation/components/layout/header/components/search-modal/trigger/index.js +2 -2
  134. package/dist/system/presentation/components/layout/header/index.js +1 -1
  135. package/dist/system/presentation/components/layout/header/version-01/index.js +4 -4
  136. package/dist/system/presentation/components/layout/index.d.ts +3 -3
  137. package/dist/system/presentation/components/layout/index.js +3 -3
  138. package/dist/system/presentation/components/layout/menu/components/index.d.ts +2 -2
  139. package/dist/system/presentation/components/layout/menu/components/index.js +2 -2
  140. package/dist/system/presentation/components/layout/menu/components/menu/index.js +3 -3
  141. package/dist/system/presentation/components/layout/menu/components/select-workspace/index.js +4 -4
  142. package/dist/system/presentation/components/layout/menu/index.js +1 -1
  143. package/dist/system/presentation/components/layout/menu/version-01/index.d.ts +1 -1
  144. package/dist/system/presentation/components/layout/menu/version-01/index.js +2 -2
  145. package/dist/system/presentation/components/pages/index.d.ts +2 -2
  146. package/dist/system/presentation/components/pages/index.js +2 -2
  147. package/dist/system/presentation/components/pages/menus/index.d.ts +1 -1
  148. package/dist/system/presentation/components/pages/menus/index.js +1 -1
  149. package/dist/system/presentation/components/pages/menus/page.js +3 -3
  150. package/dist/system/presentation/components/pages/menus/table/columns.d.ts +2 -2
  151. package/dist/system/presentation/components/pages/menus/table/columns.js +1 -1
  152. package/dist/system/presentation/components/pages/menus/table/create.d.ts +2 -2
  153. package/dist/system/presentation/components/pages/menus/table/create.js +2 -2
  154. package/dist/system/presentation/components/pages/menus/table/delete.js +2 -2
  155. package/dist/system/presentation/components/pages/menus/table/edit.d.ts +2 -2
  156. package/dist/system/presentation/components/pages/menus/table/edit.js +2 -2
  157. package/dist/system/presentation/components/pages/menus/table/icon/index.js +1 -1
  158. package/dist/system/presentation/components/pages/menus/table/index.d.ts +4 -4
  159. package/dist/system/presentation/components/pages/menus/table/index.js +4 -4
  160. package/dist/system/presentation/components/pages/users/index.d.ts +1 -1
  161. package/dist/system/presentation/components/pages/users/index.js +1 -1
  162. package/dist/system/presentation/components/pages/users/page.js +3 -3
  163. package/dist/system/presentation/components/pages/users/table/columns.d.ts +2 -2
  164. package/dist/system/presentation/components/pages/users/table/create.d.ts +2 -2
  165. package/dist/system/presentation/components/pages/users/table/create.js +2 -2
  166. package/dist/system/presentation/components/pages/users/table/delete.js +2 -2
  167. package/dist/system/presentation/components/pages/users/table/edit.d.ts +2 -2
  168. package/dist/system/presentation/components/pages/users/table/edit.js +2 -2
  169. package/dist/system/presentation/components/pages/users/table/index.d.ts +4 -4
  170. package/dist/system/presentation/components/pages/users/table/index.js +4 -4
  171. package/dist/system/presentation/configs/index.d.ts +2 -2
  172. package/dist/system/presentation/configs/index.js +2 -2
  173. package/dist/system/presentation/context/auth/authenticated/index.js +1 -1
  174. package/dist/system/presentation/context/auth/context.d.ts +1 -1
  175. package/dist/system/presentation/context/auth/context.js +1 -1
  176. package/dist/system/presentation/context/auth/index.d.ts +5 -5
  177. package/dist/system/presentation/context/auth/index.js +5 -5
  178. package/dist/system/presentation/context/auth/interfaces.d.ts +1 -1
  179. package/dist/system/presentation/context/auth/login/index.js +3 -3
  180. package/dist/system/presentation/context/auth/private-page/index.js +3 -3
  181. package/dist/system/presentation/context/auth/unauthenticated/index.js +1 -1
  182. package/dist/system/presentation/context/container.js +3 -3
  183. package/dist/system/presentation/context/index.d.ts +3 -3
  184. package/dist/system/presentation/context/index.js +3 -3
  185. package/dist/system/presentation/context/system-configs/context.d.ts +1 -1
  186. package/dist/system/presentation/context/system-configs/context.js +1 -1
  187. package/dist/system/presentation/context/system-configs/index.d.ts +2 -2
  188. package/dist/system/presentation/context/system-configs/index.js +2 -2
  189. package/dist/system/presentation/hooks/index.d.ts +3 -3
  190. package/dist/system/presentation/hooks/index.js +3 -3
  191. package/dist/system/presentation/hooks/menu/index.d.ts +1 -1
  192. package/dist/system/presentation/hooks/menu/index.js +1 -1
  193. package/dist/system/presentation/hooks/menu/use-load-menu.d.ts +1 -1
  194. package/dist/system/presentation/hooks/menu/use-load-menu.js +1 -1
  195. package/dist/system/presentation/hooks/notifications/index.d.ts +2 -2
  196. package/dist/system/presentation/hooks/notifications/index.js +2 -2
  197. package/dist/system/presentation/hooks/notifications/use-load-all/index.js +1 -1
  198. package/dist/system/presentation/hooks/notifications/use-load-no-read/index.d.ts +1 -1
  199. package/dist/system/presentation/hooks/notifications/use-load-no-read/index.js +1 -1
  200. package/dist/system/presentation/hooks/ui/index.d.ts +2 -2
  201. package/dist/system/presentation/hooks/ui/index.js +2 -2
  202. package/dist/system/presentation/hooks/ui/use-table/component.d.ts +0 -8
  203. package/dist/system/presentation/hooks/ui/use-table/component.js +0 -26
  204. package/dist/system/presentation/hooks/ui/use-table/components/index.d.ts +1 -1
  205. package/dist/system/presentation/hooks/ui/use-table/components/index.js +1 -1
  206. package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.d.ts +0 -5
  207. package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.js +0 -109
  208. package/dist/system/presentation/hooks/ui/use-table/components/table/create/index.d.ts +0 -4
  209. package/dist/system/presentation/hooks/ui/use-table/components/table/create/index.js +0 -107
  210. package/dist/system/presentation/hooks/ui/use-table/components/table/export/index.d.ts +0 -4
  211. package/dist/system/presentation/hooks/ui/use-table/components/table/export/index.js +0 -35
  212. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.d.ts +0 -4
  213. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.js +0 -128
  214. package/dist/system/presentation/hooks/ui/use-table/components/table/index.d.ts +1 -1
  215. package/dist/system/presentation/hooks/ui/use-table/components/table/index.js +10 -10
  216. package/dist/system/presentation/hooks/ui/use-table/components/table/index.js.map +1 -1
  217. package/dist/system/presentation/hooks/ui/use-table/components/table/interfaces.d.ts +2 -2
  218. package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/index.d.ts +1 -1
  219. package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/index.js +3 -3
  220. package/dist/system/presentation/hooks/ui/use-table/components/table/skeleton-table/index.js +2 -2
  221. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.d.ts +0 -2
  222. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.js +0 -50
  223. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/interfaces.d.ts +0 -6
  224. package/dist/system/presentation/hooks/ui/use-table/index.d.ts +0 -4
  225. package/dist/system/presentation/hooks/ui/use-table/index.js +0 -21
  226. package/dist/system/presentation/hooks/ui/use-table/interfaces.d.ts +0 -82
  227. package/dist/system/presentation/hooks/ui/use-table/query/get-query-arguments-table.d.ts +0 -2
  228. package/dist/system/presentation/hooks/ui/use-table/query/hook.d.ts +0 -5
  229. package/dist/system/presentation/hooks/ui/use-table/query/hook.js +0 -50
  230. package/dist/system/presentation/hooks/ui/use-table/query/index.d.ts +0 -2
  231. package/dist/system/presentation/hooks/ui/use-table/query/index.js +0 -19
  232. package/dist/system/presentation/index.d.ts +5 -5
  233. package/dist/system/presentation/index.js +5 -5
  234. package/dist/system/presentation/utils/index.d.ts +0 -1
  235. package/dist/system/presentation/utils/index.js +0 -18
  236. package/dist/system/presentation/utils/use-query/index.d.ts +0 -1
  237. package/dist/system/presentation/utils/use-query/index.js +0 -18
  238. package/dist/ui/components/accordion/index..d.ts +1 -1
  239. package/dist/ui/components/accordion/index..js +2 -2
  240. package/dist/ui/components/breadcrumb/index.d.ts +1 -1
  241. package/dist/ui/components/breadcrumb/index.js +2 -2
  242. package/dist/ui/components/button/component.d.ts +1 -1
  243. package/dist/ui/components/button/component.js +2 -2
  244. package/dist/ui/components/button/index.d.ts +2 -2
  245. package/dist/ui/components/button/index.js +2 -2
  246. package/dist/ui/components/button/interfaces.d.ts +1 -1
  247. package/dist/ui/components/container/index.d.ts +1 -1
  248. package/dist/ui/components/error-boundary/component.d.ts +1 -1
  249. package/dist/ui/components/error-boundary/component.js +1 -1
  250. package/dist/ui/components/error-boundary/error-body.d.ts +1 -1
  251. package/dist/ui/components/error-boundary/index.d.ts +2 -2
  252. package/dist/ui/components/error-boundary/index.js +2 -2
  253. package/dist/ui/components/form/checkbox/index.js +0 -56
  254. package/dist/ui/components/form/handler/component.d.ts +0 -2
  255. package/dist/ui/components/form/handler/component.js +0 -25
  256. package/dist/ui/components/form/handler/custom-submit/index.d.ts +0 -16
  257. package/dist/ui/components/form/handler/custom-submit/index.js +0 -22
  258. package/dist/ui/components/form/handler/dynamic_form_handler/component.d.ts +0 -2
  259. package/dist/ui/components/form/handler/dynamic_form_handler/component.js +0 -113
  260. package/dist/ui/components/form/handler/dynamic_form_handler/index.d.ts +0 -2
  261. package/dist/ui/components/form/handler/dynamic_form_handler/index.js +0 -19
  262. package/dist/ui/components/form/handler/dynamic_form_handler/interfaces.d.ts +0 -27
  263. package/dist/ui/components/form/handler/form-handler/index.d.ts +0 -2
  264. package/dist/ui/components/form/handler/form-handler/index.js +0 -201
  265. package/dist/ui/components/form/handler/index.d.ts +0 -5
  266. package/dist/ui/components/form/handler/index.js +0 -22
  267. package/dist/ui/components/form/handler/interfaces.d.ts +0 -31
  268. package/dist/ui/components/form/index.d.ts +0 -14
  269. package/dist/ui/components/form/index.js +0 -31
  270. package/dist/ui/components/form/input/index.d.ts +0 -2
  271. package/dist/ui/components/form/input/index.js +0 -41
  272. package/dist/ui/components/form/input-control/error/index.js +0 -34
  273. package/dist/ui/components/form/input-control/index.d.ts +0 -2
  274. package/dist/ui/components/form/input-control/index.js +0 -41
  275. package/dist/ui/components/form/input-control/label/index.js +0 -34
  276. package/dist/ui/components/form/input-control/loader-input/index.js +0 -34
  277. package/dist/ui/components/form/input-cpf-cnpj/index.d.ts +0 -2
  278. package/dist/ui/components/form/input-cpf-cnpj/index.js +0 -55
  279. package/dist/ui/components/form/input-currency/index.d.ts +0 -2
  280. package/dist/ui/components/form/input-currency/index.js +0 -27
  281. package/dist/ui/components/form/input-date/index.d.ts +0 -4
  282. package/dist/ui/components/form/input-date/index.js +0 -47
  283. package/dist/ui/components/form/input-file/file-card/index.d.ts +0 -5
  284. package/dist/ui/components/form/input-file/file-card/index.js +0 -65
  285. package/dist/ui/components/form/input-file/index.d.ts +0 -2
  286. package/dist/ui/components/form/input-file/index.js +0 -104
  287. package/dist/ui/components/form/input-mask/index.d.ts +0 -5
  288. package/dist/ui/components/form/input-mask/index.js +0 -35
  289. package/dist/ui/components/form/input-password/index.d.ts +0 -2
  290. package/dist/ui/components/form/input-password/index.js +0 -55
  291. package/dist/ui/components/form/input-switch/index.d.ts +0 -2
  292. package/dist/ui/components/form/input-switch/index.js +0 -24
  293. package/dist/ui/components/form/interfaces.d.ts +0 -23
  294. package/dist/ui/components/form/radio/index.js +0 -64
  295. package/dist/ui/components/form/select/index.d.ts +0 -2
  296. package/dist/ui/components/form/select/index.js +0 -85
  297. package/dist/ui/components/form/select/interfaces.d.ts +0 -32
  298. package/dist/ui/components/form/textarea/index.d.ts +0 -2
  299. package/dist/ui/components/form/textarea/index.js +0 -29
  300. package/dist/ui/components/index.d.ts +10 -10
  301. package/dist/ui/components/index.js +10 -10
  302. package/dist/ui/components/loader-circle/index.d.ts +0 -2
  303. package/dist/ui/components/loading-screen/index.d.ts +1 -1
  304. package/dist/ui/components/loading-screen/index.js +3 -3
  305. package/dist/ui/components/menu-mobile/components/nav-links/index.d.ts +1 -1
  306. package/dist/ui/components/menu-mobile/components/nav-links/index.js +2 -2
  307. package/dist/ui/components/menu-mobile/components/nav-links/interfaces.d.ts +1 -1
  308. package/dist/ui/components/menu-mobile/index.d.ts +1 -1
  309. package/dist/ui/components/menu-mobile/index.js +4 -4
  310. package/dist/ui/components/menu-mobile/top/index.d.ts +1 -1
  311. package/dist/ui/components/menu-mobile/top/index.js +2 -2
  312. package/dist/ui/components/menu-mobile/top/interfaces.d.ts +1 -1
  313. package/dist/ui/components/next-image/index.d.ts +1 -1
  314. package/dist/ui/components/next-image/index.js +3 -3
  315. package/dist/ui/components/sidebar/index.d.ts +1 -1
  316. package/dist/ui/components/sidebar/index.js +1 -1
  317. package/dist/ui/contexts/index.d.ts +3 -3
  318. package/dist/ui/contexts/index.js +3 -3
  319. package/dist/ui/contexts/theme/context.d.ts +1 -1
  320. package/dist/ui/contexts/theme/context.js +1 -1
  321. package/dist/ui/contexts/theme/index.d.ts +2 -2
  322. package/dist/ui/contexts/theme/index.js +2 -2
  323. package/dist/ui/contexts/toast/index.d.ts +1 -1
  324. package/dist/ui/contexts/toast/toast-item/index.d.ts +1 -1
  325. package/dist/ui/contexts/toast/toast-item/index.js +2 -2
  326. package/dist/ui/icons/render/Globe.d.ts +1 -1
  327. package/dist/ui/icons/render/LongArrowRight.d.ts +1 -1
  328. package/dist/ui/index.d.ts +5 -5
  329. package/dist/ui/index.js +5 -5
  330. package/dist/ui/utils/buffer/index.d.ts +1 -1
  331. package/dist/ui/utils/buffer/index.js +1 -1
  332. package/dist/ui/utils/facebook/index.d.ts +1 -1
  333. package/dist/ui/utils/facebook/index.js +1 -1
  334. package/dist/ui/utils/file/index.d.ts +2 -2
  335. package/dist/ui/utils/file/index.js +2 -2
  336. package/dist/ui/utils/file/load-file.d.ts +1 -1
  337. package/dist/ui/utils/file/load-file.js +1 -1
  338. package/dist/ui/utils/file/upload-file.d.ts +1 -1
  339. package/dist/ui/utils/file/upload-file.js +1 -1
  340. package/dist/ui/utils/index.d.ts +7 -7
  341. package/dist/ui/utils/index.js +7 -7
  342. package/dist/ui/utils/libs/index.d.ts +1 -1
  343. package/dist/ui/utils/libs/index.js +1 -1
  344. package/dist/ui/utils/libs/next/index.d.ts +2 -2
  345. package/dist/ui/utils/libs/next/index.js +2 -2
  346. package/dist/ui/utils/validations/index.d.ts +2 -2
  347. package/dist/ui/utils/validations/index.js +2 -2
  348. package/package.json +1 -1
@@ -1,35 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.InputMask = void 0;
15
- var jsx_runtime_1 = require("react/jsx-runtime");
16
- var react_1 = require("react");
17
- var formik_1 = require("formik");
18
- var mask_1 = require("@react-input/mask");
19
- var input_control_1 = require("../input-control/index.js");
20
- function InputMask(props) {
21
- var _a = (0, formik_1.useField)({ name: props.name }), field = _a[0], _ = _a[1], helpers = _a[2];
22
- var inputRef = (0, mask_1.useMask)({
23
- mask: props.mask,
24
- replacement: { _: /\d/ },
25
- });
26
- (0, react_1.useEffect)(function () {
27
- if (field.value === undefined) {
28
- helpers.setValue('');
29
- inputRef.current.value = '';
30
- }
31
- }, [field.value]);
32
- return ((0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props, { children: (0, jsx_runtime_1.jsx)("input", __assign({ id: props.name }, field, { placeholder: props.placeholder, ref: inputRef })) })));
33
- }
34
- exports.InputMask = InputMask;
35
- //# sourceMappingURL=index.js.map
@@ -1,2 +0,0 @@
1
- import { InputProps } from '../interfaces.js';
2
- export declare function InputPassword(props: InputProps): import("react/jsx-runtime").JSX.Element;
@@ -1,55 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- var desc = Object.getOwnPropertyDescriptor(m, k);
16
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
- desc = { enumerable: true, get: function() { return m[k]; } };
18
- }
19
- Object.defineProperty(o, k2, desc);
20
- }) : (function(o, m, k, k2) {
21
- if (k2 === undefined) k2 = k;
22
- o[k2] = m[k];
23
- }));
24
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
- Object.defineProperty(o, "default", { enumerable: true, value: v });
26
- }) : function(o, v) {
27
- o["default"] = v;
28
- });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.InputPassword = void 0;
38
- var jsx_runtime_1 = require("react/jsx-runtime");
39
- var react_1 = require("react");
40
- var formik_1 = require("formik");
41
- var icons_1 = require("../../../../ui/icons/index.js");
42
- var input_control_1 = require("../input-control/index.js");
43
- var S = __importStar(require("./styles.js"));
44
- function InputPassword(props) {
45
- var _a = (0, react_1.useState)(false), showPassword = _a[0], setShowPassword = _a[1];
46
- var _b = (0, formik_1.useField)(props.name), field = _b[0], _ = _b[1], helpers = _b[2];
47
- (0, react_1.useEffect)(function () {
48
- if (field.value === undefined) {
49
- helpers.setValue("");
50
- }
51
- }, [field.value]);
52
- return ((0, jsx_runtime_1.jsx)(S.InputPassword, { children: (0, jsx_runtime_1.jsxs)(input_control_1.InputControl, __assign({}, props, { children: [(0, jsx_runtime_1.jsx)("input", __assign({ id: props.name, type: showPassword ? 'text' : 'password', className: 'font-16-regular' }, props, field)), (0, jsx_runtime_1.jsx)("button", { tabIndex: -1, type: 'button', className: 'eye', onClick: function () { return setShowPassword(!showPassword); }, "aria-label": 'password eye', children: (0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(icons_1.Icon, { name: !showPassword ? 'IconEyeOff' : 'IconEye' }) }) })] })) }));
53
- }
54
- exports.InputPassword = InputPassword;
55
- //# sourceMappingURL=index.js.map
@@ -1,2 +0,0 @@
1
- import { InputProps } from '../interfaces.js';
2
- export declare function InputSwitch(props: InputProps): import("react/jsx-runtime").JSX.Element;
@@ -1,24 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.InputSwitch = void 0;
15
- var jsx_runtime_1 = require("react/jsx-runtime");
16
- var formik_1 = require("formik");
17
- var semantic_ui_react_1 = require("semantic-ui-react");
18
- var input_control_1 = require("../input-control/index.js");
19
- function InputSwitch(props) {
20
- var field = (0, formik_1.useField)({ name: props.name, type: "checkbox" })[0];
21
- return ((0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props, { children: (0, jsx_runtime_1.jsx)(semantic_ui_react_1.Checkbox, __assign({ toggle: true }, field, { id: props.name })) })));
22
- }
23
- exports.InputSwitch = InputSwitch;
24
- //# sourceMappingURL=index.js.map
@@ -1,23 +0,0 @@
1
- /// <reference types="react" />
2
- import { IconsNames } from '../../../ui/icons/index.js';
3
- interface Props {
4
- name: string;
5
- label?: string;
6
- loading?: boolean;
7
- icon?: {
8
- name: IconsNames;
9
- size: number;
10
- color: string;
11
- direction?: 'left' | 'right';
12
- };
13
- iconDirection?: 'left' | 'right';
14
- $isAccumalativeFile?: boolean;
15
- only?: 'cpf' | 'cnpj';
16
- onChangeInput?: (value: string) => void;
17
- }
18
- export interface IOptionSelect {
19
- label: string;
20
- value: string;
21
- }
22
- export type InputProps = JSX.IntrinsicElements['input'] & JSX.IntrinsicElements['textarea'] & Props;
23
- export {};
@@ -1,64 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- var desc = Object.getOwnPropertyDescriptor(m, k);
16
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
- desc = { enumerable: true, get: function() { return m[k]; } };
18
- }
19
- Object.defineProperty(o, k2, desc);
20
- }) : (function(o, m, k, k2) {
21
- if (k2 === undefined) k2 = k;
22
- o[k2] = m[k];
23
- }));
24
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
- Object.defineProperty(o, "default", { enumerable: true, value: v });
26
- }) : function(o, v) {
27
- o["default"] = v;
28
- });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- var __rest = (this && this.__rest) || function (s, e) {
37
- var t = {};
38
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
39
- t[p] = s[p];
40
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
41
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
42
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
43
- t[p[i]] = s[p[i]];
44
- }
45
- return t;
46
- };
47
- Object.defineProperty(exports, "__esModule", { value: true });
48
- exports.InputRadio = exports.InputRadioComponent = void 0;
49
- var jsx_runtime_1 = require("react/jsx-runtime");
50
- var formik_1 = require("formik");
51
- var S = __importStar(require("./styles.js"));
52
- var input_control_1 = require("../input-control/index.js");
53
- function InputRadioComponent(props) {
54
- var field = (0, formik_1.useField)({ name: props.name })[0];
55
- var isActive = field.value === props.value;
56
- return ((0, jsx_runtime_1.jsxs)("label", { htmlFor: props.name + props.label, children: [(0, jsx_runtime_1.jsx)("input", __assign({ id: props.name + props.label }, field, { checked: isActive, type: 'radio', value: props.value, style: { display: props.CustomOption ? 'none' : 'block' } })), props.CustomOption ? (0, jsx_runtime_1.jsx)(props.CustomOption, __assign({}, props, { isActive: isActive })) : (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: props.label && props.label })] }));
57
- }
58
- exports.InputRadioComponent = InputRadioComponent;
59
- function InputRadio(_a) {
60
- var name = _a.name, options = _a.options, props = __rest(_a, ["name", "options"]);
61
- return ((0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props, { name: name, children: (0, jsx_runtime_1.jsx)(S.InputRadio, { children: (0, jsx_runtime_1.jsx)("div", { className: 'list-radios', children: options.map(function (option) { return ((0, jsx_runtime_1.jsx)(InputRadioComponent, __assign({}, option, { name: name }), option.value)); }) }) }) })));
62
- }
63
- exports.InputRadio = InputRadio;
64
- //# sourceMappingURL=index.js.map
@@ -1,2 +0,0 @@
1
- import { ISelectProps } from './interfaces.js';
2
- export declare function Select(props: ISelectProps): import("react/jsx-runtime").JSX.Element;
@@ -1,85 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- var desc = Object.getOwnPropertyDescriptor(m, k);
16
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
- desc = { enumerable: true, get: function() { return m[k]; } };
18
- }
19
- Object.defineProperty(o, k2, desc);
20
- }) : (function(o, m, k, k2) {
21
- if (k2 === undefined) k2 = k;
22
- o[k2] = m[k];
23
- }));
24
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
- Object.defineProperty(o, "default", { enumerable: true, value: v });
26
- }) : function(o, v) {
27
- o["default"] = v;
28
- });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- var __importDefault = (this && this.__importDefault) || function (mod) {
37
- return (mod && mod.__esModule) ? mod : { "default": mod };
38
- };
39
- Object.defineProperty(exports, "__esModule", { value: true });
40
- exports.Select = void 0;
41
- var jsx_runtime_1 = require("react/jsx-runtime");
42
- var react_1 = require("react");
43
- var formik_1 = require("formik");
44
- var react_select_1 = __importDefault(require("react-select"));
45
- var ui_1 = require("../../../../ui/index.js");
46
- var custom_styles_1 = require("./custom-styles.js");
47
- var S = __importStar(require("./styles.js"));
48
- function Select(props) {
49
- var _a, _b, _c, _d;
50
- var _e = (0, formik_1.useField)({
51
- name: props.name,
52
- }), field = _e[0], _ = _e[1], helpers = _e[2];
53
- var fieldValue = field.value || [];
54
- var value = !props.onlyOneValue
55
- ? fieldValue && (fieldValue === null || fieldValue === void 0 ? void 0 : fieldValue.length) > 0 && props.isGroup
56
- ? fieldValue === null || fieldValue === void 0 ? void 0 : fieldValue.map(function (defaultValueForm) {
57
- return props.options
58
- .find(function (option) {
59
- return option.options.find(function (o) { return o.value === defaultValueForm; });
60
- })
61
- .options.find(function (opt) { return opt.value === defaultValueForm; });
62
- })
63
- : fieldValue === null || fieldValue === void 0 ? void 0 : fieldValue.map(function (valueForm) { return props.options.find(function (option) { return option.value === valueForm; }); })
64
- : [props.options.find(function (option) { return option.value === fieldValue; }) || ""];
65
- (0, react_1.useEffect)(function () {
66
- if (props.value) {
67
- helpers.setValue(props.value);
68
- }
69
- }, [props.value]);
70
- return ((0, jsx_runtime_1.jsxs)(S.SelectWrapper, { children: [(0, jsx_runtime_1.jsx)(ui_1.InputControl, __assign({}, props, { children: (0, jsx_runtime_1.jsx)(react_select_1.default, { isDisabled: props.disabled, isSearchable: props.isSearchable, menuPlacement: props.menuPlacement || 'auto', menuIsOpen: props.forceOpenToDevelop ? props.forceOpenToDevelop : undefined, placeholder: props.placeholder, name: field.name, noOptionsMessage: function () { return props.noOptionMessage || 'Nenhuma opção encontrada.'; }, onChange: function (ev) {
71
- var value = props.onlyOneValue
72
- ? ev.value
73
- : Array.isArray(ev)
74
- ? ev.map(function (ev) { return ev.value; })
75
- : ev
76
- ? [ev.value]
77
- : [];
78
- helpers.setValue(value);
79
- props.onChangeSelect && props.onChangeSelect(value);
80
- }, value: props.value || props.isMultiple ? value : value[0], isMulti: props.isMultiple, options: props.options, components: props.CustomOption
81
- ? { Option: props.CustomOption, SingleValue: props.CustomOption }
82
- : undefined, className: ((_a = field === null || field === void 0 ? void 0 : field.value) === null || _a === void 0 ? void 0 : _a.length) > 0 ? 'open' : '', styles: props.customStlyes || custom_styles_1.customStyles }) })), ((_b = props === null || props === void 0 ? void 0 : props.addButton) === null || _b === void 0 ? void 0 : _b.CustomComponent) ? ((0, jsx_runtime_1.jsx)("div", { className: 'custom-component', children: (_c = props === null || props === void 0 ? void 0 : props.addButton) === null || _c === void 0 ? void 0 : _c.CustomComponent })) : (((_d = props === null || props === void 0 ? void 0 : props.addButton) === null || _d === void 0 ? void 0 : _d.onClick) && ((0, jsx_runtime_1.jsx)("button", { className: 'add', type: 'button', onClick: props.addButton.onClick, children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'PlusIcon' }) })))] }));
83
- }
84
- exports.Select = Select;
85
- //# sourceMappingURL=index.js.map
@@ -1,32 +0,0 @@
1
- /// <reference types="react" />
2
- import { StylesConfig } from 'react-select';
3
- import { InputProps } from '../interfaces.js';
4
- export type Option = {
5
- label: string;
6
- value?: string | number;
7
- color?: string;
8
- isDisabled?: boolean;
9
- options?: Option[];
10
- };
11
- export type ISelectProps = {
12
- forceOpenToDevelop?: boolean;
13
- onlyOneValue?: boolean;
14
- customStlyes?: StylesConfig;
15
- options: Option[];
16
- isGroup?: boolean;
17
- isMultiple?: boolean;
18
- isSearchable?: boolean;
19
- noOptionMessage?: string;
20
- menuPlacement?: 'bottom' | 'top' | 'auto';
21
- listposition?: number;
22
- onChangeSelect?: (value: string[]) => void;
23
- CustomOption?: (props: {
24
- data: Option;
25
- innerRef: any;
26
- innerProps: any;
27
- }) => JSX.Element;
28
- addButton?: {
29
- onClick?: (param?: any) => void;
30
- CustomComponent?: React.ReactNode;
31
- };
32
- } & InputProps;
@@ -1,2 +0,0 @@
1
- import { InputProps } from '../interfaces.js';
2
- export declare function Textarea(props: InputProps): import("react/jsx-runtime").JSX.Element;
@@ -1,29 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.Textarea = void 0;
15
- var jsx_runtime_1 = require("react/jsx-runtime");
16
- var react_1 = require("react");
17
- var formik_1 = require("formik");
18
- var input_control_1 = require("../input-control/index.js");
19
- function Textarea(props) {
20
- var _a = (0, formik_1.useField)({ name: props.name }), field = _a[0], _ = _a[1], helpers = _a[2];
21
- (0, react_1.useEffect)(function () {
22
- if (field.value === undefined) {
23
- helpers.setValue("");
24
- }
25
- }, [field.value]);
26
- return ((0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props, { children: (0, jsx_runtime_1.jsx)("textarea", __assign({ id: props.name, className: "font-16-regular" }, props, field)) })));
27
- }
28
- exports.Textarea = Textarea;
29
- //# sourceMappingURL=index.js.map
@@ -1,10 +1,10 @@
1
- export * from './form/index.js';
2
- export * from './button/index.js';
3
- export * from './sidebar/index.js';
4
- export * from './container/index.js';
5
- export * from './next-image/index.js';
6
- export * from './breadcrumb/index.js';
7
- export * from './menu-mobile/index.js';
8
- export * from './loader-circle/index.js';
9
- export * from './error-boundary/index.js';
10
- export * from './loading-screen/index.js';
1
+ export * from './form';
2
+ export * from './button';
3
+ export * from './sidebar';
4
+ export * from './container';
5
+ export * from './next-image';
6
+ export * from './breadcrumb';
7
+ export * from './menu-mobile';
8
+ export * from './loader-circle';
9
+ export * from './error-boundary';
10
+ export * from './loading-screen';
@@ -14,14 +14,14 @@ 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("./form/index.js"), exports);
18
- __exportStar(require("./button/index.js"), exports);
19
- __exportStar(require("./sidebar/index.js"), exports);
20
- __exportStar(require("./container/index.js"), exports);
21
- __exportStar(require("./next-image/index.js"), exports);
22
- __exportStar(require("./breadcrumb/index.js"), exports);
23
- __exportStar(require("./menu-mobile/index.js"), exports);
24
- __exportStar(require("./loader-circle/index.js"), exports);
25
- __exportStar(require("./error-boundary/index.js"), exports);
26
- __exportStar(require("./loading-screen/index.js"), exports);
17
+ __exportStar(require("./form"), exports);
18
+ __exportStar(require("./button"), exports);
19
+ __exportStar(require("./sidebar"), exports);
20
+ __exportStar(require("./container"), exports);
21
+ __exportStar(require("./next-image"), exports);
22
+ __exportStar(require("./breadcrumb"), exports);
23
+ __exportStar(require("./menu-mobile"), exports);
24
+ __exportStar(require("./loader-circle"), exports);
25
+ __exportStar(require("./error-boundary"), exports);
26
+ __exportStar(require("./loading-screen"), exports);
27
27
  //# sourceMappingURL=index.js.map
@@ -1,2 +0,0 @@
1
- import { LoaderCircleProps } from './interfaces.js';
2
- export declare function LoaderCircle({ size, color }: LoaderCircleProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { ILoading } from './interfaces.js';
2
+ import { ILoading } from './interfaces';
3
3
  export declare function LoadingScreen({ size, color }: ILoading): import("react").ReactPortal;
@@ -29,9 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.LoadingScreen = void 0;
30
30
  var jsx_runtime_1 = require("react/jsx-runtime");
31
31
  var react_dom_1 = __importDefault(require("react-dom"));
32
- var icons_1 = require("../../../ui/icons/index.js");
33
- var error_boundary_1 = require("../error-boundary/index.js");
34
- var S = __importStar(require("./styles.js"));
32
+ var icons_1 = require("@/ui/icons");
33
+ var error_boundary_1 = require("../error-boundary");
34
+ var S = __importStar(require("./styles"));
35
35
  function LoadingScreen(_a) {
36
36
  var size = _a.size, color = _a.color;
37
37
  return react_dom_1.default.createPortal((0, jsx_runtime_1.jsx)(error_boundary_1.Error, { name: 'LoadingScreen', children: (0, jsx_runtime_1.jsx)(S.LoadingScreen, { children: (0, jsx_runtime_1.jsx)("div", { style: { width: size, color: color }, className: 'icon', children: (0, jsx_runtime_1.jsx)(icons_1.Icon, { name: 'IconLoading' }) }) }) }), document === null || document === void 0 ? void 0 : document.body);
@@ -1,3 +1,3 @@
1
- import { INavLinksProps } from './interfaces.js';
1
+ import { INavLinksProps } from './interfaces';
2
2
  declare const NavLinks: ({ links, isActive }: INavLinksProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default NavLinks;
@@ -34,8 +34,8 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
34
34
  Object.defineProperty(exports, "__esModule", { value: true });
35
35
  var jsx_runtime_1 = require("react/jsx-runtime");
36
36
  var react_1 = require("react");
37
- var S = __importStar(require("./styles.js"));
38
- var error_boundary_1 = require("../../../../../ui/components/error-boundary/index.js");
37
+ var S = __importStar(require("./styles"));
38
+ var error_boundary_1 = require("@/ui/components/error-boundary");
39
39
  var NavLinks = function (_a) {
40
40
  var links = _a.links, isActive = _a.isActive;
41
41
  var _b = (0, react_1.useState)(null), submenu = _b[0], setSubmenu = _b[1];
@@ -1,4 +1,4 @@
1
- import { ICategoriesHeader } from '../../interfaces.js';
1
+ import { ICategoriesHeader } from '../../interfaces';
2
2
  export interface INavLinksProps {
3
3
  isActive: boolean;
4
4
  links: ICategoriesHeader[];
@@ -1,2 +1,2 @@
1
- import { IMenuMobileProps } from './interfaces.js';
1
+ import { IMenuMobileProps } from './interfaces';
2
2
  export declare function MenuMobile({ linksMenu, topConfigs }: IMenuMobileProps): import("react/jsx-runtime").JSX.Element;
@@ -29,10 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.MenuMobile = void 0;
30
30
  var jsx_runtime_1 = require("react/jsx-runtime");
31
31
  var react_1 = require("react");
32
- var top_1 = require("./top/index.js");
33
- var nav_links_1 = __importDefault(require("./components/nav-links/index.js"));
34
- var S = __importStar(require("./styles.js"));
35
- var error_boundary_1 = require("../error-boundary/index.js");
32
+ var top_1 = require("./top");
33
+ var nav_links_1 = __importDefault(require("./components/nav-links"));
34
+ var S = __importStar(require("./styles"));
35
+ var error_boundary_1 = require("../error-boundary");
36
36
  function MenuMobile(_a) {
37
37
  var linksMenu = _a.linksMenu, topConfigs = _a.topConfigs;
38
38
  var _b = (0, react_1.useState)(false), isActive = _b[0], setIsActive = _b[1];
@@ -1,2 +1,2 @@
1
- import { ITopProps } from './interfaces.js';
1
+ import { ITopProps } from './interfaces';
2
2
  export declare function Top({ configs, setIsActive }: ITopProps): import("react/jsx-runtime").JSX.Element;
@@ -29,8 +29,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Top = void 0;
30
30
  var jsx_runtime_1 = require("react/jsx-runtime");
31
31
  var link_1 = __importDefault(require("next/link"));
32
- var error_boundary_1 = require("../../error-boundary/index.js");
33
- var S = __importStar(require("./styles.js"));
32
+ var error_boundary_1 = require("../../error-boundary");
33
+ var S = __importStar(require("./styles"));
34
34
  function Top(_a) {
35
35
  var configs = _a.configs, setIsActive = _a.setIsActive;
36
36
  if (!configs) {
@@ -1,5 +1,5 @@
1
1
  import { Dispatch, SetStateAction } from 'react';
2
- import { TopConfigs } from '../interfaces.js';
2
+ import { TopConfigs } from '../interfaces';
3
3
  export interface ITopProps {
4
4
  configs: TopConfigs;
5
5
  setIsActive: Dispatch<SetStateAction<boolean>>;
@@ -1,2 +1,2 @@
1
- import { NextImageProps } from './interfaces.js';
1
+ import { NextImageProps } from './interfaces';
2
2
  export declare function NextImage({ src, alt, forceLoading }: NextImageProps): import("react/jsx-runtime").JSX.Element;
@@ -29,9 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.NextImage = void 0;
30
30
  var jsx_runtime_1 = require("react/jsx-runtime");
31
31
  var image_1 = __importDefault(require("next/image"));
32
- var error_boundary_1 = require("../error-boundary/index.js");
33
- var loader_circle_1 = require("../loader-circle/index.js");
34
- var S = __importStar(require("./styles.js"));
32
+ var error_boundary_1 = require("../error-boundary");
33
+ var loader_circle_1 = require("../loader-circle");
34
+ var S = __importStar(require("./styles"));
35
35
  function NextImage(_a) {
36
36
  var src = _a.src, alt = _a.alt, forceLoading = _a.forceLoading;
37
37
  var isLoading = forceLoading;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { ISideBar } from './interfaces.js';
2
+ import { ISideBar } from './interfaces';
3
3
  export declare function SideBar({ children, maxWidth, open, setOpen, direction, overlay }: ISideBar): import("react").ReactPortal;
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.SideBar = void 0;
30
30
  var jsx_runtime_1 = require("react/jsx-runtime");
31
31
  var react_dom_1 = __importDefault(require("react-dom"));
32
- var S = __importStar(require("./styles.js"));
32
+ var S = __importStar(require("./styles"));
33
33
  function SideBar(_a) {
34
34
  var children = _a.children, maxWidth = _a.maxWidth, open = _a.open, setOpen = _a.setOpen, _b = _a.direction, direction = _b === void 0 ? 'right' : _b, overlay = _a.overlay;
35
35
  function handleClose() {
@@ -1,3 +1,3 @@
1
- export * from './theme/index.js';
2
- export * from './toast/index.js';
3
- export * from './route-loading/index.js';
1
+ export * from './theme';
2
+ export * from './toast';
3
+ export * from './route-loading';
@@ -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("./theme/index.js"), exports);
18
- __exportStar(require("./toast/index.js"), exports);
19
- __exportStar(require("./route-loading/index.js"), exports);
17
+ __exportStar(require("./theme"), exports);
18
+ __exportStar(require("./toast"), exports);
19
+ __exportStar(require("./route-loading"), exports);
20
20
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { ITheme } from './interfaces.js';
1
+ import { ITheme } from './interfaces';
2
2
  declare module 'styled-components' {
3
3
  interface DefaultTheme extends ITheme {
4
4
  }
@@ -4,7 +4,7 @@ exports.useTheme = exports.ThemeProvider = void 0;
4
4
  var jsx_runtime_1 = require("react/jsx-runtime");
5
5
  var react_1 = require("react");
6
6
  var styled_components_1 = require("styled-components");
7
- var interfaces_1 = require("./interfaces.js");
7
+ var interfaces_1 = require("./interfaces");
8
8
  var themeContext = (0, react_1.createContext)({});
9
9
  function ThemeProvider(_a) {
10
10
  var _b;
@@ -1,2 +1,2 @@
1
- export * from "./context.js";
2
- export * from "./interfaces.js";
1
+ export * from "./context";
2
+ export * from "./interfaces";
@@ -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("./context.js"), exports);
18
- __exportStar(require("./interfaces.js"), exports);
17
+ __exportStar(require("./context"), exports);
18
+ __exportStar(require("./interfaces"), exports);
19
19
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { Toast } from './interfaces.js';
1
+ import { Toast } from './interfaces';
2
2
  declare function ToastProvider({ children, toast }: {
3
3
  children: any;
4
4
  toast: any;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { Toast } from '../interfaces.js';
2
+ import { Toast } from '../interfaces';
3
3
  export declare function ToastItem({ uid, status, message, setToast, }: {
4
4
  setToast: React.Dispatch<React.SetStateAction<Toast[]>>;
5
5
  } & Toast): import("react/jsx-runtime").JSX.Element;