infinity-forge 2.4.1 → 2.4.2

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 (325) hide show
  1. package/dist/sites/components/default-pages/blog/components/blog-item/index.d.ts +1 -1
  2. package/dist/sites/components/default-pages/blog/components/blog-item/index.js +3 -3
  3. package/dist/sites/components/default-pages/blog/components/blog-item/intefaces.d.ts +1 -1
  4. package/dist/sites/components/default-pages/blog/components/blog-item/share/index.js +2 -2
  5. package/dist/sites/components/default-pages/blog/components/featured-blog/featured-blog-item/index.d.ts +1 -1
  6. package/dist/sites/components/default-pages/blog/components/featured-blog/featured-blog-item/index.js +2 -2
  7. package/dist/sites/components/default-pages/blog/components/featured-blog/index.d.ts +1 -1
  8. package/dist/sites/components/default-pages/blog/components/featured-blog/index.js +2 -2
  9. package/dist/sites/components/default-pages/blog/components/featured-blog/interfaces.d.ts +2 -2
  10. package/dist/sites/components/default-pages/blog/components/side-box-categories/index.d.ts +2 -2
  11. package/dist/sites/components/default-pages/blog/components/side-box-categories/index.js +2 -2
  12. package/dist/sites/components/default-pages/blog/components/side-box-categories/interfaces.d.ts +1 -1
  13. package/dist/sites/components/default-pages/blog/components/side-box-newsletter/index.d.ts +1 -1
  14. package/dist/sites/components/default-pages/blog/components/side-box-newsletter/index.js +3 -3
  15. package/dist/sites/components/default-pages/blog/components/title-blog/index.js +2 -2
  16. package/dist/system/domain/protocols/http/errors/http-errors/index.d.ts +7 -7
  17. package/dist/system/domain/protocols/http/errors/http-errors/index.js +7 -7
  18. package/dist/system/domain/protocols/http/errors/system-errors-model/index.d.ts +1 -1
  19. package/dist/system/domain/protocols/http/errors/system-errors-model/index.js +1 -1
  20. package/dist/system/domain/use-cases/auth/admin/index.js +0 -18
  21. package/dist/system/presentation/components/data/avatar/index.js +0 -59
  22. package/dist/system/presentation/components/data/buttons/index.d.ts +0 -1
  23. package/dist/system/presentation/components/data/buttons/index.js +0 -18
  24. package/dist/system/presentation/components/data/buttons/sidebar-button/index.js +3 -3
  25. package/dist/system/presentation/components/data/chat/card-message/index.d.ts +1 -1
  26. package/dist/system/presentation/components/data/chat/card-message/index.js +3 -3
  27. package/dist/system/presentation/components/data/chat/index.d.ts +0 -2
  28. package/dist/system/presentation/components/data/chat/index.js +0 -38
  29. package/dist/system/presentation/components/data/chat/interfaces.d.ts +0 -8
  30. package/dist/system/presentation/components/data/chat/loader/index.js +1 -1
  31. package/dist/system/presentation/components/data/detail-card/component.d.ts +0 -2
  32. package/dist/system/presentation/components/data/detail-card/component.js +0 -42
  33. package/dist/system/presentation/components/data/detail-card/index.d.ts +0 -2
  34. package/dist/system/presentation/components/data/detail-card/index.js +0 -19
  35. package/dist/system/presentation/components/data/detail-card/interfaces.d.ts +0 -19
  36. package/dist/system/presentation/components/data/highlight-icon/index.d.ts +0 -2
  37. package/dist/system/presentation/components/data/highlight-icon/index.js +0 -40
  38. package/dist/system/presentation/components/data/highlight-icon/interfaces.d.ts +0 -8
  39. package/dist/system/presentation/components/data/highlight-text/index.d.ts +0 -2
  40. package/dist/system/presentation/components/data/highlight-text/index.js +0 -43
  41. package/dist/system/presentation/components/data/input-search/index.d.ts +0 -2
  42. package/dist/system/presentation/components/data/input-search/index.js +0 -39
  43. package/dist/system/presentation/components/data/logo/index.js +0 -34
  44. package/dist/system/presentation/components/data/menu/component.js +0 -17
  45. package/dist/system/presentation/components/data/menu/components/index.d.ts +1 -1
  46. package/dist/system/presentation/components/data/menu/components/index.js +1 -1
  47. package/dist/system/presentation/components/data/menu/components/menu-item/index.js +3 -3
  48. package/dist/system/presentation/components/data/menu/index.d.ts +0 -2
  49. package/dist/system/presentation/components/data/menu/index.js +0 -19
  50. package/dist/system/presentation/components/data/menu/modes/collapsed-menu/index.js +5 -5
  51. package/dist/system/presentation/components/data/menu/modes/collapsed-menu/styles.js +1 -1
  52. package/dist/system/presentation/components/data/menu/modes/index.d.ts +2 -2
  53. package/dist/system/presentation/components/data/menu/modes/index.js +2 -2
  54. package/dist/system/presentation/components/data/menu/modes/opened/index.js +3 -3
  55. package/dist/system/presentation/components/data/menu/modes/opened/styles.js +1 -1
  56. package/dist/system/presentation/components/data/notifications/card/index.d.ts +1 -1
  57. package/dist/system/presentation/components/data/notifications/card/index.js +2 -2
  58. package/dist/system/presentation/components/data/notifications/index.js +0 -155
  59. package/dist/system/presentation/components/data/page-wrapper/index.d.ts +0 -2
  60. package/dist/system/presentation/components/data/page-wrapper/index.js +0 -35
  61. package/dist/system/presentation/components/data/page-wrapper/interfaces.d.ts +0 -7
  62. package/dist/system/presentation/components/data/popover/index.d.ts +0 -2
  63. package/dist/system/presentation/components/data/profile-infos/index.d.ts +0 -2
  64. package/dist/system/presentation/components/data/profile-infos/index.js +0 -48
  65. package/dist/system/presentation/components/data/profile-infos/interfaces.d.ts +0 -6
  66. package/dist/system/presentation/components/data/profile-infos/profile/index.d.ts +1 -1
  67. package/dist/system/presentation/components/data/profile-infos/profile/index.js +3 -3
  68. package/dist/system/presentation/components/data/select-workspace/index.d.ts +0 -4
  69. package/dist/system/presentation/components/data/select-workspace/index.js +0 -69
  70. package/dist/system/presentation/components/data/tab/component.d.ts +0 -2
  71. package/dist/system/presentation/components/data/tab/component.js +0 -67
  72. package/dist/system/presentation/components/data/tab/index.d.ts +0 -2
  73. package/dist/system/presentation/components/data/tab/index.js +0 -19
  74. package/dist/system/presentation/components/data/tab/interfaces.d.ts +0 -29
  75. package/dist/system/presentation/components/data/tab/tab-item/index.d.ts +1 -1
  76. package/dist/system/presentation/components/data/tab/tab-item/index.js +2 -2
  77. package/dist/system/presentation/components/data/tab/tab-item/styles.d.ts +1 -1
  78. package/dist/system/presentation/components/layout/header/components/index.d.ts +2 -2
  79. package/dist/system/presentation/components/layout/header/components/index.js +2 -2
  80. package/dist/system/presentation/components/layout/header/components/menu-right/index.d.ts +1 -1
  81. package/dist/system/presentation/components/layout/header/components/menu-right/index.js +4 -4
  82. package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.js +36 -0
  83. package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js +38 -0
  84. package/dist/system/presentation/components/layout/header/components/menu-right/settings/index.js +42 -0
  85. package/dist/system/presentation/components/layout/header/components/search-modal/index.js +4 -4
  86. package/dist/system/presentation/components/layout/header/index.d.ts +0 -2
  87. package/dist/system/presentation/components/layout/header/index.js +0 -25
  88. package/dist/system/presentation/components/layout/header/version-01/index.d.ts +1 -1
  89. package/dist/system/presentation/components/layout/header/version-01/index.js +4 -4
  90. package/dist/system/presentation/components/pages/menus/index.d.ts +0 -1
  91. package/dist/system/presentation/components/pages/menus/index.js +0 -18
  92. package/dist/system/presentation/components/pages/menus/page.js +0 -40
  93. package/dist/system/presentation/components/pages/menus/table/columns.d.ts +2 -2
  94. package/dist/system/presentation/components/pages/menus/table/columns.js +1 -1
  95. package/dist/system/presentation/components/pages/menus/table/create.d.ts +2 -2
  96. package/dist/system/presentation/components/pages/menus/table/create.js +2 -2
  97. package/dist/system/presentation/components/pages/menus/table/delete.js +2 -2
  98. package/dist/system/presentation/components/pages/menus/table/edit.d.ts +2 -2
  99. package/dist/system/presentation/components/pages/menus/table/edit.js +2 -2
  100. package/dist/system/presentation/components/pages/menus/table/icon/index.js +1 -1
  101. package/dist/system/presentation/components/pages/menus/table/index.d.ts +4 -4
  102. package/dist/system/presentation/components/pages/menus/table/index.js +4 -4
  103. package/dist/system/presentation/components/pages/users/index.d.ts +0 -1
  104. package/dist/system/presentation/components/pages/users/index.js +0 -18
  105. package/dist/system/presentation/components/pages/users/page.js +0 -40
  106. package/dist/system/presentation/components/pages/users/table/columns.d.ts +2 -2
  107. package/dist/system/presentation/components/pages/users/table/create.d.ts +2 -2
  108. package/dist/system/presentation/components/pages/users/table/create.js +2 -2
  109. package/dist/system/presentation/components/pages/users/table/delete.js +2 -2
  110. package/dist/system/presentation/components/pages/users/table/edit.d.ts +2 -2
  111. package/dist/system/presentation/components/pages/users/table/edit.js +2 -2
  112. package/dist/system/presentation/components/pages/users/table/index.d.ts +4 -4
  113. package/dist/system/presentation/components/pages/users/table/index.js +4 -4
  114. package/dist/system/presentation/context/auth/components/index.d.ts +0 -2
  115. package/dist/system/presentation/context/auth/components/index.js +0 -19
  116. package/dist/system/presentation/context/auth/components/login/form-login/index.js +2 -2
  117. package/dist/system/presentation/context/auth/components/login/index.js +4 -4
  118. package/dist/system/presentation/context/auth/components/private-page/index.d.ts +1 -1
  119. package/dist/system/presentation/context/auth/components/private-page/index.js +3 -3
  120. package/dist/system/presentation/hooks/notifications/use-load-all/index.d.ts +0 -1
  121. package/dist/system/presentation/hooks/notifications/use-load-all/index.js +0 -63
  122. package/dist/system/presentation/hooks/notifications/use-load-no-read/index.d.ts +0 -2
  123. package/dist/system/presentation/hooks/notifications/use-load-no-read/index.js +0 -60
  124. package/dist/system/presentation/hooks/ui/use-table/component.d.ts +0 -8
  125. package/dist/system/presentation/hooks/ui/use-table/component.js +0 -26
  126. package/dist/system/presentation/hooks/ui/use-table/components/index.d.ts +1 -1
  127. package/dist/system/presentation/hooks/ui/use-table/components/index.js +1 -1
  128. package/dist/system/presentation/hooks/ui/use-table/components/table/index.d.ts +1 -1
  129. package/dist/system/presentation/hooks/ui/use-table/components/table/index.js +10 -10
  130. package/dist/system/presentation/hooks/ui/use-table/components/table/interfaces.d.ts +2 -2
  131. package/dist/system/presentation/hooks/ui/use-table/index.d.ts +0 -4
  132. package/dist/system/presentation/hooks/ui/use-table/index.js +0 -21
  133. package/dist/system/presentation/hooks/ui/use-table/interfaces.d.ts +0 -92
  134. package/dist/system/presentation/hooks/ui/use-table/query/get-query-arguments-table.d.ts +1 -1
  135. package/dist/system/presentation/hooks/ui/use-table/query/hook.d.ts +1 -1
  136. package/dist/system/presentation/hooks/ui/use-table/query/hook.js +1 -1
  137. package/dist/system/presentation/hooks/ui/use-table/query/index.d.ts +2 -2
  138. package/dist/system/presentation/hooks/ui/use-table/query/index.js +2 -2
  139. package/dist/ui/components/carousel/carousel-lib/components-shared/get-changed-params.js +0 -51
  140. package/dist/ui/components/carousel/carousel-lib/components-shared/get-element-params.js +0 -148
  141. package/dist/ui/components/carousel/carousel-lib/components-shared/get-params.js +0 -61
  142. package/dist/ui/components/carousel/carousel-lib/components-shared/mount-swiper.js +0 -24
  143. package/dist/ui/components/carousel/carousel-lib/components-shared/update-swiper.js +0 -208
  144. package/dist/ui/components/carousel/carousel-lib/core/breakpoints/getBreakpoint.js +1 -1
  145. package/dist/ui/components/carousel/carousel-lib/core/breakpoints/index.d.ts +2 -2
  146. package/dist/ui/components/carousel/carousel-lib/core/breakpoints/index.js +2 -2
  147. package/dist/ui/components/carousel/carousel-lib/core/breakpoints/setBreakpoint.js +1 -1
  148. package/dist/ui/components/carousel/carousel-lib/core/classes/index.d.ts +2 -2
  149. package/dist/ui/components/carousel/carousel-lib/core/classes/index.js +2 -2
  150. package/dist/ui/components/carousel/carousel-lib/core/core.js +0 -654
  151. package/dist/ui/components/carousel/carousel-lib/core/events/index.js +9 -9
  152. package/dist/ui/components/carousel/carousel-lib/core/events/onLoad.js +1 -1
  153. package/dist/ui/components/carousel/carousel-lib/core/events/onTouchEnd.js +1 -1
  154. package/dist/ui/components/carousel/carousel-lib/core/events/onTouchMove.js +2 -2
  155. package/dist/ui/components/carousel/carousel-lib/core/events/onTouchStart.js +3 -3
  156. package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/index.d.ts +2 -2
  157. package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/index.js +2 -2
  158. package/dist/ui/components/carousel/carousel-lib/core/loop/index.d.ts +3 -3
  159. package/dist/ui/components/carousel/carousel-lib/core/loop/index.js +3 -3
  160. package/dist/ui/components/carousel/carousel-lib/core/loop/loopCreate.js +1 -1
  161. package/dist/ui/components/carousel/carousel-lib/core/loop/loopFix.js +1 -1
  162. package/dist/ui/components/carousel/carousel-lib/core/moduleExtendParams.js +0 -42
  163. package/dist/ui/components/carousel/carousel-lib/core/modules/observer/observer.js +2 -2
  164. package/dist/ui/components/carousel/carousel-lib/core/modules/resize/resize.js +1 -1
  165. package/dist/ui/components/carousel/carousel-lib/core/slide/index.d.ts +7 -7
  166. package/dist/ui/components/carousel/carousel-lib/core/slide/index.js +7 -7
  167. package/dist/ui/components/carousel/carousel-lib/core/slide/slideTo.js +1 -1
  168. package/dist/ui/components/carousel/carousel-lib/core/slide/slideToClickedSlide.js +1 -1
  169. package/dist/ui/components/carousel/carousel-lib/core/transition/index.d.ts +3 -3
  170. package/dist/ui/components/carousel/carousel-lib/core/transition/index.js +3 -3
  171. package/dist/ui/components/carousel/carousel-lib/core/transition/transitionEnd.js +1 -1
  172. package/dist/ui/components/carousel/carousel-lib/core/transition/transitionStart.js +1 -1
  173. package/dist/ui/components/carousel/carousel-lib/core/translate/getTranslate.js +1 -1
  174. package/dist/ui/components/carousel/carousel-lib/core/translate/index.d.ts +5 -5
  175. package/dist/ui/components/carousel/carousel-lib/core/translate/index.js +5 -5
  176. package/dist/ui/components/carousel/carousel-lib/core/translate/translateTo.js +1 -1
  177. package/dist/ui/components/carousel/carousel-lib/core/update/index.d.ts +9 -9
  178. package/dist/ui/components/carousel/carousel-lib/core/update/index.js +9 -9
  179. package/dist/ui/components/carousel/carousel-lib/core/update/updateActiveIndex.js +1 -1
  180. package/dist/ui/components/carousel/carousel-lib/core/update/updateSize.js +1 -1
  181. package/dist/ui/components/carousel/carousel-lib/core/update/updateSlides.js +1 -1
  182. package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesClasses.js +1 -1
  183. package/dist/ui/components/carousel/carousel-lib/modules/autoplay.js +0 -336
  184. package/dist/ui/components/carousel/carousel-lib/modules/effect-fade.js +0 -63
  185. package/dist/ui/components/carousel/carousel-lib/modules/free-mode.js +0 -247
  186. package/dist/ui/components/carousel/carousel-lib/modules/index.d.ts +0 -6
  187. package/dist/ui/components/carousel/carousel-lib/modules/index.js +0 -23
  188. package/dist/ui/components/carousel/carousel-lib/modules/navigation.js +0 -223
  189. package/dist/ui/components/carousel/carousel-lib/modules/pagination.js +0 -514
  190. package/dist/ui/components/carousel/carousel-lib/modules/virtual.js +0 -379
  191. package/dist/ui/components/carousel/carousel-lib/react/swiper-slide.js +0 -88
  192. package/dist/ui/components/carousel/carousel-lib/react/swiper.js +0 -210
  193. package/dist/ui/components/carousel/carousel-lib/shared/create-element-if-not-defined.js +0 -22
  194. package/dist/ui/components/carousel/carousel-lib/shared/create-shadow.js +0 -15
  195. package/dist/ui/components/carousel/carousel-lib/shared/effect-target.js +0 -13
  196. package/dist/ui/components/carousel/carousel-lib/shared/effect-virtual-transition-end.js +0 -47
  197. package/dist/ui/components/carousel/carousel-lib/shared/get-browser.js +0 -43
  198. package/dist/ui/components/carousel/carousel-lib/shared/get-device.js +0 -69
  199. package/dist/ui/components/carousel/carousel-lib/shared/get-support.js +0 -25
  200. package/dist/ui/components/carousel/carousel-lib/shared/utils.js +0 -372
  201. package/dist/ui/components/carousel/carousel-lib/ssr-window/document.js +0 -65
  202. package/dist/ui/components/carousel/carousel-lib/ssr-window/ssr-window.d.ts +0 -4
  203. package/dist/ui/components/carousel/carousel-lib/ssr-window/ssr-window.js +0 -15
  204. package/dist/ui/components/carousel/carousel-lib/ssr-window/window.js +0 -71
  205. package/dist/ui/components/carousel/carousel-lib/types/index.d.ts +0 -5
  206. package/dist/ui/components/carousel/carousel-lib/types/index.js +0 -27
  207. package/dist/ui/components/carousel/carousel-lib/types/swiper-events.d.ts +0 -162
  208. package/dist/ui/components/form/handler/custom-submit/index.d.ts +0 -17
  209. package/dist/ui/components/form/handler/custom-submit/index.js +0 -25
  210. package/dist/ui/components/form/handler/dynamic_form_handler/component.d.ts +0 -2
  211. package/dist/ui/components/form/handler/dynamic_form_handler/component.js +0 -117
  212. package/dist/ui/components/form/handler/dynamic_form_handler/index.d.ts +0 -2
  213. package/dist/ui/components/form/handler/dynamic_form_handler/index.js +0 -19
  214. package/dist/ui/components/form/handler/dynamic_form_handler/interfaces.d.ts +0 -28
  215. package/dist/ui/components/form/handler/form-handler/generate-schemas.js +0 -111
  216. package/dist/ui/components/form/handler/form-handler/index.d.ts +0 -2
  217. package/dist/ui/components/form/handler/form-handler/index.js +0 -241
  218. package/dist/ui/components/form/handler/form-handler/use-schemas.d.ts +0 -2
  219. package/dist/ui/components/form/handler/form-handler/use-schemas.js +0 -115
  220. package/dist/ui/components/form/handler/form-handler/use-send-file.d.ts +0 -5
  221. package/dist/ui/components/form/handler/form-handler/use-send-file.js +0 -209
  222. package/dist/ui/components/form/handler/i18n/capture-i18n-errors/index.d.ts +1 -1
  223. package/dist/ui/components/form/handler/i18n/index.d.ts +0 -2
  224. package/dist/ui/components/form/handler/i18n/index.js +4 -4
  225. package/dist/ui/components/form/input-cep/use-cep/hook.d.ts +2 -2
  226. package/dist/ui/components/form/input-cep/use-cep/hook.js +1 -1
  227. package/dist/ui/components/form/input-cep/use-cep/index.d.ts +2 -2
  228. package/dist/ui/components/form/input-cep/use-cep/index.js +2 -2
  229. package/dist/ui/components/form/input-cep/use-cep/providers/ibge/hook.d.ts +1 -1
  230. package/dist/ui/components/form/input-cep/use-cep/providers/ibge/hook.js +1 -1
  231. package/dist/ui/components/form/input-cep/use-cep/providers/ibge/index.d.ts +3 -3
  232. package/dist/ui/components/form/input-cep/use-cep/providers/ibge/index.js +3 -3
  233. package/dist/ui/components/form/input-cep/use-cep/providers/index.d.ts +1 -1
  234. package/dist/ui/components/form/input-cep/use-cep/providers/index.js +1 -1
  235. package/dist/ui/components/form/input-control/error/index.js +1 -1
  236. package/dist/ui/components/form/input-control/label/index.js +1 -1
  237. package/dist/ui/components/form/input-control/loader-input/index.js +2 -2
  238. package/dist/ui/components/form/input-currency/components/CurrencyInput.js +1 -1
  239. package/dist/ui/components/form/input-currency/components/index.d.ts +1 -1
  240. package/dist/ui/components/form/input-currency/components/index.js +1 -1
  241. package/dist/ui/components/form/input-currency/components/utils/cleanValue.d.ts +1 -1
  242. package/dist/ui/components/form/input-currency/components/utils/cleanValue.js +4 -4
  243. package/dist/ui/components/form/input-currency/components/utils/formatValue.d.ts +1 -1
  244. package/dist/ui/components/form/input-currency/components/utils/formatValue.js +2 -2
  245. package/dist/ui/components/form/input-currency/components/utils/getLocaleConfig.d.ts +1 -1
  246. package/dist/ui/components/form/input-currency/components/utils/getSuffix.js +1 -1
  247. package/dist/ui/components/form/input-currency/components/utils/index.d.ts +8 -8
  248. package/dist/ui/components/form/input-currency/components/utils/index.js +8 -8
  249. package/dist/ui/components/form/input-currency/components/utils/parseAbbrValue.js +1 -1
  250. package/dist/ui/components/form/input-currency/components/utils/removeInvalidChars.js +1 -1
  251. package/dist/ui/components/form/input-currency/components/utils/removeSeparators.js +1 -1
  252. package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.d.ts +1 -1
  253. package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.js +3 -3
  254. package/dist/ui/components/form/input-date-picker/calendar/days/index.d.ts +1 -1
  255. package/dist/ui/components/form/input-date-picker/calendar/days/index.js +2 -2
  256. package/dist/ui/components/form/input-date-picker/calendar/index.d.ts +1 -1
  257. package/dist/ui/components/form/input-date-picker/calendar/index.js +4 -4
  258. package/dist/ui/components/form/input-date-picker/calendar/interface.d.ts +2 -2
  259. package/dist/ui/components/form/input-date-picker/calendar/months/index.d.ts +1 -1
  260. package/dist/ui/components/form/input-date-picker/calendar/months/index.js +2 -2
  261. package/dist/ui/components/form/input-date-picker/calendar/styles.d.ts +1 -1
  262. package/dist/ui/components/form/input-date-picker/mock/index.d.ts +1 -1
  263. package/dist/ui/components/form/input-date-picker/mock/index.js +1 -1
  264. package/dist/ui/components/form/input-file/hooks/index.d.ts +4 -4
  265. package/dist/ui/components/form/input-file/hooks/index.js +4 -4
  266. package/dist/ui/components/form/input-file/hooks/use-components-file.d.ts +2 -2
  267. package/dist/ui/components/form/input-file/hooks/use-components-file.js +2 -2
  268. package/dist/ui/components/form/input-file/hooks/use-file-elements.d.ts +1 -1
  269. package/dist/ui/components/form/input-file/hooks/use-file-elements.js +2 -2
  270. package/dist/ui/components/form/input-file/hooks/use-file.d.ts +2 -2
  271. package/dist/ui/components/form/input-file/hooks/use-file.js +2 -2
  272. package/dist/ui/components/form/input-file/hooks/use-rendered-file.d.ts +1 -1
  273. package/dist/ui/components/form/input-file/hooks/use-rendered-file.js +1 -1
  274. package/dist/ui/components/form/input-file/render-files/component.d.ts +1 -1
  275. package/dist/ui/components/form/input-file/render-files/component.js +2 -2
  276. package/dist/ui/components/form/input-file/render-files/file-item/button-upload-image-mobile/index.d.ts +1 -1
  277. package/dist/ui/components/form/input-file/render-files/file-item/button-upload-image-mobile/index.js +1 -1
  278. package/dist/ui/components/form/input-file/render-files/file-item/index.d.ts +2 -2
  279. package/dist/ui/components/form/input-file/render-files/file-item/index.js +3 -3
  280. package/dist/ui/components/form/input-file/render-files/index.d.ts +3 -3
  281. package/dist/ui/components/form/input-file/render-files/index.js +3 -3
  282. package/dist/ui/components/form/input-file/render-files/interfaces.d.ts +2 -2
  283. package/dist/ui/components/form/input-mask/lib/core/errors/SyntheticChangeError.d.ts +1 -1
  284. package/dist/ui/components/form/input-mask/lib/core/hooks/useInput.d.ts +1 -1
  285. package/dist/ui/components/form/input-mask/lib/core/hooks/useInput.js +2 -2
  286. package/dist/ui/components/form/input-mask/lib/core/index.d.ts +5 -5
  287. package/dist/ui/components/form/input-mask/lib/core/index.js +4 -4
  288. package/dist/ui/components/form/input-mask/lib/core/utils/setInputAttributes.d.ts +1 -1
  289. package/dist/ui/components/form/input-mask/lib/mask/InputMask.d.ts +2 -2
  290. package/dist/ui/components/form/input-mask/lib/mask/InputMask.js +2 -2
  291. package/dist/ui/components/form/input-mask/lib/mask/index.d.ts +5 -5
  292. package/dist/ui/components/form/input-mask/lib/mask/index.js +3 -3
  293. package/dist/ui/components/form/input-mask/lib/mask/types.d.ts +1 -1
  294. package/dist/ui/components/form/input-mask/lib/mask/useMask.d.ts +1 -1
  295. package/dist/ui/components/form/input-mask/lib/mask/useMask.js +7 -7
  296. package/dist/ui/components/form/input-mask/lib/mask/utils/filter.d.ts +1 -1
  297. package/dist/ui/components/form/input-mask/lib/mask/utils/format.d.ts +1 -1
  298. package/dist/ui/components/form/input-mask/lib/mask/utils/formatToParts.d.ts +1 -1
  299. package/dist/ui/components/form/input-mask/lib/mask/utils/formatToReplacementObject.d.ts +1 -1
  300. package/dist/ui/components/form/input-mask/lib/mask/utils/resolveDetail.d.ts +1 -1
  301. package/dist/ui/components/form/input-mask/lib/mask/utils/resolveDetail.js +3 -3
  302. package/dist/ui/components/form/input-mask/lib/mask/utils/resolveSelection.d.ts +18 -0
  303. package/dist/ui/components/form/input-mask/lib/mask/utils/unformat.d.ts +1 -1
  304. package/dist/ui/components/form/input-mask/lib/mask/utils/validate.d.ts +13 -0
  305. package/dist/ui/components/form/input-mask/lib/mask/utils.d.ts +1 -1
  306. package/dist/ui/components/form/input-mask/lib/mask/utils.js +5 -5
  307. package/dist/ui/components/form/input-mask/lib/number-format/InputNumberFormat.d.ts +2 -2
  308. package/dist/ui/components/form/input-mask/lib/number-format/InputNumberFormat.js +2 -2
  309. package/dist/ui/components/form/input-mask/lib/number-format/index.d.ts +4 -4
  310. package/dist/ui/components/form/input-mask/lib/number-format/index.js +2 -2
  311. package/dist/ui/components/form/input-mask/lib/number-format/types.d.ts +1 -1
  312. package/dist/ui/components/form/input-mask/lib/number-format/useNumberFormat.d.ts +1 -1
  313. package/dist/ui/components/form/input-mask/lib/number-format/useNumberFormat.js +6 -6
  314. package/dist/ui/components/form/input-mask/lib/number-format/utils/localizeValues.d.ts +1 -1
  315. package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveDetail.d.ts +2 -2
  316. package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveDetail.js +1 -1
  317. package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveMinimumFractionDigits.d.ts +1 -1
  318. package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveOptions.d.ts +1 -1
  319. package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveSelection.d.ts +24 -0
  320. package/dist/ui/components/form/input-seo/input-meta-image/index.d.ts +1 -1
  321. package/dist/ui/components/form/input-seo/input-meta-image/index.js +2 -2
  322. package/dist/ui/components/menu-mobile/components/nav-links/index.d.ts +1 -1
  323. package/dist/ui/components/menu-mobile/components/nav-links/index.js +3 -3
  324. package/dist/ui/components/menu-mobile/components/nav-links/interfaces.d.ts +1 -1
  325. package/package.json +1 -1
@@ -1,39 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.InputSearch = void 0;
27
- var jsx_runtime_1 = require("react/jsx-runtime");
28
- var ui_1 = require("../../../../../ui/index.js");
29
- var S = __importStar(require("./styles.js"));
30
- function InputSearch(_a) {
31
- var onChange = _a.onChange;
32
- return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'InputSearch', children: (0, jsx_runtime_1.jsx)(S.SearchInput, { children: (0, jsx_runtime_1.jsx)(ui_1.Input, { icon: {
33
- size: 17,
34
- name: "LupaIcon",
35
- onClick: function (value) { return onChange(value); }
36
- }, className: 'font-14-regular', id: 'search', type: 'text', name: 'search', placeholder: 'Pesquisar...' }) }) }));
37
- }
38
- exports.InputSearch = InputSearch;
39
- //# sourceMappingURL=index.js.map
@@ -1,34 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.Logo = void 0;
27
- var jsx_runtime_1 = require("react/jsx-runtime");
28
- var ui_1 = require("../../../../../ui/index.js");
29
- var S = __importStar(require("./styles.js"));
30
- function Logo() {
31
- return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Logo', children: (0, jsx_runtime_1.jsx)(S.Logo, { className: 'logo', children: (0, jsx_runtime_1.jsx)("a", { href: '/' }) }) }));
32
- }
33
- exports.Logo = Logo;
34
- //# sourceMappingURL=index.js.map
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MenuSwitch = void 0;
4
- var jsx_runtime_1 = require("react/jsx-runtime");
5
- var system_1 = require("../../../../../system/index.js");
6
- var modes_1 = require("./modes/index.js");
7
- var collapsed_menu_1 = require("./modes/collapsed-menu/index.js");
8
- function MenuSwitch() {
9
- var settings = (0, system_1.useMenu)().settings;
10
- switch (settings.mode) {
11
- case 'CollapsedMenu':
12
- return (0, jsx_runtime_1.jsx)(collapsed_menu_1.CollapsedMenu, {});
13
- default: return (0, jsx_runtime_1.jsx)(modes_1.OpenedMenu, {});
14
- }
15
- }
16
- exports.MenuSwitch = MenuSwitch;
17
- //# sourceMappingURL=component.js.map
@@ -1 +1 @@
1
- export * from "./menu-item/index.js";
1
+ export * from "./menu-item";
@@ -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("./menu-item/index.js"), exports);
17
+ __exportStar(require("./menu-item"), exports);
18
18
  //# sourceMappingURL=index.js.map
@@ -28,11 +28,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.MenuItem = void 0;
30
30
  var jsx_runtime_1 = require("react/jsx-runtime");
31
- var ui_1 = require("../../../../../../../ui/index.js");
31
+ var ui_1 = require("../../../../../../../ui");
32
32
  var link_1 = __importDefault(require("next/link"));
33
33
  var react_1 = require("react");
34
- var context_1 = require("../../../../../../../system/presentation/context/index.js");
35
- var S = __importStar(require("../../styles.js"));
34
+ var context_1 = require("../../../../../../../system/presentation/context");
35
+ var S = __importStar(require("../../styles"));
36
36
  var router_1 = require("next/router");
37
37
  function MenuItem(_a) {
38
38
  var _b;
@@ -1,2 +0,0 @@
1
- export * from "./modes/index.js";
2
- export * from "./components/index.js";
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./modes/index.js"), exports);
18
- __exportStar(require("./components/index.js"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -25,11 +25,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.CollapsedMenu = void 0;
27
27
  var jsx_runtime_1 = require("react/jsx-runtime");
28
- var context_1 = require("../../../../../../../system/presentation/context/index.js");
29
- var hooks_1 = require("../../../../../../../system/presentation/hooks/index.js");
30
- var ui_1 = require("../../../../../../../ui/index.js");
31
- var menu_item_1 = require("../../components/menu-item/index.js");
32
- var S = __importStar(require("./styles.js"));
28
+ var context_1 = require("../../../../../../../system/presentation/context");
29
+ var hooks_1 = require("../../../../../../../system/presentation/hooks");
30
+ var ui_1 = require("../../../../../../../ui");
31
+ var menu_item_1 = require("../../components/menu-item");
32
+ var S = __importStar(require("./styles"));
33
33
  function CollapsedMenu() {
34
34
  var _a;
35
35
  var data = (0, hooks_1.useLoadMenu)().data;
@@ -9,7 +9,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.CollapsedMenu = void 0;
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
- var styles_1 = require("../../styles.js");
12
+ var styles_1 = require("../../styles");
13
13
  exports.CollapsedMenu = (0, styled_components_1.default)(styles_1.DefaultMenuStyle)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 41px 0 15px 0;\n z-index: 99;\n width: 65px;\n min-width: 65px;\n position: absolute;\n z-index: 2;\n left: 0;\n top: 0;\n\n .ghost {\n width: 65px;\n }\n\n &.open {\n width: 240px !important;\n transition: 0.3s;\n\n .expand {\n svg {\n transform: rotate(180deg);\n }\n }\n }\n\n .expand {\n position: absolute;\n top: 10px;\n right: -12px;\n width: 24px;\n height: 24px;\n border-radius: 100%;\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n border: 0;\n z-index: 56;\n\n svg {\n width: 5px;\n fill: #fff;\n height: auto;\n }\n }\n\n &:not(.open) > ul {\n > li {\n > span {\n grid-template-columns: 1fr !important;\n\n > div {\n width: fit-content;\n margin: auto;\n }\n\n a,\n .arrow {\n display: none;\n }\n }\n }\n\n ul {\n min-width: max-content;\n width: 240px;\n }\n }\n"], ["\n padding: 41px 0 15px 0;\n z-index: 99;\n width: 65px;\n min-width: 65px;\n position: absolute;\n z-index: 2;\n left: 0;\n top: 0;\n\n .ghost {\n width: 65px;\n }\n\n &.open {\n width: 240px !important;\n transition: 0.3s;\n\n .expand {\n svg {\n transform: rotate(180deg);\n }\n }\n }\n\n .expand {\n position: absolute;\n top: 10px;\n right: -12px;\n width: 24px;\n height: 24px;\n border-radius: 100%;\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n border: 0;\n z-index: 56;\n\n svg {\n width: 5px;\n fill: #fff;\n height: auto;\n }\n }\n\n &:not(.open) > ul {\n > li {\n > span {\n grid-template-columns: 1fr !important;\n\n > div {\n width: fit-content;\n margin: auto;\n }\n\n a,\n .arrow {\n display: none;\n }\n }\n }\n\n ul {\n min-width: max-content;\n width: 240px;\n }\n }\n"])), function (props) { return props.theme.primaryColor; });
14
14
  var templateObject_1;
15
15
  //# sourceMappingURL=styles.js.map
@@ -1,2 +1,2 @@
1
- export * from './opened/index.js';
2
- export * from './collapsed-menu/index.js';
1
+ export * from './opened';
2
+ export * from './collapsed-menu';
@@ -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("./opened/index.js"), exports);
18
- __exportStar(require("./collapsed-menu/index.js"), exports);
17
+ __exportStar(require("./opened"), exports);
18
+ __exportStar(require("./collapsed-menu"), exports);
19
19
  //# sourceMappingURL=index.js.map
@@ -33,9 +33,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
33
33
  exports.Overlay = exports.OpenedMenu = void 0;
34
34
  var jsx_runtime_1 = require("react/jsx-runtime");
35
35
  var styled_components_1 = __importDefault(require("styled-components"));
36
- var ui_1 = require("../../../../../../../ui/index.js");
37
- var system_1 = require("../../../../../../../system/index.js");
38
- var S = __importStar(require("./styles.js"));
36
+ var ui_1 = require("../../../../../../../ui");
37
+ var system_1 = require("../../../../../../../system");
38
+ var S = __importStar(require("./styles"));
39
39
  function OpenedMenu() {
40
40
  var _a;
41
41
  var data = (0, system_1.useLoadMenu)().data;
@@ -9,7 +9,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.OpenedMenu = void 0;
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
- var styles_1 = require("../../styles.js");
12
+ var styles_1 = require("../../styles");
13
13
  exports.OpenedMenu = (0, styled_components_1.default)(styles_1.DefaultMenuStyle)(templateObject_1 || (templateObject_1 = __makeTemplateObject([""], [""])));
14
14
  var templateObject_1;
15
15
  //# sourceMappingURL=styles.js.map
@@ -1,2 +1,2 @@
1
- import { INotification } from '../../../../../../system/domain/index.js';
1
+ import { INotification } from '../../../../../../system/domain';
2
2
  export declare function NotificationCard({ title, createdAtText, message }: INotification): import("react/jsx-runtime").JSX.Element;
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.NotificationCard = void 0;
27
27
  var jsx_runtime_1 = require("react/jsx-runtime");
28
- var ui_1 = require("../../../../../../ui/index.js");
29
- var S = __importStar(require("./styles.js"));
28
+ var ui_1 = require("../../../../../../ui");
29
+ var S = __importStar(require("./styles"));
30
30
  function NotificationCard(_a) {
31
31
  var title = _a.title, createdAtText = _a.createdAtText, message = _a.message;
32
32
  return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'NotificationCard', children: (0, jsx_runtime_1.jsxs)(S.NotificationCard, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'top', children: [title && (0, jsx_runtime_1.jsx)("h4", { className: 'font-16-bold', children: title }), createdAtText && (0, jsx_runtime_1.jsx)("span", { className: 'font-12-regular', children: createdAtText })] }), message && (0, jsx_runtime_1.jsx)("div", { className: 'description font-16-regular', dangerouslySetInnerHTML: { __html: message } })] }) }));
@@ -1,155 +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 __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
- return new (P || (P = Promise))(function (resolve, reject) {
39
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
- step((generator = generator.apply(thisArg, _arguments || [])).next());
43
- });
44
- };
45
- var __generator = (this && this.__generator) || function (thisArg, body) {
46
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
47
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
48
- function verb(n) { return function (v) { return step([n, v]); }; }
49
- function step(op) {
50
- if (f) throw new TypeError("Generator is already executing.");
51
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
52
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
53
- if (y = 0, t) op = [op[0] & 2, t.value];
54
- switch (op[0]) {
55
- case 0: case 1: t = op; break;
56
- case 4: _.label++; return { value: op[1], done: false };
57
- case 5: _.label++; y = op[1]; op = [0]; continue;
58
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
59
- default:
60
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
61
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
62
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
63
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
64
- if (t[2]) _.ops.pop();
65
- _.trys.pop(); continue;
66
- }
67
- op = body.call(thisArg, _);
68
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
69
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
70
- }
71
- };
72
- Object.defineProperty(exports, "__esModule", { value: true });
73
- exports.Notifications = void 0;
74
- var jsx_runtime_1 = require("react/jsx-runtime");
75
- var react_1 = require("react");
76
- var ui_1 = require("../../../../../ui/index.js");
77
- var system_1 = require("../../../../../system/index.js");
78
- var card_1 = require("./card/index.js");
79
- var styles_1 = require("../../layout/header/components/menu-right/styles.js");
80
- var S = __importStar(require("./styles.js"));
81
- function ReadNotifications(_a) {
82
- var _b;
83
- var notifications = _a.notifications, icon = _a.icon;
84
- var readNotifications = (0, system_1.useLoadNoReadNotifications)();
85
- var noreadNotifications = (0, system_1.useLoadNoReadNotifications)();
86
- function handleOnOpen() {
87
- return __awaiter(this, void 0, void 0, function () {
88
- var noReadNotifications;
89
- return __generator(this, function (_a) {
90
- switch (_a.label) {
91
- case 0:
92
- if (!(readNotifications.data.number > 0)) return [3 /*break*/, 2];
93
- noReadNotifications = notifications === null || notifications === void 0 ? void 0 : notifications.filter(function (notification) { return !notification.isRead; }).map(function (noRead) { return noRead.id; });
94
- return [4 /*yield*/, system_1.container.get(system_1.Types.RemoteNotifications).readAll({ ids: noReadNotifications })];
95
- case 1:
96
- _a.sent();
97
- noreadNotifications.mutate();
98
- readNotifications.mutate();
99
- return [2 /*return*/];
100
- case 2: return [2 /*return*/];
101
- }
102
- });
103
- });
104
- }
105
- return ((0, jsx_runtime_1.jsxs)(styles_1.ActionBox, { onClick: handleOnOpen, children: [((_b = readNotifications.data) === null || _b === void 0 ? void 0 : _b.number) > 0 && (0, jsx_runtime_1.jsx)("div", { className: 'circle' }), icon ? icon : (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'IconFullFieldBell' })] }));
106
- }
107
- function Notifications() {
108
- var _a, _b;
109
- var Configurations = (0, system_1.useInfraInjection)().Configurations;
110
- var notifications = (0, system_1.useLoadAllNotifications)();
111
- var detailsRef = (0, react_1.useRef)(null);
112
- if (!Configurations.notification || !((_a = Configurations.notification) === null || _a === void 0 ? void 0 : _a.enable)) {
113
- return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
114
- }
115
- (0, react_1.useEffect)(function () {
116
- function handleClickOutside(event) {
117
- if (detailsRef.current && !detailsRef.current.contains(event.target)) {
118
- detailsRef.current.open = false;
119
- }
120
- }
121
- document.addEventListener('mousedown', handleClickOutside);
122
- return function () {
123
- document.removeEventListener('mousedown', handleClickOutside);
124
- };
125
- }, [detailsRef]);
126
- function ContentNotification(_a) {
127
- var notifications = _a.notifications, CustomComponent = _a.CustomComponent;
128
- if (!notifications || (notifications === null || notifications === void 0 ? void 0 : notifications.length) === 0) {
129
- return (0, jsx_runtime_1.jsx)("p", { className: 'font-16-regular', children: "Nenhuma notifica\u00E7\u00E3o no momento." });
130
- }
131
- return notifications.map(function (notification) {
132
- return CustomComponent ? ((0, jsx_runtime_1.jsx)(CustomComponent, __assign({}, notification), 'custom-notification-card' + notification.id)) : ((0, jsx_runtime_1.jsx)(card_1.NotificationCard, __assign({}, notification), 'notification-card' + notification.id));
133
- });
134
- }
135
- return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Notifications', children: (0, jsx_runtime_1.jsx)(S.Notifications, { children: (0, jsx_runtime_1.jsxs)("details", { ref: detailsRef, children: [(0, jsx_runtime_1.jsx)("summary", { children: (0, jsx_runtime_1.jsx)(ReadNotifications, { notifications: notifications.data, icon: (_b = Configurations === null || Configurations === void 0 ? void 0 : Configurations.notification) === null || _b === void 0 ? void 0 : _b.icon }) }), (0, jsx_runtime_1.jsx)(S.Content, { children: (0, jsx_runtime_1.jsx)(system_1.Tab, { tabs: [
136
- {
137
- key: 'not_read',
138
- title: 'Não lido',
139
- content: function () {
140
- var _a;
141
- return ((0, jsx_runtime_1.jsx)(ContentNotification, { notifications: (_a = notifications === null || notifications === void 0 ? void 0 : notifications.data) === null || _a === void 0 ? void 0 : _a.filter(function (item) { return !item.isRead; }), CustomComponent: Configurations.notification.CustomComponent }));
142
- },
143
- },
144
- {
145
- key: 'read',
146
- title: 'Lidos',
147
- content: function () {
148
- var _a;
149
- return ((0, jsx_runtime_1.jsx)(ContentNotification, { notifications: (_a = notifications === null || notifications === void 0 ? void 0 : notifications.data) === null || _a === void 0 ? void 0 : _a.filter(function (item) { return item.isRead; }), CustomComponent: Configurations.notification.CustomComponent }));
150
- },
151
- },
152
- ] }) })] }) }) }));
153
- }
154
- exports.Notifications = Notifications;
155
- //# sourceMappingURL=index.js.map
@@ -1,2 +0,0 @@
1
- import { IPageWrapper } from './interfaces.js';
2
- export declare function PageWrapper({ title, children, breadCrumb }: IPageWrapper): import("react/jsx-runtime").JSX.Element;
@@ -1,35 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.PageWrapper = void 0;
27
- var jsx_runtime_1 = require("react/jsx-runtime");
28
- var ui_1 = require("../../../../../ui/index.js");
29
- var S = __importStar(require("./styles.js"));
30
- function PageWrapper(_a) {
31
- var title = _a.title, children = _a.children, breadCrumb = _a.breadCrumb;
32
- return ((0, jsx_runtime_1.jsxs)(S.PageWrapper, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'header', children: [(0, jsx_runtime_1.jsx)("h1", { className: 'font-24-bold-lexend', children: title }), (0, jsx_runtime_1.jsx)(ui_1.Breadcrumb, { links: breadCrumb })] }), children] }));
33
- }
34
- exports.PageWrapper = PageWrapper;
35
- //# sourceMappingURL=index.js.map
@@ -1,7 +0,0 @@
1
- import { IBreadCrumbShape } from '../../../../../ui/components/breadcrumb/interfaces.js';
2
- import { ReactNode } from 'react';
3
- export interface IPageWrapper {
4
- title: string;
5
- children: ReactNode;
6
- breadCrumb?: IBreadCrumbShape[];
7
- }
@@ -1,2 +0,0 @@
1
- import { IPopoverStateProps } from './interfaces.js';
2
- export declare function Popover({ title, children, forceClose }: IPopoverStateProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { IProfileInfos } from './interfaces.js';
2
- export declare function ProfileInfos({ profile, details }: IProfileInfos): import("react/jsx-runtime").JSX.Element;
@@ -1,48 +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.ProfileInfos = void 0;
38
- var jsx_runtime_1 = require("react/jsx-runtime");
39
- var ui_1 = require("../../../../../ui/index.js");
40
- var profile_1 = require("./profile/index.js");
41
- var detail_card_1 = require("../detail-card/index.js");
42
- var S = __importStar(require("./styles.js"));
43
- function ProfileInfos(_a) {
44
- var profile = _a.profile, details = _a.details;
45
- return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'ProfileInfos', children: (0, jsx_runtime_1.jsxs)(S.ProfileInfos, { children: [profile && (0, jsx_runtime_1.jsx)(profile_1.Profile, __assign({}, profile)), details && ((0, jsx_runtime_1.jsx)("div", { className: 'details-box', children: details.map(function (detail) { return ((0, jsx_runtime_1.jsx)(detail_card_1.DetailCard, __assign({}, detail), 'detail-card' + detail.id)); }) }))] }) }));
46
- }
47
- exports.ProfileInfos = ProfileInfos;
48
- //# sourceMappingURL=index.js.map
@@ -1,6 +0,0 @@
1
- import { IDetailCard } from '../detail-card/index.js';
2
- import { IProfileProps } from './profile/interfaces.js';
3
- export interface IProfileInfos {
4
- profile: IProfileProps;
5
- details: IDetailCard[];
6
- }
@@ -1,2 +1,2 @@
1
- import { IProfileProps } from './interfaces.js';
1
+ import { IProfileProps } from './interfaces';
2
2
  export declare function Profile({ image, name, status, tag, tags }: IProfileProps): import("react/jsx-runtime").JSX.Element;
@@ -25,9 +25,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.Profile = void 0;
27
27
  var jsx_runtime_1 = require("react/jsx-runtime");
28
- var ui_1 = require("../../../../../../ui/index.js");
29
- var highlight_text_1 = require("../../highlight-text/index.js");
30
- var S = __importStar(require("./styles.js"));
28
+ var ui_1 = require("../../../../../../ui");
29
+ var highlight_text_1 = require("../../highlight-text");
30
+ var S = __importStar(require("./styles"));
31
31
  function Profile(_a) {
32
32
  var image = _a.image, name = _a.name, status = _a.status, tag = _a.tag, tags = _a.tags;
33
33
  return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Profile', children: (0, jsx_runtime_1.jsxs)(S.Profile, { children: [(0, jsx_runtime_1.jsx)("div", { className: 'avatar', children: (0, jsx_runtime_1.jsx)(ui_1.NextImage, { src: image || '/images/profile-default.png' }) }), (0, jsx_runtime_1.jsxs)("div", { children: [name && (0, jsx_runtime_1.jsx)("h1", { children: name }), status && ((0, jsx_runtime_1.jsx)("span", { className: 'status', children: (0, jsx_runtime_1.jsx)(highlight_text_1.HighlightText, { text: status === null || status === void 0 ? void 0 : status.text, color: status === null || status === void 0 ? void 0 : status.color }) })), (0, jsx_runtime_1.jsxs)("div", { className: 'infos', children: [tag && (0, jsx_runtime_1.jsxs)("span", { children: ["RG ", tag] }), tags && (0, jsx_runtime_1.jsx)("div", { dangerouslySetInnerHTML: { __html: tags } })] })] })] }) }));
@@ -1,4 +0,0 @@
1
- import { WorkSpace } from './interfaces.js';
2
- export declare function SelectWorkSpace({ workspaces }: {
3
- workspaces?: WorkSpace;
4
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,69 +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.SelectWorkSpace = void 0;
49
- var jsx_runtime_1 = require("react/jsx-runtime");
50
- var system_1 = require("../../../../../system/index.js");
51
- var ui_1 = require("../../../../../ui/index.js");
52
- var custom_styles_1 = require("./custom-styles.js");
53
- var S = __importStar(require("./styles.js"));
54
- function SelectWorkSpace(_a) {
55
- var workspaces = _a.workspaces;
56
- if (!(workspaces === null || workspaces === void 0 ? void 0 : workspaces.list) || workspaces.list.length === 0) {
57
- return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
58
- }
59
- function Item(_a) {
60
- var _b, _c;
61
- var data = _a.data, props = __rest(_a, ["data"]);
62
- var isOption = (_c = (_b = props === null || props === void 0 ? void 0 : props.innerProps) === null || _b === void 0 ? void 0 : _b.id) === null || _c === void 0 ? void 0 : _c.includes('option');
63
- var optionIsActive = isOption && workspaces.activeWorkspace === data.value;
64
- return ((0, jsx_runtime_1.jsxs)(S.Item, __assign({ className: "item ".concat(optionIsActive ? "active" : "") }, props.innerProps, { "$isOption": isOption, children: [(0, jsx_runtime_1.jsxs)("div", { className: 'content_option', children: [(data === null || data === void 0 ? void 0 : data.img) && (0, jsx_runtime_1.jsx)(system_1.Avatar, { className: 'avatar', image: data.img }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("span", { className: 'font-14-regular title_workspace', children: data === null || data === void 0 ? void 0 : data.label }), (data === null || data === void 0 ? void 0 : data.subtitle) && (0, jsx_runtime_1.jsx)("span", { className: 'font-12-regular subtitle', style: { color: isOption ? "#828282" : "#fff" }, children: data.subtitle })] })] }), isOption && (0, jsx_runtime_1.jsx)("div", { className: 'active_workspace', children: (0, jsx_runtime_1.jsx)("div", {}) })] })));
65
- }
66
- return ((0, jsx_runtime_1.jsx)(S.SelectWorkSpace, { children: (0, jsx_runtime_1.jsx)(ui_1.FormHandler, { onChangeForm: (workspaces === null || workspaces === void 0 ? void 0 : workspaces.onChangeWorkSpace) && { callbackResult: workspaces.onChangeWorkSpace }, initialData: { workspace: workspaces.activeWorkspace }, children: (0, jsx_runtime_1.jsx)(ui_1.Select, { name: 'workspace', menuPlacement: 'auto', options: workspaces.list, onlyOneValue: true, customStlyes: custom_styles_1.customStyles, CustomOption: Item, isSearchable: false, placeholder: 'Selecione a empresa', value: workspaces.activeWorkspace }) }) }));
67
- }
68
- exports.SelectWorkSpace = SelectWorkSpace;
69
- //# sourceMappingURL=index.js.map
@@ -1,2 +0,0 @@
1
- import { ITabProps } from './interfaces.js';
2
- export declare function Tab({ tabs, mapAllTabs }: ITabProps): import("react/jsx-runtime").JSX.Element;