@ovok/native 1.6.1 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (554) 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/breathing-exercise/components/method-name.js +0 -1
  59. package/lib/commonjs/modules/breathing-exercise/components/method-name.js.map +1 -1
  60. package/lib/commonjs/modules/breathing-exercise/components/remaining-time.js +0 -1
  61. package/lib/commonjs/modules/breathing-exercise/components/remaining-time.js.map +1 -1
  62. package/lib/commonjs/modules/bt-device/components/item/status.js +1 -2
  63. package/lib/commonjs/modules/bt-device/components/item/status.js.map +1 -1
  64. package/lib/commonjs/modules/bt-device/components/item/sub-title.js +1 -2
  65. package/lib/commonjs/modules/bt-device/components/item/sub-title.js.map +1 -1
  66. package/lib/commonjs/modules/bt-device/components/item/title.js +1 -2
  67. package/lib/commonjs/modules/bt-device/components/item/title.js.map +1 -1
  68. package/lib/commonjs/modules/bt-device/constants/supported-devices.js +4 -2
  69. package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
  70. package/lib/commonjs/modules/bt-management/components/bluetooth-device-picker.js +2 -1
  71. package/lib/commonjs/modules/bt-management/components/bluetooth-device-picker.js.map +1 -1
  72. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js +37 -14
  73. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  74. package/lib/commonjs/modules/bt-management/constants/measurement-field-catalog.js +17 -1
  75. package/lib/commonjs/modules/bt-management/constants/measurement-field-catalog.js.map +1 -1
  76. package/lib/commonjs/modules/bt-management/hooks/runtime-context.js +52 -1
  77. package/lib/commonjs/modules/bt-management/hooks/runtime-context.js.map +1 -1
  78. package/lib/commonjs/modules/bt-management/hooks/use-paired-devices.js +20 -11
  79. package/lib/commonjs/modules/bt-management/hooks/use-paired-devices.js.map +1 -1
  80. package/lib/commonjs/modules/bt-management/hooks/use-request-permissions.js +5 -8
  81. package/lib/commonjs/modules/bt-management/hooks/use-request-permissions.js.map +1 -1
  82. package/lib/commonjs/modules/bt-management/index.js +11 -0
  83. package/lib/commonjs/modules/bt-management/index.js.map +1 -1
  84. package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js +5 -1
  85. package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -1
  86. package/lib/commonjs/modules/bt-management/services/bt-manager.js +56 -16
  87. package/lib/commonjs/modules/bt-management/services/bt-manager.js.map +1 -1
  88. package/lib/commonjs/modules/bt-management/services/devices/boso/boso.medicus.js +9 -6
  89. package/lib/commonjs/modules/bt-management/services/devices/boso/boso.medicus.js.map +1 -1
  90. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js +97 -2
  91. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
  92. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.files.js +74 -0
  93. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.files.js.map +1 -0
  94. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.history-sequencer.js +52 -0
  95. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.history-sequencer.js.map +1 -0
  96. package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js +0 -1
  97. package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
  98. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js +22 -2
  99. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  100. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +1 -0
  101. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  102. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.file-transfer.js +1 -1
  103. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.file-transfer.js.map +1 -1
  104. package/lib/commonjs/modules/bt-management/types/bluetooth-error.js +4 -0
  105. package/lib/commonjs/modules/bt-management/types/bluetooth-error.js.map +1 -1
  106. package/lib/commonjs/modules/bt-management/utils/device-title.js +17 -0
  107. package/lib/commonjs/modules/bt-management/utils/device-title.js.map +1 -0
  108. package/lib/commonjs/modules/content/content-card/components/cover-badge.js +1 -3
  109. package/lib/commonjs/modules/content/content-card/components/cover-badge.js.map +1 -1
  110. package/lib/commonjs/modules/content/content-card/components/title.js +1 -3
  111. package/lib/commonjs/modules/content/content-card/components/title.js.map +1 -1
  112. package/lib/commonjs/modules/content/content-detail/components/content-detail-rich-content.js +1 -1
  113. package/lib/commonjs/modules/content/content-detail/components/content-detail-rich-content.js.map +1 -1
  114. package/lib/commonjs/modules/data-sync/components/manually-request-sheet/description.js +2 -2
  115. package/lib/commonjs/modules/data-sync/components/manually-request-sheet/description.js.map +1 -1
  116. package/lib/commonjs/modules/data-sync/components/manually-request-sheet/title.js +0 -1
  117. package/lib/commonjs/modules/data-sync/components/manually-request-sheet/title.js.map +1 -1
  118. package/lib/commonjs/modules/data-sync/components/sync-progress-list/sync-progress-list.js +30 -21
  119. package/lib/commonjs/modules/data-sync/components/sync-progress-list/sync-progress-list.js.map +1 -1
  120. package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js +13 -0
  121. package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
  122. package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js +19 -4
  123. package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
  124. package/lib/commonjs/modules/data-sync/utils/generate-observation-entry.js +1 -0
  125. package/lib/commonjs/modules/data-sync/utils/generate-observation-entry.js.map +1 -1
  126. package/lib/commonjs/modules/data-sync/utils/health-observation-device.js +55 -0
  127. package/lib/commonjs/modules/data-sync/utils/health-observation-device.js.map +1 -0
  128. package/lib/commonjs/modules/diary/components/no-data.js +1 -2
  129. package/lib/commonjs/modules/diary/components/no-data.js.map +1 -1
  130. package/lib/commonjs/modules/helpers/form-items/form-date-field.js +1 -1
  131. package/lib/commonjs/modules/helpers/form-items/form-date-field.js.map +1 -1
  132. package/lib/commonjs/modules/helpers/form-items/form-select.js +13 -13
  133. package/lib/commonjs/modules/helpers/form-items/form-select.js.map +1 -1
  134. package/lib/commonjs/modules/image/components/optimized-image.js +18 -0
  135. package/lib/commonjs/modules/image/components/optimized-image.js.map +1 -1
  136. package/lib/commonjs/modules/journal/past-journal/components/title.js +0 -1
  137. package/lib/commonjs/modules/journal/past-journal/components/title.js.map +1 -1
  138. package/lib/commonjs/modules/language-switcher/components/option/label.js +0 -1
  139. package/lib/commonjs/modules/language-switcher/components/option/label.js.map +1 -1
  140. package/lib/commonjs/modules/measurement/components/date-range.js +4 -3
  141. package/lib/commonjs/modules/measurement/components/date-range.js.map +1 -1
  142. package/lib/commonjs/modules/measurement/components/measurement-list-item.js +10 -10
  143. package/lib/commonjs/modules/measurement/components/measurement-list-item.js.map +1 -1
  144. package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js +1 -1
  145. package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js.map +1 -1
  146. package/lib/commonjs/modules/setting/components/list-header.js +1 -2
  147. package/lib/commonjs/modules/setting/components/list-header.js.map +1 -1
  148. package/lib/commonjs/modules/setting/components/setting-list-item.js +0 -1
  149. package/lib/commonjs/modules/setting/components/setting-list-item.js.map +1 -1
  150. package/lib/commonjs/modules/tab/components/tab-item.js +0 -1
  151. package/lib/commonjs/modules/tab/components/tab-item.js.map +1 -1
  152. package/lib/commonjs/modules/theme/utils/generate-theme.js +35 -4
  153. package/lib/commonjs/modules/theme/utils/generate-theme.js.map +1 -1
  154. package/lib/commonjs/modules/tile/components/measured-value.js +0 -3
  155. package/lib/commonjs/modules/tile/components/measured-value.js.map +1 -1
  156. package/lib/commonjs/modules/tile/components/title.js +0 -1
  157. package/lib/commonjs/modules/tile/components/title.js.map +1 -1
  158. package/lib/commonjs/modules/ui/components/background-sync-setting.js +11 -5
  159. package/lib/commonjs/modules/ui/components/background-sync-setting.js.map +1 -1
  160. package/lib/commonjs/modules/ui/components/bluetooth-state-notice.js +19 -6
  161. package/lib/commonjs/modules/ui/components/bluetooth-state-notice.js.map +1 -1
  162. package/lib/commonjs/modules/ui/components/health-import-card.js +15 -3
  163. package/lib/commonjs/modules/ui/components/health-import-card.js.map +1 -1
  164. package/lib/commonjs/modules/ui/components/measurement-trend-chart.js +95 -0
  165. package/lib/commonjs/modules/ui/components/measurement-trend-chart.js.map +1 -0
  166. package/lib/commonjs/modules/ui/components/pairing-flow.js +75 -31
  167. package/lib/commonjs/modules/ui/components/pairing-flow.js.map +1 -1
  168. package/lib/commonjs/modules/ui/components/supported-devices-catalog-list.js +3 -4
  169. package/lib/commonjs/modules/ui/components/supported-devices-catalog-list.js.map +1 -1
  170. package/lib/commonjs/modules/ui/index.js +11 -0
  171. package/lib/commonjs/modules/ui/index.js.map +1 -1
  172. package/lib/commonjs/modules/ui/use-ovok-ui.js +3 -0
  173. package/lib/commonjs/modules/ui/use-ovok-ui.js.map +1 -1
  174. package/lib/module/modules/auth/default-translation.js +68 -0
  175. package/lib/module/modules/auth/default-translation.js.map +1 -0
  176. package/lib/module/modules/auth/delete-account-button/components/delete-account-button.js +2 -0
  177. package/lib/module/modules/auth/delete-account-button/components/delete-account-button.js.map +1 -1
  178. package/lib/module/modules/auth/hooks/use-session.js +22 -6
  179. package/lib/module/modules/auth/hooks/use-session.js.map +1 -1
  180. package/lib/module/modules/auth/index.js +1 -0
  181. package/lib/module/modules/auth/index.js.map +1 -1
  182. package/lib/module/modules/auth/logout-button/components/logout-button.js +27 -1
  183. package/lib/module/modules/auth/logout-button/components/logout-button.js.map +1 -1
  184. package/lib/module/modules/auth/profile/components/profile-form.js +0 -1
  185. package/lib/module/modules/auth/profile/components/profile-form.js.map +1 -1
  186. package/lib/module/modules/auth/register/components/form/register-button.js +2 -2
  187. package/lib/module/modules/auth/register/components/form/register-button.js.map +1 -1
  188. package/lib/module/modules/auth/register/components/header/description.js +0 -1
  189. package/lib/module/modules/auth/register/components/header/description.js.map +1 -1
  190. package/lib/module/modules/auth/register/components/header/title.js +5 -2
  191. package/lib/module/modules/auth/register/components/header/title.js.map +1 -1
  192. package/lib/module/modules/auth/register/components/login-link.js +4 -3
  193. package/lib/module/modules/auth/register/components/login-link.js.map +1 -1
  194. package/lib/module/modules/auth/register/components/register-with-separator.js +1 -2
  195. package/lib/module/modules/auth/register/components/register-with-separator.js.map +1 -1
  196. package/lib/module/modules/auth/reset-password/components/form/inputs.js +4 -1
  197. package/lib/module/modules/auth/reset-password/components/form/inputs.js.map +1 -1
  198. package/lib/module/modules/auth/reset-password/components/form/reset-password-button.js +2 -2
  199. package/lib/module/modules/auth/reset-password/components/form/reset-password-button.js.map +1 -1
  200. package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js +6 -2
  201. package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
  202. package/lib/module/modules/auth/reset-password/components/header/description.js +0 -1
  203. package/lib/module/modules/auth/reset-password/components/header/description.js.map +1 -1
  204. package/lib/module/modules/auth/reset-password/components/header/title.js +5 -2
  205. package/lib/module/modules/auth/reset-password/components/header/title.js.map +1 -1
  206. package/lib/module/modules/auth/session/components/session-list.js +5 -3
  207. package/lib/module/modules/auth/session/components/session-list.js.map +1 -1
  208. package/lib/module/modules/auth/sign-in/components/footer.js +0 -1
  209. package/lib/module/modules/auth/sign-in/components/footer.js.map +1 -1
  210. package/lib/module/modules/auth/sign-in/components/form/signin-button.js +2 -2
  211. package/lib/module/modules/auth/sign-in/components/form/signin-button.js.map +1 -1
  212. package/lib/module/modules/auth/sign-in/components/header/description.js +0 -1
  213. package/lib/module/modules/auth/sign-in/components/header/description.js.map +1 -1
  214. package/lib/module/modules/auth/sign-in/components/header/title.js +5 -2
  215. package/lib/module/modules/auth/sign-in/components/header/title.js.map +1 -1
  216. package/lib/module/modules/auth/sign-in/components/login-with-separator.js +1 -2
  217. package/lib/module/modules/auth/sign-in/components/login-with-separator.js.map +1 -1
  218. package/lib/module/modules/auth/sign-in/components/register-link.js +4 -3
  219. package/lib/module/modules/auth/sign-in/components/register-link.js.map +1 -1
  220. package/lib/module/modules/auth/sign-in/components/site-url.js +1 -3
  221. package/lib/module/modules/auth/sign-in/components/site-url.js.map +1 -1
  222. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-text.js +1 -3
  223. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-text.js.map +1 -1
  224. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-text.js +1 -3
  225. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-text.js.map +1 -1
  226. package/lib/module/modules/auth/utils/sign-out-google.js +12 -0
  227. package/lib/module/modules/auth/utils/sign-out-google.js.map +1 -0
  228. package/lib/module/modules/breathing-exercise/components/method-name.js +0 -1
  229. package/lib/module/modules/breathing-exercise/components/method-name.js.map +1 -1
  230. package/lib/module/modules/breathing-exercise/components/remaining-time.js +0 -1
  231. package/lib/module/modules/breathing-exercise/components/remaining-time.js.map +1 -1
  232. package/lib/module/modules/bt-device/components/item/status.js +1 -2
  233. package/lib/module/modules/bt-device/components/item/status.js.map +1 -1
  234. package/lib/module/modules/bt-device/components/item/sub-title.js +1 -2
  235. package/lib/module/modules/bt-device/components/item/sub-title.js.map +1 -1
  236. package/lib/module/modules/bt-device/components/item/title.js +1 -2
  237. package/lib/module/modules/bt-device/components/item/title.js.map +1 -1
  238. package/lib/module/modules/bt-device/constants/supported-devices.js +4 -2
  239. package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
  240. package/lib/module/modules/bt-management/components/bluetooth-device-picker.js +2 -1
  241. package/lib/module/modules/bt-management/components/bluetooth-device-picker.js.map +1 -1
  242. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js +37 -14
  243. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  244. package/lib/module/modules/bt-management/constants/measurement-field-catalog.js +17 -1
  245. package/lib/module/modules/bt-management/constants/measurement-field-catalog.js.map +1 -1
  246. package/lib/module/modules/bt-management/hooks/runtime-context.js +52 -1
  247. package/lib/module/modules/bt-management/hooks/runtime-context.js.map +1 -1
  248. package/lib/module/modules/bt-management/hooks/use-paired-devices.js +20 -11
  249. package/lib/module/modules/bt-management/hooks/use-paired-devices.js.map +1 -1
  250. package/lib/module/modules/bt-management/hooks/use-request-permissions.js +5 -8
  251. package/lib/module/modules/bt-management/hooks/use-request-permissions.js.map +1 -1
  252. package/lib/module/modules/bt-management/index.js +1 -0
  253. package/lib/module/modules/bt-management/index.js.map +1 -1
  254. package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js +5 -1
  255. package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -1
  256. package/lib/module/modules/bt-management/services/bt-manager.js +56 -16
  257. package/lib/module/modules/bt-management/services/bt-manager.js.map +1 -1
  258. package/lib/module/modules/bt-management/services/devices/boso/boso.medicus.js +9 -6
  259. package/lib/module/modules/bt-management/services/devices/boso/boso.medicus.js.map +1 -1
  260. package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js +98 -2
  261. package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
  262. package/lib/module/modules/bt-management/services/devices/bp2/bp2.files.js +68 -0
  263. package/lib/module/modules/bt-management/services/devices/bp2/bp2.files.js.map +1 -0
  264. package/lib/module/modules/bt-management/services/devices/bp2/bp2.history-sequencer.js +48 -0
  265. package/lib/module/modules/bt-management/services/devices/bp2/bp2.history-sequencer.js.map +1 -0
  266. package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js +0 -1
  267. package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
  268. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js +22 -2
  269. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  270. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +1 -0
  271. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  272. package/lib/module/modules/bt-management/services/devices/lepu/lepu.file-transfer.js +1 -1
  273. package/lib/module/modules/bt-management/services/devices/lepu/lepu.file-transfer.js.map +1 -1
  274. package/lib/module/modules/bt-management/types/bluetooth-error.js +4 -0
  275. package/lib/module/modules/bt-management/types/bluetooth-error.js.map +1 -1
  276. package/lib/module/modules/bt-management/utils/device-title.js +12 -0
  277. package/lib/module/modules/bt-management/utils/device-title.js.map +1 -0
  278. package/lib/module/modules/content/content-card/components/cover-badge.js +1 -3
  279. package/lib/module/modules/content/content-card/components/cover-badge.js.map +1 -1
  280. package/lib/module/modules/content/content-card/components/title.js +1 -3
  281. package/lib/module/modules/content/content-card/components/title.js.map +1 -1
  282. package/lib/module/modules/content/content-detail/components/content-detail-rich-content.js +1 -1
  283. package/lib/module/modules/content/content-detail/components/content-detail-rich-content.js.map +1 -1
  284. package/lib/module/modules/data-sync/components/manually-request-sheet/description.js +2 -2
  285. package/lib/module/modules/data-sync/components/manually-request-sheet/description.js.map +1 -1
  286. package/lib/module/modules/data-sync/components/manually-request-sheet/title.js +0 -1
  287. package/lib/module/modules/data-sync/components/manually-request-sheet/title.js.map +1 -1
  288. package/lib/module/modules/data-sync/components/sync-progress-list/sync-progress-list.js +30 -21
  289. package/lib/module/modules/data-sync/components/sync-progress-list/sync-progress-list.js.map +1 -1
  290. package/lib/module/modules/data-sync/utils/convert-records-to-observation.js +13 -0
  291. package/lib/module/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
  292. package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js +19 -4
  293. package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
  294. package/lib/module/modules/data-sync/utils/generate-observation-entry.js +1 -0
  295. package/lib/module/modules/data-sync/utils/generate-observation-entry.js.map +1 -1
  296. package/lib/module/modules/data-sync/utils/health-observation-device.js +50 -0
  297. package/lib/module/modules/data-sync/utils/health-observation-device.js.map +1 -0
  298. package/lib/module/modules/diary/components/no-data.js +1 -2
  299. package/lib/module/modules/diary/components/no-data.js.map +1 -1
  300. package/lib/module/modules/helpers/form-items/form-date-field.js +1 -1
  301. package/lib/module/modules/helpers/form-items/form-date-field.js.map +1 -1
  302. package/lib/module/modules/helpers/form-items/form-select.js +13 -13
  303. package/lib/module/modules/helpers/form-items/form-select.js.map +1 -1
  304. package/lib/module/modules/image/components/optimized-image.js +18 -0
  305. package/lib/module/modules/image/components/optimized-image.js.map +1 -1
  306. package/lib/module/modules/journal/past-journal/components/title.js +0 -1
  307. package/lib/module/modules/journal/past-journal/components/title.js.map +1 -1
  308. package/lib/module/modules/language-switcher/components/option/label.js +0 -1
  309. package/lib/module/modules/language-switcher/components/option/label.js.map +1 -1
  310. package/lib/module/modules/measurement/components/date-range.js +4 -3
  311. package/lib/module/modules/measurement/components/date-range.js.map +1 -1
  312. package/lib/module/modules/measurement/components/measurement-list-item.js +10 -10
  313. package/lib/module/modules/measurement/components/measurement-list-item.js.map +1 -1
  314. package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js +1 -1
  315. package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js.map +1 -1
  316. package/lib/module/modules/setting/components/list-header.js +1 -2
  317. package/lib/module/modules/setting/components/list-header.js.map +1 -1
  318. package/lib/module/modules/setting/components/setting-list-item.js +0 -1
  319. package/lib/module/modules/setting/components/setting-list-item.js.map +1 -1
  320. package/lib/module/modules/tab/components/tab-item.js +0 -1
  321. package/lib/module/modules/tab/components/tab-item.js.map +1 -1
  322. package/lib/module/modules/theme/utils/generate-theme.js +35 -4
  323. package/lib/module/modules/theme/utils/generate-theme.js.map +1 -1
  324. package/lib/module/modules/tile/components/measured-value.js +0 -3
  325. package/lib/module/modules/tile/components/measured-value.js.map +1 -1
  326. package/lib/module/modules/tile/components/title.js +0 -1
  327. package/lib/module/modules/tile/components/title.js.map +1 -1
  328. package/lib/module/modules/ui/components/background-sync-setting.js +11 -5
  329. package/lib/module/modules/ui/components/background-sync-setting.js.map +1 -1
  330. package/lib/module/modules/ui/components/bluetooth-state-notice.js +19 -6
  331. package/lib/module/modules/ui/components/bluetooth-state-notice.js.map +1 -1
  332. package/lib/module/modules/ui/components/health-import-card.js +15 -3
  333. package/lib/module/modules/ui/components/health-import-card.js.map +1 -1
  334. package/lib/module/modules/ui/components/measurement-trend-chart.js +91 -0
  335. package/lib/module/modules/ui/components/measurement-trend-chart.js.map +1 -0
  336. package/lib/module/modules/ui/components/pairing-flow.js +78 -34
  337. package/lib/module/modules/ui/components/pairing-flow.js.map +1 -1
  338. package/lib/module/modules/ui/components/supported-devices-catalog-list.js +4 -5
  339. package/lib/module/modules/ui/components/supported-devices-catalog-list.js.map +1 -1
  340. package/lib/module/modules/ui/index.js +1 -0
  341. package/lib/module/modules/ui/index.js.map +1 -1
  342. package/lib/module/modules/ui/use-ovok-ui.js +4 -1
  343. package/lib/module/modules/ui/use-ovok-ui.js.map +1 -1
  344. package/lib/typescript/commonjs/src/modules/auth/default-translation.d.ts +2 -0
  345. package/lib/typescript/commonjs/src/modules/auth/default-translation.d.ts.map +1 -0
  346. package/lib/typescript/commonjs/src/modules/auth/delete-account-button/components/delete-account-button.d.ts.map +1 -1
  347. package/lib/typescript/commonjs/src/modules/auth/hooks/use-session.d.ts +8 -2
  348. package/lib/typescript/commonjs/src/modules/auth/hooks/use-session.d.ts.map +1 -1
  349. package/lib/typescript/commonjs/src/modules/auth/index.d.ts +1 -0
  350. package/lib/typescript/commonjs/src/modules/auth/index.d.ts.map +1 -1
  351. package/lib/typescript/commonjs/src/modules/auth/logout-button/components/logout-button.d.ts +1 -1
  352. package/lib/typescript/commonjs/src/modules/auth/logout-button/components/logout-button.d.ts.map +1 -1
  353. package/lib/typescript/commonjs/src/modules/auth/logout-button/types/logout-button-props.d.ts +6 -1
  354. package/lib/typescript/commonjs/src/modules/auth/logout-button/types/logout-button-props.d.ts.map +1 -1
  355. package/lib/typescript/commonjs/src/modules/auth/register/components/form/register-button.d.ts.map +1 -1
  356. package/lib/typescript/commonjs/src/modules/auth/register/components/header/title.d.ts.map +1 -1
  357. package/lib/typescript/commonjs/src/modules/auth/register/components/login-link.d.ts.map +1 -1
  358. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/inputs.d.ts.map +1 -1
  359. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/reset-password-button.d.ts.map +1 -1
  360. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts +1 -1
  361. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts.map +1 -1
  362. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/header/title.d.ts.map +1 -1
  363. package/lib/typescript/commonjs/src/modules/auth/reset-password/contexts/reset-password-form-context.d.ts +2 -46
  364. package/lib/typescript/commonjs/src/modules/auth/reset-password/contexts/reset-password-form-context.d.ts.map +1 -1
  365. package/lib/typescript/commonjs/src/modules/auth/reset-password/hooks/use-reset-password-form.d.ts +1 -47
  366. package/lib/typescript/commonjs/src/modules/auth/reset-password/hooks/use-reset-password-form.d.ts.map +1 -1
  367. package/lib/typescript/commonjs/src/modules/auth/reset-password/types/reset-password-context-type.d.ts +3 -1
  368. package/lib/typescript/commonjs/src/modules/auth/reset-password/types/reset-password-context-type.d.ts.map +1 -1
  369. package/lib/typescript/commonjs/src/modules/auth/reset-password/types/reset-password-form-provider-props.d.ts +1 -0
  370. package/lib/typescript/commonjs/src/modules/auth/reset-password/types/reset-password-form-provider-props.d.ts.map +1 -1
  371. package/lib/typescript/commonjs/src/modules/auth/session/components/session-list.d.ts.map +1 -1
  372. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/signin-button.d.ts.map +1 -1
  373. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/header/title.d.ts.map +1 -1
  374. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/register-link.d.ts.map +1 -1
  375. package/lib/typescript/commonjs/src/modules/auth/utils/sign-out-google.d.ts +3 -0
  376. package/lib/typescript/commonjs/src/modules/auth/utils/sign-out-google.d.ts.map +1 -0
  377. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  378. package/lib/typescript/commonjs/src/modules/bt-management/components/bluetooth-device-picker.d.ts.map +1 -1
  379. package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  380. package/lib/typescript/commonjs/src/modules/bt-management/hooks/runtime-context.d.ts +6 -2
  381. package/lib/typescript/commonjs/src/modules/bt-management/hooks/runtime-context.d.ts.map +1 -1
  382. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-paired-devices.d.ts.map +1 -1
  383. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-request-permissions.d.ts.map +1 -1
  384. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts +1 -0
  385. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts.map +1 -1
  386. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -1
  387. package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts +9 -0
  388. package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
  389. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts.map +1 -1
  390. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts +17 -1
  391. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
  392. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts +17 -0
  393. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts.map +1 -0
  394. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.d.ts +28 -0
  395. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.d.ts.map +1 -0
  396. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-connection-handler.d.ts.map +1 -1
  397. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts +6 -0
  398. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  399. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  400. package/lib/typescript/commonjs/src/modules/bt-management/types/background-sync.d.ts +2 -0
  401. package/lib/typescript/commonjs/src/modules/bt-management/types/background-sync.d.ts.map +1 -1
  402. package/lib/typescript/commonjs/src/modules/bt-management/types/bluetooth-error.d.ts +1 -0
  403. package/lib/typescript/commonjs/src/modules/bt-management/types/bluetooth-error.d.ts.map +1 -1
  404. package/lib/typescript/commonjs/src/modules/bt-management/types/btprovider-children-props.d.ts +7 -1
  405. package/lib/typescript/commonjs/src/modules/bt-management/types/btprovider-children-props.d.ts.map +1 -1
  406. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts +2 -0
  407. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  408. package/lib/typescript/commonjs/src/modules/bt-management/utils/device-title.d.ts +8 -0
  409. package/lib/typescript/commonjs/src/modules/bt-management/utils/device-title.d.ts.map +1 -0
  410. package/lib/typescript/commonjs/src/modules/data-sync/components/manually-request-sheet/description.d.ts.map +1 -1
  411. package/lib/typescript/commonjs/src/modules/data-sync/components/sync-progress-list/sync-progress-list.d.ts +8 -5
  412. package/lib/typescript/commonjs/src/modules/data-sync/components/sync-progress-list/sync-progress-list.d.ts.map +1 -1
  413. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-records-to-observation.d.ts.map +1 -1
  414. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
  415. package/lib/typescript/commonjs/src/modules/data-sync/utils/generate-observation-entry.d.ts.map +1 -1
  416. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-observation-device.d.ts +9 -0
  417. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-observation-device.d.ts.map +1 -0
  418. package/lib/typescript/commonjs/src/modules/helpers/form-items/form-date-field.d.ts.map +1 -1
  419. package/lib/typescript/commonjs/src/modules/helpers/form-items/form-select.d.ts.map +1 -1
  420. package/lib/typescript/commonjs/src/modules/image/components/optimized-image.d.ts.map +1 -1
  421. package/lib/typescript/commonjs/src/modules/measurement/components/date-range.d.ts.map +1 -1
  422. package/lib/typescript/commonjs/src/modules/measurement/components/measurement-list-item.d.ts.map +1 -1
  423. package/lib/typescript/commonjs/src/modules/measurement/types/measurement-list-item-props.d.ts +2 -0
  424. package/lib/typescript/commonjs/src/modules/measurement/types/measurement-list-item-props.d.ts.map +1 -1
  425. package/lib/typescript/commonjs/src/modules/theme/hooks/use-app-theme.d.ts +3 -1
  426. package/lib/typescript/commonjs/src/modules/theme/hooks/use-app-theme.d.ts.map +1 -1
  427. package/lib/typescript/commonjs/src/modules/theme/index.d.ts +1 -1
  428. package/lib/typescript/commonjs/src/modules/theme/index.d.ts.map +1 -1
  429. package/lib/typescript/commonjs/src/modules/theme/types/theme-provider-props.d.ts +12 -3
  430. package/lib/typescript/commonjs/src/modules/theme/types/theme-provider-props.d.ts.map +1 -1
  431. package/lib/typescript/commonjs/src/modules/theme/utils/generate-theme.d.ts +3 -1
  432. package/lib/typescript/commonjs/src/modules/theme/utils/generate-theme.d.ts.map +1 -1
  433. package/lib/typescript/commonjs/src/modules/ui/components/background-sync-setting.d.ts +4 -1
  434. package/lib/typescript/commonjs/src/modules/ui/components/background-sync-setting.d.ts.map +1 -1
  435. package/lib/typescript/commonjs/src/modules/ui/components/bluetooth-state-notice.d.ts +7 -1
  436. package/lib/typescript/commonjs/src/modules/ui/components/bluetooth-state-notice.d.ts.map +1 -1
  437. package/lib/typescript/commonjs/src/modules/ui/components/health-import-card.d.ts +5 -1
  438. package/lib/typescript/commonjs/src/modules/ui/components/health-import-card.d.ts.map +1 -1
  439. package/lib/typescript/commonjs/src/modules/ui/components/measurement-trend-chart.d.ts +19 -0
  440. package/lib/typescript/commonjs/src/modules/ui/components/measurement-trend-chart.d.ts.map +1 -0
  441. package/lib/typescript/commonjs/src/modules/ui/components/pairing-flow.d.ts +16 -1
  442. package/lib/typescript/commonjs/src/modules/ui/components/pairing-flow.d.ts.map +1 -1
  443. package/lib/typescript/commonjs/src/modules/ui/components/supported-devices-catalog-list.d.ts.map +1 -1
  444. package/lib/typescript/commonjs/src/modules/ui/index.d.ts +1 -0
  445. package/lib/typescript/commonjs/src/modules/ui/index.d.ts.map +1 -1
  446. package/lib/typescript/commonjs/src/modules/ui/types.d.ts +4 -1
  447. package/lib/typescript/commonjs/src/modules/ui/types.d.ts.map +1 -1
  448. package/lib/typescript/commonjs/src/modules/ui/use-ovok-ui.d.ts.map +1 -1
  449. package/lib/typescript/module/src/modules/auth/default-translation.d.ts +2 -0
  450. package/lib/typescript/module/src/modules/auth/default-translation.d.ts.map +1 -0
  451. package/lib/typescript/module/src/modules/auth/delete-account-button/components/delete-account-button.d.ts.map +1 -1
  452. package/lib/typescript/module/src/modules/auth/hooks/use-session.d.ts +8 -2
  453. package/lib/typescript/module/src/modules/auth/hooks/use-session.d.ts.map +1 -1
  454. package/lib/typescript/module/src/modules/auth/index.d.ts +1 -0
  455. package/lib/typescript/module/src/modules/auth/index.d.ts.map +1 -1
  456. package/lib/typescript/module/src/modules/auth/logout-button/components/logout-button.d.ts +1 -1
  457. package/lib/typescript/module/src/modules/auth/logout-button/components/logout-button.d.ts.map +1 -1
  458. package/lib/typescript/module/src/modules/auth/logout-button/types/logout-button-props.d.ts +6 -1
  459. package/lib/typescript/module/src/modules/auth/logout-button/types/logout-button-props.d.ts.map +1 -1
  460. package/lib/typescript/module/src/modules/auth/register/components/form/register-button.d.ts.map +1 -1
  461. package/lib/typescript/module/src/modules/auth/register/components/header/title.d.ts.map +1 -1
  462. package/lib/typescript/module/src/modules/auth/register/components/login-link.d.ts.map +1 -1
  463. package/lib/typescript/module/src/modules/auth/reset-password/components/form/inputs.d.ts.map +1 -1
  464. package/lib/typescript/module/src/modules/auth/reset-password/components/form/reset-password-button.d.ts.map +1 -1
  465. package/lib/typescript/module/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts +1 -1
  466. package/lib/typescript/module/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts.map +1 -1
  467. package/lib/typescript/module/src/modules/auth/reset-password/components/header/title.d.ts.map +1 -1
  468. package/lib/typescript/module/src/modules/auth/reset-password/contexts/reset-password-form-context.d.ts +2 -46
  469. package/lib/typescript/module/src/modules/auth/reset-password/contexts/reset-password-form-context.d.ts.map +1 -1
  470. package/lib/typescript/module/src/modules/auth/reset-password/hooks/use-reset-password-form.d.ts +1 -47
  471. package/lib/typescript/module/src/modules/auth/reset-password/hooks/use-reset-password-form.d.ts.map +1 -1
  472. package/lib/typescript/module/src/modules/auth/reset-password/types/reset-password-context-type.d.ts +3 -1
  473. package/lib/typescript/module/src/modules/auth/reset-password/types/reset-password-context-type.d.ts.map +1 -1
  474. package/lib/typescript/module/src/modules/auth/reset-password/types/reset-password-form-provider-props.d.ts +1 -0
  475. package/lib/typescript/module/src/modules/auth/reset-password/types/reset-password-form-provider-props.d.ts.map +1 -1
  476. package/lib/typescript/module/src/modules/auth/session/components/session-list.d.ts.map +1 -1
  477. package/lib/typescript/module/src/modules/auth/sign-in/components/form/signin-button.d.ts.map +1 -1
  478. package/lib/typescript/module/src/modules/auth/sign-in/components/header/title.d.ts.map +1 -1
  479. package/lib/typescript/module/src/modules/auth/sign-in/components/register-link.d.ts.map +1 -1
  480. package/lib/typescript/module/src/modules/auth/utils/sign-out-google.d.ts +3 -0
  481. package/lib/typescript/module/src/modules/auth/utils/sign-out-google.d.ts.map +1 -0
  482. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  483. package/lib/typescript/module/src/modules/bt-management/components/bluetooth-device-picker.d.ts.map +1 -1
  484. package/lib/typescript/module/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  485. package/lib/typescript/module/src/modules/bt-management/hooks/runtime-context.d.ts +6 -2
  486. package/lib/typescript/module/src/modules/bt-management/hooks/runtime-context.d.ts.map +1 -1
  487. package/lib/typescript/module/src/modules/bt-management/hooks/use-paired-devices.d.ts.map +1 -1
  488. package/lib/typescript/module/src/modules/bt-management/hooks/use-request-permissions.d.ts.map +1 -1
  489. package/lib/typescript/module/src/modules/bt-management/index.d.ts +1 -0
  490. package/lib/typescript/module/src/modules/bt-management/index.d.ts.map +1 -1
  491. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -1
  492. package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts +9 -0
  493. package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
  494. package/lib/typescript/module/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts.map +1 -1
  495. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts +17 -1
  496. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
  497. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts +17 -0
  498. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts.map +1 -0
  499. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.d.ts +28 -0
  500. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.d.ts.map +1 -0
  501. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-connection-handler.d.ts.map +1 -1
  502. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts +6 -0
  503. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  504. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  505. package/lib/typescript/module/src/modules/bt-management/types/background-sync.d.ts +2 -0
  506. package/lib/typescript/module/src/modules/bt-management/types/background-sync.d.ts.map +1 -1
  507. package/lib/typescript/module/src/modules/bt-management/types/bluetooth-error.d.ts +1 -0
  508. package/lib/typescript/module/src/modules/bt-management/types/bluetooth-error.d.ts.map +1 -1
  509. package/lib/typescript/module/src/modules/bt-management/types/btprovider-children-props.d.ts +7 -1
  510. package/lib/typescript/module/src/modules/bt-management/types/btprovider-children-props.d.ts.map +1 -1
  511. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts +2 -0
  512. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  513. package/lib/typescript/module/src/modules/bt-management/utils/device-title.d.ts +8 -0
  514. package/lib/typescript/module/src/modules/bt-management/utils/device-title.d.ts.map +1 -0
  515. package/lib/typescript/module/src/modules/data-sync/components/manually-request-sheet/description.d.ts.map +1 -1
  516. package/lib/typescript/module/src/modules/data-sync/components/sync-progress-list/sync-progress-list.d.ts +8 -5
  517. package/lib/typescript/module/src/modules/data-sync/components/sync-progress-list/sync-progress-list.d.ts.map +1 -1
  518. package/lib/typescript/module/src/modules/data-sync/utils/convert-records-to-observation.d.ts.map +1 -1
  519. package/lib/typescript/module/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
  520. package/lib/typescript/module/src/modules/data-sync/utils/generate-observation-entry.d.ts.map +1 -1
  521. package/lib/typescript/module/src/modules/data-sync/utils/health-observation-device.d.ts +9 -0
  522. package/lib/typescript/module/src/modules/data-sync/utils/health-observation-device.d.ts.map +1 -0
  523. package/lib/typescript/module/src/modules/helpers/form-items/form-date-field.d.ts.map +1 -1
  524. package/lib/typescript/module/src/modules/helpers/form-items/form-select.d.ts.map +1 -1
  525. package/lib/typescript/module/src/modules/image/components/optimized-image.d.ts.map +1 -1
  526. package/lib/typescript/module/src/modules/measurement/components/date-range.d.ts.map +1 -1
  527. package/lib/typescript/module/src/modules/measurement/components/measurement-list-item.d.ts.map +1 -1
  528. package/lib/typescript/module/src/modules/measurement/types/measurement-list-item-props.d.ts +2 -0
  529. package/lib/typescript/module/src/modules/measurement/types/measurement-list-item-props.d.ts.map +1 -1
  530. package/lib/typescript/module/src/modules/theme/hooks/use-app-theme.d.ts +3 -1
  531. package/lib/typescript/module/src/modules/theme/hooks/use-app-theme.d.ts.map +1 -1
  532. package/lib/typescript/module/src/modules/theme/index.d.ts +1 -1
  533. package/lib/typescript/module/src/modules/theme/index.d.ts.map +1 -1
  534. package/lib/typescript/module/src/modules/theme/types/theme-provider-props.d.ts +12 -3
  535. package/lib/typescript/module/src/modules/theme/types/theme-provider-props.d.ts.map +1 -1
  536. package/lib/typescript/module/src/modules/theme/utils/generate-theme.d.ts +3 -1
  537. package/lib/typescript/module/src/modules/theme/utils/generate-theme.d.ts.map +1 -1
  538. package/lib/typescript/module/src/modules/ui/components/background-sync-setting.d.ts +4 -1
  539. package/lib/typescript/module/src/modules/ui/components/background-sync-setting.d.ts.map +1 -1
  540. package/lib/typescript/module/src/modules/ui/components/bluetooth-state-notice.d.ts +7 -1
  541. package/lib/typescript/module/src/modules/ui/components/bluetooth-state-notice.d.ts.map +1 -1
  542. package/lib/typescript/module/src/modules/ui/components/health-import-card.d.ts +5 -1
  543. package/lib/typescript/module/src/modules/ui/components/health-import-card.d.ts.map +1 -1
  544. package/lib/typescript/module/src/modules/ui/components/measurement-trend-chart.d.ts +19 -0
  545. package/lib/typescript/module/src/modules/ui/components/measurement-trend-chart.d.ts.map +1 -0
  546. package/lib/typescript/module/src/modules/ui/components/pairing-flow.d.ts +16 -1
  547. package/lib/typescript/module/src/modules/ui/components/pairing-flow.d.ts.map +1 -1
  548. package/lib/typescript/module/src/modules/ui/components/supported-devices-catalog-list.d.ts.map +1 -1
  549. package/lib/typescript/module/src/modules/ui/index.d.ts +1 -0
  550. package/lib/typescript/module/src/modules/ui/index.d.ts.map +1 -1
  551. package/lib/typescript/module/src/modules/ui/types.d.ts +4 -1
  552. package/lib/typescript/module/src/modules/ui/types.d.ts.map +1 -1
  553. package/lib/typescript/module/src/modules/ui/use-ovok-ui.d.ts.map +1 -1
  554. package/package.json +2 -2
@@ -0,0 +1,17 @@
1
+ import { EcgMeasurement, BloodPressureMeasurement } from "@ovok/core";
2
+ declare const BP2_BLOOD_PRESSURE_FILE_BYTES = 19;
3
+ declare const BP2_ECG_WAVEFORM_OFFSET = 48;
4
+ declare const BP2_ECG_MILLIVOLTS_PER_COUNT = 0.003098;
5
+ type BP2BloodPressureFile = BloodPressureMeasurement & {
6
+ recordedAt?: Date;
7
+ recordingId: string;
8
+ };
9
+ type BP2EcgFile = EcgMeasurement & {
10
+ recordingId: string;
11
+ };
12
+ declare const decodeBP2BloodPressureFile: (name: string, content: readonly string[]) => BP2BloodPressureFile | undefined;
13
+ declare const decodeBP2EcgFile: (name: string, content: readonly string[]) => BP2EcgFile | undefined;
14
+ declare const decodeBP2File: (name: string, content: readonly string[]) => BP2BloodPressureFile | BP2EcgFile | undefined;
15
+ export { decodeBP2BloodPressureFile, decodeBP2EcgFile, decodeBP2File, BP2_BLOOD_PRESSURE_FILE_BYTES, BP2_ECG_MILLIVOLTS_PER_COUNT, BP2_ECG_WAVEFORM_OFFSET, };
16
+ export type { BP2BloodPressureFile, BP2EcgFile };
17
+ //# sourceMappingURL=bp2.files.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bp2.files.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/bp2/bp2.files.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAEd,wBAAwB,EACzB,MAAM,YAAY,CAAC;AASpB,QAAA,MAAM,6BAA6B,KAAK,CAAC;AACzC,QAAA,MAAM,uBAAuB,KAAK,CAAC;AACnC,QAAA,MAAM,4BAA4B,WAAW,CAAC;AAE9C,KAAK,oBAAoB,GAAG,wBAAwB,GAAG;IACrD,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,KAAK,UAAU,GAAG,cAAc,GAAG;IACjC,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAoBF,QAAA,MAAM,0BAA0B,GAC9B,MAAM,MAAM,EACZ,SAAS,SAAS,MAAM,EAAE,KACzB,oBAAoB,GAAG,SA2BzB,CAAC;AAEF,QAAA,MAAM,gBAAgB,GACpB,MAAM,MAAM,EACZ,SAAS,SAAS,MAAM,EAAE,KACzB,UAAU,GAAG,SAgCf,CAAC;AAEF,QAAA,MAAM,aAAa,GACjB,MAAM,MAAM,EACZ,SAAS,SAAS,MAAM,EAAE,KACzB,oBAAoB,GAAG,UAAU,GAAG,SAYtC,CAAC;AAEF,OAAO,EACL,0BAA0B,EAC1B,gBAAgB,EAChB,aAAa,EACb,6BAA6B,EAC7B,4BAA4B,EAC5B,uBAAuB,GACxB,CAAC;AACF,YAAY,EAAE,oBAAoB,EAAE,UAAU,EAAE,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { CommandSequencer } from "../../../types/command-sequencer";
2
+ import { DeviceCommand } from "../../../types/device-command";
3
+ import { LepuFile } from "../lepu/lepu.file-transfer";
4
+ declare const BP2_REALTIME_COMMAND = 8;
5
+ interface BP2HistorySequencerParams {
6
+ write: Omit<DeviceCommand, "frame">;
7
+ onFile: (file: LepuFile) => void;
8
+ onError: (reason: string) => void;
9
+ onTransferFinished: () => void;
10
+ shouldStartTransfer: () => boolean;
11
+ onTransferRequested: () => void;
12
+ }
13
+ /** Reads BP2 history only after a realtime result asks for its device timestamp. */
14
+ declare class BP2HistorySequencer implements CommandSequencer {
15
+ private readonly params;
16
+ private readonly builder;
17
+ private transfer;
18
+ constructor(params: BP2HistorySequencerParams);
19
+ initialCommands: () => readonly DeviceCommand[];
20
+ isHistoryTransfer: () => boolean;
21
+ nextCommand: (frame: readonly string[]) => readonly DeviceCommand[] | undefined;
22
+ private startTransfer;
23
+ private finishTransfer;
24
+ private pollCommand;
25
+ private isResultFrame;
26
+ }
27
+ export { BP2HistorySequencer, BP2_REALTIME_COMMAND };
28
+ //# sourceMappingURL=bp2.history-sequencer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bp2.history-sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAG9D,OAAO,EAAE,QAAQ,EAAoB,MAAM,4BAA4B,CAAC;AAExE,QAAA,MAAM,oBAAoB,IAAO,CAAC;AAGlC,UAAU,yBAAyB;IACjC,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACpC,MAAM,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACjC,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,mBAAmB,EAAE,MAAM,OAAO,CAAC;IACnC,mBAAmB,EAAE,MAAM,IAAI,CAAC;CACjC;AAED,oFAAoF;AACpF,cAAM,mBAAoB,YAAW,gBAAgB;IAIhC,OAAO,CAAC,QAAQ,CAAC,MAAM;IAH1C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA4B;IACpD,OAAO,CAAC,QAAQ,CAA+B;gBAEX,MAAM,EAAE,yBAAyB;IAE9D,eAAe,QAAO,SAAS,aAAa,EAAE,CAEnD;IAEK,iBAAiB,QAAO,OAAO,CAAS;IAExC,WAAW,GAChB,OAAO,SAAS,MAAM,EAAE,KACvB,SAAS,aAAa,EAAE,GAAG,SAAS,CAerC;IAEF,OAAO,CAAC,aAAa,CAUnB;IAEF,OAAO,CAAC,cAAc,CAKpB;IAEF,OAAO,CAAC,WAAW,CAGhB;IAEH,OAAO,CAAC,aAAa,CAEmC;CACzD;AAED,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"bt-connection-handler.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/devices/bt-connection-handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAgB,MAAM,sBAAsB,CAAC;AAUtE,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAI9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,UAAU,0BAA0B;IAClC,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IACjD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,GAAG,KAAK,KAAK,IAAI,CAAC;IAC5C,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACzD,YAAY,CAAC,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC;IAC3D,iBAAiB,CAAC,EAAE,CAClB,KAAK,EAAE,IAAI,CAAC,qBAAqB,EAAE,YAAY,CAAC,KAC7C,IAAI,CAAC;IAEV,oEAAoE;IACpE,eAAe,CAAC,EAAE,MAAM,SAAS,aAAa,EAAE,CAAC;IAEjD,yEAAyE;IACzE,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAE3B,wFAAwF;IACxF,kBAAkB,CAAC,EAAE,MAAM,OAAO,CAAC;CACpC;AAED,qBAAa,mBAAmB;IAM5B,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC;IARhC,OAAO,CAAC,wBAAwB,CAA2B;IAC3D,OAAO,CAAC,2BAA2B,CAAsB;IACzD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;gBAGtB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,cAAc,CAAC,aAAa,CAAC,EAC3C,SAAS,EAAE,0BAA0B,EACrC,YAAY,CAAC,EAAE,MAAM,YAAA;IAKjC,OAAO,sBA0DZ;IAEK,OAAO,aAMZ;IAEF,6DAA6D;IACtD,YAAY,GAAI,UAAU,SAAS,aAAa,EAAE,KAAG,OAAO,CAAC,IAAI,CAAC,CAC5C;IAE7B;;;;;OAKG;IACH,OAAO,CAAC,mBAAmB,CAiBzB;IAEF,uEAAuE;IACvE,OAAO,CAAC,gBAAgB,CAwBtB;IAEF,OAAO,CAAC,kBAAkB,CA2CxB;IAEF,OAAO,CAAC,oBAAoB,CAiB1B;IAEF,OAAO,CAAC,6BAA6B,CAiDnC;CACH"}
1
+ {"version":3,"file":"bt-connection-handler.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/devices/bt-connection-handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAgB,MAAM,sBAAsB,CAAC;AAUtE,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAI9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,UAAU,0BAA0B;IAClC,eAAe,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;IACvE,OAAO,CAAC,gBAAgB,CAwBtB;IAEF,OAAO,CAAC,kBAAkB,CA2CxB;IAEF,OAAO,CAAC,oBAAoB,CAiB1B;IAEF,OAAO,CAAC,6BAA6B,CAiDnC;CACH"}
@@ -17,11 +17,14 @@ export declare abstract class BTManagedDevice<T extends DeviceKey = IntegratedDe
17
17
  readonly device: Device;
18
18
  id: string;
19
19
  private connectionHandler;
20
+ private connectionPromise;
21
+ private connected;
20
22
  private dataProcessor;
21
23
  private readonly oneReadingPerConnection;
22
24
  private readonly resultPolicy;
23
25
  private resultReportedThisConnection;
24
26
  private historyTransferActive;
27
+ private bondedEventReported;
25
28
  private reportedMeasurementKinds;
26
29
  private reportedDailyTotals;
27
30
  private historyResultCount;
@@ -66,6 +69,8 @@ export declare abstract class BTManagedDevice<T extends DeviceKey = IntegratedDe
66
69
  * long payloads. Devices that leave this undefined keep the platform default.
67
70
  */
68
71
  protected preferredMtu?: number;
72
+ /** Only declarations with an actual bonding flow should report this event. */
73
+ protected reportsBondedEvent: boolean;
69
74
  /**
70
75
  * Decides whether the buffer holds a parseable frame.
71
76
  *
@@ -84,6 +89,7 @@ export declare abstract class BTManagedDevice<T extends DeviceKey = IntegratedDe
84
89
  destroy: () => void;
85
90
  /** Stops this device's subscriptions and closes its BLE connection. */
86
91
  disconnect: () => Promise<void>;
92
+ private connectInternal;
87
93
  connect: () => Promise<void>;
88
94
  }
89
95
  //# sourceMappingURL=bt-managed-device.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bt-managed-device.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/devices/bt-managed-device.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAKxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,kBAAk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,EACE,UAAU,EACV,OAAO,EAAE,eAAe,EACxB,qBAAqB,EAAE,6BAA6B,EACpD,QAAQ,EAAE,gBAAgB,EAC1B,iBAAiB,EAAE,yBAAyB,EAC5C,oBAAoB,EAAE,4BAA4B,EAClD,uBAAuB,EACvB,YAAY,GACb,EAAE,kBAAkB,CAAC,CAAC,CAAC;IAuKnB,OAAO,aAWZ;IAEF,uEAAuE;IAChE,UAAU,sBAWf;IAEK,OAAO,sBAwFZ;CACH"}
1
+ {"version":3,"file":"bt-managed-device.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/devices/bt-managed-device.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAKxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAUjF,8BAAsB,eAA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CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;IACrE,SAAS,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9C,SAAS,CAAC,QAAQ,CAAC,mBAAmB,CACpC,aAAa,EAAE,uBAAuB,CAAC,WAAW,CAAC,EACnD,eAAe,EAAE,MAAM,EAAE,GACxB,IAAI,GAAG,OAAO;IAEV,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,GAAG,KAAK,GAAG,MAAM,KAAK,IAAI,CAAC;IACrD,qBAAqB,CAAC,EAAE,CAC7B,MAAM,EAAE,YAAY,EACpB,kBAAkB,CAAC,EAAE,kBAAkB,KACpC,IAAI,CAAC;IACH,QAAQ,CAAC,EAAE,CAChB,IAAI,EAAE,uBAAuB,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAC1D,IAAI,CAAC;IACH,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAC;gBAE/C,MAAM,EAAE,MAAM,EAE9B,EACE,UAAU,EACV,OAAO,EAAE,eAAe,EACxB,qBAAqB,EAAE,6BAA6B,EACpD,QAAQ,EAAE,gBAAgB,EAC1B,iBAAiB,EAAE,yBAAyB,EAC5C,oBAAoB,EAAE,4BAA4B,EAClD,uBAAuB,EACvB,YAAY,GACb,EAAE,kBAAkB,CAAC,CAAC,CAAC;IAuKnB,OAAO,aAWZ;IAEF,uEAAuE;IAChE,UAAU,sBAYf;IAEF,OAAO,CAAC,eAAe,CA8FrB;IAEK,OAAO,QAAO,OAAO,CAAC,IAAI,CAAC,CAchC;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"custom.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/custom/custom.device.ts"],"names":[],"mappings":"AAEA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SAAS,CAAC,eAAe,GAAI,KAAK,MAAM,EAAE,EAAE,MAAM,MAAM,KAAG,OAAO,CAQhE;IAEF;;;;OAIG;IACH,SAAS,CAAC,qBAAqB,GAC7B,MAAM,4BAA4B,CAAC,mBAAmB,CAAC,KACtD,4BAA4B,CAAC,mBAAmB,CAAC,CAalD;IAEF,4FAA4F;IAC5F,SAAS,CAAC,2BAA2B,GACnC,OAAO,4BAA4B,CAAC,mBAAmB,CAAC,KACvD,OAAO,CAAS;IAEnB;;;OAGG;IACH,SAAS,CAAC,mBAAmB,IAAI,IAAI,GAAG,OAAO;IAI/C,mFAAmF;IACnF,SAAS,CAAC,eAAe,GACvB,SAAS,YAAY,EACrB,SAAS,SAAS,MAAM,EAAE,EAC1B,gBAAgB,MAAM,KACrB,YAAY,CAAY;IAE3B;;;;;;;OAOG;IACH,OAAO,CAAC,WAAW;IA2BnB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,MAAM;IAmBd,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,iBAAiB;CAmC1B"}
1
+ {"version":3,"file":"custom.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/custom/custom.device.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAG9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gDAAgD,CAAC;AAC9F,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAElF,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAEpF,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAOvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAevD,K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AM,KACrB,YAAY,CAAY;IAE3B;;;;;;;OAOG;IACH,OAAO,CAAC,WAAW;IA2BnB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,MAAM;IAmBd,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,iBAAiB;CAmC1B"}
@@ -21,6 +21,8 @@ interface BackgroundSyncOptions<T extends DeviceKey = DeviceKey> {
21
21
  storage: BackgroundSyncStorage;
22
22
  /** Called after a result is persisted. Resolve only after the result is accepted. */
23
23
  onResult: (result: BackgroundSyncResult<T>) => Promise<void>;
24
+ /** Called when a corrupt stored queue is moved aside and reset. */
25
+ onError?: (error: Error) => void;
24
26
  /** Storage key used by the queue. */
25
27
  storageKey?: string;
26
28
  /** Additional service UUIDs to scan, useful for custom/native device declarations. */
@@ -1 +1 @@
1
- {"version":3,"file":"background-sync.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/background-sync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,uBAAuB,CAAC;AACtF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAEnF,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,UAAU,qBAAqB;IAC7B,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACjD,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACxD;AAED,UAAU,oBAAoB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,CAC5D,SAAQ,cAAc,CAAC,CAAC,CAAC;IAEzB,kFAAkF;IAClF,EAAE,EAAE,MAAM,CAAC;IAEX,wFAAwF;IACxF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,qBAAqB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS;IAE7D,qCAAqC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,+DAA+D;IAC/D,OAAO,EAAE,qBAAqB,CAAC;IAE/B,qFAAqF;IACrF,QAAQ,EAAE,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAE7D,qCAAqC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,sFAAsF;IACtF,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAEjC,gFAAgF;IAChF,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC;;;OAGG;IACH,OAAO,CAAC,EAAE;QACR,iBAAiB,CAAC,EAAE,wCAAwC,CAAC;KAC9D,CAAC;IAEF,kFAAkF;IAClF,aAAa,CAAC,EAAE;QACd,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC;QAC9D,IAAI,CAAC,EACD,uBAAuB,CAAC,MAAM,CAAC,GAC/B,CAAC,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,uBAAuB,CAAC,MAAM,CAAC,CAAC,CAAC;KAC5E,CAAC;IAEF,2EAA2E;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,iFAAiF;IACjF,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,CAAC"}
1
+ {"version":3,"file":"background-sync.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/background-sync.ts"],"names":[],"mappings":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GG;IACH,OAAO,CAAC,EAAE;QACR,iBAAiB,CAAC,EAAE,wCAAwC,CAAC;KAC9D,CAAC;IAEF,kFAAkF;IAClF,aAAa,CAAC,EAAE;QACd,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC;QAC9D,IAAI,CAAC,EACD,uBAAuB,CAAC,MAAM,CAAC,GAC/B,CAAC,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,uBAAuB,CAAC,MAAM,CAAC,CAAC,CAAC;KAC5E,CAAC;IAEF,2EAA2E;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,iFAAiF;IACjF,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,CAAC"}
@@ -2,6 +2,7 @@ export declare enum BluetoothErrorCode {
2
2
  UNKNOWN = "bluetooth.unknown",
3
3
  PERMISSION_DENIED = "bluetooth.permission-denied",
4
4
  UNSUPPORTED = "bluetooth.unsupported",
5
+ POWERED_OFF = "bluetooth.powered-off",
5
6
  SCAN_FAILED = "bluetooth.scan-failed",
6
7
  CONNECTION_FAILED = "bluetooth.connection-failed",
7
8
  PAIRING_REQUIRED = "bluetooth.pairing-required",
@@ -1 +1 @@
1
- {"version":3,"file":"bluetooth-error.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/bluetooth-error.ts"],"names":[],"mappings":"AAIA,oBAAY,kBAAkB;IAC5B,OAAO,sBAAsB;IAC7B,iBAAiB,gCAAgC;IACjD,WAAW,0BAA0B;IACrC,WAAW,0BAA0B;IACrC,iBAAiB,gCAAgC;IACjD,gBAAgB,+BAA+B;IAC/C,gBAAgB,+BAA+B;IAC/C,YAAY,2BAA2B;IACvC,aAAa,4BAA4B;IACzC,kBAAkB,iCAAiC;IACnD,eAAe,8BAA8B;CAC9C;AAED,qBAAa,cAAe,SAAQ,KAAK;aAIrB,IAAI,EAAE,kBAAkB;aAExB,cAAc,CAAC,EAAE,MAAM;aACvB,aAAa,CAAC,EAAE,OAAO;IANzC,SAAgB,IAAI,oBAAoB;gBAGtB,IAAI,EAAE,kBAAkB,EACxC,OAAO,EAAE,MAAM,EACC,cAAc,CAAC,EAAE,MAAM,YAAA,EACvB,aAAa,CAAC,EAAE,OAAO,YAAA;CAI1C;AAiBD,eAAO,MAAM,qBAAqB,GAChC,OAAO,OAAO,KACb,kBAqDF,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,OAAO,OAAO,KAAG,cAajD,CAAC"}
1
+ {"version":3,"file":"bluetooth-error.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/bluetooth-error.ts"],"names":[],"mappings":"AAIA,oBAAY,kBAAkB;IAC5B,OAAO,sBAAsB;IAC7B,iBAAiB,gCAAgC;IACjD,WAAW,0BAA0B;IACrC,WAAW,0BAA0B;IACrC,WAAW,0BAA0B;IACrC,iBAAiB,gCAAgC;IACjD,gBAAgB,+BAA+B;IAC/C,gBAAgB,+BAA+B;IAC/C,YAAY,2BAA2B;IACvC,aAAa,4BAA4B;IACzC,kBAAkB,iCAAiC;IACnD,eAAe,8BAA8B;CAC9C;AAED,qBAAa,cAAe,SAAQ,KAAK;aAIrB,IAAI,EAAE,kBAAkB;aAExB,cAAc,CAAC,EAAE,MAAM;aACvB,aAAa,CAAC,EAAE,OAAO;IANzC,SAAgB,IAAI,oBAAoB;gBAGtB,IAAI,EAAE,kBAAkB,EACxC,OAAO,EAAE,MAAM,EACC,cAAc,CAAC,EAAE,MAAM,YAAA,EACvB,aAAa,CAAC,EAAE,OAAO,YAAA;CAI1C;AAiBD,eAAO,MAAM,qBAAqB,GAChC,OAAO,OAAO,KACb,kBA4DF,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,OAAO,OAAO,KAAG,cAajD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { BleManager } from "react-native-ble-plx";
2
- import { BTManager } from "../services/bt-manager";
2
+ import { BTDeviceSelection, BTManager } from "../services/bt-manager";
3
3
  import { BTManagedDevice } from "../services/devices/bt-managed-device";
4
4
  import { AcceptedDevice } from "./accepted-device";
5
5
  import { BackgroundSyncOptions } from "./background-sync";
@@ -15,6 +15,12 @@ export interface BTProviderChildWrapperProps<T extends readonly AcceptedDevice[]
15
15
  oneReadingPerConnection?: boolean;
16
16
  deliveredEcgFileNames?: readonly string[];
17
17
  resultPolicies?: Partial<Record<string, DeviceResultPolicy>>;
18
+ autoConnect?: boolean;
19
+ autoConnectDelayMs?: number;
20
+ onDeviceSelectionRequired?: (selection: {
21
+ devices: readonly BTDeviceSelection[];
22
+ select: (device: BTDeviceSelection) => Promise<void>;
23
+ }) => void;
18
24
  backgroundSync?: BackgroundSyncOptions<DeviceKeyOf<T>>;
19
25
  onDeviceFound?: (device: BTManagedDevice<DeviceKeyOf<T>>, manager: BTManager<T>) => Promise<void>;
20
26
  onError?: (data: ErrorCallback) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"btprovider-children-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/btprovider-children-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAExE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,WAAW,2BAA2B,CAC1C,CAAC,SAAS,SAAS,cAAc,EAAE;IAEnC,UAAU,EAAE,UAAU,CAAC;IACvB,eAAe,EAAE,CAAC,CAAC;IACnB,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,qBAAqB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1C,cAAc,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,CAAC;IAC7D,cAAc,CAAC,EAAE,qBAAqB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACvD,aAAa,CAAC,EAAE,CACd,MAAM,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EACvC,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,KAClB,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IACxC,qBAAqB,CAAC,EAAE,CAAC,IAAI,EAAE,0BAA0B,KAAK,IAAI,CAAC;IACnE,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAC1D,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;CAC3D"}
1
+ {"version":3,"file":"btprovider-children-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/btprovider-children-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,M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E,SAAS,CAAC,CAAC,CAAC,KAClB,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IACxC,qBAAqB,CAAC,EAAE,CAAC,IAAI,EAAE,0BAA0B,KAAK,IAAI,CAAC;IACnE,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAC1D,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;CAC3D"}
@@ -15,6 +15,8 @@ export interface CustomDeviceDefinition {
15
15
  readonly nameMatch: RegExp;
16
16
  readonly matchByService: boolean;
17
17
  readonly oneReadingPerConnection: boolean;
18
+ /** Emit the bonded connection event after a successful connection. */
19
+ readonly reportsBondedEvent?: boolean;
18
20
  readonly mainServices: IService[];
19
21
  readonly stuckDataTimeout: number;
20
22
  /** Keyed by `${measurementTypeKey}:${fieldName}`, used to bounds-check every reading. */
@@ -1 +1 @@
1
- {"version":3,"file":"custom-device-definition.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/custom-device-definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,CAAC,mBAAmB,CAAC,EAAE,IAAI,CAAC;IAErC,QAAQ,CAAC,EAAE,EAAE,cAAc,CAAC;IAE5B,QAAQ,CAAC,IAAI,EAAE,gBAAgB,CAAC;IAEhC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;IAEjC,QAAQ,CAAC,uBAAuB,EAAE,OAAO,CAAC;IAE1C,QAAQ,CAAC,YAAY,EAAE,QAAQ,EAAE,CAAC;IAElC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAElC,yFAAyF;IACzF,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IAE1D,oFAAoF;IACpF,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAEtD,yEAAyE;IACzE,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAE/B,sEAAsE;IACtE,QAAQ,CAAC,IAAI,CAAC,EAAE,cAAc,CAAC;CAChC"}
1
+ {"version":3,"file":"custom-device-definition.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/custom-device-definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,CAAC,mBAAmB,CAAC,EAAE,IAAI,CAAC;IAErC,QAAQ,CAAC,EAAE,EAAE,cAAc,CAAC;IAE5B,QAAQ,CAAC,IAAI,EAAE,gBAAgB,CAAC;IAEhC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;IAEjC,QAAQ,CAAC,uBAAuB,EAAE,OAAO,CAAC;IAE1C,sEAAsE;IACtE,QAAQ,CAAC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAEtC,QAAQ,CAAC,YAAY,EAAE,QAAQ,EAAE,CAAC;IAElC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAElC,yFAAyF;IACzF,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IAE1D,oFAAoF;IACpF,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAEtD,yEAAyE;IACzE,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAE/B,sEAAsE;IACtE,QAAQ,CAAC,IAAI,CAAC,EAAE,cAAc,CAAC;CAChC"}
@@ -0,0 +1,8 @@
1
+ import { DeviceData } from "../types/device-data";
2
+ /**
3
+ * Returns the most useful human-readable name for a connected device.
4
+ * Reported maker/model data is more specific than the advertised name, while
5
+ * the catalog name remains a safe fallback for devices that expose neither.
6
+ */
7
+ export declare const deviceTitle: (deviceData: DeviceData) => string;
8
+ //# sourceMappingURL=device-title.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"device-title.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/utils/device-title.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;;;GAIG;AACH,eAAO,MAAM,WAAW,GAAI,YAAY,UAAU,KAAG,MAOpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"description.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/data-sync/components/manually-request-sheet/description.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAQ,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAItE,eAAO,MAAM,+BAA+B,GAAI,CAAC,SAAS,eAAe,EACvE,OAAO,SAAS,CAAC,CAAC,CAAC,gCAepB,CAAC"}
1
+ {"version":3,"file":"description.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/data-sync/components/manually-request-sheet/description.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAQ,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAItE,eAAO,MAAM,+BAA+B,GAAI,CAAC,SAAS,eAAe,EACvE,OAAO,SAAS,CAAC,CAAC,CAAC,gCAkBpB,CAAC"}
@@ -1,9 +1,12 @@
1
- import { MeasurementTypeKey } from "@ovok/core";
2
1
  import * as React from "react";
2
+ import { Text as PaperText } from "react-native-paper";
3
3
  import { SyncProgress } from "../../types/sync-progress";
4
- type SyncProgressListProps = {
5
- progress: Partial<Record<MeasurementTypeKey, SyncProgress>> | null | undefined;
4
+ export type SyncProgressListProps = {
5
+ progress: Partial<Record<string, SyncProgress>> | null | undefined;
6
+ labelForType?: (type: string) => string;
7
+ statusLabels?: Partial<Record<SyncProgress["status"], string>>;
8
+ reasonLabels?: Partial<Record<NonNullable<SyncProgress["reason"]>, string>>;
9
+ Text?: React.ComponentType<React.ComponentProps<typeof PaperText>>;
6
10
  };
7
- export declare const SyncProgressList: React.MemoExoticComponent<({ progress }: SyncProgressListProps) => React.JSX.Element>;
8
- export {};
11
+ export declare const SyncProgressList: React.MemoExoticComponent<({ progress, labelForType, statusLabels, reasonLabels, Text, }: SyncProgressListProps) => React.JSX.Element>;
9
12
  //# sourceMappingURL=sync-progress-list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sync-progress-list.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/data-sync/components/sync-progress-list/sync-progress-list.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAIzD,KAAK,qBAAqB,GAAG;IAC3B,QAAQ,EACJ,OAAO,CAAC,MAAM,CAAC,kBAAkB,EAAE,YAAY,CAAC,CAAC,GACjD,IAAI,GACJ,SAAS,CAAC;CACf,CAAC;AA0CF,eAAO,MAAM,gBAAgB,2CAxCoB,qBAAqB,uBAwCD,CAAC"}
1
+ {"version":3,"file":"sync-progress-list.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/data-sync/components/sync-progress-list/sync-progress-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAGvD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAIzD,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,GACrC,IAAI,GACJ,SAAS,CAAC;IACd,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IACxC,YAAY,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;IAC/D,YAAY,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;IAC5E,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC;CACpE,CAAC;AAyDF,eAAO,MAAM,gBAAgB,4FAjD1B,qBAAqB,uBAiD6C,CAAC"}
@@ -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;AAEjD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAEvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAI/D,eAAO,MAAM,2BAA2B,GAAU,uCAI/C,gBAAgB,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,KAAG,OAAO,CAAC,WAAW,EAAE,CAoCpE,CAAC"}
@@ -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":"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;AAI/D,eAAO,MAAM,2BAA2B,GAAU,uCAI/C,gBAAgB,CAAC,gBAAgB,CAAC,wBAAwB,CAAC,CAAC,KAAG,OAAO,CACvE,WAAW,EAAE,CA2Cd,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"}
@@ -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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AAC,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"}
@@ -3,7 +3,10 @@ import { UseBackgroundSyncOptions } from "../../bt-management";
3
3
  import { OvokUiProps } from "../types";
4
4
  export interface BackgroundSyncSettingProps extends OvokUiProps, UseBackgroundSyncOptions {
5
5
  title?: string;
6
+ description?: React.ReactNode;
7
+ statusLabels?: Partial<Record<"on" | "restricted" | "blocked" | "off", string>>;
8
+ reasonLabels?: Partial<Record<string, string>>;
6
9
  testID?: string;
7
10
  }
8
- export declare const BackgroundSyncSetting: ({ title, testID, theme: themeOverride, slots, enabled: initialEnabled, canEnable, onEnabledChange, }: BackgroundSyncSettingProps) => React.JSX.Element;
11
+ export declare const BackgroundSyncSetting: ({ title, testID, theme: themeOverride, slots, description, statusLabels, reasonLabels, enabled: initialEnabled, canEnable, onEnabledChange, }: BackgroundSyncSettingProps) => React.JSX.Element;
9
12
  //# sourceMappingURL=background-sync-setting.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"background-sync-setting.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/ui/components/background-sync-setting.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,EAAE,wBAAwB,EAAqB,MAAM,qBAAqB,CAAC;AAClF,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,WAAW,0BAA2B,SAAQ,WAAW,EAAE,wBAAwB;IACvF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAQD,eAAO,MAAM,qBAAqB,GAAI,sGAQnC,0BAA0B,sBA8C5B,CAAC"}
1
+ {"version":3,"file":"background-sync-setting.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/ui/components/background-sync-setting.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,EAAE,wBAAwB,EAAqB,MAAM,qBAAqB,CAAC;AAClF,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,WAAW,0BAA2B,SAAQ,WAAW,EAAE,wBAAwB;IACvF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,YAAY,GAAG,SAAS,GAAG,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;IAChF,YAAY,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAQD,eAAO,MAAM,qBAAqB,GAAI,+IAWnC,0BAA0B,sBAkD5B,CAAC"}
@@ -6,7 +6,13 @@ export interface BluetoothStateNoticeProps extends OvokUiProps {
6
6
  requestPermission?: () => Promise<boolean>;
7
7
  onOpenSettings?: () => Promise<void> | void;
8
8
  title?: string;
9
+ copy?: Partial<Record<"on" | "unsupported" | "unauthorized" | "off", {
10
+ heading?: string;
11
+ body?: string;
12
+ action?: string;
13
+ }>>;
14
+ settingsAction?: string;
9
15
  testID?: string;
10
16
  }
11
- export declare const BluetoothStateNotice: ({ bleManager, requestPermission, onOpenSettings, title, testID, ...uiProps }: BluetoothStateNoticeProps) => React.JSX.Element | null;
17
+ export declare const BluetoothStateNotice: ({ bleManager, requestPermission, onOpenSettings, title, copy: copyOverride, settingsAction, testID, ...uiProps }: BluetoothStateNoticeProps) => React.JSX.Element | null;
12
18
  //# sourceMappingURL=bluetooth-state-notice.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bluetooth-state-notice.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/ui/components/bluetooth-state-notice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAQlD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,WAAW,yBAA0B,SAAQ,WAAW;IAC5D,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IAC3C,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,oBAAoB,GAAI,8EAOlC,yBAAyB,6BAuE3B,CAAC"}
1
+ {"version":3,"file":"bluetooth-state-notice.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/ui/components/bluetooth-state-notice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAQlD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,WAAW,yBAA0B,SAAQ,WAAW;IAC5D,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IAC3C,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,aAAa,GAAG,cAAc,GAAG,KAAK,EAAE;QACnE,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC,CAAC,CAAC;IACJ,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,oBAAoB,GAAI,kHASlC,yBAAyB,6BAiF3B,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { HealthImportAdapter } from "../../bt-management";
3
+ import { SyncProgress } from "../../data-sync";
3
4
  import { OvokUiProps } from "../types";
4
5
  export interface HealthImportCardProps<TType extends string = string> extends OvokUiProps {
5
6
  types: readonly TType[];
@@ -7,7 +8,10 @@ export interface HealthImportCardProps<TType extends string = string> extends Ov
7
8
  background?: boolean;
8
9
  title?: string;
9
10
  labelForType?: (type: TType) => string;
11
+ progress?: Partial<Record<TType, SyncProgress>>;
12
+ statusLabels?: Partial<Record<SyncProgress["status"], string>>;
13
+ reasonLabels?: Partial<Record<NonNullable<SyncProgress["reason"]>, string>>;
10
14
  testID?: string;
11
15
  }
12
- export declare const HealthImportCard: <TType extends string>({ types, adapter, background, title, labelForType, testID, ...uiProps }: HealthImportCardProps<TType>) => React.JSX.Element;
16
+ export declare const HealthImportCard: <TType extends string>({ types, adapter, background, title, labelForType, progress, statusLabels, reasonLabels, testID, ...uiProps }: HealthImportCardProps<TType>) => React.JSX.Element;
13
17
  //# sourceMappingURL=health-import-card.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"health-import-card.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/ui/components/health-import-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,EAAE,mBAAmB,EAAmB,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,WAAW,qBAAqB,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,CAAE,SAAQ,WAAW;IACvF,KAAK,EAAE,SAAS,KAAK,EAAE,CAAC;IACxB,OAAO,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK,MAAM,CAAC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAYD,eAAO,MAAM,gBAAgB,GAAI,KAAK,SAAS,MAAM,EAAE,yEAQpD,qBAAqB,CAAC,KAAK,CAAC,sBA8C9B,CAAC"}
1
+ {"version":3,"file":"health-import-card.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/ui/components/health-import-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,EAAE,mBAAmB,EAAmB,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAoB,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,WAAW,qBAAqB,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,CAAE,SAAQ,WAAW;IACvF,KAAK,EAAE,SAAS,KAAK,EAAE,CAAC;IACxB,OAAO,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK,MAAM,CAAC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC;IAChD,YAAY,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;IAC/D,YAAY,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;IAC5E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAYD,eAAO,MAAM,gBAAgB,GAAI,KAAK,SAAS,MAAM,EAAE,+GAWpD,qBAAqB,CAAC,KAAK,CAAC,sBAyD9B,CAAC"}
@@ -0,0 +1,19 @@
1
+ import * as React from "react";
2
+ import { OvokUiProps } from "../types";
3
+ interface MeasurementReading {
4
+ at: number;
5
+ values: number[];
6
+ }
7
+ interface MeasurementTrendChartProps extends OvokUiProps {
8
+ readings: readonly MeasurementReading[];
9
+ normalRange?: readonly [number, number];
10
+ thresholds?: readonly number[];
11
+ width?: number;
12
+ height?: number;
13
+ testID?: string;
14
+ }
15
+ declare const MeasurementTrendChart: React.MemoExoticComponent<({ readings, normalRange, thresholds, width, height, testID, ...uiProps }: MeasurementTrendChartProps) => React.JSX.Element>;
16
+ declare const Sparkline: React.MemoExoticComponent<(props: MeasurementTrendChartProps) => React.JSX.Element>;
17
+ export type { MeasurementReading, MeasurementTrendChartProps };
18
+ export { MeasurementTrendChart, Sparkline };
19
+ //# sourceMappingURL=measurement-trend-chart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"measurement-trend-chart.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/ui/components/measurement-trend-chart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,UAAU,kBAAkB;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,UAAU,0BAA2B,SAAQ,WAAW;IACtD,QAAQ,EAAE,SAAS,kBAAkB,EAAE,CAAC;IACxC,WAAW,CAAC,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAsFD,QAAA,MAAM,qBAAqB,uGA5ExB,0BAA0B,uBA4E2C,CAAC;AAEzE,QAAA,MAAM,SAAS,oCACL,0BAA0B,uBAGnC,CAAC;AAMF,YAAY,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,SAAS,EAAE,CAAC"}
@@ -2,6 +2,13 @@ import * as React from "react";
2
2
  import { PairedDeviceStorage, RuntimeDevice } from "../../bt-management";
3
3
  import { OvokUiProps } from "../types";
4
4
  export type PairingFlowStatus = "idle" | "pairing" | "code-required" | "paired" | "error";
5
+ export type PairingFlowRenderState = {
6
+ devices: readonly RuntimeDevice[];
7
+ paired: readonly string[];
8
+ selected?: RuntimeDevice;
9
+ status: PairingFlowStatus;
10
+ error?: string;
11
+ };
5
12
  export interface PairingFlowProps extends OvokUiProps {
6
13
  storage: PairedDeviceStorage;
7
14
  storageKey?: string;
@@ -9,7 +16,15 @@ export interface PairingFlowProps extends OvokUiProps {
9
16
  onPaired?: (device: RuntimeDevice) => void;
10
17
  onPairingCode?: (code: string, device: RuntimeDevice) => Promise<void> | void;
11
18
  onError?: (error: Error, device?: RuntimeDevice) => void;
19
+ renderHeader?: (state: PairingFlowRenderState) => React.ReactNode;
20
+ renderEmpty?: (state: PairingFlowRenderState) => React.ReactNode;
21
+ renderDevice?: (device: RuntimeDevice, actions: {
22
+ pair: () => Promise<void>;
23
+ forget: () => Promise<void>;
24
+ status: PairingFlowStatus;
25
+ }) => React.ReactNode;
26
+ labels?: Record<string, string>;
12
27
  testID?: string;
13
28
  }
14
- export declare const PairingFlow: ({ storage, storageKey, getDeviceImage, onPaired, onPairingCode, onError, testID, theme: themeOverride, slots, }: PairingFlowProps) => React.JSX.Element;
29
+ export declare const PairingFlow: ({ storage, storageKey, getDeviceImage, onPaired, onPairingCode, onError, renderHeader, renderEmpty, renderDevice: renderDeviceOverride, labels, testID, theme: themeOverride, slots, }: PairingFlowProps) => React.JSX.Element;
15
30
  //# sourceMappingURL=pairing-flow.d.ts.map