@ovok/native 1.2.0 → 1.4.0

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 (336) hide show
  1. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js +9 -3
  2. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
  3. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js +8 -2
  4. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
  5. package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js +22 -22
  6. package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
  7. package/lib/commonjs/modules/bt-device/constants/device-list-items.js +36 -0
  8. package/lib/commonjs/modules/bt-device/constants/device-list-items.js.map +1 -1
  9. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-assets.js +36 -0
  10. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -0
  11. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-entries.js +45 -0
  12. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-entries.js.map +1 -0
  13. package/lib/commonjs/modules/bt-device/constants/supported-devices.js +198 -42
  14. package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
  15. package/lib/commonjs/modules/bt-management/components/bluetooth-device-picker.js +88 -0
  16. package/lib/commonjs/modules/bt-management/components/bluetooth-device-picker.js.map +1 -0
  17. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js +77 -10
  18. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  19. package/lib/commonjs/modules/bt-management/constants/integrated-devices-map.js +1 -1
  20. package/lib/commonjs/modules/bt-management/constants/integrated-devices-map.js.map +1 -1
  21. package/lib/commonjs/modules/bt-management/index.js +77 -0
  22. package/lib/commonjs/modules/bt-management/index.js.map +1 -1
  23. package/lib/commonjs/modules/bt-management/services/background-sync/background-ble-manager.js +27 -0
  24. package/lib/commonjs/modules/bt-management/services/background-sync/background-ble-manager.js.map +1 -0
  25. package/lib/commonjs/modules/bt-management/services/background-sync/background-service-uuids.js +31 -0
  26. package/lib/commonjs/modules/bt-management/services/background-sync/background-service-uuids.js.map +1 -0
  27. package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js +104 -0
  28. package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -0
  29. package/lib/commonjs/modules/bt-management/services/bt-manager.js +59 -6
  30. package/lib/commonjs/modules/bt-management/services/bt-manager.js.map +1 -1
  31. package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js +6 -2
  32. package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
  33. package/lib/commonjs/modules/bt-management/services/device-creator.js +19 -8
  34. package/lib/commonjs/modules/bt-management/services/device-creator.js.map +1 -1
  35. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js +1 -1
  36. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
  37. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-builders.js +50 -0
  38. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-builders.js.map +1 -0
  39. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js +78 -127
  40. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js.map +1 -1
  41. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js +2 -0
  42. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
  43. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.frame-reader.js +60 -0
  44. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.frame-reader.js.map +1 -0
  45. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +74 -0
  46. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -0
  47. package/lib/commonjs/modules/bt-management/services/devices/boso/boso.medicus.js +1 -1
  48. package/lib/commonjs/modules/bt-management/services/devices/boso/boso.medicus.js.map +1 -1
  49. package/lib/commonjs/modules/bt-management/services/devices/bt-command-writer.js +3 -0
  50. package/lib/commonjs/modules/bt-management/services/devices/bt-command-writer.js.map +1 -1
  51. package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js +1 -1
  52. package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
  53. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +37 -4
  54. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  55. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.file-transfer.js.map +1 -1
  56. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js +4 -1
  57. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
  58. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js +2 -1
  59. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js.map +1 -1
  60. package/lib/commonjs/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js +1 -1
  61. package/lib/commonjs/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js.map +1 -1
  62. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js +1 -1
  63. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js.map +1 -1
  64. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js +1 -1
  65. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js.map +1 -1
  66. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-files.js +35 -0
  67. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-files.js.map +1 -0
  68. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +3 -2
  69. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
  70. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js +2 -1
  71. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
  72. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js +1 -1
  73. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
  74. package/lib/commonjs/modules/bt-management/types/background-sync.js +6 -0
  75. package/lib/commonjs/modules/bt-management/types/background-sync.js.map +1 -0
  76. package/lib/commonjs/modules/bt-management/types/device-measurement-map.js.map +1 -1
  77. package/lib/commonjs/modules/data-sync/services/managers/data-processor.js +11 -2
  78. package/lib/commonjs/modules/data-sync/services/managers/data-processor.js.map +1 -1
  79. package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js +3 -1
  80. package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
  81. package/lib/commonjs/modules/data-sync/utils/get-total-samples-count.js +3 -1
  82. package/lib/commonjs/modules/data-sync/utils/get-total-samples-count.js.map +1 -1
  83. package/lib/commonjs/modules/data-sync/utils/health-units.js +22 -0
  84. package/lib/commonjs/modules/data-sync/utils/health-units.js.map +1 -0
  85. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js +9 -3
  86. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
  87. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js +8 -2
  88. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
  89. package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js +1 -1
  90. package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
  91. package/lib/module/modules/bt-device/constants/device-list-items.js +36 -0
  92. package/lib/module/modules/bt-device/constants/device-list-items.js.map +1 -1
  93. package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js +33 -0
  94. package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -0
  95. package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js +41 -0
  96. package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js.map +1 -0
  97. package/lib/module/modules/bt-device/constants/supported-devices.js +188 -32
  98. package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
  99. package/lib/module/modules/bt-management/components/bluetooth-device-picker.js +83 -0
  100. package/lib/module/modules/bt-management/components/bluetooth-device-picker.js.map +1 -0
  101. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js +77 -10
  102. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  103. package/lib/module/modules/bt-management/constants/integrated-devices-map.js +1 -1
  104. package/lib/module/modules/bt-management/constants/integrated-devices-map.js.map +1 -1
  105. package/lib/module/modules/bt-management/index.js +7 -0
  106. package/lib/module/modules/bt-management/index.js.map +1 -1
  107. package/lib/module/modules/bt-management/services/background-sync/background-ble-manager.js +22 -0
  108. package/lib/module/modules/bt-management/services/background-sync/background-ble-manager.js.map +1 -0
  109. package/lib/module/modules/bt-management/services/background-sync/background-service-uuids.js +26 -0
  110. package/lib/module/modules/bt-management/services/background-sync/background-service-uuids.js.map +1 -0
  111. package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js +100 -0
  112. package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -0
  113. package/lib/module/modules/bt-management/services/bt-manager.js +61 -7
  114. package/lib/module/modules/bt-management/services/bt-manager.js.map +1 -1
  115. package/lib/module/modules/bt-management/services/custom/define-custom-device.js +6 -2
  116. package/lib/module/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
  117. package/lib/module/modules/bt-management/services/device-creator.js +19 -8
  118. package/lib/module/modules/bt-management/services/device-creator.js.map +1 -1
  119. package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js +1 -1
  120. package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
  121. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-builders.js +40 -0
  122. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-builders.js.map +1 -0
  123. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js +59 -109
  124. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js.map +1 -1
  125. package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js +2 -0
  126. package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
  127. package/lib/module/modules/bt-management/services/devices/bc01/bc01.frame-reader.js +56 -0
  128. package/lib/module/modules/bt-management/services/devices/bc01/bc01.frame-reader.js.map +1 -0
  129. package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +69 -0
  130. package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -0
  131. package/lib/module/modules/bt-management/services/devices/boso/boso.medicus.js +1 -1
  132. package/lib/module/modules/bt-management/services/devices/boso/boso.medicus.js.map +1 -1
  133. package/lib/module/modules/bt-management/services/devices/bt-command-writer.js +3 -0
  134. package/lib/module/modules/bt-management/services/devices/bt-command-writer.js.map +1 -1
  135. package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js +1 -1
  136. package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
  137. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +36 -4
  138. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  139. package/lib/module/modules/bt-management/services/devices/lepu/lepu.file-transfer.js +2 -1
  140. package/lib/module/modules/bt-management/services/devices/lepu/lepu.file-transfer.js.map +1 -1
  141. package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js +4 -1
  142. package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
  143. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js +2 -1
  144. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js.map +1 -1
  145. package/lib/module/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js +1 -1
  146. package/lib/module/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js.map +1 -1
  147. package/lib/module/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js +1 -1
  148. package/lib/module/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js.map +1 -1
  149. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js +1 -1
  150. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js.map +1 -1
  151. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-files.js +31 -0
  152. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-files.js.map +1 -0
  153. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +3 -2
  154. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
  155. package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js +2 -1
  156. package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
  157. package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js +1 -1
  158. package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
  159. package/lib/module/modules/bt-management/types/background-sync.js +4 -0
  160. package/lib/module/modules/bt-management/types/background-sync.js.map +1 -0
  161. package/lib/module/modules/bt-management/types/device-measurement-map.js.map +1 -1
  162. package/lib/module/modules/data-sync/services/managers/data-processor.js +11 -2
  163. package/lib/module/modules/data-sync/services/managers/data-processor.js.map +1 -1
  164. package/lib/module/modules/data-sync/utils/get-samples-from-health.js +3 -1
  165. package/lib/module/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
  166. package/lib/module/modules/data-sync/utils/get-total-samples-count.js +3 -1
  167. package/lib/module/modules/data-sync/utils/get-total-samples-count.js.map +1 -1
  168. package/lib/module/modules/data-sync/utils/health-units.js +17 -0
  169. package/lib/module/modules/data-sync/utils/health-units.js.map +1 -0
  170. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
  171. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
  172. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts +1 -1
  173. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
  174. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-list-items.d.ts.map +1 -1
  175. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +31 -0
  176. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -0
  177. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts +3 -0
  178. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -0
  179. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts +36 -22
  180. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  181. package/lib/typescript/commonjs/src/modules/bt-management/components/bluetooth-device-picker.d.ts +11 -0
  182. package/lib/typescript/commonjs/src/modules/bt-management/components/bluetooth-device-picker.d.ts.map +1 -0
  183. package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  184. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts +7 -0
  185. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts.map +1 -1
  186. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-ble-manager.d.ts +13 -0
  187. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-ble-manager.d.ts.map +1 -0
  188. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts +3 -0
  189. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts.map +1 -0
  190. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts +29 -0
  191. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -0
  192. package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts +26 -3
  193. package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
  194. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
  195. package/lib/typescript/commonjs/src/modules/bt-management/services/device-creator.d.ts +1 -1
  196. package/lib/typescript/commonjs/src/modules/bt-management/services/device-creator.d.ts.map +1 -1
  197. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts +2 -2
  198. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts.map +1 -1
  199. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts +31 -0
  200. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts.map +1 -0
  201. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts +6 -5
  202. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts.map +1 -1
  203. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts +2 -0
  204. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts.map +1 -1
  205. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts +16 -0
  206. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts.map +1 -0
  207. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts +19 -0
  208. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -0
  209. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts +1 -1
  210. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts.map +1 -1
  211. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-command-writer.d.ts.map +1 -1
  212. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts +1 -0
  213. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  214. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts +3 -2
  215. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts.map +1 -1
  216. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts +3 -2
  217. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts.map +1 -1
  218. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +2 -2
  219. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
  220. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts +1 -1
  221. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts.map +1 -1
  222. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
  223. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
  224. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts +1 -1
  225. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts.map +1 -1
  226. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts +9 -0
  227. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts.map +1 -0
  228. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts +1 -1
  229. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts.map +1 -1
  230. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts +1 -1
  231. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts.map +1 -1
  232. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts +1 -1
  233. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts.map +1 -1
  234. package/lib/typescript/commonjs/src/modules/bt-management/types/background-sync.d.ts +32 -0
  235. package/lib/typescript/commonjs/src/modules/bt-management/types/background-sync.d.ts.map +1 -0
  236. package/lib/typescript/commonjs/src/modules/bt-management/types/btprovider-children-props.d.ts +2 -0
  237. package/lib/typescript/commonjs/src/modules/bt-management/types/btprovider-children-props.d.ts.map +1 -1
  238. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts +1 -0
  239. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  240. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-spec.d.ts +6 -4
  241. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-spec.d.ts.map +1 -1
  242. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-lepu-spec.d.ts +2 -0
  243. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-lepu-spec.d.ts.map +1 -1
  244. package/lib/typescript/commonjs/src/modules/bt-management/types/device-command.d.ts +5 -0
  245. package/lib/typescript/commonjs/src/modules/bt-management/types/device-command.d.ts.map +1 -1
  246. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts +4 -4
  247. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  248. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
  249. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
  250. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-total-samples-count.d.ts.map +1 -1
  251. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-units.d.ts +3 -0
  252. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-units.d.ts.map +1 -0
  253. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
  254. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
  255. package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts +1 -1
  256. package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
  257. package/lib/typescript/module/src/modules/bt-device/constants/device-list-items.d.ts.map +1 -1
  258. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +31 -0
  259. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -0
  260. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts +3 -0
  261. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -0
  262. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts +36 -22
  263. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  264. package/lib/typescript/module/src/modules/bt-management/components/bluetooth-device-picker.d.ts +11 -0
  265. package/lib/typescript/module/src/modules/bt-management/components/bluetooth-device-picker.d.ts.map +1 -0
  266. package/lib/typescript/module/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  267. package/lib/typescript/module/src/modules/bt-management/index.d.ts +7 -0
  268. package/lib/typescript/module/src/modules/bt-management/index.d.ts.map +1 -1
  269. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-ble-manager.d.ts +13 -0
  270. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-ble-manager.d.ts.map +1 -0
  271. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts +3 -0
  272. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts.map +1 -0
  273. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts +29 -0
  274. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -0
  275. package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts +26 -3
  276. package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
  277. package/lib/typescript/module/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
  278. package/lib/typescript/module/src/modules/bt-management/services/device-creator.d.ts +1 -1
  279. package/lib/typescript/module/src/modules/bt-management/services/device-creator.d.ts.map +1 -1
  280. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts +2 -2
  281. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts.map +1 -1
  282. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts +31 -0
  283. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts.map +1 -0
  284. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts +6 -5
  285. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts.map +1 -1
  286. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts +2 -0
  287. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts.map +1 -1
  288. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts +16 -0
  289. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts.map +1 -0
  290. package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts +19 -0
  291. package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -0
  292. package/lib/typescript/module/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts +1 -1
  293. package/lib/typescript/module/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts.map +1 -1
  294. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-command-writer.d.ts.map +1 -1
  295. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts +1 -0
  296. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  297. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts +3 -2
  298. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts.map +1 -1
  299. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts +3 -2
  300. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts.map +1 -1
  301. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +2 -2
  302. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
  303. package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts +1 -1
  304. package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts.map +1 -1
  305. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
  306. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
  307. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts +1 -1
  308. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts.map +1 -1
  309. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts +9 -0
  310. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts.map +1 -0
  311. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts +1 -1
  312. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts.map +1 -1
  313. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts +1 -1
  314. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts.map +1 -1
  315. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts +1 -1
  316. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts.map +1 -1
  317. package/lib/typescript/module/src/modules/bt-management/types/background-sync.d.ts +32 -0
  318. package/lib/typescript/module/src/modules/bt-management/types/background-sync.d.ts.map +1 -0
  319. package/lib/typescript/module/src/modules/bt-management/types/btprovider-children-props.d.ts +2 -0
  320. package/lib/typescript/module/src/modules/bt-management/types/btprovider-children-props.d.ts.map +1 -1
  321. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts +1 -0
  322. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  323. package/lib/typescript/module/src/modules/bt-management/types/custom-device-spec.d.ts +6 -4
  324. package/lib/typescript/module/src/modules/bt-management/types/custom-device-spec.d.ts.map +1 -1
  325. package/lib/typescript/module/src/modules/bt-management/types/custom-lepu-spec.d.ts +2 -0
  326. package/lib/typescript/module/src/modules/bt-management/types/custom-lepu-spec.d.ts.map +1 -1
  327. package/lib/typescript/module/src/modules/bt-management/types/device-command.d.ts +5 -0
  328. package/lib/typescript/module/src/modules/bt-management/types/device-command.d.ts.map +1 -1
  329. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts +4 -4
  330. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  331. package/lib/typescript/module/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
  332. package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
  333. package/lib/typescript/module/src/modules/data-sync/utils/get-total-samples-count.d.ts.map +1 -1
  334. package/lib/typescript/module/src/modules/data-sync/utils/health-units.d.ts +3 -0
  335. package/lib/typescript/module/src/modules/data-sync/utils/health-units.d.ts.map +1 -0
  336. package/package.json +5 -3
@@ -3,25 +3,30 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.Devices = void 0;
6
+ exports.supportedDevices = exports.SUPPORTED_DEVICES = exports.Devices = void 0;
7
+ var _core = require("@ovok/core");
8
+ var _aojThermometers = require("../../bt-management/services/devices/aoj/aoj.thermometers.js");
9
+ var _bosoMedicus = require("../../bt-management/services/devices/boso/boso.medicus.js");
10
+ var _standardGattDevices = require("../../bt-management/services/devices/standard-gatt/standard-gatt.devices.js");
11
+ var _visomatComfortSoftBt = require("../../bt-management/services/devices/uebe/visomat.comfort-soft-bt.js");
12
+ var _verovalBpMonitors = require("../../bt-management/services/devices/veroval/veroval.bp-monitors.js");
13
+ var _viatomBpMonitors = require("../../bt-management/services/devices/viatom/viatom.bp-monitors.js");
14
+ var _viatomEcgRecorders = require("../../bt-management/services/devices/viatom/viatom.ecg-recorders.js");
15
+ var _viatomLepod = require("../../bt-management/services/devices/viatom/viatom.lepod.js");
16
+ var _viatomOximeters = require("../../bt-management/services/devices/viatom/viatom.oximeters.js");
17
+ var _integratedDevices = require("../../bt-management/types/integrated-devices.js");
7
18
  var _deviceImages = require("./device-images.js");
19
+ var _deviceInstructionPdfs = require("./device-instruction-pdfs.js");
20
+ var _supportedDeviceCatalogAssets = require("./supported-device-catalog-assets.js");
21
+ var _supportedDeviceCatalogEntries = require("./supported-device-catalog-entries.js");
22
+ /* eslint-disable max-lines */
23
+
8
24
  const verovalDuoControlImage = "https://img.hartmann.info/cdn-cgi/image/width%3D412%2Cheight%3D412%2Cquality%3D95%2Cfit%3Dcrop%2Cgravity%3Dauto/product/44853_4K.jpg";
9
25
  const verovalEcgImage = "https://img.hartmann.info/cdn-cgi/image/width%3D412%2Cheight%3D412%2Cquality%3D95%2Cfit%3Dcrop%2Cgravity%3Dauto/product/46955_4K.jpg";
10
- const verovalBpu26Image = "https://cdn.hartmann.info/product/40938_43.jpg";
11
- const verovalBpw26Image = "https://cdn.hartmann.info/product/40385_43.jpg";
12
- const bosoMedicusSystemImage = "https://www.boso.de/fileadmin/_processed_/0/b/csm_medicus_system_1019_9ce057ffcc.png";
13
- const visomatComfortSoftBtImage = "https://www.visomat.de/wp-content/uploads/2023/10/prd_slider_comfort-soft-BT.jpg";
14
26
 
15
27
  // Official Bluetooth SIG combination mark downloaded from the Bluetooth media kit.
16
28
  const bluetoothSigLogo = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0ibG9nbyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMzYwIDE0NCI+CiAgPGRlZnM+CiAgICA8c3R5bGU+CiAgICAgIC5jbHMtMSB7CiAgICAgICAgZmlsbDogI2ZmZjsKICAgICAgfQoKICAgICAgLmNscy0yIHsKICAgICAgICBmaWxsOiAjMDA4MmZjOwogICAgICB9CgogICAgICAuY2xzLTIsIC5jbHMtMyB7CiAgICAgICAgZmlsbC1ydWxlOiBldmVub2RkOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8ZyBpZD0iQmx1ZXRvb3RoIj4KICAgIDxwYXRoIGNsYXNzPSJjbHMtMyIgZD0iTTk0LjE3LDc1LjE5aDMuMjZjNi4wMi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xOS4wNGgtOS4xMnY1OC43Nmg5LjEyWiIvPgogIDwvZz4KICA8ZyBpZD0iQnVnIj4KICAgIDxlbGxpcHNlIGNsYXNzPSJjbHMtMSIgY3g9IjM4LjQxIiBjeT0iNzEuNzgiIHJ4PSIyNC4zMSIgcnk9IjQwLjIyIi8+CiAgICA8cGF0aCBpZD0iQnVnLTIiIGRhdGEtbmFtZT0iQnVnIiBjbGFzcz0iY2xzLTIiIGQ9Ik00MS44Miw1MC42MWw3LjA0LDcuMDQtNy4wMyw3LjAzdi0xNC4wN2gwWk00MS44Miw5My43MWw3LjA0LTcuMDQtNy4wMy03LjAzdjE0LjA3aDBaTTM0LjMxLDcyLjE2bC0xNS4yMi0xNS4yNiw0LjQxLTQuNDEsMTIuMTMsMTIuMTN2LTI5LjA2bDIyLjA1LDIyLjA1LTE0LjU2LDE0LjU2LDE0LjU2LDE0LjU2LTIyLjA1LDIyLjA1di0yOS4wNmwtMTIuMTMsMTIuMTMtNC40MS00LjQxLDE1LjIyLTE1LjI2aDBaTTM4LjM5LDExNC43M2MxOC41OSwwLDMxLjQtOC44MywzMS40LTQyLjU3cy0xMi44MS00Mi41Ny0zMS40LTM0LjU3UzYuOTgsMzguNDIsNi45OCw3Mi4xNnMxMi44Miw0Mi41NywzMS40MSw0Mi41N2gwWiIvPgogIDwvZz4KPC9zdmc+";
17
- const bundledAssetCredit = "OVOK Mobile SDK bundled image asset: src/modules/bt-device/constants/device-images.ts";
18
29
  const bluetoothSigAssetCredit = "Bluetooth SIG official brand assets: https://www.bluetooth.com/media/";
19
- const hartmannDuoControlCredit = "HARTMANN official product image: https://www.hartmann.info/en-za/products/diagnostics/blood-pressure-monitors/upper-arm-products/veroval%C2%AE-duo-control";
20
- const hartmannEcgCredit = "HARTMANN official product image: https://www.hartmann.info/es-es/productos/monitorizaci%C3%B3n/electrocardiograma/veroval%C2%AE-ecg";
21
- const hartmannBpu26Credit = "HARTMANN official product image: https://www.hartmann.info/en/products/diagnostics/blood-pressure-monitors/upper-arm-products/veroval%C2%AE-compact-%2C-pl-%2C-upper-arm-blood-pressure-monitor";
22
- const hartmannBpw26Credit = "HARTMANN official product image: https://www.hartmann.info/en/products/diagnostics/blood-pressure-monitors/wrist-products/veroval%C2%AE-compact-%2C-pl-%2C-wrist-blood-pressure-monitor";
23
- const bosoMedicusSystemCredit = "boso official product image: https://www.boso.de/en/products-for-home-users/blood-pressure-instruments/boso-medicus-system";
24
- const visomatComfortSoftBtCredit = "visomat official product image: https://www.visomat.de/produkte/comfort-soft-bt/";
25
30
 
26
31
  /**
27
32
  * Concrete devices and device families supported by the Bluetooth module.
@@ -36,113 +41,113 @@ const Devices = exports.Devices = [{
36
41
  nameKey: "devices.catalog.viatom-bp2.name",
37
42
  manufacturer: "Viatom (Lepu Medical)",
38
43
  manufacturerKey: "devices.catalog.manufacturers.viatom",
39
- logo: _deviceImages.deviceImages.viatomWellueArmfitDeviceImage,
40
- creditsForImage: bundledAssetCredit
44
+ logo: _supportedDeviceCatalogAssets.viatomBp2Image,
45
+ creditsForImage: _supportedDeviceCatalogAssets.viatomBloodPressureCredit
41
46
  }, {
42
47
  name: "Viatom F4 / Lescale",
43
48
  nameKey: "devices.catalog.viatom-f4-lescale.name",
44
49
  manufacturer: "Viatom (Lepu Medical)",
45
50
  manufacturerKey: "devices.catalog.manufacturers.viatom",
46
- logo: _deviceImages.deviceImages.viatomScaleDeviceImage,
47
- creditsForImage: bundledAssetCredit
51
+ logo: _supportedDeviceCatalogAssets.viatomF4Image,
52
+ creditsForImage: _supportedDeviceCatalogAssets.viatomBodyScaleCredit
48
53
  }, {
49
54
  name: "Viatom OxySmart / PC60WF",
50
55
  nameKey: "devices.catalog.viatom-oxysmart-pc60wf.name",
51
56
  manufacturer: "Viatom (Lepu Medical)",
52
57
  manufacturerKey: "devices.catalog.manufacturers.viatom",
53
- logo: _deviceImages.deviceImages.viatomWellueOxySmartDeviceImage,
54
- creditsForImage: bundledAssetCredit
58
+ logo: _supportedDeviceCatalogAssets.viatomO2RingImage,
59
+ creditsForImage: _supportedDeviceCatalogAssets.viatomOximeterCredit
55
60
  }, {
56
61
  name: "Contec BC401 / BC01",
57
62
  nameKey: "devices.catalog.contec-bc401-bc01.name",
58
63
  manufacturer: "Contec Medical Systems",
59
64
  manufacturerKey: "devices.catalog.manufacturers.contec",
60
65
  logo: _deviceImages.deviceImages.bc401DeviceImage,
61
- creditsForImage: bundledAssetCredit
66
+ creditsForImage: _supportedDeviceCatalogAssets.contecCredit
62
67
  }, {
63
68
  name: "Veroval duo control",
64
69
  nameKey: "devices.catalog.veroval-duo-control.name",
65
70
  manufacturer: "HARTMANN",
66
71
  manufacturerKey: "devices.catalog.manufacturers.hartmann",
67
72
  logo: verovalDuoControlImage,
68
- creditsForImage: hartmannDuoControlCredit
73
+ creditsForImage: _supportedDeviceCatalogAssets.hartmannDuoControlCredit
69
74
  }, {
70
75
  name: "Veroval ECG",
71
76
  nameKey: "devices.catalog.veroval-ecg.name",
72
77
  manufacturer: "HARTMANN",
73
78
  manufacturerKey: "devices.catalog.manufacturers.hartmann",
74
79
  logo: verovalEcgImage,
75
- creditsForImage: hartmannEcgCredit
80
+ creditsForImage: _supportedDeviceCatalogAssets.hartmannEcgCredit
76
81
  }, {
77
82
  name: "Veroval compact+ BPU26",
78
83
  nameKey: "devices.catalog.veroval-compact-bpu26.name",
79
84
  manufacturer: "HARTMANN",
80
85
  manufacturerKey: "devices.catalog.manufacturers.hartmann",
81
- logo: verovalBpu26Image,
82
- creditsForImage: hartmannBpu26Credit
86
+ logo: _supportedDeviceCatalogAssets.verovalBpu26Image,
87
+ creditsForImage: _supportedDeviceCatalogAssets.hartmannBpu26Credit
83
88
  }, {
84
89
  name: "Veroval compact+ BPW26",
85
90
  nameKey: "devices.catalog.veroval-compact-bpw26.name",
86
91
  manufacturer: "HARTMANN",
87
92
  manufacturerKey: "devices.catalog.manufacturers.hartmann",
88
- logo: verovalBpw26Image,
89
- creditsForImage: hartmannBpw26Credit
93
+ logo: _supportedDeviceCatalogAssets.verovalBpw26Image,
94
+ creditsForImage: _supportedDeviceCatalogAssets.hartmannBpw26Credit
90
95
  }, {
91
96
  name: "boso medicus system",
92
97
  nameKey: "devices.catalog.boso-medicus-system.name",
93
98
  manufacturer: "BOSCH + SOHN GmbH u. Co. KG",
94
99
  manufacturerKey: "devices.catalog.manufacturers.boso",
95
- logo: bosoMedicusSystemImage,
96
- creditsForImage: bosoMedicusSystemCredit
100
+ logo: _supportedDeviceCatalogAssets.bosoMedicusSystemImage,
101
+ creditsForImage: _supportedDeviceCatalogAssets.bosoMedicusSystemCredit
97
102
  }, {
98
103
  name: "visomat comfort soft BT",
99
104
  nameKey: "devices.catalog.visomat-comfort-soft-bt.name",
100
105
  manufacturer: "UEBE Medical GmbH",
101
106
  manufacturerKey: "devices.catalog.manufacturers.uebe",
102
- logo: visomatComfortSoftBtImage,
103
- creditsForImage: visomatComfortSoftBtCredit
107
+ logo: _supportedDeviceCatalogAssets.visomatComfortSoftBtImage,
108
+ creditsForImage: _supportedDeviceCatalogAssets.visomatComfortSoftBtCredit
104
109
  }, {
105
110
  name: "AOJ-20A",
106
111
  nameKey: "devices.catalog.aoj-20a.name",
107
112
  manufacturer: "AOJ Medical",
108
113
  manufacturerKey: "devices.catalog.manufacturers.aoj",
109
- logo: _deviceImages.deviceImages.aoj20aDeviceImage,
110
- creditsForImage: bundledAssetCredit
114
+ logo: _supportedDeviceCatalogAssets.viatomAojImage,
115
+ creditsForImage: _supportedDeviceCatalogAssets.aojCredit
111
116
  }, {
112
117
  name: "Viatom BP2A / BP2T / BP2W",
113
118
  nameKey: "devices.catalog.viatom-bp2-family.name",
114
119
  manufacturer: "Viatom (Lepu Medical)",
115
120
  manufacturerKey: "devices.catalog.manufacturers.viatom",
116
- logo: _deviceImages.deviceImages.viatomDeviceSmallImage,
117
- creditsForImage: bundledAssetCredit
121
+ logo: _supportedDeviceCatalogAssets.viatomBp2Image,
122
+ creditsForImage: _supportedDeviceCatalogAssets.viatomBloodPressureCredit
118
123
  }, {
119
124
  name: "Viatom BP3 series",
120
125
  nameKey: "devices.catalog.viatom-bp3-series.name",
121
126
  manufacturer: "Viatom (Lepu Medical)",
122
127
  manufacturerKey: "devices.catalog.manufacturers.viatom",
123
- logo: _deviceImages.deviceImages.viatomDeviceSmallImage,
124
- creditsForImage: bundledAssetCredit
128
+ logo: _supportedDeviceCatalogAssets.viatomBp3Image,
129
+ creditsForImage: _supportedDeviceCatalogAssets.viatomBp3Credit
125
130
  }, {
126
131
  name: "Viatom O2Ring / Oxyfit / KidsO2 / BabyO2",
127
132
  nameKey: "devices.catalog.viatom-oximeters.name",
128
133
  manufacturer: "Viatom (Lepu Medical)",
129
134
  manufacturerKey: "devices.catalog.manufacturers.viatom",
130
- logo: _deviceImages.deviceImages.viatomWellueOxyfitDeviceImage,
131
- creditsForImage: bundledAssetCredit
135
+ logo: _supportedDeviceCatalogAssets.viatomO2RingImage,
136
+ creditsForImage: _supportedDeviceCatalogAssets.viatomOximeterCredit
132
137
  }, {
133
138
  name: "Viatom ER1 / ER2 / ER3",
134
139
  nameKey: "devices.catalog.viatom-er-family.name",
135
140
  manufacturer: "Viatom (Lepu Medical)",
136
141
  manufacturerKey: "devices.catalog.manufacturers.viatom",
137
- logo: _deviceImages.deviceImages.viatomEcgButtonDeviceImage,
138
- creditsForImage: bundledAssetCredit
142
+ logo: _supportedDeviceCatalogAssets.viatomEr1Image,
143
+ creditsForImage: _supportedDeviceCatalogAssets.viatomEcgCredit
139
144
  }, {
140
145
  name: "Viatom Lepod / LepodPro",
141
146
  nameKey: "devices.catalog.viatom-lepod-family.name",
142
147
  manufacturer: "Viatom (Lepu Medical)",
143
148
  manufacturerKey: "devices.catalog.manufacturers.viatom",
144
- logo: _deviceImages.deviceImages.viatomDeviceSmallImage,
145
- creditsForImage: bundledAssetCredit
149
+ logo: _supportedDeviceCatalogAssets.viatomEr1Image,
150
+ creditsForImage: _supportedDeviceCatalogAssets.viatomEcgCredit
146
151
  }, {
147
152
  name: "Bluetooth SIG blood-pressure devices",
148
153
  nameKey: "devices.catalog.bluetooth-sig.blood-pressure.name",
@@ -178,5 +183,156 @@ const Devices = exports.Devices = [{
178
183
  manufacturerKey: "devices.catalog.manufacturers.any-compliant",
179
184
  logo: bluetoothSigLogo,
180
185
  creditsForImage: bluetoothSigAssetCredit
181
- }];
186
+ }, ..._supportedDeviceCatalogEntries.additionalSupportedDevices];
187
+ const customId = name => `catalog-${name.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "")}`;
188
+ const definitionsFor = name => {
189
+ if (name === "Viatom BP2") {
190
+ return {
191
+ acceptedDevices: [_integratedDevices.IntegratedDevices.BP2],
192
+ measurementTypes: [_core.MeasurementTypeKey.bloodPressure]
193
+ };
194
+ }
195
+ if (name.includes("BP2A") || name.includes("BP2T") || name.includes("BP2W")) {
196
+ return {
197
+ acceptedDevices: ["BP2A", "BP2T", "BP2W"].map(model => (0, _viatomBpMonitors.viatomBpMonitor)(model, {})),
198
+ measurementTypes: [_core.MeasurementTypeKey.bloodPressure]
199
+ };
200
+ }
201
+ if (name === "Viatom BP3 series" || /^BP3/i.test(name)) {
202
+ return {
203
+ acceptedDevices: [(0, _viatomBpMonitors.viatomBpMonitor)(name.replace(" series", ""), {})],
204
+ measurementTypes: [_core.MeasurementTypeKey.bloodPressure]
205
+ };
206
+ }
207
+ if (name.includes("ER1")) {
208
+ return {
209
+ acceptedDevices: [(0, _viatomEcgRecorders.er1Recorder)(name.split(" /")[0], {})],
210
+ measurementTypes: [_core.MeasurementTypeKey.heartRate, _core.MeasurementTypeKey.ecg]
211
+ };
212
+ }
213
+ if (name.includes("ER2")) {
214
+ return {
215
+ acceptedDevices: [(0, _viatomEcgRecorders.er2Recorder)(name.split(" /")[0], {})],
216
+ measurementTypes: [_core.MeasurementTypeKey.heartRate, _core.MeasurementTypeKey.ecg]
217
+ };
218
+ }
219
+ if (name.includes("ER3")) {
220
+ return {
221
+ acceptedDevices: [(0, _viatomEcgRecorders.er3Recorder)(name.split(" /")[0], {})],
222
+ measurementTypes: [_core.MeasurementTypeKey.heartRate, _core.MeasurementTypeKey.ecg]
223
+ };
224
+ }
225
+ if (name === "Viatom Lepod / LepodPro") {
226
+ return {
227
+ acceptedDevices: [(0, _viatomLepod.lepodMonitor)("Lepod", {})],
228
+ measurementTypes: [_core.MeasurementTypeKey.heartRate, _core.MeasurementTypeKey.ecg, _core.MeasurementTypeKey.bloodOxygenPulseRate, _core.MeasurementTypeKey.respiratoryRate, _core.MeasurementTypeKey.temperature]
229
+ };
230
+ }
231
+ if (name === "Veroval compact+ BPU26") {
232
+ return {
233
+ acceptedDevices: [(0, _verovalBpMonitors.bpu26Monitor)({})],
234
+ measurementTypes: [_core.MeasurementTypeKey.bloodPressure]
235
+ };
236
+ }
237
+ if (name === "Veroval compact+ BPW26") {
238
+ return {
239
+ acceptedDevices: [(0, _verovalBpMonitors.bpw26Monitor)({})],
240
+ measurementTypes: [_core.MeasurementTypeKey.bloodPressure]
241
+ };
242
+ }
243
+ if (name === "boso medicus system") {
244
+ return {
245
+ acceptedDevices: [(0, _bosoMedicus.bosoMedicusMonitor)({})],
246
+ measurementTypes: [_core.MeasurementTypeKey.bloodPressure]
247
+ };
248
+ }
249
+ if (name === "visomat comfort soft BT") {
250
+ return {
251
+ acceptedDevices: [(0, _visomatComfortSoftBt.visomatComfortSoftBtMonitor)({})],
252
+ measurementTypes: [_core.MeasurementTypeKey.bloodPressure]
253
+ };
254
+ }
255
+ if (name === "AOJ-20A") {
256
+ return {
257
+ acceptedDevices: [(0, _aojThermometers.aoj20aThermometer)({})],
258
+ measurementTypes: [_core.MeasurementTypeKey.temperature]
259
+ };
260
+ }
261
+ if (name.includes("O2Ring") || name.includes("Oxyfit") || name.includes("KidsO2") || name.includes("BabyO2")) {
262
+ return {
263
+ acceptedDevices: [(0, _viatomOximeters.viatomOximeter)(name.split(" /")[0], {})],
264
+ measurementTypes: [_core.MeasurementTypeKey.bloodOxygenPulseRate]
265
+ };
266
+ }
267
+ if (name.includes("blood-pressure")) {
268
+ return {
269
+ acceptedDevices: [(0, _standardGattDevices.standardBloodPressureDevice)({})],
270
+ measurementTypes: [_core.MeasurementTypeKey.bloodPressure]
271
+ };
272
+ }
273
+ if (name.includes("thermometers")) {
274
+ return {
275
+ acceptedDevices: [(0, _standardGattDevices.standardThermometerDevice)({})],
276
+ measurementTypes: [_core.MeasurementTypeKey.temperature]
277
+ };
278
+ }
279
+ if (name.includes("weight scales")) {
280
+ return {
281
+ acceptedDevices: [(0, _standardGattDevices.standardWeightScaleDevice)({})],
282
+ measurementTypes: [_core.MeasurementTypeKey.bodyWeight]
283
+ };
284
+ }
285
+ if (name.includes("pulse oximeters")) {
286
+ return {
287
+ acceptedDevices: [(0, _standardGattDevices.standardPulseOximeterDevice)({})],
288
+ measurementTypes: [_core.MeasurementTypeKey.bloodOxygenPulseRate]
289
+ };
290
+ }
291
+ if (name.includes("heart-rate")) {
292
+ return {
293
+ acceptedDevices: [(0, _standardGattDevices.standardHeartRateDevice)({})],
294
+ measurementTypes: [_core.MeasurementTypeKey.heartRate]
295
+ };
296
+ }
297
+ const builtIn = {
298
+ "Viatom F4 / Lescale": _integratedDevices.IntegratedDevices.F4,
299
+ "Viatom OxySmart / PC60WF": _integratedDevices.IntegratedDevices.PC60WF,
300
+ "Contec BC401 / BC01": _integratedDevices.IntegratedDevices.BC01,
301
+ "TaiDoc TD4216": _integratedDevices.IntegratedDevices.TAIDOC_GLUCOSE,
302
+ "GlucoCheck Gold": _integratedDevices.IntegratedDevices.GLUCOCHECK,
303
+ "TeleBGM Gen1 BLE": _integratedDevices.IntegratedDevices.BGM,
304
+ "Veroval duo control": _integratedDevices.IntegratedDevices.VEROVAL_DUO_CONTROL,
305
+ "Veroval ECG": _integratedDevices.IntegratedDevices.VEROVAL_ECG
306
+ };
307
+ const integrated = builtIn[name];
308
+ const measurementTypes = {
309
+ [_integratedDevices.IntegratedDevices.F4]: [_core.MeasurementTypeKey.bodyWeight],
310
+ [_integratedDevices.IntegratedDevices.PC60WF]: [_core.MeasurementTypeKey.bloodOxygenPulseRate],
311
+ [_integratedDevices.IntegratedDevices.BC01]: [_core.MeasurementTypeKey.uricAcid],
312
+ [_integratedDevices.IntegratedDevices.TAIDOC_GLUCOSE]: [_core.MeasurementTypeKey.bloodGlucose],
313
+ [_integratedDevices.IntegratedDevices.GLUCOCHECK]: [_core.MeasurementTypeKey.bloodGlucose],
314
+ [_integratedDevices.IntegratedDevices.BGM]: [_core.MeasurementTypeKey.bloodGlucose],
315
+ [_integratedDevices.IntegratedDevices.VEROVAL_DUO_CONTROL]: [_core.MeasurementTypeKey.bloodPressure],
316
+ [_integratedDevices.IntegratedDevices.VEROVAL_ECG]: [_core.MeasurementTypeKey.ecg]
317
+ };
318
+ return integrated ? {
319
+ acceptedDevices: [integrated],
320
+ measurementTypes: measurementTypes[integrated] ?? [],
321
+ manualUrl: _deviceInstructionPdfs.DEVICE_INSTRUCTION_PDFS[integrated] || undefined
322
+ } : {
323
+ acceptedDevices: [],
324
+ measurementTypes: []
325
+ };
326
+ };
327
+
328
+ /** One joined catalog for apps that need names, artwork and ready-made accept-list entries. */
329
+ const supportedDevices = exports.supportedDevices = Devices.map(device => {
330
+ const definitions = definitionsFor(device.name);
331
+ return {
332
+ ...device,
333
+ id: customId(device.name),
334
+ ...definitions
335
+ };
336
+ });
337
+ const SUPPORTED_DEVICES = exports.SUPPORTED_DEVICES = supportedDevices;
182
338
  //# sourceMappingURL=supported-devices.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_deviceImages","require","verovalDuoControlImage","verovalEcgImage","verovalBpu26Image","verovalBpw26Image","bosoMedicusSystemImage","visomatComfortSoftBtImage","bluetoothSigLogo","bundledAssetCredit","bluetoothSigAssetCredit","hartmannDuoControlCredit","hartmannEcgCredit","hartmannBpu26Credit","hartmannBpw26Credit","bosoMedicusSystemCredit","visomatComfortSoftBtCredit","Devices","exports","name","nameKey","manufacturer","manufacturerKey","logo","deviceImages","viatomWellueArmfitDeviceImage","creditsForImage","viatomScaleDeviceImage","viatomWellueOxySmartDeviceImage","bc401DeviceImage","aoj20aDeviceImage","viatomDeviceSmallImage","viatomWellueOxyfitDeviceImage","viatomEcgButtonDeviceImage"],"sourceRoot":"../../../../../src","sources":["modules/bt-device/constants/supported-devices.ts"],"mappings":";;;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AAWA,MAAMC,sBAAsB,GAC1B,sIAAsI;AAExI,MAAMC,eAAe,GACnB,sIAAsI;AAExI,MAAMC,iBAAiB,GAAG,gDAAgD;AAE1E,MAAMC,iBAAiB,GAAG,gDAAgD;AAE1E,MAAMC,sBAAsB,GAC1B,sFAAsF;AAExF,MAAMC,yBAAyB,GAC7B,kFAAkF;;AAEpF;AACA,MAAMC,gBAAgB,GACpB,o3IAAo3I;AAEt3I,MAAMC,kBAAkB,GACtB,uFAAuF;AAEzF,MAAMC,uBAAuB,GAC3B,uEAAuE;AAEzE,MAAMC,wBAAwB,GAC5B,4JAA4J;AAE9J,MAAMC,iBAAiB,GACrB,qIAAqI;AAEvI,MAAMC,mBAAmB,GACvB,iMAAiM;AAEnM,MAAMC,mBAAmB,GACvB,yLAAyL;AAE3L,MAAMC,uBAAuB,GAC3B,4HAA4H;AAE9H,MAAMC,0BAA0B,GAC9B,kFAAkF;;AAEpF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAG,CACrB;EACEE,IAAI,EAAE,YAAY;EAClBC,OAAO,EAAE,iCAAiC;EAC1CC,YAAY,EAAE,uBAAuB;EACrCC,eAAe,EAAE,sCAAsC;EACvDC,IAAI,EAAEC,0BAAY,CAACC,6BAA6B;EAChDC,eAAe,EAAEjB;AACnB,CAAC,EACD;EACEU,IAAI,EAAE,qBAAqB;EAC3BC,OAAO,EAAE,wCAAwC;EACjDC,YAAY,EAAE,uBAAuB;EACrCC,eAAe,EAAE,sCAAsC;EACvDC,IAAI,EAAEC,0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AAI,EAAE,yBAAyB;EAC/BC,OAAO,EAAE,0CAA0C;EACnDC,YAAY,EAAE,uBAAuB;EACrCC,eAAe,EAAE,sCAAsC;EACvDC,IAAI,EAAEC,0BAAY,CAACO,sBAAsB;EACzCL,eAAe,EAAEjB;AACnB,CAAC,EACD;EACEU,IAAI,EAAE,sCAAsC;EAC5CC,OAAO,EAAE,mDAAmD;EAC5DC,YAAY,EAAE,4BAA4B;EAC1CC,eAAe,EAAE,6CAA6C;EAC9DC,IAAI,EAAEf,gBAAgB;EACtBkB,eAAe,EAAEhB;AACnB,CAAC,EACD;EACES,IAAI,EAAE,4BAA4B;EAClCC,OAAO,EAAE,iDAAiD;EAC1DC,YAAY,EAAE,4BAA4B;EAC1CC,eAAe,EAAE,6CAA6C;EAC9DC,IAAI,EAAEf,gBAAgB;EACtBkB,eAAe,EAAEhB;AACnB,CAAC,EACD;EACES,IAAI,EAAE,6BAA6B;EACnCC,OAAO,EAAE,kDAAkD;EAC3DC,YAAY,EAAE,4BAA4B;EAC1CC,eAAe,EAAE,6CAA6C;EAC9DC,IAAI,EAAEf,gBAAgB;EACtBkB,eAAe,EAAEhB;AACnB,CAAC,EACD;EACES,IAAI,EAAE,+BAA+B;EACrCC,OAAO,EAAE,oDAAoD;EAC7DC,YAAY,EAAE,4BAA4B;EAC1CC,eAAe,EAAE,6CAA6C;EAC9DC,IAAI,EAAEf,gBAAgB;EACtBkB,eAAe,EAAEhB;AACnB,CAAC,EACD;EACES,IAAI,EAAE,mCAAmC;EACzCC,OAAO,EAAE,+CAA+C;EACxDC,YAAY,EAAE,4BAA4B;EAC1CC,eAAe,EAAE,6CAA6C;EAC9DC,IAAI,EAAEf,gBAAgB;EACtBkB,eAAe,EAAEhB;AACnB,CAAC,CAC4C","ignoreList":[]}
1
+ {"version":3,"names":["_core","require","_aojThermometers","_bosoMedicus","_standardGattDevices","_visomatComfortSoftBt","_verovalBpMonitors","_viatomBpMonitors","_viatomEcgRecorders","_viatomLepod","_viatomOximeters","_integratedDevices","_deviceImages","_deviceInstructionPdfs","_supportedDeviceCatalogAssets","_supportedDeviceCatalogEntries","verovalDuoControlImage","verovalEcgImage","bluetoothSigLogo","bluetoothSigAssetCredit","Devices","exports","name","nameKey","manufacturer","manufacturerKey","logo","viatomBp2Image","creditsForImage","viatomBloodPressureCredit","viatomF4Image","viatomBodyScaleCredit","viatomO2RingImage","viatomOximeterCredit","deviceImages","bc401DeviceImage","contecCredit","hartmannDuoControlCredit","hartmannEcgCredit","verovalBpu26Image","hartmannBpu26Credit","verovalBpw26Image","hartmannBpw26Credit","bosoMedicusSystemImage","bosoMedicusSystemCredit","visomatComfortSoftBtImage","visomatComfortSoftBtCredit","viatomAojImage","aojCredit","viatomBp3Image","viatomBp3Credit","viatomEr1Image","viatomEcgCredit","additionalSupportedDevices","customId","toLowerCase","replace","definitionsFor","acceptedDevices","IntegratedDevices","BP2","measurementTypes","MeasurementTypeKey","bloodPressure","includes","map","model","viatomBpMonitor","test","er1Recorder","split","heartRate","ecg","er2Recorder","er3Recorder","lepodMonitor","bloodOxygenPulseRate","respiratoryRate","temperature","bpu26Monitor","bpw26Monitor","bosoMedicusMonitor","visomatComfortSoftBtMonitor","aoj20aThermometer","viatomOximeter","standardBloodPressureDevice","standardThermometerDevice","standardWeightScaleDevice","bodyWeight","standardPulseOximeterDevice","standardHeartRateDevice","builtIn","F4","PC60WF","BC01","TAIDOC_GLUCOSE","GLUCOCHECK","BGM","VEROVAL_DUO_CONTROL","VEROVAL_ECG","integrated","uricAcid","bloodGlucose","manualUrl","DEVICE_INSTRUCTION_PDFS","undefined","supportedDevices","device","definitions","id","SUPPORTED_DEVICES"],"sourceRoot":"../../../../../src","sources":["modules/bt-device/constants/supported-devices.ts"],"mappings":";;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AAIA,IAAAC,gBAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,oBAAA,GAAAH,OAAA;AACA,IAAAI,qBAAA,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C3C,oCAAiB,CAACqC,UAAU,GAAG,CAAClC,wBAAkB,CAACwC,YAAY,CAAC;IACjE,CAAC3C,oCAAiB,CAACsC,GAAG,GAAG,CAACnC,wBAAkB,CAACwC,YAAY,CAAC;IAC1D,CAAC3C,oCAAiB,CAACuC,mBAAmB,GAAG,CACvCpC,wBAAkB,CAACC,aAAa,CACjC;IACD,CAACJ,oCAAiB,CAACwC,WAAW,GAAG,CAACrC,wBAAkB,CAACU,GAAG;EAC1D,CAAC;EAED,OAAO4B,UAAU,GACb;IACE1C,eAAe,EAAE,CAAC0C,UAAU,CAAC;IAC7BvC,gBAAgB,EAAEA,gBAAgB,CAACuC,UAAU,CAAC,IAAI,EAAE;IACpDG,SAAS,EAAEC,8CAAuB,CAACJ,UAAU,CAAC,IAAIK;EACpD,CAAC,GACD;IAAE/C,eAAe,EAAE,EAAE;IAAEG,gBAAgB,EAAE;EAAG,CAAC;AACnD,CAAC;;AAED;AACA,MAAM6C,gBAAsD,GAAArF,OAAA,CAAAqF,gBAAA,GAAGtF,OAAO,CAAC6C,GAAG,CAAE0C,MAAM,IAAK;EACrF,MAAMC,WAAW,GAAGnD,cAAc,CAACkD,MAAM,CAACrF,IAAI,CAAC;EAE/C,OAAO;IACL,GAAGqF,MAAM;IACTE,EAAE,EAAEvD,QAAQ,CAACqD,MAAM,CAACrF,IAAI,CAAC;IACzB,GAAGsF;EACL,CAAC;AACH,CAAC,CAAC;AAEF,MAAME,iBAAiB,GAAAzF,OAAA,CAAAyF,iBAAA,GAAGJ,gBAAgB","ignoreList":[]}
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.BluetoothDevicePicker = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _index = require("../../theme/index.js");
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ /** A small theme-aware picker for BTManager's multi-device auto-connect callback. */
11
+ const BluetoothDevicePicker = ({
12
+ devices,
13
+ visible,
14
+ title = "Choose a device",
15
+ onSelect,
16
+ onDismiss
17
+ }) => {
18
+ const theme = (0, _index.useAppTheme)();
19
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Modal, {
20
+ visible: visible,
21
+ transparent: true,
22
+ animationType: "slide",
23
+ onRequestClose: onDismiss,
24
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.SafeAreaView, {
25
+ style: styles.overlay,
26
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
27
+ style: [styles.card, {
28
+ backgroundColor: theme.colors.background
29
+ }],
30
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
31
+ style: [styles.title, {
32
+ color: theme.colors.onBackground
33
+ }],
34
+ children: title
35
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.FlatList, {
36
+ data: devices,
37
+ keyExtractor: device => device.id,
38
+ renderItem: ({
39
+ item
40
+ }) => {
41
+ const name = item.device.localName || item.device.name || String(item.deviceData.name);
42
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
43
+ accessibilityRole: "button",
44
+ onPress: () => onSelect(item),
45
+ style: ({
46
+ pressed
47
+ }) => [styles.row, pressed && styles.pressed],
48
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
49
+ style: {
50
+ color: theme.colors.onBackground
51
+ },
52
+ children: name
53
+ })
54
+ });
55
+ }
56
+ })]
57
+ })
58
+ })
59
+ });
60
+ };
61
+ exports.BluetoothDevicePicker = BluetoothDevicePicker;
62
+ const styles = _reactNative.StyleSheet.create({
63
+ overlay: {
64
+ flex: 1,
65
+ justifyContent: "flex-end",
66
+ backgroundColor: "#0008"
67
+ },
68
+ card: {
69
+ maxHeight: "70%",
70
+ padding: 20,
71
+ borderTopLeftRadius: 18,
72
+ borderTopRightRadius: 18
73
+ },
74
+ title: {
75
+ fontSize: 18,
76
+ fontWeight: "700",
77
+ marginBottom: 12
78
+ },
79
+ row: {
80
+ paddingVertical: 16,
81
+ borderBottomWidth: _reactNative.StyleSheet.hairlineWidth,
82
+ borderBottomColor: "#8888"
83
+ },
84
+ pressed: {
85
+ opacity: 0.6
86
+ }
87
+ });
88
+ //# sourceMappingURL=bluetooth-device-picker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_index","_jsxRuntime","BluetoothDevicePicker","devices","visible","title","onSelect","onDismiss","theme","useAppTheme","jsx","Modal","transparent","animationType","onRequestClose","children","SafeAreaView","style","styles","overlay","jsxs","View","card","backgroundColor","colors","background","Text","color","onBackground","FlatList","data","keyExtractor","device","id","renderItem","item","name","localName","String","deviceData","Pressable","accessibilityRole","onPress","pressed","row","exports","StyleSheet","create","flex","justifyContent","maxHeight","padding","borderTopLeftRadius","borderTopRightRadius","fontSize","fontWeight","marginBottom","paddingVertical","borderBottomWidth","hairlineWidth","borderBottomColor","opacity"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/components/bluetooth-device-picker.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAUA,IAAAC,MAAA,GAAAD,OAAA;AAA0C,IAAAE,WAAA,GAAAF,OAAA;AAW1C;AACO,MAAMG,qBAAqB,GAAGA,CAAC;EACpCC,OAAO;EACPC,OAAO;EACPC,KAAK,GAAG,iBAAiB;EACzBC,QAAQ;EACRC;AAC0B,CAAC,KAAK;EAChC,MAAMC,KAAK,GAAG,IAAAC,kBAAW,EAAC,CAAC;EAE3B,oBACE,IAAAR,WAAA,CAAAS,GAAA,EAACZ,YAAA,CAAAa,KAAK;IAACP,OAAO,EAAEA,OAAQ;IAACQ,WAAW;IAACC,aAAa,EAAC,OAAO;IAACC,cAAc,EAAEP,SAAU;IAAAQ,QAAA,eACnF,IAAAd,WAAA,CAAAS,GAAA,EAACZ,YAAA,CAAAkB,YAAY;MAACC,KAAK,EAAEC,MAAM,CAACC,OAAQ;MAAAJ,QAAA,eAClC,IA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AAC;UAEhB;QAAE,CACH,CAAC;MAAA,CACE;IAAC,CACK;EAAC,CACV,CAAC;AAEZ,CAAC;AAACS,OAAA,CAAA3C,qBAAA,GAAAA,qBAAA;AAEF,MAAMgB,MAAM,GAAG4B,uBAAU,CAACC,MAAM,CAAC;EAC/B5B,OAAO,EAAE;IAAE6B,IAAI,EAAE,CAAC;IAAEC,cAAc,EAAE,UAAU;IAAE1B,eAAe,EAAE;EAAQ,CAAC;EAC1ED,IAAI,EAAE;IAAE4B,SAAS,EAAE,KAAK;IAAEC,OAAO,EAAE,EAAE;IAAEC,mBAAmB,EAAE,EAAE;IAAEC,oBAAoB,EAAE;EAAG,CAAC;EAC1FhD,KAAK,EAAE;IAAEiD,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,KAAK;IAAEC,YAAY,EAAE;EAAG,CAAC;EAC5DZ,GAAG,EAAE;IAAEa,eAAe,EAAE,EAAE;IAAEC,iBAAiB,EAAEZ,uBAAU,CAACa,aAAa;IAAEC,iBAAiB,EAAE;EAAQ,CAAC;EACrGjB,OAAO,EAAE;IAAEkB,OAAO,EAAE;EAAI;AAC1B,CAAC,CAAC","ignoreList":[]}
@@ -8,6 +8,9 @@ var React = _interopRequireWildcard(require("react"));
8
8
  var _reactNative = require("react-native");
9
9
  var _useDeviceList = require("../../bt-device/components/hooks/use-device-list.js");
10
10
  var _sentryLogger = require("../../helpers/utils/sentry-logger.js");
11
+ var _backgroundBleManager = require("../services/background-sync/background-ble-manager.js");
12
+ var _backgroundServiceUuids = require("../services/background-sync/background-service-uuids.js");
13
+ var _backgroundSyncCoordinator = require("../services/background-sync/background-sync-coordinator.js");
11
14
  var _btManager = require("../services/bt-manager.js");
12
15
  var _jsxRuntime = require("react/jsx-runtime");
13
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
@@ -18,25 +21,50 @@ const BTProviderChildWrapper = exports.BTProviderChildWrapper = /*#__PURE__*/Rea
18
21
  onDeviceFound,
19
22
  onError,
20
23
  onDeviceStatusChanged,
21
- onResult
24
+ onResult,
25
+ backgroundSync
22
26
  }) => {
23
27
  const btManagerRef = React.useRef(null);
28
+ const backgroundSyncRef = React.useRef(backgroundSync);
29
+ const backgroundSyncCoordinatorRef = React.useRef(null);
24
30
  const {
25
31
  setDeviceListItems
26
32
  } = (0, _useDeviceList.useDeviceList)();
33
+ backgroundSyncRef.current = backgroundSync;
27
34
  React.useEffect(() => {
28
35
  if (!acceptedDevices.length) {
29
36
  return;
30
37
  }
31
38
  (0, _sentryLogger.sentryLogger)("info", "Creating BTManager");
32
- const btManager = new _btManager.BTManager(bleManager, acceptedDevices);
39
+ const currentBackgroundSync = backgroundSyncRef.current;
40
+ const isBackgroundEnabled = currentBackgroundSync?.enabled === true;
41
+ const backgroundOptions = isBackgroundEnabled ? {
42
+ backgroundEnabled: true,
43
+ serviceUUIDs: (0, _backgroundServiceUuids.getBackgroundServiceUUIDs)(acceptedDevices, currentBackgroundSync.serviceUUIDs)
44
+ } : undefined;
45
+ const btManager = backgroundOptions ? new _btManager.BTManager(bleManager, acceptedDevices, backgroundOptions) : new _btManager.BTManager(bleManager, acceptedDevices);
46
+ const coordinator = isBackgroundEnabled && currentBackgroundSync ? new _backgroundSyncCoordinator.BackgroundSyncCoordinator({
47
+ ...currentBackgroundSync,
48
+ enabled: true,
49
+ onResult: async result => {
50
+ const latest = backgroundSyncRef.current;
51
+ if (!latest?.enabled) {
52
+ return;
53
+ }
54
+ await latest.onResult(result);
55
+ }
56
+ }) : null;
33
57
  btManagerRef.current = btManager;
58
+ backgroundSyncCoordinatorRef.current = coordinator;
59
+ btManager.setBackgroundScanEnabled(isBackgroundEnabled && _reactNative.AppState.currentState !== "active");
34
60
  btManager.startScan();
35
61
  return () => {
36
62
  (0, _sentryLogger.sentryLogger)("info", "Destroying scan service");
63
+ backgroundSyncCoordinatorRef.current = null;
64
+ btManagerRef.current = null;
37
65
  btManager.destroy();
38
66
  };
39
- }, [acceptedDevices, bleManager]);
67
+ }, [acceptedDevices, backgroundSync?.enabled, backgroundSync?.maxRetries, backgroundSync?.retryBackoffMs, backgroundSync?.serviceUUIDs, backgroundSync?.storage, backgroundSync?.storageKey, bleManager]);
40
68
  React.useEffect(() => {
41
69
  if (!onDeviceFound || !acceptedDevices.length) {
42
70
  return;
@@ -56,14 +84,28 @@ const BTProviderChildWrapper = exports.BTProviderChildWrapper = /*#__PURE__*/Rea
56
84
  };
57
85
  }, [onError, acceptedDevices]);
58
86
  React.useEffect(() => {
59
- if (!onResult || !acceptedDevices.length) {
87
+ if (!acceptedDevices.length) {
60
88
  return;
61
89
  }
62
- btManagerRef.current?.onResult(onResult);
90
+ const callback = backgroundSync?.enabled === true ? data => {
91
+ onResult?.(data);
92
+ const coordinator = backgroundSyncCoordinatorRef.current;
93
+ if (coordinator) {
94
+ void coordinator.enqueue(data).catch(error => {
95
+ onError?.({
96
+ error: error instanceof Error ? error : String(error)
97
+ });
98
+ });
99
+ }
100
+ } : onResult;
101
+ if (!callback) {
102
+ return;
103
+ }
104
+ btManagerRef.current?.onResult(callback);
63
105
  return () => {
64
106
  btManagerRef.current?.onResult(undefined);
65
107
  };
66
- }, [onResult, acceptedDevices]);
108
+ }, [backgroundSync?.enabled, onError, onResult, acceptedDevices]);
67
109
  React.useEffect(() => {
68
110
  if (!onDeviceStatusChanged || !acceptedDevices.length) {
69
111
  return;
@@ -95,17 +137,42 @@ const BTProviderChildWrapper = exports.BTProviderChildWrapper = /*#__PURE__*/Rea
95
137
  btManagerRef.current?.onDeviceStatusChanged(undefined);
96
138
  };
97
139
  }, [onDeviceStatusChanged, acceptedDevices, setDeviceListItems]);
140
+ React.useEffect(() => {
141
+ if (!acceptedDevices.length || backgroundSync?.enabled !== true) {
142
+ return;
143
+ }
144
+ const restoredState = (0, _backgroundBleManager.getRestoredBleState)(backgroundSync.restoreStateIdentifier);
145
+ if (restoredState?.connectedPeripherals.length) {
146
+ btManagerRef.current?.restoreDevices(restoredState.connectedPeripherals);
147
+ }
148
+ void backgroundSyncCoordinatorRef.current?.flush({
149
+ includeExhausted: true,
150
+ resetExhausted: true
151
+ }).catch(error => {
152
+ onError?.({
153
+ error: error instanceof Error ? error : String(error)
154
+ });
155
+ });
156
+ }, [acceptedDevices, backgroundSync?.enabled, backgroundSync?.restoreStateIdentifier, onError]);
98
157
  React.useEffect(() => {
99
158
  const listener = _reactNative.AppState.addEventListener("change", state => {
100
- if (state !== "active") {
101
- return;
102
- }
159
+ btManagerRef.current?.setBackgroundScanEnabled(backgroundSyncRef.current?.enabled === true && state !== "active");
103
160
  btManagerRef.current?.startScan();
161
+ if (state === "active") {
162
+ void backgroundSyncCoordinatorRef.current?.flush({
163
+ includeExhausted: true,
164
+ resetExhausted: true
165
+ }).catch(error => {
166
+ onError?.({
167
+ error: error instanceof Error ? error : String(error)
168
+ });
169
+ });
170
+ }
104
171
  });
105
172
  return () => {
106
173
  listener.remove();
107
174
  };
108
- }, []);
175
+ }, [onError]);
109
176
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
110
177
  children: children
111
178
  });