infinity-forge 0.3.2 → 0.3.3

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 (438) hide show
  1. package/dist/system/container/decorators/authorize-http-client-decorator.d.ts +8 -0
  2. package/dist/system/container/decorators/authorize-http-client-decorator.js +118 -0
  3. package/dist/system/container/decorators/authorize-http-client-decorator.js.map +1 -0
  4. package/dist/system/container/decorators/index.d.ts +1 -0
  5. package/dist/system/container/decorators/index.js +18 -0
  6. package/dist/system/container/decorators/index.js.map +1 -0
  7. package/dist/system/container/index.d.ts +2 -0
  8. package/dist/system/container/index.js +19 -0
  9. package/dist/system/container/index.js.map +1 -0
  10. package/dist/system/container/infra/container.d.ts +3 -0
  11. package/dist/system/container/infra/container.js +17 -0
  12. package/dist/system/container/infra/container.js.map +1 -0
  13. package/dist/system/container/infra/index.d.ts +3 -0
  14. package/dist/system/container/infra/index.js +20 -0
  15. package/dist/system/container/infra/index.js.map +1 -0
  16. package/dist/system/container/infra/make-api-url.d.ts +3 -0
  17. package/dist/system/container/infra/make-api-url.js +23 -0
  18. package/dist/system/container/infra/make-api-url.js.map +1 -0
  19. package/dist/system/container/infra/types.d.ts +7 -0
  20. package/dist/system/container/infra/types.js +11 -0
  21. package/dist/system/container/infra/types.js.map +1 -0
  22. package/dist/system/container/main.d.ts +3 -0
  23. package/dist/system/container/main.js +7 -0
  24. package/dist/system/container/main.js.map +1 -0
  25. package/dist/system/data/index.d.ts +1 -0
  26. package/dist/system/data/index.js +18 -0
  27. package/dist/system/data/index.js.map +1 -0
  28. package/dist/system/data/use-cases/auth/index.d.ts +1 -0
  29. package/dist/system/data/use-cases/auth/index.js +18 -0
  30. package/dist/system/data/use-cases/auth/index.js.map +1 -0
  31. package/dist/system/data/use-cases/auth/remote-auth-admin.d.ts +10 -0
  32. package/dist/system/data/use-cases/auth/remote-auth-admin.js +121 -0
  33. package/dist/system/data/use-cases/auth/remote-auth-admin.js.map +1 -0
  34. package/dist/system/data/use-cases/index.d.ts +1 -0
  35. package/dist/system/data/use-cases/index.js +18 -0
  36. package/dist/system/data/use-cases/index.js.map +1 -0
  37. package/dist/system/domain/entities/departament.d.ts +4 -0
  38. package/dist/system/domain/entities/departament.js +3 -0
  39. package/dist/system/domain/entities/departament.js.map +1 -0
  40. package/dist/system/domain/entities/index.d.ts +3 -0
  41. package/dist/system/domain/entities/index.js +20 -0
  42. package/dist/system/domain/entities/index.js.map +1 -0
  43. package/dist/system/domain/entities/roles/index.d.ts +1 -0
  44. package/dist/system/domain/entities/roles/index.js +18 -0
  45. package/dist/system/domain/entities/roles/index.js.map +1 -0
  46. package/dist/system/domain/entities/roles/permission.d.ts +6 -0
  47. package/dist/system/domain/entities/roles/permission.js +3 -0
  48. package/dist/system/domain/entities/roles/permission.js.map +1 -0
  49. package/dist/system/domain/entities/users/index.d.ts +1 -0
  50. package/dist/system/domain/entities/users/index.js +18 -0
  51. package/dist/system/domain/entities/users/index.js.map +1 -0
  52. package/dist/system/domain/entities/users/user-controller.d.ts +9 -0
  53. package/dist/system/domain/entities/users/user-controller.js +3 -0
  54. package/dist/system/domain/entities/users/user-controller.js.map +1 -0
  55. package/dist/system/domain/index.d.ts +3 -0
  56. package/dist/system/domain/index.js +20 -0
  57. package/dist/system/domain/index.js.map +1 -0
  58. package/dist/system/domain/protocols/cache/cache-keys.d.ts +6 -0
  59. package/dist/system/domain/protocols/cache/cache-keys.js +3 -0
  60. package/dist/system/domain/protocols/cache/cache-keys.js.map +1 -0
  61. package/dist/system/domain/protocols/cache/get-storage.d.ts +4 -0
  62. package/dist/system/domain/protocols/cache/get-storage.js +3 -0
  63. package/dist/system/domain/protocols/cache/get-storage.js.map +1 -0
  64. package/dist/system/domain/protocols/cache/index.d.ts +3 -0
  65. package/dist/system/domain/protocols/cache/index.js +20 -0
  66. package/dist/system/domain/protocols/cache/index.js.map +1 -0
  67. package/dist/system/domain/protocols/cache/set-storage.d.ts +4 -0
  68. package/dist/system/domain/protocols/cache/set-storage.js +4 -0
  69. package/dist/system/domain/protocols/cache/set-storage.js.map +1 -0
  70. package/dist/system/domain/protocols/http/errors/http-errors/application-unexpected-error.d.ts +3 -0
  71. package/dist/system/domain/protocols/http/errors/http-errors/application-unexpected-error.js +29 -0
  72. package/dist/system/domain/protocols/http/errors/http-errors/application-unexpected-error.js.map +1 -0
  73. package/dist/system/domain/protocols/http/errors/http-errors/bad-request-error.d.ts +8 -0
  74. package/dist/system/domain/protocols/http/errors/http-errors/bad-request-error.js +11 -0
  75. package/dist/system/domain/protocols/http/errors/http-errors/bad-request-error.js.map +1 -0
  76. package/dist/system/domain/protocols/http/errors/http-errors/index.d.ts +5 -0
  77. package/dist/system/domain/protocols/http/errors/http-errors/index.js +22 -0
  78. package/dist/system/domain/protocols/http/errors/http-errors/index.js.map +1 -0
  79. package/dist/system/domain/protocols/http/errors/http-errors/no-content.d.ts +3 -0
  80. package/dist/system/domain/protocols/http/errors/http-errors/no-content.js +29 -0
  81. package/dist/system/domain/protocols/http/errors/http-errors/no-content.js.map +1 -0
  82. package/dist/system/domain/protocols/http/errors/http-errors/not-found-error.d.ts +3 -0
  83. package/dist/system/domain/protocols/http/errors/http-errors/not-found-error.js +29 -0
  84. package/dist/system/domain/protocols/http/errors/http-errors/not-found-error.js.map +1 -0
  85. package/dist/system/domain/protocols/http/errors/http-errors/unexpected-error.d.ts +3 -0
  86. package/dist/system/domain/protocols/http/errors/http-errors/unexpected-error.js +29 -0
  87. package/dist/system/domain/protocols/http/errors/http-errors/unexpected-error.js.map +1 -0
  88. package/dist/system/domain/protocols/http/errors/index.d.ts +2 -0
  89. package/dist/system/domain/protocols/http/errors/index.js +19 -0
  90. package/dist/system/domain/protocols/http/errors/index.js.map +1 -0
  91. package/dist/system/domain/protocols/http/errors/system-errors-model/index.d.ts +1 -0
  92. package/dist/system/domain/protocols/http/errors/system-errors-model/index.js +18 -0
  93. package/dist/system/domain/protocols/http/errors/system-errors-model/index.js.map +1 -0
  94. package/dist/system/domain/protocols/http/errors/system-errors-model/validation-errors-model.d.ts +11 -0
  95. package/dist/system/domain/protocols/http/errors/system-errors-model/validation-errors-model.js +11 -0
  96. package/dist/system/domain/protocols/http/errors/system-errors-model/validation-errors-model.js.map +1 -0
  97. package/dist/system/domain/protocols/http/http-client.d.ts +28 -0
  98. package/dist/system/domain/protocols/http/http-client.js +18 -0
  99. package/dist/system/domain/protocols/http/http-client.js.map +1 -0
  100. package/dist/system/domain/protocols/http/index.d.ts +2 -0
  101. package/dist/system/domain/protocols/http/index.js +19 -0
  102. package/dist/system/domain/protocols/http/index.js.map +1 -0
  103. package/dist/system/domain/protocols/index.d.ts +2 -0
  104. package/dist/system/domain/protocols/index.js +19 -0
  105. package/dist/system/domain/protocols/index.js.map +1 -0
  106. package/dist/system/domain/use-cases/auth/admin/auth-admin.d.ts +20 -0
  107. package/dist/system/domain/use-cases/auth/admin/auth-admin.js +3 -0
  108. package/dist/system/domain/use-cases/auth/admin/auth-admin.js.map +1 -0
  109. package/dist/system/domain/use-cases/auth/admin/index.d.ts +1 -0
  110. package/dist/system/domain/use-cases/auth/admin/index.js +18 -0
  111. package/dist/system/domain/use-cases/auth/admin/index.js.map +1 -0
  112. package/dist/system/domain/use-cases/auth/index.d.ts +1 -0
  113. package/dist/system/domain/use-cases/auth/index.js +18 -0
  114. package/dist/system/domain/use-cases/auth/index.js.map +1 -0
  115. package/dist/system/domain/use-cases/index.d.ts +1 -0
  116. package/dist/system/domain/use-cases/index.js +18 -0
  117. package/dist/system/domain/use-cases/index.js.map +1 -0
  118. package/dist/system/index.d.ts +1 -3
  119. package/dist/system/index.js +1 -3
  120. package/dist/system/index.js.map +1 -1
  121. package/dist/system/infra/cache/cookie-storage-adapter.d.ts +6 -0
  122. package/dist/system/infra/cache/cookie-storage-adapter.js +108 -0
  123. package/dist/system/infra/cache/cookie-storage-adapter.js.map +1 -0
  124. package/dist/system/infra/cache/index.d.ts +2 -0
  125. package/dist/system/infra/cache/index.js +19 -0
  126. package/dist/system/infra/cache/index.js.map +1 -0
  127. package/dist/system/infra/cache/storage-type.d.ts +2 -0
  128. package/dist/system/infra/cache/storage-type.js +3 -0
  129. package/dist/system/infra/cache/storage-type.js.map +1 -0
  130. package/dist/system/infra/http/axios-http-client.d.ts +4 -0
  131. package/dist/system/infra/http/axios-http-client.js +109 -0
  132. package/dist/system/infra/http/axios-http-client.js.map +1 -0
  133. package/dist/system/infra/http/index.d.ts +1 -0
  134. package/dist/system/infra/http/index.js +18 -0
  135. package/dist/system/infra/http/index.js.map +1 -0
  136. package/dist/system/infra/index.d.ts +4 -0
  137. package/dist/system/infra/index.js +21 -0
  138. package/dist/system/infra/index.js.map +1 -0
  139. package/dist/system/infra/server/headers.d.ts +5 -0
  140. package/dist/system/infra/server/headers.js +3 -0
  141. package/dist/system/infra/server/headers.js.map +1 -0
  142. package/dist/system/infra/server/index.d.ts +1 -0
  143. package/dist/system/infra/server/index.js +18 -0
  144. package/dist/system/infra/server/index.js.map +1 -0
  145. package/dist/system/infra/type-models/birthday.d.ts +1 -0
  146. package/dist/system/infra/type-models/birthday.js +3 -0
  147. package/dist/system/infra/type-models/birthday.js.map +1 -0
  148. package/dist/system/infra/type-models/index.d.ts +2 -0
  149. package/dist/system/infra/type-models/index.js +19 -0
  150. package/dist/system/infra/type-models/index.js.map +1 -0
  151. package/dist/system/infra/type-models/zipcode.d.ts +1 -0
  152. package/dist/system/infra/type-models/zipcode.js +3 -0
  153. package/dist/system/infra/type-models/zipcode.js.map +1 -0
  154. package/dist/system/presentation/components/data/avatar/index.d.ts +4 -0
  155. package/dist/system/presentation/components/data/avatar/index.js +57 -0
  156. package/dist/system/presentation/components/data/avatar/index.js.map +1 -0
  157. package/dist/system/presentation/components/data/avatar/styles.d.ts +2 -0
  158. package/dist/system/presentation/components/data/avatar/styles.js +14 -0
  159. package/dist/system/presentation/components/data/avatar/styles.js.map +1 -0
  160. package/dist/system/presentation/components/data/cards/index.d.ts +1 -0
  161. package/dist/system/presentation/components/data/cards/index.js +18 -0
  162. package/dist/system/presentation/components/data/cards/index.js.map +1 -0
  163. package/dist/system/presentation/components/data/cards/message-card/index.d.ts +2 -0
  164. package/dist/system/presentation/components/data/cards/message-card/index.js +37 -0
  165. package/dist/system/presentation/components/data/cards/message-card/index.js.map +1 -0
  166. package/dist/system/presentation/components/data/cards/message-card/styles.d.ts +2 -0
  167. package/dist/system/presentation/components/data/cards/message-card/styles.js +14 -0
  168. package/dist/system/presentation/components/data/cards/message-card/styles.js.map +1 -0
  169. package/dist/system/presentation/components/data/index.d.ts +9 -0
  170. package/dist/system/presentation/components/data/index.js +26 -0
  171. package/dist/system/presentation/components/data/index.js.map +1 -0
  172. package/dist/system/presentation/components/data/logo/index.d.ts +1 -0
  173. package/dist/system/presentation/components/data/logo/index.js +34 -0
  174. package/dist/system/presentation/components/data/logo/index.js.map +1 -0
  175. package/dist/system/presentation/components/data/logo/styles.d.ts +2 -0
  176. package/dist/system/presentation/components/data/logo/styles.js +14 -0
  177. package/dist/system/presentation/components/data/logo/styles.js.map +1 -0
  178. package/dist/system/presentation/components/data/overlay/index.d.ts +2 -0
  179. package/dist/system/presentation/components/data/overlay/index.js +35 -0
  180. package/dist/system/presentation/components/data/overlay/index.js.map +1 -0
  181. package/dist/system/presentation/components/data/overlay/interfaces.d.ts +7 -0
  182. package/dist/system/presentation/components/data/overlay/interfaces.js +3 -0
  183. package/dist/system/presentation/components/data/overlay/interfaces.js.map +1 -0
  184. package/dist/system/presentation/components/data/overlay/styles.d.ts +7 -0
  185. package/dist/system/presentation/components/data/overlay/styles.js +15 -0
  186. package/dist/system/presentation/components/data/overlay/styles.js.map +1 -0
  187. package/dist/system/presentation/components/data/page-wrapper/index.d.ts +2 -0
  188. package/dist/system/presentation/components/data/page-wrapper/index.js +35 -0
  189. package/dist/system/presentation/components/data/page-wrapper/index.js.map +1 -0
  190. package/dist/system/presentation/components/data/page-wrapper/interfaces.d.ts +5 -0
  191. package/dist/system/presentation/components/data/page-wrapper/interfaces.js +3 -0
  192. package/dist/system/presentation/components/data/page-wrapper/interfaces.js.map +1 -0
  193. package/dist/system/presentation/components/data/page-wrapper/styles.d.ts +4 -0
  194. package/dist/system/presentation/components/data/page-wrapper/styles.js +14 -0
  195. package/dist/system/presentation/components/data/page-wrapper/styles.js.map +1 -0
  196. package/dist/system/presentation/components/data/popover/index.d.ts +2 -0
  197. package/dist/system/presentation/components/data/popover/index.js +10 -0
  198. package/dist/system/presentation/components/data/popover/index.js.map +1 -0
  199. package/dist/system/presentation/components/data/popover/interfaces.d.ts +8 -0
  200. package/dist/system/presentation/components/data/popover/interfaces.js +3 -0
  201. package/dist/system/presentation/components/data/popover/interfaces.js.map +1 -0
  202. package/dist/system/presentation/components/data/sign-in/index.d.ts +1 -0
  203. package/dist/system/presentation/components/data/sign-in/index.js +36 -0
  204. package/dist/system/presentation/components/data/sign-in/index.js.map +1 -0
  205. package/dist/system/presentation/components/data/sign-in/styles.d.ts +4 -0
  206. package/dist/system/presentation/components/data/sign-in/styles.js +14 -0
  207. package/dist/system/presentation/components/data/sign-in/styles.js.map +1 -0
  208. package/dist/system/presentation/components/data/sign-up/index.d.ts +1 -0
  209. package/dist/system/presentation/components/data/sign-up/index.js +36 -0
  210. package/dist/system/presentation/components/data/sign-up/index.js.map +1 -0
  211. package/dist/system/presentation/components/data/sign-up/styles.d.ts +4 -0
  212. package/dist/system/presentation/components/data/sign-up/styles.js +14 -0
  213. package/dist/system/presentation/components/data/sign-up/styles.js.map +1 -0
  214. package/dist/system/presentation/components/data/skeleton/index.d.ts +2 -0
  215. package/dist/system/presentation/components/data/skeleton/index.js +35 -0
  216. package/dist/system/presentation/components/data/skeleton/index.js.map +1 -0
  217. package/dist/system/presentation/components/data/skeleton/interfaces.d.ts +4 -0
  218. package/dist/system/presentation/components/data/skeleton/interfaces.js +3 -0
  219. package/dist/system/presentation/components/data/skeleton/interfaces.js.map +1 -0
  220. package/dist/system/presentation/components/data/skeleton/styles.d.ts +4 -0
  221. package/dist/system/presentation/components/data/skeleton/styles.js +14 -0
  222. package/dist/system/presentation/components/data/skeleton/styles.js.map +1 -0
  223. package/dist/system/presentation/components/index.d.ts +2 -0
  224. package/dist/system/presentation/components/index.js +19 -0
  225. package/dist/system/presentation/components/index.js.map +1 -0
  226. package/dist/system/presentation/components/layout/component.d.ts +4 -0
  227. package/dist/system/presentation/components/layout/component.js +36 -0
  228. package/dist/system/presentation/components/layout/component.js.map +1 -0
  229. package/dist/system/presentation/components/layout/header/components/index.d.ts +2 -0
  230. package/dist/system/presentation/components/layout/header/components/index.js +19 -0
  231. package/dist/system/presentation/components/layout/header/components/index.js.map +1 -0
  232. package/dist/system/presentation/components/layout/header/components/menu-right/index.d.ts +1 -0
  233. package/dist/system/presentation/components/layout/header/components/menu-right/index.js +38 -0
  234. package/dist/system/presentation/components/layout/header/components/menu-right/index.js.map +1 -0
  235. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.d.ts +2 -0
  236. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.js +54 -0
  237. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.js.map +1 -0
  238. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/interfaces.d.ts +6 -0
  239. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/interfaces.js +3 -0
  240. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/interfaces.js.map +1 -0
  241. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/styles.d.ts +2 -0
  242. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/styles.js +14 -0
  243. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/styles.js.map +1 -0
  244. package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.d.ts +1 -0
  245. package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.js +31 -0
  246. package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.js.map +1 -0
  247. package/dist/system/presentation/components/layout/header/components/menu-right/messages/styles.d.ts +2 -0
  248. package/dist/system/presentation/components/layout/header/components/menu-right/messages/styles.js +14 -0
  249. package/dist/system/presentation/components/layout/header/components/menu-right/messages/styles.js.map +1 -0
  250. package/dist/system/presentation/components/layout/header/components/menu-right/notifications/index.d.ts +1 -0
  251. package/dist/system/presentation/components/layout/header/components/menu-right/notifications/index.js +11 -0
  252. package/dist/system/presentation/components/layout/header/components/menu-right/notifications/index.js.map +1 -0
  253. package/dist/system/presentation/components/layout/header/components/menu-right/notifications/styles.d.ts +2 -0
  254. package/dist/system/presentation/components/layout/header/components/menu-right/notifications/styles.js +14 -0
  255. package/dist/system/presentation/components/layout/header/components/menu-right/notifications/styles.js.map +1 -0
  256. package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/index.d.ts +1 -0
  257. package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/index.js +56 -0
  258. package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/index.js.map +1 -0
  259. package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/styles.d.ts +2 -0
  260. package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/styles.js +14 -0
  261. package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/styles.js.map +1 -0
  262. package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.d.ts +1 -0
  263. package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js +37 -0
  264. package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js.map +1 -0
  265. package/dist/system/presentation/components/layout/header/components/menu-right/profile/styles.d.ts +2 -0
  266. package/dist/system/presentation/components/layout/header/components/menu-right/profile/styles.js +14 -0
  267. package/dist/system/presentation/components/layout/header/components/menu-right/profile/styles.js.map +1 -0
  268. package/dist/system/presentation/components/layout/header/components/menu-right/settings/index.d.ts +1 -0
  269. package/dist/system/presentation/components/layout/header/components/menu-right/settings/index.js +42 -0
  270. package/dist/system/presentation/components/layout/header/components/menu-right/settings/index.js.map +1 -0
  271. package/dist/system/presentation/components/layout/header/components/menu-right/settings/styles.d.ts +2 -0
  272. package/dist/system/presentation/components/layout/header/components/menu-right/settings/styles.js +14 -0
  273. package/dist/system/presentation/components/layout/header/components/menu-right/settings/styles.js.map +1 -0
  274. package/dist/system/presentation/components/layout/header/components/menu-right/styles.d.ts +2 -0
  275. package/dist/system/presentation/components/layout/header/components/menu-right/styles.js +14 -0
  276. package/dist/system/presentation/components/layout/header/components/menu-right/styles.js.map +1 -0
  277. package/dist/system/presentation/components/layout/header/components/search-modal/index.d.ts +1 -0
  278. package/dist/system/presentation/components/layout/header/components/search-modal/index.js +39 -0
  279. package/dist/system/presentation/components/layout/header/components/search-modal/index.js.map +1 -0
  280. package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.d.ts +4 -0
  281. package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.js +61 -0
  282. package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.js.map +1 -0
  283. package/dist/system/presentation/components/layout/header/components/search-modal/search-list/styles.d.ts +2 -0
  284. package/dist/system/presentation/components/layout/header/components/search-modal/search-list/styles.js +14 -0
  285. package/dist/system/presentation/components/layout/header/components/search-modal/search-list/styles.js.map +1 -0
  286. package/dist/system/presentation/components/layout/header/components/search-modal/styles.d.ts +2 -0
  287. package/dist/system/presentation/components/layout/header/components/search-modal/styles.js +14 -0
  288. package/dist/system/presentation/components/layout/header/components/search-modal/styles.js.map +1 -0
  289. package/dist/system/presentation/components/layout/header/components/search-modal/trigger/index.d.ts +1 -0
  290. package/dist/system/presentation/components/layout/header/components/search-modal/trigger/index.js +45 -0
  291. package/dist/system/presentation/components/layout/header/components/search-modal/trigger/index.js.map +1 -0
  292. package/dist/system/presentation/components/layout/header/components/search-modal/trigger/styles.d.ts +2 -0
  293. package/dist/system/presentation/components/layout/header/components/search-modal/trigger/styles.js +14 -0
  294. package/dist/system/presentation/components/layout/header/components/search-modal/trigger/styles.js.map +1 -0
  295. package/dist/system/presentation/components/layout/header/index.d.ts +1 -0
  296. package/dist/system/presentation/components/layout/header/index.js +15 -0
  297. package/dist/system/presentation/components/layout/header/index.js.map +1 -0
  298. package/dist/system/presentation/components/layout/header/version-01/index.d.ts +1 -0
  299. package/dist/system/presentation/components/layout/header/version-01/index.js +36 -0
  300. package/dist/system/presentation/components/layout/header/version-01/index.js.map +1 -0
  301. package/dist/system/presentation/components/layout/header/version-01/styles.d.ts +6 -0
  302. package/dist/system/presentation/components/layout/header/version-01/styles.js +37 -0
  303. package/dist/system/presentation/components/layout/header/version-01/styles.js.map +1 -0
  304. package/dist/system/presentation/components/layout/index.d.ts +3 -0
  305. package/dist/system/presentation/components/layout/index.js +20 -0
  306. package/dist/system/presentation/components/layout/index.js.map +1 -0
  307. package/dist/system/presentation/components/layout/menu/components/index.d.ts +2 -0
  308. package/dist/system/presentation/components/layout/menu/components/index.js +19 -0
  309. package/dist/system/presentation/components/layout/menu/components/index.js.map +1 -0
  310. package/dist/system/presentation/components/layout/menu/components/menu/index.d.ts +1 -0
  311. package/dist/system/presentation/components/layout/menu/components/menu/index.js +59 -0
  312. package/dist/system/presentation/components/layout/menu/components/menu/index.js.map +1 -0
  313. package/dist/system/presentation/components/layout/menu/components/menu/styles.d.ts +2 -0
  314. package/dist/system/presentation/components/layout/menu/components/menu/styles.js +14 -0
  315. package/dist/system/presentation/components/layout/menu/components/menu/styles.js.map +1 -0
  316. package/dist/system/presentation/components/layout/menu/components/select-workspace/index.d.ts +1 -0
  317. package/dist/system/presentation/components/layout/menu/components/select-workspace/index.js +78 -0
  318. package/dist/system/presentation/components/layout/menu/components/select-workspace/index.js.map +1 -0
  319. package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.d.ts +2 -0
  320. package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.js +14 -0
  321. package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.js.map +1 -0
  322. package/dist/system/presentation/components/layout/menu/index.d.ts +1 -0
  323. package/dist/system/presentation/components/layout/menu/index.js +15 -0
  324. package/dist/system/presentation/components/layout/menu/index.js.map +1 -0
  325. package/dist/system/presentation/components/layout/menu/version-01/index.d.ts +1 -0
  326. package/dist/system/presentation/components/layout/menu/version-01/index.js +35 -0
  327. package/dist/system/presentation/components/layout/menu/version-01/index.js.map +1 -0
  328. package/dist/system/presentation/components/layout/menu/version-01/styles.d.ts +2 -0
  329. package/dist/system/presentation/components/layout/menu/version-01/styles.js +14 -0
  330. package/dist/system/presentation/components/layout/menu/version-01/styles.js.map +1 -0
  331. package/dist/system/presentation/components/layout/styles.d.ts +4 -0
  332. package/dist/system/presentation/components/layout/styles.js +14 -0
  333. package/dist/system/presentation/components/layout/styles.js.map +1 -0
  334. package/dist/system/presentation/configs/index.d.ts +3 -0
  335. package/dist/system/presentation/configs/index.js +20 -0
  336. package/dist/system/presentation/configs/index.js.map +1 -0
  337. package/dist/system/presentation/configs/menu.d.ts +10 -0
  338. package/dist/system/presentation/configs/menu.js +18 -0
  339. package/dist/system/presentation/configs/menu.js.map +1 -0
  340. package/dist/system/presentation/configs/page-links.d.ts +7 -0
  341. package/dist/system/presentation/configs/page-links.js +319 -0
  342. package/dist/system/presentation/configs/page-links.js.map +1 -0
  343. package/dist/system/presentation/configs/routes.d.ts +10 -0
  344. package/dist/system/presentation/configs/routes.js +14 -0
  345. package/dist/system/presentation/configs/routes.js.map +1 -0
  346. package/dist/system/presentation/hooks/index.d.ts +1 -0
  347. package/dist/system/presentation/hooks/index.js +18 -0
  348. package/dist/system/presentation/hooks/index.js.map +1 -0
  349. package/dist/system/presentation/hooks/ui/index.d.ts +1 -0
  350. package/dist/system/presentation/hooks/ui/index.js +18 -0
  351. package/dist/system/presentation/hooks/ui/index.js.map +1 -0
  352. package/dist/system/presentation/hooks/ui/use-table/component.d.ts +5 -0
  353. package/dist/system/presentation/hooks/ui/use-table/component.js +14 -0
  354. package/dist/system/presentation/hooks/ui/use-table/component.js.map +1 -0
  355. package/dist/system/presentation/hooks/ui/use-table/components/active-indicator/index.d.ts +1 -0
  356. package/dist/system/presentation/hooks/ui/use-table/components/active-indicator/index.js +33 -0
  357. package/dist/system/presentation/hooks/ui/use-table/components/active-indicator/index.js.map +1 -0
  358. package/dist/system/presentation/hooks/ui/use-table/components/active-indicator/styles.d.ts +4 -0
  359. package/dist/system/presentation/hooks/ui/use-table/components/active-indicator/styles.js +14 -0
  360. package/dist/system/presentation/hooks/ui/use-table/components/active-indicator/styles.js.map +1 -0
  361. package/dist/system/presentation/hooks/ui/use-table/components/index.d.ts +3 -0
  362. package/dist/system/presentation/hooks/ui/use-table/components/index.js +20 -0
  363. package/dist/system/presentation/hooks/ui/use-table/components/index.js.map +1 -0
  364. package/dist/system/presentation/hooks/ui/use-table/components/searchbar/active-indicator/index.d.ts +1 -0
  365. package/dist/system/presentation/hooks/ui/use-table/components/searchbar/active-indicator/index.js +33 -0
  366. package/dist/system/presentation/hooks/ui/use-table/components/searchbar/active-indicator/index.js.map +1 -0
  367. package/dist/system/presentation/hooks/ui/use-table/components/searchbar/active-indicator/styles.d.ts +4 -0
  368. package/dist/system/presentation/hooks/ui/use-table/components/searchbar/active-indicator/styles.js +14 -0
  369. package/dist/system/presentation/hooks/ui/use-table/components/searchbar/active-indicator/styles.js.map +1 -0
  370. package/dist/system/presentation/hooks/ui/use-table/components/searchbar/index.d.ts +2 -0
  371. package/dist/system/presentation/hooks/ui/use-table/components/searchbar/index.js +56 -0
  372. package/dist/system/presentation/hooks/ui/use-table/components/searchbar/index.js.map +1 -0
  373. package/dist/system/presentation/hooks/ui/use-table/components/searchbar/interfaces.d.ts +7 -0
  374. package/dist/system/presentation/hooks/ui/use-table/components/searchbar/interfaces.js +3 -0
  375. package/dist/system/presentation/hooks/ui/use-table/components/searchbar/interfaces.js.map +1 -0
  376. package/dist/system/presentation/hooks/ui/use-table/components/searchbar/styles.d.ts +8 -0
  377. package/dist/system/presentation/hooks/ui/use-table/components/searchbar/styles.js +14 -0
  378. package/dist/system/presentation/hooks/ui/use-table/components/searchbar/styles.js.map +1 -0
  379. package/dist/system/presentation/hooks/ui/use-table/components/table/index.d.ts +2 -0
  380. package/dist/system/presentation/hooks/ui/use-table/components/table/index.js +92 -0
  381. package/dist/system/presentation/hooks/ui/use-table/components/table/index.js.map +1 -0
  382. package/dist/system/presentation/hooks/ui/use-table/components/table/interfaces.d.ts +16 -0
  383. package/dist/system/presentation/hooks/ui/use-table/components/table/interfaces.js +3 -0
  384. package/dist/system/presentation/hooks/ui/use-table/components/table/interfaces.js.map +1 -0
  385. package/dist/system/presentation/hooks/ui/use-table/components/table/loader-table/index.d.ts +1 -0
  386. package/dist/system/presentation/hooks/ui/use-table/components/table/loader-table/index.js +33 -0
  387. package/dist/system/presentation/hooks/ui/use-table/components/table/loader-table/index.js.map +1 -0
  388. package/dist/system/presentation/hooks/ui/use-table/components/table/loader-table/styles.d.ts +4 -0
  389. package/dist/system/presentation/hooks/ui/use-table/components/table/loader-table/styles.js +14 -0
  390. package/dist/system/presentation/hooks/ui/use-table/components/table/loader-table/styles.js.map +1 -0
  391. package/dist/system/presentation/hooks/ui/use-table/components/table/styles.d.ts +4 -0
  392. package/dist/system/presentation/hooks/ui/use-table/components/table/styles.js +14 -0
  393. package/dist/system/presentation/hooks/ui/use-table/components/table/styles.js.map +1 -0
  394. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.d.ts +2 -0
  395. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.js +50 -0
  396. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.js.map +1 -0
  397. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/interfaces.d.ts +6 -0
  398. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/interfaces.js +3 -0
  399. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/interfaces.js.map +1 -0
  400. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/styles.d.ts +4 -0
  401. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/styles.js +14 -0
  402. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/styles.js.map +1 -0
  403. package/dist/system/presentation/hooks/ui/use-table/index.d.ts +5 -0
  404. package/dist/system/presentation/hooks/ui/use-table/index.js +22 -0
  405. package/dist/system/presentation/hooks/ui/use-table/index.js.map +1 -0
  406. package/dist/system/presentation/hooks/ui/use-table/interfaces.d.ts +58 -0
  407. package/dist/system/presentation/hooks/ui/use-table/interfaces.js +3 -0
  408. package/dist/system/presentation/hooks/ui/use-table/interfaces.js.map +1 -0
  409. package/dist/system/presentation/hooks/ui/use-table/query/index.d.ts +6 -0
  410. package/dist/system/presentation/hooks/ui/use-table/query/index.js +30 -0
  411. package/dist/system/presentation/hooks/ui/use-table/query/index.js.map +1 -0
  412. package/dist/system/presentation/hooks/ui/use-table/query/interfaces.d.ts +33 -0
  413. package/dist/system/presentation/hooks/ui/use-table/query/interfaces.js +3 -0
  414. package/dist/system/presentation/hooks/ui/use-table/query/interfaces.js.map +1 -0
  415. package/dist/system/presentation/hooks/ui/use-table/query/service.d.ts +25 -0
  416. package/dist/system/presentation/hooks/ui/use-table/query/service.js +113 -0
  417. package/dist/system/presentation/hooks/ui/use-table/query/service.js.map +1 -0
  418. package/dist/system/presentation/hooks/ui/use-table/utils/buffer.d.ts +3 -0
  419. package/dist/system/presentation/hooks/ui/use-table/utils/buffer.js +32 -0
  420. package/dist/system/presentation/hooks/ui/use-table/utils/buffer.js.map +1 -0
  421. package/dist/system/presentation/hooks/ui/use-table/utils/filter-empty-values.d.ts +1 -0
  422. package/dist/system/presentation/hooks/ui/use-table/utils/filter-empty-values.js +22 -0
  423. package/dist/system/presentation/hooks/ui/use-table/utils/filter-empty-values.js.map +1 -0
  424. package/dist/system/presentation/hooks/ui/use-table/utils/index.d.ts +4 -0
  425. package/dist/system/presentation/hooks/ui/use-table/utils/index.js +21 -0
  426. package/dist/system/presentation/hooks/ui/use-table/utils/index.js.map +1 -0
  427. package/dist/system/presentation/hooks/ui/use-table/utils/is-object-empty.d.ts +1 -0
  428. package/dist/system/presentation/hooks/ui/use-table/utils/is-object-empty.js +12 -0
  429. package/dist/system/presentation/hooks/ui/use-table/utils/is-object-empty.js.map +1 -0
  430. package/dist/system/presentation/hooks/ui/use-table/utils/update-route.d.ts +6 -0
  431. package/dist/system/presentation/hooks/ui/use-table/utils/update-route.js +31 -0
  432. package/dist/system/presentation/hooks/ui/use-table/utils/update-route.js.map +1 -0
  433. package/dist/system/presentation/index.d.ts +3 -0
  434. package/dist/system/presentation/index.js +20 -0
  435. package/dist/system/presentation/index.js.map +1 -0
  436. package/dist/ui/components/form/select/index.js +3 -4
  437. package/dist/ui/components/form/select/index.js.map +1 -1
  438. package/package.json +5 -2
@@ -0,0 +1,113 @@
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 __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
14
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
15
+ return new (P || (P = Promise))(function (resolve, reject) {
16
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
17
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
18
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
19
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
20
+ });
21
+ };
22
+ var __generator = (this && this.__generator) || function (thisArg, body) {
23
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
24
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
25
+ function verb(n) { return function (v) { return step([n, v]); }; }
26
+ function step(op) {
27
+ if (f) throw new TypeError("Generator is already executing.");
28
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
29
+ 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;
30
+ if (y = 0, t) op = [op[0] & 2, t.value];
31
+ switch (op[0]) {
32
+ case 0: case 1: t = op; break;
33
+ case 4: _.label++; return { value: op[1], done: false };
34
+ case 5: _.label++; y = op[1]; op = [0]; continue;
35
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
36
+ default:
37
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
38
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
39
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
40
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
41
+ if (t[2]) _.ops.pop();
42
+ _.trys.pop(); continue;
43
+ }
44
+ op = body.call(thisArg, _);
45
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
46
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
47
+ }
48
+ };
49
+ Object.defineProperty(exports, "__esModule", { value: true });
50
+ exports.getTableInformations = exports.configsQuery = exports.defaultResponseTableInformations = exports.getTablePayload = void 0;
51
+ var buffer_1 = require("../utils/buffer.js");
52
+ function formatFilterParams(params) {
53
+ var filterDecoded = (0, buffer_1.fromBase64ToString)(params);
54
+ var formatedParams = Object.keys(filterDecoded).reduce(function (reducer, param) {
55
+ var _a;
56
+ var valueParam = Object.keys(filterDecoded[param]).reduce(function (r, value) {
57
+ return r ? r + ',' + value : value;
58
+ }, '');
59
+ var obj = (_a = {}, _a[param] = valueParam, _a);
60
+ return __assign(__assign({}, reducer), obj);
61
+ }, {});
62
+ return formatedParams;
63
+ }
64
+ function getTablePayload(params) {
65
+ var ord = {
66
+ asc: undefined,
67
+ ordIndex: undefined,
68
+ ord: (params === null || params === void 0 ? void 0 : params.ordIndex) ? String((params === null || params === void 0 ? void 0 : params.ordIndex) + ((params === null || params === void 0 ? void 0 : params.asc) === 'true' ? ':asc' : '')) : undefined,
69
+ };
70
+ var formatedFilterParams = formatFilterParams(params === null || params === void 0 ? void 0 : params.filter);
71
+ var queryParamsPayload = __assign(__assign({}, params), { filter: undefined });
72
+ return __assign(__assign(__assign(__assign(__assign({}, ord), { limit: '10' }), queryParamsPayload), formatedFilterParams), { init: undefined });
73
+ }
74
+ exports.getTablePayload = getTablePayload;
75
+ exports.defaultResponseTableInformations = {
76
+ hasNextPage: false,
77
+ hasPreviousPage: false,
78
+ items: [],
79
+ pageIndex: 1,
80
+ pageSize: 1,
81
+ totalCount: 1,
82
+ totalPages: 1,
83
+ };
84
+ function getTableInformations(_a) {
85
+ var params = _a.params, tableKey = _a.tableKey;
86
+ return __awaiter(this, void 0, void 0, function () {
87
+ var payload, response, _b;
88
+ return __generator(this, function (_c) {
89
+ switch (_c.label) {
90
+ case 0:
91
+ _c.trys.push([0, 2, , 3]);
92
+ payload = getTablePayload(params);
93
+ return [4 /*yield*/, fetch(process.env.apiURL + tableKey, { method: 'get', body: payload }).then(function (r) { return r.json(); })];
94
+ case 1:
95
+ response = _c.sent();
96
+ return [2 /*return*/, response.body];
97
+ case 2:
98
+ _b = _c.sent();
99
+ return [2 /*return*/, exports.defaultResponseTableInformations];
100
+ case 3: return [2 /*return*/];
101
+ }
102
+ });
103
+ });
104
+ }
105
+ exports.getTableInformations = getTableInformations;
106
+ var configsQuery = {
107
+ retry: 0,
108
+ staleTime: 0,
109
+ refetchInterval: 0,
110
+ refetchOnWindowFocus: false,
111
+ };
112
+ exports.configsQuery = configsQuery;
113
+ //# sourceMappingURL=service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/hooks/ui/use-table/query/service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;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M,KACT,MAAM,EAAE,SAAS,GAClB,CAAA;IAED,wDACK,GAAG,KACN,KAAK,EAAE,IAAI,KACR,kBAAkB,GAClB,oBAAoB,KACvB,IAAI,EAAE,SAAS,IAChB;AACH,CAAC;AArBD,0CAqBC;AAYY,QAAA,gCAAgC,GAAkC;IAC7E,WAAW,EAAE,KAAK;IAClB,eAAe,EAAE,KAAK;IACtB,KAAK,EAAE,EAAE;IACT,SAAS,EAAE,CAAC;IACZ,QAAQ,EAAE,CAAC;IACX,UAAU,EAAE,CAAC;IACb,UAAU,EAAE,CAAC;CACd,CAAA;AAED,SAAe,oBAAoB,CAAC,EAGjB;QAFjB,MAAM,YAAA,EACN,QAAQ,cAAA;;;;;;;oBAGA,OAAO,GAAG,eAAe,CAAC,MAAM,CAAC,CAAA;oBAEtB,qBAAM,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,GAAG,QAAQ,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,IAAI,EAAE,EAAR,CAAQ,CAAC,EAAA;;oBAA3G,QAAQ,GAAG,SAAgG;oBAEjH,sBAAO,QAAQ,CAAC,IAAI,EAAA;;;oBAEpB,sBAAO,wCAAgC,EAAA;;;;;CAE1C;AASsB,oDAAoB;AAP3C,IAAM,YAAY,GAAG;IACnB,KAAK,EAAE,CAAC;IACR,SAAS,EAAE,CAAC;IACZ,eAAe,EAAE,CAAC;IAClB,oBAAoB,EAAE,KAAK;CAC5B,CAAA;AAEQ,oCAAY"}
@@ -0,0 +1,3 @@
1
+ declare function fromBase64ToString(value: string | string[] | undefined): any;
2
+ declare function toBase64(value: unknown): string;
3
+ export { fromBase64ToString, toBase64 };
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toBase64 = exports.fromBase64ToString = void 0;
4
+ function fromBase64ToString(value) {
5
+ if (!value) {
6
+ return "";
7
+ }
8
+ try {
9
+ var decodedString = Buffer.from(value, "base64").toString("utf-8");
10
+ return JSON.parse(decodedString);
11
+ }
12
+ catch (error) {
13
+ console.error("Invalid base64 or JSON:", error);
14
+ return undefined;
15
+ }
16
+ }
17
+ exports.fromBase64ToString = fromBase64ToString;
18
+ function toBase64(value) {
19
+ try {
20
+ var objJsonStr = JSON.stringify(value);
21
+ var base64 = Buffer.from(objJsonStr).toString("base64");
22
+ if (base64 === "e30=") {
23
+ return "";
24
+ }
25
+ return base64;
26
+ }
27
+ catch (_a) {
28
+ return "";
29
+ }
30
+ }
31
+ exports.toBase64 = toBase64;
32
+ //# sourceMappingURL=buffer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buffer.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/hooks/ui/use-table/utils/buffer.ts"],"names":[],"mappings":";;;AAAA,SAAS,kBAAkB,CAAC,KAAoC;IAC9D,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,IAAI,CAAC;QACH,IAAM,aAAa,GAAG,MAAM,CAAC,IAAI,CAAC,KAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,CACnE,OAAO,CACR,CAAC;QACF,OAAO,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,KAAK,CAAC,CAAC;QAChD,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AAiBQ,gDAAkB;AAf3B,SAAS,QAAQ,CAAC,KAAc;IAC9B,IAAI,CAAC;QACH,IAAM,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QACzC,IAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAE1D,IAAG,MAAM,KAAK,MAAM,EAAE,CAAC;YACrB,OAAO,EAAE,CAAA;QACX,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAAC,WAAM,CAAC;QACP,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC;AAE4B,4BAAQ"}
@@ -0,0 +1 @@
1
+ export declare function filterEmptyValues(obj: any): {};
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.filterEmptyValues = void 0;
4
+ var is_object_empty_1 = require("./is-object-empty.js");
5
+ function filterEmptyValues(obj) {
6
+ var filteredObj = {};
7
+ for (var key in obj) {
8
+ var value = obj[key];
9
+ if (typeof value === "object") {
10
+ var filteredValue = filterEmptyValues(value);
11
+ if (!(0, is_object_empty_1.isObjectEmpty)(filteredValue)) {
12
+ filteredObj[key] = filteredValue;
13
+ }
14
+ }
15
+ else if (value !== "" && value !== false) {
16
+ filteredObj[key] = value;
17
+ }
18
+ }
19
+ return filteredObj;
20
+ }
21
+ exports.filterEmptyValues = filterEmptyValues;
22
+ //# sourceMappingURL=filter-empty-values.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-empty-values.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/hooks/ui/use-table/utils/filter-empty-values.ts"],"names":[],"mappings":";;;AAAA,qDAAkD;AAElD,SAAgB,iBAAiB,CAAC,GAAG;IACnC,IAAM,WAAW,GAAG,EAAE,CAAC;IACvB,KAAK,IAAM,GAAG,IAAI,GAAG,EAAE,CAAC;QACtB,IAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;QACvB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAC9B,IAAM,aAAa,GAAG,iBAAiB,CAAC,KAAK,CAAC,CAAC;YAC/C,IAAI,CAAC,IAAA,+BAAa,EAAC,aAAa,CAAC,EAAE,CAAC;gBAClC,WAAW,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC;YACnC,CAAC;QACH,CAAC;aAAM,IAAI,KAAK,KAAK,EAAE,IAAI,KAAK,KAAK,KAAK,EAAE,CAAC;YAC3C,WAAW,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;QAC3B,CAAC;IACH,CAAC;IACD,OAAO,WAAW,CAAC;AACrB,CAAC;AAdD,8CAcC"}
@@ -0,0 +1,4 @@
1
+ export * from "./buffer.js";
2
+ export * from "./update-route.js";
3
+ export * from "./is-object-empty.js";
4
+ export * from "./filter-empty-values.js";
@@ -0,0 +1,21 @@
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("./buffer.js"), exports);
18
+ __exportStar(require("./update-route.js"), exports);
19
+ __exportStar(require("./is-object-empty.js"), exports);
20
+ __exportStar(require("./filter-empty-values.js"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/hooks/ui/use-table/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,iDAA8B;AAC9B,oDAAiC;AACjC,wDAAqC"}
@@ -0,0 +1 @@
1
+ export declare function isObjectEmpty(obj: any): boolean;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isObjectEmpty = void 0;
4
+ function isObjectEmpty(obj) {
5
+ for (var key in obj) {
6
+ if (obj.hasOwnProperty(key))
7
+ return false;
8
+ }
9
+ return true;
10
+ }
11
+ exports.isObjectEmpty = isObjectEmpty;
12
+ //# sourceMappingURL=is-object-empty.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-object-empty.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/hooks/ui/use-table/utils/is-object-empty.ts"],"names":[],"mappings":";;;AAAA,SAAgB,aAAa,CAAC,GAAG;IAC7B,KAAK,IAAM,GAAG,IAAI,GAAG,EAAE,CAAC;QACtB,IAAI,GAAG,CAAC,cAAc,CAAC,GAAG,CAAC;YACzB,OAAO,KAAK,CAAC;IACjB,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AANH,sCAMG"}
@@ -0,0 +1,6 @@
1
+ import { NextRouter } from "next/router";
2
+ export declare function updateRoute({ reset, router, params, }: {
3
+ params: any;
4
+ reset?: boolean;
5
+ router: NextRouter;
6
+ }): void;
@@ -0,0 +1,31 @@
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.updateRoute = void 0;
15
+ function updateRoute(_a) {
16
+ var reset = _a.reset, router = _a.router, params = _a.params;
17
+ if (reset) {
18
+ router.push({
19
+ pathname: router.pathname,
20
+ query: __assign({}, params),
21
+ });
22
+ return;
23
+ }
24
+ router.push({
25
+ pathname: router.pathname,
26
+ query: __assign(__assign({}, router.query), params),
27
+ });
28
+ return;
29
+ }
30
+ exports.updateRoute = updateRoute;
31
+ //# sourceMappingURL=update-route.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-route.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/hooks/ui/use-table/utils/update-route.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAEA,SAAgB,WAAW,CAAC,EAQ3B;QAPC,KAAK,WAAA,EACL,MAAM,YAAA,EACN,MAAM,YAAA;IAMN,IAAI,KAAK,EAAE,CAAC;QACV,MAAM,CAAC,IAAI,CAAC;YACV,QAAQ,EAAE,MAAM,CAAC,QAAQ;YACzB,KAAK,eAAO,MAAM,CAAE;SACrB,CAAC,CAAC;QACH,OAAO;IACT,CAAC;IAED,MAAM,CAAC,IAAI,CAAC;QACV,QAAQ,EAAE,MAAM,CAAC,QAAQ;QACzB,KAAK,wBAAO,MAAM,CAAC,KAAK,GAAK,MAAM,CAAE;KACtC,CAAC,CAAC;IAEH,OAAO;AACT,CAAC;AAvBD,kCAuBC"}
@@ -0,0 +1,3 @@
1
+ export * from './hooks/index.js';
2
+ export * from './configs/index.js';
3
+ export * from './components/index.js';
@@ -0,0 +1,20 @@
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("./hooks/index.js"), exports);
18
+ __exportStar(require("./configs/index.js"), exports);
19
+ __exportStar(require("./components/index.js"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/presentation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,4CAAyB;AACzB,+CAA4B"}
@@ -41,15 +41,14 @@ exports.Select = void 0;
41
41
  var jsx_runtime_1 = require("react/jsx-runtime");
42
42
  var formik_1 = require("formik");
43
43
  var react_select_1 = __importDefault(require("react-select"));
44
- var helpers_1 = require("../helpers/index.js");
45
- var S = __importStar(require("./styles.js"));
46
44
  var ui_1 = require("../../../../ui/index.js");
45
+ var S = __importStar(require("./styles.js"));
47
46
  function Select(props) {
48
47
  var _a;
49
48
  var _b = (0, formik_1.useField)({
50
- name: (0, helpers_1.makeRegisterName)(props.listposition, props.name),
49
+ name: props.name,
51
50
  }), field = _b[0], helpers = _b[2];
52
- var fieldValue = field.value;
51
+ var fieldValue = field.value || [];
53
52
  var value = fieldValue && (fieldValue === null || fieldValue === void 0 ? void 0 : fieldValue.length) > 0 && props.isGroup
54
53
  ? fieldValue === null || fieldValue === void 0 ? void 0 : fieldValue.map(function (defaultValueForm) {
55
54
  return props.options
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/select/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,iCAAiC;AACjC,8DAAsC;AAGtC,sCAA6C;AAE7C,0CAA6B;AAC7B,2BAAmC;AAEnC,SAAgB,MAAM,CAAC,KAAmB;;IAClC,IAAA,KAAqB,IAAA,iBAAQ,EAAC;QAClC,IAAI,EAAE,IAAA,0BAAgB,EAAC,KAAK,CAAC,YAAY,EAAE,KAAK,CAAC,IAAI,CAAC;KACvD,CAAC,EAFK,KAAK,QAAA,EAAI,OAAO,QAErB,CAAA;IAEF,IAAM,UAAU,GAAG,KAAK,CAAC,KAAK,CAAA;I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AA;gBACrD,CAAC,EACD,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,KAAK,CAAC,UAAU,EACzB,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,UAAU,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,YAAmB,EAAE,CAAC,CAAC,CAAC,SAAS,EAClF,SAAS,EAAE,CAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,0CAAE,MAAM,IAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,GACjD,IACW,GACC,CACnB,CAAA;AACH,CAAC;AAtCD,wBAsCC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infinity-forge",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "codie Library",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -15,7 +15,8 @@
15
15
  "build": "concurrently --kill-others \"tsc -w\" \"tsc-alias -w --resolve-full-paths\"",
16
16
  "nextBuild": "next build",
17
17
  "build:esm": "tsc",
18
- "build:cjs": "tsc --module commonjs --outDir dist && tsc-alias -p tsconfig.json && for /r src %i in (.otf, *.ttf) do copy \"%i\" dist\\ && for /r src %i in (.css) do copy \"%i\" dist\\" },
18
+ "build:cjs": "tsc --module commonjs --outDir dist && tsc-alias -p tsconfig.json && for /r src %i in (.otf, *.ttf) do copy \"%i\" dist\\ && for /r src %i in (.css) do copy \"%i\" dist\\"
19
+ },
19
20
  "peerDependencies": {
20
21
  "react": ">=16"
21
22
  },
@@ -59,6 +60,8 @@
59
60
  "fs": "^0.0.1-security",
60
61
  "fs-extra": "^11.1.1",
61
62
  "glider-js": "^1.7.8",
63
+ "inversify": "^6.0.2",
64
+ "js-cookie": "^3.0.5",
62
65
  "lz-string": "^1.4.4",
63
66
  "next": "^13.1.6",
64
67
  "npm": "^10.2.4",