@ovok/native 1.10.1 → 1.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (412) hide show
  1. package/README.md +5 -5
  2. package/lib/commonjs/index.js +13 -2
  3. package/lib/commonjs/index.js.map +1 -1
  4. package/lib/commonjs/modules/auth/default-translation.js +5 -0
  5. package/lib/commonjs/modules/auth/default-translation.js.map +1 -1
  6. package/lib/commonjs/modules/auth/delete-account-button/components/delete-account-button.js +17 -2
  7. package/lib/commonjs/modules/auth/delete-account-button/components/delete-account-button.js.map +1 -1
  8. package/lib/commonjs/modules/auth/hooks/use-auth-action.js +12 -5
  9. package/lib/commonjs/modules/auth/hooks/use-auth-action.js.map +1 -1
  10. package/lib/commonjs/modules/auth/hooks/use-session.js +1 -1
  11. package/lib/commonjs/modules/auth/hooks/use-session.js.map +1 -1
  12. package/lib/commonjs/modules/auth/hooks/use-sign-in.js +4 -4
  13. package/lib/commonjs/modules/auth/hooks/use-sign-in.js.map +1 -1
  14. package/lib/commonjs/modules/auth/hooks/use-social-sign-in.js +2 -10
  15. package/lib/commonjs/modules/auth/hooks/use-social-sign-in.js.map +1 -1
  16. package/lib/commonjs/modules/auth/index.js +11 -0
  17. package/lib/commonjs/modules/auth/index.js.map +1 -1
  18. package/lib/commonjs/modules/auth/profile/components/form-phone-country-picker.js +97 -0
  19. package/lib/commonjs/modules/auth/profile/components/form-phone-country-picker.js.map +1 -0
  20. package/lib/commonjs/modules/auth/profile/components/form-phone-field.js +17 -57
  21. package/lib/commonjs/modules/auth/profile/components/form-phone-field.js.map +1 -1
  22. package/lib/commonjs/modules/auth/profile/components/profile-form-choice-field.js +4 -0
  23. package/lib/commonjs/modules/auth/profile/components/profile-form-choice-field.js.map +1 -1
  24. package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js +4 -7
  25. package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js.map +1 -1
  26. package/lib/commonjs/modules/auth/profile/utils/phone-countries.js +55 -0
  27. package/lib/commonjs/modules/auth/profile/utils/phone-countries.js.map +1 -0
  28. package/lib/commonjs/modules/auth/register/components/form/inputs.js +6 -1
  29. package/lib/commonjs/modules/auth/register/components/form/inputs.js.map +1 -1
  30. package/lib/commonjs/modules/auth/register/components/form/register-form-provider.js +12 -12
  31. package/lib/commonjs/modules/auth/register/components/form/register-form-provider.js.map +1 -1
  32. package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js +10 -9
  33. package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
  34. package/lib/commonjs/modules/auth/session/logout-session.js +5 -2
  35. package/lib/commonjs/modules/auth/session/logout-session.js.map +1 -1
  36. package/lib/commonjs/modules/auth/session/session-errors.js +21 -0
  37. package/lib/commonjs/modules/auth/session/session-errors.js.map +1 -0
  38. package/lib/commonjs/modules/auth/session/session-store-types.js +17 -0
  39. package/lib/commonjs/modules/auth/session/session-store-types.js.map +1 -0
  40. package/lib/commonjs/modules/auth/session/session-store.js +77 -32
  41. package/lib/commonjs/modules/auth/session/session-store.js.map +1 -1
  42. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js +5 -10
  43. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
  44. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js +4 -9
  45. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
  46. package/lib/commonjs/modules/auth/utils/sign-in-error.js +10 -6
  47. package/lib/commonjs/modules/auth/utils/sign-in-error.js.map +1 -1
  48. package/lib/commonjs/modules/auth/utils/sign-out-google.js +10 -3
  49. package/lib/commonjs/modules/auth/utils/sign-out-google.js.map +1 -1
  50. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js +35 -6
  51. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  52. package/lib/commonjs/modules/bt-management/components/bt-provider.js +12 -4
  53. package/lib/commonjs/modules/bt-management/components/bt-provider.js.map +1 -1
  54. package/lib/commonjs/modules/bt-management/components/default-permission-fallback.js +43 -3
  55. package/lib/commonjs/modules/bt-management/components/default-permission-fallback.js.map +1 -1
  56. package/lib/commonjs/modules/bt-management/hooks/declined-device-storage.js +79 -0
  57. package/lib/commonjs/modules/bt-management/hooks/declined-device-storage.js.map +1 -0
  58. package/lib/commonjs/modules/bt-management/hooks/nearby-device-offer-state.js +25 -0
  59. package/lib/commonjs/modules/bt-management/hooks/nearby-device-offer-state.js.map +1 -0
  60. package/lib/commonjs/modules/bt-management/hooks/nearby-device-offer-types.js +6 -0
  61. package/lib/commonjs/modules/bt-management/hooks/nearby-device-offer-types.js.map +1 -0
  62. package/lib/commonjs/modules/bt-management/hooks/runtime-context.js +12 -2
  63. package/lib/commonjs/modules/bt-management/hooks/runtime-context.js.map +1 -1
  64. package/lib/commonjs/modules/bt-management/hooks/use-bluetooth-permission.js +7 -0
  65. package/lib/commonjs/modules/bt-management/hooks/use-bluetooth-permission.js.map +1 -1
  66. package/lib/commonjs/modules/bt-management/hooks/use-bluetooth-state.js +11 -2
  67. package/lib/commonjs/modules/bt-management/hooks/use-bluetooth-state.js.map +1 -1
  68. package/lib/commonjs/modules/bt-management/hooks/use-nearby-device-offer.js +28 -46
  69. package/lib/commonjs/modules/bt-management/hooks/use-nearby-device-offer.js.map +1 -1
  70. package/lib/commonjs/modules/bt-management/hooks/use-request-permissions.js +3 -1
  71. package/lib/commonjs/modules/bt-management/hooks/use-request-permissions.js.map +1 -1
  72. package/lib/commonjs/modules/bt-management/index.js +12 -0
  73. package/lib/commonjs/modules/bt-management/index.js.map +1 -1
  74. package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js +11 -0
  75. package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -1
  76. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  77. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +5 -2
  78. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  79. package/lib/commonjs/modules/bt-management/types/bluetooth-error.js +2 -1
  80. package/lib/commonjs/modules/bt-management/types/bluetooth-error.js.map +1 -1
  81. package/lib/commonjs/modules/bt-management/types/bluetooth-permission-status.js +2 -0
  82. package/lib/commonjs/modules/bt-management/types/bluetooth-permission-status.js.map +1 -0
  83. package/lib/commonjs/modules/data-sync/utils/convert-generic-health-data.js +33 -19
  84. package/lib/commonjs/modules/data-sync/utils/convert-generic-health-data.js.map +1 -1
  85. package/lib/commonjs/modules/data-sync/utils/health-data-catalog.js +51 -11
  86. package/lib/commonjs/modules/data-sync/utils/health-data-catalog.js.map +1 -1
  87. package/lib/commonjs/modules/data-sync/utils/health-units.js +1 -0
  88. package/lib/commonjs/modules/data-sync/utils/health-units.js.map +1 -1
  89. package/lib/commonjs/modules/progress-ring/components/progress-ring.js +94 -0
  90. package/lib/commonjs/modules/progress-ring/components/progress-ring.js.map +1 -0
  91. package/lib/commonjs/modules/progress-ring/index.js +28 -0
  92. package/lib/commonjs/modules/progress-ring/index.js.map +1 -0
  93. package/lib/commonjs/modules/progress-ring/types/progress-ring-props.js +6 -0
  94. package/lib/commonjs/modules/progress-ring/types/progress-ring-props.js.map +1 -0
  95. package/lib/commonjs/modules/ui/components/bluetooth-state-notice.js +45 -20
  96. package/lib/commonjs/modules/ui/components/bluetooth-state-notice.js.map +1 -1
  97. package/lib/commonjs/modules/ui/components/flow-frame.js +163 -0
  98. package/lib/commonjs/modules/ui/components/flow-frame.js.map +1 -0
  99. package/lib/commonjs/modules/ui/default-translation.js +50 -0
  100. package/lib/commonjs/modules/ui/default-translation.js.map +1 -0
  101. package/lib/commonjs/modules/ui/index.js +11 -0
  102. package/lib/commonjs/modules/ui/index.js.map +1 -1
  103. package/lib/commonjs/polyfills/index.js +12 -0
  104. package/lib/commonjs/polyfills/index.js.map +1 -1
  105. package/lib/module/index.js +1 -0
  106. package/lib/module/index.js.map +1 -1
  107. package/lib/module/modules/auth/default-translation.js +5 -0
  108. package/lib/module/modules/auth/default-translation.js.map +1 -1
  109. package/lib/module/modules/auth/delete-account-button/components/delete-account-button.js +17 -2
  110. package/lib/module/modules/auth/delete-account-button/components/delete-account-button.js.map +1 -1
  111. package/lib/module/modules/auth/hooks/use-auth-action.js +12 -5
  112. package/lib/module/modules/auth/hooks/use-auth-action.js.map +1 -1
  113. package/lib/module/modules/auth/hooks/use-session.js +1 -1
  114. package/lib/module/modules/auth/hooks/use-session.js.map +1 -1
  115. package/lib/module/modules/auth/hooks/use-sign-in.js +4 -4
  116. package/lib/module/modules/auth/hooks/use-sign-in.js.map +1 -1
  117. package/lib/module/modules/auth/hooks/use-social-sign-in.js +2 -10
  118. package/lib/module/modules/auth/hooks/use-social-sign-in.js.map +1 -1
  119. package/lib/module/modules/auth/index.js +1 -0
  120. package/lib/module/modules/auth/index.js.map +1 -1
  121. package/lib/module/modules/auth/profile/components/form-phone-country-picker.js +92 -0
  122. package/lib/module/modules/auth/profile/components/form-phone-country-picker.js.map +1 -0
  123. package/lib/module/modules/auth/profile/components/form-phone-field.js +10 -55
  124. package/lib/module/modules/auth/profile/components/form-phone-field.js.map +1 -1
  125. package/lib/module/modules/auth/profile/components/profile-form-choice-field.js +5 -1
  126. package/lib/module/modules/auth/profile/components/profile-form-choice-field.js.map +1 -1
  127. package/lib/module/modules/auth/profile/components/profile-form-provider.js +4 -7
  128. package/lib/module/modules/auth/profile/components/profile-form-provider.js.map +1 -1
  129. package/lib/module/modules/auth/profile/utils/phone-countries.js +49 -0
  130. package/lib/module/modules/auth/profile/utils/phone-countries.js.map +1 -0
  131. package/lib/module/modules/auth/register/components/form/inputs.js +6 -1
  132. package/lib/module/modules/auth/register/components/form/inputs.js.map +1 -1
  133. package/lib/module/modules/auth/register/components/form/register-form-provider.js +12 -12
  134. package/lib/module/modules/auth/register/components/form/register-form-provider.js.map +1 -1
  135. package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js +9 -9
  136. package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
  137. package/lib/module/modules/auth/session/logout-session.js +5 -2
  138. package/lib/module/modules/auth/session/logout-session.js.map +1 -1
  139. package/lib/module/modules/auth/session/session-errors.js +16 -0
  140. package/lib/module/modules/auth/session/session-errors.js.map +1 -0
  141. package/lib/module/modules/auth/session/session-store-types.js +13 -0
  142. package/lib/module/modules/auth/session/session-store-types.js.map +1 -0
  143. package/lib/module/modules/auth/session/session-store.js +76 -31
  144. package/lib/module/modules/auth/session/session-store.js.map +1 -1
  145. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js +5 -10
  146. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
  147. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js +4 -9
  148. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
  149. package/lib/module/modules/auth/utils/sign-in-error.js +9 -6
  150. package/lib/module/modules/auth/utils/sign-in-error.js.map +1 -1
  151. package/lib/module/modules/auth/utils/sign-out-google.js +10 -3
  152. package/lib/module/modules/auth/utils/sign-out-google.js.map +1 -1
  153. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js +36 -7
  154. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  155. package/lib/module/modules/bt-management/components/bt-provider.js +12 -4
  156. package/lib/module/modules/bt-management/components/bt-provider.js.map +1 -1
  157. package/lib/module/modules/bt-management/components/default-permission-fallback.js +43 -4
  158. package/lib/module/modules/bt-management/components/default-permission-fallback.js.map +1 -1
  159. package/lib/module/modules/bt-management/hooks/declined-device-storage.js +71 -0
  160. package/lib/module/modules/bt-management/hooks/declined-device-storage.js.map +1 -0
  161. package/lib/module/modules/bt-management/hooks/nearby-device-offer-state.js +20 -0
  162. package/lib/module/modules/bt-management/hooks/nearby-device-offer-state.js.map +1 -0
  163. package/lib/module/modules/bt-management/hooks/nearby-device-offer-types.js +4 -0
  164. package/lib/module/modules/bt-management/hooks/nearby-device-offer-types.js.map +1 -0
  165. package/lib/module/modules/bt-management/hooks/runtime-context.js +12 -2
  166. package/lib/module/modules/bt-management/hooks/runtime-context.js.map +1 -1
  167. package/lib/module/modules/bt-management/hooks/use-bluetooth-permission.js +2 -1
  168. package/lib/module/modules/bt-management/hooks/use-bluetooth-permission.js.map +1 -1
  169. package/lib/module/modules/bt-management/hooks/use-bluetooth-state.js +11 -2
  170. package/lib/module/modules/bt-management/hooks/use-bluetooth-state.js.map +1 -1
  171. package/lib/module/modules/bt-management/hooks/use-nearby-device-offer.js +26 -44
  172. package/lib/module/modules/bt-management/hooks/use-nearby-device-offer.js.map +1 -1
  173. package/lib/module/modules/bt-management/hooks/use-request-permissions.js +3 -1
  174. package/lib/module/modules/bt-management/hooks/use-request-permissions.js.map +1 -1
  175. package/lib/module/modules/bt-management/index.js +1 -0
  176. package/lib/module/modules/bt-management/index.js.map +1 -1
  177. package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js +11 -0
  178. package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -1
  179. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  180. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +5 -2
  181. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  182. package/lib/module/modules/bt-management/types/bluetooth-error.js +2 -1
  183. package/lib/module/modules/bt-management/types/bluetooth-error.js.map +1 -1
  184. package/lib/module/modules/bt-management/types/bluetooth-permission-status.js +2 -0
  185. package/lib/module/modules/bt-management/types/bluetooth-permission-status.js.map +1 -0
  186. package/lib/module/modules/data-sync/utils/convert-generic-health-data.js +33 -19
  187. package/lib/module/modules/data-sync/utils/convert-generic-health-data.js.map +1 -1
  188. package/lib/module/modules/data-sync/utils/health-data-catalog.js +51 -11
  189. package/lib/module/modules/data-sync/utils/health-data-catalog.js.map +1 -1
  190. package/lib/module/modules/data-sync/utils/health-units.js +1 -0
  191. package/lib/module/modules/data-sync/utils/health-units.js.map +1 -1
  192. package/lib/module/modules/progress-ring/components/progress-ring.js +88 -0
  193. package/lib/module/modules/progress-ring/components/progress-ring.js.map +1 -0
  194. package/lib/module/modules/progress-ring/index.js +5 -0
  195. package/lib/module/modules/progress-ring/index.js.map +1 -0
  196. package/lib/module/modules/progress-ring/types/progress-ring-props.js +4 -0
  197. package/lib/module/modules/progress-ring/types/progress-ring-props.js.map +1 -0
  198. package/lib/module/modules/ui/components/bluetooth-state-notice.js +45 -20
  199. package/lib/module/modules/ui/components/bluetooth-state-notice.js.map +1 -1
  200. package/lib/module/modules/ui/components/flow-frame.js +157 -0
  201. package/lib/module/modules/ui/components/flow-frame.js.map +1 -0
  202. package/lib/module/modules/ui/default-translation.js +45 -0
  203. package/lib/module/modules/ui/default-translation.js.map +1 -0
  204. package/lib/module/modules/ui/index.js +1 -0
  205. package/lib/module/modules/ui/index.js.map +1 -1
  206. package/lib/module/polyfills/index.js +1 -1
  207. package/lib/module/polyfills/index.js.map +1 -1
  208. package/lib/typescript/commonjs/src/index.d.ts +1 -0
  209. package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
  210. package/lib/typescript/commonjs/src/modules/auth/default-translation.d.ts +5 -0
  211. package/lib/typescript/commonjs/src/modules/auth/default-translation.d.ts.map +1 -1
  212. package/lib/typescript/commonjs/src/modules/auth/delete-account-button/components/delete-account-button.d.ts.map +1 -1
  213. package/lib/typescript/commonjs/src/modules/auth/hooks/use-auth-action.d.ts.map +1 -1
  214. package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.d.ts.map +1 -1
  215. package/lib/typescript/commonjs/src/modules/auth/index.d.ts +1 -1
  216. package/lib/typescript/commonjs/src/modules/auth/index.d.ts.map +1 -1
  217. package/lib/typescript/commonjs/src/modules/auth/profile/components/form-phone-country-picker.d.ts +14 -0
  218. package/lib/typescript/commonjs/src/modules/auth/profile/components/form-phone-country-picker.d.ts.map +1 -0
  219. package/lib/typescript/commonjs/src/modules/auth/profile/components/form-phone-field.d.ts +1 -6
  220. package/lib/typescript/commonjs/src/modules/auth/profile/components/form-phone-field.d.ts.map +1 -1
  221. package/lib/typescript/commonjs/src/modules/auth/profile/components/profile-form-choice-field.d.ts.map +1 -1
  222. package/lib/typescript/commonjs/src/modules/auth/profile/components/profile-form-provider.d.ts.map +1 -1
  223. package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-field.d.ts +4 -0
  224. package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-field.d.ts.map +1 -1
  225. package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-props.d.ts +1 -1
  226. package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-props.d.ts.map +1 -1
  227. package/lib/typescript/commonjs/src/modules/auth/profile/utils/phone-countries.d.ts +10 -0
  228. package/lib/typescript/commonjs/src/modules/auth/profile/utils/phone-countries.d.ts.map +1 -0
  229. package/lib/typescript/commonjs/src/modules/auth/register/components/form/inputs.d.ts.map +1 -1
  230. package/lib/typescript/commonjs/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
  231. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts.map +1 -1
  232. package/lib/typescript/commonjs/src/modules/auth/session/logout-session.d.ts.map +1 -1
  233. package/lib/typescript/commonjs/src/modules/auth/session/session-errors.d.ts +4 -0
  234. package/lib/typescript/commonjs/src/modules/auth/session/session-errors.d.ts.map +1 -0
  235. package/lib/typescript/commonjs/src/modules/auth/session/session-store-types.d.ts +27 -0
  236. package/lib/typescript/commonjs/src/modules/auth/session/session-store-types.d.ts.map +1 -0
  237. package/lib/typescript/commonjs/src/modules/auth/session/session-store.d.ts +1 -18
  238. package/lib/typescript/commonjs/src/modules/auth/session/session-store.d.ts.map +1 -1
  239. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
  240. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
  241. package/lib/typescript/commonjs/src/modules/auth/types/session.d.ts +1 -1
  242. package/lib/typescript/commonjs/src/modules/auth/types/session.d.ts.map +1 -1
  243. package/lib/typescript/commonjs/src/modules/auth/utils/sign-in-error.d.ts +3 -1
  244. package/lib/typescript/commonjs/src/modules/auth/utils/sign-in-error.d.ts.map +1 -1
  245. package/lib/typescript/commonjs/src/modules/auth/utils/sign-out-google.d.ts.map +1 -1
  246. package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts +1 -1
  247. package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  248. package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider.d.ts.map +1 -1
  249. package/lib/typescript/commonjs/src/modules/bt-management/components/default-permission-fallback.d.ts +3 -3
  250. package/lib/typescript/commonjs/src/modules/bt-management/components/default-permission-fallback.d.ts.map +1 -1
  251. package/lib/typescript/commonjs/src/modules/bt-management/hooks/declined-device-storage.d.ts +14 -0
  252. package/lib/typescript/commonjs/src/modules/bt-management/hooks/declined-device-storage.d.ts.map +1 -0
  253. package/lib/typescript/commonjs/src/modules/bt-management/hooks/nearby-device-offer-state.d.ts +6 -0
  254. package/lib/typescript/commonjs/src/modules/bt-management/hooks/nearby-device-offer-state.d.ts.map +1 -0
  255. package/lib/typescript/commonjs/src/modules/bt-management/hooks/nearby-device-offer-types.d.ts +15 -0
  256. package/lib/typescript/commonjs/src/modules/bt-management/hooks/nearby-device-offer-types.d.ts.map +1 -0
  257. package/lib/typescript/commonjs/src/modules/bt-management/hooks/runtime-context.d.ts +3 -0
  258. package/lib/typescript/commonjs/src/modules/bt-management/hooks/runtime-context.d.ts.map +1 -1
  259. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-bluetooth-permission.d.ts +1 -1
  260. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-bluetooth-permission.d.ts.map +1 -1
  261. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-bluetooth-state.d.ts +3 -0
  262. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-bluetooth-state.d.ts.map +1 -1
  263. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-nearby-device-offer.d.ts +7 -14
  264. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-nearby-device-offer.d.ts.map +1 -1
  265. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-request-permissions.d.ts +1 -0
  266. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-request-permissions.d.ts.map +1 -1
  267. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts +2 -0
  268. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts.map +1 -1
  269. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -1
  270. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  271. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  272. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts +2 -2
  273. package/lib/typescript/commonjs/src/modules/bt-management/types/background-sync.d.ts +7 -0
  274. package/lib/typescript/commonjs/src/modules/bt-management/types/background-sync.d.ts.map +1 -1
  275. package/lib/typescript/commonjs/src/modules/bt-management/types/bluetooth-error.d.ts.map +1 -1
  276. package/lib/typescript/commonjs/src/modules/bt-management/types/bluetooth-permission-status.d.ts +2 -0
  277. package/lib/typescript/commonjs/src/modules/bt-management/types/bluetooth-permission-status.d.ts.map +1 -0
  278. package/lib/typescript/commonjs/src/modules/bt-management/types/btprovider-children-props.d.ts +2 -0
  279. package/lib/typescript/commonjs/src/modules/bt-management/types/btprovider-children-props.d.ts.map +1 -1
  280. package/lib/typescript/commonjs/src/modules/bt-management/types/btprovider-props.d.ts +9 -2
  281. package/lib/typescript/commonjs/src/modules/bt-management/types/btprovider-props.d.ts.map +1 -1
  282. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement.d.ts +5 -7
  283. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement.d.ts.map +1 -1
  284. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts +2 -2
  285. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  286. package/lib/typescript/commonjs/src/modules/bt-management/types/result-callback.d.ts +7 -2
  287. package/lib/typescript/commonjs/src/modules/bt-management/types/result-callback.d.ts.map +1 -1
  288. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-generic-health-data.d.ts.map +1 -1
  289. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-data-catalog.d.ts +2 -0
  290. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-data-catalog.d.ts.map +1 -1
  291. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-units.d.ts.map +1 -1
  292. package/lib/typescript/commonjs/src/modules/progress-ring/components/progress-ring.d.ts +3 -0
  293. package/lib/typescript/commonjs/src/modules/progress-ring/components/progress-ring.d.ts.map +1 -0
  294. package/lib/typescript/commonjs/src/modules/progress-ring/index.d.ts +3 -0
  295. package/lib/typescript/commonjs/src/modules/progress-ring/index.d.ts.map +1 -0
  296. package/lib/typescript/commonjs/src/modules/progress-ring/types/progress-ring-props.d.ts +12 -0
  297. package/lib/typescript/commonjs/src/modules/progress-ring/types/progress-ring-props.d.ts.map +1 -0
  298. package/lib/typescript/commonjs/src/modules/ui/components/bluetooth-state-notice.d.ts +8 -5
  299. package/lib/typescript/commonjs/src/modules/ui/components/bluetooth-state-notice.d.ts.map +1 -1
  300. package/lib/typescript/commonjs/src/modules/ui/components/flow-frame.d.ts +23 -0
  301. package/lib/typescript/commonjs/src/modules/ui/components/flow-frame.d.ts.map +1 -0
  302. package/lib/typescript/commonjs/src/modules/ui/default-translation.d.ts +30 -0
  303. package/lib/typescript/commonjs/src/modules/ui/default-translation.d.ts.map +1 -0
  304. package/lib/typescript/commonjs/src/modules/ui/index.d.ts +1 -0
  305. package/lib/typescript/commonjs/src/modules/ui/index.d.ts.map +1 -1
  306. package/lib/typescript/commonjs/src/polyfills/index.d.ts +1 -1
  307. package/lib/typescript/commonjs/src/polyfills/index.d.ts.map +1 -1
  308. package/lib/typescript/commonjs/type-tests/result-callback.d.ts +9 -0
  309. package/lib/typescript/commonjs/type-tests/result-callback.d.ts.map +1 -0
  310. package/lib/typescript/module/src/index.d.ts +1 -0
  311. package/lib/typescript/module/src/index.d.ts.map +1 -1
  312. package/lib/typescript/module/src/modules/auth/default-translation.d.ts +5 -0
  313. package/lib/typescript/module/src/modules/auth/default-translation.d.ts.map +1 -1
  314. package/lib/typescript/module/src/modules/auth/delete-account-button/components/delete-account-button.d.ts.map +1 -1
  315. package/lib/typescript/module/src/modules/auth/hooks/use-auth-action.d.ts.map +1 -1
  316. package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.d.ts.map +1 -1
  317. package/lib/typescript/module/src/modules/auth/index.d.ts +1 -1
  318. package/lib/typescript/module/src/modules/auth/index.d.ts.map +1 -1
  319. package/lib/typescript/module/src/modules/auth/profile/components/form-phone-country-picker.d.ts +14 -0
  320. package/lib/typescript/module/src/modules/auth/profile/components/form-phone-country-picker.d.ts.map +1 -0
  321. package/lib/typescript/module/src/modules/auth/profile/components/form-phone-field.d.ts +1 -6
  322. package/lib/typescript/module/src/modules/auth/profile/components/form-phone-field.d.ts.map +1 -1
  323. package/lib/typescript/module/src/modules/auth/profile/components/profile-form-choice-field.d.ts.map +1 -1
  324. package/lib/typescript/module/src/modules/auth/profile/components/profile-form-provider.d.ts.map +1 -1
  325. package/lib/typescript/module/src/modules/auth/profile/types/profile-form-field.d.ts +4 -0
  326. package/lib/typescript/module/src/modules/auth/profile/types/profile-form-field.d.ts.map +1 -1
  327. package/lib/typescript/module/src/modules/auth/profile/types/profile-form-props.d.ts +1 -1
  328. package/lib/typescript/module/src/modules/auth/profile/types/profile-form-props.d.ts.map +1 -1
  329. package/lib/typescript/module/src/modules/auth/profile/utils/phone-countries.d.ts +10 -0
  330. package/lib/typescript/module/src/modules/auth/profile/utils/phone-countries.d.ts.map +1 -0
  331. package/lib/typescript/module/src/modules/auth/register/components/form/inputs.d.ts.map +1 -1
  332. package/lib/typescript/module/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
  333. package/lib/typescript/module/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts.map +1 -1
  334. package/lib/typescript/module/src/modules/auth/session/logout-session.d.ts.map +1 -1
  335. package/lib/typescript/module/src/modules/auth/session/session-errors.d.ts +4 -0
  336. package/lib/typescript/module/src/modules/auth/session/session-errors.d.ts.map +1 -0
  337. package/lib/typescript/module/src/modules/auth/session/session-store-types.d.ts +27 -0
  338. package/lib/typescript/module/src/modules/auth/session/session-store-types.d.ts.map +1 -0
  339. package/lib/typescript/module/src/modules/auth/session/session-store.d.ts +1 -18
  340. package/lib/typescript/module/src/modules/auth/session/session-store.d.ts.map +1 -1
  341. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
  342. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
  343. package/lib/typescript/module/src/modules/auth/types/session.d.ts +1 -1
  344. package/lib/typescript/module/src/modules/auth/types/session.d.ts.map +1 -1
  345. package/lib/typescript/module/src/modules/auth/utils/sign-in-error.d.ts +3 -1
  346. package/lib/typescript/module/src/modules/auth/utils/sign-in-error.d.ts.map +1 -1
  347. package/lib/typescript/module/src/modules/auth/utils/sign-out-google.d.ts.map +1 -1
  348. package/lib/typescript/module/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts +1 -1
  349. package/lib/typescript/module/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  350. package/lib/typescript/module/src/modules/bt-management/components/bt-provider.d.ts.map +1 -1
  351. package/lib/typescript/module/src/modules/bt-management/components/default-permission-fallback.d.ts +3 -3
  352. package/lib/typescript/module/src/modules/bt-management/components/default-permission-fallback.d.ts.map +1 -1
  353. package/lib/typescript/module/src/modules/bt-management/hooks/declined-device-storage.d.ts +14 -0
  354. package/lib/typescript/module/src/modules/bt-management/hooks/declined-device-storage.d.ts.map +1 -0
  355. package/lib/typescript/module/src/modules/bt-management/hooks/nearby-device-offer-state.d.ts +6 -0
  356. package/lib/typescript/module/src/modules/bt-management/hooks/nearby-device-offer-state.d.ts.map +1 -0
  357. package/lib/typescript/module/src/modules/bt-management/hooks/nearby-device-offer-types.d.ts +15 -0
  358. package/lib/typescript/module/src/modules/bt-management/hooks/nearby-device-offer-types.d.ts.map +1 -0
  359. package/lib/typescript/module/src/modules/bt-management/hooks/runtime-context.d.ts +3 -0
  360. package/lib/typescript/module/src/modules/bt-management/hooks/runtime-context.d.ts.map +1 -1
  361. package/lib/typescript/module/src/modules/bt-management/hooks/use-bluetooth-permission.d.ts +1 -1
  362. package/lib/typescript/module/src/modules/bt-management/hooks/use-bluetooth-permission.d.ts.map +1 -1
  363. package/lib/typescript/module/src/modules/bt-management/hooks/use-bluetooth-state.d.ts +3 -0
  364. package/lib/typescript/module/src/modules/bt-management/hooks/use-bluetooth-state.d.ts.map +1 -1
  365. package/lib/typescript/module/src/modules/bt-management/hooks/use-nearby-device-offer.d.ts +7 -14
  366. package/lib/typescript/module/src/modules/bt-management/hooks/use-nearby-device-offer.d.ts.map +1 -1
  367. package/lib/typescript/module/src/modules/bt-management/hooks/use-request-permissions.d.ts +1 -0
  368. package/lib/typescript/module/src/modules/bt-management/hooks/use-request-permissions.d.ts.map +1 -1
  369. package/lib/typescript/module/src/modules/bt-management/index.d.ts +2 -0
  370. package/lib/typescript/module/src/modules/bt-management/index.d.ts.map +1 -1
  371. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -1
  372. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  373. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  374. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts +2 -2
  375. package/lib/typescript/module/src/modules/bt-management/types/background-sync.d.ts +7 -0
  376. package/lib/typescript/module/src/modules/bt-management/types/background-sync.d.ts.map +1 -1
  377. package/lib/typescript/module/src/modules/bt-management/types/bluetooth-error.d.ts.map +1 -1
  378. package/lib/typescript/module/src/modules/bt-management/types/bluetooth-permission-status.d.ts +2 -0
  379. package/lib/typescript/module/src/modules/bt-management/types/bluetooth-permission-status.d.ts.map +1 -0
  380. package/lib/typescript/module/src/modules/bt-management/types/btprovider-children-props.d.ts +2 -0
  381. package/lib/typescript/module/src/modules/bt-management/types/btprovider-children-props.d.ts.map +1 -1
  382. package/lib/typescript/module/src/modules/bt-management/types/btprovider-props.d.ts +9 -2
  383. package/lib/typescript/module/src/modules/bt-management/types/btprovider-props.d.ts.map +1 -1
  384. package/lib/typescript/module/src/modules/bt-management/types/custom-measurement.d.ts +5 -7
  385. package/lib/typescript/module/src/modules/bt-management/types/custom-measurement.d.ts.map +1 -1
  386. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts +2 -2
  387. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  388. package/lib/typescript/module/src/modules/bt-management/types/result-callback.d.ts +7 -2
  389. package/lib/typescript/module/src/modules/bt-management/types/result-callback.d.ts.map +1 -1
  390. package/lib/typescript/module/src/modules/data-sync/utils/convert-generic-health-data.d.ts.map +1 -1
  391. package/lib/typescript/module/src/modules/data-sync/utils/health-data-catalog.d.ts +2 -0
  392. package/lib/typescript/module/src/modules/data-sync/utils/health-data-catalog.d.ts.map +1 -1
  393. package/lib/typescript/module/src/modules/data-sync/utils/health-units.d.ts.map +1 -1
  394. package/lib/typescript/module/src/modules/progress-ring/components/progress-ring.d.ts +3 -0
  395. package/lib/typescript/module/src/modules/progress-ring/components/progress-ring.d.ts.map +1 -0
  396. package/lib/typescript/module/src/modules/progress-ring/index.d.ts +3 -0
  397. package/lib/typescript/module/src/modules/progress-ring/index.d.ts.map +1 -0
  398. package/lib/typescript/module/src/modules/progress-ring/types/progress-ring-props.d.ts +12 -0
  399. package/lib/typescript/module/src/modules/progress-ring/types/progress-ring-props.d.ts.map +1 -0
  400. package/lib/typescript/module/src/modules/ui/components/bluetooth-state-notice.d.ts +8 -5
  401. package/lib/typescript/module/src/modules/ui/components/bluetooth-state-notice.d.ts.map +1 -1
  402. package/lib/typescript/module/src/modules/ui/components/flow-frame.d.ts +23 -0
  403. package/lib/typescript/module/src/modules/ui/components/flow-frame.d.ts.map +1 -0
  404. package/lib/typescript/module/src/modules/ui/default-translation.d.ts +30 -0
  405. package/lib/typescript/module/src/modules/ui/default-translation.d.ts.map +1 -0
  406. package/lib/typescript/module/src/modules/ui/index.d.ts +1 -0
  407. package/lib/typescript/module/src/modules/ui/index.d.ts.map +1 -1
  408. package/lib/typescript/module/src/polyfills/index.d.ts +1 -1
  409. package/lib/typescript/module/src/polyfills/index.d.ts.map +1 -1
  410. package/lib/typescript/module/type-tests/result-callback.d.ts +9 -0
  411. package/lib/typescript/module/type-tests/result-callback.d.ts.map +1 -0
  412. package/package.json +6 -7
@@ -1,12 +1,19 @@
1
1
  import { AcceptedDevice } from "./accepted-device";
2
+ import { BluetoothPermissionStatus } from "./bluetooth-permission-status";
2
3
  import { BTProviderChildWrapperProps } from "./btprovider-children-props";
3
- export interface BTProviderProps<T extends readonly AcceptedDevice[]> extends BTProviderChildWrapperProps<T> {
4
+ interface BTProviderPermissionFallbackProps {
5
+ status: Exclude<BluetoothPermissionStatus, "unknown" | "granted">;
6
+ request: () => Promise<boolean>;
7
+ openSettings: () => void;
8
+ }
9
+ interface BTProviderProps<T extends readonly AcceptedDevice[]> extends BTProviderChildWrapperProps<T> {
4
10
  onAccessPermissionChanged?: (accessPermission: boolean) => void;
5
11
  /**
6
12
  * Callback to be called when the access permission is not granted and the user is asked to open the settings
7
13
  */
8
- permissionFallback?: () => React.ReactNode;
14
+ permissionFallback?: (permission: BTProviderPermissionFallbackProps) => React.ReactNode;
9
15
  /** Keep children mounted while permission is pending or denied when false (default). */
10
16
  gateOnPermission?: boolean;
11
17
  }
18
+ export { BTProviderPermissionFallbackProps, BTProviderProps };
12
19
  //# sourceMappingURL=btprovider-props.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"btprovider-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/btprovider-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAE1E,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,SAAS,cAAc,EAAE,CAClE,SAAQ,2BAA2B,CAAC,CAAC,CAAC;IACtC,yBAAyB,CAAC,EAAE,CAAC,gBAAgB,EAAE,OAAO,KAAK,IAAI,CAAC;IAEhE;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC;IAE3C,wFAAwF;IACxF,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B"}
1
+ {"version":3,"file":"btprovider-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/btprovider-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAE1E,UAAU,iCAAiC;IACzC,MAAM,EAAE,OAAO,CAAC,yBAAyB,EAAE,SAAS,GAAG,SAAS,CAAC,CAAC;IAClE,OAAO,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IAChC,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED,UAAU,eAAe,CAAC,CAAC,SAAS,SAAS,cAAc,EAAE,CAC3D,SAAQ,2BAA2B,CAAC,CAAC,CAAC;IACtC,yBAAyB,CAAC,EAAE,CAAC,gBAAgB,EAAE,OAAO,KAAK,IAAI,CAAC;IAEhE;;OAEG;IACH,kBAAkB,CAAC,EAAE,CACnB,UAAU,EAAE,iCAAiC,KAC1C,KAAK,CAAC,SAAS,CAAC;IAErB,wFAAwF;IACxF,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,OAAO,EAAE,iCAAiC,EAAE,eAAe,EAAE,CAAC"}
@@ -1,10 +1,8 @@
1
- import { MeasurementTypeKey } from "@ovok/core";
1
+ import type { BloodGlucoseMeasurement, BloodPressureMeasurement, BodyTemperatureMeasurement, BodyWeightMeasurement, EcgMeasurement, HeartRateMeasurement, PulseOximeterMeasurement, RespiratoryRateMeasurement, UrineAnalyzeMeasurement } from "@ovok/core";
2
2
  /**
3
- * What a declared device reports. The property names are checked at registration against
4
- * the measurement catalog, so at runtime every own property is a bounds-checked number.
3
+ * The measurement shapes a custom-device declaration may report. Its decoder fields are
4
+ * checked against the measurement catalog at registration, so this union can preserve the
5
+ * same measurementTypeKey discrimination as results from built-in devices.
5
6
  */
6
- export interface CustomMeasurement {
7
- measurementTypeKey: MeasurementTypeKey;
8
- [field: string]: number | MeasurementTypeKey | undefined;
9
- }
7
+ export type CustomMeasurement = BloodPressureMeasurement | BodyWeightMeasurement | BodyTemperatureMeasurement | BloodGlucoseMeasurement | PulseOximeterMeasurement | HeartRateMeasurement | EcgMeasurement | RespiratoryRateMeasurement | UrineAnalyzeMeasurement;
10
8
  //# sourceMappingURL=custom-measurement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"custom-measurement.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/custom-measurement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAAC;CAC1D"}
1
+ {"version":3,"file":"custom-measurement.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/custom-measurement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,wBAAwB,EACxB,0BAA0B,EAC1B,qBAAqB,EACrB,cAAc,EACd,oBAAoB,EACpB,wBAAwB,EACxB,0BAA0B,EAC1B,uBAAuB,EACxB,MAAM,YAAY,CAAC;AAEpB;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GACzB,wBAAwB,GACxB,qBAAqB,GACrB,0BAA0B,GAC1B,uBAAuB,GACvB,wBAAwB,GACxB,oBAAoB,GACpB,cAAc,GACd,0BAA0B,GAC1B,uBAAuB,CAAC"}
@@ -89,8 +89,8 @@ interface DeviceMeasurementMap {
89
89
  * through defineCustomDevice reports the catalog-checked properties its declaration named.
90
90
  */
91
91
  type MeasurementForDevice<K extends DeviceKey> = K extends IntegratedDevices ? DeviceMeasurementMap[K] : CustomMeasurement;
92
- export type MeasurementTypeForDevices<T extends readonly DeviceKey[]> = MeasurementForDevice<T[number]> & {
92
+ type MeasurementTypeForDevices<T extends readonly DeviceKey[]> = MeasurementForDevice<T[number]> & {
93
93
  caseType: CaseType;
94
94
  };
95
- export {};
95
+ export type { DeviceMeasurementMap, MeasurementForDevice, MeasurementTypeForDevices, };
96
96
  //# sourceMappingURL=device-measurement-map.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"device-measurement-map.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/device-measurement-map.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,uBAAuB,EACvB,qBAAqB,EACrB,0BAA0B,EAC1B,cAAc,EACd,qBAAqB,EACrB,wBAAwB,EACxB,6BAA6B,EAC7B,uBAAuB,EACvB,kBAAkB,EAC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AAC;AAE5E,KAAK,yBAAyB,CAAC,CAAC,SAAS,SAAS,SAAS,EAAE,IAC3D,oBAAoB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG;IAAE,QAAQ,EAAE,QAAQ,CAAA;CAAE,CAAC;AAE3D,YAAY,EACV,oBAAoB,EACpB,oBAAoB,EACpB,yBAAyB,GAC1B,CAAC"}
@@ -1,10 +1,15 @@
1
1
  import { DeviceData } from "./device-data";
2
2
  import { DeviceKey } from "./device-key";
3
3
  import { MeasurementTypeForDevices } from "./device-measurement-map";
4
- export interface ResultCallback<T extends DeviceKey> {
4
+ type OmitCaseType<T> = T extends {
5
+ caseType: unknown;
6
+ } ? Omit<T, "caseType"> : never;
7
+ type ResultCallbackData<T extends DeviceKey> = OmitCaseType<MeasurementTypeForDevices<[T]>>;
8
+ interface ResultCallback<T extends DeviceKey> {
5
9
  /** Stable identity derived from the peripheral and recorded reading. */
6
10
  id: string;
7
11
  deviceData: DeviceData;
8
- data: Omit<MeasurementTypeForDevices<[T]>, "caseType">;
12
+ data: ResultCallbackData<T>;
9
13
  }
14
+ export type { ResultCallback, ResultCallbackData };
10
15
  //# sourceMappingURL=result-callback.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"result-callback.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/result-callback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,SAAS;IAEjD,wEAAwE;IACxE,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,UAAU,CAAC;IACvB,IAAI,EAAE,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;CACxD"}
1
+ {"version":3,"file":"result-callback.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/result-callback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE,KAAK,YAAY,CAAC,CAAC,IAAI,CAAC,SAAS;IAAE,QAAQ,EAAE,OAAO,CAAA;CAAE,GAClD,IAAI,CAAC,CAAC,EAAE,UAAU,CAAC,GACnB,KAAK,CAAC;AAEV,KAAK,kBAAkB,CAAC,CAAC,SAAS,SAAS,IAAI,YAAY,CACzD,yBAAyB,CAAC,CAAC,CAAC,CAAC,CAAC,CAC/B,CAAC;AAEF,UAAU,cAAc,CAAC,CAAC,SAAS,SAAS;IAE1C,wEAAwE;IACxE,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,UAAU,CAAC;IACvB,IAAI,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;CAC7B;AAED,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"convert-generic-health-data.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/convert-generic-health-data.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAI3D,KAAK,sBAAsB,GAAG,gBAAgB,CAAC,OAAO,CAAC,GAAG;IACxD,IAAI,EAAE,cAAc,CAAC;CACtB,CAAC;AAQF,eAAO,MAAM,qCAAqC,GAAU,kJAQzD,sBAAsB,KAAG,OAAO,CAAC,WAAW,EAAE,CAwGhD,CAAC"}
1
+ {"version":3,"file":"convert-generic-health-data.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/convert-generic-health-data.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAI3D,KAAK,sBAAsB,GAAG,gBAAgB,CAAC,OAAO,CAAC,GAAG;IACxD,IAAI,EAAE,cAAc,CAAC;CACtB,CAAC;AAUF,eAAO,MAAM,qCAAqC,GAAU,kJAQzD,sBAAsB,KAAG,OAAO,CAAC,WAAW,EAAE,CAwGhD,CAAC"}
@@ -3,6 +3,8 @@ import { HealthDataMode } from "../types/health-sync-keys";
3
3
  type LoincMapping = {
4
4
  code: string;
5
5
  display: string;
6
+ release: "2.83";
7
+ status: "Active";
6
8
  sourceUrl: string;
7
9
  modes: readonly HealthDataMode[];
8
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"health-data-catalog.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/health-data-catalog.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAI/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAqB3D,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,SAAS,cAAc,EAAE,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,EAAE,cAAc,GAAG,gBAAgB,CAAC;IAC5C,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,eAAe,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,gBAAgB,CAAC;IAC7E,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,aAAa,GAAG,SAAS,GAAG,eAAe,CAAC;IAC1D,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAgpBF,QAAA,MAAM,mBAAmB,EAAE,SAAS,sBAAsB,EAYtD,CAAC;AAEL,QAAA,MAAM,mBAAmB,GACvB,UAAU,cAAc,EACxB,YAAY,MAAM,EAClB,MAAM,cAAc,KACnB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CA0BlD,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,CAAC"}
1
+ {"version":3,"file":"health-data-catalog.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/health-data-catalog.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAI/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAsB3D,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,QAAQ,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,SAAS,cAAc,EAAE,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,EAAE,cAAc,GAAG,gBAAgB,CAAC;IAC5C,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,eAAe,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,gBAAgB,CAAC;IAC7E,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,aAAa,GAAG,SAAS,GAAG,eAAe,CAAC;IAC1D,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAmsBF,QAAA,MAAM,mBAAmB,EAAE,SAAS,sBAAsB,EAYtD,CAAC;AAEL,QAAA,MAAM,mBAAmB,GACvB,UAAU,cAAc,EACxB,YAAY,MAAM,EAClB,MAAM,cAAc,KACnB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CA0BlD,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"health-units.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/health-units.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,oCAAoC,CAAC;AAkB5C,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,wBAAwB,EAC9D,gBAAgB,CAAC,KAChB,iBAAiB,CAAC,CAAC,CAAC,GAAG,SACwC,CAAC"}
1
+ {"version":3,"file":"health-units.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/health-units.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,oCAAoC,CAAC;AAmB5C,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,wBAAwB,EAC9D,gBAAgB,CAAC,KAChB,iBAAiB,CAAC,CAAC,CAAC,GAAG,SACwC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { ProgressRingProps } from "../types/progress-ring-props";
2
+ export declare const ProgressRing: ({ progress, size, strokeWidth, color, trackColor, children, onPress, style, ...props }: ProgressRingProps) => import("react").JSX.Element;
3
+ //# sourceMappingURL=progress-ring.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress-ring.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/progress-ring/components/progress-ring.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAItE,eAAO,MAAM,YAAY,GAAI,wFAU1B,iBAAiB,gCA6DnB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from "./components/progress-ring";
2
+ export * from "./types/progress-ring-props";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/progress-ring/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { ReactNode } from "react";
2
+ import type { PressableProps, StyleProp, ViewStyle } from "react-native";
3
+ export type ProgressRingProps = Omit<PressableProps, "accessibilityRole" | "accessibilityValue" | "children" | "style"> & {
4
+ progress?: number | null;
5
+ size?: number;
6
+ strokeWidth?: number;
7
+ color?: string;
8
+ trackColor?: string;
9
+ children?: ReactNode;
10
+ style?: StyleProp<ViewStyle>;
11
+ };
12
+ //# sourceMappingURL=progress-ring-props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress-ring-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/progress-ring/types/progress-ring-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzE,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAClC,cAAc,EACd,mBAAmB,GAAG,oBAAoB,GAAG,UAAU,GAAG,OAAO,CAClE,GAAG;IACF,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC"}
@@ -1,16 +1,19 @@
1
1
  import * as React from "react";
2
2
  import { BleManager } from "react-native-ble-plx";
3
+ import type { BluetoothPermissionStatus } from "../../bt-management/types/bluetooth-permission-status";
4
+ import "../default-translation";
3
5
  import { OvokUiProps } from "../types";
6
+ export interface BluetoothStateNoticeCopy {
7
+ heading?: string;
8
+ body?: string;
9
+ action?: string;
10
+ }
4
11
  export interface BluetoothStateNoticeProps extends OvokUiProps {
5
12
  bleManager?: BleManager;
6
13
  requestPermission?: () => Promise<boolean>;
7
14
  onOpenSettings?: () => Promise<void> | void;
8
15
  title?: string;
9
- copy?: Partial<Record<"on" | "unsupported" | "unauthorized" | "off", {
10
- heading?: string;
11
- body?: string;
12
- action?: string;
13
- }>>;
16
+ copy?: Partial<Record<"on" | "unsupported" | "unauthorized" | "off" | BluetoothPermissionStatus, BluetoothStateNoticeCopy>>;
14
17
  settingsAction?: string;
15
18
  testID?: string;
16
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"bluetooth-state-notice.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/ui/components/bluetooth-state-notice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAQlD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,WAAW,yBAA0B,SAAQ,WAAW;IAC5D,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IAC3C,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,aAAa,GAAG,cAAc,GAAG,KAAK,EAAE;QACnE,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC,CAAC,CAAC;IACJ,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,oBAAoB,GAAI,kHASlC,yBAAyB,6BAiF3B,CAAC"}
1
+ {"version":3,"file":"bluetooth-state-notice.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/ui/components/bluetooth-state-notice.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAOlD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uDAAuD,CAAC;AAGvG,OAAO,wBAAwB,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,WAAW,wBAAwB;IACvC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,yBAA0B,SAAQ,WAAW;IAC5D,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IAC3C,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CACZ,MAAM,CACJ,IAAI,GAAG,aAAa,GAAG,cAAc,GAAG,KAAK,GAAG,yBAAyB,EACzE,wBAAwB,CACzB,CACF,CAAC;IACF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,oBAAoB,GAAI,kHASlC,yBAAyB,6BA6I3B,CAAC"}
@@ -0,0 +1,23 @@
1
+ import * as React from "react";
2
+ import { StyleProp, ViewProps, ViewStyle } from "react-native";
3
+ import { Edge } from "react-native-safe-area-context";
4
+ import type { OvokUiProps } from "../types";
5
+ export interface FlowFrameProps extends OvokUiProps, Omit<ViewProps, "children"> {
6
+ children?: React.ReactNode;
7
+ title?: string;
8
+ header?: React.ReactNode;
9
+ footer?: React.ReactNode;
10
+ onBack?: () => boolean | void;
11
+ backLabel?: string;
12
+ currentStep?: number;
13
+ totalSteps?: number;
14
+ progressAccessibilityLabel?: string;
15
+ safeAreaEdges?: Edge[];
16
+ keyboardBehavior?: "height" | "position" | "padding";
17
+ keyboardVerticalOffset?: number;
18
+ contentStyle?: StyleProp<ViewStyle>;
19
+ handleAndroidBack?: boolean;
20
+ }
21
+ /** Layout primitive for host-owned, multi-step flows. It does not navigate or save data. */
22
+ export declare const FlowFrame: ({ children, title, header, footer, onBack, backLabel, currentStep, totalSteps, progressAccessibilityLabel, safeAreaEdges, keyboardBehavior, keyboardVerticalOffset, contentStyle, handleAndroidBack, style, testID, theme: themeOverride, slots, ...viewProps }: FlowFrameProps) => React.JSX.Element;
23
+ //# sourceMappingURL=flow-frame.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flow-frame.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/ui/components/flow-frame.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAKL,SAAS,EAGT,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,IAAI,EAAgB,MAAM,gCAAgC,CAAC;AAEpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAI5C,MAAM,WAAW,cAAe,SAAQ,WAAW,EAAE,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAC9E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,OAAO,GAAG,IAAI,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,aAAa,CAAC,EAAE,IAAI,EAAE,CAAC;IACvB,gBAAgB,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;IACrD,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,YAAY,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACpC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,4FAA4F;AAC5F,eAAO,MAAM,SAAS,GAAI,iQAoBvB,cAAc,sBAwGhB,CAAC"}
@@ -0,0 +1,30 @@
1
+ export declare const defaultUiTranslation: {
2
+ "bluetooth-state-notice": {
3
+ off: {
4
+ heading: string;
5
+ body: string;
6
+ action: string;
7
+ };
8
+ unsupported: {
9
+ heading: string;
10
+ body: string;
11
+ };
12
+ unauthorized: {
13
+ heading: string;
14
+ body: string;
15
+ action: string;
16
+ };
17
+ denied: {
18
+ heading: string;
19
+ body: string;
20
+ action: string;
21
+ };
22
+ blocked: {
23
+ heading: string;
24
+ body: string;
25
+ action: string;
26
+ };
27
+ "action-error": string;
28
+ };
29
+ };
30
+ //# sourceMappingURL=default-translation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default-translation.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/ui/default-translation.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BhC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  export * from "./types";
2
2
  export * from "./use-ovok-ui";
3
3
  export * from "./components/ecg-strip-viewer";
4
+ export * from "./components/flow-frame";
4
5
  export * from "./components/manual-entry-form";
5
6
  export * from "./components/supported-devices-catalog-list";
6
7
  export * from "./components/bluetooth-state-notice";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,qCAAqC,CAAC;AACpD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,qCAAqC,CAAC;AACpD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC"}
@@ -1,2 +1,2 @@
1
- export { polyfillMedplumWebAPIs, ExpoClientStorage, ExtendedExpoCrypto, IExpoClientStorage, PolyfillEnabledConfig, cleanupMedplumWebAPIs, initWebSocketManager, } from "@medplum/expo-polyfills";
1
+ export { polyfillMedplumWebAPIs, polyfillMedplumWebAPIs as initializeOvokNativeRuntime, ExpoClientStorage, ExtendedExpoCrypto, IExpoClientStorage, PolyfillEnabledConfig, cleanupMedplumWebAPIs, cleanupMedplumWebAPIs as cleanupOvokNativeRuntime, initWebSocketManager, } from "@medplum/expo-polyfills";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/polyfills/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/polyfills/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,sBAAsB,IAAI,2BAA2B,EACrD,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,IAAI,wBAAwB,EACjD,oBAAoB,GACrB,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { CustomDeviceId, DeviceKey, IntegratedDevices, MeasurementTypeForDevices, ResultCallback } from "../src";
2
+ type BuiltInMeasurementTypes = MeasurementTypeForDevices<[
3
+ IntegratedDevices.BP2
4
+ ]>;
5
+ declare const checkBuiltInResult: (result: ResultCallback<DeviceKey>) => void;
6
+ declare const checkCustomResult: (result: ResultCallback<CustomDeviceId>) => void;
7
+ export type { BuiltInMeasurementTypes };
8
+ export { checkBuiltInResult, checkCustomResult };
9
+ //# sourceMappingURL=result-callback.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"result-callback.d.ts","sourceRoot":"","sources":["../../../../type-tests/result-callback.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EACd,SAAS,EACT,iBAAiB,EACjB,yBAAyB,EACzB,cAAc,EACf,MAAM,QAAQ,CAAC;AAEhB,KAAK,uBAAuB,GAAG,yBAAyB,CACtD;IAAC,iBAAiB,CAAC,GAAG;CAAC,CACxB,CAAC;AAEF,QAAA,MAAM,kBAAkB,GAAI,QAAQ,cAAc,CAAC,SAAS,CAAC,SAQ5D,CAAC;AAEF,QAAA,MAAM,iBAAiB,GAAI,QAAQ,cAAc,CAAC,cAAc,CAAC,SAQhE,CAAC;AAEF,YAAY,EAAE,uBAAuB,EAAE,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ovok/native",
3
- "version": "1.10.1",
3
+ "version": "1.10.3",
4
4
  "description": "React native component sdk for OVOK",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",
@@ -44,6 +44,7 @@
44
44
  "build:example": "tsc --project example/tsconfig.json",
45
45
  "build:doc": "tsc --project doc/tsconfig.json",
46
46
  "docs:llms": "node scripts/generate-llms-docs.mjs",
47
+ "docs:api-reference": "node scripts/generate-api-reference.mjs",
47
48
  "lint": "eslint \"**/*.{js,ts,tsx}\"",
48
49
  "clean": "del-cli lib",
49
50
  "prepare": "bob build",
@@ -73,7 +74,8 @@
73
74
  "@medplum/expo-polyfills": "3.2.23",
74
75
  "countries-list": "^3.4.1",
75
76
  "crypto-js": "4.2.0",
76
- "libphonenumber-js": "^1.13.14"
77
+ "libphonenumber-js": "^1.13.14",
78
+ "i18n-iso-countries": "^7.14.0"
77
79
  },
78
80
  "devDependencies": {
79
81
  "@babel/core": "^7.29.0",
@@ -90,7 +92,7 @@
90
92
  "@medplum/react-hooks": "3.2.23",
91
93
  "@opentelemetry/api": "^1.9.1",
92
94
  "@opentelemetry/api-logs": "^0.222.0",
93
- "@ovok/core": "^0.4.14",
95
+ "@ovok/core": "^0.4.22",
94
96
  "@react-native-community/datetimepicker": "^9.1.0",
95
97
  "@react-native-community/netinfo": "^12.0.1",
96
98
  "@react-native-google-signin/google-signin": "^16.1.2",
@@ -172,7 +174,7 @@
172
174
  "@kingstinct/react-native-healthkit": "*",
173
175
  "@opentelemetry/api": "^1.9.1",
174
176
  "@opentelemetry/api-logs": "^0.222.0",
175
- "@ovok/core": ">=0.4.9",
177
+ "@ovok/core": ">=0.4.19",
176
178
  "@react-native-community/datetimepicker": "*",
177
179
  "@react-native-community/netinfo": "*",
178
180
  "@react-native-google-signin/google-signin": "*",
@@ -237,9 +239,6 @@
237
239
  "@react-native-community/datetimepicker": {
238
240
  "optional": true
239
241
  },
240
- "@react-native-community/netinfo": {
241
- "optional": true
242
- },
243
242
  "@react-native-google-signin/google-signin": {
244
243
  "optional": true
245
244
  },