@edge-zuq/core 1.2.7

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 (702) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +99 -0
  3. package/lib/module/assets/logo.png +0 -0
  4. package/lib/module/data/errors/http-client-error.js +14 -0
  5. package/lib/module/data/errors/http-client-error.js.map +1 -0
  6. package/lib/module/data/errors/index.js +6 -0
  7. package/lib/module/data/errors/index.js.map +1 -0
  8. package/lib/module/data/errors/save-file-error.js +9 -0
  9. package/lib/module/data/errors/save-file-error.js.map +1 -0
  10. package/lib/module/data/errors/unsupported-platform.js +9 -0
  11. package/lib/module/data/errors/unsupported-platform.js.map +1 -0
  12. package/lib/module/data/models/index.js +6 -0
  13. package/lib/module/data/models/index.js.map +1 -0
  14. package/lib/module/data/models/remote-get-comment-list-model.js +2 -0
  15. package/lib/module/data/models/remote-get-comment-list-model.js.map +1 -0
  16. package/lib/module/data/models/remote-get-image-list-model.js +2 -0
  17. package/lib/module/data/models/remote-get-image-list-model.js.map +1 -0
  18. package/lib/module/data/models/remote-user-model.js +2 -0
  19. package/lib/module/data/models/remote-user-model.js.map +1 -0
  20. package/lib/module/data/protocols/cookie-manager.js +2 -0
  21. package/lib/module/data/protocols/cookie-manager.js.map +1 -0
  22. package/lib/module/data/protocols/download-manager.js +4 -0
  23. package/lib/module/data/protocols/download-manager.js.map +1 -0
  24. package/lib/module/data/protocols/http-client.js +26 -0
  25. package/lib/module/data/protocols/http-client.js.map +1 -0
  26. package/lib/module/data/protocols/index.js +9 -0
  27. package/lib/module/data/protocols/index.js.map +1 -0
  28. package/lib/module/data/protocols/notification-manager.js +4 -0
  29. package/lib/module/data/protocols/notification-manager.js.map +1 -0
  30. package/lib/module/data/protocols/permission-manager.js +4 -0
  31. package/lib/module/data/protocols/permission-manager.js.map +1 -0
  32. package/lib/module/data/protocols/storage.js +4 -0
  33. package/lib/module/data/protocols/storage.js.map +1 -0
  34. package/lib/module/data/use-cases/index.js +6 -0
  35. package/lib/module/data/use-cases/index.js.map +1 -0
  36. package/lib/module/data/use-cases/remote-get-comment-list.js +29 -0
  37. package/lib/module/data/use-cases/remote-get-comment-list.js.map +1 -0
  38. package/lib/module/data/use-cases/remote-get-image-list.js +32 -0
  39. package/lib/module/data/use-cases/remote-get-image-list.js.map +1 -0
  40. package/lib/module/data/use-cases/remote-send-diagnostics.js +20 -0
  41. package/lib/module/data/use-cases/remote-send-diagnostics.js.map +1 -0
  42. package/lib/module/domain/errors/authentication-expired-error.js +9 -0
  43. package/lib/module/domain/errors/authentication-expired-error.js.map +1 -0
  44. package/lib/module/domain/errors/index.js +7 -0
  45. package/lib/module/domain/errors/index.js.map +1 -0
  46. package/lib/module/domain/errors/internal-server-error.js +9 -0
  47. package/lib/module/domain/errors/internal-server-error.js.map +1 -0
  48. package/lib/module/domain/errors/invalid-credentials-error.js +9 -0
  49. package/lib/module/domain/errors/invalid-credentials-error.js.map +1 -0
  50. package/lib/module/domain/errors/no-app-permission-error.js +9 -0
  51. package/lib/module/domain/errors/no-app-permission-error.js.map +1 -0
  52. package/lib/module/domain/models/get-comment-list-model.js +2 -0
  53. package/lib/module/domain/models/get-comment-list-model.js.map +1 -0
  54. package/lib/module/domain/models/get-image-list-model.js +2 -0
  55. package/lib/module/domain/models/get-image-list-model.js.map +1 -0
  56. package/lib/module/domain/models/index.js +6 -0
  57. package/lib/module/domain/models/index.js.map +1 -0
  58. package/lib/module/domain/models/user-model.js +2 -0
  59. package/lib/module/domain/models/user-model.js.map +1 -0
  60. package/lib/module/domain/use-cases/get-comment-list.js +4 -0
  61. package/lib/module/domain/use-cases/get-comment-list.js.map +1 -0
  62. package/lib/module/domain/use-cases/get-image-list.js +4 -0
  63. package/lib/module/domain/use-cases/get-image-list.js.map +1 -0
  64. package/lib/module/domain/use-cases/index.js +9 -0
  65. package/lib/module/domain/use-cases/index.js.map +1 -0
  66. package/lib/module/domain/use-cases/record-request.js +4 -0
  67. package/lib/module/domain/use-cases/record-request.js.map +1 -0
  68. package/lib/module/domain/use-cases/send-diagnostics.js +4 -0
  69. package/lib/module/domain/use-cases/send-diagnostics.js.map +1 -0
  70. package/lib/module/domain/use-cases/user-authentication.js +4 -0
  71. package/lib/module/domain/use-cases/user-authentication.js.map +1 -0
  72. package/lib/module/domain/use-cases/user-logout.js +4 -0
  73. package/lib/module/domain/use-cases/user-logout.js.map +1 -0
  74. package/lib/module/index.js +16 -0
  75. package/lib/module/index.js.map +1 -0
  76. package/lib/module/infra/axios-http-client-adapter.js +199 -0
  77. package/lib/module/infra/axios-http-client-adapter.js.map +1 -0
  78. package/lib/module/infra/index.js +10 -0
  79. package/lib/module/infra/index.js.map +1 -0
  80. package/lib/module/infra/isomorphic-id-manager.js +83 -0
  81. package/lib/module/infra/isomorphic-id-manager.js.map +1 -0
  82. package/lib/module/infra/mmkv-storage-adapter.js +62 -0
  83. package/lib/module/infra/mmkv-storage-adapter.js.map +1 -0
  84. package/lib/module/infra/notifee-notification-manager-adapter.js +69 -0
  85. package/lib/module/infra/notifee-notification-manager-adapter.js.map +1 -0
  86. package/lib/module/infra/offline-mutation-queue.js +210 -0
  87. package/lib/module/infra/offline-mutation-queue.js.map +1 -0
  88. package/lib/module/infra/rnbu-download-manager-adapter.js +31 -0
  89. package/lib/module/infra/rnbu-download-manager-adapter.js.map +1 -0
  90. package/lib/module/infra/rnp-permission-manager-adapter.js +117 -0
  91. package/lib/module/infra/rnp-permission-manager-adapter.js.map +1 -0
  92. package/lib/module/infra/storage-cookie-manager-adapter.js +24 -0
  93. package/lib/module/infra/storage-cookie-manager-adapter.js.map +1 -0
  94. package/lib/module/main/components/index.js +7 -0
  95. package/lib/module/main/components/index.js.map +1 -0
  96. package/lib/module/main/components/request-permissions.js +14 -0
  97. package/lib/module/main/components/request-permissions.js.map +1 -0
  98. package/lib/module/main/factories/infra/download-manager-factory.js +7 -0
  99. package/lib/module/main/factories/infra/download-manager-factory.js.map +1 -0
  100. package/lib/module/main/factories/infra/http-client-factory.js +7 -0
  101. package/lib/module/main/factories/infra/http-client-factory.js.map +1 -0
  102. package/lib/module/main/factories/infra/index.js +10 -0
  103. package/lib/module/main/factories/infra/index.js.map +1 -0
  104. package/lib/module/main/factories/infra/isomorphic-id-manager-factory.js +7 -0
  105. package/lib/module/main/factories/infra/isomorphic-id-manager-factory.js.map +1 -0
  106. package/lib/module/main/factories/infra/notification-manager-factory.js +7 -0
  107. package/lib/module/main/factories/infra/notification-manager-factory.js.map +1 -0
  108. package/lib/module/main/factories/infra/offline-mutation-queue-factory.js +7 -0
  109. package/lib/module/main/factories/infra/offline-mutation-queue-factory.js.map +1 -0
  110. package/lib/module/main/factories/infra/permission-manager-factory.js +7 -0
  111. package/lib/module/main/factories/infra/permission-manager-factory.js.map +1 -0
  112. package/lib/module/main/factories/infra/storage-factory.js +10 -0
  113. package/lib/module/main/factories/infra/storage-factory.js.map +1 -0
  114. package/lib/module/main/factories/use-cases/index.js +6 -0
  115. package/lib/module/main/factories/use-cases/index.js.map +1 -0
  116. package/lib/module/main/factories/use-cases/remote-get-comment-list-factory.js +7 -0
  117. package/lib/module/main/factories/use-cases/remote-get-comment-list-factory.js.map +1 -0
  118. package/lib/module/main/factories/use-cases/remote-get-image-list-factory.js +7 -0
  119. package/lib/module/main/factories/use-cases/remote-get-image-list-factory.js.map +1 -0
  120. package/lib/module/main/factories/use-cases/remote-send-diagnostics-factory.js +7 -0
  121. package/lib/module/main/factories/use-cases/remote-send-diagnostics-factory.js.map +1 -0
  122. package/lib/module/package.json +1 -0
  123. package/lib/module/presentation/components/atoms/UIBackdrop.js +31 -0
  124. package/lib/module/presentation/components/atoms/UIBackdrop.js.map +1 -0
  125. package/lib/module/presentation/components/atoms/UICheckbox.js +47 -0
  126. package/lib/module/presentation/components/atoms/UICheckbox.js.map +1 -0
  127. package/lib/module/presentation/components/atoms/UIDot.js +33 -0
  128. package/lib/module/presentation/components/atoms/UIDot.js.map +1 -0
  129. package/lib/module/presentation/components/atoms/UIIcon.js +1072 -0
  130. package/lib/module/presentation/components/atoms/UIIcon.js.map +1 -0
  131. package/lib/module/presentation/components/atoms/UILoading.js +19 -0
  132. package/lib/module/presentation/components/atoms/UILoading.js.map +1 -0
  133. package/lib/module/presentation/components/atoms/UIPage.js +70 -0
  134. package/lib/module/presentation/components/atoms/UIPage.js.map +1 -0
  135. package/lib/module/presentation/components/atoms/UIProgress.js +54 -0
  136. package/lib/module/presentation/components/atoms/UIProgress.js.map +1 -0
  137. package/lib/module/presentation/components/atoms/UIScrollPage.js +72 -0
  138. package/lib/module/presentation/components/atoms/UIScrollPage.js.map +1 -0
  139. package/lib/module/presentation/components/atoms/UISeparator.js +30 -0
  140. package/lib/module/presentation/components/atoms/UISeparator.js.map +1 -0
  141. package/lib/module/presentation/components/atoms/UISpacer.js +19 -0
  142. package/lib/module/presentation/components/atoms/UISpacer.js.map +1 -0
  143. package/lib/module/presentation/components/atoms/UIStack.js +31 -0
  144. package/lib/module/presentation/components/atoms/UIStack.js.map +1 -0
  145. package/lib/module/presentation/components/atoms/UIText.js +48 -0
  146. package/lib/module/presentation/components/atoms/UIText.js.map +1 -0
  147. package/lib/module/presentation/components/atoms/index.js +15 -0
  148. package/lib/module/presentation/components/atoms/index.js.map +1 -0
  149. package/lib/module/presentation/components/index.js +4 -0
  150. package/lib/module/presentation/components/index.js.map +1 -0
  151. package/lib/module/presentation/components/molecules/UIActionSheet.js +199 -0
  152. package/lib/module/presentation/components/molecules/UIActionSheet.js.map +1 -0
  153. package/lib/module/presentation/components/molecules/UIButton.js +173 -0
  154. package/lib/module/presentation/components/molecules/UIButton.js.map +1 -0
  155. package/lib/module/presentation/components/molecules/UIButtonCTA.js +31 -0
  156. package/lib/module/presentation/components/molecules/UIButtonCTA.js.map +1 -0
  157. package/lib/module/presentation/components/molecules/UICheckboxInput.js +84 -0
  158. package/lib/module/presentation/components/molecules/UICheckboxInput.js.map +1 -0
  159. package/lib/module/presentation/components/molecules/UIChip.js +49 -0
  160. package/lib/module/presentation/components/molecules/UIChip.js.map +1 -0
  161. package/lib/module/presentation/components/molecules/UICurrencyInput.js +32 -0
  162. package/lib/module/presentation/components/molecules/UICurrencyInput.js.map +1 -0
  163. package/lib/module/presentation/components/molecules/UIDataList.js +26 -0
  164. package/lib/module/presentation/components/molecules/UIDataList.js.map +1 -0
  165. package/lib/module/presentation/components/molecules/UIDataSectionList.js +26 -0
  166. package/lib/module/presentation/components/molecules/UIDataSectionList.js.map +1 -0
  167. package/lib/module/presentation/components/molecules/UIDatetimeInput.js +202 -0
  168. package/lib/module/presentation/components/molecules/UIDatetimeInput.js.map +1 -0
  169. package/lib/module/presentation/components/molecules/UIError.js +32 -0
  170. package/lib/module/presentation/components/molecules/UIError.js.map +1 -0
  171. package/lib/module/presentation/components/molecules/UIImage.js +87 -0
  172. package/lib/module/presentation/components/molecules/UIImage.js.map +1 -0
  173. package/lib/module/presentation/components/molecules/UIInlineDatePicker.js +245 -0
  174. package/lib/module/presentation/components/molecules/UIInlineDatePicker.js.map +1 -0
  175. package/lib/module/presentation/components/molecules/UIInputIcon.js +38 -0
  176. package/lib/module/presentation/components/molecules/UIInputIcon.js.map +1 -0
  177. package/lib/module/presentation/components/molecules/UIList.js +16 -0
  178. package/lib/module/presentation/components/molecules/UIList.js.map +1 -0
  179. package/lib/module/presentation/components/molecules/UIRadioInput.js +78 -0
  180. package/lib/module/presentation/components/molecules/UIRadioInput.js.map +1 -0
  181. package/lib/module/presentation/components/molecules/UISectionList.js +16 -0
  182. package/lib/module/presentation/components/molecules/UISectionList.js.map +1 -0
  183. package/lib/module/presentation/components/molecules/UISkeleton.js +54 -0
  184. package/lib/module/presentation/components/molecules/UISkeleton.js.map +1 -0
  185. package/lib/module/presentation/components/molecules/UISwitch.js +65 -0
  186. package/lib/module/presentation/components/molecules/UISwitch.js.map +1 -0
  187. package/lib/module/presentation/components/molecules/UITextInput.js +132 -0
  188. package/lib/module/presentation/components/molecules/UITextInput.js.map +1 -0
  189. package/lib/module/presentation/components/molecules/UITextInputMask.js +133 -0
  190. package/lib/module/presentation/components/molecules/UITextInputMask.js.map +1 -0
  191. package/lib/module/presentation/components/molecules/index.js +23 -0
  192. package/lib/module/presentation/components/molecules/index.js.map +1 -0
  193. package/lib/module/presentation/components/organisms/UIAppBar.js +102 -0
  194. package/lib/module/presentation/components/organisms/UIAppBar.js.map +1 -0
  195. package/lib/module/presentation/components/organisms/UIAppBarAction.js +21 -0
  196. package/lib/module/presentation/components/organisms/UIAppBarAction.js.map +1 -0
  197. package/lib/module/presentation/components/organisms/UICard.js +43 -0
  198. package/lib/module/presentation/components/organisms/UICard.js.map +1 -0
  199. package/lib/module/presentation/components/organisms/UIComment.js +73 -0
  200. package/lib/module/presentation/components/organisms/UIComment.js.map +1 -0
  201. package/lib/module/presentation/components/organisms/UIErrorBoundary.js +68 -0
  202. package/lib/module/presentation/components/organisms/UIErrorBoundary.js.map +1 -0
  203. package/lib/module/presentation/components/organisms/UIForm.js +83 -0
  204. package/lib/module/presentation/components/organisms/UIForm.js.map +1 -0
  205. package/lib/module/presentation/components/organisms/UIFormButton.js +43 -0
  206. package/lib/module/presentation/components/organisms/UIFormButton.js.map +1 -0
  207. package/lib/module/presentation/components/organisms/UIFormCheckboxInput.js +39 -0
  208. package/lib/module/presentation/components/organisms/UIFormCheckboxInput.js.map +1 -0
  209. package/lib/module/presentation/components/organisms/UIFormCurrencyInput.js +65 -0
  210. package/lib/module/presentation/components/organisms/UIFormCurrencyInput.js.map +1 -0
  211. package/lib/module/presentation/components/organisms/UIFormDatetimeInput.js +54 -0
  212. package/lib/module/presentation/components/organisms/UIFormDatetimeInput.js.map +1 -0
  213. package/lib/module/presentation/components/organisms/UIFormMultiselectInput.js +212 -0
  214. package/lib/module/presentation/components/organisms/UIFormMultiselectInput.js.map +1 -0
  215. package/lib/module/presentation/components/organisms/UIFormRadioInput.js +36 -0
  216. package/lib/module/presentation/components/organisms/UIFormRadioInput.js.map +1 -0
  217. package/lib/module/presentation/components/organisms/UIFormSelectInput.js +259 -0
  218. package/lib/module/presentation/components/organisms/UIFormSelectInput.js.map +1 -0
  219. package/lib/module/presentation/components/organisms/UIFormTextInput.js +64 -0
  220. package/lib/module/presentation/components/organisms/UIFormTextInput.js.map +1 -0
  221. package/lib/module/presentation/components/organisms/UIFormTextInputMask.js +69 -0
  222. package/lib/module/presentation/components/organisms/UIFormTextInputMask.js.map +1 -0
  223. package/lib/module/presentation/components/organisms/UIRow.js +55 -0
  224. package/lib/module/presentation/components/organisms/UIRow.js.map +1 -0
  225. package/lib/module/presentation/components/organisms/UISearchInput.js +33 -0
  226. package/lib/module/presentation/components/organisms/UISearchInput.js.map +1 -0
  227. package/lib/module/presentation/components/organisms/UISelectChip.js +94 -0
  228. package/lib/module/presentation/components/organisms/UISelectChip.js.map +1 -0
  229. package/lib/module/presentation/components/organisms/UISignature.js +159 -0
  230. package/lib/module/presentation/components/organisms/UISignature.js.map +1 -0
  231. package/lib/module/presentation/components/organisms/UISlideButton.js +90 -0
  232. package/lib/module/presentation/components/organisms/UISlideButton.js.map +1 -0
  233. package/lib/module/presentation/components/organisms/index.js +24 -0
  234. package/lib/module/presentation/components/organisms/index.js.map +1 -0
  235. package/lib/module/presentation/components/permissions/index.js +4 -0
  236. package/lib/module/presentation/components/permissions/index.js.map +1 -0
  237. package/lib/module/presentation/components/permissions/request-permissions.js +96 -0
  238. package/lib/module/presentation/components/permissions/request-permissions.js.map +1 -0
  239. package/lib/module/presentation/domain/metadata/index.js +5 -0
  240. package/lib/module/presentation/domain/metadata/index.js.map +1 -0
  241. package/lib/module/presentation/domain/metadata/use-comments.js +26 -0
  242. package/lib/module/presentation/domain/metadata/use-comments.js.map +1 -0
  243. package/lib/module/presentation/domain/metadata/use-images.js +26 -0
  244. package/lib/module/presentation/domain/metadata/use-images.js.map +1 -0
  245. package/lib/module/presentation/domain/offline/index.js +12 -0
  246. package/lib/module/presentation/domain/offline/index.js.map +1 -0
  247. package/lib/module/presentation/domain/offline/offline-mutation-queue-provider.js +69 -0
  248. package/lib/module/presentation/domain/offline/offline-mutation-queue-provider.js.map +1 -0
  249. package/lib/module/presentation/domain/offline/types.js +4 -0
  250. package/lib/module/presentation/domain/offline/types.js.map +1 -0
  251. package/lib/module/presentation/domain/offline/use-infinite-offline-query.js +69 -0
  252. package/lib/module/presentation/domain/offline/use-infinite-offline-query.js.map +1 -0
  253. package/lib/module/presentation/domain/offline/use-offline-id-v2.js +22 -0
  254. package/lib/module/presentation/domain/offline/use-offline-id-v2.js.map +1 -0
  255. package/lib/module/presentation/domain/offline/use-offline-id.js +11 -0
  256. package/lib/module/presentation/domain/offline/use-offline-id.js.map +1 -0
  257. package/lib/module/presentation/domain/offline/use-offline-mutation.js +115 -0
  258. package/lib/module/presentation/domain/offline/use-offline-mutation.js.map +1 -0
  259. package/lib/module/presentation/domain/offline/use-offline-query.js +33 -0
  260. package/lib/module/presentation/domain/offline/use-offline-query.js.map +1 -0
  261. package/lib/module/presentation/domain/offline/use-offline-queue.js +8 -0
  262. package/lib/module/presentation/domain/offline/use-offline-queue.js.map +1 -0
  263. package/lib/module/presentation/domain/offline/utils.js +110 -0
  264. package/lib/module/presentation/domain/offline/utils.js.map +1 -0
  265. package/lib/module/presentation/domain/provider/index.js +4 -0
  266. package/lib/module/presentation/domain/provider/index.js.map +1 -0
  267. package/lib/module/presentation/domain/provider/zuq-core-provider.js +51 -0
  268. package/lib/module/presentation/domain/provider/zuq-core-provider.js.map +1 -0
  269. package/lib/module/presentation/domain/utils/exists.js +6 -0
  270. package/lib/module/presentation/domain/utils/exists.js.map +1 -0
  271. package/lib/module/presentation/domain/utils/index.js +8 -0
  272. package/lib/module/presentation/domain/utils/index.js.map +1 -0
  273. package/lib/module/presentation/domain/utils/react-query.js +10 -0
  274. package/lib/module/presentation/domain/utils/react-query.js.map +1 -0
  275. package/lib/module/presentation/domain/utils/use-action-sheet.js +20 -0
  276. package/lib/module/presentation/domain/utils/use-action-sheet.js.map +1 -0
  277. package/lib/module/presentation/domain/utils/use-signature-ref.js +8 -0
  278. package/lib/module/presentation/domain/utils/use-signature-ref.js.map +1 -0
  279. package/lib/module/presentation/domain/utils/yup.js +5 -0
  280. package/lib/module/presentation/domain/utils/yup.js.map +1 -0
  281. package/lib/module/theme.js +211 -0
  282. package/lib/module/theme.js.map +1 -0
  283. package/lib/typescript/package.json +1 -0
  284. package/lib/typescript/src/data/errors/http-client-error.d.ts +13 -0
  285. package/lib/typescript/src/data/errors/http-client-error.d.ts.map +1 -0
  286. package/lib/typescript/src/data/errors/index.d.ts +4 -0
  287. package/lib/typescript/src/data/errors/index.d.ts.map +1 -0
  288. package/lib/typescript/src/data/errors/save-file-error.d.ts +4 -0
  289. package/lib/typescript/src/data/errors/save-file-error.d.ts.map +1 -0
  290. package/lib/typescript/src/data/errors/unsupported-platform.d.ts +4 -0
  291. package/lib/typescript/src/data/errors/unsupported-platform.d.ts.map +1 -0
  292. package/lib/typescript/src/data/models/index.d.ts +4 -0
  293. package/lib/typescript/src/data/models/index.d.ts.map +1 -0
  294. package/lib/typescript/src/data/models/remote-get-comment-list-model.d.ts +16 -0
  295. package/lib/typescript/src/data/models/remote-get-comment-list-model.d.ts.map +1 -0
  296. package/lib/typescript/src/data/models/remote-get-image-list-model.d.ts +16 -0
  297. package/lib/typescript/src/data/models/remote-get-image-list-model.d.ts.map +1 -0
  298. package/lib/typescript/src/data/models/remote-user-model.d.ts +14 -0
  299. package/lib/typescript/src/data/models/remote-user-model.d.ts.map +1 -0
  300. package/lib/typescript/src/data/protocols/cookie-manager.d.ts +7 -0
  301. package/lib/typescript/src/data/protocols/cookie-manager.d.ts.map +1 -0
  302. package/lib/typescript/src/data/protocols/download-manager.d.ts +12 -0
  303. package/lib/typescript/src/data/protocols/download-manager.d.ts.map +1 -0
  304. package/lib/typescript/src/data/protocols/http-client.d.ts +52 -0
  305. package/lib/typescript/src/data/protocols/http-client.d.ts.map +1 -0
  306. package/lib/typescript/src/data/protocols/index.d.ts +7 -0
  307. package/lib/typescript/src/data/protocols/index.d.ts.map +1 -0
  308. package/lib/typescript/src/data/protocols/notification-manager.d.ts +17 -0
  309. package/lib/typescript/src/data/protocols/notification-manager.d.ts.map +1 -0
  310. package/lib/typescript/src/data/protocols/permission-manager.d.ts +23 -0
  311. package/lib/typescript/src/data/protocols/permission-manager.d.ts.map +1 -0
  312. package/lib/typescript/src/data/protocols/storage.d.ts +17 -0
  313. package/lib/typescript/src/data/protocols/storage.d.ts.map +1 -0
  314. package/lib/typescript/src/data/use-cases/index.d.ts +4 -0
  315. package/lib/typescript/src/data/use-cases/index.d.ts.map +1 -0
  316. package/lib/typescript/src/data/use-cases/remote-get-comment-list.d.ts +9 -0
  317. package/lib/typescript/src/data/use-cases/remote-get-comment-list.d.ts.map +1 -0
  318. package/lib/typescript/src/data/use-cases/remote-get-image-list.d.ts +10 -0
  319. package/lib/typescript/src/data/use-cases/remote-get-image-list.d.ts.map +1 -0
  320. package/lib/typescript/src/data/use-cases/remote-send-diagnostics.d.ts +11 -0
  321. package/lib/typescript/src/data/use-cases/remote-send-diagnostics.d.ts.map +1 -0
  322. package/lib/typescript/src/domain/errors/authentication-expired-error.d.ts +4 -0
  323. package/lib/typescript/src/domain/errors/authentication-expired-error.d.ts.map +1 -0
  324. package/lib/typescript/src/domain/errors/index.d.ts +5 -0
  325. package/lib/typescript/src/domain/errors/index.d.ts.map +1 -0
  326. package/lib/typescript/src/domain/errors/internal-server-error.d.ts +4 -0
  327. package/lib/typescript/src/domain/errors/internal-server-error.d.ts.map +1 -0
  328. package/lib/typescript/src/domain/errors/invalid-credentials-error.d.ts +4 -0
  329. package/lib/typescript/src/domain/errors/invalid-credentials-error.d.ts.map +1 -0
  330. package/lib/typescript/src/domain/errors/no-app-permission-error.d.ts +4 -0
  331. package/lib/typescript/src/domain/errors/no-app-permission-error.d.ts.map +1 -0
  332. package/lib/typescript/src/domain/models/get-comment-list-model.d.ts +10 -0
  333. package/lib/typescript/src/domain/models/get-comment-list-model.d.ts.map +1 -0
  334. package/lib/typescript/src/domain/models/get-image-list-model.d.ts +8 -0
  335. package/lib/typescript/src/domain/models/get-image-list-model.d.ts.map +1 -0
  336. package/lib/typescript/src/domain/models/index.d.ts +4 -0
  337. package/lib/typescript/src/domain/models/index.d.ts.map +1 -0
  338. package/lib/typescript/src/domain/models/user-model.d.ts +16 -0
  339. package/lib/typescript/src/domain/models/user-model.d.ts.map +1 -0
  340. package/lib/typescript/src/domain/use-cases/get-comment-list.d.ts +12 -0
  341. package/lib/typescript/src/domain/use-cases/get-comment-list.d.ts.map +1 -0
  342. package/lib/typescript/src/domain/use-cases/get-image-list.d.ts +12 -0
  343. package/lib/typescript/src/domain/use-cases/get-image-list.d.ts.map +1 -0
  344. package/lib/typescript/src/domain/use-cases/index.d.ts +7 -0
  345. package/lib/typescript/src/domain/use-cases/index.d.ts.map +1 -0
  346. package/lib/typescript/src/domain/use-cases/record-request.d.ts +14 -0
  347. package/lib/typescript/src/domain/use-cases/record-request.d.ts.map +1 -0
  348. package/lib/typescript/src/domain/use-cases/send-diagnostics.d.ts +15 -0
  349. package/lib/typescript/src/domain/use-cases/send-diagnostics.d.ts.map +1 -0
  350. package/lib/typescript/src/domain/use-cases/user-authentication.d.ts +12 -0
  351. package/lib/typescript/src/domain/use-cases/user-authentication.d.ts.map +1 -0
  352. package/lib/typescript/src/domain/use-cases/user-logout.d.ts +10 -0
  353. package/lib/typescript/src/domain/use-cases/user-logout.d.ts.map +1 -0
  354. package/lib/typescript/src/index.d.ts +15 -0
  355. package/lib/typescript/src/index.d.ts.map +1 -0
  356. package/lib/typescript/src/infra/axios-http-client-adapter.d.ts +33 -0
  357. package/lib/typescript/src/infra/axios-http-client-adapter.d.ts.map +1 -0
  358. package/lib/typescript/src/infra/index.d.ts +8 -0
  359. package/lib/typescript/src/infra/index.d.ts.map +1 -0
  360. package/lib/typescript/src/infra/isomorphic-id-manager.d.ts +29 -0
  361. package/lib/typescript/src/infra/isomorphic-id-manager.d.ts.map +1 -0
  362. package/lib/typescript/src/infra/mmkv-storage-adapter.d.ts +18 -0
  363. package/lib/typescript/src/infra/mmkv-storage-adapter.d.ts.map +1 -0
  364. package/lib/typescript/src/infra/notifee-notification-manager-adapter.d.ts +17 -0
  365. package/lib/typescript/src/infra/notifee-notification-manager-adapter.d.ts.map +1 -0
  366. package/lib/typescript/src/infra/offline-mutation-queue.d.ts +56 -0
  367. package/lib/typescript/src/infra/offline-mutation-queue.d.ts.map +1 -0
  368. package/lib/typescript/src/infra/rnbu-download-manager-adapter.d.ts +7 -0
  369. package/lib/typescript/src/infra/rnbu-download-manager-adapter.d.ts.map +1 -0
  370. package/lib/typescript/src/infra/rnp-permission-manager-adapter.d.ts +20 -0
  371. package/lib/typescript/src/infra/rnp-permission-manager-adapter.d.ts.map +1 -0
  372. package/lib/typescript/src/infra/storage-cookie-manager-adapter.d.ts +12 -0
  373. package/lib/typescript/src/infra/storage-cookie-manager-adapter.d.ts.map +1 -0
  374. package/lib/typescript/src/main/components/index.d.ts +5 -0
  375. package/lib/typescript/src/main/components/index.d.ts.map +1 -0
  376. package/lib/typescript/src/main/components/request-permissions.d.ts +6 -0
  377. package/lib/typescript/src/main/components/request-permissions.d.ts.map +1 -0
  378. package/lib/typescript/src/main/factories/infra/download-manager-factory.d.ts +3 -0
  379. package/lib/typescript/src/main/factories/infra/download-manager-factory.d.ts.map +1 -0
  380. package/lib/typescript/src/main/factories/infra/http-client-factory.d.ts +4 -0
  381. package/lib/typescript/src/main/factories/infra/http-client-factory.d.ts.map +1 -0
  382. package/lib/typescript/src/main/factories/infra/index.d.ts +8 -0
  383. package/lib/typescript/src/main/factories/infra/index.d.ts.map +1 -0
  384. package/lib/typescript/src/main/factories/infra/isomorphic-id-manager-factory.d.ts +4 -0
  385. package/lib/typescript/src/main/factories/infra/isomorphic-id-manager-factory.d.ts.map +1 -0
  386. package/lib/typescript/src/main/factories/infra/notification-manager-factory.d.ts +4 -0
  387. package/lib/typescript/src/main/factories/infra/notification-manager-factory.d.ts.map +1 -0
  388. package/lib/typescript/src/main/factories/infra/offline-mutation-queue-factory.d.ts +5 -0
  389. package/lib/typescript/src/main/factories/infra/offline-mutation-queue-factory.d.ts.map +1 -0
  390. package/lib/typescript/src/main/factories/infra/permission-manager-factory.d.ts +3 -0
  391. package/lib/typescript/src/main/factories/infra/permission-manager-factory.d.ts.map +1 -0
  392. package/lib/typescript/src/main/factories/infra/storage-factory.d.ts +4 -0
  393. package/lib/typescript/src/main/factories/infra/storage-factory.d.ts.map +1 -0
  394. package/lib/typescript/src/main/factories/use-cases/index.d.ts +4 -0
  395. package/lib/typescript/src/main/factories/use-cases/index.d.ts.map +1 -0
  396. package/lib/typescript/src/main/factories/use-cases/remote-get-comment-list-factory.d.ts +4 -0
  397. package/lib/typescript/src/main/factories/use-cases/remote-get-comment-list-factory.d.ts.map +1 -0
  398. package/lib/typescript/src/main/factories/use-cases/remote-get-image-list-factory.d.ts +4 -0
  399. package/lib/typescript/src/main/factories/use-cases/remote-get-image-list-factory.d.ts.map +1 -0
  400. package/lib/typescript/src/main/factories/use-cases/remote-send-diagnostics-factory.d.ts +4 -0
  401. package/lib/typescript/src/main/factories/use-cases/remote-send-diagnostics-factory.d.ts.map +1 -0
  402. package/lib/typescript/src/presentation/components/atoms/UIBackdrop.d.ts +10 -0
  403. package/lib/typescript/src/presentation/components/atoms/UIBackdrop.d.ts.map +1 -0
  404. package/lib/typescript/src/presentation/components/atoms/UICheckbox.d.ts +11 -0
  405. package/lib/typescript/src/presentation/components/atoms/UICheckbox.d.ts.map +1 -0
  406. package/lib/typescript/src/presentation/components/atoms/UIDot.d.ts +10 -0
  407. package/lib/typescript/src/presentation/components/atoms/UIDot.d.ts.map +1 -0
  408. package/lib/typescript/src/presentation/components/atoms/UIIcon.d.ts +133 -0
  409. package/lib/typescript/src/presentation/components/atoms/UIIcon.d.ts.map +1 -0
  410. package/lib/typescript/src/presentation/components/atoms/UILoading.d.ts +9 -0
  411. package/lib/typescript/src/presentation/components/atoms/UILoading.d.ts.map +1 -0
  412. package/lib/typescript/src/presentation/components/atoms/UIPage.d.ts +20 -0
  413. package/lib/typescript/src/presentation/components/atoms/UIPage.d.ts.map +1 -0
  414. package/lib/typescript/src/presentation/components/atoms/UIProgress.d.ts +10 -0
  415. package/lib/typescript/src/presentation/components/atoms/UIProgress.d.ts.map +1 -0
  416. package/lib/typescript/src/presentation/components/atoms/UIScrollPage.d.ts +17 -0
  417. package/lib/typescript/src/presentation/components/atoms/UIScrollPage.d.ts.map +1 -0
  418. package/lib/typescript/src/presentation/components/atoms/UISeparator.d.ts +10 -0
  419. package/lib/typescript/src/presentation/components/atoms/UISeparator.d.ts.map +1 -0
  420. package/lib/typescript/src/presentation/components/atoms/UISpacer.d.ts +9 -0
  421. package/lib/typescript/src/presentation/components/atoms/UISpacer.d.ts.map +1 -0
  422. package/lib/typescript/src/presentation/components/atoms/UIStack.d.ts +14 -0
  423. package/lib/typescript/src/presentation/components/atoms/UIStack.d.ts.map +1 -0
  424. package/lib/typescript/src/presentation/components/atoms/UIText.d.ts +14 -0
  425. package/lib/typescript/src/presentation/components/atoms/UIText.d.ts.map +1 -0
  426. package/lib/typescript/src/presentation/components/atoms/index.d.ts +13 -0
  427. package/lib/typescript/src/presentation/components/atoms/index.d.ts.map +1 -0
  428. package/lib/typescript/src/presentation/components/index.d.ts +2 -0
  429. package/lib/typescript/src/presentation/components/index.d.ts.map +1 -0
  430. package/lib/typescript/src/presentation/components/molecules/UIActionSheet.d.ts +17 -0
  431. package/lib/typescript/src/presentation/components/molecules/UIActionSheet.d.ts.map +1 -0
  432. package/lib/typescript/src/presentation/components/molecules/UIButton.d.ts +18 -0
  433. package/lib/typescript/src/presentation/components/molecules/UIButton.d.ts.map +1 -0
  434. package/lib/typescript/src/presentation/components/molecules/UIButtonCTA.d.ts +8 -0
  435. package/lib/typescript/src/presentation/components/molecules/UIButtonCTA.d.ts.map +1 -0
  436. package/lib/typescript/src/presentation/components/molecules/UICheckboxInput.d.ts +16 -0
  437. package/lib/typescript/src/presentation/components/molecules/UICheckboxInput.d.ts.map +1 -0
  438. package/lib/typescript/src/presentation/components/molecules/UIChip.d.ts +17 -0
  439. package/lib/typescript/src/presentation/components/molecules/UIChip.d.ts.map +1 -0
  440. package/lib/typescript/src/presentation/components/molecules/UICurrencyInput.d.ts +11 -0
  441. package/lib/typescript/src/presentation/components/molecules/UICurrencyInput.d.ts.map +1 -0
  442. package/lib/typescript/src/presentation/components/molecules/UIDataList.d.ts +9 -0
  443. package/lib/typescript/src/presentation/components/molecules/UIDataList.d.ts.map +1 -0
  444. package/lib/typescript/src/presentation/components/molecules/UIDataSectionList.d.ts +9 -0
  445. package/lib/typescript/src/presentation/components/molecules/UIDataSectionList.d.ts.map +1 -0
  446. package/lib/typescript/src/presentation/components/molecules/UIDatetimeInput.d.ts +10 -0
  447. package/lib/typescript/src/presentation/components/molecules/UIDatetimeInput.d.ts.map +1 -0
  448. package/lib/typescript/src/presentation/components/molecules/UIError.d.ts +8 -0
  449. package/lib/typescript/src/presentation/components/molecules/UIError.d.ts.map +1 -0
  450. package/lib/typescript/src/presentation/components/molecules/UIImage.d.ts +11 -0
  451. package/lib/typescript/src/presentation/components/molecules/UIImage.d.ts.map +1 -0
  452. package/lib/typescript/src/presentation/components/molecules/UIInlineDatePicker.d.ts +15 -0
  453. package/lib/typescript/src/presentation/components/molecules/UIInlineDatePicker.d.ts.map +1 -0
  454. package/lib/typescript/src/presentation/components/molecules/UIInputIcon.d.ts +9 -0
  455. package/lib/typescript/src/presentation/components/molecules/UIInputIcon.d.ts.map +1 -0
  456. package/lib/typescript/src/presentation/components/molecules/UIList.d.ts +5 -0
  457. package/lib/typescript/src/presentation/components/molecules/UIList.d.ts.map +1 -0
  458. package/lib/typescript/src/presentation/components/molecules/UIRadioInput.d.ts +12 -0
  459. package/lib/typescript/src/presentation/components/molecules/UIRadioInput.d.ts.map +1 -0
  460. package/lib/typescript/src/presentation/components/molecules/UISectionList.d.ts +5 -0
  461. package/lib/typescript/src/presentation/components/molecules/UISectionList.d.ts.map +1 -0
  462. package/lib/typescript/src/presentation/components/molecules/UISkeleton.d.ts +8 -0
  463. package/lib/typescript/src/presentation/components/molecules/UISkeleton.d.ts.map +1 -0
  464. package/lib/typescript/src/presentation/components/molecules/UISwitch.d.ts +10 -0
  465. package/lib/typescript/src/presentation/components/molecules/UISwitch.d.ts.map +1 -0
  466. package/lib/typescript/src/presentation/components/molecules/UITextInput.d.ts +13 -0
  467. package/lib/typescript/src/presentation/components/molecules/UITextInput.d.ts.map +1 -0
  468. package/lib/typescript/src/presentation/components/molecules/UITextInputMask.d.ts +16 -0
  469. package/lib/typescript/src/presentation/components/molecules/UITextInputMask.d.ts.map +1 -0
  470. package/lib/typescript/src/presentation/components/molecules/index.d.ts +21 -0
  471. package/lib/typescript/src/presentation/components/molecules/index.d.ts.map +1 -0
  472. package/lib/typescript/src/presentation/components/organisms/UIAppBar.d.ts +13 -0
  473. package/lib/typescript/src/presentation/components/organisms/UIAppBar.d.ts.map +1 -0
  474. package/lib/typescript/src/presentation/components/organisms/UIAppBarAction.d.ts +6 -0
  475. package/lib/typescript/src/presentation/components/organisms/UIAppBarAction.d.ts.map +1 -0
  476. package/lib/typescript/src/presentation/components/organisms/UICard.d.ts +9 -0
  477. package/lib/typescript/src/presentation/components/organisms/UICard.d.ts.map +1 -0
  478. package/lib/typescript/src/presentation/components/organisms/UIComment.d.ts +9 -0
  479. package/lib/typescript/src/presentation/components/organisms/UIComment.d.ts.map +1 -0
  480. package/lib/typescript/src/presentation/components/organisms/UIErrorBoundary.d.ts +9 -0
  481. package/lib/typescript/src/presentation/components/organisms/UIErrorBoundary.d.ts.map +1 -0
  482. package/lib/typescript/src/presentation/components/organisms/UIForm.d.ts +13 -0
  483. package/lib/typescript/src/presentation/components/organisms/UIForm.d.ts.map +1 -0
  484. package/lib/typescript/src/presentation/components/organisms/UIFormButton.d.ts +11 -0
  485. package/lib/typescript/src/presentation/components/organisms/UIFormButton.d.ts.map +1 -0
  486. package/lib/typescript/src/presentation/components/organisms/UIFormCheckboxInput.d.ts +9 -0
  487. package/lib/typescript/src/presentation/components/organisms/UIFormCheckboxInput.d.ts.map +1 -0
  488. package/lib/typescript/src/presentation/components/organisms/UIFormCurrencyInput.d.ts +11 -0
  489. package/lib/typescript/src/presentation/components/organisms/UIFormCurrencyInput.d.ts.map +1 -0
  490. package/lib/typescript/src/presentation/components/organisms/UIFormDatetimeInput.d.ts +10 -0
  491. package/lib/typescript/src/presentation/components/organisms/UIFormDatetimeInput.d.ts.map +1 -0
  492. package/lib/typescript/src/presentation/components/organisms/UIFormMultiselectInput.d.ts +30 -0
  493. package/lib/typescript/src/presentation/components/organisms/UIFormMultiselectInput.d.ts.map +1 -0
  494. package/lib/typescript/src/presentation/components/organisms/UIFormRadioInput.d.ts +9 -0
  495. package/lib/typescript/src/presentation/components/organisms/UIFormRadioInput.d.ts.map +1 -0
  496. package/lib/typescript/src/presentation/components/organisms/UIFormSelectInput.d.ts +44 -0
  497. package/lib/typescript/src/presentation/components/organisms/UIFormSelectInput.d.ts.map +1 -0
  498. package/lib/typescript/src/presentation/components/organisms/UIFormTextInput.d.ts +11 -0
  499. package/lib/typescript/src/presentation/components/organisms/UIFormTextInput.d.ts.map +1 -0
  500. package/lib/typescript/src/presentation/components/organisms/UIFormTextInputMask.d.ts +11 -0
  501. package/lib/typescript/src/presentation/components/organisms/UIFormTextInputMask.d.ts.map +1 -0
  502. package/lib/typescript/src/presentation/components/organisms/UIRow.d.ts +14 -0
  503. package/lib/typescript/src/presentation/components/organisms/UIRow.d.ts.map +1 -0
  504. package/lib/typescript/src/presentation/components/organisms/UISearchInput.d.ts +6 -0
  505. package/lib/typescript/src/presentation/components/organisms/UISearchInput.d.ts.map +1 -0
  506. package/lib/typescript/src/presentation/components/organisms/UISelectChip.d.ts +13 -0
  507. package/lib/typescript/src/presentation/components/organisms/UISelectChip.d.ts.map +1 -0
  508. package/lib/typescript/src/presentation/components/organisms/UISignature.d.ts +26 -0
  509. package/lib/typescript/src/presentation/components/organisms/UISignature.d.ts.map +1 -0
  510. package/lib/typescript/src/presentation/components/organisms/UISlideButton.d.ts +8 -0
  511. package/lib/typescript/src/presentation/components/organisms/UISlideButton.d.ts.map +1 -0
  512. package/lib/typescript/src/presentation/components/organisms/index.d.ts +22 -0
  513. package/lib/typescript/src/presentation/components/organisms/index.d.ts.map +1 -0
  514. package/lib/typescript/src/presentation/components/permissions/index.d.ts +2 -0
  515. package/lib/typescript/src/presentation/components/permissions/index.d.ts.map +1 -0
  516. package/lib/typescript/src/presentation/components/permissions/request-permissions.d.ts +15 -0
  517. package/lib/typescript/src/presentation/components/permissions/request-permissions.d.ts.map +1 -0
  518. package/lib/typescript/src/presentation/domain/metadata/index.d.ts +3 -0
  519. package/lib/typescript/src/presentation/domain/metadata/index.d.ts.map +1 -0
  520. package/lib/typescript/src/presentation/domain/metadata/use-comments.d.ts +11 -0
  521. package/lib/typescript/src/presentation/domain/metadata/use-comments.d.ts.map +1 -0
  522. package/lib/typescript/src/presentation/domain/metadata/use-images.d.ts +11 -0
  523. package/lib/typescript/src/presentation/domain/metadata/use-images.d.ts.map +1 -0
  524. package/lib/typescript/src/presentation/domain/offline/index.d.ts +10 -0
  525. package/lib/typescript/src/presentation/domain/offline/index.d.ts.map +1 -0
  526. package/lib/typescript/src/presentation/domain/offline/offline-mutation-queue-provider.d.ts +18 -0
  527. package/lib/typescript/src/presentation/domain/offline/offline-mutation-queue-provider.d.ts.map +1 -0
  528. package/lib/typescript/src/presentation/domain/offline/types.d.ts +18 -0
  529. package/lib/typescript/src/presentation/domain/offline/types.d.ts.map +1 -0
  530. package/lib/typescript/src/presentation/domain/offline/use-infinite-offline-query.d.ts +78 -0
  531. package/lib/typescript/src/presentation/domain/offline/use-infinite-offline-query.d.ts.map +1 -0
  532. package/lib/typescript/src/presentation/domain/offline/use-offline-id-v2.d.ts +9 -0
  533. package/lib/typescript/src/presentation/domain/offline/use-offline-id-v2.d.ts.map +1 -0
  534. package/lib/typescript/src/presentation/domain/offline/use-offline-id.d.ts +3 -0
  535. package/lib/typescript/src/presentation/domain/offline/use-offline-id.d.ts.map +1 -0
  536. package/lib/typescript/src/presentation/domain/offline/use-offline-mutation.d.ts +88 -0
  537. package/lib/typescript/src/presentation/domain/offline/use-offline-mutation.d.ts.map +1 -0
  538. package/lib/typescript/src/presentation/domain/offline/use-offline-query.d.ts +8 -0
  539. package/lib/typescript/src/presentation/domain/offline/use-offline-query.d.ts.map +1 -0
  540. package/lib/typescript/src/presentation/domain/offline/use-offline-queue.d.ts +10 -0
  541. package/lib/typescript/src/presentation/domain/offline/use-offline-queue.d.ts.map +1 -0
  542. package/lib/typescript/src/presentation/domain/offline/utils.d.ts +18 -0
  543. package/lib/typescript/src/presentation/domain/offline/utils.d.ts.map +1 -0
  544. package/lib/typescript/src/presentation/domain/provider/index.d.ts +2 -0
  545. package/lib/typescript/src/presentation/domain/provider/index.d.ts.map +1 -0
  546. package/lib/typescript/src/presentation/domain/provider/zuq-core-provider.d.ts +13 -0
  547. package/lib/typescript/src/presentation/domain/provider/zuq-core-provider.d.ts.map +1 -0
  548. package/lib/typescript/src/presentation/domain/utils/exists.d.ts +2 -0
  549. package/lib/typescript/src/presentation/domain/utils/exists.d.ts.map +1 -0
  550. package/lib/typescript/src/presentation/domain/utils/index.d.ts +6 -0
  551. package/lib/typescript/src/presentation/domain/utils/index.d.ts.map +1 -0
  552. package/lib/typescript/src/presentation/domain/utils/react-query.d.ts +5 -0
  553. package/lib/typescript/src/presentation/domain/utils/react-query.d.ts.map +1 -0
  554. package/lib/typescript/src/presentation/domain/utils/use-action-sheet.d.ts +6 -0
  555. package/lib/typescript/src/presentation/domain/utils/use-action-sheet.d.ts.map +1 -0
  556. package/lib/typescript/src/presentation/domain/utils/use-signature-ref.d.ts +15 -0
  557. package/lib/typescript/src/presentation/domain/utils/use-signature-ref.d.ts.map +1 -0
  558. package/lib/typescript/src/presentation/domain/utils/yup.d.ts +3 -0
  559. package/lib/typescript/src/presentation/domain/utils/yup.d.ts.map +1 -0
  560. package/lib/typescript/src/theme.d.ts +214 -0
  561. package/lib/typescript/src/theme.d.ts.map +1 -0
  562. package/package.json +210 -0
  563. package/src/assets/logo.png +0 -0
  564. package/src/data/errors/http-client-error.ts +23 -0
  565. package/src/data/errors/index.ts +3 -0
  566. package/src/data/errors/save-file-error.ts +6 -0
  567. package/src/data/errors/unsupported-platform.ts +6 -0
  568. package/src/data/models/index.ts +3 -0
  569. package/src/data/models/remote-get-comment-list-model.ts +15 -0
  570. package/src/data/models/remote-get-image-list-model.ts +15 -0
  571. package/src/data/models/remote-user-model.ts +13 -0
  572. package/src/data/protocols/cookie-manager.ts +6 -0
  573. package/src/data/protocols/download-manager.ts +13 -0
  574. package/src/data/protocols/http-client.ts +75 -0
  575. package/src/data/protocols/index.ts +6 -0
  576. package/src/data/protocols/notification-manager.ts +17 -0
  577. package/src/data/protocols/permission-manager.ts +46 -0
  578. package/src/data/protocols/storage.ts +18 -0
  579. package/src/data/use-cases/index.ts +3 -0
  580. package/src/data/use-cases/remote-get-comment-list.ts +34 -0
  581. package/src/data/use-cases/remote-get-image-list.ts +40 -0
  582. package/src/data/use-cases/remote-send-diagnostics.ts +20 -0
  583. package/src/domain/errors/authentication-expired-error.ts +6 -0
  584. package/src/domain/errors/index.ts +4 -0
  585. package/src/domain/errors/internal-server-error.ts +6 -0
  586. package/src/domain/errors/invalid-credentials-error.ts +6 -0
  587. package/src/domain/errors/no-app-permission-error.ts +6 -0
  588. package/src/domain/models/get-comment-list-model.ts +9 -0
  589. package/src/domain/models/get-image-list-model.ts +7 -0
  590. package/src/domain/models/index.ts +3 -0
  591. package/src/domain/models/user-model.ts +15 -0
  592. package/src/domain/use-cases/get-comment-list.ts +14 -0
  593. package/src/domain/use-cases/get-image-list.ts +14 -0
  594. package/src/domain/use-cases/index.ts +6 -0
  595. package/src/domain/use-cases/record-request.ts +15 -0
  596. package/src/domain/use-cases/send-diagnostics.ts +15 -0
  597. package/src/domain/use-cases/user-authentication.ts +16 -0
  598. package/src/domain/use-cases/user-logout.ts +10 -0
  599. package/src/index.tsx +29 -0
  600. package/src/infra/axios-http-client-adapter.ts +271 -0
  601. package/src/infra/index.ts +7 -0
  602. package/src/infra/isomorphic-id-manager.ts +107 -0
  603. package/src/infra/mmkv-storage-adapter.ts +73 -0
  604. package/src/infra/notifee-notification-manager-adapter.ts +87 -0
  605. package/src/infra/offline-mutation-queue.ts +280 -0
  606. package/src/infra/rnbu-download-manager-adapter.ts +29 -0
  607. package/src/infra/rnp-permission-manager-adapter.ts +147 -0
  608. package/src/infra/storage-cookie-manager-adapter.ts +29 -0
  609. package/src/main/components/index.ts +4 -0
  610. package/src/main/components/request-permissions.tsx +17 -0
  611. package/src/main/factories/infra/download-manager-factory.ts +6 -0
  612. package/src/main/factories/infra/http-client-factory.ts +9 -0
  613. package/src/main/factories/infra/index.ts +7 -0
  614. package/src/main/factories/infra/isomorphic-id-manager-factory.ts +6 -0
  615. package/src/main/factories/infra/notification-manager-factory.ts +8 -0
  616. package/src/main/factories/infra/offline-mutation-queue-factory.ts +22 -0
  617. package/src/main/factories/infra/permission-manager-factory.ts +6 -0
  618. package/src/main/factories/infra/storage-factory.ts +11 -0
  619. package/src/main/factories/use-cases/index.ts +3 -0
  620. package/src/main/factories/use-cases/remote-get-comment-list-factory.ts +6 -0
  621. package/src/main/factories/use-cases/remote-get-image-list-factory.ts +6 -0
  622. package/src/main/factories/use-cases/remote-send-diagnostics-factory.ts +10 -0
  623. package/src/presentation/components/atoms/UIBackdrop.tsx +35 -0
  624. package/src/presentation/components/atoms/UICheckbox.tsx +58 -0
  625. package/src/presentation/components/atoms/UIDot.tsx +40 -0
  626. package/src/presentation/components/atoms/UIIcon.tsx +1091 -0
  627. package/src/presentation/components/atoms/UILoading.tsx +17 -0
  628. package/src/presentation/components/atoms/UIPage.tsx +92 -0
  629. package/src/presentation/components/atoms/UIProgress.tsx +60 -0
  630. package/src/presentation/components/atoms/UIScrollPage.tsx +87 -0
  631. package/src/presentation/components/atoms/UISeparator.tsx +41 -0
  632. package/src/presentation/components/atoms/UISpacer.tsx +21 -0
  633. package/src/presentation/components/atoms/UIStack.tsx +44 -0
  634. package/src/presentation/components/atoms/UIText.tsx +59 -0
  635. package/src/presentation/components/atoms/index.ts +12 -0
  636. package/src/presentation/components/index.ts +1 -0
  637. package/src/presentation/components/molecules/UIActionSheet.tsx +230 -0
  638. package/src/presentation/components/molecules/UIButton.tsx +192 -0
  639. package/src/presentation/components/molecules/UIButtonCTA.tsx +38 -0
  640. package/src/presentation/components/molecules/UICheckboxInput.tsx +106 -0
  641. package/src/presentation/components/molecules/UIChip.tsx +69 -0
  642. package/src/presentation/components/molecules/UICurrencyInput.tsx +43 -0
  643. package/src/presentation/components/molecules/UIDataList.tsx +30 -0
  644. package/src/presentation/components/molecules/UIDataSectionList.tsx +30 -0
  645. package/src/presentation/components/molecules/UIDatetimeInput.tsx +205 -0
  646. package/src/presentation/components/molecules/UIError.tsx +24 -0
  647. package/src/presentation/components/molecules/UIImage.tsx +85 -0
  648. package/src/presentation/components/molecules/UIInlineDatePicker.tsx +244 -0
  649. package/src/presentation/components/molecules/UIInputIcon.tsx +39 -0
  650. package/src/presentation/components/molecules/UIList.tsx +17 -0
  651. package/src/presentation/components/molecules/UIRadioInput.tsx +97 -0
  652. package/src/presentation/components/molecules/UISectionList.tsx +17 -0
  653. package/src/presentation/components/molecules/UISkeleton.tsx +66 -0
  654. package/src/presentation/components/molecules/UISwitch.tsx +72 -0
  655. package/src/presentation/components/molecules/UITextInput.tsx +160 -0
  656. package/src/presentation/components/molecules/UITextInputMask.tsx +160 -0
  657. package/src/presentation/components/molecules/index.ts +20 -0
  658. package/src/presentation/components/organisms/UIAppBar.tsx +103 -0
  659. package/src/presentation/components/organisms/UIAppBarAction.tsx +13 -0
  660. package/src/presentation/components/organisms/UICard.tsx +48 -0
  661. package/src/presentation/components/organisms/UIComment.tsx +64 -0
  662. package/src/presentation/components/organisms/UIErrorBoundary.tsx +72 -0
  663. package/src/presentation/components/organisms/UIForm.tsx +81 -0
  664. package/src/presentation/components/organisms/UIFormButton.tsx +38 -0
  665. package/src/presentation/components/organisms/UIFormCheckboxInput.tsx +35 -0
  666. package/src/presentation/components/organisms/UIFormCurrencyInput.tsx +65 -0
  667. package/src/presentation/components/organisms/UIFormDatetimeInput.tsx +51 -0
  668. package/src/presentation/components/organisms/UIFormMultiselectInput.tsx +251 -0
  669. package/src/presentation/components/organisms/UIFormRadioInput.tsx +32 -0
  670. package/src/presentation/components/organisms/UIFormSelectInput.tsx +316 -0
  671. package/src/presentation/components/organisms/UIFormTextInput.tsx +62 -0
  672. package/src/presentation/components/organisms/UIFormTextInputMask.tsx +79 -0
  673. package/src/presentation/components/organisms/UIRow.tsx +61 -0
  674. package/src/presentation/components/organisms/UISearchInput.tsx +40 -0
  675. package/src/presentation/components/organisms/UISelectChip.tsx +104 -0
  676. package/src/presentation/components/organisms/UISignature.tsx +194 -0
  677. package/src/presentation/components/organisms/UISlideButton.tsx +112 -0
  678. package/src/presentation/components/organisms/index.ts +21 -0
  679. package/src/presentation/components/permissions/index.ts +1 -0
  680. package/src/presentation/components/permissions/request-permissions.tsx +115 -0
  681. package/src/presentation/domain/metadata/index.ts +2 -0
  682. package/src/presentation/domain/metadata/use-comments.ts +27 -0
  683. package/src/presentation/domain/metadata/use-images.ts +27 -0
  684. package/src/presentation/domain/offline/index.ts +9 -0
  685. package/src/presentation/domain/offline/offline-mutation-queue-provider.tsx +95 -0
  686. package/src/presentation/domain/offline/types.ts +21 -0
  687. package/src/presentation/domain/offline/use-infinite-offline-query.tsx +89 -0
  688. package/src/presentation/domain/offline/use-offline-id-v2.ts +29 -0
  689. package/src/presentation/domain/offline/use-offline-id.ts +12 -0
  690. package/src/presentation/domain/offline/use-offline-mutation.ts +150 -0
  691. package/src/presentation/domain/offline/use-offline-query.ts +55 -0
  692. package/src/presentation/domain/offline/use-offline-queue.ts +6 -0
  693. package/src/presentation/domain/offline/utils.ts +139 -0
  694. package/src/presentation/domain/provider/index.ts +1 -0
  695. package/src/presentation/domain/provider/zuq-core-provider.tsx +52 -0
  696. package/src/presentation/domain/utils/exists.ts +3 -0
  697. package/src/presentation/domain/utils/index.ts +5 -0
  698. package/src/presentation/domain/utils/react-query.ts +10 -0
  699. package/src/presentation/domain/utils/use-action-sheet.ts +21 -0
  700. package/src/presentation/domain/utils/use-signature-ref.ts +19 -0
  701. package/src/presentation/domain/utils/yup.ts +3 -0
  702. package/src/theme.ts +240 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","StyleSheet","View","UIIcon","theme","jsx","_jsx","UIInputIcon","position","focused","color","props","style","styles","container","children","brand","violet","create","backgroundColor","alignItems","justifyContent","start","paddingLeft","end","paddingRight","borderColor"],"sourceRoot":"../../../../../src","sources":["presentation/components/molecules/UIInputIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,MAAM,QAAQ,mBAAU;AACjC,SAASC,KAAK,QAAQ,mBAAgB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAOvC,OAAO,MAAMC,WAAW,GAAGA,CAAC;EAAEC,QAAQ;EAAEC,OAAO;EAAEC,KAAK;EAAE,GAAGC;AAAa,CAAC,KAAK;EAC5E,oBACEL,IAAA,CAACJ,IAAI;IACHU,KAAK,EAAE,CAACC,MAAM,CAACC,SAAS,EAAEL,OAAO,IAAII,MAAM,CAACJ,OAAO,EAAEI,MAAM,CAACL,QAAQ,CAAC,CAAE;IAAAO,QAAA,eAEvET,IAAA,CAACH,MAAM;MACLO,KAAK,EAAED,OAAO,GAAGL,KAAK,CAACM,KAAK,CAACM,KAAK,CAACC,MAAM,CAAC,KAAK,CAAC,GAAGP,KAAM;MAAA,GACrDC;IAAK,CACV;EAAC,CACE,CAAC;AAEX,CAAC;AAED,MAAME,MAAM,GAAGZ,UAAU,CAACiB,MAAM,CAAC;EAC/BJ,SAAS,EAAE;IACTK,eAAe,EAAE,aAAa;IAC9BC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDC,KAAK,EAAE;IACLC,WAAW,EAAE;EACf,CAAC;EACDC,GAAG,EAAE;IACHC,YAAY,EAAE;EAChB,CAAC;EACDhB,OAAO,EAAE;IACPiB,WAAW,EAAEtB,KAAK,CAACM,KAAK,CAACM,KAAK,CAACC,MAAM,CAAC,KAAK;EAC7C;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ import { FlatList } from 'react-native';
4
+ import { jsx as _jsx } from "react/jsx-runtime";
5
+ export const UIList = ({
6
+ showsHorizontalScrollIndicator = false,
7
+ showsVerticalScrollIndicator = false,
8
+ ...props
9
+ }) => {
10
+ return /*#__PURE__*/_jsx(FlatList, {
11
+ showsHorizontalScrollIndicator: showsHorizontalScrollIndicator,
12
+ showsVerticalScrollIndicator: showsVerticalScrollIndicator,
13
+ ...props
14
+ });
15
+ };
16
+ //# sourceMappingURL=UIList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["FlatList","jsx","_jsx","UIList","showsHorizontalScrollIndicator","showsVerticalScrollIndicator","props"],"sourceRoot":"../../../../../src","sources":["presentation/components/molecules/UIList.tsx"],"mappings":";;AAAA,SAASA,QAAQ,QAA4B,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAI5D,OAAO,MAAMC,MAAM,GAAGA,CAAgB;EACpCC,8BAA8B,GAAG,KAAK;EACtCC,4BAA4B,GAAG,KAAK;EACpC,GAAGC;AACK,CAAC,KAAK;EACd,oBACEJ,IAAA,CAACF,QAAQ;IACPI,8BAA8B,EAAEA,8BAA+B;IAC/DC,4BAA4B,EAAEA,4BAA6B;IAAA,GACvDC;EAAK,CACV,CAAC;AAEN,CAAC","ignoreList":[]}
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+
3
+ import { StyleSheet, View } from 'react-native';
4
+ import { UIButton } from "./UIButton.js";
5
+ import { UIText, UIStack } from "../atoms/index.js";
6
+ import { theme } from "../../../theme.js";
7
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
8
+ export const UIRadioInput = ({
9
+ label,
10
+ selected,
11
+ style,
12
+ selectedColor,
13
+ color,
14
+ variant = 'text',
15
+ ...props
16
+ }) => {
17
+ return /*#__PURE__*/_jsx(UIButton, {
18
+ style: [styles.button, variant === 'contained' && selected && styles.contained, style],
19
+ ...props,
20
+ children: /*#__PURE__*/_jsxs(UIStack, {
21
+ horizontal: true,
22
+ center: true,
23
+ children: [/*#__PURE__*/_jsx(View, {
24
+ style: [styles.radio, Boolean(color) && {
25
+ borderColor: color
26
+ }, selected && (selectedColor ? {
27
+ borderColor: selectedColor
28
+ } : styles.selected)],
29
+ children: selected && /*#__PURE__*/_jsx(View, {
30
+ style: [styles.dot, Boolean(selectedColor) && {
31
+ backgroundColor: selectedColor
32
+ }]
33
+ })
34
+ }), /*#__PURE__*/_jsx(UIText, {
35
+ weight: "500",
36
+ style: [Boolean(color) && {
37
+ color: color
38
+ }, selected && {
39
+ color: selectedColor || theme.color.brand.violet['500']
40
+ }, styles.label],
41
+ children: label
42
+ })]
43
+ })
44
+ });
45
+ };
46
+ const styles = StyleSheet.create({
47
+ radio: {
48
+ width: 20,
49
+ height: 20,
50
+ borderRadius: 10,
51
+ borderColor: theme.color.neutral.light['50'],
52
+ borderWidth: 2,
53
+ alignItems: 'center',
54
+ justifyContent: 'center',
55
+ marginRight: 10
56
+ },
57
+ selected: {
58
+ borderColor: theme.color.brand.violet['500']
59
+ },
60
+ dot: {
61
+ width: 12,
62
+ height: 12,
63
+ borderRadius: 6,
64
+ backgroundColor: theme.color.brand.violet['500']
65
+ },
66
+ button: {
67
+ paddingHorizontal: 16,
68
+ paddingVertical: 12,
69
+ borderRadius: 8
70
+ },
71
+ contained: {
72
+ backgroundColor: theme.color.neutral.light['10']
73
+ },
74
+ label: {
75
+ flex: 1
76
+ }
77
+ });
78
+ //# sourceMappingURL=UIRadioInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleSheet","View","UIButton","UIText","UIStack","theme","jsx","_jsx","jsxs","_jsxs","UIRadioInput","label","selected","style","selectedColor","color","variant","props","styles","button","contained","children","horizontal","center","radio","Boolean","borderColor","dot","backgroundColor","weight","brand","violet","create","width","height","borderRadius","neutral","light","borderWidth","alignItems","justifyContent","marginRight","paddingHorizontal","paddingVertical","flex"],"sourceRoot":"../../../../../src","sources":["presentation/components/molecules/UIRadioInput.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAE/C,SAASC,QAAQ,QAAQ,eAAY;AACrC,SAASC,MAAM,EAAEC,OAAO,QAAQ,mBAAU;AAC1C,SAASC,KAAK,QAAQ,mBAAgB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAUvC,OAAO,MAAMC,YAAY,GAAGA,CAAC;EAC3BC,KAAK;EACLC,QAAQ;EACRC,KAAK;EACLC,aAAa;EACbC,KAAK;EACLC,OAAO,GAAG,MAAM;EAChB,GAAGC;AACE,CAAC,KAAK;EACX,oBACEV,IAAA,CAACL,QAAQ;IACPW,KAAK,EAAE,CACLK,MAAM,CAACC,MAAM,EACbH,OAAO,KAAK,WAAW,IAAIJ,QAAQ,IAAIM,MAAM,CAACE,SAAS,EACvDP,KAAK,CACL;IAAA,GACEI,KAAK;IAAAI,QAAA,eAETZ,KAAA,CAACL,OAAO;MAACkB,UAAU;MAACC,MAAM;MAAAF,QAAA,gBACxBd,IAAA,CAACN,IAAI;QACHY,KAAK,EAAE,CACLK,MAAM,CAACM,KAAK,EACZC,OAAO,CAACV,KAAK,CAAC,IAAI;UAAEW,WAAW,EAAEX;QAAM,CAAC,EACxCH,QAAQ,KACLE,aAAa,GACV;UAAEY,WAAW,EAAEZ;QAAc,CAAC,GAC9BI,MAAM,CAACN,QAAQ,CAAC,CACtB;QAAAS,QAAA,EAEDT,QAAQ,iBACPL,IA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E,CAAC;EACvEf,SAAS,EAAE;IACTQ,eAAe,EAAEvB,KAAK,CAACU,KAAK,CAACqB,OAAO,CAACC,KAAK,CAAC,IAAI;EACjD,CAAC;EACD1B,KAAK,EAAE;IACLiC,IAAI,EAAE;EACR;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ import { SectionList } from 'react-native';
4
+ import { jsx as _jsx } from "react/jsx-runtime";
5
+ export const UISectionList = ({
6
+ showsHorizontalScrollIndicator = false,
7
+ showsVerticalScrollIndicator = false,
8
+ ...props
9
+ }) => {
10
+ return /*#__PURE__*/_jsx(SectionList, {
11
+ showsHorizontalScrollIndicator: showsHorizontalScrollIndicator,
12
+ showsVerticalScrollIndicator: showsVerticalScrollIndicator,
13
+ ...props
14
+ });
15
+ };
16
+ //# sourceMappingURL=UISectionList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["SectionList","jsx","_jsx","UISectionList","showsHorizontalScrollIndicator","showsVerticalScrollIndicator","props"],"sourceRoot":"../../../../../src","sources":["presentation/components/molecules/UISectionList.tsx"],"mappings":";;AAAA,SAASA,WAAW,QAA+B,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAIlE,OAAO,MAAMC,aAAa,GAAGA,CAAgB;EAC3CC,8BAA8B,GAAG,KAAK;EACtCC,4BAA4B,GAAG,KAAK;EACpC,GAAGC;AACK,CAAC,KAAK;EACd,oBACEJ,IAAA,CAACF,WAAW;IACVI,8BAA8B,EAAEA,8BAA+B;IAC/DC,4BAA4B,EAAEA,4BAA6B;IAAA,GACvDC;EAAK,CACV,CAAC;AAEN,CAAC","ignoreList":[]}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { StyleSheet } from 'react-native';
5
+ import Animated, { cancelAnimation, interpolate, useAnimatedStyle, useSharedValue, withRepeat, withTiming } from 'react-native-reanimated';
6
+ import { UIStack } from "../atoms/index.js";
7
+ import { jsx as _jsx } from "react/jsx-runtime";
8
+ export const UISkeleton = ({
9
+ width,
10
+ height,
11
+ circle
12
+ }) => {
13
+ const translateX = useSharedValue(0);
14
+ const animatedStyle = useAnimatedStyle(() => {
15
+ return {
16
+ transform: [{
17
+ translateX: interpolate(translateX.value, [0, 1], [-width, width])
18
+ }]
19
+ };
20
+ });
21
+ React.useEffect(() => {
22
+ translateX.value = withRepeat(withTiming(1, {
23
+ duration: 1200
24
+ }), -1);
25
+ return () => {
26
+ cancelAnimation(translateX);
27
+ };
28
+ }, [translateX]);
29
+ return /*#__PURE__*/_jsx(UIStack, {
30
+ style: [styles.skeleton, {
31
+ width,
32
+ height,
33
+ borderRadius: circle ? width / 2 : 2
34
+ }],
35
+ children: /*#__PURE__*/_jsx(Animated.View, {
36
+ style: [animatedStyle, {
37
+ width: 0.9 * width,
38
+ height,
39
+ opacity: 0.125,
40
+ borderRadius: circle ? width / 2 : 2,
41
+ backgroundColor: '#000'
42
+ }]
43
+ })
44
+ });
45
+ };
46
+ const styles = StyleSheet.create({
47
+ skeleton: {
48
+ backgroundColor: '#000',
49
+ opacity: 0.1,
50
+ borderRadius: 2,
51
+ overflow: 'hidden'
52
+ }
53
+ });
54
+ //# sourceMappingURL=UISkeleton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","StyleSheet","Animated","cancelAnimation","interpolate","useAnimatedStyle","useSharedValue","withRepeat","withTiming","UIStack","jsx","_jsx","UISkeleton","width","height","circle","translateX","animatedStyle","transform","value","useEffect","duration","style","styles","skeleton","borderRadius","children","View","opacity","backgroundColor","create","overflow"],"sourceRoot":"../../../../../src","sources":["presentation/components/molecules/UISkeleton.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,QAAQ,cAAc;AACzC,OAAOC,QAAQ,IACbC,eAAe,EACfC,WAAW,EACXC,gBAAgB,EAChBC,cAAc,EACdC,UAAU,EACVC,UAAU,QACL,yBAAyB;AAChC,SAASC,OAAO,QAAQ,m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6B,MAAM,CAAC;EAC/BN,QAAQ,EAAE;IACRK,eAAe,EAAE,MAAM;IACvBD,OAAO,EAAE,GAAG;IACZH,YAAY,EAAE,CAAC;IACfM,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+
3
+ import { StyleSheet } from 'react-native';
4
+ import React from 'react';
5
+ import Animated, { useAnimatedStyle, useSharedValue, withTiming } from 'react-native-reanimated';
6
+ import { theme } from "../../../theme.js";
7
+ import { UIStack } from "../atoms/index.js";
8
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
+ export const UISwitch = ({
10
+ selected,
11
+ barColor = theme.color.neutral.light['50'],
12
+ selectedBarColor = theme.color.brand.violet['500'],
13
+ dotColor = '#fff',
14
+ selectedDotColor = '#fff'
15
+ }) => {
16
+ const isSelected = useSharedValue(Boolean(selected));
17
+ const barStyle = useAnimatedStyle(() => {
18
+ return {
19
+ backgroundColor: withTiming(isSelected.value ? selectedBarColor : barColor)
20
+ };
21
+ }, [barColor, selectedBarColor]);
22
+ const animatedStyle = useAnimatedStyle(() => {
23
+ return {
24
+ backgroundColor: isSelected.value ? selectedDotColor : dotColor,
25
+ transform: [{
26
+ translateX: withTiming(isSelected.value ? 16 : 4)
27
+ }]
28
+ };
29
+ }, [dotColor, selectedDotColor]);
30
+ React.useEffect(() => {
31
+ isSelected.value = Boolean(selected);
32
+ }, [isSelected, selected]);
33
+ return /*#__PURE__*/_jsxs(UIStack, {
34
+ horizontal: true,
35
+ center: true,
36
+ spacing: 0,
37
+ style: styles.switchContainer,
38
+ children: [/*#__PURE__*/_jsx(Animated.View, {
39
+ style: [styles.switchBar, barStyle]
40
+ }), /*#__PURE__*/_jsx(Animated.View, {
41
+ style: [styles.switchDot, animatedStyle]
42
+ })]
43
+ });
44
+ };
45
+ const styles = StyleSheet.create({
46
+ switchContainer: {
47
+ width: 33,
48
+ overflow: 'visible'
49
+ },
50
+ switchBar: {
51
+ width: 30,
52
+ height: 17,
53
+ backgroundColor: theme.color.neutral.light['50'],
54
+ borderRadius: 50
55
+ },
56
+ switchDot: {
57
+ position: 'absolute',
58
+ justifyContent: 'center',
59
+ alignItems: 'center',
60
+ width: 10,
61
+ height: 10,
62
+ borderRadius: 9
63
+ }
64
+ });
65
+ //# sourceMappingURL=UISwitch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleSheet","React","Animated","useAnimatedStyle","useSharedValue","withTiming","theme","UIStack","jsx","_jsx","jsxs","_jsxs","UISwitch","selected","barColor","color","neutral","light","selectedBarColor","brand","violet","dotColor","selectedDotColor","isSelected","Boolean","barStyle","backgroundColor","value","animatedStyle","transform","translateX","useEffect","horizontal","center","spacing","style","styles","switchContainer","children","View","switchBar","switchDot","create","width","overflow","height","borderRadius","position","justifyContent","alignItems"],"sourceRoot":"../../../../../src","sources":["presentation/components/molecules/UISwitch.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,cAAc;AACzC,OAAOC,KAAK,MAAM,OAAO;AAEzB,OAAOC,QAAQ,IACbC,gBAAgB,EAChBC,cAAc,EACdC,UAAU,QACL,yBAAyB;AAChC,SAASC,KAAK,QAAQ,mBAAgB;AACtC,SAASC,OAAO,QAAQ,mBAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAUnC,OAAO,MAAMC,QAAQ,GAAGA,CAAC;EACvBC,QAAQ;EACRC,QAAQ,GAAGR,KAAK,CAACS,KAAK,CAACC,OAAO,CAACC,KAAK,CAAC,IAAI,CAAC;EAC1CC,gBAAgB,GAAGZ,KAAK,CAACS,KAAK,CAACI,KAAK,CAACC,MAAM,CAAC,KAAK,CAAC;EAClDC,QAAQ,GAAG,MAAM;EACjBC,gBAAgB,GAAG;AACd,CAAC,KAAK;EACX,MAAMC,UAAU,GAAGnB,cAAc,CAACoB,OAAO,CAACX,QAAQ,CAAC,CAAC;EAEpD,MAAMY,QAAQ,GAAGtB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E;IACTE,MAAM,EAAE,EAAE;IACVnB,eAAe,EAAEpB,KAAK,CAACS,KAAK,CAACC,OAAO,CAACC,KAAK,CAAC,IAAI,CAAC;IAChD6B,YAAY,EAAE;EAChB,CAAC;EACDL,SAAS,EAAE;IACTM,QAAQ,EAAE,UAAU;IACpBC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBN,KAAK,EAAE,EAAE;IACTE,MAAM,EAAE,EAAE;IACVC,YAAY,EAAE;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,132 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { StyleSheet, TextInput, View } from 'react-native';
5
+ import { UIIcon, UIText } from "../atoms/index.js";
6
+ import { theme } from "../../../theme.js";
7
+ import { UIButton } from "./index.js";
8
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
+ export const UITextInput = /*#__PURE__*/React.forwardRef(({
10
+ label,
11
+ style,
12
+ onFocus,
13
+ onBlur,
14
+ variant = 'contained',
15
+ startIcon,
16
+ endIcon,
17
+ containerStyle,
18
+ secureTextEntry,
19
+ wrapperStyle,
20
+ editable = true,
21
+ value,
22
+ ...props
23
+ }, ref) => {
24
+ const [hidden, setHidden] = React.useState(secureTextEntry);
25
+ const [focused, setFocused] = React.useState(false);
26
+ const toggleHidden = () => setHidden(value => !value);
27
+ return /*#__PURE__*/_jsxs(View, {
28
+ style: wrapperStyle,
29
+ children: [label && /*#__PURE__*/_jsx(UIText, {
30
+ weight: "700",
31
+ variant: "label",
32
+ style: [styles.label, focused && styles.labelFocused],
33
+ children: label
34
+ }), /*#__PURE__*/_jsxs(View, {
35
+ style: [styles.common, focused && styles.focused, Boolean(startIcon) && styles.startIcon, Boolean(endIcon) && styles.endIcon, styles[variant], containerStyle],
36
+ children: [startIcon && /*#__PURE__*/React.cloneElement(startIcon, {
37
+ focused
38
+ }), /*#__PURE__*/_jsx(TextInput, {
39
+ accessible: true,
40
+ ref: ref,
41
+ secureTextEntry: hidden,
42
+ value: value,
43
+ placeholderTextColor: theme.color.neutral.mid['60'],
44
+ selectionColor: theme.color.brand.violet['500'],
45
+ editable: editable,
46
+ style: [styles.input, variant === 'underline' && styles.inputUnderline, !editable && Boolean(value) && styles.disabled, Boolean(startIcon) && styles.startIcon, Boolean(endIcon) && styles.endIcon, style],
47
+ onFocus: e => {
48
+ setFocused(true);
49
+ onFocus?.(e);
50
+ },
51
+ onBlur: e => {
52
+ setFocused(false);
53
+ onBlur?.(e);
54
+ },
55
+ ...props
56
+ }), secureTextEntry && /*#__PURE__*/_jsx(UIButton, {
57
+ borderless: true,
58
+ style: styles.hidden,
59
+ onPress: toggleHidden,
60
+ children: /*#__PURE__*/_jsx(UIIcon, {
61
+ name: hidden ? 'eye' : 'eye-off'
62
+ })
63
+ }), endIcon && /*#__PURE__*/React.cloneElement(endIcon, {
64
+ focused
65
+ })]
66
+ })]
67
+ });
68
+ });
69
+ const styles = StyleSheet.create({
70
+ input: {
71
+ paddingLeft: 16,
72
+ paddingRight: 16,
73
+ fontSize: 14,
74
+ color: '#555',
75
+ flex: 1
76
+ },
77
+ inputUnderline: {
78
+ paddingHorizontal: 0
79
+ },
80
+ startIcon: {
81
+ paddingLeft: 12
82
+ },
83
+ endIcon: {
84
+ paddingRight: 12
85
+ },
86
+ common: {
87
+ flexDirection: 'row',
88
+ overflow: 'hidden',
89
+ borderRadius: 8,
90
+ alignItems: 'center',
91
+ minHeight: 40
92
+ },
93
+ label: {
94
+ color: theme.color.neutral.dark['80'],
95
+ marginBottom: theme.spacing.md,
96
+ fontWeight: '600'
97
+ },
98
+ labelFocused: {
99
+ color: theme.color.brand.violet['500']
100
+ },
101
+ focused: {
102
+ borderColor: theme.color.brand.violet['500'],
103
+ borderBottomColor: theme.color.brand.violet['500']
104
+ },
105
+ contained: {
106
+ backgroundColor: theme.color.neutral.light['05'],
107
+ borderBottomColor: theme.color.neutral.light['50'],
108
+ borderBottomWidth: 1,
109
+ borderBottomLeftRadius: 0,
110
+ borderBottomRightRadius: 0
111
+ },
112
+ underline: {
113
+ borderRadius: 0,
114
+ borderBottomWidth: 1,
115
+ borderBottomColor: theme.color.neutral.light['50'],
116
+ paddingLeft: 0
117
+ },
118
+ outlined: {
119
+ borderWidth: 1,
120
+ borderColor: theme.color.neutral.light['50']
121
+ },
122
+ hidden: {
123
+ padding: 4,
124
+ paddingTop: 6,
125
+ marginRight: 4
126
+ },
127
+ disabled: {
128
+ color: theme.color.brand.violet['500'],
129
+ fontWeight: '700'
130
+ }
131
+ });
132
+ //# sourceMappingURL=UITextInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","StyleSheet","TextInput","View","UIIcon","UIText","theme","UIButton","jsx","_jsx","jsxs","_jsxs","UITextInput","forwardRef","label","style","onFocus","onBlur","variant","startIcon","endIcon","containerStyle","secureTextEntry","wrapperStyle","editable","value","props","ref","hidden","setHidden","useState","focused","setFocused","toggleHidden","children","weight","styles","labelFocused","common","Boolean","cloneElement","accessible","placeholderTextColor","color","neutral","mid","selectionColor","brand","violet","input","inputUnderline","disabled","e","borderless","onPress","name","create","paddingLeft","paddingRight","fontSize","flex","paddingHorizontal","flexDirection","overflow","borderRadius","alignItems","minHeight","dark","marginBottom","spacing","md","fontWeight","borderColor","borderBottomColor","contained","backgroundColor","light","borderBottomWidth","borderBottomLeftRadius","borderBottomRightRadius","underline","outlined","borderWidth","padding","paddingTop","marginRight"],"sourceRoot":"../../../../../src","sources":["presentation/components/molecules/UITextInput.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,SAAS,EAAEC,IAAI,QAAQ,cAAc;AAE1D,SAASC,MAAM,EAAEC,MAAM,QAAQ,mBAAU;AACzC,SAASC,KAAK,QAAQ,mBAAgB;AACtC,SAASC,QAAQ,QAAqB,YAAG;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAW1C,OAAO,MAAMC,WA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AuB,EAAE;EAC3B,CAAC;EACDC,SAAS,EAAE;IACThB,YAAY,EAAE,CAAC;IACfa,iBAAiB,EAAE,CAAC;IACpBJ,iBAAiB,EAAEnE,KAAK,CAACqC,KAAK,CAACC,OAAO,CAACgC,KAAK,CAAC,IAAI,CAAC;IAClDnB,WAAW,EAAE;EACf,CAAC;EACDwB,QAAQ,EAAE;IAAEC,WAAW,EAAE,CAAC;IAAEV,WAAW,EAAElE,KAAK,CAACqC,KAAK,CAACC,OAAO,CAACgC,KAAK,CAAC,IAAI;EAAE,CAAC;EAC1EhD,MAAM,EAAE;IACNuD,OAAO,EAAE,CAAC;IACVC,UAAU,EAAE,CAAC;IACbC,WAAW,EAAE;EACf,CAAC;EACDlC,QAAQ,EAAE;IACRR,KAAK,EAAErC,KAAK,CAACqC,KAAK,CAACI,KAAK,CAACC,MAAM,CAAC,KAAK,CAAC;IACtCuB,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,133 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { StyleSheet, View } from 'react-native';
5
+ import MaskInput from 'react-native-mask-input';
6
+ import { UIIcon, UIText } from "../atoms/index.js";
7
+ import { theme } from "../../../theme.js";
8
+ import { UIButton } from "./index.js";
9
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
+ export const UITextInputMask = /*#__PURE__*/React.forwardRef(({
11
+ label,
12
+ style,
13
+ onFocus,
14
+ onBlur,
15
+ variant = 'contained',
16
+ startIcon,
17
+ endIcon,
18
+ containerStyle,
19
+ secureTextEntry,
20
+ wrapperStyle,
21
+ mask,
22
+ value,
23
+ editable = true,
24
+ ...props
25
+ }, ref) => {
26
+ const [hidden, setHidden] = React.useState(secureTextEntry);
27
+ const [focused, setFocused] = React.useState(false);
28
+ const toggleHidden = () => setHidden(value => !value);
29
+ return /*#__PURE__*/_jsxs(View, {
30
+ style: wrapperStyle,
31
+ children: [label && /*#__PURE__*/_jsx(UIText, {
32
+ weight: "700",
33
+ variant: "label",
34
+ style: [styles.label, focused && styles.labelFocused],
35
+ children: label
36
+ }), /*#__PURE__*/_jsxs(View, {
37
+ style: [styles.common, focused && styles.focused, styles[variant], containerStyle],
38
+ children: [startIcon && /*#__PURE__*/React.cloneElement(startIcon, {
39
+ focused
40
+ }), /*#__PURE__*/_jsx(MaskInput, {
41
+ ref: ref,
42
+ value: value,
43
+ secureTextEntry: hidden,
44
+ placeholderTextColor: theme.color.neutral.mid['60'],
45
+ selectionColor: theme.color.brand.violet['500'],
46
+ editable: editable,
47
+ style: [styles.input, variant === 'underline' && styles.inputUnderline, Boolean(startIcon) && styles.startIcon, Boolean(endIcon) && styles.endIcon, !editable && Boolean(value) && styles.disabled, style],
48
+ onFocus: e => {
49
+ setFocused(true);
50
+ onFocus?.(e);
51
+ },
52
+ onBlur: e => {
53
+ setFocused(false);
54
+ onBlur?.(e);
55
+ },
56
+ mask: mask,
57
+ ...props
58
+ }), secureTextEntry && /*#__PURE__*/_jsx(UIButton, {
59
+ borderless: true,
60
+ style: styles.hidden,
61
+ onPress: toggleHidden,
62
+ children: /*#__PURE__*/_jsx(UIIcon, {
63
+ name: hidden ? 'eye' : 'eye-off'
64
+ })
65
+ }), endIcon && /*#__PURE__*/React.cloneElement(endIcon, {
66
+ focused
67
+ })]
68
+ })]
69
+ });
70
+ });
71
+ const styles = StyleSheet.create({
72
+ input: {
73
+ paddingHorizontal: 16,
74
+ fontSize: 14,
75
+ color: '#555',
76
+ flex: 1
77
+ },
78
+ inputUnderline: {
79
+ paddingHorizontal: 0
80
+ },
81
+ startIcon: {
82
+ paddingLeft: 8
83
+ },
84
+ endIcon: {
85
+ paddingRight: 8
86
+ },
87
+ common: {
88
+ flexDirection: 'row',
89
+ overflow: 'hidden',
90
+ borderRadius: 8,
91
+ alignItems: 'center',
92
+ minHeight: 40
93
+ },
94
+ label: {
95
+ color: theme.color.neutral.dark['80'],
96
+ marginBottom: theme.spacing.md,
97
+ fontWeight: '600'
98
+ },
99
+ labelFocused: {
100
+ color: theme.color.brand.violet['500']
101
+ },
102
+ focused: {
103
+ borderColor: theme.color.brand.violet['500'],
104
+ borderBottomColor: theme.color.brand.violet['500']
105
+ },
106
+ contained: {
107
+ backgroundColor: theme.color.neutral.light['05'],
108
+ borderBottomColor: theme.color.neutral.light['50'],
109
+ borderBottomWidth: 1,
110
+ borderBottomLeftRadius: 0,
111
+ borderBottomRightRadius: 0
112
+ },
113
+ underline: {
114
+ borderRadius: 0,
115
+ borderBottomWidth: 1,
116
+ borderBottomColor: theme.color.neutral.light['50'],
117
+ paddingLeft: 0
118
+ },
119
+ outlined: {
120
+ borderWidth: 1,
121
+ borderColor: theme.color.neutral.light['50']
122
+ },
123
+ hidden: {
124
+ padding: 4,
125
+ paddingTop: 6,
126
+ marginRight: 4
127
+ },
128
+ disabled: {
129
+ color: theme.color.brand.violet['500'],
130
+ fontWeight: '700'
131
+ }
132
+ });
133
+ //# sourceMappingURL=UITextInputMask.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","StyleSheet","View","MaskInput","UIIcon","UIText","theme","UIButton","jsx","_jsx","jsxs","_jsxs","UITextInputMask","forwardRef","label","style","onFocus","onBlur","variant","startIcon","endIcon","containerStyle","secureTextEntry","wrapperStyle","mask","value","editable","props","ref","hidden","setHidden","useState","focused","setFocused","toggleHidden","children","weight","styles","labelFocused","common","cloneElement","placeholderTextColor","color","neutral","mid","selectionColor","brand","violet","input","inputUnderline","Boolean","disabled","e","borderless","onPress","name","create","paddingHorizontal","fontSize","flex","paddingLeft","paddingRight","flexDirection","overflow","borderRadius","alignItems","minHeight","dark","marginBottom","spacing","md","fontWeight","borderColor","borderBottomColor","contained","backgroundColor","light","borderBottomWidth","borderBottomLeftRadius","borderBottomRightRadius","underline","outlined","borderWidth","padding","paddingTop","marginRight"],"sourceRoot":"../../../../../src","sources":["presentation/components/molecules/UITextInputMask.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SA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ChDH,iBAAiB,EAAEnE,KAAK,CAACoC,KAAK,CAACC,OAAO,CAACiC,KAAK,CAAC,IAAI,CAAC;IAClDC,iBAAiB,EAAE,CAAC;IACpBC,sBAAsB,EAAE,CAAC;IACzBC,uBAAuB,EAAE;EAC3B,CAAC;EACDC,SAAS,EAAE;IACThB,YAAY,EAAE,CAAC;IACfa,iBAAiB,EAAE,CAAC;IACpBJ,iBAAiB,EAAEnE,KAAK,CAACoC,KAAK,CAACC,OAAO,CAACiC,KAAK,CAAC,IAAI,CAAC;IAClDhB,WAAW,EAAE;EACf,CAAC;EACDqB,QAAQ,EAAE;IAAEC,WAAW,EAAE,CAAC;IAAEV,WAAW,EAAElE,KAAK,CAACoC,KAAK,CAACC,OAAO,CAACiC,KAAK,CAAC,IAAI;EAAE,CAAC;EAC1E/C,MAAM,EAAE;IACNsD,OAAO,EAAE,CAAC;IACVC,UAAU,EAAE,CAAC;IACbC,WAAW,EAAE;EACf,CAAC;EACDlC,QAAQ,EAAE;IACRT,KAAK,EAAEpC,KAAK,CAACoC,KAAK,CAACI,KAAK,CAACC,MAAM,CAAC,KAAK,CAAC;IACtCwB,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ export * from "./UITextInput.js";
4
+ export * from "./UIButton.js";
5
+ export * from "./UIActionSheet.js";
6
+ export * from "./UIRadioInput.js";
7
+ export * from "./UIInputIcon.js";
8
+ export * from "./UIChip.js";
9
+ export * from "./UICheckboxInput.js";
10
+ export * from "./UIList.js";
11
+ export * from "./UIImage.js";
12
+ export * from "./UIDataList.js";
13
+ export * from "./UIDatetimeInput.js";
14
+ export * from "./UISwitch.js";
15
+ export * from "./UITextInputMask.js";
16
+ export * from "./UISkeleton.js";
17
+ export * from "./UIError.js";
18
+ export * from "./UICurrencyInput.js";
19
+ export * from "./UIButtonCTA.js";
20
+ export * from "./UIDataSectionList.js";
21
+ export * from "./UISectionList.js";
22
+ export * from "./UIInlineDatePicker.js";
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["presentation/components/molecules/index.ts"],"mappings":";;AAAA,cAAc,kBAAe;AAC7B,cAAc,eAAY;AAC1B,cAAc,oBAAiB;AAC/B,cAAc,mBAAgB;AAC9B,cAAc,kBAAe;AAC7B,cAAc,aAAU;AACxB,cAAc,sBAAmB;AACjC,cAAc,aAAU;AACxB,cAAc,cAAW;AACzB,cAAc,iBAAc;AAC5B,cAAc,sBAAmB;AACjC,cAAc,eAAY;AAC1B,cAAc,sBAAmB;AACjC,cAAc,iBAAc;AAC5B,cAAc,cAAW;AACzB,cAAc,sBAAmB;AACjC,cAAc,kBAAe;AAC7B,cAAc,wBAAqB;AACnC,cAAc,oBAAiB;AAC/B,cAAc,yBAAsB","ignoreList":[]}