@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
@@ -21,6 +21,11 @@ interface BackgroundSyncOptions<T extends DeviceKey = DeviceKey> {
21
21
  storage: BackgroundSyncStorage;
22
22
  /** Called after a result is persisted. Resolve only after the result is accepted. */
23
23
  onResult: (result: BackgroundSyncResult<T>) => Promise<void>;
24
+ /**
25
+ * Returns the stable, opaque key for the account currently able to accept a
26
+ * result. Required at runtime before queueing or delivering account-owned data.
27
+ */
28
+ getOwnerKey?: () => string | undefined;
24
29
  /** Called when a corrupt stored queue is moved aside and reset. */
25
30
  onError?: (error: Error) => void;
26
31
  /** Storage key used by the queue. */
@@ -41,6 +46,8 @@ interface BackgroundSyncOptions<T extends DeviceKey = DeviceKey> {
41
46
  enabled?: boolean;
42
47
  title?: string;
43
48
  body?: string | ((result: BackgroundSyncResult<T>) => string);
49
+ /** Return false to suppress the notification for this accepted result. */
50
+ shouldNotify?: (result: BackgroundSyncResult<T>) => boolean;
44
51
  data?: PushNotificationContent["data"] | ((result: BackgroundSyncResult<T>) => PushNotificationContent["data"]);
45
52
  };
46
53
  /** Number of delivery attempts before an item is retained as exhausted. */
@@ -1 +1 @@
1
- {"version":3,"file":"background-sync.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/background-sync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,uBAAuB,CAAC;AACtF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAEnF,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,UAAU,qBAAqB;IAC7B,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACjD,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACxD;AAED,UAAU,oBAAoB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,CAC5D,SAAQ,cAAc,CAAC,CAAC,CAAC;IAEzB,kFAAkF;IAClF,EAAE,EAAE,MAAM,CAAC;IAEX,wFAAwF;IACxF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,qBAAqB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS;IAE7D,qCAAqC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,mGAAmG;IACnG,OAAO,EAAE,qBAAqB,CAAC;IAE/B,qFAAqF;IACrF,QAAQ,EAAE,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAE7D,mEAAmE;IACnE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAEjC,qCAAqC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,sFAAsF;IACtF,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAEjC,gFAAgF;IAChF,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC;;;OAGG;IACH,OAAO,CAAC,EAAE;QACR,iBAAiB,CAAC,EAAE,wCAAwC,CAAC;KAC9D,CAAC;IAEF,kFAAkF;IAClF,aAAa,CAAC,EAAE;QACd,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC;QAC9D,IAAI,CAAC,EACD,uBAAuB,CAAC,MAAM,CAAC,GAC/B,CAAC,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,uBAAuB,CAAC,MAAM,CAAC,CAAC,CAAC;KAC5E,CAAC;IAEF,2EAA2E;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,iFAAiF;IACjF,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,CAAC"}
1
+ {"version":3,"file":"background-sync.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/background-sync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,uBAAuB,CAAC;AACtF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAEnF,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MA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,EAAE,OAAO,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC;QAE9D,0EAA0E;QAC1E,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC;QAC5D,IAAI,CAAC,EACD,uBAAuB,CAAC,MAAM,CAAC,GAC/B,CAAC,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,uBAAuB,CAAC,MAAM,CAAC,CAAC,CAAC;KAC5E,CAAC;IAEF,2EAA2E;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,iFAAiF;IACjF,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"bluetooth-error.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/bluetooth-error.ts"],"names":[],"mappings":"AAIA,oBAAY,kBAAkB;IAC5B,OAAO,sBAAsB;IAC7B,iBAAiB,gCAAgC;IACjD,WAAW,0BAA0B;IACrC,WAAW,0BAA0B;IACrC,WAAW,0BAA0B;IACrC,iBAAiB,gCAAgC;IACjD,gBAAgB,+BAA+B;IAC/C,gBAAgB,+BAA+B;IAC/C,YAAY,2BAA2B;IACvC,aAAa,4BAA4B;IACzC,kBAAkB,iCAAiC;IACnD,eAAe,8BAA8B;CAC9C;AAED,qBAAa,cAAe,SAAQ,KAAK;aAIrB,IAAI,EAAE,kBAAkB;aAExB,cAAc,CAAC,EAAE,MAAM;aACvB,aAAa,CAAC,EAAE,OAAO;IANzC,SAAgB,IAAI,oBAAoB;gBAGtB,IAAI,EAAE,kBAAkB,EACxC,OAAO,EAAE,MAAM,EACC,cAAc,CAAC,EAAE,MAAM,YAAA,EACvB,aAAa,CAAC,EAAE,OAAO,YAAA;CAI1C;AAiBD,eAAO,MAAM,qBAAqB,GAChC,OAAO,OAAO,KACb,kBA4DF,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,OAAO,OAAO,KAAG,cAajD,CAAC"}
1
+ {"version":3,"file":"bluetooth-error.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/bluetooth-error.ts"],"names":[],"mappings":"AAIA,oBAAY,kBAAkB;IAC5B,OAAO,sBAAsB;IAC7B,iBAAiB,gCAAgC;IACjD,WAAW,0BAA0B;IACrC,WAAW,0BAA0B;IACrC,WAAW,0BAA0B;IACrC,iBAAiB,gCAAgC;IACjD,gBAAgB,+BAA+B;IAC/C,gBAAgB,+BAA+B;IAC/C,YAAY,2BAA2B;IACvC,aAAa,4BAA4B;IACzC,kBAAkB,iCAAiC;IACnD,eAAe,8BAA8B;CAC9C;AAID,qBAAa,cAAe,SAAQ,KAAK;aAIrB,IAAI,EAAE,kBAAkB;aAExB,cAAc,CAAC,EAAE,MAAM;aACvB,aAAa,CAAC,EAAE,OAAO;IANzC,SAAgB,IAAI,oBAAoB;gBAGtB,IAAI,EAAE,kBAAkB,EACxC,OAAO,EAAE,MAAM,EACC,cAAc,CAAC,EAAE,MAAM,YAAA,EACvB,aAAa,CAAC,EAAE,OAAO,YAAA;CAI1C;AAiBD,eAAO,MAAM,qBAAqB,GAChC,OAAO,OAAO,KACb,kBAgEF,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,OAAO,OAAO,KAAG,cAajD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export type BluetoothPermissionStatus = "unknown" | "granted" | "denied" | "blocked";
2
+ //# sourceMappingURL=bluetooth-permission-status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bluetooth-permission-status.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/bluetooth-permission-status.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,yBAAyB,GACjC,SAAS,GACT,SAAS,GACT,QAAQ,GACR,SAAS,CAAC"}
@@ -3,6 +3,7 @@ import { BTDeviceSelection, BTManager } from "../services/bt-manager";
3
3
  import { BTManagedDevice } from "../services/devices/bt-managed-device";
4
4
  import { AcceptedDevice } from "./accepted-device";
5
5
  import { BackgroundSyncOptions } from "./background-sync";
6
+ import { BluetoothPermissionStatus } from "./bluetooth-permission-status";
6
7
  import { ClockSyncOptions } from "./clock-sync";
7
8
  import { DeviceConnectionEvent } from "./device-connection-event";
8
9
  import { DeviceKeyOf } from "./device-key-of";
@@ -13,6 +14,7 @@ import { DeviceResultPolicy } from "./result-policy";
13
14
  export interface BTProviderChildWrapperProps<T extends readonly AcceptedDevice[]> {
14
15
  bleManager: BleManager;
15
16
  acceptedDevices: T;
17
+ permissionStatus?: BluetoothPermissionStatus;
16
18
  oneReadingPerConnection?: boolean;
17
19
  deliveredEcgFileNames?: readonly string[];
18
20
  deliveredFileNames?: readonly string[];
@@ -1 +1 @@
1
- {"version":3,"file":"btprovider-children-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/btprovider-children-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAExE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,aA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AAiB,CAAC,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAC1D,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;CAC3D"}
1
+ {"version":3,"file":"btprovider-children-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/btprovider-children-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAExE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,WAAW,2BAA2B,CAC1C,CAAC,SAAS,SAAS,cAAc,EAAE;IAEnC,UAAU,EAAE,UAAU,CAAC;IACvB,eAAe,EAAE,CAAC,CAAC;IACnB,gBAAgB,CAAC,EAAE,yBAAyB,CAAC;IAC7C,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,qBAAqB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1C,kBAAkB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAEvC,mEAAmE;IACnE,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,CAAC;IAC7D,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yBAAyB,CAAC,EAAE,CAAC,SAAS,EAAE;QACtC,OAAO,EAAE,SAAS,iBAAiB,EAAE,CAAC;QACtC,MAAM,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;KACtD,KAAK,IAAI,CAAC;IACX,cAAc,CAAC,EAAE,qBAAqB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACvD,aAAa,CAAC,EAAE,CACd,MAAM,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EACvC,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,KAClB,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IACxC,qBAAqB,CAAC,EAAE,CAAC,IAAI,EAAE,0BAA0B,KAAK,IAAI,CAAC;IACnE,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAC1D,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;CAC3D"}
@@ -1,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,EACnB,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,KAAK,4BAA4B,GAAG;IAClC,kBAAkB,EAAE,kBAAkB,CAAC,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF,KAAK,4BAA4B,GAAG;IAClC,kBAAkB,EAAE,kBAAkB,CAAC,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF,KAAK,sBAAsB,GAAG,4BAA4B,CAAC;AAE3D,KAAK,sBAAsB,GAAG,4BAA4B,CAAC;AAE3D,KAAK,2BAA2B,GAAG;IACjC,kBAAkB,EAAE,kBAAkB,CAAC,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,IAAI,CAAC;CACnB,CAAC;AAEF,KAAK,qBAAqB,GAAG,cAAc,GAAG;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;A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AAC,SAAS,iBAAiB,GACxE,oBAAoB,CAAC,CAAC,CAAC,GACvB,iBAAiB,CAAC;AAEtB,MAAM,MAAM,yBAAyB,CAAC,CAAC,SAAS,SAAS,SAAS,EAAE,IAClE,oBAAoB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG;IAAE,QAAQ,EAAE,QAAQ,CAAA;CAAE,CAAC"}
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,EACnB,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,KAAK,4BAA4B,GAAG;IAClC,kBAAkB,EAAE,kBAAkB,CAAC,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF,KAAK,4BAA4B,GAAG;IAClC,kBAAkB,EAAE,kBAAkB,CAAC,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF,KAAK,sBAAsB,GAAG,4BAA4B,CAAC;AAE3D,KAAK,sBAAsB,GAAG,4BAA4B,CAAC;AAE3D,KAAK,2BAA2B,GAAG;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,wBAAwB,CAAC;IACxD,CAAC,iBAAiB,CAAC,SAAS,CAAC,EAAE,wBAAwB,CAAC;IACxD,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAC3B,sBAAsB,GACtB,sBAAsB,CAAC;CAC5B;AAED;;;GAGG;AACH,KAAK,oBAAoB,CAAC,CAAC,SAAS,SAAS,IAC3C,CAAC,SAAS,iBAAiB,GAAG,oBAAoB,CAAC,CAAC,CAAC,GAAG,iBAAiB,CAAC;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"}
@@ -14,6 +14,7 @@ export * from "./polyfills";
14
14
  export * from "./modules/language-switcher";
15
15
  export * from "./modules/journal";
16
16
  export * from "./modules/progress-bar";
17
+ export * from "./modules/progress-ring";
17
18
  export * from "./modules/patient";
18
19
  export * from "./modules/questionnaire-response-form";
19
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uCAAuC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uCAAuC,CAAC"}
@@ -9,6 +9,10 @@ export declare const defaultTranslation: {
9
9
  };
10
10
  profile: {
11
11
  form: {
12
+ error: {
13
+ network: string;
14
+ generic: string;
15
+ };
12
16
  phone: {
13
17
  country: string;
14
18
  invalid: string;
@@ -34,6 +38,7 @@ export declare const defaultTranslation: {
34
38
  patient: string;
35
39
  practitioner: string;
36
40
  "reset-password": string;
41
+ success: string;
37
42
  subtitle: string;
38
43
  title: string;
39
44
  };
@@ -1 +1 @@
1
- {"version":3,"file":"default-translation.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/auth/default-translation.ts"],"names":[],"mappings":"AAEA,8FAA8F;AAC9F,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6D9B,CAAC"}
1
+ {"version":3,"file":"default-translation.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/auth/default-translation.ts"],"names":[],"mappings":"AAEA,8FAA8F;AAC9F,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkE9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"delete-account-button.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/delete-account-button/components/delete-account-button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,eAAO,MAAM,mBAAmB,GAAI,kDAMjC,wBAAwB,sBAqG1B,CAAC"}
1
+ {"version":3,"file":"delete-account-button.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/delete-account-button/components/delete-account-button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,eAAO,MAAM,mBAAmB,GAAI,kDAMjC,wBAAwB,sBAuH1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-auth-action.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-auth-action.ts"],"names":[],"mappings":"AAEA,KAAK,gBAAgB,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAEjE,UAAU,eAAe,CAAC,OAAO;IAC/B,MAAM,EAAE,gBAAgB,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,GAAG,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;CAC7B;AAED,QAAA,MAAM,aAAa,GAAI,KAAK,SAAS,OAAO,EAAE,EAAE,OAAO,EACrD,QAAQ,CAAC,GAAG,IAAI,EAAE,KAAK,KAAK,OAAO,CAAC,OAAO,CAAC,KAC3C,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,GAAG;IAAE,GAAG,EAAE,CAAC,GAAG,IAAI,EAAE,KAAK,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;CAiCrF,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"use-auth-action.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-auth-action.ts"],"names":[],"mappings":"AAEA,KAAK,gBAAgB,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAEjE,UAAU,eAAe,CAAC,OAAO;IAC/B,MAAM,EAAE,gBAAgB,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,GAAG,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;CAC7B;AAED,QAAA,MAAM,aAAa,GAAI,KAAK,SAAS,OAAO,EAAE,EAAE,OAAO,EACrD,QAAQ,CAAC,GAAG,IAAI,EAAE,KAAK,KAAK,OAAO,CAAC,OAAO,CAAC,KAC3C,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,GAAG;IAAE,GAAG,EAAE,CAAC,GAAG,IAAI,EAAE,KAAK,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;CA8CrF,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,aAAa,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-social-sign-in.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-social-sign-in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAa,MAAM,YAAY,CAAC;AAcrD,MAAM,MAAM,mBAAmB,GAC3B;IACE,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;CAC3B,GACD;IAAE,QAAQ,EAAE,OAAO,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAAC;AAoB9C,eAAO,MAAM,eAAe,GAAI,SAAS,mBAAmB;;CAgF3D,CAAC"}
1
+ {"version":3,"file":"use-social-sign-in.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-social-sign-in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAa,MAAM,YAAY,CAAC;AAcrD,MAAM,MAAM,mBAAmB,GAC3B;IACE,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;CAC3B,GACD;IAAE,QAAQ,EAAE,OAAO,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAAC;AAY9C,eAAO,MAAM,eAAe,GAAI,SAAS,mBAAmB;;CAgF3D,CAAC"}
@@ -12,7 +12,7 @@ export * from "./hooks/use-social-sign-in";
12
12
  export * from "./hooks/use-sign-out";
13
13
  export * from "./hooks/use-delete-account";
14
14
  export * from "./utils/rate-limit";
15
- export type { SignInError } from "./utils/sign-in-error";
15
+ export * from "./utils/sign-in-error";
16
16
  export * from "./hooks/use-session";
17
17
  export * from "./session";
18
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/auth/index.tsx"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,CAAC;AAE/B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,YAAY,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/auth/index.tsx"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,CAAC;AAE/B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC"}
@@ -0,0 +1,14 @@
1
+ import * as React from "react";
2
+ import type { PhoneCountry } from "../utils/phone-countries";
3
+ type FormPhoneCountryPickerProps = {
4
+ country: PhoneCountry["value"];
5
+ countries: PhoneCountry[];
6
+ disabled: boolean;
7
+ label: string;
8
+ onChange: (country: PhoneCountry) => void;
9
+ searchPlaceholder: string;
10
+ testID?: string;
11
+ };
12
+ declare const FormPhoneCountryPicker: ({ country, countries, disabled, label, onChange, searchPlaceholder, testID, }: FormPhoneCountryPickerProps) => React.JSX.Element;
13
+ export { FormPhoneCountryPicker };
14
+ //# sourceMappingURL=form-phone-country-picker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-phone-country-picker.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/components/form-phone-country-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAI7D,KAAK,2BAA2B,GAAG;IACjC,OAAO,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;IAC/B,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;IAC1C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,QAAA,MAAM,sBAAsB,GAAI,+EAQ7B,2BAA2B,sBA6E7B,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
@@ -1,11 +1,6 @@
1
1
  import { type CountryCode } from "libphonenumber-js";
2
2
  import * as React from "react";
3
- type PhoneCountry = {
4
- label: string;
5
- value: CountryCode;
6
- };
7
- type CountryName = (code: CountryCode, language: string) => string;
8
- declare const getPhoneCountries: (language: string, countryName?: CountryName) => PhoneCountry[];
3
+ import { getPhoneCountries, type CountryName } from "../utils/phone-countries";
9
4
  type FormPhoneFieldProps = {
10
5
  name: string;
11
6
  fieldName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"form-phone-field.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/components/form-phone-field.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,WAAW,CAAC;CACpB,CAAC;AAEF,KAAK,WAAW,GAAG,CAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC;AAanE,QAAA,MAAM,iBAAiB,GACrB,UAAU,MAAM,EAChB,cAAc,WAAW,KACxB,YAAY,EA2Bd,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,WAAW,CAAC;IAC5B,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,QAAA,MAAM,cAAc,GAAI,4EAQrB,mBAAmB,sBA4IrB,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"form-phone-field.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/components/form-phone-field.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EACL,iBAAiB,EACjB,KAAK,WAAW,EAEjB,MAAM,0BAA0B,CAAC;AAIlC,KAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,WAAW,CAAC;IAC5B,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,QAAA,MAAM,cAAc,GAAI,4EAQrB,mBAAmB,sBAuHrB,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"profile-form-choice-field.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/components/profile-form-choice-field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,KAAK,2BAA2B,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,6CAMpC,2BAA2B,sBAmC7B,CAAC"}
1
+ {"version":3,"file":"profile-form-choice-field.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/components/profile-form-choice-field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,KAAK,2BAA2B,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,6CAMpC,2BAA2B,sBAuC7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"profile-form-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/components/profile-form-provider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAQ/D,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CACxC,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CA4J1C,CAAC"}
1
+ {"version":3,"file":"profile-form-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/components/profile-form-provider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAQ/D,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CACxC,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CA6J1C,CAAC"}
@@ -48,6 +48,10 @@ export type ProfileFormField = ProfileFormFieldBase & ({
48
48
  } | {
49
49
  type: "phone";
50
50
  defaultCountry: CountryCode;
51
+ /**
52
+ * Supplies localized country names when the runtime does not provide
53
+ * Intl.DisplayNames for the current language (for example, Hermes).
54
+ */
51
55
  countryName?: (code: CountryCode, language: string) => string;
52
56
  });
53
57
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"profile-form-field.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/types/profile-form-field.ts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AC;IACf,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;KACf,EAAE,CAAC;CACL,GACD;IACE,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IAC9B,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;IAC5C,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;IAC5C,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;IAC5C,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAClC,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACpC,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;CAC7C,GACD;IACE,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IAC9C,UAAU,CAAC,EAAE,mBAAmB,CAAC;CAClC,GACD;IACE,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;KACf,EAAE,CAAC;CACL,GACD;IACE,IAAI,EAAE,OAAO,CAAC;IACd,cAAc,EAAE,WAAW,CAAC;IAC5B,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC;CAC/D,CACJ,CAAC"}
1
+ {"version":3,"file":"profile-form-field.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/types/profile-form-field.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,EAAE,cAA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C;IAC9B,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;IAC5C,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;IAC5C,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;IAC5C,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAClC,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACpC,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;CAC7C,GACD;IACE,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IAC9C,UAAU,CAAC,EAAE,mBAAmB,CAAC;CAClC,GACD;IACE,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;KACf,EAAE,CAAC;CACL,GACD;IACE,IAAI,EAAE,OAAO,CAAC;IACd,cAAc,EAAE,WAAW,CAAC;IAE5B;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC;CAC/D,CACJ,CAAC"}
@@ -7,7 +7,7 @@ export type ProfileFormProps = {
7
7
  fields: ProfileFormField[];
8
8
  style?: StyleProp<ViewStyle>;
9
9
  testID?: string;
10
- onSuccess?: (response: Patient, values: ProfileFormValues) => void;
10
+ onSuccess?: (response: Patient, values: ProfileFormValues) => Promise<void> | void;
11
11
  onSubmit?: (values: ProfileFormValues, formikHelpers: FormikHelpers<ProfileFormValues>) => Promise<void> | void;
12
12
  };
13
13
  //# sourceMappingURL=profile-form-props.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile-form-props.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/types/profile-form-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,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AE,CACV,QAAQ,EAAE,OAAO,EACjB,MAAM,EAAE,iBAAiB,KACtB,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,CACT,MAAM,EAAE,iBAAiB,EACzB,aAAa,EAAE,aAAa,CAAC,iBAAiB,CAAC,KAC5C,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;CAC3B,CAAC"}