@ovok/native 1.6.1 → 1.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (740) hide show
  1. package/android/src/main/java/com/ovok/sdk/backgroundsync/OvokBackgroundSyncModule.java +25 -3
  2. package/android/src/main/java/com/ovok/sdk/backgroundsync/OvokHealthConnectWorker.java +6 -2
  3. package/app.plugin.js +4 -2
  4. package/lib/commonjs/modules/auth/default-translation.js +69 -0
  5. package/lib/commonjs/modules/auth/default-translation.js.map +1 -0
  6. package/lib/commonjs/modules/auth/delete-account-button/components/delete-account-button.js +2 -0
  7. package/lib/commonjs/modules/auth/delete-account-button/components/delete-account-button.js.map +1 -1
  8. package/lib/commonjs/modules/auth/hooks/use-session.js +22 -6
  9. package/lib/commonjs/modules/auth/hooks/use-session.js.map +1 -1
  10. package/lib/commonjs/modules/auth/index.js +1 -0
  11. package/lib/commonjs/modules/auth/index.js.map +1 -1
  12. package/lib/commonjs/modules/auth/logout-button/components/logout-button.js +27 -1
  13. package/lib/commonjs/modules/auth/logout-button/components/logout-button.js.map +1 -1
  14. package/lib/commonjs/modules/auth/profile/components/profile-form.js +0 -1
  15. package/lib/commonjs/modules/auth/profile/components/profile-form.js.map +1 -1
  16. package/lib/commonjs/modules/auth/register/components/form/register-button.js +2 -2
  17. package/lib/commonjs/modules/auth/register/components/form/register-button.js.map +1 -1
  18. package/lib/commonjs/modules/auth/register/components/header/description.js +0 -1
  19. package/lib/commonjs/modules/auth/register/components/header/description.js.map +1 -1
  20. package/lib/commonjs/modules/auth/register/components/header/title.js +5 -2
  21. package/lib/commonjs/modules/auth/register/components/header/title.js.map +1 -1
  22. package/lib/commonjs/modules/auth/register/components/login-link.js +4 -3
  23. package/lib/commonjs/modules/auth/register/components/login-link.js.map +1 -1
  24. package/lib/commonjs/modules/auth/register/components/register-with-separator.js +1 -2
  25. package/lib/commonjs/modules/auth/register/components/register-with-separator.js.map +1 -1
  26. package/lib/commonjs/modules/auth/reset-password/components/form/inputs.js +4 -1
  27. package/lib/commonjs/modules/auth/reset-password/components/form/inputs.js.map +1 -1
  28. package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-button.js +2 -2
  29. package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-button.js.map +1 -1
  30. package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js +6 -2
  31. package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
  32. package/lib/commonjs/modules/auth/reset-password/components/header/description.js +0 -1
  33. package/lib/commonjs/modules/auth/reset-password/components/header/description.js.map +1 -1
  34. package/lib/commonjs/modules/auth/reset-password/components/header/title.js +5 -2
  35. package/lib/commonjs/modules/auth/reset-password/components/header/title.js.map +1 -1
  36. package/lib/commonjs/modules/auth/session/components/session-list.js +5 -3
  37. package/lib/commonjs/modules/auth/session/components/session-list.js.map +1 -1
  38. package/lib/commonjs/modules/auth/sign-in/components/footer.js +0 -1
  39. package/lib/commonjs/modules/auth/sign-in/components/footer.js.map +1 -1
  40. package/lib/commonjs/modules/auth/sign-in/components/form/signin-button.js +2 -2
  41. package/lib/commonjs/modules/auth/sign-in/components/form/signin-button.js.map +1 -1
  42. package/lib/commonjs/modules/auth/sign-in/components/header/description.js +0 -1
  43. package/lib/commonjs/modules/auth/sign-in/components/header/description.js.map +1 -1
  44. package/lib/commonjs/modules/auth/sign-in/components/header/title.js +5 -2
  45. package/lib/commonjs/modules/auth/sign-in/components/header/title.js.map +1 -1
  46. package/lib/commonjs/modules/auth/sign-in/components/login-with-separator.js +1 -2
  47. package/lib/commonjs/modules/auth/sign-in/components/login-with-separator.js.map +1 -1
  48. package/lib/commonjs/modules/auth/sign-in/components/register-link.js +4 -3
  49. package/lib/commonjs/modules/auth/sign-in/components/register-link.js.map +1 -1
  50. package/lib/commonjs/modules/auth/sign-in/components/site-url.js +1 -3
  51. package/lib/commonjs/modules/auth/sign-in/components/site-url.js.map +1 -1
  52. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-text.js +1 -3
  53. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-text.js.map +1 -1
  54. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-text.js +1 -3
  55. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-text.js.map +1 -1
  56. package/lib/commonjs/modules/auth/utils/sign-out-google.js +16 -0
  57. package/lib/commonjs/modules/auth/utils/sign-out-google.js.map +1 -0
  58. package/lib/commonjs/modules/background-sync/android-background-sync.js.map +1 -1
  59. package/lib/commonjs/modules/background-sync/android-bluetooth-foreground-service.js +12 -1
  60. package/lib/commonjs/modules/background-sync/android-bluetooth-foreground-service.js.map +1 -1
  61. package/lib/commonjs/modules/breathing-exercise/components/method-name.js +0 -1
  62. package/lib/commonjs/modules/breathing-exercise/components/method-name.js.map +1 -1
  63. package/lib/commonjs/modules/breathing-exercise/components/remaining-time.js +0 -1
  64. package/lib/commonjs/modules/breathing-exercise/components/remaining-time.js.map +1 -1
  65. package/lib/commonjs/modules/bt-device/components/item/status.js +1 -2
  66. package/lib/commonjs/modules/bt-device/components/item/status.js.map +1 -1
  67. package/lib/commonjs/modules/bt-device/components/item/sub-title.js +1 -2
  68. package/lib/commonjs/modules/bt-device/components/item/sub-title.js.map +1 -1
  69. package/lib/commonjs/modules/bt-device/components/item/title.js +1 -2
  70. package/lib/commonjs/modules/bt-device/components/item/title.js.map +1 -1
  71. package/lib/commonjs/modules/bt-device/constants/supported-devices.js +4 -2
  72. package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
  73. package/lib/commonjs/modules/bt-management/components/android-bluetooth-foreground-service.js +12 -1
  74. package/lib/commonjs/modules/bt-management/components/android-bluetooth-foreground-service.js.map +1 -1
  75. package/lib/commonjs/modules/bt-management/components/bluetooth-device-picker.js +109 -39
  76. package/lib/commonjs/modules/bt-management/components/bluetooth-device-picker.js.map +1 -1
  77. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js +37 -14
  78. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  79. package/lib/commonjs/modules/bt-management/constants/measurement-field-catalog.js +32 -8
  80. package/lib/commonjs/modules/bt-management/constants/measurement-field-catalog.js.map +1 -1
  81. package/lib/commonjs/modules/bt-management/hooks/runtime-context.js +52 -1
  82. package/lib/commonjs/modules/bt-management/hooks/runtime-context.js.map +1 -1
  83. package/lib/commonjs/modules/bt-management/hooks/use-paired-devices.js +20 -11
  84. package/lib/commonjs/modules/bt-management/hooks/use-paired-devices.js.map +1 -1
  85. package/lib/commonjs/modules/bt-management/hooks/use-request-permissions.js +5 -8
  86. package/lib/commonjs/modules/bt-management/hooks/use-request-permissions.js.map +1 -1
  87. package/lib/commonjs/modules/bt-management/index.js +11 -0
  88. package/lib/commonjs/modules/bt-management/index.js.map +1 -1
  89. package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js +5 -1
  90. package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -1
  91. package/lib/commonjs/modules/bt-management/services/bt-manager.js +56 -16
  92. package/lib/commonjs/modules/bt-management/services/bt-manager.js.map +1 -1
  93. package/lib/commonjs/modules/bt-management/services/devices/boso/boso.medicus.js +9 -6
  94. package/lib/commonjs/modules/bt-management/services/devices/boso/boso.medicus.js.map +1 -1
  95. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js +97 -2
  96. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
  97. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.files.js +74 -0
  98. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.files.js.map +1 -0
  99. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.history-sequencer.js +52 -0
  100. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.history-sequencer.js.map +1 -0
  101. package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js +0 -1
  102. package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
  103. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js +22 -2
  104. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  105. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +1 -0
  106. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  107. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.file-transfer.js +1 -1
  108. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.file-transfer.js.map +1 -1
  109. package/lib/commonjs/modules/bt-management/types/bluetooth-error.js +4 -0
  110. package/lib/commonjs/modules/bt-management/types/bluetooth-error.js.map +1 -1
  111. package/lib/commonjs/modules/bt-management/utils/device-title.js +17 -0
  112. package/lib/commonjs/modules/bt-management/utils/device-title.js.map +1 -0
  113. package/lib/commonjs/modules/content/content-card/components/cover-badge.js +1 -3
  114. package/lib/commonjs/modules/content/content-card/components/cover-badge.js.map +1 -1
  115. package/lib/commonjs/modules/content/content-card/components/title.js +1 -3
  116. package/lib/commonjs/modules/content/content-card/components/title.js.map +1 -1
  117. package/lib/commonjs/modules/content/content-detail/components/content-detail-rich-content.js +1 -1
  118. package/lib/commonjs/modules/content/content-detail/components/content-detail-rich-content.js.map +1 -1
  119. package/lib/commonjs/modules/data-sync/components/android/android-health-sync.js.map +1 -1
  120. package/lib/commonjs/modules/data-sync/components/apple/apple-health-sync.js.map +1 -1
  121. package/lib/commonjs/modules/data-sync/components/manually-request-sheet/description.js +2 -2
  122. package/lib/commonjs/modules/data-sync/components/manually-request-sheet/description.js.map +1 -1
  123. package/lib/commonjs/modules/data-sync/components/manually-request-sheet/title.js +0 -1
  124. package/lib/commonjs/modules/data-sync/components/manually-request-sheet/title.js.map +1 -1
  125. package/lib/commonjs/modules/data-sync/components/sync-progress-list/sync-progress-list.js +30 -21
  126. package/lib/commonjs/modules/data-sync/components/sync-progress-list/sync-progress-list.js.map +1 -1
  127. package/lib/commonjs/modules/data-sync/index.js +11 -0
  128. package/lib/commonjs/modules/data-sync/index.js.map +1 -1
  129. package/lib/commonjs/modules/data-sync/services/android-health-sync-service.js.map +1 -1
  130. package/lib/commonjs/modules/data-sync/services/apple-health-sync-service.js.map +1 -1
  131. package/lib/commonjs/modules/data-sync/services/base-health-sync-service.js +1 -1
  132. package/lib/commonjs/modules/data-sync/services/base-health-sync-service.js.map +1 -1
  133. package/lib/commonjs/modules/data-sync/services/managers/data-processor.js +40 -5
  134. package/lib/commonjs/modules/data-sync/services/managers/data-processor.js.map +1 -1
  135. package/lib/commonjs/modules/data-sync/services/managers/sync-progress-manager.js.map +1 -1
  136. package/lib/commonjs/modules/data-sync/types/get-data-from-provider-props.js +4 -0
  137. package/lib/commonjs/modules/data-sync/types/get-total-count-props.js +4 -0
  138. package/lib/commonjs/modules/data-sync/types/health-data.js +12 -0
  139. package/lib/commonjs/modules/data-sync/types/health-data.js.map +1 -0
  140. package/lib/commonjs/modules/data-sync/types/health-sync-keys.js +39 -0
  141. package/lib/commonjs/modules/data-sync/types/health-sync-keys.js.map +1 -1
  142. package/lib/commonjs/modules/data-sync/utils/convert-generic-health-data.js +232 -0
  143. package/lib/commonjs/modules/data-sync/utils/convert-generic-health-data.js.map +1 -0
  144. package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js +36 -6
  145. package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
  146. package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js +40 -9
  147. package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
  148. package/lib/commonjs/modules/data-sync/utils/generate-observation-entry.js +1 -0
  149. package/lib/commonjs/modules/data-sync/utils/generate-observation-entry.js.map +1 -1
  150. package/lib/commonjs/modules/data-sync/utils/get-latest-observation-dates-by-code.js.map +1 -1
  151. package/lib/commonjs/modules/data-sync/utils/get-records-from-health-connect.js +90 -14
  152. package/lib/commonjs/modules/data-sync/utils/get-records-from-health-connect.js.map +1 -1
  153. package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js +100 -14
  154. package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
  155. package/lib/commonjs/modules/data-sync/utils/get-total-records-count.js +12 -1
  156. package/lib/commonjs/modules/data-sync/utils/get-total-records-count.js.map +1 -1
  157. package/lib/commonjs/modules/data-sync/utils/get-total-samples-count.js +21 -17
  158. package/lib/commonjs/modules/data-sync/utils/get-total-samples-count.js.map +1 -1
  159. package/lib/commonjs/modules/data-sync/utils/health-observation-device.js +55 -0
  160. package/lib/commonjs/modules/data-sync/utils/health-observation-device.js.map +1 -0
  161. package/lib/commonjs/modules/diary/components/no-data.js +1 -2
  162. package/lib/commonjs/modules/diary/components/no-data.js.map +1 -1
  163. package/lib/commonjs/modules/helpers/form-items/form-date-field.js +1 -1
  164. package/lib/commonjs/modules/helpers/form-items/form-date-field.js.map +1 -1
  165. package/lib/commonjs/modules/helpers/form-items/form-select.js +13 -13
  166. package/lib/commonjs/modules/helpers/form-items/form-select.js.map +1 -1
  167. package/lib/commonjs/modules/image/components/optimized-image.js +18 -0
  168. package/lib/commonjs/modules/image/components/optimized-image.js.map +1 -1
  169. package/lib/commonjs/modules/journal/past-journal/components/title.js +0 -1
  170. package/lib/commonjs/modules/journal/past-journal/components/title.js.map +1 -1
  171. package/lib/commonjs/modules/language-switcher/components/option/label.js +0 -1
  172. package/lib/commonjs/modules/language-switcher/components/option/label.js.map +1 -1
  173. package/lib/commonjs/modules/measurement/components/date-range.js +4 -3
  174. package/lib/commonjs/modules/measurement/components/date-range.js.map +1 -1
  175. package/lib/commonjs/modules/measurement/components/measurement-list-item.js +10 -10
  176. package/lib/commonjs/modules/measurement/components/measurement-list-item.js.map +1 -1
  177. package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js +1 -1
  178. package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js.map +1 -1
  179. package/lib/commonjs/modules/setting/components/list-header.js +1 -2
  180. package/lib/commonjs/modules/setting/components/list-header.js.map +1 -1
  181. package/lib/commonjs/modules/setting/components/setting-list-item.js +0 -1
  182. package/lib/commonjs/modules/setting/components/setting-list-item.js.map +1 -1
  183. package/lib/commonjs/modules/tab/components/tab-item.js +0 -1
  184. package/lib/commonjs/modules/tab/components/tab-item.js.map +1 -1
  185. package/lib/commonjs/modules/theme/utils/generate-theme.js +35 -4
  186. package/lib/commonjs/modules/theme/utils/generate-theme.js.map +1 -1
  187. package/lib/commonjs/modules/tile/components/measured-value.js +0 -3
  188. package/lib/commonjs/modules/tile/components/measured-value.js.map +1 -1
  189. package/lib/commonjs/modules/tile/components/title.js +0 -1
  190. package/lib/commonjs/modules/tile/components/title.js.map +1 -1
  191. package/lib/commonjs/modules/ui/components/background-sync-setting.js +11 -5
  192. package/lib/commonjs/modules/ui/components/background-sync-setting.js.map +1 -1
  193. package/lib/commonjs/modules/ui/components/bluetooth-state-notice.js +19 -6
  194. package/lib/commonjs/modules/ui/components/bluetooth-state-notice.js.map +1 -1
  195. package/lib/commonjs/modules/ui/components/health-import-card.js +15 -3
  196. package/lib/commonjs/modules/ui/components/health-import-card.js.map +1 -1
  197. package/lib/commonjs/modules/ui/components/measurement-trend-chart.js +95 -0
  198. package/lib/commonjs/modules/ui/components/measurement-trend-chart.js.map +1 -0
  199. package/lib/commonjs/modules/ui/components/pairing-flow.js +75 -31
  200. package/lib/commonjs/modules/ui/components/pairing-flow.js.map +1 -1
  201. package/lib/commonjs/modules/ui/components/supported-devices-catalog-list.js +3 -4
  202. package/lib/commonjs/modules/ui/components/supported-devices-catalog-list.js.map +1 -1
  203. package/lib/commonjs/modules/ui/components/urine-test-result.js +6 -4
  204. package/lib/commonjs/modules/ui/components/urine-test-result.js.map +1 -1
  205. package/lib/commonjs/modules/ui/index.js +11 -0
  206. package/lib/commonjs/modules/ui/index.js.map +1 -1
  207. package/lib/commonjs/modules/ui/use-ovok-ui.js +3 -0
  208. package/lib/commonjs/modules/ui/use-ovok-ui.js.map +1 -1
  209. package/lib/module/modules/auth/default-translation.js +68 -0
  210. package/lib/module/modules/auth/default-translation.js.map +1 -0
  211. package/lib/module/modules/auth/delete-account-button/components/delete-account-button.js +2 -0
  212. package/lib/module/modules/auth/delete-account-button/components/delete-account-button.js.map +1 -1
  213. package/lib/module/modules/auth/hooks/use-session.js +22 -6
  214. package/lib/module/modules/auth/hooks/use-session.js.map +1 -1
  215. package/lib/module/modules/auth/index.js +1 -0
  216. package/lib/module/modules/auth/index.js.map +1 -1
  217. package/lib/module/modules/auth/logout-button/components/logout-button.js +27 -1
  218. package/lib/module/modules/auth/logout-button/components/logout-button.js.map +1 -1
  219. package/lib/module/modules/auth/profile/components/profile-form.js +0 -1
  220. package/lib/module/modules/auth/profile/components/profile-form.js.map +1 -1
  221. package/lib/module/modules/auth/register/components/form/register-button.js +2 -2
  222. package/lib/module/modules/auth/register/components/form/register-button.js.map +1 -1
  223. package/lib/module/modules/auth/register/components/header/description.js +0 -1
  224. package/lib/module/modules/auth/register/components/header/description.js.map +1 -1
  225. package/lib/module/modules/auth/register/components/header/title.js +5 -2
  226. package/lib/module/modules/auth/register/components/header/title.js.map +1 -1
  227. package/lib/module/modules/auth/register/components/login-link.js +4 -3
  228. package/lib/module/modules/auth/register/components/login-link.js.map +1 -1
  229. package/lib/module/modules/auth/register/components/register-with-separator.js +1 -2
  230. package/lib/module/modules/auth/register/components/register-with-separator.js.map +1 -1
  231. package/lib/module/modules/auth/reset-password/components/form/inputs.js +4 -1
  232. package/lib/module/modules/auth/reset-password/components/form/inputs.js.map +1 -1
  233. package/lib/module/modules/auth/reset-password/components/form/reset-password-button.js +2 -2
  234. package/lib/module/modules/auth/reset-password/components/form/reset-password-button.js.map +1 -1
  235. package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js +6 -2
  236. package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
  237. package/lib/module/modules/auth/reset-password/components/header/description.js +0 -1
  238. package/lib/module/modules/auth/reset-password/components/header/description.js.map +1 -1
  239. package/lib/module/modules/auth/reset-password/components/header/title.js +5 -2
  240. package/lib/module/modules/auth/reset-password/components/header/title.js.map +1 -1
  241. package/lib/module/modules/auth/session/components/session-list.js +5 -3
  242. package/lib/module/modules/auth/session/components/session-list.js.map +1 -1
  243. package/lib/module/modules/auth/sign-in/components/footer.js +0 -1
  244. package/lib/module/modules/auth/sign-in/components/footer.js.map +1 -1
  245. package/lib/module/modules/auth/sign-in/components/form/signin-button.js +2 -2
  246. package/lib/module/modules/auth/sign-in/components/form/signin-button.js.map +1 -1
  247. package/lib/module/modules/auth/sign-in/components/header/description.js +0 -1
  248. package/lib/module/modules/auth/sign-in/components/header/description.js.map +1 -1
  249. package/lib/module/modules/auth/sign-in/components/header/title.js +5 -2
  250. package/lib/module/modules/auth/sign-in/components/header/title.js.map +1 -1
  251. package/lib/module/modules/auth/sign-in/components/login-with-separator.js +1 -2
  252. package/lib/module/modules/auth/sign-in/components/login-with-separator.js.map +1 -1
  253. package/lib/module/modules/auth/sign-in/components/register-link.js +4 -3
  254. package/lib/module/modules/auth/sign-in/components/register-link.js.map +1 -1
  255. package/lib/module/modules/auth/sign-in/components/site-url.js +1 -3
  256. package/lib/module/modules/auth/sign-in/components/site-url.js.map +1 -1
  257. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-text.js +1 -3
  258. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-text.js.map +1 -1
  259. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-text.js +1 -3
  260. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-text.js.map +1 -1
  261. package/lib/module/modules/auth/utils/sign-out-google.js +12 -0
  262. package/lib/module/modules/auth/utils/sign-out-google.js.map +1 -0
  263. package/lib/module/modules/background-sync/android-background-sync.js.map +1 -1
  264. package/lib/module/modules/background-sync/android-bluetooth-foreground-service.js +12 -1
  265. package/lib/module/modules/background-sync/android-bluetooth-foreground-service.js.map +1 -1
  266. package/lib/module/modules/breathing-exercise/components/method-name.js +0 -1
  267. package/lib/module/modules/breathing-exercise/components/method-name.js.map +1 -1
  268. package/lib/module/modules/breathing-exercise/components/remaining-time.js +0 -1
  269. package/lib/module/modules/breathing-exercise/components/remaining-time.js.map +1 -1
  270. package/lib/module/modules/bt-device/components/item/status.js +1 -2
  271. package/lib/module/modules/bt-device/components/item/status.js.map +1 -1
  272. package/lib/module/modules/bt-device/components/item/sub-title.js +1 -2
  273. package/lib/module/modules/bt-device/components/item/sub-title.js.map +1 -1
  274. package/lib/module/modules/bt-device/components/item/title.js +1 -2
  275. package/lib/module/modules/bt-device/components/item/title.js.map +1 -1
  276. package/lib/module/modules/bt-device/constants/supported-devices.js +4 -2
  277. package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
  278. package/lib/module/modules/bt-management/components/android-bluetooth-foreground-service.js +12 -1
  279. package/lib/module/modules/bt-management/components/android-bluetooth-foreground-service.js.map +1 -1
  280. package/lib/module/modules/bt-management/components/bluetooth-device-picker.js +110 -41
  281. package/lib/module/modules/bt-management/components/bluetooth-device-picker.js.map +1 -1
  282. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js +37 -14
  283. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  284. package/lib/module/modules/bt-management/constants/measurement-field-catalog.js +32 -8
  285. package/lib/module/modules/bt-management/constants/measurement-field-catalog.js.map +1 -1
  286. package/lib/module/modules/bt-management/hooks/runtime-context.js +52 -1
  287. package/lib/module/modules/bt-management/hooks/runtime-context.js.map +1 -1
  288. package/lib/module/modules/bt-management/hooks/use-paired-devices.js +20 -11
  289. package/lib/module/modules/bt-management/hooks/use-paired-devices.js.map +1 -1
  290. package/lib/module/modules/bt-management/hooks/use-request-permissions.js +5 -8
  291. package/lib/module/modules/bt-management/hooks/use-request-permissions.js.map +1 -1
  292. package/lib/module/modules/bt-management/index.js +1 -0
  293. package/lib/module/modules/bt-management/index.js.map +1 -1
  294. package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js +5 -1
  295. package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -1
  296. package/lib/module/modules/bt-management/services/bt-manager.js +56 -16
  297. package/lib/module/modules/bt-management/services/bt-manager.js.map +1 -1
  298. package/lib/module/modules/bt-management/services/devices/boso/boso.medicus.js +9 -6
  299. package/lib/module/modules/bt-management/services/devices/boso/boso.medicus.js.map +1 -1
  300. package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js +98 -2
  301. package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
  302. package/lib/module/modules/bt-management/services/devices/bp2/bp2.files.js +68 -0
  303. package/lib/module/modules/bt-management/services/devices/bp2/bp2.files.js.map +1 -0
  304. package/lib/module/modules/bt-management/services/devices/bp2/bp2.history-sequencer.js +48 -0
  305. package/lib/module/modules/bt-management/services/devices/bp2/bp2.history-sequencer.js.map +1 -0
  306. package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js +0 -1
  307. package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
  308. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js +22 -2
  309. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  310. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +1 -0
  311. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  312. package/lib/module/modules/bt-management/services/devices/lepu/lepu.file-transfer.js +1 -1
  313. package/lib/module/modules/bt-management/services/devices/lepu/lepu.file-transfer.js.map +1 -1
  314. package/lib/module/modules/bt-management/types/bluetooth-error.js +4 -0
  315. package/lib/module/modules/bt-management/types/bluetooth-error.js.map +1 -1
  316. package/lib/module/modules/bt-management/utils/device-title.js +12 -0
  317. package/lib/module/modules/bt-management/utils/device-title.js.map +1 -0
  318. package/lib/module/modules/content/content-card/components/cover-badge.js +1 -3
  319. package/lib/module/modules/content/content-card/components/cover-badge.js.map +1 -1
  320. package/lib/module/modules/content/content-card/components/title.js +1 -3
  321. package/lib/module/modules/content/content-card/components/title.js.map +1 -1
  322. package/lib/module/modules/content/content-detail/components/content-detail-rich-content.js +1 -1
  323. package/lib/module/modules/content/content-detail/components/content-detail-rich-content.js.map +1 -1
  324. package/lib/module/modules/data-sync/components/android/android-health-sync.js.map +1 -1
  325. package/lib/module/modules/data-sync/components/apple/apple-health-sync.js.map +1 -1
  326. package/lib/module/modules/data-sync/components/manually-request-sheet/description.js +2 -2
  327. package/lib/module/modules/data-sync/components/manually-request-sheet/description.js.map +1 -1
  328. package/lib/module/modules/data-sync/components/manually-request-sheet/title.js +0 -1
  329. package/lib/module/modules/data-sync/components/manually-request-sheet/title.js.map +1 -1
  330. package/lib/module/modules/data-sync/components/sync-progress-list/sync-progress-list.js +30 -21
  331. package/lib/module/modules/data-sync/components/sync-progress-list/sync-progress-list.js.map +1 -1
  332. package/lib/module/modules/data-sync/index.js +1 -0
  333. package/lib/module/modules/data-sync/index.js.map +1 -1
  334. package/lib/module/modules/data-sync/services/android-health-sync-service.js.map +1 -1
  335. package/lib/module/modules/data-sync/services/apple-health-sync-service.js.map +1 -1
  336. package/lib/module/modules/data-sync/services/base-health-sync-service.js +1 -1
  337. package/lib/module/modules/data-sync/services/base-health-sync-service.js.map +1 -1
  338. package/lib/module/modules/data-sync/services/managers/data-processor.js +40 -5
  339. package/lib/module/modules/data-sync/services/managers/data-processor.js.map +1 -1
  340. package/lib/module/modules/data-sync/services/managers/sync-progress-manager.js.map +1 -1
  341. package/lib/module/modules/data-sync/types/get-data-from-provider-props.js +2 -0
  342. package/lib/module/modules/data-sync/types/get-total-count-props.js +2 -0
  343. package/lib/module/modules/data-sync/types/health-data.js +7 -0
  344. package/lib/module/modules/data-sync/types/health-data.js.map +1 -0
  345. package/lib/module/modules/data-sync/types/health-sync-keys.js +38 -1
  346. package/lib/module/modules/data-sync/types/health-sync-keys.js.map +1 -1
  347. package/lib/module/modules/data-sync/utils/convert-generic-health-data.js +227 -0
  348. package/lib/module/modules/data-sync/utils/convert-generic-health-data.js.map +1 -0
  349. package/lib/module/modules/data-sync/utils/convert-records-to-observation.js +37 -7
  350. package/lib/module/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
  351. package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js +41 -10
  352. package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
  353. package/lib/module/modules/data-sync/utils/generate-observation-entry.js +1 -0
  354. package/lib/module/modules/data-sync/utils/generate-observation-entry.js.map +1 -1
  355. package/lib/module/modules/data-sync/utils/get-latest-observation-dates-by-code.js.map +1 -1
  356. package/lib/module/modules/data-sync/utils/get-records-from-health-connect.js +92 -16
  357. package/lib/module/modules/data-sync/utils/get-records-from-health-connect.js.map +1 -1
  358. package/lib/module/modules/data-sync/utils/get-samples-from-health.js +100 -14
  359. package/lib/module/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
  360. package/lib/module/modules/data-sync/utils/get-total-records-count.js +12 -1
  361. package/lib/module/modules/data-sync/utils/get-total-records-count.js.map +1 -1
  362. package/lib/module/modules/data-sync/utils/get-total-samples-count.js +20 -16
  363. package/lib/module/modules/data-sync/utils/get-total-samples-count.js.map +1 -1
  364. package/lib/module/modules/data-sync/utils/health-observation-device.js +50 -0
  365. package/lib/module/modules/data-sync/utils/health-observation-device.js.map +1 -0
  366. package/lib/module/modules/diary/components/no-data.js +1 -2
  367. package/lib/module/modules/diary/components/no-data.js.map +1 -1
  368. package/lib/module/modules/helpers/form-items/form-date-field.js +1 -1
  369. package/lib/module/modules/helpers/form-items/form-date-field.js.map +1 -1
  370. package/lib/module/modules/helpers/form-items/form-select.js +13 -13
  371. package/lib/module/modules/helpers/form-items/form-select.js.map +1 -1
  372. package/lib/module/modules/image/components/optimized-image.js +18 -0
  373. package/lib/module/modules/image/components/optimized-image.js.map +1 -1
  374. package/lib/module/modules/journal/past-journal/components/title.js +0 -1
  375. package/lib/module/modules/journal/past-journal/components/title.js.map +1 -1
  376. package/lib/module/modules/language-switcher/components/option/label.js +0 -1
  377. package/lib/module/modules/language-switcher/components/option/label.js.map +1 -1
  378. package/lib/module/modules/measurement/components/date-range.js +4 -3
  379. package/lib/module/modules/measurement/components/date-range.js.map +1 -1
  380. package/lib/module/modules/measurement/components/measurement-list-item.js +10 -10
  381. package/lib/module/modules/measurement/components/measurement-list-item.js.map +1 -1
  382. package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js +1 -1
  383. package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js.map +1 -1
  384. package/lib/module/modules/setting/components/list-header.js +1 -2
  385. package/lib/module/modules/setting/components/list-header.js.map +1 -1
  386. package/lib/module/modules/setting/components/setting-list-item.js +0 -1
  387. package/lib/module/modules/setting/components/setting-list-item.js.map +1 -1
  388. package/lib/module/modules/tab/components/tab-item.js +0 -1
  389. package/lib/module/modules/tab/components/tab-item.js.map +1 -1
  390. package/lib/module/modules/theme/utils/generate-theme.js +35 -4
  391. package/lib/module/modules/theme/utils/generate-theme.js.map +1 -1
  392. package/lib/module/modules/tile/components/measured-value.js +0 -3
  393. package/lib/module/modules/tile/components/measured-value.js.map +1 -1
  394. package/lib/module/modules/tile/components/title.js +0 -1
  395. package/lib/module/modules/tile/components/title.js.map +1 -1
  396. package/lib/module/modules/ui/components/background-sync-setting.js +11 -5
  397. package/lib/module/modules/ui/components/background-sync-setting.js.map +1 -1
  398. package/lib/module/modules/ui/components/bluetooth-state-notice.js +19 -6
  399. package/lib/module/modules/ui/components/bluetooth-state-notice.js.map +1 -1
  400. package/lib/module/modules/ui/components/health-import-card.js +15 -3
  401. package/lib/module/modules/ui/components/health-import-card.js.map +1 -1
  402. package/lib/module/modules/ui/components/measurement-trend-chart.js +91 -0
  403. package/lib/module/modules/ui/components/measurement-trend-chart.js.map +1 -0
  404. package/lib/module/modules/ui/components/pairing-flow.js +78 -34
  405. package/lib/module/modules/ui/components/pairing-flow.js.map +1 -1
  406. package/lib/module/modules/ui/components/supported-devices-catalog-list.js +4 -5
  407. package/lib/module/modules/ui/components/supported-devices-catalog-list.js.map +1 -1
  408. package/lib/module/modules/ui/components/urine-test-result.js +6 -4
  409. package/lib/module/modules/ui/components/urine-test-result.js.map +1 -1
  410. package/lib/module/modules/ui/index.js +1 -0
  411. package/lib/module/modules/ui/index.js.map +1 -1
  412. package/lib/module/modules/ui/use-ovok-ui.js +4 -1
  413. package/lib/module/modules/ui/use-ovok-ui.js.map +1 -1
  414. package/lib/typescript/commonjs/src/modules/auth/default-translation.d.ts +2 -0
  415. package/lib/typescript/commonjs/src/modules/auth/default-translation.d.ts.map +1 -0
  416. package/lib/typescript/commonjs/src/modules/auth/delete-account-button/components/delete-account-button.d.ts.map +1 -1
  417. package/lib/typescript/commonjs/src/modules/auth/hooks/use-session.d.ts +8 -2
  418. package/lib/typescript/commonjs/src/modules/auth/hooks/use-session.d.ts.map +1 -1
  419. package/lib/typescript/commonjs/src/modules/auth/index.d.ts +1 -0
  420. package/lib/typescript/commonjs/src/modules/auth/index.d.ts.map +1 -1
  421. package/lib/typescript/commonjs/src/modules/auth/logout-button/components/logout-button.d.ts +1 -1
  422. package/lib/typescript/commonjs/src/modules/auth/logout-button/components/logout-button.d.ts.map +1 -1
  423. package/lib/typescript/commonjs/src/modules/auth/logout-button/types/logout-button-props.d.ts +6 -1
  424. package/lib/typescript/commonjs/src/modules/auth/logout-button/types/logout-button-props.d.ts.map +1 -1
  425. package/lib/typescript/commonjs/src/modules/auth/register/components/form/register-button.d.ts.map +1 -1
  426. package/lib/typescript/commonjs/src/modules/auth/register/components/header/title.d.ts.map +1 -1
  427. package/lib/typescript/commonjs/src/modules/auth/register/components/login-link.d.ts.map +1 -1
  428. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/inputs.d.ts.map +1 -1
  429. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/reset-password-button.d.ts.map +1 -1
  430. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts +1 -1
  431. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts.map +1 -1
  432. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/header/title.d.ts.map +1 -1
  433. package/lib/typescript/commonjs/src/modules/auth/reset-password/contexts/reset-password-form-context.d.ts +2 -46
  434. package/lib/typescript/commonjs/src/modules/auth/reset-password/contexts/reset-password-form-context.d.ts.map +1 -1
  435. package/lib/typescript/commonjs/src/modules/auth/reset-password/hooks/use-reset-password-form.d.ts +1 -47
  436. package/lib/typescript/commonjs/src/modules/auth/reset-password/hooks/use-reset-password-form.d.ts.map +1 -1
  437. package/lib/typescript/commonjs/src/modules/auth/reset-password/types/reset-password-context-type.d.ts +3 -1
  438. package/lib/typescript/commonjs/src/modules/auth/reset-password/types/reset-password-context-type.d.ts.map +1 -1
  439. package/lib/typescript/commonjs/src/modules/auth/reset-password/types/reset-password-form-provider-props.d.ts +1 -0
  440. package/lib/typescript/commonjs/src/modules/auth/reset-password/types/reset-password-form-provider-props.d.ts.map +1 -1
  441. package/lib/typescript/commonjs/src/modules/auth/session/components/session-list.d.ts.map +1 -1
  442. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/signin-button.d.ts.map +1 -1
  443. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/header/title.d.ts.map +1 -1
  444. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/register-link.d.ts.map +1 -1
  445. package/lib/typescript/commonjs/src/modules/auth/utils/sign-out-google.d.ts +3 -0
  446. package/lib/typescript/commonjs/src/modules/auth/utils/sign-out-google.d.ts.map +1 -0
  447. package/lib/typescript/commonjs/src/modules/background-sync/android-background-sync.d.ts +3 -2
  448. package/lib/typescript/commonjs/src/modules/background-sync/android-background-sync.d.ts.map +1 -1
  449. package/lib/typescript/commonjs/src/modules/background-sync/android-bluetooth-foreground-service.d.ts.map +1 -1
  450. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  451. package/lib/typescript/commonjs/src/modules/bt-management/components/android-bluetooth-foreground-service.d.ts.map +1 -1
  452. package/lib/typescript/commonjs/src/modules/bt-management/components/bluetooth-device-picker.d.ts +13 -4
  453. package/lib/typescript/commonjs/src/modules/bt-management/components/bluetooth-device-picker.d.ts.map +1 -1
  454. package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  455. package/lib/typescript/commonjs/src/modules/bt-management/constants/measurement-field-catalog.d.ts +4 -0
  456. package/lib/typescript/commonjs/src/modules/bt-management/constants/measurement-field-catalog.d.ts.map +1 -1
  457. package/lib/typescript/commonjs/src/modules/bt-management/hooks/runtime-context.d.ts +6 -2
  458. package/lib/typescript/commonjs/src/modules/bt-management/hooks/runtime-context.d.ts.map +1 -1
  459. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-paired-devices.d.ts.map +1 -1
  460. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-request-permissions.d.ts.map +1 -1
  461. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts +1 -0
  462. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts.map +1 -1
  463. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -1
  464. package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts +9 -0
  465. package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
  466. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts.map +1 -1
  467. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts +17 -1
  468. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
  469. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts +17 -0
  470. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts.map +1 -0
  471. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.d.ts +28 -0
  472. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.d.ts.map +1 -0
  473. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-connection-handler.d.ts.map +1 -1
  474. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts +6 -0
  475. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  476. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  477. package/lib/typescript/commonjs/src/modules/bt-management/types/background-sync.d.ts +2 -0
  478. package/lib/typescript/commonjs/src/modules/bt-management/types/background-sync.d.ts.map +1 -1
  479. package/lib/typescript/commonjs/src/modules/bt-management/types/bluetooth-error.d.ts +1 -0
  480. package/lib/typescript/commonjs/src/modules/bt-management/types/bluetooth-error.d.ts.map +1 -1
  481. package/lib/typescript/commonjs/src/modules/bt-management/types/btprovider-children-props.d.ts +7 -1
  482. package/lib/typescript/commonjs/src/modules/bt-management/types/btprovider-children-props.d.ts.map +1 -1
  483. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts +2 -0
  484. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  485. package/lib/typescript/commonjs/src/modules/bt-management/utils/device-title.d.ts +8 -0
  486. package/lib/typescript/commonjs/src/modules/bt-management/utils/device-title.d.ts.map +1 -0
  487. package/lib/typescript/commonjs/src/modules/data-sync/components/android/android-health-sync.d.ts.map +1 -1
  488. package/lib/typescript/commonjs/src/modules/data-sync/components/apple/apple-health-sync.d.ts.map +1 -1
  489. package/lib/typescript/commonjs/src/modules/data-sync/components/manually-request-sheet/description.d.ts.map +1 -1
  490. package/lib/typescript/commonjs/src/modules/data-sync/components/sync-progress-list/sync-progress-list.d.ts +8 -5
  491. package/lib/typescript/commonjs/src/modules/data-sync/components/sync-progress-list/sync-progress-list.d.ts.map +1 -1
  492. package/lib/typescript/commonjs/src/modules/data-sync/index.d.ts +1 -0
  493. package/lib/typescript/commonjs/src/modules/data-sync/index.d.ts.map +1 -1
  494. package/lib/typescript/commonjs/src/modules/data-sync/services/android-health-sync-service.d.ts +4 -4
  495. package/lib/typescript/commonjs/src/modules/data-sync/services/android-health-sync-service.d.ts.map +1 -1
  496. package/lib/typescript/commonjs/src/modules/data-sync/services/apple-health-sync-service.d.ts +5 -5
  497. package/lib/typescript/commonjs/src/modules/data-sync/services/apple-health-sync-service.d.ts.map +1 -1
  498. package/lib/typescript/commonjs/src/modules/data-sync/services/base-health-sync-service.d.ts +1 -3
  499. package/lib/typescript/commonjs/src/modules/data-sync/services/base-health-sync-service.d.ts.map +1 -1
  500. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/data-processor.d.ts +7 -9
  501. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
  502. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/sync-progress-manager.d.ts +6 -6
  503. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/sync-progress-manager.d.ts.map +1 -1
  504. package/lib/typescript/commonjs/src/modules/data-sync/types/apple-health-authorization-provider-props.d.ts +2 -2
  505. package/lib/typescript/commonjs/src/modules/data-sync/types/apple-health-authorization-provider-props.d.ts.map +1 -1
  506. package/lib/typescript/commonjs/src/modules/data-sync/types/apple-health-sync-props.d.ts +2 -2
  507. package/lib/typescript/commonjs/src/modules/data-sync/types/apple-health-sync-props.d.ts.map +1 -1
  508. package/lib/typescript/commonjs/src/modules/data-sync/types/convert-data-props.d.ts +6 -2
  509. package/lib/typescript/commonjs/src/modules/data-sync/types/convert-data-props.d.ts.map +1 -1
  510. package/lib/typescript/commonjs/src/modules/data-sync/types/get-data-from-provider-props.d.ts +2 -0
  511. package/lib/typescript/commonjs/src/modules/data-sync/types/get-data-from-provider-props.d.ts.map +1 -1
  512. package/lib/typescript/commonjs/src/modules/data-sync/types/get-total-count-props.d.ts +2 -0
  513. package/lib/typescript/commonjs/src/modules/data-sync/types/get-total-count-props.d.ts.map +1 -1
  514. package/lib/typescript/commonjs/src/modules/data-sync/types/health-authorization-status.d.ts +3 -3
  515. package/lib/typescript/commonjs/src/modules/data-sync/types/health-authorization-status.d.ts.map +1 -1
  516. package/lib/typescript/commonjs/src/modules/data-sync/types/health-data.d.ts +14 -0
  517. package/lib/typescript/commonjs/src/modules/data-sync/types/health-data.d.ts.map +1 -0
  518. package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-keys.d.ts +19 -1
  519. package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-keys.d.ts.map +1 -1
  520. package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-props.d.ts +7 -5
  521. package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-props.d.ts.map +1 -1
  522. package/lib/typescript/commonjs/src/modules/data-sync/types/sync-progress.d.ts +2 -2
  523. package/lib/typescript/commonjs/src/modules/data-sync/types/sync-progress.d.ts.map +1 -1
  524. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-generic-health-data.d.ts +9 -0
  525. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-generic-health-data.d.ts.map +1 -0
  526. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-records-to-observation.d.ts +1 -2
  527. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-records-to-observation.d.ts.map +1 -1
  528. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-samples-to-observation.d.ts +1 -2
  529. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
  530. package/lib/typescript/commonjs/src/modules/data-sync/utils/generate-observation-entry.d.ts.map +1 -1
  531. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts +3 -3
  532. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts.map +1 -1
  533. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-latest-valid-start-date.d.ts +2 -2
  534. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-latest-valid-start-date.d.ts.map +1 -1
  535. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-records-from-health-connect.d.ts +6 -8
  536. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-records-from-health-connect.d.ts.map +1 -1
  537. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts +20 -4
  538. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
  539. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-total-records-count.d.ts +1 -1
  540. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-total-records-count.d.ts.map +1 -1
  541. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-total-samples-count.d.ts +3 -8
  542. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-total-samples-count.d.ts.map +1 -1
  543. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-observation-device.d.ts +9 -0
  544. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-observation-device.d.ts.map +1 -0
  545. package/lib/typescript/commonjs/src/modules/helpers/form-items/form-date-field.d.ts.map +1 -1
  546. package/lib/typescript/commonjs/src/modules/helpers/form-items/form-select.d.ts.map +1 -1
  547. package/lib/typescript/commonjs/src/modules/image/components/optimized-image.d.ts.map +1 -1
  548. package/lib/typescript/commonjs/src/modules/measurement/components/date-range.d.ts.map +1 -1
  549. package/lib/typescript/commonjs/src/modules/measurement/components/measurement-list-item.d.ts.map +1 -1
  550. package/lib/typescript/commonjs/src/modules/measurement/types/measurement-list-item-props.d.ts +2 -0
  551. package/lib/typescript/commonjs/src/modules/measurement/types/measurement-list-item-props.d.ts.map +1 -1
  552. package/lib/typescript/commonjs/src/modules/theme/hooks/use-app-theme.d.ts +3 -1
  553. package/lib/typescript/commonjs/src/modules/theme/hooks/use-app-theme.d.ts.map +1 -1
  554. package/lib/typescript/commonjs/src/modules/theme/index.d.ts +1 -1
  555. package/lib/typescript/commonjs/src/modules/theme/index.d.ts.map +1 -1
  556. package/lib/typescript/commonjs/src/modules/theme/types/theme-provider-props.d.ts +12 -3
  557. package/lib/typescript/commonjs/src/modules/theme/types/theme-provider-props.d.ts.map +1 -1
  558. package/lib/typescript/commonjs/src/modules/theme/utils/generate-theme.d.ts +3 -1
  559. package/lib/typescript/commonjs/src/modules/theme/utils/generate-theme.d.ts.map +1 -1
  560. package/lib/typescript/commonjs/src/modules/ui/components/background-sync-setting.d.ts +4 -1
  561. package/lib/typescript/commonjs/src/modules/ui/components/background-sync-setting.d.ts.map +1 -1
  562. package/lib/typescript/commonjs/src/modules/ui/components/bluetooth-state-notice.d.ts +7 -1
  563. package/lib/typescript/commonjs/src/modules/ui/components/bluetooth-state-notice.d.ts.map +1 -1
  564. package/lib/typescript/commonjs/src/modules/ui/components/health-import-card.d.ts +5 -1
  565. package/lib/typescript/commonjs/src/modules/ui/components/health-import-card.d.ts.map +1 -1
  566. package/lib/typescript/commonjs/src/modules/ui/components/measurement-trend-chart.d.ts +19 -0
  567. package/lib/typescript/commonjs/src/modules/ui/components/measurement-trend-chart.d.ts.map +1 -0
  568. package/lib/typescript/commonjs/src/modules/ui/components/pairing-flow.d.ts +16 -1
  569. package/lib/typescript/commonjs/src/modules/ui/components/pairing-flow.d.ts.map +1 -1
  570. package/lib/typescript/commonjs/src/modules/ui/components/supported-devices-catalog-list.d.ts.map +1 -1
  571. package/lib/typescript/commonjs/src/modules/ui/components/urine-test-result.d.ts.map +1 -1
  572. package/lib/typescript/commonjs/src/modules/ui/index.d.ts +1 -0
  573. package/lib/typescript/commonjs/src/modules/ui/index.d.ts.map +1 -1
  574. package/lib/typescript/commonjs/src/modules/ui/types.d.ts +4 -1
  575. package/lib/typescript/commonjs/src/modules/ui/types.d.ts.map +1 -1
  576. package/lib/typescript/commonjs/src/modules/ui/use-ovok-ui.d.ts.map +1 -1
  577. package/lib/typescript/module/src/modules/auth/default-translation.d.ts +2 -0
  578. package/lib/typescript/module/src/modules/auth/default-translation.d.ts.map +1 -0
  579. package/lib/typescript/module/src/modules/auth/delete-account-button/components/delete-account-button.d.ts.map +1 -1
  580. package/lib/typescript/module/src/modules/auth/hooks/use-session.d.ts +8 -2
  581. package/lib/typescript/module/src/modules/auth/hooks/use-session.d.ts.map +1 -1
  582. package/lib/typescript/module/src/modules/auth/index.d.ts +1 -0
  583. package/lib/typescript/module/src/modules/auth/index.d.ts.map +1 -1
  584. package/lib/typescript/module/src/modules/auth/logout-button/components/logout-button.d.ts +1 -1
  585. package/lib/typescript/module/src/modules/auth/logout-button/components/logout-button.d.ts.map +1 -1
  586. package/lib/typescript/module/src/modules/auth/logout-button/types/logout-button-props.d.ts +6 -1
  587. package/lib/typescript/module/src/modules/auth/logout-button/types/logout-button-props.d.ts.map +1 -1
  588. package/lib/typescript/module/src/modules/auth/register/components/form/register-button.d.ts.map +1 -1
  589. package/lib/typescript/module/src/modules/auth/register/components/header/title.d.ts.map +1 -1
  590. package/lib/typescript/module/src/modules/auth/register/components/login-link.d.ts.map +1 -1
  591. package/lib/typescript/module/src/modules/auth/reset-password/components/form/inputs.d.ts.map +1 -1
  592. package/lib/typescript/module/src/modules/auth/reset-password/components/form/reset-password-button.d.ts.map +1 -1
  593. package/lib/typescript/module/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts +1 -1
  594. package/lib/typescript/module/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts.map +1 -1
  595. package/lib/typescript/module/src/modules/auth/reset-password/components/header/title.d.ts.map +1 -1
  596. package/lib/typescript/module/src/modules/auth/reset-password/contexts/reset-password-form-context.d.ts +2 -46
  597. package/lib/typescript/module/src/modules/auth/reset-password/contexts/reset-password-form-context.d.ts.map +1 -1
  598. package/lib/typescript/module/src/modules/auth/reset-password/hooks/use-reset-password-form.d.ts +1 -47
  599. package/lib/typescript/module/src/modules/auth/reset-password/hooks/use-reset-password-form.d.ts.map +1 -1
  600. package/lib/typescript/module/src/modules/auth/reset-password/types/reset-password-context-type.d.ts +3 -1
  601. package/lib/typescript/module/src/modules/auth/reset-password/types/reset-password-context-type.d.ts.map +1 -1
  602. package/lib/typescript/module/src/modules/auth/reset-password/types/reset-password-form-provider-props.d.ts +1 -0
  603. package/lib/typescript/module/src/modules/auth/reset-password/types/reset-password-form-provider-props.d.ts.map +1 -1
  604. package/lib/typescript/module/src/modules/auth/session/components/session-list.d.ts.map +1 -1
  605. package/lib/typescript/module/src/modules/auth/sign-in/components/form/signin-button.d.ts.map +1 -1
  606. package/lib/typescript/module/src/modules/auth/sign-in/components/header/title.d.ts.map +1 -1
  607. package/lib/typescript/module/src/modules/auth/sign-in/components/register-link.d.ts.map +1 -1
  608. package/lib/typescript/module/src/modules/auth/utils/sign-out-google.d.ts +3 -0
  609. package/lib/typescript/module/src/modules/auth/utils/sign-out-google.d.ts.map +1 -0
  610. package/lib/typescript/module/src/modules/background-sync/android-background-sync.d.ts +3 -2
  611. package/lib/typescript/module/src/modules/background-sync/android-background-sync.d.ts.map +1 -1
  612. package/lib/typescript/module/src/modules/background-sync/android-bluetooth-foreground-service.d.ts.map +1 -1
  613. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  614. package/lib/typescript/module/src/modules/bt-management/components/android-bluetooth-foreground-service.d.ts.map +1 -1
  615. package/lib/typescript/module/src/modules/bt-management/components/bluetooth-device-picker.d.ts +13 -4
  616. package/lib/typescript/module/src/modules/bt-management/components/bluetooth-device-picker.d.ts.map +1 -1
  617. package/lib/typescript/module/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  618. package/lib/typescript/module/src/modules/bt-management/constants/measurement-field-catalog.d.ts +4 -0
  619. package/lib/typescript/module/src/modules/bt-management/constants/measurement-field-catalog.d.ts.map +1 -1
  620. package/lib/typescript/module/src/modules/bt-management/hooks/runtime-context.d.ts +6 -2
  621. package/lib/typescript/module/src/modules/bt-management/hooks/runtime-context.d.ts.map +1 -1
  622. package/lib/typescript/module/src/modules/bt-management/hooks/use-paired-devices.d.ts.map +1 -1
  623. package/lib/typescript/module/src/modules/bt-management/hooks/use-request-permissions.d.ts.map +1 -1
  624. package/lib/typescript/module/src/modules/bt-management/index.d.ts +1 -0
  625. package/lib/typescript/module/src/modules/bt-management/index.d.ts.map +1 -1
  626. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -1
  627. package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts +9 -0
  628. package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
  629. package/lib/typescript/module/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts.map +1 -1
  630. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts +17 -1
  631. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
  632. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts +17 -0
  633. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts.map +1 -0
  634. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.d.ts +28 -0
  635. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.d.ts.map +1 -0
  636. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-connection-handler.d.ts.map +1 -1
  637. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts +6 -0
  638. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  639. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  640. package/lib/typescript/module/src/modules/bt-management/types/background-sync.d.ts +2 -0
  641. package/lib/typescript/module/src/modules/bt-management/types/background-sync.d.ts.map +1 -1
  642. package/lib/typescript/module/src/modules/bt-management/types/bluetooth-error.d.ts +1 -0
  643. package/lib/typescript/module/src/modules/bt-management/types/bluetooth-error.d.ts.map +1 -1
  644. package/lib/typescript/module/src/modules/bt-management/types/btprovider-children-props.d.ts +7 -1
  645. package/lib/typescript/module/src/modules/bt-management/types/btprovider-children-props.d.ts.map +1 -1
  646. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts +2 -0
  647. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  648. package/lib/typescript/module/src/modules/bt-management/utils/device-title.d.ts +8 -0
  649. package/lib/typescript/module/src/modules/bt-management/utils/device-title.d.ts.map +1 -0
  650. package/lib/typescript/module/src/modules/data-sync/components/android/android-health-sync.d.ts.map +1 -1
  651. package/lib/typescript/module/src/modules/data-sync/components/apple/apple-health-sync.d.ts.map +1 -1
  652. package/lib/typescript/module/src/modules/data-sync/components/manually-request-sheet/description.d.ts.map +1 -1
  653. package/lib/typescript/module/src/modules/data-sync/components/sync-progress-list/sync-progress-list.d.ts +8 -5
  654. package/lib/typescript/module/src/modules/data-sync/components/sync-progress-list/sync-progress-list.d.ts.map +1 -1
  655. package/lib/typescript/module/src/modules/data-sync/index.d.ts +1 -0
  656. package/lib/typescript/module/src/modules/data-sync/index.d.ts.map +1 -1
  657. package/lib/typescript/module/src/modules/data-sync/services/android-health-sync-service.d.ts +4 -4
  658. package/lib/typescript/module/src/modules/data-sync/services/android-health-sync-service.d.ts.map +1 -1
  659. package/lib/typescript/module/src/modules/data-sync/services/apple-health-sync-service.d.ts +5 -5
  660. package/lib/typescript/module/src/modules/data-sync/services/apple-health-sync-service.d.ts.map +1 -1
  661. package/lib/typescript/module/src/modules/data-sync/services/base-health-sync-service.d.ts +1 -3
  662. package/lib/typescript/module/src/modules/data-sync/services/base-health-sync-service.d.ts.map +1 -1
  663. package/lib/typescript/module/src/modules/data-sync/services/managers/data-processor.d.ts +7 -9
  664. package/lib/typescript/module/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
  665. package/lib/typescript/module/src/modules/data-sync/services/managers/sync-progress-manager.d.ts +6 -6
  666. package/lib/typescript/module/src/modules/data-sync/services/managers/sync-progress-manager.d.ts.map +1 -1
  667. package/lib/typescript/module/src/modules/data-sync/types/apple-health-authorization-provider-props.d.ts +2 -2
  668. package/lib/typescript/module/src/modules/data-sync/types/apple-health-authorization-provider-props.d.ts.map +1 -1
  669. package/lib/typescript/module/src/modules/data-sync/types/apple-health-sync-props.d.ts +2 -2
  670. package/lib/typescript/module/src/modules/data-sync/types/apple-health-sync-props.d.ts.map +1 -1
  671. package/lib/typescript/module/src/modules/data-sync/types/convert-data-props.d.ts +6 -2
  672. package/lib/typescript/module/src/modules/data-sync/types/convert-data-props.d.ts.map +1 -1
  673. package/lib/typescript/module/src/modules/data-sync/types/get-data-from-provider-props.d.ts +2 -0
  674. package/lib/typescript/module/src/modules/data-sync/types/get-data-from-provider-props.d.ts.map +1 -1
  675. package/lib/typescript/module/src/modules/data-sync/types/get-total-count-props.d.ts +2 -0
  676. package/lib/typescript/module/src/modules/data-sync/types/get-total-count-props.d.ts.map +1 -1
  677. package/lib/typescript/module/src/modules/data-sync/types/health-authorization-status.d.ts +3 -3
  678. package/lib/typescript/module/src/modules/data-sync/types/health-authorization-status.d.ts.map +1 -1
  679. package/lib/typescript/module/src/modules/data-sync/types/health-data.d.ts +14 -0
  680. package/lib/typescript/module/src/modules/data-sync/types/health-data.d.ts.map +1 -0
  681. package/lib/typescript/module/src/modules/data-sync/types/health-sync-keys.d.ts +19 -1
  682. package/lib/typescript/module/src/modules/data-sync/types/health-sync-keys.d.ts.map +1 -1
  683. package/lib/typescript/module/src/modules/data-sync/types/health-sync-props.d.ts +7 -5
  684. package/lib/typescript/module/src/modules/data-sync/types/health-sync-props.d.ts.map +1 -1
  685. package/lib/typescript/module/src/modules/data-sync/types/sync-progress.d.ts +2 -2
  686. package/lib/typescript/module/src/modules/data-sync/types/sync-progress.d.ts.map +1 -1
  687. package/lib/typescript/module/src/modules/data-sync/utils/convert-generic-health-data.d.ts +9 -0
  688. package/lib/typescript/module/src/modules/data-sync/utils/convert-generic-health-data.d.ts.map +1 -0
  689. package/lib/typescript/module/src/modules/data-sync/utils/convert-records-to-observation.d.ts +1 -2
  690. package/lib/typescript/module/src/modules/data-sync/utils/convert-records-to-observation.d.ts.map +1 -1
  691. package/lib/typescript/module/src/modules/data-sync/utils/convert-samples-to-observation.d.ts +1 -2
  692. package/lib/typescript/module/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
  693. package/lib/typescript/module/src/modules/data-sync/utils/generate-observation-entry.d.ts.map +1 -1
  694. package/lib/typescript/module/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts +3 -3
  695. package/lib/typescript/module/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts.map +1 -1
  696. package/lib/typescript/module/src/modules/data-sync/utils/get-latest-valid-start-date.d.ts +2 -2
  697. package/lib/typescript/module/src/modules/data-sync/utils/get-latest-valid-start-date.d.ts.map +1 -1
  698. package/lib/typescript/module/src/modules/data-sync/utils/get-records-from-health-connect.d.ts +6 -8
  699. package/lib/typescript/module/src/modules/data-sync/utils/get-records-from-health-connect.d.ts.map +1 -1
  700. package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts +20 -4
  701. package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
  702. package/lib/typescript/module/src/modules/data-sync/utils/get-total-records-count.d.ts +1 -1
  703. package/lib/typescript/module/src/modules/data-sync/utils/get-total-records-count.d.ts.map +1 -1
  704. package/lib/typescript/module/src/modules/data-sync/utils/get-total-samples-count.d.ts +3 -8
  705. package/lib/typescript/module/src/modules/data-sync/utils/get-total-samples-count.d.ts.map +1 -1
  706. package/lib/typescript/module/src/modules/data-sync/utils/health-observation-device.d.ts +9 -0
  707. package/lib/typescript/module/src/modules/data-sync/utils/health-observation-device.d.ts.map +1 -0
  708. package/lib/typescript/module/src/modules/helpers/form-items/form-date-field.d.ts.map +1 -1
  709. package/lib/typescript/module/src/modules/helpers/form-items/form-select.d.ts.map +1 -1
  710. package/lib/typescript/module/src/modules/image/components/optimized-image.d.ts.map +1 -1
  711. package/lib/typescript/module/src/modules/measurement/components/date-range.d.ts.map +1 -1
  712. package/lib/typescript/module/src/modules/measurement/components/measurement-list-item.d.ts.map +1 -1
  713. package/lib/typescript/module/src/modules/measurement/types/measurement-list-item-props.d.ts +2 -0
  714. package/lib/typescript/module/src/modules/measurement/types/measurement-list-item-props.d.ts.map +1 -1
  715. package/lib/typescript/module/src/modules/theme/hooks/use-app-theme.d.ts +3 -1
  716. package/lib/typescript/module/src/modules/theme/hooks/use-app-theme.d.ts.map +1 -1
  717. package/lib/typescript/module/src/modules/theme/index.d.ts +1 -1
  718. package/lib/typescript/module/src/modules/theme/index.d.ts.map +1 -1
  719. package/lib/typescript/module/src/modules/theme/types/theme-provider-props.d.ts +12 -3
  720. package/lib/typescript/module/src/modules/theme/types/theme-provider-props.d.ts.map +1 -1
  721. package/lib/typescript/module/src/modules/theme/utils/generate-theme.d.ts +3 -1
  722. package/lib/typescript/module/src/modules/theme/utils/generate-theme.d.ts.map +1 -1
  723. package/lib/typescript/module/src/modules/ui/components/background-sync-setting.d.ts +4 -1
  724. package/lib/typescript/module/src/modules/ui/components/background-sync-setting.d.ts.map +1 -1
  725. package/lib/typescript/module/src/modules/ui/components/bluetooth-state-notice.d.ts +7 -1
  726. package/lib/typescript/module/src/modules/ui/components/bluetooth-state-notice.d.ts.map +1 -1
  727. package/lib/typescript/module/src/modules/ui/components/health-import-card.d.ts +5 -1
  728. package/lib/typescript/module/src/modules/ui/components/health-import-card.d.ts.map +1 -1
  729. package/lib/typescript/module/src/modules/ui/components/measurement-trend-chart.d.ts +19 -0
  730. package/lib/typescript/module/src/modules/ui/components/measurement-trend-chart.d.ts.map +1 -0
  731. package/lib/typescript/module/src/modules/ui/components/pairing-flow.d.ts +16 -1
  732. package/lib/typescript/module/src/modules/ui/components/pairing-flow.d.ts.map +1 -1
  733. package/lib/typescript/module/src/modules/ui/components/supported-devices-catalog-list.d.ts.map +1 -1
  734. package/lib/typescript/module/src/modules/ui/components/urine-test-result.d.ts.map +1 -1
  735. package/lib/typescript/module/src/modules/ui/index.d.ts +1 -0
  736. package/lib/typescript/module/src/modules/ui/index.d.ts.map +1 -1
  737. package/lib/typescript/module/src/modules/ui/types.d.ts +4 -1
  738. package/lib/typescript/module/src/modules/ui/types.d.ts.map +1 -1
  739. package/lib/typescript/module/src/modules/ui/use-ovok-ui.d.ts.map +1 -1
  740. package/package.json +2 -2
@@ -1,8 +1,12 @@
1
1
  import { OvokClient } from "@ovok/core";
2
- import { HealthSyncKeys } from "./health-sync-keys";
2
+ import { HealthDataMode, HealthSyncKey } from "./health-sync-keys";
3
3
  export type ConvertDataProps<TData> = {
4
4
  data: TData[];
5
5
  client: OvokClient;
6
- measurementTypeKey: HealthSyncKeys;
6
+ patientId?: string;
7
+ measurementTypeKey: HealthSyncKey;
8
+ typeIdentifier?: string;
9
+ mode?: HealthDataMode;
10
+ typeIdentifierCodes?: Readonly<Record<string, string>>;
7
11
  };
8
12
  //# sourceMappingURL=convert-data-props.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"convert-data-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/convert-data-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,MAAM,MAAM,gBAAgB,CAAC,KAAK,IAAI;IACpC,IAAI,EAAE,KAAK,EAAE,CAAC;IACd,MAAM,EAAE,UAAU,CAAC;IACnB,kBAAkB,EAAE,cAAc,CAAC;CACpC,CAAC"}
1
+ {"version":3,"file":"convert-data-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/convert-data-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnE,MAAM,MAAM,gBAAgB,CAAC,KAAK,IAAI;IACpC,IAAI,EAAE,KAAK,EAAE,CAAC;IACd,MAAM,EAAE,UAAU,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,aAAa,CAAC;IAClC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,mBAAmB,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CACxD,CAAC"}
@@ -1,7 +1,9 @@
1
+ import { HealthDataMode } from "./health-sync-keys";
1
2
  export type GetDataFromProviderProps<T> = {
2
3
  startDate?: string;
3
4
  typeIdentifier: T;
4
5
  chunkSize?: number;
5
6
  anchor?: string;
7
+ mode?: HealthDataMode;
6
8
  };
7
9
  //# sourceMappingURL=get-data-from-provider-props.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-data-from-provider-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/get-data-from-provider-props.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wBAAwB,CAAC,CAAC,IAAI;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,CAAC,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
1
+ {"version":3,"file":"get-data-from-provider-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/get-data-from-provider-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,MAAM,MAAM,wBAAwB,CAAC,CAAC,IAAI;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,CAAC,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB,CAAC"}
@@ -1,6 +1,8 @@
1
+ import { HealthDataMode } from "./health-sync-keys";
1
2
  export type GetTotalCountProps<T> = {
2
3
  typeIdentifier: T;
3
4
  startDate?: string;
4
5
  anchor?: string;
6
+ mode?: HealthDataMode;
5
7
  };
6
8
  //# sourceMappingURL=get-total-count-props.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-total-count-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/get-total-count-props.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,CAAC,CAAC,IAAI;IAClC,cAAc,EAAE,CAAC,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
1
+ {"version":3,"file":"get-total-count-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/get-total-count-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,MAAM,MAAM,kBAAkB,CAAC,CAAC,IAAI;IAClC,cAAc,EAAE,CAAC,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB,CAAC"}
@@ -1,10 +1,10 @@
1
- import { HKQuantityTypeIdentifier } from "@kingstinct/react-native-healthkit";
1
+ import { HKSampleTypeIdentifier } from "@kingstinct/react-native-healthkit";
2
2
  type AppleHealthAuthorizationStatus = {
3
3
  state: "unknown" | "shouldRequest" | "requesting" | "ready" | "error";
4
4
  /** HealthKit types that still need to be answered in Settings. */
5
- notRequestedReadIdentifiers: HKQuantityTypeIdentifier[];
5
+ notRequestedReadIdentifiers: HKSampleTypeIdentifier[];
6
6
  /** HealthKit write types that still need to be answered in Settings. */
7
- notRequestedWriteIdentifiers: HKQuantityTypeIdentifier[];
7
+ notRequestedWriteIdentifiers: HKSampleTypeIdentifier[];
8
8
  error?: Error;
9
9
  };
10
10
  type AndroidHealthConnectAuthorizationStatus = {
@@ -1 +1 @@
1
- {"version":3,"file":"health-authorization-status.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/health-authorization-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAE9E,KAAK,8BAA8B,GAAG;IACpC,KAAK,EAAE,SAAS,GAAG,eAAe,GAAG,YAAY,GAAG,OAAO,GAAG,OAAO,CAAC;IAEtE,kEAAkE;IAClE,2BAA2B,EAAE,wBAAwB,EAAE,CAAC;IAExD,wEAAwE;IACxE,4BAA4B,EAAE,wBAAwB,EAAE,CAAC;IACzD,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC;AAEF,KAAK,uCAAuC,GAAG;IAC7C,KAAK,EACD,SAAS,GACT,eAAe,GACf,YAAY,GACZ,YAAY,GACZ,SAAS,GACT,OAAO,CAAC;IACZ,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd,sFAAsF;IACtF,gBAAgB,CAAC,EAAE,YAAY,GAAG,eAAe,GAAG,SAAS,GAAG,aAAa,CAAC;CAC/E,CAAC;AAEF,YAAY,EACV,uCAAuC,EACvC,8BAA8B,GAC/B,CAAC"}
1
+ {"version":3,"file":"health-authorization-status.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/health-authorization-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAE5E,KAAK,8BAA8B,GAAG;IACpC,KAAK,EAAE,SAAS,GAAG,eAAe,GAAG,YAAY,GAAG,OAAO,GAAG,OAAO,CAAC;IAEtE,kEAAkE;IAClE,2BAA2B,EAAE,sBAAsB,EAAE,CAAC;IAEtD,wEAAwE;IACxE,4BAA4B,EAAE,sBAAsB,EAAE,CAAC;IACvD,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC;AAEF,KAAK,uCAAuC,GAAG;IAC7C,KAAK,EACD,SAAS,GACT,eAAe,GACf,YAAY,GACZ,YAAY,GACZ,SAAS,GACT,OAAO,CAAC;IACZ,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd,sFAAsF;IACtF,gBAAgB,CAAC,EAAE,YAAY,GAAG,eAAe,GAAG,SAAS,GAAG,aAAa,CAAC;CAC/E,CAAC;AAEF,YAAY,EACV,uCAAuC,EACvC,8BAA8B,GAC/B,CAAC"}
@@ -0,0 +1,14 @@
1
+ export type AggregatedHealthData = {
2
+ kind: "daily-total" | "daily-summary";
3
+ typeIdentifier: string;
4
+ startDate: Date | string;
5
+ endDate: Date | string;
6
+ unit: string;
7
+ value?: number;
8
+ average?: number;
9
+ minimum?: number;
10
+ maximum?: number;
11
+ sourceApp?: string;
12
+ };
13
+ export declare const isAggregatedHealthData: (value: unknown) => value is AggregatedHealthData;
14
+ //# sourceMappingURL=health-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"health-data.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/health-data.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,aAAa,GAAG,eAAe,CAAC;IACtC,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,IAAI,GAAG,MAAM,CAAC;IACzB,OAAO,EAAE,IAAI,GAAG,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GACjC,OAAO,OAAO,KACb,KAAK,IAAI,oBAMX,CAAC"}
@@ -1,3 +1,21 @@
1
1
  import { MeasurementTypeKey } from "@ovok/core";
2
- export type HealthSyncKeys = Exclude<MeasurementTypeKey, MeasurementTypeKey.photoUpload | MeasurementTypeKey.symptomQuestionnaire>;
2
+ type HealthSyncKeys = Exclude<MeasurementTypeKey, MeasurementTypeKey.photoUpload | MeasurementTypeKey.symptomQuestionnaire>;
3
+ /** Health data that is not represented by a core measurement service. */
4
+ declare enum HealthDataType {
5
+ height = "height",
6
+ bodyFatPercentage = "body-fat-percentage",
7
+ bodyMassIndex = "body-mass-index",
8
+ leanBodyMass = "lean-body-mass",
9
+ distance = "distance",
10
+ activeEnergy = "active-energy",
11
+ flightsClimbed = "flights-climbed",
12
+ exerciseMinutes = "exercise-minutes",
13
+ heartRateSummary = "heart-rate-summary",
14
+ sleep = "sleep",
15
+ workout = "workout"
16
+ }
17
+ type HealthSyncKey = HealthSyncKeys | HealthDataType;
18
+ type HealthDataMode = "point" | "daily-total" | "daily-summary" | "session";
19
+ declare const getHealthDataMode: (key: HealthSyncKey, configuredMode?: HealthDataMode) => HealthDataMode;
20
+ export { HealthDataType, getHealthDataMode, type HealthDataMode, type HealthSyncKey, type HealthSyncKeys, };
3
21
  //# sourceMappingURL=health-sync-keys.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"health-sync-keys.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/health-sync-keys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,MAAM,cAAc,GAAG,OAAO,CAClC,kBAAkB,EAClB,kBAAkB,CAAC,WAAW,GAAG,kBAAkB,CAAC,oBAAoB,CACzE,CAAC"}
1
+ {"version":3,"file":"health-sync-keys.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/health-sync-keys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,KAAK,cAAc,GAAG,OAAO,CAC3B,kBAAkB,EAClB,kBAAkB,CAAC,WAAW,GAAG,kBAAkB,CAAC,oBAAoB,CACzE,CAAC;AAEF,yEAAyE;AACzE,aAAK,cAAc;IACjB,MAAM,WAAW;IACjB,iBAAiB,wBAAwB;IACzC,aAAa,oBAAoB;IACjC,YAAY,mBAAmB;IAC/B,QAAQ,aAAa;IACrB,YAAY,kBAAkB;IAC9B,cAAc,oBAAoB;IAClC,eAAe,qBAAqB;IACpC,gBAAgB,uBAAuB;IACvC,KAAK,UAAU;IACf,OAAO,YAAY;CACpB;AAED,KAAK,aAAa,GAAG,cAAc,GAAG,cAAc,CAAC;AAErD,KAAK,cAAc,GACf,OAAO,GACP,aAAa,GACb,eAAe,GACf,SAAS,CAAC;AAEd,QAAA,MAAM,iBAAiB,GACrB,KAAK,aAAa,EAClB,iBAAiB,cAAc,KAC9B,cAqBF,CAAC;AAEF,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,cAAc,GACpB,CAAC"}
@@ -1,15 +1,17 @@
1
1
  import { Bundle, Resource } from "@medplum/fhirtypes";
2
- import { MeasurementTypeKey, ObservationCode } from "@ovok/core";
3
- import { HealthSyncKeys } from "./health-sync-keys";
2
+ import { ObservationCode } from "@ovok/core";
3
+ import { HealthSyncKey, HealthDataMode } from "./health-sync-keys";
4
4
  import { SyncProgress } from "./sync-progress";
5
5
  export type HealthSyncProps<T> = {
6
6
  dataToSync: {
7
- [key in HealthSyncKeys]?: {
7
+ [key in HealthSyncKey]?: {
8
8
  typeIdentifiers: {
9
9
  typeIdentifier: T;
10
- code: ObservationCode;
10
+ code: ObservationCode | string;
11
11
  }[];
12
12
  minDate?: Date;
13
+ /** Overrides the default aggregation mode for this data type. */
14
+ mode?: HealthDataMode;
13
15
  };
14
16
  };
15
17
  /**
@@ -26,7 +28,7 @@ export type HealthSyncProps<T> = {
26
28
  wifiOnly?: boolean;
27
29
  onError?: (error: Bundle<Resource> | Error | null) => void;
28
30
  onProgress?: (progress: {
29
- [key in MeasurementTypeKey]?: SyncProgress;
31
+ [key in HealthSyncKey]?: SyncProgress;
30
32
  }) => void;
31
33
  };
32
34
  //# sourceMappingURL=health-sync-props.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"health-sync-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/health-sync-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAEjE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI;IAC/B,UAAU,EAAE;SACT,GAAG,IAAI,cAAc,CAAC,CAAC,EAAE;YACxB,eAAe,EAAE;gBACf,cAAc,EAAE,CAAC,CAAC;gBAClB,IAAI,EAAE,eAAe,CAAC;aACvB,EAAE,CAAC;YACJ,OAAO,CAAC,EAAE,IAAI,CAAC;SAChB;KACF,CAAC;IAEF;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3D,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE;SACrB,GAAG,IAAI,kBAAkB,CAAC,CAAC,EAAE,YAAY;KAC3C,KAAK,IAAI,CAAC;CACZ,CAAC"}
1
+ {"version":3,"file":"health-sync-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/health-sync-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI;IAC/B,UAAU,EAAE;SACT,GAAG,IAAI,aAAa,CAAC,CAAC,EAAE;YACvB,eAAe,EAAE;gBACf,cAAc,EAAE,CAAC,CAAC;gBAClB,IAAI,EAAE,eAAe,GAAG,MAAM,CAAC;aAChC,EAAE,CAAC;YACJ,OAAO,CAAC,EAAE,IAAI,CAAC;YAEf,iEAAiE;YACjE,IAAI,CAAC,EAAE,cAAc,CAAC;SACvB;KACF,CAAC;IAEF;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3D,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE;SACrB,GAAG,IAAI,aAAa,CAAC,CAAC,EAAE,YAAY;KACtC,KAAK,IAAI,CAAC;CACZ,CAAC"}
@@ -1,7 +1,7 @@
1
- import { MeasurementTypeKey } from "@ovok/core";
1
+ import { HealthSyncKey } from "./health-sync-keys";
2
2
  type SyncPauseReason = "offline" | "wifi-only";
3
3
  type SyncProgress = {
4
- measurementTypeKey: MeasurementTypeKey;
4
+ measurementTypeKey: HealthSyncKey;
5
5
  status: "started" | "completed" | "failed" | "idle" | "syncing" | "paused";
6
6
  reason?: SyncPauseReason;
7
7
  progress?: {
@@ -1 +1 @@
1
- {"version":3,"file":"sync-progress.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/sync-progress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,KAAK,eAAe,GAAG,SAAS,GAAG,WAAW,CAAC;AAE/C,KAAK,YAAY,GAAG;IAClB,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,MAAM,EACF,SAAS,GACT,WAAW,GACX,QAAQ,GACR,MAAM,GACN,SAAS,GACT,QAAQ,CAAC;IACb,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,QAAQ,CAAC,EAAE;QACT,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH,CAAC;AAEF,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"sync-progress.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/sync-progress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,KAAK,eAAe,GAAG,SAAS,GAAG,WAAW,CAAC;AAE/C,KAAK,YAAY,GAAG;IAClB,kBAAkB,EAAE,aAAa,CAAC;IAClC,MAAM,EACF,SAAS,GACT,WAAW,GACX,QAAQ,GACR,MAAM,GACN,SAAS,GACT,QAAQ,CAAC;IACb,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,QAAQ,CAAC,EAAE;QACT,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH,CAAC;AAEF,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { Observation } from "@medplum/fhirtypes";
2
+ import { ConvertDataProps } from "../types/convert-data-props";
3
+ import { HealthDataMode } from "../types/health-sync-keys";
4
+ type GenericHealthDataProps = ConvertDataProps<unknown> & {
5
+ mode: HealthDataMode;
6
+ };
7
+ export declare const convertGenericHealthDataToObservation: ({ data, patientId, mode, typeIdentifier: configuredTypeIdentifier, typeIdentifierCodes, }: GenericHealthDataProps) => Promise<Observation[]>;
8
+ export {};
9
+ //# sourceMappingURL=convert-generic-health-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convert-generic-health-data.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/convert-generic-health-data.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAI3D,KAAK,sBAAsB,GAAG,gBAAgB,CAAC,OAAO,CAAC,GAAG;IACxD,IAAI,EAAE,cAAc,CAAC;CACtB,CAAC;AAKF,eAAO,MAAM,qCAAqC,GAAU,2FAMzD,sBAAsB,KAAG,OAAO,CAAC,WAAW,EAAE,CA6EhD,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import { Observation } from "@medplum/fhirtypes";
2
- import { RecordResult, RecordType } from "react-native-health-connect";
3
2
  import { ConvertDataProps } from "../types/convert-data-props";
4
- export declare const convertRecordsToObservation: ({ data, client, measurementTypeKey, }: ConvertDataProps<RecordResult<RecordType>>) => Promise<Observation[]>;
3
+ export declare const convertRecordsToObservation: (props: ConvertDataProps<unknown>) => Promise<Observation[]>;
5
4
  //# sourceMappingURL=convert-records-to-observation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"convert-records-to-observation.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/convert-records-to-observation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAEvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,eAAO,MAAM,2BAA2B,GAAU,uCAI/C,gBAAgB,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,KAAG,OAAO,CAAC,WAAW,EAAE,CA0BpE,CAAC"}
1
+ {"version":3,"file":"convert-records-to-observation.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/convert-records-to-observation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAIjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAK/D,eAAO,MAAM,2BAA2B,GACtC,OAAO,gBAAgB,CAAC,OAAO,CAAC,KAC/B,OAAO,CAAC,WAAW,EAAE,CAgDvB,CAAC"}
@@ -1,5 +1,4 @@
1
- import { HKQuantitySample, HKQuantityTypeIdentifier } from "@kingstinct/react-native-healthkit";
2
1
  import { Observation } from "@medplum/fhirtypes";
3
2
  import { ConvertDataProps } from "../types/convert-data-props";
4
- export declare const convertSamplesToObservation: ({ data, client, measurementTypeKey, }: ConvertDataProps<HKQuantitySample<HKQuantityTypeIdentifier>>) => Promise<Observation[]>;
3
+ export declare const convertSamplesToObservation: (props: ConvertDataProps<unknown>) => Promise<Observation[]>;
5
4
  //# sourceMappingURL=convert-samples-to-observation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"convert-samples-to-observation.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/convert-samples-to-observation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACzB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,eAAO,MAAM,2BAA2B,GAAU,uCAI/C,gBAAgB,CAAC,gBAAgB,CAAC,wBAAwB,CAAC,CAAC,KAAG,OAAO,CACvE,WAAW,EAAE,CA4Bd,CAAC"}
1
+ {"version":3,"file":"convert-samples-to-observation.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/convert-samples-to-observation.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAK/D,eAAO,MAAM,2BAA2B,GACtC,OAAO,gBAAgB,CAAC,OAAO,CAAC,KAC/B,OAAO,CAAC,WAAW,EAAE,CAqDvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"generate-observation-entry.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/generate-observation-entry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,KAAK,6BAA6B,GAAG;IACnC,wBAAwB,EAAE,WAAW,EAAE,EAAE,CAAC;IAC1C,QAAQ,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,yCAGtC,6BAA6B,KAAG,WAAW,CAAC,WAAW,CAAC,EAkD1D,CAAC"}
1
+ {"version":3,"file":"generate-observation-entry.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/generate-observation-entry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,KAAK,6BAA6B,GAAG;IACnC,wBAAwB,EAAE,WAAW,EAAE,EAAE,CAAC;IAC1C,QAAQ,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,yCAGtC,6BAA6B,KAAG,WAAW,CAAC,WAAW,CAAC,EAmD1D,CAAC"}
@@ -1,13 +1,13 @@
1
- import { ObservationCode, OvokClient } from "@ovok/core";
1
+ import { OvokClient } from "@ovok/core";
2
2
  import { HealthProvider } from "../types/health-provider";
3
3
  type GetLatestObservationDatesByCodeProps = {
4
- codes: ObservationCode[];
4
+ codes: string[];
5
5
  patientId: string;
6
6
  client: OvokClient;
7
7
  provider: HealthProvider;
8
8
  };
9
9
  export declare const getLatestObservationDatesByCode: ({ codes, patientId, client, provider, }: GetLatestObservationDatesByCodeProps) => Promise<{
10
- code: ObservationCode | undefined;
10
+ code: string | undefined;
11
11
  date: string | undefined;
12
12
  }[]>;
13
13
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"get-latest-observation-dates-by-code.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/get-latest-observation-dates-by-code.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AA2B1D,KAAK,oCAAoC,GAAG;IAC1C,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,UAAU,CAAC;IACnB,QAAQ,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAAU,yCAKnD,oCAAoC;;;IA0BtC,CAAC"}
1
+ {"version":3,"file":"get-latest-observation-dates-by-code.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/get-latest-observation-dates-by-code.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AA2B1D,KAAK,oCAAoC,GAAG;IAC1C,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,UAAU,CAAC;IACnB,QAAQ,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAAU,yCAKnD,oCAAoC;;;IA0BtC,CAAC"}
@@ -1,12 +1,12 @@
1
1
  import { AndroidHealthSyncProps } from "../types/android-health-sync-props";
2
2
  import { AppleHealthSyncProps } from "../types/apple-health-sync-props";
3
- import { HealthSyncKeys } from "../types/health-sync-keys";
3
+ import { HealthSyncKey } from "../types/health-sync-keys";
4
4
  type GetLatestValidStartDateProps = {
5
5
  latestObservationDates: {
6
6
  code: string | undefined;
7
7
  date: string | undefined;
8
8
  }[];
9
- data: AppleHealthSyncProps["dataToSync"][HealthSyncKeys] | AndroidHealthSyncProps["dataToSync"][HealthSyncKeys];
9
+ data: AppleHealthSyncProps["dataToSync"][HealthSyncKey] | AndroidHealthSyncProps["dataToSync"][HealthSyncKey];
10
10
  };
11
11
  export declare const getLatestValidStartDate: ({ latestObservationDates, data, }: GetLatestValidStartDateProps) => Date | undefined;
12
12
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"get-latest-valid-start-date.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/get-latest-valid-start-date.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,KAAK,4BAA4B,GAAG;IAClC,sBAAsB,EAAE;QACtB,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;QACzB,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;KAC1B,EAAE,CAAC;IACJ,IAAI,EACA,oBAAoB,CAAC,YAAY,CAAC,CAAC,cAAc,CAAC,GAClD,sBAAsB,CAAC,YAAY,CAAC,CAAC,cAAc,CAAC,CAAC;CAC1D,CAAC;AACF,eAAO,MAAM,uBAAuB,GAAI,mCAGrC,4BAA4B,qBA0B9B,CAAC"}
1
+ {"version":3,"file":"get-latest-valid-start-date.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/get-latest-valid-start-date.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE1D,KAAK,4BAA4B,GAAG;IAClC,sBAAsB,EAAE;QACtB,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;QACzB,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;KAC1B,EAAE,CAAC;IACJ,IAAI,EACA,oBAAoB,CAAC,YAAY,CAAC,CAAC,aAAa,CAAC,GACjD,sBAAsB,CAAC,YAAY,CAAC,CAAC,aAAa,CAAC,CAAC;CACzD,CAAC;AACF,eAAO,MAAM,uBAAuB,GAAI,mCAGrC,4BAA4B,qBA0B9B,CAAC"}
@@ -1,10 +1,8 @@
1
- import { RecordType } from "react-native-health-connect";
1
+ import { RecordResult, RecordType } from "react-native-health-connect";
2
+ import { DataFromProviderResult } from "../types/data-from-provider-result";
2
3
  import { GetDataFromProviderProps } from "../types/get-data-from-provider-props";
3
- export declare const getRecordsFromHealthConnect: ({ startDate: _startDate, typeIdentifier, chunkSize, anchor: pageToken, }: GetDataFromProviderProps<RecordType>) => Promise<{
4
- data: import("react-native-health-connect").RecordResult<"ActiveCaloriesBurned" | "BasalBodyTemperature" | "BasalMetabolicRate" | "BloodGlucose" | "BloodPressure" | "BodyFat" | "BodyTemperature" | "BodyWaterMass" | "BoneMass" | "CervicalMucus" | "CyclingPedalingCadence" | "ElevationGained" | "ExerciseSession" | "FloorsClimbed" | "HeartRate" | "RestingHeartRate" | "Steps" | "StepsCadence" | "Distance" | "Height" | "Hydration" | "HeartRateVariabilityRmssd" | "SexualActivity" | "Weight" | "Nutrition" | "LeanBodyMass" | "IntermenstrualBleeding" | "Speed" | "MenstruationFlow" | "MenstruationPeriod" | "SleepSession" | "RespiratoryRate" | "WheelchairPushes" | "Vo2Max" | "OvulationTest" | "TotalCaloriesBurned" | "OxygenSaturation" | "Power">[];
5
- anchor: {
6
- typeIdentifier: "ActiveCaloriesBurned" | "BasalBodyTemperature" | "BasalMetabolicRate" | "BloodGlucose" | "BloodPressure" | "BodyFat" | "BodyTemperature" | "BodyWaterMass" | "BoneMass" | "CervicalMucus" | "CyclingPedalingCadence" | "ElevationGained" | "ExerciseSession" | "FloorsClimbed" | "HeartRate" | "RestingHeartRate" | "Steps" | "StepsCadence" | "Distance" | "Height" | "Hydration" | "HeartRateVariabilityRmssd" | "SexualActivity" | "Weight" | "Nutrition" | "LeanBodyMass" | "IntermenstrualBleeding" | "Speed" | "MenstruationFlow" | "MenstruationPeriod" | "SleepSession" | "RespiratoryRate" | "WheelchairPushes" | "Vo2Max" | "OvulationTest" | "TotalCaloriesBurned" | "OxygenSaturation" | "Power";
7
- anchor: string;
8
- } | undefined;
9
- }>;
4
+ import { AggregatedHealthData } from "../types/health-data";
5
+ type HealthConnectData = RecordResult<RecordType> | AggregatedHealthData;
6
+ export declare const getRecordsFromHealthConnect: ({ typeIdentifier, startDate: _startDate, chunkSize, anchor, mode, }: GetDataFromProviderProps<RecordType>) => Promise<DataFromProviderResult<HealthConnectData, RecordType>>;
7
+ export {};
10
8
  //# sourceMappingURL=get-records-from-health-connect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-records-from-health-connect.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/get-records-from-health-connect.ts"],"names":[],"mappings":"AACA,OAAO,EAAe,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAEtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAEjF,eAAO,MAAM,2BAA2B,GAAU,0EAK/C,wBAAwB,CAAC,UAAU,CAAC;;;;;;EA4BtC,CAAC"}
1
+ {"version":3,"file":"get-records-from-health-connect.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/get-records-from-health-connect.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,YAAY,EACZ,UAAU,EACX,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAG5D,KAAK,iBAAiB,GAAG,YAAY,CAAC,UAAU,CAAC,GAAG,oBAAoB,CAAC;AAEzE,eAAO,MAAM,2BAA2B,GAAU,qEAM/C,wBAAwB,CAAC,UAAU,CAAC,KAAG,OAAO,CAC/C,sBAAsB,CAAC,iBAAiB,EAAE,UAAU,CAAC,CA4BtD,CAAC"}
@@ -1,9 +1,25 @@
1
- import { HKQuantitySample, HKQuantityTypeIdentifier } from "@kingstinct/react-native-healthkit";
1
+ import { HKCategoryTypeIdentifier, HKQuantityTypeIdentifier, HKSampleTypeIdentifier, UnitOfEnergy } from "@kingstinct/react-native-healthkit";
2
2
  import { GetDataFromProviderProps } from "../types/get-data-from-provider-props";
3
- export declare const getSamplesFromHealth: ({ startDate: _startDate, typeIdentifier, anchor, chunkSize, }: GetDataFromProviderProps<HKQuantityTypeIdentifier>) => Promise<{
4
- data: HKQuantitySample<HKQuantityTypeIdentifier>[];
3
+ import { AggregatedHealthData } from "../types/health-data";
4
+ export declare const getSamplesFromHealth: ({ startDate: _startDate, typeIdentifier, anchor, chunkSize, mode, }: GetDataFromProviderProps<HKSampleTypeIdentifier>) => Promise<{
5
+ data: AggregatedHealthData[];
6
+ anchor: undefined;
7
+ } | {
8
+ data: import("@kingstinct/react-native-healthkit").HKWorkout<UnitOfEnergy.Kilocalories, "km">[];
5
9
  anchor: {
6
- typeIdentifier: HKQuantityTypeIdentifier;
10
+ typeIdentifier: "HKWorkoutTypeIdentifier";
11
+ anchor: string;
12
+ } | undefined;
13
+ } | {
14
+ data: import("@kingstinct/react-native-healthkit").HKCategorySample<HKCategoryTypeIdentifier>[];
15
+ anchor: {
16
+ typeIdentifier: HKCategoryTypeIdentifier;
17
+ anchor: string;
18
+ } | undefined;
19
+ } | {
20
+ data: import("@kingstinct/react-native-healthkit").HKQuantitySample<HKQuantityTypeIdentifier, "dl" | "hr" | "s" | "g" | "min" | "ns" | "count" | "mmHg" | "kg" | "mg/dL" | "%" | "ms" | "m" | "kcal" | "count/min" | "km" | "mi" | "mg" | "cal" | "d" | "fl" | import("@kingstinct/react-native-healthkit").BloodGlucoseUnit | "ps" | "mcs" | "cs" | "ds" | "das" | "hs" | "ks" | "Ms" | "Gs" | "Ts" | "fs" | import("@kingstinct/react-native-healthkit").UnitOfTime | "count/s" | "count/ns" | "count/ms" | "count/ps" | "count/mcs" | "count/cs" | "count/ds" | "count/das" | "count/hs" | "count/ks" | "count/Ms" | "count/Gs" | "count/Ts" | "count/fs" | "count/d" | "count/hr" | "J" | "pJ" | "nJ" | "mcJ" | "mJ" | "cJ" | "dJ" | "daJ" | "hJ" | "kJ" | "MJ" | "GJ" | "TJ" | "fJ" | UnitOfEnergy | "Hz" | "pHz" | "nHz" | "mcHz" | "mHz" | "cHz" | "dHz" | "daHz" | "hHz" | "kHz" | "MHz" | "GHz" | "THz" | "fHz" | import("@kingstinct/react-native-healthkit").HKUnits | "pm" | "nm" | "mcm" | "mm" | "cm" | "dm" | "dam" | "hm" | "Mm" | "Gm" | "Tm" | "fm" | import("@kingstinct/react-native-healthkit").UnitOfLength | "pg" | "ng" | "mcg" | "cg" | "dg" | "dag" | "hg" | "Mg" | "Gg" | "Tg" | "fg" | import("@kingstinct/react-native-healthkit").UnitOfMass | "Pa" | "pPa" | "nPa" | "mcPa" | "mPa" | "cPa" | "dPa" | "daPa" | "hPa" | "kPa" | "MPa" | "GPa" | "TPa" | "fPa" | import("@kingstinct/react-native-healthkit").UnitOfPressure | "m/s" | "m/ns" | "m/ms" | "m/ps" | "m/mcs" | "m/cs" | "m/ds" | "m/das" | "m/hs" | "m/ks" | "m/Ms" | "m/Gs" | "m/Ts" | "m/fs" | "m/d" | "m/min" | "m/hr" | "km/s" | "km/ns" | "km/ms" | "km/ps" | "km/mcs" | "km/cs" | "km/ds" | "km/das" | "km/hs" | "km/ks" | "km/Ms" | "km/Gs" | "km/Ts" | "km/fs" | "km/d" | "km/min" | "km/hr" | "pm/s" | "pm/ns" | "pm/ms" | "pm/ps" | "pm/mcs" | "pm/cs" | "pm/ds" | "pm/das" | "pm/hs" | "pm/ks" | "pm/Ms" | "pm/Gs" | "pm/Ts" | "pm/fs" | "pm/d" | "pm/min" | "pm/hr" | "nm/s" | "nm/ns" | "nm/ms" | "nm/ps" | "nm/mcs" | "nm/cs" | "nm/ds" | "nm/das" | "nm/hs" | "nm/ks" | "nm/Ms" | "nm/Gs" | "nm/Ts" | "nm/fs" | "nm/d" | "nm/min" | "nm/hr" | "mcm/s" | "mcm/ns" | "mcm/ms" | "mcm/ps" | "mcm/mcs" | "mcm/cs" | "mcm/ds" | "mcm/das" | "mcm/hs" | "mcm/ks" | "mcm/Ms" | "mcm/Gs" | "mcm/Ts" | "mcm/fs" | "mcm/d" | "mcm/min" | "mcm/hr" | "mm/s" | "mm/ns" | "mm/ms" | "mm/ps" | "mm/mcs" | "mm/cs" | "mm/ds" | "mm/das" | "mm/hs" | "mm/ks" | "mm/Ms" | "mm/Gs" | "mm/Ts" | "mm/fs" | "mm/d" | "mm/min" | "mm/hr" | "cm/s" | "cm/ns" | "cm/ms" | "cm/ps" | "cm/mcs" | "cm/cs" | "cm/ds" | "cm/das" | "cm/hs" | "cm/ks" | "cm/Ms" | "cm/Gs" | "cm/Ts" | "cm/fs" | "cm/d" | "cm/min" | "cm/hr" | "dm/s" | "dm/ns" | "dm/ms" | "dm/ps" | "dm/mcs" | "dm/cs" | "dm/ds" | "dm/das" | "dm/hs" | "dm/ks" | "dm/Ms" | "dm/Gs" | "dm/Ts" | "dm/fs" | "dm/d" | "dm/min" | "dm/hr" | "dam/s" | "dam/ns" | "dam/ms" | "dam/ps" | "dam/mcs" | "dam/cs" | "dam/ds" | "dam/das" | "dam/hs" | "dam/ks" | "dam/Ms" | "dam/Gs" | "dam/Ts" | "dam/fs" | "dam/d" | "dam/min" | "dam/hr" | "hm/s" | "hm/ns" | "hm/ms" | "hm/ps" | "hm/mcs" | "hm/cs" | "hm/ds" | "hm/das" | "hm/hs" | "hm/ks" | "hm/Ms" | "hm/Gs" | "hm/Ts" | "hm/fs" | "hm/d" | "hm/min" | "hm/hr" | "Mm/s" | "Mm/ns" | "Mm/ms" | "Mm/ps" | "Mm/mcs" | "Mm/cs" | "Mm/ds" | "Mm/das" | "Mm/hs" | "Mm/ks" | "Mm/Ms" | "Mm/Gs" | "Mm/Ts" | "Mm/fs" | "Mm/d" | "Mm/min" | "Mm/hr" | "Gm/s" | "Gm/ns" | "Gm/ms" | "Gm/ps" | "Gm/mcs" | "Gm/cs" | "Gm/ds" | "Gm/das" | "Gm/hs" | "Gm/ks" | "Gm/Ms" | "Gm/Gs" | "Gm/Ts" | "Gm/fs" | "Gm/d" | "Gm/min" | "Gm/hr" | "Tm/s" | "Tm/ns" | "Tm/ms" | "Tm/ps" | "Tm/mcs" | "Tm/cs" | "Tm/ds" | "Tm/das" | "Tm/hs" | "Tm/ks" | "Tm/Ms" | "Tm/Gs" | "Tm/Ts" | "Tm/fs" | "Tm/d" | "Tm/min" | "Tm/hr" | "fm/s" | "fm/ns" | "fm/ms" | "fm/ps" | "fm/mcs" | "fm/cs" | "fm/ds" | "fm/das" | "fm/hs" | "fm/ks" | "fm/Ms" | "fm/Gs" | "fm/Ts" | "fm/fs" | "fm/d" | "fm/min" | "fm/hr" | "ft/s" | "ft/ns" | "ft/ms" | "ft/ps" | "ft/mcs" | "ft/cs" | "ft/ds" | "ft/das" | "ft/hs" | "ft/ks" | "ft/Ms" | "ft/Gs" | "ft/Ts" | "ft/fs" | "ft/d" | "ft/min" | "ft/hr" | "in/s" | "in/ns" | "in/ms" | "in/ps" | "in/mcs" | "in/cs" | "in/ds" | "in/das" | "in/hs" | "in/ks" | "in/Ms" | "in/Gs" | "in/Ts" | "in/fs" | "in/d" | "in/min" | "in/hr" | "yd/s" | "yd/ns" | "yd/ms" | "yd/ps" | "yd/mcs" | "yd/cs" | "yd/ds" | "yd/das" | "yd/hs" | "yd/ks" | "yd/Ms" | "yd/Gs" | "yd/Ts" | "yd/fs" | "yd/d" | "yd/min" | "yd/hr" | "mi/s" | "mi/ns" | "mi/ms" | "mi/ps" | "mi/mcs" | "mi/cs" | "mi/ds" | "mi/das" | "mi/hs" | "mi/ks" | "mi/Ms" | "mi/Gs" | "mi/Ts" | "mi/fs" | "mi/d" | "mi/min" | "mi/hr" | import("@kingstinct/react-native-healthkit").TemperatureUnit | "l" | "pl" | "nl" | "mcl" | "ml" | "cl" | "dal" | "hl" | "kl" | "Ml" | "Gl" | "Tl" | import("@kingstinct/react-native-healthkit").UnitOfVolume | "mmol<180.15588000005408>/l" | "Cal" | "dBHL" | "dBASPL" | "IU" | "appleEffortScore" | "ft" | "in" | "yd" | "oz" | "st" | "lb" | "atm" | "cmAq" | "inHg" | "degC" | "degF" | "K" | "cup_imp" | "fl_oz_imp" | "pt_imp" | "cup_us" | "fl_oz_us" | "pt_us">[];
21
+ anchor: {
22
+ typeIdentifier: HKSampleTypeIdentifier;
7
23
  anchor: string;
8
24
  } | undefined;
9
25
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-samples-from-health.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/get-samples-from-health.ts"],"names":[],"mappings":"AAAA,OAAkB,EAChB,gBAAgB,EAChB,wBAAwB,EACzB,MAAM,oCAAoC,CAAC;AAG5C,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAIjF,eAAO,MAAM,oBAAoB,GAAU,+DAKxC,wBAAwB,CAAC,wBAAwB,CAAC;UAsBhC,gBAAgB,CAAC,wBAAwB,CAAC,EAAE;;;;;EAQhE,CAAC"}
1
+ {"version":3,"file":"get-samples-from-health.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/get-samples-from-health.ts"],"names":[],"mappings":"AAAA,OAAkB,EAChB,wBAAwB,EACxB,wBAAwB,EACxB,sBAAsB,EAGtB,YAAY,EACb,MAAM,oCAAoC,CAAC;AAG5C,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAK5D,eAAO,MAAM,oBAAoB,GAAU,qEAMxC,wBAAwB,CAAC,sBAAsB,CAAC;UA0FhC,oBAAoB,EAAE;YAAU,SAAS;;;;;;;;;;;;;;;;;;;EAP3D,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { RecordType } from "react-native-health-connect";
2
2
  import { GetTotalCountProps } from "../types/get-total-count-props";
3
- export declare const getTotalRecordsCount: ({ typeIdentifier, startDate: _startDate, anchor, }: GetTotalCountProps<RecordType>) => Promise<number>;
3
+ export declare const getTotalRecordsCount: ({ typeIdentifier, startDate: _startDate, anchor, mode, }: GetTotalCountProps<RecordType>) => Promise<number>;
4
4
  //# sourceMappingURL=get-total-records-count.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-total-records-count.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/get-total-records-count.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,UAAU,EAEX,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,eAAO,MAAM,oBAAoB,GAAU,oDAIxC,kBAAkB,CAAC,UAAU,CAAC,KAAG,OAAO,CAAC,MAAM,CAkCjD,CAAC"}
1
+ {"version":3,"file":"get-total-records-count.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/get-total-records-count.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,UAAU,EAEX,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAIpE,eAAO,MAAM,oBAAoB,GAAU,0DAKxC,kBAAkB,CAAC,UAAU,CAAC,KAAG,OAAO,CAAC,MAAM,CA6CjD,CAAC"}
@@ -1,9 +1,4 @@
1
- import { HKQuantityTypeIdentifier } from "@kingstinct/react-native-healthkit";
2
- type GetTotalSamplesCountProps = {
3
- typeIdentifier: HKQuantityTypeIdentifier;
4
- startDate?: string;
5
- anchor?: string;
6
- };
7
- export declare const getTotalSamplesCount: ({ typeIdentifier, startDate: _startDate, anchor, }: GetTotalSamplesCountProps) => Promise<number>;
8
- export {};
1
+ import { HKSampleTypeIdentifier } from "@kingstinct/react-native-healthkit";
2
+ import { GetTotalCountProps } from "../types/get-total-count-props";
3
+ export declare const getTotalSamplesCount: (props: GetTotalCountProps<HKSampleTypeIdentifier>) => Promise<number>;
9
4
  //# sourceMappingURL=get-total-samples-count.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-total-samples-count.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/get-total-samples-count.ts"],"names":[],"mappings":"AAAA,OAAkB,EAChB,wBAAwB,EACzB,MAAM,oCAAoC,CAAC;AAK5C,KAAK,yBAAyB,GAAG;IAC/B,cAAc,EAAE,wBAAwB,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAU,oDAIxC,yBAAyB,KAAG,OAAO,CAAC,MAAM,CA2B5C,CAAC"}
1
+ {"version":3,"file":"get-total-samples-count.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/get-total-samples-count.ts"],"names":[],"mappings":"AAAA,OAAkB,EAEhB,sBAAsB,EAEvB,MAAM,oCAAoC,CAAC;AAG5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAKpE,eAAO,MAAM,oBAAoB,GAC/B,OAAO,kBAAkB,CAAC,sBAAsB,CAAC,KAChD,OAAO,CAAC,MAAM,CA8BhB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { Observation } from "@medplum/fhirtypes";
2
+ export type HealthObservationDeviceMetadata = {
3
+ manufacturer?: string;
4
+ model?: string;
5
+ sourceApp?: string;
6
+ recordingMethod?: number;
7
+ };
8
+ export declare const getHealthObservationDevice: (metadata: HealthObservationDeviceMetadata) => Observation["device"] | undefined;
9
+ //# sourceMappingURL=health-observation-device.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"health-observation-device.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/health-observation-device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAQ5D,MAAM,MAAM,+BAA+B,GAAG;IAC5C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAyBF,eAAO,MAAM,0BAA0B,GACrC,UAAU,+BAA+B,KACxC,WAAW,CAAC,QAAQ,CAAC,GAAG,SAwB1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"form-date-field.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/helpers/form-items/form-date-field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,SAAS,EAEf,MAAM,cAAc,CAAC;AAMtB,UAAU,kBAAkB;IAC1B,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;CACrC;AAED,eAAO,MAAM,aAAa,sFAQrB,kBAAkB,uBAiEtB,CAAC"}
1
+ {"version":3,"file":"form-date-field.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/helpers/form-items/form-date-field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,SAAS,EAEf,MAAM,cAAc,CAAC;AAMtB,UAAU,kBAAkB;IAC1B,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;CACrC;AAED,eAAO,MAAM,aAAa,sFAQrB,kBAAkB,uBAoEtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"form-select.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/helpers/form-items/form-select.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEhE,OAAO,EAAE,aAAa,EAAE,MAAM,wEAAwE,CAAC;AAUvG,UAAU,eAAe,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAClE,SAAQ,IAAI,CACV,aAAa,CAAC,CAAC,CAAC,EAChB,MAAM,GAAG,UAAU,GAAG,QAAQ,GAAG,aAAa,CAC/C;IACD,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,CAAC,EAAE,CAAC;IACb,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AAyJD,eAAO,MAAM,UAAU,EAAsC,CAAC,CAAC,SAAS,MAAM,EAC5E,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,KACtB,KAAK,CAAC,YAAY,CAAC"}
1
+ {"version":3,"file":"form-select.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/helpers/form-items/form-select.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEhE,OAAO,EAAE,aAAa,EAAE,MAAM,wEAAwE,CAAC;AAUvG,UAAU,eAAe,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAClE,SAAQ,IAAI,CACV,aAAa,CAAC,CAAC,CAAC,EAChB,MAAM,GAAG,UAAU,GAAG,QAAQ,GAAG,aAAa,CAC/C;IACD,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,CAAC,EAAE,CAAC;IACb,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AA0JD,eAAO,MAAM,UAAU,EAAsC,CAAC,CAAC,SAAS,MAAM,EAC5E,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,KACtB,KAAK,CAAC,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"optimized-image.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/image/components/optimized-image.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAIrE,eAAO,MAAM,cAAc,gLAetB,mBAAmB,uBAuHvB,CAAC"}
1
+ {"version":3,"file":"optimized-image.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/image/components/optimized-image.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAIrE,eAAO,MAAM,cAAc,gLAetB,mBAAmB,uBA0IvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"date-range.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/measurement/components/date-range.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,eAAO,MAAM,SAAS,mHASjB,cAAc,uBAuHlB,CAAC"}
1
+ {"version":3,"file":"date-range.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/measurement/components/date-range.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,eAAO,MAAM,SAAS,mHASjB,cAAc,uBA0HlB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"measurement-list-item.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/measurement/components/measurement-list-item.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,eAAO,MAAM,mBAAmB,GAAI,OAAO,wBAAwB,gCAoDlE,CAAC"}
1
+ {"version":3,"file":"measurement-list-item.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/measurement/components/measurement-list-item.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,eAAO,MAAM,mBAAmB,GAAI,OAAO,wBAAwB,gCAuDlE,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { ReactNode } from "react";
1
2
  import { StyleProp, TouchableOpacityProps, ViewStyle } from "react-native";
2
3
  export type MeasurementListItemProps<T = unknown> = TouchableOpacityProps & {
3
4
  data: {
@@ -5,6 +6,7 @@ export type MeasurementListItemProps<T = unknown> = TouchableOpacityProps & {
5
6
  unit: string;
6
7
  date: string;
7
8
  } & T;
9
+ badge?: ReactNode;
8
10
  style?: StyleProp<ViewStyle>;
9
11
  testID?: string;
10
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"measurement-list-item-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/measurement/types/measurement-list-item-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE3E,MAAM,MAAM,wBAAwB,CAAC,CAAC,GAAG,OAAO,IAAI,qBAAqB,GAAG;IAC1E,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,GAAG,CAAC,CAAC;IACN,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
1
+ {"version":3,"file":"measurement-list-item-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/measurement/types/measurement-list-item-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE3E,MAAM,MAAM,wBAAwB,CAAC,CAAC,GAAG,OAAO,IAAI,qBAAqB,GAAG;IAC1E,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,GAAG,CAAC,CAAC;IACN,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
@@ -172,8 +172,11 @@ export declare const useAppTheme: () => {
172
172
  warning: string;
173
173
  };
174
174
  roundness: number;
175
+ fonts: import("react-native-paper/lib/typescript/types").MD3Typescale;
175
176
  spacing: (value: number) => number;
176
177
  borderRadius: (value: number) => number;
178
+ spacingScale: Record<string, number> | undefined;
179
+ borderRadiusScale: Record<string, number> | undefined;
177
180
  dark: boolean;
178
181
  mode?: "adaptive" | "exact";
179
182
  animation: {
@@ -182,6 +185,5 @@ export declare const useAppTheme: () => {
182
185
  };
183
186
  version: 3;
184
187
  isV3: true;
185
- fonts: import("react-native-paper/lib/typescript/types").MD3Typescale;
186
188
  };
187
189
  //# sourceMappingURL=use-app-theme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-app-theme.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/theme/hooks/use-app-theme.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAC43E,CAAC;;;;;CADh2E,CAAC"}
1
+ {"version":3,"file":"use-app-theme.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/theme/hooks/use-app-theme.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAC43E,CAAC;;;;CADh2E,CAAC"}
@@ -2,6 +2,6 @@ export * from "./components/theme-provider";
2
2
  export * from "./hooks/use-app-theme";
3
3
  export * from "./constants/colors";
4
4
  export * from "./constants/multipliers";
5
- export type { ThemeProviderProps } from "./types/theme-provider-props";
5
+ export type { ThemeFonts, ThemeProviderProps, ThemeScale, } from "./types/theme-provider-props";
6
6
  export type { AppTheme } from "./types/app-theme";
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,YAAY,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AACvE,YAAY,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,YAAY,EACV,UAAU,EACV,kBAAkB,EAClB,UAAU,GACX,MAAM,8BAA8B,CAAC;AACtC,YAAY,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC"}
@@ -1,12 +1,21 @@
1
1
  import { MD3Theme } from "react-native-paper";
2
2
  import { DEFAULT_COLORS } from "../constants/colors";
3
- export interface ThemeProviderProps {
3
+ type ThemeScale = number | Record<string, number>;
4
+ interface ThemeFonts {
5
+ display?: string;
6
+ body?: string;
7
+ mono?: string;
8
+ }
9
+ interface ThemeProviderProps {
4
10
  children: React.ReactNode;
5
11
  theme: {
6
12
  colors: Partial<MD3Theme["colors"]> & typeof DEFAULT_COLORS;
13
+ extraColors?: Record<string, string>;
14
+ fonts?: ThemeFonts;
7
15
  dark: boolean;
8
- spacingMultiplier: number;
9
- borderRadiusMultiplier: number;
16
+ spacingMultiplier: ThemeScale;
17
+ borderRadiusMultiplier: ThemeScale;
10
18
  };
11
19
  }
20
+ export type { ThemeFonts, ThemeProviderProps, ThemeScale };
12
21
  //# sourceMappingURL=theme-provider-props.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"theme-provider-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/theme/types/theme-provider-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE;QACL,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,GAAG,OAAO,cAAc,CAAC;QAC5D,IAAI,EAAE,OAAO,CAAC;QACd,iBAAiB,EAAE,MAAM,CAAC;QAC1B,sBAAsB,EAAE,MAAM,CAAC;KAChC,CAAC;CACH"}
1
+ {"version":3,"file":"theme-provider-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/theme/types/theme-provider-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,KAAK,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAElD,UAAU,UAAU;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE;QACL,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,GAAG,OAAO,cAAc,CAAC;QAC5D,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACrC,KAAK,CAAC,EAAE,UAAU,CAAC;QACnB,IAAI,EAAE,OAAO,CAAC;QACd,iBAAiB,EAAE,UAAU,CAAC;QAC9B,sBAAsB,EAAE,UAAU,CAAC;KACpC,CAAC;CACH;AAED,YAAY,EAAE,UAAU,EAAE,kBAAkB,EAAE,UAAU,EAAE,CAAC"}
@@ -173,8 +173,11 @@ export declare const generateTheme: (theme: ThemeProviderProps["theme"]) => {
173
173
  warning: string;
174
174
  };
175
175
  roundness: number;
176
+ fonts: import("react-native-paper/lib/typescript/types").MD3Typescale;
176
177
  spacing: (value: number) => number;
177
178
  borderRadius: (value: number) => number;
179
+ spacingScale: Record<string, number> | undefined;
180
+ borderRadiusScale: Record<string, number> | undefined;
178
181
  dark: boolean;
179
182
  mode?: "adaptive" | "exact";
180
183
  animation: {
@@ -183,6 +186,5 @@ export declare const generateTheme: (theme: ThemeProviderProps["theme"]) => {
183
186
  };
184
187
  version: 3;
185
188
  isV3: true;
186
- fonts: import("react-native-paper/lib/typescript/types").MD3Typescale;
187
189
  };
188
190
  //# sourceMappingURL=generate-theme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generate-theme.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/theme/utils/generate-theme.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAU3C,MAAM;0BACD,MAAM;;;;;gCAKwgE,CAAC;;;;;CADxiE,CAAC"}
1
+ {"version":3,"file":"generate-theme.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/theme/utils/generate-theme.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAgE3C,MAAM;0BAMD,MAAM;;;;;;;gCAY0P,CAAC;;;;CAD1R,CAAC"}