@ovok/native 1.10.13 → 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 (2659) 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 +2 -4
  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-instruction-pdfs.js +4 -79
  118. package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
  119. package/lib/commonjs/modules/bt-device/constants/device-list-items.js +8 -138
  120. package/lib/commonjs/modules/bt-device/constants/device-list-items.js.map +1 -1
  121. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-and-medical-variants.js +7 -36
  122. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-and-medical-variants.js.map +1 -1
  123. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-aoj-variants.js +22 -126
  124. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-aoj-variants.js.map +1 -1
  125. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-art.js +15 -0
  126. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-art.js.map +1 -0
  127. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-assets.js +3 -1
  128. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -1
  129. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-cofoe-variants.js +19 -108
  130. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-cofoe-variants.js.map +1 -1
  131. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-entries.js +2 -1
  132. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-entries.js.map +1 -1
  133. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-famidoc-variants.js +37 -216
  134. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-famidoc-variants.js.map +1 -1
  135. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-joytech-variants.js +15 -84
  136. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-joytech-variants.js.map +1 -1
  137. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-jumper-variants.js +24 -138
  138. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-jumper-variants.js.map +1 -1
  139. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-standard-variants.js +166 -990
  140. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-standard-variants.js.map +1 -1
  141. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-taidoc-variants.js +28 -162
  142. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-taidoc-variants.js.map +1 -1
  143. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.js +95 -564
  144. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.js.map +1 -1
  145. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.js +17 -96
  146. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.js.map +1 -1
  147. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-transtek-variants.js +181 -1080
  148. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-transtek-variants.js.map +1 -1
  149. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-variants.js +61 -262
  150. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-variants.js.map +1 -1
  151. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-yonker-variants.js +18 -102
  152. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-yonker-variants.js.map +1 -1
  153. package/lib/commonjs/modules/bt-device/constants/supported-devices.js +215 -263
  154. package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
  155. package/lib/commonjs/modules/bt-device/utils/slugify.js +10 -0
  156. package/lib/commonjs/modules/bt-device/utils/slugify.js.map +1 -0
  157. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js +16 -36
  158. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  159. package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js +16 -1
  160. package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js.map +1 -1
  161. package/lib/commonjs/modules/bt-management/constants/no-parsing-cases.js +12 -0
  162. package/lib/commonjs/modules/bt-management/constants/no-parsing-cases.js.map +1 -0
  163. package/lib/commonjs/modules/bt-management/constants/preferred-mtu.js +12 -0
  164. package/lib/commonjs/modules/bt-management/constants/preferred-mtu.js.map +1 -0
  165. package/lib/commonjs/modules/bt-management/hooks/runtime-context.js +22 -34
  166. package/lib/commonjs/modules/bt-management/hooks/runtime-context.js.map +1 -1
  167. package/lib/commonjs/modules/bt-management/hooks/use-bluetooth-state.js +2 -5
  168. package/lib/commonjs/modules/bt-management/hooks/use-bluetooth-state.js.map +1 -1
  169. package/lib/commonjs/modules/bt-management/hooks/use-measurements.js +5 -6
  170. package/lib/commonjs/modules/bt-management/hooks/use-measurements.js.map +1 -1
  171. package/lib/commonjs/modules/bt-management/index.js.map +1 -1
  172. package/lib/commonjs/modules/bt-management/services/bt-manager.js +11 -31
  173. package/lib/commonjs/modules/bt-management/services/bt-manager.js.map +1 -1
  174. package/lib/commonjs/modules/bt-management/services/custom/assert-integer-in-range.js +16 -0
  175. package/lib/commonjs/modules/bt-management/services/custom/assert-integer-in-range.js.map +1 -0
  176. package/lib/commonjs/modules/bt-management/services/custom/compile-custom-lepu.js +3 -16
  177. package/lib/commonjs/modules/bt-management/services/custom/compile-custom-lepu.js.map +1 -1
  178. package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js +3 -14
  179. package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
  180. package/lib/commonjs/modules/bt-management/services/device-classes.js +3 -4
  181. package/lib/commonjs/modules/bt-management/services/device-classes.js.map +1 -1
  182. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.command-sequencer.js +3 -3
  183. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.command-sequencer.js.map +1 -1
  184. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js +0 -4
  185. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js.map +1 -1
  186. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.frame-reader.js +6 -22
  187. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.frame-reader.js.map +1 -1
  188. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.device.js +8 -21
  189. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.device.js.map +1 -1
  190. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.protocol.js +12 -12
  191. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.protocol.js.map +1 -1
  192. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-70b.device.js +5 -14
  193. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-70b.device.js.map +1 -1
  194. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.device.js +5 -15
  195. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.device.js.map +1 -1
  196. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.protocol.js +18 -33
  197. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.protocol.js.map +1 -1
  198. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.command-sequencer.js +3 -3
  199. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.command-sequencer.js.map +1 -1
  200. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.device.js +0 -1
  201. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.device.js.map +1 -1
  202. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.frame-reader.js +5 -18
  203. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.frame-reader.js.map +1 -1
  204. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-builders.js +1 -3
  205. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-builders.js.map +1 -1
  206. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js +3 -2
  207. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js.map +1 -1
  208. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js +1 -3
  209. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
  210. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.frame-reader.js +5 -18
  211. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.frame-reader.js.map +1 -1
  212. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
  213. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js +2 -3
  214. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
  215. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.js +4 -4
  216. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.js.map +1 -1
  217. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js +0 -4
  218. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -1
  219. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.js +6 -22
  220. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.js.map +1 -1
  221. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js +14 -13
  222. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  223. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.device.js +10 -25
  224. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.device.js.map +1 -1
  225. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js +2 -6
  226. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js.map +1 -1
  227. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-envelope.js +20 -0
  228. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-envelope.js.map +1 -0
  229. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.device.js +8 -17
  230. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.device.js.map +1 -1
  231. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.protocol.js +37 -41
  232. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.protocol.js.map +1 -1
  233. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js +2 -6
  234. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js.map +1 -1
  235. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.device.js +3 -8
  236. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.device.js.map +1 -1
  237. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.protocol.js +25 -51
  238. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.protocol.js.map +1 -1
  239. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.sequencer.js +3 -7
  240. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.sequencer.js.map +1 -1
  241. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.device.js +3 -10
  242. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.device.js.map +1 -1
  243. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.protocol.js +24 -46
  244. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.protocol.js.map +1 -1
  245. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.records.js +2 -2
  246. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.records.js.map +1 -1
  247. package/lib/commonjs/modules/bt-management/services/devices/custom/custom-lepu-sequencer.js +12 -11
  248. package/lib/commonjs/modules/bt-management/services/devices/custom/custom-lepu-sequencer.js.map +1 -1
  249. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +15 -13
  250. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  251. package/lib/commonjs/modules/bt-management/services/devices/f4/f4.device.js +1 -1
  252. package/lib/commonjs/modules/bt-management/services/devices/f4/f4.device.js.map +1 -1
  253. package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.device.js +8 -17
  254. package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.device.js.map +1 -1
  255. package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.protocol.js +5 -18
  256. package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.protocol.js.map +1 -1
  257. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.device.js +6 -15
  258. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.device.js.map +1 -1
  259. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.protocol.js +17 -35
  260. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.protocol.js.map +1 -1
  261. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.js +3 -3
  262. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.js.map +1 -1
  263. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.device.js +0 -1
  264. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.device.js.map +1 -1
  265. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.js +5 -18
  266. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.js.map +1 -1
  267. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.device.js +5 -14
  268. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.device.js.map +1 -1
  269. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.protocol.js +17 -35
  270. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.protocol.js.map +1 -1
  271. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.device.js +3 -10
  272. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.device.js.map +1 -1
  273. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.protocol.js +10 -12
  274. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.protocol.js.map +1 -1
  275. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.command-builder.js +4 -6
  276. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.command-builder.js.map +1 -1
  277. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.frame-reader.js +5 -18
  278. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.frame-reader.js.map +1 -1
  279. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js +9 -9
  280. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
  281. package/lib/commonjs/modules/bt-management/services/devices/monitor-service.js +27 -0
  282. package/lib/commonjs/modules/bt-management/services/devices/monitor-service.js.map +1 -0
  283. package/lib/commonjs/modules/bt-management/services/devices/sentinel-frame-reader.js +6 -23
  284. package/lib/commonjs/modules/bt-management/services/devices/sentinel-frame-reader.js.map +1 -1
  285. package/lib/commonjs/modules/bt-management/services/devices/spo/pc60fw.frame-reader.js +7 -26
  286. package/lib/commonjs/modules/bt-management/services/devices/spo/pc60fw.frame-reader.js.map +1 -1
  287. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js +15 -12
  288. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js.map +1 -1
  289. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +8 -7
  290. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
  291. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js +4 -6
  292. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js.map +1 -1
  293. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.device.js +6 -15
  294. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.device.js.map +1 -1
  295. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.protocol.js +12 -27
  296. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.protocol.js.map +1 -1
  297. package/lib/commonjs/modules/bt-management/services/devices/tmb/tmb.command-sequencer.js +4 -4
  298. package/lib/commonjs/modules/bt-management/services/devices/tmb/tmb.command-sequencer.js.map +1 -1
  299. package/lib/commonjs/modules/bt-management/services/devices/tmb/tmb.frame-reader.js +5 -18
  300. package/lib/commonjs/modules/bt-management/services/devices/tmb/tmb.frame-reader.js.map +1 -1
  301. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.js +2 -1
  302. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.js.map +1 -1
  303. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js +8 -57
  304. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js.map +1 -1
  305. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.measurements.js +2 -2
  306. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.measurements.js.map +1 -1
  307. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.protocol.js +11 -26
  308. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.protocol.js.map +1 -1
  309. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js +5 -53
  310. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js.map +1 -1
  311. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6.device.js +50 -0
  312. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6.device.js.map +1 -0
  313. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6.sequencer.js +70 -0
  314. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6.sequencer.js.map +1 -0
  315. package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.device.js +4 -15
  316. package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.device.js.map +1 -1
  317. package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.protocol.js +17 -57
  318. package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.protocol.js.map +1 -1
  319. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.device.js +5 -11
  320. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.device.js.map +1 -1
  321. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.protocol.js +21 -21
  322. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.protocol.js.map +1 -1
  323. package/lib/commonjs/modules/bt-management/services/devices/trasense/s9-frame-reader.js +3 -10
  324. package/lib/commonjs/modules/bt-management/services/devices/trasense/s9-frame-reader.js.map +1 -1
  325. package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.command-sequencer.js +19 -23
  326. package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.command-sequencer.js.map +1 -1
  327. package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.device.js +1 -10
  328. package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.device.js.map +1 -1
  329. package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.frame-reader.js +7 -26
  330. package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.frame-reader.js.map +1 -1
  331. package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.sequencer.js +2 -2
  332. package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.sequencer.js.map +1 -1
  333. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval-activity-frame-reader.js +5 -20
  334. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval-activity-frame-reader.js.map +1 -1
  335. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js +6 -7
  336. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js.map +1 -1
  337. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.activity-device.js +3 -8
  338. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.activity-device.js.map +1 -1
  339. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.js +4 -2
  340. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.js.map +1 -1
  341. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-device.js +2 -8
  342. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-device.js.map +1 -1
  343. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-transfer.js +2 -3
  344. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-transfer.js.map +1 -1
  345. package/lib/commonjs/modules/bt-management/services/devices/viatom/ap20.device.js +8 -17
  346. package/lib/commonjs/modules/bt-management/services/devices/viatom/ap20.device.js.map +1 -1
  347. package/lib/commonjs/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.js +5 -14
  348. package/lib/commonjs/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.js.map +1 -1
  349. package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.device.js +8 -17
  350. package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.device.js.map +1 -1
  351. package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.js +10 -29
  352. package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.js.map +1 -1
  353. package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js +2 -7
  354. package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js.map +1 -1
  355. package/lib/commonjs/modules/bt-management/services/devices/viatom/lpm311.protocol.js +3 -10
  356. package/lib/commonjs/modules/bt-management/services/devices/viatom/lpm311.protocol.js.map +1 -1
  357. package/lib/commonjs/modules/bt-management/services/devices/viatom/lpm311.sequencer.js +2 -1
  358. package/lib/commonjs/modules/bt-management/services/devices/viatom/lpm311.sequencer.js.map +1 -1
  359. package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.device.js +11 -27
  360. package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.device.js.map +1 -1
  361. package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.protocol.js +3 -4
  362. package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.protocol.js.map +1 -1
  363. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc68b.device.js +8 -17
  364. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc68b.device.js.map +1 -1
  365. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.device.js +8 -18
  366. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.device.js.map +1 -1
  367. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.protocol.js +14 -30
  368. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.protocol.js.map +1 -1
  369. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.sequencer.js +2 -6
  370. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.sequencer.js.map +1 -1
  371. package/lib/commonjs/modules/bt-management/services/devices/viatom/pf10aw1.device.js +6 -20
  372. package/lib/commonjs/modules/bt-management/services/devices/viatom/pf10aw1.device.js.map +1 -1
  373. package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.device.js +5 -15
  374. package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.device.js.map +1 -1
  375. package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.js +3 -10
  376. package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.js.map +1 -1
  377. package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.device.js +8 -21
  378. package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.device.js.map +1 -1
  379. package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.protocol.js +10 -29
  380. package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.protocol.js.map +1 -1
  381. package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.sequencer.js +2 -6
  382. package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.sequencer.js.map +1 -1
  383. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-aa55.protocol.js +11 -30
  384. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-aa55.protocol.js.map +1 -1
  385. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js +2 -6
  386. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js.map +1 -1
  387. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-lepu-crypto.js +2 -1
  388. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-lepu-crypto.js.map +1 -1
  389. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.device.js +8 -20
  390. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.device.js.map +1 -1
  391. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.device.js +8 -17
  392. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.device.js.map +1 -1
  393. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.js +10 -26
  394. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.js.map +1 -1
  395. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js +2 -7
  396. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js.map +1 -1
  397. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.device.js +8 -17
  398. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.device.js.map +1 -1
  399. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.js +10 -29
  400. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.js.map +1 -1
  401. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js +2 -7
  402. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js.map +1 -1
  403. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.device.js +8 -17
  404. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.device.js.map +1 -1
  405. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.js +10 -29
  406. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.js.map +1 -1
  407. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js +2 -7
  408. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js.map +1 -1
  409. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.device.js +9 -18
  410. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.device.js.map +1 -1
  411. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.protocol.js +27 -29
  412. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.protocol.js.map +1 -1
  413. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js +20 -20
  414. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js.map +1 -1
  415. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.vtm20f.frame-reader.js +6 -22
  416. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.vtm20f.frame-reader.js.map +1 -1
  417. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.device.js +6 -16
  418. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.device.js.map +1 -1
  419. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.protocol.js +33 -34
  420. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.protocol.js.map +1 -1
  421. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js +17 -19
  422. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js.map +1 -1
  423. package/lib/commonjs/modules/bt-management/services/devices/write-command.js +14 -0
  424. package/lib/commonjs/modules/bt-management/services/devices/write-command.js.map +1 -0
  425. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.device.js +3 -10
  426. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.device.js.map +1 -1
  427. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.protocol.js +25 -44
  428. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.protocol.js.map +1 -1
  429. package/lib/commonjs/modules/bt-management/utils/ascii-to-hex.js +11 -0
  430. package/lib/commonjs/modules/bt-management/utils/ascii-to-hex.js.map +1 -0
  431. package/lib/commonjs/modules/bt-management/utils/base-64-to-hex.js +2 -8
  432. package/lib/commonjs/modules/bt-management/utils/base-64-to-hex.js.map +1 -1
  433. package/lib/commonjs/modules/bt-management/utils/bytes-to-hex.js +14 -0
  434. package/lib/commonjs/modules/bt-management/utils/bytes-to-hex.js.map +1 -0
  435. package/lib/commonjs/modules/bt-management/utils/daily-total-day.js +21 -0
  436. package/lib/commonjs/modules/bt-management/utils/daily-total-day.js.map +1 -0
  437. package/lib/commonjs/modules/bt-management/utils/error-callback-payload.js +20 -0
  438. package/lib/commonjs/modules/bt-management/utils/error-callback-payload.js.map +1 -0
  439. package/lib/commonjs/modules/bt-management/utils/frame-bytes.js +11 -0
  440. package/lib/commonjs/modules/bt-management/utils/frame-bytes.js.map +1 -0
  441. package/lib/commonjs/modules/bt-management/utils/frame-read-results.js +33 -0
  442. package/lib/commonjs/modules/bt-management/utils/frame-read-results.js.map +1 -0
  443. package/lib/commonjs/modules/bt-management/utils/hex-to-base-64.js +1 -5
  444. package/lib/commonjs/modules/bt-management/utils/hex-to-base-64.js.map +1 -1
  445. package/lib/commonjs/modules/bt-management/utils/mirror-bluetooth-state.js +18 -0
  446. package/lib/commonjs/modules/bt-management/utils/mirror-bluetooth-state.js.map +1 -0
  447. package/lib/commonjs/modules/bt-management/utils/sig-uuid.js +10 -0
  448. package/lib/commonjs/modules/bt-management/utils/sig-uuid.js.map +1 -0
  449. package/lib/commonjs/modules/bt-management/utils/sum-bytes.js +10 -0
  450. package/lib/commonjs/modules/bt-management/utils/sum-bytes.js.map +1 -0
  451. package/lib/commonjs/modules/cms/hooks/use-cms-content.js +7 -24
  452. package/lib/commonjs/modules/cms/hooks/use-cms-content.js.map +1 -1
  453. package/lib/commonjs/modules/content/content-card/components/content-card.js +3 -21
  454. package/lib/commonjs/modules/content/content-card/components/content-card.js.map +1 -1
  455. package/lib/commonjs/modules/content/content-card/components/cover-badge.js +2 -3
  456. package/lib/commonjs/modules/content/content-card/components/cover-badge.js.map +1 -1
  457. package/lib/commonjs/modules/content/content-card/components/title.js +1 -5
  458. package/lib/commonjs/modules/content/content-card/components/title.js.map +1 -1
  459. package/lib/commonjs/modules/content/content-detail/components/content-detail-footer.js +3 -17
  460. package/lib/commonjs/modules/content/content-detail/components/content-detail-footer.js.map +1 -1
  461. package/lib/commonjs/modules/content/content-detail/components/content-detail-header.js +3 -17
  462. package/lib/commonjs/modules/content/content-detail/components/content-detail-header.js.map +1 -1
  463. package/lib/commonjs/modules/content/content-detail/components/metadata/content-detail-metadata-item.js +1 -1
  464. package/lib/commonjs/modules/content/content-detail/components/metadata/content-detail-metadata-item.js.map +1 -1
  465. package/lib/commonjs/modules/content/content-detail/context/hooks/use-composition.js +2 -9
  466. package/lib/commonjs/modules/content/content-detail/context/hooks/use-composition.js.map +1 -1
  467. package/lib/commonjs/modules/content/content-list/components/horizontal-list.js +1 -1
  468. package/lib/commonjs/modules/content/content-list/components/horizontal-list.js.map +1 -1
  469. package/lib/commonjs/modules/content/content-list/components/section.js +3 -15
  470. package/lib/commonjs/modules/content/content-list/components/section.js.map +1 -1
  471. package/lib/commonjs/modules/data-sync/components/android/android-health-connect-authorization-provider.js +3 -3
  472. package/lib/commonjs/modules/data-sync/components/android/android-health-connect-authorization-provider.js.map +1 -1
  473. package/lib/commonjs/modules/data-sync/components/android/android-health-sync.js +9 -65
  474. package/lib/commonjs/modules/data-sync/components/android/android-health-sync.js.map +1 -1
  475. package/lib/commonjs/modules/data-sync/components/apple/apple-health-authorization-provider.js +3 -2
  476. package/lib/commonjs/modules/data-sync/components/apple/apple-health-authorization-provider.js.map +1 -1
  477. package/lib/commonjs/modules/data-sync/components/apple/apple-health-sync.js +12 -86
  478. package/lib/commonjs/modules/data-sync/components/apple/apple-health-sync.js.map +1 -1
  479. package/lib/commonjs/modules/data-sync/constants.js +4 -1
  480. package/lib/commonjs/modules/data-sync/constants.js.map +1 -1
  481. package/lib/commonjs/modules/data-sync/contexts/health-authorization-context.js +2 -7
  482. package/lib/commonjs/modules/data-sync/contexts/health-authorization-context.js.map +1 -1
  483. package/lib/commonjs/modules/data-sync/hooks/use-health-import.js +2 -1
  484. package/lib/commonjs/modules/data-sync/hooks/use-health-import.js.map +1 -1
  485. package/lib/commonjs/modules/data-sync/hooks/use-health-sync-runner.js +101 -0
  486. package/lib/commonjs/modules/data-sync/hooks/use-health-sync-runner.js.map +1 -0
  487. package/lib/commonjs/modules/data-sync/services/android-health-sync-service.js +6 -13
  488. package/lib/commonjs/modules/data-sync/services/android-health-sync-service.js.map +1 -1
  489. package/lib/commonjs/modules/data-sync/services/apple-health-sync-service.js +6 -13
  490. package/lib/commonjs/modules/data-sync/services/apple-health-sync-service.js.map +1 -1
  491. package/lib/commonjs/modules/data-sync/services/base-health-sync-service.js +10 -6
  492. package/lib/commonjs/modules/data-sync/services/base-health-sync-service.js.map +1 -1
  493. package/lib/commonjs/modules/data-sync/services/managers/data-processor.js +4 -9
  494. package/lib/commonjs/modules/data-sync/services/managers/data-processor.js.map +1 -1
  495. package/lib/commonjs/modules/data-sync/services/managers/storage-manager.js +2 -3
  496. package/lib/commonjs/modules/data-sync/services/managers/storage-manager.js.map +1 -1
  497. package/lib/commonjs/modules/data-sync/types/health-sync-batch-error.js +2 -1
  498. package/lib/commonjs/modules/data-sync/types/health-sync-batch-error.js.map +1 -1
  499. package/lib/commonjs/modules/data-sync/utils/convert-generic-health-data.js +6 -15
  500. package/lib/commonjs/modules/data-sync/utils/convert-generic-health-data.js.map +1 -1
  501. package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js +7 -15
  502. package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
  503. package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js +14 -24
  504. package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
  505. package/lib/commonjs/modules/data-sync/utils/create-progress-collector.js +16 -0
  506. package/lib/commonjs/modules/data-sync/utils/create-progress-collector.js.map +1 -0
  507. package/lib/commonjs/modules/data-sync/utils/fhir-systems.js +11 -0
  508. package/lib/commonjs/modules/data-sync/utils/fhir-systems.js.map +1 -0
  509. package/lib/commonjs/modules/data-sync/utils/generate-observation-entry.js +7 -6
  510. package/lib/commonjs/modules/data-sync/utils/generate-observation-entry.js.map +1 -1
  511. package/lib/commonjs/modules/data-sync/utils/get-latest-observation-dates-by-code.js +2 -1
  512. package/lib/commonjs/modules/data-sync/utils/get-latest-observation-dates-by-code.js.map +1 -1
  513. package/lib/commonjs/modules/data-sync/utils/get-latest-valid-start-date.js +2 -1
  514. package/lib/commonjs/modules/data-sync/utils/get-latest-valid-start-date.js.map +1 -1
  515. package/lib/commonjs/modules/data-sync/utils/get-records-from-health-connect.js +5 -3
  516. package/lib/commonjs/modules/data-sync/utils/get-records-from-health-connect.js.map +1 -1
  517. package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js +18 -34
  518. package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
  519. package/lib/commonjs/modules/data-sync/utils/get-total-records-count.js +2 -2
  520. package/lib/commonjs/modules/data-sync/utils/get-total-records-count.js.map +1 -1
  521. package/lib/commonjs/modules/data-sync/utils/group-samples-by-interval.js +17 -0
  522. package/lib/commonjs/modules/data-sync/utils/group-samples-by-interval.js.map +1 -0
  523. package/lib/commonjs/modules/data-sync/utils/health-data-catalog.js +109 -274
  524. package/lib/commonjs/modules/data-sync/utils/health-data-catalog.js.map +1 -1
  525. package/lib/commonjs/modules/data-sync/utils/is-daily-aggregate-mode.js +10 -0
  526. package/lib/commonjs/modules/data-sync/utils/is-daily-aggregate-mode.js.map +1 -0
  527. package/lib/commonjs/modules/data-sync/utils/normalize-core-health-observation.js +7 -8
  528. package/lib/commonjs/modules/data-sync/utils/normalize-core-health-observation.js.map +1 -1
  529. package/lib/commonjs/modules/data-sync/utils/sync-window-start.js +12 -0
  530. package/lib/commonjs/modules/data-sync/utils/sync-window-start.js.map +1 -0
  531. package/lib/commonjs/modules/data-sync/utils/to-core-health-observations.js +33 -0
  532. package/lib/commonjs/modules/data-sync/utils/to-core-health-observations.js.map +1 -0
  533. package/lib/commonjs/modules/helpers/form-items/form-date-field.js +2 -1
  534. package/lib/commonjs/modules/helpers/form-items/form-date-field.js.map +1 -1
  535. package/lib/commonjs/modules/helpers/form-items/form-select.js +1 -2
  536. package/lib/commonjs/modules/helpers/form-items/form-select.js.map +1 -1
  537. package/lib/commonjs/modules/helpers/hooks/use-latest-ref.js +16 -0
  538. package/lib/commonjs/modules/helpers/hooks/use-latest-ref.js.map +1 -0
  539. package/lib/commonjs/modules/helpers/hooks/use-required-context.js +18 -0
  540. package/lib/commonjs/modules/helpers/hooks/use-required-context.js.map +1 -0
  541. package/lib/commonjs/modules/helpers/spaced-view.js +24 -0
  542. package/lib/commonjs/modules/helpers/spaced-view.js.map +1 -0
  543. package/lib/commonjs/modules/{auth/sign-in/components/header/title.js → helpers/surface-card.js} +12 -23
  544. package/lib/commonjs/modules/helpers/surface-card.js.map +1 -0
  545. package/lib/commonjs/modules/helpers/utils/local-date.js +10 -0
  546. package/lib/commonjs/modules/helpers/utils/local-date.js.map +1 -0
  547. package/lib/commonjs/modules/helpers/utils/telemetry.js +38 -69
  548. package/lib/commonjs/modules/helpers/utils/telemetry.js.map +1 -1
  549. package/lib/commonjs/modules/helpers/utils/to-error.js +10 -0
  550. package/lib/commonjs/modules/helpers/utils/to-error.js.map +1 -0
  551. package/lib/commonjs/modules/image/components/optimized-image.js +2 -2
  552. package/lib/commonjs/modules/image/components/optimized-image.js.map +1 -1
  553. package/lib/commonjs/modules/image/utils/calculate-dimension.js +1 -1
  554. package/lib/commonjs/modules/image/utils/calculate-dimension.js.map +1 -1
  555. package/lib/commonjs/modules/journal/past-journal/components/answer.js +2 -1
  556. package/lib/commonjs/modules/journal/past-journal/components/answer.js.map +1 -1
  557. package/lib/commonjs/modules/journal/past-journal/components/past-journal-card.js +3 -21
  558. package/lib/commonjs/modules/journal/past-journal/components/past-journal-card.js.map +1 -1
  559. package/lib/commonjs/modules/journal/today-question/components/gradient.js +6 -12
  560. package/lib/commonjs/modules/journal/today-question/components/gradient.js.map +1 -1
  561. package/lib/commonjs/modules/journal/today-question/components/today-question-card.js +3 -18
  562. package/lib/commonjs/modules/journal/today-question/components/today-question-card.js.map +1 -1
  563. package/lib/commonjs/modules/language-switcher/components/language-switcher.js +3 -3
  564. package/lib/commonjs/modules/language-switcher/components/language-switcher.js.map +1 -1
  565. package/lib/commonjs/modules/language-switcher/components/option/hooks/use-language-option.js +2 -9
  566. package/lib/commonjs/modules/language-switcher/components/option/hooks/use-language-option.js.map +1 -1
  567. package/lib/commonjs/modules/language-switcher/hooks/use-language-switcher.js +2 -9
  568. package/lib/commonjs/modules/language-switcher/hooks/use-language-switcher.js.map +1 -1
  569. package/lib/commonjs/modules/measurement/components/date-range.js +8 -21
  570. package/lib/commonjs/modules/measurement/components/date-range.js.map +1 -1
  571. package/lib/commonjs/modules/observation-detail/components/date-time.js +1 -5
  572. package/lib/commonjs/modules/observation-detail/components/date-time.js.map +1 -1
  573. package/lib/commonjs/modules/observation-detail/components/observation-detail.js +8 -10
  574. package/lib/commonjs/modules/observation-detail/components/observation-detail.js.map +1 -1
  575. package/lib/commonjs/modules/observation-detail/components/photo-preview.js +1 -1
  576. package/lib/commonjs/modules/observation-detail/components/photo-preview.js.map +1 -1
  577. package/lib/commonjs/modules/observation-detail/components/preview-modal.js +47 -60
  578. package/lib/commonjs/modules/observation-detail/components/preview-modal.js.map +1 -1
  579. package/lib/commonjs/modules/patient/components/card/patient-gender.js +17 -39
  580. package/lib/commonjs/modules/patient/components/card/patient-gender.js.map +1 -1
  581. package/lib/commonjs/modules/pdf/components/pdf-viewer.js +1 -5
  582. package/lib/commonjs/modules/pdf/components/pdf-viewer.js.map +1 -1
  583. package/lib/commonjs/modules/progress-ring/components/progress-ring.js +1 -5
  584. package/lib/commonjs/modules/progress-ring/components/progress-ring.js.map +1 -1
  585. package/lib/commonjs/modules/questionnaire-response-form/components/content/questionnaire-content-all-items.js +1 -2
  586. package/lib/commonjs/modules/questionnaire-response-form/components/content/questionnaire-content-all-items.js.map +1 -1
  587. package/lib/commonjs/modules/questionnaire-response-form/components/content/questionnaire-content-item.js +7 -39
  588. package/lib/commonjs/modules/questionnaire-response-form/components/content/questionnaire-content-item.js.map +1 -1
  589. package/lib/commonjs/modules/questionnaire-response-form/components/content/questionnaire-content-specific-item.js +1 -2
  590. package/lib/commonjs/modules/questionnaire-response-form/components/content/questionnaire-content-specific-item.js.map +1 -1
  591. package/lib/commonjs/modules/questionnaire-response-form/components/content/questionnaire-content.js +2 -2
  592. package/lib/commonjs/modules/questionnaire-response-form/components/content/questionnaire-content.js.map +1 -1
  593. package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js +8 -44
  594. package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js.map +1 -1
  595. package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.js +5 -9
  596. package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.js.map +1 -1
  597. package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form-provider.js +8 -5
  598. package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form-provider.js.map +1 -1
  599. package/lib/commonjs/modules/questionnaire-response-form/default-translation.js +2 -0
  600. package/lib/commonjs/modules/questionnaire-response-form/default-translation.js.map +1 -1
  601. package/lib/commonjs/modules/questionnaire-response-form/hooks/use-initial-selected-values.js +4 -16
  602. package/lib/commonjs/modules/questionnaire-response-form/hooks/use-initial-selected-values.js.map +1 -1
  603. package/lib/commonjs/modules/questionnaire-response-form/hooks/use-navigation-handlers.js +1 -11
  604. package/lib/commonjs/modules/questionnaire-response-form/hooks/use-navigation-handlers.js.map +1 -1
  605. package/lib/commonjs/modules/questionnaire-response-form/hooks/use-questionnaire-form.js +2 -9
  606. package/lib/commonjs/modules/questionnaire-response-form/hooks/use-questionnaire-form.js.map +1 -1
  607. package/lib/commonjs/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.js +6 -4
  608. package/lib/commonjs/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.js.map +1 -1
  609. package/lib/commonjs/modules/questionnaire-response-form/hooks/use-questionnaire-navigation.js +2 -9
  610. package/lib/commonjs/modules/questionnaire-response-form/hooks/use-questionnaire-navigation.js.map +1 -1
  611. package/lib/commonjs/modules/questionnaire-response-form/types/index.js +0 -11
  612. package/lib/commonjs/modules/questionnaire-response-form/types/index.js.map +1 -1
  613. package/lib/commonjs/modules/questionnaire-response-form/utils/condition-utils.js +3 -1
  614. package/lib/commonjs/modules/questionnaire-response-form/utils/condition-utils.js.map +1 -1
  615. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/boolean-condition.js +2 -7
  616. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/boolean-condition.js.map +1 -1
  617. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/compare.js +39 -0
  618. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/compare.js.map +1 -0
  619. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/date-condition.js +2 -42
  620. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/date-condition.js.map +1 -1
  621. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/decimal-condition.js +2 -19
  622. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/decimal-condition.js.map +1 -1
  623. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/fhir-condition.js +6 -51
  624. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/fhir-condition.js.map +1 -1
  625. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/string-condition.js +2 -7
  626. package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/string-condition.js.map +1 -1
  627. package/lib/commonjs/modules/questionnaire-response-form/utils/fhir-time.js +26 -0
  628. package/lib/commonjs/modules/questionnaire-response-form/utils/fhir-time.js.map +1 -0
  629. package/lib/commonjs/modules/questionnaire-response-form/utils/fields/get-keyboard-type.js +1 -3
  630. package/lib/commonjs/modules/questionnaire-response-form/utils/fields/get-keyboard-type.js.map +1 -1
  631. package/lib/commonjs/modules/questionnaire-response-form/utils/form-utils.js +13 -13
  632. package/lib/commonjs/modules/questionnaire-response-form/utils/form-utils.js.map +1 -1
  633. package/lib/commonjs/modules/questionnaire-response-form/utils/form-validation.js +1 -2
  634. package/lib/commonjs/modules/questionnaire-response-form/utils/form-validation.js.map +1 -1
  635. package/lib/commonjs/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.js +5 -1
  636. package/lib/commonjs/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.js.map +1 -1
  637. package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-date-utils.js +33 -1
  638. package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-date-utils.js.map +1 -1
  639. package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-navigation-utils.js +3 -3
  640. package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-navigation-utils.js.map +1 -1
  641. package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-string-constraint-validator.js +4 -17
  642. package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-string-constraint-validator.js.map +1 -1
  643. package/lib/commonjs/modules/socket/components/socket-provider.js +3 -10
  644. package/lib/commonjs/modules/socket/components/socket-provider.js.map +1 -1
  645. package/lib/commonjs/modules/socket/hooks/use-socket.js +2 -9
  646. package/lib/commonjs/modules/socket/hooks/use-socket.js.map +1 -1
  647. package/lib/commonjs/modules/tab/components/tab-provider.js +3 -3
  648. package/lib/commonjs/modules/tab/components/tab-provider.js.map +1 -1
  649. package/lib/commonjs/modules/tab/hooks/use-tab.js +2 -9
  650. package/lib/commonjs/modules/tab/hooks/use-tab.js.map +1 -1
  651. package/lib/commonjs/modules/theme/utils/generate-theme.js +4 -2
  652. package/lib/commonjs/modules/theme/utils/generate-theme.js.map +1 -1
  653. package/lib/commonjs/modules/tile/components/complete-animation.js +1 -5
  654. package/lib/commonjs/modules/tile/components/complete-animation.js.map +1 -1
  655. package/lib/commonjs/modules/ui/components/background-sync-setting.js +26 -13
  656. package/lib/commonjs/modules/ui/components/background-sync-setting.js.map +1 -1
  657. package/lib/commonjs/modules/ui/components/bluetooth-state-notice.js +10 -24
  658. package/lib/commonjs/modules/ui/components/bluetooth-state-notice.js.map +1 -1
  659. package/lib/commonjs/modules/ui/components/calendar.js +3 -2
  660. package/lib/commonjs/modules/ui/components/calendar.js.map +1 -1
  661. package/lib/commonjs/modules/ui/components/ecg-strip-viewer.js +6 -20
  662. package/lib/commonjs/modules/ui/components/ecg-strip-viewer.js.map +1 -1
  663. package/lib/commonjs/modules/ui/components/flow-frame.js +3 -2
  664. package/lib/commonjs/modules/ui/components/flow-frame.js.map +1 -1
  665. package/lib/commonjs/modules/ui/components/health-import-card.js +37 -24
  666. package/lib/commonjs/modules/ui/components/health-import-card.js.map +1 -1
  667. package/lib/commonjs/modules/ui/components/manual-entry-form.js +5 -3
  668. package/lib/commonjs/modules/ui/components/manual-entry-form.js.map +1 -1
  669. package/lib/commonjs/modules/ui/components/nearby-device-prompt.js +18 -17
  670. package/lib/commonjs/modules/ui/components/nearby-device-prompt.js.map +1 -1
  671. package/lib/commonjs/modules/ui/components/pairing-flow.js +33 -29
  672. package/lib/commonjs/modules/ui/components/pairing-flow.js.map +1 -1
  673. package/lib/commonjs/modules/ui/components/period-calendar.js +3 -2
  674. package/lib/commonjs/modules/ui/components/period-calendar.js.map +1 -1
  675. package/lib/commonjs/modules/ui/components/supported-devices-catalog-list.js +5 -4
  676. package/lib/commonjs/modules/ui/components/supported-devices-catalog-list.js.map +1 -1
  677. package/lib/commonjs/modules/ui/components/urine-test-result.js +4 -3
  678. package/lib/commonjs/modules/ui/components/urine-test-result.js.map +1 -1
  679. package/lib/commonjs/modules/ui/use-ovok-ui.js +7 -7
  680. package/lib/commonjs/modules/ui/use-ovok-ui.js.map +1 -1
  681. package/lib/commonjs/modules/ui/utils/calendar-date.js +8 -3
  682. package/lib/commonjs/modules/ui/utils/calendar-date.js.map +1 -1
  683. package/lib/module/modules/auth/components/auth-header.js +74 -0
  684. package/lib/module/modules/auth/components/auth-header.js.map +1 -0
  685. package/lib/module/modules/auth/components/auth-scroll-view.js +48 -0
  686. package/lib/module/modules/auth/components/auth-scroll-view.js.map +1 -0
  687. package/lib/module/modules/auth/components/auth-separator.js +51 -0
  688. package/lib/module/modules/auth/components/auth-separator.js.map +1 -0
  689. package/lib/module/modules/auth/components/auth-submit-button.js +66 -0
  690. package/lib/module/modules/auth/components/auth-submit-button.js.map +1 -0
  691. package/lib/module/modules/auth/components/auth-switch-link.js +46 -0
  692. package/lib/module/modules/auth/components/auth-switch-link.js.map +1 -0
  693. package/lib/module/modules/auth/components/password-field.js +26 -0
  694. package/lib/module/modules/auth/components/password-field.js.map +1 -0
  695. package/lib/module/modules/auth/default-translation.js +32 -2
  696. package/lib/module/modules/auth/default-translation.js.map +1 -1
  697. package/lib/module/modules/auth/hooks/use-session.js +3 -2
  698. package/lib/module/modules/auth/hooks/use-session.js.map +1 -1
  699. package/lib/module/modules/auth/hooks/use-sign-in.js +3 -15
  700. package/lib/module/modules/auth/hooks/use-sign-in.js.map +1 -1
  701. package/lib/module/modules/auth/hooks/use-social-sign-in.js +1 -10
  702. package/lib/module/modules/auth/hooks/use-social-sign-in.js.map +1 -1
  703. package/lib/module/modules/auth/profile/components/form-phone-field.js +3 -3
  704. package/lib/module/modules/auth/profile/components/form-phone-field.js.map +1 -1
  705. package/lib/module/modules/auth/profile/components/profile-form-choice-field.js +2 -3
  706. package/lib/module/modules/auth/profile/components/profile-form-choice-field.js.map +1 -1
  707. package/lib/module/modules/auth/profile/components/profile-form.js +0 -3
  708. package/lib/module/modules/auth/profile/components/profile-form.js.map +1 -1
  709. package/lib/module/modules/auth/profile/hooks/use-profile-form.js +2 -8
  710. package/lib/module/modules/auth/profile/hooks/use-profile-form.js.map +1 -1
  711. package/lib/module/modules/auth/register/components/form/inputs.js +14 -34
  712. package/lib/module/modules/auth/register/components/form/inputs.js.map +1 -1
  713. package/lib/module/modules/auth/register/components/form/register-button.js +11 -54
  714. package/lib/module/modules/auth/register/components/form/register-button.js.map +1 -1
  715. package/lib/module/modules/auth/register/components/form/register-form-provider.js +7 -25
  716. package/lib/module/modules/auth/register/components/form/register-form-provider.js.map +1 -1
  717. package/lib/module/modules/auth/register/components/login-link.js +6 -37
  718. package/lib/module/modules/auth/register/components/login-link.js.map +1 -1
  719. package/lib/module/modules/auth/register/components/register-with-separator.js +5 -50
  720. package/lib/module/modules/auth/register/components/register-with-separator.js.map +1 -1
  721. package/lib/module/modules/auth/register/components/register.js +8 -44
  722. package/lib/module/modules/auth/register/components/register.js.map +1 -1
  723. package/lib/module/modules/auth/register/hooks/use-register-form.js +2 -8
  724. package/lib/module/modules/auth/register/hooks/use-register-form.js.map +1 -1
  725. package/lib/module/modules/auth/register/utils/create-register-validation-schema.js +2 -2
  726. package/lib/module/modules/auth/register/utils/create-register-validation-schema.js.map +1 -1
  727. package/lib/module/modules/auth/reset-password/components/form/reset-password-button.js +11 -54
  728. package/lib/module/modules/auth/reset-password/components/form/reset-password-button.js.map +1 -1
  729. package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js +6 -10
  730. package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
  731. package/lib/module/modules/auth/reset-password/components/reset-password.js +6 -43
  732. package/lib/module/modules/auth/reset-password/components/reset-password.js.map +1 -1
  733. package/lib/module/modules/auth/reset-password/hooks/use-reset-password-form.js +2 -8
  734. package/lib/module/modules/auth/reset-password/hooks/use-reset-password-form.js.map +1 -1
  735. package/lib/module/modules/auth/session/components/session-list.js +1 -2
  736. package/lib/module/modules/auth/session/components/session-list.js.map +1 -1
  737. package/lib/module/modules/auth/session/save-login.js +15 -0
  738. package/lib/module/modules/auth/session/save-login.js.map +1 -0
  739. package/lib/module/modules/auth/session/session-store-refresh.js +8 -19
  740. package/lib/module/modules/auth/session/session-store-refresh.js.map +1 -1
  741. package/lib/module/modules/auth/session/session-store-types.js +10 -1
  742. package/lib/module/modules/auth/session/session-store-types.js.map +1 -1
  743. package/lib/module/modules/auth/session/session-store.js +7 -16
  744. package/lib/module/modules/auth/session/session-store.js.map +1 -1
  745. package/lib/module/modules/auth/sign-in/components/form/inputs.js +2 -14
  746. package/lib/module/modules/auth/sign-in/components/form/inputs.js.map +1 -1
  747. package/lib/module/modules/auth/sign-in/components/form/login-form-provider.js +6 -18
  748. package/lib/module/modules/auth/sign-in/components/form/login-form-provider.js.map +1 -1
  749. package/lib/module/modules/auth/sign-in/components/form/signin-button.js +12 -54
  750. package/lib/module/modules/auth/sign-in/components/form/signin-button.js.map +1 -1
  751. package/lib/module/modules/auth/sign-in/components/login-with-separator.js +5 -50
  752. package/lib/module/modules/auth/sign-in/components/login-with-separator.js.map +1 -1
  753. package/lib/module/modules/auth/sign-in/components/register-link.js +6 -37
  754. package/lib/module/modules/auth/sign-in/components/register-link.js.map +1 -1
  755. package/lib/module/modules/auth/sign-in/components/sign-in.js +6 -43
  756. package/lib/module/modules/auth/sign-in/components/sign-in.js.map +1 -1
  757. package/lib/module/modules/auth/sign-in/components/site-url.js +3 -6
  758. package/lib/module/modules/auth/sign-in/components/site-url.js.map +1 -1
  759. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js +6 -32
  760. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
  761. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-text.js +1 -5
  762. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-text.js.map +1 -1
  763. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login.js +4 -12
  764. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login.js.map +1 -1
  765. package/lib/module/modules/auth/sign-in/components/social-logins/google-icon.js.map +1 -1
  766. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js +6 -30
  767. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
  768. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-text.js +1 -5
  769. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-text.js.map +1 -1
  770. package/lib/module/modules/auth/sign-in/components/social-logins/google-login.js +5 -13
  771. package/lib/module/modules/auth/sign-in/components/social-logins/google-login.js.map +1 -1
  772. package/lib/module/modules/auth/sign-in/components/social-logins/social-login-button.js +39 -0
  773. package/lib/module/modules/auth/sign-in/components/social-logins/social-login-button.js.map +1 -0
  774. package/lib/module/modules/auth/sign-in/hooks/use-login-form.js +2 -8
  775. package/lib/module/modules/auth/sign-in/hooks/use-login-form.js.map +1 -1
  776. package/lib/module/modules/auth/sign-in/utils/create-login-validation-schema.js +2 -2
  777. package/lib/module/modules/auth/sign-in/utils/create-login-validation-schema.js.map +1 -1
  778. package/lib/module/modules/auth/types/auth-header-props.js +4 -0
  779. package/lib/module/modules/auth/types/auth-header-props.js.map +1 -0
  780. package/lib/module/modules/auth/types/auth-submit-button-props.js +4 -0
  781. package/lib/module/modules/auth/types/auth-submit-button-props.js.map +1 -0
  782. package/lib/module/modules/auth/types/form-inputs-props.js.map +1 -0
  783. package/lib/module/modules/auth/utils/apply-submit-error.js +36 -0
  784. package/lib/module/modules/auth/utils/apply-submit-error.js.map +1 -0
  785. package/lib/module/modules/auth/utils/validation.js +17 -0
  786. package/lib/module/modules/auth/utils/validation.js.map +1 -0
  787. package/lib/module/modules/background-sync/android-background-sync.js +11 -33
  788. package/lib/module/modules/background-sync/android-background-sync.js.map +1 -1
  789. package/lib/module/modules/breathing-exercise/components/method-type-icon.js +17 -43
  790. package/lib/module/modules/breathing-exercise/components/method-type-icon.js.map +1 -1
  791. package/lib/module/modules/breathing-exercise/hooks/use-breathing-exercise.js +2 -8
  792. package/lib/module/modules/breathing-exercise/hooks/use-breathing-exercise.js.map +1 -1
  793. package/lib/module/modules/bt-device/components/btdevice-instruction.js +2 -4
  794. package/lib/module/modules/bt-device/components/btdevice-instruction.js.map +1 -1
  795. package/lib/module/modules/bt-device/components/hooks/use-device-list.js +2 -8
  796. package/lib/module/modules/bt-device/components/hooks/use-device-list.js.map +1 -1
  797. package/lib/module/modules/bt-device/components/item/bottom-container.js +4 -24
  798. package/lib/module/modules/bt-device/components/item/bottom-container.js.map +1 -1
  799. package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js +4 -79
  800. package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
  801. package/lib/module/modules/bt-device/constants/device-list-items.js +11 -140
  802. package/lib/module/modules/bt-device/constants/device-list-items.js.map +1 -1
  803. package/lib/module/modules/bt-device/constants/supported-device-catalog-and-medical-variants.js +7 -36
  804. package/lib/module/modules/bt-device/constants/supported-device-catalog-and-medical-variants.js.map +1 -1
  805. package/lib/module/modules/bt-device/constants/supported-device-catalog-aoj-variants.js +22 -126
  806. package/lib/module/modules/bt-device/constants/supported-device-catalog-aoj-variants.js.map +1 -1
  807. package/lib/module/modules/bt-device/constants/supported-device-catalog-art.js +11 -0
  808. package/lib/module/modules/bt-device/constants/supported-device-catalog-art.js.map +1 -0
  809. package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js +3 -1
  810. package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -1
  811. package/lib/module/modules/bt-device/constants/supported-device-catalog-cofoe-variants.js +19 -108
  812. package/lib/module/modules/bt-device/constants/supported-device-catalog-cofoe-variants.js.map +1 -1
  813. package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js +2 -1
  814. package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js.map +1 -1
  815. package/lib/module/modules/bt-device/constants/supported-device-catalog-famidoc-variants.js +37 -216
  816. package/lib/module/modules/bt-device/constants/supported-device-catalog-famidoc-variants.js.map +1 -1
  817. package/lib/module/modules/bt-device/constants/supported-device-catalog-joytech-variants.js +15 -84
  818. package/lib/module/modules/bt-device/constants/supported-device-catalog-joytech-variants.js.map +1 -1
  819. package/lib/module/modules/bt-device/constants/supported-device-catalog-jumper-variants.js +24 -138
  820. package/lib/module/modules/bt-device/constants/supported-device-catalog-jumper-variants.js.map +1 -1
  821. package/lib/module/modules/bt-device/constants/supported-device-catalog-standard-variants.js +166 -990
  822. package/lib/module/modules/bt-device/constants/supported-device-catalog-standard-variants.js.map +1 -1
  823. package/lib/module/modules/bt-device/constants/supported-device-catalog-taidoc-variants.js +28 -162
  824. package/lib/module/modules/bt-device/constants/supported-device-catalog-taidoc-variants.js.map +1 -1
  825. package/lib/module/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.js +95 -564
  826. package/lib/module/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.js.map +1 -1
  827. package/lib/module/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.js +17 -96
  828. package/lib/module/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.js.map +1 -1
  829. package/lib/module/modules/bt-device/constants/supported-device-catalog-transtek-variants.js +181 -1080
  830. package/lib/module/modules/bt-device/constants/supported-device-catalog-transtek-variants.js.map +1 -1
  831. package/lib/module/modules/bt-device/constants/supported-device-catalog-variants.js +61 -262
  832. package/lib/module/modules/bt-device/constants/supported-device-catalog-variants.js.map +1 -1
  833. package/lib/module/modules/bt-device/constants/supported-device-catalog-yonker-variants.js +18 -102
  834. package/lib/module/modules/bt-device/constants/supported-device-catalog-yonker-variants.js.map +1 -1
  835. package/lib/module/modules/bt-device/constants/supported-devices.js +214 -262
  836. package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
  837. package/lib/module/modules/bt-device/utils/slugify.js +5 -0
  838. package/lib/module/modules/bt-device/utils/slugify.js.map +1 -0
  839. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js +16 -36
  840. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  841. package/lib/module/modules/bt-management/constants/built-in-measurement-types.js +16 -1
  842. package/lib/module/modules/bt-management/constants/built-in-measurement-types.js.map +1 -1
  843. package/lib/module/modules/bt-management/constants/no-parsing-cases.js +8 -0
  844. package/lib/module/modules/bt-management/constants/no-parsing-cases.js.map +1 -0
  845. package/lib/module/modules/bt-management/constants/preferred-mtu.js +8 -0
  846. package/lib/module/modules/bt-management/constants/preferred-mtu.js.map +1 -0
  847. package/lib/module/modules/bt-management/hooks/runtime-context.js +22 -34
  848. package/lib/module/modules/bt-management/hooks/runtime-context.js.map +1 -1
  849. package/lib/module/modules/bt-management/hooks/use-bluetooth-state.js +2 -5
  850. package/lib/module/modules/bt-management/hooks/use-bluetooth-state.js.map +1 -1
  851. package/lib/module/modules/bt-management/hooks/use-measurements.js +5 -6
  852. package/lib/module/modules/bt-management/hooks/use-measurements.js.map +1 -1
  853. package/lib/module/modules/bt-management/index.js +0 -1
  854. package/lib/module/modules/bt-management/index.js.map +1 -1
  855. package/lib/module/modules/bt-management/services/bt-manager.js +11 -31
  856. package/lib/module/modules/bt-management/services/bt-manager.js.map +1 -1
  857. package/lib/module/modules/bt-management/services/custom/assert-integer-in-range.js +12 -0
  858. package/lib/module/modules/bt-management/services/custom/assert-integer-in-range.js.map +1 -0
  859. package/lib/module/modules/bt-management/services/custom/compile-custom-lepu.js +3 -16
  860. package/lib/module/modules/bt-management/services/custom/compile-custom-lepu.js.map +1 -1
  861. package/lib/module/modules/bt-management/services/custom/define-custom-device.js +3 -14
  862. package/lib/module/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
  863. package/lib/module/modules/bt-management/services/device-classes.js +3 -4
  864. package/lib/module/modules/bt-management/services/device-classes.js.map +1 -1
  865. package/lib/module/modules/bt-management/services/devices/a606/a606.command-sequencer.js +3 -3
  866. package/lib/module/modules/bt-management/services/devices/a606/a606.command-sequencer.js.map +1 -1
  867. package/lib/module/modules/bt-management/services/devices/a606/a606.device.js +0 -4
  868. package/lib/module/modules/bt-management/services/devices/a606/a606.device.js.map +1 -1
  869. package/lib/module/modules/bt-management/services/devices/a606/a606.frame-reader.js +6 -22
  870. package/lib/module/modules/bt-management/services/devices/a606/a606.frame-reader.js.map +1 -1
  871. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.device.js +8 -21
  872. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.device.js.map +1 -1
  873. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.protocol.js +12 -12
  874. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.protocol.js.map +1 -1
  875. package/lib/module/modules/bt-management/services/devices/aoj/aoj-70b.device.js +5 -14
  876. package/lib/module/modules/bt-management/services/devices/aoj/aoj-70b.device.js.map +1 -1
  877. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.device.js +5 -15
  878. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.device.js.map +1 -1
  879. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.protocol.js +18 -33
  880. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.protocol.js.map +1 -1
  881. package/lib/module/modules/bt-management/services/devices/aoj/aoj.command-sequencer.js +3 -3
  882. package/lib/module/modules/bt-management/services/devices/aoj/aoj.command-sequencer.js.map +1 -1
  883. package/lib/module/modules/bt-management/services/devices/aoj/aoj.device.js +0 -1
  884. package/lib/module/modules/bt-management/services/devices/aoj/aoj.device.js.map +1 -1
  885. package/lib/module/modules/bt-management/services/devices/aoj/aoj.frame-reader.js +5 -18
  886. package/lib/module/modules/bt-management/services/devices/aoj/aoj.frame-reader.js.map +1 -1
  887. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-builders.js +1 -2
  888. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-builders.js.map +1 -1
  889. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js +4 -3
  890. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js.map +1 -1
  891. package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js +1 -3
  892. package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
  893. package/lib/module/modules/bt-management/services/devices/bc01/bc01.frame-reader.js +6 -18
  894. package/lib/module/modules/bt-management/services/devices/bc01/bc01.frame-reader.js.map +1 -1
  895. package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
  896. package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js +2 -3
  897. package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
  898. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.js +4 -4
  899. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.js.map +1 -1
  900. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js +0 -4
  901. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -1
  902. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.js +6 -22
  903. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.js.map +1 -1
  904. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js +14 -13
  905. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  906. package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.device.js +10 -25
  907. package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.device.js.map +1 -1
  908. package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js +2 -6
  909. package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js.map +1 -1
  910. package/lib/module/modules/bt-management/services/devices/checkme/checkme-envelope.js +16 -0
  911. package/lib/module/modules/bt-management/services/devices/checkme/checkme-envelope.js.map +1 -0
  912. package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.device.js +8 -17
  913. package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.device.js.map +1 -1
  914. package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.protocol.js +18 -40
  915. package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.protocol.js.map +1 -1
  916. package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js +2 -6
  917. package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js.map +1 -1
  918. package/lib/module/modules/bt-management/services/devices/checkme/checkme.device.js +2 -7
  919. package/lib/module/modules/bt-management/services/devices/checkme/checkme.device.js.map +1 -1
  920. package/lib/module/modules/bt-management/services/devices/checkme/checkme.protocol.js +25 -51
  921. package/lib/module/modules/bt-management/services/devices/checkme/checkme.protocol.js.map +1 -1
  922. package/lib/module/modules/bt-management/services/devices/checkme/checkme.sequencer.js +3 -7
  923. package/lib/module/modules/bt-management/services/devices/checkme/checkme.sequencer.js.map +1 -1
  924. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.device.js +3 -10
  925. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.device.js.map +1 -1
  926. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.protocol.js +23 -44
  927. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.protocol.js.map +1 -1
  928. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.records.js +2 -2
  929. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.records.js.map +1 -1
  930. package/lib/module/modules/bt-management/services/devices/custom/custom-lepu-sequencer.js +12 -11
  931. package/lib/module/modules/bt-management/services/devices/custom/custom-lepu-sequencer.js.map +1 -1
  932. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +15 -13
  933. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  934. package/lib/module/modules/bt-management/services/devices/f4/f4.device.js +1 -1
  935. package/lib/module/modules/bt-management/services/devices/f4/f4.device.js.map +1 -1
  936. package/lib/module/modules/bt-management/services/devices/f5/f5-scale.device.js +8 -17
  937. package/lib/module/modules/bt-management/services/devices/f5/f5-scale.device.js.map +1 -1
  938. package/lib/module/modules/bt-management/services/devices/f5/f5-scale.protocol.js +5 -18
  939. package/lib/module/modules/bt-management/services/devices/f5/f5-scale.protocol.js.map +1 -1
  940. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.device.js +6 -15
  941. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.device.js.map +1 -1
  942. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.protocol.js +17 -35
  943. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.protocol.js.map +1 -1
  944. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.js +3 -3
  945. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.js.map +1 -1
  946. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.device.js +0 -1
  947. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.device.js.map +1 -1
  948. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.js +5 -18
  949. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.js.map +1 -1
  950. package/lib/module/modules/bt-management/services/devices/joytech/joytech.device.js +5 -14
  951. package/lib/module/modules/bt-management/services/devices/joytech/joytech.device.js.map +1 -1
  952. package/lib/module/modules/bt-management/services/devices/joytech/joytech.protocol.js +17 -35
  953. package/lib/module/modules/bt-management/services/devices/joytech/joytech.protocol.js.map +1 -1
  954. package/lib/module/modules/bt-management/services/devices/jumper/jumper.device.js +3 -10
  955. package/lib/module/modules/bt-management/services/devices/jumper/jumper.device.js.map +1 -1
  956. package/lib/module/modules/bt-management/services/devices/jumper/jumper.protocol.js +10 -12
  957. package/lib/module/modules/bt-management/services/devices/jumper/jumper.protocol.js.map +1 -1
  958. package/lib/module/modules/bt-management/services/devices/lepu/lepu.command-builder.js +4 -6
  959. package/lib/module/modules/bt-management/services/devices/lepu/lepu.command-builder.js.map +1 -1
  960. package/lib/module/modules/bt-management/services/devices/lepu/lepu.frame-reader.js +5 -18
  961. package/lib/module/modules/bt-management/services/devices/lepu/lepu.frame-reader.js.map +1 -1
  962. package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js +5 -5
  963. package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
  964. package/lib/module/modules/bt-management/services/devices/monitor-service.js +22 -0
  965. package/lib/module/modules/bt-management/services/devices/monitor-service.js.map +1 -0
  966. package/lib/module/modules/bt-management/services/devices/sentinel-frame-reader.js +6 -23
  967. package/lib/module/modules/bt-management/services/devices/sentinel-frame-reader.js.map +1 -1
  968. package/lib/module/modules/bt-management/services/devices/spo/pc60fw.frame-reader.js +7 -26
  969. package/lib/module/modules/bt-management/services/devices/spo/pc60fw.frame-reader.js.map +1 -1
  970. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js +14 -11
  971. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js.map +1 -1
  972. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +5 -4
  973. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
  974. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js +2 -3
  975. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js.map +1 -1
  976. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.device.js +6 -15
  977. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.device.js.map +1 -1
  978. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.protocol.js +12 -27
  979. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.protocol.js.map +1 -1
  980. package/lib/module/modules/bt-management/services/devices/tmb/tmb.command-sequencer.js +4 -4
  981. package/lib/module/modules/bt-management/services/devices/tmb/tmb.command-sequencer.js.map +1 -1
  982. package/lib/module/modules/bt-management/services/devices/tmb/tmb.frame-reader.js +5 -18
  983. package/lib/module/modules/bt-management/services/devices/tmb/tmb.frame-reader.js.map +1 -1
  984. package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.js +2 -1
  985. package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.js.map +1 -1
  986. package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js +9 -58
  987. package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js.map +1 -1
  988. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.measurements.js +2 -2
  989. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.measurements.js.map +1 -1
  990. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.protocol.js +11 -26
  991. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.protocol.js.map +1 -1
  992. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js +6 -54
  993. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js.map +1 -1
  994. package/lib/module/modules/bt-management/services/devices/transtek/a6.device.js +45 -0
  995. package/lib/module/modules/bt-management/services/devices/transtek/a6.device.js.map +1 -0
  996. package/lib/module/modules/bt-management/services/devices/transtek/a6.sequencer.js +66 -0
  997. package/lib/module/modules/bt-management/services/devices/transtek/a6.sequencer.js.map +1 -0
  998. package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.device.js +4 -15
  999. package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.device.js.map +1 -1
  1000. package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.protocol.js +17 -57
  1001. package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.protocol.js.map +1 -1
  1002. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.device.js +5 -11
  1003. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.device.js.map +1 -1
  1004. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.protocol.js +21 -21
  1005. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.protocol.js.map +1 -1
  1006. package/lib/module/modules/bt-management/services/devices/trasense/s9-frame-reader.js +3 -10
  1007. package/lib/module/modules/bt-management/services/devices/trasense/s9-frame-reader.js.map +1 -1
  1008. package/lib/module/modules/bt-management/services/devices/trasense/s9.command-sequencer.js +19 -23
  1009. package/lib/module/modules/bt-management/services/devices/trasense/s9.command-sequencer.js.map +1 -1
  1010. package/lib/module/modules/bt-management/services/devices/trasense/s9.device.js +1 -10
  1011. package/lib/module/modules/bt-management/services/devices/trasense/s9.device.js.map +1 -1
  1012. package/lib/module/modules/bt-management/services/devices/uebe/mysense.frame-reader.js +7 -26
  1013. package/lib/module/modules/bt-management/services/devices/uebe/mysense.frame-reader.js.map +1 -1
  1014. package/lib/module/modules/bt-management/services/devices/uebe/mysense.sequencer.js +2 -2
  1015. package/lib/module/modules/bt-management/services/devices/uebe/mysense.sequencer.js.map +1 -1
  1016. package/lib/module/modules/bt-management/services/devices/veroval/veroval-activity-frame-reader.js +5 -20
  1017. package/lib/module/modules/bt-management/services/devices/veroval/veroval-activity-frame-reader.js.map +1 -1
  1018. package/lib/module/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js +6 -7
  1019. package/lib/module/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js.map +1 -1
  1020. package/lib/module/modules/bt-management/services/devices/veroval/veroval.activity-device.js +2 -7
  1021. package/lib/module/modules/bt-management/services/devices/veroval/veroval.activity-device.js.map +1 -1
  1022. package/lib/module/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.js +4 -2
  1023. package/lib/module/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.js.map +1 -1
  1024. package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-device.js +1 -7
  1025. package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-device.js.map +1 -1
  1026. package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-transfer.js +2 -3
  1027. package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-transfer.js.map +1 -1
  1028. package/lib/module/modules/bt-management/services/devices/viatom/ap20.device.js +8 -17
  1029. package/lib/module/modules/bt-management/services/devices/viatom/ap20.device.js.map +1 -1
  1030. package/lib/module/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.js +6 -15
  1031. package/lib/module/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.js.map +1 -1
  1032. package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.device.js +8 -17
  1033. package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.device.js.map +1 -1
  1034. package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.js +10 -29
  1035. package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.js.map +1 -1
  1036. package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js +2 -7
  1037. package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js.map +1 -1
  1038. package/lib/module/modules/bt-management/services/devices/viatom/lpm311.protocol.js +3 -10
  1039. package/lib/module/modules/bt-management/services/devices/viatom/lpm311.protocol.js.map +1 -1
  1040. package/lib/module/modules/bt-management/services/devices/viatom/lpm311.sequencer.js +2 -1
  1041. package/lib/module/modules/bt-management/services/devices/viatom/lpm311.sequencer.js.map +1 -1
  1042. package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.device.js +11 -27
  1043. package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.device.js.map +1 -1
  1044. package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.protocol.js +3 -4
  1045. package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.protocol.js.map +1 -1
  1046. package/lib/module/modules/bt-management/services/devices/viatom/pc68b.device.js +8 -17
  1047. package/lib/module/modules/bt-management/services/devices/viatom/pc68b.device.js.map +1 -1
  1048. package/lib/module/modules/bt-management/services/devices/viatom/pc80b.device.js +8 -18
  1049. package/lib/module/modules/bt-management/services/devices/viatom/pc80b.device.js.map +1 -1
  1050. package/lib/module/modules/bt-management/services/devices/viatom/pc80b.protocol.js +14 -30
  1051. package/lib/module/modules/bt-management/services/devices/viatom/pc80b.protocol.js.map +1 -1
  1052. package/lib/module/modules/bt-management/services/devices/viatom/pc80b.sequencer.js +2 -6
  1053. package/lib/module/modules/bt-management/services/devices/viatom/pc80b.sequencer.js.map +1 -1
  1054. package/lib/module/modules/bt-management/services/devices/viatom/pf10aw1.device.js +6 -20
  1055. package/lib/module/modules/bt-management/services/devices/viatom/pf10aw1.device.js.map +1 -1
  1056. package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.device.js +5 -15
  1057. package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.device.js.map +1 -1
  1058. package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.js +3 -10
  1059. package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.js.map +1 -1
  1060. package/lib/module/modules/bt-management/services/devices/viatom/sp20.device.js +8 -21
  1061. package/lib/module/modules/bt-management/services/devices/viatom/sp20.device.js.map +1 -1
  1062. package/lib/module/modules/bt-management/services/devices/viatom/sp20.protocol.js +10 -29
  1063. package/lib/module/modules/bt-management/services/devices/viatom/sp20.protocol.js.map +1 -1
  1064. package/lib/module/modules/bt-management/services/devices/viatom/sp20.sequencer.js +2 -6
  1065. package/lib/module/modules/bt-management/services/devices/viatom/sp20.sequencer.js.map +1 -1
  1066. package/lib/module/modules/bt-management/services/devices/viatom/viatom-aa55.protocol.js +11 -30
  1067. package/lib/module/modules/bt-management/services/devices/viatom/viatom-aa55.protocol.js.map +1 -1
  1068. package/lib/module/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js +2 -6
  1069. package/lib/module/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js.map +1 -1
  1070. package/lib/module/modules/bt-management/services/devices/viatom/viatom-lepu-crypto.js +2 -1
  1071. package/lib/module/modules/bt-management/services/devices/viatom/viatom-lepu-crypto.js.map +1 -1
  1072. package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.device.js +9 -21
  1073. package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.device.js.map +1 -1
  1074. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.device.js +8 -17
  1075. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.device.js.map +1 -1
  1076. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.js +10 -26
  1077. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.js.map +1 -1
  1078. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js +2 -7
  1079. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js.map +1 -1
  1080. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.device.js +8 -17
  1081. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.device.js.map +1 -1
  1082. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.js +10 -29
  1083. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.js.map +1 -1
  1084. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js +2 -7
  1085. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js.map +1 -1
  1086. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.device.js +8 -17
  1087. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.device.js.map +1 -1
  1088. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.js +10 -29
  1089. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.js.map +1 -1
  1090. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js +2 -7
  1091. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js.map +1 -1
  1092. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.device.js +9 -18
  1093. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.device.js.map +1 -1
  1094. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.protocol.js +27 -29
  1095. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.protocol.js.map +1 -1
  1096. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js +20 -20
  1097. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js.map +1 -1
  1098. package/lib/module/modules/bt-management/services/devices/viatom/viatom.vtm20f.frame-reader.js +6 -22
  1099. package/lib/module/modules/bt-management/services/devices/viatom/viatom.vtm20f.frame-reader.js.map +1 -1
  1100. package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.device.js +6 -16
  1101. package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.device.js.map +1 -1
  1102. package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.protocol.js +33 -34
  1103. package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.protocol.js.map +1 -1
  1104. package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js +17 -19
  1105. package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js.map +1 -1
  1106. package/lib/module/modules/bt-management/services/devices/write-command.js +9 -0
  1107. package/lib/module/modules/bt-management/services/devices/write-command.js.map +1 -0
  1108. package/lib/module/modules/bt-management/services/devices/yonker/yonker.device.js +3 -10
  1109. package/lib/module/modules/bt-management/services/devices/yonker/yonker.device.js.map +1 -1
  1110. package/lib/module/modules/bt-management/services/devices/yonker/yonker.protocol.js +25 -44
  1111. package/lib/module/modules/bt-management/services/devices/yonker/yonker.protocol.js.map +1 -1
  1112. package/lib/module/modules/bt-management/utils/ascii-to-hex.js +7 -0
  1113. package/lib/module/modules/bt-management/utils/ascii-to-hex.js.map +1 -0
  1114. package/lib/module/modules/bt-management/utils/base-64-to-hex.js +2 -8
  1115. package/lib/module/modules/bt-management/utils/base-64-to-hex.js.map +1 -1
  1116. package/lib/module/modules/bt-management/utils/bytes-to-hex.js +9 -0
  1117. package/lib/module/modules/bt-management/utils/bytes-to-hex.js.map +1 -0
  1118. package/lib/module/modules/bt-management/utils/daily-total-day.js +16 -0
  1119. package/lib/module/modules/bt-management/utils/daily-total-day.js.map +1 -0
  1120. package/lib/module/modules/bt-management/utils/error-callback-payload.js +15 -0
  1121. package/lib/module/modules/bt-management/utils/error-callback-payload.js.map +1 -0
  1122. package/lib/module/modules/bt-management/utils/frame-bytes.js +7 -0
  1123. package/lib/module/modules/bt-management/utils/frame-bytes.js.map +1 -0
  1124. package/lib/module/modules/bt-management/utils/frame-read-results.js +26 -0
  1125. package/lib/module/modules/bt-management/utils/frame-read-results.js.map +1 -0
  1126. package/lib/module/modules/bt-management/utils/hex-to-base-64.js +1 -5
  1127. package/lib/module/modules/bt-management/utils/hex-to-base-64.js.map +1 -1
  1128. package/lib/module/modules/bt-management/utils/mirror-bluetooth-state.js +13 -0
  1129. package/lib/module/modules/bt-management/utils/mirror-bluetooth-state.js.map +1 -0
  1130. package/lib/module/modules/bt-management/utils/sig-uuid.js +5 -0
  1131. package/lib/module/modules/bt-management/utils/sig-uuid.js.map +1 -0
  1132. package/lib/module/modules/bt-management/utils/sum-bytes.js +5 -0
  1133. package/lib/module/modules/bt-management/utils/sum-bytes.js.map +1 -0
  1134. package/lib/module/modules/cms/hooks/use-cms-content.js +7 -24
  1135. package/lib/module/modules/cms/hooks/use-cms-content.js.map +1 -1
  1136. package/lib/module/modules/content/content-card/components/content-card.js +3 -20
  1137. package/lib/module/modules/content/content-card/components/content-card.js.map +1 -1
  1138. package/lib/module/modules/content/content-card/components/cover-badge.js +2 -3
  1139. package/lib/module/modules/content/content-card/components/cover-badge.js.map +1 -1
  1140. package/lib/module/modules/content/content-card/components/title.js +1 -5
  1141. package/lib/module/modules/content/content-card/components/title.js.map +1 -1
  1142. package/lib/module/modules/content/content-detail/components/content-detail-footer.js +3 -16
  1143. package/lib/module/modules/content/content-detail/components/content-detail-footer.js.map +1 -1
  1144. package/lib/module/modules/content/content-detail/components/content-detail-header.js +3 -16
  1145. package/lib/module/modules/content/content-detail/components/content-detail-header.js.map +1 -1
  1146. package/lib/module/modules/content/content-detail/components/metadata/content-detail-metadata-item.js +1 -1
  1147. package/lib/module/modules/content/content-detail/components/metadata/content-detail-metadata-item.js.map +1 -1
  1148. package/lib/module/modules/content/content-detail/context/hooks/use-composition.js +2 -8
  1149. package/lib/module/modules/content/content-detail/context/hooks/use-composition.js.map +1 -1
  1150. package/lib/module/modules/content/content-list/components/horizontal-list.js +1 -1
  1151. package/lib/module/modules/content/content-list/components/horizontal-list.js.map +1 -1
  1152. package/lib/module/modules/content/content-list/components/section.js +3 -15
  1153. package/lib/module/modules/content/content-list/components/section.js.map +1 -1
  1154. package/lib/module/modules/data-sync/components/android/android-health-connect-authorization-provider.js +1 -1
  1155. package/lib/module/modules/data-sync/components/android/android-health-connect-authorization-provider.js.map +1 -1
  1156. package/lib/module/modules/data-sync/components/android/android-health-sync.js +9 -65
  1157. package/lib/module/modules/data-sync/components/android/android-health-sync.js.map +1 -1
  1158. package/lib/module/modules/data-sync/components/apple/apple-health-authorization-provider.js +3 -2
  1159. package/lib/module/modules/data-sync/components/apple/apple-health-authorization-provider.js.map +1 -1
  1160. package/lib/module/modules/data-sync/components/apple/apple-health-sync.js +12 -86
  1161. package/lib/module/modules/data-sync/components/apple/apple-health-sync.js.map +1 -1
  1162. package/lib/module/modules/data-sync/constants.js +5 -1
  1163. package/lib/module/modules/data-sync/constants.js.map +1 -1
  1164. package/lib/module/modules/data-sync/contexts/health-authorization-context.js +2 -7
  1165. package/lib/module/modules/data-sync/contexts/health-authorization-context.js.map +1 -1
  1166. package/lib/module/modules/data-sync/hooks/use-health-import.js +2 -1
  1167. package/lib/module/modules/data-sync/hooks/use-health-import.js.map +1 -1
  1168. package/lib/module/modules/data-sync/hooks/use-health-sync-runner.js +95 -0
  1169. package/lib/module/modules/data-sync/hooks/use-health-sync-runner.js.map +1 -0
  1170. package/lib/module/modules/data-sync/services/android-health-sync-service.js +6 -13
  1171. package/lib/module/modules/data-sync/services/android-health-sync-service.js.map +1 -1
  1172. package/lib/module/modules/data-sync/services/apple-health-sync-service.js +6 -13
  1173. package/lib/module/modules/data-sync/services/apple-health-sync-service.js.map +1 -1
  1174. package/lib/module/modules/data-sync/services/base-health-sync-service.js +11 -6
  1175. package/lib/module/modules/data-sync/services/base-health-sync-service.js.map +1 -1
  1176. package/lib/module/modules/data-sync/services/managers/data-processor.js +4 -9
  1177. package/lib/module/modules/data-sync/services/managers/data-processor.js.map +1 -1
  1178. package/lib/module/modules/data-sync/services/managers/storage-manager.js +2 -3
  1179. package/lib/module/modules/data-sync/services/managers/storage-manager.js.map +1 -1
  1180. package/lib/module/modules/data-sync/types/health-sync-batch-error.js +2 -1
  1181. package/lib/module/modules/data-sync/types/health-sync-batch-error.js.map +1 -1
  1182. package/lib/module/modules/data-sync/utils/convert-generic-health-data.js +5 -14
  1183. package/lib/module/modules/data-sync/utils/convert-generic-health-data.js.map +1 -1
  1184. package/lib/module/modules/data-sync/utils/convert-records-to-observation.js +8 -16
  1185. package/lib/module/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
  1186. package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js +15 -25
  1187. package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
  1188. package/lib/module/modules/data-sync/utils/create-progress-collector.js +11 -0
  1189. package/lib/module/modules/data-sync/utils/create-progress-collector.js.map +1 -0
  1190. package/lib/module/modules/data-sync/utils/fhir-systems.js +8 -0
  1191. package/lib/module/modules/data-sync/utils/fhir-systems.js.map +1 -0
  1192. package/lib/module/modules/data-sync/utils/generate-observation-entry.js +7 -6
  1193. package/lib/module/modules/data-sync/utils/generate-observation-entry.js.map +1 -1
  1194. package/lib/module/modules/data-sync/utils/get-latest-observation-dates-by-code.js +2 -1
  1195. package/lib/module/modules/data-sync/utils/get-latest-observation-dates-by-code.js.map +1 -1
  1196. package/lib/module/modules/data-sync/utils/get-latest-valid-start-date.js +2 -1
  1197. package/lib/module/modules/data-sync/utils/get-latest-valid-start-date.js.map +1 -1
  1198. package/lib/module/modules/data-sync/utils/get-records-from-health-connect.js +7 -5
  1199. package/lib/module/modules/data-sync/utils/get-records-from-health-connect.js.map +1 -1
  1200. package/lib/module/modules/data-sync/utils/get-samples-from-health.js +19 -35
  1201. package/lib/module/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
  1202. package/lib/module/modules/data-sync/utils/get-total-records-count.js +2 -2
  1203. package/lib/module/modules/data-sync/utils/get-total-records-count.js.map +1 -1
  1204. package/lib/module/modules/data-sync/utils/group-samples-by-interval.js +12 -0
  1205. package/lib/module/modules/data-sync/utils/group-samples-by-interval.js.map +1 -0
  1206. package/lib/module/modules/data-sync/utils/health-data-catalog.js +109 -274
  1207. package/lib/module/modules/data-sync/utils/health-data-catalog.js.map +1 -1
  1208. package/lib/module/modules/data-sync/utils/is-daily-aggregate-mode.js +5 -0
  1209. package/lib/module/modules/data-sync/utils/is-daily-aggregate-mode.js.map +1 -0
  1210. package/lib/module/modules/data-sync/utils/normalize-core-health-observation.js +1 -2
  1211. package/lib/module/modules/data-sync/utils/normalize-core-health-observation.js.map +1 -1
  1212. package/lib/module/modules/data-sync/utils/sync-window-start.js +8 -0
  1213. package/lib/module/modules/data-sync/utils/sync-window-start.js.map +1 -0
  1214. package/lib/module/modules/data-sync/utils/to-core-health-observations.js +28 -0
  1215. package/lib/module/modules/data-sync/utils/to-core-health-observations.js.map +1 -0
  1216. package/lib/module/modules/helpers/form-items/form-date-field.js +2 -1
  1217. package/lib/module/modules/helpers/form-items/form-date-field.js.map +1 -1
  1218. package/lib/module/modules/helpers/form-items/form-select.js +1 -2
  1219. package/lib/module/modules/helpers/form-items/form-select.js.map +1 -1
  1220. package/lib/module/modules/helpers/hooks/use-latest-ref.js +11 -0
  1221. package/lib/module/modules/helpers/hooks/use-latest-ref.js.map +1 -0
  1222. package/lib/module/modules/helpers/hooks/use-required-context.js +13 -0
  1223. package/lib/module/modules/helpers/hooks/use-required-context.js.map +1 -0
  1224. package/lib/module/modules/helpers/spaced-view.js +20 -0
  1225. package/lib/module/modules/helpers/spaced-view.js.map +1 -0
  1226. package/lib/module/modules/helpers/surface-card.js +22 -0
  1227. package/lib/module/modules/helpers/surface-card.js.map +1 -0
  1228. package/lib/module/modules/helpers/utils/local-date.js +5 -0
  1229. package/lib/module/modules/helpers/utils/local-date.js.map +1 -0
  1230. package/lib/module/modules/helpers/utils/telemetry.js +38 -69
  1231. package/lib/module/modules/helpers/utils/telemetry.js.map +1 -1
  1232. package/lib/module/modules/helpers/utils/to-error.js +5 -0
  1233. package/lib/module/modules/helpers/utils/to-error.js.map +1 -0
  1234. package/lib/module/modules/image/components/optimized-image.js +2 -2
  1235. package/lib/module/modules/image/components/optimized-image.js.map +1 -1
  1236. package/lib/module/modules/image/utils/calculate-dimension.js +1 -1
  1237. package/lib/module/modules/image/utils/calculate-dimension.js.map +1 -1
  1238. package/lib/module/modules/journal/past-journal/components/answer.js +2 -1
  1239. package/lib/module/modules/journal/past-journal/components/answer.js.map +1 -1
  1240. package/lib/module/modules/journal/past-journal/components/past-journal-card.js +3 -20
  1241. package/lib/module/modules/journal/past-journal/components/past-journal-card.js.map +1 -1
  1242. package/lib/module/modules/journal/today-question/components/gradient.js +1 -11
  1243. package/lib/module/modules/journal/today-question/components/gradient.js.map +1 -1
  1244. package/lib/module/modules/journal/today-question/components/today-question-card.js +3 -18
  1245. package/lib/module/modules/journal/today-question/components/today-question-card.js.map +1 -1
  1246. package/lib/module/modules/language-switcher/components/language-switcher.js +3 -3
  1247. package/lib/module/modules/language-switcher/components/language-switcher.js.map +1 -1
  1248. package/lib/module/modules/language-switcher/components/option/hooks/use-language-option.js +2 -8
  1249. package/lib/module/modules/language-switcher/components/option/hooks/use-language-option.js.map +1 -1
  1250. package/lib/module/modules/language-switcher/hooks/use-language-switcher.js +2 -8
  1251. package/lib/module/modules/language-switcher/hooks/use-language-switcher.js.map +1 -1
  1252. package/lib/module/modules/measurement/components/date-range.js +9 -22
  1253. package/lib/module/modules/measurement/components/date-range.js.map +1 -1
  1254. package/lib/module/modules/observation-detail/components/date-time.js +1 -5
  1255. package/lib/module/modules/observation-detail/components/date-time.js.map +1 -1
  1256. package/lib/module/modules/observation-detail/components/observation-detail.js +9 -11
  1257. package/lib/module/modules/observation-detail/components/observation-detail.js.map +1 -1
  1258. package/lib/module/modules/observation-detail/components/photo-preview.js +1 -1
  1259. package/lib/module/modules/observation-detail/components/photo-preview.js.map +1 -1
  1260. package/lib/module/modules/observation-detail/components/preview-modal.js +47 -60
  1261. package/lib/module/modules/observation-detail/components/preview-modal.js.map +1 -1
  1262. package/lib/module/modules/patient/components/card/patient-gender.js +17 -39
  1263. package/lib/module/modules/patient/components/card/patient-gender.js.map +1 -1
  1264. package/lib/module/modules/pdf/components/pdf-viewer.js +1 -5
  1265. package/lib/module/modules/pdf/components/pdf-viewer.js.map +1 -1
  1266. package/lib/module/modules/progress-ring/components/progress-ring.js +1 -5
  1267. package/lib/module/modules/progress-ring/components/progress-ring.js.map +1 -1
  1268. package/lib/module/modules/questionnaire-response-form/components/content/questionnaire-content-all-items.js +1 -2
  1269. package/lib/module/modules/questionnaire-response-form/components/content/questionnaire-content-all-items.js.map +1 -1
  1270. package/lib/module/modules/questionnaire-response-form/components/content/questionnaire-content-item.js +8 -39
  1271. package/lib/module/modules/questionnaire-response-form/components/content/questionnaire-content-item.js.map +1 -1
  1272. package/lib/module/modules/questionnaire-response-form/components/content/questionnaire-content-specific-item.js +1 -2
  1273. package/lib/module/modules/questionnaire-response-form/components/content/questionnaire-content-specific-item.js.map +1 -1
  1274. package/lib/module/modules/questionnaire-response-form/components/content/questionnaire-content.js +2 -2
  1275. package/lib/module/modules/questionnaire-response-form/components/content/questionnaire-content.js.map +1 -1
  1276. package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js +9 -45
  1277. package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js.map +1 -1
  1278. package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.js +5 -9
  1279. package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.js.map +1 -1
  1280. package/lib/module/modules/questionnaire-response-form/components/questionnaire-form-provider.js +8 -5
  1281. package/lib/module/modules/questionnaire-response-form/components/questionnaire-form-provider.js.map +1 -1
  1282. package/lib/module/modules/questionnaire-response-form/default-translation.js +2 -0
  1283. package/lib/module/modules/questionnaire-response-form/default-translation.js.map +1 -1
  1284. package/lib/module/modules/questionnaire-response-form/hooks/use-initial-selected-values.js +4 -16
  1285. package/lib/module/modules/questionnaire-response-form/hooks/use-initial-selected-values.js.map +1 -1
  1286. package/lib/module/modules/questionnaire-response-form/hooks/use-navigation-handlers.js +1 -11
  1287. package/lib/module/modules/questionnaire-response-form/hooks/use-navigation-handlers.js.map +1 -1
  1288. package/lib/module/modules/questionnaire-response-form/hooks/use-questionnaire-form.js +2 -8
  1289. package/lib/module/modules/questionnaire-response-form/hooks/use-questionnaire-form.js.map +1 -1
  1290. package/lib/module/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.js +7 -5
  1291. package/lib/module/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.js.map +1 -1
  1292. package/lib/module/modules/questionnaire-response-form/hooks/use-questionnaire-navigation.js +2 -8
  1293. package/lib/module/modules/questionnaire-response-form/hooks/use-questionnaire-navigation.js.map +1 -1
  1294. package/lib/module/modules/questionnaire-response-form/types/index.js +0 -2
  1295. package/lib/module/modules/questionnaire-response-form/types/index.js.map +1 -1
  1296. package/lib/module/modules/questionnaire-response-form/utils/condition-utils.js +3 -1
  1297. package/lib/module/modules/questionnaire-response-form/utils/condition-utils.js.map +1 -1
  1298. package/lib/module/modules/questionnaire-response-form/utils/conditions/boolean-condition.js +2 -7
  1299. package/lib/module/modules/questionnaire-response-form/utils/conditions/boolean-condition.js.map +1 -1
  1300. package/lib/module/modules/questionnaire-response-form/utils/conditions/compare.js +34 -0
  1301. package/lib/module/modules/questionnaire-response-form/utils/conditions/compare.js.map +1 -0
  1302. package/lib/module/modules/questionnaire-response-form/utils/conditions/date-condition.js +2 -42
  1303. package/lib/module/modules/questionnaire-response-form/utils/conditions/date-condition.js.map +1 -1
  1304. package/lib/module/modules/questionnaire-response-form/utils/conditions/decimal-condition.js +2 -19
  1305. package/lib/module/modules/questionnaire-response-form/utils/conditions/decimal-condition.js.map +1 -1
  1306. package/lib/module/modules/questionnaire-response-form/utils/conditions/fhir-condition.js +6 -51
  1307. package/lib/module/modules/questionnaire-response-form/utils/conditions/fhir-condition.js.map +1 -1
  1308. package/lib/module/modules/questionnaire-response-form/utils/conditions/string-condition.js +2 -7
  1309. package/lib/module/modules/questionnaire-response-form/utils/conditions/string-condition.js.map +1 -1
  1310. package/lib/module/modules/questionnaire-response-form/utils/fhir-time.js +21 -0
  1311. package/lib/module/modules/questionnaire-response-form/utils/fhir-time.js.map +1 -0
  1312. package/lib/module/modules/questionnaire-response-form/utils/fields/get-keyboard-type.js +1 -3
  1313. package/lib/module/modules/questionnaire-response-form/utils/fields/get-keyboard-type.js.map +1 -1
  1314. package/lib/module/modules/questionnaire-response-form/utils/form-utils.js +13 -13
  1315. package/lib/module/modules/questionnaire-response-form/utils/form-utils.js.map +1 -1
  1316. package/lib/module/modules/questionnaire-response-form/utils/form-validation.js +2 -3
  1317. package/lib/module/modules/questionnaire-response-form/utils/form-validation.js.map +1 -1
  1318. package/lib/module/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.js +5 -1
  1319. package/lib/module/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.js.map +1 -1
  1320. package/lib/module/modules/questionnaire-response-form/utils/questionnaire-date-utils.js +31 -1
  1321. package/lib/module/modules/questionnaire-response-form/utils/questionnaire-date-utils.js.map +1 -1
  1322. package/lib/module/modules/questionnaire-response-form/utils/questionnaire-navigation-utils.js +4 -4
  1323. package/lib/module/modules/questionnaire-response-form/utils/questionnaire-navigation-utils.js.map +1 -1
  1324. package/lib/module/modules/questionnaire-response-form/utils/questionnaire-string-constraint-validator.js +4 -17
  1325. package/lib/module/modules/questionnaire-response-form/utils/questionnaire-string-constraint-validator.js.map +1 -1
  1326. package/lib/module/modules/socket/components/socket-provider.js +3 -10
  1327. package/lib/module/modules/socket/components/socket-provider.js.map +1 -1
  1328. package/lib/module/modules/socket/hooks/use-socket.js +2 -8
  1329. package/lib/module/modules/socket/hooks/use-socket.js.map +1 -1
  1330. package/lib/module/modules/tab/components/tab-provider.js +3 -3
  1331. package/lib/module/modules/tab/components/tab-provider.js.map +1 -1
  1332. package/lib/module/modules/tab/hooks/use-tab.js +2 -8
  1333. package/lib/module/modules/tab/hooks/use-tab.js.map +1 -1
  1334. package/lib/module/modules/theme/utils/generate-theme.js +4 -2
  1335. package/lib/module/modules/theme/utils/generate-theme.js.map +1 -1
  1336. package/lib/module/modules/tile/components/complete-animation.js +1 -5
  1337. package/lib/module/modules/tile/components/complete-animation.js.map +1 -1
  1338. package/lib/module/modules/ui/components/background-sync-setting.js +26 -13
  1339. package/lib/module/modules/ui/components/background-sync-setting.js.map +1 -1
  1340. package/lib/module/modules/ui/components/bluetooth-state-notice.js +10 -24
  1341. package/lib/module/modules/ui/components/bluetooth-state-notice.js.map +1 -1
  1342. package/lib/module/modules/ui/components/calendar.js +3 -2
  1343. package/lib/module/modules/ui/components/calendar.js.map +1 -1
  1344. package/lib/module/modules/ui/components/ecg-strip-viewer.js +7 -21
  1345. package/lib/module/modules/ui/components/ecg-strip-viewer.js.map +1 -1
  1346. package/lib/module/modules/ui/components/flow-frame.js +3 -2
  1347. package/lib/module/modules/ui/components/flow-frame.js.map +1 -1
  1348. package/lib/module/modules/ui/components/health-import-card.js +37 -24
  1349. package/lib/module/modules/ui/components/health-import-card.js.map +1 -1
  1350. package/lib/module/modules/ui/components/manual-entry-form.js +6 -4
  1351. package/lib/module/modules/ui/components/manual-entry-form.js.map +1 -1
  1352. package/lib/module/modules/ui/components/nearby-device-prompt.js +18 -17
  1353. package/lib/module/modules/ui/components/nearby-device-prompt.js.map +1 -1
  1354. package/lib/module/modules/ui/components/pairing-flow.js +33 -29
  1355. package/lib/module/modules/ui/components/pairing-flow.js.map +1 -1
  1356. package/lib/module/modules/ui/components/period-calendar.js +3 -2
  1357. package/lib/module/modules/ui/components/period-calendar.js.map +1 -1
  1358. package/lib/module/modules/ui/components/supported-devices-catalog-list.js +5 -4
  1359. package/lib/module/modules/ui/components/supported-devices-catalog-list.js.map +1 -1
  1360. package/lib/module/modules/ui/components/urine-test-result.js +4 -3
  1361. package/lib/module/modules/ui/components/urine-test-result.js.map +1 -1
  1362. package/lib/module/modules/ui/use-ovok-ui.js +7 -7
  1363. package/lib/module/modules/ui/use-ovok-ui.js.map +1 -1
  1364. package/lib/module/modules/ui/utils/calendar-date.js +1 -1
  1365. package/lib/module/modules/ui/utils/calendar-date.js.map +1 -1
  1366. package/lib/typescript/commonjs/src/modules/auth/components/auth-header.d.ts +14 -0
  1367. package/lib/typescript/commonjs/src/modules/auth/components/auth-header.d.ts.map +1 -0
  1368. package/lib/typescript/commonjs/src/modules/auth/components/auth-scroll-view.d.ts +6 -0
  1369. package/lib/typescript/commonjs/src/modules/auth/components/auth-scroll-view.d.ts.map +1 -0
  1370. package/lib/typescript/commonjs/src/modules/auth/components/auth-separator.d.ts +5 -0
  1371. package/lib/typescript/commonjs/src/modules/auth/components/auth-separator.d.ts.map +1 -0
  1372. package/lib/typescript/commonjs/src/modules/auth/components/auth-submit-button.d.ts +15 -0
  1373. package/lib/typescript/commonjs/src/modules/auth/components/auth-submit-button.d.ts.map +1 -0
  1374. package/lib/typescript/commonjs/src/modules/auth/components/auth-switch-link.d.ts +9 -0
  1375. package/lib/typescript/commonjs/src/modules/auth/components/auth-switch-link.d.ts.map +1 -0
  1376. package/lib/typescript/commonjs/src/modules/auth/components/password-field.d.ts +5 -0
  1377. package/lib/typescript/commonjs/src/modules/auth/components/password-field.d.ts.map +1 -0
  1378. package/lib/typescript/commonjs/src/modules/auth/default-translation.d.ts +31 -1
  1379. package/lib/typescript/commonjs/src/modules/auth/default-translation.d.ts.map +1 -1
  1380. package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-in.d.ts.map +1 -1
  1381. package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.d.ts +2 -3
  1382. package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.d.ts.map +1 -1
  1383. package/lib/typescript/commonjs/src/modules/auth/profile/components/form-phone-field.d.ts +2 -2
  1384. package/lib/typescript/commonjs/src/modules/auth/profile/components/form-phone-field.d.ts.map +1 -1
  1385. package/lib/typescript/commonjs/src/modules/auth/profile/components/profile-form-choice-field.d.ts +1 -2
  1386. package/lib/typescript/commonjs/src/modules/auth/profile/components/profile-form-choice-field.d.ts.map +1 -1
  1387. package/lib/typescript/commonjs/src/modules/auth/profile/hooks/use-profile-form.d.ts +1 -2
  1388. package/lib/typescript/commonjs/src/modules/auth/profile/hooks/use-profile-form.d.ts.map +1 -1
  1389. package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-context-type.d.ts +1 -1
  1390. package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-context-type.d.ts.map +1 -1
  1391. package/lib/typescript/commonjs/src/modules/auth/register/components/form/inputs.d.ts +1 -1
  1392. package/lib/typescript/commonjs/src/modules/auth/register/components/form/inputs.d.ts.map +1 -1
  1393. package/lib/typescript/commonjs/src/modules/auth/register/components/form/register-button.d.ts +1 -1
  1394. package/lib/typescript/commonjs/src/modules/auth/register/components/form/register-button.d.ts.map +1 -1
  1395. package/lib/typescript/commonjs/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
  1396. package/lib/typescript/commonjs/src/modules/auth/register/components/form/register-with-email.d.ts +2 -2
  1397. package/lib/typescript/commonjs/src/modules/auth/register/components/login-link.d.ts +3 -2
  1398. package/lib/typescript/commonjs/src/modules/auth/register/components/login-link.d.ts.map +1 -1
  1399. package/lib/typescript/commonjs/src/modules/auth/register/components/register-with-separator.d.ts +2 -4
  1400. package/lib/typescript/commonjs/src/modules/auth/register/components/register-with-separator.d.ts.map +1 -1
  1401. package/lib/typescript/commonjs/src/modules/auth/register/components/register.d.ts +9 -11
  1402. package/lib/typescript/commonjs/src/modules/auth/register/components/register.d.ts.map +1 -1
  1403. package/lib/typescript/commonjs/src/modules/auth/register/hooks/use-register-form.d.ts.map +1 -1
  1404. package/lib/typescript/commonjs/src/modules/auth/register/types/register-button-props.d.ts +2 -6
  1405. package/lib/typescript/commonjs/src/modules/auth/register/types/register-button-props.d.ts.map +1 -1
  1406. package/lib/typescript/commonjs/src/modules/auth/register/utils/create-register-validation-schema.d.ts.map +1 -1
  1407. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/inputs.d.ts +1 -1
  1408. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/inputs.d.ts.map +1 -1
  1409. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/reset-password-button.d.ts +1 -1
  1410. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/reset-password-button.d.ts.map +1 -1
  1411. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts.map +1 -1
  1412. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/reset-password-form.d.ts +2 -2
  1413. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/reset-password.d.ts +4 -4
  1414. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/reset-password.d.ts.map +1 -1
  1415. package/lib/typescript/commonjs/src/modules/auth/reset-password/hooks/use-reset-password-form.d.ts +48 -1
  1416. package/lib/typescript/commonjs/src/modules/auth/reset-password/hooks/use-reset-password-form.d.ts.map +1 -1
  1417. package/lib/typescript/commonjs/src/modules/auth/reset-password/types/reset-password-button-props.d.ts +2 -6
  1418. package/lib/typescript/commonjs/src/modules/auth/reset-password/types/reset-password-button-props.d.ts.map +1 -1
  1419. package/lib/typescript/commonjs/src/modules/auth/reset-password/types/reset-password-header-props.d.ts +2 -7
  1420. package/lib/typescript/commonjs/src/modules/auth/reset-password/types/reset-password-header-props.d.ts.map +1 -1
  1421. package/lib/typescript/commonjs/src/modules/auth/session/components/session-list.d.ts.map +1 -1
  1422. package/lib/typescript/commonjs/src/modules/auth/session/save-login.d.ts +4 -0
  1423. package/lib/typescript/commonjs/src/modules/auth/session/save-login.d.ts.map +1 -0
  1424. package/lib/typescript/commonjs/src/modules/auth/session/session-store-refresh.d.ts.map +1 -1
  1425. package/lib/typescript/commonjs/src/modules/auth/session/session-store-types.d.ts +3 -1
  1426. package/lib/typescript/commonjs/src/modules/auth/session/session-store-types.d.ts.map +1 -1
  1427. package/lib/typescript/commonjs/src/modules/auth/session/session-store.d.ts.map +1 -1
  1428. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/inputs.d.ts +1 -1
  1429. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/inputs.d.ts.map +1 -1
  1430. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/login-form-provider.d.ts.map +1 -1
  1431. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/sign-in-with-email.d.ts +2 -2
  1432. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/signin-button.d.ts +1 -1
  1433. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/signin-button.d.ts.map +1 -1
  1434. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/login-with-separator.d.ts +1 -1
  1435. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/login-with-separator.d.ts.map +1 -1
  1436. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/register-link.d.ts +3 -2
  1437. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/register-link.d.ts.map +1 -1
  1438. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/sign-in.d.ts +9 -11
  1439. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/sign-in.d.ts.map +1 -1
  1440. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
  1441. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-text.d.ts.map +1 -1
  1442. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login.d.ts +1 -3
  1443. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login.d.ts.map +1 -1
  1444. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-icon.d.ts +1 -5
  1445. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-icon.d.ts.map +1 -1
  1446. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
  1447. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-text.d.ts.map +1 -1
  1448. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login.d.ts +2 -4
  1449. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login.d.ts.map +1 -1
  1450. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/social-login-button.d.ts +6 -0
  1451. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/social-login-button.d.ts.map +1 -0
  1452. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/social-logins.d.ts +3 -5
  1453. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/social-logins.d.ts.map +1 -1
  1454. package/lib/typescript/commonjs/src/modules/auth/sign-in/hooks/use-login-form.d.ts +54 -1
  1455. package/lib/typescript/commonjs/src/modules/auth/sign-in/hooks/use-login-form.d.ts.map +1 -1
  1456. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-context-type.d.ts +1 -2
  1457. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-context-type.d.ts.map +1 -1
  1458. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/sign-in-header-props.d.ts +2 -6
  1459. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/sign-in-header-props.d.ts.map +1 -1
  1460. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/signin-button-props.d.ts +2 -6
  1461. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/signin-button-props.d.ts.map +1 -1
  1462. package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/create-login-validation-schema.d.ts.map +1 -1
  1463. package/lib/typescript/commonjs/src/modules/auth/types/auth-header-props.d.ts +8 -0
  1464. package/lib/typescript/commonjs/src/modules/auth/types/auth-header-props.d.ts.map +1 -0
  1465. package/lib/typescript/commonjs/src/modules/auth/types/auth-submit-button-props.d.ts +7 -0
  1466. package/lib/typescript/commonjs/src/modules/auth/types/auth-submit-button-props.d.ts.map +1 -0
  1467. package/lib/typescript/commonjs/src/modules/auth/types/form-inputs-props.d.ts.map +1 -0
  1468. package/lib/typescript/commonjs/src/modules/auth/utils/apply-submit-error.d.ts +11 -0
  1469. package/lib/typescript/commonjs/src/modules/auth/utils/apply-submit-error.d.ts.map +1 -0
  1470. package/lib/typescript/commonjs/src/modules/auth/utils/validation.d.ts +6 -0
  1471. package/lib/typescript/commonjs/src/modules/auth/utils/validation.d.ts.map +1 -0
  1472. package/lib/typescript/commonjs/src/modules/background-sync/android-background-sync.d.ts.map +1 -1
  1473. package/lib/typescript/commonjs/src/modules/breathing-exercise/components/method-type-icon.d.ts.map +1 -1
  1474. package/lib/typescript/commonjs/src/modules/breathing-exercise/hooks/use-breathing-exercise.d.ts +10 -1
  1475. package/lib/typescript/commonjs/src/modules/breathing-exercise/hooks/use-breathing-exercise.d.ts.map +1 -1
  1476. package/lib/typescript/commonjs/src/modules/bt-device/components/btdevice-instruction.d.ts.map +1 -1
  1477. package/lib/typescript/commonjs/src/modules/bt-device/components/hooks/use-device-list.d.ts.map +1 -1
  1478. package/lib/typescript/commonjs/src/modules/bt-device/components/item/bottom-container.d.ts +2 -2
  1479. package/lib/typescript/commonjs/src/modules/bt-device/components/item/bottom-container.d.ts.map +1 -1
  1480. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts +2 -1
  1481. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
  1482. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-list-items.d.ts.map +1 -1
  1483. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-and-medical-variants.d.ts +1 -1
  1484. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-and-medical-variants.d.ts.map +1 -1
  1485. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-aoj-variants.d.ts +1 -1
  1486. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-aoj-variants.d.ts.map +1 -1
  1487. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-art.d.ts +10 -0
  1488. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-art.d.ts.map +1 -0
  1489. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +3 -1
  1490. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -1
  1491. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.d.ts +1 -1
  1492. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.d.ts.map +1 -1
  1493. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -1
  1494. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-famidoc-variants.d.ts +1 -1
  1495. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-famidoc-variants.d.ts.map +1 -1
  1496. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-joytech-variants.d.ts +1 -1
  1497. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-joytech-variants.d.ts.map +1 -1
  1498. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-jumper-variants.d.ts +1 -1
  1499. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-jumper-variants.d.ts.map +1 -1
  1500. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-standard-variants.d.ts +1 -1
  1501. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-standard-variants.d.ts.map +1 -1
  1502. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.d.ts +1 -1
  1503. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.d.ts.map +1 -1
  1504. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.d.ts +1 -1
  1505. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.d.ts.map +1 -1
  1506. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.d.ts +1 -1
  1507. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.d.ts.map +1 -1
  1508. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-transtek-variants.d.ts +1 -1
  1509. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-transtek-variants.d.ts.map +1 -1
  1510. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-variants.d.ts +0 -8
  1511. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-variants.d.ts.map +1 -1
  1512. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-yonker-variants.d.ts +1 -1
  1513. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-yonker-variants.d.ts.map +1 -1
  1514. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  1515. package/lib/typescript/commonjs/src/modules/bt-device/utils/slugify.d.ts +3 -0
  1516. package/lib/typescript/commonjs/src/modules/bt-device/utils/slugify.d.ts.map +1 -0
  1517. package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  1518. package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -1
  1519. package/lib/typescript/commonjs/src/modules/bt-management/constants/no-parsing-cases.d.ts +4 -0
  1520. package/lib/typescript/commonjs/src/modules/bt-management/constants/no-parsing-cases.d.ts.map +1 -0
  1521. package/lib/typescript/commonjs/src/modules/bt-management/constants/preferred-mtu.d.ts +6 -0
  1522. package/lib/typescript/commonjs/src/modules/bt-management/constants/preferred-mtu.d.ts.map +1 -0
  1523. package/lib/typescript/commonjs/src/modules/bt-management/hooks/runtime-context.d.ts.map +1 -1
  1524. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-bluetooth-state.d.ts.map +1 -1
  1525. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-measurements.d.ts.map +1 -1
  1526. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts +0 -1
  1527. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts.map +1 -1
  1528. package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts +2 -0
  1529. package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
  1530. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/assert-integer-in-range.d.ts +3 -0
  1531. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/assert-integer-in-range.d.ts.map +1 -0
  1532. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-lepu.d.ts.map +1 -1
  1533. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
  1534. package/lib/typescript/commonjs/src/modules/bt-management/services/device-classes.d.ts +3 -4
  1535. package/lib/typescript/commonjs/src/modules/bt-management/services/device-classes.d.ts.map +1 -1
  1536. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.command-sequencer.d.ts.map +1 -1
  1537. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.device.d.ts +0 -2
  1538. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.device.d.ts.map +1 -1
  1539. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.frame-reader.d.ts.map +1 -1
  1540. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts +0 -2
  1541. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts.map +1 -1
  1542. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts +9 -0
  1543. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts.map +1 -1
  1544. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-70b.device.d.ts +0 -2
  1545. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-70b.device.d.ts.map +1 -1
  1546. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-bp.device.d.ts +0 -2
  1547. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-bp.device.d.ts.map +1 -1
  1548. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-bp.protocol.d.ts +7 -0
  1549. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-bp.protocol.d.ts.map +1 -1
  1550. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.command-sequencer.d.ts.map +1 -1
  1551. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.device.d.ts +0 -1
  1552. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.device.d.ts.map +1 -1
  1553. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.frame-reader.d.ts.map +1 -1
  1554. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts +1 -2
  1555. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts.map +1 -1
  1556. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts +0 -1
  1557. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts.map +1 -1
  1558. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts.map +1 -1
  1559. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts +0 -1
  1560. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -1
  1561. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts +4 -0
  1562. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
  1563. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.d.ts.map +1 -1
  1564. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.device.d.ts +0 -2
  1565. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.device.d.ts.map +1 -1
  1566. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.d.ts.map +1 -1
  1567. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts +5 -2
  1568. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  1569. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.device.d.ts +0 -6
  1570. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.device.d.ts.map +1 -1
  1571. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts.map +1 -1
  1572. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-envelope.d.ts +7 -0
  1573. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-envelope.d.ts.map +1 -0
  1574. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.device.d.ts +0 -2
  1575. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.device.d.ts.map +1 -1
  1576. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.protocol.d.ts +1 -3
  1577. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.protocol.d.ts.map +1 -1
  1578. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts.map +1 -1
  1579. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts +0 -3
  1580. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts.map +1 -1
  1581. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.protocol.d.ts.map +1 -1
  1582. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts.map +1 -1
  1583. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts +0 -2
  1584. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts.map +1 -1
  1585. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts +0 -1
  1586. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts.map +1 -1
  1587. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom-lepu-sequencer.d.ts +8 -8
  1588. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom-lepu-sequencer.d.ts.map +1 -1
  1589. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts +2 -1
  1590. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  1591. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f4/f4.device.d.ts +1 -2
  1592. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f4/f4.device.d.ts.map +1 -1
  1593. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.device.d.ts +0 -2
  1594. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.device.d.ts.map +1 -1
  1595. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.protocol.d.ts.map +1 -1
  1596. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/famidoc/famidoc.device.d.ts +0 -2
  1597. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/famidoc/famidoc.device.d.ts.map +1 -1
  1598. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/famidoc/famidoc.protocol.d.ts +8 -0
  1599. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/famidoc/famidoc.protocol.d.ts.map +1 -1
  1600. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.d.ts.map +1 -1
  1601. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/genial-t31/genial-t31.device.d.ts +0 -1
  1602. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/genial-t31/genial-t31.device.d.ts.map +1 -1
  1603. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.d.ts.map +1 -1
  1604. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/joytech/joytech.device.d.ts +0 -2
  1605. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/joytech/joytech.device.d.ts.map +1 -1
  1606. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/joytech/joytech.protocol.d.ts +8 -0
  1607. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/joytech/joytech.protocol.d.ts.map +1 -1
  1608. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/jumper/jumper.device.d.ts +0 -2
  1609. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/jumper/jumper.device.d.ts.map +1 -1
  1610. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/jumper/jumper.protocol.d.ts +4 -0
  1611. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/jumper/jumper.protocol.d.ts.map +1 -1
  1612. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.command-builder.d.ts.map +1 -1
  1613. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.frame-reader.d.ts.map +1 -1
  1614. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts.map +1 -1
  1615. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/monitor-service.d.ts +12 -0
  1616. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/monitor-service.d.ts.map +1 -0
  1617. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/sentinel-frame-reader.d.ts.map +1 -1
  1618. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/spo/pc60fw.frame-reader.d.ts.map +1 -1
  1619. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.d.ts.map +1 -1
  1620. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.d.ts.map +1 -1
  1621. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +1 -2
  1622. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
  1623. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts +0 -2
  1624. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts.map +1 -1
  1625. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts.map +1 -1
  1626. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/tmb/tmb.command-sequencer.d.ts.map +1 -1
  1627. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/tmb/tmb.frame-reader.d.ts.map +1 -1
  1628. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.d.ts.map +1 -1
  1629. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.d.ts +3 -9
  1630. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.d.ts.map +1 -1
  1631. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.protocol.d.ts.map +1 -1
  1632. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.sequencer.d.ts +3 -9
  1633. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.sequencer.d.ts.map +1 -1
  1634. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6.device.d.ts +14 -0
  1635. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6.device.d.ts.map +1 -0
  1636. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6.sequencer.d.ts +23 -0
  1637. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6.sequencer.d.ts.map +1 -0
  1638. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/mambo-a5.device.d.ts +0 -4
  1639. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/mambo-a5.device.d.ts.map +1 -1
  1640. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/mambo-a5.protocol.d.ts.map +1 -1
  1641. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.device.d.ts +0 -2
  1642. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.device.d.ts.map +1 -1
  1643. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.protocol.d.ts +10 -0
  1644. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.protocol.d.ts.map +1 -1
  1645. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/trasense/s9-frame-reader.d.ts.map +1 -1
  1646. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/trasense/s9.command-sequencer.d.ts +2 -0
  1647. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/trasense/s9.command-sequencer.d.ts.map +1 -1
  1648. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/trasense/s9.device.d.ts +0 -4
  1649. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/trasense/s9.device.d.ts.map +1 -1
  1650. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/mysense.frame-reader.d.ts.map +1 -1
  1651. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/mysense.sequencer.d.ts.map +1 -1
  1652. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval-activity-frame-reader.d.ts.map +1 -1
  1653. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts.map +1 -1
  1654. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.activity-device.d.ts +0 -3
  1655. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.activity-device.d.ts.map +1 -1
  1656. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.d.ts.map +1 -1
  1657. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-device.d.ts +0 -3
  1658. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-device.d.ts.map +1 -1
  1659. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-transfer.d.ts.map +1 -1
  1660. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/ap20.device.d.ts +0 -2
  1661. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/ap20.device.d.ts.map +1 -1
  1662. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.d.ts +0 -4
  1663. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.d.ts.map +1 -1
  1664. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.device.d.ts +0 -2
  1665. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.device.d.ts.map +1 -1
  1666. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.d.ts.map +1 -1
  1667. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts.map +1 -1
  1668. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts.map +1 -1
  1669. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/lpm311.sequencer.d.ts.map +1 -1
  1670. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.device.d.ts +0 -4
  1671. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.device.d.ts.map +1 -1
  1672. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.protocol.d.ts.map +1 -1
  1673. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc68b.device.d.ts +0 -2
  1674. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc68b.device.d.ts.map +1 -1
  1675. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.device.d.ts +0 -3
  1676. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.device.d.ts.map +1 -1
  1677. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.protocol.d.ts.map +1 -1
  1678. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts.map +1 -1
  1679. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pf10aw1.device.d.ts +0 -4
  1680. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pf10aw1.device.d.ts.map +1 -1
  1681. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.device.d.ts +0 -2
  1682. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.device.d.ts.map +1 -1
  1683. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.d.ts.map +1 -1
  1684. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.device.d.ts +0 -4
  1685. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.device.d.ts.map +1 -1
  1686. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.protocol.d.ts.map +1 -1
  1687. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts.map +1 -1
  1688. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-aa55.protocol.d.ts.map +1 -1
  1689. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts.map +1 -1
  1690. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-lepu-crypto.d.ts.map +1 -1
  1691. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.device.d.ts +0 -4
  1692. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.device.d.ts.map +1 -1
  1693. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.device.d.ts +0 -2
  1694. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.device.d.ts.map +1 -1
  1695. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.d.ts.map +1 -1
  1696. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts.map +1 -1
  1697. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.device.d.ts +0 -2
  1698. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.device.d.ts.map +1 -1
  1699. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.d.ts.map +1 -1
  1700. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts.map +1 -1
  1701. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.device.d.ts +0 -2
  1702. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.device.d.ts.map +1 -1
  1703. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.d.ts.map +1 -1
  1704. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts.map +1 -1
  1705. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.device.d.ts +0 -2
  1706. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.device.d.ts.map +1 -1
  1707. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.protocol.d.ts.map +1 -1
  1708. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts.map +1 -1
  1709. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.vtm20f.frame-reader.d.ts.map +1 -1
  1710. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.device.d.ts +0 -2
  1711. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.device.d.ts.map +1 -1
  1712. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.protocol.d.ts.map +1 -1
  1713. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts.map +1 -1
  1714. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/write-command.d.ts +4 -0
  1715. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/write-command.d.ts.map +1 -0
  1716. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts +0 -2
  1717. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts.map +1 -1
  1718. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts +8 -0
  1719. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts.map +1 -1
  1720. package/lib/typescript/commonjs/src/modules/bt-management/utils/ascii-to-hex.d.ts +3 -0
  1721. package/lib/typescript/commonjs/src/modules/bt-management/utils/ascii-to-hex.d.ts.map +1 -0
  1722. package/lib/typescript/commonjs/src/modules/bt-management/utils/base-64-to-hex.d.ts.map +1 -1
  1723. package/lib/typescript/commonjs/src/modules/bt-management/utils/bytes-to-hex.d.ts +6 -0
  1724. package/lib/typescript/commonjs/src/modules/bt-management/utils/bytes-to-hex.d.ts.map +1 -0
  1725. package/lib/typescript/commonjs/src/modules/bt-management/utils/daily-total-day.d.ts +7 -0
  1726. package/lib/typescript/commonjs/src/modules/bt-management/utils/daily-total-day.d.ts.map +1 -0
  1727. package/lib/typescript/commonjs/src/modules/bt-management/utils/error-callback-payload.d.ts +9 -0
  1728. package/lib/typescript/commonjs/src/modules/bt-management/utils/error-callback-payload.d.ts.map +1 -0
  1729. package/lib/typescript/commonjs/src/modules/bt-management/utils/frame-bytes.d.ts +3 -0
  1730. package/lib/typescript/commonjs/src/modules/bt-management/utils/frame-bytes.d.ts.map +1 -0
  1731. package/lib/typescript/commonjs/src/modules/bt-management/utils/frame-read-results.d.ts +15 -0
  1732. package/lib/typescript/commonjs/src/modules/bt-management/utils/frame-read-results.d.ts.map +1 -0
  1733. package/lib/typescript/commonjs/src/modules/bt-management/utils/hex-to-base-64.d.ts.map +1 -1
  1734. package/lib/typescript/commonjs/src/modules/bt-management/utils/mirror-bluetooth-state.d.ts +5 -0
  1735. package/lib/typescript/commonjs/src/modules/bt-management/utils/mirror-bluetooth-state.d.ts.map +1 -0
  1736. package/lib/typescript/commonjs/src/modules/bt-management/utils/sig-uuid.d.ts +3 -0
  1737. package/lib/typescript/commonjs/src/modules/bt-management/utils/sig-uuid.d.ts.map +1 -0
  1738. package/lib/typescript/commonjs/src/modules/bt-management/utils/sum-bytes.d.ts +3 -0
  1739. package/lib/typescript/commonjs/src/modules/bt-management/utils/sum-bytes.d.ts.map +1 -0
  1740. package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-content.d.ts.map +1 -1
  1741. package/lib/typescript/commonjs/src/modules/content/content-card/components/content-card.d.ts +5 -6
  1742. package/lib/typescript/commonjs/src/modules/content/content-card/components/content-card.d.ts.map +1 -1
  1743. package/lib/typescript/commonjs/src/modules/content/content-card/components/title.d.ts.map +1 -1
  1744. package/lib/typescript/commonjs/src/modules/content/content-detail/components/content-detail-footer.d.ts +1 -2
  1745. package/lib/typescript/commonjs/src/modules/content/content-detail/components/content-detail-footer.d.ts.map +1 -1
  1746. package/lib/typescript/commonjs/src/modules/content/content-detail/components/content-detail-header.d.ts +1 -2
  1747. package/lib/typescript/commonjs/src/modules/content/content-detail/components/content-detail-header.d.ts.map +1 -1
  1748. package/lib/typescript/commonjs/src/modules/content/content-detail/components/content-detail.d.ts +2 -2
  1749. package/lib/typescript/commonjs/src/modules/content/content-detail/context/hooks/use-composition.d.ts.map +1 -1
  1750. package/lib/typescript/commonjs/src/modules/content/content-list/components/content-list.d.ts +1 -1
  1751. package/lib/typescript/commonjs/src/modules/content/content-list/components/section.d.ts +1 -1
  1752. package/lib/typescript/commonjs/src/modules/content/content-list/components/section.d.ts.map +1 -1
  1753. package/lib/typescript/commonjs/src/modules/data-sync/components/android/android-health-connect-authorization-provider.d.ts.map +1 -1
  1754. package/lib/typescript/commonjs/src/modules/data-sync/components/android/android-health-sync.d.ts.map +1 -1
  1755. package/lib/typescript/commonjs/src/modules/data-sync/components/apple/apple-health-authorization-provider.d.ts.map +1 -1
  1756. package/lib/typescript/commonjs/src/modules/data-sync/components/apple/apple-health-sync.d.ts.map +1 -1
  1757. package/lib/typescript/commonjs/src/modules/data-sync/constants.d.ts +4 -1
  1758. package/lib/typescript/commonjs/src/modules/data-sync/constants.d.ts.map +1 -1
  1759. package/lib/typescript/commonjs/src/modules/data-sync/contexts/health-authorization-context.d.ts.map +1 -1
  1760. package/lib/typescript/commonjs/src/modules/data-sync/hooks/use-health-import.d.ts.map +1 -1
  1761. package/lib/typescript/commonjs/src/modules/data-sync/hooks/use-health-sync-runner.d.ts +28 -0
  1762. package/lib/typescript/commonjs/src/modules/data-sync/hooks/use-health-sync-runner.d.ts.map +1 -0
  1763. package/lib/typescript/commonjs/src/modules/data-sync/services/android-health-sync-service.d.ts +0 -10
  1764. package/lib/typescript/commonjs/src/modules/data-sync/services/android-health-sync-service.d.ts.map +1 -1
  1765. package/lib/typescript/commonjs/src/modules/data-sync/services/apple-health-sync-service.d.ts +0 -10
  1766. package/lib/typescript/commonjs/src/modules/data-sync/services/apple-health-sync-service.d.ts.map +1 -1
  1767. package/lib/typescript/commonjs/src/modules/data-sync/services/base-health-sync-service.d.ts +9 -5
  1768. package/lib/typescript/commonjs/src/modules/data-sync/services/base-health-sync-service.d.ts.map +1 -1
  1769. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
  1770. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/storage-manager.d.ts +0 -1
  1771. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/storage-manager.d.ts.map +1 -1
  1772. package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-batch-error.d.ts.map +1 -1
  1773. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-generic-health-data.d.ts.map +1 -1
  1774. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-records-to-observation.d.ts.map +1 -1
  1775. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
  1776. package/lib/typescript/commonjs/src/modules/data-sync/utils/create-progress-collector.d.ts +7 -0
  1777. package/lib/typescript/commonjs/src/modules/data-sync/utils/create-progress-collector.d.ts.map +1 -0
  1778. package/lib/typescript/commonjs/src/modules/data-sync/utils/fhir-systems.d.ts +6 -0
  1779. package/lib/typescript/commonjs/src/modules/data-sync/utils/fhir-systems.d.ts.map +1 -0
  1780. package/lib/typescript/commonjs/src/modules/data-sync/utils/generate-observation-entry.d.ts.map +1 -1
  1781. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts.map +1 -1
  1782. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-latest-valid-start-date.d.ts.map +1 -1
  1783. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-records-from-health-connect.d.ts.map +1 -1
  1784. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts +16 -16
  1785. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
  1786. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-total-records-count.d.ts.map +1 -1
  1787. package/lib/typescript/commonjs/src/modules/data-sync/utils/group-samples-by-interval.d.ts +3 -0
  1788. package/lib/typescript/commonjs/src/modules/data-sync/utils/group-samples-by-interval.d.ts.map +1 -0
  1789. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-data-catalog.d.ts.map +1 -1
  1790. package/lib/typescript/commonjs/src/modules/data-sync/utils/is-daily-aggregate-mode.d.ts +4 -0
  1791. package/lib/typescript/commonjs/src/modules/data-sync/utils/is-daily-aggregate-mode.d.ts.map +1 -0
  1792. package/lib/typescript/commonjs/src/modules/data-sync/utils/normalize-core-health-observation.d.ts.map +1 -1
  1793. package/lib/typescript/commonjs/src/modules/data-sync/utils/sync-window-start.d.ts +3 -0
  1794. package/lib/typescript/commonjs/src/modules/data-sync/utils/sync-window-start.d.ts.map +1 -0
  1795. package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts +13 -0
  1796. package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts.map +1 -0
  1797. package/lib/typescript/commonjs/src/modules/helpers/form-items/form-date-field.d.ts.map +1 -1
  1798. package/lib/typescript/commonjs/src/modules/helpers/form-items/form-select.d.ts.map +1 -1
  1799. package/lib/typescript/commonjs/src/modules/helpers/hooks/use-latest-ref.d.ts +4 -0
  1800. package/lib/typescript/commonjs/src/modules/helpers/hooks/use-latest-ref.d.ts.map +1 -0
  1801. package/lib/typescript/commonjs/src/modules/helpers/hooks/use-required-context.d.ts +4 -0
  1802. package/lib/typescript/commonjs/src/modules/helpers/hooks/use-required-context.d.ts.map +1 -0
  1803. package/lib/typescript/commonjs/src/modules/helpers/spaced-view.d.ts +4 -0
  1804. package/lib/typescript/commonjs/src/modules/helpers/spaced-view.d.ts.map +1 -0
  1805. package/lib/typescript/commonjs/src/modules/helpers/surface-card.d.ts +8 -0
  1806. package/lib/typescript/commonjs/src/modules/helpers/surface-card.d.ts.map +1 -0
  1807. package/lib/typescript/commonjs/src/modules/helpers/utils/local-date.d.ts +3 -0
  1808. package/lib/typescript/commonjs/src/modules/helpers/utils/local-date.d.ts.map +1 -0
  1809. package/lib/typescript/commonjs/src/modules/helpers/utils/telemetry.d.ts.map +1 -1
  1810. package/lib/typescript/commonjs/src/modules/helpers/utils/to-error.d.ts +3 -0
  1811. package/lib/typescript/commonjs/src/modules/helpers/utils/to-error.d.ts.map +1 -0
  1812. package/lib/typescript/commonjs/src/modules/image/utils/calculate-dimension.d.ts +1 -1
  1813. package/lib/typescript/commonjs/src/modules/image/utils/calculate-dimension.d.ts.map +1 -1
  1814. package/lib/typescript/commonjs/src/modules/journal/past-journal/components/answer.d.ts +1 -1
  1815. package/lib/typescript/commonjs/src/modules/journal/past-journal/components/answer.d.ts.map +1 -1
  1816. package/lib/typescript/commonjs/src/modules/journal/past-journal/components/past-journal-card.d.ts +5 -6
  1817. package/lib/typescript/commonjs/src/modules/journal/past-journal/components/past-journal-card.d.ts.map +1 -1
  1818. package/lib/typescript/commonjs/src/modules/journal/today-question/components/gradient.d.ts +1 -2
  1819. package/lib/typescript/commonjs/src/modules/journal/today-question/components/gradient.d.ts.map +1 -1
  1820. package/lib/typescript/commonjs/src/modules/journal/today-question/components/today-question-card.d.ts +4 -3
  1821. package/lib/typescript/commonjs/src/modules/journal/today-question/components/today-question-card.d.ts.map +1 -1
  1822. package/lib/typescript/commonjs/src/modules/language-switcher/components/language-switcher.d.ts.map +1 -1
  1823. package/lib/typescript/commonjs/src/modules/language-switcher/components/option/hooks/use-language-option.d.ts.map +1 -1
  1824. package/lib/typescript/commonjs/src/modules/language-switcher/hooks/use-language-switcher.d.ts.map +1 -1
  1825. package/lib/typescript/commonjs/src/modules/measurement/components/date-range.d.ts.map +1 -1
  1826. package/lib/typescript/commonjs/src/modules/observation-detail/components/date-time.d.ts.map +1 -1
  1827. package/lib/typescript/commonjs/src/modules/observation-detail/components/observation-detail.d.ts.map +1 -1
  1828. package/lib/typescript/commonjs/src/modules/observation-detail/components/preview-modal.d.ts.map +1 -1
  1829. package/lib/typescript/commonjs/src/modules/patient/components/card/patient-gender.d.ts.map +1 -1
  1830. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/content/questionnaire-content-all-items.d.ts.map +1 -1
  1831. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/content/questionnaire-content-item.d.ts +2 -1
  1832. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/content/questionnaire-content-item.d.ts.map +1 -1
  1833. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/content/questionnaire-content-specific-item.d.ts.map +1 -1
  1834. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/content/questionnaire-content.d.ts +1 -1
  1835. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/content/questionnaire-content.d.ts.map +1 -1
  1836. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/fields/questionnaire-date-field.d.ts.map +1 -1
  1837. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.d.ts.map +1 -1
  1838. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/questionnaire-form-provider.d.ts.map +1 -1
  1839. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/default-translation.d.ts +2 -0
  1840. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/default-translation.d.ts.map +1 -1
  1841. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/hooks/use-initial-selected-values.d.ts.map +1 -1
  1842. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/hooks/use-navigation-handlers.d.ts.map +1 -1
  1843. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/hooks/use-questionnaire-form.d.ts.map +1 -1
  1844. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.d.ts.map +1 -1
  1845. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/hooks/use-questionnaire-navigation.d.ts.map +1 -1
  1846. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/index.d.ts +0 -3
  1847. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/index.d.ts.map +1 -1
  1848. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/condition-utils.d.ts +1 -0
  1849. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/condition-utils.d.ts.map +1 -1
  1850. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/conditions/boolean-condition.d.ts.map +1 -1
  1851. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/conditions/compare.d.ts +6 -0
  1852. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/conditions/compare.d.ts.map +1 -0
  1853. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/conditions/date-condition.d.ts.map +1 -1
  1854. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/conditions/decimal-condition.d.ts.map +1 -1
  1855. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/conditions/fhir-condition.d.ts.map +1 -1
  1856. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/conditions/string-condition.d.ts.map +1 -1
  1857. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/fhir-time.d.ts +3 -0
  1858. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/fhir-time.d.ts.map +1 -0
  1859. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/fields/get-keyboard-type.d.ts.map +1 -1
  1860. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/form-utils.d.ts +1 -0
  1861. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/form-utils.d.ts.map +1 -1
  1862. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/form-validation.d.ts.map +1 -1
  1863. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.d.ts +4 -1
  1864. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.d.ts.map +1 -1
  1865. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-date-utils.d.ts +5 -1
  1866. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-date-utils.d.ts.map +1 -1
  1867. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-navigation-utils.d.ts.map +1 -1
  1868. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-string-constraint-validator.d.ts.map +1 -1
  1869. package/lib/typescript/commonjs/src/modules/socket/components/socket-provider.d.ts.map +1 -1
  1870. package/lib/typescript/commonjs/src/modules/socket/hooks/use-socket.d.ts.map +1 -1
  1871. package/lib/typescript/commonjs/src/modules/tab/components/tab-provider.d.ts.map +1 -1
  1872. package/lib/typescript/commonjs/src/modules/tab/hooks/use-tab.d.ts.map +1 -1
  1873. package/lib/typescript/commonjs/src/modules/theme/utils/generate-theme.d.ts.map +1 -1
  1874. package/lib/typescript/commonjs/src/modules/tile/types/tile-props.d.ts +1 -1
  1875. package/lib/typescript/commonjs/src/modules/tile/types/tile-props.d.ts.map +1 -1
  1876. package/lib/typescript/commonjs/src/modules/ui/components/background-sync-setting.d.ts.map +1 -1
  1877. package/lib/typescript/commonjs/src/modules/ui/components/bluetooth-state-notice.d.ts.map +1 -1
  1878. package/lib/typescript/commonjs/src/modules/ui/components/calendar.d.ts.map +1 -1
  1879. package/lib/typescript/commonjs/src/modules/ui/components/ecg-strip-viewer.d.ts.map +1 -1
  1880. package/lib/typescript/commonjs/src/modules/ui/components/flow-frame.d.ts.map +1 -1
  1881. package/lib/typescript/commonjs/src/modules/ui/components/health-import-card.d.ts.map +1 -1
  1882. package/lib/typescript/commonjs/src/modules/ui/components/manual-entry-form.d.ts.map +1 -1
  1883. package/lib/typescript/commonjs/src/modules/ui/components/nearby-device-prompt.d.ts.map +1 -1
  1884. package/lib/typescript/commonjs/src/modules/ui/components/pairing-flow.d.ts.map +1 -1
  1885. package/lib/typescript/commonjs/src/modules/ui/components/period-calendar.d.ts.map +1 -1
  1886. package/lib/typescript/commonjs/src/modules/ui/components/supported-devices-catalog-list.d.ts.map +1 -1
  1887. package/lib/typescript/commonjs/src/modules/ui/components/urine-test-result.d.ts.map +1 -1
  1888. package/lib/typescript/commonjs/src/modules/ui/types.d.ts +2 -0
  1889. package/lib/typescript/commonjs/src/modules/ui/types.d.ts.map +1 -1
  1890. package/lib/typescript/commonjs/src/modules/ui/use-ovok-ui.d.ts +2 -2
  1891. package/lib/typescript/commonjs/src/modules/ui/use-ovok-ui.d.ts.map +1 -1
  1892. package/lib/typescript/commonjs/src/modules/ui/utils/calendar-date.d.ts +1 -1
  1893. package/lib/typescript/commonjs/src/modules/ui/utils/calendar-date.d.ts.map +1 -1
  1894. package/lib/typescript/module/src/modules/auth/components/auth-header.d.ts +14 -0
  1895. package/lib/typescript/module/src/modules/auth/components/auth-header.d.ts.map +1 -0
  1896. package/lib/typescript/module/src/modules/auth/components/auth-scroll-view.d.ts +6 -0
  1897. package/lib/typescript/module/src/modules/auth/components/auth-scroll-view.d.ts.map +1 -0
  1898. package/lib/typescript/module/src/modules/auth/components/auth-separator.d.ts +5 -0
  1899. package/lib/typescript/module/src/modules/auth/components/auth-separator.d.ts.map +1 -0
  1900. package/lib/typescript/module/src/modules/auth/components/auth-submit-button.d.ts +15 -0
  1901. package/lib/typescript/module/src/modules/auth/components/auth-submit-button.d.ts.map +1 -0
  1902. package/lib/typescript/module/src/modules/auth/components/auth-switch-link.d.ts +9 -0
  1903. package/lib/typescript/module/src/modules/auth/components/auth-switch-link.d.ts.map +1 -0
  1904. package/lib/typescript/module/src/modules/auth/components/password-field.d.ts +5 -0
  1905. package/lib/typescript/module/src/modules/auth/components/password-field.d.ts.map +1 -0
  1906. package/lib/typescript/module/src/modules/auth/default-translation.d.ts +31 -1
  1907. package/lib/typescript/module/src/modules/auth/default-translation.d.ts.map +1 -1
  1908. package/lib/typescript/module/src/modules/auth/hooks/use-sign-in.d.ts.map +1 -1
  1909. package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.d.ts +2 -3
  1910. package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.d.ts.map +1 -1
  1911. package/lib/typescript/module/src/modules/auth/profile/components/form-phone-field.d.ts +2 -2
  1912. package/lib/typescript/module/src/modules/auth/profile/components/form-phone-field.d.ts.map +1 -1
  1913. package/lib/typescript/module/src/modules/auth/profile/components/profile-form-choice-field.d.ts +1 -2
  1914. package/lib/typescript/module/src/modules/auth/profile/components/profile-form-choice-field.d.ts.map +1 -1
  1915. package/lib/typescript/module/src/modules/auth/profile/hooks/use-profile-form.d.ts +1 -2
  1916. package/lib/typescript/module/src/modules/auth/profile/hooks/use-profile-form.d.ts.map +1 -1
  1917. package/lib/typescript/module/src/modules/auth/profile/types/profile-form-context-type.d.ts +1 -1
  1918. package/lib/typescript/module/src/modules/auth/profile/types/profile-form-context-type.d.ts.map +1 -1
  1919. package/lib/typescript/module/src/modules/auth/register/components/form/inputs.d.ts +1 -1
  1920. package/lib/typescript/module/src/modules/auth/register/components/form/inputs.d.ts.map +1 -1
  1921. package/lib/typescript/module/src/modules/auth/register/components/form/register-button.d.ts +1 -1
  1922. package/lib/typescript/module/src/modules/auth/register/components/form/register-button.d.ts.map +1 -1
  1923. package/lib/typescript/module/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
  1924. package/lib/typescript/module/src/modules/auth/register/components/form/register-with-email.d.ts +2 -2
  1925. package/lib/typescript/module/src/modules/auth/register/components/login-link.d.ts +3 -2
  1926. package/lib/typescript/module/src/modules/auth/register/components/login-link.d.ts.map +1 -1
  1927. package/lib/typescript/module/src/modules/auth/register/components/register-with-separator.d.ts +2 -4
  1928. package/lib/typescript/module/src/modules/auth/register/components/register-with-separator.d.ts.map +1 -1
  1929. package/lib/typescript/module/src/modules/auth/register/components/register.d.ts +9 -11
  1930. package/lib/typescript/module/src/modules/auth/register/components/register.d.ts.map +1 -1
  1931. package/lib/typescript/module/src/modules/auth/register/hooks/use-register-form.d.ts.map +1 -1
  1932. package/lib/typescript/module/src/modules/auth/register/types/register-button-props.d.ts +2 -6
  1933. package/lib/typescript/module/src/modules/auth/register/types/register-button-props.d.ts.map +1 -1
  1934. package/lib/typescript/module/src/modules/auth/register/utils/create-register-validation-schema.d.ts.map +1 -1
  1935. package/lib/typescript/module/src/modules/auth/reset-password/components/form/inputs.d.ts +1 -1
  1936. package/lib/typescript/module/src/modules/auth/reset-password/components/form/inputs.d.ts.map +1 -1
  1937. package/lib/typescript/module/src/modules/auth/reset-password/components/form/reset-password-button.d.ts +1 -1
  1938. package/lib/typescript/module/src/modules/auth/reset-password/components/form/reset-password-button.d.ts.map +1 -1
  1939. package/lib/typescript/module/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts.map +1 -1
  1940. package/lib/typescript/module/src/modules/auth/reset-password/components/form/reset-password-form.d.ts +2 -2
  1941. package/lib/typescript/module/src/modules/auth/reset-password/components/reset-password.d.ts +4 -4
  1942. package/lib/typescript/module/src/modules/auth/reset-password/components/reset-password.d.ts.map +1 -1
  1943. package/lib/typescript/module/src/modules/auth/reset-password/hooks/use-reset-password-form.d.ts +48 -1
  1944. package/lib/typescript/module/src/modules/auth/reset-password/hooks/use-reset-password-form.d.ts.map +1 -1
  1945. package/lib/typescript/module/src/modules/auth/reset-password/types/reset-password-button-props.d.ts +2 -6
  1946. package/lib/typescript/module/src/modules/auth/reset-password/types/reset-password-button-props.d.ts.map +1 -1
  1947. package/lib/typescript/module/src/modules/auth/reset-password/types/reset-password-header-props.d.ts +2 -7
  1948. package/lib/typescript/module/src/modules/auth/reset-password/types/reset-password-header-props.d.ts.map +1 -1
  1949. package/lib/typescript/module/src/modules/auth/session/components/session-list.d.ts.map +1 -1
  1950. package/lib/typescript/module/src/modules/auth/session/save-login.d.ts +4 -0
  1951. package/lib/typescript/module/src/modules/auth/session/save-login.d.ts.map +1 -0
  1952. package/lib/typescript/module/src/modules/auth/session/session-store-refresh.d.ts.map +1 -1
  1953. package/lib/typescript/module/src/modules/auth/session/session-store-types.d.ts +3 -1
  1954. package/lib/typescript/module/src/modules/auth/session/session-store-types.d.ts.map +1 -1
  1955. package/lib/typescript/module/src/modules/auth/session/session-store.d.ts.map +1 -1
  1956. package/lib/typescript/module/src/modules/auth/sign-in/components/form/inputs.d.ts +1 -1
  1957. package/lib/typescript/module/src/modules/auth/sign-in/components/form/inputs.d.ts.map +1 -1
  1958. package/lib/typescript/module/src/modules/auth/sign-in/components/form/login-form-provider.d.ts.map +1 -1
  1959. package/lib/typescript/module/src/modules/auth/sign-in/components/form/sign-in-with-email.d.ts +2 -2
  1960. package/lib/typescript/module/src/modules/auth/sign-in/components/form/signin-button.d.ts +1 -1
  1961. package/lib/typescript/module/src/modules/auth/sign-in/components/form/signin-button.d.ts.map +1 -1
  1962. package/lib/typescript/module/src/modules/auth/sign-in/components/login-with-separator.d.ts +1 -1
  1963. package/lib/typescript/module/src/modules/auth/sign-in/components/login-with-separator.d.ts.map +1 -1
  1964. package/lib/typescript/module/src/modules/auth/sign-in/components/register-link.d.ts +3 -2
  1965. package/lib/typescript/module/src/modules/auth/sign-in/components/register-link.d.ts.map +1 -1
  1966. package/lib/typescript/module/src/modules/auth/sign-in/components/sign-in.d.ts +9 -11
  1967. package/lib/typescript/module/src/modules/auth/sign-in/components/sign-in.d.ts.map +1 -1
  1968. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
  1969. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-text.d.ts.map +1 -1
  1970. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login.d.ts +1 -3
  1971. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login.d.ts.map +1 -1
  1972. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-icon.d.ts +1 -5
  1973. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-icon.d.ts.map +1 -1
  1974. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
  1975. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-text.d.ts.map +1 -1
  1976. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login.d.ts +2 -4
  1977. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login.d.ts.map +1 -1
  1978. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/social-login-button.d.ts +6 -0
  1979. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/social-login-button.d.ts.map +1 -0
  1980. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/social-logins.d.ts +3 -5
  1981. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/social-logins.d.ts.map +1 -1
  1982. package/lib/typescript/module/src/modules/auth/sign-in/hooks/use-login-form.d.ts +54 -1
  1983. package/lib/typescript/module/src/modules/auth/sign-in/hooks/use-login-form.d.ts.map +1 -1
  1984. package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-context-type.d.ts +1 -2
  1985. package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-context-type.d.ts.map +1 -1
  1986. package/lib/typescript/module/src/modules/auth/sign-in/types/sign-in-header-props.d.ts +2 -6
  1987. package/lib/typescript/module/src/modules/auth/sign-in/types/sign-in-header-props.d.ts.map +1 -1
  1988. package/lib/typescript/module/src/modules/auth/sign-in/types/signin-button-props.d.ts +2 -6
  1989. package/lib/typescript/module/src/modules/auth/sign-in/types/signin-button-props.d.ts.map +1 -1
  1990. package/lib/typescript/module/src/modules/auth/sign-in/utils/create-login-validation-schema.d.ts.map +1 -1
  1991. package/lib/typescript/module/src/modules/auth/types/auth-header-props.d.ts +8 -0
  1992. package/lib/typescript/module/src/modules/auth/types/auth-header-props.d.ts.map +1 -0
  1993. package/lib/typescript/module/src/modules/auth/types/auth-submit-button-props.d.ts +7 -0
  1994. package/lib/typescript/module/src/modules/auth/types/auth-submit-button-props.d.ts.map +1 -0
  1995. package/lib/typescript/module/src/modules/auth/types/form-inputs-props.d.ts.map +1 -0
  1996. package/lib/typescript/module/src/modules/auth/utils/apply-submit-error.d.ts +11 -0
  1997. package/lib/typescript/module/src/modules/auth/utils/apply-submit-error.d.ts.map +1 -0
  1998. package/lib/typescript/module/src/modules/auth/utils/validation.d.ts +6 -0
  1999. package/lib/typescript/module/src/modules/auth/utils/validation.d.ts.map +1 -0
  2000. package/lib/typescript/module/src/modules/background-sync/android-background-sync.d.ts.map +1 -1
  2001. package/lib/typescript/module/src/modules/breathing-exercise/components/method-type-icon.d.ts.map +1 -1
  2002. package/lib/typescript/module/src/modules/breathing-exercise/hooks/use-breathing-exercise.d.ts +10 -1
  2003. package/lib/typescript/module/src/modules/breathing-exercise/hooks/use-breathing-exercise.d.ts.map +1 -1
  2004. package/lib/typescript/module/src/modules/bt-device/components/btdevice-instruction.d.ts.map +1 -1
  2005. package/lib/typescript/module/src/modules/bt-device/components/hooks/use-device-list.d.ts.map +1 -1
  2006. package/lib/typescript/module/src/modules/bt-device/components/item/bottom-container.d.ts +2 -2
  2007. package/lib/typescript/module/src/modules/bt-device/components/item/bottom-container.d.ts.map +1 -1
  2008. package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts +2 -1
  2009. package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
  2010. package/lib/typescript/module/src/modules/bt-device/constants/device-list-items.d.ts.map +1 -1
  2011. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-and-medical-variants.d.ts +1 -1
  2012. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-and-medical-variants.d.ts.map +1 -1
  2013. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-aoj-variants.d.ts +1 -1
  2014. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-aoj-variants.d.ts.map +1 -1
  2015. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-art.d.ts +10 -0
  2016. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-art.d.ts.map +1 -0
  2017. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +3 -1
  2018. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -1
  2019. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.d.ts +1 -1
  2020. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.d.ts.map +1 -1
  2021. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -1
  2022. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-famidoc-variants.d.ts +1 -1
  2023. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-famidoc-variants.d.ts.map +1 -1
  2024. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-joytech-variants.d.ts +1 -1
  2025. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-joytech-variants.d.ts.map +1 -1
  2026. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-jumper-variants.d.ts +1 -1
  2027. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-jumper-variants.d.ts.map +1 -1
  2028. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-standard-variants.d.ts +1 -1
  2029. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-standard-variants.d.ts.map +1 -1
  2030. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.d.ts +1 -1
  2031. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.d.ts.map +1 -1
  2032. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.d.ts +1 -1
  2033. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.d.ts.map +1 -1
  2034. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.d.ts +1 -1
  2035. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.d.ts.map +1 -1
  2036. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-transtek-variants.d.ts +1 -1
  2037. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-transtek-variants.d.ts.map +1 -1
  2038. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-variants.d.ts +0 -8
  2039. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-variants.d.ts.map +1 -1
  2040. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-yonker-variants.d.ts +1 -1
  2041. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-yonker-variants.d.ts.map +1 -1
  2042. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  2043. package/lib/typescript/module/src/modules/bt-device/utils/slugify.d.ts +3 -0
  2044. package/lib/typescript/module/src/modules/bt-device/utils/slugify.d.ts.map +1 -0
  2045. package/lib/typescript/module/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  2046. package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -1
  2047. package/lib/typescript/module/src/modules/bt-management/constants/no-parsing-cases.d.ts +4 -0
  2048. package/lib/typescript/module/src/modules/bt-management/constants/no-parsing-cases.d.ts.map +1 -0
  2049. package/lib/typescript/module/src/modules/bt-management/constants/preferred-mtu.d.ts +6 -0
  2050. package/lib/typescript/module/src/modules/bt-management/constants/preferred-mtu.d.ts.map +1 -0
  2051. package/lib/typescript/module/src/modules/bt-management/hooks/runtime-context.d.ts.map +1 -1
  2052. package/lib/typescript/module/src/modules/bt-management/hooks/use-bluetooth-state.d.ts.map +1 -1
  2053. package/lib/typescript/module/src/modules/bt-management/hooks/use-measurements.d.ts.map +1 -1
  2054. package/lib/typescript/module/src/modules/bt-management/index.d.ts +0 -1
  2055. package/lib/typescript/module/src/modules/bt-management/index.d.ts.map +1 -1
  2056. package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts +2 -0
  2057. package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
  2058. package/lib/typescript/module/src/modules/bt-management/services/custom/assert-integer-in-range.d.ts +3 -0
  2059. package/lib/typescript/module/src/modules/bt-management/services/custom/assert-integer-in-range.d.ts.map +1 -0
  2060. package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-lepu.d.ts.map +1 -1
  2061. package/lib/typescript/module/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
  2062. package/lib/typescript/module/src/modules/bt-management/services/device-classes.d.ts +3 -4
  2063. package/lib/typescript/module/src/modules/bt-management/services/device-classes.d.ts.map +1 -1
  2064. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.command-sequencer.d.ts.map +1 -1
  2065. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.device.d.ts +0 -2
  2066. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.device.d.ts.map +1 -1
  2067. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.frame-reader.d.ts.map +1 -1
  2068. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts +0 -2
  2069. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts.map +1 -1
  2070. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts +9 -0
  2071. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts.map +1 -1
  2072. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-70b.device.d.ts +0 -2
  2073. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-70b.device.d.ts.map +1 -1
  2074. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-bp.device.d.ts +0 -2
  2075. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-bp.device.d.ts.map +1 -1
  2076. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-bp.protocol.d.ts +7 -0
  2077. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-bp.protocol.d.ts.map +1 -1
  2078. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.command-sequencer.d.ts.map +1 -1
  2079. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.device.d.ts +0 -1
  2080. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.device.d.ts.map +1 -1
  2081. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.frame-reader.d.ts.map +1 -1
  2082. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts +1 -2
  2083. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts.map +1 -1
  2084. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts +0 -1
  2085. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts.map +1 -1
  2086. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts.map +1 -1
  2087. package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts +0 -1
  2088. package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -1
  2089. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts +4 -0
  2090. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
  2091. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.d.ts.map +1 -1
  2092. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.device.d.ts +0 -2
  2093. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.device.d.ts.map +1 -1
  2094. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.d.ts.map +1 -1
  2095. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts +5 -2
  2096. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  2097. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.device.d.ts +0 -6
  2098. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.device.d.ts.map +1 -1
  2099. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts.map +1 -1
  2100. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-envelope.d.ts +7 -0
  2101. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-envelope.d.ts.map +1 -0
  2102. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.device.d.ts +0 -2
  2103. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.device.d.ts.map +1 -1
  2104. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.protocol.d.ts +1 -3
  2105. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.protocol.d.ts.map +1 -1
  2106. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts.map +1 -1
  2107. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts +0 -3
  2108. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts.map +1 -1
  2109. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.protocol.d.ts.map +1 -1
  2110. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts.map +1 -1
  2111. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts +0 -2
  2112. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts.map +1 -1
  2113. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts +0 -1
  2114. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts.map +1 -1
  2115. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom-lepu-sequencer.d.ts +8 -8
  2116. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom-lepu-sequencer.d.ts.map +1 -1
  2117. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts +2 -1
  2118. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  2119. package/lib/typescript/module/src/modules/bt-management/services/devices/f4/f4.device.d.ts +1 -2
  2120. package/lib/typescript/module/src/modules/bt-management/services/devices/f4/f4.device.d.ts.map +1 -1
  2121. package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.device.d.ts +0 -2
  2122. package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.device.d.ts.map +1 -1
  2123. package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.protocol.d.ts.map +1 -1
  2124. package/lib/typescript/module/src/modules/bt-management/services/devices/famidoc/famidoc.device.d.ts +0 -2
  2125. package/lib/typescript/module/src/modules/bt-management/services/devices/famidoc/famidoc.device.d.ts.map +1 -1
  2126. package/lib/typescript/module/src/modules/bt-management/services/devices/famidoc/famidoc.protocol.d.ts +8 -0
  2127. package/lib/typescript/module/src/modules/bt-management/services/devices/famidoc/famidoc.protocol.d.ts.map +1 -1
  2128. package/lib/typescript/module/src/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.d.ts.map +1 -1
  2129. package/lib/typescript/module/src/modules/bt-management/services/devices/genial-t31/genial-t31.device.d.ts +0 -1
  2130. package/lib/typescript/module/src/modules/bt-management/services/devices/genial-t31/genial-t31.device.d.ts.map +1 -1
  2131. package/lib/typescript/module/src/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.d.ts.map +1 -1
  2132. package/lib/typescript/module/src/modules/bt-management/services/devices/joytech/joytech.device.d.ts +0 -2
  2133. package/lib/typescript/module/src/modules/bt-management/services/devices/joytech/joytech.device.d.ts.map +1 -1
  2134. package/lib/typescript/module/src/modules/bt-management/services/devices/joytech/joytech.protocol.d.ts +8 -0
  2135. package/lib/typescript/module/src/modules/bt-management/services/devices/joytech/joytech.protocol.d.ts.map +1 -1
  2136. package/lib/typescript/module/src/modules/bt-management/services/devices/jumper/jumper.device.d.ts +0 -2
  2137. package/lib/typescript/module/src/modules/bt-management/services/devices/jumper/jumper.device.d.ts.map +1 -1
  2138. package/lib/typescript/module/src/modules/bt-management/services/devices/jumper/jumper.protocol.d.ts +4 -0
  2139. package/lib/typescript/module/src/modules/bt-management/services/devices/jumper/jumper.protocol.d.ts.map +1 -1
  2140. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.command-builder.d.ts.map +1 -1
  2141. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.frame-reader.d.ts.map +1 -1
  2142. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts.map +1 -1
  2143. package/lib/typescript/module/src/modules/bt-management/services/devices/monitor-service.d.ts +12 -0
  2144. package/lib/typescript/module/src/modules/bt-management/services/devices/monitor-service.d.ts.map +1 -0
  2145. package/lib/typescript/module/src/modules/bt-management/services/devices/sentinel-frame-reader.d.ts.map +1 -1
  2146. package/lib/typescript/module/src/modules/bt-management/services/devices/spo/pc60fw.frame-reader.d.ts.map +1 -1
  2147. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.d.ts.map +1 -1
  2148. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.d.ts.map +1 -1
  2149. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +1 -2
  2150. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
  2151. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts +0 -2
  2152. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts.map +1 -1
  2153. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts.map +1 -1
  2154. package/lib/typescript/module/src/modules/bt-management/services/devices/tmb/tmb.command-sequencer.d.ts.map +1 -1
  2155. package/lib/typescript/module/src/modules/bt-management/services/devices/tmb/tmb.frame-reader.d.ts.map +1 -1
  2156. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.d.ts.map +1 -1
  2157. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.d.ts +3 -9
  2158. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.d.ts.map +1 -1
  2159. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.protocol.d.ts.map +1 -1
  2160. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.sequencer.d.ts +3 -9
  2161. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.sequencer.d.ts.map +1 -1
  2162. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6.device.d.ts +14 -0
  2163. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6.device.d.ts.map +1 -0
  2164. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6.sequencer.d.ts +23 -0
  2165. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6.sequencer.d.ts.map +1 -0
  2166. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/mambo-a5.device.d.ts +0 -4
  2167. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/mambo-a5.device.d.ts.map +1 -1
  2168. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/mambo-a5.protocol.d.ts.map +1 -1
  2169. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.device.d.ts +0 -2
  2170. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.device.d.ts.map +1 -1
  2171. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.protocol.d.ts +10 -0
  2172. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.protocol.d.ts.map +1 -1
  2173. package/lib/typescript/module/src/modules/bt-management/services/devices/trasense/s9-frame-reader.d.ts.map +1 -1
  2174. package/lib/typescript/module/src/modules/bt-management/services/devices/trasense/s9.command-sequencer.d.ts +2 -0
  2175. package/lib/typescript/module/src/modules/bt-management/services/devices/trasense/s9.command-sequencer.d.ts.map +1 -1
  2176. package/lib/typescript/module/src/modules/bt-management/services/devices/trasense/s9.device.d.ts +0 -4
  2177. package/lib/typescript/module/src/modules/bt-management/services/devices/trasense/s9.device.d.ts.map +1 -1
  2178. package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/mysense.frame-reader.d.ts.map +1 -1
  2179. package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/mysense.sequencer.d.ts.map +1 -1
  2180. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval-activity-frame-reader.d.ts.map +1 -1
  2181. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts.map +1 -1
  2182. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.activity-device.d.ts +0 -3
  2183. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.activity-device.d.ts.map +1 -1
  2184. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.d.ts.map +1 -1
  2185. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-device.d.ts +0 -3
  2186. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-device.d.ts.map +1 -1
  2187. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-transfer.d.ts.map +1 -1
  2188. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/ap20.device.d.ts +0 -2
  2189. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/ap20.device.d.ts.map +1 -1
  2190. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.d.ts +0 -4
  2191. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.d.ts.map +1 -1
  2192. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.device.d.ts +0 -2
  2193. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.device.d.ts.map +1 -1
  2194. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.d.ts.map +1 -1
  2195. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts.map +1 -1
  2196. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts.map +1 -1
  2197. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/lpm311.sequencer.d.ts.map +1 -1
  2198. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.device.d.ts +0 -4
  2199. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.device.d.ts.map +1 -1
  2200. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.protocol.d.ts.map +1 -1
  2201. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc68b.device.d.ts +0 -2
  2202. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc68b.device.d.ts.map +1 -1
  2203. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.device.d.ts +0 -3
  2204. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.device.d.ts.map +1 -1
  2205. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.protocol.d.ts.map +1 -1
  2206. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts.map +1 -1
  2207. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pf10aw1.device.d.ts +0 -4
  2208. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pf10aw1.device.d.ts.map +1 -1
  2209. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.device.d.ts +0 -2
  2210. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.device.d.ts.map +1 -1
  2211. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.d.ts.map +1 -1
  2212. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.device.d.ts +0 -4
  2213. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.device.d.ts.map +1 -1
  2214. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.protocol.d.ts.map +1 -1
  2215. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts.map +1 -1
  2216. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-aa55.protocol.d.ts.map +1 -1
  2217. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts.map +1 -1
  2218. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-lepu-crypto.d.ts.map +1 -1
  2219. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.device.d.ts +0 -4
  2220. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.device.d.ts.map +1 -1
  2221. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.device.d.ts +0 -2
  2222. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.device.d.ts.map +1 -1
  2223. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.d.ts.map +1 -1
  2224. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts.map +1 -1
  2225. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.device.d.ts +0 -2
  2226. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.device.d.ts.map +1 -1
  2227. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.d.ts.map +1 -1
  2228. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts.map +1 -1
  2229. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.device.d.ts +0 -2
  2230. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.device.d.ts.map +1 -1
  2231. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.d.ts.map +1 -1
  2232. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts.map +1 -1
  2233. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.device.d.ts +0 -2
  2234. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.device.d.ts.map +1 -1
  2235. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.protocol.d.ts.map +1 -1
  2236. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts.map +1 -1
  2237. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.vtm20f.frame-reader.d.ts.map +1 -1
  2238. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.device.d.ts +0 -2
  2239. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.device.d.ts.map +1 -1
  2240. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.protocol.d.ts.map +1 -1
  2241. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts.map +1 -1
  2242. package/lib/typescript/module/src/modules/bt-management/services/devices/write-command.d.ts +4 -0
  2243. package/lib/typescript/module/src/modules/bt-management/services/devices/write-command.d.ts.map +1 -0
  2244. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts +0 -2
  2245. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts.map +1 -1
  2246. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts +8 -0
  2247. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts.map +1 -1
  2248. package/lib/typescript/module/src/modules/bt-management/utils/ascii-to-hex.d.ts +3 -0
  2249. package/lib/typescript/module/src/modules/bt-management/utils/ascii-to-hex.d.ts.map +1 -0
  2250. package/lib/typescript/module/src/modules/bt-management/utils/base-64-to-hex.d.ts.map +1 -1
  2251. package/lib/typescript/module/src/modules/bt-management/utils/bytes-to-hex.d.ts +6 -0
  2252. package/lib/typescript/module/src/modules/bt-management/utils/bytes-to-hex.d.ts.map +1 -0
  2253. package/lib/typescript/module/src/modules/bt-management/utils/daily-total-day.d.ts +7 -0
  2254. package/lib/typescript/module/src/modules/bt-management/utils/daily-total-day.d.ts.map +1 -0
  2255. package/lib/typescript/module/src/modules/bt-management/utils/error-callback-payload.d.ts +9 -0
  2256. package/lib/typescript/module/src/modules/bt-management/utils/error-callback-payload.d.ts.map +1 -0
  2257. package/lib/typescript/module/src/modules/bt-management/utils/frame-bytes.d.ts +3 -0
  2258. package/lib/typescript/module/src/modules/bt-management/utils/frame-bytes.d.ts.map +1 -0
  2259. package/lib/typescript/module/src/modules/bt-management/utils/frame-read-results.d.ts +15 -0
  2260. package/lib/typescript/module/src/modules/bt-management/utils/frame-read-results.d.ts.map +1 -0
  2261. package/lib/typescript/module/src/modules/bt-management/utils/hex-to-base-64.d.ts.map +1 -1
  2262. package/lib/typescript/module/src/modules/bt-management/utils/mirror-bluetooth-state.d.ts +5 -0
  2263. package/lib/typescript/module/src/modules/bt-management/utils/mirror-bluetooth-state.d.ts.map +1 -0
  2264. package/lib/typescript/module/src/modules/bt-management/utils/sig-uuid.d.ts +3 -0
  2265. package/lib/typescript/module/src/modules/bt-management/utils/sig-uuid.d.ts.map +1 -0
  2266. package/lib/typescript/module/src/modules/bt-management/utils/sum-bytes.d.ts +3 -0
  2267. package/lib/typescript/module/src/modules/bt-management/utils/sum-bytes.d.ts.map +1 -0
  2268. package/lib/typescript/module/src/modules/cms/hooks/use-cms-content.d.ts.map +1 -1
  2269. package/lib/typescript/module/src/modules/content/content-card/components/content-card.d.ts +5 -6
  2270. package/lib/typescript/module/src/modules/content/content-card/components/content-card.d.ts.map +1 -1
  2271. package/lib/typescript/module/src/modules/content/content-card/components/title.d.ts.map +1 -1
  2272. package/lib/typescript/module/src/modules/content/content-detail/components/content-detail-footer.d.ts +1 -2
  2273. package/lib/typescript/module/src/modules/content/content-detail/components/content-detail-footer.d.ts.map +1 -1
  2274. package/lib/typescript/module/src/modules/content/content-detail/components/content-detail-header.d.ts +1 -2
  2275. package/lib/typescript/module/src/modules/content/content-detail/components/content-detail-header.d.ts.map +1 -1
  2276. package/lib/typescript/module/src/modules/content/content-detail/components/content-detail.d.ts +2 -2
  2277. package/lib/typescript/module/src/modules/content/content-detail/context/hooks/use-composition.d.ts.map +1 -1
  2278. package/lib/typescript/module/src/modules/content/content-list/components/content-list.d.ts +1 -1
  2279. package/lib/typescript/module/src/modules/content/content-list/components/section.d.ts +1 -1
  2280. package/lib/typescript/module/src/modules/content/content-list/components/section.d.ts.map +1 -1
  2281. package/lib/typescript/module/src/modules/data-sync/components/android/android-health-connect-authorization-provider.d.ts.map +1 -1
  2282. package/lib/typescript/module/src/modules/data-sync/components/android/android-health-sync.d.ts.map +1 -1
  2283. package/lib/typescript/module/src/modules/data-sync/components/apple/apple-health-authorization-provider.d.ts.map +1 -1
  2284. package/lib/typescript/module/src/modules/data-sync/components/apple/apple-health-sync.d.ts.map +1 -1
  2285. package/lib/typescript/module/src/modules/data-sync/constants.d.ts +4 -1
  2286. package/lib/typescript/module/src/modules/data-sync/constants.d.ts.map +1 -1
  2287. package/lib/typescript/module/src/modules/data-sync/contexts/health-authorization-context.d.ts.map +1 -1
  2288. package/lib/typescript/module/src/modules/data-sync/hooks/use-health-import.d.ts.map +1 -1
  2289. package/lib/typescript/module/src/modules/data-sync/hooks/use-health-sync-runner.d.ts +28 -0
  2290. package/lib/typescript/module/src/modules/data-sync/hooks/use-health-sync-runner.d.ts.map +1 -0
  2291. package/lib/typescript/module/src/modules/data-sync/services/android-health-sync-service.d.ts +0 -10
  2292. package/lib/typescript/module/src/modules/data-sync/services/android-health-sync-service.d.ts.map +1 -1
  2293. package/lib/typescript/module/src/modules/data-sync/services/apple-health-sync-service.d.ts +0 -10
  2294. package/lib/typescript/module/src/modules/data-sync/services/apple-health-sync-service.d.ts.map +1 -1
  2295. package/lib/typescript/module/src/modules/data-sync/services/base-health-sync-service.d.ts +9 -5
  2296. package/lib/typescript/module/src/modules/data-sync/services/base-health-sync-service.d.ts.map +1 -1
  2297. package/lib/typescript/module/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
  2298. package/lib/typescript/module/src/modules/data-sync/services/managers/storage-manager.d.ts +0 -1
  2299. package/lib/typescript/module/src/modules/data-sync/services/managers/storage-manager.d.ts.map +1 -1
  2300. package/lib/typescript/module/src/modules/data-sync/types/health-sync-batch-error.d.ts.map +1 -1
  2301. package/lib/typescript/module/src/modules/data-sync/utils/convert-generic-health-data.d.ts.map +1 -1
  2302. package/lib/typescript/module/src/modules/data-sync/utils/convert-records-to-observation.d.ts.map +1 -1
  2303. package/lib/typescript/module/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
  2304. package/lib/typescript/module/src/modules/data-sync/utils/create-progress-collector.d.ts +7 -0
  2305. package/lib/typescript/module/src/modules/data-sync/utils/create-progress-collector.d.ts.map +1 -0
  2306. package/lib/typescript/module/src/modules/data-sync/utils/fhir-systems.d.ts +6 -0
  2307. package/lib/typescript/module/src/modules/data-sync/utils/fhir-systems.d.ts.map +1 -0
  2308. package/lib/typescript/module/src/modules/data-sync/utils/generate-observation-entry.d.ts.map +1 -1
  2309. package/lib/typescript/module/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts.map +1 -1
  2310. package/lib/typescript/module/src/modules/data-sync/utils/get-latest-valid-start-date.d.ts.map +1 -1
  2311. package/lib/typescript/module/src/modules/data-sync/utils/get-records-from-health-connect.d.ts.map +1 -1
  2312. package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts +16 -16
  2313. package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
  2314. package/lib/typescript/module/src/modules/data-sync/utils/get-total-records-count.d.ts.map +1 -1
  2315. package/lib/typescript/module/src/modules/data-sync/utils/group-samples-by-interval.d.ts +3 -0
  2316. package/lib/typescript/module/src/modules/data-sync/utils/group-samples-by-interval.d.ts.map +1 -0
  2317. package/lib/typescript/module/src/modules/data-sync/utils/health-data-catalog.d.ts.map +1 -1
  2318. package/lib/typescript/module/src/modules/data-sync/utils/is-daily-aggregate-mode.d.ts +4 -0
  2319. package/lib/typescript/module/src/modules/data-sync/utils/is-daily-aggregate-mode.d.ts.map +1 -0
  2320. package/lib/typescript/module/src/modules/data-sync/utils/normalize-core-health-observation.d.ts.map +1 -1
  2321. package/lib/typescript/module/src/modules/data-sync/utils/sync-window-start.d.ts +3 -0
  2322. package/lib/typescript/module/src/modules/data-sync/utils/sync-window-start.d.ts.map +1 -0
  2323. package/lib/typescript/module/src/modules/data-sync/utils/to-core-health-observations.d.ts +13 -0
  2324. package/lib/typescript/module/src/modules/data-sync/utils/to-core-health-observations.d.ts.map +1 -0
  2325. package/lib/typescript/module/src/modules/helpers/form-items/form-date-field.d.ts.map +1 -1
  2326. package/lib/typescript/module/src/modules/helpers/form-items/form-select.d.ts.map +1 -1
  2327. package/lib/typescript/module/src/modules/helpers/hooks/use-latest-ref.d.ts +4 -0
  2328. package/lib/typescript/module/src/modules/helpers/hooks/use-latest-ref.d.ts.map +1 -0
  2329. package/lib/typescript/module/src/modules/helpers/hooks/use-required-context.d.ts +4 -0
  2330. package/lib/typescript/module/src/modules/helpers/hooks/use-required-context.d.ts.map +1 -0
  2331. package/lib/typescript/module/src/modules/helpers/spaced-view.d.ts +4 -0
  2332. package/lib/typescript/module/src/modules/helpers/spaced-view.d.ts.map +1 -0
  2333. package/lib/typescript/module/src/modules/helpers/surface-card.d.ts +8 -0
  2334. package/lib/typescript/module/src/modules/helpers/surface-card.d.ts.map +1 -0
  2335. package/lib/typescript/module/src/modules/helpers/utils/local-date.d.ts +3 -0
  2336. package/lib/typescript/module/src/modules/helpers/utils/local-date.d.ts.map +1 -0
  2337. package/lib/typescript/module/src/modules/helpers/utils/telemetry.d.ts.map +1 -1
  2338. package/lib/typescript/module/src/modules/helpers/utils/to-error.d.ts +3 -0
  2339. package/lib/typescript/module/src/modules/helpers/utils/to-error.d.ts.map +1 -0
  2340. package/lib/typescript/module/src/modules/image/utils/calculate-dimension.d.ts +1 -1
  2341. package/lib/typescript/module/src/modules/image/utils/calculate-dimension.d.ts.map +1 -1
  2342. package/lib/typescript/module/src/modules/journal/past-journal/components/answer.d.ts +1 -1
  2343. package/lib/typescript/module/src/modules/journal/past-journal/components/answer.d.ts.map +1 -1
  2344. package/lib/typescript/module/src/modules/journal/past-journal/components/past-journal-card.d.ts +5 -6
  2345. package/lib/typescript/module/src/modules/journal/past-journal/components/past-journal-card.d.ts.map +1 -1
  2346. package/lib/typescript/module/src/modules/journal/today-question/components/gradient.d.ts +1 -2
  2347. package/lib/typescript/module/src/modules/journal/today-question/components/gradient.d.ts.map +1 -1
  2348. package/lib/typescript/module/src/modules/journal/today-question/components/today-question-card.d.ts +4 -3
  2349. package/lib/typescript/module/src/modules/journal/today-question/components/today-question-card.d.ts.map +1 -1
  2350. package/lib/typescript/module/src/modules/language-switcher/components/language-switcher.d.ts.map +1 -1
  2351. package/lib/typescript/module/src/modules/language-switcher/components/option/hooks/use-language-option.d.ts.map +1 -1
  2352. package/lib/typescript/module/src/modules/language-switcher/hooks/use-language-switcher.d.ts.map +1 -1
  2353. package/lib/typescript/module/src/modules/measurement/components/date-range.d.ts.map +1 -1
  2354. package/lib/typescript/module/src/modules/observation-detail/components/date-time.d.ts.map +1 -1
  2355. package/lib/typescript/module/src/modules/observation-detail/components/observation-detail.d.ts.map +1 -1
  2356. package/lib/typescript/module/src/modules/observation-detail/components/preview-modal.d.ts.map +1 -1
  2357. package/lib/typescript/module/src/modules/patient/components/card/patient-gender.d.ts.map +1 -1
  2358. package/lib/typescript/module/src/modules/questionnaire-response-form/components/content/questionnaire-content-all-items.d.ts.map +1 -1
  2359. package/lib/typescript/module/src/modules/questionnaire-response-form/components/content/questionnaire-content-item.d.ts +2 -1
  2360. package/lib/typescript/module/src/modules/questionnaire-response-form/components/content/questionnaire-content-item.d.ts.map +1 -1
  2361. package/lib/typescript/module/src/modules/questionnaire-response-form/components/content/questionnaire-content-specific-item.d.ts.map +1 -1
  2362. package/lib/typescript/module/src/modules/questionnaire-response-form/components/content/questionnaire-content.d.ts +1 -1
  2363. package/lib/typescript/module/src/modules/questionnaire-response-form/components/content/questionnaire-content.d.ts.map +1 -1
  2364. package/lib/typescript/module/src/modules/questionnaire-response-form/components/fields/questionnaire-date-field.d.ts.map +1 -1
  2365. package/lib/typescript/module/src/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.d.ts.map +1 -1
  2366. package/lib/typescript/module/src/modules/questionnaire-response-form/components/questionnaire-form-provider.d.ts.map +1 -1
  2367. package/lib/typescript/module/src/modules/questionnaire-response-form/default-translation.d.ts +2 -0
  2368. package/lib/typescript/module/src/modules/questionnaire-response-form/default-translation.d.ts.map +1 -1
  2369. package/lib/typescript/module/src/modules/questionnaire-response-form/hooks/use-initial-selected-values.d.ts.map +1 -1
  2370. package/lib/typescript/module/src/modules/questionnaire-response-form/hooks/use-navigation-handlers.d.ts.map +1 -1
  2371. package/lib/typescript/module/src/modules/questionnaire-response-form/hooks/use-questionnaire-form.d.ts.map +1 -1
  2372. package/lib/typescript/module/src/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.d.ts.map +1 -1
  2373. package/lib/typescript/module/src/modules/questionnaire-response-form/hooks/use-questionnaire-navigation.d.ts.map +1 -1
  2374. package/lib/typescript/module/src/modules/questionnaire-response-form/types/index.d.ts +0 -3
  2375. package/lib/typescript/module/src/modules/questionnaire-response-form/types/index.d.ts.map +1 -1
  2376. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/condition-utils.d.ts +1 -0
  2377. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/condition-utils.d.ts.map +1 -1
  2378. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/conditions/boolean-condition.d.ts.map +1 -1
  2379. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/conditions/compare.d.ts +6 -0
  2380. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/conditions/compare.d.ts.map +1 -0
  2381. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/conditions/date-condition.d.ts.map +1 -1
  2382. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/conditions/decimal-condition.d.ts.map +1 -1
  2383. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/conditions/fhir-condition.d.ts.map +1 -1
  2384. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/conditions/string-condition.d.ts.map +1 -1
  2385. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/fhir-time.d.ts +3 -0
  2386. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/fhir-time.d.ts.map +1 -0
  2387. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/fields/get-keyboard-type.d.ts.map +1 -1
  2388. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/form-utils.d.ts +1 -0
  2389. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/form-utils.d.ts.map +1 -1
  2390. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/form-validation.d.ts.map +1 -1
  2391. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.d.ts +4 -1
  2392. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.d.ts.map +1 -1
  2393. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-date-utils.d.ts +5 -1
  2394. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-date-utils.d.ts.map +1 -1
  2395. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-navigation-utils.d.ts.map +1 -1
  2396. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-string-constraint-validator.d.ts.map +1 -1
  2397. package/lib/typescript/module/src/modules/socket/components/socket-provider.d.ts.map +1 -1
  2398. package/lib/typescript/module/src/modules/socket/hooks/use-socket.d.ts.map +1 -1
  2399. package/lib/typescript/module/src/modules/tab/components/tab-provider.d.ts.map +1 -1
  2400. package/lib/typescript/module/src/modules/tab/hooks/use-tab.d.ts.map +1 -1
  2401. package/lib/typescript/module/src/modules/theme/utils/generate-theme.d.ts.map +1 -1
  2402. package/lib/typescript/module/src/modules/tile/types/tile-props.d.ts +1 -1
  2403. package/lib/typescript/module/src/modules/tile/types/tile-props.d.ts.map +1 -1
  2404. package/lib/typescript/module/src/modules/ui/components/background-sync-setting.d.ts.map +1 -1
  2405. package/lib/typescript/module/src/modules/ui/components/bluetooth-state-notice.d.ts.map +1 -1
  2406. package/lib/typescript/module/src/modules/ui/components/calendar.d.ts.map +1 -1
  2407. package/lib/typescript/module/src/modules/ui/components/ecg-strip-viewer.d.ts.map +1 -1
  2408. package/lib/typescript/module/src/modules/ui/components/flow-frame.d.ts.map +1 -1
  2409. package/lib/typescript/module/src/modules/ui/components/health-import-card.d.ts.map +1 -1
  2410. package/lib/typescript/module/src/modules/ui/components/manual-entry-form.d.ts.map +1 -1
  2411. package/lib/typescript/module/src/modules/ui/components/nearby-device-prompt.d.ts.map +1 -1
  2412. package/lib/typescript/module/src/modules/ui/components/pairing-flow.d.ts.map +1 -1
  2413. package/lib/typescript/module/src/modules/ui/components/period-calendar.d.ts.map +1 -1
  2414. package/lib/typescript/module/src/modules/ui/components/supported-devices-catalog-list.d.ts.map +1 -1
  2415. package/lib/typescript/module/src/modules/ui/components/urine-test-result.d.ts.map +1 -1
  2416. package/lib/typescript/module/src/modules/ui/types.d.ts +2 -0
  2417. package/lib/typescript/module/src/modules/ui/types.d.ts.map +1 -1
  2418. package/lib/typescript/module/src/modules/ui/use-ovok-ui.d.ts +2 -2
  2419. package/lib/typescript/module/src/modules/ui/use-ovok-ui.d.ts.map +1 -1
  2420. package/lib/typescript/module/src/modules/ui/utils/calendar-date.d.ts +1 -1
  2421. package/lib/typescript/module/src/modules/ui/utils/calendar-date.d.ts.map +1 -1
  2422. package/package.json +1 -1
  2423. package/lib/commonjs/modules/auth/register/components/header/description.js +0 -39
  2424. package/lib/commonjs/modules/auth/register/components/header/description.js.map +0 -1
  2425. package/lib/commonjs/modules/auth/register/components/header/header.js +0 -29
  2426. package/lib/commonjs/modules/auth/register/components/header/header.js.map +0 -1
  2427. package/lib/commonjs/modules/auth/register/components/header/title.js +0 -38
  2428. package/lib/commonjs/modules/auth/register/components/header/title.js.map +0 -1
  2429. package/lib/commonjs/modules/auth/register/types/form-inputs-props.js.map +0 -1
  2430. package/lib/commonjs/modules/auth/register/types/register-form-context-type.js +0 -6
  2431. package/lib/commonjs/modules/auth/register/types/register-form-context-type.js.map +0 -1
  2432. package/lib/commonjs/modules/auth/register/types/register-header-props.js +0 -6
  2433. package/lib/commonjs/modules/auth/register/types/register-header-props.js.map +0 -1
  2434. package/lib/commonjs/modules/auth/register/utils/apply-custom-validation.js +0 -17
  2435. package/lib/commonjs/modules/auth/register/utils/apply-custom-validation.js.map +0 -1
  2436. package/lib/commonjs/modules/auth/reset-password/components/header/description.js +0 -39
  2437. package/lib/commonjs/modules/auth/reset-password/components/header/description.js.map +0 -1
  2438. package/lib/commonjs/modules/auth/reset-password/components/header/header.js +0 -29
  2439. package/lib/commonjs/modules/auth/reset-password/components/header/header.js.map +0 -1
  2440. package/lib/commonjs/modules/auth/reset-password/components/header/title.js +0 -38
  2441. package/lib/commonjs/modules/auth/reset-password/components/header/title.js.map +0 -1
  2442. package/lib/commonjs/modules/auth/sign-in/components/header/description.js +0 -39
  2443. package/lib/commonjs/modules/auth/sign-in/components/header/description.js.map +0 -1
  2444. package/lib/commonjs/modules/auth/sign-in/components/header/header.js +0 -29
  2445. package/lib/commonjs/modules/auth/sign-in/components/header/header.js.map +0 -1
  2446. package/lib/commonjs/modules/auth/sign-in/components/header/title.js.map +0 -1
  2447. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-icon.js +0 -23
  2448. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-icon.js.map +0 -1
  2449. package/lib/commonjs/modules/auth/sign-in/types/token-response.js +0 -2
  2450. package/lib/commonjs/modules/auth/sign-in/types/token-response.js.map +0 -1
  2451. package/lib/commonjs/modules/breathing-exercise/components/icons/exhale-icon.js +0 -27
  2452. package/lib/commonjs/modules/breathing-exercise/components/icons/exhale-icon.js.map +0 -1
  2453. package/lib/commonjs/modules/bt-management/constants/diagnostic-results.js +0 -16
  2454. package/lib/commonjs/modules/bt-management/constants/diagnostic-results.js.map +0 -1
  2455. package/lib/commonjs/modules/bt-management/hooks/use-health-import.js +0 -13
  2456. package/lib/commonjs/modules/bt-management/hooks/use-health-import.js.map +0 -1
  2457. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.device.js +0 -50
  2458. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.device.js.map +0 -1
  2459. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.device.js +0 -50
  2460. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.device.js.map +0 -1
  2461. package/lib/commonjs/modules/bt-management/types/diagnostic-key-enum.js +0 -17
  2462. package/lib/commonjs/modules/bt-management/types/diagnostic-key-enum.js.map +0 -1
  2463. package/lib/commonjs/modules/bt-management/utils/summarise-measurement-for-log.js +0 -22
  2464. package/lib/commonjs/modules/bt-management/utils/summarise-measurement-for-log.js.map +0 -1
  2465. package/lib/commonjs/modules/content/content-card/types/content-card-metadata-props.js +0 -6
  2466. package/lib/commonjs/modules/content/content-card/types/content-card-metadata-props.js.map +0 -1
  2467. package/lib/commonjs/modules/content/content-detail/context/index.js +0 -14
  2468. package/lib/commonjs/modules/content/content-detail/context/index.js.map +0 -1
  2469. package/lib/commonjs/modules/content/content-list/types/horizontal-contents-props.js +0 -6
  2470. package/lib/commonjs/modules/content/content-list/types/horizontal-contents-props.js.map +0 -1
  2471. package/lib/commonjs/modules/helpers/utils/safe-json-parse.js +0 -16
  2472. package/lib/commonjs/modules/helpers/utils/safe-json-parse.js.map +0 -1
  2473. package/lib/commonjs/modules/questionnaire-response-form/types/questionnaire-props.js.map +0 -1
  2474. package/lib/commonjs/modules/questionnaire-response-form/types/questionnaire.js +0 -6
  2475. package/lib/commonjs/modules/questionnaire-response-form/types/questionnaire.js.map +0 -1
  2476. package/lib/commonjs/modules/tile/types/measurement-icon-props.js +0 -6
  2477. package/lib/commonjs/modules/tile/types/measurement-icon-props.js.map +0 -1
  2478. package/lib/commonjs/modules/tile/types/tile-list-props.js.map +0 -1
  2479. package/lib/module/modules/auth/register/components/header/description.js +0 -33
  2480. package/lib/module/modules/auth/register/components/header/description.js.map +0 -1
  2481. package/lib/module/modules/auth/register/components/header/header.js +0 -24
  2482. package/lib/module/modules/auth/register/components/header/header.js.map +0 -1
  2483. package/lib/module/modules/auth/register/components/header/title.js +0 -32
  2484. package/lib/module/modules/auth/register/components/header/title.js.map +0 -1
  2485. package/lib/module/modules/auth/register/types/form-inputs-props.js.map +0 -1
  2486. package/lib/module/modules/auth/register/types/register-form-context-type.js +0 -4
  2487. package/lib/module/modules/auth/register/types/register-form-context-type.js.map +0 -1
  2488. package/lib/module/modules/auth/register/types/register-header-props.js +0 -4
  2489. package/lib/module/modules/auth/register/types/register-header-props.js.map +0 -1
  2490. package/lib/module/modules/auth/register/utils/apply-custom-validation.js +0 -12
  2491. package/lib/module/modules/auth/register/utils/apply-custom-validation.js.map +0 -1
  2492. package/lib/module/modules/auth/reset-password/components/header/description.js +0 -33
  2493. package/lib/module/modules/auth/reset-password/components/header/description.js.map +0 -1
  2494. package/lib/module/modules/auth/reset-password/components/header/header.js +0 -24
  2495. package/lib/module/modules/auth/reset-password/components/header/header.js.map +0 -1
  2496. package/lib/module/modules/auth/reset-password/components/header/title.js +0 -32
  2497. package/lib/module/modules/auth/reset-password/components/header/title.js.map +0 -1
  2498. package/lib/module/modules/auth/sign-in/components/header/description.js +0 -33
  2499. package/lib/module/modules/auth/sign-in/components/header/description.js.map +0 -1
  2500. package/lib/module/modules/auth/sign-in/components/header/header.js +0 -24
  2501. package/lib/module/modules/auth/sign-in/components/header/header.js.map +0 -1
  2502. package/lib/module/modules/auth/sign-in/components/header/title.js +0 -32
  2503. package/lib/module/modules/auth/sign-in/components/header/title.js.map +0 -1
  2504. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-icon.js +0 -18
  2505. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-icon.js.map +0 -1
  2506. package/lib/module/modules/auth/sign-in/types/token-response.js +0 -2
  2507. package/lib/module/modules/auth/sign-in/types/token-response.js.map +0 -1
  2508. package/lib/module/modules/breathing-exercise/components/icons/exhale-icon.js +0 -21
  2509. package/lib/module/modules/breathing-exercise/components/icons/exhale-icon.js.map +0 -1
  2510. package/lib/module/modules/bt-management/constants/diagnostic-results.js +0 -12
  2511. package/lib/module/modules/bt-management/constants/diagnostic-results.js.map +0 -1
  2512. package/lib/module/modules/bt-management/hooks/use-health-import.js +0 -5
  2513. package/lib/module/modules/bt-management/hooks/use-health-import.js.map +0 -1
  2514. package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.device.js +0 -45
  2515. package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.device.js.map +0 -1
  2516. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.device.js +0 -45
  2517. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.device.js.map +0 -1
  2518. package/lib/module/modules/bt-management/types/diagnostic-key-enum.js +0 -13
  2519. package/lib/module/modules/bt-management/types/diagnostic-key-enum.js.map +0 -1
  2520. package/lib/module/modules/bt-management/utils/summarise-measurement-for-log.js +0 -17
  2521. package/lib/module/modules/bt-management/utils/summarise-measurement-for-log.js.map +0 -1
  2522. package/lib/module/modules/content/content-card/types/content-card-metadata-props.js +0 -4
  2523. package/lib/module/modules/content/content-card/types/content-card-metadata-props.js.map +0 -1
  2524. package/lib/module/modules/content/content-detail/context/index.js +0 -10
  2525. package/lib/module/modules/content/content-detail/context/index.js.map +0 -1
  2526. package/lib/module/modules/content/content-list/types/horizontal-contents-props.js +0 -4
  2527. package/lib/module/modules/content/content-list/types/horizontal-contents-props.js.map +0 -1
  2528. package/lib/module/modules/helpers/utils/safe-json-parse.js +0 -11
  2529. package/lib/module/modules/helpers/utils/safe-json-parse.js.map +0 -1
  2530. package/lib/module/modules/questionnaire-response-form/types/questionnaire-props.js +0 -4
  2531. package/lib/module/modules/questionnaire-response-form/types/questionnaire-props.js.map +0 -1
  2532. package/lib/module/modules/questionnaire-response-form/types/questionnaire.js +0 -4
  2533. package/lib/module/modules/questionnaire-response-form/types/questionnaire.js.map +0 -1
  2534. package/lib/module/modules/tile/types/measurement-icon-props.js +0 -4
  2535. package/lib/module/modules/tile/types/measurement-icon-props.js.map +0 -1
  2536. package/lib/module/modules/tile/types/tile-list-props.js +0 -4
  2537. package/lib/module/modules/tile/types/tile-list-props.js.map +0 -1
  2538. package/lib/typescript/commonjs/src/modules/auth/register/components/header/description.d.ts +0 -8
  2539. package/lib/typescript/commonjs/src/modules/auth/register/components/header/description.d.ts.map +0 -1
  2540. package/lib/typescript/commonjs/src/modules/auth/register/components/header/header.d.ts +0 -11
  2541. package/lib/typescript/commonjs/src/modules/auth/register/components/header/header.d.ts.map +0 -1
  2542. package/lib/typescript/commonjs/src/modules/auth/register/components/header/title.d.ts +0 -8
  2543. package/lib/typescript/commonjs/src/modules/auth/register/components/header/title.d.ts.map +0 -1
  2544. package/lib/typescript/commonjs/src/modules/auth/register/types/form-inputs-props.d.ts.map +0 -1
  2545. package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-context-type.d.ts +0 -4
  2546. package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-context-type.d.ts.map +0 -1
  2547. package/lib/typescript/commonjs/src/modules/auth/register/types/register-header-props.d.ts +0 -8
  2548. package/lib/typescript/commonjs/src/modules/auth/register/types/register-header-props.d.ts.map +0 -1
  2549. package/lib/typescript/commonjs/src/modules/auth/register/utils/apply-custom-validation.d.ts +0 -3
  2550. package/lib/typescript/commonjs/src/modules/auth/register/utils/apply-custom-validation.d.ts.map +0 -1
  2551. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/header/description.d.ts +0 -8
  2552. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/header/description.d.ts.map +0 -1
  2553. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/header/header.d.ts +0 -11
  2554. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/header/header.d.ts.map +0 -1
  2555. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/header/title.d.ts +0 -8
  2556. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/header/title.d.ts.map +0 -1
  2557. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/header/description.d.ts +0 -8
  2558. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/header/description.d.ts.map +0 -1
  2559. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/header/header.d.ts +0 -11
  2560. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/header/header.d.ts.map +0 -1
  2561. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/header/title.d.ts +0 -8
  2562. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/header/title.d.ts.map +0 -1
  2563. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-icon.d.ts +0 -3
  2564. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-icon.d.ts.map +0 -1
  2565. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/token-response.d.ts +0 -7
  2566. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/token-response.d.ts.map +0 -1
  2567. package/lib/typescript/commonjs/src/modules/breathing-exercise/components/icons/exhale-icon.d.ts +0 -9
  2568. package/lib/typescript/commonjs/src/modules/breathing-exercise/components/icons/exhale-icon.d.ts.map +0 -1
  2569. package/lib/typescript/commonjs/src/modules/bt-management/constants/diagnostic-results.d.ts +0 -10
  2570. package/lib/typescript/commonjs/src/modules/bt-management/constants/diagnostic-results.d.ts.map +0 -1
  2571. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-health-import.d.ts +0 -3
  2572. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-health-import.d.ts.map +0 -1
  2573. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.device.d.ts +0 -16
  2574. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.device.d.ts.map +0 -1
  2575. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.device.d.ts +0 -16
  2576. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.device.d.ts.map +0 -1
  2577. package/lib/typescript/commonjs/src/modules/bt-management/types/diagnostic-key-enum.d.ts +0 -10
  2578. package/lib/typescript/commonjs/src/modules/bt-management/types/diagnostic-key-enum.d.ts.map +0 -1
  2579. package/lib/typescript/commonjs/src/modules/bt-management/utils/summarise-measurement-for-log.d.ts +0 -9
  2580. package/lib/typescript/commonjs/src/modules/bt-management/utils/summarise-measurement-for-log.d.ts.map +0 -1
  2581. package/lib/typescript/commonjs/src/modules/content/content-card/types/content-card-metadata-props.d.ts +0 -9
  2582. package/lib/typescript/commonjs/src/modules/content/content-card/types/content-card-metadata-props.d.ts.map +0 -1
  2583. package/lib/typescript/commonjs/src/modules/content/content-detail/context/index.d.ts +0 -6
  2584. package/lib/typescript/commonjs/src/modules/content/content-detail/context/index.d.ts.map +0 -1
  2585. package/lib/typescript/commonjs/src/modules/content/content-list/types/horizontal-contents-props.d.ts +0 -10
  2586. package/lib/typescript/commonjs/src/modules/content/content-list/types/horizontal-contents-props.d.ts.map +0 -1
  2587. package/lib/typescript/commonjs/src/modules/helpers/utils/safe-json-parse.d.ts +0 -2
  2588. package/lib/typescript/commonjs/src/modules/helpers/utils/safe-json-parse.d.ts.map +0 -1
  2589. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/questionnaire-props.d.ts +0 -8
  2590. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/questionnaire-props.d.ts.map +0 -1
  2591. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/questionnaire.d.ts +0 -14
  2592. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/questionnaire.d.ts.map +0 -1
  2593. package/lib/typescript/commonjs/src/modules/tile/types/measurement-icon-props.d.ts +0 -4
  2594. package/lib/typescript/commonjs/src/modules/tile/types/measurement-icon-props.d.ts.map +0 -1
  2595. package/lib/typescript/commonjs/src/modules/tile/types/tile-list-props.d.ts +0 -4
  2596. package/lib/typescript/commonjs/src/modules/tile/types/tile-list-props.d.ts.map +0 -1
  2597. package/lib/typescript/module/src/modules/auth/register/components/header/description.d.ts +0 -8
  2598. package/lib/typescript/module/src/modules/auth/register/components/header/description.d.ts.map +0 -1
  2599. package/lib/typescript/module/src/modules/auth/register/components/header/header.d.ts +0 -11
  2600. package/lib/typescript/module/src/modules/auth/register/components/header/header.d.ts.map +0 -1
  2601. package/lib/typescript/module/src/modules/auth/register/components/header/title.d.ts +0 -8
  2602. package/lib/typescript/module/src/modules/auth/register/components/header/title.d.ts.map +0 -1
  2603. package/lib/typescript/module/src/modules/auth/register/types/form-inputs-props.d.ts.map +0 -1
  2604. package/lib/typescript/module/src/modules/auth/register/types/register-form-context-type.d.ts +0 -4
  2605. package/lib/typescript/module/src/modules/auth/register/types/register-form-context-type.d.ts.map +0 -1
  2606. package/lib/typescript/module/src/modules/auth/register/types/register-header-props.d.ts +0 -8
  2607. package/lib/typescript/module/src/modules/auth/register/types/register-header-props.d.ts.map +0 -1
  2608. package/lib/typescript/module/src/modules/auth/register/utils/apply-custom-validation.d.ts +0 -3
  2609. package/lib/typescript/module/src/modules/auth/register/utils/apply-custom-validation.d.ts.map +0 -1
  2610. package/lib/typescript/module/src/modules/auth/reset-password/components/header/description.d.ts +0 -8
  2611. package/lib/typescript/module/src/modules/auth/reset-password/components/header/description.d.ts.map +0 -1
  2612. package/lib/typescript/module/src/modules/auth/reset-password/components/header/header.d.ts +0 -11
  2613. package/lib/typescript/module/src/modules/auth/reset-password/components/header/header.d.ts.map +0 -1
  2614. package/lib/typescript/module/src/modules/auth/reset-password/components/header/title.d.ts +0 -8
  2615. package/lib/typescript/module/src/modules/auth/reset-password/components/header/title.d.ts.map +0 -1
  2616. package/lib/typescript/module/src/modules/auth/sign-in/components/header/description.d.ts +0 -8
  2617. package/lib/typescript/module/src/modules/auth/sign-in/components/header/description.d.ts.map +0 -1
  2618. package/lib/typescript/module/src/modules/auth/sign-in/components/header/header.d.ts +0 -11
  2619. package/lib/typescript/module/src/modules/auth/sign-in/components/header/header.d.ts.map +0 -1
  2620. package/lib/typescript/module/src/modules/auth/sign-in/components/header/title.d.ts +0 -8
  2621. package/lib/typescript/module/src/modules/auth/sign-in/components/header/title.d.ts.map +0 -1
  2622. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-icon.d.ts +0 -3
  2623. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-icon.d.ts.map +0 -1
  2624. package/lib/typescript/module/src/modules/auth/sign-in/types/token-response.d.ts +0 -7
  2625. package/lib/typescript/module/src/modules/auth/sign-in/types/token-response.d.ts.map +0 -1
  2626. package/lib/typescript/module/src/modules/breathing-exercise/components/icons/exhale-icon.d.ts +0 -9
  2627. package/lib/typescript/module/src/modules/breathing-exercise/components/icons/exhale-icon.d.ts.map +0 -1
  2628. package/lib/typescript/module/src/modules/bt-management/constants/diagnostic-results.d.ts +0 -10
  2629. package/lib/typescript/module/src/modules/bt-management/constants/diagnostic-results.d.ts.map +0 -1
  2630. package/lib/typescript/module/src/modules/bt-management/hooks/use-health-import.d.ts +0 -3
  2631. package/lib/typescript/module/src/modules/bt-management/hooks/use-health-import.d.ts.map +0 -1
  2632. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.device.d.ts +0 -16
  2633. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.device.d.ts.map +0 -1
  2634. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.device.d.ts +0 -16
  2635. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.device.d.ts.map +0 -1
  2636. package/lib/typescript/module/src/modules/bt-management/types/diagnostic-key-enum.d.ts +0 -10
  2637. package/lib/typescript/module/src/modules/bt-management/types/diagnostic-key-enum.d.ts.map +0 -1
  2638. package/lib/typescript/module/src/modules/bt-management/utils/summarise-measurement-for-log.d.ts +0 -9
  2639. package/lib/typescript/module/src/modules/bt-management/utils/summarise-measurement-for-log.d.ts.map +0 -1
  2640. package/lib/typescript/module/src/modules/content/content-card/types/content-card-metadata-props.d.ts +0 -9
  2641. package/lib/typescript/module/src/modules/content/content-card/types/content-card-metadata-props.d.ts.map +0 -1
  2642. package/lib/typescript/module/src/modules/content/content-detail/context/index.d.ts +0 -6
  2643. package/lib/typescript/module/src/modules/content/content-detail/context/index.d.ts.map +0 -1
  2644. package/lib/typescript/module/src/modules/content/content-list/types/horizontal-contents-props.d.ts +0 -10
  2645. package/lib/typescript/module/src/modules/content/content-list/types/horizontal-contents-props.d.ts.map +0 -1
  2646. package/lib/typescript/module/src/modules/helpers/utils/safe-json-parse.d.ts +0 -2
  2647. package/lib/typescript/module/src/modules/helpers/utils/safe-json-parse.d.ts.map +0 -1
  2648. package/lib/typescript/module/src/modules/questionnaire-response-form/types/questionnaire-props.d.ts +0 -8
  2649. package/lib/typescript/module/src/modules/questionnaire-response-form/types/questionnaire-props.d.ts.map +0 -1
  2650. package/lib/typescript/module/src/modules/questionnaire-response-form/types/questionnaire.d.ts +0 -14
  2651. package/lib/typescript/module/src/modules/questionnaire-response-form/types/questionnaire.d.ts.map +0 -1
  2652. package/lib/typescript/module/src/modules/tile/types/measurement-icon-props.d.ts +0 -4
  2653. package/lib/typescript/module/src/modules/tile/types/measurement-icon-props.d.ts.map +0 -1
  2654. package/lib/typescript/module/src/modules/tile/types/tile-list-props.d.ts +0 -4
  2655. package/lib/typescript/module/src/modules/tile/types/tile-list-props.d.ts.map +0 -1
  2656. /package/lib/commonjs/modules/auth/{register/types → types}/form-inputs-props.js +0 -0
  2657. /package/lib/module/modules/auth/{register/types → types}/form-inputs-props.js +0 -0
  2658. /package/lib/typescript/commonjs/src/modules/auth/{register/types → types}/form-inputs-props.d.ts +0 -0
  2659. /package/lib/typescript/module/src/modules/auth/{register/types → types}/form-inputs-props.d.ts +0 -0
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- import { FrameReadStatus } from "../../../types/frame-read-status.js";
3
+ import { complete, corrupt, incomplete, noFrameStart } from "../../../utils/frame-read-results.js";
4
4
  import { hexToByte } from "../../../utils/hex-to-byte.js";
5
5
  const START = "aa";
6
6
  const DEVICE_TYPE = "01";
@@ -14,31 +14,18 @@ class AojFrameReader {
14
14
  readFrame(buffer) {
15
15
  const start = this.findStart(buffer);
16
16
  if (start < 0) {
17
- return {
18
- status: FrameReadStatus.INCOMPLETE,
19
- consumedBytes: Math.max(0, buffer.length - 1)
20
- };
17
+ return noFrameStart(buffer);
21
18
  }
22
19
  const payloadLength = hexToByte(buffer[start + LENGTH_INDEX] ?? "00");
23
20
  const frameLength = HEADER_BYTES + payloadLength + CHECKSUM_BYTES;
24
21
  if (start + frameLength > buffer.length) {
25
- return {
26
- status: FrameReadStatus.INCOMPLETE,
27
- consumedBytes: start
28
- };
22
+ return incomplete(start);
29
23
  }
30
24
  const frame = buffer.slice(start, start + frameLength);
31
25
  if (!this.hasValidChecksum(frame)) {
32
- return {
33
- status: FrameReadStatus.CORRUPT,
34
- consumedBytes: start + 2
35
- };
26
+ return corrupt(start + 2);
36
27
  }
37
- return {
38
- status: FrameReadStatus.COMPLETE,
39
- consumedBytes: start + frameLength,
40
- frame
41
- };
28
+ return complete(frame, start + frameLength);
42
29
  }
43
30
  findStart(buffer) {
44
31
  for (let index = 0; index + 1 < buffer.length; index++) {
@@ -1 +1 @@
1
- {"version":3,"names":["FrameReadStatus","hexToByte","START","DEVICE_TYPE","COMMAND_INDEX","LENGTH_INDEX","HEADER_BYTES","CHECKSUM_BYTES","AojFrameReader","readFrame","buffer","start","findStart","status","INCOMPLETE","consumedBytes","Math","max","length","payloadLength","frameLength","frame","slice","hasValidChecksum","CORRUPT","COMPLETE","index","toLowerCase","checksumIndex","checksum","aojCommandByte"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/aoj/aoj.frame-reader.ts"],"mappings":";;AACA,SAASA,eAAe,QAAQ,qCAAkC;AAElE,SAASC,SAAS,QAAQ,+BAA4B;AAEtD,MAAMC,KAAK,GAAG,IAAI;AAClB,MAAMC,WAAW,GAAG,IAAI;AACxB,MAAMC,aAAa,GAAG,CAAC;AACvB,MAAMC,YAAY,GAAG,CAAC;AACtB,M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gB,KAAK,CAAC,EAAEC,WAAW,CAAC,CAAC,KAAKzB,KAAK,IACtCQ,MAAM,CAACgB,KAAK,GAAG,CAAC,CAAC,EAAEC,WAAW,CAAC,CAAC,KAAKxB,WAAW,EAChD;QACA,OAAOuB,KAAK;MACd;IACF;IAEA,OAAO,CAAC,CAAC;EACX;EAEQH,gBAAgBA,CAACF,KAAwB,EAAW;IAC1D,MAAMO,aAAa,GAAGP,KAAK,CAACH,MAAM,GAAGX,cAAc;IACnD,IAAIsB,QAAQ,GAAG,CAAC;IAEhB,KAAK,IAAIH,KAAK,GAAG,CAAC,EAAEA,KAAK,GAAGE,aAAa,EAAEF,KAAK,EAAE,EAAE;MAClDG,QAAQ,IAAI5B,SAAS,CAACoB,KAAK,CAACK,KAAK,CAAC,IAAI,IAAI,CAAC;IAC7C;IAEA,OAAOG,QAAQ,KAAK5B,SAAS,CAACoB,KAAK,CAACO,aAAa,CAAC,IAAI,IAAI,CAAC;EAC7D;AACF;AAEA,MAAME,cAAc,GAAIT,KAAwB,IAC9CpB,SAAS,CAACoB,KAAK,CAACjB,aAAa,CAAC,IAAI,IAAI,CAAC;AAEzC,SAASI,cAAc,EAAEsB,cAAc","ignoreList":[]}
1
+ {"version":3,"names":["complete","corrupt","incomplete","noFrameStart","hexToByte","START","DEVICE_TYPE","COMMAND_INDEX","LENGTH_INDEX","HEADER_BYTES","CHECKSUM_BYTES","AojFrameReader","readFrame","buffer","start","findStart","payloadLength","frameLength","length","frame","slice","hasValidChecksum","index","toLowerCase","checksumIndex","checksum","aojCommandByte"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/aoj/aoj.frame-reader.ts"],"mappings":";;AAEA,SAASA,QAAQ,EAAEC,OAAO,EAAEC,UAAU,EAAEC,YAAY,QAAQ,sCAAmC;AAC/F,SAASC,SAAS,QAAQ,+BAA4B;AAEtD,MAAMC,KAAK,GAAG,IAAI;AAClB,MAAMC,WAAW,GAAG,IAAI;AACxB,MAAMC,aAAa,GAA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EQD,gBAAgBA,CAACF,KAAwB,EAAW;IAC1D,MAAMK,aAAa,GAAGL,KAAK,CAACD,MAAM,GAAGR,cAAc;IACnD,IAAIe,QAAQ,GAAG,CAAC;IAEhB,KAAK,IAAIH,KAAK,GAAG,CAAC,EAAEA,KAAK,GAAGE,aAAa,EAAEF,KAAK,EAAE,EAAE;MAClDG,QAAQ,IAAIrB,SAAS,CAACe,KAAK,CAACG,KAAK,CAAC,IAAI,IAAI,CAAC;IAC7C;IAEA,OAAOG,QAAQ,KAAKrB,SAAS,CAACe,KAAK,CAACK,aAAa,CAAC,IAAI,IAAI,CAAC;EAC7D;AACF;AAEA,MAAME,cAAc,GAAIP,KAAwB,IAC9Cf,SAAS,CAACe,KAAK,CAACZ,aAAa,CAAC,IAAI,IAAI,CAAC;AAEzC,SAASI,cAAc,EAAEe,cAAc","ignoreList":[]}
@@ -26,7 +26,6 @@ const RX = {
26
26
  };
27
27
  const RECORD_FLAGS_INDEX = 1;
28
28
  const RECORD_LAST_OF_SET_BIT = 0x40;
29
- const asHex = byte => (byte & 0xff).toString(16).padStart(2, "0");
30
29
  const bc401Checksum = bytes => bytes.reduce((acc, byte) => acc + (byte & 0x7f), 0) & 0x7f;
31
30
  const bc401ChecksumMatches = bytes => bytes.length > 1 && bytes[bytes.length - 1] === bc401Checksum(bytes.slice(0, -1));
32
31
  const buildCommand = (opcode, arg) => [opcode, arg, bc401Checksum([opcode, arg])];
@@ -54,5 +53,5 @@ const buildSetTimeCommand = (now, timezone = "local") => {
54
53
  return [...payload, bc401Checksum(payload)];
55
54
  };
56
55
  const buildDeleteCommand = () => [0x93, 0x13];
57
- export { ACK_LAST_OF_SET, asHex, bc401Checksum, bc401ChecksumMatches, buildCommand, buildDeleteCommand, buildRequestVersionCommand, buildResetCommand, buildSetTimeCommand, FINAL_RECORD_DELAY_MS, OP_REQUEST_COUNT, OP_REQUEST_QUANTITATIVE_RECORDS, OP_REQUEST_RECORDS, RECORD_FLAGS_INDEX, RECORD_LAST_OF_SET_BIT, REQUEST_ALL, REQUEST_NEXT_RECORD_GROUP, RESET_DELAY_MS, RETRY_RECORD_GROUP, RX };
56
+ export { ACK_LAST_OF_SET, bc401Checksum, bc401ChecksumMatches, buildCommand, buildDeleteCommand, buildRequestVersionCommand, buildResetCommand, buildSetTimeCommand, FINAL_RECORD_DELAY_MS, OP_REQUEST_COUNT, OP_REQUEST_QUANTITATIVE_RECORDS, OP_REQUEST_RECORDS, RECORD_FLAGS_INDEX, RECORD_LAST_OF_SET_BIT, REQUEST_ALL, REQUEST_NEXT_RECORD_GROUP, RESET_DELAY_MS, RETRY_RECORD_GROUP, RX };
58
57
  //# sourceMappingURL=bc01-command-builders.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["OP_RESET","OP_REQUEST_VERSION","OP_SET_TIME","OP_REQUEST_COUNT","OP_REQUEST_RECORDS","OP_REQUEST_QUANTITATIVE_RECORDS","ACK_LAST_OF_SET","REQUEST_ALL","REQUEST_NEXT_RECORD_GROUP","RETRY_RECORD_GROUP","FINAL_RECORD_DELAY_MS","RESET_DELAY_MS","RX","ACK","VERSION_REPLY","TIME_SYNC_ACK","COUNT_REPLY","STORED_RECORD_URS","STORED_RECORD_PAGED","FINISH","STORED_QUANTITATIVE","STORED_QUANTITATIVE_PAGED","RECORD_FLAGS_INDEX","RECORD_LAST_OF_SET_BIT","asHex","byte","toString","padStart","bc401Checksum","bytes","reduce","acc","bc401ChecksumMatches","length","slice","buildCommand","opcode","arg","buildResetCommand","buildRequestVersionCommand","buildSetTimeCommand","now","timezone","parts","year","getUTCFullYear","month","getUTCMonth","day","getUTCDate","hours","getUTCHours","minutes","getUTCMinutes","seconds","getUTCSeconds","milliseconds","getUTCMilliseconds","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","getMilliseconds","payload","buildDeleteCommand"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/bc01/bc01-command-builders.ts"],"mappings":";;AAAA;AACA,MAAMA,QAAQ,GAAG,IAA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,OAAO,GAAG,CACd/D,WAAW,EACXyC,KAAK,CAACC,IAAI,GAAG,IAAI,EACjBD,KAAK,CAACG,KAAK,EACXH,KAAK,CAACK,GAAG,EACTL,KAAK,CAACO,KAAK,EACXP,KAAK,CAACS,OAAO,EACbT,KAAK,CAACW,OAAO,EACbX,KAAK,CAACa,YAAY,GAAG,IAAI,EACxBb,KAAK,CAACa,YAAY,IAAI,CAAC,GAAI,IAAI,CACjC;EAED,OAAO,CAAC,GAAGS,OAAO,EAAErC,aAAa,CAACqC,OAAO,CAAC,CAAC;AAC7C,CAAC;AAED,MAAMC,kBAAkB,GAAGA,CAAA,KAAgB,CAAC,IAAI,EAAE,IAAI,CAAC;AAEvD,SACE5D,eAAe,EACfkB,KAAK,EACLI,aAAa,EACbI,oBAAoB,EACpBG,YAAY,EACZ+B,kBAAkB,EAClB3B,0BAA0B,EAC1BD,iBAAiB,EACjBE,mBAAmB,EACnB9B,qBAAqB,EACrBP,gBAAgB,EAChBE,+BAA+B,EAC/BD,kBAAkB,EAClBkB,kBAAkB,EAClBC,sBAAsB,EACtBhB,WAAW,EACXC,yBAAyB,EACzBG,cAAc,EACdF,kBAAkB,EAClBG,EAAE","ignoreList":[]}
1
+ {"version":3,"names":["OP_RESET","OP_REQUEST_VERSION","OP_SET_TIME","OP_REQUEST_COUNT","OP_REQUEST_RECORDS","OP_REQUEST_QUANTITATIVE_RECORDS","ACK_LAST_OF_SET","REQUEST_ALL","REQUEST_NEXT_RECORD_GROUP","RETRY_RECORD_GROUP","FINAL_RECORD_DELAY_MS","RESET_DELAY_MS","RX","ACK","VERSION_REPLY","TIME_SYNC_ACK","COUNT_REPLY","STORED_RECORD_URS","STORED_RECORD_PAGED","FINISH","STORED_QUANTITATIVE","STORED_QUANTITATIVE_PAGED","RECORD_FLAGS_INDEX","RECORD_LAST_OF_SET_BIT","bc401Checksum","bytes","reduce","acc","byte","bc401ChecksumMatches","length","slice","buildCommand","opcode","arg","buildResetCommand","buildRequestVersionCommand","buildSetTimeCommand","now","timezone","parts","year","getUTCFullYear","month","getUTCMonth","day","getUTCDate","hours","getUTCHours","minutes","getUTCMinutes","seconds","getUTCSeconds","milliseconds","getUTCMilliseconds","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","getMilliseconds","payload","buildDeleteCommand"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/bc01/bc01-command-builders.ts"],"mappings":";;AAAA;AACA,MAAMA,QAAQ,GAAG,IAAI;AACrB,MAAMC,kBAAkB,GAAG,IAAI;AAC/B,MAAMC,WAAW,GAAG,IAAI;AACxB,MAAMC,gBAAgB,GAAG,IAAI;AAC7B,MAAMC,kBAAkB,GAAG,IAAI;AAC/B,MAAMC,+BAA+B,GAAG,IAAI;AAE5C,MAAMC,eAAe,GAAG,IAAI;AAC5B,MAAMC,WAAW,GAAG,IAAI;AACxB,MAAMC,yBAAyB,GAAG,IAAI;AACtC,MAAMC,kBAAkB,GAAG,IAAI;AAC/B,MAAMC,qBAAqB,GAAG,GAAG;AACjC,MAAMC,cAAc,GAAG,GAAG;AAE1B,MAAMC,EAAE,GAAG;EACTC,GAAG,EAAE,IAAI;EACTC,aAAa,EAAE,IAAI;EACnBC,aAAa,EAAE,IAAI;EACnBC,WAAW,EAAE,IAAI;EACjBC,iBAAiB,EAAE,IAAI;EACvBC,mBAAmB,EAAE,IAAI;EACzBC,MAAM,EAAE,IAAI;EACZC,mBAAmB,EAAE,IAAI;EACzBC,yBAAyB,EAAE;AAC7B,CAAU;AAEV,MAAMC,kBAAkB,GAAG,CAAC;AAC5B,MAAMC,sBAAsB,GAAG,IAAI;AAEnC,MAAMC,aAAa,GAAIC,KAAwB,IAC7CA,KAAK,CAACC,MAAM,CAAC,CAACC,GAAG,EAAEC,IAAI,KAAKD,GAAG,IAAIC,IAAI,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI;AAE5D,MAAMC,oBAAoB,GAAIJ,KAAwB,IACpDA,KAAK,CAACK,MAAM,GAA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,CAACqB,UAAU,CAAC,CAAC;IACzBR,OAAO,EAAEb,GAAG,CAACsB,UAAU,CAAC,CAAC;IAC3BP,YAAY,EAAEf,GAAG,CAACuB,eAAe,CAAC;EACpC,CAAC;EAEL,MAAMC,OAAO,GAAG,CACd5D,WAAW,EACXsC,KAAK,CAACC,IAAI,GAAG,IAAI,EACjBD,KAAK,CAACG,KAAK,EACXH,KAAK,CAACK,GAAG,EACTL,KAAK,CAACO,KAAK,EACXP,KAAK,CAACS,OAAO,EACbT,KAAK,CAACW,OAAO,EACbX,KAAK,CAACa,YAAY,GAAG,IAAI,EACxBb,KAAK,CAACa,YAAY,IAAI,CAAC,GAAI,IAAI,CACjC;EAED,OAAO,CAAC,GAAGS,OAAO,EAAEtC,aAAa,CAACsC,OAAO,CAAC,CAAC;AAC7C,CAAC;AAED,MAAMC,kBAAkB,GAAGA,CAAA,KAAgB,CAAC,IAAI,EAAE,IAAI,CAAC;AAEvD,SACEzD,eAAe,EACfkB,aAAa,EACbK,oBAAoB,EACpBG,YAAY,EACZ+B,kBAAkB,EAClB3B,0BAA0B,EAC1BD,iBAAiB,EACjBE,mBAAmB,EACnB3B,qBAAqB,EACrBP,gBAAgB,EAChBE,+BAA+B,EAC/BD,kBAAkB,EAClBkB,kBAAkB,EAClBC,sBAAsB,EACtBhB,WAAW,EACXC,yBAAyB,EACzBG,cAAc,EACdF,kBAAkB,EAClBG,EAAE","ignoreList":[]}
@@ -3,8 +3,9 @@
3
3
  /* eslint-disable max-lines */
4
4
 
5
5
  import { isClockSyncEnabled } from "../../../types/clock-sync.js";
6
+ import { byteToHex } from "../../../utils/bytes-to-hex.js";
6
7
  import { hexToByte } from "../../../utils/hex-to-byte.js";
7
- import { ACK_LAST_OF_SET, asHex, bc401Checksum, bc401ChecksumMatches, buildCommand, buildDeleteCommand, buildRequestVersionCommand, buildResetCommand, buildSetTimeCommand, FINAL_RECORD_DELAY_MS, OP_REQUEST_COUNT, OP_REQUEST_QUANTITATIVE_RECORDS, OP_REQUEST_RECORDS, RECORD_FLAGS_INDEX, RECORD_LAST_OF_SET_BIT, REQUEST_ALL, REQUEST_NEXT_RECORD_GROUP, RESET_DELAY_MS, RETRY_RECORD_GROUP, RX } from "./bc01-command-builders.js";
8
+ import { ACK_LAST_OF_SET, bc401Checksum, bc401ChecksumMatches, buildCommand, buildDeleteCommand, buildRequestVersionCommand, buildResetCommand, buildSetTimeCommand, FINAL_RECORD_DELAY_MS, OP_REQUEST_COUNT, OP_REQUEST_QUANTITATIVE_RECORDS, OP_REQUEST_RECORDS, RECORD_FLAGS_INDEX, RECORD_LAST_OF_SET_BIT, REQUEST_ALL, REQUEST_NEXT_RECORD_GROUP, RESET_DELAY_MS, RETRY_RECORD_GROUP, RX } from "./bc01-command-builders.js";
8
9
  /**
9
10
  * Walks the BC401 through its post-reset handshake and pulls every stored
10
11
  * record.
@@ -45,7 +46,7 @@ export class Bc01CommandSequencer {
45
46
  }
46
47
  const opcode = hexToByte(frame[0] ?? "0");
47
48
  if (!bc401ChecksumMatches(frame.map(hexToByte))) {
48
- this.params.onError?.(`BC401 checksum failed for frame ${asHex(opcode)}`);
49
+ this.params.onError?.(`BC401 checksum failed for frame ${byteToHex(opcode)}`);
49
50
  if (opcode === RX.STORED_RECORD_PAGED) {
50
51
  this.standardPage = 10;
51
52
  return [this.commandFor(buildCommand(OP_REQUEST_RECORDS, RETRY_RECORD_GROUP))];
@@ -141,7 +142,7 @@ export class Bc01CommandSequencer {
141
142
  };
142
143
  commandFor = (bytes, delayBeforeWriteMs = 0) => ({
143
144
  ...this.params.write,
144
- frame: bytes.map(asHex),
145
+ frame: bytes.map(byteToHex),
145
146
  delayBeforeWriteMs
146
147
  });
147
148
  }
@@ -1 +1 @@
1
- {"version":3,"names":["isClockSyncEnabled","hexToByte","ACK_LAST_OF_SET","asHex","bc401Checksum","bc401ChecksumMatches","buildCommand","buildDeleteCommand","buildRequestVersionCommand","buildResetCommand","buildSetTimeCommand","FINAL_RECORD_DELAY_MS","OP_REQUEST_COUNT","OP_REQUEST_QUANTITATIVE_RECORDS","OP_REQUEST_RECORDS","RECORD_FLAGS_INDEX","RECORD_LAST_OF_SET_BIT","REQUEST_ALL","REQUEST_NEXT_RECORD_GROUP","RESET_DELAY_MS","RETRY_RECORD_GROUP","RX","Bc01CommandSequencer","isDone","standardPage","quantitativePage","sawQuantitativeRecord","constructor","params","clock","clockSync","now","Date","initialCommands","commandFor","nextCommand","frame","length","undefined","opcode","map","onError","STORED_RECORD_PAGED","STORED_QUANTITATIVE_PAGED","ACK","VERSION_REPLY","timezone","TIME_SYNC_ACK","COUNT_REPLY","STORED_RECORD_URS","answerStoredRecord","STORED_QUANTITATIVE","answerQuantitativeRecord","FINISH","flags","finishStoredRecords","page","clearDeviceHistory","bytes","delayBeforeWriteMs","write","bc01CommandSequencerInternals"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/bc01/bc01-command-sequencer.ts"],"mappings":";;AAAA;;AAEA,SAEEA,kBAAkB,QACb,8BAA2B;AAGlC,SAASC,SAAS,QAAQ,+BAA4B;AAEtD,SACEC,eAAe,EACfC,KAAK,EACLC,aAAa,EACbC,oBAAoB,EACpBC,YAAY,EACZC,kBAAkB,EAClBC,0BAA0B,EAC1BC,iBAAiB,EACjBC,mBAAmB,EACnBC,qBAAqB,EACrBC,gBAAgB,EAChBC,+BAA+B,EAC/BC,kBAAkB,EAClBC,kBAAkB,EAClBC,sBAAsB,EACtBC,WAAW,EACXC,yBAAyB,EACzBC,cAAc,EACdC,kBAAkB,EAClBC,EAAE,QACG,4BAAyB;AAahC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,oBAAoB,CAA6B;EACpDC,MAAM,GAAG,KAAK;;EAEtB;EACQC,YAAY,GAAG,EAAE;;EAEzB;EACQC,gBAAgB,GAAG,CAAC;EAEpBC,qBAAqB,GAAG,KAAK;;EAErC;;EAGOC,WAAWA,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AAe,CAAC,CAAC,EAClE,IAAI,IAAI,CAAC0B,MAAM,CAAC6B,kBAAkB,IAAI,CAAC,IAAI,CAAC/B,qBAAqB,GAC7D,CAAC,IAAI,CAACQ,UAAU,CAAC3B,kBAAkB,CAAC,CAAC,EAAEI,qBAAqB,CAAC,CAAC,GAC9D,EAAE,CAAC,CACR;EACH,CAAC;EAEOuB,UAAU,GAAGA,CACnBwB,KAAwB,EACxBC,kBAAkB,GAAG,CAAC,MACH;IACnB,GAAG,IAAI,CAAC/B,MAAM,CAACgC,KAAK;IACpBxB,KAAK,EAAEsB,KAAK,CAAClB,GAAG,CAACrC,KAAK,CAAC;IACvBwD;EACF,CAAC,CAAC;AACJ;;AAEA;AACA,OAAO,MAAME,6BAA6B,GAAG;EAC3CzD,aAAa;EACbE,YAAY;EACZG,iBAAiB;EACjBD,0BAA0B;EAC1BE;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["isClockSyncEnabled","byteToHex","hexToByte","ACK_LAST_OF_SET","bc401Checksum","bc401ChecksumMatches","buildCommand","buildDeleteCommand","buildRequestVersionCommand","buildResetCommand","buildSetTimeCommand","FINAL_RECORD_DELAY_MS","OP_REQUEST_COUNT","OP_REQUEST_QUANTITATIVE_RECORDS","OP_REQUEST_RECORDS","RECORD_FLAGS_INDEX","RECORD_LAST_OF_SET_BIT","REQUEST_ALL","REQUEST_NEXT_RECORD_GROUP","RESET_DELAY_MS","RETRY_RECORD_GROUP","RX","Bc01CommandSequencer","isDone","standardPage","quantitativePage","sawQuantitativeRecord","constructor","params","clock","clockSync","now","Date","initialCommands","commandFor","nextCommand","frame","length","undefined","opcode","map","onError","STORED_RECORD_PAGED","STORED_QUANTITATIVE_PAGED","ACK","VERSION_REPLY","timezone","TIME_SYNC_ACK","COUNT_REPLY","STORED_RECORD_URS","answerStoredRecord","STORED_QUANTITATIVE","answerQuantitativeRecord","FINISH","flags","finishStoredRecords","page","clearDeviceHistory","bytes","delayBeforeWriteMs","write","bc01CommandSequencerInternals"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/bc01/bc01-command-sequencer.ts"],"mappings":";;AAAA;;AAEA,SAEEA,kBAAkB,QACb,8BAA2B;AAGlC,SAASC,SAAS,QAAQ,gCAA6B;AACvD,SAASC,SAAS,QAAQ,+BAA4B;AAEtD,SACEC,eAAe,EACfC,aAAa,EACbC,oBAAoB,EACpBC,YAAY,EACZC,kBAAkB,EAClBC,0BAA0B,EAC1BC,iBAAiB,EACjBC,mBAAmB,EACnBC,qBAAqB,EACrBC,gBAAgB,EAChBC,+BAA+B,EAC/BC,kBAAkB,EAClBC,kBAAkB,EAClBC,sBAAsB,EACtBC,WAAW,EACXC,yBAAyB,EACzBC,cAAc,EACdC,kBAAkB,EAClBC,EAAE,QACG,4BAAyB;AAahC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,oBAAoB,CAA6B;EACpDC,MAAM,GAAG,KAAK;;EAEtB;EACQC,YAAY,GAAG,EAAE;;EAEzB;EACQC,gBAAgB,GAAG,CAAC;EAEpBC,qBAAqB,GAAG,KAAK;;EAErC;;EAGOC,WAAWA,CACCC,MAA2B,EAC5CC,KAAkB,EAClB;IAAA,KAFiBD,MAA2B,GAA3BA,MAA2B;IAG5C,IAAI,CAACC,KAAK,GAAGA,KAAK,IAAID,MAAM,CAACE,SAAS,EAAEC,GAAG,KAAK,MAAM,IAAIC,IAAI,CAAC,CAAC,CAAC;EACnE;EAEOC,eAAe,GAAGA,CAAA,KAAgC,CACvD,IAAI,CAACC,UAAU,CAACzB,iBAAiB,CAAC,CAAC,EAAEU,cAAc,CAAC,CACrD;EAEMgB,WAAW,GAChBC,KAAwB,IACiB;IACzC,IAAI,IAAI,CAACb,MAAM,IAAIa,KAAK,CAACC,MAAM,KAAK,CAAC,EAAE;MACrC,OAAOC,SAAS;IAClB;IAEA,MAAMC,MAAM,GAAGrC,SAAS,CAACkC,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Aa;EACbE,YAAY;EACZG,iBAAiB;EACjBD,0BAA0B;EAC1BE;AACF,CAAC","ignoreList":[]}
@@ -104,9 +104,7 @@ export class BC01Device extends BTManagedDevice {
104
104
  * their second-resolution device timestamp for this transfer because a
105
105
  * paged-group retry resends the earlier frames.
106
106
  */
107
- handleSuccessResult() {
108
- return;
109
- }
107
+
110
108
  reportUrsRecord(frame) {
111
109
  const parsed = parseBc01Record(frame);
112
110
  if (!parsed) {
@@ -1 +1 @@
1
- {"version":3,"names":["MeasurementTypeKey","CaseType","hexToByte","BTManagedDevice","Bc01CommandSequencer","BC01_ANALYTE_ORDER","parseBc01Record","Bc01FrameReader","bc01FrameLengths","bc01MainServices","BC01Device","onStreamStart","reportedTimestamps","clear","Set","mainServices","frameReader","stuckDataTimeout","constructor","device","params","createCommandSequencer","write","serviceUuid","uuid","characteristicUuid","writeUuid","onError","reason","Error","clockSync","clearDeviceHistory","now","validatePackage","pkg","length","opcode","minLength","toString","padStart","undefined","handleDependentResult","data","frame","reportUrsRecord","parsingCase","caseType","OTHER","handleSuccessResult","parsed","measuredValues","reduce","acc","analyte","value","values","Object","keys","timestamp","getTime","has","add","reading","RESULT","measurementTypeKey","uricAcid","urineValues","recordedAt","onResult"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/bc01/bc01.device.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAiC,YAAY;AAGxE,SAASC,QAAQ,QAAQ,6BAA0B;AAQnD,SAASC,SAAS,QAAQ,+BAA4B;AACtD,SAASC,eAAe,QAAQ,yBAAsB;AAEtD,SAASC,oBAAoB,QAAQ,6BAA0B;AAC/D,SAASC,kBAAkB,EAAEC,eAAe,QAAQ,wBAAqB;AACzE,SAASC,eAAe,EAAEC,gBAAgB,QAAQ,wBAAqB;AACvE,SAASC,gBAAgB,QAAQ,yBAAsB;;AAEvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,UAAU,SAASP,eAAe,C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I,IAAI,CAAC/C,kBAAkB,CAACgD,GAAG,CAACF,SAAS,CAAC,EAAE;MAC1C;IACF;IAEA,IAAI,CAAC9C,kBAAkB,CAACiD,GAAG,CAACH,SAAS,CAAC;IAEtC,MAAMI,OAAO,GAAG;MACdhB,QAAQ,EAAE7C,QAAQ,CAAC8D,MAAM;MACzBC,kBAAkB,EAAEhE,kBAAkB,CAACiE,QAAQ;MAC/CC,WAAW,EAAE,EAAE;MACfC,UAAU,EAAElB,MAAM,CAACS,SAAS;MAC5B,GAAGR;IACL,CAEC;IAED,IAAI,CAACkB,QAAQ,GAAGN,OAAO,CAAC;EAC1B;AACF","ignoreList":[]}
1
+ {"version":3,"names":["MeasurementTypeKey","CaseType","hexToByte","BTManagedDevice","Bc01CommandSequencer","BC01_ANALYTE_ORDER","parseBc01Record","Bc01FrameReader","bc01FrameLengths","bc01MainServices","BC01Device","onStreamStart","reportedTimestamps","clear","Set","mainServices","frameReader","stuckDataTimeout","constructor","device","params","createCommandSequencer","write","serviceUuid","uuid","characteristicUuid","writeUuid","onError","reason","Error","clockSync","clearDeviceHistory","now","validatePackage","pkg","length","opcode","minLength","toString","padStart","undefined","handleDependentResult","data","frame","reportUrsRecord","parsingCase","caseType","OTHER","parsed","measuredValues","reduce","acc","analyte","value","values","Object","keys","timestamp","getTime","has","add","reading","RESULT","measurementTypeKey","uricAcid","urineValues","recordedAt","onResult"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/bc01/bc01.device.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAiC,YAAY;AAGxE,SAASC,QAAQ,QAAQ,6BAA0B;AAQnD,SAASC,SAAS,QAAQ,+BAA4B;AACtD,SAASC,eAAe,QAAQ,yBAAsB;AAEtD,SAASC,oBAAoB,QAAQ,6BAA0B;AAC/D,SAASC,kBAAkB,EAAEC,eAAe,QAAQ,wBAAqB;AACzE,SAASC,eAAe,EAAEC,gBAAgB,QAAQ,wBAAqB;AACvE,SAASC,gBAAgB,QAA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GAAGT,MAAM,CAACS,SAAS,CAACC,OAAO,CAAC,CAAC;IAE5C,IAAI,IAAI,CAAC9C,kBAAkB,CAAC+C,GAAG,CAACF,SAAS,CAAC,EAAE;MAC1C;IACF;IAEA,IAAI,CAAC7C,kBAAkB,CAACgD,GAAG,CAACH,SAAS,CAAC;IAEtC,MAAMI,OAAO,GAAG;MACdf,QAAQ,EAAE7C,QAAQ,CAAC6D,MAAM;MACzBC,kBAAkB,EAAE/D,kBAAkB,CAACgE,QAAQ;MAC/CC,WAAW,EAAE,EAAE;MACfC,UAAU,EAAElB,MAAM,CAACS,SAAS;MAC5B,GAAGR;IACL,CAEC;IAED,IAAI,CAACkB,QAAQ,GAAGN,OAAO,CAAC;EAC1B;AACF","ignoreList":[]}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
 
3
- import { FrameReadStatus } from "../../../types/frame-read-status.js";
3
+ import { complete, incomplete } from "../../../utils/frame-read-results.js";
4
+
4
5
  /** Fixed BC401 reply lengths, keyed by the first byte of each PHMS frame. */
5
6
  const BC01_FRAME_LENGTHS = {
6
7
  f0: 2,
@@ -26,30 +27,17 @@ class Bc01FrameReader {
26
27
  readFrame(buffer) {
27
28
  const start = buffer.findIndex(byte => Object.prototype.hasOwnProperty.call(BC01_FRAME_LENGTHS, lower(byte)));
28
29
  if (start === -1) {
29
- return {
30
- status: FrameReadStatus.INCOMPLETE,
31
- consumedBytes: buffer.length
32
- };
30
+ return incomplete(buffer.length);
33
31
  }
34
32
  const opcode = lower(buffer[start]);
35
33
  const length = BC01_FRAME_LENGTHS[opcode];
36
34
  if (length === undefined) {
37
- return {
38
- status: FrameReadStatus.INCOMPLETE,
39
- consumedBytes: start + 1
40
- };
35
+ return incomplete(start + 1);
41
36
  }
42
37
  if (start + length > buffer.length) {
43
- return {
44
- status: FrameReadStatus.INCOMPLETE,
45
- consumedBytes: start
46
- };
38
+ return incomplete(start);
47
39
  }
48
- return {
49
- status: FrameReadStatus.COMPLETE,
50
- consumedBytes: start + length,
51
- frame: buffer.slice(start, start + length)
52
- };
40
+ return complete(buffer.slice(start, start + length), start + length);
53
41
  }
54
42
  }
55
43
  export { Bc01FrameReader, BC01_FRAME_LENGTHS as bc01FrameLengths };
@@ -1 +1 @@
1
- {"version":3,"names":["FrameReadStatus","BC01_FRAME_LENGTHS","f0","f2","f3","e0","e1","e2","e3","e4","e5","lower","byte","toLowerCase","Bc01FrameReader","readFrame","buffer","start","findIndex","Object","prototype","hasOwnProperty","call","status","INCOMPLETE","consumedBytes","length","opcode","undefined","COMPLETE","frame","slice","bc01FrameLengths"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/bc01/bc01.frame-reader.ts"],"mappings":";;AACA,SAASA,eAAe,QAAQ,qCAAkC;AAGlE;AACA,MAAMC,kBAAoD,GAAG;EAC3DC,EAAE,EAAE,CAAC;EACLC,EAAE,EAAE,CAAC;EACLC,EAAE,EAAE,CAAC;EACLC,EAAE,EAAE,CAAC;EACLC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,CAAC;EACLC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE;AACN,CAAC;AAED,MAAMC,KAAK,GAAIC,IAAwB,IAAa,CAACA,IAAI,IAAI,EAAE,EAAEC,WAAW,CAAC,CAAC;;AAE9E;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,eAAe,CAAwB;EACpCC,SAASA,CAACC,MAAyB,EAAmB;IAC3D,MAAMC,KAAK,GAAGD,MAAM,CAACE,SAAS,CAAEN,IAAI,IAClCO,MAAM,CAACC,SAAS,CAACC,cAAc,CAACC,IAAI,CAACrB,kBAAkB,EAAEU,KAAK,CAACC,IAAI,CAAC,CACtE,CAAC;IAED,IAAIK,KAAK,KAAK,CAAC,CAAC,EAAE;MAChB,OAAO;QACLM,MAAM,EAAEvB,eAAe,CAACwB,UAAU;QAClCC,aAAa,EAAET,MAAM,CAACU;MACxB,CAAC;IACH;IAEA,MAAMC,MAAM,GAAGhB,KAAK,CAACK,MAAM,CAACC,KAAK,CAAC,CAAC;IACnC,MAAMS,MAAM,GAAGzB,kBAAkB,CAAC0B,MAAM,CAAC;IAEzC,IAAID,MAAM,KAAKE,SAAS,EAAE;MACxB,OAAO;QACLL,MAAM,EAAEvB,eAAe,CAACwB,UAAU;QAClCC,aAAa,EAAER,KAAK,GAAG;MACzB,CAAC;IACH;IAEA,IAAIA,KAAK,GAAGS,MAAM,GAAGV,MAAM,CAACU,MAAM,EAAE;MAClC,OAAO;QACLH,MAAM,EAAEvB,eAAe,CAACwB,UAAU;QAClCC,aAAa,EAAER;MACjB,CAAC;IACH;IAEA,OAAO;MACLM,MAAM,EAAEvB,eAAe,CAAC6B,QAAQ;MAChCJ,aAAa,EAAER,KAAK,GAAGS,MAAM;MAC7BI,KAAK,EAAEd,MAAM,CAACe,KAAK,CAACd,KAAK,EAAEA,KAAK,GAAGS,MAAM;IAC3C,CAAC;EACH;AACF;AAEA,SAASZ,eAAe,EAAEb,kBAAkB,IAAI+B,gBAAgB","ignoreList":[]}
1
+ {"version":3,"names":["complete","incomplete","BC01_FRAME_LENGTHS","f0","f2","f3","e0","e1","e2","e3","e4","e5","lower","byte","toLowerCase","Bc01FrameReader","readFrame","buffer","start","findIndex","Object","prototype","hasOwnProperty","call","length","opcode","undefined","slice","bc01FrameLengths"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/bc01/bc01.frame-reader.ts"],"mappings":";;AAEA,SAASA,QAAQ,EAAEC,UAAU,QAAQ,sCAAmC;;AAExE;AACA,MAAMC,kBAAoD,GAAG;EAC3DC,EAAE,EAAE,CAAC;EACLC,EAAE,EAAE,CAAC;EACLC,EAAE,EAAE,CAAC;EACLC,EAAE,EAAE,CAAC;EACLC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,CAAC;EACLC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE;AACN,CAAC;AAED,MAAMC,KAAK,GAAIC,IAAwB,IAAa,CAACA,IAAI,IAAI,EAAE,EAAEC,WAAW,CAAC,CAAC;;AAE9E;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,eAAe,CAAwB;EACpCC,SAASA,CAACC,MAAyB,EAAmB;IAC3D,MAAMC,KAAK,GAAGD,MAAM,CAACE,SAAS,CAAEN,IAAI,IAClCO,MAAM,CAACC,SAAS,CAACC,cAAc,CAACC,IAAI,CAACrB,kBAAkB,EAAEU,KAAK,CAACC,IAAI,CAAC,CACtE,CAAC;IAED,IAAIK,KAAK,KAAK,CAAC,CAAC,EAAE;MAChB,OAAOjB,UAAU,CAACgB,MAAM,CAACO,MAAM,CAAC;IAClC;IAEA,MAAMC,MAAM,GAAGb,KAAK,CAACK,MAAM,CAACC,KAAK,CAAC,CAAC;IACnC,MAAMM,MAAM,GAAGtB,kBAAkB,CAACuB,MAAM,CAAC;IAEzC,IAAID,MAAM,KAAKE,SAAS,EAAE;MACxB,OAAOzB,UAAU,CAACiB,KAAK,GAAG,CAAC,CAAC;IAC9B;IAEA,IAAIA,KAAK,GAAGM,MAAM,GAAGP,MAAM,CAACO,MAAM,EAAE;MAClC,OAAOvB,UAAU,CAACiB,KAAK,CAAC;IAC1B;IAEA,OAAOlB,QAAQ,CAACiB,MAAM,CAACU,KAAK,CAACT,KAAK,EAAEA,KAAK,GAAGM,MAAM,CAAC,EAAcN,KAAK,GAAGM,MAAM,CAAC;EAClF;AACF;AAEA,SAAST,eAAe,EAAEb,kBAAkB,IAAI0B,gBAAgB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["MeasurementTypeKey","CaseType","IntegratedDevices","hexToByte","BTManagedDevice","TAIDOC","TAIDOC_CHARACTERISTIC","TAIDOC_SERVICE","taidocCommand","isPatientGlucoseRecord","BGM_SERVICE","BGM_CHARACTERISTIC","GLUCOSE_REQUEST","readingResult","join","servicesFor","device","isBgm","BGM","uuid","monitorUuids","parsingModel","caseValuePosition","cases","GLUCOCHECK","map","caseValue","caseType","OTHER","parseDefinitions","measurementTypeKey","bloodGlucose","RESULT","name","parseType","byteIndexes","parseReference","customParserDefinition","value","slice","raw","parseInt","TAIDOC_GLUCOSE","Number","toFixed","writeUuid","mainCommandUuid","BloodGlucoseDevice","stuckDataTimeout","constructor","params","mainServices","deviceName","validatePackage","pkg","length","deviceData","handleSuccessResult","result","frame","onResult"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/blood-glucose/blood-glucose.device.ts"],"mappings":";;AAAA,SAAkCA,kBAAkB,QAAQ,YAAY;AAGxE,SAASC,QAAQ,QAAQ,6BAA0B;AAGnD,SAASC,iBAAiB,QAAQ,sCAAmC;AAGrE,SAASC,SAAS,QAAQ,+BAA4B;AACtD,SAASC,eAAe,QAAQ,yBAAsB;AACtD,SACEC,MAAM,EACNC,qBAAqB,EACrBC,cAAc,EACdC,aAAa,QACR,8BAA2B;AAClC,SAASC,sBAAsB,QAAQ,6BAA0B;AAEjE,MAAMC,WAAW,GAAG,sCAAsC;AAC1D,MAAMC,kBAAkB,GAAG,sCAAsC;AACjE,MAAMC,eAAe,GAAGJ,aAAa,CAACH,MAAM,CAACQ,aAAa,CAAC,CAACC,IAAI,CAAC,EAAE,CAAC;AAOpE,MAAMC,WAAW,GAAIC,MAAqB,IAAiB;EACzD,MAAMC,KAAK,GAAGD,MAAM,KAAKd,iBAAiB,CAACgB,GAAG;EAE9C,OAAO,CACL;IACEC,IAAI,EAAEF,KAAK,GAAGP,WAAW,GAAGH,cAAc;IAC1Ca,YAAY,EAAE,CACZ;MACED,IAAI,EAAEF,KAAK,GAAGN,kBAAkB,GAAGL,qBAAqB;MACxDe,YAAY,EAAE;QACZC,iBAAiB,EAAE,CAACL,KAAK,GAAG,CAAC,GAAG,CAAC,CAAC;QAClCM,KAAK,EAAE,CACL,GAAG,CAACN,KAAK,GACL,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,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;IACF,CAAC;EACP,CAAC,CACF;AACH,CAAC;;AAED;AACA,OAAO,MAAMmC,kBAAkB,SAAS3C,eAAe,CAAgB;EAE3D4C,gBAAgB,GAAG,MAAM;EAG5BC,WAAWA,CAChBjC,MAAc,EACdkC,MAAyC,EACzC;IACA,KAAK,CAAClC,MAAM,EAAEkC,MAAM,CAAC;IACrB,IAAI,CAACC,YAAY,GAAGpC,WAAW,CAACmC,MAAM,CAACE,UAAU,CAAC;EACpD;EAEUC,eAAe,GAAIC,GAAa,IACxCA,GAAG,CAACC,MAAM,KAAK,IAAI,CAACC,UAAU,CAACvB,IAAI,KAAK/B,iBAAiB,CAACgB,GAAG,GAAG,EAAE,GAAG,CAAC,CAAC;EAE/DuC,mBAAmBA,CAC3BC,MAA2E,EAC3EC,KAAe,EACT;IACN,IAAID,MAAM,CAAC/B,QAAQ,KAAK1B,QAAQ,CAAC+B,MAAM,IAAI0B,MAAM,CAAC3B,YAAY,KAAK,CAAC,EAAE;MACpE;IACF;;IAEA;IACA,IACE,IAAI,CAACyB,UAAU,CAACvB,IAAI,KAAK/B,iBAAiB,CAACgB,GAAG,IAC9C,CAACT,sBAAsB,CAACkD,KAAK,CAAC,EAC9B;MACA;IACF;IAEA,IAAI,CAACC,QAAQ,GAAGF,MAA0D,CAAC;EAC7E;AACF","ignoreList":[]}
1
+ {"version":3,"names":["MeasurementTypeKey","CaseType","IntegratedDevices","hexToByte","BTManagedDevice","TAIDOC","TAIDOC_CHARACTERISTIC","TAIDOC_SERVICE","taidocCommand","isPatientGlucoseRecord","BGM_SERVICE","BGM_CHARACTERISTIC","GLUCOSE_REQUEST","readingResult","join","servicesFor","device","isBgm","BGM","uuid","monitorUuids","parsingModel","caseValuePosition","cases","GLUCOCHECK","map","caseValue","caseType","OTHER","parseDefinitions","measurementTypeKey","bloodGlucose","RESULT","name","parseType","byteIndexes","parseReference","customParserDefinition","value","slice","raw","parseInt","TAIDOC_GLUCOSE","Number","toFixed","writeUuid","mainCommandUuid","BloodGlucoseDevice","stuckDataTimeout","constructor","params","mainServices","deviceName","validatePackage","pkg","length","deviceData","handleSuccessResult","result","frame","onResult"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/blood-glucose/blood-glucose.device.ts"],"mappings":";;AAAA,SAAkCA,kBAAkB,QAAQ,YAAY;AAGxE,SAASC,QAAQ,QAAQ,6BAA0B;AAGnD,SAASC,iBAAiB,QAAQ,sCAAmC;AAGrE,SAASC,SAAS,QAAQ,+BAA4B;AACtD,SAASC,eAAe,QAAQ,yBAAsB;AACtD,SACEC,MAAM,EACNC,qBAAqB,EACrBC,cAAc,EACdC,aAAa,QACR,8BAA2B;AAClC,SAASC,sBAAsB,QAAQ,6BAA0B;AAEjE,MAAMC,WAAW,GAAG,sCAAsC;AAC1D,MAAMC,kBAAkB,GAAG,sCAAsC;AACjE,MAAMC,eAAe,GAAGJ,aAAa,CAACH,MAAM,CAACQ,aAAa,CAAC,CAACC,IAAI,CAAC,EAAE,CAAC;AAOpE,MAAMC,WAAW,GAAIC,MAAqB,IAAiB;EACzD,MAAMC,KAAK,GAAGD,MAAM,KAAKd,iBAAiB,CAACgB,GAAG;EAE9C,OAAO,CACL;IACEC,IAAI,EAAEF,KAAK,GAAGP,WAAW,GAAGH,cAAc;IAC1Ca,YAAY,EAAE,CACZ;MACED,IAAI,EAAEF,KAAK,GAAGN,kBAAkB,GAAGL,qBAAqB;MACxDe,YAAY,EAAE;QACZC,iBAAiB,EAAE,CAACL,KAAK,GAAG,CAAC,GAAG,CAAC,CAAC;QAClCM,KAAK,EAAE,CACL,GAAG,CAACN,KAAK,GACL,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,GAChD,CAAC,IAAI,EAAE,IAAID,MAAM,KAAKd,iBAAiB,CAACsB,UAAU,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,EACpEC,GAAG,CAAE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AAc,EACdkC,MAAyC,EACzC;IACA,KAAK,CAAClC,MAAM,EAAEkC,MAAM,CAAC;IACrB,IAAI,CAACC,YAAY,GAAGpC,WAAW,CAACmC,MAAM,CAACE,UAAU,CAAC;EACpD;EAEUC,eAAe,GAAIC,GAAa,IACxCA,GAAG,CAACC,MAAM,KAAK,IAAI,CAACC,UAAU,CAACvB,IAAI,KAAK/B,iBAAiB,CAACgB,GAAG,GAAG,EAAE,GAAG,CAAC,CAAC;EAE/DuC,mBAAmBA,CAC3BC,MAA2E,EAC3EC,KAAe,EACT;IACN,IAAID,MAAM,CAAC/B,QAAQ,KAAK1B,QAAQ,CAAC+B,MAAM,IAAI0B,MAAM,CAAC3B,YAAY,KAAK,CAAC,EAAE;MACpE;IACF;;IAEA;IACA,IACE,IAAI,CAACyB,UAAU,CAACvB,IAAI,KAAK/B,iBAAiB,CAACgB,GAAG,IAC9C,CAACT,sBAAsB,CAACkD,KAAK,CAAC,EAC9B;MACA;IACF;IAEA,IAAI,CAACC,QAAQ,GAAGF,MAA0D,CAAC;EAC7E;AACF","ignoreList":[]}
@@ -6,6 +6,7 @@ import { MeasurementTypeKey, EcgDiagnosticFlag } from "@ovok/core";
6
6
  import { BloodPressureStates } from "@ovok/core/dist/client/observation/types/measurement/BloodPressureStates";
7
7
  import { sentryLogger } from "../../../../helpers/utils/sentry-logger.js";
8
8
  import { bloodPressureTranslatedExceptionMap } from "../../../constants/blood-pressure-translated-exception-map.js";
9
+ import { PREFERRED_MTU } from "../../../constants/preferred-mtu.js";
9
10
  import { CaseType } from "../../../types/case-type.js";
10
11
  import { DeviceStatus } from "../../../types/device-status.js";
11
12
  import { hexToByte } from "../../../utils/hex-to-byte.js";
@@ -22,8 +23,6 @@ import { bp2MainServices } from "./bp2.main-services.js";
22
23
  * Leaves a 244 byte payload, enough for an ECG waveform frame to arrive in far fewer
23
24
  * notifications than the 23 byte default allows.
24
25
  */
25
- const BP2_PREFERRED_MTU = 247;
26
-
27
26
  /** BP2 ECG waveform resolution from the device protocol. */
28
27
  const BP2_ECG_MILLIVOLTS_PER_COUNT = 0.003098;
29
28
  const BP2_ECG_SAMPLES_PER_SECOND = 250;
@@ -78,7 +77,7 @@ class BP2Device extends BTManagedDevice {
78
77
  });
79
78
  };
80
79
  frameReader = new BP2FrameReader();
81
- preferredMtu = BP2_PREFERRED_MTU;
80
+ preferredMtu = PREFERRED_MTU;
82
81
  handleSuccessResult(successResult, collectedValues) {
83
82
  this.collectedValues = collectedValues;
84
83
  if (!successResult.measurementTypeKey || !successResult.caseType) {
@@ -1 +1 @@
1
- {"version":3,"names":["MeasurementTypeKey","EcgDiagnosticFlag","BloodPressureStates","sentryLogger","bloodPressureTranslatedExceptionMap","CaseType","DeviceStatus","hexToByte","i16FromHex","le16FromHex","le32FromHex","BTManagedDevice","decodeBP2File","recordedAtFromLocalSeconds","BP2FrameReader","BP2HistorySequencer","bp2MainServices","BP2_PREFERRED_MTU","BP2_ECG_MILLIVOLTS_PER_COUNT","BP2_ECG_SAMPLES_PER_SECOND","BP2_ECG_SAMPLE_TOLERANCE","BP2_ECG_NO_VALUE","BP2_BP_NO_VALUE","BP2_PULSE_NO_VALUES","Set","BP2Device","collectedValues","diagramPoints","duration","historyMode","historyRequested","pendingResults","Map","reportedFileNames","mainServices","stuckDataTimeout","constructor","device","params","clockSync","deliveredFileNames","deliveredEcgFileNames","onStreamStart","lastLiveResultSignature","undefined","createCommandSequencer","clear","service","write","writeUuid","serviceUuid","uuid","characteristicUuid","onFile","handleHistoryFile","onError","handleHistoryError","onTransferFinished","reportPendingResults","shouldStartTransfer","onTransferRequested","onOrphanStreamEnd","skipFiles","frameReader","preferredMtu","handleSuccessResult","successResult","measurementTypeKey","caseType","Error","ecg","handleEcgResult","bloodPressure","handleBloodPressureResult","RESULT","addDeviceTimestamp","error","checkIfHasErrorForEcg","queueHistoryResult","onResult","handleEcgStream","lenL","lenH","dataLen","dataStart","dataEnd","data","slice","onDeviceStatusChanged","MEASURING","samplingNum","samplesStart","i","byteIndexInData","sampleVal","push","checkIfHasErrorForBloodPressure","result","recordedAt","length","bpMeasurement","status","diastolic","systolic","heartRate","REGULAR","errorString","get","DEVICE_ERROR","has","signature","signatureFor","set","join","diagnosticResult","file","name","decoded","content","pending","add","matchesPendingResult","delete","pendingBloodPressure","decodedBloodPressure","pendingEcg","decodedEcg","reason","forEach","ecgMeasurement","POOR_WAVEFORM","LEAD_OFF","expectedSamples"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/bp2/bp2.device.ts"],"mappings":";;AAAA;;AAEA,SAEEA,kBAAkB,EAGlBC,iBAAiB,QACZ,YAAY;AACnB,SAASC,mBAAmB,QAAQ,0EAA0E;AAG9G,SAASC,YAAY,QAAQ,4CAAyC;AACtE,SAASC,mCAAmC,QAAQ,+DAA4D;AAChH,SAASC,QAAQ,QAAQ,6BAA0B;AAInD,SAASC,YAAY,QAAQ,iCAA8B;AAI3D,SAASC,SAAS,QAAQ,+BAA4B;AACtD,SAASC,UAAU,QAAQ,iCAA8B;AACzD,SAASC,WAAW,QAAQ,kCAA+B;AAC3D,SAASC,WAAW,QAAQ,kCAA+B;AAC3D,SAASC,eAAe,QAAQ,yBAAsB;AAEtD,SAASC,aAAa,EAAEC,0BAA0B,QAAQ,gBAAa;AACvE,SAASC,cAAc,QAAQ,uBAAoB;AACnD,SAASC,mBAAmB,QAAQ,4BAAyB;AAC7D,SAASC,eAAe,QAAQ,wBAAqB;;AAErD;AACA;AACA;AACA;AACA,MAAMC,iBAAiB,GAAG,GAAG;;AAE7B;AACA,MAAMC,4BAA4B,GAAG,QAAQ;AAC7C,MAAMC,0BAA0B,GAAG,GAAG;AACtC,MAAMC,wBAAwB,GAAGD,0BAA0B;AAC3D,MAAME,gBAAgB,GAAG,MAAM;AAC/B,MAAMC,eAAe,GAAG,MAAM;AAC9B,MAAMC,mBAAmB,GAAG,IAAIC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAEF,eAAe,CAAC,CAAC;AAEnE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a,CAACwE,MAAM,GACjCiC,eAAe,GAAGhH,wBAAwB,EAC5C;QACA,OAAO,wDAAwD;MACjE;IACF,CAAC,MAAM,IAAI6G,cAAc,CAACtG,aAAa,CAACwE,MAAM,GAAG,IAAI,EAAE;MACrD,OAAO,wDAAwD;IACjE;IAEA,OAAOvD,SAAS;EAClB;AACF;AAEA,SAASnB,SAAS,EAAEP,4BAA4B","ignoreList":[]}
1
+ {"version":3,"names":["MeasurementTypeKey","EcgDiagnosticFlag","BloodPressureStates","sentryLogger","bloodPressureTranslatedExceptionMap","PREFERRED_MTU","CaseType","DeviceStatus","hexToByte","i16FromHex","le16FromHex","le32FromHex","BTManagedDevice","decodeBP2File","recordedAtFromLocalSeconds","BP2FrameReader","BP2HistorySequencer","bp2MainServices","BP2_ECG_MILLIVOLTS_PER_COUNT","BP2_ECG_SAMPLES_PER_SECOND","BP2_ECG_SAMPLE_TOLERANCE","BP2_ECG_NO_VALUE","BP2_BP_NO_VALUE","BP2_PULSE_NO_VALUES","Set","BP2Device","collectedValues","diagramPoints","duration","historyMode","historyRequested","pendingResults","Map","reportedFileNames","mainServices","stuckDataTimeout","constructor","device","params","clockSync","deliveredFileNames","deliveredEcgFileNames","onStreamStart","lastLiveResultSignature","undefined","createCommandSequencer","clear","service","write","writeUuid","serviceUuid","uuid","characteristicUuid","onFile","handleHistoryFile","onError","handleHistoryError","onTransferFinished","reportPendingResults","shouldStartTransfer","onTransferRequested","onOrphanStreamEnd","skipFiles","frameReader","preferredMtu","handleSuccessResult","successResult","measurementTypeKey","caseType","Error","ecg","handleEcgResult","bloodPressure","handleBloodPressureResult","RESULT","addDeviceTimestamp","error","checkIfHasErrorForEcg","queueHistoryResult","onResult","handleEcgStream","lenL","lenH","dataLen","dataStart","dataEnd","data","slice","onDeviceStatusChanged","MEASURING","samplingNum","samplesStart","i","byteIndexInData","sampleVal","push","checkIfHasErrorForBloodPressure","result","recordedAt","length","bpMeasurement","status","diastolic","systolic","heartRate","REGULAR","errorString","get","DEVICE_ERROR","has","signature","signatureFor","set","join","diagnosticResult","file","name","decoded","content","pending","add","matchesPendingResult","delete","pendingBloodPressure","decodedBloodPressure","pendingEcg","decodedEcg","reason","forEach","ecgMeasurement","POOR_WAVEFORM","LEAD_OFF","expectedSamples"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/bp2/bp2.device.ts"],"mappings":";;AAAA;;AAEA,SAEEA,kBAAkB,EAGlBC,iBAAiB,QACZ,YAAY;AACnB,SAASC,mBAAmB,QAAQ,0EAA0E;AAG9G,SAASC,YAAY,QAAQ,4CAAyC;AACtE,SAASC,mCAAmC,QAAQ,+DAA4D;AAChH,SAASC,aAAa,QAAQ,qCAAkC;AAChE,SAASC,QAAQ,QAAQ,6BAA0B;AAInD,SAASC,YAAY,QAAQ,iCAA8B;AAI3D,SAASC,SAAS,QAAQ,+BAA4B;AACtD,SAASC,UAAU,QAAQ,iCAA8B;AACzD,SAASC,WAAW,QAAQ,kCAA+B;AAC3D,SAASC,WAAW,QAAQ,kCAA+B;AAC3D,SAASC,eAAe,QAAQ,yBAAsB;AAEtD,SAASC,aAAa,EAAEC,0BAA0B,QAAQ,gBAAa;AACvE,SAASC,cAAc,QAAQ,uBAAoB;AACnD,SAASC,mBAAmB,QAAQ,4BAAyB;AAC7D,SAASC,eAAe,QAAQ,wBAAqB;;AAErD;AACA;AACA;AACA;AACA;AACA,MAAMC,4BAA4B,GAAG,QAAQ;AAC7C,MAAMC,0BAA0B,GAAG,GAAG;AACtC,MAAMC,wBAAwB,GAAGD,0BAA0B;AAC3D,MAAME,gBAAgB,GAAG,MAAM;AAC/B,MAAMC,eAAe,GAAG,MAAM;AAC9B,MAAMC,mBAAmB,GAAG,IAAIC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAEF,eAAe,CAAC,CAAC;AAEnE,MAAMG,SAAS,SAASb,eAAe,CAAwB;EACrDc,eAAe,GAAa,EAAE;EAC9BC,aAAa,GAAa,EAAE;EAC5BC,QAAQ,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,cAAc,CAACtG,aAAa,CAACwE,MAAM,GAAG,IAAI,EAAE;MACrD,OAAO,wDAAwD;IACjE;IAEA,OAAOvD,SAAS;EAClB;AACF;AAEA,SAASnB,SAAS,EAAEP,4BAA4B","ignoreList":[]}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
 
3
+ import { byteToHex } from "../../../utils/bytes-to-hex.js";
3
4
  import { hexToByte } from "../../../utils/hex-to-byte.js";
4
5
  const SERVICE = "81eea003-e735-49ec-8a11-7e32cae1e14e";
5
6
  const WRITE = "81eea002-e735-49ec-8a11-7e32cae1e14e";
@@ -7,10 +8,9 @@ const FEATURE_TYPE = 0x00;
7
8
  const SYNC_TYPE = 0x01;
8
9
  const HISTORY_TYPE = 0x03;
9
10
  const FRAME_START = "e0";
10
- const byte = value => (value & 0xff).toString(16).padStart(2, "0");
11
11
  const withChecksum = frame => {
12
12
  const checksum = frame.reduce((sum, value, index) => index === 3 ? sum : sum + hexToByte(value) & 0xff, 0);
13
- return [...frame.slice(0, 3), byte(checksum), ...frame.slice(3)];
13
+ return [...frame.slice(0, 3), byteToHex(checksum), ...frame.slice(3)];
14
14
  };
15
15
  const commandFor = (frame, delayBeforeWriteMs) => ({
16
16
  serviceUuid: SERVICE,
@@ -24,7 +24,7 @@ const commandFor = (frame, delayBeforeWriteMs) => ({
24
24
  /** Builds an LHZL command after applying the checksum inserted by the vendor BLE writer. */
25
25
  const buildBpw1Command = (type, protocolVersion, key, payload) => {
26
26
  const payloadLength = payload.length;
27
- const frame = [FRAME_START, byte(payloadLength + 5 >> 8), byte(payloadLength + 5), byte(type), byte(protocolVersion), byte(key), byte(payloadLength >> 8), byte(payloadLength), ...payload.map(byte)];
27
+ const frame = [FRAME_START, byteToHex(payloadLength + 5 >> 8), byteToHex(payloadLength + 5), byteToHex(type), byteToHex(protocolVersion), byteToHex(key), byteToHex(payloadLength >> 8), byteToHex(payloadLength), ...payload.map(byteToHex)];
28
28
  return withChecksum(frame);
29
29
  };
30
30
 
@@ -33,7 +33,7 @@ const buildBpw1Ack = frame => {
33
33
  const type = hexToByte(frame[4] ?? "00");
34
34
  const protocolVersion = hexToByte(frame[5] ?? "00");
35
35
  const key = hexToByte(frame[6] ?? "00");
36
- return withChecksum(["0e", "00", "06", byte(type), byte(protocolVersion), byte(key), "00", "01", "00"]);
36
+ return withChecksum(["0e", "00", "06", byteToHex(type), byteToHex(protocolVersion), byteToHex(key), "00", "01", "00"]);
37
37
  };
38
38
 
39
39
  /** ViHealth's initial feature probe for the BPW1 LHZL profile. */
@@ -1 +1 @@
1
- {"version":3,"names":["hexToByte","SERVICE","WRITE","FEATURE_TYPE","SYNC_TYPE","HISTORY_TYPE","FRAME_START","byte","value","toString","padStart","withChecksum","frame","checksum","reduce","sum","index","slice","commandFor","delayBeforeWriteMs","serviceUuid","characteristicUuid","undefined","buildBpw1Command","type","protocolVersion","key","payload","payloadLength","length","map","buildBpw1Ack","buildBpw1FeatureCommand","buildBpw1HistoryCommand","Bpw1CommandSequencer","historyRequested","initialCommands","nextCommand","acknowledgement","isHistoryTransfer","BPW1_SERVICE","BPW1_WRITE","BPW1_HISTORY_TYPE"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.ts"],"mappings":";;AAEA,SAASA,SAAS,QAAQ,+BAA4B;AAEtD,MAAMC,OAAO,GAAG,sCAAsC;AACtD,MAAMC,KAAK,GAAG,sCAAsC;AACpD,MAAMC,YAAY,GAAG,IAAI;AACzB,MAAMC,SAAS,GAAG,IAAI;AACtB,MAAMC,YAAY,GAAG,IAAI;AACzB,MAAMC,WAAW,GAAG,IAAI;AAExB,MAAMC,IAAI,GAAIC,KAAa,IACzB,CAACA,KAAK,GAAG,IAAI,EAAEC,QAAQ,CAAC,EAAE,CAAC,CAACC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC;AAE9C,MAAMC,YAAY,GAAIC,KAAwB,IAAe;EAC3D,MAAMC,QAAQ,GAAGD,KAAK,CAACE,MA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Y,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;MAClD,IAAI,CAACuB,gBAAgB,GAAG,IAAI;MAE5B,OAAO,CACLG,eAAe,EACfpB,UAAU,CAACe,uBAAuB,CAAC,IAAI,CAACR,eAAe,CAAC,CAAC,CAC1D;IACH;IAEA,OAAO,CAACa,eAAe,CAAC;EAC1B,CAAC;EAEMC,iBAAiB,GAAGA,CAAA,KAAe,IAAI;AAChD;AAEA,SACEL,oBAAoB,EACpBH,YAAY,EACZC,uBAAuB,EACvBC,uBAAuB,EACvBhC,OAAO,IAAIuC,YAAY,EACvBtC,KAAK,IAAIuC,UAAU,EACnBpC,YAAY,IAAIqC,iBAAiB","ignoreList":[]}
1
+ {"version":3,"names":["byteToHex","hexToByte","SERVICE","WRITE","FEATURE_TYPE","SYNC_TYPE","HISTORY_TYPE","FRAME_START","withChecksum","frame","checksum","reduce","sum","value","index","slice","commandFor","delayBeforeWriteMs","serviceUuid","characteristicUuid","undefined","buildBpw1Command","type","protocolVersion","key","payload","payloadLength","length","map","buildBpw1Ack","buildBpw1FeatureCommand","buildBpw1HistoryCommand","Bpw1CommandSequencer","historyRequested","initialCommands","nextCommand","acknowledgement","isHistoryTransfer","BPW1_SERVICE","BPW1_WRITE","BPW1_HISTORY_TYPE"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.ts"],"mappings":";;AAEA,SAASA,SAAS,QAAQ,gCAA6B;AACvD,SAASC,SAAS,QAAQ,+BAA4B;AAEtD,MAAMC,OAAO,GAAG,sCAAsC;AACtD,MAAMC,KAAK,GAAG,sCAAsC;AACpD,MAAMC,YAAY,GAAG,IAAI;AACzB,MAAMC,SAAS,GAAG,IAAI;AACtB,MAAMC,YAAY,GAAG,IAAI;AACzB,MAAMC,WAAW,GAAG,IAAI;AAExB,MAAMC,YAAY,GAAIC,KAAwB,IAAe;EAC3D,MAAMC,QAAQ,GAAGD,KAAK,CAACE,MAAM,CAC3B,CAACC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Q,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;MAClD,IAAI,CAACwB,gBAAgB,GAAG,IAAI;MAE5B,OAAO,CACLG,eAAe,EACfpB,UAAU,CAACe,uBAAuB,CAAC,IAAI,CAACR,eAAe,CAAC,CAAC,CAC1D;IACH;IAEA,OAAO,CAACa,eAAe,CAAC;EAC1B,CAAC;EAEMC,iBAAiB,GAAGA,CAAA,KAAe,IAAI;AAChD;AAEA,SACEL,oBAAoB,EACpBH,YAAY,EACZC,uBAAuB,EACvBC,uBAAuB,EACvB7B,OAAO,IAAIoC,YAAY,EACvBnC,KAAK,IAAIoC,UAAU,EACnBjC,YAAY,IAAIkC,iBAAiB","ignoreList":[]}
@@ -11,7 +11,6 @@ import { bpw1MainServices } from "./bpw1.main-services.js";
11
11
  class Bpw1Device extends BTManagedDevice {
12
12
  mainServices = bpw1MainServices;
13
13
  stuckDataTimeout = 120_000;
14
- onStreamStart = undefined;
15
14
  frameReader = new Bpw1FrameReader();
16
15
  constructor(device, params) {
17
16
  super(device, params);
@@ -37,9 +36,6 @@ class Bpw1Device extends BTManagedDevice {
37
36
  }
38
37
  };
39
38
  };
40
- handleSuccessResult() {
41
- return;
42
- }
43
39
  }
44
40
  export { Bpw1Device, bpw1MainServices };
45
41
  //# sourceMappingURL=bpw1.device.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["MeasurementTypeKey","CaseType","BTManagedDevice","Bpw1CommandSequencer","parseBpw1BloodPressureRecords","Bpw1FrameReader","bpw1MainServices","Bpw1Device","mainServices","stuckDataTimeout","onStreamStart","undefined","frameReader","constructor","device","params","createCommandSequencer","handleDependentResult","data","frame","record","onResult","caseType","RESULT","measurementTypeKey","bloodPressure","systolic","diastolic","recordedAt","parsingCase","OTHER","handleSuccessResult"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/bpw1/bpw1.device.ts"],"mappings":";;AAAA,SAAmCA,kBAAkB,QAAQ,YAAY;AAGzE,SAASC,QAAQ,QAA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pw1CommandSequencer","parseBpw1BloodPressureRecords","Bpw1FrameReader","bpw1MainServices","Bpw1Device","mainServices","stuckDataTimeout","frameReader","constructor","device","params","createCommandSequencer","handleDependentResult","data","frame","record","onResult","caseType","RESULT","measurementTypeKey","bloodPressure","systolic","diastolic","recordedAt","parsingCase","OTHER"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/bpw1/bpw1.device.ts"],"mappings":";;AAAA,SAAmCA,kBAAkB,QAAQ,YAAY;AAGzE,SAASC,QAAQ,QAAQ,6BAA0B;AAQnD,SAASC,eAAe,QAAQ,yBAAsB;AAEtD,SAASC,oBAAoB,QAAQ,6BAA0B;AAC/D,SAASC,6BAA6B,QAAQ,wBAAqB;AACnE,SAASC,eAAe,QAAQ,wBAAqB;AACrD,SAASC,gBAAgB,QAAQ,yBAAsB;AAIvD;AACA,MAAMC,UAAU,SAASL,eAAe,CAAyB;EACrDM,YAAY,GAAeF,gBAAgB;EAC3CG,gBAAgB,GAAG,OAAO;EAC1BC,WAAW,GAAG,IAAIL,eAAe,CAAC,CAAC;EAEtCM,WAAWA,CAChBC,MAAc,EACdC,MAAkD,EAClD;IACA,KAAK,CAACD,MAAM,EAAEC,MAAM,CAAC;IACrB,IAAI,CAACC,sBAAsB,GAAG,MAC5B,IAAIX,oBAAoB,CAAC,CAAC;EAC9B;EAEUY,qBAAqB,GAC7BC,IAAmD,IACD;IAClD,IAAIA,IAAI,CAACC,KAAK,EAAE;MACd,KAAK,MAAMC,MAAM,IAAId,6BAA6B,CAACY,IAAI,CAACC,KAAK,CAAC,EAAE;QAC9D,IAAI,CAACE,QAAQ,GAAG;UACdC,QAAQ,EAAEnB,QAAQ,CAACoB,MAAM;UACzBC,kBAAkB,EAAEtB,kBAAkB,CAACuB,aAAa;UACpDC,QAAQ,EAAEN,MAAM,CAACM,QAAQ;UACzBC,SAAS,EAAEP,MAAM,CAACO,SAAS;UAC3BC,UAAU,EAAER,MAAM,CAACQ;QACrB,CAAyE,CAAC;MAC5E;IACF;IAEA,OAAO;MACL,GAAGV,IAAI;MACPW,WAAW,EAAE;QAAE,GAAGX,IAAI,CAACW,WAAW;QAAEP,QAAQ,EAAEnB,QAAQ,CAAC2B;MAAM;IAC/D,CAAC;EACH,CAAC;AAEH;AAEA,SAASrB,UAAU,EAAED,gBAAgB","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- import { FrameReadStatus } from "../../../types/frame-read-status.js";
3
+ import { complete, corrupt, incomplete, noFrameStart } from "../../../utils/frame-read-results.js";
4
4
  import { hexToByte } from "../../../utils/hex-to-byte.js";
5
5
  const START = 0xe0;
6
6
  const HEADER_BYTES = 4;
@@ -10,37 +10,21 @@ export class Bpw1FrameReader {
10
10
  readFrame(buffer) {
11
11
  const start = buffer.findIndex((byte, index) => hexToByte(byte) === START && index + 2 < buffer.length);
12
12
  if (start < 0) {
13
- return {
14
- status: FrameReadStatus.INCOMPLETE,
15
- consumedBytes: Math.max(0, buffer.length - 1)
16
- };
13
+ return noFrameStart(buffer);
17
14
  }
18
15
  const payloadLength = hexToByte(buffer[start + 1] ?? "00") << 8 | hexToByte(buffer[start + 2] ?? "00");
19
16
  const frameLength = payloadLength + HEADER_BYTES;
20
17
  if (frameLength < 9) {
21
- return {
22
- status: FrameReadStatus.CORRUPT,
23
- consumedBytes: start + 1
24
- };
18
+ return corrupt(start + 1);
25
19
  }
26
20
  if (start + frameLength > buffer.length) {
27
- return {
28
- status: FrameReadStatus.INCOMPLETE,
29
- consumedBytes: start
30
- };
21
+ return incomplete(start);
31
22
  }
32
23
  const frame = buffer.slice(start, start + frameLength);
33
24
  if (!this.hasValidChecksum(frame)) {
34
- return {
35
- status: FrameReadStatus.CORRUPT,
36
- consumedBytes: start + 1
37
- };
25
+ return corrupt(start + 1);
38
26
  }
39
- return {
40
- status: FrameReadStatus.COMPLETE,
41
- consumedBytes: start + frameLength,
42
- frame
43
- };
27
+ return complete(frame, start + frameLength);
44
28
  }
45
29
  hasValidChecksum(frame) {
46
30
  const checksum = frame.reduce((sum, byte, index) => index === 3 ? sum : sum + hexToByte(byte) & 0xff, 0);
@@ -1 +1 @@
1
- {"version":3,"names":["FrameReadStatus","hexToByte","START","HEADER_BYTES","Bpw1FrameReader","readFrame","buffer","start","findIndex","byte","index","length","status","INCOMPLETE","consumedBytes","Math","max","payloadLength","frameLength","CORRUPT","frame","slice","hasValidChecksum","COMPLETE","checksum","reduce","sum"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/bpw1/bpw1.frame-reader.ts"],"mappings":";;AACA,SAASA,eAAe,QAAQ,qCAAkC;AAElE,SAASC,SAAS,QAAQ,+BAA4B;AAEtD,MAAMC,KAAK,GAAG,IAAI;AAClB,MAAMC,YAAY,GAAG,CAAC;;AAEtB;AACA,OAAO,MAAMC,eAAe,CAAwB;EAC3CC,SAASA,CAACC,MAAyB,EAAmB;IAC3D,MAAMC,KAAK,GAAGD,MAAM,CAACE,SAAS,CAC5B,CAACC,IAAI,EAAEC,KAAK,KAAKT,SAAS,CAACQ,IAAI,CAAC,KAAKP,KAAK,IAAIQ,KAAK,GAAG,CAAC,GAAGJ,MAAM,CAACK,MACnE,CAAC;IAED,IAAIJ,KAAK,GAAG,CAAC,EAAE;MACb,OAAO;QACLK,MAAM,EAAEZ,eAAe,CAACa,UAAU;QAClCC,aAAa,EAAEC,IAAI,CAACC,GAAG,CAAC,CAAC,EAAEV,MAAM,CAACK,MAAM,GAAG,CAAC;MAC9C,CAAC;IACH;IAEA,MAAMM,aAAa,GAChBhB,SAAS,CAACK,MAAM,CAACC,KAAK,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,GAC1CN,SAAS,CAACK,MAAM,CAACC,KAAK,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC;IAEtC,MAAMW,WAAW,GAAGD,aAAa,GAAGd,YAAY;IAEhD,IAAIe,WAAW,GAAG,CAAC,EAAE;MACnB,OAAO;QACLN,MAAM,EAAEZ,eAAe,CAACmB,OAAO;QAC/BL,aAAa,EAAEP,KAAK,GAAG;MACzB,CAAC;IACH;IAEA,IAAIA,KAAK,GAAGW,WAAW,GAAGZ,MAAM,CAACK,MAAM,EAAE;MACvC,OAAO;QAAEC,MAAM,EAAEZ,eAAe,CAACa,UAAU;QAAEC,aAAa,EAAEP;MAAM,CAAC;IACrE;IAEA,MAAMa,KAAK,GAAGd,MAAM,CAACe,KAAK,CAACd,KAAK,EAAEA,KAAK,GAAGW,WAAW,CAAC;IAEtD,IAAI,CAAC,IAAI,CAACI,gBAAgB,CAACF,KAAK,CAAC,EAAE;MACjC,OAAO;QACLR,MAAM,EAAEZ,eAAe,CAACmB,OAAO;QAC/BL,aAAa,EAAEP,KAAK,GAAG;MACzB,CAAC;IACH;IAEA,OAAO;MACLK,MAAM,EAAEZ,eAAe,CAACuB,QAAQ;MAChCT,aAAa,EAAEP,KAAK,GAAGW,WAAW;MAClCE;IACF,CAAC;EACH;EAEQE,gBAAgBA,CAACF,KAAwB,EAAW;IAC1D,MAAMI,QAAQ,GAAGJ,KAAK,CAACK,MAAM,CAC3B,CAACC,GAAG,EAAEjB,IAAI,EAAEC,KAAK,KACfA,KAAK,KAAK,CAAC,GAAGgB,GAAG,GAAIA,GAAG,GAAGzB,SAAS,CAACQ,IAAI,CAAC,GAAI,IAAI,EACpD,CACF,CAAC;IAED,OAAOe,QAAQ,KAAKvB,SAAS,CAACmB,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;EACjD;AACF","ignoreList":[]}
1
+ {"version":3,"names":["complete","corrupt","incomplete","noFrameStart","hexToByte","START","HEADER_BYTES","Bpw1FrameReader","readFrame","buffer","start","findIndex","byte","index","length","payloadLength","frameLength","frame","slice","hasValidChecksum","checksum","reduce","sum"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/bpw1/bpw1.frame-reader.ts"],"mappings":";;AAEA,SAASA,QAAQ,EAAEC,OAAO,EAAEC,UAAU,EAAEC,YAAY,QAAQ,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CAACI,MAAM,CAC3B,CAACC,GAAG,EAAEV,IAAI,EAAEC,KAAK,KACfA,KAAK,KAAK,CAAC,GAAGS,GAAG,GAAIA,GAAG,GAAGlB,SAAS,CAACQ,IAAI,CAAC,GAAI,IAAI,EACpD,CACF,CAAC;IAED,OAAOQ,QAAQ,KAAKhB,SAAS,CAACa,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;EACjD;AACF","ignoreList":[]}
@@ -9,6 +9,8 @@ import { findDeviceVariant } from "../../constants/device-variants.js";
9
9
  import { toBluetoothError } from "../../types/bluetooth-error.js";
10
10
  import { clockSyncCapabilityForDevice } from "../../types/clock-sync.js";
11
11
  import { DeviceStatus } from "../../types/device-status.js";
12
+ import { dailyTotalDay } from "../../utils/daily-total-day.js";
13
+ import { errorCallbackPayload } from "../../utils/error-callback-payload.js";
12
14
  import { createStableResultId } from "../../utils/result-identity.js";
13
15
  import { supportedMeasurementTypeKeys } from "../../utils/supported-measurement-type-keys.js";
14
16
  import { BTConnectionHandler } from "./bt-connection-handler.js";
@@ -82,8 +84,15 @@ export class BTManagedDevice {
82
84
  * neither parses nothing, so an unknown buffer is never decoded on trust.
83
85
  */
84
86
 
87
+ /** Called with each parsed result; most devices report through `onResult` instead. */
88
+ handleSuccessResult(_successResult, _collectedValues) {
89
+ return;
90
+ }
91
+
85
92
  /** Flushes protocol-level session state before a connection is torn down. */
86
93
  handleMeasurementEnd() {}
94
+ /** Reports a sequencer's result; the cast to this device's result type lives here once. */
95
+ reportResult = result => this.onResult?.(result);
87
96
  constructor(device, {
88
97
  deviceName,
89
98
  onError: onErrorCallback,
@@ -139,13 +148,9 @@ export class BTManagedDevice {
139
148
  sentryLogger("error", "BT_MANAGER: Calling onError callback", {
140
149
  errorCode: normalized.code
141
150
  });
142
- const originalError = normalized.originalError;
143
151
  onErrorCallback?.({
144
152
  deviceData: this.deviceData,
145
- // Keep the established translation-key/Error value for consumers that
146
- // render it directly; the normalized machine code is carried beside it.
147
- error: normalized.translationKey ?? (originalError instanceof Error || typeof originalError === "string" ? originalError : normalized),
148
- code: normalized.code
153
+ ...errorCallbackPayload(normalized)
149
154
  });
150
155
  };
151
156
  this.onResult = ({
@@ -164,18 +169,14 @@ export class BTManagedDevice {
164
169
  this.reportedMeasurementKinds.add(measurementTypeKey);
165
170
  }
166
171
  if (policy === "daily-totals-only") {
167
- const temporal = data;
168
- const end = temporal.end instanceof Date ? temporal.end : undefined;
169
- const now = new Date();
170
-
171
172
  // Activity totals are useful only after their day has closed. Devices that
172
173
  // do not expose an interval are not filtered by this policy.
173
- if (end && end.getTime() > now.getTime()) {
174
+ const day = dailyTotalDay(data, Date.now());
175
+ if (day === "future") {
174
176
  return;
175
177
  }
176
- const day = temporal.end ?? temporal.start ?? temporal.recordedAt;
177
- if (day instanceof Date) {
178
- const key = `${measurementTypeKey}:${day.toISOString().slice(0, 10)}`;
178
+ if (day) {
179
+ const key = `${measurementTypeKey}:${day}`;
179
180
  if (this.reportedDailyTotals.has(key)) {
180
181
  return;
181
182
  }