@ovok/native 1.6.50 → 1.6.52

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 (510) hide show
  1. package/README.md +21 -0
  2. package/lib/commonjs/index.js +18 -7
  3. package/lib/commonjs/index.js.map +1 -1
  4. package/lib/commonjs/modules/auth/default-translation.js +6 -1
  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 +9 -14
  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 +41 -0
  9. package/lib/commonjs/modules/auth/hooks/use-auth-action.js.map +1 -0
  10. package/lib/commonjs/modules/auth/hooks/use-delete-account.js +27 -0
  11. package/lib/commonjs/modules/auth/hooks/use-delete-account.js.map +1 -0
  12. package/lib/commonjs/modules/auth/hooks/use-session.js +14 -86
  13. package/lib/commonjs/modules/auth/hooks/use-session.js.map +1 -1
  14. package/lib/commonjs/modules/auth/hooks/use-sign-in.js +66 -0
  15. package/lib/commonjs/modules/auth/hooks/use-sign-in.js.map +1 -0
  16. package/lib/commonjs/modules/auth/hooks/use-sign-out.js +15 -0
  17. package/lib/commonjs/modules/auth/hooks/use-sign-out.js.map +1 -0
  18. package/lib/commonjs/modules/auth/hooks/use-social-sign-in.js +92 -0
  19. package/lib/commonjs/modules/auth/hooks/use-social-sign-in.js.map +1 -0
  20. package/lib/commonjs/modules/auth/index.js +55 -0
  21. package/lib/commonjs/modules/auth/index.js.map +1 -1
  22. package/lib/commonjs/modules/auth/logout-button/components/logout-button.js +11 -16
  23. package/lib/commonjs/modules/auth/logout-button/components/logout-button.js.map +1 -1
  24. package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js +5 -3
  25. package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js.map +1 -1
  26. package/lib/commonjs/modules/auth/profile/contexts/profile-form-context.js +1 -1
  27. package/lib/commonjs/modules/auth/profile/contexts/profile-form-context.js.map +1 -1
  28. package/lib/commonjs/modules/auth/profile/hooks/use-profile-form.js +1 -1
  29. package/lib/commonjs/modules/auth/profile/hooks/use-profile-form.js.map +1 -1
  30. package/lib/commonjs/modules/auth/register/components/form/register-form-provider.js +6 -4
  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/inputs.js +2 -4
  33. package/lib/commonjs/modules/auth/reset-password/components/form/inputs.js.map +1 -1
  34. package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js +6 -4
  35. package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
  36. package/lib/commonjs/modules/auth/reset-password/contexts/reset-password-form-context.js +1 -1
  37. package/lib/commonjs/modules/auth/reset-password/contexts/reset-password-form-context.js.map +1 -1
  38. package/lib/commonjs/modules/auth/reset-password/hooks/use-reset-password-form.js +1 -1
  39. package/lib/commonjs/modules/auth/reset-password/hooks/use-reset-password-form.js.map +1 -1
  40. package/lib/commonjs/modules/auth/session/logout-session.js +29 -0
  41. package/lib/commonjs/modules/auth/session/logout-session.js.map +1 -0
  42. package/lib/commonjs/modules/auth/session/session-store.js +152 -0
  43. package/lib/commonjs/modules/auth/session/session-store.js.map +1 -0
  44. package/lib/commonjs/modules/auth/sign-in/components/form/login-form-provider.js +25 -41
  45. package/lib/commonjs/modules/auth/sign-in/components/form/login-form-provider.js.map +1 -1
  46. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js +13 -12
  47. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
  48. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js +4 -4
  49. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
  50. package/lib/commonjs/modules/auth/sign-in/contexts/login-form-context.js +1 -1
  51. package/lib/commonjs/modules/auth/sign-in/contexts/login-form-context.js.map +1 -1
  52. package/lib/commonjs/modules/auth/sign-in/hooks/use-login-form.js +1 -1
  53. package/lib/commonjs/modules/auth/sign-in/hooks/use-login-form.js.map +1 -1
  54. package/lib/commonjs/modules/bt-device/components/device-list-provider.js +5 -4
  55. package/lib/commonjs/modules/bt-device/components/device-list-provider.js.map +1 -1
  56. package/lib/commonjs/modules/bt-device/components/hooks/use-device-list.js +1 -1
  57. package/lib/commonjs/modules/bt-device/components/hooks/use-device-list.js.map +1 -1
  58. package/lib/commonjs/modules/bt-device/contexts/device-list-context.js +1 -4
  59. package/lib/commonjs/modules/bt-device/contexts/device-list-context.js.map +1 -1
  60. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js +176 -84
  61. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  62. package/lib/commonjs/modules/bt-management/components/bt-provider.js +3 -2
  63. package/lib/commonjs/modules/bt-management/components/bt-provider.js.map +1 -1
  64. package/lib/commonjs/modules/bt-management/hooks/runtime-context.js +146 -14
  65. package/lib/commonjs/modules/bt-management/hooks/runtime-context.js.map +1 -1
  66. package/lib/commonjs/modules/bt-management/hooks/use-background-sync.js +17 -11
  67. package/lib/commonjs/modules/bt-management/hooks/use-background-sync.js.map +1 -1
  68. package/lib/commonjs/modules/bt-management/hooks/use-bluetooth-permission.js +100 -0
  69. package/lib/commonjs/modules/bt-management/hooks/use-bluetooth-permission.js.map +1 -0
  70. package/lib/commonjs/modules/bt-management/hooks/use-bluetooth-state.js +13 -26
  71. package/lib/commonjs/modules/bt-management/hooks/use-bluetooth-state.js.map +1 -1
  72. package/lib/commonjs/modules/bt-management/hooks/use-bt-device.js +148 -0
  73. package/lib/commonjs/modules/bt-management/hooks/use-bt-device.js.map +1 -0
  74. package/lib/commonjs/modules/bt-management/hooks/use-device-connection.js +10 -26
  75. package/lib/commonjs/modules/bt-management/hooks/use-device-connection.js.map +1 -1
  76. package/lib/commonjs/modules/bt-management/hooks/use-health-import.js +7 -76
  77. package/lib/commonjs/modules/bt-management/hooks/use-health-import.js.map +1 -1
  78. package/lib/commonjs/modules/bt-management/hooks/use-measurements.js +43 -57
  79. package/lib/commonjs/modules/bt-management/hooks/use-measurements.js.map +1 -1
  80. package/lib/commonjs/modules/bt-management/hooks/use-nearby-devices.js +12 -16
  81. package/lib/commonjs/modules/bt-management/hooks/use-nearby-devices.js.map +1 -1
  82. package/lib/commonjs/modules/bt-management/hooks/use-paired-devices.js +31 -12
  83. package/lib/commonjs/modules/bt-management/hooks/use-paired-devices.js.map +1 -1
  84. package/lib/commonjs/modules/bt-management/hooks/use-request-permissions.js +12 -55
  85. package/lib/commonjs/modules/bt-management/hooks/use-request-permissions.js.map +1 -1
  86. package/lib/commonjs/modules/bt-management/hooks/use-scan-control.js +6 -4
  87. package/lib/commonjs/modules/bt-management/hooks/use-scan-control.js.map +1 -1
  88. package/lib/commonjs/modules/bt-management/index.js +133 -11
  89. package/lib/commonjs/modules/bt-management/index.js.map +1 -1
  90. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-builders.js +4 -2
  91. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-builders.js.map +1 -1
  92. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js +30 -6
  93. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js.map +1 -1
  94. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-frame-parser.js +16 -27
  95. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-frame-parser.js.map +1 -1
  96. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js +26 -33
  97. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
  98. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.main-services.js +1 -1
  99. package/lib/commonjs/modules/cms/hooks/use-cms-content.js +50 -0
  100. package/lib/commonjs/modules/cms/hooks/use-cms-content.js.map +1 -0
  101. package/lib/commonjs/modules/cms/hooks/use-cms-locale.js +20 -0
  102. package/lib/commonjs/modules/cms/hooks/use-cms-locale.js.map +1 -0
  103. package/lib/commonjs/modules/cms/hooks/use-cms-translations.js +50 -0
  104. package/lib/commonjs/modules/cms/hooks/use-cms-translations.js.map +1 -0
  105. package/lib/commonjs/modules/cms/index.js +39 -0
  106. package/lib/commonjs/modules/cms/index.js.map +1 -0
  107. package/lib/commonjs/modules/cms/merge-cms-translations.js +49 -0
  108. package/lib/commonjs/modules/cms/merge-cms-translations.js.map +1 -0
  109. package/lib/commonjs/modules/data-sync/components/android/android-health-connect-authorization-provider.js +23 -18
  110. package/lib/commonjs/modules/data-sync/components/android/android-health-connect-authorization-provider.js.map +1 -1
  111. package/lib/commonjs/modules/data-sync/components/apple/apple-health-authorization-provider.js +19 -18
  112. package/lib/commonjs/modules/data-sync/components/apple/apple-health-authorization-provider.js.map +1 -1
  113. package/lib/commonjs/modules/data-sync/components/apple/apple-health-authorization-utils.js +20 -0
  114. package/lib/commonjs/modules/data-sync/components/apple/apple-health-authorization-utils.js.map +1 -0
  115. package/lib/commonjs/modules/data-sync/contexts/health-authorization-context.js +18 -0
  116. package/lib/commonjs/modules/data-sync/contexts/health-authorization-context.js.map +1 -0
  117. package/lib/commonjs/modules/data-sync/hooks/use-health-import.js +81 -0
  118. package/lib/commonjs/modules/data-sync/hooks/use-health-import.js.map +1 -0
  119. package/lib/commonjs/modules/data-sync/index.js +37 -0
  120. package/lib/commonjs/modules/data-sync/index.js.map +1 -1
  121. package/lib/commonjs/modules/helpers/hooks/use-shallow-stable-value.js +20 -0
  122. package/lib/commonjs/modules/helpers/hooks/use-shallow-stable-value.js.map +1 -0
  123. package/lib/commonjs/modules/language-switcher/components/language-switcher.js +12 -4
  124. package/lib/commonjs/modules/language-switcher/components/language-switcher.js.map +1 -1
  125. package/lib/commonjs/modules/language-switcher/components/option/context/language-option-context.js +1 -1
  126. package/lib/commonjs/modules/language-switcher/components/option/context/language-option-context.js.map +1 -1
  127. package/lib/commonjs/modules/language-switcher/components/option/language-switcher-option.js +5 -4
  128. package/lib/commonjs/modules/language-switcher/components/option/language-switcher-option.js.map +1 -1
  129. package/lib/commonjs/modules/socket/components/socket-provider.js +78 -73
  130. package/lib/commonjs/modules/socket/components/socket-provider.js.map +1 -1
  131. package/lib/commonjs/modules/tab/components/tab-provider.js +12 -1
  132. package/lib/commonjs/modules/tab/components/tab-provider.js.map +1 -1
  133. package/lib/commonjs/modules/tab/contexts/tab-context.js +1 -1
  134. package/lib/commonjs/modules/tab/contexts/tab-context.js.map +1 -1
  135. package/lib/commonjs/modules/tab/hooks/use-tab.js +1 -1
  136. package/lib/commonjs/modules/tab/hooks/use-tab.js.map +1 -1
  137. package/lib/commonjs/modules/ui/components/health-import-card.js +2 -3
  138. package/lib/commonjs/modules/ui/components/health-import-card.js.map +1 -1
  139. package/lib/commonjs/modules/ui/components/pairing-flow.js.map +1 -1
  140. package/lib/module/index.js +1 -0
  141. package/lib/module/index.js.map +1 -1
  142. package/lib/module/modules/auth/default-translation.js +3 -1
  143. package/lib/module/modules/auth/default-translation.js.map +1 -1
  144. package/lib/module/modules/auth/delete-account-button/components/delete-account-button.js +9 -14
  145. package/lib/module/modules/auth/delete-account-button/components/delete-account-button.js.map +1 -1
  146. package/lib/module/modules/auth/hooks/use-auth-action.js +36 -0
  147. package/lib/module/modules/auth/hooks/use-auth-action.js.map +1 -0
  148. package/lib/module/modules/auth/hooks/use-delete-account.js +22 -0
  149. package/lib/module/modules/auth/hooks/use-delete-account.js.map +1 -0
  150. package/lib/module/modules/auth/hooks/use-session.js +17 -88
  151. package/lib/module/modules/auth/hooks/use-session.js.map +1 -1
  152. package/lib/module/modules/auth/hooks/use-sign-in.js +61 -0
  153. package/lib/module/modules/auth/hooks/use-sign-in.js.map +1 -0
  154. package/lib/module/modules/auth/hooks/use-sign-out.js +10 -0
  155. package/lib/module/modules/auth/hooks/use-sign-out.js.map +1 -0
  156. package/lib/module/modules/auth/hooks/use-social-sign-in.js +86 -0
  157. package/lib/module/modules/auth/hooks/use-social-sign-in.js.map +1 -0
  158. package/lib/module/modules/auth/index.js +5 -0
  159. package/lib/module/modules/auth/index.js.map +1 -1
  160. package/lib/module/modules/auth/logout-button/components/logout-button.js +11 -16
  161. package/lib/module/modules/auth/logout-button/components/logout-button.js.map +1 -1
  162. package/lib/module/modules/auth/profile/components/profile-form-provider.js +5 -3
  163. package/lib/module/modules/auth/profile/components/profile-form-provider.js.map +1 -1
  164. package/lib/module/modules/auth/profile/contexts/profile-form-context.js +1 -1
  165. package/lib/module/modules/auth/profile/contexts/profile-form-context.js.map +1 -1
  166. package/lib/module/modules/auth/profile/hooks/use-profile-form.js +1 -1
  167. package/lib/module/modules/auth/profile/hooks/use-profile-form.js.map +1 -1
  168. package/lib/module/modules/auth/register/components/form/register-form-provider.js +6 -4
  169. package/lib/module/modules/auth/register/components/form/register-form-provider.js.map +1 -1
  170. package/lib/module/modules/auth/reset-password/components/form/inputs.js +2 -4
  171. package/lib/module/modules/auth/reset-password/components/form/inputs.js.map +1 -1
  172. package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js +6 -4
  173. package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
  174. package/lib/module/modules/auth/reset-password/contexts/reset-password-form-context.js +1 -1
  175. package/lib/module/modules/auth/reset-password/contexts/reset-password-form-context.js.map +1 -1
  176. package/lib/module/modules/auth/reset-password/hooks/use-reset-password-form.js +1 -1
  177. package/lib/module/modules/auth/reset-password/hooks/use-reset-password-form.js.map +1 -1
  178. package/lib/module/modules/auth/session/logout-session.js +24 -0
  179. package/lib/module/modules/auth/session/logout-session.js.map +1 -0
  180. package/lib/module/modules/auth/session/session-store.js +148 -0
  181. package/lib/module/modules/auth/session/session-store.js.map +1 -0
  182. package/lib/module/modules/auth/sign-in/components/form/login-form-provider.js +25 -41
  183. package/lib/module/modules/auth/sign-in/components/form/login-form-provider.js.map +1 -1
  184. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js +13 -12
  185. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
  186. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js +4 -4
  187. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
  188. package/lib/module/modules/auth/sign-in/contexts/login-form-context.js +1 -1
  189. package/lib/module/modules/auth/sign-in/contexts/login-form-context.js.map +1 -1
  190. package/lib/module/modules/auth/sign-in/hooks/use-login-form.js +1 -1
  191. package/lib/module/modules/auth/sign-in/hooks/use-login-form.js.map +1 -1
  192. package/lib/module/modules/bt-device/components/device-list-provider.js +5 -4
  193. package/lib/module/modules/bt-device/components/device-list-provider.js.map +1 -1
  194. package/lib/module/modules/bt-device/components/hooks/use-device-list.js +1 -1
  195. package/lib/module/modules/bt-device/components/hooks/use-device-list.js.map +1 -1
  196. package/lib/module/modules/bt-device/contexts/device-list-context.js +1 -4
  197. package/lib/module/modules/bt-device/contexts/device-list-context.js.map +1 -1
  198. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js +175 -84
  199. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  200. package/lib/module/modules/bt-management/components/bt-provider.js +3 -2
  201. package/lib/module/modules/bt-management/components/bt-provider.js.map +1 -1
  202. package/lib/module/modules/bt-management/hooks/runtime-context.js +144 -13
  203. package/lib/module/modules/bt-management/hooks/runtime-context.js.map +1 -1
  204. package/lib/module/modules/bt-management/hooks/use-background-sync.js +17 -11
  205. package/lib/module/modules/bt-management/hooks/use-background-sync.js.map +1 -1
  206. package/lib/module/modules/bt-management/hooks/use-bluetooth-permission.js +94 -0
  207. package/lib/module/modules/bt-management/hooks/use-bluetooth-permission.js.map +1 -0
  208. package/lib/module/modules/bt-management/hooks/use-bluetooth-state.js +13 -26
  209. package/lib/module/modules/bt-management/hooks/use-bluetooth-state.js.map +1 -1
  210. package/lib/module/modules/bt-management/hooks/use-bt-device.js +142 -0
  211. package/lib/module/modules/bt-management/hooks/use-bt-device.js.map +1 -0
  212. package/lib/module/modules/bt-management/hooks/use-device-connection.js +11 -26
  213. package/lib/module/modules/bt-management/hooks/use-device-connection.js.map +1 -1
  214. package/lib/module/modules/bt-management/hooks/use-health-import.js +2 -73
  215. package/lib/module/modules/bt-management/hooks/use-health-import.js.map +1 -1
  216. package/lib/module/modules/bt-management/hooks/use-measurements.js +44 -58
  217. package/lib/module/modules/bt-management/hooks/use-measurements.js.map +1 -1
  218. package/lib/module/modules/bt-management/hooks/use-nearby-devices.js +13 -17
  219. package/lib/module/modules/bt-management/hooks/use-nearby-devices.js.map +1 -1
  220. package/lib/module/modules/bt-management/hooks/use-paired-devices.js +31 -12
  221. package/lib/module/modules/bt-management/hooks/use-paired-devices.js.map +1 -1
  222. package/lib/module/modules/bt-management/hooks/use-request-permissions.js +12 -54
  223. package/lib/module/modules/bt-management/hooks/use-request-permissions.js.map +1 -1
  224. package/lib/module/modules/bt-management/hooks/use-scan-control.js +6 -4
  225. package/lib/module/modules/bt-management/hooks/use-scan-control.js.map +1 -1
  226. package/lib/module/modules/bt-management/index.js +8 -1
  227. package/lib/module/modules/bt-management/index.js.map +1 -1
  228. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-builders.js +3 -2
  229. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-builders.js.map +1 -1
  230. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js +31 -7
  231. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js.map +1 -1
  232. package/lib/module/modules/bt-management/services/devices/bc01/bc01-frame-parser.js +16 -26
  233. package/lib/module/modules/bt-management/services/devices/bc01/bc01-frame-parser.js.map +1 -1
  234. package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js +27 -34
  235. package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
  236. package/lib/module/modules/bt-management/services/devices/bc01/bc01.main-services.js +1 -1
  237. package/lib/module/modules/cms/hooks/use-cms-content.js +44 -0
  238. package/lib/module/modules/cms/hooks/use-cms-content.js.map +1 -0
  239. package/lib/module/modules/cms/hooks/use-cms-locale.js +16 -0
  240. package/lib/module/modules/cms/hooks/use-cms-locale.js.map +1 -0
  241. package/lib/module/modules/cms/hooks/use-cms-translations.js +45 -0
  242. package/lib/module/modules/cms/hooks/use-cms-translations.js.map +1 -0
  243. package/lib/module/modules/cms/index.js +6 -0
  244. package/lib/module/modules/cms/index.js.map +1 -0
  245. package/lib/module/modules/cms/merge-cms-translations.js +46 -0
  246. package/lib/module/modules/cms/merge-cms-translations.js.map +1 -0
  247. package/lib/module/modules/data-sync/components/android/android-health-connect-authorization-provider.js +23 -18
  248. package/lib/module/modules/data-sync/components/android/android-health-connect-authorization-provider.js.map +1 -1
  249. package/lib/module/modules/data-sync/components/apple/apple-health-authorization-provider.js +18 -17
  250. package/lib/module/modules/data-sync/components/apple/apple-health-authorization-provider.js.map +1 -1
  251. package/lib/module/modules/data-sync/components/apple/apple-health-authorization-utils.js +16 -0
  252. package/lib/module/modules/data-sync/components/apple/apple-health-authorization-utils.js.map +1 -0
  253. package/lib/module/modules/data-sync/contexts/health-authorization-context.js +13 -0
  254. package/lib/module/modules/data-sync/contexts/health-authorization-context.js.map +1 -0
  255. package/lib/module/modules/data-sync/hooks/use-health-import.js +76 -0
  256. package/lib/module/modules/data-sync/hooks/use-health-import.js.map +1 -0
  257. package/lib/module/modules/data-sync/index.js +2 -0
  258. package/lib/module/modules/data-sync/index.js.map +1 -1
  259. package/lib/module/modules/helpers/hooks/use-shallow-stable-value.js +14 -0
  260. package/lib/module/modules/helpers/hooks/use-shallow-stable-value.js.map +1 -0
  261. package/lib/module/modules/language-switcher/components/language-switcher.js +11 -4
  262. package/lib/module/modules/language-switcher/components/language-switcher.js.map +1 -1
  263. package/lib/module/modules/language-switcher/components/option/context/language-option-context.js +1 -1
  264. package/lib/module/modules/language-switcher/components/option/context/language-option-context.js.map +1 -1
  265. package/lib/module/modules/language-switcher/components/option/language-switcher-option.js +5 -4
  266. package/lib/module/modules/language-switcher/components/option/language-switcher-option.js.map +1 -1
  267. package/lib/module/modules/socket/components/socket-provider.js +78 -73
  268. package/lib/module/modules/socket/components/socket-provider.js.map +1 -1
  269. package/lib/module/modules/tab/components/tab-provider.js +11 -1
  270. package/lib/module/modules/tab/components/tab-provider.js.map +1 -1
  271. package/lib/module/modules/tab/contexts/tab-context.js +1 -1
  272. package/lib/module/modules/tab/contexts/tab-context.js.map +1 -1
  273. package/lib/module/modules/tab/hooks/use-tab.js +1 -1
  274. package/lib/module/modules/tab/hooks/use-tab.js.map +1 -1
  275. package/lib/module/modules/ui/components/health-import-card.js +1 -2
  276. package/lib/module/modules/ui/components/health-import-card.js.map +1 -1
  277. package/lib/module/modules/ui/components/pairing-flow.js.map +1 -1
  278. package/lib/typescript/commonjs/src/index.d.ts +1 -0
  279. package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
  280. package/lib/typescript/commonjs/src/modules/auth/default-translation.d.ts +53 -1
  281. package/lib/typescript/commonjs/src/modules/auth/default-translation.d.ts.map +1 -1
  282. package/lib/typescript/commonjs/src/modules/auth/delete-account-button/components/delete-account-button.d.ts.map +1 -1
  283. package/lib/typescript/commonjs/src/modules/auth/hooks/use-auth-action.d.ts +13 -0
  284. package/lib/typescript/commonjs/src/modules/auth/hooks/use-auth-action.d.ts.map +1 -0
  285. package/lib/typescript/commonjs/src/modules/auth/hooks/use-delete-account.d.ts +8 -0
  286. package/lib/typescript/commonjs/src/modules/auth/hooks/use-delete-account.d.ts.map +1 -0
  287. package/lib/typescript/commonjs/src/modules/auth/hooks/use-session.d.ts +6 -4
  288. package/lib/typescript/commonjs/src/modules/auth/hooks/use-session.d.ts.map +1 -1
  289. package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-in.d.ts +24 -0
  290. package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-in.d.ts.map +1 -0
  291. package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-out.d.ts +4 -0
  292. package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-out.d.ts.map +1 -0
  293. package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.d.ts +14 -0
  294. package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.d.ts.map +1 -0
  295. package/lib/typescript/commonjs/src/modules/auth/index.d.ts +5 -0
  296. package/lib/typescript/commonjs/src/modules/auth/index.d.ts.map +1 -1
  297. package/lib/typescript/commonjs/src/modules/auth/logout-button/components/logout-button.d.ts.map +1 -1
  298. package/lib/typescript/commonjs/src/modules/auth/profile/components/profile-form-provider.d.ts.map +1 -1
  299. package/lib/typescript/commonjs/src/modules/auth/profile/contexts/profile-form-context.d.ts +1 -1
  300. package/lib/typescript/commonjs/src/modules/auth/profile/contexts/profile-form-context.d.ts.map +1 -1
  301. package/lib/typescript/commonjs/src/modules/auth/profile/hooks/use-profile-form.d.ts.map +1 -1
  302. package/lib/typescript/commonjs/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
  303. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/inputs.d.ts.map +1 -1
  304. package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts.map +1 -1
  305. package/lib/typescript/commonjs/src/modules/auth/reset-password/contexts/reset-password-form-context.d.ts +1 -1
  306. package/lib/typescript/commonjs/src/modules/auth/reset-password/contexts/reset-password-form-context.d.ts.map +1 -1
  307. package/lib/typescript/commonjs/src/modules/auth/session/logout-session.d.ts +6 -0
  308. package/lib/typescript/commonjs/src/modules/auth/session/logout-session.d.ts.map +1 -0
  309. package/lib/typescript/commonjs/src/modules/auth/session/session-store.d.ts +21 -0
  310. package/lib/typescript/commonjs/src/modules/auth/session/session-store.d.ts.map +1 -0
  311. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/login-form-provider.d.ts.map +1 -1
  312. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
  313. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
  314. package/lib/typescript/commonjs/src/modules/auth/sign-in/contexts/login-form-context.d.ts +1 -1
  315. package/lib/typescript/commonjs/src/modules/auth/sign-in/contexts/login-form-context.d.ts.map +1 -1
  316. package/lib/typescript/commonjs/src/modules/bt-device/components/device-list-provider.d.ts.map +1 -1
  317. package/lib/typescript/commonjs/src/modules/bt-device/components/hooks/use-device-list.d.ts +1 -5
  318. package/lib/typescript/commonjs/src/modules/bt-device/components/hooks/use-device-list.d.ts.map +1 -1
  319. package/lib/typescript/commonjs/src/modules/bt-device/contexts/device-list-context.d.ts +3 -2
  320. package/lib/typescript/commonjs/src/modules/bt-device/contexts/device-list-context.d.ts.map +1 -1
  321. package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts +1 -1
  322. package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  323. package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider.d.ts +1 -1
  324. package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider.d.ts.map +1 -1
  325. package/lib/typescript/commonjs/src/modules/bt-management/hooks/runtime-context.d.ts +40 -9
  326. package/lib/typescript/commonjs/src/modules/bt-management/hooks/runtime-context.d.ts.map +1 -1
  327. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-background-sync.d.ts.map +1 -1
  328. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-bluetooth-permission.d.ts +17 -0
  329. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-bluetooth-permission.d.ts.map +1 -0
  330. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-bluetooth-state.d.ts.map +1 -1
  331. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-bt-device.d.ts +31 -0
  332. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-bt-device.d.ts.map +1 -0
  333. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-device-connection.d.ts +2 -2
  334. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-device-connection.d.ts.map +1 -1
  335. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-health-import.d.ts +2 -15
  336. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-health-import.d.ts.map +1 -1
  337. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-measurements.d.ts.map +1 -1
  338. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-nearby-devices.d.ts.map +1 -1
  339. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-paired-devices.d.ts.map +1 -1
  340. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-request-permissions.d.ts +1 -0
  341. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-request-permissions.d.ts.map +1 -1
  342. package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-scan-control.d.ts.map +1 -1
  343. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts +6 -1
  344. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts.map +1 -1
  345. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts +2 -1
  346. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts.map +1 -1
  347. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts +3 -6
  348. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts.map +1 -1
  349. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-frame-parser.d.ts +7 -17
  350. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-frame-parser.d.ts.map +1 -1
  351. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts +5 -2
  352. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts.map +1 -1
  353. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.main-services.d.ts +1 -1
  354. package/lib/typescript/commonjs/src/modules/bt-management/types/btprovider-props.d.ts +2 -0
  355. package/lib/typescript/commonjs/src/modules/bt-management/types/btprovider-props.d.ts.map +1 -1
  356. package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-content.d.ts +9 -0
  357. package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-content.d.ts.map +1 -0
  358. package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-locale.d.ts +7 -0
  359. package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-locale.d.ts.map +1 -0
  360. package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-translations.d.ts +10 -0
  361. package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-translations.d.ts.map +1 -0
  362. package/lib/typescript/commonjs/src/modules/cms/index.d.ts +4 -0
  363. package/lib/typescript/commonjs/src/modules/cms/index.d.ts.map +1 -0
  364. package/lib/typescript/commonjs/src/modules/cms/merge-cms-translations.d.ts +13 -0
  365. package/lib/typescript/commonjs/src/modules/cms/merge-cms-translations.d.ts.map +1 -0
  366. package/lib/typescript/commonjs/src/modules/data-sync/components/android/android-health-connect-authorization-provider.d.ts +1 -1
  367. package/lib/typescript/commonjs/src/modules/data-sync/components/android/android-health-connect-authorization-provider.d.ts.map +1 -1
  368. package/lib/typescript/commonjs/src/modules/data-sync/components/apple/apple-health-authorization-provider.d.ts.map +1 -1
  369. package/lib/typescript/commonjs/src/modules/data-sync/components/apple/apple-health-authorization-utils.d.ts +4 -0
  370. package/lib/typescript/commonjs/src/modules/data-sync/components/apple/apple-health-authorization-utils.d.ts.map +1 -0
  371. package/lib/typescript/commonjs/src/modules/data-sync/components/data-sync.d.ts +1 -1
  372. package/lib/typescript/commonjs/src/modules/data-sync/contexts/health-authorization-context.d.ts +17 -0
  373. package/lib/typescript/commonjs/src/modules/data-sync/contexts/health-authorization-context.d.ts.map +1 -0
  374. package/lib/typescript/commonjs/src/modules/data-sync/hooks/use-health-import.d.ts +17 -0
  375. package/lib/typescript/commonjs/src/modules/data-sync/hooks/use-health-import.d.ts.map +1 -0
  376. package/lib/typescript/commonjs/src/modules/data-sync/index.d.ts +3 -0
  377. package/lib/typescript/commonjs/src/modules/data-sync/index.d.ts.map +1 -1
  378. package/lib/typescript/commonjs/src/modules/data-sync/types/health-authorization-status.d.ts +1 -0
  379. package/lib/typescript/commonjs/src/modules/data-sync/types/health-authorization-status.d.ts.map +1 -1
  380. package/lib/typescript/commonjs/src/modules/helpers/hooks/use-shallow-stable-value.d.ts +2 -0
  381. package/lib/typescript/commonjs/src/modules/helpers/hooks/use-shallow-stable-value.d.ts.map +1 -0
  382. package/lib/typescript/commonjs/src/modules/language-switcher/components/language-switcher.d.ts +6 -5
  383. package/lib/typescript/commonjs/src/modules/language-switcher/components/language-switcher.d.ts.map +1 -1
  384. package/lib/typescript/commonjs/src/modules/language-switcher/components/option/context/language-option-context.d.ts +1 -1
  385. package/lib/typescript/commonjs/src/modules/language-switcher/components/option/context/language-option-context.d.ts.map +1 -1
  386. package/lib/typescript/commonjs/src/modules/socket/components/socket-provider.d.ts.map +1 -1
  387. package/lib/typescript/commonjs/src/modules/tab/components/tab-provider.d.ts +2 -1
  388. package/lib/typescript/commonjs/src/modules/tab/components/tab-provider.d.ts.map +1 -1
  389. package/lib/typescript/commonjs/src/modules/tab/contexts/tab-context.d.ts +1 -1
  390. package/lib/typescript/commonjs/src/modules/tab/contexts/tab-context.d.ts.map +1 -1
  391. package/lib/typescript/commonjs/src/modules/ui/components/health-import-card.d.ts +1 -2
  392. package/lib/typescript/commonjs/src/modules/ui/components/health-import-card.d.ts.map +1 -1
  393. package/lib/typescript/commonjs/src/modules/ui/components/pairing-flow.d.ts.map +1 -1
  394. package/lib/typescript/module/src/index.d.ts +1 -0
  395. package/lib/typescript/module/src/index.d.ts.map +1 -1
  396. package/lib/typescript/module/src/modules/auth/default-translation.d.ts +53 -1
  397. package/lib/typescript/module/src/modules/auth/default-translation.d.ts.map +1 -1
  398. package/lib/typescript/module/src/modules/auth/delete-account-button/components/delete-account-button.d.ts.map +1 -1
  399. package/lib/typescript/module/src/modules/auth/hooks/use-auth-action.d.ts +13 -0
  400. package/lib/typescript/module/src/modules/auth/hooks/use-auth-action.d.ts.map +1 -0
  401. package/lib/typescript/module/src/modules/auth/hooks/use-delete-account.d.ts +8 -0
  402. package/lib/typescript/module/src/modules/auth/hooks/use-delete-account.d.ts.map +1 -0
  403. package/lib/typescript/module/src/modules/auth/hooks/use-session.d.ts +6 -4
  404. package/lib/typescript/module/src/modules/auth/hooks/use-session.d.ts.map +1 -1
  405. package/lib/typescript/module/src/modules/auth/hooks/use-sign-in.d.ts +24 -0
  406. package/lib/typescript/module/src/modules/auth/hooks/use-sign-in.d.ts.map +1 -0
  407. package/lib/typescript/module/src/modules/auth/hooks/use-sign-out.d.ts +4 -0
  408. package/lib/typescript/module/src/modules/auth/hooks/use-sign-out.d.ts.map +1 -0
  409. package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.d.ts +14 -0
  410. package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.d.ts.map +1 -0
  411. package/lib/typescript/module/src/modules/auth/index.d.ts +5 -0
  412. package/lib/typescript/module/src/modules/auth/index.d.ts.map +1 -1
  413. package/lib/typescript/module/src/modules/auth/logout-button/components/logout-button.d.ts.map +1 -1
  414. package/lib/typescript/module/src/modules/auth/profile/components/profile-form-provider.d.ts.map +1 -1
  415. package/lib/typescript/module/src/modules/auth/profile/contexts/profile-form-context.d.ts +1 -1
  416. package/lib/typescript/module/src/modules/auth/profile/contexts/profile-form-context.d.ts.map +1 -1
  417. package/lib/typescript/module/src/modules/auth/profile/hooks/use-profile-form.d.ts.map +1 -1
  418. package/lib/typescript/module/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
  419. package/lib/typescript/module/src/modules/auth/reset-password/components/form/inputs.d.ts.map +1 -1
  420. package/lib/typescript/module/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts.map +1 -1
  421. package/lib/typescript/module/src/modules/auth/reset-password/contexts/reset-password-form-context.d.ts +1 -1
  422. package/lib/typescript/module/src/modules/auth/reset-password/contexts/reset-password-form-context.d.ts.map +1 -1
  423. package/lib/typescript/module/src/modules/auth/session/logout-session.d.ts +6 -0
  424. package/lib/typescript/module/src/modules/auth/session/logout-session.d.ts.map +1 -0
  425. package/lib/typescript/module/src/modules/auth/session/session-store.d.ts +21 -0
  426. package/lib/typescript/module/src/modules/auth/session/session-store.d.ts.map +1 -0
  427. package/lib/typescript/module/src/modules/auth/sign-in/components/form/login-form-provider.d.ts.map +1 -1
  428. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
  429. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
  430. package/lib/typescript/module/src/modules/auth/sign-in/contexts/login-form-context.d.ts +1 -1
  431. package/lib/typescript/module/src/modules/auth/sign-in/contexts/login-form-context.d.ts.map +1 -1
  432. package/lib/typescript/module/src/modules/bt-device/components/device-list-provider.d.ts.map +1 -1
  433. package/lib/typescript/module/src/modules/bt-device/components/hooks/use-device-list.d.ts +1 -5
  434. package/lib/typescript/module/src/modules/bt-device/components/hooks/use-device-list.d.ts.map +1 -1
  435. package/lib/typescript/module/src/modules/bt-device/contexts/device-list-context.d.ts +3 -2
  436. package/lib/typescript/module/src/modules/bt-device/contexts/device-list-context.d.ts.map +1 -1
  437. package/lib/typescript/module/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts +1 -1
  438. package/lib/typescript/module/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  439. package/lib/typescript/module/src/modules/bt-management/components/bt-provider.d.ts +1 -1
  440. package/lib/typescript/module/src/modules/bt-management/components/bt-provider.d.ts.map +1 -1
  441. package/lib/typescript/module/src/modules/bt-management/hooks/runtime-context.d.ts +40 -9
  442. package/lib/typescript/module/src/modules/bt-management/hooks/runtime-context.d.ts.map +1 -1
  443. package/lib/typescript/module/src/modules/bt-management/hooks/use-background-sync.d.ts.map +1 -1
  444. package/lib/typescript/module/src/modules/bt-management/hooks/use-bluetooth-permission.d.ts +17 -0
  445. package/lib/typescript/module/src/modules/bt-management/hooks/use-bluetooth-permission.d.ts.map +1 -0
  446. package/lib/typescript/module/src/modules/bt-management/hooks/use-bluetooth-state.d.ts.map +1 -1
  447. package/lib/typescript/module/src/modules/bt-management/hooks/use-bt-device.d.ts +31 -0
  448. package/lib/typescript/module/src/modules/bt-management/hooks/use-bt-device.d.ts.map +1 -0
  449. package/lib/typescript/module/src/modules/bt-management/hooks/use-device-connection.d.ts +2 -2
  450. package/lib/typescript/module/src/modules/bt-management/hooks/use-device-connection.d.ts.map +1 -1
  451. package/lib/typescript/module/src/modules/bt-management/hooks/use-health-import.d.ts +2 -15
  452. package/lib/typescript/module/src/modules/bt-management/hooks/use-health-import.d.ts.map +1 -1
  453. package/lib/typescript/module/src/modules/bt-management/hooks/use-measurements.d.ts.map +1 -1
  454. package/lib/typescript/module/src/modules/bt-management/hooks/use-nearby-devices.d.ts.map +1 -1
  455. package/lib/typescript/module/src/modules/bt-management/hooks/use-paired-devices.d.ts.map +1 -1
  456. package/lib/typescript/module/src/modules/bt-management/hooks/use-request-permissions.d.ts +1 -0
  457. package/lib/typescript/module/src/modules/bt-management/hooks/use-request-permissions.d.ts.map +1 -1
  458. package/lib/typescript/module/src/modules/bt-management/hooks/use-scan-control.d.ts.map +1 -1
  459. package/lib/typescript/module/src/modules/bt-management/index.d.ts +6 -1
  460. package/lib/typescript/module/src/modules/bt-management/index.d.ts.map +1 -1
  461. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts +2 -1
  462. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts.map +1 -1
  463. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts +3 -6
  464. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts.map +1 -1
  465. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-frame-parser.d.ts +7 -17
  466. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-frame-parser.d.ts.map +1 -1
  467. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts +5 -2
  468. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts.map +1 -1
  469. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.main-services.d.ts +1 -1
  470. package/lib/typescript/module/src/modules/bt-management/types/btprovider-props.d.ts +2 -0
  471. package/lib/typescript/module/src/modules/bt-management/types/btprovider-props.d.ts.map +1 -1
  472. package/lib/typescript/module/src/modules/cms/hooks/use-cms-content.d.ts +9 -0
  473. package/lib/typescript/module/src/modules/cms/hooks/use-cms-content.d.ts.map +1 -0
  474. package/lib/typescript/module/src/modules/cms/hooks/use-cms-locale.d.ts +7 -0
  475. package/lib/typescript/module/src/modules/cms/hooks/use-cms-locale.d.ts.map +1 -0
  476. package/lib/typescript/module/src/modules/cms/hooks/use-cms-translations.d.ts +10 -0
  477. package/lib/typescript/module/src/modules/cms/hooks/use-cms-translations.d.ts.map +1 -0
  478. package/lib/typescript/module/src/modules/cms/index.d.ts +4 -0
  479. package/lib/typescript/module/src/modules/cms/index.d.ts.map +1 -0
  480. package/lib/typescript/module/src/modules/cms/merge-cms-translations.d.ts +13 -0
  481. package/lib/typescript/module/src/modules/cms/merge-cms-translations.d.ts.map +1 -0
  482. package/lib/typescript/module/src/modules/data-sync/components/android/android-health-connect-authorization-provider.d.ts +1 -1
  483. package/lib/typescript/module/src/modules/data-sync/components/android/android-health-connect-authorization-provider.d.ts.map +1 -1
  484. package/lib/typescript/module/src/modules/data-sync/components/apple/apple-health-authorization-provider.d.ts.map +1 -1
  485. package/lib/typescript/module/src/modules/data-sync/components/apple/apple-health-authorization-utils.d.ts +4 -0
  486. package/lib/typescript/module/src/modules/data-sync/components/apple/apple-health-authorization-utils.d.ts.map +1 -0
  487. package/lib/typescript/module/src/modules/data-sync/components/data-sync.d.ts +1 -1
  488. package/lib/typescript/module/src/modules/data-sync/contexts/health-authorization-context.d.ts +17 -0
  489. package/lib/typescript/module/src/modules/data-sync/contexts/health-authorization-context.d.ts.map +1 -0
  490. package/lib/typescript/module/src/modules/data-sync/hooks/use-health-import.d.ts +17 -0
  491. package/lib/typescript/module/src/modules/data-sync/hooks/use-health-import.d.ts.map +1 -0
  492. package/lib/typescript/module/src/modules/data-sync/index.d.ts +3 -0
  493. package/lib/typescript/module/src/modules/data-sync/index.d.ts.map +1 -1
  494. package/lib/typescript/module/src/modules/data-sync/types/health-authorization-status.d.ts +1 -0
  495. package/lib/typescript/module/src/modules/data-sync/types/health-authorization-status.d.ts.map +1 -1
  496. package/lib/typescript/module/src/modules/helpers/hooks/use-shallow-stable-value.d.ts +2 -0
  497. package/lib/typescript/module/src/modules/helpers/hooks/use-shallow-stable-value.d.ts.map +1 -0
  498. package/lib/typescript/module/src/modules/language-switcher/components/language-switcher.d.ts +6 -5
  499. package/lib/typescript/module/src/modules/language-switcher/components/language-switcher.d.ts.map +1 -1
  500. package/lib/typescript/module/src/modules/language-switcher/components/option/context/language-option-context.d.ts +1 -1
  501. package/lib/typescript/module/src/modules/language-switcher/components/option/context/language-option-context.d.ts.map +1 -1
  502. package/lib/typescript/module/src/modules/socket/components/socket-provider.d.ts.map +1 -1
  503. package/lib/typescript/module/src/modules/tab/components/tab-provider.d.ts +2 -1
  504. package/lib/typescript/module/src/modules/tab/components/tab-provider.d.ts.map +1 -1
  505. package/lib/typescript/module/src/modules/tab/contexts/tab-context.d.ts +1 -1
  506. package/lib/typescript/module/src/modules/tab/contexts/tab-context.d.ts.map +1 -1
  507. package/lib/typescript/module/src/modules/ui/components/health-import-card.d.ts +1 -2
  508. package/lib/typescript/module/src/modules/ui/components/health-import-card.d.ts.map +1 -1
  509. package/lib/typescript/module/src/modules/ui/components/pairing-flow.d.ts.map +1 -1
  510. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
1
  /** BC401 stored-record frame is always sixteen bytes: header, timestamp, analytes, checksum. */
2
2
  declare const BC01_RECORD_LENGTH = 16;
3
- /** The two opcodes the firmware uses for a stored URS-7 record. */
3
+ /** The two opcodes the firmware uses for a stored BC401 strip record. */
4
4
  declare const BC01_URS_OPCODE = 225;
5
5
  declare const BC01_PAGED_URS_OPCODE = 226;
6
6
  /**
@@ -9,17 +9,15 @@ declare const BC01_PAGED_URS_OPCODE = 226;
9
9
  */
10
10
  declare const BC01_LAST_OF_SET_BIT = 64;
11
11
  /**
12
- * URS-7 pad names, in the exact order they occupy the packed 3-bit slots
13
- * across bytes 8..14 (see M1/a.java). The eleventh slot is a Contec-firmware
14
- * field the vendor's own catalog calls "vc" and no other name is documented.
12
+ * Pad names, in the exact order they occupy the packed 3-bit slots across
13
+ * bytes 8..14 (see PHMS M1/a.java), covering both 11- and 14-pad strips.
15
14
  */
16
- declare const BC01_ANALYTE_ORDER: readonly ["uro", "bld", "bil", "ket", "glu", "pro", "ph", "nit", "leu", "sg", "vc"];
15
+ declare const BC01_ANALYTE_ORDER: readonly ["uro", "bld", "bil", "ket", "glu", "pro", "ph", "nit", "leu", "sg", "vc", "mal", "cr", "uca"];
17
16
  type Bc01Analyte = (typeof BC01_ANALYTE_ORDER)[number];
18
17
  /**
19
18
  * BC401's packed values are colour-chart indexes, not measurements. These
20
19
  * values mirror the tables in Contec's BC401 integration (PHMS M1/a.java):
21
20
  * the index is zero-based and `7` remains the device's unmeasured sentinel.
22
- * The pH table is the URS-7 strip scale, which includes half-point readings.
23
21
  */
24
22
  declare const BC01_ANALYTE_VALUES: Record<Bc01Analyte, readonly number[]>;
25
23
  /** The result of decoding one 16-byte record. `lastOfSet` is what the sequencer keys on. */
@@ -44,17 +42,9 @@ interface Bc01ParsedRecord {
44
42
  * frame is a record or a heartbeat, and a frame that fails these checks is
45
43
  * skipped rather than parsed into a plausible-looking wrong reading.
46
44
  *
47
- * The checksum byte is not verified here: the SDK's read path already ensures
48
- * frame integrity before the parser sees the bytes, and a URS-7 pad value can
49
- * only land in [0, 7] anyway — a corrupt payload would fail the pad-value
50
- * check before it made it into a measurement.
45
+ * The checksum byte is verified before any value is exposed; individual
46
+ * packed indexes could otherwise decode into plausible but incorrect results.
51
47
  */
52
48
  declare const parseBc01Record: (frame: readonly string[]) => Bc01ParsedRecord | undefined;
53
- /**
54
- * True when the buffer holds a complete BC401 stored record. Used by the
55
- * driver's `validatePackage` hook so the SDK's read path only advances once
56
- * the notification carries a whole 16-byte frame.
57
- */
58
- declare const isBc01Record: (frame: readonly string[]) => boolean;
59
- export { BC01_ANALYTE_ORDER, BC01_ANALYTE_VALUES, BC01_LAST_OF_SET_BIT, BC01_PAGED_URS_OPCODE, BC01_RECORD_LENGTH, BC01_URS_OPCODE, Bc01ParsedRecord, isBc01Record, parseBc01Record, };
49
+ export { BC01_ANALYTE_ORDER, BC01_ANALYTE_VALUES, BC01_LAST_OF_SET_BIT, BC01_PAGED_URS_OPCODE, BC01_RECORD_LENGTH, BC01_URS_OPCODE, Bc01ParsedRecord, parseBc01Record, };
60
50
  //# sourceMappingURL=bc01-frame-parser.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bc01-frame-parser.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/bc01/bc01-frame-parser.ts"],"names":[],"mappings":"AAIA,gGAAgG;AAChG,QAAA,MAAM,kBAAkB,KAAK,CAAC;AAE9B,mEAAmE;AACnE,QAAA,MAAM,eAAe,MAAO,CAAC;AAC7B,QAAA,MAAM,qBAAqB,MAAO,CAAC;AAEnC;;;GAGG;AACH,QAAA,MAAM,oBAAoB,KAAO,CAAC;AAelC;;;;GAIG;AACH,QAAA,MAAM,kBAAkB,qFAYuC,CAAC;AAEhE,KAAK,WAAW,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvD;;;;;GAKG;AACH,QAAA,MAAM,mBAAmB,EAAE,MAAM,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAY/D,CAAC;AAKF,4FAA4F;AAC5F,UAAU,gBAAgB;IAExB,yFAAyF;IACzF,SAAS,EAAE,IAAI,CAAC;IAEhB,2FAA2F;IAC3F,SAAS,EAAE,OAAO,CAAC;IAEnB,0EAA0E;IAC1E,SAAS,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;CACtE;AAUD;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,eAAe,GACnB,OAAO,SAAS,MAAM,EAAE,KACvB,gBAAgB,GAAG,SA8CrB,CAAC;AAEF;;;;GAIG;AACH,QAAA,MAAM,YAAY,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,OAQhD,CAAC;AAEF,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,YAAY,EACZ,eAAe,GAChB,CAAC"}
1
+ {"version":3,"file":"bc01-frame-parser.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/bc01/bc01-frame-parser.ts"],"names":[],"mappings":"AAMA,gGAAgG;AAChG,QAAA,MAAM,kBAAkB,KAAK,CAAC;AAE9B,yEAAyE;AACzE,QAAA,MAAM,eAAe,MAAO,CAAC;AAC7B,QAAA,MAAM,qBAAqB,MAAO,CAAC;AAEnC;;;GAGG;AACH,QAAA,MAAM,oBAAoB,KAAO,CAAC;AAelC;;;GAGG;AACH,QAAA,MAAM,kBAAkB,yGAeuC,CAAC;AAEhE,KAAK,WAAW,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvD;;;;GAIG;AACH,QAAA,MAAM,mBAAmB,EAAE,MAAM,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAe/D,CAAC;AAKF,4FAA4F;AAC5F,UAAU,gBAAgB;IAExB,yFAAyF;IACzF,SAAS,EAAE,IAAI,CAAC;IAEhB,2FAA2F;IAC3F,SAAS,EAAE,OAAO,CAAC;IAEnB,0EAA0E;IAC1E,SAAS,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;CACtE;AAUD;;;;;;;;;;GAUG;AACH,QAAA,MAAM,eAAe,GACnB,OAAO,SAAS,MAAM,EAAE,KACvB,gBAAgB,GAAG,SAkDrB,CAAC;AAEF,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,eAAe,GAChB,CAAC"}
@@ -18,10 +18,11 @@ import { Bc01FrameReader } from "./bc01.frame-reader";
18
18
  */
19
19
  export declare class BC01Device extends BTManagedDevice<IntegratedDevices.BC01> {
20
20
  protected onStreamStart: () => void;
21
+ private readonly reportedTimestamps;
21
22
  protected mainServices: IService[];
22
23
  protected frameReader: Bc01FrameReader;
23
24
  /**
24
- * 90 s covers the maximum firmware-side reagent-pad settle time on a URS-7
25
+ * 90 s covers the maximum firmware-side reagent-pad settle time on a
25
26
  * strip and leaves headroom for a bulk memory dump of every stored record.
26
27
  * If the device does not push a frame within that window the data processor
27
28
  * times out and the driver surfaces "device unreachable".
@@ -47,7 +48,9 @@ export declare class BC01Device extends BTManagedDevice<IntegratedDevices.BC01>
47
48
  /**
48
49
  * Nothing to do here for the BC401. Every reading arrives through the
49
50
  * dependent-result path, and the state machine sees only the `OTHER`-typed
50
- * echo we return from `handleDependentResult`.
51
+ * echo we return from `handleDependentResult`. Records are deduplicated by
52
+ * their second-resolution device timestamp for this transfer because a
53
+ * paged-group retry resends the earlier frames.
51
54
  */
52
55
  protected handleSuccessResult(): void | boolean;
53
56
  private reportUrsRecord;
@@ -1 +1 @@
1
- {"version":3,"file":"bc01.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/bc01/bc01.device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAI9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gDAAgD,CAAC;AAC9F,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAIvD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAgBtD;;;;;;;;;GASG;AACH,qBAAa,UAAW,SAAQ,eAAe,CAAC,iBAAiB,CAAC,IAAI,CAAC;IACrE,SAAS,CAAC,aAAa,EAAE,MAAM,IAAI,CAAY;IAE/C,SAAS,CAAC,YAAY,EAAE,QAAQ,EAAE,CAAoB;IACtD,SAAS,CAAC,WAAW,EAAE,eAAe,CAAyB;IAE/D;;;;;OAKG;IACH,SAAS,CAAC,gBAAgB,SAAU;gBAExB,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,iBAAiB,CAAC,IAAI,CAAC;IAyB9E;;;;;OAKG;IACH,SAAS,CAAC,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,OAAO,CAanD;IAEF;;;;;;;OAOG;IACH,SAAS,CAAC,qBAAqB,GAC7B,MAAM,4BAA4B,CAChC,yBAAyB,CAAC,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CACpD,KACA,4BAA4B,CAC7B,yBAAyB,CAAC,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CACpD,CASC;IAEF;;;;OAIG;IACH,SAAS,CAAC,mBAAmB,IAAI,IAAI,GAAG,OAAO;IAI/C,OAAO,CAAC,eAAe;CAqCxB"}
1
+ {"version":3,"file":"bc01.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/bc01/bc01.device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAI9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gDAAgD,CAAC;AAC9F,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAIvD,OAAO,EAAE,eAAe,EAAoB,MAAM,qBAAqB,CAAC;AAGxE;;;;;;;;;GASG;AACH,qBAAa,UAAW,SAAQ,eAAe,CAAC,iBAAiB,CAAC,IAAI,CAAC;IACrE,SAAS,CAAC,aAAa,EAAE,MAAM,IAAI,CAEjC;IAEF,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAqB;IAExD,SAAS,CAAC,YAAY,EAAE,QAAQ,EAAE,CAAoB;IACtD,SAAS,CAAC,WAAW,EAAE,eAAe,CAAyB;IAE/D;;;;;OAKG;IACH,SAAS,CAAC,gBAAgB,SAAU;gBAExB,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,iBAAiB,CAAC,IAAI,CAAC;IA4B9E;;;;;OAKG;IACH,SAAS,CAAC,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,OAAO,CAanD;IAEF;;;;;;;OAOG;IACH,SAAS,CAAC,qBAAqB,GAC7B,MAAM,4BAA4B,CAChC,yBAAyB,CAAC,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CACpD,KACA,4BAA4B,CAC7B,yBAAyB,CAAC,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CACpD,CASC;IAEF;;;;;;OAMG;IACH,SAAS,CAAC,mBAAmB,IAAI,IAAI,GAAG,OAAO;IAI/C,OAAO,CAAC,eAAe;CA6CxB"}
@@ -3,7 +3,7 @@ import { IService } from "../../../types/service.type";
3
3
  * Contec BC401 (a.k.a. BC01) urine analyzer — GATT profile.
4
4
  *
5
5
  * The BC401 uses Contec's proprietary FF12 service, shared across their
6
- * consumer medical devices. Every stored URS-7 measurement is pushed as a
6
+ * consumer medical devices. Every stored urine-strip measurement is pushed as a
7
7
  * 16-byte record on 0xFF02 after the host has walked the handshake documented
8
8
  * in `bc01-command-sequencer.ts`.
9
9
  *
@@ -6,5 +6,7 @@ export interface BTProviderProps<T extends readonly AcceptedDevice[]> extends BT
6
6
  * Callback to be called when the access permission is not granted and the user is asked to open the settings
7
7
  */
8
8
  permissionFallback?: () => React.ReactNode;
9
+ /** Keep children mounted while permission is pending or denied when false (default). */
10
+ gateOnPermission?: boolean;
9
11
  }
10
12
  //# 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;CAC5C"}
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"}
@@ -0,0 +1,9 @@
1
+ import { OvokCmsDocument, OvokCmsListOptions, OvokCmsOptions, OvokCmsPage, OvokRequestState } from "@ovok/core";
2
+ declare const useCmsDocument: <T extends object = OvokCmsDocument>(collection: string, slug: string | undefined, options?: OvokCmsOptions) => OvokRequestState<T>;
3
+ declare const useCmsDocuments: <T extends object = OvokCmsDocument>(collection: string, options?: OvokCmsListOptions) => OvokRequestState<OvokCmsPage<T>>;
4
+ /** With `tenantCode`, readable before sign-in. */
5
+ declare const useLegalPage: (slug: string | undefined, options?: OvokCmsOptions) => OvokRequestState<OvokCmsDocument>;
6
+ /** Newest first unless `sort` says otherwise. Needs a session. */
7
+ declare const useReleaseNotes: (options?: OvokCmsListOptions) => OvokRequestState<OvokCmsPage>;
8
+ export { useCmsDocument, useCmsDocuments, useLegalPage, useReleaseNotes };
9
+ //# sourceMappingURL=use-cms-content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-cms-content.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/cms/hooks/use-cms-content.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,WAAW,EACX,gBAAgB,EAKjB,MAAM,YAAY,CAAC;AASpB,QAAA,MAAM,cAAc,GAAI,CAAC,SAAS,MAAM,GAAG,eAAe,EACxD,YAAY,MAAM,EAClB,MAAM,MAAM,GAAG,SAAS,EACxB,UAAS,cAAmB,KAC3B,gBAAgB,CAAC,CAAC,CAIpB,CAAC;AAEF,QAAA,MAAM,eAAe,GAAI,CAAC,SAAS,MAAM,GAAG,eAAe,EACzD,YAAY,MAAM,EAClB,UAAS,kBAAuB,KAC/B,gBAAgB,CAAC,WAAW,CAAC,CAAC,CAAC,CAIjC,CAAC;AAEF,kDAAkD;AAClD,QAAA,MAAM,YAAY,GAChB,MAAM,MAAM,GAAG,SAAS,EACxB,UAAS,cAAmB,KAC3B,gBAAgB,CAAC,eAAe,CAIlC,CAAC;AAEF,kEAAkE;AAClE,QAAA,MAAM,eAAe,GAAI,UAAS,kBAAuB,KAAG,gBAAgB,CAAC,WAAW,CAIvF,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { OvokCmsLocale } from "@ovok/core";
2
+ /**
3
+ * The app's i18next language as an Ovok CMS locale ("de-DE" reads "de"; a
4
+ * language the CMS doesn't carry reads "en"). Follows `i18n.changeLanguage`.
5
+ */
6
+ export declare const useCmsLocale: () => OvokCmsLocale;
7
+ //# sourceMappingURL=use-cms-locale.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-cms-locale.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/cms/hooks/use-cms-locale.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAe,MAAM,YAAY,CAAC;AAGxD;;;GAGG;AACH,eAAO,MAAM,YAAY,QAAO,aAI/B,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { OvokCmsOptions, OvokRequestState, OvokTranslations } from "@ovok/core";
2
+ /**
3
+ * Loads the CMS `translations` collection into the app's i18next instance:
4
+ * read in the i18next language unless `options.locale` is set, and added under
5
+ * its CMS locale ("de", which a "de-DE" language still resolves through). The
6
+ * app's own strings still win; the CMS replaces the SDK's built-in English.
7
+ * Call it once, near the root; signed out, pass `tenantCode`.
8
+ */
9
+ export declare const useCmsTranslations: (options?: OvokCmsOptions) => OvokRequestState<OvokTranslations>;
10
+ //# sourceMappingURL=use-cms-translations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-cms-translations.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/cms/hooks/use-cms-translations.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAGjB,MAAM,YAAY,CAAC;AAQpB;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,GAAI,UAAS,cAAmB,KAAG,gBAAgB,CAAC,gBAAgB,CAuBlG,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./hooks/use-cms-content";
2
+ export * from "./hooks/use-cms-locale";
3
+ export * from "./hooks/use-cms-translations";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/cms/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { OvokTranslations } from "@ovok/core";
2
+ import { i18n as I18n } from "i18next";
3
+ /**
4
+ * Merges CMS translations into i18next's "translation" namespace under `lng`.
5
+ * The app's own strings win over the CMS, and the CMS wins over the SDK's
6
+ * built-in English: a text is written only where `lng` has none, where it is
7
+ * still the SDK's English default, or where it is still what this helper
8
+ * wrote last time, so a refreshed CMS text replaces its own older one.
9
+ * Returns whether anything changed.
10
+ */
11
+ declare const mergeCmsTranslations: (i18n: I18n, lng: string, translations: OvokTranslations) => boolean;
12
+ export { mergeCmsTranslations };
13
+ //# sourceMappingURL=merge-cms-translations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merge-cms-translations.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/cms/merge-cms-translations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAuB,MAAM,YAAY,CAAC;AACnE,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,MAAM,SAAS,CAAC;AAuBvC;;;;;;;GAOG;AACH,QAAA,MAAM,oBAAoB,GAAI,MAAM,IAAI,EAAE,KAAK,MAAM,EAAE,cAAc,gBAAgB,KAAG,OAsBvF,CAAC;AAEF,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import * as React from "react";
2
2
  import { AndroidHealthConnectAuthorizationProviderProps } from "../../types/android-health-connect-authorization-provider-props";
3
- export declare const AndroidHealthConnectAuthorizationProvider: React.MemoExoticComponent<({ readIdentifiers, writeIdentifiers, fallback, children, skipRequest, renderManualRequestUI, backgroundAccess, onAuthorizationStatusChange, }: React.PropsWithChildren<AndroidHealthConnectAuthorizationProviderProps>) => string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element | null | undefined>;
3
+ export declare const AndroidHealthConnectAuthorizationProvider: React.MemoExoticComponent<({ readIdentifiers, writeIdentifiers, fallback, children, skipRequest, renderManualRequestUI, backgroundAccess, onAuthorizationStatusChange, }: React.PropsWithChildren<AndroidHealthConnectAuthorizationProviderProps>) => React.JSX.Element>;
4
4
  //# sourceMappingURL=android-health-connect-authorization-provider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"android-health-connect-authorization-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/data-sync/components/android/android-health-connect-authorization-provider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAc/B,OAAO,EAAE,8CAA8C,EAAE,MAAM,iEAAiE,CAAC;AA8KjI,eAAO,MAAM,yCAAyC,4KAUjD,KAAK,CAAC,iBAAiB,CAAC,8CAA8C,CAAC,qSAoE3E,CAAC"}
1
+ {"version":3,"file":"android-health-connect-authorization-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/data-sync/components/android/android-health-connect-authorization-provider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAe/B,OAAO,EAAE,8CAA8C,EAAE,MAAM,iEAAiE,CAAC;AAgMjI,eAAO,MAAM,yCAAyC,4KAUjD,KAAK,CAAC,iBAAiB,CAAC,8CAA8C,CAAC,uBAqE3E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"apple-health-authorization-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/data-sync/components/apple/apple-health-authorization-provider.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,qCAAqC,EAAE,MAAM,uDAAuD,CAAC;AAuB9G,eAAO,MAAM,gCAAgC,sKAUxC,KAAK,CAAC,iBAAiB,CAAC,qCAAqC,CAAC,uBAuMlE,CAAC"}
1
+ {"version":3,"file":"apple-health-authorization-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/data-sync/components/apple/apple-health-authorization-provider.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,qCAAqC,EAAE,MAAM,uDAAuD,CAAC;AAM9G,eAAO,MAAM,gCAAgC,sKAUxC,KAAK,CAAC,iBAAiB,CAAC,qCAAqC,CAAC,uBAoNlE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { HKAuthorizationRequestStatus } from "@kingstinct/react-native-healthkit";
2
+ declare const getNotRequestedIdentifiers: <T>(identifiers: T[], getStatus: (identifier: T) => Promise<HKAuthorizationRequestStatus>) => Promise<T[]>;
3
+ export { getNotRequestedIdentifiers };
4
+ //# sourceMappingURL=apple-health-authorization-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apple-health-authorization-utils.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/data-sync/components/apple/apple-health-authorization-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAElF,QAAA,MAAM,0BAA0B,GAAU,CAAC,EACzC,aAAa,CAAC,EAAE,EAChB,WAAW,CAAC,UAAU,EAAE,CAAC,KAAK,OAAO,CAAC,4BAA4B,CAAC,KAClE,OAAO,CAAC,CAAC,EAAE,CAWb,CAAC;AAEF,OAAO,EAAE,0BAA0B,EAAE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  export declare const DataSync: {
3
3
  ({ children }: React.PropsWithChildren): React.JSX.Element;
4
- AndroidHealthConnectAuthorizationProvider: React.MemoExoticComponent<({ readIdentifiers, writeIdentifiers, fallback, children, skipRequest, renderManualRequestUI, backgroundAccess, onAuthorizationStatusChange, }: React.PropsWithChildren<import("../types/android-health-connect-authorization-provider-props").AndroidHealthConnectAuthorizationProviderProps>) => string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element | null | undefined>;
4
+ AndroidHealthConnectAuthorizationProvider: React.MemoExoticComponent<({ readIdentifiers, writeIdentifiers, fallback, children, skipRequest, renderManualRequestUI, backgroundAccess, onAuthorizationStatusChange, }: React.PropsWithChildren<import("../types/android-health-connect-authorization-provider-props").AndroidHealthConnectAuthorizationProviderProps>) => React.JSX.Element>;
5
5
  AndroidHealthSync: React.MemoExoticComponent<({ dataToSync, chunkSize, wifiOnly, onError, onProgress, }: import("..").AndroidHealthSyncProps) => null>;
6
6
  AppleHealthAuthorizationProvider: React.MemoExoticComponent<({ readIdentifiers, writeIdentifiers, dataToSync, fallback, children, skipRequest, renderManualRequestUI, onAuthorizationStatusChange, }: React.PropsWithChildren<import("../types/apple-health-authorization-provider-props").AppleHealthAuthorizationProviderProps>) => React.JSX.Element>;
7
7
  AppleHealthSync: React.MemoExoticComponent<({ dataToSync, chunkSize, wifiOnly, backgroundDelivery, onError, onProgress, }: import("..").AppleHealthSyncProps) => null>;
@@ -0,0 +1,17 @@
1
+ import * as React from "react";
2
+ import { AndroidHealthConnectAuthorizationStatus, AppleHealthAuthorizationStatus } from "../types/health-authorization-status";
3
+ type HealthAuthorizationValue = {
4
+ platform: "apple-health";
5
+ status: AppleHealthAuthorizationStatus;
6
+ missingTypes: readonly string[];
7
+ request: () => Promise<void>;
8
+ } | {
9
+ platform: "health-connect";
10
+ status: AndroidHealthConnectAuthorizationStatus;
11
+ missingTypes: readonly string[];
12
+ request: () => Promise<void>;
13
+ };
14
+ declare const HealthAuthorizationContext: React.Context<HealthAuthorizationValue | null>;
15
+ declare const useHealthAuthorization: () => HealthAuthorizationValue;
16
+ export { HealthAuthorizationContext, HealthAuthorizationValue, useHealthAuthorization, };
17
+ //# sourceMappingURL=health-authorization-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"health-authorization-context.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/contexts/health-authorization-context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,uCAAuC,EACvC,8BAA8B,EAC/B,MAAM,sCAAsC,CAAC;AAE9C,KAAK,wBAAwB,GACzB;IACE,QAAQ,EAAE,cAAc,CAAC;IACzB,MAAM,EAAE,8BAA8B,CAAC;IACvC,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;IAChC,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B,GACD;IACE,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,MAAM,EAAE,uCAAuC,CAAC;IAChD,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;IAChC,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B,CAAC;AAEN,QAAA,MAAM,0BAA0B,gDAC4B,CAAC;AAE7D,QAAA,MAAM,sBAAsB,QAAO,wBAUlC,CAAC;AAEF,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,sBAAsB,GACvB,CAAC"}
@@ -0,0 +1,17 @@
1
+ interface HealthImportAdapter<TType extends string = string> {
2
+ getStatus: (type: TType) => Promise<"authorized" | "shouldRequest" | "refused" | "unsupported">;
3
+ request: (types: readonly TType[], background: boolean) => Promise<void>;
4
+ }
5
+ declare const useHealthImport: <TType extends string>({ types, background, adapter, }: {
6
+ types: readonly TType[];
7
+ background?: boolean;
8
+ adapter: HealthImportAdapter<TType>;
9
+ }) => {
10
+ enabled: boolean;
11
+ setEnabled: (enabled: boolean) => Promise<void>;
12
+ statusByType: Partial<Record<TType, Awaited<ReturnType<HealthImportAdapter<TType>["getStatus"]>>>>;
13
+ notShared: readonly TType[];
14
+ error?: Error;
15
+ };
16
+ export { HealthImportAdapter, useHealthImport };
17
+ //# sourceMappingURL=use-health-import.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-health-import.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/hooks/use-health-import.ts"],"names":[],"mappings":"AAEA,UAAU,mBAAmB,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM;IACzD,SAAS,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK,OAAO,CAAC,YAAY,GAAG,eAAe,GAAG,SAAS,GAAG,aAAa,CAAC,CAAC;IAChG,OAAO,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,EAAE,EAAE,UAAU,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1E;AAED,QAAA,MAAM,eAAe,GAAI,KAAK,SAAS,MAAM,EAAE,iCAI5C;IACD,KAAK,EAAE,SAAS,KAAK,EAAE,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC;CACrC,KAAG;IACF,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAChD,YAAY,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,UAAU,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACnG,SAAS,EAAE,SAAS,KAAK,EAAE,CAAC;IAC5B,KAAK,CAAC,EAAE,KAAK,CAAC;CA+Ef,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,CAAC"}
@@ -6,4 +6,7 @@ export * from "./types/android-health-sync-props";
6
6
  export * from "./types/health-authorization-status";
7
7
  export * from "./types/health-sync-keys";
8
8
  export * from "./types/health-sync-batch-error";
9
+ export * from "./hooks/use-health-import";
10
+ export { HealthAuthorizationContext, useHealthAuthorization, } from "./contexts/health-authorization-context";
11
+ export type { HealthAuthorizationValue } from "./contexts/health-authorization-context";
9
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/data-sync/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,iCAAiC,CAAC;AAChD,cAAc,oDAAoD,CAAC;AACnE,cAAc,uBAAuB,CAAC;AACtC,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/data-sync/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,iCAAiC,CAAC;AAChD,cAAc,oDAAoD,CAAC;AACnE,cAAc,uBAAuB,CAAC;AACtC,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EACL,0BAA0B,EAC1B,sBAAsB,GACvB,MAAM,yCAAyC,CAAC;AACjD,YAAY,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC"}
@@ -13,6 +13,7 @@ type AppleHealthAuthorizationStatus = {
13
13
  type AndroidHealthConnectAuthorizationStatus = {
14
14
  state: "unknown" | "shouldRequest" | "requesting" | "authorized" | "refused" | "error";
15
15
  error?: Error;
16
+ missingTypes?: readonly string[];
16
17
  /** Background access is reported independently; it never blocks foreground import. */
17
18
  backgroundAccess?: "authorized" | "shouldRequest" | "refused" | "unsupported";
18
19
  };
@@ -1 +1 @@
1
- {"version":3,"file":"health-authorization-status.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/health-authorization-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAE5E,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,KAAK,8BAA8B,GAAG;IACpC,KAAK,EAAE,SAAS,GAAG,eAAe,GAAG,YAAY,GAAG,OAAO,GAAG,OAAO,CAAC;IAEtE,kEAAkE;IAClE,2BAA2B,EAAE,sBAAsB,EAAE,CAAC;IAEtD,wEAAwE;IACxE,4BAA4B,EAAE,sBAAsB,EAAE,CAAC;IAEvD,iFAAiF;IACjF,4BAA4B,EAAE,aAAa,EAAE,CAAC;IAC9C,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC;AAEF,KAAK,uCAAuC,GAAG;IAC7C,KAAK,EACD,SAAS,GACT,eAAe,GACf,YAAY,GACZ,YAAY,GACZ,SAAS,GACT,OAAO,CAAC;IACZ,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd,sFAAsF;IACtF,gBAAgB,CAAC,EAAE,YAAY,GAAG,eAAe,GAAG,SAAS,GAAG,aAAa,CAAC;CAC/E,CAAC;AAEF,YAAY,EACV,uCAAuC,EACvC,8BAA8B,GAC/B,CAAC"}
1
+ {"version":3,"file":"health-authorization-status.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/health-authorization-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAE5E,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,KAAK,8BAA8B,GAAG;IACpC,KAAK,EAAE,SAAS,GAAG,eAAe,GAAG,YAAY,GAAG,OAAO,GAAG,OAAO,CAAC;IAEtE,kEAAkE;IAClE,2BAA2B,EAAE,sBAAsB,EAAE,CAAC;IAEtD,wEAAwE;IACxE,4BAA4B,EAAE,sBAAsB,EAAE,CAAC;IAEvD,iFAAiF;IACjF,4BAA4B,EAAE,aAAa,EAAE,CAAC;IAC9C,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC;AAEF,KAAK,uCAAuC,GAAG;IAC7C,KAAK,EACD,SAAS,GACT,eAAe,GACf,YAAY,GACZ,YAAY,GACZ,SAAS,GACT,OAAO,CAAC;IACZ,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAEjC,sFAAsF;IACtF,gBAAgB,CAAC,EAAE,YAAY,GAAG,eAAe,GAAG,SAAS,GAAG,aAAa,CAAC;CAC/E,CAAC;AAEF,YAAY,EACV,uCAAuC,EACvC,8BAA8B,GAC/B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const useShallowStableValue: <T extends object>(value: T) => T;
2
+ //# sourceMappingURL=use-shallow-stable-value.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-shallow-stable-value.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/helpers/hooks/use-shallow-stable-value.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,GAAI,CAAC,SAAS,MAAM,EACpD,OAAO,CAAC,KACP,CAiBF,CAAC"}
@@ -1,11 +1,12 @@
1
+ import * as React from "react";
1
2
  import { LanguageSwitcherProps } from "../../language-switcher/types/language-switcher-props";
2
3
  export declare const LanguageSwitcher: {
3
- ({ children, onLanguageChange, selectedLanguage, ...props }: LanguageSwitcherProps): import("react").JSX.Element;
4
+ ({ children, onLanguageChange, selectedLanguage, ...props }: LanguageSwitcherProps): React.JSX.Element;
4
5
  Option: {
5
- ({ children, value, onPress, ...props }: import("./option/types/language-switcher-option-props").LanguageSwitcherOptionProps): import("react").JSX.Element;
6
- RadioButton: (props: Omit<import("react-native-paper").RadioButtonAndroidProps, "status" | "value">) => import("react").JSX.Element;
7
- Label: <T extends import("react-native-paper").MD3TypescaleKey>({ children, ...props }: import("react-native-paper").TextProps<T>) => import("react").JSX.Element;
8
- Flag: ({ children, ...props }: React.PropsWithChildren<import("react-native").ViewProps>) => import("react").JSX.Element;
6
+ ({ children, value, onPress, ...props }: import("./option/types/language-switcher-option-props").LanguageSwitcherOptionProps): React.JSX.Element;
7
+ RadioButton: (props: Omit<import("react-native-paper").RadioButtonAndroidProps, "status" | "value">) => React.JSX.Element;
8
+ Label: <T extends import("react-native-paper").MD3TypescaleKey>({ children, ...props }: import("react-native-paper").TextProps<T>) => React.JSX.Element;
9
+ Flag: ({ children, ...props }: React.PropsWithChildren<import("react-native").ViewProps>) => React.JSX.Element;
9
10
  };
10
11
  };
11
12
  //# sourceMappingURL=language-switcher.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"language-switcher.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/language-switcher/components/language-switcher.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,uDAAuD,CAAC;AAI9F,eAAO,MAAM,gBAAgB;iEAK1B,qBAAqB;;;;;;;CAQvB,CAAC"}
1
+ {"version":3,"file":"language-switcher.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/language-switcher/components/language-switcher.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,qBAAqB,EAAE,MAAM,uDAAuD,CAAC;AAI9F,eAAO,MAAM,gBAAgB;iEAK1B,qBAAqB;;;;;;;CAmBvB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import * as React from "react";
2
2
  import { LanguageOptionContextType } from "../types/language-option-context-type";
3
- export declare const LanguageOptionContext: React.Context<LanguageOptionContextType>;
3
+ export declare const LanguageOptionContext: React.Context<LanguageOptionContextType | null>;
4
4
  //# sourceMappingURL=language-option-context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"language-option-context.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/language-switcher/components/option/context/language-option-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAElF,eAAO,MAAM,qBAAqB,0CAG/B,CAAC"}
1
+ {"version":3,"file":"language-option-context.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/language-switcher/components/option/context/language-option-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAElF,eAAO,MAAM,qBAAqB,iDAC2B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"socket-provider.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/socket/components/socket-provider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AASrE,eAAO,MAAM,cAAc,GAAI,oFAQ5B,mBAAmB,sBAgHrB,CAAC"}
1
+ {"version":3,"file":"socket-provider.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/socket/components/socket-provider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAErE,eAAO,MAAM,cAAc,GAAI,oFAQ5B,mBAAmB,sBAiHrB,CAAC"}
@@ -1,3 +1,4 @@
1
+ import * as React from "react";
1
2
  import { TabContextType } from "../types/tab-context-type";
2
- export declare const TabProvider: ({ children, ...props }: React.PropsWithChildren<TabContextType>) => import("react").JSX.Element;
3
+ export declare const TabProvider: ({ children, ...props }: React.PropsWithChildren<TabContextType>) => React.JSX.Element;
3
4
  //# sourceMappingURL=tab-provider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tab-provider.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/tab/components/tab-provider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,eAAO,MAAM,WAAW,GAAI,wBAGzB,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,gCAEzC,CAAC"}
1
+ {"version":3,"file":"tab-provider.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/tab/components/tab-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,eAAO,MAAM,WAAW,GAAI,wBAGzB,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,sBAezC,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import * as React from "react";
2
2
  import { TabContextType } from "../types/tab-context-type";
3
- export declare const TabContext: React.Context<TabContextType>;
3
+ export declare const TabContext: React.Context<TabContextType | null>;
4
4
  //# sourceMappingURL=tab-context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tab-context.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/tab/contexts/tab-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,eAAO,MAAM,UAAU,+BAEtB,CAAC"}
1
+ {"version":3,"file":"tab-context.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/tab/contexts/tab-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,eAAO,MAAM,UAAU,sCAAmD,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import * as React from "react";
2
- import { HealthImportAdapter } from "../../bt-management";
3
- import { SyncProgress } from "../../data-sync";
2
+ import { HealthImportAdapter, SyncProgress } from "../../data-sync";
4
3
  import { OvokUiProps } from "../types";
5
4
  export interface HealthImportCardProps<TType extends string = string> extends OvokUiProps {
6
5
  types: readonly TType[];
@@ -1 +1 @@
1
- {"version":3,"file":"health-import-card.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/ui/components/health-import-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,EAAE,mBAAmB,EAAmB,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAoB,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,WAAW,qBAAqB,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,CAAE,SAAQ,WAAW;IACvF,KAAK,EAAE,SAAS,KAAK,EAAE,CAAC;IACxB,OAAO,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK,MAAM,CAAC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC;IAChD,YAAY,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;IAC/D,YAAY,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;IAC5E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAYD,eAAO,MAAM,gBAAgB,GAAI,KAAK,SAAS,MAAM,EAAE,+GAWpD,qBAAqB,CAAC,KAAK,CAAC,sBAyD9B,CAAC"}
1
+ {"version":3,"file":"health-import-card.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/ui/components/health-import-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAqC,MAAM,iBAAiB,CAAC;AACvG,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,WAAW,qBAAqB,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,CAAE,SAAQ,WAAW;IACvF,KAAK,EAAE,SAAS,KAAK,EAAE,CAAC;IACxB,OAAO,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK,MAAM,CAAC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC;IAChD,YAAY,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;IAC/D,YAAY,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;IAC5E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAYD,eAAO,MAAM,gBAAgB,GAAI,KAAK,SAAS,MAAM,EAAE,+GAWpD,qBAAqB,CAAC,KAAK,CAAC,sBAyD9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"pairing-flow.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/ui/components/pairing-flow.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,EACL,mBAAmB,EAEnB,aAAa,EAKd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,SAAS,GAAG,eAAe,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE1F,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE,SAAS,aAAa,EAAE,CAAC;IAClC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1B,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IACnD,OAAO,EAAE,mBAAmB,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,MAAM,GAAG,SAAS,CAAC;IAC/D,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC;IAC3C,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC9E,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;IACzD,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,KAAK,CAAC,SAAS,CAAC;IAClE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,KAAK,CAAC,SAAS,CAAC;IACjE,YAAY,CAAC,EAAE,CACb,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;QAC1B,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,MAAM,EAAE,iBAAiB,CAAC;KAC3B,KACE,KAAK,CAAC,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAID,eAAO,MAAM,WAAW,GAAI,wLAczB,gBAAgB,sBA8IlB,CAAC"}
1
+ {"version":3,"file":"pairing-flow.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/ui/components/pairing-flow.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,EACL,mBAAmB,EACnB,aAAa,EAKd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,SAAS,GAAG,eAAe,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE1F,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE,SAAS,aAAa,EAAE,CAAC;IAClC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1B,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IACnD,OAAO,EAAE,mBAAmB,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,MAAM,GAAG,SAAS,CAAC;IAC/D,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC;IAC3C,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC9E,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;IACzD,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,KAAK,CAAC,SAAS,CAAC;IAClE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,KAAK,CAAC,SAAS,CAAC;IACjE,YAAY,CAAC,EAAE,CACb,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;QAC1B,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,MAAM,EAAE,iBAAiB,CAAC;KAC3B,KACE,KAAK,CAAC,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAID,eAAO,MAAM,WAAW,GAAI,wLAczB,gBAAgB,sBA8IlB,CAAC"}
@@ -8,6 +8,7 @@ export * from "./modules/measurement";
8
8
  export * from "./modules/tab";
9
9
  export * from "./modules/observation-detail";
10
10
  export * from "./modules/content";
11
+ export * from "./modules/cms";
11
12
  export * from "./modules/bt-management";
12
13
  export * from "./polyfills";
13
14
  export * from "./modules/language-switcher";
@@ -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,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,mBAAmB,CAAC;AAClC,cAAc,uCAAuC,CAAC"}
@@ -1,2 +1,54 @@
1
- export {};
1
+ /** The SDK's built-in English strings, registered below without overwriting the app's own. */
2
+ export declare const defaultTranslation: {
3
+ common: {
4
+ cancel: string;
5
+ delete: string;
6
+ };
7
+ profile: {
8
+ save: string;
9
+ };
10
+ register: {
11
+ "already-have-account": string;
12
+ button: string;
13
+ name: string;
14
+ "or-register-with": string;
15
+ "password-confirm": string;
16
+ subtitle: string;
17
+ surname: string;
18
+ title: string;
19
+ };
20
+ "reset-password": {
21
+ accountType: string;
22
+ email: string;
23
+ patient: string;
24
+ practitioner: string;
25
+ "reset-password": string;
26
+ subtitle: string;
27
+ title: string;
28
+ };
29
+ settings: {
30
+ "delete-account": string;
31
+ "delete-account-confirmation": string;
32
+ logout: string;
33
+ "no-sessions": string;
34
+ "sign-out-other-devices": string;
35
+ };
36
+ "sign-in": {
37
+ apple: string;
38
+ button: string;
39
+ "dont-have-account": string;
40
+ email: string;
41
+ "forgot-password": string;
42
+ footer: string;
43
+ google: string;
44
+ mfa: {
45
+ code: string;
46
+ verify: string;
47
+ };
48
+ "or-login-with": string;
49
+ password: string;
50
+ subtitle: string;
51
+ title: string;
52
+ };
53
+ };
2
54
  //# sourceMappingURL=default-translation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"default-translation.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/auth/default-translation.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"default-translation.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/auth/default-translation.ts"],"names":[],"mappings":"AAEA,8FAA8F;AAC9F,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4C9B,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":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,eAAO,MAAM,mBAAmB,GAAI,kDAMjC,wBAAwB,sBAsG1B,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,sBAqG1B,CAAC"}
@@ -0,0 +1,13 @@
1
+ type AuthActionStatus = "idle" | "loading" | "success" | "error";
2
+ interface AuthActionState<TResult> {
3
+ status: AuthActionStatus;
4
+ loading: boolean;
5
+ error?: Error;
6
+ reset: () => void;
7
+ run: () => Promise<TResult>;
8
+ }
9
+ declare const useAuthAction: <TArgs extends unknown[], TResult>(action: (...args: TArgs) => Promise<TResult>) => Omit<AuthActionState<TResult>, "run"> & {
10
+ run: (...args: TArgs) => Promise<TResult>;
11
+ };
12
+ export { AuthActionState, AuthActionStatus, useAuthAction };
13
+ //# sourceMappingURL=use-auth-action.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,8 @@
1
+ export interface DeleteAccountOptions {
2
+ days?: number;
3
+ wipe?: boolean;
4
+ }
5
+ export declare const useDeleteAccount: ({ days, wipe }?: DeleteAccountOptions) => Omit<import("./use-auth-action").AuthActionState<void>, "run"> & {
6
+ run: () => Promise<void>;
7
+ };
8
+ //# sourceMappingURL=use-delete-account.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-delete-account.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-delete-account.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,eAAO,MAAM,gBAAgB,GAAI,iBAA4B,oBAAyB;;CASrF,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import { useClient } from "@ovok/core";
2
2
  import { OvokNativeSession, SessionRevokeOption, SessionStatus } from "../types/session";
3
+ type Client = ReturnType<typeof useClient>;
4
+ type Profile = Awaited<ReturnType<Client["getProfileAsync"]>>;
3
5
  interface UseSessionResult {
4
6
  status: SessionStatus;
5
7
  isAuthenticated: boolean;
6
- profile: Awaited<ReturnType<ReturnType<typeof useClient>["getProfileAsync"]>>;
8
+ profile: Profile;
7
9
  sessions: OvokNativeSession[];
8
10
  loading: boolean;
9
11
  error?: Error;
@@ -16,7 +18,7 @@ interface UseSessionOptions {
16
18
  sessions?: boolean;
17
19
  refreshOnForeground?: boolean;
18
20
  }
19
- /** Reads and manages the server-side sessions exposed by @ovok/core. */
20
- export declare const useSession: ({ sessions: fetchSessions, refreshOnForeground, }?: UseSessionOptions) => UseSessionResult;
21
- export type { UseSessionOptions, UseSessionResult };
21
+ /** Shares the signed-in profile and remote-session list between components using one client. */
22
+ declare const useSession: ({ sessions: fetchSessions, refreshOnForeground, }?: UseSessionOptions) => UseSessionResult;
23
+ export { UseSessionOptions, UseSessionResult, useSession };
22
24
  //# sourceMappingURL=use-session.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-session.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAKvC,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAuB1B,UAAU,gBAAgB;IACxB,MAAM,EAAE,aAAa,CAAC;IACtB,eAAe,EAAE,OAAO,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;IAC9E,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7B,eAAe,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,cAAc,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAChE;AAED,UAAU,iBAAiB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,wEAAwE;AACxE,eAAO,MAAM,UAAU,GAAI,oDAGxB,iBAAsB,KAAG,gBA2H3B,CAAC;AAEF,YAAY,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,CAAC"}
1
+ {"version":3,"file":"use-session.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAMvC,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAE1B,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAC3C,KAAK,OAAO,GAAG,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAC9D,UAAU,gBAAgB;IACxB,MAAM,EAAE,aAAa,CAAC;IACtB,eAAe,EAAE,OAAO,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7B,eAAe,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,cAAc,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAChE;AAED,UAAU,iBAAiB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,gGAAgG;AAChG,QAAA,MAAM,UAAU,GAAI,oDAGjB,iBAAsB,KAAG,gBA8C3B,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,UAAU,EAAE,CAAC"}