@ovok/native 1.16.1-rc.4 → 1.16.1-rc.6

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 (506) hide show
  1. package/lib/commonjs/modules/auth/google-return-page/index.js +24 -0
  2. package/lib/commonjs/modules/auth/google-return-page/index.js.map +1 -0
  3. package/lib/commonjs/modules/auth/hooks/use-social-sign-in.web.js +15 -0
  4. package/lib/commonjs/modules/auth/hooks/use-social-sign-in.web.js.map +1 -0
  5. package/lib/commonjs/modules/auth/index.js +21 -10
  6. package/lib/commonjs/modules/auth/index.js.map +1 -1
  7. package/lib/commonjs/modules/auth/session/logout-session.js +1 -1
  8. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.web.js +73 -0
  9. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.web.js.map +1 -0
  10. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login.js +1 -1
  11. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.web.js +73 -0
  12. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.web.js.map +1 -0
  13. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login.js +1 -1
  14. package/lib/commonjs/modules/auth/sign-in/index.js +24 -0
  15. package/lib/commonjs/modules/auth/sign-in/index.js.map +1 -1
  16. package/lib/commonjs/modules/auth/sign-in/utils/apple-web-sign-in.js +90 -0
  17. package/lib/commonjs/modules/auth/sign-in/utils/apple-web-sign-in.js.map +1 -0
  18. package/lib/commonjs/modules/auth/sign-in/utils/google-redirect-sign-in.js +89 -0
  19. package/lib/commonjs/modules/auth/sign-in/utils/google-redirect-sign-in.js.map +1 -0
  20. package/lib/commonjs/modules/auth/sign-in/utils/jwt-claims.js +21 -0
  21. package/lib/commonjs/modules/auth/sign-in/utils/jwt-claims.js.map +1 -0
  22. package/lib/commonjs/modules/auth/utils/sign-out-google.web.js +10 -0
  23. package/lib/commonjs/modules/auth/utils/sign-out-google.web.js.map +1 -0
  24. package/lib/commonjs/modules/bt-management/services/custom/compile-custom-lepu.js +3 -2
  25. package/lib/commonjs/modules/bt-management/services/custom/compile-custom-lepu.js.map +1 -1
  26. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +64 -44
  27. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
  28. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/telebgm.protocol.js +98 -0
  29. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/telebgm.protocol.js.map +1 -0
  30. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/telebgm.sequencer.js +127 -0
  31. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/telebgm.sequencer.js.map +1 -0
  32. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js +12 -7
  33. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
  34. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.history-sequencer.js +16 -1
  35. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.history-sequencer.js.map +1 -1
  36. package/lib/commonjs/modules/bt-management/services/devices/bt-data-processor.js +10 -2
  37. package/lib/commonjs/modules/bt-management/services/devices/bt-data-processor.js.map +1 -1
  38. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.records.js +2 -7
  39. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.records.js.map +1 -1
  40. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +2 -2
  41. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  42. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
  43. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-files.js +74 -17
  44. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-files.js.map +1 -1
  45. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +4 -4
  46. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
  47. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.protocol.js +3 -7
  48. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.protocol.js.map +1 -1
  49. package/lib/commonjs/modules/bt-management/utils/calculate-crc-16-modbus.js +23 -0
  50. package/lib/commonjs/modules/bt-management/utils/calculate-crc-16-modbus.js.map +1 -0
  51. package/lib/commonjs/modules/bt-management/utils/tenths-mmol-to-mg-per-dl.js +13 -0
  52. package/lib/commonjs/modules/bt-management/utils/tenths-mmol-to-mg-per-dl.js.map +1 -0
  53. package/lib/commonjs/modules/data-sync/services/managers/data-processor.js +7 -7
  54. package/lib/commonjs/modules/data-sync/services/managers/data-processor.js.map +1 -1
  55. package/lib/commonjs/modules/data-sync/utils/convert-generic-health-data.js +8 -3
  56. package/lib/commonjs/modules/data-sync/utils/convert-generic-health-data.js.map +1 -1
  57. package/lib/commonjs/modules/data-sync/utils/default-health-coding.js +47 -0
  58. package/lib/commonjs/modules/data-sync/utils/default-health-coding.js.map +1 -0
  59. package/lib/commonjs/modules/data-sync/utils/health-units.js +6 -1
  60. package/lib/commonjs/modules/data-sync/utils/health-units.js.map +1 -1
  61. package/lib/commonjs/modules/next/bluetooth/ble-plx/ble-peripheral.js +35 -0
  62. package/lib/commonjs/modules/next/bluetooth/ble-plx/ble-peripheral.js.map +1 -0
  63. package/lib/commonjs/modules/next/bluetooth/ble-plx/ble-scanner.js +3 -30
  64. package/lib/commonjs/modules/next/bluetooth/ble-plx/ble-scanner.js.map +1 -1
  65. package/lib/commonjs/modules/next/bluetooth/ble-plx/legacy-driver.js +2 -2
  66. package/lib/commonjs/modules/next/bluetooth/ble-plx/legacy-driver.js.map +1 -1
  67. package/lib/commonjs/modules/next/bluetooth/react-native/ovok-sink.js.map +1 -1
  68. package/lib/commonjs/modules/next/bluetooth/web/create-web-bluetooth-runtime.js +28 -0
  69. package/lib/commonjs/modules/next/bluetooth/web/create-web-bluetooth-runtime.js.map +1 -0
  70. package/lib/commonjs/modules/next/bluetooth/web/index.js +208 -0
  71. package/lib/commonjs/modules/next/bluetooth/web/index.js.map +1 -0
  72. package/lib/commonjs/modules/next/bluetooth/web/web-ble-device.js +143 -0
  73. package/lib/commonjs/modules/next/bluetooth/web/web-ble-device.js.map +1 -0
  74. package/lib/commonjs/modules/next/bluetooth/web/web-ble-shapes.js +43 -0
  75. package/lib/commonjs/modules/next/bluetooth/web/web-ble-shapes.js.map +1 -0
  76. package/lib/commonjs/modules/next/bluetooth/web/web-bluetooth-permissions.js +21 -0
  77. package/lib/commonjs/modules/next/bluetooth/web/web-bluetooth-permissions.js.map +1 -0
  78. package/lib/commonjs/modules/next/bluetooth/web/web-bluetooth-scanner.js +133 -0
  79. package/lib/commonjs/modules/next/bluetooth/web/web-bluetooth-scanner.js.map +1 -0
  80. package/lib/commonjs/modules/next/bluetooth/web/web-bluetooth-services.js +28 -0
  81. package/lib/commonjs/modules/next/bluetooth/web/web-bluetooth-services.js.map +1 -0
  82. package/lib/commonjs/modules/next/bluetooth/web/web-bluetooth-values.js +37 -0
  83. package/lib/commonjs/modules/next/bluetooth/web/web-bluetooth-values.js.map +1 -0
  84. package/lib/commonjs/modules/next/bluetooth/web/web-bluetooth.types.js +2 -0
  85. package/lib/commonjs/modules/next/bluetooth/web/web-bluetooth.types.js.map +1 -0
  86. package/lib/commonjs/modules/next/bluetooth/web/web-gatt.js +83 -0
  87. package/lib/commonjs/modules/next/bluetooth/web/web-gatt.js.map +1 -0
  88. package/lib/commonjs/modules/next/breathing-exercise/index.js +17 -0
  89. package/lib/commonjs/modules/next/breathing-exercise/index.js.map +1 -0
  90. package/lib/commonjs/modules/next/cms/index.js +17 -0
  91. package/lib/commonjs/modules/next/cms/index.js.map +1 -0
  92. package/lib/commonjs/modules/next/content/index.js +17 -0
  93. package/lib/commonjs/modules/next/content/index.js.map +1 -0
  94. package/lib/commonjs/modules/next/diary/index.js +17 -0
  95. package/lib/commonjs/modules/next/diary/index.js.map +1 -0
  96. package/lib/commonjs/modules/next/image/index.js +17 -0
  97. package/lib/commonjs/modules/next/image/index.js.map +1 -0
  98. package/lib/commonjs/modules/next/journal/index.js +17 -0
  99. package/lib/commonjs/modules/next/journal/index.js.map +1 -0
  100. package/lib/commonjs/modules/next/language-switcher/index.js +17 -0
  101. package/lib/commonjs/modules/next/language-switcher/index.js.map +1 -0
  102. package/lib/commonjs/modules/next/measurement/index.js +17 -0
  103. package/lib/commonjs/modules/next/measurement/index.js.map +1 -0
  104. package/lib/commonjs/modules/next/observation-detail/index.js +17 -0
  105. package/lib/commonjs/modules/next/observation-detail/index.js.map +1 -0
  106. package/lib/commonjs/modules/next/patient/index.js +17 -0
  107. package/lib/commonjs/modules/next/patient/index.js.map +1 -0
  108. package/lib/commonjs/modules/next/pdf/index.js +17 -0
  109. package/lib/commonjs/modules/next/pdf/index.js.map +1 -0
  110. package/lib/commonjs/modules/next/picker-sheet/index.js +17 -0
  111. package/lib/commonjs/modules/next/picker-sheet/index.js.map +1 -0
  112. package/lib/commonjs/modules/next/progress-bar/index.js +17 -0
  113. package/lib/commonjs/modules/next/progress-bar/index.js.map +1 -0
  114. package/lib/commonjs/modules/next/progress-ring/index.js +17 -0
  115. package/lib/commonjs/modules/next/progress-ring/index.js.map +1 -0
  116. package/lib/commonjs/modules/next/setting/index.js +17 -0
  117. package/lib/commonjs/modules/next/setting/index.js.map +1 -0
  118. package/lib/commonjs/modules/next/tab/index.js +17 -0
  119. package/lib/commonjs/modules/next/tab/index.js.map +1 -0
  120. package/lib/commonjs/modules/next/theme/index.js +17 -0
  121. package/lib/commonjs/modules/next/theme/index.js.map +1 -0
  122. package/lib/commonjs/modules/next/tile/index.js +17 -0
  123. package/lib/commonjs/modules/next/tile/index.js.map +1 -0
  124. package/lib/commonjs/modules/next/ui/index.js +17 -0
  125. package/lib/commonjs/modules/next/ui/index.js.map +1 -0
  126. package/lib/module/modules/auth/google-return-page/index.js +21 -0
  127. package/lib/module/modules/auth/google-return-page/index.js.map +1 -0
  128. package/lib/module/modules/auth/hooks/use-social-sign-in.web.js +10 -0
  129. package/lib/module/modules/auth/hooks/use-social-sign-in.web.js.map +1 -0
  130. package/lib/module/modules/auth/index.js +2 -1
  131. package/lib/module/modules/auth/index.js.map +1 -1
  132. package/lib/module/modules/auth/session/logout-session.js +1 -1
  133. package/lib/module/modules/auth/session/logout-session.js.map +1 -1
  134. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.web.js +67 -0
  135. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.web.js.map +1 -0
  136. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login.js +1 -1
  137. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login.js.map +1 -1
  138. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.web.js +68 -0
  139. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.web.js.map +1 -0
  140. package/lib/module/modules/auth/sign-in/components/social-logins/google-login.js +1 -1
  141. package/lib/module/modules/auth/sign-in/components/social-logins/google-login.js.map +1 -1
  142. package/lib/module/modules/auth/sign-in/index.js +2 -0
  143. package/lib/module/modules/auth/sign-in/index.js.map +1 -1
  144. package/lib/module/modules/auth/sign-in/utils/apple-web-sign-in.js +84 -0
  145. package/lib/module/modules/auth/sign-in/utils/apple-web-sign-in.js.map +1 -0
  146. package/lib/module/modules/auth/sign-in/utils/google-redirect-sign-in.js +84 -0
  147. package/lib/module/modules/auth/sign-in/utils/google-redirect-sign-in.js.map +1 -0
  148. package/lib/module/modules/auth/sign-in/utils/jwt-claims.js +17 -0
  149. package/lib/module/modules/auth/sign-in/utils/jwt-claims.js.map +1 -0
  150. package/lib/module/modules/auth/utils/sign-out-google.web.js +5 -0
  151. package/lib/module/modules/auth/utils/sign-out-google.web.js.map +1 -0
  152. package/lib/module/modules/bt-management/services/custom/compile-custom-lepu.js +3 -2
  153. package/lib/module/modules/bt-management/services/custom/compile-custom-lepu.js.map +1 -1
  154. package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +64 -44
  155. package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
  156. package/lib/module/modules/bt-management/services/devices/blood-glucose/telebgm.protocol.js +91 -0
  157. package/lib/module/modules/bt-management/services/devices/blood-glucose/telebgm.protocol.js.map +1 -0
  158. package/lib/module/modules/bt-management/services/devices/blood-glucose/telebgm.sequencer.js +123 -0
  159. package/lib/module/modules/bt-management/services/devices/blood-glucose/telebgm.sequencer.js.map +1 -0
  160. package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js +12 -7
  161. package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
  162. package/lib/module/modules/bt-management/services/devices/bp2/bp2.history-sequencer.js +16 -1
  163. package/lib/module/modules/bt-management/services/devices/bp2/bp2.history-sequencer.js.map +1 -1
  164. package/lib/module/modules/bt-management/services/devices/bt-data-processor.js +10 -2
  165. package/lib/module/modules/bt-management/services/devices/bt-data-processor.js.map +1 -1
  166. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.records.js +2 -7
  167. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.records.js.map +1 -1
  168. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +2 -2
  169. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  170. package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
  171. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-files.js +74 -17
  172. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-files.js.map +1 -1
  173. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +4 -4
  174. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
  175. package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.protocol.js +3 -7
  176. package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.protocol.js.map +1 -1
  177. package/lib/module/modules/bt-management/utils/calculate-crc-16-modbus.js +18 -0
  178. package/lib/module/modules/bt-management/utils/calculate-crc-16-modbus.js.map +1 -0
  179. package/lib/module/modules/bt-management/utils/tenths-mmol-to-mg-per-dl.js +8 -0
  180. package/lib/module/modules/bt-management/utils/tenths-mmol-to-mg-per-dl.js.map +1 -0
  181. package/lib/module/modules/data-sync/services/managers/data-processor.js +7 -7
  182. package/lib/module/modules/data-sync/services/managers/data-processor.js.map +1 -1
  183. package/lib/module/modules/data-sync/utils/convert-generic-health-data.js +8 -3
  184. package/lib/module/modules/data-sync/utils/convert-generic-health-data.js.map +1 -1
  185. package/lib/module/modules/data-sync/utils/default-health-coding.js +44 -0
  186. package/lib/module/modules/data-sync/utils/default-health-coding.js.map +1 -0
  187. package/lib/module/modules/data-sync/utils/health-units.js +6 -1
  188. package/lib/module/modules/data-sync/utils/health-units.js.map +1 -1
  189. package/lib/module/modules/next/bluetooth/ble-plx/ble-peripheral.js +30 -0
  190. package/lib/module/modules/next/bluetooth/ble-plx/ble-peripheral.js.map +1 -0
  191. package/lib/module/modules/next/bluetooth/ble-plx/ble-scanner.js +2 -27
  192. package/lib/module/modules/next/bluetooth/ble-plx/ble-scanner.js.map +1 -1
  193. package/lib/module/modules/next/bluetooth/ble-plx/legacy-driver.js +1 -1
  194. package/lib/module/modules/next/bluetooth/ble-plx/legacy-driver.js.map +1 -1
  195. package/lib/module/modules/next/bluetooth/react-native/ovok-sink.js.map +1 -1
  196. package/lib/module/modules/next/bluetooth/web/create-web-bluetooth-runtime.js +25 -0
  197. package/lib/module/modules/next/bluetooth/web/create-web-bluetooth-runtime.js.map +1 -0
  198. package/lib/module/modules/next/bluetooth/web/index.js +28 -0
  199. package/lib/module/modules/next/bluetooth/web/index.js.map +1 -0
  200. package/lib/module/modules/next/bluetooth/web/web-ble-device.js +140 -0
  201. package/lib/module/modules/next/bluetooth/web/web-ble-device.js.map +1 -0
  202. package/lib/module/modules/next/bluetooth/web/web-ble-shapes.js +39 -0
  203. package/lib/module/modules/next/bluetooth/web/web-ble-shapes.js.map +1 -0
  204. package/lib/module/modules/next/bluetooth/web/web-bluetooth-permissions.js +18 -0
  205. package/lib/module/modules/next/bluetooth/web/web-bluetooth-permissions.js.map +1 -0
  206. package/lib/module/modules/next/bluetooth/web/web-bluetooth-scanner.js +128 -0
  207. package/lib/module/modules/next/bluetooth/web/web-bluetooth-scanner.js.map +1 -0
  208. package/lib/module/modules/next/bluetooth/web/web-bluetooth-services.js +25 -0
  209. package/lib/module/modules/next/bluetooth/web/web-bluetooth-services.js.map +1 -0
  210. package/lib/module/modules/next/bluetooth/web/web-bluetooth-values.js +29 -0
  211. package/lib/module/modules/next/bluetooth/web/web-bluetooth-values.js.map +1 -0
  212. package/lib/module/modules/next/bluetooth/web/web-bluetooth.types.js +2 -0
  213. package/lib/module/modules/next/bluetooth/web/web-bluetooth.types.js.map +1 -0
  214. package/lib/module/modules/next/bluetooth/web/web-gatt.js +79 -0
  215. package/lib/module/modules/next/bluetooth/web/web-gatt.js.map +1 -0
  216. package/lib/module/modules/next/breathing-exercise/index.js +5 -0
  217. package/lib/module/modules/next/breathing-exercise/index.js.map +1 -0
  218. package/lib/module/modules/next/cms/index.js +5 -0
  219. package/lib/module/modules/next/cms/index.js.map +1 -0
  220. package/lib/module/modules/next/content/index.js +5 -0
  221. package/lib/module/modules/next/content/index.js.map +1 -0
  222. package/lib/module/modules/next/diary/index.js +5 -0
  223. package/lib/module/modules/next/diary/index.js.map +1 -0
  224. package/lib/module/modules/next/image/index.js +5 -0
  225. package/lib/module/modules/next/image/index.js.map +1 -0
  226. package/lib/module/modules/next/journal/index.js +5 -0
  227. package/lib/module/modules/next/journal/index.js.map +1 -0
  228. package/lib/module/modules/next/language-switcher/index.js +5 -0
  229. package/lib/module/modules/next/language-switcher/index.js.map +1 -0
  230. package/lib/module/modules/next/measurement/index.js +5 -0
  231. package/lib/module/modules/next/measurement/index.js.map +1 -0
  232. package/lib/module/modules/next/observation-detail/index.js +5 -0
  233. package/lib/module/modules/next/observation-detail/index.js.map +1 -0
  234. package/lib/module/modules/next/patient/index.js +5 -0
  235. package/lib/module/modules/next/patient/index.js.map +1 -0
  236. package/lib/module/modules/next/pdf/index.js +5 -0
  237. package/lib/module/modules/next/pdf/index.js.map +1 -0
  238. package/lib/module/modules/next/picker-sheet/index.js +5 -0
  239. package/lib/module/modules/next/picker-sheet/index.js.map +1 -0
  240. package/lib/module/modules/next/progress-bar/index.js +5 -0
  241. package/lib/module/modules/next/progress-bar/index.js.map +1 -0
  242. package/lib/module/modules/next/progress-ring/index.js +5 -0
  243. package/lib/module/modules/next/progress-ring/index.js.map +1 -0
  244. package/lib/module/modules/next/setting/index.js +5 -0
  245. package/lib/module/modules/next/setting/index.js.map +1 -0
  246. package/lib/module/modules/next/tab/index.js +5 -0
  247. package/lib/module/modules/next/tab/index.js.map +1 -0
  248. package/lib/module/modules/next/theme/index.js +5 -0
  249. package/lib/module/modules/next/theme/index.js.map +1 -0
  250. package/lib/module/modules/next/tile/index.js +5 -0
  251. package/lib/module/modules/next/tile/index.js.map +1 -0
  252. package/lib/module/modules/next/ui/index.js +5 -0
  253. package/lib/module/modules/next/ui/index.js.map +1 -0
  254. package/lib/typescript/commonjs/src/modules/auth/google-return-page/index.d.ts +8 -0
  255. package/lib/typescript/commonjs/src/modules/auth/google-return-page/index.d.ts.map +1 -0
  256. package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.web.d.ts +7 -0
  257. package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.web.d.ts.map +1 -0
  258. package/lib/typescript/commonjs/src/modules/auth/index.d.ts +1 -0
  259. package/lib/typescript/commonjs/src/modules/auth/index.d.ts.map +1 -1
  260. package/lib/typescript/commonjs/src/modules/auth/register/components/register.d.ts +2 -2
  261. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/sign-in.d.ts +2 -2
  262. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-button.web.d.ts +5 -0
  263. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-button.web.d.ts.map +1 -0
  264. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login.d.ts +1 -1
  265. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-button.web.d.ts +5 -0
  266. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-button.web.d.ts.map +1 -0
  267. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login.d.ts +1 -1
  268. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/social-logins.d.ts +2 -2
  269. package/lib/typescript/commonjs/src/modules/auth/sign-in/index.d.ts +2 -0
  270. package/lib/typescript/commonjs/src/modules/auth/sign-in/index.d.ts.map +1 -1
  271. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/apple-login-props.d.ts +13 -0
  272. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/apple-login-props.d.ts.map +1 -1
  273. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/google-login-props.d.ts +13 -0
  274. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/google-login-props.d.ts.map +1 -1
  275. package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/apple-web-sign-in.d.ts +17 -0
  276. package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/apple-web-sign-in.d.ts.map +1 -0
  277. package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/google-redirect-sign-in.d.ts +14 -0
  278. package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/google-redirect-sign-in.d.ts.map +1 -0
  279. package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/jwt-claims.d.ts +9 -0
  280. package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/jwt-claims.d.ts.map +1 -0
  281. package/lib/typescript/commonjs/src/modules/auth/utils/sign-out-google.web.d.ts +3 -0
  282. package/lib/typescript/commonjs/src/modules/auth/utils/sign-out-google.web.d.ts.map +1 -0
  283. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-lepu.d.ts.map +1 -1
  284. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -1
  285. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/telebgm.protocol.d.ts +34 -0
  286. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/telebgm.protocol.d.ts.map +1 -0
  287. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/telebgm.sequencer.d.ts +32 -0
  288. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/telebgm.sequencer.d.ts.map +1 -0
  289. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
  290. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.d.ts +7 -1
  291. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.d.ts.map +1 -1
  292. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts +2 -0
  293. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
  294. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.records.d.ts.map +1 -1
  295. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  296. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts +2 -1
  297. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts.map +1 -1
  298. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts +9 -3
  299. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts.map +1 -1
  300. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.protocol.d.ts.map +1 -1
  301. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-lepu-spec.d.ts +5 -2
  302. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-lepu-spec.d.ts.map +1 -1
  303. package/lib/typescript/commonjs/src/modules/bt-management/utils/calculate-crc-16-modbus.d.ts +3 -0
  304. package/lib/typescript/commonjs/src/modules/bt-management/utils/calculate-crc-16-modbus.d.ts.map +1 -0
  305. package/lib/typescript/commonjs/src/modules/bt-management/utils/tenths-mmol-to-mg-per-dl.d.ts +3 -0
  306. package/lib/typescript/commonjs/src/modules/bt-management/utils/tenths-mmol-to-mg-per-dl.d.ts.map +1 -0
  307. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
  308. package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-props.d.ts +1 -1
  309. package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-props.d.ts.map +1 -1
  310. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-generic-health-data.d.ts.map +1 -1
  311. package/lib/typescript/commonjs/src/modules/data-sync/utils/default-health-coding.d.ts +10 -0
  312. package/lib/typescript/commonjs/src/modules/data-sync/utils/default-health-coding.d.ts.map +1 -0
  313. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-units.d.ts.map +1 -1
  314. package/lib/typescript/commonjs/src/modules/next/bluetooth/ble-plx/ble-link.d.ts +1 -1
  315. package/lib/typescript/commonjs/src/modules/next/bluetooth/ble-plx/ble-link.d.ts.map +1 -1
  316. package/lib/typescript/commonjs/src/modules/next/bluetooth/ble-plx/ble-peripheral.d.ts +8 -0
  317. package/lib/typescript/commonjs/src/modules/next/bluetooth/ble-plx/ble-peripheral.d.ts.map +1 -0
  318. package/lib/typescript/commonjs/src/modules/next/bluetooth/ble-plx/ble-scanner.d.ts +3 -7
  319. package/lib/typescript/commonjs/src/modules/next/bluetooth/ble-plx/ble-scanner.d.ts.map +1 -1
  320. package/lib/typescript/commonjs/src/modules/next/bluetooth/react-native/ovok-sink.d.ts +2 -2
  321. package/lib/typescript/commonjs/src/modules/next/bluetooth/react-native/ovok-sink.d.ts.map +1 -1
  322. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/create-web-bluetooth-runtime.d.ts +23 -0
  323. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/create-web-bluetooth-runtime.d.ts.map +1 -0
  324. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/index.d.ts +41 -0
  325. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/index.d.ts.map +1 -0
  326. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/web-ble-device.d.ts +53 -0
  327. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/web-ble-device.d.ts.map +1 -0
  328. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/web-ble-shapes.d.ts +27 -0
  329. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/web-ble-shapes.d.ts.map +1 -0
  330. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/web-bluetooth-permissions.d.ts +8 -0
  331. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/web-bluetooth-permissions.d.ts.map +1 -0
  332. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/web-bluetooth-scanner.d.ts +29 -0
  333. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/web-bluetooth-scanner.d.ts.map +1 -0
  334. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/web-bluetooth-services.d.ts +10 -0
  335. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/web-bluetooth-services.d.ts.map +1 -0
  336. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/web-bluetooth-values.d.ts +9 -0
  337. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/web-bluetooth-values.d.ts.map +1 -0
  338. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/web-bluetooth.types.d.ts +56 -0
  339. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/web-bluetooth.types.d.ts.map +1 -0
  340. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/web-gatt.d.ts +27 -0
  341. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/web-gatt.d.ts.map +1 -0
  342. package/lib/typescript/commonjs/src/modules/next/breathing-exercise/index.d.ts +3 -0
  343. package/lib/typescript/commonjs/src/modules/next/breathing-exercise/index.d.ts.map +1 -0
  344. package/lib/typescript/commonjs/src/modules/next/cms/index.d.ts +3 -0
  345. package/lib/typescript/commonjs/src/modules/next/cms/index.d.ts.map +1 -0
  346. package/lib/typescript/commonjs/src/modules/next/content/index.d.ts +3 -0
  347. package/lib/typescript/commonjs/src/modules/next/content/index.d.ts.map +1 -0
  348. package/lib/typescript/commonjs/src/modules/next/diary/index.d.ts +3 -0
  349. package/lib/typescript/commonjs/src/modules/next/diary/index.d.ts.map +1 -0
  350. package/lib/typescript/commonjs/src/modules/next/image/index.d.ts +3 -0
  351. package/lib/typescript/commonjs/src/modules/next/image/index.d.ts.map +1 -0
  352. package/lib/typescript/commonjs/src/modules/next/journal/index.d.ts +3 -0
  353. package/lib/typescript/commonjs/src/modules/next/journal/index.d.ts.map +1 -0
  354. package/lib/typescript/commonjs/src/modules/next/language-switcher/index.d.ts +3 -0
  355. package/lib/typescript/commonjs/src/modules/next/language-switcher/index.d.ts.map +1 -0
  356. package/lib/typescript/commonjs/src/modules/next/measurement/index.d.ts +3 -0
  357. package/lib/typescript/commonjs/src/modules/next/measurement/index.d.ts.map +1 -0
  358. package/lib/typescript/commonjs/src/modules/next/observation-detail/index.d.ts +3 -0
  359. package/lib/typescript/commonjs/src/modules/next/observation-detail/index.d.ts.map +1 -0
  360. package/lib/typescript/commonjs/src/modules/next/patient/index.d.ts +3 -0
  361. package/lib/typescript/commonjs/src/modules/next/patient/index.d.ts.map +1 -0
  362. package/lib/typescript/commonjs/src/modules/next/pdf/index.d.ts +3 -0
  363. package/lib/typescript/commonjs/src/modules/next/pdf/index.d.ts.map +1 -0
  364. package/lib/typescript/commonjs/src/modules/next/picker-sheet/index.d.ts +3 -0
  365. package/lib/typescript/commonjs/src/modules/next/picker-sheet/index.d.ts.map +1 -0
  366. package/lib/typescript/commonjs/src/modules/next/progress-bar/index.d.ts +3 -0
  367. package/lib/typescript/commonjs/src/modules/next/progress-bar/index.d.ts.map +1 -0
  368. package/lib/typescript/commonjs/src/modules/next/progress-ring/index.d.ts +3 -0
  369. package/lib/typescript/commonjs/src/modules/next/progress-ring/index.d.ts.map +1 -0
  370. package/lib/typescript/commonjs/src/modules/next/setting/index.d.ts +3 -0
  371. package/lib/typescript/commonjs/src/modules/next/setting/index.d.ts.map +1 -0
  372. package/lib/typescript/commonjs/src/modules/next/tab/index.d.ts +3 -0
  373. package/lib/typescript/commonjs/src/modules/next/tab/index.d.ts.map +1 -0
  374. package/lib/typescript/commonjs/src/modules/next/theme/index.d.ts +3 -0
  375. package/lib/typescript/commonjs/src/modules/next/theme/index.d.ts.map +1 -0
  376. package/lib/typescript/commonjs/src/modules/next/tile/index.d.ts +3 -0
  377. package/lib/typescript/commonjs/src/modules/next/tile/index.d.ts.map +1 -0
  378. package/lib/typescript/commonjs/src/modules/next/ui/index.d.ts +3 -0
  379. package/lib/typescript/commonjs/src/modules/next/ui/index.d.ts.map +1 -0
  380. package/lib/typescript/module/src/modules/auth/google-return-page/index.d.ts +8 -0
  381. package/lib/typescript/module/src/modules/auth/google-return-page/index.d.ts.map +1 -0
  382. package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.web.d.ts +7 -0
  383. package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.web.d.ts.map +1 -0
  384. package/lib/typescript/module/src/modules/auth/index.d.ts +1 -0
  385. package/lib/typescript/module/src/modules/auth/index.d.ts.map +1 -1
  386. package/lib/typescript/module/src/modules/auth/register/components/register.d.ts +2 -2
  387. package/lib/typescript/module/src/modules/auth/sign-in/components/sign-in.d.ts +2 -2
  388. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-button.web.d.ts +5 -0
  389. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-button.web.d.ts.map +1 -0
  390. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login.d.ts +1 -1
  391. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-button.web.d.ts +5 -0
  392. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-button.web.d.ts.map +1 -0
  393. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login.d.ts +1 -1
  394. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/social-logins.d.ts +2 -2
  395. package/lib/typescript/module/src/modules/auth/sign-in/index.d.ts +2 -0
  396. package/lib/typescript/module/src/modules/auth/sign-in/index.d.ts.map +1 -1
  397. package/lib/typescript/module/src/modules/auth/sign-in/types/apple-login-props.d.ts +13 -0
  398. package/lib/typescript/module/src/modules/auth/sign-in/types/apple-login-props.d.ts.map +1 -1
  399. package/lib/typescript/module/src/modules/auth/sign-in/types/google-login-props.d.ts +13 -0
  400. package/lib/typescript/module/src/modules/auth/sign-in/types/google-login-props.d.ts.map +1 -1
  401. package/lib/typescript/module/src/modules/auth/sign-in/utils/apple-web-sign-in.d.ts +17 -0
  402. package/lib/typescript/module/src/modules/auth/sign-in/utils/apple-web-sign-in.d.ts.map +1 -0
  403. package/lib/typescript/module/src/modules/auth/sign-in/utils/google-redirect-sign-in.d.ts +14 -0
  404. package/lib/typescript/module/src/modules/auth/sign-in/utils/google-redirect-sign-in.d.ts.map +1 -0
  405. package/lib/typescript/module/src/modules/auth/sign-in/utils/jwt-claims.d.ts +9 -0
  406. package/lib/typescript/module/src/modules/auth/sign-in/utils/jwt-claims.d.ts.map +1 -0
  407. package/lib/typescript/module/src/modules/auth/utils/sign-out-google.web.d.ts +3 -0
  408. package/lib/typescript/module/src/modules/auth/utils/sign-out-google.web.d.ts.map +1 -0
  409. package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-lepu.d.ts.map +1 -1
  410. package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -1
  411. package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/telebgm.protocol.d.ts +34 -0
  412. package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/telebgm.protocol.d.ts.map +1 -0
  413. package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/telebgm.sequencer.d.ts +32 -0
  414. package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/telebgm.sequencer.d.ts.map +1 -0
  415. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
  416. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.d.ts +7 -1
  417. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.d.ts.map +1 -1
  418. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts +2 -0
  419. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
  420. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.records.d.ts.map +1 -1
  421. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  422. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts +2 -1
  423. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts.map +1 -1
  424. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts +9 -3
  425. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts.map +1 -1
  426. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.protocol.d.ts.map +1 -1
  427. package/lib/typescript/module/src/modules/bt-management/types/custom-lepu-spec.d.ts +5 -2
  428. package/lib/typescript/module/src/modules/bt-management/types/custom-lepu-spec.d.ts.map +1 -1
  429. package/lib/typescript/module/src/modules/bt-management/utils/calculate-crc-16-modbus.d.ts +3 -0
  430. package/lib/typescript/module/src/modules/bt-management/utils/calculate-crc-16-modbus.d.ts.map +1 -0
  431. package/lib/typescript/module/src/modules/bt-management/utils/tenths-mmol-to-mg-per-dl.d.ts +3 -0
  432. package/lib/typescript/module/src/modules/bt-management/utils/tenths-mmol-to-mg-per-dl.d.ts.map +1 -0
  433. package/lib/typescript/module/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
  434. package/lib/typescript/module/src/modules/data-sync/types/health-sync-props.d.ts +1 -1
  435. package/lib/typescript/module/src/modules/data-sync/types/health-sync-props.d.ts.map +1 -1
  436. package/lib/typescript/module/src/modules/data-sync/utils/convert-generic-health-data.d.ts.map +1 -1
  437. package/lib/typescript/module/src/modules/data-sync/utils/default-health-coding.d.ts +10 -0
  438. package/lib/typescript/module/src/modules/data-sync/utils/default-health-coding.d.ts.map +1 -0
  439. package/lib/typescript/module/src/modules/data-sync/utils/health-units.d.ts.map +1 -1
  440. package/lib/typescript/module/src/modules/next/bluetooth/ble-plx/ble-link.d.ts +1 -1
  441. package/lib/typescript/module/src/modules/next/bluetooth/ble-plx/ble-link.d.ts.map +1 -1
  442. package/lib/typescript/module/src/modules/next/bluetooth/ble-plx/ble-peripheral.d.ts +8 -0
  443. package/lib/typescript/module/src/modules/next/bluetooth/ble-plx/ble-peripheral.d.ts.map +1 -0
  444. package/lib/typescript/module/src/modules/next/bluetooth/ble-plx/ble-scanner.d.ts +3 -7
  445. package/lib/typescript/module/src/modules/next/bluetooth/ble-plx/ble-scanner.d.ts.map +1 -1
  446. package/lib/typescript/module/src/modules/next/bluetooth/react-native/ovok-sink.d.ts +2 -2
  447. package/lib/typescript/module/src/modules/next/bluetooth/react-native/ovok-sink.d.ts.map +1 -1
  448. package/lib/typescript/module/src/modules/next/bluetooth/web/create-web-bluetooth-runtime.d.ts +23 -0
  449. package/lib/typescript/module/src/modules/next/bluetooth/web/create-web-bluetooth-runtime.d.ts.map +1 -0
  450. package/lib/typescript/module/src/modules/next/bluetooth/web/index.d.ts +41 -0
  451. package/lib/typescript/module/src/modules/next/bluetooth/web/index.d.ts.map +1 -0
  452. package/lib/typescript/module/src/modules/next/bluetooth/web/web-ble-device.d.ts +53 -0
  453. package/lib/typescript/module/src/modules/next/bluetooth/web/web-ble-device.d.ts.map +1 -0
  454. package/lib/typescript/module/src/modules/next/bluetooth/web/web-ble-shapes.d.ts +27 -0
  455. package/lib/typescript/module/src/modules/next/bluetooth/web/web-ble-shapes.d.ts.map +1 -0
  456. package/lib/typescript/module/src/modules/next/bluetooth/web/web-bluetooth-permissions.d.ts +8 -0
  457. package/lib/typescript/module/src/modules/next/bluetooth/web/web-bluetooth-permissions.d.ts.map +1 -0
  458. package/lib/typescript/module/src/modules/next/bluetooth/web/web-bluetooth-scanner.d.ts +29 -0
  459. package/lib/typescript/module/src/modules/next/bluetooth/web/web-bluetooth-scanner.d.ts.map +1 -0
  460. package/lib/typescript/module/src/modules/next/bluetooth/web/web-bluetooth-services.d.ts +10 -0
  461. package/lib/typescript/module/src/modules/next/bluetooth/web/web-bluetooth-services.d.ts.map +1 -0
  462. package/lib/typescript/module/src/modules/next/bluetooth/web/web-bluetooth-values.d.ts +9 -0
  463. package/lib/typescript/module/src/modules/next/bluetooth/web/web-bluetooth-values.d.ts.map +1 -0
  464. package/lib/typescript/module/src/modules/next/bluetooth/web/web-bluetooth.types.d.ts +56 -0
  465. package/lib/typescript/module/src/modules/next/bluetooth/web/web-bluetooth.types.d.ts.map +1 -0
  466. package/lib/typescript/module/src/modules/next/bluetooth/web/web-gatt.d.ts +27 -0
  467. package/lib/typescript/module/src/modules/next/bluetooth/web/web-gatt.d.ts.map +1 -0
  468. package/lib/typescript/module/src/modules/next/breathing-exercise/index.d.ts +3 -0
  469. package/lib/typescript/module/src/modules/next/breathing-exercise/index.d.ts.map +1 -0
  470. package/lib/typescript/module/src/modules/next/cms/index.d.ts +3 -0
  471. package/lib/typescript/module/src/modules/next/cms/index.d.ts.map +1 -0
  472. package/lib/typescript/module/src/modules/next/content/index.d.ts +3 -0
  473. package/lib/typescript/module/src/modules/next/content/index.d.ts.map +1 -0
  474. package/lib/typescript/module/src/modules/next/diary/index.d.ts +3 -0
  475. package/lib/typescript/module/src/modules/next/diary/index.d.ts.map +1 -0
  476. package/lib/typescript/module/src/modules/next/image/index.d.ts +3 -0
  477. package/lib/typescript/module/src/modules/next/image/index.d.ts.map +1 -0
  478. package/lib/typescript/module/src/modules/next/journal/index.d.ts +3 -0
  479. package/lib/typescript/module/src/modules/next/journal/index.d.ts.map +1 -0
  480. package/lib/typescript/module/src/modules/next/language-switcher/index.d.ts +3 -0
  481. package/lib/typescript/module/src/modules/next/language-switcher/index.d.ts.map +1 -0
  482. package/lib/typescript/module/src/modules/next/measurement/index.d.ts +3 -0
  483. package/lib/typescript/module/src/modules/next/measurement/index.d.ts.map +1 -0
  484. package/lib/typescript/module/src/modules/next/observation-detail/index.d.ts +3 -0
  485. package/lib/typescript/module/src/modules/next/observation-detail/index.d.ts.map +1 -0
  486. package/lib/typescript/module/src/modules/next/patient/index.d.ts +3 -0
  487. package/lib/typescript/module/src/modules/next/patient/index.d.ts.map +1 -0
  488. package/lib/typescript/module/src/modules/next/pdf/index.d.ts +3 -0
  489. package/lib/typescript/module/src/modules/next/pdf/index.d.ts.map +1 -0
  490. package/lib/typescript/module/src/modules/next/picker-sheet/index.d.ts +3 -0
  491. package/lib/typescript/module/src/modules/next/picker-sheet/index.d.ts.map +1 -0
  492. package/lib/typescript/module/src/modules/next/progress-bar/index.d.ts +3 -0
  493. package/lib/typescript/module/src/modules/next/progress-bar/index.d.ts.map +1 -0
  494. package/lib/typescript/module/src/modules/next/progress-ring/index.d.ts +3 -0
  495. package/lib/typescript/module/src/modules/next/progress-ring/index.d.ts.map +1 -0
  496. package/lib/typescript/module/src/modules/next/setting/index.d.ts +3 -0
  497. package/lib/typescript/module/src/modules/next/setting/index.d.ts.map +1 -0
  498. package/lib/typescript/module/src/modules/next/tab/index.d.ts +3 -0
  499. package/lib/typescript/module/src/modules/next/tab/index.d.ts.map +1 -0
  500. package/lib/typescript/module/src/modules/next/theme/index.d.ts +3 -0
  501. package/lib/typescript/module/src/modules/next/theme/index.d.ts.map +1 -0
  502. package/lib/typescript/module/src/modules/next/tile/index.d.ts +3 -0
  503. package/lib/typescript/module/src/modules/next/tile/index.d.ts.map +1 -0
  504. package/lib/typescript/module/src/modules/next/ui/index.d.ts +3 -0
  505. package/lib/typescript/module/src/modules/next/ui/index.d.ts.map +1 -0
  506. package/package.json +1 -1
@@ -6,7 +6,7 @@ export type HealthSyncProps<T> = {
6
6
  [key in HealthSyncKey]?: {
7
7
  typeIdentifiers: {
8
8
  typeIdentifier: T;
9
- /** Defaults to the SDK's reviewed mapping, or the platform source code. */
9
+ /** Defaults to core's code for a core measurement, else the SDK's reviewed mapping or the platform code. */
10
10
  code?: string;
11
11
  /** Coding system for `code`; numeric codes are not assumed to be LOINC. */
12
12
  system?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"health-sync-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/health-sync-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI;IAC/B,UAAU,EAAE;SACT,GAAG,IAAI,aAAa,CAAC,CAAC,EAAE;YACvB,eAAe,EAAE;gBACf,cAAc,EAAE,CAAC,CAAC;gBAElB,2EAA2E;gBAC3E,IAAI,CAAC,EAAE,MAAM,CAAC;gBAEd,2EAA2E;gBAC3E,MAAM,CAAC,EAAE,MAAM,CAAC;gBAEhB,iEAAiE;gBACjE,OAAO,CAAC,EAAE,MAAM,CAAC;aAClB,EAAE,CAAC;YACJ,OAAO,CAAC,EAAE,IAAI,CAAC;YAEf,iEAAiE;YACjE,IAAI,CAAC,EAAE,cAAc,CAAC;SACvB;KACF,CAAC;IAEF;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3D,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE;SACrB,GAAG,IAAI,aAAa,CAAC,CAAC,EAAE,YAAY;KACtC,KAAK,IAAI,CAAC;CACZ,CAAC"}
1
+ {"version":3,"file":"health-sync-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/health-sync-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI;IAC/B,UAAU,EAAE;SACT,GAAG,IAAI,aAAa,CAAC,CAAC,EAAE;YACvB,eAAe,EAAE;gBACf,cAAc,EAAE,CAAC,CAAC;gBAElB,4GAA4G;gBAC5G,IAAI,CAAC,EAAE,MAAM,CAAC;gBAEd,2EAA2E;gBAC3E,MAAM,CAAC,EAAE,MAAM,CAAC;gBAEhB,iEAAiE;gBACjE,OAAO,CAAC,EAAE,MAAM,CAAC;aAClB,EAAE,CAAC;YACJ,OAAO,CAAC,EAAE,IAAI,CAAC;YAEf,iEAAiE;YACjE,IAAI,CAAC,EAAE,cAAc,CAAC;SACvB;KACF,CAAC;IAEF;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3D,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE;SACrB,GAAG,IAAI,aAAa,CAAC,CAAC,EAAE,YAAY;KACtC,KAAK,IAAI,CAAC;CACZ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"convert-generic-health-data.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/convert-generic-health-data.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAK3D,KAAK,sBAAsB,GAAG,gBAAgB,CAAC,OAAO,CAAC,GAAG;IACxD,IAAI,EAAE,cAAc,CAAC;CACtB,CAAC;AAQF,QAAA,MAAM,qCAAqC,GAAU,kJAQlD,sBAAsB,KAAG,OAAO,CAAC,WAAW,EAAE,CA8GhD,CAAC;AA6FF,QAAA,MAAM,YAAY,GAChB,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC3B;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,SAwDpC,CAAC;AAqIF,QAAA,MAAM,WAAW,GACf,MAAM,MAAM,EACZ,iBAAiB,MAAM,KACtB,MAAM,GAAG,SAiDX,CAAC;AA6DF,OAAO,EAAE,qCAAqC,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"convert-generic-health-data.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/convert-generic-health-data.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAK3D,KAAK,sBAAsB,GAAG,gBAAgB,CAAC,OAAO,CAAC,GAAG;IACxD,IAAI,EAAE,cAAc,CAAC;CACtB,CAAC;AAQF,QAAA,MAAM,qCAAqC,GAAU,kJAQlD,sBAAsB,KAAG,OAAO,CAAC,WAAW,EAAE,CA8GhD,CAAC;AA6FF,QAAA,MAAM,YAAY,GAChB,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC3B;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,SA4DpC,CAAC;AAqIF,QAAA,MAAM,WAAW,GACf,MAAM,MAAM,EACZ,iBAAiB,MAAM,KACtB,MAAM,GAAG,SAiDX,CAAC;AAmEF,OAAO,EAAE,qCAAqC,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { HealthProvider } from "../types/health-provider";
2
+ import { HealthDataMode, HealthSyncKey } from "../types/health-sync-keys";
3
+ /** The coding a type is saved under when the app names none: core's own code for a core measurement, else the catalog's. */
4
+ declare const getDefaultHealthCoding: (provider: HealthProvider, key: HealthSyncKey, identifier: string, mode: HealthDataMode) => {
5
+ code: string;
6
+ system: string;
7
+ display?: string;
8
+ };
9
+ export { getDefaultHealthCoding };
10
+ //# sourceMappingURL=default-health-coding.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default-health-coding.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/default-health-coding.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAiC1E,4HAA4H;AAC5H,QAAA,MAAM,sBAAsB,GAC1B,UAAU,cAAc,EACxB,KAAK,aAAa,EAClB,YAAY,MAAM,EAClB,MAAM,cAAc,KACnB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAIlD,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"health-units.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/health-units.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,oCAAoC,CAAC;AAmB5C,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,wBAAwB,EAC9D,gBAAgB,CAAC,KAChB,iBAAiB,CAAC,CAAC,CAAC,GAAG,SACwC,CAAC"}
1
+ {"version":3,"file":"health-units.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/health-units.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,oCAAoC,CAAC;AAwB5C,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,wBAAwB,EAC9D,gBAAgB,CAAC,KAChB,iBAAiB,CAAC,CAAC,CAAC,GAAG,SACwC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { Device } from "react-native-ble-plx";
1
+ import type { Device } from "react-native-ble-plx";
2
2
  import { Link } from "../link";
3
3
  /** Connects (retrying with backoff), discovers services and reads Device Information; aborting `signal` closes the link. */
4
4
  declare function openBleLink(device: Device, signal: AbortSignal): Promise<Link>;
@@ -1 +1 @@
1
- {"version":3,"file":"ble-link.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/ble-plx/ble-link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,MAAM,EAAgB,MAAM,sBAAsB,CAAC;AAOtE,OAAO,EAAqB,IAAI,EAAE,MAAM,SAAS,CAAC;AAyJlD,4HAA4H;AAC5H,iBAAe,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAsB7E;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"ble-link.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/ble-plx/ble-link.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAY,MAAM,EAAgB,MAAM,sBAAsB,CAAC;AAO3E,OAAO,EAAqB,IAAI,EAAE,MAAM,SAAS,CAAC;AAyJlD,4HAA4H;AAC5H,iBAAe,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAsB7E;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { Device } from "react-native-ble-plx";
2
+ import { Peripheral } from "../transport";
3
+ /** The `react-native-ble-plx` device behind a peripheral that `blePeripheral` made. */
4
+ declare const bleDeviceOf: (peripheral: Peripheral) => Device;
5
+ /** A `react-native-ble-plx` device, or a device with the same API such as a Web Bluetooth one, as a peripheral. */
6
+ declare const blePeripheral: (device: Device) => Peripheral;
7
+ export { bleDeviceOf, blePeripheral };
8
+ //# sourceMappingURL=ble-peripheral.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ble-peripheral.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/ble-plx/ble-peripheral.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAM1C,uFAAuF;AACvF,QAAA,MAAM,WAAW,GAAI,YAAY,UAAU,KAAG,MAQ7C,CAAC;AAEF,mHAAmH;AACnH,QAAA,MAAM,aAAa,GAAI,QAAQ,MAAM,KAAG,UAcvC,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC"}
@@ -1,10 +1,6 @@
1
- import { BleManager, Device } from "react-native-ble-plx";
2
- import { BluetoothScanner, Peripheral } from "../transport";
3
- /** The `react-native-ble-plx` device behind a peripheral this adapter reported. */
4
- declare const bleDeviceOf: (peripheral: Peripheral) => Device;
5
- /** A `react-native-ble-plx` device as a peripheral. */
6
- declare const blePeripheral: (device: Device) => Peripheral;
1
+ import { BleManager } from "react-native-ble-plx";
2
+ import { BluetoothScanner } from "../transport";
7
3
  /** A scanner over a `react-native-ble-plx` `BleManager`. */
8
4
  declare const bleManagerScanner: (bleManager: BleManager) => BluetoothScanner;
9
- export { bleDeviceOf, bleManagerScanner, blePeripheral };
5
+ export { bleManagerScanner };
10
6
  //# sourceMappingURL=ble-scanner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ble-scanner.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/ble-plx/ble-scanner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAmB,MAAM,sBAAsB,CAAC;AAE3E,OAAO,EAAgB,gBAAgB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAc1E,mFAAmF;AACnF,QAAA,MAAM,WAAW,GAAI,YAAY,UAAU,KAAG,MAQ7C,CAAC;AAEF,uDAAuD;AACvD,QAAA,MAAM,aAAa,GAAI,QAAQ,MAAM,KAAG,UAcvC,CAAC;AAEF,4DAA4D;AAC5D,QAAA,MAAM,iBAAiB,GAAI,YAAY,UAAU,KAAG,gBA6BlD,CAAC;AAEH,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"ble-scanner.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/ble-plx/ble-scanner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,sBAAsB,CAAC;AAEnE,OAAO,EAAgB,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAY9D,4DAA4D;AAC5D,QAAA,MAAM,iBAAiB,GAAI,YAAY,UAAU,KAAG,gBA6BlD,CAAC;AAEH,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
@@ -1,6 +1,6 @@
1
- import type { Ovok } from "../../ovok";
1
+ import type { Ovok } from "@ovok/core/next";
2
2
  import { ReadingSink } from "../sink";
3
3
  /** Saves readings for the signed-in account through the `Ovok` measurements API. */
4
- declare const ovokReadingSink: (client: Ovok) => ReadingSink;
4
+ declare const ovokReadingSink: (client: Pick<Ovok, "measurements">) => ReadingSink;
5
5
  export { ovokReadingSink };
6
6
  //# sourceMappingURL=ovok-sink.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ovok-sink.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/react-native/ovok-sink.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAStC,oFAAoF;AACpF,QAAA,MAAM,eAAe,GAAI,QAAQ,IAAI,KAAG,WAoBtC,CAAC;AAEH,OAAO,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"ovok-sink.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/react-native/ovok-sink.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAStC,oFAAoF;AACpF,QAAA,MAAM,eAAe,GAAI,QAAQ,IAAI,CAAC,IAAI,EAAE,cAAc,CAAC,KAAG,WAoB5D,CAAC;AAEH,OAAO,EAAE,eAAe,EAAE,CAAC"}
@@ -0,0 +1,23 @@
1
+ import type { Ovok, OvokStorage } from "@ovok/core/next";
2
+ import { DeviceSupport } from "../devices";
3
+ import { ResultPolicy } from "../result-policy";
4
+ import { BluetoothRuntime } from "../runtime";
5
+ import { WebBluetoothScanner } from "./web-bluetooth-scanner";
6
+ /** What `createWebBluetoothRuntime` needs. */
7
+ type CreateWebBluetoothRuntimeOptions = {
8
+ /** Saves the readings. */
9
+ client: Pick<Ovok, "measurements">;
10
+ /** The browser's devices, from `webBluetoothScanner`; the app calls its `chooseDevice` from a tap. */
11
+ scanner: WebBluetoothScanner;
12
+ /** The devices to look for. */
13
+ devices: readonly DeviceSupport[];
14
+ /** Which readings of a connection to keep; defaults to every reading. */
15
+ resultPolicy?: ResultPolicy;
16
+ /** Where the paired device IDs persist; without it pairing lasts until the runtime is disposed. */
17
+ pairedStorage?: OvokStorage;
18
+ };
19
+ /** A `BluetoothRuntime` wired for browsers: Web Bluetooth through `scanner`, saving through `client`. */
20
+ declare const createWebBluetoothRuntime: ({ client, scanner, devices, resultPolicy, pairedStorage, }: CreateWebBluetoothRuntimeOptions) => BluetoothRuntime;
21
+ export { createWebBluetoothRuntime };
22
+ export type { CreateWebBluetoothRuntimeOptions };
23
+ //# sourceMappingURL=create-web-bluetooth-runtime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-web-bluetooth-runtime.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/web/create-web-bluetooth-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEzD,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAG9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,8CAA8C;AAC9C,KAAK,gCAAgC,GAAG;IAEtC,0BAA0B;IAC1B,MAAM,EAAE,IAAI,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;IAEnC,sGAAsG;IACtG,OAAO,EAAE,mBAAmB,CAAC;IAE7B,+BAA+B;IAC/B,OAAO,EAAE,SAAS,aAAa,EAAE,CAAC;IAElC,yEAAyE;IACzE,YAAY,CAAC,EAAE,YAAY,CAAC;IAE5B,mGAAmG;IACnG,aAAa,CAAC,EAAE,WAAW,CAAC;CAC7B,CAAC;AAEF,yGAAyG;AACzG,QAAA,MAAM,yBAAyB,GAAI,4DAMhC,gCAAgC,KAAG,gBAQlC,CAAC;AAEL,OAAO,EAAE,yBAAyB,EAAE,CAAC;AACrC,YAAY,EAAE,gCAAgC,EAAE,CAAC"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Bluetooth for `@ovok/native/next` in browsers, over Web Bluetooth: the same `BluetoothRuntime`, devices, result
3
+ * policies and hooks as `@ovok/native/next/bluetooth`, with a Web Bluetooth scanner instead of `react-native-ble-plx`.
4
+ * Nothing here loads `react-native-ble-plx` or `react-native-permissions`, so a web bundle can import it.
5
+ *
6
+ * Import from `@ovok/native/next/bluetooth/web`.
7
+ *
8
+ * @module next/bluetooth/web
9
+ */
10
+ export { createWebBluetoothRuntime } from "./create-web-bluetooth-runtime";
11
+ export type { CreateWebBluetoothRuntimeOptions } from "./create-web-bluetooth-runtime";
12
+ export { isWebBluetoothAvailable, webBluetoothScanner } from "./web-bluetooth-scanner";
13
+ export type { WebBluetoothScanner, WebBluetoothScannerOptions } from "./web-bluetooth-scanner";
14
+ export { webBluetoothPermissions } from "./web-bluetooth-permissions";
15
+ export { WEB_BLUETOOTH_SERVICES, webBluetoothServicesFor } from "./web-bluetooth-services";
16
+ export { BluetoothRuntime } from "../runtime";
17
+ export type { BluetoothRuntimeOptions } from "../runtime";
18
+ export { BluetoothError } from "../errors";
19
+ export type { BluetoothErrorCode } from "../errors";
20
+ export type { BluetoothSnapshot, ConnectionState, DeviceReading, NearbyDevice, SaveState } from "../snapshot";
21
+ export type { AdapterState, Advertisement, BluetoothScanner, Peripheral } from "../transport";
22
+ export type { BluetoothPermission, BluetoothPermissions } from "../permissions";
23
+ export type { ReadingSink, SaveResult } from "../sink";
24
+ export { defineDevice } from "../devices";
25
+ export type { DeviceDefinition, DeviceMatch, DeviceSupport } from "../devices";
26
+ export type { DeviceEvent, DeviceProtocol, Driver } from "../driver";
27
+ export type { DeviceInformation, Link } from "../link";
28
+ export { acceptedMemorySlots, dailyTotalsOnly, everyReading, firstReadingPerKind, keepReadings, policyByKind, } from "../result-policy";
29
+ export type { ResultPolicy } from "../result-policy";
30
+ export { SIG_PROTOCOLS } from "../sig-profiles";
31
+ export { builtInDevices } from "../ble-plx/built-in-devices";
32
+ export { IntegratedDevices } from "../../../bt-management/types/integrated-devices";
33
+ export type { AcceptedDevice } from "../../../bt-management/types/accepted-device";
34
+ export { Devices, SUPPORTED_DEVICES } from "../../../bt-device/constants/supported-devices";
35
+ export type { SupportedDeviceDefinition } from "../../../bt-device/constants/supported-devices";
36
+ export { resultPoliciesFor } from "../../../bt-device/utils/device-query";
37
+ export { ovokReadingSink } from "../react-native/ovok-sink";
38
+ export { BluetoothProvider, useBluetooth } from "../react/context";
39
+ export type { BluetoothProviderProps } from "../react/context";
40
+ export { useBluetoothPermission, useBluetoothState, useMeasurements, useNearbyDevice, useNearbyDevices, usePairedDevices, useScanning, } from "../react/hooks";
41
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/web/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,YAAY,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AACvF,OAAO,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACvF,YAAY,EAAE,mBAAmB,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAC/F,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAE3F,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,YAAY,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,YAAY,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACpD,YAAY,EAAE,iBAAiB,EAAE,eAAe,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC9G,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC9F,YAAY,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAChF,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,YAAY,EAAE,gBAAgB,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC/E,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACrE,YAAY,EAAE,iBAAiB,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,YAAY,EACZ,YAAY,GACb,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,YAAY,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AAC5F,YAAY,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACnE,YAAY,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EACL,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,GACZ,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,53 @@
1
+ import { BleCharacteristic, WebBleError } from "./web-ble-shapes";
2
+ import { WebBluetoothDevice } from "./web-bluetooth.types";
3
+ type MonitorListener = (error: WebBleError | null, characteristic: BleCharacteristic | null) => void;
4
+ type DisconnectListener = (error: WebBleError | null, device: WebBleDevice) => void;
5
+ type Subscription = {
6
+ remove: () => void;
7
+ };
8
+ /** Advertising data a browser saw for the device, when it let the page watch advertisements. */
9
+ type WebBleAdvertisement = {
10
+ serviceUUIDs: string[] | null;
11
+ manufacturerData: string | null;
12
+ };
13
+ /**
14
+ * A Web Bluetooth device behind the part of the `react-native-ble-plx` `Device` API the SDK's device classes use, so
15
+ * every integrated device and `defineCustomDevice` declaration runs unchanged in a browser. Operations queue (see
16
+ * `WebGatt`), so a write also waits for notifications still being started.
17
+ */
18
+ declare class WebBleDevice {
19
+ readonly id: string;
20
+ readonly name: string | null;
21
+ readonly localName: string | null;
22
+ readonly manufacturerData: string | null;
23
+ readonly mtu = 23;
24
+ readonly rssi: null;
25
+ serviceUUIDs: string[] | null;
26
+ private readonly gatt;
27
+ private readonly monitors;
28
+ private readonly disconnectListeners;
29
+ constructor(device: WebBluetoothDevice, advertisement?: WebBleAdvertisement);
30
+ connect(): Promise<this>;
31
+ isConnected(): Promise<boolean>;
32
+ cancelConnection(): Promise<this>;
33
+ requestMTU(): Promise<this>;
34
+ /** Discovers the services, and reports them as advertised when the browser showed none. */
35
+ discoverAllServicesAndCharacteristics(): Promise<this>;
36
+ services(): Promise<{
37
+ uuid: string;
38
+ deviceID: string;
39
+ isPrimary: boolean;
40
+ }[]>;
41
+ characteristicsForService(serviceUuid: string): Promise<BleCharacteristic[]>;
42
+ readCharacteristicForService(serviceUuid: string, characteristicUuid: string): Promise<BleCharacteristic>;
43
+ writeCharacteristicWithResponseForService(serviceUuid: string, characteristicUuid: string, base64: string): Promise<BleCharacteristic>;
44
+ writeCharacteristicWithoutResponseForService(serviceUuid: string, characteristicUuid: string, base64: string): Promise<BleCharacteristic>;
45
+ /** Starts notifications in the GATT queue; `listener` gets each value, then `DeviceDisconnected` if the link drops. */
46
+ monitorCharacteristicForService(serviceUuid: string, characteristicUuid: string, listener: MonitorListener): Subscription;
47
+ onDisconnected(listener: DisconnectListener): Subscription;
48
+ private readonly onDisconnect;
49
+ private write;
50
+ }
51
+ export { WebBleDevice };
52
+ export type { WebBleAdvertisement };
53
+ //# sourceMappingURL=web-ble-device.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"web-ble-device.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/web/web-ble-device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAA4C,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE5G,OAAO,EAA8B,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAQvF,KAAK,eAAe,GAAG,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,EAAE,cAAc,EAAE,iBAAiB,GAAG,IAAI,KAAK,IAAI,CAAC;AACrG,KAAK,kBAAkB,GAAG,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,EAAE,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;AACpF,KAAK,YAAY,GAAG;IAAE,MAAM,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AAE3C,gGAAgG;AAChG,KAAK,mBAAmB,GAAG;IAAE,YAAY,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC;AAE9F;;;;GAIG;AACH,cAAM,YAAY;IAChB,SAAgB,EAAE,EAAE,MAAM,CAAC;IAC3B,SAAgB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,SAAgB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,SAAgB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChD,SAAgB,GAAG,MAAe;IAClC,SAAgB,IAAI,OAAQ;IACrB,YAAY,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACrC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAU;IAC/B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA8B;IACvD,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAiC;gBAElD,MAAM,EAAE,kBAAkB,EAAE,aAAa,CAAC,EAAE,mBAAmB;IAUrE,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAMxB,WAAW,IAAI,OAAO,CAAC,OAAO,CAAC;IAI/B,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;IAQjC,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAIxC,2FAA2F;IAC9E,qCAAqC,IAAI,OAAO,CAAC,IAAI,CAAC;IAc5D,QAAQ,IAAI,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;IAK7E,yBAAyB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAM5E,4BAA4B,CAAC,WAAW,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC;IASzG,yCAAyC,CAC9C,WAAW,EAAE,MAAM,EACnB,kBAAkB,EAAE,MAAM,EAC1B,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,iBAAiB,CAAC;IAItB,4CAA4C,CACjD,WAAW,EAAE,MAAM,EACnB,kBAAkB,EAAE,MAAM,EAC1B,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,iBAAiB,CAAC;IAI7B,uHAAuH;IAChH,+BAA+B,CACpC,WAAW,EAAE,MAAM,EACnB,kBAAkB,EAAE,MAAM,EAC1B,QAAQ,EAAE,eAAe,GACxB,YAAY;IA0CR,cAAc,CAAC,QAAQ,EAAE,kBAAkB,GAAG,YAAY;IAMjE,OAAO,CAAC,QAAQ,CAAC,YAAY,CAO3B;IAEF,OAAO,CAAC,KAAK;CAed;AAED,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,YAAY,EAAE,mBAAmB,EAAE,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { WebBluetoothCharacteristic } from "./web-bluetooth.types";
2
+ /** `react-native-ble-plx`'s BleErrorCode.DeviceDisconnected, which ends a link instead of failing it. */
3
+ declare const DEVICE_DISCONNECTED = 201;
4
+ declare const UNKNOWN_ERROR = 0;
5
+ /** A failed Web Bluetooth operation in the shape `react-native-ble-plx` reports errors. */
6
+ declare class WebBleError extends Error {
7
+ readonly errorCode: number;
8
+ readonly reason?: unknown | undefined;
9
+ constructor(errorCode: number, message: string, reason?: unknown | undefined);
10
+ }
11
+ /** A characteristic in the shape `react-native-ble-plx` returns one, with its value as base64. */
12
+ type BleCharacteristic = {
13
+ id: string;
14
+ uuid: string;
15
+ serviceUUID: string;
16
+ deviceID: string;
17
+ value: string | null;
18
+ isReadable: boolean;
19
+ isWritableWithResponse: boolean;
20
+ isWritableWithoutResponse: boolean;
21
+ isNotifiable: boolean;
22
+ isIndicatable: boolean;
23
+ };
24
+ declare const toBleCharacteristic: (deviceID: string, serviceUUID: string, characteristic: WebBluetoothCharacteristic, value: string | null) => BleCharacteristic;
25
+ export { DEVICE_DISCONNECTED, toBleCharacteristic, UNKNOWN_ERROR, WebBleError };
26
+ export type { BleCharacteristic };
27
+ //# sourceMappingURL=web-ble-shapes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"web-ble-shapes.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/web/web-ble-shapes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AAEnE,yGAAyG;AACzG,QAAA,MAAM,mBAAmB,MAAM,CAAC;AAChC,QAAA,MAAM,aAAa,IAAI,CAAC;AAExB,2FAA2F;AAC3F,cAAM,WAAY,SAAQ,KAAK;aACM,SAAS,EAAE,MAAM;aAAmC,MAAM,CAAC,EAAE,OAAO;gBAApE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAkB,MAAM,CAAC,EAAE,OAAO,YAAA;CAIxG;AAED,kGAAkG;AAClG,KAAK,iBAAiB,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,sBAAsB,EAAE,OAAO,CAAC;IAChC,yBAAyB,EAAE,OAAO,CAAC;IACnC,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,QAAA,MAAM,mBAAmB,GACvB,UAAU,MAAM,EAChB,aAAa,MAAM,EACnB,gBAAgB,0BAA0B,EAC1C,OAAO,MAAM,GAAG,IAAI,KACnB,iBAgBF,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,aAAa,EAAE,WAAW,EAAE,CAAC;AAChF,YAAY,EAAE,iBAAiB,EAAE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { BluetoothPermissions } from "../permissions";
2
+ /**
3
+ * Browser permissions: the browser asks per device in its chooser, so there is no prompt to show first. Granted where
4
+ * the browser has Web Bluetooth, denied where it has none; no settings page can change that.
5
+ */
6
+ declare const webBluetoothPermissions: () => BluetoothPermissions;
7
+ export { webBluetoothPermissions };
8
+ //# sourceMappingURL=web-bluetooth-permissions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"web-bluetooth-permissions.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/web/web-bluetooth-permissions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAI3E;;;GAGG;AACH,QAAA,MAAM,uBAAuB,QAAO,oBAInC,CAAC;AAEF,OAAO,EAAE,uBAAuB,EAAE,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { AcceptedDevice } from "../../../bt-management/types/accepted-device";
2
+ import { BluetoothScanner, Peripheral } from "../transport";
3
+ import { WebBluetooth } from "./web-bluetooth.types";
4
+ /** What `webBluetoothScanner` needs. */
5
+ type WebBluetoothScannerOptions = {
6
+ /** The accepted devices; the chooser also allows the services of their `defineCustomDevice` declarations. */
7
+ acceptedDevices?: readonly AcceptedDevice[];
8
+ /** The Web Bluetooth API; defaults to `navigator.bluetooth`. */
9
+ bluetooth?: WebBluetooth;
10
+ };
11
+ /** A `BluetoothScanner` for browsers, where a page only reaches the devices the user picks in the browser's chooser. */
12
+ interface WebBluetoothScanner extends BluetoothScanner {
13
+ /**
14
+ * Opens the browser's device chooser, so it must run from a user gesture such as a tap. Resolves to the picked device,
15
+ * which a running scan also reports, or to `undefined` when the user closes the chooser.
16
+ */
17
+ chooseDevice(): Promise<Peripheral | undefined>;
18
+ }
19
+ /** Whether this browser has Web Bluetooth, such as Chrome and Edge on desktop and Android, or Bluefy on iOS. */
20
+ declare const isWebBluetoothAvailable: () => boolean;
21
+ /**
22
+ * Finds devices through Web Bluetooth. A scan reports the devices this site may already use (`getDevices`, where the
23
+ * browser has it) and every device picked with `chooseDevice`; browsers can't scan in the background or without the
24
+ * user picking.
25
+ */
26
+ declare const webBluetoothScanner: ({ acceptedDevices, bluetooth, }?: WebBluetoothScannerOptions) => WebBluetoothScanner;
27
+ export { isWebBluetoothAvailable, webBluetoothScanner };
28
+ export type { WebBluetoothScanner, WebBluetoothScannerOptions };
29
+ //# sourceMappingURL=web-bluetooth-scanner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"web-bluetooth-scanner.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/web/web-bluetooth-scanner.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAI9E,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAK5D,OAAO,EAAE,YAAY,EAAiD,MAAM,uBAAuB,CAAC;AAMpG,wCAAwC;AACxC,KAAK,0BAA0B,GAAG;IAEhC,6GAA6G;IAC7G,eAAe,CAAC,EAAE,SAAS,cAAc,EAAE,CAAC;IAE5C,gEAAgE;IAChE,SAAS,CAAC,EAAE,YAAY,CAAC;CAC1B,CAAC;AAEF,wHAAwH;AACxH,UAAU,mBAAoB,SAAQ,gBAAgB;IAEpD;;;OAGG;IACH,YAAY,IAAI,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC,CAAC;CACjD;AAKD,gHAAgH;AAChH,QAAA,MAAM,uBAAuB,QAAO,OAA6C,CAAC;AAiClF;;;;GAIG;AACH,QAAA,MAAM,mBAAmB,GAAI,kCAG1B,0BAA+B,KAAG,mBAkFpC,CAAC;AAEF,OAAO,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,CAAC;AACxD,YAAY,EAAE,mBAAmB,EAAE,0BAA0B,EAAE,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { AcceptedDevice } from "../../../bt-management/types/accepted-device";
2
+ /**
3
+ * Every GATT service an integrated device uses, as a browser must be told when the user picks a device: a page can
4
+ * only reach the services it named in `navigator.bluetooth.requestDevice`'s `optionalServices`.
5
+ */
6
+ declare const WEB_BLUETOOTH_SERVICES: readonly string[];
7
+ /** `WEB_BLUETOOTH_SERVICES` and the services of the `defineCustomDevice` declarations among `acceptedDevices`. */
8
+ declare const webBluetoothServicesFor: (acceptedDevices?: readonly AcceptedDevice[]) => string[];
9
+ export { WEB_BLUETOOTH_SERVICES, webBluetoothServicesFor };
10
+ //# sourceMappingURL=web-bluetooth-services.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"web-bluetooth-services.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/web/web-bluetooth-services.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAiC9E;;;GAGG;AACH,QAAA,MAAM,sBAAsB,EAAE,SAAS,MAAM,EAS5C,CAAC;AAEF,kHAAkH;AAClH,QAAA,MAAM,uBAAuB,GAAI,kBAAiB,SAAS,cAAc,EAAO,KAAG,MAAM,EAExF,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,CAAC"}
@@ -0,0 +1,9 @@
1
+ /** A UUID as Web Bluetooth accepts it: lower case, with a 16- or 32-bit alias expanded on the Bluetooth base UUID. */
2
+ declare const canonicalUuid: (uuid: string) => string;
3
+ declare const bytesOf: (view: DataView) => Uint8Array;
4
+ declare const toBase64: (bytes: Uint8Array) => string;
5
+ declare const fromBase64: (base64: string) => Uint8Array;
6
+ /** Manufacturer data the way `react-native-ble-plx` reports it: the company ID, little endian, then the payload. */
7
+ declare const manufacturerDataOf: (data: ReadonlyMap<number, DataView> | undefined) => string | null;
8
+ export { bytesOf, canonicalUuid, fromBase64, manufacturerDataOf, toBase64 };
9
+ //# sourceMappingURL=web-bluetooth-values.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"web-bluetooth-values.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/web/web-bluetooth-values.ts"],"names":[],"mappings":"AAIA,sHAAsH;AACtH,QAAA,MAAM,aAAa,GAAI,MAAM,MAAM,KAAG,MAQrC,CAAC;AAEF,QAAA,MAAM,OAAO,GAAI,MAAM,QAAQ,KAAG,UAA2E,CAAC;AAE9G,QAAA,MAAM,QAAQ,GAAI,OAAO,UAAU,KAAG,MAA+E,CAAC;AAEtH,QAAA,MAAM,UAAU,GAAI,QAAQ,MAAM,KAAG,UAAyE,CAAC;AAE/G,oHAAoH;AACpH,QAAA,MAAM,kBAAkB,GAAI,MAAM,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,GAAG,SAAS,KAAG,MAAM,GAAG,IAUtF,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,kBAAkB,EAAE,QAAQ,EAAE,CAAC"}
@@ -0,0 +1,56 @@
1
+ /** The part of the Web Bluetooth API (`navigator.bluetooth`) the SDK uses; TypeScript's ESNext lib has none of it. */
2
+ type WebBluetoothListener = (event: unknown) => void;
3
+ interface WebBluetoothEventTarget {
4
+ addEventListener(type: string, listener: WebBluetoothListener): void;
5
+ removeEventListener(type: string, listener: WebBluetoothListener): void;
6
+ }
7
+ interface WebBluetoothCharacteristic extends WebBluetoothEventTarget {
8
+ readonly uuid: string;
9
+ readonly properties: {
10
+ readonly read: boolean;
11
+ readonly write: boolean;
12
+ readonly writeWithoutResponse: boolean;
13
+ readonly notify: boolean;
14
+ readonly indicate: boolean;
15
+ };
16
+ readonly value?: DataView;
17
+ readValue(): Promise<DataView>;
18
+ writeValue(value: Uint8Array): Promise<void>;
19
+ writeValueWithResponse?(value: Uint8Array): Promise<void>;
20
+ writeValueWithoutResponse?(value: Uint8Array): Promise<void>;
21
+ startNotifications(): Promise<unknown>;
22
+ stopNotifications(): Promise<unknown>;
23
+ }
24
+ interface WebBluetoothService {
25
+ readonly uuid: string;
26
+ getCharacteristics(): Promise<WebBluetoothCharacteristic[]>;
27
+ }
28
+ interface WebBluetoothServer {
29
+ readonly connected: boolean;
30
+ connect(): Promise<unknown>;
31
+ disconnect(): void;
32
+ getPrimaryServices(): Promise<WebBluetoothService[]>;
33
+ }
34
+ interface WebBluetoothDevice extends WebBluetoothEventTarget {
35
+ readonly id: string;
36
+ readonly name?: string | null;
37
+ readonly gatt?: WebBluetoothServer;
38
+ watchAdvertisements?(options?: {
39
+ signal?: AbortSignal;
40
+ }): Promise<void>;
41
+ }
42
+ /** What `advertisementreceived` carries. */
43
+ interface WebBluetoothAdvertisement {
44
+ readonly uuids?: readonly string[];
45
+ readonly manufacturerData?: ReadonlyMap<number, DataView>;
46
+ }
47
+ interface WebBluetooth extends WebBluetoothEventTarget {
48
+ getAvailability(): Promise<boolean>;
49
+ requestDevice(options: {
50
+ acceptAllDevices: true;
51
+ optionalServices: string[];
52
+ }): Promise<WebBluetoothDevice>;
53
+ getDevices?(): Promise<WebBluetoothDevice[]>;
54
+ }
55
+ export type { WebBluetooth, WebBluetoothAdvertisement, WebBluetoothCharacteristic, WebBluetoothDevice, WebBluetoothListener, WebBluetoothServer, WebBluetoothService, };
56
+ //# sourceMappingURL=web-bluetooth.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"web-bluetooth.types.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/web/web-bluetooth.types.ts"],"names":[],"mappings":"AAAA,sHAAsH;AACtH,KAAK,oBAAoB,GAAG,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;AAErD,UAAU,uBAAuB;IAC/B,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,oBAAoB,GAAG,IAAI,CAAC;IACrE,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,oBAAoB,GAAG,IAAI,CAAC;CACzE;AAED,UAAU,0BAA2B,SAAQ,uBAAuB;IAClE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE;QACnB,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;QACvB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;QACxB,QAAQ,CAAC,oBAAoB,EAAE,OAAO,CAAC;QACvC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;QACzB,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;KAC5B,CAAC;IACF,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC;IAC1B,SAAS,IAAI,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC/B,UAAU,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7C,sBAAsB,CAAC,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1D,yBAAyB,CAAC,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7D,kBAAkB,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IACvC,iBAAiB,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;CACvC;AAED,UAAU,mBAAmB;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,kBAAkB,IAAI,OAAO,CAAC,0BAA0B,EAAE,CAAC,CAAC;CAC7D;AAED,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAC5B,UAAU,IAAI,IAAI,CAAC;IACnB,kBAAkB,IAAI,OAAO,CAAC,mBAAmB,EAAE,CAAC,CAAC;CACtD;AAED,UAAU,kBAAmB,SAAQ,uBAAuB;IAC1D,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,QAAQ,CAAC,IAAI,CAAC,EAAE,kBAAkB,CAAC;IACnC,mBAAmB,CAAC,CAAC,OAAO,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,WAAW,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACzE;AAED,4CAA4C;AAC5C,UAAU,yBAAyB;IACjC,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;CAC3D;AAED,UAAU,YAAa,SAAQ,uBAAuB;IACpD,eAAe,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IACpC,aAAa,CAAC,OAAO,EAAE;QAAE,gBAAgB,EAAE,IAAI,CAAC;QAAC,gBAAgB,EAAE,MAAM,EAAE,CAAA;KAAE,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC5G,UAAU,CAAC,IAAI,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAAC;CAC9C;AAED,YAAY,EACV,YAAY,EACZ,yBAAyB,EACzB,0BAA0B,EAC1B,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,GACpB,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { WebBleError } from "./web-ble-shapes";
2
+ import { WebBluetoothCharacteristic, WebBluetoothDevice, WebBluetoothServer } from "./web-bluetooth.types";
3
+ /**
4
+ * A device's GATT server as one queue: browsers allow one GATT operation at a time, so each runs after the previous one
5
+ * settles, and its services are discovered once per connection.
6
+ */
7
+ declare class WebGatt {
8
+ private readonly device;
9
+ private readonly characteristics;
10
+ private operations;
11
+ private discovered?;
12
+ constructor(device: WebBluetoothDevice);
13
+ get connected(): boolean;
14
+ server(): WebBluetoothServer;
15
+ /** Runs `operation` after the previous one settles; a failure comes back as a `react-native-ble-plx` error. */
16
+ queued<T>(operation: () => Promise<T>): Promise<T>;
17
+ /** The discovered services' UUIDs; call it inside a queued operation, so discovery never queues behind itself. */
18
+ serviceUuids(): Promise<string[]>;
19
+ characteristicsOf(serviceUuid: string): Promise<WebBluetoothCharacteristic[]>;
20
+ characteristic(serviceUuid: string, characteristicUuid: string): Promise<WebBluetoothCharacteristic>;
21
+ /** Forgets the discovered services, as a new connection must discover them again. */
22
+ forget(): void;
23
+ errorOf(error: unknown): WebBleError;
24
+ private discover;
25
+ }
26
+ export { WebGatt };
27
+ //# sourceMappingURL=web-gatt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"web-gatt.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/web/web-gatt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEnF,OAAO,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAI3G;;;GAGG;AACH,cAAM,OAAO;IAKQ,OAAO,CAAC,QAAQ,CAAC,MAAM;IAJ1C,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA8D;IAC9F,OAAO,CAAC,UAAU,CAAuC;IACzD,OAAO,CAAC,UAAU,CAAC,CAAgB;gBAEC,MAAM,EAAE,kBAAkB;IAE9D,IAAW,SAAS,IAAI,OAAO,CAE9B;IAEM,MAAM,IAAI,kBAAkB;IAQnC,+GAA+G;IACxG,MAAM,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAUzD,kHAAkH;IACrG,YAAY,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAMjC,iBAAiB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,0BAA0B,EAAE,CAAC;IAM7E,cAAc,CAAC,WAAW,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,GAAG,OAAO,CAAC,0BAA0B,CAAC;IAcjH,qFAAqF;IAC9E,MAAM,IAAI,IAAI;IAId,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,WAAW;IAQ3C,OAAO,CAAC,QAAQ;CAkBjB;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** @module next/breathing-exercise */
2
+ export * from "../../breathing-exercise";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/next/breathing-exercise/index.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** @module next/cms */
2
+ export * from "../../cms";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/next/cms/index.ts"],"names":[],"mappings":"AAAA,uBAAuB;AACvB,cAAc,WAAW,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** @module next/content */
2
+ export * from "../../content";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/next/content/index.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,cAAc,eAAe,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** @module next/diary */
2
+ export * from "../../diary";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/next/diary/index.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,cAAc,aAAa,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** @module next/image */
2
+ export * from "../../image";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/next/image/index.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,cAAc,aAAa,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** @module next/journal */
2
+ export * from "../../journal";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/next/journal/index.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,cAAc,eAAe,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** @module next/language-switcher */
2
+ export * from "../../language-switcher";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/next/language-switcher/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** @module next/measurement */
2
+ export * from "../../measurement";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/next/measurement/index.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** @module next/observation-detail */
2
+ export * from "../../observation-detail";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/next/observation-detail/index.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** @module next/patient */
2
+ export * from "../../patient";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/next/patient/index.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,cAAc,eAAe,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** @module next/pdf */
2
+ export * from "../../pdf";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/next/pdf/index.ts"],"names":[],"mappings":"AAAA,uBAAuB;AACvB,cAAc,WAAW,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** @module next/picker-sheet */
2
+ export * from "../../picker-sheet";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/next/picker-sheet/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** @module next/progress-bar */
2
+ export * from "../../progress-bar";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/next/progress-bar/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** @module next/progress-ring */
2
+ export * from "../../progress-ring";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/next/progress-ring/index.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,cAAc,qBAAqB,CAAC"}