@ovok/native 1.10.14 → 1.10.15

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 (2443) hide show
  1. package/lib/commonjs/modules/auth/components/auth-header.js +80 -0
  2. package/lib/commonjs/modules/auth/components/auth-header.js.map +1 -0
  3. package/lib/commonjs/modules/auth/components/auth-scroll-view.js +52 -0
  4. package/lib/commonjs/modules/auth/components/auth-scroll-view.js.map +1 -0
  5. package/lib/commonjs/modules/auth/components/auth-separator.js +56 -0
  6. package/lib/commonjs/modules/auth/components/auth-separator.js.map +1 -0
  7. package/lib/commonjs/modules/auth/components/auth-submit-button.js +71 -0
  8. package/lib/commonjs/modules/auth/components/auth-submit-button.js.map +1 -0
  9. package/lib/commonjs/modules/auth/components/auth-switch-link.js +51 -0
  10. package/lib/commonjs/modules/auth/components/auth-switch-link.js.map +1 -0
  11. package/lib/commonjs/modules/auth/components/password-field.js +31 -0
  12. package/lib/commonjs/modules/auth/components/password-field.js.map +1 -0
  13. package/lib/commonjs/modules/auth/default-translation.js +32 -2
  14. package/lib/commonjs/modules/auth/default-translation.js.map +1 -1
  15. package/lib/commonjs/modules/auth/hooks/use-session.js +3 -2
  16. package/lib/commonjs/modules/auth/hooks/use-session.js.map +1 -1
  17. package/lib/commonjs/modules/auth/hooks/use-sign-in.js +3 -15
  18. package/lib/commonjs/modules/auth/hooks/use-sign-in.js.map +1 -1
  19. package/lib/commonjs/modules/auth/hooks/use-social-sign-in.js +3 -12
  20. package/lib/commonjs/modules/auth/hooks/use-social-sign-in.js.map +1 -1
  21. package/lib/commonjs/modules/auth/profile/components/form-phone-field.js +2 -8
  22. package/lib/commonjs/modules/auth/profile/components/form-phone-field.js.map +1 -1
  23. package/lib/commonjs/modules/auth/profile/components/profile-form-choice-field.js +2 -4
  24. package/lib/commonjs/modules/auth/profile/components/profile-form-choice-field.js.map +1 -1
  25. package/lib/commonjs/modules/auth/profile/components/profile-form.js +0 -3
  26. package/lib/commonjs/modules/auth/profile/components/profile-form.js.map +1 -1
  27. package/lib/commonjs/modules/auth/profile/hooks/use-profile-form.js +2 -9
  28. package/lib/commonjs/modules/auth/profile/hooks/use-profile-form.js.map +1 -1
  29. package/lib/commonjs/modules/auth/register/components/form/inputs.js +14 -34
  30. package/lib/commonjs/modules/auth/register/components/form/inputs.js.map +1 -1
  31. package/lib/commonjs/modules/auth/register/components/form/register-button.js +10 -53
  32. package/lib/commonjs/modules/auth/register/components/form/register-button.js.map +1 -1
  33. package/lib/commonjs/modules/auth/register/components/form/register-form-provider.js +7 -25
  34. package/lib/commonjs/modules/auth/register/components/form/register-form-provider.js.map +1 -1
  35. package/lib/commonjs/modules/auth/register/components/login-link.js +7 -38
  36. package/lib/commonjs/modules/auth/register/components/login-link.js.map +1 -1
  37. package/lib/commonjs/modules/auth/register/components/register-with-separator.js +5 -50
  38. package/lib/commonjs/modules/auth/register/components/register-with-separator.js.map +1 -1
  39. package/lib/commonjs/modules/auth/register/components/register.js +7 -43
  40. package/lib/commonjs/modules/auth/register/components/register.js.map +1 -1
  41. package/lib/commonjs/modules/auth/register/hooks/use-register-form.js +2 -9
  42. package/lib/commonjs/modules/auth/register/hooks/use-register-form.js.map +1 -1
  43. package/lib/commonjs/modules/auth/register/utils/create-register-validation-schema.js +8 -8
  44. package/lib/commonjs/modules/auth/register/utils/create-register-validation-schema.js.map +1 -1
  45. package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-button.js +10 -53
  46. package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-button.js.map +1 -1
  47. package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js +6 -10
  48. package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
  49. package/lib/commonjs/modules/auth/reset-password/components/reset-password.js +5 -42
  50. package/lib/commonjs/modules/auth/reset-password/components/reset-password.js.map +1 -1
  51. package/lib/commonjs/modules/auth/reset-password/hooks/use-reset-password-form.js +2 -9
  52. package/lib/commonjs/modules/auth/reset-password/hooks/use-reset-password-form.js.map +1 -1
  53. package/lib/commonjs/modules/auth/session/components/session-list.js +1 -2
  54. package/lib/commonjs/modules/auth/session/components/session-list.js.map +1 -1
  55. package/lib/commonjs/modules/auth/session/save-login.js +19 -0
  56. package/lib/commonjs/modules/auth/session/save-login.js.map +1 -0
  57. package/lib/commonjs/modules/auth/session/session-store-refresh.js +7 -18
  58. package/lib/commonjs/modules/auth/session/session-store-refresh.js.map +1 -1
  59. package/lib/commonjs/modules/auth/session/session-store-types.js +11 -1
  60. package/lib/commonjs/modules/auth/session/session-store-types.js.map +1 -1
  61. package/lib/commonjs/modules/auth/session/session-store.js +7 -16
  62. package/lib/commonjs/modules/auth/session/session-store.js.map +1 -1
  63. package/lib/commonjs/modules/auth/sign-in/components/form/inputs.js +2 -14
  64. package/lib/commonjs/modules/auth/sign-in/components/form/inputs.js.map +1 -1
  65. package/lib/commonjs/modules/auth/sign-in/components/form/login-form-provider.js +6 -18
  66. package/lib/commonjs/modules/auth/sign-in/components/form/login-form-provider.js.map +1 -1
  67. package/lib/commonjs/modules/auth/sign-in/components/form/signin-button.js +11 -53
  68. package/lib/commonjs/modules/auth/sign-in/components/form/signin-button.js.map +1 -1
  69. package/lib/commonjs/modules/auth/sign-in/components/login-with-separator.js +5 -50
  70. package/lib/commonjs/modules/auth/sign-in/components/login-with-separator.js.map +1 -1
  71. package/lib/commonjs/modules/auth/sign-in/components/register-link.js +7 -38
  72. package/lib/commonjs/modules/auth/sign-in/components/register-link.js.map +1 -1
  73. package/lib/commonjs/modules/auth/sign-in/components/sign-in.js +5 -42
  74. package/lib/commonjs/modules/auth/sign-in/components/sign-in.js.map +1 -1
  75. package/lib/commonjs/modules/auth/sign-in/components/site-url.js +2 -5
  76. package/lib/commonjs/modules/auth/sign-in/components/site-url.js.map +1 -1
  77. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js +6 -32
  78. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
  79. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-text.js +1 -5
  80. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-text.js.map +1 -1
  81. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login.js +4 -13
  82. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login.js.map +1 -1
  83. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-icon.js.map +1 -1
  84. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js +6 -30
  85. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
  86. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-text.js +1 -5
  87. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-text.js.map +1 -1
  88. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login.js +5 -14
  89. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login.js.map +1 -1
  90. package/lib/commonjs/modules/auth/sign-in/components/social-logins/social-login-button.js +43 -0
  91. package/lib/commonjs/modules/auth/sign-in/components/social-logins/social-login-button.js.map +1 -0
  92. package/lib/commonjs/modules/auth/sign-in/hooks/use-login-form.js +2 -9
  93. package/lib/commonjs/modules/auth/sign-in/hooks/use-login-form.js.map +1 -1
  94. package/lib/commonjs/modules/auth/sign-in/utils/create-login-validation-schema.js +4 -4
  95. package/lib/commonjs/modules/auth/sign-in/utils/create-login-validation-schema.js.map +1 -1
  96. package/lib/commonjs/modules/{tile/types/tile-list-props.js → auth/types/auth-header-props.js} +1 -1
  97. package/lib/commonjs/modules/auth/types/auth-header-props.js.map +1 -0
  98. package/lib/commonjs/modules/{questionnaire-response-form/types/questionnaire-props.js → auth/types/auth-submit-button-props.js} +1 -1
  99. package/lib/commonjs/modules/auth/types/auth-submit-button-props.js.map +1 -0
  100. package/lib/commonjs/modules/auth/types/form-inputs-props.js.map +1 -0
  101. package/lib/commonjs/modules/auth/utils/apply-submit-error.js +40 -0
  102. package/lib/commonjs/modules/auth/utils/apply-submit-error.js.map +1 -0
  103. package/lib/commonjs/modules/auth/utils/validation.js +23 -0
  104. package/lib/commonjs/modules/auth/utils/validation.js.map +1 -0
  105. package/lib/commonjs/modules/background-sync/android-background-sync.js +11 -33
  106. package/lib/commonjs/modules/background-sync/android-background-sync.js.map +1 -1
  107. package/lib/commonjs/modules/breathing-exercise/components/method-type-icon.js +17 -43
  108. package/lib/commonjs/modules/breathing-exercise/components/method-type-icon.js.map +1 -1
  109. package/lib/commonjs/modules/breathing-exercise/hooks/use-breathing-exercise.js +2 -9
  110. package/lib/commonjs/modules/breathing-exercise/hooks/use-breathing-exercise.js.map +1 -1
  111. package/lib/commonjs/modules/bt-device/components/btdevice-instruction.js +1 -3
  112. package/lib/commonjs/modules/bt-device/components/btdevice-instruction.js.map +1 -1
  113. package/lib/commonjs/modules/bt-device/components/hooks/use-device-list.js +2 -9
  114. package/lib/commonjs/modules/bt-device/components/hooks/use-device-list.js.map +1 -1
  115. package/lib/commonjs/modules/bt-device/components/item/bottom-container.js +3 -25
  116. package/lib/commonjs/modules/bt-device/components/item/bottom-container.js.map +1 -1
  117. package/lib/commonjs/modules/bt-device/constants/device-list-items.js +8 -138
  118. package/lib/commonjs/modules/bt-device/constants/device-list-items.js.map +1 -1
  119. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-and-medical-variants.js +7 -36
  120. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-and-medical-variants.js.map +1 -1
  121. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-aoj-variants.js +22 -126
  122. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-aoj-variants.js.map +1 -1
  123. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-art.js +15 -0
  124. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-art.js.map +1 -0
  125. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-assets.js +3 -1
  126. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -1
  127. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-cofoe-variants.js +19 -108
  128. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-cofoe-variants.js.map +1 -1
  129. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-entries.js +2 -1
  130. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-entries.js.map +1 -1
  131. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-famidoc-variants.js +37 -216
  132. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-famidoc-variants.js.map +1 -1
  133. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-joytech-variants.js +15 -84
  134. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-joytech-variants.js.map +1 -1
  135. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-jumper-variants.js +24 -138
  136. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-jumper-variants.js.map +1 -1
  137. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-standard-variants.js +166 -990
  138. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-standard-variants.js.map +1 -1
  139. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-taidoc-variants.js +28 -162
  140. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-taidoc-variants.js.map +1 -1
  141. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.js +95 -564
  142. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.js.map +1 -1
  143. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.js +17 -96
  144. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.js.map +1 -1
  145. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-transtek-variants.js +181 -1080
  146. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-transtek-variants.js.map +1 -1
  147. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-variants.js +61 -262
  148. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-variants.js.map +1 -1
  149. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-yonker-variants.js +18 -102
  150. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-yonker-variants.js.map +1 -1
  151. package/lib/commonjs/modules/bt-device/constants/supported-devices.js +215 -263
  152. package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
  153. package/lib/commonjs/modules/bt-device/utils/slugify.js +10 -0
  154. package/lib/commonjs/modules/bt-device/utils/slugify.js.map +1 -0
  155. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js +16 -36
  156. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  157. package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js +16 -1
  158. package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js.map +1 -1
  159. package/lib/commonjs/modules/bt-management/constants/preferred-mtu.js +12 -0
  160. package/lib/commonjs/modules/bt-management/constants/preferred-mtu.js.map +1 -0
  161. package/lib/commonjs/modules/bt-management/hooks/runtime-context.js +22 -34
  162. package/lib/commonjs/modules/bt-management/hooks/runtime-context.js.map +1 -1
  163. package/lib/commonjs/modules/bt-management/hooks/use-bluetooth-state.js +2 -5
  164. package/lib/commonjs/modules/bt-management/hooks/use-bluetooth-state.js.map +1 -1
  165. package/lib/commonjs/modules/bt-management/hooks/use-measurements.js +5 -6
  166. package/lib/commonjs/modules/bt-management/hooks/use-measurements.js.map +1 -1
  167. package/lib/commonjs/modules/bt-management/index.js.map +1 -1
  168. package/lib/commonjs/modules/bt-management/services/bt-manager.js +11 -31
  169. package/lib/commonjs/modules/bt-management/services/bt-manager.js.map +1 -1
  170. package/lib/commonjs/modules/bt-management/services/custom/assert-integer-in-range.js +16 -0
  171. package/lib/commonjs/modules/bt-management/services/custom/assert-integer-in-range.js.map +1 -0
  172. package/lib/commonjs/modules/bt-management/services/custom/compile-custom-lepu.js +3 -16
  173. package/lib/commonjs/modules/bt-management/services/custom/compile-custom-lepu.js.map +1 -1
  174. package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js +3 -14
  175. package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
  176. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.command-sequencer.js +3 -3
  177. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.command-sequencer.js.map +1 -1
  178. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.frame-reader.js +6 -22
  179. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.frame-reader.js.map +1 -1
  180. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.device.js +8 -14
  181. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.device.js.map +1 -1
  182. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-70b.device.js +5 -8
  183. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-70b.device.js.map +1 -1
  184. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.device.js +5 -8
  185. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.device.js.map +1 -1
  186. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.protocol.js +6 -22
  187. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.protocol.js.map +1 -1
  188. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.command-sequencer.js +3 -3
  189. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.command-sequencer.js.map +1 -1
  190. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.frame-reader.js +5 -18
  191. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.frame-reader.js.map +1 -1
  192. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-builders.js +1 -3
  193. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-builders.js.map +1 -1
  194. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js +3 -2
  195. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js.map +1 -1
  196. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.frame-reader.js +5 -18
  197. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.frame-reader.js.map +1 -1
  198. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js +2 -3
  199. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
  200. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.js +4 -4
  201. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.js.map +1 -1
  202. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.js +6 -22
  203. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.js.map +1 -1
  204. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js +9 -13
  205. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  206. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.device.js +10 -14
  207. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.device.js.map +1 -1
  208. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js +2 -6
  209. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js.map +1 -1
  210. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-envelope.js +20 -0
  211. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-envelope.js.map +1 -0
  212. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.device.js +8 -13
  213. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.device.js.map +1 -1
  214. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.protocol.js +37 -41
  215. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.protocol.js.map +1 -1
  216. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js +2 -6
  217. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js.map +1 -1
  218. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.device.js +3 -4
  219. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.device.js.map +1 -1
  220. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.protocol.js +25 -51
  221. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.protocol.js.map +1 -1
  222. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.sequencer.js +3 -7
  223. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.sequencer.js.map +1 -1
  224. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.device.js +1 -1
  225. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.device.js.map +1 -1
  226. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.protocol.js +12 -31
  227. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.protocol.js.map +1 -1
  228. package/lib/commonjs/modules/bt-management/services/devices/custom/custom-lepu-sequencer.js +12 -11
  229. package/lib/commonjs/modules/bt-management/services/devices/custom/custom-lepu-sequencer.js.map +1 -1
  230. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +15 -13
  231. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  232. package/lib/commonjs/modules/bt-management/services/devices/f4/f4.device.js +1 -1
  233. package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.device.js +8 -10
  234. package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.device.js.map +1 -1
  235. package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.protocol.js +5 -18
  236. package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.protocol.js.map +1 -1
  237. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.device.js +5 -8
  238. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.device.js.map +1 -1
  239. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.protocol.js +7 -26
  240. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.protocol.js.map +1 -1
  241. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.js +3 -3
  242. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.js.map +1 -1
  243. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.js +5 -18
  244. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.js.map +1 -1
  245. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.device.js +5 -8
  246. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.device.js.map +1 -1
  247. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.protocol.js +7 -26
  248. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.protocol.js.map +1 -1
  249. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.device.js +1 -1
  250. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.device.js.map +1 -1
  251. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.command-builder.js +4 -6
  252. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.command-builder.js.map +1 -1
  253. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.frame-reader.js +5 -18
  254. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.frame-reader.js.map +1 -1
  255. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js +9 -9
  256. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
  257. package/lib/commonjs/modules/bt-management/services/devices/monitor-service.js +27 -0
  258. package/lib/commonjs/modules/bt-management/services/devices/monitor-service.js.map +1 -0
  259. package/lib/commonjs/modules/bt-management/services/devices/sentinel-frame-reader.js +6 -23
  260. package/lib/commonjs/modules/bt-management/services/devices/sentinel-frame-reader.js.map +1 -1
  261. package/lib/commonjs/modules/bt-management/services/devices/spo/pc60fw.frame-reader.js +7 -26
  262. package/lib/commonjs/modules/bt-management/services/devices/spo/pc60fw.frame-reader.js.map +1 -1
  263. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js +15 -12
  264. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js.map +1 -1
  265. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +3 -3
  266. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
  267. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.device.js +5 -8
  268. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.device.js.map +1 -1
  269. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.protocol.js +9 -25
  270. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.protocol.js.map +1 -1
  271. package/lib/commonjs/modules/bt-management/services/devices/tmb/tmb.command-sequencer.js +4 -4
  272. package/lib/commonjs/modules/bt-management/services/devices/tmb/tmb.command-sequencer.js.map +1 -1
  273. package/lib/commonjs/modules/bt-management/services/devices/tmb/tmb.frame-reader.js +5 -18
  274. package/lib/commonjs/modules/bt-management/services/devices/tmb/tmb.frame-reader.js.map +1 -1
  275. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.js +2 -1
  276. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.js.map +1 -1
  277. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js +2 -2
  278. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js.map +1 -1
  279. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.measurements.js +2 -2
  280. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.measurements.js.map +1 -1
  281. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.protocol.js +11 -26
  282. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.protocol.js.map +1 -1
  283. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6.device.js +6 -9
  284. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6.device.js.map +1 -1
  285. package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.device.js +1 -5
  286. package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.device.js.map +1 -1
  287. package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.protocol.js +17 -57
  288. package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.protocol.js.map +1 -1
  289. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.device.js +1 -1
  290. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.device.js.map +1 -1
  291. package/lib/commonjs/modules/bt-management/services/devices/trasense/s9-frame-reader.js +3 -10
  292. package/lib/commonjs/modules/bt-management/services/devices/trasense/s9-frame-reader.js.map +1 -1
  293. package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.command-sequencer.js +19 -23
  294. package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.command-sequencer.js.map +1 -1
  295. package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.device.js +1 -6
  296. package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.device.js.map +1 -1
  297. package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.frame-reader.js +7 -26
  298. package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.frame-reader.js.map +1 -1
  299. package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.sequencer.js +2 -2
  300. package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.sequencer.js.map +1 -1
  301. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval-activity-frame-reader.js +5 -20
  302. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval-activity-frame-reader.js.map +1 -1
  303. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js +6 -7
  304. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js.map +1 -1
  305. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.activity-device.js +3 -4
  306. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.activity-device.js.map +1 -1
  307. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.js +2 -1
  308. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.js.map +1 -1
  309. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-device.js +2 -2
  310. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-device.js.map +1 -1
  311. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-transfer.js +2 -3
  312. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-transfer.js.map +1 -1
  313. package/lib/commonjs/modules/bt-management/services/devices/viatom/ap20.device.js +8 -10
  314. package/lib/commonjs/modules/bt-management/services/devices/viatom/ap20.device.js.map +1 -1
  315. package/lib/commonjs/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.js +3 -5
  316. package/lib/commonjs/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.js.map +1 -1
  317. package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.device.js +8 -10
  318. package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.device.js.map +1 -1
  319. package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.js +10 -29
  320. package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.js.map +1 -1
  321. package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js +2 -7
  322. package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js.map +1 -1
  323. package/lib/commonjs/modules/bt-management/services/devices/viatom/lpm311.protocol.js +3 -10
  324. package/lib/commonjs/modules/bt-management/services/devices/viatom/lpm311.protocol.js.map +1 -1
  325. package/lib/commonjs/modules/bt-management/services/devices/viatom/lpm311.sequencer.js +2 -1
  326. package/lib/commonjs/modules/bt-management/services/devices/viatom/lpm311.sequencer.js.map +1 -1
  327. package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.device.js +11 -20
  328. package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.device.js.map +1 -1
  329. package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.protocol.js +3 -4
  330. package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.protocol.js.map +1 -1
  331. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc68b.device.js +8 -10
  332. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc68b.device.js.map +1 -1
  333. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.device.js +8 -11
  334. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.device.js.map +1 -1
  335. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.protocol.js +14 -30
  336. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.protocol.js.map +1 -1
  337. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.sequencer.js +2 -6
  338. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.sequencer.js.map +1 -1
  339. package/lib/commonjs/modules/bt-management/services/devices/viatom/pf10aw1.device.js +6 -13
  340. package/lib/commonjs/modules/bt-management/services/devices/viatom/pf10aw1.device.js.map +1 -1
  341. package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.device.js +5 -8
  342. package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.device.js.map +1 -1
  343. package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.js +3 -10
  344. package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.js.map +1 -1
  345. package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.device.js +8 -14
  346. package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.device.js.map +1 -1
  347. package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.protocol.js +10 -29
  348. package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.protocol.js.map +1 -1
  349. package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.sequencer.js +2 -6
  350. package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.sequencer.js.map +1 -1
  351. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-aa55.protocol.js +11 -30
  352. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-aa55.protocol.js.map +1 -1
  353. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js +2 -6
  354. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js.map +1 -1
  355. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-lepu-crypto.js +2 -1
  356. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-lepu-crypto.js.map +1 -1
  357. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.device.js +8 -13
  358. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.device.js.map +1 -1
  359. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.device.js +8 -10
  360. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.device.js.map +1 -1
  361. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.js +10 -26
  362. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.js.map +1 -1
  363. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js +2 -7
  364. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js.map +1 -1
  365. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.device.js +8 -10
  366. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.device.js.map +1 -1
  367. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.js +10 -29
  368. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.js.map +1 -1
  369. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js +2 -7
  370. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js.map +1 -1
  371. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.device.js +8 -10
  372. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.device.js.map +1 -1
  373. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.js +10 -29
  374. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.js.map +1 -1
  375. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js +2 -7
  376. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js.map +1 -1
  377. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.device.js +9 -11
  378. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.device.js.map +1 -1
  379. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.protocol.js +27 -29
  380. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.protocol.js.map +1 -1
  381. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js +20 -20
  382. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js.map +1 -1
  383. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.vtm20f.frame-reader.js +6 -22
  384. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.vtm20f.frame-reader.js.map +1 -1
  385. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.device.js +6 -9
  386. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.device.js.map +1 -1
  387. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.protocol.js +33 -34
  388. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.protocol.js.map +1 -1
  389. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js +17 -19
  390. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js.map +1 -1
  391. package/lib/commonjs/modules/bt-management/services/devices/write-command.js +14 -0
  392. package/lib/commonjs/modules/bt-management/services/devices/write-command.js.map +1 -0
  393. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.device.js +1 -1
  394. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.device.js.map +1 -1
  395. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.protocol.js +11 -30
  396. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.protocol.js.map +1 -1
  397. package/lib/commonjs/modules/bt-management/utils/ascii-to-hex.js +11 -0
  398. package/lib/commonjs/modules/bt-management/utils/ascii-to-hex.js.map +1 -0
  399. package/lib/commonjs/modules/bt-management/utils/base-64-to-hex.js +2 -8
  400. package/lib/commonjs/modules/bt-management/utils/base-64-to-hex.js.map +1 -1
  401. package/lib/commonjs/modules/bt-management/utils/bytes-to-hex.js +6 -2
  402. package/lib/commonjs/modules/bt-management/utils/bytes-to-hex.js.map +1 -1
  403. package/lib/commonjs/modules/bt-management/utils/daily-total-day.js +21 -0
  404. package/lib/commonjs/modules/bt-management/utils/daily-total-day.js.map +1 -0
  405. package/lib/commonjs/modules/bt-management/utils/error-callback-payload.js +20 -0
  406. package/lib/commonjs/modules/bt-management/utils/error-callback-payload.js.map +1 -0
  407. package/lib/commonjs/modules/bt-management/utils/frame-read-results.js +33 -0
  408. package/lib/commonjs/modules/bt-management/utils/frame-read-results.js.map +1 -0
  409. package/lib/commonjs/modules/bt-management/utils/hex-to-base-64.js +1 -5
  410. package/lib/commonjs/modules/bt-management/utils/hex-to-base-64.js.map +1 -1
  411. package/lib/commonjs/modules/bt-management/utils/mirror-bluetooth-state.js +18 -0
  412. package/lib/commonjs/modules/bt-management/utils/mirror-bluetooth-state.js.map +1 -0
  413. package/lib/commonjs/modules/bt-management/utils/sum-bytes.js +10 -0
  414. package/lib/commonjs/modules/bt-management/utils/sum-bytes.js.map +1 -0
  415. package/lib/commonjs/modules/cms/hooks/use-cms-content.js +7 -24
  416. package/lib/commonjs/modules/cms/hooks/use-cms-content.js.map +1 -1
  417. package/lib/commonjs/modules/content/content-card/components/content-card.js +3 -21
  418. package/lib/commonjs/modules/content/content-card/components/content-card.js.map +1 -1
  419. package/lib/commonjs/modules/content/content-card/components/cover-badge.js +2 -3
  420. package/lib/commonjs/modules/content/content-card/components/cover-badge.js.map +1 -1
  421. package/lib/commonjs/modules/content/content-card/components/title.js +1 -5
  422. package/lib/commonjs/modules/content/content-card/components/title.js.map +1 -1
  423. package/lib/commonjs/modules/content/content-detail/components/content-detail-footer.js +3 -17
  424. package/lib/commonjs/modules/content/content-detail/components/content-detail-footer.js.map +1 -1
  425. package/lib/commonjs/modules/content/content-detail/components/content-detail-header.js +3 -17
  426. package/lib/commonjs/modules/content/content-detail/components/content-detail-header.js.map +1 -1
  427. package/lib/commonjs/modules/content/content-detail/components/metadata/content-detail-metadata-item.js +1 -1
  428. package/lib/commonjs/modules/content/content-detail/components/metadata/content-detail-metadata-item.js.map +1 -1
  429. package/lib/commonjs/modules/content/content-detail/context/hooks/use-composition.js +2 -9
  430. package/lib/commonjs/modules/content/content-detail/context/hooks/use-composition.js.map +1 -1
  431. package/lib/commonjs/modules/content/content-list/components/horizontal-list.js +1 -1
  432. package/lib/commonjs/modules/content/content-list/components/horizontal-list.js.map +1 -1
  433. package/lib/commonjs/modules/content/content-list/components/section.js +3 -15
  434. package/lib/commonjs/modules/content/content-list/components/section.js.map +1 -1
  435. package/lib/commonjs/modules/data-sync/components/android/android-health-connect-authorization-provider.js +3 -3
  436. package/lib/commonjs/modules/data-sync/components/android/android-health-connect-authorization-provider.js.map +1 -1
  437. package/lib/commonjs/modules/data-sync/components/android/android-health-sync.js +9 -65
  438. package/lib/commonjs/modules/data-sync/components/android/android-health-sync.js.map +1 -1
  439. package/lib/commonjs/modules/data-sync/components/apple/apple-health-authorization-provider.js +3 -2
  440. package/lib/commonjs/modules/data-sync/components/apple/apple-health-authorization-provider.js.map +1 -1
  441. package/lib/commonjs/modules/data-sync/components/apple/apple-health-sync.js +12 -86
  442. package/lib/commonjs/modules/data-sync/components/apple/apple-health-sync.js.map +1 -1
  443. package/lib/commonjs/modules/data-sync/constants.js +4 -1
  444. package/lib/commonjs/modules/data-sync/constants.js.map +1 -1
  445. package/lib/commonjs/modules/data-sync/contexts/health-authorization-context.js +2 -7
  446. package/lib/commonjs/modules/data-sync/contexts/health-authorization-context.js.map +1 -1
  447. package/lib/commonjs/modules/data-sync/hooks/use-health-import.js +2 -1
  448. package/lib/commonjs/modules/data-sync/hooks/use-health-import.js.map +1 -1
  449. package/lib/commonjs/modules/data-sync/hooks/use-health-sync-runner.js +101 -0
  450. package/lib/commonjs/modules/data-sync/hooks/use-health-sync-runner.js.map +1 -0
  451. package/lib/commonjs/modules/data-sync/services/android-health-sync-service.js +6 -13
  452. package/lib/commonjs/modules/data-sync/services/android-health-sync-service.js.map +1 -1
  453. package/lib/commonjs/modules/data-sync/services/apple-health-sync-service.js +6 -13
  454. package/lib/commonjs/modules/data-sync/services/apple-health-sync-service.js.map +1 -1
  455. package/lib/commonjs/modules/data-sync/services/base-health-sync-service.js +10 -6
  456. package/lib/commonjs/modules/data-sync/services/base-health-sync-service.js.map +1 -1
  457. package/lib/commonjs/modules/data-sync/services/managers/data-processor.js +4 -9
  458. package/lib/commonjs/modules/data-sync/services/managers/data-processor.js.map +1 -1
  459. package/lib/commonjs/modules/data-sync/services/managers/storage-manager.js +2 -3
  460. package/lib/commonjs/modules/data-sync/services/managers/storage-manager.js.map +1 -1
  461. package/lib/commonjs/modules/data-sync/types/health-sync-batch-error.js +2 -1
  462. package/lib/commonjs/modules/data-sync/types/health-sync-batch-error.js.map +1 -1
  463. package/lib/commonjs/modules/data-sync/utils/convert-generic-health-data.js +6 -15
  464. package/lib/commonjs/modules/data-sync/utils/convert-generic-health-data.js.map +1 -1
  465. package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js +7 -15
  466. package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
  467. package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js +14 -24
  468. package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
  469. package/lib/commonjs/modules/data-sync/utils/create-progress-collector.js +16 -0
  470. package/lib/commonjs/modules/data-sync/utils/create-progress-collector.js.map +1 -0
  471. package/lib/commonjs/modules/data-sync/utils/fhir-systems.js +11 -0
  472. package/lib/commonjs/modules/data-sync/utils/fhir-systems.js.map +1 -0
  473. package/lib/commonjs/modules/data-sync/utils/generate-observation-entry.js +7 -6
  474. package/lib/commonjs/modules/data-sync/utils/generate-observation-entry.js.map +1 -1
  475. package/lib/commonjs/modules/data-sync/utils/get-latest-observation-dates-by-code.js +2 -1
  476. package/lib/commonjs/modules/data-sync/utils/get-latest-observation-dates-by-code.js.map +1 -1
  477. package/lib/commonjs/modules/data-sync/utils/get-latest-valid-start-date.js +2 -1
  478. package/lib/commonjs/modules/data-sync/utils/get-latest-valid-start-date.js.map +1 -1
  479. package/lib/commonjs/modules/data-sync/utils/get-records-from-health-connect.js +5 -3
  480. package/lib/commonjs/modules/data-sync/utils/get-records-from-health-connect.js.map +1 -1
  481. package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js +18 -34
  482. package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
  483. package/lib/commonjs/modules/data-sync/utils/get-total-records-count.js +2 -2
  484. package/lib/commonjs/modules/data-sync/utils/get-total-records-count.js.map +1 -1
  485. package/lib/commonjs/modules/data-sync/utils/group-samples-by-interval.js +17 -0
  486. package/lib/commonjs/modules/data-sync/utils/group-samples-by-interval.js.map +1 -0
  487. package/lib/commonjs/modules/data-sync/utils/health-data-catalog.js +109 -274
  488. package/lib/commonjs/modules/data-sync/utils/health-data-catalog.js.map +1 -1
  489. package/lib/commonjs/modules/data-sync/utils/is-daily-aggregate-mode.js +10 -0
  490. package/lib/commonjs/modules/data-sync/utils/is-daily-aggregate-mode.js.map +1 -0
  491. package/lib/commonjs/modules/data-sync/utils/normalize-core-health-observation.js +7 -8
  492. package/lib/commonjs/modules/data-sync/utils/normalize-core-health-observation.js.map +1 -1
  493. package/lib/commonjs/modules/data-sync/utils/sync-window-start.js +12 -0
  494. package/lib/commonjs/modules/data-sync/utils/sync-window-start.js.map +1 -0
  495. package/lib/commonjs/modules/data-sync/utils/to-core-health-observations.js +33 -0
  496. package/lib/commonjs/modules/data-sync/utils/to-core-health-observations.js.map +1 -0
  497. package/lib/commonjs/modules/helpers/form-items/form-date-field.js +2 -1
  498. package/lib/commonjs/modules/helpers/form-items/form-date-field.js.map +1 -1
  499. package/lib/commonjs/modules/helpers/form-items/form-select.js +1 -2
  500. package/lib/commonjs/modules/helpers/form-items/form-select.js.map +1 -1
  501. package/lib/commonjs/modules/helpers/hooks/use-latest-ref.js +16 -0
  502. package/lib/commonjs/modules/helpers/hooks/use-latest-ref.js.map +1 -0
  503. package/lib/commonjs/modules/helpers/hooks/use-required-context.js +18 -0
  504. package/lib/commonjs/modules/helpers/hooks/use-required-context.js.map +1 -0
  505. package/lib/commonjs/modules/helpers/spaced-view.js +24 -0
  506. package/lib/commonjs/modules/helpers/spaced-view.js.map +1 -0
  507. package/lib/commonjs/modules/{auth/sign-in/components/header/title.js → helpers/surface-card.js} +12 -23
  508. package/lib/commonjs/modules/helpers/surface-card.js.map +1 -0
  509. package/lib/commonjs/modules/helpers/utils/local-date.js +10 -0
  510. package/lib/commonjs/modules/helpers/utils/local-date.js.map +1 -0
  511. package/lib/commonjs/modules/helpers/utils/telemetry.js +38 -69
  512. package/lib/commonjs/modules/helpers/utils/telemetry.js.map +1 -1
  513. package/lib/commonjs/modules/helpers/utils/to-error.js +10 -0
  514. package/lib/commonjs/modules/helpers/utils/to-error.js.map +1 -0
  515. package/lib/commonjs/modules/image/components/optimized-image.js +2 -2
  516. package/lib/commonjs/modules/image/components/optimized-image.js.map +1 -1
  517. package/lib/commonjs/modules/image/utils/calculate-dimension.js +1 -1
  518. package/lib/commonjs/modules/image/utils/calculate-dimension.js.map +1 -1
  519. package/lib/commonjs/modules/journal/past-journal/components/answer.js +2 -1
  520. package/lib/commonjs/modules/journal/past-journal/components/answer.js.map +1 -1
  521. package/lib/commonjs/modules/journal/past-journal/components/past-journal-card.js +3 -21
  522. package/lib/commonjs/modules/journal/past-journal/components/past-journal-card.js.map +1 -1
  523. package/lib/commonjs/modules/journal/today-question/components/gradient.js +6 -12
  524. package/lib/commonjs/modules/journal/today-question/components/gradient.js.map +1 -1
  525. package/lib/commonjs/modules/journal/today-question/components/today-question-card.js +3 -18
  526. package/lib/commonjs/modules/journal/today-question/components/today-question-card.js.map +1 -1
  527. package/lib/commonjs/modules/language-switcher/components/language-switcher.js +3 -3
  528. package/lib/commonjs/modules/language-switcher/components/language-switcher.js.map +1 -1
  529. package/lib/commonjs/modules/language-switcher/components/option/hooks/use-language-option.js +2 -9
  530. package/lib/commonjs/modules/language-switcher/components/option/hooks/use-language-option.js.map +1 -1
  531. package/lib/commonjs/modules/language-switcher/hooks/use-language-switcher.js +2 -9
  532. package/lib/commonjs/modules/language-switcher/hooks/use-language-switcher.js.map +1 -1
  533. package/lib/commonjs/modules/measurement/components/date-range.js +8 -21
  534. package/lib/commonjs/modules/measurement/components/date-range.js.map +1 -1
  535. package/lib/commonjs/modules/observation-detail/components/date-time.js +1 -5
  536. package/lib/commonjs/modules/observation-detail/components/date-time.js.map +1 -1
  537. package/lib/commonjs/modules/observation-detail/components/observation-detail.js +8 -10
  538. package/lib/commonjs/modules/observation-detail/components/observation-detail.js.map +1 -1
  539. package/lib/commonjs/modules/observation-detail/components/photo-preview.js +1 -1
  540. package/lib/commonjs/modules/observation-detail/components/photo-preview.js.map +1 -1
  541. package/lib/commonjs/modules/observation-detail/components/preview-modal.js +47 -60
  542. package/lib/commonjs/modules/observation-detail/components/preview-modal.js.map +1 -1
  543. package/lib/commonjs/modules/patient/components/card/patient-gender.js +17 -39
  544. package/lib/commonjs/modules/patient/components/card/patient-gender.js.map +1 -1
  545. package/lib/commonjs/modules/pdf/components/pdf-viewer.js +1 -5
  546. package/lib/commonjs/modules/pdf/components/pdf-viewer.js.map +1 -1
  547. package/lib/commonjs/modules/progress-ring/components/progress-ring.js +1 -5
  548. package/lib/commonjs/modules/progress-ring/components/progress-ring.js.map +1 -1
  549. package/lib/commonjs/modules/questionnaire-response-form/components/content/questionnaire-content-all-items.js +1 -2
  550. package/lib/commonjs/modules/questionnaire-response-form/components/content/questionnaire-content-all-items.js.map +1 -1
  551. package/lib/commonjs/modules/questionnaire-response-form/components/content/questionnaire-content-item.js +7 -39
  552. package/lib/commonjs/modules/questionnaire-response-form/components/content/questionnaire-content-item.js.map +1 -1
  553. package/lib/commonjs/modules/questionnaire-response-form/components/content/questionnaire-content-specific-item.js +1 -2
  554. package/lib/commonjs/modules/questionnaire-response-form/components/content/questionnaire-content-specific-item.js.map +1 -1
  555. package/lib/commonjs/modules/questionnaire-response-form/components/content/questionnaire-content.js +2 -2
  556. package/lib/commonjs/modules/questionnaire-response-form/components/content/questionnaire-content.js.map +1 -1
  557. package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js +8 -44
  558. package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js.map +1 -1
  559. package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.js +5 -9
  560. package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.js.map +1 -1
  561. package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form-provider.js +8 -5
  562. package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form-provider.js.map +1 -1
  563. package/lib/commonjs/modules/questionnaire-response-form/default-translation.js +2 -0
  564. package/lib/commonjs/modules/questionnaire-response-form/default-translation.js.map +1 -1
  565. package/lib/commonjs/modules/questionnaire-response-form/hooks/use-initial-selected-values.js +4 -16
  566. package/lib/commonjs/modules/questionnaire-response-form/hooks/use-initial-selected-values.js.map +1 -1
  567. package/lib/commonjs/modules/questionnaire-response-form/hooks/use-navigation-handlers.js +1 -11
  568. package/lib/commonjs/modules/questionnaire-response-form/hooks/use-navigation-handlers.js.map +1 -1
  569. package/lib/commonjs/modules/questionnaire-response-form/hooks/use-questionnaire-form.js +2 -9
  570. package/lib/commonjs/modules/questionnaire-response-form/hooks/use-questionnaire-form.js.map +1 -1
  571. package/lib/commonjs/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.js +6 -4
  572. package/lib/commonjs/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.js.map +1 -1
  573. package/lib/commonjs/modules/questionnaire-response-form/hooks/use-questionnaire-navigation.js +2 -9
  574. package/lib/commonjs/modules/questionnaire-response-form/hooks/use-questionnaire-navigation.js.map +1 -1
  575. package/lib/commonjs/modules/questionnaire-response-form/types/index.js +0 -11
  576. package/lib/commonjs/modules/questionnaire-response-form/types/index.js.map +1 -1
  577. package/lib/commonjs/modules/questionnaire-response-form/utils/condition-utils.js +3 -1
  578. package/lib/commonjs/modules/questionnaire-response-form/utils/condition-utils.js.map +1 -1
  579. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/boolean-condition.js +2 -7
  580. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/boolean-condition.js.map +1 -1
  581. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/compare.js +39 -0
  582. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/compare.js.map +1 -0
  583. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/date-condition.js +2 -42
  584. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/date-condition.js.map +1 -1
  585. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/decimal-condition.js +2 -19
  586. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/decimal-condition.js.map +1 -1
  587. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/fhir-condition.js +6 -51
  588. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/fhir-condition.js.map +1 -1
  589. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/string-condition.js +2 -7
  590. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/string-condition.js.map +1 -1
  591. package/lib/commonjs/modules/questionnaire-response-form/utils/fhir-time.js +26 -0
  592. package/lib/commonjs/modules/questionnaire-response-form/utils/fhir-time.js.map +1 -0
  593. package/lib/commonjs/modules/questionnaire-response-form/utils/fields/get-keyboard-type.js +1 -3
  594. package/lib/commonjs/modules/questionnaire-response-form/utils/fields/get-keyboard-type.js.map +1 -1
  595. package/lib/commonjs/modules/questionnaire-response-form/utils/form-utils.js +13 -13
  596. package/lib/commonjs/modules/questionnaire-response-form/utils/form-utils.js.map +1 -1
  597. package/lib/commonjs/modules/questionnaire-response-form/utils/form-validation.js +1 -2
  598. package/lib/commonjs/modules/questionnaire-response-form/utils/form-validation.js.map +1 -1
  599. package/lib/commonjs/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.js +5 -1
  600. package/lib/commonjs/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.js.map +1 -1
  601. package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-date-utils.js +33 -1
  602. package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-date-utils.js.map +1 -1
  603. package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-navigation-utils.js +3 -3
  604. package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-navigation-utils.js.map +1 -1
  605. package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-string-constraint-validator.js +4 -17
  606. package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-string-constraint-validator.js.map +1 -1
  607. package/lib/commonjs/modules/socket/components/socket-provider.js +3 -10
  608. package/lib/commonjs/modules/socket/components/socket-provider.js.map +1 -1
  609. package/lib/commonjs/modules/socket/hooks/use-socket.js +2 -9
  610. package/lib/commonjs/modules/socket/hooks/use-socket.js.map +1 -1
  611. package/lib/commonjs/modules/tab/components/tab-provider.js +3 -3
  612. package/lib/commonjs/modules/tab/components/tab-provider.js.map +1 -1
  613. package/lib/commonjs/modules/tab/hooks/use-tab.js +2 -9
  614. package/lib/commonjs/modules/tab/hooks/use-tab.js.map +1 -1
  615. package/lib/commonjs/modules/theme/utils/generate-theme.js +4 -2
  616. package/lib/commonjs/modules/theme/utils/generate-theme.js.map +1 -1
  617. package/lib/commonjs/modules/tile/components/complete-animation.js +1 -5
  618. package/lib/commonjs/modules/tile/components/complete-animation.js.map +1 -1
  619. package/lib/commonjs/modules/ui/components/background-sync-setting.js +26 -13
  620. package/lib/commonjs/modules/ui/components/background-sync-setting.js.map +1 -1
  621. package/lib/commonjs/modules/ui/components/bluetooth-state-notice.js +10 -24
  622. package/lib/commonjs/modules/ui/components/bluetooth-state-notice.js.map +1 -1
  623. package/lib/commonjs/modules/ui/components/calendar.js +3 -2
  624. package/lib/commonjs/modules/ui/components/calendar.js.map +1 -1
  625. package/lib/commonjs/modules/ui/components/ecg-strip-viewer.js +6 -20
  626. package/lib/commonjs/modules/ui/components/ecg-strip-viewer.js.map +1 -1
  627. package/lib/commonjs/modules/ui/components/flow-frame.js +3 -2
  628. package/lib/commonjs/modules/ui/components/flow-frame.js.map +1 -1
  629. package/lib/commonjs/modules/ui/components/health-import-card.js +37 -24
  630. package/lib/commonjs/modules/ui/components/health-import-card.js.map +1 -1
  631. package/lib/commonjs/modules/ui/components/manual-entry-form.js +5 -3
  632. package/lib/commonjs/modules/ui/components/manual-entry-form.js.map +1 -1
  633. package/lib/commonjs/modules/ui/components/nearby-device-prompt.js +18 -17
  634. package/lib/commonjs/modules/ui/components/nearby-device-prompt.js.map +1 -1
  635. package/lib/commonjs/modules/ui/components/pairing-flow.js +33 -29
  636. package/lib/commonjs/modules/ui/components/pairing-flow.js.map +1 -1
  637. package/lib/commonjs/modules/ui/components/period-calendar.js +3 -2
  638. package/lib/commonjs/modules/ui/components/period-calendar.js.map +1 -1
  639. package/lib/commonjs/modules/ui/components/supported-devices-catalog-list.js +5 -4
  640. package/lib/commonjs/modules/ui/components/supported-devices-catalog-list.js.map +1 -1
  641. package/lib/commonjs/modules/ui/components/urine-test-result.js +4 -3
  642. package/lib/commonjs/modules/ui/components/urine-test-result.js.map +1 -1
  643. package/lib/commonjs/modules/ui/use-ovok-ui.js +7 -7
  644. package/lib/commonjs/modules/ui/use-ovok-ui.js.map +1 -1
  645. package/lib/commonjs/modules/ui/utils/calendar-date.js +8 -3
  646. package/lib/commonjs/modules/ui/utils/calendar-date.js.map +1 -1
  647. package/lib/module/modules/auth/components/auth-header.js +74 -0
  648. package/lib/module/modules/auth/components/auth-header.js.map +1 -0
  649. package/lib/module/modules/auth/components/auth-scroll-view.js +48 -0
  650. package/lib/module/modules/auth/components/auth-scroll-view.js.map +1 -0
  651. package/lib/module/modules/auth/components/auth-separator.js +51 -0
  652. package/lib/module/modules/auth/components/auth-separator.js.map +1 -0
  653. package/lib/module/modules/auth/components/auth-submit-button.js +66 -0
  654. package/lib/module/modules/auth/components/auth-submit-button.js.map +1 -0
  655. package/lib/module/modules/auth/components/auth-switch-link.js +46 -0
  656. package/lib/module/modules/auth/components/auth-switch-link.js.map +1 -0
  657. package/lib/module/modules/auth/components/password-field.js +26 -0
  658. package/lib/module/modules/auth/components/password-field.js.map +1 -0
  659. package/lib/module/modules/auth/default-translation.js +32 -2
  660. package/lib/module/modules/auth/default-translation.js.map +1 -1
  661. package/lib/module/modules/auth/hooks/use-session.js +3 -2
  662. package/lib/module/modules/auth/hooks/use-session.js.map +1 -1
  663. package/lib/module/modules/auth/hooks/use-sign-in.js +3 -15
  664. package/lib/module/modules/auth/hooks/use-sign-in.js.map +1 -1
  665. package/lib/module/modules/auth/hooks/use-social-sign-in.js +1 -10
  666. package/lib/module/modules/auth/hooks/use-social-sign-in.js.map +1 -1
  667. package/lib/module/modules/auth/profile/components/form-phone-field.js +3 -3
  668. package/lib/module/modules/auth/profile/components/form-phone-field.js.map +1 -1
  669. package/lib/module/modules/auth/profile/components/profile-form-choice-field.js +2 -3
  670. package/lib/module/modules/auth/profile/components/profile-form-choice-field.js.map +1 -1
  671. package/lib/module/modules/auth/profile/components/profile-form.js +0 -3
  672. package/lib/module/modules/auth/profile/components/profile-form.js.map +1 -1
  673. package/lib/module/modules/auth/profile/hooks/use-profile-form.js +2 -8
  674. package/lib/module/modules/auth/profile/hooks/use-profile-form.js.map +1 -1
  675. package/lib/module/modules/auth/register/components/form/inputs.js +14 -34
  676. package/lib/module/modules/auth/register/components/form/inputs.js.map +1 -1
  677. package/lib/module/modules/auth/register/components/form/register-button.js +11 -54
  678. package/lib/module/modules/auth/register/components/form/register-button.js.map +1 -1
  679. package/lib/module/modules/auth/register/components/form/register-form-provider.js +7 -25
  680. package/lib/module/modules/auth/register/components/form/register-form-provider.js.map +1 -1
  681. package/lib/module/modules/auth/register/components/login-link.js +6 -37
  682. package/lib/module/modules/auth/register/components/login-link.js.map +1 -1
  683. package/lib/module/modules/auth/register/components/register-with-separator.js +5 -50
  684. package/lib/module/modules/auth/register/components/register-with-separator.js.map +1 -1
  685. package/lib/module/modules/auth/register/components/register.js +8 -44
  686. package/lib/module/modules/auth/register/components/register.js.map +1 -1
  687. package/lib/module/modules/auth/register/hooks/use-register-form.js +2 -8
  688. package/lib/module/modules/auth/register/hooks/use-register-form.js.map +1 -1
  689. package/lib/module/modules/auth/register/utils/create-register-validation-schema.js +2 -2
  690. package/lib/module/modules/auth/register/utils/create-register-validation-schema.js.map +1 -1
  691. package/lib/module/modules/auth/reset-password/components/form/reset-password-button.js +11 -54
  692. package/lib/module/modules/auth/reset-password/components/form/reset-password-button.js.map +1 -1
  693. package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js +6 -10
  694. package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
  695. package/lib/module/modules/auth/reset-password/components/reset-password.js +6 -43
  696. package/lib/module/modules/auth/reset-password/components/reset-password.js.map +1 -1
  697. package/lib/module/modules/auth/reset-password/hooks/use-reset-password-form.js +2 -8
  698. package/lib/module/modules/auth/reset-password/hooks/use-reset-password-form.js.map +1 -1
  699. package/lib/module/modules/auth/session/components/session-list.js +1 -2
  700. package/lib/module/modules/auth/session/components/session-list.js.map +1 -1
  701. package/lib/module/modules/auth/session/save-login.js +15 -0
  702. package/lib/module/modules/auth/session/save-login.js.map +1 -0
  703. package/lib/module/modules/auth/session/session-store-refresh.js +8 -19
  704. package/lib/module/modules/auth/session/session-store-refresh.js.map +1 -1
  705. package/lib/module/modules/auth/session/session-store-types.js +10 -1
  706. package/lib/module/modules/auth/session/session-store-types.js.map +1 -1
  707. package/lib/module/modules/auth/session/session-store.js +7 -16
  708. package/lib/module/modules/auth/session/session-store.js.map +1 -1
  709. package/lib/module/modules/auth/sign-in/components/form/inputs.js +2 -14
  710. package/lib/module/modules/auth/sign-in/components/form/inputs.js.map +1 -1
  711. package/lib/module/modules/auth/sign-in/components/form/login-form-provider.js +6 -18
  712. package/lib/module/modules/auth/sign-in/components/form/login-form-provider.js.map +1 -1
  713. package/lib/module/modules/auth/sign-in/components/form/signin-button.js +12 -54
  714. package/lib/module/modules/auth/sign-in/components/form/signin-button.js.map +1 -1
  715. package/lib/module/modules/auth/sign-in/components/login-with-separator.js +5 -50
  716. package/lib/module/modules/auth/sign-in/components/login-with-separator.js.map +1 -1
  717. package/lib/module/modules/auth/sign-in/components/register-link.js +6 -37
  718. package/lib/module/modules/auth/sign-in/components/register-link.js.map +1 -1
  719. package/lib/module/modules/auth/sign-in/components/sign-in.js +6 -43
  720. package/lib/module/modules/auth/sign-in/components/sign-in.js.map +1 -1
  721. package/lib/module/modules/auth/sign-in/components/site-url.js +3 -6
  722. package/lib/module/modules/auth/sign-in/components/site-url.js.map +1 -1
  723. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js +6 -32
  724. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
  725. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-text.js +1 -5
  726. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-text.js.map +1 -1
  727. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login.js +4 -12
  728. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login.js.map +1 -1
  729. package/lib/module/modules/auth/sign-in/components/social-logins/google-icon.js.map +1 -1
  730. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js +6 -30
  731. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
  732. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-text.js +1 -5
  733. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-text.js.map +1 -1
  734. package/lib/module/modules/auth/sign-in/components/social-logins/google-login.js +5 -13
  735. package/lib/module/modules/auth/sign-in/components/social-logins/google-login.js.map +1 -1
  736. package/lib/module/modules/auth/sign-in/components/social-logins/social-login-button.js +39 -0
  737. package/lib/module/modules/auth/sign-in/components/social-logins/social-login-button.js.map +1 -0
  738. package/lib/module/modules/auth/sign-in/hooks/use-login-form.js +2 -8
  739. package/lib/module/modules/auth/sign-in/hooks/use-login-form.js.map +1 -1
  740. package/lib/module/modules/auth/sign-in/utils/create-login-validation-schema.js +2 -2
  741. package/lib/module/modules/auth/sign-in/utils/create-login-validation-schema.js.map +1 -1
  742. package/lib/module/modules/auth/types/auth-header-props.js +4 -0
  743. package/lib/module/modules/auth/types/auth-header-props.js.map +1 -0
  744. package/lib/module/modules/auth/types/auth-submit-button-props.js +4 -0
  745. package/lib/module/modules/auth/types/auth-submit-button-props.js.map +1 -0
  746. package/lib/module/modules/auth/types/form-inputs-props.js.map +1 -0
  747. package/lib/module/modules/auth/utils/apply-submit-error.js +36 -0
  748. package/lib/module/modules/auth/utils/apply-submit-error.js.map +1 -0
  749. package/lib/module/modules/auth/utils/validation.js +17 -0
  750. package/lib/module/modules/auth/utils/validation.js.map +1 -0
  751. package/lib/module/modules/background-sync/android-background-sync.js +11 -33
  752. package/lib/module/modules/background-sync/android-background-sync.js.map +1 -1
  753. package/lib/module/modules/breathing-exercise/components/method-type-icon.js +17 -43
  754. package/lib/module/modules/breathing-exercise/components/method-type-icon.js.map +1 -1
  755. package/lib/module/modules/breathing-exercise/hooks/use-breathing-exercise.js +2 -8
  756. package/lib/module/modules/breathing-exercise/hooks/use-breathing-exercise.js.map +1 -1
  757. package/lib/module/modules/bt-device/components/btdevice-instruction.js +1 -3
  758. package/lib/module/modules/bt-device/components/btdevice-instruction.js.map +1 -1
  759. package/lib/module/modules/bt-device/components/hooks/use-device-list.js +2 -8
  760. package/lib/module/modules/bt-device/components/hooks/use-device-list.js.map +1 -1
  761. package/lib/module/modules/bt-device/components/item/bottom-container.js +4 -24
  762. package/lib/module/modules/bt-device/components/item/bottom-container.js.map +1 -1
  763. package/lib/module/modules/bt-device/constants/device-list-items.js +11 -140
  764. package/lib/module/modules/bt-device/constants/device-list-items.js.map +1 -1
  765. package/lib/module/modules/bt-device/constants/supported-device-catalog-and-medical-variants.js +7 -36
  766. package/lib/module/modules/bt-device/constants/supported-device-catalog-and-medical-variants.js.map +1 -1
  767. package/lib/module/modules/bt-device/constants/supported-device-catalog-aoj-variants.js +22 -126
  768. package/lib/module/modules/bt-device/constants/supported-device-catalog-aoj-variants.js.map +1 -1
  769. package/lib/module/modules/bt-device/constants/supported-device-catalog-art.js +11 -0
  770. package/lib/module/modules/bt-device/constants/supported-device-catalog-art.js.map +1 -0
  771. package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js +3 -1
  772. package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -1
  773. package/lib/module/modules/bt-device/constants/supported-device-catalog-cofoe-variants.js +19 -108
  774. package/lib/module/modules/bt-device/constants/supported-device-catalog-cofoe-variants.js.map +1 -1
  775. package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js +2 -1
  776. package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js.map +1 -1
  777. package/lib/module/modules/bt-device/constants/supported-device-catalog-famidoc-variants.js +37 -216
  778. package/lib/module/modules/bt-device/constants/supported-device-catalog-famidoc-variants.js.map +1 -1
  779. package/lib/module/modules/bt-device/constants/supported-device-catalog-joytech-variants.js +15 -84
  780. package/lib/module/modules/bt-device/constants/supported-device-catalog-joytech-variants.js.map +1 -1
  781. package/lib/module/modules/bt-device/constants/supported-device-catalog-jumper-variants.js +24 -138
  782. package/lib/module/modules/bt-device/constants/supported-device-catalog-jumper-variants.js.map +1 -1
  783. package/lib/module/modules/bt-device/constants/supported-device-catalog-standard-variants.js +166 -990
  784. package/lib/module/modules/bt-device/constants/supported-device-catalog-standard-variants.js.map +1 -1
  785. package/lib/module/modules/bt-device/constants/supported-device-catalog-taidoc-variants.js +28 -162
  786. package/lib/module/modules/bt-device/constants/supported-device-catalog-taidoc-variants.js.map +1 -1
  787. package/lib/module/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.js +95 -564
  788. package/lib/module/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.js.map +1 -1
  789. package/lib/module/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.js +17 -96
  790. package/lib/module/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.js.map +1 -1
  791. package/lib/module/modules/bt-device/constants/supported-device-catalog-transtek-variants.js +181 -1080
  792. package/lib/module/modules/bt-device/constants/supported-device-catalog-transtek-variants.js.map +1 -1
  793. package/lib/module/modules/bt-device/constants/supported-device-catalog-variants.js +61 -262
  794. package/lib/module/modules/bt-device/constants/supported-device-catalog-variants.js.map +1 -1
  795. package/lib/module/modules/bt-device/constants/supported-device-catalog-yonker-variants.js +18 -102
  796. package/lib/module/modules/bt-device/constants/supported-device-catalog-yonker-variants.js.map +1 -1
  797. package/lib/module/modules/bt-device/constants/supported-devices.js +214 -262
  798. package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
  799. package/lib/module/modules/bt-device/utils/slugify.js +5 -0
  800. package/lib/module/modules/bt-device/utils/slugify.js.map +1 -0
  801. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js +16 -36
  802. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  803. package/lib/module/modules/bt-management/constants/built-in-measurement-types.js +16 -1
  804. package/lib/module/modules/bt-management/constants/built-in-measurement-types.js.map +1 -1
  805. package/lib/module/modules/bt-management/constants/preferred-mtu.js +8 -0
  806. package/lib/module/modules/bt-management/constants/preferred-mtu.js.map +1 -0
  807. package/lib/module/modules/bt-management/hooks/runtime-context.js +22 -34
  808. package/lib/module/modules/bt-management/hooks/runtime-context.js.map +1 -1
  809. package/lib/module/modules/bt-management/hooks/use-bluetooth-state.js +2 -5
  810. package/lib/module/modules/bt-management/hooks/use-bluetooth-state.js.map +1 -1
  811. package/lib/module/modules/bt-management/hooks/use-measurements.js +5 -6
  812. package/lib/module/modules/bt-management/hooks/use-measurements.js.map +1 -1
  813. package/lib/module/modules/bt-management/index.js +0 -1
  814. package/lib/module/modules/bt-management/index.js.map +1 -1
  815. package/lib/module/modules/bt-management/services/bt-manager.js +11 -31
  816. package/lib/module/modules/bt-management/services/bt-manager.js.map +1 -1
  817. package/lib/module/modules/bt-management/services/custom/assert-integer-in-range.js +12 -0
  818. package/lib/module/modules/bt-management/services/custom/assert-integer-in-range.js.map +1 -0
  819. package/lib/module/modules/bt-management/services/custom/compile-custom-lepu.js +3 -16
  820. package/lib/module/modules/bt-management/services/custom/compile-custom-lepu.js.map +1 -1
  821. package/lib/module/modules/bt-management/services/custom/define-custom-device.js +3 -14
  822. package/lib/module/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
  823. package/lib/module/modules/bt-management/services/devices/a606/a606.command-sequencer.js +3 -3
  824. package/lib/module/modules/bt-management/services/devices/a606/a606.command-sequencer.js.map +1 -1
  825. package/lib/module/modules/bt-management/services/devices/a606/a606.frame-reader.js +6 -22
  826. package/lib/module/modules/bt-management/services/devices/a606/a606.frame-reader.js.map +1 -1
  827. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.device.js +8 -14
  828. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.device.js.map +1 -1
  829. package/lib/module/modules/bt-management/services/devices/aoj/aoj-70b.device.js +5 -8
  830. package/lib/module/modules/bt-management/services/devices/aoj/aoj-70b.device.js.map +1 -1
  831. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.device.js +5 -8
  832. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.device.js.map +1 -1
  833. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.protocol.js +6 -22
  834. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.protocol.js.map +1 -1
  835. package/lib/module/modules/bt-management/services/devices/aoj/aoj.command-sequencer.js +3 -3
  836. package/lib/module/modules/bt-management/services/devices/aoj/aoj.command-sequencer.js.map +1 -1
  837. package/lib/module/modules/bt-management/services/devices/aoj/aoj.frame-reader.js +5 -18
  838. package/lib/module/modules/bt-management/services/devices/aoj/aoj.frame-reader.js.map +1 -1
  839. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-builders.js +1 -2
  840. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-builders.js.map +1 -1
  841. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js +4 -3
  842. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js.map +1 -1
  843. package/lib/module/modules/bt-management/services/devices/bc01/bc01.frame-reader.js +6 -18
  844. package/lib/module/modules/bt-management/services/devices/bc01/bc01.frame-reader.js.map +1 -1
  845. package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js +2 -3
  846. package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
  847. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.js +4 -4
  848. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.js.map +1 -1
  849. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.js +6 -22
  850. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.js.map +1 -1
  851. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js +9 -13
  852. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  853. package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.device.js +10 -14
  854. package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.device.js.map +1 -1
  855. package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js +2 -6
  856. package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js.map +1 -1
  857. package/lib/module/modules/bt-management/services/devices/checkme/checkme-envelope.js +16 -0
  858. package/lib/module/modules/bt-management/services/devices/checkme/checkme-envelope.js.map +1 -0
  859. package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.device.js +8 -13
  860. package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.device.js.map +1 -1
  861. package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.protocol.js +18 -40
  862. package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.protocol.js.map +1 -1
  863. package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js +2 -6
  864. package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js.map +1 -1
  865. package/lib/module/modules/bt-management/services/devices/checkme/checkme.device.js +2 -3
  866. package/lib/module/modules/bt-management/services/devices/checkme/checkme.device.js.map +1 -1
  867. package/lib/module/modules/bt-management/services/devices/checkme/checkme.protocol.js +25 -51
  868. package/lib/module/modules/bt-management/services/devices/checkme/checkme.protocol.js.map +1 -1
  869. package/lib/module/modules/bt-management/services/devices/checkme/checkme.sequencer.js +3 -7
  870. package/lib/module/modules/bt-management/services/devices/checkme/checkme.sequencer.js.map +1 -1
  871. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.device.js +1 -1
  872. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.device.js.map +1 -1
  873. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.protocol.js +12 -31
  874. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.protocol.js.map +1 -1
  875. package/lib/module/modules/bt-management/services/devices/custom/custom-lepu-sequencer.js +12 -11
  876. package/lib/module/modules/bt-management/services/devices/custom/custom-lepu-sequencer.js.map +1 -1
  877. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +15 -13
  878. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  879. package/lib/module/modules/bt-management/services/devices/f4/f4.device.js +1 -1
  880. package/lib/module/modules/bt-management/services/devices/f5/f5-scale.device.js +8 -10
  881. package/lib/module/modules/bt-management/services/devices/f5/f5-scale.device.js.map +1 -1
  882. package/lib/module/modules/bt-management/services/devices/f5/f5-scale.protocol.js +5 -18
  883. package/lib/module/modules/bt-management/services/devices/f5/f5-scale.protocol.js.map +1 -1
  884. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.device.js +5 -8
  885. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.device.js.map +1 -1
  886. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.protocol.js +7 -26
  887. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.protocol.js.map +1 -1
  888. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.js +3 -3
  889. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.js.map +1 -1
  890. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.js +5 -18
  891. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.js.map +1 -1
  892. package/lib/module/modules/bt-management/services/devices/joytech/joytech.device.js +5 -8
  893. package/lib/module/modules/bt-management/services/devices/joytech/joytech.device.js.map +1 -1
  894. package/lib/module/modules/bt-management/services/devices/joytech/joytech.protocol.js +7 -26
  895. package/lib/module/modules/bt-management/services/devices/joytech/joytech.protocol.js.map +1 -1
  896. package/lib/module/modules/bt-management/services/devices/jumper/jumper.device.js +1 -1
  897. package/lib/module/modules/bt-management/services/devices/jumper/jumper.device.js.map +1 -1
  898. package/lib/module/modules/bt-management/services/devices/lepu/lepu.command-builder.js +4 -6
  899. package/lib/module/modules/bt-management/services/devices/lepu/lepu.command-builder.js.map +1 -1
  900. package/lib/module/modules/bt-management/services/devices/lepu/lepu.frame-reader.js +5 -18
  901. package/lib/module/modules/bt-management/services/devices/lepu/lepu.frame-reader.js.map +1 -1
  902. package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js +5 -5
  903. package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
  904. package/lib/module/modules/bt-management/services/devices/monitor-service.js +22 -0
  905. package/lib/module/modules/bt-management/services/devices/monitor-service.js.map +1 -0
  906. package/lib/module/modules/bt-management/services/devices/sentinel-frame-reader.js +6 -23
  907. package/lib/module/modules/bt-management/services/devices/sentinel-frame-reader.js.map +1 -1
  908. package/lib/module/modules/bt-management/services/devices/spo/pc60fw.frame-reader.js +7 -26
  909. package/lib/module/modules/bt-management/services/devices/spo/pc60fw.frame-reader.js.map +1 -1
  910. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js +14 -11
  911. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js.map +1 -1
  912. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +3 -3
  913. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
  914. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.device.js +5 -8
  915. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.device.js.map +1 -1
  916. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.protocol.js +9 -25
  917. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.protocol.js.map +1 -1
  918. package/lib/module/modules/bt-management/services/devices/tmb/tmb.command-sequencer.js +4 -4
  919. package/lib/module/modules/bt-management/services/devices/tmb/tmb.command-sequencer.js.map +1 -1
  920. package/lib/module/modules/bt-management/services/devices/tmb/tmb.frame-reader.js +5 -18
  921. package/lib/module/modules/bt-management/services/devices/tmb/tmb.frame-reader.js.map +1 -1
  922. package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.js +2 -1
  923. package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.js.map +1 -1
  924. package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js +2 -2
  925. package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js.map +1 -1
  926. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.measurements.js +2 -2
  927. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.measurements.js.map +1 -1
  928. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.protocol.js +11 -26
  929. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.protocol.js.map +1 -1
  930. package/lib/module/modules/bt-management/services/devices/transtek/a6.device.js +6 -9
  931. package/lib/module/modules/bt-management/services/devices/transtek/a6.device.js.map +1 -1
  932. package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.device.js +1 -5
  933. package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.device.js.map +1 -1
  934. package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.protocol.js +17 -57
  935. package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.protocol.js.map +1 -1
  936. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.device.js +1 -1
  937. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.device.js.map +1 -1
  938. package/lib/module/modules/bt-management/services/devices/trasense/s9-frame-reader.js +3 -10
  939. package/lib/module/modules/bt-management/services/devices/trasense/s9-frame-reader.js.map +1 -1
  940. package/lib/module/modules/bt-management/services/devices/trasense/s9.command-sequencer.js +19 -23
  941. package/lib/module/modules/bt-management/services/devices/trasense/s9.command-sequencer.js.map +1 -1
  942. package/lib/module/modules/bt-management/services/devices/trasense/s9.device.js +1 -6
  943. package/lib/module/modules/bt-management/services/devices/trasense/s9.device.js.map +1 -1
  944. package/lib/module/modules/bt-management/services/devices/uebe/mysense.frame-reader.js +7 -26
  945. package/lib/module/modules/bt-management/services/devices/uebe/mysense.frame-reader.js.map +1 -1
  946. package/lib/module/modules/bt-management/services/devices/uebe/mysense.sequencer.js +2 -2
  947. package/lib/module/modules/bt-management/services/devices/uebe/mysense.sequencer.js.map +1 -1
  948. package/lib/module/modules/bt-management/services/devices/veroval/veroval-activity-frame-reader.js +5 -20
  949. package/lib/module/modules/bt-management/services/devices/veroval/veroval-activity-frame-reader.js.map +1 -1
  950. package/lib/module/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js +6 -7
  951. package/lib/module/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js.map +1 -1
  952. package/lib/module/modules/bt-management/services/devices/veroval/veroval.activity-device.js +2 -3
  953. package/lib/module/modules/bt-management/services/devices/veroval/veroval.activity-device.js.map +1 -1
  954. package/lib/module/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.js +2 -1
  955. package/lib/module/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.js.map +1 -1
  956. package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-device.js +1 -1
  957. package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-device.js.map +1 -1
  958. package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-transfer.js +2 -3
  959. package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-transfer.js.map +1 -1
  960. package/lib/module/modules/bt-management/services/devices/viatom/ap20.device.js +8 -10
  961. package/lib/module/modules/bt-management/services/devices/viatom/ap20.device.js.map +1 -1
  962. package/lib/module/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.js +4 -6
  963. package/lib/module/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.js.map +1 -1
  964. package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.device.js +8 -10
  965. package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.device.js.map +1 -1
  966. package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.js +10 -29
  967. package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.js.map +1 -1
  968. package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js +2 -7
  969. package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js.map +1 -1
  970. package/lib/module/modules/bt-management/services/devices/viatom/lpm311.protocol.js +3 -10
  971. package/lib/module/modules/bt-management/services/devices/viatom/lpm311.protocol.js.map +1 -1
  972. package/lib/module/modules/bt-management/services/devices/viatom/lpm311.sequencer.js +2 -1
  973. package/lib/module/modules/bt-management/services/devices/viatom/lpm311.sequencer.js.map +1 -1
  974. package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.device.js +11 -20
  975. package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.device.js.map +1 -1
  976. package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.protocol.js +3 -4
  977. package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.protocol.js.map +1 -1
  978. package/lib/module/modules/bt-management/services/devices/viatom/pc68b.device.js +8 -10
  979. package/lib/module/modules/bt-management/services/devices/viatom/pc68b.device.js.map +1 -1
  980. package/lib/module/modules/bt-management/services/devices/viatom/pc80b.device.js +8 -11
  981. package/lib/module/modules/bt-management/services/devices/viatom/pc80b.device.js.map +1 -1
  982. package/lib/module/modules/bt-management/services/devices/viatom/pc80b.protocol.js +14 -30
  983. package/lib/module/modules/bt-management/services/devices/viatom/pc80b.protocol.js.map +1 -1
  984. package/lib/module/modules/bt-management/services/devices/viatom/pc80b.sequencer.js +2 -6
  985. package/lib/module/modules/bt-management/services/devices/viatom/pc80b.sequencer.js.map +1 -1
  986. package/lib/module/modules/bt-management/services/devices/viatom/pf10aw1.device.js +6 -13
  987. package/lib/module/modules/bt-management/services/devices/viatom/pf10aw1.device.js.map +1 -1
  988. package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.device.js +5 -8
  989. package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.device.js.map +1 -1
  990. package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.js +3 -10
  991. package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.js.map +1 -1
  992. package/lib/module/modules/bt-management/services/devices/viatom/sp20.device.js +8 -14
  993. package/lib/module/modules/bt-management/services/devices/viatom/sp20.device.js.map +1 -1
  994. package/lib/module/modules/bt-management/services/devices/viatom/sp20.protocol.js +10 -29
  995. package/lib/module/modules/bt-management/services/devices/viatom/sp20.protocol.js.map +1 -1
  996. package/lib/module/modules/bt-management/services/devices/viatom/sp20.sequencer.js +2 -6
  997. package/lib/module/modules/bt-management/services/devices/viatom/sp20.sequencer.js.map +1 -1
  998. package/lib/module/modules/bt-management/services/devices/viatom/viatom-aa55.protocol.js +11 -30
  999. package/lib/module/modules/bt-management/services/devices/viatom/viatom-aa55.protocol.js.map +1 -1
  1000. package/lib/module/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js +2 -6
  1001. package/lib/module/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js.map +1 -1
  1002. package/lib/module/modules/bt-management/services/devices/viatom/viatom-lepu-crypto.js +2 -1
  1003. package/lib/module/modules/bt-management/services/devices/viatom/viatom-lepu-crypto.js.map +1 -1
  1004. package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.device.js +9 -14
  1005. package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.device.js.map +1 -1
  1006. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.device.js +8 -10
  1007. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.device.js.map +1 -1
  1008. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.js +10 -26
  1009. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.js.map +1 -1
  1010. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js +2 -7
  1011. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js.map +1 -1
  1012. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.device.js +8 -10
  1013. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.device.js.map +1 -1
  1014. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.js +10 -29
  1015. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.js.map +1 -1
  1016. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js +2 -7
  1017. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js.map +1 -1
  1018. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.device.js +8 -10
  1019. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.device.js.map +1 -1
  1020. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.js +10 -29
  1021. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.js.map +1 -1
  1022. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js +2 -7
  1023. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js.map +1 -1
  1024. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.device.js +9 -11
  1025. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.device.js.map +1 -1
  1026. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.protocol.js +27 -29
  1027. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.protocol.js.map +1 -1
  1028. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js +20 -20
  1029. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js.map +1 -1
  1030. package/lib/module/modules/bt-management/services/devices/viatom/viatom.vtm20f.frame-reader.js +6 -22
  1031. package/lib/module/modules/bt-management/services/devices/viatom/viatom.vtm20f.frame-reader.js.map +1 -1
  1032. package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.device.js +6 -9
  1033. package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.device.js.map +1 -1
  1034. package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.protocol.js +33 -34
  1035. package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.protocol.js.map +1 -1
  1036. package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js +17 -19
  1037. package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js.map +1 -1
  1038. package/lib/module/modules/bt-management/services/devices/write-command.js +9 -0
  1039. package/lib/module/modules/bt-management/services/devices/write-command.js.map +1 -0
  1040. package/lib/module/modules/bt-management/services/devices/yonker/yonker.device.js +1 -1
  1041. package/lib/module/modules/bt-management/services/devices/yonker/yonker.device.js.map +1 -1
  1042. package/lib/module/modules/bt-management/services/devices/yonker/yonker.protocol.js +11 -30
  1043. package/lib/module/modules/bt-management/services/devices/yonker/yonker.protocol.js.map +1 -1
  1044. package/lib/module/modules/bt-management/utils/ascii-to-hex.js +7 -0
  1045. package/lib/module/modules/bt-management/utils/ascii-to-hex.js.map +1 -0
  1046. package/lib/module/modules/bt-management/utils/base-64-to-hex.js +2 -8
  1047. package/lib/module/modules/bt-management/utils/base-64-to-hex.js.map +1 -1
  1048. package/lib/module/modules/bt-management/utils/bytes-to-hex.js +5 -1
  1049. package/lib/module/modules/bt-management/utils/bytes-to-hex.js.map +1 -1
  1050. package/lib/module/modules/bt-management/utils/daily-total-day.js +16 -0
  1051. package/lib/module/modules/bt-management/utils/daily-total-day.js.map +1 -0
  1052. package/lib/module/modules/bt-management/utils/error-callback-payload.js +15 -0
  1053. package/lib/module/modules/bt-management/utils/error-callback-payload.js.map +1 -0
  1054. package/lib/module/modules/bt-management/utils/frame-read-results.js +26 -0
  1055. package/lib/module/modules/bt-management/utils/frame-read-results.js.map +1 -0
  1056. package/lib/module/modules/bt-management/utils/hex-to-base-64.js +1 -5
  1057. package/lib/module/modules/bt-management/utils/hex-to-base-64.js.map +1 -1
  1058. package/lib/module/modules/bt-management/utils/mirror-bluetooth-state.js +13 -0
  1059. package/lib/module/modules/bt-management/utils/mirror-bluetooth-state.js.map +1 -0
  1060. package/lib/module/modules/bt-management/utils/sum-bytes.js +5 -0
  1061. package/lib/module/modules/bt-management/utils/sum-bytes.js.map +1 -0
  1062. package/lib/module/modules/cms/hooks/use-cms-content.js +7 -24
  1063. package/lib/module/modules/cms/hooks/use-cms-content.js.map +1 -1
  1064. package/lib/module/modules/content/content-card/components/content-card.js +3 -20
  1065. package/lib/module/modules/content/content-card/components/content-card.js.map +1 -1
  1066. package/lib/module/modules/content/content-card/components/cover-badge.js +2 -3
  1067. package/lib/module/modules/content/content-card/components/cover-badge.js.map +1 -1
  1068. package/lib/module/modules/content/content-card/components/title.js +1 -5
  1069. package/lib/module/modules/content/content-card/components/title.js.map +1 -1
  1070. package/lib/module/modules/content/content-detail/components/content-detail-footer.js +3 -16
  1071. package/lib/module/modules/content/content-detail/components/content-detail-footer.js.map +1 -1
  1072. package/lib/module/modules/content/content-detail/components/content-detail-header.js +3 -16
  1073. package/lib/module/modules/content/content-detail/components/content-detail-header.js.map +1 -1
  1074. package/lib/module/modules/content/content-detail/components/metadata/content-detail-metadata-item.js +1 -1
  1075. package/lib/module/modules/content/content-detail/components/metadata/content-detail-metadata-item.js.map +1 -1
  1076. package/lib/module/modules/content/content-detail/context/hooks/use-composition.js +2 -8
  1077. package/lib/module/modules/content/content-detail/context/hooks/use-composition.js.map +1 -1
  1078. package/lib/module/modules/content/content-list/components/horizontal-list.js +1 -1
  1079. package/lib/module/modules/content/content-list/components/horizontal-list.js.map +1 -1
  1080. package/lib/module/modules/content/content-list/components/section.js +3 -15
  1081. package/lib/module/modules/content/content-list/components/section.js.map +1 -1
  1082. package/lib/module/modules/data-sync/components/android/android-health-connect-authorization-provider.js +1 -1
  1083. package/lib/module/modules/data-sync/components/android/android-health-connect-authorization-provider.js.map +1 -1
  1084. package/lib/module/modules/data-sync/components/android/android-health-sync.js +9 -65
  1085. package/lib/module/modules/data-sync/components/android/android-health-sync.js.map +1 -1
  1086. package/lib/module/modules/data-sync/components/apple/apple-health-authorization-provider.js +3 -2
  1087. package/lib/module/modules/data-sync/components/apple/apple-health-authorization-provider.js.map +1 -1
  1088. package/lib/module/modules/data-sync/components/apple/apple-health-sync.js +12 -86
  1089. package/lib/module/modules/data-sync/components/apple/apple-health-sync.js.map +1 -1
  1090. package/lib/module/modules/data-sync/constants.js +5 -1
  1091. package/lib/module/modules/data-sync/constants.js.map +1 -1
  1092. package/lib/module/modules/data-sync/contexts/health-authorization-context.js +2 -7
  1093. package/lib/module/modules/data-sync/contexts/health-authorization-context.js.map +1 -1
  1094. package/lib/module/modules/data-sync/hooks/use-health-import.js +2 -1
  1095. package/lib/module/modules/data-sync/hooks/use-health-import.js.map +1 -1
  1096. package/lib/module/modules/data-sync/hooks/use-health-sync-runner.js +95 -0
  1097. package/lib/module/modules/data-sync/hooks/use-health-sync-runner.js.map +1 -0
  1098. package/lib/module/modules/data-sync/services/android-health-sync-service.js +6 -13
  1099. package/lib/module/modules/data-sync/services/android-health-sync-service.js.map +1 -1
  1100. package/lib/module/modules/data-sync/services/apple-health-sync-service.js +6 -13
  1101. package/lib/module/modules/data-sync/services/apple-health-sync-service.js.map +1 -1
  1102. package/lib/module/modules/data-sync/services/base-health-sync-service.js +11 -6
  1103. package/lib/module/modules/data-sync/services/base-health-sync-service.js.map +1 -1
  1104. package/lib/module/modules/data-sync/services/managers/data-processor.js +4 -9
  1105. package/lib/module/modules/data-sync/services/managers/data-processor.js.map +1 -1
  1106. package/lib/module/modules/data-sync/services/managers/storage-manager.js +2 -3
  1107. package/lib/module/modules/data-sync/services/managers/storage-manager.js.map +1 -1
  1108. package/lib/module/modules/data-sync/types/health-sync-batch-error.js +2 -1
  1109. package/lib/module/modules/data-sync/types/health-sync-batch-error.js.map +1 -1
  1110. package/lib/module/modules/data-sync/utils/convert-generic-health-data.js +5 -14
  1111. package/lib/module/modules/data-sync/utils/convert-generic-health-data.js.map +1 -1
  1112. package/lib/module/modules/data-sync/utils/convert-records-to-observation.js +8 -16
  1113. package/lib/module/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
  1114. package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js +15 -25
  1115. package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
  1116. package/lib/module/modules/data-sync/utils/create-progress-collector.js +11 -0
  1117. package/lib/module/modules/data-sync/utils/create-progress-collector.js.map +1 -0
  1118. package/lib/module/modules/data-sync/utils/fhir-systems.js +8 -0
  1119. package/lib/module/modules/data-sync/utils/fhir-systems.js.map +1 -0
  1120. package/lib/module/modules/data-sync/utils/generate-observation-entry.js +7 -6
  1121. package/lib/module/modules/data-sync/utils/generate-observation-entry.js.map +1 -1
  1122. package/lib/module/modules/data-sync/utils/get-latest-observation-dates-by-code.js +2 -1
  1123. package/lib/module/modules/data-sync/utils/get-latest-observation-dates-by-code.js.map +1 -1
  1124. package/lib/module/modules/data-sync/utils/get-latest-valid-start-date.js +2 -1
  1125. package/lib/module/modules/data-sync/utils/get-latest-valid-start-date.js.map +1 -1
  1126. package/lib/module/modules/data-sync/utils/get-records-from-health-connect.js +7 -5
  1127. package/lib/module/modules/data-sync/utils/get-records-from-health-connect.js.map +1 -1
  1128. package/lib/module/modules/data-sync/utils/get-samples-from-health.js +19 -35
  1129. package/lib/module/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
  1130. package/lib/module/modules/data-sync/utils/get-total-records-count.js +2 -2
  1131. package/lib/module/modules/data-sync/utils/get-total-records-count.js.map +1 -1
  1132. package/lib/module/modules/data-sync/utils/group-samples-by-interval.js +12 -0
  1133. package/lib/module/modules/data-sync/utils/group-samples-by-interval.js.map +1 -0
  1134. package/lib/module/modules/data-sync/utils/health-data-catalog.js +109 -274
  1135. package/lib/module/modules/data-sync/utils/health-data-catalog.js.map +1 -1
  1136. package/lib/module/modules/data-sync/utils/is-daily-aggregate-mode.js +5 -0
  1137. package/lib/module/modules/data-sync/utils/is-daily-aggregate-mode.js.map +1 -0
  1138. package/lib/module/modules/data-sync/utils/normalize-core-health-observation.js +1 -2
  1139. package/lib/module/modules/data-sync/utils/normalize-core-health-observation.js.map +1 -1
  1140. package/lib/module/modules/data-sync/utils/sync-window-start.js +8 -0
  1141. package/lib/module/modules/data-sync/utils/sync-window-start.js.map +1 -0
  1142. package/lib/module/modules/data-sync/utils/to-core-health-observations.js +28 -0
  1143. package/lib/module/modules/data-sync/utils/to-core-health-observations.js.map +1 -0
  1144. package/lib/module/modules/helpers/form-items/form-date-field.js +2 -1
  1145. package/lib/module/modules/helpers/form-items/form-date-field.js.map +1 -1
  1146. package/lib/module/modules/helpers/form-items/form-select.js +1 -2
  1147. package/lib/module/modules/helpers/form-items/form-select.js.map +1 -1
  1148. package/lib/module/modules/helpers/hooks/use-latest-ref.js +11 -0
  1149. package/lib/module/modules/helpers/hooks/use-latest-ref.js.map +1 -0
  1150. package/lib/module/modules/helpers/hooks/use-required-context.js +13 -0
  1151. package/lib/module/modules/helpers/hooks/use-required-context.js.map +1 -0
  1152. package/lib/module/modules/helpers/spaced-view.js +20 -0
  1153. package/lib/module/modules/helpers/spaced-view.js.map +1 -0
  1154. package/lib/module/modules/helpers/surface-card.js +22 -0
  1155. package/lib/module/modules/helpers/surface-card.js.map +1 -0
  1156. package/lib/module/modules/helpers/utils/local-date.js +5 -0
  1157. package/lib/module/modules/helpers/utils/local-date.js.map +1 -0
  1158. package/lib/module/modules/helpers/utils/telemetry.js +38 -69
  1159. package/lib/module/modules/helpers/utils/telemetry.js.map +1 -1
  1160. package/lib/module/modules/helpers/utils/to-error.js +5 -0
  1161. package/lib/module/modules/helpers/utils/to-error.js.map +1 -0
  1162. package/lib/module/modules/image/components/optimized-image.js +2 -2
  1163. package/lib/module/modules/image/components/optimized-image.js.map +1 -1
  1164. package/lib/module/modules/image/utils/calculate-dimension.js +1 -1
  1165. package/lib/module/modules/image/utils/calculate-dimension.js.map +1 -1
  1166. package/lib/module/modules/journal/past-journal/components/answer.js +2 -1
  1167. package/lib/module/modules/journal/past-journal/components/answer.js.map +1 -1
  1168. package/lib/module/modules/journal/past-journal/components/past-journal-card.js +3 -20
  1169. package/lib/module/modules/journal/past-journal/components/past-journal-card.js.map +1 -1
  1170. package/lib/module/modules/journal/today-question/components/gradient.js +1 -11
  1171. package/lib/module/modules/journal/today-question/components/gradient.js.map +1 -1
  1172. package/lib/module/modules/journal/today-question/components/today-question-card.js +3 -18
  1173. package/lib/module/modules/journal/today-question/components/today-question-card.js.map +1 -1
  1174. package/lib/module/modules/language-switcher/components/language-switcher.js +3 -3
  1175. package/lib/module/modules/language-switcher/components/language-switcher.js.map +1 -1
  1176. package/lib/module/modules/language-switcher/components/option/hooks/use-language-option.js +2 -8
  1177. package/lib/module/modules/language-switcher/components/option/hooks/use-language-option.js.map +1 -1
  1178. package/lib/module/modules/language-switcher/hooks/use-language-switcher.js +2 -8
  1179. package/lib/module/modules/language-switcher/hooks/use-language-switcher.js.map +1 -1
  1180. package/lib/module/modules/measurement/components/date-range.js +9 -22
  1181. package/lib/module/modules/measurement/components/date-range.js.map +1 -1
  1182. package/lib/module/modules/observation-detail/components/date-time.js +1 -5
  1183. package/lib/module/modules/observation-detail/components/date-time.js.map +1 -1
  1184. package/lib/module/modules/observation-detail/components/observation-detail.js +9 -11
  1185. package/lib/module/modules/observation-detail/components/observation-detail.js.map +1 -1
  1186. package/lib/module/modules/observation-detail/components/photo-preview.js +1 -1
  1187. package/lib/module/modules/observation-detail/components/photo-preview.js.map +1 -1
  1188. package/lib/module/modules/observation-detail/components/preview-modal.js +47 -60
  1189. package/lib/module/modules/observation-detail/components/preview-modal.js.map +1 -1
  1190. package/lib/module/modules/patient/components/card/patient-gender.js +17 -39
  1191. package/lib/module/modules/patient/components/card/patient-gender.js.map +1 -1
  1192. package/lib/module/modules/pdf/components/pdf-viewer.js +1 -5
  1193. package/lib/module/modules/pdf/components/pdf-viewer.js.map +1 -1
  1194. package/lib/module/modules/progress-ring/components/progress-ring.js +1 -5
  1195. package/lib/module/modules/progress-ring/components/progress-ring.js.map +1 -1
  1196. package/lib/module/modules/questionnaire-response-form/components/content/questionnaire-content-all-items.js +1 -2
  1197. package/lib/module/modules/questionnaire-response-form/components/content/questionnaire-content-all-items.js.map +1 -1
  1198. package/lib/module/modules/questionnaire-response-form/components/content/questionnaire-content-item.js +8 -39
  1199. package/lib/module/modules/questionnaire-response-form/components/content/questionnaire-content-item.js.map +1 -1
  1200. package/lib/module/modules/questionnaire-response-form/components/content/questionnaire-content-specific-item.js +1 -2
  1201. package/lib/module/modules/questionnaire-response-form/components/content/questionnaire-content-specific-item.js.map +1 -1
  1202. package/lib/module/modules/questionnaire-response-form/components/content/questionnaire-content.js +2 -2
  1203. package/lib/module/modules/questionnaire-response-form/components/content/questionnaire-content.js.map +1 -1
  1204. package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js +9 -45
  1205. package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js.map +1 -1
  1206. package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.js +5 -9
  1207. package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.js.map +1 -1
  1208. package/lib/module/modules/questionnaire-response-form/components/questionnaire-form-provider.js +8 -5
  1209. package/lib/module/modules/questionnaire-response-form/components/questionnaire-form-provider.js.map +1 -1
  1210. package/lib/module/modules/questionnaire-response-form/default-translation.js +2 -0
  1211. package/lib/module/modules/questionnaire-response-form/default-translation.js.map +1 -1
  1212. package/lib/module/modules/questionnaire-response-form/hooks/use-initial-selected-values.js +4 -16
  1213. package/lib/module/modules/questionnaire-response-form/hooks/use-initial-selected-values.js.map +1 -1
  1214. package/lib/module/modules/questionnaire-response-form/hooks/use-navigation-handlers.js +1 -11
  1215. package/lib/module/modules/questionnaire-response-form/hooks/use-navigation-handlers.js.map +1 -1
  1216. package/lib/module/modules/questionnaire-response-form/hooks/use-questionnaire-form.js +2 -8
  1217. package/lib/module/modules/questionnaire-response-form/hooks/use-questionnaire-form.js.map +1 -1
  1218. package/lib/module/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.js +7 -5
  1219. package/lib/module/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.js.map +1 -1
  1220. package/lib/module/modules/questionnaire-response-form/hooks/use-questionnaire-navigation.js +2 -8
  1221. package/lib/module/modules/questionnaire-response-form/hooks/use-questionnaire-navigation.js.map +1 -1
  1222. package/lib/module/modules/questionnaire-response-form/types/index.js +0 -2
  1223. package/lib/module/modules/questionnaire-response-form/types/index.js.map +1 -1
  1224. package/lib/module/modules/questionnaire-response-form/utils/condition-utils.js +3 -1
  1225. package/lib/module/modules/questionnaire-response-form/utils/condition-utils.js.map +1 -1
  1226. package/lib/module/modules/questionnaire-response-form/utils/conditions/boolean-condition.js +2 -7
  1227. package/lib/module/modules/questionnaire-response-form/utils/conditions/boolean-condition.js.map +1 -1
  1228. package/lib/module/modules/questionnaire-response-form/utils/conditions/compare.js +34 -0
  1229. package/lib/module/modules/questionnaire-response-form/utils/conditions/compare.js.map +1 -0
  1230. package/lib/module/modules/questionnaire-response-form/utils/conditions/date-condition.js +2 -42
  1231. package/lib/module/modules/questionnaire-response-form/utils/conditions/date-condition.js.map +1 -1
  1232. package/lib/module/modules/questionnaire-response-form/utils/conditions/decimal-condition.js +2 -19
  1233. package/lib/module/modules/questionnaire-response-form/utils/conditions/decimal-condition.js.map +1 -1
  1234. package/lib/module/modules/questionnaire-response-form/utils/conditions/fhir-condition.js +6 -51
  1235. package/lib/module/modules/questionnaire-response-form/utils/conditions/fhir-condition.js.map +1 -1
  1236. package/lib/module/modules/questionnaire-response-form/utils/conditions/string-condition.js +2 -7
  1237. package/lib/module/modules/questionnaire-response-form/utils/conditions/string-condition.js.map +1 -1
  1238. package/lib/module/modules/questionnaire-response-form/utils/fhir-time.js +21 -0
  1239. package/lib/module/modules/questionnaire-response-form/utils/fhir-time.js.map +1 -0
  1240. package/lib/module/modules/questionnaire-response-form/utils/fields/get-keyboard-type.js +1 -3
  1241. package/lib/module/modules/questionnaire-response-form/utils/fields/get-keyboard-type.js.map +1 -1
  1242. package/lib/module/modules/questionnaire-response-form/utils/form-utils.js +13 -13
  1243. package/lib/module/modules/questionnaire-response-form/utils/form-utils.js.map +1 -1
  1244. package/lib/module/modules/questionnaire-response-form/utils/form-validation.js +2 -3
  1245. package/lib/module/modules/questionnaire-response-form/utils/form-validation.js.map +1 -1
  1246. package/lib/module/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.js +5 -1
  1247. package/lib/module/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.js.map +1 -1
  1248. package/lib/module/modules/questionnaire-response-form/utils/questionnaire-date-utils.js +31 -1
  1249. package/lib/module/modules/questionnaire-response-form/utils/questionnaire-date-utils.js.map +1 -1
  1250. package/lib/module/modules/questionnaire-response-form/utils/questionnaire-navigation-utils.js +4 -4
  1251. package/lib/module/modules/questionnaire-response-form/utils/questionnaire-navigation-utils.js.map +1 -1
  1252. package/lib/module/modules/questionnaire-response-form/utils/questionnaire-string-constraint-validator.js +4 -17
  1253. package/lib/module/modules/questionnaire-response-form/utils/questionnaire-string-constraint-validator.js.map +1 -1
  1254. package/lib/module/modules/socket/components/socket-provider.js +3 -10
  1255. package/lib/module/modules/socket/components/socket-provider.js.map +1 -1
  1256. package/lib/module/modules/socket/hooks/use-socket.js +2 -8
  1257. package/lib/module/modules/socket/hooks/use-socket.js.map +1 -1
  1258. package/lib/module/modules/tab/components/tab-provider.js +3 -3
  1259. package/lib/module/modules/tab/components/tab-provider.js.map +1 -1
  1260. package/lib/module/modules/tab/hooks/use-tab.js +2 -8
  1261. package/lib/module/modules/tab/hooks/use-tab.js.map +1 -1
  1262. package/lib/module/modules/theme/utils/generate-theme.js +4 -2
  1263. package/lib/module/modules/theme/utils/generate-theme.js.map +1 -1
  1264. package/lib/module/modules/tile/components/complete-animation.js +1 -5
  1265. package/lib/module/modules/tile/components/complete-animation.js.map +1 -1
  1266. package/lib/module/modules/ui/components/background-sync-setting.js +26 -13
  1267. package/lib/module/modules/ui/components/background-sync-setting.js.map +1 -1
  1268. package/lib/module/modules/ui/components/bluetooth-state-notice.js +10 -24
  1269. package/lib/module/modules/ui/components/bluetooth-state-notice.js.map +1 -1
  1270. package/lib/module/modules/ui/components/calendar.js +3 -2
  1271. package/lib/module/modules/ui/components/calendar.js.map +1 -1
  1272. package/lib/module/modules/ui/components/ecg-strip-viewer.js +7 -21
  1273. package/lib/module/modules/ui/components/ecg-strip-viewer.js.map +1 -1
  1274. package/lib/module/modules/ui/components/flow-frame.js +3 -2
  1275. package/lib/module/modules/ui/components/flow-frame.js.map +1 -1
  1276. package/lib/module/modules/ui/components/health-import-card.js +37 -24
  1277. package/lib/module/modules/ui/components/health-import-card.js.map +1 -1
  1278. package/lib/module/modules/ui/components/manual-entry-form.js +6 -4
  1279. package/lib/module/modules/ui/components/manual-entry-form.js.map +1 -1
  1280. package/lib/module/modules/ui/components/nearby-device-prompt.js +18 -17
  1281. package/lib/module/modules/ui/components/nearby-device-prompt.js.map +1 -1
  1282. package/lib/module/modules/ui/components/pairing-flow.js +33 -29
  1283. package/lib/module/modules/ui/components/pairing-flow.js.map +1 -1
  1284. package/lib/module/modules/ui/components/period-calendar.js +3 -2
  1285. package/lib/module/modules/ui/components/period-calendar.js.map +1 -1
  1286. package/lib/module/modules/ui/components/supported-devices-catalog-list.js +5 -4
  1287. package/lib/module/modules/ui/components/supported-devices-catalog-list.js.map +1 -1
  1288. package/lib/module/modules/ui/components/urine-test-result.js +4 -3
  1289. package/lib/module/modules/ui/components/urine-test-result.js.map +1 -1
  1290. package/lib/module/modules/ui/use-ovok-ui.js +7 -7
  1291. package/lib/module/modules/ui/use-ovok-ui.js.map +1 -1
  1292. package/lib/module/modules/ui/utils/calendar-date.js +1 -1
  1293. package/lib/module/modules/ui/utils/calendar-date.js.map +1 -1
  1294. package/lib/typescript/commonjs/src/modules/auth/components/auth-header.d.ts +14 -0
  1295. package/lib/typescript/commonjs/src/modules/auth/components/auth-header.d.ts.map +1 -0
  1296. package/lib/typescript/commonjs/src/modules/auth/components/auth-scroll-view.d.ts +6 -0
  1297. package/lib/typescript/commonjs/src/modules/auth/components/auth-scroll-view.d.ts.map +1 -0
  1298. package/lib/typescript/commonjs/src/modules/auth/components/auth-separator.d.ts +5 -0
  1299. package/lib/typescript/commonjs/src/modules/auth/components/auth-separator.d.ts.map +1 -0
  1300. package/lib/typescript/commonjs/src/modules/auth/components/auth-submit-button.d.ts +15 -0
  1301. package/lib/typescript/commonjs/src/modules/auth/components/auth-submit-button.d.ts.map +1 -0
  1302. package/lib/typescript/commonjs/src/modules/auth/components/auth-switch-link.d.ts +9 -0
  1303. package/lib/typescript/commonjs/src/modules/auth/components/auth-switch-link.d.ts.map +1 -0
  1304. package/lib/typescript/commonjs/src/modules/auth/components/password-field.d.ts +5 -0
  1305. package/lib/typescript/commonjs/src/modules/auth/components/password-field.d.ts.map +1 -0
  1306. package/lib/typescript/commonjs/src/modules/auth/default-translation.d.ts +31 -1
  1307. package/lib/typescript/commonjs/src/modules/auth/default-translation.d.ts.map +1 -1
  1308. package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-in.d.ts.map +1 -1
  1309. package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.d.ts +2 -3
  1310. package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.d.ts.map +1 -1
  1311. package/lib/typescript/commonjs/src/modules/auth/profile/components/form-phone-field.d.ts +2 -2
  1312. package/lib/typescript/commonjs/src/modules/auth/profile/components/form-phone-field.d.ts.map +1 -1
  1313. package/lib/typescript/commonjs/src/modules/auth/profile/components/profile-form-choice-field.d.ts +1 -2
  1314. package/lib/typescript/commonjs/src/modules/auth/profile/components/profile-form-choice-field.d.ts.map +1 -1
  1315. package/lib/typescript/commonjs/src/modules/auth/profile/hooks/use-profile-form.d.ts +1 -2
  1316. package/lib/typescript/commonjs/src/modules/auth/profile/hooks/use-profile-form.d.ts.map +1 -1
  1317. package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-context-type.d.ts +1 -1
  1318. package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-context-type.d.ts.map +1 -1
  1319. package/lib/typescript/commonjs/src/modules/auth/register/components/form/inputs.d.ts +1 -1
  1320. package/lib/typescript/commonjs/src/modules/auth/register/components/form/inputs.d.ts.map +1 -1
  1321. package/lib/typescript/commonjs/src/modules/auth/register/components/form/register-button.d.ts +1 -1
  1322. package/lib/typescript/commonjs/src/modules/auth/register/components/form/register-button.d.ts.map +1 -1
  1323. package/lib/typescript/commonjs/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
  1324. package/lib/typescript/commonjs/src/modules/auth/register/components/form/register-with-email.d.ts +2 -2
  1325. package/lib/typescript/commonjs/src/modules/auth/register/components/login-link.d.ts +3 -2
  1326. package/lib/typescript/commonjs/src/modules/auth/register/components/login-link.d.ts.map +1 -1
  1327. package/lib/typescript/commonjs/src/modules/auth/register/components/register-with-separator.d.ts +2 -4
  1328. package/lib/typescript/commonjs/src/modules/auth/register/components/register-with-separator.d.ts.map +1 -1
  1329. package/lib/typescript/commonjs/src/modules/auth/register/components/register.d.ts +9 -11
  1330. package/lib/typescript/commonjs/src/modules/auth/register/components/register.d.ts.map +1 -1
  1331. package/lib/typescript/commonjs/src/modules/auth/register/hooks/use-register-form.d.ts.map +1 -1
  1332. package/lib/typescript/commonjs/src/modules/auth/register/types/register-button-props.d.ts +2 -6
  1333. package/lib/typescript/commonjs/src/modules/auth/register/types/register-button-props.d.ts.map +1 -1
  1334. package/lib/typescript/commonjs/src/modules/auth/register/utils/create-register-validation-schema.d.ts.map +1 -1
  1335. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/inputs.d.ts +1 -1
  1336. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/inputs.d.ts.map +1 -1
  1337. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/reset-password-button.d.ts +1 -1
  1338. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/reset-password-button.d.ts.map +1 -1
  1339. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts.map +1 -1
  1340. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/reset-password-form.d.ts +2 -2
  1341. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/reset-password.d.ts +4 -4
  1342. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/reset-password.d.ts.map +1 -1
  1343. package/lib/typescript/commonjs/src/modules/auth/reset-password/hooks/use-reset-password-form.d.ts +48 -1
  1344. package/lib/typescript/commonjs/src/modules/auth/reset-password/hooks/use-reset-password-form.d.ts.map +1 -1
  1345. package/lib/typescript/commonjs/src/modules/auth/reset-password/types/reset-password-button-props.d.ts +2 -6
  1346. package/lib/typescript/commonjs/src/modules/auth/reset-password/types/reset-password-button-props.d.ts.map +1 -1
  1347. package/lib/typescript/commonjs/src/modules/auth/reset-password/types/reset-password-header-props.d.ts +2 -7
  1348. package/lib/typescript/commonjs/src/modules/auth/reset-password/types/reset-password-header-props.d.ts.map +1 -1
  1349. package/lib/typescript/commonjs/src/modules/auth/session/components/session-list.d.ts.map +1 -1
  1350. package/lib/typescript/commonjs/src/modules/auth/session/save-login.d.ts +4 -0
  1351. package/lib/typescript/commonjs/src/modules/auth/session/save-login.d.ts.map +1 -0
  1352. package/lib/typescript/commonjs/src/modules/auth/session/session-store-refresh.d.ts.map +1 -1
  1353. package/lib/typescript/commonjs/src/modules/auth/session/session-store-types.d.ts +3 -1
  1354. package/lib/typescript/commonjs/src/modules/auth/session/session-store-types.d.ts.map +1 -1
  1355. package/lib/typescript/commonjs/src/modules/auth/session/session-store.d.ts.map +1 -1
  1356. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/inputs.d.ts +1 -1
  1357. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/inputs.d.ts.map +1 -1
  1358. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/login-form-provider.d.ts.map +1 -1
  1359. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/sign-in-with-email.d.ts +2 -2
  1360. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/signin-button.d.ts +1 -1
  1361. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/signin-button.d.ts.map +1 -1
  1362. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/login-with-separator.d.ts +1 -1
  1363. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/login-with-separator.d.ts.map +1 -1
  1364. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/register-link.d.ts +3 -2
  1365. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/register-link.d.ts.map +1 -1
  1366. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/sign-in.d.ts +9 -11
  1367. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/sign-in.d.ts.map +1 -1
  1368. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
  1369. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-text.d.ts.map +1 -1
  1370. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login.d.ts +1 -3
  1371. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login.d.ts.map +1 -1
  1372. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-icon.d.ts +1 -5
  1373. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-icon.d.ts.map +1 -1
  1374. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
  1375. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-text.d.ts.map +1 -1
  1376. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login.d.ts +2 -4
  1377. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login.d.ts.map +1 -1
  1378. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/social-login-button.d.ts +6 -0
  1379. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/social-login-button.d.ts.map +1 -0
  1380. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/social-logins.d.ts +3 -5
  1381. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/social-logins.d.ts.map +1 -1
  1382. package/lib/typescript/commonjs/src/modules/auth/sign-in/hooks/use-login-form.d.ts +54 -1
  1383. package/lib/typescript/commonjs/src/modules/auth/sign-in/hooks/use-login-form.d.ts.map +1 -1
  1384. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-context-type.d.ts +1 -2
  1385. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-context-type.d.ts.map +1 -1
  1386. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/sign-in-header-props.d.ts +2 -6
  1387. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/sign-in-header-props.d.ts.map +1 -1
  1388. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/signin-button-props.d.ts +2 -6
  1389. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/signin-button-props.d.ts.map +1 -1
  1390. package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/create-login-validation-schema.d.ts.map +1 -1
  1391. package/lib/typescript/commonjs/src/modules/auth/types/auth-header-props.d.ts +8 -0
  1392. package/lib/typescript/commonjs/src/modules/auth/types/auth-header-props.d.ts.map +1 -0
  1393. package/lib/typescript/commonjs/src/modules/auth/types/auth-submit-button-props.d.ts +7 -0
  1394. package/lib/typescript/commonjs/src/modules/auth/types/auth-submit-button-props.d.ts.map +1 -0
  1395. package/lib/typescript/commonjs/src/modules/auth/types/form-inputs-props.d.ts.map +1 -0
  1396. package/lib/typescript/commonjs/src/modules/auth/utils/apply-submit-error.d.ts +11 -0
  1397. package/lib/typescript/commonjs/src/modules/auth/utils/apply-submit-error.d.ts.map +1 -0
  1398. package/lib/typescript/commonjs/src/modules/auth/utils/validation.d.ts +6 -0
  1399. package/lib/typescript/commonjs/src/modules/auth/utils/validation.d.ts.map +1 -0
  1400. package/lib/typescript/commonjs/src/modules/background-sync/android-background-sync.d.ts.map +1 -1
  1401. package/lib/typescript/commonjs/src/modules/breathing-exercise/components/method-type-icon.d.ts.map +1 -1
  1402. package/lib/typescript/commonjs/src/modules/breathing-exercise/hooks/use-breathing-exercise.d.ts +10 -1
  1403. package/lib/typescript/commonjs/src/modules/breathing-exercise/hooks/use-breathing-exercise.d.ts.map +1 -1
  1404. package/lib/typescript/commonjs/src/modules/bt-device/components/btdevice-instruction.d.ts.map +1 -1
  1405. package/lib/typescript/commonjs/src/modules/bt-device/components/hooks/use-device-list.d.ts.map +1 -1
  1406. package/lib/typescript/commonjs/src/modules/bt-device/components/item/bottom-container.d.ts +2 -2
  1407. package/lib/typescript/commonjs/src/modules/bt-device/components/item/bottom-container.d.ts.map +1 -1
  1408. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-list-items.d.ts.map +1 -1
  1409. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-and-medical-variants.d.ts +1 -1
  1410. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-and-medical-variants.d.ts.map +1 -1
  1411. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-aoj-variants.d.ts +1 -1
  1412. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-aoj-variants.d.ts.map +1 -1
  1413. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-art.d.ts +10 -0
  1414. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-art.d.ts.map +1 -0
  1415. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +3 -1
  1416. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -1
  1417. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.d.ts +1 -1
  1418. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.d.ts.map +1 -1
  1419. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -1
  1420. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-famidoc-variants.d.ts +1 -1
  1421. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-famidoc-variants.d.ts.map +1 -1
  1422. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-joytech-variants.d.ts +1 -1
  1423. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-joytech-variants.d.ts.map +1 -1
  1424. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-jumper-variants.d.ts +1 -1
  1425. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-jumper-variants.d.ts.map +1 -1
  1426. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-standard-variants.d.ts +1 -1
  1427. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-standard-variants.d.ts.map +1 -1
  1428. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.d.ts +1 -1
  1429. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.d.ts.map +1 -1
  1430. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.d.ts +1 -1
  1431. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.d.ts.map +1 -1
  1432. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.d.ts +1 -1
  1433. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.d.ts.map +1 -1
  1434. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-transtek-variants.d.ts +1 -1
  1435. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-transtek-variants.d.ts.map +1 -1
  1436. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-variants.d.ts +0 -8
  1437. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-variants.d.ts.map +1 -1
  1438. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-yonker-variants.d.ts +1 -1
  1439. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-yonker-variants.d.ts.map +1 -1
  1440. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  1441. package/lib/typescript/commonjs/src/modules/bt-device/utils/slugify.d.ts +3 -0
  1442. package/lib/typescript/commonjs/src/modules/bt-device/utils/slugify.d.ts.map +1 -0
  1443. package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  1444. package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -1
  1445. package/lib/typescript/commonjs/src/modules/bt-management/constants/preferred-mtu.d.ts +6 -0
  1446. package/lib/typescript/commonjs/src/modules/bt-management/constants/preferred-mtu.d.ts.map +1 -0
  1447. package/lib/typescript/commonjs/src/modules/bt-management/hooks/runtime-context.d.ts.map +1 -1
  1448. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-bluetooth-state.d.ts.map +1 -1
  1449. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-measurements.d.ts.map +1 -1
  1450. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts +0 -1
  1451. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts.map +1 -1
  1452. package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts +2 -0
  1453. package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
  1454. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/assert-integer-in-range.d.ts +3 -0
  1455. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/assert-integer-in-range.d.ts.map +1 -0
  1456. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-lepu.d.ts.map +1 -1
  1457. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
  1458. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.command-sequencer.d.ts.map +1 -1
  1459. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.frame-reader.d.ts.map +1 -1
  1460. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts.map +1 -1
  1461. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-70b.device.d.ts.map +1 -1
  1462. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-bp.device.d.ts.map +1 -1
  1463. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-bp.protocol.d.ts.map +1 -1
  1464. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.command-sequencer.d.ts.map +1 -1
  1465. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.frame-reader.d.ts.map +1 -1
  1466. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts +1 -2
  1467. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts.map +1 -1
  1468. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts.map +1 -1
  1469. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts +4 -0
  1470. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
  1471. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.d.ts.map +1 -1
  1472. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.d.ts.map +1 -1
  1473. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts +2 -0
  1474. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  1475. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.device.d.ts +0 -2
  1476. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.device.d.ts.map +1 -1
  1477. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts.map +1 -1
  1478. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-envelope.d.ts +7 -0
  1479. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-envelope.d.ts.map +1 -0
  1480. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.device.d.ts.map +1 -1
  1481. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.protocol.d.ts +1 -3
  1482. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.protocol.d.ts.map +1 -1
  1483. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts.map +1 -1
  1484. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts +0 -1
  1485. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts.map +1 -1
  1486. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.protocol.d.ts.map +1 -1
  1487. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts.map +1 -1
  1488. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts.map +1 -1
  1489. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts.map +1 -1
  1490. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom-lepu-sequencer.d.ts +8 -8
  1491. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom-lepu-sequencer.d.ts.map +1 -1
  1492. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts +2 -0
  1493. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  1494. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f4/f4.device.d.ts +1 -1
  1495. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.device.d.ts.map +1 -1
  1496. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.protocol.d.ts.map +1 -1
  1497. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/famidoc/famidoc.device.d.ts.map +1 -1
  1498. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/famidoc/famidoc.protocol.d.ts.map +1 -1
  1499. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.d.ts.map +1 -1
  1500. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.d.ts.map +1 -1
  1501. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/joytech/joytech.device.d.ts.map +1 -1
  1502. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/joytech/joytech.protocol.d.ts.map +1 -1
  1503. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/jumper/jumper.device.d.ts.map +1 -1
  1504. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.command-builder.d.ts.map +1 -1
  1505. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.frame-reader.d.ts.map +1 -1
  1506. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts.map +1 -1
  1507. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/monitor-service.d.ts +12 -0
  1508. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/monitor-service.d.ts.map +1 -0
  1509. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/sentinel-frame-reader.d.ts.map +1 -1
  1510. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/spo/pc60fw.frame-reader.d.ts.map +1 -1
  1511. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.d.ts.map +1 -1
  1512. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.d.ts.map +1 -1
  1513. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts.map +1 -1
  1514. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts.map +1 -1
  1515. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/tmb/tmb.command-sequencer.d.ts.map +1 -1
  1516. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/tmb/tmb.frame-reader.d.ts.map +1 -1
  1517. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.d.ts.map +1 -1
  1518. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.d.ts.map +1 -1
  1519. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.protocol.d.ts.map +1 -1
  1520. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6.device.d.ts.map +1 -1
  1521. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/mambo-a5.device.d.ts +0 -2
  1522. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/mambo-a5.device.d.ts.map +1 -1
  1523. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/mambo-a5.protocol.d.ts.map +1 -1
  1524. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.device.d.ts.map +1 -1
  1525. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/trasense/s9-frame-reader.d.ts.map +1 -1
  1526. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/trasense/s9.command-sequencer.d.ts +2 -0
  1527. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/trasense/s9.command-sequencer.d.ts.map +1 -1
  1528. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/trasense/s9.device.d.ts +0 -2
  1529. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/trasense/s9.device.d.ts.map +1 -1
  1530. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/mysense.frame-reader.d.ts.map +1 -1
  1531. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/mysense.sequencer.d.ts.map +1 -1
  1532. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval-activity-frame-reader.d.ts.map +1 -1
  1533. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts.map +1 -1
  1534. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.activity-device.d.ts +0 -1
  1535. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.activity-device.d.ts.map +1 -1
  1536. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.d.ts.map +1 -1
  1537. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-device.d.ts.map +1 -1
  1538. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-transfer.d.ts.map +1 -1
  1539. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/ap20.device.d.ts.map +1 -1
  1540. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.d.ts +0 -2
  1541. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.d.ts.map +1 -1
  1542. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.device.d.ts.map +1 -1
  1543. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.d.ts.map +1 -1
  1544. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts.map +1 -1
  1545. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts.map +1 -1
  1546. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/lpm311.sequencer.d.ts.map +1 -1
  1547. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.device.d.ts +0 -2
  1548. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.device.d.ts.map +1 -1
  1549. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.protocol.d.ts.map +1 -1
  1550. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc68b.device.d.ts.map +1 -1
  1551. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.device.d.ts +0 -1
  1552. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.device.d.ts.map +1 -1
  1553. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.protocol.d.ts.map +1 -1
  1554. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts.map +1 -1
  1555. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pf10aw1.device.d.ts +0 -2
  1556. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pf10aw1.device.d.ts.map +1 -1
  1557. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.device.d.ts.map +1 -1
  1558. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.d.ts.map +1 -1
  1559. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.device.d.ts +0 -2
  1560. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.device.d.ts.map +1 -1
  1561. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.protocol.d.ts.map +1 -1
  1562. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts.map +1 -1
  1563. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-aa55.protocol.d.ts.map +1 -1
  1564. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts.map +1 -1
  1565. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-lepu-crypto.d.ts.map +1 -1
  1566. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.device.d.ts +0 -2
  1567. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.device.d.ts.map +1 -1
  1568. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.device.d.ts.map +1 -1
  1569. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.d.ts.map +1 -1
  1570. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts.map +1 -1
  1571. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.device.d.ts.map +1 -1
  1572. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.d.ts.map +1 -1
  1573. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts.map +1 -1
  1574. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.device.d.ts.map +1 -1
  1575. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.d.ts.map +1 -1
  1576. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts.map +1 -1
  1577. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.device.d.ts.map +1 -1
  1578. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.protocol.d.ts.map +1 -1
  1579. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts.map +1 -1
  1580. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.vtm20f.frame-reader.d.ts.map +1 -1
  1581. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.device.d.ts.map +1 -1
  1582. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.protocol.d.ts.map +1 -1
  1583. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts.map +1 -1
  1584. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/write-command.d.ts +4 -0
  1585. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/write-command.d.ts.map +1 -0
  1586. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts.map +1 -1
  1587. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts.map +1 -1
  1588. package/lib/typescript/commonjs/src/modules/bt-management/utils/ascii-to-hex.d.ts +3 -0
  1589. package/lib/typescript/commonjs/src/modules/bt-management/utils/ascii-to-hex.d.ts.map +1 -0
  1590. package/lib/typescript/commonjs/src/modules/bt-management/utils/base-64-to-hex.d.ts.map +1 -1
  1591. package/lib/typescript/commonjs/src/modules/bt-management/utils/bytes-to-hex.d.ts +4 -1
  1592. package/lib/typescript/commonjs/src/modules/bt-management/utils/bytes-to-hex.d.ts.map +1 -1
  1593. package/lib/typescript/commonjs/src/modules/bt-management/utils/daily-total-day.d.ts +7 -0
  1594. package/lib/typescript/commonjs/src/modules/bt-management/utils/daily-total-day.d.ts.map +1 -0
  1595. package/lib/typescript/commonjs/src/modules/bt-management/utils/error-callback-payload.d.ts +9 -0
  1596. package/lib/typescript/commonjs/src/modules/bt-management/utils/error-callback-payload.d.ts.map +1 -0
  1597. package/lib/typescript/commonjs/src/modules/bt-management/utils/frame-read-results.d.ts +15 -0
  1598. package/lib/typescript/commonjs/src/modules/bt-management/utils/frame-read-results.d.ts.map +1 -0
  1599. package/lib/typescript/commonjs/src/modules/bt-management/utils/hex-to-base-64.d.ts.map +1 -1
  1600. package/lib/typescript/commonjs/src/modules/bt-management/utils/mirror-bluetooth-state.d.ts +5 -0
  1601. package/lib/typescript/commonjs/src/modules/bt-management/utils/mirror-bluetooth-state.d.ts.map +1 -0
  1602. package/lib/typescript/commonjs/src/modules/bt-management/utils/sum-bytes.d.ts +3 -0
  1603. package/lib/typescript/commonjs/src/modules/bt-management/utils/sum-bytes.d.ts.map +1 -0
  1604. package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-content.d.ts.map +1 -1
  1605. package/lib/typescript/commonjs/src/modules/content/content-card/components/content-card.d.ts +5 -6
  1606. package/lib/typescript/commonjs/src/modules/content/content-card/components/content-card.d.ts.map +1 -1
  1607. package/lib/typescript/commonjs/src/modules/content/content-card/components/title.d.ts.map +1 -1
  1608. package/lib/typescript/commonjs/src/modules/content/content-detail/components/content-detail-footer.d.ts +1 -2
  1609. package/lib/typescript/commonjs/src/modules/content/content-detail/components/content-detail-footer.d.ts.map +1 -1
  1610. package/lib/typescript/commonjs/src/modules/content/content-detail/components/content-detail-header.d.ts +1 -2
  1611. package/lib/typescript/commonjs/src/modules/content/content-detail/components/content-detail-header.d.ts.map +1 -1
  1612. package/lib/typescript/commonjs/src/modules/content/content-detail/components/content-detail.d.ts +2 -2
  1613. package/lib/typescript/commonjs/src/modules/content/content-detail/context/hooks/use-composition.d.ts.map +1 -1
  1614. package/lib/typescript/commonjs/src/modules/content/content-list/components/content-list.d.ts +1 -1
  1615. package/lib/typescript/commonjs/src/modules/content/content-list/components/section.d.ts +1 -1
  1616. package/lib/typescript/commonjs/src/modules/content/content-list/components/section.d.ts.map +1 -1
  1617. package/lib/typescript/commonjs/src/modules/data-sync/components/android/android-health-connect-authorization-provider.d.ts.map +1 -1
  1618. package/lib/typescript/commonjs/src/modules/data-sync/components/android/android-health-sync.d.ts.map +1 -1
  1619. package/lib/typescript/commonjs/src/modules/data-sync/components/apple/apple-health-authorization-provider.d.ts.map +1 -1
  1620. package/lib/typescript/commonjs/src/modules/data-sync/components/apple/apple-health-sync.d.ts.map +1 -1
  1621. package/lib/typescript/commonjs/src/modules/data-sync/constants.d.ts +4 -1
  1622. package/lib/typescript/commonjs/src/modules/data-sync/constants.d.ts.map +1 -1
  1623. package/lib/typescript/commonjs/src/modules/data-sync/contexts/health-authorization-context.d.ts.map +1 -1
  1624. package/lib/typescript/commonjs/src/modules/data-sync/hooks/use-health-import.d.ts.map +1 -1
  1625. package/lib/typescript/commonjs/src/modules/data-sync/hooks/use-health-sync-runner.d.ts +28 -0
  1626. package/lib/typescript/commonjs/src/modules/data-sync/hooks/use-health-sync-runner.d.ts.map +1 -0
  1627. package/lib/typescript/commonjs/src/modules/data-sync/services/android-health-sync-service.d.ts +0 -10
  1628. package/lib/typescript/commonjs/src/modules/data-sync/services/android-health-sync-service.d.ts.map +1 -1
  1629. package/lib/typescript/commonjs/src/modules/data-sync/services/apple-health-sync-service.d.ts +0 -10
  1630. package/lib/typescript/commonjs/src/modules/data-sync/services/apple-health-sync-service.d.ts.map +1 -1
  1631. package/lib/typescript/commonjs/src/modules/data-sync/services/base-health-sync-service.d.ts +9 -5
  1632. package/lib/typescript/commonjs/src/modules/data-sync/services/base-health-sync-service.d.ts.map +1 -1
  1633. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
  1634. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/storage-manager.d.ts +0 -1
  1635. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/storage-manager.d.ts.map +1 -1
  1636. package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-batch-error.d.ts.map +1 -1
  1637. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-generic-health-data.d.ts.map +1 -1
  1638. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-records-to-observation.d.ts.map +1 -1
  1639. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
  1640. package/lib/typescript/commonjs/src/modules/data-sync/utils/create-progress-collector.d.ts +7 -0
  1641. package/lib/typescript/commonjs/src/modules/data-sync/utils/create-progress-collector.d.ts.map +1 -0
  1642. package/lib/typescript/commonjs/src/modules/data-sync/utils/fhir-systems.d.ts +6 -0
  1643. package/lib/typescript/commonjs/src/modules/data-sync/utils/fhir-systems.d.ts.map +1 -0
  1644. package/lib/typescript/commonjs/src/modules/data-sync/utils/generate-observation-entry.d.ts.map +1 -1
  1645. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts.map +1 -1
  1646. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-latest-valid-start-date.d.ts.map +1 -1
  1647. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-records-from-health-connect.d.ts.map +1 -1
  1648. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts +16 -16
  1649. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
  1650. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-total-records-count.d.ts.map +1 -1
  1651. package/lib/typescript/commonjs/src/modules/data-sync/utils/group-samples-by-interval.d.ts +3 -0
  1652. package/lib/typescript/commonjs/src/modules/data-sync/utils/group-samples-by-interval.d.ts.map +1 -0
  1653. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-data-catalog.d.ts.map +1 -1
  1654. package/lib/typescript/commonjs/src/modules/data-sync/utils/is-daily-aggregate-mode.d.ts +4 -0
  1655. package/lib/typescript/commonjs/src/modules/data-sync/utils/is-daily-aggregate-mode.d.ts.map +1 -0
  1656. package/lib/typescript/commonjs/src/modules/data-sync/utils/normalize-core-health-observation.d.ts.map +1 -1
  1657. package/lib/typescript/commonjs/src/modules/data-sync/utils/sync-window-start.d.ts +3 -0
  1658. package/lib/typescript/commonjs/src/modules/data-sync/utils/sync-window-start.d.ts.map +1 -0
  1659. package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts +13 -0
  1660. package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts.map +1 -0
  1661. package/lib/typescript/commonjs/src/modules/helpers/form-items/form-date-field.d.ts.map +1 -1
  1662. package/lib/typescript/commonjs/src/modules/helpers/form-items/form-select.d.ts.map +1 -1
  1663. package/lib/typescript/commonjs/src/modules/helpers/hooks/use-latest-ref.d.ts +4 -0
  1664. package/lib/typescript/commonjs/src/modules/helpers/hooks/use-latest-ref.d.ts.map +1 -0
  1665. package/lib/typescript/commonjs/src/modules/helpers/hooks/use-required-context.d.ts +4 -0
  1666. package/lib/typescript/commonjs/src/modules/helpers/hooks/use-required-context.d.ts.map +1 -0
  1667. package/lib/typescript/commonjs/src/modules/helpers/spaced-view.d.ts +4 -0
  1668. package/lib/typescript/commonjs/src/modules/helpers/spaced-view.d.ts.map +1 -0
  1669. package/lib/typescript/commonjs/src/modules/helpers/surface-card.d.ts +8 -0
  1670. package/lib/typescript/commonjs/src/modules/helpers/surface-card.d.ts.map +1 -0
  1671. package/lib/typescript/commonjs/src/modules/helpers/utils/local-date.d.ts +3 -0
  1672. package/lib/typescript/commonjs/src/modules/helpers/utils/local-date.d.ts.map +1 -0
  1673. package/lib/typescript/commonjs/src/modules/helpers/utils/telemetry.d.ts.map +1 -1
  1674. package/lib/typescript/commonjs/src/modules/helpers/utils/to-error.d.ts +3 -0
  1675. package/lib/typescript/commonjs/src/modules/helpers/utils/to-error.d.ts.map +1 -0
  1676. package/lib/typescript/commonjs/src/modules/image/utils/calculate-dimension.d.ts +1 -1
  1677. package/lib/typescript/commonjs/src/modules/image/utils/calculate-dimension.d.ts.map +1 -1
  1678. package/lib/typescript/commonjs/src/modules/journal/past-journal/components/answer.d.ts +1 -1
  1679. package/lib/typescript/commonjs/src/modules/journal/past-journal/components/answer.d.ts.map +1 -1
  1680. package/lib/typescript/commonjs/src/modules/journal/past-journal/components/past-journal-card.d.ts +5 -6
  1681. package/lib/typescript/commonjs/src/modules/journal/past-journal/components/past-journal-card.d.ts.map +1 -1
  1682. package/lib/typescript/commonjs/src/modules/journal/today-question/components/gradient.d.ts +1 -2
  1683. package/lib/typescript/commonjs/src/modules/journal/today-question/components/gradient.d.ts.map +1 -1
  1684. package/lib/typescript/commonjs/src/modules/journal/today-question/components/today-question-card.d.ts +4 -3
  1685. package/lib/typescript/commonjs/src/modules/journal/today-question/components/today-question-card.d.ts.map +1 -1
  1686. package/lib/typescript/commonjs/src/modules/language-switcher/components/language-switcher.d.ts.map +1 -1
  1687. package/lib/typescript/commonjs/src/modules/language-switcher/components/option/hooks/use-language-option.d.ts.map +1 -1
  1688. package/lib/typescript/commonjs/src/modules/language-switcher/hooks/use-language-switcher.d.ts.map +1 -1
  1689. package/lib/typescript/commonjs/src/modules/measurement/components/date-range.d.ts.map +1 -1
  1690. package/lib/typescript/commonjs/src/modules/observation-detail/components/date-time.d.ts.map +1 -1
  1691. package/lib/typescript/commonjs/src/modules/observation-detail/components/observation-detail.d.ts.map +1 -1
  1692. package/lib/typescript/commonjs/src/modules/observation-detail/components/preview-modal.d.ts.map +1 -1
  1693. package/lib/typescript/commonjs/src/modules/patient/components/card/patient-gender.d.ts.map +1 -1
  1694. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/content/questionnaire-content-all-items.d.ts.map +1 -1
  1695. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/content/questionnaire-content-item.d.ts +2 -1
  1696. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/content/questionnaire-content-item.d.ts.map +1 -1
  1697. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/content/questionnaire-content-specific-item.d.ts.map +1 -1
  1698. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/content/questionnaire-content.d.ts +1 -1
  1699. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/content/questionnaire-content.d.ts.map +1 -1
  1700. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/fields/questionnaire-date-field.d.ts.map +1 -1
  1701. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.d.ts.map +1 -1
  1702. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/questionnaire-form-provider.d.ts.map +1 -1
  1703. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/default-translation.d.ts +2 -0
  1704. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/default-translation.d.ts.map +1 -1
  1705. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/hooks/use-initial-selected-values.d.ts.map +1 -1
  1706. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/hooks/use-navigation-handlers.d.ts.map +1 -1
  1707. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/hooks/use-questionnaire-form.d.ts.map +1 -1
  1708. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.d.ts.map +1 -1
  1709. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/hooks/use-questionnaire-navigation.d.ts.map +1 -1
  1710. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/index.d.ts +0 -3
  1711. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/index.d.ts.map +1 -1
  1712. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/condition-utils.d.ts +1 -0
  1713. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/condition-utils.d.ts.map +1 -1
  1714. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/conditions/boolean-condition.d.ts.map +1 -1
  1715. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/conditions/compare.d.ts +6 -0
  1716. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/conditions/compare.d.ts.map +1 -0
  1717. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/conditions/date-condition.d.ts.map +1 -1
  1718. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/conditions/decimal-condition.d.ts.map +1 -1
  1719. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/conditions/fhir-condition.d.ts.map +1 -1
  1720. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/conditions/string-condition.d.ts.map +1 -1
  1721. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/fhir-time.d.ts +3 -0
  1722. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/fhir-time.d.ts.map +1 -0
  1723. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/fields/get-keyboard-type.d.ts.map +1 -1
  1724. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/form-utils.d.ts +1 -0
  1725. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/form-utils.d.ts.map +1 -1
  1726. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/form-validation.d.ts.map +1 -1
  1727. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.d.ts +4 -1
  1728. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.d.ts.map +1 -1
  1729. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-date-utils.d.ts +5 -1
  1730. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-date-utils.d.ts.map +1 -1
  1731. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-navigation-utils.d.ts.map +1 -1
  1732. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-string-constraint-validator.d.ts.map +1 -1
  1733. package/lib/typescript/commonjs/src/modules/socket/components/socket-provider.d.ts.map +1 -1
  1734. package/lib/typescript/commonjs/src/modules/socket/hooks/use-socket.d.ts.map +1 -1
  1735. package/lib/typescript/commonjs/src/modules/tab/components/tab-provider.d.ts.map +1 -1
  1736. package/lib/typescript/commonjs/src/modules/tab/hooks/use-tab.d.ts.map +1 -1
  1737. package/lib/typescript/commonjs/src/modules/theme/utils/generate-theme.d.ts.map +1 -1
  1738. package/lib/typescript/commonjs/src/modules/tile/types/tile-props.d.ts +1 -1
  1739. package/lib/typescript/commonjs/src/modules/tile/types/tile-props.d.ts.map +1 -1
  1740. package/lib/typescript/commonjs/src/modules/ui/components/background-sync-setting.d.ts.map +1 -1
  1741. package/lib/typescript/commonjs/src/modules/ui/components/bluetooth-state-notice.d.ts.map +1 -1
  1742. package/lib/typescript/commonjs/src/modules/ui/components/calendar.d.ts.map +1 -1
  1743. package/lib/typescript/commonjs/src/modules/ui/components/ecg-strip-viewer.d.ts.map +1 -1
  1744. package/lib/typescript/commonjs/src/modules/ui/components/flow-frame.d.ts.map +1 -1
  1745. package/lib/typescript/commonjs/src/modules/ui/components/health-import-card.d.ts.map +1 -1
  1746. package/lib/typescript/commonjs/src/modules/ui/components/manual-entry-form.d.ts.map +1 -1
  1747. package/lib/typescript/commonjs/src/modules/ui/components/nearby-device-prompt.d.ts.map +1 -1
  1748. package/lib/typescript/commonjs/src/modules/ui/components/pairing-flow.d.ts.map +1 -1
  1749. package/lib/typescript/commonjs/src/modules/ui/components/period-calendar.d.ts.map +1 -1
  1750. package/lib/typescript/commonjs/src/modules/ui/components/supported-devices-catalog-list.d.ts.map +1 -1
  1751. package/lib/typescript/commonjs/src/modules/ui/components/urine-test-result.d.ts.map +1 -1
  1752. package/lib/typescript/commonjs/src/modules/ui/types.d.ts +2 -0
  1753. package/lib/typescript/commonjs/src/modules/ui/types.d.ts.map +1 -1
  1754. package/lib/typescript/commonjs/src/modules/ui/use-ovok-ui.d.ts +2 -2
  1755. package/lib/typescript/commonjs/src/modules/ui/use-ovok-ui.d.ts.map +1 -1
  1756. package/lib/typescript/commonjs/src/modules/ui/utils/calendar-date.d.ts +1 -1
  1757. package/lib/typescript/commonjs/src/modules/ui/utils/calendar-date.d.ts.map +1 -1
  1758. package/lib/typescript/module/src/modules/auth/components/auth-header.d.ts +14 -0
  1759. package/lib/typescript/module/src/modules/auth/components/auth-header.d.ts.map +1 -0
  1760. package/lib/typescript/module/src/modules/auth/components/auth-scroll-view.d.ts +6 -0
  1761. package/lib/typescript/module/src/modules/auth/components/auth-scroll-view.d.ts.map +1 -0
  1762. package/lib/typescript/module/src/modules/auth/components/auth-separator.d.ts +5 -0
  1763. package/lib/typescript/module/src/modules/auth/components/auth-separator.d.ts.map +1 -0
  1764. package/lib/typescript/module/src/modules/auth/components/auth-submit-button.d.ts +15 -0
  1765. package/lib/typescript/module/src/modules/auth/components/auth-submit-button.d.ts.map +1 -0
  1766. package/lib/typescript/module/src/modules/auth/components/auth-switch-link.d.ts +9 -0
  1767. package/lib/typescript/module/src/modules/auth/components/auth-switch-link.d.ts.map +1 -0
  1768. package/lib/typescript/module/src/modules/auth/components/password-field.d.ts +5 -0
  1769. package/lib/typescript/module/src/modules/auth/components/password-field.d.ts.map +1 -0
  1770. package/lib/typescript/module/src/modules/auth/default-translation.d.ts +31 -1
  1771. package/lib/typescript/module/src/modules/auth/default-translation.d.ts.map +1 -1
  1772. package/lib/typescript/module/src/modules/auth/hooks/use-sign-in.d.ts.map +1 -1
  1773. package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.d.ts +2 -3
  1774. package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.d.ts.map +1 -1
  1775. package/lib/typescript/module/src/modules/auth/profile/components/form-phone-field.d.ts +2 -2
  1776. package/lib/typescript/module/src/modules/auth/profile/components/form-phone-field.d.ts.map +1 -1
  1777. package/lib/typescript/module/src/modules/auth/profile/components/profile-form-choice-field.d.ts +1 -2
  1778. package/lib/typescript/module/src/modules/auth/profile/components/profile-form-choice-field.d.ts.map +1 -1
  1779. package/lib/typescript/module/src/modules/auth/profile/hooks/use-profile-form.d.ts +1 -2
  1780. package/lib/typescript/module/src/modules/auth/profile/hooks/use-profile-form.d.ts.map +1 -1
  1781. package/lib/typescript/module/src/modules/auth/profile/types/profile-form-context-type.d.ts +1 -1
  1782. package/lib/typescript/module/src/modules/auth/profile/types/profile-form-context-type.d.ts.map +1 -1
  1783. package/lib/typescript/module/src/modules/auth/register/components/form/inputs.d.ts +1 -1
  1784. package/lib/typescript/module/src/modules/auth/register/components/form/inputs.d.ts.map +1 -1
  1785. package/lib/typescript/module/src/modules/auth/register/components/form/register-button.d.ts +1 -1
  1786. package/lib/typescript/module/src/modules/auth/register/components/form/register-button.d.ts.map +1 -1
  1787. package/lib/typescript/module/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
  1788. package/lib/typescript/module/src/modules/auth/register/components/form/register-with-email.d.ts +2 -2
  1789. package/lib/typescript/module/src/modules/auth/register/components/login-link.d.ts +3 -2
  1790. package/lib/typescript/module/src/modules/auth/register/components/login-link.d.ts.map +1 -1
  1791. package/lib/typescript/module/src/modules/auth/register/components/register-with-separator.d.ts +2 -4
  1792. package/lib/typescript/module/src/modules/auth/register/components/register-with-separator.d.ts.map +1 -1
  1793. package/lib/typescript/module/src/modules/auth/register/components/register.d.ts +9 -11
  1794. package/lib/typescript/module/src/modules/auth/register/components/register.d.ts.map +1 -1
  1795. package/lib/typescript/module/src/modules/auth/register/hooks/use-register-form.d.ts.map +1 -1
  1796. package/lib/typescript/module/src/modules/auth/register/types/register-button-props.d.ts +2 -6
  1797. package/lib/typescript/module/src/modules/auth/register/types/register-button-props.d.ts.map +1 -1
  1798. package/lib/typescript/module/src/modules/auth/register/utils/create-register-validation-schema.d.ts.map +1 -1
  1799. package/lib/typescript/module/src/modules/auth/reset-password/components/form/inputs.d.ts +1 -1
  1800. package/lib/typescript/module/src/modules/auth/reset-password/components/form/inputs.d.ts.map +1 -1
  1801. package/lib/typescript/module/src/modules/auth/reset-password/components/form/reset-password-button.d.ts +1 -1
  1802. package/lib/typescript/module/src/modules/auth/reset-password/components/form/reset-password-button.d.ts.map +1 -1
  1803. package/lib/typescript/module/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts.map +1 -1
  1804. package/lib/typescript/module/src/modules/auth/reset-password/components/form/reset-password-form.d.ts +2 -2
  1805. package/lib/typescript/module/src/modules/auth/reset-password/components/reset-password.d.ts +4 -4
  1806. package/lib/typescript/module/src/modules/auth/reset-password/components/reset-password.d.ts.map +1 -1
  1807. package/lib/typescript/module/src/modules/auth/reset-password/hooks/use-reset-password-form.d.ts +48 -1
  1808. package/lib/typescript/module/src/modules/auth/reset-password/hooks/use-reset-password-form.d.ts.map +1 -1
  1809. package/lib/typescript/module/src/modules/auth/reset-password/types/reset-password-button-props.d.ts +2 -6
  1810. package/lib/typescript/module/src/modules/auth/reset-password/types/reset-password-button-props.d.ts.map +1 -1
  1811. package/lib/typescript/module/src/modules/auth/reset-password/types/reset-password-header-props.d.ts +2 -7
  1812. package/lib/typescript/module/src/modules/auth/reset-password/types/reset-password-header-props.d.ts.map +1 -1
  1813. package/lib/typescript/module/src/modules/auth/session/components/session-list.d.ts.map +1 -1
  1814. package/lib/typescript/module/src/modules/auth/session/save-login.d.ts +4 -0
  1815. package/lib/typescript/module/src/modules/auth/session/save-login.d.ts.map +1 -0
  1816. package/lib/typescript/module/src/modules/auth/session/session-store-refresh.d.ts.map +1 -1
  1817. package/lib/typescript/module/src/modules/auth/session/session-store-types.d.ts +3 -1
  1818. package/lib/typescript/module/src/modules/auth/session/session-store-types.d.ts.map +1 -1
  1819. package/lib/typescript/module/src/modules/auth/session/session-store.d.ts.map +1 -1
  1820. package/lib/typescript/module/src/modules/auth/sign-in/components/form/inputs.d.ts +1 -1
  1821. package/lib/typescript/module/src/modules/auth/sign-in/components/form/inputs.d.ts.map +1 -1
  1822. package/lib/typescript/module/src/modules/auth/sign-in/components/form/login-form-provider.d.ts.map +1 -1
  1823. package/lib/typescript/module/src/modules/auth/sign-in/components/form/sign-in-with-email.d.ts +2 -2
  1824. package/lib/typescript/module/src/modules/auth/sign-in/components/form/signin-button.d.ts +1 -1
  1825. package/lib/typescript/module/src/modules/auth/sign-in/components/form/signin-button.d.ts.map +1 -1
  1826. package/lib/typescript/module/src/modules/auth/sign-in/components/login-with-separator.d.ts +1 -1
  1827. package/lib/typescript/module/src/modules/auth/sign-in/components/login-with-separator.d.ts.map +1 -1
  1828. package/lib/typescript/module/src/modules/auth/sign-in/components/register-link.d.ts +3 -2
  1829. package/lib/typescript/module/src/modules/auth/sign-in/components/register-link.d.ts.map +1 -1
  1830. package/lib/typescript/module/src/modules/auth/sign-in/components/sign-in.d.ts +9 -11
  1831. package/lib/typescript/module/src/modules/auth/sign-in/components/sign-in.d.ts.map +1 -1
  1832. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
  1833. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-text.d.ts.map +1 -1
  1834. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login.d.ts +1 -3
  1835. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login.d.ts.map +1 -1
  1836. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-icon.d.ts +1 -5
  1837. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-icon.d.ts.map +1 -1
  1838. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
  1839. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-text.d.ts.map +1 -1
  1840. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login.d.ts +2 -4
  1841. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login.d.ts.map +1 -1
  1842. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/social-login-button.d.ts +6 -0
  1843. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/social-login-button.d.ts.map +1 -0
  1844. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/social-logins.d.ts +3 -5
  1845. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/social-logins.d.ts.map +1 -1
  1846. package/lib/typescript/module/src/modules/auth/sign-in/hooks/use-login-form.d.ts +54 -1
  1847. package/lib/typescript/module/src/modules/auth/sign-in/hooks/use-login-form.d.ts.map +1 -1
  1848. package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-context-type.d.ts +1 -2
  1849. package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-context-type.d.ts.map +1 -1
  1850. package/lib/typescript/module/src/modules/auth/sign-in/types/sign-in-header-props.d.ts +2 -6
  1851. package/lib/typescript/module/src/modules/auth/sign-in/types/sign-in-header-props.d.ts.map +1 -1
  1852. package/lib/typescript/module/src/modules/auth/sign-in/types/signin-button-props.d.ts +2 -6
  1853. package/lib/typescript/module/src/modules/auth/sign-in/types/signin-button-props.d.ts.map +1 -1
  1854. package/lib/typescript/module/src/modules/auth/sign-in/utils/create-login-validation-schema.d.ts.map +1 -1
  1855. package/lib/typescript/module/src/modules/auth/types/auth-header-props.d.ts +8 -0
  1856. package/lib/typescript/module/src/modules/auth/types/auth-header-props.d.ts.map +1 -0
  1857. package/lib/typescript/module/src/modules/auth/types/auth-submit-button-props.d.ts +7 -0
  1858. package/lib/typescript/module/src/modules/auth/types/auth-submit-button-props.d.ts.map +1 -0
  1859. package/lib/typescript/module/src/modules/auth/types/form-inputs-props.d.ts.map +1 -0
  1860. package/lib/typescript/module/src/modules/auth/utils/apply-submit-error.d.ts +11 -0
  1861. package/lib/typescript/module/src/modules/auth/utils/apply-submit-error.d.ts.map +1 -0
  1862. package/lib/typescript/module/src/modules/auth/utils/validation.d.ts +6 -0
  1863. package/lib/typescript/module/src/modules/auth/utils/validation.d.ts.map +1 -0
  1864. package/lib/typescript/module/src/modules/background-sync/android-background-sync.d.ts.map +1 -1
  1865. package/lib/typescript/module/src/modules/breathing-exercise/components/method-type-icon.d.ts.map +1 -1
  1866. package/lib/typescript/module/src/modules/breathing-exercise/hooks/use-breathing-exercise.d.ts +10 -1
  1867. package/lib/typescript/module/src/modules/breathing-exercise/hooks/use-breathing-exercise.d.ts.map +1 -1
  1868. package/lib/typescript/module/src/modules/bt-device/components/btdevice-instruction.d.ts.map +1 -1
  1869. package/lib/typescript/module/src/modules/bt-device/components/hooks/use-device-list.d.ts.map +1 -1
  1870. package/lib/typescript/module/src/modules/bt-device/components/item/bottom-container.d.ts +2 -2
  1871. package/lib/typescript/module/src/modules/bt-device/components/item/bottom-container.d.ts.map +1 -1
  1872. package/lib/typescript/module/src/modules/bt-device/constants/device-list-items.d.ts.map +1 -1
  1873. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-and-medical-variants.d.ts +1 -1
  1874. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-and-medical-variants.d.ts.map +1 -1
  1875. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-aoj-variants.d.ts +1 -1
  1876. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-aoj-variants.d.ts.map +1 -1
  1877. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-art.d.ts +10 -0
  1878. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-art.d.ts.map +1 -0
  1879. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +3 -1
  1880. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -1
  1881. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.d.ts +1 -1
  1882. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.d.ts.map +1 -1
  1883. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -1
  1884. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-famidoc-variants.d.ts +1 -1
  1885. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-famidoc-variants.d.ts.map +1 -1
  1886. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-joytech-variants.d.ts +1 -1
  1887. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-joytech-variants.d.ts.map +1 -1
  1888. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-jumper-variants.d.ts +1 -1
  1889. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-jumper-variants.d.ts.map +1 -1
  1890. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-standard-variants.d.ts +1 -1
  1891. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-standard-variants.d.ts.map +1 -1
  1892. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.d.ts +1 -1
  1893. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.d.ts.map +1 -1
  1894. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.d.ts +1 -1
  1895. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.d.ts.map +1 -1
  1896. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.d.ts +1 -1
  1897. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.d.ts.map +1 -1
  1898. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-transtek-variants.d.ts +1 -1
  1899. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-transtek-variants.d.ts.map +1 -1
  1900. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-variants.d.ts +0 -8
  1901. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-variants.d.ts.map +1 -1
  1902. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-yonker-variants.d.ts +1 -1
  1903. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-yonker-variants.d.ts.map +1 -1
  1904. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  1905. package/lib/typescript/module/src/modules/bt-device/utils/slugify.d.ts +3 -0
  1906. package/lib/typescript/module/src/modules/bt-device/utils/slugify.d.ts.map +1 -0
  1907. package/lib/typescript/module/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  1908. package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -1
  1909. package/lib/typescript/module/src/modules/bt-management/constants/preferred-mtu.d.ts +6 -0
  1910. package/lib/typescript/module/src/modules/bt-management/constants/preferred-mtu.d.ts.map +1 -0
  1911. package/lib/typescript/module/src/modules/bt-management/hooks/runtime-context.d.ts.map +1 -1
  1912. package/lib/typescript/module/src/modules/bt-management/hooks/use-bluetooth-state.d.ts.map +1 -1
  1913. package/lib/typescript/module/src/modules/bt-management/hooks/use-measurements.d.ts.map +1 -1
  1914. package/lib/typescript/module/src/modules/bt-management/index.d.ts +0 -1
  1915. package/lib/typescript/module/src/modules/bt-management/index.d.ts.map +1 -1
  1916. package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts +2 -0
  1917. package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
  1918. package/lib/typescript/module/src/modules/bt-management/services/custom/assert-integer-in-range.d.ts +3 -0
  1919. package/lib/typescript/module/src/modules/bt-management/services/custom/assert-integer-in-range.d.ts.map +1 -0
  1920. package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-lepu.d.ts.map +1 -1
  1921. package/lib/typescript/module/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
  1922. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.command-sequencer.d.ts.map +1 -1
  1923. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.frame-reader.d.ts.map +1 -1
  1924. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts.map +1 -1
  1925. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-70b.device.d.ts.map +1 -1
  1926. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-bp.device.d.ts.map +1 -1
  1927. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-bp.protocol.d.ts.map +1 -1
  1928. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.command-sequencer.d.ts.map +1 -1
  1929. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.frame-reader.d.ts.map +1 -1
  1930. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts +1 -2
  1931. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts.map +1 -1
  1932. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts.map +1 -1
  1933. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts +4 -0
  1934. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
  1935. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.d.ts.map +1 -1
  1936. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.d.ts.map +1 -1
  1937. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts +2 -0
  1938. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  1939. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.device.d.ts +0 -2
  1940. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.device.d.ts.map +1 -1
  1941. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts.map +1 -1
  1942. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-envelope.d.ts +7 -0
  1943. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-envelope.d.ts.map +1 -0
  1944. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.device.d.ts.map +1 -1
  1945. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.protocol.d.ts +1 -3
  1946. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.protocol.d.ts.map +1 -1
  1947. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts.map +1 -1
  1948. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts +0 -1
  1949. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts.map +1 -1
  1950. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.protocol.d.ts.map +1 -1
  1951. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts.map +1 -1
  1952. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts.map +1 -1
  1953. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts.map +1 -1
  1954. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom-lepu-sequencer.d.ts +8 -8
  1955. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom-lepu-sequencer.d.ts.map +1 -1
  1956. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts +2 -0
  1957. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  1958. package/lib/typescript/module/src/modules/bt-management/services/devices/f4/f4.device.d.ts +1 -1
  1959. package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.device.d.ts.map +1 -1
  1960. package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.protocol.d.ts.map +1 -1
  1961. package/lib/typescript/module/src/modules/bt-management/services/devices/famidoc/famidoc.device.d.ts.map +1 -1
  1962. package/lib/typescript/module/src/modules/bt-management/services/devices/famidoc/famidoc.protocol.d.ts.map +1 -1
  1963. package/lib/typescript/module/src/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.d.ts.map +1 -1
  1964. package/lib/typescript/module/src/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.d.ts.map +1 -1
  1965. package/lib/typescript/module/src/modules/bt-management/services/devices/joytech/joytech.device.d.ts.map +1 -1
  1966. package/lib/typescript/module/src/modules/bt-management/services/devices/joytech/joytech.protocol.d.ts.map +1 -1
  1967. package/lib/typescript/module/src/modules/bt-management/services/devices/jumper/jumper.device.d.ts.map +1 -1
  1968. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.command-builder.d.ts.map +1 -1
  1969. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.frame-reader.d.ts.map +1 -1
  1970. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts.map +1 -1
  1971. package/lib/typescript/module/src/modules/bt-management/services/devices/monitor-service.d.ts +12 -0
  1972. package/lib/typescript/module/src/modules/bt-management/services/devices/monitor-service.d.ts.map +1 -0
  1973. package/lib/typescript/module/src/modules/bt-management/services/devices/sentinel-frame-reader.d.ts.map +1 -1
  1974. package/lib/typescript/module/src/modules/bt-management/services/devices/spo/pc60fw.frame-reader.d.ts.map +1 -1
  1975. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.d.ts.map +1 -1
  1976. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.d.ts.map +1 -1
  1977. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts.map +1 -1
  1978. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts.map +1 -1
  1979. package/lib/typescript/module/src/modules/bt-management/services/devices/tmb/tmb.command-sequencer.d.ts.map +1 -1
  1980. package/lib/typescript/module/src/modules/bt-management/services/devices/tmb/tmb.frame-reader.d.ts.map +1 -1
  1981. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.d.ts.map +1 -1
  1982. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.d.ts.map +1 -1
  1983. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.protocol.d.ts.map +1 -1
  1984. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6.device.d.ts.map +1 -1
  1985. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/mambo-a5.device.d.ts +0 -2
  1986. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/mambo-a5.device.d.ts.map +1 -1
  1987. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/mambo-a5.protocol.d.ts.map +1 -1
  1988. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.device.d.ts.map +1 -1
  1989. package/lib/typescript/module/src/modules/bt-management/services/devices/trasense/s9-frame-reader.d.ts.map +1 -1
  1990. package/lib/typescript/module/src/modules/bt-management/services/devices/trasense/s9.command-sequencer.d.ts +2 -0
  1991. package/lib/typescript/module/src/modules/bt-management/services/devices/trasense/s9.command-sequencer.d.ts.map +1 -1
  1992. package/lib/typescript/module/src/modules/bt-management/services/devices/trasense/s9.device.d.ts +0 -2
  1993. package/lib/typescript/module/src/modules/bt-management/services/devices/trasense/s9.device.d.ts.map +1 -1
  1994. package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/mysense.frame-reader.d.ts.map +1 -1
  1995. package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/mysense.sequencer.d.ts.map +1 -1
  1996. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval-activity-frame-reader.d.ts.map +1 -1
  1997. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts.map +1 -1
  1998. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.activity-device.d.ts +0 -1
  1999. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.activity-device.d.ts.map +1 -1
  2000. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.d.ts.map +1 -1
  2001. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-device.d.ts.map +1 -1
  2002. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-transfer.d.ts.map +1 -1
  2003. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/ap20.device.d.ts.map +1 -1
  2004. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.d.ts +0 -2
  2005. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.d.ts.map +1 -1
  2006. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.device.d.ts.map +1 -1
  2007. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.d.ts.map +1 -1
  2008. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts.map +1 -1
  2009. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts.map +1 -1
  2010. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/lpm311.sequencer.d.ts.map +1 -1
  2011. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.device.d.ts +0 -2
  2012. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.device.d.ts.map +1 -1
  2013. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.protocol.d.ts.map +1 -1
  2014. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc68b.device.d.ts.map +1 -1
  2015. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.device.d.ts +0 -1
  2016. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.device.d.ts.map +1 -1
  2017. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.protocol.d.ts.map +1 -1
  2018. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts.map +1 -1
  2019. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pf10aw1.device.d.ts +0 -2
  2020. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pf10aw1.device.d.ts.map +1 -1
  2021. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.device.d.ts.map +1 -1
  2022. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.d.ts.map +1 -1
  2023. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.device.d.ts +0 -2
  2024. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.device.d.ts.map +1 -1
  2025. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.protocol.d.ts.map +1 -1
  2026. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts.map +1 -1
  2027. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-aa55.protocol.d.ts.map +1 -1
  2028. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts.map +1 -1
  2029. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-lepu-crypto.d.ts.map +1 -1
  2030. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.device.d.ts +0 -2
  2031. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.device.d.ts.map +1 -1
  2032. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.device.d.ts.map +1 -1
  2033. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.d.ts.map +1 -1
  2034. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts.map +1 -1
  2035. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.device.d.ts.map +1 -1
  2036. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.d.ts.map +1 -1
  2037. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts.map +1 -1
  2038. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.device.d.ts.map +1 -1
  2039. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.d.ts.map +1 -1
  2040. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts.map +1 -1
  2041. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.device.d.ts.map +1 -1
  2042. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.protocol.d.ts.map +1 -1
  2043. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts.map +1 -1
  2044. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.vtm20f.frame-reader.d.ts.map +1 -1
  2045. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.device.d.ts.map +1 -1
  2046. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.protocol.d.ts.map +1 -1
  2047. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts.map +1 -1
  2048. package/lib/typescript/module/src/modules/bt-management/services/devices/write-command.d.ts +4 -0
  2049. package/lib/typescript/module/src/modules/bt-management/services/devices/write-command.d.ts.map +1 -0
  2050. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts.map +1 -1
  2051. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts.map +1 -1
  2052. package/lib/typescript/module/src/modules/bt-management/utils/ascii-to-hex.d.ts +3 -0
  2053. package/lib/typescript/module/src/modules/bt-management/utils/ascii-to-hex.d.ts.map +1 -0
  2054. package/lib/typescript/module/src/modules/bt-management/utils/base-64-to-hex.d.ts.map +1 -1
  2055. package/lib/typescript/module/src/modules/bt-management/utils/bytes-to-hex.d.ts +4 -1
  2056. package/lib/typescript/module/src/modules/bt-management/utils/bytes-to-hex.d.ts.map +1 -1
  2057. package/lib/typescript/module/src/modules/bt-management/utils/daily-total-day.d.ts +7 -0
  2058. package/lib/typescript/module/src/modules/bt-management/utils/daily-total-day.d.ts.map +1 -0
  2059. package/lib/typescript/module/src/modules/bt-management/utils/error-callback-payload.d.ts +9 -0
  2060. package/lib/typescript/module/src/modules/bt-management/utils/error-callback-payload.d.ts.map +1 -0
  2061. package/lib/typescript/module/src/modules/bt-management/utils/frame-read-results.d.ts +15 -0
  2062. package/lib/typescript/module/src/modules/bt-management/utils/frame-read-results.d.ts.map +1 -0
  2063. package/lib/typescript/module/src/modules/bt-management/utils/hex-to-base-64.d.ts.map +1 -1
  2064. package/lib/typescript/module/src/modules/bt-management/utils/mirror-bluetooth-state.d.ts +5 -0
  2065. package/lib/typescript/module/src/modules/bt-management/utils/mirror-bluetooth-state.d.ts.map +1 -0
  2066. package/lib/typescript/module/src/modules/bt-management/utils/sum-bytes.d.ts +3 -0
  2067. package/lib/typescript/module/src/modules/bt-management/utils/sum-bytes.d.ts.map +1 -0
  2068. package/lib/typescript/module/src/modules/cms/hooks/use-cms-content.d.ts.map +1 -1
  2069. package/lib/typescript/module/src/modules/content/content-card/components/content-card.d.ts +5 -6
  2070. package/lib/typescript/module/src/modules/content/content-card/components/content-card.d.ts.map +1 -1
  2071. package/lib/typescript/module/src/modules/content/content-card/components/title.d.ts.map +1 -1
  2072. package/lib/typescript/module/src/modules/content/content-detail/components/content-detail-footer.d.ts +1 -2
  2073. package/lib/typescript/module/src/modules/content/content-detail/components/content-detail-footer.d.ts.map +1 -1
  2074. package/lib/typescript/module/src/modules/content/content-detail/components/content-detail-header.d.ts +1 -2
  2075. package/lib/typescript/module/src/modules/content/content-detail/components/content-detail-header.d.ts.map +1 -1
  2076. package/lib/typescript/module/src/modules/content/content-detail/components/content-detail.d.ts +2 -2
  2077. package/lib/typescript/module/src/modules/content/content-detail/context/hooks/use-composition.d.ts.map +1 -1
  2078. package/lib/typescript/module/src/modules/content/content-list/components/content-list.d.ts +1 -1
  2079. package/lib/typescript/module/src/modules/content/content-list/components/section.d.ts +1 -1
  2080. package/lib/typescript/module/src/modules/content/content-list/components/section.d.ts.map +1 -1
  2081. package/lib/typescript/module/src/modules/data-sync/components/android/android-health-connect-authorization-provider.d.ts.map +1 -1
  2082. package/lib/typescript/module/src/modules/data-sync/components/android/android-health-sync.d.ts.map +1 -1
  2083. package/lib/typescript/module/src/modules/data-sync/components/apple/apple-health-authorization-provider.d.ts.map +1 -1
  2084. package/lib/typescript/module/src/modules/data-sync/components/apple/apple-health-sync.d.ts.map +1 -1
  2085. package/lib/typescript/module/src/modules/data-sync/constants.d.ts +4 -1
  2086. package/lib/typescript/module/src/modules/data-sync/constants.d.ts.map +1 -1
  2087. package/lib/typescript/module/src/modules/data-sync/contexts/health-authorization-context.d.ts.map +1 -1
  2088. package/lib/typescript/module/src/modules/data-sync/hooks/use-health-import.d.ts.map +1 -1
  2089. package/lib/typescript/module/src/modules/data-sync/hooks/use-health-sync-runner.d.ts +28 -0
  2090. package/lib/typescript/module/src/modules/data-sync/hooks/use-health-sync-runner.d.ts.map +1 -0
  2091. package/lib/typescript/module/src/modules/data-sync/services/android-health-sync-service.d.ts +0 -10
  2092. package/lib/typescript/module/src/modules/data-sync/services/android-health-sync-service.d.ts.map +1 -1
  2093. package/lib/typescript/module/src/modules/data-sync/services/apple-health-sync-service.d.ts +0 -10
  2094. package/lib/typescript/module/src/modules/data-sync/services/apple-health-sync-service.d.ts.map +1 -1
  2095. package/lib/typescript/module/src/modules/data-sync/services/base-health-sync-service.d.ts +9 -5
  2096. package/lib/typescript/module/src/modules/data-sync/services/base-health-sync-service.d.ts.map +1 -1
  2097. package/lib/typescript/module/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
  2098. package/lib/typescript/module/src/modules/data-sync/services/managers/storage-manager.d.ts +0 -1
  2099. package/lib/typescript/module/src/modules/data-sync/services/managers/storage-manager.d.ts.map +1 -1
  2100. package/lib/typescript/module/src/modules/data-sync/types/health-sync-batch-error.d.ts.map +1 -1
  2101. package/lib/typescript/module/src/modules/data-sync/utils/convert-generic-health-data.d.ts.map +1 -1
  2102. package/lib/typescript/module/src/modules/data-sync/utils/convert-records-to-observation.d.ts.map +1 -1
  2103. package/lib/typescript/module/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
  2104. package/lib/typescript/module/src/modules/data-sync/utils/create-progress-collector.d.ts +7 -0
  2105. package/lib/typescript/module/src/modules/data-sync/utils/create-progress-collector.d.ts.map +1 -0
  2106. package/lib/typescript/module/src/modules/data-sync/utils/fhir-systems.d.ts +6 -0
  2107. package/lib/typescript/module/src/modules/data-sync/utils/fhir-systems.d.ts.map +1 -0
  2108. package/lib/typescript/module/src/modules/data-sync/utils/generate-observation-entry.d.ts.map +1 -1
  2109. package/lib/typescript/module/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts.map +1 -1
  2110. package/lib/typescript/module/src/modules/data-sync/utils/get-latest-valid-start-date.d.ts.map +1 -1
  2111. package/lib/typescript/module/src/modules/data-sync/utils/get-records-from-health-connect.d.ts.map +1 -1
  2112. package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts +16 -16
  2113. package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
  2114. package/lib/typescript/module/src/modules/data-sync/utils/get-total-records-count.d.ts.map +1 -1
  2115. package/lib/typescript/module/src/modules/data-sync/utils/group-samples-by-interval.d.ts +3 -0
  2116. package/lib/typescript/module/src/modules/data-sync/utils/group-samples-by-interval.d.ts.map +1 -0
  2117. package/lib/typescript/module/src/modules/data-sync/utils/health-data-catalog.d.ts.map +1 -1
  2118. package/lib/typescript/module/src/modules/data-sync/utils/is-daily-aggregate-mode.d.ts +4 -0
  2119. package/lib/typescript/module/src/modules/data-sync/utils/is-daily-aggregate-mode.d.ts.map +1 -0
  2120. package/lib/typescript/module/src/modules/data-sync/utils/normalize-core-health-observation.d.ts.map +1 -1
  2121. package/lib/typescript/module/src/modules/data-sync/utils/sync-window-start.d.ts +3 -0
  2122. package/lib/typescript/module/src/modules/data-sync/utils/sync-window-start.d.ts.map +1 -0
  2123. package/lib/typescript/module/src/modules/data-sync/utils/to-core-health-observations.d.ts +13 -0
  2124. package/lib/typescript/module/src/modules/data-sync/utils/to-core-health-observations.d.ts.map +1 -0
  2125. package/lib/typescript/module/src/modules/helpers/form-items/form-date-field.d.ts.map +1 -1
  2126. package/lib/typescript/module/src/modules/helpers/form-items/form-select.d.ts.map +1 -1
  2127. package/lib/typescript/module/src/modules/helpers/hooks/use-latest-ref.d.ts +4 -0
  2128. package/lib/typescript/module/src/modules/helpers/hooks/use-latest-ref.d.ts.map +1 -0
  2129. package/lib/typescript/module/src/modules/helpers/hooks/use-required-context.d.ts +4 -0
  2130. package/lib/typescript/module/src/modules/helpers/hooks/use-required-context.d.ts.map +1 -0
  2131. package/lib/typescript/module/src/modules/helpers/spaced-view.d.ts +4 -0
  2132. package/lib/typescript/module/src/modules/helpers/spaced-view.d.ts.map +1 -0
  2133. package/lib/typescript/module/src/modules/helpers/surface-card.d.ts +8 -0
  2134. package/lib/typescript/module/src/modules/helpers/surface-card.d.ts.map +1 -0
  2135. package/lib/typescript/module/src/modules/helpers/utils/local-date.d.ts +3 -0
  2136. package/lib/typescript/module/src/modules/helpers/utils/local-date.d.ts.map +1 -0
  2137. package/lib/typescript/module/src/modules/helpers/utils/telemetry.d.ts.map +1 -1
  2138. package/lib/typescript/module/src/modules/helpers/utils/to-error.d.ts +3 -0
  2139. package/lib/typescript/module/src/modules/helpers/utils/to-error.d.ts.map +1 -0
  2140. package/lib/typescript/module/src/modules/image/utils/calculate-dimension.d.ts +1 -1
  2141. package/lib/typescript/module/src/modules/image/utils/calculate-dimension.d.ts.map +1 -1
  2142. package/lib/typescript/module/src/modules/journal/past-journal/components/answer.d.ts +1 -1
  2143. package/lib/typescript/module/src/modules/journal/past-journal/components/answer.d.ts.map +1 -1
  2144. package/lib/typescript/module/src/modules/journal/past-journal/components/past-journal-card.d.ts +5 -6
  2145. package/lib/typescript/module/src/modules/journal/past-journal/components/past-journal-card.d.ts.map +1 -1
  2146. package/lib/typescript/module/src/modules/journal/today-question/components/gradient.d.ts +1 -2
  2147. package/lib/typescript/module/src/modules/journal/today-question/components/gradient.d.ts.map +1 -1
  2148. package/lib/typescript/module/src/modules/journal/today-question/components/today-question-card.d.ts +4 -3
  2149. package/lib/typescript/module/src/modules/journal/today-question/components/today-question-card.d.ts.map +1 -1
  2150. package/lib/typescript/module/src/modules/language-switcher/components/language-switcher.d.ts.map +1 -1
  2151. package/lib/typescript/module/src/modules/language-switcher/components/option/hooks/use-language-option.d.ts.map +1 -1
  2152. package/lib/typescript/module/src/modules/language-switcher/hooks/use-language-switcher.d.ts.map +1 -1
  2153. package/lib/typescript/module/src/modules/measurement/components/date-range.d.ts.map +1 -1
  2154. package/lib/typescript/module/src/modules/observation-detail/components/date-time.d.ts.map +1 -1
  2155. package/lib/typescript/module/src/modules/observation-detail/components/observation-detail.d.ts.map +1 -1
  2156. package/lib/typescript/module/src/modules/observation-detail/components/preview-modal.d.ts.map +1 -1
  2157. package/lib/typescript/module/src/modules/patient/components/card/patient-gender.d.ts.map +1 -1
  2158. package/lib/typescript/module/src/modules/questionnaire-response-form/components/content/questionnaire-content-all-items.d.ts.map +1 -1
  2159. package/lib/typescript/module/src/modules/questionnaire-response-form/components/content/questionnaire-content-item.d.ts +2 -1
  2160. package/lib/typescript/module/src/modules/questionnaire-response-form/components/content/questionnaire-content-item.d.ts.map +1 -1
  2161. package/lib/typescript/module/src/modules/questionnaire-response-form/components/content/questionnaire-content-specific-item.d.ts.map +1 -1
  2162. package/lib/typescript/module/src/modules/questionnaire-response-form/components/content/questionnaire-content.d.ts +1 -1
  2163. package/lib/typescript/module/src/modules/questionnaire-response-form/components/content/questionnaire-content.d.ts.map +1 -1
  2164. package/lib/typescript/module/src/modules/questionnaire-response-form/components/fields/questionnaire-date-field.d.ts.map +1 -1
  2165. package/lib/typescript/module/src/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.d.ts.map +1 -1
  2166. package/lib/typescript/module/src/modules/questionnaire-response-form/components/questionnaire-form-provider.d.ts.map +1 -1
  2167. package/lib/typescript/module/src/modules/questionnaire-response-form/default-translation.d.ts +2 -0
  2168. package/lib/typescript/module/src/modules/questionnaire-response-form/default-translation.d.ts.map +1 -1
  2169. package/lib/typescript/module/src/modules/questionnaire-response-form/hooks/use-initial-selected-values.d.ts.map +1 -1
  2170. package/lib/typescript/module/src/modules/questionnaire-response-form/hooks/use-navigation-handlers.d.ts.map +1 -1
  2171. package/lib/typescript/module/src/modules/questionnaire-response-form/hooks/use-questionnaire-form.d.ts.map +1 -1
  2172. package/lib/typescript/module/src/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.d.ts.map +1 -1
  2173. package/lib/typescript/module/src/modules/questionnaire-response-form/hooks/use-questionnaire-navigation.d.ts.map +1 -1
  2174. package/lib/typescript/module/src/modules/questionnaire-response-form/types/index.d.ts +0 -3
  2175. package/lib/typescript/module/src/modules/questionnaire-response-form/types/index.d.ts.map +1 -1
  2176. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/condition-utils.d.ts +1 -0
  2177. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/condition-utils.d.ts.map +1 -1
  2178. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/conditions/boolean-condition.d.ts.map +1 -1
  2179. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/conditions/compare.d.ts +6 -0
  2180. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/conditions/compare.d.ts.map +1 -0
  2181. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/conditions/date-condition.d.ts.map +1 -1
  2182. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/conditions/decimal-condition.d.ts.map +1 -1
  2183. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/conditions/fhir-condition.d.ts.map +1 -1
  2184. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/conditions/string-condition.d.ts.map +1 -1
  2185. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/fhir-time.d.ts +3 -0
  2186. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/fhir-time.d.ts.map +1 -0
  2187. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/fields/get-keyboard-type.d.ts.map +1 -1
  2188. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/form-utils.d.ts +1 -0
  2189. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/form-utils.d.ts.map +1 -1
  2190. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/form-validation.d.ts.map +1 -1
  2191. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.d.ts +4 -1
  2192. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.d.ts.map +1 -1
  2193. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-date-utils.d.ts +5 -1
  2194. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-date-utils.d.ts.map +1 -1
  2195. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-navigation-utils.d.ts.map +1 -1
  2196. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-string-constraint-validator.d.ts.map +1 -1
  2197. package/lib/typescript/module/src/modules/socket/components/socket-provider.d.ts.map +1 -1
  2198. package/lib/typescript/module/src/modules/socket/hooks/use-socket.d.ts.map +1 -1
  2199. package/lib/typescript/module/src/modules/tab/components/tab-provider.d.ts.map +1 -1
  2200. package/lib/typescript/module/src/modules/tab/hooks/use-tab.d.ts.map +1 -1
  2201. package/lib/typescript/module/src/modules/theme/utils/generate-theme.d.ts.map +1 -1
  2202. package/lib/typescript/module/src/modules/tile/types/tile-props.d.ts +1 -1
  2203. package/lib/typescript/module/src/modules/tile/types/tile-props.d.ts.map +1 -1
  2204. package/lib/typescript/module/src/modules/ui/components/background-sync-setting.d.ts.map +1 -1
  2205. package/lib/typescript/module/src/modules/ui/components/bluetooth-state-notice.d.ts.map +1 -1
  2206. package/lib/typescript/module/src/modules/ui/components/calendar.d.ts.map +1 -1
  2207. package/lib/typescript/module/src/modules/ui/components/ecg-strip-viewer.d.ts.map +1 -1
  2208. package/lib/typescript/module/src/modules/ui/components/flow-frame.d.ts.map +1 -1
  2209. package/lib/typescript/module/src/modules/ui/components/health-import-card.d.ts.map +1 -1
  2210. package/lib/typescript/module/src/modules/ui/components/manual-entry-form.d.ts.map +1 -1
  2211. package/lib/typescript/module/src/modules/ui/components/nearby-device-prompt.d.ts.map +1 -1
  2212. package/lib/typescript/module/src/modules/ui/components/pairing-flow.d.ts.map +1 -1
  2213. package/lib/typescript/module/src/modules/ui/components/period-calendar.d.ts.map +1 -1
  2214. package/lib/typescript/module/src/modules/ui/components/supported-devices-catalog-list.d.ts.map +1 -1
  2215. package/lib/typescript/module/src/modules/ui/components/urine-test-result.d.ts.map +1 -1
  2216. package/lib/typescript/module/src/modules/ui/types.d.ts +2 -0
  2217. package/lib/typescript/module/src/modules/ui/types.d.ts.map +1 -1
  2218. package/lib/typescript/module/src/modules/ui/use-ovok-ui.d.ts +2 -2
  2219. package/lib/typescript/module/src/modules/ui/use-ovok-ui.d.ts.map +1 -1
  2220. package/lib/typescript/module/src/modules/ui/utils/calendar-date.d.ts +1 -1
  2221. package/lib/typescript/module/src/modules/ui/utils/calendar-date.d.ts.map +1 -1
  2222. package/package.json +1 -1
  2223. package/lib/commonjs/modules/auth/register/components/header/description.js +0 -39
  2224. package/lib/commonjs/modules/auth/register/components/header/description.js.map +0 -1
  2225. package/lib/commonjs/modules/auth/register/components/header/header.js +0 -29
  2226. package/lib/commonjs/modules/auth/register/components/header/header.js.map +0 -1
  2227. package/lib/commonjs/modules/auth/register/components/header/title.js +0 -38
  2228. package/lib/commonjs/modules/auth/register/components/header/title.js.map +0 -1
  2229. package/lib/commonjs/modules/auth/register/types/form-inputs-props.js.map +0 -1
  2230. package/lib/commonjs/modules/auth/register/types/register-form-context-type.js +0 -6
  2231. package/lib/commonjs/modules/auth/register/types/register-form-context-type.js.map +0 -1
  2232. package/lib/commonjs/modules/auth/register/types/register-header-props.js +0 -6
  2233. package/lib/commonjs/modules/auth/register/types/register-header-props.js.map +0 -1
  2234. package/lib/commonjs/modules/auth/register/utils/apply-custom-validation.js +0 -17
  2235. package/lib/commonjs/modules/auth/register/utils/apply-custom-validation.js.map +0 -1
  2236. package/lib/commonjs/modules/auth/reset-password/components/header/description.js +0 -39
  2237. package/lib/commonjs/modules/auth/reset-password/components/header/description.js.map +0 -1
  2238. package/lib/commonjs/modules/auth/reset-password/components/header/header.js +0 -29
  2239. package/lib/commonjs/modules/auth/reset-password/components/header/header.js.map +0 -1
  2240. package/lib/commonjs/modules/auth/reset-password/components/header/title.js +0 -38
  2241. package/lib/commonjs/modules/auth/reset-password/components/header/title.js.map +0 -1
  2242. package/lib/commonjs/modules/auth/sign-in/components/header/description.js +0 -39
  2243. package/lib/commonjs/modules/auth/sign-in/components/header/description.js.map +0 -1
  2244. package/lib/commonjs/modules/auth/sign-in/components/header/header.js +0 -29
  2245. package/lib/commonjs/modules/auth/sign-in/components/header/header.js.map +0 -1
  2246. package/lib/commonjs/modules/auth/sign-in/components/header/title.js.map +0 -1
  2247. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-icon.js +0 -23
  2248. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-icon.js.map +0 -1
  2249. package/lib/commonjs/modules/auth/sign-in/types/token-response.js +0 -2
  2250. package/lib/commonjs/modules/auth/sign-in/types/token-response.js.map +0 -1
  2251. package/lib/commonjs/modules/breathing-exercise/components/icons/exhale-icon.js +0 -27
  2252. package/lib/commonjs/modules/breathing-exercise/components/icons/exhale-icon.js.map +0 -1
  2253. package/lib/commonjs/modules/bt-management/constants/diagnostic-results.js +0 -16
  2254. package/lib/commonjs/modules/bt-management/constants/diagnostic-results.js.map +0 -1
  2255. package/lib/commonjs/modules/bt-management/hooks/use-health-import.js +0 -13
  2256. package/lib/commonjs/modules/bt-management/hooks/use-health-import.js.map +0 -1
  2257. package/lib/commonjs/modules/bt-management/types/diagnostic-key-enum.js +0 -17
  2258. package/lib/commonjs/modules/bt-management/types/diagnostic-key-enum.js.map +0 -1
  2259. package/lib/commonjs/modules/bt-management/utils/summarise-measurement-for-log.js +0 -22
  2260. package/lib/commonjs/modules/bt-management/utils/summarise-measurement-for-log.js.map +0 -1
  2261. package/lib/commonjs/modules/content/content-card/types/content-card-metadata-props.js +0 -6
  2262. package/lib/commonjs/modules/content/content-card/types/content-card-metadata-props.js.map +0 -1
  2263. package/lib/commonjs/modules/content/content-detail/context/index.js +0 -14
  2264. package/lib/commonjs/modules/content/content-detail/context/index.js.map +0 -1
  2265. package/lib/commonjs/modules/content/content-list/types/horizontal-contents-props.js +0 -6
  2266. package/lib/commonjs/modules/content/content-list/types/horizontal-contents-props.js.map +0 -1
  2267. package/lib/commonjs/modules/helpers/utils/safe-json-parse.js +0 -16
  2268. package/lib/commonjs/modules/helpers/utils/safe-json-parse.js.map +0 -1
  2269. package/lib/commonjs/modules/questionnaire-response-form/types/questionnaire-props.js.map +0 -1
  2270. package/lib/commonjs/modules/questionnaire-response-form/types/questionnaire.js +0 -6
  2271. package/lib/commonjs/modules/questionnaire-response-form/types/questionnaire.js.map +0 -1
  2272. package/lib/commonjs/modules/tile/types/measurement-icon-props.js +0 -6
  2273. package/lib/commonjs/modules/tile/types/measurement-icon-props.js.map +0 -1
  2274. package/lib/commonjs/modules/tile/types/tile-list-props.js.map +0 -1
  2275. package/lib/module/modules/auth/register/components/header/description.js +0 -33
  2276. package/lib/module/modules/auth/register/components/header/description.js.map +0 -1
  2277. package/lib/module/modules/auth/register/components/header/header.js +0 -24
  2278. package/lib/module/modules/auth/register/components/header/header.js.map +0 -1
  2279. package/lib/module/modules/auth/register/components/header/title.js +0 -32
  2280. package/lib/module/modules/auth/register/components/header/title.js.map +0 -1
  2281. package/lib/module/modules/auth/register/types/form-inputs-props.js.map +0 -1
  2282. package/lib/module/modules/auth/register/types/register-form-context-type.js +0 -4
  2283. package/lib/module/modules/auth/register/types/register-form-context-type.js.map +0 -1
  2284. package/lib/module/modules/auth/register/types/register-header-props.js +0 -4
  2285. package/lib/module/modules/auth/register/types/register-header-props.js.map +0 -1
  2286. package/lib/module/modules/auth/register/utils/apply-custom-validation.js +0 -12
  2287. package/lib/module/modules/auth/register/utils/apply-custom-validation.js.map +0 -1
  2288. package/lib/module/modules/auth/reset-password/components/header/description.js +0 -33
  2289. package/lib/module/modules/auth/reset-password/components/header/description.js.map +0 -1
  2290. package/lib/module/modules/auth/reset-password/components/header/header.js +0 -24
  2291. package/lib/module/modules/auth/reset-password/components/header/header.js.map +0 -1
  2292. package/lib/module/modules/auth/reset-password/components/header/title.js +0 -32
  2293. package/lib/module/modules/auth/reset-password/components/header/title.js.map +0 -1
  2294. package/lib/module/modules/auth/sign-in/components/header/description.js +0 -33
  2295. package/lib/module/modules/auth/sign-in/components/header/description.js.map +0 -1
  2296. package/lib/module/modules/auth/sign-in/components/header/header.js +0 -24
  2297. package/lib/module/modules/auth/sign-in/components/header/header.js.map +0 -1
  2298. package/lib/module/modules/auth/sign-in/components/header/title.js +0 -32
  2299. package/lib/module/modules/auth/sign-in/components/header/title.js.map +0 -1
  2300. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-icon.js +0 -18
  2301. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-icon.js.map +0 -1
  2302. package/lib/module/modules/auth/sign-in/types/token-response.js +0 -2
  2303. package/lib/module/modules/auth/sign-in/types/token-response.js.map +0 -1
  2304. package/lib/module/modules/breathing-exercise/components/icons/exhale-icon.js +0 -21
  2305. package/lib/module/modules/breathing-exercise/components/icons/exhale-icon.js.map +0 -1
  2306. package/lib/module/modules/bt-management/constants/diagnostic-results.js +0 -12
  2307. package/lib/module/modules/bt-management/constants/diagnostic-results.js.map +0 -1
  2308. package/lib/module/modules/bt-management/hooks/use-health-import.js +0 -5
  2309. package/lib/module/modules/bt-management/hooks/use-health-import.js.map +0 -1
  2310. package/lib/module/modules/bt-management/types/diagnostic-key-enum.js +0 -13
  2311. package/lib/module/modules/bt-management/types/diagnostic-key-enum.js.map +0 -1
  2312. package/lib/module/modules/bt-management/utils/summarise-measurement-for-log.js +0 -17
  2313. package/lib/module/modules/bt-management/utils/summarise-measurement-for-log.js.map +0 -1
  2314. package/lib/module/modules/content/content-card/types/content-card-metadata-props.js +0 -4
  2315. package/lib/module/modules/content/content-card/types/content-card-metadata-props.js.map +0 -1
  2316. package/lib/module/modules/content/content-detail/context/index.js +0 -10
  2317. package/lib/module/modules/content/content-detail/context/index.js.map +0 -1
  2318. package/lib/module/modules/content/content-list/types/horizontal-contents-props.js +0 -4
  2319. package/lib/module/modules/content/content-list/types/horizontal-contents-props.js.map +0 -1
  2320. package/lib/module/modules/helpers/utils/safe-json-parse.js +0 -11
  2321. package/lib/module/modules/helpers/utils/safe-json-parse.js.map +0 -1
  2322. package/lib/module/modules/questionnaire-response-form/types/questionnaire-props.js +0 -4
  2323. package/lib/module/modules/questionnaire-response-form/types/questionnaire-props.js.map +0 -1
  2324. package/lib/module/modules/questionnaire-response-form/types/questionnaire.js +0 -4
  2325. package/lib/module/modules/questionnaire-response-form/types/questionnaire.js.map +0 -1
  2326. package/lib/module/modules/tile/types/measurement-icon-props.js +0 -4
  2327. package/lib/module/modules/tile/types/measurement-icon-props.js.map +0 -1
  2328. package/lib/module/modules/tile/types/tile-list-props.js +0 -4
  2329. package/lib/module/modules/tile/types/tile-list-props.js.map +0 -1
  2330. package/lib/typescript/commonjs/src/modules/auth/register/components/header/description.d.ts +0 -8
  2331. package/lib/typescript/commonjs/src/modules/auth/register/components/header/description.d.ts.map +0 -1
  2332. package/lib/typescript/commonjs/src/modules/auth/register/components/header/header.d.ts +0 -11
  2333. package/lib/typescript/commonjs/src/modules/auth/register/components/header/header.d.ts.map +0 -1
  2334. package/lib/typescript/commonjs/src/modules/auth/register/components/header/title.d.ts +0 -8
  2335. package/lib/typescript/commonjs/src/modules/auth/register/components/header/title.d.ts.map +0 -1
  2336. package/lib/typescript/commonjs/src/modules/auth/register/types/form-inputs-props.d.ts.map +0 -1
  2337. package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-context-type.d.ts +0 -4
  2338. package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-context-type.d.ts.map +0 -1
  2339. package/lib/typescript/commonjs/src/modules/auth/register/types/register-header-props.d.ts +0 -8
  2340. package/lib/typescript/commonjs/src/modules/auth/register/types/register-header-props.d.ts.map +0 -1
  2341. package/lib/typescript/commonjs/src/modules/auth/register/utils/apply-custom-validation.d.ts +0 -3
  2342. package/lib/typescript/commonjs/src/modules/auth/register/utils/apply-custom-validation.d.ts.map +0 -1
  2343. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/header/description.d.ts +0 -8
  2344. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/header/description.d.ts.map +0 -1
  2345. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/header/header.d.ts +0 -11
  2346. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/header/header.d.ts.map +0 -1
  2347. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/header/title.d.ts +0 -8
  2348. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/header/title.d.ts.map +0 -1
  2349. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/header/description.d.ts +0 -8
  2350. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/header/description.d.ts.map +0 -1
  2351. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/header/header.d.ts +0 -11
  2352. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/header/header.d.ts.map +0 -1
  2353. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/header/title.d.ts +0 -8
  2354. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/header/title.d.ts.map +0 -1
  2355. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-icon.d.ts +0 -3
  2356. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-icon.d.ts.map +0 -1
  2357. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/token-response.d.ts +0 -7
  2358. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/token-response.d.ts.map +0 -1
  2359. package/lib/typescript/commonjs/src/modules/breathing-exercise/components/icons/exhale-icon.d.ts +0 -9
  2360. package/lib/typescript/commonjs/src/modules/breathing-exercise/components/icons/exhale-icon.d.ts.map +0 -1
  2361. package/lib/typescript/commonjs/src/modules/bt-management/constants/diagnostic-results.d.ts +0 -10
  2362. package/lib/typescript/commonjs/src/modules/bt-management/constants/diagnostic-results.d.ts.map +0 -1
  2363. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-health-import.d.ts +0 -3
  2364. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-health-import.d.ts.map +0 -1
  2365. package/lib/typescript/commonjs/src/modules/bt-management/types/diagnostic-key-enum.d.ts +0 -10
  2366. package/lib/typescript/commonjs/src/modules/bt-management/types/diagnostic-key-enum.d.ts.map +0 -1
  2367. package/lib/typescript/commonjs/src/modules/bt-management/utils/summarise-measurement-for-log.d.ts +0 -9
  2368. package/lib/typescript/commonjs/src/modules/bt-management/utils/summarise-measurement-for-log.d.ts.map +0 -1
  2369. package/lib/typescript/commonjs/src/modules/content/content-card/types/content-card-metadata-props.d.ts +0 -9
  2370. package/lib/typescript/commonjs/src/modules/content/content-card/types/content-card-metadata-props.d.ts.map +0 -1
  2371. package/lib/typescript/commonjs/src/modules/content/content-detail/context/index.d.ts +0 -6
  2372. package/lib/typescript/commonjs/src/modules/content/content-detail/context/index.d.ts.map +0 -1
  2373. package/lib/typescript/commonjs/src/modules/content/content-list/types/horizontal-contents-props.d.ts +0 -10
  2374. package/lib/typescript/commonjs/src/modules/content/content-list/types/horizontal-contents-props.d.ts.map +0 -1
  2375. package/lib/typescript/commonjs/src/modules/helpers/utils/safe-json-parse.d.ts +0 -2
  2376. package/lib/typescript/commonjs/src/modules/helpers/utils/safe-json-parse.d.ts.map +0 -1
  2377. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/questionnaire-props.d.ts +0 -8
  2378. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/questionnaire-props.d.ts.map +0 -1
  2379. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/questionnaire.d.ts +0 -14
  2380. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/questionnaire.d.ts.map +0 -1
  2381. package/lib/typescript/commonjs/src/modules/tile/types/measurement-icon-props.d.ts +0 -4
  2382. package/lib/typescript/commonjs/src/modules/tile/types/measurement-icon-props.d.ts.map +0 -1
  2383. package/lib/typescript/commonjs/src/modules/tile/types/tile-list-props.d.ts +0 -4
  2384. package/lib/typescript/commonjs/src/modules/tile/types/tile-list-props.d.ts.map +0 -1
  2385. package/lib/typescript/module/src/modules/auth/register/components/header/description.d.ts +0 -8
  2386. package/lib/typescript/module/src/modules/auth/register/components/header/description.d.ts.map +0 -1
  2387. package/lib/typescript/module/src/modules/auth/register/components/header/header.d.ts +0 -11
  2388. package/lib/typescript/module/src/modules/auth/register/components/header/header.d.ts.map +0 -1
  2389. package/lib/typescript/module/src/modules/auth/register/components/header/title.d.ts +0 -8
  2390. package/lib/typescript/module/src/modules/auth/register/components/header/title.d.ts.map +0 -1
  2391. package/lib/typescript/module/src/modules/auth/register/types/form-inputs-props.d.ts.map +0 -1
  2392. package/lib/typescript/module/src/modules/auth/register/types/register-form-context-type.d.ts +0 -4
  2393. package/lib/typescript/module/src/modules/auth/register/types/register-form-context-type.d.ts.map +0 -1
  2394. package/lib/typescript/module/src/modules/auth/register/types/register-header-props.d.ts +0 -8
  2395. package/lib/typescript/module/src/modules/auth/register/types/register-header-props.d.ts.map +0 -1
  2396. package/lib/typescript/module/src/modules/auth/register/utils/apply-custom-validation.d.ts +0 -3
  2397. package/lib/typescript/module/src/modules/auth/register/utils/apply-custom-validation.d.ts.map +0 -1
  2398. package/lib/typescript/module/src/modules/auth/reset-password/components/header/description.d.ts +0 -8
  2399. package/lib/typescript/module/src/modules/auth/reset-password/components/header/description.d.ts.map +0 -1
  2400. package/lib/typescript/module/src/modules/auth/reset-password/components/header/header.d.ts +0 -11
  2401. package/lib/typescript/module/src/modules/auth/reset-password/components/header/header.d.ts.map +0 -1
  2402. package/lib/typescript/module/src/modules/auth/reset-password/components/header/title.d.ts +0 -8
  2403. package/lib/typescript/module/src/modules/auth/reset-password/components/header/title.d.ts.map +0 -1
  2404. package/lib/typescript/module/src/modules/auth/sign-in/components/header/description.d.ts +0 -8
  2405. package/lib/typescript/module/src/modules/auth/sign-in/components/header/description.d.ts.map +0 -1
  2406. package/lib/typescript/module/src/modules/auth/sign-in/components/header/header.d.ts +0 -11
  2407. package/lib/typescript/module/src/modules/auth/sign-in/components/header/header.d.ts.map +0 -1
  2408. package/lib/typescript/module/src/modules/auth/sign-in/components/header/title.d.ts +0 -8
  2409. package/lib/typescript/module/src/modules/auth/sign-in/components/header/title.d.ts.map +0 -1
  2410. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-icon.d.ts +0 -3
  2411. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-icon.d.ts.map +0 -1
  2412. package/lib/typescript/module/src/modules/auth/sign-in/types/token-response.d.ts +0 -7
  2413. package/lib/typescript/module/src/modules/auth/sign-in/types/token-response.d.ts.map +0 -1
  2414. package/lib/typescript/module/src/modules/breathing-exercise/components/icons/exhale-icon.d.ts +0 -9
  2415. package/lib/typescript/module/src/modules/breathing-exercise/components/icons/exhale-icon.d.ts.map +0 -1
  2416. package/lib/typescript/module/src/modules/bt-management/constants/diagnostic-results.d.ts +0 -10
  2417. package/lib/typescript/module/src/modules/bt-management/constants/diagnostic-results.d.ts.map +0 -1
  2418. package/lib/typescript/module/src/modules/bt-management/hooks/use-health-import.d.ts +0 -3
  2419. package/lib/typescript/module/src/modules/bt-management/hooks/use-health-import.d.ts.map +0 -1
  2420. package/lib/typescript/module/src/modules/bt-management/types/diagnostic-key-enum.d.ts +0 -10
  2421. package/lib/typescript/module/src/modules/bt-management/types/diagnostic-key-enum.d.ts.map +0 -1
  2422. package/lib/typescript/module/src/modules/bt-management/utils/summarise-measurement-for-log.d.ts +0 -9
  2423. package/lib/typescript/module/src/modules/bt-management/utils/summarise-measurement-for-log.d.ts.map +0 -1
  2424. package/lib/typescript/module/src/modules/content/content-card/types/content-card-metadata-props.d.ts +0 -9
  2425. package/lib/typescript/module/src/modules/content/content-card/types/content-card-metadata-props.d.ts.map +0 -1
  2426. package/lib/typescript/module/src/modules/content/content-detail/context/index.d.ts +0 -6
  2427. package/lib/typescript/module/src/modules/content/content-detail/context/index.d.ts.map +0 -1
  2428. package/lib/typescript/module/src/modules/content/content-list/types/horizontal-contents-props.d.ts +0 -10
  2429. package/lib/typescript/module/src/modules/content/content-list/types/horizontal-contents-props.d.ts.map +0 -1
  2430. package/lib/typescript/module/src/modules/helpers/utils/safe-json-parse.d.ts +0 -2
  2431. package/lib/typescript/module/src/modules/helpers/utils/safe-json-parse.d.ts.map +0 -1
  2432. package/lib/typescript/module/src/modules/questionnaire-response-form/types/questionnaire-props.d.ts +0 -8
  2433. package/lib/typescript/module/src/modules/questionnaire-response-form/types/questionnaire-props.d.ts.map +0 -1
  2434. package/lib/typescript/module/src/modules/questionnaire-response-form/types/questionnaire.d.ts +0 -14
  2435. package/lib/typescript/module/src/modules/questionnaire-response-form/types/questionnaire.d.ts.map +0 -1
  2436. package/lib/typescript/module/src/modules/tile/types/measurement-icon-props.d.ts +0 -4
  2437. package/lib/typescript/module/src/modules/tile/types/measurement-icon-props.d.ts.map +0 -1
  2438. package/lib/typescript/module/src/modules/tile/types/tile-list-props.d.ts +0 -4
  2439. package/lib/typescript/module/src/modules/tile/types/tile-list-props.d.ts.map +0 -1
  2440. /package/lib/commonjs/modules/auth/{register/types → types}/form-inputs-props.js +0 -0
  2441. /package/lib/module/modules/auth/{register/types → types}/form-inputs-props.js +0 -0
  2442. /package/lib/typescript/commonjs/src/modules/auth/{register/types → types}/form-inputs-props.d.ts +0 -0
  2443. /package/lib/typescript/module/src/modules/auth/{register/types → types}/form-inputs-props.d.ts +0 -0
@@ -11,19 +11,12 @@ var _baseHealthSyncService = require("./base-health-sync-service.js");
11
11
  var _instanceManager = require("./managers/instance-manager.js");
12
12
  class AndroidHealthSyncService extends _baseHealthSyncService.BaseHealthSyncService {
13
13
  constructor(props) {
14
- super(props);
15
- }
16
- getProviderName() {
17
- return "android-health-connect";
18
- }
19
- getTotalCountsFunction() {
20
- return _getTotalRecordsCount.getTotalRecordsCount;
21
- }
22
- getDataFromProviderFunction() {
23
- return _getRecordsFromHealthConnect.getRecordsFromHealthConnect;
24
- }
25
- getConverterFunction() {
26
- return _convertRecordsToObservation.convertRecordsToObservation;
14
+ super(props, {
15
+ provider: "android-health-connect",
16
+ getTotalCount: _getTotalRecordsCount.getTotalRecordsCount,
17
+ getData: _getRecordsFromHealthConnect.getRecordsFromHealthConnect,
18
+ convert: _convertRecordsToObservation.convertRecordsToObservation
19
+ });
27
20
  }
28
21
  static getInstance(props) {
29
22
  return _instanceManager.InstanceManager.getInstanceInternal("AndroidHealthSyncService", props, () => new AndroidHealthSyncService(props));
@@ -1 +1 @@
1
- {"version":3,"names":["_convertRecordsToObservation","require","_getRecordsFromHealthConnect","_getTotalRecordsCount","_baseHealthSyncService","_instanceManager","AndroidHealthSyncService","BaseHealthSyncService","constructor","props","getProviderName","getTotalCountsFunction","getTotalRecordsCount","getDataFromProviderFunction","getRecordsFromHealthConnect","getConverterFunction","convertRecordsToObservation","getInstance","InstanceManager","getInstanceInternal","exports"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/services/android-health-sync-service.ts"],"mappings":";;;;;;AAUA,IAAAA,4BAAA,GAAAC,OAAA;AACA,IAAAC,4BAAA,GAAAD,OAAA;AACA,IAAAE,qBAAA,GAAAF,OAAA;AAEA,IAAAG,sBAAA,GAAAH,OAAA;AACA,IAAAI,gBAAA,GAAAJ,OAAA;AAMO,MAAMK,wBAAwB,SAASC,4CAAqB,CAIjE;EACQC,WAAWA,CAACC,KAAoC,EAAE;IACxD,KAAK,CAACA,KAAK,CAAC;EACd;EAEUC,eAAeA,CAAA,EAAmB;IAC1C,OAAO,wBAAwB;EACjC;EAEUC,sBAAsBA,CAAA,EAEX;IACnB,OAAOC,0CAAoB;EAC7B;EAEUC,2BAA2BA,CAAA,EAEqB;IACxD,OAAOC,wDAA2B;EACpC;EAEUC,oBAAoBA,CAAA,EAEF;IAC1B,OAAOC,wDAA2B;EACpC;EAEA,OAAOC,WAAWA,CAChBR,KAAoC,EACV;IAC1B,OAAOS,gCAAe,CAACC,mBAAmB,CACxC,0BAA0B,EAC1BV,KAAK,EACL,MAAM,IAAIH,wBAAwB,CAACG,KAAK,CAC1C,CAAC;EACH;AACF;AAACW,OAAA,CAAAd,wBAAA,GAAAA,wBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_convertRecordsToObservation","require","_getRecordsFromHealthConnect","_getTotalRecordsCount","_baseHealthSyncService","_instanceManager","AndroidHealthSyncService","BaseHealthSyncService","constructor","props","provider","getTotalCount","getTotalRecordsCount","getData","getRecordsFromHealthConnect","convert","convertRecordsToObservation","getInstance","InstanceManager","getInstanceInternal","exports"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/services/android-health-sync-service.ts"],"mappings":";;;;;;AAIA,IAAAA,4BAAA,GAAAC,OAAA;AACA,IAAAC,4BAAA,GAAAD,OAAA;AACA,IAAAE,qBAAA,GAAAF,OAAA;AAEA,IAAAG,sBAAA,GAAAH,OAAA;AACA,IAAAI,gBAAA,GAAAJ,OAAA;AAMO,MAAMK,wBAAwB,SAASC,4CAAqB,CAIjE;EACQC,WAAWA,CAACC,KAAoC,EAAE;IACxD,KAAK,CAACA,KAAK,EAAE;MACXC,QAAQ,EAAE,wBAAwB;MAClCC,aAAa,EAAEC,0CAAoB;MACnCC,OAAO,EAAEC,wDAA2B;MACpCC,OAAO,EAAEC;IACX,CAAC,CAAC;EACJ;EAEA,OAAOC,WAAWA,CAChBR,KAAoC,EACV;IAC1B,OAAOS,gCAAe,CAACC,mBAAmB,CACxC,0BAA0B,EAC1BV,KAAK,EACL,MAAM,IAAIH,wBAAwB,CAACG,KAAK,CAC1C,CAAC;EACH;AACF;AAACW,OAAA,CAAAd,wBAAA,GAAAA,wBAAA","ignoreList":[]}
@@ -11,19 +11,12 @@ var _baseHealthSyncService = require("./base-health-sync-service.js");
11
11
  var _instanceManager = require("./managers/instance-manager.js");
12
12
  class AppleHealthSyncService extends _baseHealthSyncService.BaseHealthSyncService {
13
13
  constructor(props) {
14
- super(props);
15
- }
16
- getProviderName() {
17
- return "apple-health";
18
- }
19
- getTotalCountsFunction() {
20
- return _getTotalSamplesCount.getTotalSamplesCount;
21
- }
22
- getDataFromProviderFunction() {
23
- return _getSamplesFromHealth.getSamplesFromHealth;
24
- }
25
- getConverterFunction() {
26
- return _convertSamplesToObservation.convertSamplesToObservation;
14
+ super(props, {
15
+ provider: "apple-health",
16
+ getTotalCount: _getTotalSamplesCount.getTotalSamplesCount,
17
+ getData: _getSamplesFromHealth.getSamplesFromHealth,
18
+ convert: _convertSamplesToObservation.convertSamplesToObservation
19
+ });
27
20
  }
28
21
  static getInstance(props) {
29
22
  return _instanceManager.InstanceManager.getInstanceInternal("AppleHealthSyncService", props, () => new AppleHealthSyncService(props));
@@ -1 +1 @@
1
- {"version":3,"names":["_convertSamplesToObservation","require","_getSamplesFromHealth","_getTotalSamplesCount","_baseHealthSyncService","_instanceManager","AppleHealthSyncService","BaseHealthSyncService","constructor","props","getProviderName","getTotalCountsFunction","getTotalSamplesCount","getDataFromProviderFunction","getSamplesFromHealth","getConverterFunction","convertSamplesToObservation","getInstance","InstanceManager","getInstanceInternal","exports"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/services/apple-health-sync-service.ts"],"mappings":";;;;;;AAYA,IAAAA,4BAAA,GAAAC,OAAA;AACA,IAAAC,qBAAA,GAAAD,OAAA;AACA,IAAAE,qBAAA,GAAAF,OAAA;AAEA,IAAAG,sBAAA,GAAAH,OAAA;AACA,IAAAI,gBAAA,GAAAJ,OAAA;AAMO,MAAMK,sBAAsB,SAASC,4CAAqB,CAI/D;EACQC,WAAWA,CAACC,KAAkC,EAAE;IACtD,KAAK,CAACA,KAAK,CAAC;EACd;EAEUC,eAAeA,CAAA,EAAmB;IAC1C,OAAO,cAAc;EACvB;EAEUC,sBAAsBA,CAAA,EAEX;IACnB,OAAOC,0CAAoB;EAC7B;EAEUC,2BAA2BA,CAAA,EAOnC;IACA,OAAOC,0CAAoB;EAC7B;EAEUC,oBAAoBA,CAAA,EAEF;IAC1B,OAAOC,wDAA2B;EACpC;EAEA,OAAOC,WAAWA,CAChBR,KAAkC,EACV;IACxB,OAAOS,gCAAe,CAACC,mBAAmB,CACxC,wBAAwB,EACxBV,KAAK,EACL,MAAM,IAAIH,sBAAsB,CAACG,KAAK,CACxC,CAAC;EACH;AACF;AAACW,OAAA,CAAAd,sBAAA,GAAAA,sBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_convertSamplesToObservation","require","_getSamplesFromHealth","_getTotalSamplesCount","_baseHealthSyncService","_instanceManager","AppleHealthSyncService","BaseHealthSyncService","constructor","props","provider","getTotalCount","getTotalSamplesCount","getData","getSamplesFromHealth","convert","convertSamplesToObservation","getInstance","InstanceManager","getInstanceInternal","exports"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/services/apple-health-sync-service.ts"],"mappings":";;;;;;AAMA,IAAAA,4BAAA,GAAAC,OAAA;AACA,IAAAC,qBAAA,GAAAD,OAAA;AACA,IAAAE,qBAAA,GAAAF,OAAA;AAEA,IAAAG,sBAAA,GAAAH,OAAA;AACA,IAAAI,gBAAA,GAAAJ,OAAA;AAMO,MAAMK,sBAAsB,SAASC,4CAAqB,CAI/D;EACQC,WAAWA,CAACC,KAAkC,EAAE;IACtD,KAAK,CAACA,KAAK,EAAE;MACXC,QAAQ,EAAE,cAAc;MACxBC,aAAa,EAAEC,0CAAoB;MACnCC,OAAO,EAAEC,0CAAoB;MAC7BC,OAAO,EAAEC;IACX,CAAC,CAAC;EACJ;EAEA,OAAOC,WAAWA,CAChBR,KAAkC,EACV;IACxB,OAAOS,gCAAe,CAACC,mBAAmB,CACxC,wBAAwB,EACxBV,KAAK,EACL,MAAM,IAAIH,sBAAsB,CAACG,KAAK,CACxC,CAAC;EACH;AACF;AAACW,OAAA,CAAAd,sBAAA,GAAAA,sBAAA","ignoreList":[]}
@@ -15,21 +15,25 @@ var _syncProgressManager = require("./managers/sync-progress-manager.js");
15
15
  var _syncStateManager = require("./managers/sync-state-manager.js");
16
16
  /* eslint-disable max-lines */
17
17
 
18
+ /** What a platform plugs into the shared sync pipeline. */
19
+
18
20
  class BaseHealthSyncService {
19
- constructor(props) {
21
+ constructor(props, adapter) {
22
+ this.adapter = adapter;
20
23
  this.client = props.client;
21
24
  this.patientId = props.patientId;
22
25
  this.dataToSync = props.dataToSync;
23
26
  this.onSyncError = props.onSyncError;
24
27
  this.progressManager = new _syncProgressManager.SyncProgressManager(props.updateProgress, props.dataToSync);
25
28
  this.stateManager = new _syncStateManager.SyncStateManager();
26
- this.storageManager = new _storageManager.StorageManager(props.client, this.getProviderName());
27
- this.dataProcessor = new _dataProcessor.DataProcessor(props.client, props.patientId, this.getProviderName(), props.chunkSize ?? _constants.DEFAULT_HEALTH_SYNC_CHUNK_SIZE, this.storageManager, this.getTotalCountsFunction(), this.getDataFromProviderFunction(), this.getConverterFunction());
29
+ this.storageManager = new _storageManager.StorageManager(props.client, adapter.provider);
30
+ this.dataProcessor = new _dataProcessor.DataProcessor(props.client, props.patientId, this.adapter.provider, props.chunkSize ?? _constants.DEFAULT_HEALTH_SYNC_CHUNK_SIZE, this.storageManager, adapter.getTotalCount, adapter.getData, adapter.convert);
28
31
  }
32
+
29
33
  /** One run at a time; see `SyncStateManager.once` for why that matters. */
30
34
  async startSync() {
31
35
  return this.stateManager.once(() => (0, _telemetry.withOvokSpan)("health.import", {
32
- provider: this.getProviderName()
36
+ provider: this.adapter.provider
33
37
  }, () => this.runSync()));
34
38
  }
35
39
  async runSync() {
@@ -123,11 +127,11 @@ class BaseHealthSyncService {
123
127
  const savedCount = responseEntries.length ? responseEntries.filter(entry => entry.response?.status.startsWith("2")).length : entries.length;
124
128
  const createdCount = responseEntries.filter(entry => entry.response?.status.startsWith("201")).length;
125
129
  (0, _telemetry.recordOvokMetric)("ovok.health.samples.imported", createdCount, {
126
- provider: this.getProviderName(),
130
+ provider: this.adapter.provider,
127
131
  measurementTypeKey
128
132
  });
129
133
  (0, _telemetry.recordOvokDuration)("ovok.measurement.save.duration", Date.now() - startedAt, {
130
- provider: this.getProviderName()
134
+ provider: this.adapter.provider
131
135
  });
132
136
  this.stateManager.addResult(result);
133
137
  this.progressManager.incrementSyncedObservations(measurementTypeKey, savedCount, createdCount);
@@ -1 +1 @@
1
- {"version":3,"names":["_telemetry","require","_constants","_healthSyncBatchError","_healthSyncKeys","_retrySave","_dataProcessor","_storageManager","_syncProgressManager","_syncStateManager","BaseHealthSyncService","constructor","props","client","patientId","dataToSync","onSyncError","progressManager","SyncProgressManager","updateProgress","stateManager","SyncStateManager","storageManager","StorageManager","getProviderName","dataProcessor","DataProcessor","chunkSize","DEFAULT_HEALTH_SYNC_CHUNK_SIZE","getTotalCountsFunction","getDataFromProviderFunction","getConverterFunction","startSync","once","withOvokSpan","provider","runSync","isInitialized","Error","resume","setNotStartedStatuses","initialDataFetched","initializeSync","processAllDataTypes","setPauseStatuses","pauseReason","error","stopSync","resetAll","reset","shouldStopSync","pauseSync","reason","pause","latestObservationDates","getLatestObservationDates","calculateTotalCounts","key","Object","keys","measurementTypeKey","data","getDataForMeasurementType","latestValidStartDate","getLatestValidStartDate","getHealthDataMode","mode","totalCount","getTotalRecordsCountForType","setTotalObservations","setStatus","syncDataByType","hasMore","observationBodies","observationSyncIds","deletedObservationSyncIds","currentHasMore","anchors","getObservationBodiesForType","entries","generateObservationEntries","length","startedAt","Date","now","result","withSyncRetries","saveObservations","responseEntries","entry","savedCount","filter","response","status","startsWith","createdCount","recordOvokMetric","recordOvokDuration","addResult","incrementSyncedObservations","deleteObservations","saveAnchors","isSyncRetryCancelled","toHealthSyncError","exports"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/services/base-health-sync-service.ts"],"mappings":";;;;;;AAKA,IAAAA,UAAA,GAAAC,OAAA;AAKA,IAAAC,UAAA,GAAAD,OAAA;AASA,IAAAE,qBAAA,GAAAF,OAAA;AACA,IAAAG,eAAA,GAAAH,OAAA;AAEA,IAAAI,UAAA,GAAAJ,OAAA;AAEA,IAAAK,cAAA,GAAAL,OAAA;AACA,IAAAM,eAAA,GAAAN,OAAA;AACA,IAAAO,oBAAA,GAAAP,OAAA;AACA,IAAAQ,iBAAA,GAAAR,OAAA;AA3BA;;AA6BO,MAAeS,qBAAqB,CAKzC;EAeAC,WAAWA,CAACC,KAAoC,EAAE;IAChD,IAAI,CAACC,MAAM,GAAGD,KAAK,CAACC,MAAM;IAC1B,IAAI,CAACC,SAAS,GAAGF,KAAK,CAACE,SAAS;IAChC,IAAI,CAACC,UAAU,GAAGH,KAAK,CAACG,UAAU;IAClC,IAAI,CAACC,WAAW,GAAGJ,KAAK,CAACI,WAAW;IAEpC,IAAI,CAACC,eAAe,GAAG,IAAIC,wCAAmB,CAC5CN,KAAK,CAACO,cAAc,EACpBP,KAAK,CAACG,UACR,CAAC;IACD,IAAI,CAACK,YAAY,GAAG,IAAIC,kCAAgB,CAAC,CAAC;IAC1C,IAAI,CAACC,cAAc,GAAG,IAAIC,8BAAc,CACtCX,KAAK,CAACC,MAAM,EACZ,IAAI,CAACW,eAAe,CAAC,CACvB,CAAC;IACD,IAAI,CAACC,aAAa,GAAG,IAAIC,4BAAa,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,OAAA,CAAA9F,qBAAA,GAAAA,qBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_telemetry","require","_constants","_healthSyncBatchError","_healthSyncKeys","_retrySave","_dataProcessor","_storageManager","_syncProgressManager","_syncStateManager","BaseHealthSyncService","constructor","props","adapter","client","patientId","dataToSync","onSyncError","progressManager","SyncProgressManager","updateProgress","stateManager","SyncStateManager","storageManager","StorageManager","provider","dataProcessor","DataProcessor","chunkSize","DEFAULT_HEALTH_SYNC_CHUNK_SIZE","getTotalCount","getData","convert","startSync","once","withOvokSpan","runSync","isInitialized","Error","resume","setNotStartedStatuses","initialDataFetched","initializeSync","processAllDataTypes","setPauseStatuses","pauseReason","error","stopSync","resetAll","reset","shouldStopSync","pauseSync","reason","pause","latestObservationDates","getLatestObservationDates","calculateTotalCounts","key","Object","keys","measurementTypeKey","data","getDataForMeasurementType","latestValidStartDate","getLatestValidStartDate","getHealthDataMode","mode","totalCount","getTotalRecordsCountForType","setTotalObservations","setStatus","syncDataByType","hasMore","observationBodies","observationSyncIds","deletedObservationSyncIds","currentHasMore","anchors","getObservationBodiesForType","entries","generateObservationEntries","length","startedAt","Date","now","result","withSyncRetries","saveObservations","responseEntries","entry","savedCount","filter","response","status","startsWith","createdCount","recordOvokMetric","recordOvokDuration","addResult","incrementSyncedObservations","deleteObservations","saveAnchors","isSyncRetryCancelled","toHealthSyncError","exports"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/services/base-health-sync-service.ts"],"mappings":";;;;;;AAKA,IAAAA,UAAA,GAAAC,OAAA;AAKA,IAAAC,UAAA,GAAAD,OAAA;AASA,IAAAE,qBAAA,GAAAF,OAAA;AACA,IAAAG,eAAA,GAAAH,OAAA;AAEA,IAAAI,UAAA,GAAAJ,OAAA;AAEA,IAAAK,cAAA,GAAAL,OAAA;AACA,IAAAM,eAAA,GAAAN,OAAA;AACA,IAAAO,oBAAA,GAAAP,OAAA;AACA,IAAAQ,iBAAA,GAAAR,OAAA;AA3BA;;AA6BA;;AA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AI,IAAAwD,+BAAoB,EAACxD,KAAK,CAAC,IAAI,IAAI,CAACzB,YAAY,CAAC6B,cAAc,EAAE;YACnE;UACF;UAEA,IAAI,CAAChC,eAAe,CAACoD,SAAS,CAACV,kBAAkB,EAAE,QAAQ,CAAC;UAC5D,IAAI,CAAC3C,WAAW,CAAC,IAAAsF,uCAAiB,EAACzD,KAAK,CAAC,CAAC;UAE1C;QACF;MACF,CAAC,MAAM;QACL,IAAI,CAACvB,cAAc,CAAC8E,WAAW,CAACxB,OAAO,CAAC;MAC1C;IACF;IAEA,IAAI,CAAC3D,eAAe,CAACoD,SAAS,CAC5BV,kBAAkB,EAClB,IAAI,CAACvC,YAAY,CAAC6B,cAAc,GAAG,MAAM,GAAG,WAC9C,CAAC;EACH;EAEQY,yBAAyBA,CAACF,kBAAiC,EAAE;IACnE,OAAO,IAAI,CAAC5C,UAAU,CAAC4C,kBAAkB,CAAC;EAC5C;AACF;AAAC4C,OAAA,CAAA9F,qBAAA,GAAAA,qBAAA","ignoreList":[]}
@@ -10,8 +10,10 @@ var _generateObservationEntry = require("../../utils/generate-observation-entry.
10
10
  var _getHealthRecordSyncId = require("../../utils/get-health-record-sync-id.js");
11
11
  var _getLatestObservationDatesByCode = require("../../utils/get-latest-observation-dates-by-code.js");
12
12
  var _getLatestValidStartDate = require("../../utils/get-latest-valid-start-date.js");
13
+ var _groupSamplesByInterval = require("../../utils/group-samples-by-interval.js");
13
14
  var _groupSleepSamples = require("../../utils/group-sleep-samples.js");
14
15
  var _healthDataCatalog = require("../../utils/health-data-catalog.js");
16
+ var _isDailyAggregateMode = require("../../utils/is-daily-aggregate-mode.js");
15
17
  /* eslint-disable max-lines */
16
18
 
17
19
  class DataProcessor {
@@ -92,7 +94,7 @@ class DataProcessor {
92
94
  typeIdentifier,
93
95
  result: await this.getDataFromProviderFunction({
94
96
  typeIdentifier: typeIdentifier,
95
- startDate: mode === "daily-total" || mode === "daily-summary" ? data.minDate?.toISOString() : latestValidStartDate?.toISOString(),
97
+ startDate: (0, _isDailyAggregateMode.isDailyAggregateMode)(mode) ? data.minDate?.toISOString() : latestValidStartDate?.toISOString(),
96
98
  anchor,
97
99
  chunkSize: this.chunkSize,
98
100
  mode
@@ -109,14 +111,7 @@ class DataProcessor {
109
111
  typeIdentifier,
110
112
  result
111
113
  }) => (result.deletedRecordIds ?? []).map(recordId => (0, _getHealthRecordSyncId.getHealthRecordDeletionSyncId)(typeIdentifier, recordId, measurementTypeKey, this.provider)));
112
- const dataGroups = this.provider === "apple-health" && measurementTypeKey === _healthSyncKeys.HealthDataType.sleep ? (0, _groupSleepSamples.groupSleepSamples)(allData) : this.provider === "apple-health" && measurementTypeKey === _core.MeasurementTypeKey.bloodPressure ? Array.from(allData.reduce((groups, sample) => {
113
- const value = sample;
114
- const key = `${new Date(value.startDate ?? 0).getTime()}:${new Date(value.endDate ?? value.startDate ?? 0).getTime()}`;
115
- const group = groups.get(key) ?? [];
116
- group.push(sample);
117
- groups.set(key, group);
118
- return groups;
119
- }, new Map()).values()) : allData.map(data => [data]);
114
+ const dataGroups = this.provider === "apple-health" && measurementTypeKey === _healthSyncKeys.HealthDataType.sleep ? (0, _groupSleepSamples.groupSleepSamples)(allData) : this.provider === "apple-health" && measurementTypeKey === _core.MeasurementTypeKey.bloodPressure ? (0, _groupSamplesByInterval.groupSamplesByInterval)(allData) : allData.map(data => [data]);
120
115
  const observationBodies = await Promise.all(dataGroups.map(group => this.getConverterFunction({
121
116
  data: group,
122
117
  client: this.client,
@@ -1 +1 @@
1
- {"version":3,"names":["_core","require","_healthSyncKeys","_generateObservationEntry","_getHealthRecordSyncId","_getLatestObservationDatesByCode","_getLatestValidStartDate","_groupSleepSamples","_healthDataCatalog","DataProcessor","constructor","client","patientId","provider","chunkSize","storageManager","getTotalCountsFunction","getDataFromProviderFunction","getConverterFunction","extractCodes","dataToSync","entries","Object","flatMap","key","data","typeIdentifiers","map","typeIdentifier","code","String","getHealthDataCoding","getHealthDataMode","mode","getLatestObservationDates","codes","getLatestObservationDatesByCode","getTotalRecordsCountForType","measurementTypeKey","latestValidStartDate","totalCounts","Promise","all","anchor","getAnchor","startDate","toISOString","reduce","acc","count","getObservationBodiesForType","configuredCodings","system","display","catalogCoding","undefined","typeIdentifierCodes","fromEntries","typeIdentifierCodeSystems","typeIdentifierCodeDisplays","results","result","minDate","newAnchors","flat","filter","Boolean","allData","deletedObservationSyncIds","deletedRecordIds","recordId","getHealthRecordDeletionSyncId","dataGroups","HealthDataType","sleep","groupSleepSamples","MeasurementTypeKey","bloodPressure","Array","from","groups","sample","value","Date","getTime","endDate","group","get","push","set","Map","values","observationBodies","length","observationSyncIds","getHealthRecordSyncId","hasMore","some","anchors","generateObservationEntries","generateObservationEntry","groupedObservationBodies","groupedObservationSyncIds","getLatestValidStartDate","latestObservationDates","resolvedMode","resolvedData","exports"],"sourceRoot":"../../../../../../src","sources":["modules/data-sync/services/managers/data-processor.ts"],"mappings":";;;;;;AAGA,IAAAA,KAAA,GAAAC,OAAA;AASA,IAAAC,eAAA,GAAAD,OAAA;AAKA,IAAAE,yBAAA,GAAAF,OAAA;AACA,IAAAG,sBAAA,GAAAH,OAAA;AAIA,IAAAI,gCAAA,GAAAJ,OAAA;AACA,IAAAK,wBAAA,GAAAL,OAAA;AACA,IAAAM,kBAAA,GAAAN,OAAA;AACA,IAAAO,kBAAA,GAAAP,OAAA;AAzBA;;AA6BO,MAAMQ,aAAa,CAKxB;EACAC,WAAWA,CACDC,MAAkB,EAClBC,SAAiB,EACjBC,QAAwB,EACxBC,SAAiB,EACjBC,cAA8B,EAC9BC,sBAEY,EACZC,2BAEgE,EAChEC,oBAEmB,EAC3B;IAAA,KAdQP,MAAkB,GAAlBA,MAAkB;IAAA,KAClBC,SAAiB,GAAjBA,SAAiB;IAAA,KACjBC,QAAwB,GAAxBA,QAAwB;IAAA,KACxBC,SAAiB,GAAjBA,SAAiB;IAAA,KACjBC,cAA8B,GAA9BA,cAA8B;IAAA,KAC9BC,sBAEY,GAFZA,sB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,IAAI,CAACA,QAAQ;MACvByF,yBAAyB,EAAER,kBAAkB;MAC7C7D,IAAI;MACJrB,SAAS,EAAE,IAAI,CAACA;IAClB,CAAC,CAAC;EACJ;EAEA2F,uBAAuBA,CACrBC,sBAGE,EACF/E,IAA6C,EAC7Ca,kBAAiC,EACjCL,IAA4D,EAC1C;IAClB,MAAMwE,YAAY,GAAG,IAAAzE,iCAAiB,EAACM,kBAAkB,EAAEL,IAAI,IAAIR,IAAI,CAACQ,IAAI,CAAC;IAE7E,MAAMyE,YAAY,GAAG;MACnB,GAAGjF,IAAI;MACPC,eAAe,EAAED,IAAI,CAACC,eAAe,CAACC,GAAG,CAAC,CAAC;QAAEC,cAAc;QAAEC;MAAK,CAAC,MAAM;QACvED,cAAc;QACdC,IAAI,EACFA,IAAI,IACJ,IAAAE,sCAAmB,EACjB,IAAI,CAAClB,QAAQ,EACbiB,MAAM,CAACF,cAAc,CAAC,EACtB6E,YACF,CAAC,CAAC5E;MACJ,CAAC,CACH;IACF,CAAC;IAED,OAAO,IAAA0E,gDAAuB,EAAC;MAC7BC,sBAAsB;MACtB/E,IAAI,EAAEiF,YAAqE;MAC3EzE,IAAI,EAAEwE;IACR,CAAC,CAAC;EACJ;AACF;AAACE,OAAA,CAAAlG,aAAA,GAAAA,aAAA","ignoreList":[]}
1
+ {"version":3,"names":["_core","require","_healthSyncKeys","_generateObservationEntry","_getHealthRecordSyncId","_getLatestObservationDatesByCode","_getLatestValidStartDate","_groupSamplesByInterval","_groupSleepSamples","_healthDataCatalog","_isDailyAggregateMode","DataProcessor","constructor","client","patientId","provider","chunkSize","storageManager","getTotalCountsFunction","getDataFromProviderFunction","getConverterFunction","extractCodes","dataToSync","entries","Object","flatMap","key","data","typeIdentifiers","map","typeIdentifier","code","String","getHealthDataCoding","getHealthDataMode","mode","getLatestObservationDates","codes","getLatestObservationDatesByCode","getTotalRecordsCountForType","measurementTypeKey","latestValidStartDate","totalCounts","Promise","all","anchor","getAnchor","startDate","toISOString","reduce","acc","count","getObservationBodiesForType","configuredCodings","system","display","catalogCoding","undefined","typeIdentifierCodes","fromEntries","typeIdentifierCodeSystems","typeIdentifierCodeDisplays","results","result","isDailyAggregateMode","minDate","newAnchors","flat","filter","Boolean","allData","deletedObservationSyncIds","deletedRecordIds","recordId","getHealthRecordDeletionSyncId","dataGroups","HealthDataType","sleep","groupSleepSamples","MeasurementTypeKey","bloodPressure","groupSamplesByInterval","observationBodies","group","length","observationSyncIds","getHealthRecordSyncId","hasMore","some","anchors","generateObservationEntries","generateObservationEntry","groupedObservationBodies","groupedObservationSyncIds","getLatestValidStartDate","latestObservationDates","resolvedMode","resolvedData","exports"],"sourceRoot":"../../../../../../src","sources":["modules/data-sync/services/managers/data-processor.ts"],"mappings":";;;;;;AAGA,IAAAA,KAAA,GAAAC,OAAA;AASA,IAAAC,eAAA,GAAAD,OAAA;AAKA,IAAAE,yBAAA,GAAAF,OAAA;AACA,IAAAG,sBAAA,GAAAH,OAAA;AAIA,IAAAI,gCAAA,GAAAJ,OAAA;AACA,IAAAK,wBAAA,GAAAL,OAAA;AACA,IAAAM,uBAAA,GAAAN,OAAA;AACA,IAAAO,kBAAA,GAAAP,OAAA;AACA,IAAAQ,kBAAA,GAAAR,OAAA;AACA,IAAAS,qBAAA,GAAAT,OAAA;AA3BA;;AA+BO,MAAMU,aAAa,CAKxB;EACAC,WAAWA,CACDC,MAAkB,EAClBC,SAAiB,EACjBC,QAAwB,EACxBC,SAAiB,EACjBC,cAA8B,EAC9BC,sBAEY,EACZC,2BAEgE,EAChEC,oBAEmB,EAC3B;IAAA,KAdQP,MAAkB,GAAlBA,MAAkB;IAAA,KAClBC,SAAiB,GAAjBA,SAAiB;IAAA,KACjBC,QAAwB,GAAxBA,QAAwB;IAAA,KACxBC,SAAiB,GAAjBA,SAAiB;IAAA,KACjBC,cAA8B,GAA9BA,cAA8B;IAAA,KAC9BC,sBAEY,GAFZA,sBAEY;IAAA,KACZC,2BAEgE,GAFhEA,2BAEgE;IAAA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,EAAC;MAC7BC,sBAAsB;MACtBpE,IAAI,EAAEsE,YAAqE;MAC3E9D,IAAI,EAAE6D;IACR,CAAC,CAAC;EACJ;AACF;AAACE,OAAA,CAAAvF,aAAA,GAAAA,aAAA","ignoreList":[]}
@@ -4,10 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.StorageManager = void 0;
7
+ var _fhirSystems = require("../../utils/fhir-systems.js");
7
8
  var _saveBundleObservations = require("../../utils/save-bundle-observations.js");
8
9
  class StorageManager {
9
- static SYNC_ID_SYSTEM = "https://api.ovok.com/fhir/StructureDefinition/observation-sync-id";
10
-
11
10
  /**
12
11
  * Where an anchor goes when the host client has no storage.
13
12
  *
@@ -41,7 +40,7 @@ class StorageManager {
41
40
  const observations = [];
42
41
  for await (const page of this.client.searchResourcePages("Observation", {
43
42
  subject: `Patient/${patientId}`,
44
- identifier: `${StorageManager.SYNC_ID_SYSTEM}|${this.provider}:${syncId}`
43
+ identifier: `${_fhirSystems.OBSERVATION_SYNC_ID_SYSTEM}|${this.provider}:${syncId}`
45
44
  })) {
46
45
  observations.push(...page);
47
46
  }
@@ -1 +1 @@
1
- {"version":3,"names":["_saveBundleObservations","require","StorageManager","SYNC_ID_SYSTEM","inMemoryAnchors","Map","constructor","client","provider","saveObservations","entries","saveBundleObservations","deleteObservations","syncIds","patientId","syncId","Set","observations","page","searchResourcePages","subject","identifier","push","Promise","all","filter","observation","id","map","deleteResource","saveAnchor","typeIdentifier","anchor","key","anchorKey","clientStorage","setString","set","getAnchor","getString","get","saveAnchors","anchors","forEach","exports"],"sourceRoot":"../../../../../../src","sources":["modules/data-sync/services/managers/storage-manager.ts"],"mappings":";;;;;;AAIA,IAAAA,uBAAA,GAAAC,OAAA;AAEO,MAAMC,cAAc,CAAC;EAC1B,OAAwBC,cAAc,GACpC,mEAAmE;;EAErE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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ED,MAAM,CAAC;MAEhD;IACF;IAEA,IAAI,CAAC5B,eAAe,CAACiC,GAAG,CAACJ,GAAG,EAAED,MAAM,CAAC;EACvC;EAEAM,SAASA,CAACP,cAAsB,EAAsB;IACpD,MAAME,GAAG,GAAG,IAAI,CAACC,SAAS,CAACH,cAAc,CAAC;IAE1C,OAAO,IAAI,CAACxB,MAAM,CAAC4B,aAAa,GAC5B,IAAI,CAAC5B,MAAM,CAAC4B,aAAa,CAACI,SAAS,CAACN,GAAG,CAAC,GACxC,IAAI,CAAC7B,eAAe,CAACoC,GAAG,CAACP,GAAG,CAAC;EACnC;EAEQC,SAASA,CAACH,cAAsB,EAAU;IAChD,OAAO,GAAG,IAAI,CAACvB,QAAQ,SAASuB,cAAc,SAAS;EACzD;EAEAU,WAAWA,CACTC,OAA0D,EACpD;IACNA,OAAO,CAACC,OAAO,CAAC,CAAC;MAAEZ,cAAc;MAAEC;IAAO,CAAC,KAAK;MAC9C,IAAI,CAACF,UAAU,CAACC,cAAc,EAAEC,MAAM,CAAC;IACzC,CAAC,CAAC;EACJ;AACF;AAACY,OAAA,CAAA1C,cAAA,GAAAA,cAAA","ignoreList":[]}
1
+ {"version":3,"names":["_fhirSystems","require","_saveBundleObservations","StorageManager","inMemoryAnchors","Map","constructor","client","provider","saveObservations","entries","saveBundleObservations","deleteObservations","syncIds","patientId","syncId","Set","observations","page","searchResourcePages","subject","identifier","OBSERVATION_SYNC_ID_SYSTEM","push","Promise","all","filter","observation","id","map","deleteResource","saveAnchor","typeIdentifier","anchor","key","anchorKey","clientStorage","setString","set","getAnchor","getString","get","saveAnchors","anchors","forEach","exports"],"sourceRoot":"../../../../../../src","sources":["modules/data-sync/services/managers/storage-manager.ts"],"mappings":";;;;;;AAIA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,uBAAA,GAAAD,OAAA;AAEO,MAAME,cAAc,CAAC;EAC1B;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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,MAAM,CAAC;MAEhD;IACF;IAEA,IAAI,CAAC7B,eAAe,CAACkC,GAAG,CAACJ,GAAG,EAAED,MAAM,CAAC;EACvC;EAEAM,SAASA,CAACP,cAAsB,EAAsB;IACpD,MAAME,GAAG,GAAG,IAAI,CAACC,SAAS,CAACH,cAAc,CAAC;IAE1C,OAAO,IAAI,CAACzB,MAAM,CAAC6B,aAAa,GAC5B,IAAI,CAAC7B,MAAM,CAAC6B,aAAa,CAACI,SAAS,CAACN,GAAG,CAAC,GACxC,IAAI,CAAC9B,eAAe,CAACqC,GAAG,CAACP,GAAG,CAAC;EACnC;EAEQC,SAASA,CAACH,cAAsB,EAAU;IAChD,OAAO,GAAG,IAAI,CAACxB,QAAQ,SAASwB,cAAc,SAAS;EACzD;EAEAU,WAAWA,CACTC,OAA0D,EACpD;IACNA,OAAO,CAACC,OAAO,CAAC,CAAC;MAAEZ,cAAc;MAAEC;IAAO,CAAC,KAAK;MAC9C,IAAI,CAACF,UAAU,CAACC,cAAc,EAAEC,MAAM,CAAC;IACzC,CAAC,CAAC;EACJ;AACF;AAACY,OAAA,CAAA1C,cAAA,GAAAA,cAAA","ignoreList":[]}
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.toHealthSyncError = exports.HealthSyncBatchError = void 0;
7
+ var _toError = require("../../helpers/utils/to-error.js");
7
8
  class HealthSyncBatchError extends Error {
8
9
  name = "HealthSyncBatchError";
9
10
  constructor(message, bundle, outcome) {
@@ -21,7 +22,7 @@ const toHealthSyncError = error => {
21
22
  if (record?.outcome) {
22
23
  return new HealthSyncBatchError(error instanceof Error ? error.message : String(error), undefined, record.outcome);
23
24
  }
24
- return error instanceof Error ? error : new Error(String(error));
25
+ return (0, _toError.toError)(error);
25
26
  };
26
27
  exports.toHealthSyncError = toHealthSyncError;
27
28
  //# sourceMappingURL=health-sync-batch-error.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["HealthSyncBatchError","Error","name","constructor","message","bundle","outcome","exports","toHealthSyncError","error","record","undefined","String"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/types/health-sync-batch-error.ts"],"mappings":";;;;;;AAEA,MAAMA,oBAAoB,SAASC,KAAK,CAAC;EACvBC,IAAI,GAAG,sBAAsB;EAEtCC,WAAWA,CAChBC,OAAe,EACCC,MAAe,EACfC,OAA0B,EAC1C;IACA,KAAK,CAACF,OAAO,CAAC;IAAC,KAHCC,MAAe,GAAfA,MAAe;IAAA,KACfC,OAA0B,GAA1BA,OAA0B;EAG5C;AACF;AAACC,OAAA,CAAAP,oBAAA,GAAAA,oBAAA;AAED,MAAMQ,iBAAiB,GAAIC,KAAc,IAAY;EACnD,IAAIA,KAAK,YAAYT,oBAAoB,EAAE;IACzC,OAAOS,KAAK;EACd;EAEA,MAAMC,MAAM,GACV,OAAOD,KAAK,KAAK,QAAQ,IAAIA,KAAK,KAAK,IAAI,GACtCA,KAAK,GACNE,SAAS;EAEf,IAAID,MAAM,EAAEJ,OAAO,EAAE;IACnB,OAAO,IAAIN,oBAAoB,CAC7BS,KAAK,YAAYR,KAAK,GAAGQ,KAAK,CAACL,OAAO,GAAGQ,MAAM,CAACH,KAAK,CAAC,EACtDE,SAAS,EACTD,MAAM,CAACJ,OACT,CAAC;EACH;EAEA,OAAOG,KAAK,YAAYR,KAAK,GAAGQ,KAAK,GAAG,IAAIR,KAAK,CAACW,MAAM,CAACH,KAAK,CAAC,CAAC;AAClE,CAAC;AAACF,OAAA,CAAAC,iBAAA,GAAAA,iBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_toError","require","HealthSyncBatchError","Error","name","constructor","message","bundle","outcome","exports","toHealthSyncError","error","record","undefined","String","toError"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/types/health-sync-batch-error.ts"],"mappings":";;;;;;AAEA,IAAAA,QAAA,GAAAC,OAAA;AAEA,MAAMC,oBAAoB,SAASC,KAAK,CAAC;EACvBC,IAAI,GAAG,sBAAsB;EAEtCC,WAAWA,CAChBC,OAAe,EACCC,MAAe,EACfC,OAA0B,EAC1C;IACA,KAAK,CAACF,OAAO,CAAC;IAAC,KAHCC,MAAe,GAAfA,MAAe;IAAA,KACfC,OAA0B,GAA1BA,OAA0B;EAG5C;AACF;AAACC,OAAA,CAAAP,oBAAA,GAAAA,oBAAA;AAED,MAAMQ,iBAAiB,GAAIC,KAAc,IAAY;EACnD,IAAIA,KAAK,YAAYT,oBAAoB,EAAE;IACzC,OAAOS,KAAK;EACd;EAEA,MAAMC,MAAM,GACV,OAAOD,KAAK,KAAK,QAAQ,IAAIA,KAAK,KAAK,IAAI,GACtCA,KAAK,GACNE,SAAS;EAEf,IAAID,MAAM,EAAEJ,OAAO,EAAE;IACnB,OAAO,IAAIN,oBAAoB,CAC7BS,KAAK,YAAYR,KAAK,GAAGQ,KAAK,CAACL,OAAO,GAAGQ,MAAM,CAACH,KAAK,CAAC,EACtDE,SAAS,EACTD,MAAM,CAACJ,OACT,CAAC;EACH;EAEA,OAAO,IAAAO,gBAAO,EAACJ,KAAK,CAAC;AACvB,CAAC;AAACF,OAAA,CAAAC,iBAAA,GAAAA,iBAAA","ignoreList":[]}
@@ -5,11 +5,10 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.getUcumCode = exports.convertGenericHealthDataToObservation = void 0;
7
7
  var _healthData = require("../types/health-data.js");
8
+ var _fhirSystems = require("./fhir-systems.js");
8
9
  var _healthObservationDevice = require("./health-observation-device.js");
9
10
  /* eslint-disable max-lines */
10
11
 
11
- const FHIR_UNIT_SYSTEM = "http://unitsofmeasure.org";
12
- const LOINC_SYSTEM = "http://loinc.org";
13
12
  const HEALTH_RECORD_DATA_EXTENSION = "https://api.ovok.com/fhir/StructureDefinition/health-record-data";
14
13
  const HEALTHKIT_BODY_MASS_INDEX = "HKQuantityTypeIdentifierBodyMassIndex";
15
14
  const convertGenericHealthDataToObservation = async ({
@@ -30,7 +29,7 @@ const convertGenericHealthDataToObservation = async ({
30
29
  const configuredCode = typeIdentifierCodes?.[typeIdentifier];
31
30
  const code = configuredCode ?? typeIdentifier;
32
31
  const configuredSystem = typeIdentifierCodeSystems?.[typeIdentifier];
33
- const system = configuredSystem === LOINC_SYSTEM ? configuredCode && isLoincCode(configuredCode) ? LOINC_SYSTEM : undefined : configuredSystem;
32
+ const system = configuredSystem === _fhirSystems.LOINC_SYSTEM ? configuredCode && isLoincCode(configuredCode) ? _fhirSystems.LOINC_SYSTEM : undefined : configuredSystem;
34
33
  const interval = getInterval(data);
35
34
  const measurement = getMeasurement(first, mode, interval, typeIdentifier);
36
35
  if (!measurement || !patientId) {
@@ -145,7 +144,9 @@ const extractValue = raw => {
145
144
  unit: String(quantity.unit ?? raw.unit ?? "1")
146
145
  };
147
146
  }
148
- const candidates = [["height", "inMeters", "m"], ["bodyFat", "percentage", "%"], ["mass", "inKilograms", "kg"], ["weight", "inKilograms", "kg"], ["distance", "inMeters", "m"], ["energy", "inKilocalories", "kcal"]];
147
+
148
+ // Unit-named fields first (`inMeters`), then the generic `value`; the first number wins.
149
+ const candidates = [["height", "inMeters", "m"], ["bodyFat", "percentage", "%"], ["mass", "inKilograms", "kg"], ["weight", "inKilograms", "kg"], ["distance", "inMeters", "m"], ["energy", "inKilocalories", "kcal"], ["height", "value", "m"], ["mass", "value", "kg"], ["weight", "value", "kg"], ["distance", "value", "m"], ["energy", "value", "kcal"]];
149
150
  for (const [containerKey, valueKey, fallbackUnit] of candidates) {
150
151
  const container = raw[containerKey];
151
152
  if (typeof container?.[valueKey] === "number") {
@@ -155,16 +156,6 @@ const extractValue = raw => {
155
156
  };
156
157
  }
157
158
  }
158
- const alternateCandidates = [["height", "value", "m"], ["mass", "value", "kg"], ["weight", "value", "kg"], ["distance", "value", "m"], ["energy", "value", "kcal"]];
159
- for (const [containerKey, valueKey, fallbackUnit] of alternateCandidates) {
160
- const container = raw[containerKey];
161
- if (typeof container?.[valueKey] === "number") {
162
- return {
163
- value: container[valueKey],
164
- unit: normalizeUnit(String(container.unit ?? fallbackUnit))
165
- };
166
- }
167
- }
168
159
  const scalarCandidates = [["count", "count"], ["floors", "count"], ["rate", "count/min"], ["beatsPerMinute", "count/min"], ["percentage", "%"], ["vo2MillilitersPerMinuteKilogram", "mL/kg/min"]];
169
160
  for (const [key, unit] of scalarCandidates) {
170
161
  if (typeof raw[key] === "number") {
@@ -256,7 +247,7 @@ const quantity = (value, unit, typeIdentifier) => {
256
247
  value,
257
248
  unit,
258
249
  ...(code ? {
259
- system: FHIR_UNIT_SYSTEM,
250
+ system: _fhirSystems.UCUM_SYSTEM,
260
251
  code
261
252
  } : {})
262
253
  };
@@ -1 +1 @@
1
- {"version":3,"names":["_healthData","require","_healthObservationDevice","FHIR_UNIT_SYSTEM","LOINC_SYSTEM","HEALTH_RECORD_DATA_EXTENSION","HEALTHKIT_BODY_MASS_INDEX","convertGenericHealthDataToObservation","data","patientId","mode","typeIdentifier","configuredTypeIdentifier","typeIdentifierCodes","typeIdentifierCodeSystems","typeIdentifierCodeDisplays","first","value","String","quantityType","categoryType","recordType","configuredCode","code","configuredSystem","system","isLoincCode","undefined","interval","getInterval","measurement","getMeasurement","metadata","getMetadata","device","getHealthObservationDevice","observationDate","start","getDate","observation","resourceType","id","getStableObservationId","date","status","subject","reference","coding","display","extension","url","valueString","JSON","stringify","map","toPortableRecordData","effectivePeriod","toISOString","end","effectiveDateTime","isAggregatedHealthData","component","minimum","unit","maximum","stageComponents","getSleepStageComponents","length","exports","test","OMITTED_RECORD_FIELDS","Set","Date","Array","isArray","Object","fromEntries","entries","filter","key","has","child","raw","number","kind","average","valueQuantity","quantity","getTime","extracted","extractValue","candidates","containerKey","valueKey","fallbackUnit","container","normalizeUnit","alternateCandidates","scalarCandidates","intervals","item","startValue","startDate","startTime","time","endDate","endTime","endValue","Number","isNaN","Boolean","Math","min","max","parsed","sourceRevision","source","manufacturer","dataOrigin","model","sourceApp","name","recordingMethod","flatMap","stages","duration","isFinite","stage","label","text","getUcumCode","includes","normalized","kilometers","meters","miles","count","steps","kilograms","grams","milligrams","kilocalories","calories","minutes","seconds","beatsPerMinute","bpm","mmHg","degC","UCUM_CODES","join","replace","slice"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/utils/convert-generic-health-data.ts"],"mappings":";;;;;;AAKA,IAAAA,WAAA,GAAAC,OAAA;AAGA,IAAAC,wBAAA,GAAAD,OAAA;AARA;;AAcA,MAAME,gBAAgB,GAAG,2BAA2B;AACpD,MAAMC,YAAY,GAAG,kBAAkB;AAEvC,MAAMC,4BAA4B,GAChC,kEAAkE;AAEpE,MAAMC,yBAAyB,GAAG,uCAAuC;AAEzE,MAAMC,qCAAqC,GAAG,MAAAA,CAAO;EACnDC,IAAI;EACJC,SAAS;EACTC,IAAI;EACJC,cAAc,EAAEC,wBAAwB;EACxCC,mBAAmB;EACnBC,yBAAyB;EACzBC;AACsB,CAAC,KAA6B;EACpD,MAAMC,KAAK,GAAGR,IAAI,CAAC,CAAC,CAAC;EAErB,IAAI,CAACQ,KAAK,EAAE;IACV,OAAO,EAAE;EACX;EAEA,MAAMC,KAAK,GAAGD,KAAgC;EAE9C,MAAML,cAAc,GAAGO,MAAM,CAC3BN,wBAAwB,IACtBK,KAAK,CAACN,cAAc,IACpBM,KAAK,CAACE,YAAY,IAClBF,KAAK,CAACG,YAAY,IAClBH,KAAK,CAACI,UAAU,IAChB,aACJ,CAAC;EAED,MAAMC,cAAc,GAAGT,mBAAmB,GAAGF,cAAc,CAAC;EAC5D,MAAMY,IAAI,GAAGD,cAAc,IAAIX,cAAc;EAE7C,MAAMa,gBAAgB,GAAGV,yBAAyB,GAAGH,cAAc,CAAC;EAEpE,MAAMc,MAAM,GACVD,gBAAgB,KAAKpB,YAAY,GAC7BkB,cAAc,IAAII,WAAW,CAACJ,cAAc,CAAC,GAC3ClB,YAAY,GACZuB,SAAS,GACXH,gBAAgB;EAEtB,MAAMI,QAAQ,GAAGC,WAAW,CAACrB,IAAI,CAAC;EAClC,MAAMsB,WAAW,GAAGC,cAAc,C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EAAE,CAAC,EAAE;AACnB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_healthData","require","_fhirSystems","_healthObservationDevice","HEALTH_RECORD_DATA_EXTENSION","HEALTHKIT_BODY_MASS_INDEX","convertGenericHealthDataToObservation","data","patientId","mode","typeIdentifier","configuredTypeIdentifier","typeIdentifierCodes","typeIdentifierCodeSystems","typeIdentifierCodeDisplays","first","value","String","quantityType","categoryType","recordType","configuredCode","code","configuredSystem","system","LOINC_SYSTEM","isLoincCode","undefined","interval","getInterval","measurement","getMeasurement","metadata","getMetadata","device","getHealthObservationDevice","observationDate","start","getDate","observation","resourceType","id","getStableObservationId","date","status","subject","reference","coding","display","extension","url","valueString","JSON","stringify","map","toPortableRecordData","effectivePeriod","toISOString","end","effectiveDateTime","isAggregatedHealthData","component","minimum","unit","maximum","stageComponents","getSleepStageComponents","length","exports","test","OMITTED_RECORD_FIELDS","Set","Date","Array","isArray","Object","fromEntries","entries","filter","key","has","child","raw","number","kind","average","valueQuantity","quantity","getTime","extracted","extractValue","candidates","containerKey","valueKey","fallbackUnit","container","normalizeUnit","scalarCandidates","intervals","item","startValue","startDate","startTime","time","endDate","endTime","endValue","Number","isNaN","Boolean","Math","min","max","parsed","sourceRevision","source","manufacturer","dataOrigin","model","sourceApp","name","recordingMethod","flatMap","stages","duration","isFinite","stage","label","text","getUcumCode","UCUM_SYSTEM","includes","normalized","kilometers","meters","miles","count","steps","kilograms","grams","milligrams","kilocalories","calories","minutes","seconds","beatsPerMinute","bpm","mmHg","degC","UCUM_CODES","join","replace","slice"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/utils/convert-generic-health-data.ts"],"mappings":";;;;;;AAKA,IAAAA,WAAA,GAAAC,OAAA;AAGA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,wBAAA,GAAAF,OAAA;AATA;;AAgBA,MAAMG,4BAA4B,GAChC,kEAAkE;AAEpE,MAAMC,yBAAyB,GAAG,uCAAuC;AAEzE,MAAMC,qCAAqC,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AW,CAAC,CAAC,IAAI7B,QAAQ,CAAC8B,GAAG,CAACD,WAAW,CAAC,CAAC,EAAE,GAC/Dd,IAAI,EAAEc,WAAW,CAAC,CAAC,IAAI,SAAS;EAEpC,MAAMzC,KAAK,GACTc,WAAW,CAACwD,aAAa,EAAEtE,KAAK,IAAIc,WAAW,CAACqB,WAAW,IAAI,OAAO;EAExE,OAAO,UAAU,CAACzC,cAAc,EAAEY,IAAI,EAAEiF,IAAI,EAAEvF,KAAK,CAAC,CACjDsI,IAAI,CAAC,GAAG,CAAC,CACTC,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,CAC/BC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE;AACnB,CAAC","ignoreList":[]}
@@ -7,8 +7,8 @@ exports.convertRecordsToObservation = void 0;
7
7
  var _core = require("@ovok/core");
8
8
  var _convertGenericHealthData = require("./convert-generic-health-data.js");
9
9
  var _healthObservationDevice = require("./health-observation-device.js");
10
- var _healthRecordTiming = require("./health-record-timing.js");
11
10
  var _normalizeCoreHealthObservation = require("./normalize-core-health-observation.js");
11
+ var _toCoreHealthObservations = require("./to-core-health-observations.js");
12
12
  const convertRecordsToObservation = async props => {
13
13
  const {
14
14
  data,
@@ -32,7 +32,7 @@ const convertRecordsToObservation = async props => {
32
32
  mode
33
33
  });
34
34
  }
35
- if (!isCoreMeasurementTypeKey(measurementTypeKey)) {
35
+ if (!(0, _toCoreHealthObservations.isCoreMeasurementTypeKey)(measurementTypeKey)) {
36
36
  return (0, _convertGenericHealthData.convertGenericHealthDataToObservation)({
37
37
  ...props,
38
38
  mode
@@ -54,24 +54,16 @@ const convertRecordsToObservation = async props => {
54
54
  sourceApp: typedRecord.metadata?.dataOrigin,
55
55
  recordingMethod: typedRecord.metadata?.recordingMethod
56
56
  });
57
- return observationBody.map(observation => (0, _normalizeCoreHealthObservation.normalizeCoreHealthObservation)((0, _healthRecordTiming.withHealthRecordTiming)({
58
- ...observation,
59
- ...(device ? {
60
- device: {
61
- ...(observation.device ?? {}),
62
- ...device
63
- }
64
- } : {})
65
- }, typedRecordTiming.time !== undefined ? {
57
+ const timing = typedRecordTiming.time !== undefined ? {
66
58
  point: typedRecordTiming.time
67
59
  } : {
68
60
  start: typedRecordTiming.startTime,
69
61
  end: typedRecordTiming.endTime
70
- }), {
71
- ...props,
72
- applyCatalogCoding: observationBody.length === 1 && data.length === 1
62
+ };
63
+ return (0, _toCoreHealthObservations.toCoreHealthObservations)(observationBody, props, () => ({
64
+ device,
65
+ timing
73
66
  }));
74
67
  };
75
68
  exports.convertRecordsToObservation = convertRecordsToObservation;
76
- const isCoreMeasurementTypeKey = value => Object.values(_core.MeasurementTypeKey).includes(value);
77
69
  //# sourceMappingURL=convert-records-to-observation.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_core","require","_convertGenericHealthData","_healthObservationDevice","_healthRecordTiming","_normalizeCoreHealthObservation","convertRecordsToObservation","props","data","client","measurementTypeKey","mode","convertGenericHealthDataToObservation","record","hasConfiguredNonLoincCoding","isCoreMeasurementTypeKey","service","ObservationServiceCreator","getInstance","getService","typedRecord","measurement","convertRecordToMeasurement","observationBody","generateObservationBodiesByMeasurement","typedRecordTiming","device","getHealthObservationDevice","manufacturer","metadata","model","sourceApp","dataOrigin","recordingMethod","map","observation","normalizeCoreHealthObservation","withHealthRecordTiming","time","undefined","point","start","startTime","end","endTime","applyCatalogCoding","length","exports","value","Object","values","MeasurementTypeKey","includes"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/utils/convert-records-to-observation.ts"],"mappings":";;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AAKA,IAAAC,yBAAA,GAAAD,OAAA;AACA,IAAAE,wBAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AACA,IAAAI,+BAAA,GAAAJ,OAAA;AAKO,MAAMK,2BAA2B,GAAG,MACzCC,KAAgC,IACL;EAC3B,MAAM;IAAEC,IAAI;IAAEC,MAAM;IAAEC,kBAAkB;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AG,CAAEC,WAAW,IACrC,IAAAC,8DAA8B,EAC5B,IAAAC,0CAAsB,EACpB;IACE,GAAGF,WAAW;IACd,IAAIT,MAAM,GACN;MAAEA,MAAM,EAAE;QAAE,IAAIS,WAAW,CAACT,MAAM,IAAI,CAAC,CAAC,CAAC;QAAE,GAAGA;MAAO;IAAE,CAAC,GACxD,CAAC,CAAC;EACR,CAAC,EACDD,iBAAiB,CAACa,IAAI,KAAKC,SAAS,GAChC;IAAEC,KAAK,EAAEf,iBAAiB,CAACa;EAAK,CAAC,GACjC;IACEG,KAAK,EAAEhB,iBAAiB,CAACiB,SAAS;IAClCC,GAAG,EAAElB,iBAAiB,CAACmB;EACzB,CACN,CAAC,EACD;IACE,GAAGrC,KAAK;IACRsC,kBAAkB,EAAEtB,eAAe,CAACuB,MAAM,KAAK,CAAC,IAAItC,IAAI,CAACsC,MAAM,KAAK;EACtE,CACF,CACF,CAAC;AACH,CAAC;AAACC,OAAA,CAAAzC,2BAAA,GAAAA,2BAAA;AAEF,MAAMS,wBAAwB,GAC5BiC,KAAa,IAEbC,MAAM,CAACC,MAAM,CAACC,wBAAkB,CAAC,CAACC,QAAQ,CAACJ,KAA2B,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_core","require","_convertGenericHealthData","_healthObservationDevice","_normalizeCoreHealthObservation","_toCoreHealthObservations","convertRecordsToObservation","props","data","client","measurementTypeKey","mode","convertGenericHealthDataToObservation","record","hasConfiguredNonLoincCoding","isCoreMeasurementTypeKey","service","ObservationServiceCreator","getInstance","getService","typedRecord","measurement","convertRecordToMeasurement","observationBody","generateObservationBodiesByMeasurement","typedRecordTiming","device","getHealthObservationDevice","manufacturer","metadata","model","sourceApp","dataOrigin","recordingMethod","timing","time","undefined","point","start","startTime","end","endTime","toCoreHealthObservations","exports"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/utils/convert-records-to-observation.ts"],"mappings":";;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AAKA,IAAAC,yBAAA,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,YAAY;IACxDE,KAAK,EAAEV,WAAW,CAACS,QAAQ,EAAEH,MAAM,EAAEI,KAAK;IAC1CC,SAAS,EAAEX,WAAW,CAACS,QAAQ,EAAEG,UAAU;IAC3CC,eAAe,EAAEb,WAAW,CAACS,QAAQ,EAAEI;EACzC,CAAC,CAAC;EAEF,MAAMC,MAAM,GACVT,iBAAiB,CAACU,IAAI,KAAKC,SAAS,GAChC;IAAEC,KAAK,EAAEZ,iBAAiB,CAACU;EAAK,CAAC,GACjC;IAAEG,KAAK,EAAEb,iBAAiB,CAACc,SAAS;IAAEC,GAAG,EAAEf,iBAAiB,CAACgB;EAAQ,CAAC;EAE5E,OAAO,IAAAC,kDAAwB,EAACnB,eAAe,EAAEhB,KAAK,EAAE,OAAO;IAAEmB,MAAM;IAAEQ;EAAO,CAAC,CAAC,CAAC;AACrF,CAAC;AAACS,OAAA,CAAArC,2BAAA,GAAAA,2BAAA","ignoreList":[]}
@@ -7,8 +7,8 @@ exports.convertSamplesToObservation = void 0;
7
7
  var _core = require("@ovok/core");
8
8
  var _convertGenericHealthData = require("./convert-generic-health-data.js");
9
9
  var _healthObservationDevice = require("./health-observation-device.js");
10
- var _healthRecordTiming = require("./health-record-timing.js");
11
10
  var _normalizeCoreHealthObservation = require("./normalize-core-health-observation.js");
11
+ var _toCoreHealthObservations = require("./to-core-health-observations.js");
12
12
  const convertSamplesToObservation = async props => {
13
13
  const {
14
14
  data,
@@ -31,7 +31,7 @@ const convertSamplesToObservation = async props => {
31
31
  mode
32
32
  });
33
33
  }
34
- if (!isCoreMeasurementTypeKey(measurementTypeKey)) {
34
+ if (!(0, _toCoreHealthObservations.isCoreMeasurementTypeKey)(measurementTypeKey)) {
35
35
  return (0, _convertGenericHealthData.convertGenericHealthDataToObservation)({
36
36
  ...props,
37
37
  mode
@@ -45,30 +45,20 @@ const convertSamplesToObservation = async props => {
45
45
  const observationBody = await client.generateObservationBodiesByMeasurement({
46
46
  measurement
47
47
  });
48
- return observationBody.map((observation, index) => {
48
+ return (0, _toCoreHealthObservations.toCoreHealthObservations)(observationBody, props, index => {
49
49
  const sample = data?.[index];
50
- const device = sample ? (0, _healthObservationDevice.getHealthObservationDevice)({
51
- manufacturer: sample.device?.manufacturer,
52
- model: sample.device?.model,
53
- sourceApp: sample.sourceRevision?.source?.name
54
- }) : undefined;
55
- return (0, _normalizeCoreHealthObservation.normalizeCoreHealthObservation)((0, _healthRecordTiming.withHealthRecordTiming)({
56
- ...observation,
57
- ...(device ? {
58
- device: {
59
- ...(observation.device ?? {}),
60
- ...device
61
- }
62
- } : {})
63
- }, {
64
- start: sample?.startDate,
65
- end: sample?.endDate
66
- }), {
67
- ...props,
68
- applyCatalogCoding: observationBody.length === 1 && data.length === 1
69
- });
50
+ return {
51
+ device: sample ? (0, _healthObservationDevice.getHealthObservationDevice)({
52
+ manufacturer: sample.device?.manufacturer,
53
+ model: sample.device?.model,
54
+ sourceApp: sample.sourceRevision?.source?.name
55
+ }) : undefined,
56
+ timing: {
57
+ start: sample?.startDate,
58
+ end: sample?.endDate
59
+ }
60
+ };
70
61
  });
71
62
  };
72
63
  exports.convertSamplesToObservation = convertSamplesToObservation;
73
- const isCoreMeasurementTypeKey = value => Object.values(_core.MeasurementTypeKey).includes(value);
74
64
  //# sourceMappingURL=convert-samples-to-observation.js.map