@ovok/native 1.6.0 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (758) hide show
  1. package/README.md +8 -2
  2. package/android/src/main/AndroidManifest.xml +1 -20
  3. package/android/src/main/java/com/ovok/sdk/backgroundsync/OvokBackgroundSyncModule.java +25 -3
  4. package/android/src/main/java/com/ovok/sdk/backgroundsync/OvokHealthConnectWorker.java +6 -2
  5. package/app.plugin.js +86 -7
  6. package/lib/commonjs/index.js +5 -115
  7. package/lib/commonjs/index.js.map +1 -1
  8. package/lib/commonjs/modules/auth/default-translation.js +69 -0
  9. package/lib/commonjs/modules/auth/default-translation.js.map +1 -0
  10. package/lib/commonjs/modules/auth/delete-account-button/components/delete-account-button.js +2 -0
  11. package/lib/commonjs/modules/auth/delete-account-button/components/delete-account-button.js.map +1 -1
  12. package/lib/commonjs/modules/auth/hooks/use-session.js +47 -17
  13. package/lib/commonjs/modules/auth/hooks/use-session.js.map +1 -1
  14. package/lib/commonjs/modules/auth/index.js +1 -0
  15. package/lib/commonjs/modules/auth/index.js.map +1 -1
  16. package/lib/commonjs/modules/auth/logout-button/components/logout-button.js +30 -3
  17. package/lib/commonjs/modules/auth/logout-button/components/logout-button.js.map +1 -1
  18. package/lib/commonjs/modules/auth/profile/components/profile-form.js +0 -1
  19. package/lib/commonjs/modules/auth/profile/components/profile-form.js.map +1 -1
  20. package/lib/commonjs/modules/auth/register/components/form/inputs.js +10 -8
  21. package/lib/commonjs/modules/auth/register/components/form/inputs.js.map +1 -1
  22. package/lib/commonjs/modules/auth/register/components/form/register-button.js +2 -2
  23. package/lib/commonjs/modules/auth/register/components/form/register-button.js.map +1 -1
  24. package/lib/commonjs/modules/auth/register/components/header/description.js +0 -1
  25. package/lib/commonjs/modules/auth/register/components/header/description.js.map +1 -1
  26. package/lib/commonjs/modules/auth/register/components/header/title.js +5 -2
  27. package/lib/commonjs/modules/auth/register/components/header/title.js.map +1 -1
  28. package/lib/commonjs/modules/auth/register/components/login-link.js +4 -3
  29. package/lib/commonjs/modules/auth/register/components/login-link.js.map +1 -1
  30. package/lib/commonjs/modules/auth/register/components/register-with-separator.js +1 -2
  31. package/lib/commonjs/modules/auth/register/components/register-with-separator.js.map +1 -1
  32. package/lib/commonjs/modules/auth/reset-password/components/form/inputs.js +6 -3
  33. package/lib/commonjs/modules/auth/reset-password/components/form/inputs.js.map +1 -1
  34. package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-button.js +2 -2
  35. package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-button.js.map +1 -1
  36. package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js +6 -2
  37. package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
  38. package/lib/commonjs/modules/auth/reset-password/components/header/description.js +0 -1
  39. package/lib/commonjs/modules/auth/reset-password/components/header/description.js.map +1 -1
  40. package/lib/commonjs/modules/auth/reset-password/components/header/title.js +5 -2
  41. package/lib/commonjs/modules/auth/reset-password/components/header/title.js.map +1 -1
  42. package/lib/commonjs/modules/auth/session/components/session-list.js +8 -6
  43. package/lib/commonjs/modules/auth/session/components/session-list.js.map +1 -1
  44. package/lib/commonjs/modules/auth/sign-in/components/footer.js +0 -1
  45. package/lib/commonjs/modules/auth/sign-in/components/footer.js.map +1 -1
  46. package/lib/commonjs/modules/auth/sign-in/components/form/inputs.js +4 -3
  47. package/lib/commonjs/modules/auth/sign-in/components/form/inputs.js.map +1 -1
  48. package/lib/commonjs/modules/auth/sign-in/components/form/signin-button.js +2 -2
  49. package/lib/commonjs/modules/auth/sign-in/components/form/signin-button.js.map +1 -1
  50. package/lib/commonjs/modules/auth/sign-in/components/header/description.js +0 -1
  51. package/lib/commonjs/modules/auth/sign-in/components/header/description.js.map +1 -1
  52. package/lib/commonjs/modules/auth/sign-in/components/header/title.js +5 -2
  53. package/lib/commonjs/modules/auth/sign-in/components/header/title.js.map +1 -1
  54. package/lib/commonjs/modules/auth/sign-in/components/login-with-separator.js +1 -2
  55. package/lib/commonjs/modules/auth/sign-in/components/login-with-separator.js.map +1 -1
  56. package/lib/commonjs/modules/auth/sign-in/components/register-link.js +4 -3
  57. package/lib/commonjs/modules/auth/sign-in/components/register-link.js.map +1 -1
  58. package/lib/commonjs/modules/auth/sign-in/components/site-url.js +1 -3
  59. package/lib/commonjs/modules/auth/sign-in/components/site-url.js.map +1 -1
  60. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-text.js +1 -3
  61. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-text.js.map +1 -1
  62. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-text.js +1 -3
  63. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-text.js.map +1 -1
  64. package/lib/commonjs/modules/auth/utils/sign-out-google.js +16 -0
  65. package/lib/commonjs/modules/auth/utils/sign-out-google.js.map +1 -0
  66. package/lib/commonjs/modules/background-sync/background-safe-storage.js +3 -6
  67. package/lib/commonjs/modules/background-sync/background-safe-storage.js.map +1 -1
  68. package/lib/commonjs/modules/breathing-exercise/components/method-name.js +0 -1
  69. package/lib/commonjs/modules/breathing-exercise/components/method-name.js.map +1 -1
  70. package/lib/commonjs/modules/breathing-exercise/components/remaining-time.js +0 -1
  71. package/lib/commonjs/modules/breathing-exercise/components/remaining-time.js.map +1 -1
  72. package/lib/commonjs/modules/bt-device/components/item/status.js +1 -2
  73. package/lib/commonjs/modules/bt-device/components/item/status.js.map +1 -1
  74. package/lib/commonjs/modules/bt-device/components/item/sub-title.js +1 -2
  75. package/lib/commonjs/modules/bt-device/components/item/sub-title.js.map +1 -1
  76. package/lib/commonjs/modules/bt-device/components/item/title.js +1 -2
  77. package/lib/commonjs/modules/bt-device/components/item/title.js.map +1 -1
  78. package/lib/commonjs/modules/bt-device/constants/supported-devices.js +4 -2
  79. package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
  80. package/lib/commonjs/modules/bt-device/index.js +0 -22
  81. package/lib/commonjs/modules/bt-device/index.js.map +1 -1
  82. package/lib/commonjs/modules/bt-device-instructions/index.js +39 -0
  83. package/lib/commonjs/modules/bt-device-instructions/index.js.map +1 -0
  84. package/lib/commonjs/modules/bt-management/components/android-bluetooth-foreground-service.js +64 -0
  85. package/lib/commonjs/modules/bt-management/components/android-bluetooth-foreground-service.js.map +1 -0
  86. package/lib/commonjs/modules/bt-management/components/bluetooth-device-picker.js +2 -1
  87. package/lib/commonjs/modules/bt-management/components/bluetooth-device-picker.js.map +1 -1
  88. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js +43 -54
  89. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  90. package/lib/commonjs/modules/bt-management/constants/measurement-field-catalog.js +18 -1
  91. package/lib/commonjs/modules/bt-management/constants/measurement-field-catalog.js.map +1 -1
  92. package/lib/commonjs/modules/bt-management/hooks/runtime-context.js +56 -1
  93. package/lib/commonjs/modules/bt-management/hooks/runtime-context.js.map +1 -1
  94. package/lib/commonjs/modules/bt-management/hooks/use-background-sync.js +8 -4
  95. package/lib/commonjs/modules/bt-management/hooks/use-background-sync.js.map +1 -1
  96. package/lib/commonjs/modules/bt-management/hooks/use-device-connection.js +5 -1
  97. package/lib/commonjs/modules/bt-management/hooks/use-device-connection.js.map +1 -1
  98. package/lib/commonjs/modules/bt-management/hooks/use-health-import.js +48 -12
  99. package/lib/commonjs/modules/bt-management/hooks/use-health-import.js.map +1 -1
  100. package/lib/commonjs/modules/bt-management/hooks/use-measurements.js +40 -18
  101. package/lib/commonjs/modules/bt-management/hooks/use-measurements.js.map +1 -1
  102. package/lib/commonjs/modules/bt-management/hooks/use-nearby-devices.js +8 -1
  103. package/lib/commonjs/modules/bt-management/hooks/use-nearby-devices.js.map +1 -1
  104. package/lib/commonjs/modules/bt-management/hooks/use-paired-devices.js +27 -9
  105. package/lib/commonjs/modules/bt-management/hooks/use-paired-devices.js.map +1 -1
  106. package/lib/commonjs/modules/bt-management/hooks/use-request-permissions.js +5 -8
  107. package/lib/commonjs/modules/bt-management/hooks/use-request-permissions.js.map +1 -1
  108. package/lib/commonjs/modules/bt-management/hooks/use-scan-control.js +21 -0
  109. package/lib/commonjs/modules/bt-management/hooks/use-scan-control.js.map +1 -0
  110. package/lib/commonjs/modules/bt-management/index.js +22 -0
  111. package/lib/commonjs/modules/bt-management/index.js.map +1 -1
  112. package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js +4 -1
  113. package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -1
  114. package/lib/commonjs/modules/bt-management/services/bt-manager.js +75 -37
  115. package/lib/commonjs/modules/bt-management/services/bt-manager.js.map +1 -1
  116. package/lib/commonjs/modules/bt-management/services/devices/boso/boso.medicus.js +9 -6
  117. package/lib/commonjs/modules/bt-management/services/devices/boso/boso.medicus.js.map +1 -1
  118. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js +97 -2
  119. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
  120. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.files.js +74 -0
  121. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.files.js.map +1 -0
  122. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.history-sequencer.js +52 -0
  123. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.history-sequencer.js.map +1 -0
  124. package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js +4 -3
  125. package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
  126. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js +43 -28
  127. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  128. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +10 -1
  129. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  130. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.file-transfer.js +2 -1
  131. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.file-transfer.js.map +1 -1
  132. package/lib/commonjs/modules/bt-management/services/push-notification.js +39 -0
  133. package/lib/commonjs/modules/bt-management/services/push-notification.js.map +1 -0
  134. package/lib/commonjs/modules/bt-management/testing/fake-ble-manager.js +81 -1
  135. package/lib/commonjs/modules/bt-management/testing/fake-ble-manager.js.map +1 -1
  136. package/lib/commonjs/modules/bt-management/types/bluetooth-error.js +8 -2
  137. package/lib/commonjs/modules/bt-management/types/bluetooth-error.js.map +1 -1
  138. package/lib/commonjs/modules/bt-management/utils/device-title.js +17 -0
  139. package/lib/commonjs/modules/bt-management/utils/device-title.js.map +1 -0
  140. package/lib/commonjs/modules/bt-management/utils/result-identity.js +1 -1
  141. package/lib/commonjs/modules/bt-management/utils/result-identity.js.map +1 -1
  142. package/lib/commonjs/modules/content/content-card/components/cover-badge.js +1 -3
  143. package/lib/commonjs/modules/content/content-card/components/cover-badge.js.map +1 -1
  144. package/lib/commonjs/modules/content/content-card/components/title.js +1 -3
  145. package/lib/commonjs/modules/content/content-card/components/title.js.map +1 -1
  146. package/lib/commonjs/modules/content/content-detail/components/content-detail-rich-content.js +1 -1
  147. package/lib/commonjs/modules/content/content-detail/components/content-detail-rich-content.js.map +1 -1
  148. package/lib/commonjs/modules/data-sync/components/android/android-health-connect-authorization-provider.js +12 -3
  149. package/lib/commonjs/modules/data-sync/components/android/android-health-connect-authorization-provider.js.map +1 -1
  150. package/lib/commonjs/modules/data-sync/components/manually-request-sheet/description.js +2 -2
  151. package/lib/commonjs/modules/data-sync/components/manually-request-sheet/description.js.map +1 -1
  152. package/lib/commonjs/modules/data-sync/components/manually-request-sheet/title.js +0 -1
  153. package/lib/commonjs/modules/data-sync/components/manually-request-sheet/title.js.map +1 -1
  154. package/lib/commonjs/modules/data-sync/components/sync-progress-list/sync-progress-list.js +30 -21
  155. package/lib/commonjs/modules/data-sync/components/sync-progress-list/sync-progress-list.js.map +1 -1
  156. package/lib/commonjs/modules/data-sync/services/base-health-sync-service.js +7 -1
  157. package/lib/commonjs/modules/data-sync/services/base-health-sync-service.js.map +1 -1
  158. package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js +13 -0
  159. package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
  160. package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js +19 -4
  161. package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
  162. package/lib/commonjs/modules/data-sync/utils/generate-observation-entry.js +30 -21
  163. package/lib/commonjs/modules/data-sync/utils/generate-observation-entry.js.map +1 -1
  164. package/lib/commonjs/modules/data-sync/utils/health-observation-device.js +55 -0
  165. package/lib/commonjs/modules/data-sync/utils/health-observation-device.js.map +1 -0
  166. package/lib/commonjs/modules/data-sync/utils/retry-save.js +40 -6
  167. package/lib/commonjs/modules/data-sync/utils/retry-save.js.map +1 -1
  168. package/lib/commonjs/modules/diary/components/no-data.js +1 -2
  169. package/lib/commonjs/modules/diary/components/no-data.js.map +1 -1
  170. package/lib/commonjs/modules/helpers/form-items/form-date-field.js +1 -1
  171. package/lib/commonjs/modules/helpers/form-items/form-date-field.js.map +1 -1
  172. package/lib/commonjs/modules/helpers/form-items/form-select.js +13 -13
  173. package/lib/commonjs/modules/helpers/form-items/form-select.js.map +1 -1
  174. package/lib/commonjs/modules/helpers/index.js +11 -4
  175. package/lib/commonjs/modules/helpers/index.js.map +1 -1
  176. package/lib/commonjs/modules/helpers/utils/sentry-logger.js +2 -3
  177. package/lib/commonjs/modules/helpers/utils/sentry-logger.js.map +1 -1
  178. package/lib/commonjs/modules/helpers/utils/telemetry.js +133 -46
  179. package/lib/commonjs/modules/helpers/utils/telemetry.js.map +1 -1
  180. package/lib/commonjs/modules/image/components/optimized-image.js +29 -8
  181. package/lib/commonjs/modules/image/components/optimized-image.js.map +1 -1
  182. package/lib/commonjs/modules/journal/past-journal/components/title.js +0 -1
  183. package/lib/commonjs/modules/journal/past-journal/components/title.js.map +1 -1
  184. package/lib/commonjs/modules/language-switcher/components/option/label.js +0 -1
  185. package/lib/commonjs/modules/language-switcher/components/option/label.js.map +1 -1
  186. package/lib/commonjs/modules/measurement/components/date-range.js +4 -3
  187. package/lib/commonjs/modules/measurement/components/date-range.js.map +1 -1
  188. package/lib/commonjs/modules/measurement/components/measurement-list-item.js +10 -10
  189. package/lib/commonjs/modules/measurement/components/measurement-list-item.js.map +1 -1
  190. package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js +1 -1
  191. package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js.map +1 -1
  192. package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form-provider.js +3 -1
  193. package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form-provider.js.map +1 -1
  194. package/lib/commonjs/modules/setting/components/list-header.js +1 -2
  195. package/lib/commonjs/modules/setting/components/list-header.js.map +1 -1
  196. package/lib/commonjs/modules/setting/components/setting-list-item.js +0 -1
  197. package/lib/commonjs/modules/setting/components/setting-list-item.js.map +1 -1
  198. package/lib/commonjs/modules/tab/components/tab-item.js +0 -1
  199. package/lib/commonjs/modules/tab/components/tab-item.js.map +1 -1
  200. package/lib/commonjs/modules/theme/utils/generate-theme.js +35 -4
  201. package/lib/commonjs/modules/theme/utils/generate-theme.js.map +1 -1
  202. package/lib/commonjs/modules/tile/components/measured-value.js +0 -3
  203. package/lib/commonjs/modules/tile/components/measured-value.js.map +1 -1
  204. package/lib/commonjs/modules/tile/components/title.js +0 -1
  205. package/lib/commonjs/modules/tile/components/title.js.map +1 -1
  206. package/lib/commonjs/modules/tile/constants/measurement-icon-svg.js +4 -1
  207. package/lib/commonjs/modules/tile/constants/measurement-icon-svg.js.map +1 -1
  208. package/lib/commonjs/modules/ui/components/background-sync-setting.js +20 -4
  209. package/lib/commonjs/modules/ui/components/background-sync-setting.js.map +1 -1
  210. package/lib/commonjs/modules/ui/components/bluetooth-state-notice.js +33 -6
  211. package/lib/commonjs/modules/ui/components/bluetooth-state-notice.js.map +1 -1
  212. package/lib/commonjs/modules/ui/components/ecg-strip-viewer.js +10 -0
  213. package/lib/commonjs/modules/ui/components/ecg-strip-viewer.js.map +1 -1
  214. package/lib/commonjs/modules/ui/components/health-import-card.js +25 -2
  215. package/lib/commonjs/modules/ui/components/health-import-card.js.map +1 -1
  216. package/lib/commonjs/modules/ui/components/manual-entry-form.js +14 -1
  217. package/lib/commonjs/modules/ui/components/manual-entry-form.js.map +1 -1
  218. package/lib/commonjs/modules/ui/components/measurement-trend-chart.js +95 -0
  219. package/lib/commonjs/modules/ui/components/measurement-trend-chart.js.map +1 -0
  220. package/lib/commonjs/modules/ui/components/pairing-flow.js +103 -34
  221. package/lib/commonjs/modules/ui/components/pairing-flow.js.map +1 -1
  222. package/lib/commonjs/modules/ui/components/supported-devices-catalog-list.js +11 -4
  223. package/lib/commonjs/modules/ui/components/supported-devices-catalog-list.js.map +1 -1
  224. package/lib/commonjs/modules/ui/components/urine-test-result.js +7 -2
  225. package/lib/commonjs/modules/ui/components/urine-test-result.js.map +1 -1
  226. package/lib/commonjs/modules/ui/index.js +11 -0
  227. package/lib/commonjs/modules/ui/index.js.map +1 -1
  228. package/lib/commonjs/modules/ui/use-ovok-ui.js +5 -2
  229. package/lib/commonjs/modules/ui/use-ovok-ui.js.map +1 -1
  230. package/lib/module/index.js +3 -10
  231. package/lib/module/index.js.map +1 -1
  232. package/lib/module/modules/auth/default-translation.js +68 -0
  233. package/lib/module/modules/auth/default-translation.js.map +1 -0
  234. package/lib/module/modules/auth/delete-account-button/components/delete-account-button.js +2 -0
  235. package/lib/module/modules/auth/delete-account-button/components/delete-account-button.js.map +1 -1
  236. package/lib/module/modules/auth/hooks/use-session.js +47 -17
  237. package/lib/module/modules/auth/hooks/use-session.js.map +1 -1
  238. package/lib/module/modules/auth/index.js +1 -0
  239. package/lib/module/modules/auth/index.js.map +1 -1
  240. package/lib/module/modules/auth/logout-button/components/logout-button.js +30 -3
  241. package/lib/module/modules/auth/logout-button/components/logout-button.js.map +1 -1
  242. package/lib/module/modules/auth/profile/components/profile-form.js +0 -1
  243. package/lib/module/modules/auth/profile/components/profile-form.js.map +1 -1
  244. package/lib/module/modules/auth/register/components/form/inputs.js +10 -8
  245. package/lib/module/modules/auth/register/components/form/inputs.js.map +1 -1
  246. package/lib/module/modules/auth/register/components/form/register-button.js +2 -2
  247. package/lib/module/modules/auth/register/components/form/register-button.js.map +1 -1
  248. package/lib/module/modules/auth/register/components/header/description.js +0 -1
  249. package/lib/module/modules/auth/register/components/header/description.js.map +1 -1
  250. package/lib/module/modules/auth/register/components/header/title.js +5 -2
  251. package/lib/module/modules/auth/register/components/header/title.js.map +1 -1
  252. package/lib/module/modules/auth/register/components/login-link.js +4 -3
  253. package/lib/module/modules/auth/register/components/login-link.js.map +1 -1
  254. package/lib/module/modules/auth/register/components/register-with-separator.js +1 -2
  255. package/lib/module/modules/auth/register/components/register-with-separator.js.map +1 -1
  256. package/lib/module/modules/auth/reset-password/components/form/inputs.js +6 -3
  257. package/lib/module/modules/auth/reset-password/components/form/inputs.js.map +1 -1
  258. package/lib/module/modules/auth/reset-password/components/form/reset-password-button.js +2 -2
  259. package/lib/module/modules/auth/reset-password/components/form/reset-password-button.js.map +1 -1
  260. package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js +6 -2
  261. package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
  262. package/lib/module/modules/auth/reset-password/components/header/description.js +0 -1
  263. package/lib/module/modules/auth/reset-password/components/header/description.js.map +1 -1
  264. package/lib/module/modules/auth/reset-password/components/header/title.js +5 -2
  265. package/lib/module/modules/auth/reset-password/components/header/title.js.map +1 -1
  266. package/lib/module/modules/auth/session/components/session-list.js +8 -6
  267. package/lib/module/modules/auth/session/components/session-list.js.map +1 -1
  268. package/lib/module/modules/auth/sign-in/components/footer.js +0 -1
  269. package/lib/module/modules/auth/sign-in/components/footer.js.map +1 -1
  270. package/lib/module/modules/auth/sign-in/components/form/inputs.js +4 -3
  271. package/lib/module/modules/auth/sign-in/components/form/inputs.js.map +1 -1
  272. package/lib/module/modules/auth/sign-in/components/form/signin-button.js +2 -2
  273. package/lib/module/modules/auth/sign-in/components/form/signin-button.js.map +1 -1
  274. package/lib/module/modules/auth/sign-in/components/header/description.js +0 -1
  275. package/lib/module/modules/auth/sign-in/components/header/description.js.map +1 -1
  276. package/lib/module/modules/auth/sign-in/components/header/title.js +5 -2
  277. package/lib/module/modules/auth/sign-in/components/header/title.js.map +1 -1
  278. package/lib/module/modules/auth/sign-in/components/login-with-separator.js +1 -2
  279. package/lib/module/modules/auth/sign-in/components/login-with-separator.js.map +1 -1
  280. package/lib/module/modules/auth/sign-in/components/register-link.js +4 -3
  281. package/lib/module/modules/auth/sign-in/components/register-link.js.map +1 -1
  282. package/lib/module/modules/auth/sign-in/components/site-url.js +1 -3
  283. package/lib/module/modules/auth/sign-in/components/site-url.js.map +1 -1
  284. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-text.js +1 -3
  285. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-text.js.map +1 -1
  286. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-text.js +1 -3
  287. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-text.js.map +1 -1
  288. package/lib/module/modules/auth/utils/sign-out-google.js +12 -0
  289. package/lib/module/modules/auth/utils/sign-out-google.js.map +1 -0
  290. package/lib/module/modules/background-sync/background-safe-storage.js +3 -6
  291. package/lib/module/modules/background-sync/background-safe-storage.js.map +1 -1
  292. package/lib/module/modules/breathing-exercise/components/method-name.js +0 -1
  293. package/lib/module/modules/breathing-exercise/components/method-name.js.map +1 -1
  294. package/lib/module/modules/breathing-exercise/components/remaining-time.js +0 -1
  295. package/lib/module/modules/breathing-exercise/components/remaining-time.js.map +1 -1
  296. package/lib/module/modules/bt-device/components/item/status.js +1 -2
  297. package/lib/module/modules/bt-device/components/item/status.js.map +1 -1
  298. package/lib/module/modules/bt-device/components/item/sub-title.js +1 -2
  299. package/lib/module/modules/bt-device/components/item/sub-title.js.map +1 -1
  300. package/lib/module/modules/bt-device/components/item/title.js +1 -2
  301. package/lib/module/modules/bt-device/components/item/title.js.map +1 -1
  302. package/lib/module/modules/bt-device/constants/supported-devices.js +4 -2
  303. package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
  304. package/lib/module/modules/bt-device/index.js +0 -2
  305. package/lib/module/modules/bt-device/index.js.map +1 -1
  306. package/lib/module/modules/bt-device-instructions/index.js +6 -0
  307. package/lib/module/modules/bt-device-instructions/index.js.map +1 -0
  308. package/lib/module/modules/bt-management/components/android-bluetooth-foreground-service.js +58 -0
  309. package/lib/module/modules/bt-management/components/android-bluetooth-foreground-service.js.map +1 -0
  310. package/lib/module/modules/bt-management/components/bluetooth-device-picker.js +2 -1
  311. package/lib/module/modules/bt-management/components/bluetooth-device-picker.js.map +1 -1
  312. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js +42 -53
  313. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  314. package/lib/module/modules/bt-management/constants/measurement-field-catalog.js +18 -1
  315. package/lib/module/modules/bt-management/constants/measurement-field-catalog.js.map +1 -1
  316. package/lib/module/modules/bt-management/hooks/runtime-context.js +56 -1
  317. package/lib/module/modules/bt-management/hooks/runtime-context.js.map +1 -1
  318. package/lib/module/modules/bt-management/hooks/use-background-sync.js +8 -4
  319. package/lib/module/modules/bt-management/hooks/use-background-sync.js.map +1 -1
  320. package/lib/module/modules/bt-management/hooks/use-device-connection.js +5 -1
  321. package/lib/module/modules/bt-management/hooks/use-device-connection.js.map +1 -1
  322. package/lib/module/modules/bt-management/hooks/use-health-import.js +48 -12
  323. package/lib/module/modules/bt-management/hooks/use-health-import.js.map +1 -1
  324. package/lib/module/modules/bt-management/hooks/use-measurements.js +40 -18
  325. package/lib/module/modules/bt-management/hooks/use-measurements.js.map +1 -1
  326. package/lib/module/modules/bt-management/hooks/use-nearby-devices.js +8 -1
  327. package/lib/module/modules/bt-management/hooks/use-nearby-devices.js.map +1 -1
  328. package/lib/module/modules/bt-management/hooks/use-paired-devices.js +27 -9
  329. package/lib/module/modules/bt-management/hooks/use-paired-devices.js.map +1 -1
  330. package/lib/module/modules/bt-management/hooks/use-request-permissions.js +5 -8
  331. package/lib/module/modules/bt-management/hooks/use-request-permissions.js.map +1 -1
  332. package/lib/module/modules/bt-management/hooks/use-scan-control.js +16 -0
  333. package/lib/module/modules/bt-management/hooks/use-scan-control.js.map +1 -0
  334. package/lib/module/modules/bt-management/index.js +2 -0
  335. package/lib/module/modules/bt-management/index.js.map +1 -1
  336. package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js +4 -1
  337. package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -1
  338. package/lib/module/modules/bt-management/services/bt-manager.js +75 -37
  339. package/lib/module/modules/bt-management/services/bt-manager.js.map +1 -1
  340. package/lib/module/modules/bt-management/services/devices/boso/boso.medicus.js +9 -6
  341. package/lib/module/modules/bt-management/services/devices/boso/boso.medicus.js.map +1 -1
  342. package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js +98 -2
  343. package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
  344. package/lib/module/modules/bt-management/services/devices/bp2/bp2.files.js +68 -0
  345. package/lib/module/modules/bt-management/services/devices/bp2/bp2.files.js.map +1 -0
  346. package/lib/module/modules/bt-management/services/devices/bp2/bp2.history-sequencer.js +48 -0
  347. package/lib/module/modules/bt-management/services/devices/bp2/bp2.history-sequencer.js.map +1 -0
  348. package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js +4 -3
  349. package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
  350. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js +44 -29
  351. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  352. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +10 -1
  353. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  354. package/lib/module/modules/bt-management/services/devices/lepu/lepu.file-transfer.js +2 -1
  355. package/lib/module/modules/bt-management/services/devices/lepu/lepu.file-transfer.js.map +1 -1
  356. package/lib/module/modules/bt-management/services/push-notification.js +34 -0
  357. package/lib/module/modules/bt-management/services/push-notification.js.map +1 -0
  358. package/lib/module/modules/bt-management/testing/fake-ble-manager.js +79 -0
  359. package/lib/module/modules/bt-management/testing/fake-ble-manager.js.map +1 -1
  360. package/lib/module/modules/bt-management/types/bluetooth-error.js +8 -2
  361. package/lib/module/modules/bt-management/types/bluetooth-error.js.map +1 -1
  362. package/lib/module/modules/bt-management/utils/device-title.js +12 -0
  363. package/lib/module/modules/bt-management/utils/device-title.js.map +1 -0
  364. package/lib/module/modules/bt-management/utils/result-identity.js +1 -1
  365. package/lib/module/modules/bt-management/utils/result-identity.js.map +1 -1
  366. package/lib/module/modules/content/content-card/components/cover-badge.js +1 -3
  367. package/lib/module/modules/content/content-card/components/cover-badge.js.map +1 -1
  368. package/lib/module/modules/content/content-card/components/title.js +1 -3
  369. package/lib/module/modules/content/content-card/components/title.js.map +1 -1
  370. package/lib/module/modules/content/content-detail/components/content-detail-rich-content.js +1 -1
  371. package/lib/module/modules/content/content-detail/components/content-detail-rich-content.js.map +1 -1
  372. package/lib/module/modules/data-sync/components/android/android-health-connect-authorization-provider.js +12 -3
  373. package/lib/module/modules/data-sync/components/android/android-health-connect-authorization-provider.js.map +1 -1
  374. package/lib/module/modules/data-sync/components/manually-request-sheet/description.js +2 -2
  375. package/lib/module/modules/data-sync/components/manually-request-sheet/description.js.map +1 -1
  376. package/lib/module/modules/data-sync/components/manually-request-sheet/title.js +0 -1
  377. package/lib/module/modules/data-sync/components/manually-request-sheet/title.js.map +1 -1
  378. package/lib/module/modules/data-sync/components/sync-progress-list/sync-progress-list.js +30 -21
  379. package/lib/module/modules/data-sync/components/sync-progress-list/sync-progress-list.js.map +1 -1
  380. package/lib/module/modules/data-sync/services/base-health-sync-service.js +8 -2
  381. package/lib/module/modules/data-sync/services/base-health-sync-service.js.map +1 -1
  382. package/lib/module/modules/data-sync/utils/convert-records-to-observation.js +13 -0
  383. package/lib/module/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
  384. package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js +19 -4
  385. package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
  386. package/lib/module/modules/data-sync/utils/generate-observation-entry.js +30 -21
  387. package/lib/module/modules/data-sync/utils/generate-observation-entry.js.map +1 -1
  388. package/lib/module/modules/data-sync/utils/health-observation-device.js +50 -0
  389. package/lib/module/modules/data-sync/utils/health-observation-device.js.map +1 -0
  390. package/lib/module/modules/data-sync/utils/retry-save.js +39 -7
  391. package/lib/module/modules/data-sync/utils/retry-save.js.map +1 -1
  392. package/lib/module/modules/diary/components/no-data.js +1 -2
  393. package/lib/module/modules/diary/components/no-data.js.map +1 -1
  394. package/lib/module/modules/helpers/form-items/form-date-field.js +1 -1
  395. package/lib/module/modules/helpers/form-items/form-date-field.js.map +1 -1
  396. package/lib/module/modules/helpers/form-items/form-select.js +13 -13
  397. package/lib/module/modules/helpers/form-items/form-select.js.map +1 -1
  398. package/lib/module/modules/helpers/index.js +1 -1
  399. package/lib/module/modules/helpers/index.js.map +1 -1
  400. package/lib/module/modules/helpers/utils/sentry-logger.js +3 -4
  401. package/lib/module/modules/helpers/utils/sentry-logger.js.map +1 -1
  402. package/lib/module/modules/helpers/utils/telemetry.js +133 -46
  403. package/lib/module/modules/helpers/utils/telemetry.js.map +1 -1
  404. package/lib/module/modules/image/components/optimized-image.js +29 -8
  405. package/lib/module/modules/image/components/optimized-image.js.map +1 -1
  406. package/lib/module/modules/journal/past-journal/components/title.js +0 -1
  407. package/lib/module/modules/journal/past-journal/components/title.js.map +1 -1
  408. package/lib/module/modules/language-switcher/components/option/label.js +0 -1
  409. package/lib/module/modules/language-switcher/components/option/label.js.map +1 -1
  410. package/lib/module/modules/measurement/components/date-range.js +4 -3
  411. package/lib/module/modules/measurement/components/date-range.js.map +1 -1
  412. package/lib/module/modules/measurement/components/measurement-list-item.js +10 -10
  413. package/lib/module/modules/measurement/components/measurement-list-item.js.map +1 -1
  414. package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js +1 -1
  415. package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js.map +1 -1
  416. package/lib/module/modules/questionnaire-response-form/components/questionnaire-form-provider.js +3 -1
  417. package/lib/module/modules/questionnaire-response-form/components/questionnaire-form-provider.js.map +1 -1
  418. package/lib/module/modules/setting/components/list-header.js +1 -2
  419. package/lib/module/modules/setting/components/list-header.js.map +1 -1
  420. package/lib/module/modules/setting/components/setting-list-item.js +0 -1
  421. package/lib/module/modules/setting/components/setting-list-item.js.map +1 -1
  422. package/lib/module/modules/tab/components/tab-item.js +0 -1
  423. package/lib/module/modules/tab/components/tab-item.js.map +1 -1
  424. package/lib/module/modules/theme/utils/generate-theme.js +35 -4
  425. package/lib/module/modules/theme/utils/generate-theme.js.map +1 -1
  426. package/lib/module/modules/tile/components/measured-value.js +0 -3
  427. package/lib/module/modules/tile/components/measured-value.js.map +1 -1
  428. package/lib/module/modules/tile/components/title.js +0 -1
  429. package/lib/module/modules/tile/components/title.js.map +1 -1
  430. package/lib/module/modules/tile/constants/measurement-icon-svg.js +4 -1
  431. package/lib/module/modules/tile/constants/measurement-icon-svg.js.map +1 -1
  432. package/lib/module/modules/ui/components/background-sync-setting.js +20 -4
  433. package/lib/module/modules/ui/components/background-sync-setting.js.map +1 -1
  434. package/lib/module/modules/ui/components/bluetooth-state-notice.js +33 -6
  435. package/lib/module/modules/ui/components/bluetooth-state-notice.js.map +1 -1
  436. package/lib/module/modules/ui/components/ecg-strip-viewer.js +10 -0
  437. package/lib/module/modules/ui/components/ecg-strip-viewer.js.map +1 -1
  438. package/lib/module/modules/ui/components/health-import-card.js +25 -2
  439. package/lib/module/modules/ui/components/health-import-card.js.map +1 -1
  440. package/lib/module/modules/ui/components/manual-entry-form.js +14 -1
  441. package/lib/module/modules/ui/components/manual-entry-form.js.map +1 -1
  442. package/lib/module/modules/ui/components/measurement-trend-chart.js +91 -0
  443. package/lib/module/modules/ui/components/measurement-trend-chart.js.map +1 -0
  444. package/lib/module/modules/ui/components/pairing-flow.js +106 -37
  445. package/lib/module/modules/ui/components/pairing-flow.js.map +1 -1
  446. package/lib/module/modules/ui/components/supported-devices-catalog-list.js +12 -5
  447. package/lib/module/modules/ui/components/supported-devices-catalog-list.js.map +1 -1
  448. package/lib/module/modules/ui/components/urine-test-result.js +7 -2
  449. package/lib/module/modules/ui/components/urine-test-result.js.map +1 -1
  450. package/lib/module/modules/ui/index.js +1 -0
  451. package/lib/module/modules/ui/index.js.map +1 -1
  452. package/lib/module/modules/ui/use-ovok-ui.js +6 -3
  453. package/lib/module/modules/ui/use-ovok-ui.js.map +1 -1
  454. package/lib/typescript/commonjs/src/index.d.ts +0 -10
  455. package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
  456. package/lib/typescript/commonjs/src/modules/auth/default-translation.d.ts +2 -0
  457. package/lib/typescript/commonjs/src/modules/auth/default-translation.d.ts.map +1 -0
  458. package/lib/typescript/commonjs/src/modules/auth/delete-account-button/components/delete-account-button.d.ts.map +1 -1
  459. package/lib/typescript/commonjs/src/modules/auth/hooks/use-session.d.ts +8 -2
  460. package/lib/typescript/commonjs/src/modules/auth/hooks/use-session.d.ts.map +1 -1
  461. package/lib/typescript/commonjs/src/modules/auth/index.d.ts +1 -0
  462. package/lib/typescript/commonjs/src/modules/auth/index.d.ts.map +1 -1
  463. package/lib/typescript/commonjs/src/modules/auth/logout-button/components/logout-button.d.ts +1 -1
  464. package/lib/typescript/commonjs/src/modules/auth/logout-button/components/logout-button.d.ts.map +1 -1
  465. package/lib/typescript/commonjs/src/modules/auth/logout-button/types/logout-button-props.d.ts +6 -1
  466. package/lib/typescript/commonjs/src/modules/auth/logout-button/types/logout-button-props.d.ts.map +1 -1
  467. package/lib/typescript/commonjs/src/modules/auth/register/components/form/inputs.d.ts.map +1 -1
  468. package/lib/typescript/commonjs/src/modules/auth/register/components/form/register-button.d.ts.map +1 -1
  469. package/lib/typescript/commonjs/src/modules/auth/register/components/header/title.d.ts.map +1 -1
  470. package/lib/typescript/commonjs/src/modules/auth/register/components/login-link.d.ts.map +1 -1
  471. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/inputs.d.ts.map +1 -1
  472. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/reset-password-button.d.ts.map +1 -1
  473. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts +1 -1
  474. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts.map +1 -1
  475. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/header/title.d.ts.map +1 -1
  476. package/lib/typescript/commonjs/src/modules/auth/reset-password/contexts/reset-password-form-context.d.ts +2 -46
  477. package/lib/typescript/commonjs/src/modules/auth/reset-password/contexts/reset-password-form-context.d.ts.map +1 -1
  478. package/lib/typescript/commonjs/src/modules/auth/reset-password/hooks/use-reset-password-form.d.ts +1 -47
  479. package/lib/typescript/commonjs/src/modules/auth/reset-password/hooks/use-reset-password-form.d.ts.map +1 -1
  480. package/lib/typescript/commonjs/src/modules/auth/reset-password/types/reset-password-context-type.d.ts +3 -1
  481. package/lib/typescript/commonjs/src/modules/auth/reset-password/types/reset-password-context-type.d.ts.map +1 -1
  482. package/lib/typescript/commonjs/src/modules/auth/reset-password/types/reset-password-form-provider-props.d.ts +1 -0
  483. package/lib/typescript/commonjs/src/modules/auth/reset-password/types/reset-password-form-provider-props.d.ts.map +1 -1
  484. package/lib/typescript/commonjs/src/modules/auth/session/components/session-list.d.ts.map +1 -1
  485. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/inputs.d.ts.map +1 -1
  486. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/signin-button.d.ts.map +1 -1
  487. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/header/title.d.ts.map +1 -1
  488. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/register-link.d.ts.map +1 -1
  489. package/lib/typescript/commonjs/src/modules/auth/types/session.d.ts +2 -5
  490. package/lib/typescript/commonjs/src/modules/auth/types/session.d.ts.map +1 -1
  491. package/lib/typescript/commonjs/src/modules/auth/utils/sign-out-google.d.ts +3 -0
  492. package/lib/typescript/commonjs/src/modules/auth/utils/sign-out-google.d.ts.map +1 -0
  493. package/lib/typescript/commonjs/src/modules/background-sync/background-safe-storage.d.ts +3 -1
  494. package/lib/typescript/commonjs/src/modules/background-sync/background-safe-storage.d.ts.map +1 -1
  495. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  496. package/lib/typescript/commonjs/src/modules/bt-device/index.d.ts +0 -2
  497. package/lib/typescript/commonjs/src/modules/bt-device/index.d.ts.map +1 -1
  498. package/lib/typescript/commonjs/src/modules/bt-device-instructions/index.d.ts +4 -0
  499. package/lib/typescript/commonjs/src/modules/bt-device-instructions/index.d.ts.map +1 -0
  500. package/lib/typescript/commonjs/src/modules/bt-management/components/android-bluetooth-foreground-service.d.ts +14 -0
  501. package/lib/typescript/commonjs/src/modules/bt-management/components/android-bluetooth-foreground-service.d.ts.map +1 -0
  502. package/lib/typescript/commonjs/src/modules/bt-management/components/bluetooth-device-picker.d.ts.map +1 -1
  503. package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  504. package/lib/typescript/commonjs/src/modules/bt-management/constants/measurement-field-catalog.d.ts.map +1 -1
  505. package/lib/typescript/commonjs/src/modules/bt-management/hooks/runtime-context.d.ts +9 -3
  506. package/lib/typescript/commonjs/src/modules/bt-management/hooks/runtime-context.d.ts.map +1 -1
  507. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-background-sync.d.ts.map +1 -1
  508. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-device-connection.d.ts.map +1 -1
  509. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-health-import.d.ts.map +1 -1
  510. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-measurements.d.ts.map +1 -1
  511. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-nearby-devices.d.ts.map +1 -1
  512. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-paired-devices.d.ts.map +1 -1
  513. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-request-permissions.d.ts.map +1 -1
  514. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-scan-control.d.ts +7 -0
  515. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-scan-control.d.ts.map +1 -0
  516. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts +2 -0
  517. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts.map +1 -1
  518. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -1
  519. package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts +9 -0
  520. package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
  521. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts.map +1 -1
  522. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts +17 -1
  523. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
  524. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts +17 -0
  525. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts.map +1 -0
  526. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.d.ts +28 -0
  527. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.d.ts.map +1 -0
  528. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-connection-handler.d.ts.map +1 -1
  529. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts +7 -0
  530. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  531. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  532. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts +1 -0
  533. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts.map +1 -1
  534. package/lib/typescript/commonjs/src/modules/bt-management/services/push-notification.d.ts +8 -0
  535. package/lib/typescript/commonjs/src/modules/bt-management/services/push-notification.d.ts.map +1 -0
  536. package/lib/typescript/commonjs/src/modules/bt-management/testing/fake-ble-manager.d.ts +17 -0
  537. package/lib/typescript/commonjs/src/modules/bt-management/testing/fake-ble-manager.d.ts.map +1 -1
  538. package/lib/typescript/commonjs/src/modules/bt-management/types/background-sync.d.ts +2 -0
  539. package/lib/typescript/commonjs/src/modules/bt-management/types/background-sync.d.ts.map +1 -1
  540. package/lib/typescript/commonjs/src/modules/bt-management/types/bluetooth-error.d.ts +1 -0
  541. package/lib/typescript/commonjs/src/modules/bt-management/types/bluetooth-error.d.ts.map +1 -1
  542. package/lib/typescript/commonjs/src/modules/bt-management/types/btprovider-children-props.d.ts +7 -1
  543. package/lib/typescript/commonjs/src/modules/bt-management/types/btprovider-children-props.d.ts.map +1 -1
  544. package/lib/typescript/commonjs/src/modules/bt-management/types/command-sequencer.d.ts +2 -0
  545. package/lib/typescript/commonjs/src/modules/bt-management/types/command-sequencer.d.ts.map +1 -1
  546. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts +2 -0
  547. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  548. package/lib/typescript/commonjs/src/modules/bt-management/utils/device-title.d.ts +8 -0
  549. package/lib/typescript/commonjs/src/modules/bt-management/utils/device-title.d.ts.map +1 -0
  550. package/lib/typescript/commonjs/src/modules/bt-management/utils/result-identity.d.ts.map +1 -1
  551. package/lib/typescript/commonjs/src/modules/data-sync/components/android/android-health-connect-authorization-provider.d.ts.map +1 -1
  552. package/lib/typescript/commonjs/src/modules/data-sync/components/manually-request-sheet/description.d.ts.map +1 -1
  553. package/lib/typescript/commonjs/src/modules/data-sync/components/sync-progress-list/sync-progress-list.d.ts +8 -5
  554. package/lib/typescript/commonjs/src/modules/data-sync/components/sync-progress-list/sync-progress-list.d.ts.map +1 -1
  555. package/lib/typescript/commonjs/src/modules/data-sync/services/base-health-sync-service.d.ts.map +1 -1
  556. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-records-to-observation.d.ts.map +1 -1
  557. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
  558. package/lib/typescript/commonjs/src/modules/data-sync/utils/generate-observation-entry.d.ts.map +1 -1
  559. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-observation-device.d.ts +9 -0
  560. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-observation-device.d.ts.map +1 -0
  561. package/lib/typescript/commonjs/src/modules/data-sync/utils/retry-save.d.ts +3 -2
  562. package/lib/typescript/commonjs/src/modules/data-sync/utils/retry-save.d.ts.map +1 -1
  563. package/lib/typescript/commonjs/src/modules/helpers/form-items/form-date-field.d.ts.map +1 -1
  564. package/lib/typescript/commonjs/src/modules/helpers/form-items/form-select.d.ts.map +1 -1
  565. package/lib/typescript/commonjs/src/modules/helpers/index.d.ts +1 -1
  566. package/lib/typescript/commonjs/src/modules/helpers/index.d.ts.map +1 -1
  567. package/lib/typescript/commonjs/src/modules/helpers/utils/sentry-logger.d.ts.map +1 -1
  568. package/lib/typescript/commonjs/src/modules/helpers/utils/telemetry.d.ts +3 -2
  569. package/lib/typescript/commonjs/src/modules/helpers/utils/telemetry.d.ts.map +1 -1
  570. package/lib/typescript/commonjs/src/modules/image/components/optimized-image.d.ts.map +1 -1
  571. package/lib/typescript/commonjs/src/modules/measurement/components/date-range.d.ts.map +1 -1
  572. package/lib/typescript/commonjs/src/modules/measurement/components/measurement-list-item.d.ts.map +1 -1
  573. package/lib/typescript/commonjs/src/modules/measurement/types/measurement-list-item-props.d.ts +2 -0
  574. package/lib/typescript/commonjs/src/modules/measurement/types/measurement-list-item-props.d.ts.map +1 -1
  575. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/questionnaire-form-provider.d.ts.map +1 -1
  576. package/lib/typescript/commonjs/src/modules/theme/hooks/use-app-theme.d.ts +3 -1
  577. package/lib/typescript/commonjs/src/modules/theme/hooks/use-app-theme.d.ts.map +1 -1
  578. package/lib/typescript/commonjs/src/modules/theme/index.d.ts +1 -1
  579. package/lib/typescript/commonjs/src/modules/theme/index.d.ts.map +1 -1
  580. package/lib/typescript/commonjs/src/modules/theme/types/theme-provider-props.d.ts +12 -3
  581. package/lib/typescript/commonjs/src/modules/theme/types/theme-provider-props.d.ts.map +1 -1
  582. package/lib/typescript/commonjs/src/modules/theme/utils/generate-theme.d.ts +3 -1
  583. package/lib/typescript/commonjs/src/modules/theme/utils/generate-theme.d.ts.map +1 -1
  584. package/lib/typescript/commonjs/src/modules/tile/constants/measurement-icon-svg.d.ts +1 -0
  585. package/lib/typescript/commonjs/src/modules/tile/constants/measurement-icon-svg.d.ts.map +1 -1
  586. package/lib/typescript/commonjs/src/modules/ui/components/background-sync-setting.d.ts +4 -1
  587. package/lib/typescript/commonjs/src/modules/ui/components/background-sync-setting.d.ts.map +1 -1
  588. package/lib/typescript/commonjs/src/modules/ui/components/bluetooth-state-notice.d.ts +7 -1
  589. package/lib/typescript/commonjs/src/modules/ui/components/bluetooth-state-notice.d.ts.map +1 -1
  590. package/lib/typescript/commonjs/src/modules/ui/components/ecg-strip-viewer.d.ts.map +1 -1
  591. package/lib/typescript/commonjs/src/modules/ui/components/health-import-card.d.ts +5 -1
  592. package/lib/typescript/commonjs/src/modules/ui/components/health-import-card.d.ts.map +1 -1
  593. package/lib/typescript/commonjs/src/modules/ui/components/manual-entry-form.d.ts +2 -1
  594. package/lib/typescript/commonjs/src/modules/ui/components/manual-entry-form.d.ts.map +1 -1
  595. package/lib/typescript/commonjs/src/modules/ui/components/measurement-trend-chart.d.ts +19 -0
  596. package/lib/typescript/commonjs/src/modules/ui/components/measurement-trend-chart.d.ts.map +1 -0
  597. package/lib/typescript/commonjs/src/modules/ui/components/pairing-flow.d.ts +16 -1
  598. package/lib/typescript/commonjs/src/modules/ui/components/pairing-flow.d.ts.map +1 -1
  599. package/lib/typescript/commonjs/src/modules/ui/components/supported-devices-catalog-list.d.ts.map +1 -1
  600. package/lib/typescript/commonjs/src/modules/ui/components/urine-test-result.d.ts.map +1 -1
  601. package/lib/typescript/commonjs/src/modules/ui/index.d.ts +1 -0
  602. package/lib/typescript/commonjs/src/modules/ui/index.d.ts.map +1 -1
  603. package/lib/typescript/commonjs/src/modules/ui/types.d.ts +4 -1
  604. package/lib/typescript/commonjs/src/modules/ui/types.d.ts.map +1 -1
  605. package/lib/typescript/commonjs/src/modules/ui/use-ovok-ui.d.ts.map +1 -1
  606. package/lib/typescript/module/src/index.d.ts +0 -10
  607. package/lib/typescript/module/src/index.d.ts.map +1 -1
  608. package/lib/typescript/module/src/modules/auth/default-translation.d.ts +2 -0
  609. package/lib/typescript/module/src/modules/auth/default-translation.d.ts.map +1 -0
  610. package/lib/typescript/module/src/modules/auth/delete-account-button/components/delete-account-button.d.ts.map +1 -1
  611. package/lib/typescript/module/src/modules/auth/hooks/use-session.d.ts +8 -2
  612. package/lib/typescript/module/src/modules/auth/hooks/use-session.d.ts.map +1 -1
  613. package/lib/typescript/module/src/modules/auth/index.d.ts +1 -0
  614. package/lib/typescript/module/src/modules/auth/index.d.ts.map +1 -1
  615. package/lib/typescript/module/src/modules/auth/logout-button/components/logout-button.d.ts +1 -1
  616. package/lib/typescript/module/src/modules/auth/logout-button/components/logout-button.d.ts.map +1 -1
  617. package/lib/typescript/module/src/modules/auth/logout-button/types/logout-button-props.d.ts +6 -1
  618. package/lib/typescript/module/src/modules/auth/logout-button/types/logout-button-props.d.ts.map +1 -1
  619. package/lib/typescript/module/src/modules/auth/register/components/form/inputs.d.ts.map +1 -1
  620. package/lib/typescript/module/src/modules/auth/register/components/form/register-button.d.ts.map +1 -1
  621. package/lib/typescript/module/src/modules/auth/register/components/header/title.d.ts.map +1 -1
  622. package/lib/typescript/module/src/modules/auth/register/components/login-link.d.ts.map +1 -1
  623. package/lib/typescript/module/src/modules/auth/reset-password/components/form/inputs.d.ts.map +1 -1
  624. package/lib/typescript/module/src/modules/auth/reset-password/components/form/reset-password-button.d.ts.map +1 -1
  625. package/lib/typescript/module/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts +1 -1
  626. package/lib/typescript/module/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts.map +1 -1
  627. package/lib/typescript/module/src/modules/auth/reset-password/components/header/title.d.ts.map +1 -1
  628. package/lib/typescript/module/src/modules/auth/reset-password/contexts/reset-password-form-context.d.ts +2 -46
  629. package/lib/typescript/module/src/modules/auth/reset-password/contexts/reset-password-form-context.d.ts.map +1 -1
  630. package/lib/typescript/module/src/modules/auth/reset-password/hooks/use-reset-password-form.d.ts +1 -47
  631. package/lib/typescript/module/src/modules/auth/reset-password/hooks/use-reset-password-form.d.ts.map +1 -1
  632. package/lib/typescript/module/src/modules/auth/reset-password/types/reset-password-context-type.d.ts +3 -1
  633. package/lib/typescript/module/src/modules/auth/reset-password/types/reset-password-context-type.d.ts.map +1 -1
  634. package/lib/typescript/module/src/modules/auth/reset-password/types/reset-password-form-provider-props.d.ts +1 -0
  635. package/lib/typescript/module/src/modules/auth/reset-password/types/reset-password-form-provider-props.d.ts.map +1 -1
  636. package/lib/typescript/module/src/modules/auth/session/components/session-list.d.ts.map +1 -1
  637. package/lib/typescript/module/src/modules/auth/sign-in/components/form/inputs.d.ts.map +1 -1
  638. package/lib/typescript/module/src/modules/auth/sign-in/components/form/signin-button.d.ts.map +1 -1
  639. package/lib/typescript/module/src/modules/auth/sign-in/components/header/title.d.ts.map +1 -1
  640. package/lib/typescript/module/src/modules/auth/sign-in/components/register-link.d.ts.map +1 -1
  641. package/lib/typescript/module/src/modules/auth/types/session.d.ts +2 -5
  642. package/lib/typescript/module/src/modules/auth/types/session.d.ts.map +1 -1
  643. package/lib/typescript/module/src/modules/auth/utils/sign-out-google.d.ts +3 -0
  644. package/lib/typescript/module/src/modules/auth/utils/sign-out-google.d.ts.map +1 -0
  645. package/lib/typescript/module/src/modules/background-sync/background-safe-storage.d.ts +3 -1
  646. package/lib/typescript/module/src/modules/background-sync/background-safe-storage.d.ts.map +1 -1
  647. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  648. package/lib/typescript/module/src/modules/bt-device/index.d.ts +0 -2
  649. package/lib/typescript/module/src/modules/bt-device/index.d.ts.map +1 -1
  650. package/lib/typescript/module/src/modules/bt-device-instructions/index.d.ts +4 -0
  651. package/lib/typescript/module/src/modules/bt-device-instructions/index.d.ts.map +1 -0
  652. package/lib/typescript/module/src/modules/bt-management/components/android-bluetooth-foreground-service.d.ts +14 -0
  653. package/lib/typescript/module/src/modules/bt-management/components/android-bluetooth-foreground-service.d.ts.map +1 -0
  654. package/lib/typescript/module/src/modules/bt-management/components/bluetooth-device-picker.d.ts.map +1 -1
  655. package/lib/typescript/module/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  656. package/lib/typescript/module/src/modules/bt-management/constants/measurement-field-catalog.d.ts.map +1 -1
  657. package/lib/typescript/module/src/modules/bt-management/hooks/runtime-context.d.ts +9 -3
  658. package/lib/typescript/module/src/modules/bt-management/hooks/runtime-context.d.ts.map +1 -1
  659. package/lib/typescript/module/src/modules/bt-management/hooks/use-background-sync.d.ts.map +1 -1
  660. package/lib/typescript/module/src/modules/bt-management/hooks/use-device-connection.d.ts.map +1 -1
  661. package/lib/typescript/module/src/modules/bt-management/hooks/use-health-import.d.ts.map +1 -1
  662. package/lib/typescript/module/src/modules/bt-management/hooks/use-measurements.d.ts.map +1 -1
  663. package/lib/typescript/module/src/modules/bt-management/hooks/use-nearby-devices.d.ts.map +1 -1
  664. package/lib/typescript/module/src/modules/bt-management/hooks/use-paired-devices.d.ts.map +1 -1
  665. package/lib/typescript/module/src/modules/bt-management/hooks/use-request-permissions.d.ts.map +1 -1
  666. package/lib/typescript/module/src/modules/bt-management/hooks/use-scan-control.d.ts +7 -0
  667. package/lib/typescript/module/src/modules/bt-management/hooks/use-scan-control.d.ts.map +1 -0
  668. package/lib/typescript/module/src/modules/bt-management/index.d.ts +2 -0
  669. package/lib/typescript/module/src/modules/bt-management/index.d.ts.map +1 -1
  670. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -1
  671. package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts +9 -0
  672. package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
  673. package/lib/typescript/module/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts.map +1 -1
  674. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts +17 -1
  675. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
  676. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts +17 -0
  677. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts.map +1 -0
  678. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.d.ts +28 -0
  679. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.d.ts.map +1 -0
  680. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-connection-handler.d.ts.map +1 -1
  681. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts +7 -0
  682. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  683. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  684. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts +1 -0
  685. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts.map +1 -1
  686. package/lib/typescript/module/src/modules/bt-management/services/push-notification.d.ts +8 -0
  687. package/lib/typescript/module/src/modules/bt-management/services/push-notification.d.ts.map +1 -0
  688. package/lib/typescript/module/src/modules/bt-management/testing/fake-ble-manager.d.ts +17 -0
  689. package/lib/typescript/module/src/modules/bt-management/testing/fake-ble-manager.d.ts.map +1 -1
  690. package/lib/typescript/module/src/modules/bt-management/types/background-sync.d.ts +2 -0
  691. package/lib/typescript/module/src/modules/bt-management/types/background-sync.d.ts.map +1 -1
  692. package/lib/typescript/module/src/modules/bt-management/types/bluetooth-error.d.ts +1 -0
  693. package/lib/typescript/module/src/modules/bt-management/types/bluetooth-error.d.ts.map +1 -1
  694. package/lib/typescript/module/src/modules/bt-management/types/btprovider-children-props.d.ts +7 -1
  695. package/lib/typescript/module/src/modules/bt-management/types/btprovider-children-props.d.ts.map +1 -1
  696. package/lib/typescript/module/src/modules/bt-management/types/command-sequencer.d.ts +2 -0
  697. package/lib/typescript/module/src/modules/bt-management/types/command-sequencer.d.ts.map +1 -1
  698. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts +2 -0
  699. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  700. package/lib/typescript/module/src/modules/bt-management/utils/device-title.d.ts +8 -0
  701. package/lib/typescript/module/src/modules/bt-management/utils/device-title.d.ts.map +1 -0
  702. package/lib/typescript/module/src/modules/bt-management/utils/result-identity.d.ts.map +1 -1
  703. package/lib/typescript/module/src/modules/data-sync/components/android/android-health-connect-authorization-provider.d.ts.map +1 -1
  704. package/lib/typescript/module/src/modules/data-sync/components/manually-request-sheet/description.d.ts.map +1 -1
  705. package/lib/typescript/module/src/modules/data-sync/components/sync-progress-list/sync-progress-list.d.ts +8 -5
  706. package/lib/typescript/module/src/modules/data-sync/components/sync-progress-list/sync-progress-list.d.ts.map +1 -1
  707. package/lib/typescript/module/src/modules/data-sync/services/base-health-sync-service.d.ts.map +1 -1
  708. package/lib/typescript/module/src/modules/data-sync/utils/convert-records-to-observation.d.ts.map +1 -1
  709. package/lib/typescript/module/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
  710. package/lib/typescript/module/src/modules/data-sync/utils/generate-observation-entry.d.ts.map +1 -1
  711. package/lib/typescript/module/src/modules/data-sync/utils/health-observation-device.d.ts +9 -0
  712. package/lib/typescript/module/src/modules/data-sync/utils/health-observation-device.d.ts.map +1 -0
  713. package/lib/typescript/module/src/modules/data-sync/utils/retry-save.d.ts +3 -2
  714. package/lib/typescript/module/src/modules/data-sync/utils/retry-save.d.ts.map +1 -1
  715. package/lib/typescript/module/src/modules/helpers/form-items/form-date-field.d.ts.map +1 -1
  716. package/lib/typescript/module/src/modules/helpers/form-items/form-select.d.ts.map +1 -1
  717. package/lib/typescript/module/src/modules/helpers/index.d.ts +1 -1
  718. package/lib/typescript/module/src/modules/helpers/index.d.ts.map +1 -1
  719. package/lib/typescript/module/src/modules/helpers/utils/sentry-logger.d.ts.map +1 -1
  720. package/lib/typescript/module/src/modules/helpers/utils/telemetry.d.ts +3 -2
  721. package/lib/typescript/module/src/modules/helpers/utils/telemetry.d.ts.map +1 -1
  722. package/lib/typescript/module/src/modules/image/components/optimized-image.d.ts.map +1 -1
  723. package/lib/typescript/module/src/modules/measurement/components/date-range.d.ts.map +1 -1
  724. package/lib/typescript/module/src/modules/measurement/components/measurement-list-item.d.ts.map +1 -1
  725. package/lib/typescript/module/src/modules/measurement/types/measurement-list-item-props.d.ts +2 -0
  726. package/lib/typescript/module/src/modules/measurement/types/measurement-list-item-props.d.ts.map +1 -1
  727. package/lib/typescript/module/src/modules/questionnaire-response-form/components/questionnaire-form-provider.d.ts.map +1 -1
  728. package/lib/typescript/module/src/modules/theme/hooks/use-app-theme.d.ts +3 -1
  729. package/lib/typescript/module/src/modules/theme/hooks/use-app-theme.d.ts.map +1 -1
  730. package/lib/typescript/module/src/modules/theme/index.d.ts +1 -1
  731. package/lib/typescript/module/src/modules/theme/index.d.ts.map +1 -1
  732. package/lib/typescript/module/src/modules/theme/types/theme-provider-props.d.ts +12 -3
  733. package/lib/typescript/module/src/modules/theme/types/theme-provider-props.d.ts.map +1 -1
  734. package/lib/typescript/module/src/modules/theme/utils/generate-theme.d.ts +3 -1
  735. package/lib/typescript/module/src/modules/theme/utils/generate-theme.d.ts.map +1 -1
  736. package/lib/typescript/module/src/modules/tile/constants/measurement-icon-svg.d.ts +1 -0
  737. package/lib/typescript/module/src/modules/tile/constants/measurement-icon-svg.d.ts.map +1 -1
  738. package/lib/typescript/module/src/modules/ui/components/background-sync-setting.d.ts +4 -1
  739. package/lib/typescript/module/src/modules/ui/components/background-sync-setting.d.ts.map +1 -1
  740. package/lib/typescript/module/src/modules/ui/components/bluetooth-state-notice.d.ts +7 -1
  741. package/lib/typescript/module/src/modules/ui/components/bluetooth-state-notice.d.ts.map +1 -1
  742. package/lib/typescript/module/src/modules/ui/components/ecg-strip-viewer.d.ts.map +1 -1
  743. package/lib/typescript/module/src/modules/ui/components/health-import-card.d.ts +5 -1
  744. package/lib/typescript/module/src/modules/ui/components/health-import-card.d.ts.map +1 -1
  745. package/lib/typescript/module/src/modules/ui/components/manual-entry-form.d.ts +2 -1
  746. package/lib/typescript/module/src/modules/ui/components/manual-entry-form.d.ts.map +1 -1
  747. package/lib/typescript/module/src/modules/ui/components/measurement-trend-chart.d.ts +19 -0
  748. package/lib/typescript/module/src/modules/ui/components/measurement-trend-chart.d.ts.map +1 -0
  749. package/lib/typescript/module/src/modules/ui/components/pairing-flow.d.ts +16 -1
  750. package/lib/typescript/module/src/modules/ui/components/pairing-flow.d.ts.map +1 -1
  751. package/lib/typescript/module/src/modules/ui/components/supported-devices-catalog-list.d.ts.map +1 -1
  752. package/lib/typescript/module/src/modules/ui/components/urine-test-result.d.ts.map +1 -1
  753. package/lib/typescript/module/src/modules/ui/index.d.ts +1 -0
  754. package/lib/typescript/module/src/modules/ui/index.d.ts.map +1 -1
  755. package/lib/typescript/module/src/modules/ui/types.d.ts +4 -1
  756. package/lib/typescript/module/src/modules/ui/types.d.ts.map +1 -1
  757. package/lib/typescript/module/src/modules/ui/use-ovok-ui.d.ts.map +1 -1
  758. package/package.json +3 -3
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
 
3
3
  import * as React from "react";
4
- import { FlatList, Image, Linking, StyleSheet, View } from "react-native";
4
+ import { FlatList, Linking, StyleSheet, View } from "react-native";
5
5
  import { Button as PaperButton, Card as PaperCard, Text as PaperText } from "react-native-paper";
6
6
  import { SUPPORTED_DEVICES } from "../../bt-device/index.js";
7
+ import { OptimizedImage } from "../../image/index.js";
7
8
  import { useOvokUi } from "../use-ovok-ui.js";
8
9
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
10
  export const SupportedDevicesCatalogList = ({
@@ -28,38 +29,44 @@ export const SupportedDevicesCatalogList = ({
28
29
  const renderItem = ({
29
30
  item
30
31
  }) => /*#__PURE__*/_jsx(Card, {
32
+ theme: theme,
31
33
  testID: testID ? `${testID}-${item.id}` : undefined,
32
34
  style: {
33
35
  borderRadius: theme.borderRadius(2)
34
36
  },
35
37
  children: /*#__PURE__*/_jsxs(View, {
36
38
  style: styles.content,
37
- children: [renderPhoto?.(item) ?? /*#__PURE__*/_jsx(Image, {
39
+ children: [renderPhoto?.(item) ?? /*#__PURE__*/_jsx(OptimizedImage, {
38
40
  accessibilityLabel: item.name,
39
- source: {
40
- uri: item.logo
41
- },
41
+ uri: item.logo,
42
42
  style: styles.image
43
43
  }), /*#__PURE__*/_jsx(Text, {
44
+ theme: theme,
44
45
  variant: "titleMedium",
45
46
  children: item.name
46
47
  }), /*#__PURE__*/_jsx(Text, {
48
+ theme: theme,
47
49
  children: item.manufacturer
48
50
  }), renderMeasurementTypes?.(item) ?? /*#__PURE__*/_jsxs(Text, {
51
+ theme: theme,
49
52
  children: ["Measures: ", item.measurementTypes.map(labelForMeasurementType).join(", ") || "Not specified"]
50
53
  }), renderPairingTips?.(item) ?? /*#__PURE__*/_jsx(Text, {
54
+ theme: theme,
51
55
  children: "Follow the device instructions before pairing."
52
56
  }), renderCredit?.(item) ?? /*#__PURE__*/_jsxs(Text, {
57
+ theme: theme,
53
58
  selectable: true,
54
59
  style: {
55
60
  color: theme.colors.onSurfaceVariant
56
61
  },
57
62
  children: ["Image credit: ", item.creditsForImage]
58
63
  }), item.manualUrl && (renderManual?.(item) ?? /*#__PURE__*/_jsx(Button, {
64
+ theme: theme,
59
65
  mode: "text",
60
66
  onPress: () => void Linking.openURL(item.manualUrl),
61
67
  children: "Open device manual"
62
68
  })), onSelect && /*#__PURE__*/_jsx(Button, {
69
+ theme: theme,
63
70
  mode: "outlined",
64
71
  onPress: () => onSelect(item),
65
72
  children: "Select device"
@@ -1 +1 @@
1
- {"version":3,"names":["React","FlatList","Image","Linking","StyleSheet","View","Button","PaperButton","Card","PaperCard","Text","PaperText","SUPPORTED_DEVICES","useOvokUi","jsx","_jsx","jsxs","_jsxs","SupportedDevicesCatalogList","devices","onSelect","renderPhoto","renderCredit","renderMeasurementTypes","renderManual","renderPairingTips","labelForMeasurementType","type","testID","uiProps","theme","slots","renderItem","item","id","undefined","style","borderRadius","children","styles","content","accessibilityLabel","name","source","uri","logo","image","variant","manufacturer","measurementTypes","map","join","selectable","color","colors","onSurfaceVariant","creditsForImage","manualUrl","mode","onPress","openURL","data","keyExtractor","contentContainerStyle","list","gap","spacing","create","padding","alignSelf","height","width"],"sourceRoot":"../../../../../src","sources":["modules/ui/components/supported-devices-catalog-list.tsx"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,QAAQ,EAAEC,KAAK,EAAEC,OAAO,EAAEC,UAAU,EAAEC,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,CACtF;EAAC,CACH,CACP;EAED,oBACEvB,IAAA,CAACd,QAAQ;IACP2B,MAAM,EAAEA,MAAO;IACfiC,IAAI,EAAE1C,OAAQ;IACd2C,YAAY,EAAG7B,IAAI,IAAKA,IAAI,CAACC,EAAG;IAChCF,UAAU,EAAEA,UAAW;IACvB+B,qBAAqB,EAAE,CAACxB,MAAM,CAACyB,IAAI,EAAE;MAAEC,GAAG,EAAEnC,KAAK,CAACoC,OAAO,CAAC,CAAC;IAAE,CAAC;EAAE,CACjE,CAAC;AAEN,CAAC;AAED,MAAM3B,MAAM,GAAGnC,UAAU,CAAC+D,MAAM,CAAC;EAC/B3B,OAAO,EAAE;IAAEyB,GAAG,EAAE,CAAC;IAAEG,OAAO,EAAE;EAAG,CAAC;EAChCtB,KAAK,EAAE;IAAEuB,SAAS,EAAE,QAAQ;IAAEC,MAAM,EAAE,GAAG;IAAEC,KAAK,EAAE;EAAI,CAAC;EACvDP,IAAI,EAAE;IAAEI,OAAO,EAAE;EAAG;AACtB,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","FlatList","Linking","StyleSheet","View","Button","PaperButton","Card","PaperCard","Text","PaperText","SUPPORTED_DEVICES","OptimizedImage","useOvokUi","jsx","_jsx","jsxs","_jsxs","SupportedDevicesCatalogList","devices","onSelect","renderPhoto","renderCredit","renderMeasurementTypes","renderManual","renderPairingTips","labelForMeasurementType","type","testID","uiProps","theme","slots","renderItem","item","id","undefined","style","borderRadius","children","styles","content","accessibilityLabel","name","uri","logo","image","variant","manufacturer","measurementTypes","map","join","selectable","color","colors","onSurfaceVariant","creditsForImage","manualUrl","mode","onPress","openURL","data","keyExtractor","contentContainerStyle","list","gap","spacing","create","padding","alignSelf","height","width"],"sourceRoot":"../../../../../src","sources":["modules/ui/components/supported-devices-catalog-list.tsx"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,QAAQ,EAAEC,OAAO,EAAEC,UAAU,EAAEC,IAAI,Q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Q,CACT,CAAC,EACDlB,QAAQ,iBAAIL,IAAA,CAACV,MAAM;QAACyB,KAAK,EAAEA,KAAM;QAAC2B,IAAI,EAAC,UAAU;QAACC,OAAO,EAAEA,CAAA,KAAMtC,QAAQ,CAACa,IAAI,CAAE;QAAAK,QAAA,EAAC;MAAa,CAAQ,CAAC;IAAA,CACpG;EAAC,CACH,CACP;EAED,oBACEvB,IAAA,CAACd,QAAQ;IACP2B,MAAM,EAAEA,MAAO;IACfgC,IAAI,EAAEzC,OAAQ;IACd0C,YAAY,EAAG5B,IAAI,IAAKA,IAAI,CAACC,EAAG;IAChCF,UAAU,EAAEA,UAAW;IACvB8B,qBAAqB,EAAE,CAACvB,MAAM,CAACwB,IAAI,EAAE;MAAEC,GAAG,EAAElC,KAAK,CAACmC,OAAO,CAAC,CAAC;IAAE,CAAC;EAAE,CACjE,CAAC;AAEN,CAAC;AAED,MAAM1B,MAAM,GAAGpC,UAAU,CAAC+D,MAAM,CAAC;EAC/B1B,OAAO,EAAE;IAAEwB,GAAG,EAAE,CAAC;IAAEG,OAAO,EAAE;EAAG,CAAC;EAChCtB,KAAK,EAAE;IAAEuB,SAAS,EAAE,QAAQ;IAAEC,MAAM,EAAE,GAAG;IAAEC,KAAK,EAAE;EAAI,CAAC;EACvDP,IAAI,EAAE;IAAEI,OAAO,EAAE;EAAG;AACtB,CAAC,CAAC","ignoreList":[]}
@@ -6,7 +6,7 @@ import { Card as PaperCard, Text as PaperText } from "react-native-paper";
6
6
  import { measurementFieldCatalog } from "../../bt-management/index.js";
7
7
  import { useOvokUi } from "../use-ovok-ui.js";
8
8
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
- const qualitativeKeys = new Set(["bld", "bil", "ket", "glu", "pro", "nit", "leu"]);
9
+ const qualitativeKeys = new Set(["nit"]);
10
10
  const formatValue = (key, value, unit) => {
11
11
  if (qualitativeKeys.has(key)) {
12
12
  return value === 0 ? "Negative" : "Positive";
@@ -26,7 +26,7 @@ export const UrineTestResult = ({
26
26
  } = useOvokUi(uiProps);
27
27
  const Card = slots.Card ?? PaperCard;
28
28
  const Text = slots.Text ?? PaperText;
29
- const catalog = measurementFieldCatalog[MeasurementTypeKey.uricAcid] ?? {};
29
+ const catalog = measurementFieldCatalog[MeasurementTypeKey.urineAnalysis] ?? measurementFieldCatalog[MeasurementTypeKey.uricAcid] ?? {};
30
30
  const rows = URINE_ANALYTE_DEFINITIONS.filter(({
31
31
  key
32
32
  }) => {
@@ -34,6 +34,7 @@ export const UrineTestResult = ({
34
34
  return !showOnlyMeasured || typeof value === "number";
35
35
  });
36
36
  return /*#__PURE__*/_jsx(Card, {
37
+ theme: theme,
37
38
  testID: testID,
38
39
  style: {
39
40
  borderRadius: theme.borderRadius(2)
@@ -41,6 +42,7 @@ export const UrineTestResult = ({
41
42
  children: /*#__PURE__*/_jsxs(View, {
42
43
  style: styles.content,
43
44
  children: [/*#__PURE__*/_jsx(Text, {
45
+ theme: theme,
44
46
  variant: "titleMedium",
45
47
  children: "Urine test result"
46
48
  }), rows.map(({
@@ -57,14 +59,17 @@ export const UrineTestResult = ({
57
59
  children: [/*#__PURE__*/_jsxs(View, {
58
60
  style: styles.grow,
59
61
  children: [/*#__PURE__*/_jsx(Text, {
62
+ theme: theme,
60
63
  children: labelForAnalyte(key, display)
61
64
  }), inUsualRange !== undefined && /*#__PURE__*/_jsx(Text, {
65
+ theme: theme,
62
66
  style: {
63
67
  color: inUsualRange ? theme.colors.primary : theme.colors.error
64
68
  },
65
69
  children: inUsualRange ? "Within usual range" : "Outside usual range"
66
70
  })]
67
71
  }), /*#__PURE__*/_jsx(Text, {
72
+ theme: theme,
68
73
  children: measured ? formatValue(key, value, unit) : "Not measured"
69
74
  })]
70
75
  }, key);
@@ -1 +1 @@
1
- {"version":3,"names":["MeasurementTypeKey","URINE_ANALYTE_DEFINITIONS","StyleSheet","View","Card","PaperCard","Text","PaperText","measurementFieldCatalog","useOvokUi","jsx","_jsx","jsxs","_jsxs","qualitativeKeys","Set","formatValue","key","value","unit","has","UrineTestResult","measurement","showOnlyMeasured","labelForAnalyte","_key","fallback","testID","uiProps","theme","slots","catalog","uricAcid","rows","filter","style","borderRadius","children","styles","content","variant","map","display","definition","measured","inUsualRange","normalMin","undefined","normalMax","row","grow","color","colors","primary","error","create","gap","padding","flex","alignItems","flexDirection"],"sourceRoot":"../../../../../src","sources":["modules/ui/components/urine-test-result.tsx"],"mappings":";;AAAA,SACEA,kBAAkB,EAClBC,yBAAyB,QAEpB,YAAY;AACnB,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,IAAI,IAAIC,SAAS,EAAEC,IAAI,IAAIC,SAAS,QAAQ,oBAAoB;AAEzE,SAASC,uBAAuB,QAAQ,8BAAqB;AAE7D,SAASC,SAAS,QAAQ,mBAAgB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAS3C,MAAMC,eAAe,GAAG,IAAIC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;AAElF,MAAMC,WAAW,GAAGA,CAACC,GAAW,EAAEC,KAAa,EAAEC,IAAa,KAAa;EACzE,IAAIL,eAAe,CAACM,GAAG,CAACH,GAAG,CAAC,EAAE;IAC5B,OAAOC,KAAK,KAAK,CAAC,GAAG,UAAU,GAAG,UAAU;EAC9C;EAEA,OAAO,GAAGA,KAAK,GAAGC,IAAI,GAAG,IAAIA,IAAI,EAAE,GAAG,EAAE,EAAE;AAC5C,CAAC;AAED,OAAO,MAAME,eAAe,GAAGA,CAAC;EAC9BC,WAAW;EACXC,gBAAgB,GAAG,KAAK;EACxBC,eAAe,GAAGA,CAACC,IAAI,EAAEC,QAAQ,KAAKA,QAAQ;EAC9CC,MAAM;EACN,GAAGC;AACiB,CAAC,KAAK;EAC1B,MAAM;IAAEC,KAAK;IAAEC;EAAM,CAAC,GAAGrB,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GAC9DD,SAAS;QAEb,oBACElC,KAAA,CAACV,IAAI;UAAWgC,KAAK,EAAEG,MAAM,CAACW,GAAI;UAAAZ,QAAA,gBAChCxB,KAAA,CAACV,IAAI;YAACgC,KAAK,EAAEG,MAAM,CAACY,IAAK;YAAAb,QAAA,gBACvB1B,IAAA,CAACL,IAAI;cAAA+B,QAAA,EAAEb,eAAe,CAACP,GAAG,EAAEyB,OAAO;YAAC,CAAO,CAAC,EAC3CG,YAAY,KAAKE,SAAS,iBACzBpC,IAAA,CAACL,IAAI;cAAC6B,KAAK,EAAE;gBAAEgB,KAAK,EAAEN,YAAY,GAAGhB,KAAK,CAACuB,MAAM,CAACC,OAAO,GAAGxB,KAAK,CAACuB,MAAM,CAACE;cAAM,CAAE;cAAAjB,QAAA,EAC9EQ,YAAY,GAAG,oBAAoB,GAAG;YAAqB,CACxD,CACP;UAAA,CACG,CAAC,eACPlC,IAAA,CAACL,IAAI;YAAA+B,QAAA,EAAEO,QAAQ,GAAG5B,WAAW,CAACC,GAAG,EAAEC,KAAK,EAAEC,IAAI,CAAC,GAAG;UAAc,CAAO,CAAC;QAAA,GAT/DF,GAUL,CAAC;MAEX,CAAC,CAAC;IAAA,CACE;EAAC,CACH,CAAC;AAEX,CAAC;AAED,MAAMqB,MAAM,GAAGpC,UAAU,CAACqD,MAAM,CAAC;EAC/BhB,OAAO,EAAE;IAAEiB,GAAG,EAAE,EAAE;IAAEC,OAAO,EAAE;EAAG,CAAC;EACjCP,IAAI,EAAE;IAAEQ,IAAI,EAAE;EAAE,CAAC;EACjBT,GAAG,EAAE;IAAEU,UAAU,EAAE,YAAY;IAAEC,aAAa,EAAE,KAAK;IAAEJ,GAAG,EAAE;EAAE;AAChE,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["MeasurementTypeKey","URINE_ANALYTE_DEFINITIONS","StyleSheet","View","Card","PaperCard","Text","PaperText","measurementFieldCatalog","useOvokUi","jsx","_jsx","jsxs","_jsxs","qualitativeKeys","Set","formatValue","key","value","unit","has","UrineTestResult","measurement","showOnlyMeasured","labelForAnalyte","_key","fallback","testID","uiProps","theme","slots","catalog","urineAnalysis","uricAcid","rows","filter","style","borderRadius","children","styles","content","variant","map","display","definition","measured","inUsualRange","normalMin","undefined","normalMax","row","grow","color","colors","primary","error","create","gap","padding","flex","alignItems","flexDirection"],"sourceRoot":"../../../../../src","sources":["modules/ui/components/urine-test-result.tsx"],"mappings":";;AAAA,SACEA,kBAAkB,EAClBC,yBAAyB,QAEpB,YAAY;AACnB,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,IAAI,IAAIC,SAAS,EAAEC,IAAI,IAAIC,SAAS,QAAQ,oBAAoB;AAEzE,SAASC,uBAAuB,QAAQ,8BAAqB;AAE7D,SAASC,SAAS,QAAQ,mBAAgB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAS3C,MAAMC,eAAe,GAAG,IAAIC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC;AAExC,MAAMC,WAAW,GAAGA,CAACC,GAAW,EAAEC,KAAa,EAAEC,IAAa,KAAa;EACzE,IAAIL,eAAe,CAACM,GAAG,CAACH,GAAG,CAAC,EAAE;IAC5B,OAAOC,KAAK,KAAK,CAAC,GAAG,UAAU,GAAG,UAAU;EAC9C;EAEA,OAAO,GAAGA,KAAK,GAAGC,IAAI,GAAG,IAAIA,IAAI,EAAE,GAAG,EAAE,EAAE;AAC5C,CAAC;AAED,OAAO,MAAME,eAAe,GAAGA,CAAC;EAC9BC,WAAW;EACXC,gBAAgB,GAAG,KAAK;EACxBC,eAAe,GAAGA,CAACC,IAAI,EAAEC,QAAQ,KAAKA,QAAQ;EAC9CC,MAAM;EACN,GAAGC;AACiB,CAAC,KAAK;EAC1B,MAAM;IAAEC,KAAK;IAAEC;EAAM,CAAC,GAAGrB,SAAS,CAACmB,OAAO,CAAC;EAC3C,MAAMxB,IAAI,GAAG0B,KAAK,CAAC1B,I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  export * from "./components/urine-test-result.js";
11
11
  export * from "./components/health-import-card.js";
12
12
  export * from "./components/background-sync-setting.js";
13
+ export * from "./components/measurement-trend-chart.js";
13
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["modules/ui/index.ts"],"mappings":";;AAAA,cAAc,YAAS;AACvB,cAAc,kBAAe;AAC7B,cAAc,kCAA+B;AAC7C,cAAc,mCAAgC;AAC9C,cAAc,gDAA6C;AAC3D,cAAc,wCAAqC;AACnD,cAAc,8BAA2B;AACzC,cAAc,mCAAgC;AAC9C,cAAc,oCAAiC;AAC/C,cAAc,yCAAsC","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["modules/ui/index.ts"],"mappings":";;AAAA,cAAc,YAAS;AACvB,cAAc,kBAAe;AAC7B,cAAc,kCAA+B;AAC7C,cAAc,mCAAgC;AAC9C,cAAc,gDAA6C;AAC3D,cAAc,wCAAqC;AACnD,cAAc,8BAA2B;AACzC,cAAc,mCAAgC;AAC9C,cAAc,oCAAiC;AAC/C,cAAc,yCAAsC;AACpD,cAAc,yCAAsC","ignoreList":[]}
@@ -2,7 +2,7 @@
2
2
 
3
3
  /* eslint-disable import/group-exports */
4
4
 
5
- import { Button as PaperButton, Card as PaperCard, MD3LightTheme, Text as PaperText, useTheme } from "react-native-paper";
5
+ import { Button as PaperButton, Card as PaperCard, ActivityIndicator as PaperActivityIndicator, MD3LightTheme, Switch as PaperSwitch, Text as PaperText, TextInput as PaperTextInput, useTheme } from "react-native-paper";
6
6
  const defaultTheme = {
7
7
  ...MD3LightTheme,
8
8
  spacing: value => value * 4,
@@ -29,8 +29,8 @@ export const useOvokUi = ({
29
29
  const base = {
30
30
  ...defaultTheme,
31
31
  ...paperTheme,
32
- spacing: appTheme.spacing ?? defaultTheme.spacing,
33
- borderRadius: appTheme.borderRadius ?? defaultTheme.borderRadius
32
+ spacing: typeof appTheme.spacing === "function" ? appTheme.spacing : defaultTheme.spacing,
33
+ borderRadius: typeof appTheme.borderRadius === "function" ? appTheme.borderRadius : defaultTheme.borderRadius
34
34
  };
35
35
  return {
36
36
  theme: mergeOvokTheme(base, override),
@@ -38,6 +38,9 @@ export const useOvokUi = ({
38
38
  Button: PaperButton,
39
39
  Card: PaperCard,
40
40
  Text: PaperText,
41
+ Switch: PaperSwitch,
42
+ TextInput: PaperTextInput,
43
+ ActivityIndicator: PaperActivityIndicator,
41
44
  ...slots
42
45
  }
43
46
  };
@@ -1 +1 @@
1
- {"version":3,"names":["Button","PaperButton","Card","PaperCard","MD3LightTheme","Text","PaperText","useTheme","defaultTheme","spacing","value","borderRadius","mergeOvokTheme","base","override","colors","fonts","useOvokUi","theme","slots","paperTheme","appTheme"],"sourceRoot":"../../../../src","sources":["modules/ui/use-ovok-ui.ts"],"mappings":";;AAAA;;AAEA,SACEA,MAAM,IAAIC,WAAW,EACrBC,IAAI,IAAIC,SAAS,EACjBC,aAAa,EACbC,IAAI,IAAIC,SAAS,EACjBC,QAAQ,QACH,oBAAoB;AAI3B,MAAMC,YAAuB,GAAG;EAC9B,GAAGJ,aAAa;EAChBK,OAAO,EAAGC,KAAK,IAAKA,KAAK,GAAG,CAAC;EAC7BC,YAAY,EAAGD,KAAK,IAAKA,KAAK,GAAG;AACnC,CAAC;AAED,OAAO,MAAME,cAAc,GAAGA,CAC5BC,IAAe,EACfC,QAA4B,MACb;EACf,GAAGD,IAAI;EACP,GAAGC,QAAQ;EACXC,MAAM,EAAE;IAAE,GAAGF,IAAI,CAACE,MAAM;IAAE,GAAGD,QAAQ,EAAEC;EAAO,CAAC;EAC/CC,KAAK,EAAE;IAAE,GAAGH,IAAI,CAACG,KAAK;IAAE,GAAGF,QAAQ,EAAEE;EAAM;AAC7C,CAAC,CAAC;AAEF,OAAO,MAAMC,SAAS,GAAGA,CAAC;EACxBC,KAAK,EAAEJ,QAAQ;EACfK;AACW,CAAC,GAAG,CAAC,CAAC,KAAwD;EACzE,MAAMC,UAAU,GAAGb,QAAQ,CAAC,CAAC;EAC7B,MAAMc,QAAQ,GAAGD,UAAgC;EAEjD,MAAMP,IAAe,GAAG;IACtB,GAAGL,YAAY;IACf,GAAGY,UAAU;IACbX,OAAO,EAAEY,QAAQ,CAACZ,OAAO,IAAID,YAAY,CAACC,OAAO;IACjDE,YAAY,EAAEU,QAAQ,CAACV,YAAY,IAAIH,YAAY,CAACG;EACtD,CAAC;EAED,OAAO;IACLO,KAAK,EAAEN,cAAc,CAACC,IAAI,EAAEC,QAAQ,CAAC;IACrCK,KAAK,EAAE;MACLnB,MAAM,EAAEC,WAAW;MACnBC,IAAI,EAAEC,SAAS;MACfE,IAAI,EAAEC,SAAS;MACf,GAAGa;IACL;EACF,CAAC;AACH,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["Button","PaperButton","Card","PaperCard","ActivityIndicator","PaperActivityIndicator","MD3LightTheme","Switch","PaperSwitch","Text","PaperText","TextInput","PaperTextInput","useTheme","defaultTheme","spacing","value","borderRadius","mergeOvokTheme","base","override","colors","fonts","useOvokUi","theme","slots","paperTheme","appTheme"],"sourceRoot":"../../../../src","sources":["modules/ui/use-ovok-ui.ts"],"mappings":";;AAAA;;AAEA,SACEA,MAAM,IAAIC,WAAW,EACrBC,IAAI,IAAIC,SAAS,EACjBC,iBAAiB,IAAIC,sBAAsB,EAC3CC,aAAa,EACbC,MAAM,IAAIC,WAAW,EACrBC,IAAI,IAAIC,SAAS,EACjBC,SAAS,IAAIC,cAAc,EAC3BC,QAAQ,QACH,oBAAoB;AAI3B,MAAMC,YAAuB,GAAG;EAC9B,GAAGR,aAAa;EAChBS,OAAO,EAAGC,KAAK,IAAKA,KAAK,GAAG,CAAC;EAC7BC,YAAY,EAAGD,KAAK,IAAKA,KAAK,GAAG;AACnC,CAAC;AAED,OAAO,MAAME,cAAc,GAAGA,CAC5BC,IAAe,EACfC,QAA4B,MACb;EACf,GAAGD,IAAI;EACP,GAAGC,QAAQ;EACXC,MAAM,EAAE;IAAE,GAAGF,IAAI,CAACE,MAAM;IAAE,GAAGD,QAAQ,EAAEC;EAAO,CAAC;EAC/CC,KAAK,EAAE;IAAE,GAAGH,IAAI,CAACG,KAAK;IAAE,GAAGF,QAAQ,EAAEE;EAAM;AAC7C,CAAC,CAAC;AAEF,OAAO,MAAMC,SAAS,GAAGA,CAAC;EACxBC,KAAK,EAAEJ,QAAQ;EACfK;AACW,CAAC,GAAG,CAAC,CAAC,KAAwD;EACzE,MAAMC,UAAU,GAAGb,QAAQ,CAAC,CAAC;EAC7B,MAAMc,QAAQ,GAAGD,UAAgC;EAEjD,MAAMP,IAAe,GAAG;IACtB,GAAGL,YAAY;IACf,GAAGY,UAAU;IACbX,OAAO,EAAE,OAAOY,QAAQ,CAACZ,OAAO,KAAK,UAAU,GAAGY,QAAQ,CAACZ,OAAO,GAAGD,YAAY,CAACC,OAAO;IACzFE,YAAY,EAAE,OAAOU,QAAQ,CAACV,YAAY,KAAK,UAAU,GAAGU,QAAQ,CAACV,YAAY,GAAGH,YAAY,CAACG;EACnG,CAAC;EAED,OAAO;IACLO,KAAK,EAAEN,cAAc,CAACC,IAAI,EAAEC,QAAQ,CAAC;IACrCK,KAAK,EAAE;MACLzB,MAAM,EAAEC,WAAW;MACnBC,IAAI,EAAEC,SAAS;MACfM,IAAI,EAAEC,SAAS;MACfH,MAAM,EAAEC,WAAW;MACnBG,SAAS,EAAEC,cAAc;MACzBR,iBAAiB,EAAEC,sBAAsB;MACzC,GAAGoB;IACL;EACF,CAAC;AACH,CAAC","ignoreList":[]}
@@ -10,19 +10,9 @@ export * from "./modules/observation-detail";
10
10
  export * from "./modules/content";
11
11
  export * from "./modules/bt-management";
12
12
  export * from "./polyfills";
13
- export * from "./modules/pdf";
14
- export * from "./modules/picker-sheet";
15
- export * from "./modules/bt-device";
16
13
  export * from "./modules/language-switcher";
17
14
  export * from "./modules/journal";
18
- export * from "./modules/breathing-exercise";
19
15
  export * from "./modules/progress-bar";
20
16
  export * from "./modules/patient";
21
- export * from "./modules/bt-management/components/bt-provider";
22
- export * from "./modules/socket";
23
17
  export * from "./modules/questionnaire-response-form";
24
- export * from "./modules/image";
25
- export * from "./modules/data-sync";
26
- export * from "./modules/background-sync";
27
- export * from "./modules/ui";
28
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gDAAgD,CAAC;AAC/D,cAAc,kBAAkB,CAAC;AACjC,cAAc,uCAAuC,CAAC;AACtD,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uCAAuC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=default-translation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default-translation.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/auth/default-translation.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"delete-account-button.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/delete-account-button/components/delete-account-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,eAAO,MAAM,mBAAmB,GAAI,kDAMjC,wBAAwB,sBAqG1B,CAAC"}
1
+ {"version":3,"file":"delete-account-button.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/delete-account-button/components/delete-account-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,eAAO,MAAM,mBAAmB,GAAI,kDAMjC,wBAAwB,sBAsG1B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { useClient } from "@ovok/core";
2
2
  import { OvokNativeSession, SessionRevokeOption, SessionStatus } from "../types/session";
3
- export interface UseSessionResult {
3
+ interface UseSessionResult {
4
4
  status: SessionStatus;
5
5
  isAuthenticated: boolean;
6
6
  profile: Awaited<ReturnType<ReturnType<typeof useClient>["getProfileAsync"]>>;
@@ -8,9 +8,15 @@ export interface UseSessionResult {
8
8
  loading: boolean;
9
9
  error?: Error;
10
10
  refresh: () => Promise<void>;
11
+ refreshSessions: () => Promise<void>;
11
12
  logout: () => Promise<void>;
12
13
  revokeSessions: (option: SessionRevokeOption) => Promise<void>;
13
14
  }
15
+ interface UseSessionOptions {
16
+ sessions?: boolean;
17
+ refreshOnForeground?: boolean;
18
+ }
14
19
  /** Reads and manages the server-side sessions exposed by @ovok/core. */
15
- export declare const useSession: () => UseSessionResult;
20
+ export declare const useSession: ({ sessions: fetchSessions, refreshOnForeground, }?: UseSessionOptions) => UseSessionResult;
21
+ export type { UseSessionOptions, UseSessionResult };
16
22
  //# sourceMappingURL=use-session.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-session.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAKvC,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAQ1B,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,aAAa,CAAC;IACtB,eAAe,EAAE,OAAO,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;IAC9E,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7B,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,cAAc,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAChE;AAED,wEAAwE;AACxE,eAAO,MAAM,UAAU,QAAO,gBAoG7B,CAAC"}
1
+ {"version":3,"file":"use-session.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAKvC,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAuB1B,UAAU,gBAAgB;IACxB,MAAM,EAAE,aAAa,CAAC;IACtB,eAAe,EAAE,OAAO,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;IAC9E,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7B,eAAe,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,cAAc,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAChE;AAED,UAAU,iBAAiB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,wEAAwE;AACxE,eAAO,MAAM,UAAU,GAAI,oDAGxB,iBAAsB,KAAG,gBA2H3B,CAAC;AAEF,YAAY,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1,3 +1,4 @@
1
+ import "./default-translation";
1
2
  export * from "./sign-in";
2
3
  export * from "./register";
3
4
  export * from "./profile";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/auth/index.tsx"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/auth/index.tsx"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,CAAC;AAE/B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import * as React from "react";
2
2
  import { LogoutButtonProps } from "../types/logout-button-props";
3
- export declare const LogoutButton: ({ title, onError, onSuccess, onPress, ...props }: LogoutButtonProps) => React.JSX.Element;
3
+ export declare const LogoutButton: ({ title, onError, onSuccess, onPress, variant, loading, Button, ...props }: LogoutButtonProps) => React.JSX.Element;
4
4
  //# sourceMappingURL=logout-button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"logout-button.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/logout-button/components/logout-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,eAAO,MAAM,YAAY,GAAI,kDAM1B,iBAAiB,sBAuBnB,CAAC"}
1
+ {"version":3,"file":"logout-button.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/logout-button/components/logout-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,eAAO,MAAM,YAAY,GAAI,4EAS1B,iBAAiB,sBAiDnB,CAAC"}
@@ -1,6 +1,11 @@
1
+ import { Button as PaperButton } from "react-native-paper";
1
2
  import { SettingListItemProps } from "../../../setting";
2
- export type LogoutButtonProps = Omit<SettingListItemProps, "title"> & {
3
+ export type LogoutButtonProps = Omit<SettingListItemProps, "title" | "onPress"> & {
3
4
  title?: SettingListItemProps["title"];
5
+ variant?: "row" | "button";
6
+ loading?: boolean;
7
+ Button?: React.ComponentType<React.ComponentProps<typeof PaperButton>>;
8
+ onPress?: () => void;
4
9
  onError?: (error: Error) => void;
5
10
  onSuccess?: () => void;
6
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"logout-button-props.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/logout-button/types/logout-button-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAExD,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC,GAAG;IACpE,KAAK,CAAC,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;IACtC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC"}
1
+ {"version":3,"file":"logout-button-props.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/logout-button/types/logout-button-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAE3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAExD,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,oBAAoB,EAAE,OAAO,GAAG,SAAS,CAAC,GAAG;IAChF,KAAK,CAAC,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;IACtC,OAAO,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC;IACvE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/register/components/form/inputs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,eAAO,MAAM,MAAM,GAAI,+BAA+B,eAAe,sBA+JpE,CAAC"}
1
+ {"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/register/components/form/inputs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,eAAO,MAAM,MAAM,GAAI,+BAA+B,eAAe,sBA4KpE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"register-button.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/register/components/form/register-button.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAExE,eAAO,MAAM,cAAc,GAAI,mEAK5B,mBAAmB,gCAsCrB,CAAC"}
1
+ {"version":3,"file":"register-button.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/register/components/form/register-button.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAExE,eAAO,MAAM,cAAc,GAAI,mEAK5B,mBAAmB,gCAuCrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/register/components/header/title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,eAAe,EAAQ,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEtE,KAAK,UAAU,CAAC,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,GAAG;IACpD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,CAAC,SAAS,eAAe,EAAE,wBAG9C,UAAU,CAAC,CAAC,CAAC,sBAQf,CAAC"}
1
+ {"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/register/components/header/title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,eAAe,EAAQ,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAItE,KAAK,UAAU,CAAC,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,GAAG;IACpD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,CAAC,SAAS,eAAe,EAAE,wBAG9C,UAAU,CAAC,CAAC,CAAC,sBASf,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"login-link.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/register/components/login-link.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAQ,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAItE,eAAO,MAAM,SAAS,GAAI,QAAQ,SAAS,eAAe,EAAE,uBAGzD,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,gCAqBvC,CAAC"}
1
+ {"version":3,"file":"login-link.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/register/components/login-link.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAQ,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAItE,eAAO,MAAM,SAAS,GAAI,QAAQ,SAAS,eAAe,EAAE,uBAGzD,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,gCA4BvC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/reset-password/components/form/inputs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAI5E,eAAO,MAAM,MAAM,GAAI,+BAA+B,eAAe,sBAuDpE,CAAC"}
1
+ {"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/reset-password/components/form/inputs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAI5E,eAAO,MAAM,MAAM,GAAI,+BAA+B,eAAe,sBA0DpE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password-button.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/reset-password/components/form/reset-password-button.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AAEnF,eAAO,MAAM,mBAAmB,GAAI,mEAKjC,wBAAwB,gCAsC1B,CAAC"}
1
+ {"version":3,"file":"reset-password-button.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/reset-password/components/form/reset-password-button.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AAEnF,eAAO,MAAM,mBAAmB,GAAI,mEAKjC,wBAAwB,gCAuC1B,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import { ResetPasswordFormProviderProps } from "../../types/reset-password-form-provider-props";
2
- export declare const ResetPasswordFormProvider: ({ children, onSubmit, onSuccess, onError, }: ResetPasswordFormProviderProps) => import("react").JSX.Element;
2
+ export declare const ResetPasswordFormProvider: ({ children, type, onSubmit, onSuccess, onError, }: ResetPasswordFormProviderProps) => import("react").JSX.Element;
3
3
  //# sourceMappingURL=reset-password-form-provider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password-form-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/reset-password/components/form/reset-password-form-provider.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAGhG,eAAO,MAAM,yBAAyB,GAAI,6CAKvC,8BAA8B,gCAuDhC,CAAC"}
1
+ {"version":3,"file":"reset-password-form-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/reset-password/components/form/reset-password-form-provider.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAGhG,eAAO,MAAM,yBAAyB,GAAI,mDAMvC,8BAA8B,gCAuDhC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/reset-password/components/header/title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,eAAe,EAAQ,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEtE,KAAK,UAAU,CAAC,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,GAAG;IACpD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,CAAC,SAAS,eAAe,EAAE,wBAG9C,UAAU,CAAC,CAAC,CAAC,sBAQf,CAAC"}
1
+ {"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/reset-password/components/header/title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,eAAe,EAAQ,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAItE,KAAK,UAAU,CAAC,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,GAAG;IACpD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,CAAC,SAAS,eAAe,EAAE,wBAG9C,UAAU,CAAC,CAAC,CAAC,sBASf,CAAC"}
@@ -1,48 +1,4 @@
1
1
  import React from "react";
2
- export declare const ResetPasswordFormContext: React.Context<{
3
- initialValues: import("..").ResetPasswordFormValues;
4
- initialErrors: import("formik").FormikErrors<unknown>;
5
- initialTouched: import("formik").FormikTouched<unknown>;
6
- initialStatus: any;
7
- handleBlur: {
8
- (e: React.FocusEvent<any, Element>): void;
9
- <T = any>(fieldOrEvent: T): T extends string ? (e: any) => void : void;
10
- };
11
- handleChange: {
12
- (e: React.ChangeEvent<any>): void;
13
- <T_1 = string | React.ChangeEvent<any>>(field: T_1): T_1 extends React.ChangeEvent<any> ? void : (e: string | React.ChangeEvent<any>) => void;
14
- };
15
- handleReset: (e: any) => void;
16
- handleSubmit: (e?: React.FormEvent<HTMLFormElement>) => void;
17
- resetForm: (nextState?: Partial<import("formik").FormikState<import("..").ResetPasswordFormValues>> | undefined) => void;
18
- setErrors: (errors: import("formik").FormikErrors<import("..").ResetPasswordFormValues>) => void;
19
- setFormikState: (stateOrCb: import("formik").FormikState<import("..").ResetPasswordFormValues> | ((state: import("formik").FormikState<import("..").ResetPasswordFormValues>) => import("formik").FormikState<import("..").ResetPasswordFormValues>)) => void;
20
- setFieldTouched: (field: string, touched?: boolean, shouldValidate?: boolean) => Promise<void> | Promise<import("formik").FormikErrors<import("..").ResetPasswordFormValues>>;
21
- setFieldValue: (field: string, value: React.SetStateAction<any>, shouldValidate?: boolean) => Promise<void> | Promise<import("formik").FormikErrors<import("..").ResetPasswordFormValues>>;
22
- setFieldError: (field: string, value: string | undefined) => void;
23
- setStatus: (status: any) => void;
24
- setSubmitting: (isSubmitting: boolean) => void;
25
- setTouched: (touched: import("formik").FormikTouched<import("..").ResetPasswordFormValues>, shouldValidate?: boolean) => Promise<void> | Promise<import("formik").FormikErrors<import("..").ResetPasswordFormValues>>;
26
- setValues: (values: React.SetStateAction<import("..").ResetPasswordFormValues>, shouldValidate?: boolean) => Promise<void> | Promise<import("formik").FormikErrors<import("..").ResetPasswordFormValues>>;
27
- submitForm: () => Promise<any>;
28
- validateForm: (values?: import("..").ResetPasswordFormValues | undefined) => Promise<import("formik").FormikErrors<import("..").ResetPasswordFormValues>>;
29
- validateField: (name: string) => Promise<void> | Promise<string | undefined>;
30
- isValid: boolean;
31
- dirty: boolean;
32
- unregisterField: (name: string) => void;
33
- registerField: (name: string, { validate }: any) => void;
34
- getFieldProps: (nameOrOptions: string | import("formik").FieldConfig<any>) => import("formik").FieldInputProps<any>;
35
- getFieldMeta: (name: string) => import("formik").FieldMetaProps<any>;
36
- getFieldHelpers: (name: string) => import("formik").FieldHelperProps<any>;
37
- validateOnBlur: boolean;
38
- validateOnChange: boolean;
39
- validateOnMount: boolean;
40
- values: import("..").ResetPasswordFormValues;
41
- errors: import("formik").FormikErrors<import("..").ResetPasswordFormValues>;
42
- touched: import("formik").FormikTouched<import("..").ResetPasswordFormValues>;
43
- isSubmitting: boolean;
44
- isValidating: boolean;
45
- status?: any;
46
- submitCount: number;
47
- }>;
2
+ import { ResetPasswordContextType } from "../types/reset-password-context-type";
3
+ export declare const ResetPasswordFormContext: React.Context<ResetPasswordContextType>;
48
4
  //# sourceMappingURL=reset-password-form-context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password-form-context.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/reset-password/contexts/reset-password-form-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;oBAE6uB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EADpsB,CAAC"}
1
+ {"version":3,"file":"reset-password-form-context.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/reset-password/contexts/reset-password-form-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,eAAO,MAAM,wBAAwB,yCAC0C,CAAC"}
@@ -1,48 +1,2 @@
1
- import * as React from "react";
2
- export declare const useResetPasswordForm: () => {
3
- initialValues: import("..").ResetPasswordFormValues;
4
- initialErrors: import("formik").FormikErrors<unknown>;
5
- initialTouched: import("formik").FormikTouched<unknown>;
6
- initialStatus: any;
7
- handleBlur: {
8
- (e: React.FocusEvent<any, Element>): void;
9
- <T = any>(fieldOrEvent: T): T extends string ? (e: any) => void : void;
10
- };
11
- handleChange: {
12
- (e: React.ChangeEvent<any>): void;
13
- <T_1 = string | React.ChangeEvent<any>>(field: T_1): T_1 extends React.ChangeEvent<any> ? void : (e: string | React.ChangeEvent<any>) => void;
14
- };
15
- handleReset: (e: any) => void;
16
- handleSubmit: (e?: React.FormEvent<HTMLFormElement>) => void;
17
- resetForm: (nextState?: Partial<import("formik").FormikState<import("..").ResetPasswordFormValues>> | undefined) => void;
18
- setErrors: (errors: import("formik").FormikErrors<import("..").ResetPasswordFormValues>) => void;
19
- setFormikState: (stateOrCb: import("formik").FormikState<import("..").ResetPasswordFormValues> | ((state: import("formik").FormikState<import("..").ResetPasswordFormValues>) => import("formik").FormikState<import("..").ResetPasswordFormValues>)) => void;
20
- setFieldTouched: (field: string, touched?: boolean, shouldValidate?: boolean) => Promise<void> | Promise<import("formik").FormikErrors<import("..").ResetPasswordFormValues>>;
21
- setFieldValue: (field: string, value: React.SetStateAction<any>, shouldValidate?: boolean) => Promise<void> | Promise<import("formik").FormikErrors<import("..").ResetPasswordFormValues>>;
22
- setFieldError: (field: string, value: string | undefined) => void;
23
- setStatus: (status: any) => void;
24
- setSubmitting: (isSubmitting: boolean) => void;
25
- setTouched: (touched: import("formik").FormikTouched<import("..").ResetPasswordFormValues>, shouldValidate?: boolean) => Promise<void> | Promise<import("formik").FormikErrors<import("..").ResetPasswordFormValues>>;
26
- setValues: (values: React.SetStateAction<import("..").ResetPasswordFormValues>, shouldValidate?: boolean) => Promise<void> | Promise<import("formik").FormikErrors<import("..").ResetPasswordFormValues>>;
27
- submitForm: () => Promise<any>;
28
- validateForm: (values?: import("..").ResetPasswordFormValues | undefined) => Promise<import("formik").FormikErrors<import("..").ResetPasswordFormValues>>;
29
- validateField: (name: string) => Promise<void> | Promise<string | undefined>;
30
- isValid: boolean;
31
- dirty: boolean;
32
- unregisterField: (name: string) => void;
33
- registerField: (name: string, { validate }: any) => void;
34
- getFieldProps: (nameOrOptions: string | import("formik").FieldConfig<any>) => import("formik").FieldInputProps<any>;
35
- getFieldMeta: (name: string) => import("formik").FieldMetaProps<any>;
36
- getFieldHelpers: (name: string) => import("formik").FieldHelperProps<any>;
37
- validateOnBlur: boolean;
38
- validateOnChange: boolean;
39
- validateOnMount: boolean;
40
- values: import("..").ResetPasswordFormValues;
41
- errors: import("formik").FormikErrors<import("..").ResetPasswordFormValues>;
42
- touched: import("formik").FormikTouched<import("..").ResetPasswordFormValues>;
43
- isSubmitting: boolean;
44
- isValidating: boolean;
45
- status?: any;
46
- submitCount: number;
47
- };
1
+ export declare const useResetPasswordForm: () => import("..").ResetPasswordContextType;
48
2
  //# sourceMappingURL=use-reset-password-form.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-reset-password-form.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/reset-password/hooks/use-reset-password-form.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;oBAW6kB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAD9mB,CAAC"}
1
+ {"version":3,"file":"use-reset-password-form.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/reset-password/hooks/use-reset-password-form.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,oBAAoB,6CAUhC,CAAC"}
@@ -1,4 +1,6 @@
1
1
  import { useFormik } from "formik";
2
2
  import { ResetPasswordFormValues } from "./reset-password-form-values";
3
- export type ResetPasswordContextType = ReturnType<typeof useFormik<ResetPasswordFormValues>> & {};
3
+ export type ResetPasswordContextType = ReturnType<typeof useFormik<ResetPasswordFormValues>> & {
4
+ typeLocked?: boolean;
5
+ };
4
6
  //# sourceMappingURL=reset-password-context-type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password-context-type.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/reset-password/types/reset-password-context-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAC/C,OAAO,SAAS,CAAC,uBAAuB,CAAC,CAC1C,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"reset-password-context-type.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/reset-password/types/reset-password-context-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAC/C,OAAO,SAAS,CAAC,uBAAuB,CAAC,CAC1C,GAAG;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC"}
@@ -2,6 +2,7 @@ import { FormikHelpers } from "formik";
2
2
  import { StyleProp, ViewStyle } from "react-native";
3
3
  import { ResetPasswordFormValues } from "./reset-password-form-values";
4
4
  export type ResetPasswordFormProviderProps = {
5
+ type?: ResetPasswordFormValues["type"];
5
6
  style?: StyleProp<ViewStyle>;
6
7
  testID?: string;
7
8
  children?: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password-form-provider-props.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/reset-password/types/reset-password-form-provider-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,MAAM,MAAM,8BAA8B,GAAG;IAC3C,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,GAAG,CACA;IACE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACpD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CAClC,GACD;IACE,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,CACT,MAAM,EAAE,uBAAuB,EAC/B,aAAa,EAAE,aAAa,CAAC,uBAAuB,CAAC,KAClD,OAAO,CAAC,IAAI,CAAC,CAAC;CACpB,CACJ,CAAC"}
1
+ {"version":3,"file":"reset-password-form-provider-props.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/reset-password/types/reset-password-form-provider-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,MAAM,MAAM,8BAA8B,GAAG;IAC3C,IAAI,CAAC,EAAE,uBAAuB,CAAC,MAAM,CAAC,CAAC;IACvC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,GAAG,CACA;IACE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACpD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CAClC,GACD;IACE,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,CACT,MAAM,EAAE,uBAAuB,EAC/B,aAAa,EAAE,aAAa,CAAC,uBAAuB,CAAC,KAClD,OAAO,CAAC,IAAI,CAAC,CAAC;CACpB,CACJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"session-list.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/session/components/session-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAsB/D,eAAO,MAAM,WAAW,GAAI,uBAAuB,gBAAgB,sBAuDlE,CAAC"}
1
+ {"version":3,"file":"session-list.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/session/components/session-list.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAiB/D,eAAO,MAAM,WAAW,GAAI,uBAAuB,gBAAgB,sBAyDlE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/sign-in/components/form/inputs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAM5E,eAAO,MAAM,MAAM,GAAI,+BAA+B,eAAe,sBAqEpE,CAAC"}
1
+ {"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/sign-in/components/form/inputs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAM5E,eAAO,MAAM,MAAM,GAAI,+BAA+B,eAAe,sBAsEpE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"signin-button.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/sign-in/components/form/signin-button.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEpE,eAAO,MAAM,YAAY,GAAI,mEAK1B,iBAAiB,gCAqDnB,CAAC"}
1
+ {"version":3,"file":"signin-button.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/sign-in/components/form/signin-button.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEpE,eAAO,MAAM,YAAY,GAAI,mEAK1B,iBAAiB,gCAsDnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/sign-in/components/header/title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,eAAe,EAAQ,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEtE,KAAK,UAAU,CAAC,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,GAAG;IACpD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,CAAC,SAAS,eAAe,EAAE,wBAG9C,UAAU,CAAC,CAAC,CAAC,sBAQf,CAAC"}
1
+ {"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/sign-in/components/header/title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,eAAe,EAAQ,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAItE,KAAK,UAAU,CAAC,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,GAAG;IACpD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,CAAC,SAAS,eAAe,EAAE,wBAG9C,UAAU,CAAC,CAAC,CAAC,sBASf,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"register-link.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/sign-in/components/register-link.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAQ,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAItE,eAAO,MAAM,YAAY,GAAI,QAAQ,SAAS,eAAe,EAAE,uBAG5D,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,gCAqBvC,CAAC"}
1
+ {"version":3,"file":"register-link.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/sign-in/components/register-link.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAQ,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAItE,eAAO,MAAM,YAAY,GAAI,QAAQ,SAAS,eAAe,EAAE,uBAG5D,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,gCA4BvC,CAAC"}
@@ -2,11 +2,8 @@
2
2
  export interface OvokNativeSession {
3
3
  id: string;
4
4
  authMethod?: string;
5
- ip?: string;
6
- browser?: string;
7
- os?: string;
8
- createdAt?: string;
9
- lastActiveAt?: string;
5
+ remoteAddress?: string;
6
+ lastUpdated?: string;
10
7
  }
11
8
  export type SessionRevokeOption = "current" | "other" | "all" | string;
12
9
  export type SessionStatus = "loading" | "authenticated" | "signed-out";