@ovok/native 1.3.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.
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js +9 -3
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js +8 -2
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js +22 -22
- package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/device-list-items.js +36 -0
- package/lib/commonjs/modules/bt-device/constants/device-list-items.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-assets.js +36 -0
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -0
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-entries.js +45 -0
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-entries.js.map +1 -0
- package/lib/commonjs/modules/bt-device/constants/supported-devices.js +198 -42
- package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
- package/lib/commonjs/modules/bt-management/components/bluetooth-device-picker.js +88 -0
- package/lib/commonjs/modules/bt-management/components/bluetooth-device-picker.js.map +1 -0
- package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js +15 -8
- package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
- package/lib/commonjs/modules/bt-management/constants/integrated-devices-map.js +1 -1
- package/lib/commonjs/modules/bt-management/constants/integrated-devices-map.js.map +1 -1
- package/lib/commonjs/modules/bt-management/index.js +55 -0
- package/lib/commonjs/modules/bt-management/index.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js +10 -4
- package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/bt-manager.js +43 -5
- package/lib/commonjs/modules/bt-management/services/bt-manager.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js +6 -2
- package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/device-creator.js +19 -8
- package/lib/commonjs/modules/bt-management/services/device-creator.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-builders.js +50 -0
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-builders.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js +78 -127
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js +2 -0
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.frame-reader.js +60 -0
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.frame-reader.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +74 -0
- package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/boso/boso.medicus.js +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/boso/boso.medicus.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bt-command-writer.js +3 -0
- package/lib/commonjs/modules/bt-management/services/devices/bt-command-writer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +37 -4
- package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.file-transfer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js +4 -1
- package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js +2 -1
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-files.js +35 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-files.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +3 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js +2 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
- package/lib/commonjs/modules/bt-management/types/device-measurement-map.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/managers/data-processor.js +11 -2
- package/lib/commonjs/modules/data-sync/services/managers/data-processor.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js +3 -1
- package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/get-total-samples-count.js +3 -1
- package/lib/commonjs/modules/data-sync/utils/get-total-samples-count.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/health-units.js +22 -0
- package/lib/commonjs/modules/data-sync/utils/health-units.js.map +1 -0
- package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js +9 -3
- package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
- package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js +8 -2
- package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
- package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js +1 -1
- package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
- package/lib/module/modules/bt-device/constants/device-list-items.js +36 -0
- package/lib/module/modules/bt-device/constants/device-list-items.js.map +1 -1
- package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js +33 -0
- package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -0
- package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js +41 -0
- package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js.map +1 -0
- package/lib/module/modules/bt-device/constants/supported-devices.js +188 -32
- package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
- package/lib/module/modules/bt-management/components/bluetooth-device-picker.js +83 -0
- package/lib/module/modules/bt-management/components/bluetooth-device-picker.js.map +1 -0
- package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js +15 -8
- package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
- package/lib/module/modules/bt-management/constants/integrated-devices-map.js +1 -1
- package/lib/module/modules/bt-management/constants/integrated-devices-map.js.map +1 -1
- package/lib/module/modules/bt-management/index.js +5 -0
- package/lib/module/modules/bt-management/index.js.map +1 -1
- package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js +10 -4
- package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -1
- package/lib/module/modules/bt-management/services/bt-manager.js +45 -6
- package/lib/module/modules/bt-management/services/bt-manager.js.map +1 -1
- package/lib/module/modules/bt-management/services/custom/define-custom-device.js +6 -2
- package/lib/module/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
- package/lib/module/modules/bt-management/services/device-creator.js +19 -8
- package/lib/module/modules/bt-management/services/device-creator.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-builders.js +40 -0
- package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-builders.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js +59 -109
- package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js +2 -0
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.frame-reader.js +56 -0
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.frame-reader.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +69 -0
- package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/boso/boso.medicus.js +1 -1
- package/lib/module/modules/bt-management/services/devices/boso/boso.medicus.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bt-command-writer.js +3 -0
- package/lib/module/modules/bt-management/services/devices/bt-command-writer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +36 -4
- package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/lepu/lepu.file-transfer.js +2 -1
- package/lib/module/modules/bt-management/services/devices/lepu/lepu.file-transfer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js +4 -1
- package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js +2 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js +1 -1
- package/lib/module/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-files.js +31 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-files.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +3 -2
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js +2 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
- package/lib/module/modules/bt-management/types/device-measurement-map.js.map +1 -1
- package/lib/module/modules/data-sync/services/managers/data-processor.js +11 -2
- package/lib/module/modules/data-sync/services/managers/data-processor.js.map +1 -1
- package/lib/module/modules/data-sync/utils/get-samples-from-health.js +3 -1
- package/lib/module/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
- package/lib/module/modules/data-sync/utils/get-total-samples-count.js +3 -1
- package/lib/module/modules/data-sync/utils/get-total-samples-count.js.map +1 -1
- package/lib/module/modules/data-sync/utils/health-units.js +17 -0
- package/lib/module/modules/data-sync/utils/health-units.js.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/device-list-items.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +31 -0
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts +3 -0
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts +36 -22
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/components/bluetooth-device-picker.d.ts +11 -0
- package/lib/typescript/commonjs/src/modules/bt-management/components/bluetooth-device-picker.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts +5 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts +19 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/device-creator.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/device-creator.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts +31 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts +6 -5
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts +16 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts +19 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-command-writer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts +3 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts +3 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts +9 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-spec.d.ts +6 -4
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-spec.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-lepu-spec.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-lepu-spec.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-command.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-command.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts +4 -4
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/get-total-samples-count.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/health-units.d.ts +3 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/health-units.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/device-list-items.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +31 -0
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts +3 -0
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts +36 -22
- package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/components/bluetooth-device-picker.d.ts +11 -0
- package/lib/typescript/module/src/modules/bt-management/components/bluetooth-device-picker.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/index.d.ts +5 -0
- package/lib/typescript/module/src/modules/bt-management/index.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts +5 -1
- package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts +19 -2
- package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/device-creator.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/device-creator.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts +2 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts +31 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts +6 -5
- package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts +2 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts +16 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts +19 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-command-writer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts +3 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts +3 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +2 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts +9 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts +1 -0
- package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-device-spec.d.ts +6 -4
- package/lib/typescript/module/src/modules/bt-management/types/custom-device-spec.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-lepu-spec.d.ts +2 -0
- package/lib/typescript/module/src/modules/bt-management/types/custom-lepu-spec.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-command.d.ts +5 -0
- package/lib/typescript/module/src/modules/bt-management/types/device-command.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts +4 -4
- package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/get-total-samples-count.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/health-units.d.ts +3 -0
- package/lib/typescript/module/src/modules/data-sync/utils/health-units.d.ts.map +1 -0
- package/package.json +5 -3
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.healthUnitFor = void 0;
|
|
7
|
+
var _reactNativeHealthkit = require("@kingstinct/react-native-healthkit");
|
|
8
|
+
const HEALTH_UNITS = {
|
|
9
|
+
[_reactNativeHealthkit.HKQuantityTypeIdentifier.bodyMass]: "kg",
|
|
10
|
+
[_reactNativeHealthkit.HKQuantityTypeIdentifier.bodyTemperature]: "degC",
|
|
11
|
+
[_reactNativeHealthkit.HKQuantityTypeIdentifier.basalBodyTemperature]: "degC",
|
|
12
|
+
[_reactNativeHealthkit.HKQuantityTypeIdentifier.bloodPressureSystolic]: "mmHg",
|
|
13
|
+
[_reactNativeHealthkit.HKQuantityTypeIdentifier.bloodPressureDiastolic]: "mmHg",
|
|
14
|
+
[_reactNativeHealthkit.HKQuantityTypeIdentifier.bloodGlucose]: "mg/dL",
|
|
15
|
+
[_reactNativeHealthkit.HKQuantityTypeIdentifier.oxygenSaturation]: "%",
|
|
16
|
+
[_reactNativeHealthkit.HKQuantityTypeIdentifier.heartRate]: "count/min",
|
|
17
|
+
[_reactNativeHealthkit.HKQuantityTypeIdentifier.restingHeartRate]: "count/min",
|
|
18
|
+
[_reactNativeHealthkit.HKQuantityTypeIdentifier.walkingHeartRateAverage]: "count/min"
|
|
19
|
+
};
|
|
20
|
+
const healthUnitFor = typeIdentifier => HEALTH_UNITS[typeIdentifier];
|
|
21
|
+
exports.healthUnitFor = healthUnitFor;
|
|
22
|
+
//# sourceMappingURL=health-units.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNativeHealthkit","require","HEALTH_UNITS","HKQuantityTypeIdentifier","bodyMass","bodyTemperature","basalBodyTemperature","bloodPressureSystolic","bloodPressureDiastolic","bloodGlucose","oxygenSaturation","heartRate","restingHeartRate","walkingHeartRateAverage","healthUnitFor","typeIdentifier","exports"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/utils/health-units.ts"],"mappings":";;;;;;AAAA,IAAAA,qBAAA,GAAAC,OAAA;AAKA,MAAMC,YAA+D,GAAG;EACtE,CAACC,8CAAwB,CAACC,QAAQ,GAAG,IAAI;EACzC,CAACD,8CAAwB,CAACE,eAAe,GAAG,MAAM;EAClD,CAACF,8CAAwB,CAACG,oBAAoB,GAAG,MAAM;EACvD,CAACH,8CAAwB,CAACI,qBAAqB,GAAG,MAAM;EACxD,CAACJ,8CAAwB,CAACK,sBAAsB,GAAG,MAAM;EACzD,CAACL,8CAAwB,CAACM,YAAY,GAAG,OAAO;EAChD,CAACN,8CAAwB,CAACO,gBAAgB,GAAG,GAAG;EAChD,CAACP,8CAAwB,CAACQ,SAAS,GAAG,WAAW;EACjD,CAACR,8CAAwB,CAACS,gBAAgB,GAAG,WAAW;EACxD,CAACT,8CAAwB,CAACU,uBAAuB,GAAG;AACtD,CAAC;AAEM,MAAMC,aAAa,GACxBC,cAAiB,IAEjBb,YAAY,CAACa,cAAc,CAAqC;AAACC,OAAA,CAAAF,aAAA,GAAAA,aAAA","ignoreList":[]}
|
|
@@ -37,8 +37,14 @@ export const AppleLoginButton = ({
|
|
|
37
37
|
const data = {
|
|
38
38
|
accessToken: loginResponse.accessToken,
|
|
39
39
|
refreshToken: loginResponse.refreshToken,
|
|
40
|
-
profile:
|
|
41
|
-
|
|
40
|
+
profile: {
|
|
41
|
+
...loginResponse.profile.reference,
|
|
42
|
+
display: loginResponse.profile.display
|
|
43
|
+
},
|
|
44
|
+
project: {
|
|
45
|
+
...loginResponse.project.reference,
|
|
46
|
+
display: loginResponse.project.display
|
|
47
|
+
}
|
|
42
48
|
};
|
|
43
49
|
await client.setActiveLogin(data);
|
|
44
50
|
onSuccess?.(loginResponse);
|
|
@@ -46,7 +52,7 @@ export const AppleLoginButton = ({
|
|
|
46
52
|
// signed in
|
|
47
53
|
} catch (e) {
|
|
48
54
|
const error = e;
|
|
49
|
-
if (error.code === "ERR_REQUEST_CANCELED") {
|
|
55
|
+
if (error.code === "ERR_REQUEST_CANCELED" || error.code === "ERR_REQUEST_UNKNOWN") {
|
|
50
56
|
// handle that the user canceled the sign-in flow
|
|
51
57
|
} else {
|
|
52
58
|
onError?.(error);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useClient","AppleAuthentication","React","StyleSheet","TouchableOpacity","useAppTheme","jsx","_jsx","AppleLoginButton","testID","internalId","onSuccess","onError","style","disabled","children","props","client","theme","isAppleLoginAvailable","setIsAppleLoginAvailable","useState","handleAppleLogin","useCallback","credentials","signInAsync","requestedScopes","AppleAuthenticationScope","FULL_NAME","EMAIL","identityToken","authorizationCode","Error","loginResponse","appleLogin","email","data","accessToken","refreshToken","profile","reference","project","setActiveLogin","e","error","code","useEffect","isAvailableAsync","then","catch","styles","container","gap","spacing","paddingVertical","backgroundColor","borderColor","dark","colors","gray","onPress","create","flexDirection","alignItems","justifyContent","flexGrow","borderWidth","hairlineWidth","borderRadius","opacity"],"sourceRoot":"../../../../../../../src","sources":["modules/auth/sign-in/components/social-logins/apple-login-button.tsx"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,YAAY;AACtC,OAAO,KAAKC,mBAAmB,MAAM,2BAA2B;AAChE,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,gBAAgB,QAAQ,cAAc;AAE3D,SAASC,WAAW,QAAQ,4BAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAGhD,OAAO,MAAMC,gBAAgB,GAAGA,CAAC;EAC/BC,MAAM;EACNC,UAAU;EACVC,SAAS;EACTC,OAAO;EACPC,KAAK;EACLC,QAAQ;EACRC,QAAQ;EACR,GAAGC;AACqC,CAAC,KAAK;EAC9C,MAAMC,MAAM,GAAGjB,SAAS,CAAC,CAAC;EAC1B,MAAMkB,KAAK,GAAGb,WAAW,CAAC,CAAC;EAE3B,MAAM,CAACc,qBAAqB,EAAEC,wBAAwB,CAAC,GACrDlB,KAAK,CAACmB,QAAQ,CAAC,KAAK,CAAC;EAEvB,MAAMC,gBAAgB,GAAGpB,KAAK,CAACqB,WAAW,CAAC,YAAY;IACrD,IAAI;MACF,MAAMC,WAAW,GAAG,MAAMvB,mBAAmB,CAACwB,WAAW,CAAC;QACxDC,eAAe,EAAE,CACfzB,mBAAmB,CAAC0B,wBAAwB,CAACC,SAAS,EACtD3B,mBAAmB,CAAC0B,wBAAwB,CAACE,KAAK;MAEtD,CAAC,CAAC;MAEF,IACEL,WAAW,CAACM,aAAa,IAAI,IAAI,IACjCN,WAAW,CAACO,iBAAiB,IAAI,IAAI,EACrC;QACA,MAAM,IAAIC,KAAK,CAAC,8BAA8B,CAAC;MACjD;MAEA,MAAMC,aAAa,GAAG,MAAMhB,MAAM,CAACiB,UAAU,CAAC;QAC5C,GAAGV,WAAW;QACdM,aAAa,EAAEN,WAAW,CAACM,aAAa,IAAI,EAAE;QAC9CC,iBAAiB,EAAEP,WAAW,CAACO,iBAAiB,IAAI,EAAE;QACtDI,KAAK,EAAEX,WAAW,CAACW,KAAK,IAAI,EAAE;QAC9BzB;MACF,CAAC,CAAC;MAEF,MAAM0B,IAAI,GAAG;QACXC,WAAW,EAAEJ,aAAa,CAACI,WAAW;QACtCC,YAAY,EAAEL,aAAa,CAACK,YAAY;QACxCC,OAAO,
|
|
1
|
+
{"version":3,"names":["useClient","AppleAuthentication","React","StyleSheet","TouchableOpacity","useAppTheme","jsx","_jsx","AppleLoginButton","testID","internalId","onSuccess","onError","style","disabled","children","props","client","theme","isAppleLoginAvailable","setIsAppleLoginAvailable","useState","handleAppleLogin","useCallback","credentials","signInAsync","requestedScopes","AppleAuthenticationScope","FULL_NAME","EMAIL","identityToken","authorizationCode","Error","loginResponse","appleLogin","email","data","accessToken","refreshToken","profile","reference","display","project","setActiveLogin","e","error","code","useEffect","isAvailableAsync","then","catch","styles","container","gap","spacing","paddingVertical","backgroundColor","borderColor","dark","colors","gray","onPress","create","flexDirection","alignItems","justifyContent","flexGrow","borderWidth","hairlineWidth","borderRadius","opacity"],"sourceRoot":"../../../../../../../src","sources":["modules/auth/sign-in/components/social-logins/apple-login-button.tsx"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,YAAY;AACtC,OAAO,KAAKC,mBAAmB,MAAM,2BAA2B;AAChE,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,gBAAgB,QAAQ,cAAc;AAE3D,SAASC,WAAW,QAAQ,4BAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAGhD,OAAO,MAAMC,gBAAgB,GAAGA,CAAC;EAC/BC,MAAM;EACNC,UAAU;EACVC,SAAS;EACTC,OAAO;EACPC,KAAK;EACLC,QAAQ;EACRC,QAAQ;EACR,GAAGC;AACqC,CAAC,KAAK;EAC9C,MAAMC,MAAM,GAAGjB,SAAS,CAAC,CAAC;EAC1B,MAAMkB,KAAK,GAAGb,WAAW,CAAC,CAAC;EAE3B,MAAM,CA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,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,QAAQ,EAAE,CAAC;IACXC,WAAW,EAAEhE,UAAU,CAACiE,aAAa;IACrCC,YAAY,EAAE;EAChB,CAAC;EACDvD,QAAQ,EAAE;IACRwD,OAAO,EAAE;EACX;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -50,8 +50,14 @@ export const GoogleLoginButton = ({
|
|
|
50
50
|
const data = {
|
|
51
51
|
accessToken: loginResponse.accessToken,
|
|
52
52
|
refreshToken: loginResponse.refreshToken,
|
|
53
|
-
profile:
|
|
54
|
-
|
|
53
|
+
profile: {
|
|
54
|
+
...loginResponse.profile.reference,
|
|
55
|
+
display: loginResponse.profile.display
|
|
56
|
+
},
|
|
57
|
+
project: {
|
|
58
|
+
...loginResponse.project.reference,
|
|
59
|
+
display: loginResponse.project.display
|
|
60
|
+
}
|
|
55
61
|
};
|
|
56
62
|
await client.setActiveLogin(data);
|
|
57
63
|
onSuccess?.(loginResponse);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useClient","GoogleSignin","isCancelledResponse","isSuccessResponse","React","StyleSheet","TouchableOpacity","slog","useAppTheme","jsx","_jsx","GoogleLoginButton","googleIosClientId","googleWebClientId","internalId","onSuccess","onError","testID","style","disabled","children","props","theme","client","isConfigured","setIsConfigured","useState","isLoading","setIsLoading","isDisabled","handleGetIdToken","useCallback","hasPlayServices","Error","response","signIn","tokens","getTokens","idToken","handleGoogleSignIn","loginResponse","googleLogin","data","accessToken","refreshToken","profile","reference","project","setActiveLogin","error","useEffect","configure","iosClientId","webClientId","styles","container","gap","spacing","paddingVertical","backgroundColor","dark","borderColor","colors","gray","onPress","create","flexDirection","alignItems","justifyContent","flexGrow","borderWidth","hairlineWidth","borderRadius","opacity"],"sourceRoot":"../../../../../../../src","sources":["modules/auth/sign-in/components/social-logins/google-login-button.tsx"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,YAAY;AACtC,SACEC,YAA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O,EAAE;MACnB,MAAM,IAAIL,KAAK,CAAC,8CAA8C,CAAC;IACjE;IAEA,OAAOG,MAAM,CAACE,OAAO;EACvB,CAAC,EAAE,EAAE,CAAC;EAEN,MAAMC,kBAAkB,GAAGnC,KAAK,CAAC2B,WAAW,CAAC,YAAY;IACvD,IAAI;MACFH,YAAY,CAAC,IAAI,CAAC;MAElB,MAAMU,OAAO,GAAG,MAAMR,gBAAgB,CAAC,CAAC;MAExC,MAAMU,aAAa,GAAG,MAAMjB,MAAM,CAACkB,WAAW,CAAC;QAC7CH,OAAO;QACPxB;MACF,CAAC,CAAC;MAEF,MAAM4B,IAAI,GAAG;QACXC,WAAW,EAAEH,aAAa,CAACG,WAAW;QACtCC,YAAY,EAAEJ,aAAa,CAACI,YAAY;QACxCC,OAAO,
|
|
1
|
+
{"version":3,"names":["useClient","GoogleSignin","isCancelledResponse","isSuccessResponse","React","StyleSheet","TouchableOpacity","slog","useAppTheme","jsx","_jsx","GoogleLoginButton","googleIosClientId","googleWebClientId","internalId","onSuccess","onError","testID","style","disabled","children","props","theme","client","isConfigured","setIsConfigured","useState","isLoading","setIsLoading","isDisabled","handleGetIdToken","useCallback","hasPlayServices","Error","response","signIn","tokens","getTokens","idToken","handleGoogleSignIn","loginResponse","googleLogin","data","accessToken","refreshToken","profile","reference","display","project","setActiveLogin","error","useEffect","configure","iosClientId","webClientId","styles","container","gap","spacing","paddingVertical","backgroundColor","dark","borderColor","colors","gray","onPress","create","flexDirection","alignItems","justifyContent","flexGrow","borderWidth","hairlineWidth","borderRadius","opacity"],"sourceRoot":"../../../../../../../src","sources":["modules/auth/sign-in/components/social-logins/google-login-button.tsx"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,YAAY;AACtC,SACEC,YAAY,EAEZC,mBAAmB,EACnBC,iBAAiB,QACZ,2CAA2C;AAClD,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,SAASC,UAAU,EAAEC,gBAAgB,QAAQ,cAAc;AAE3D,SAASC,IA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AAC,EAAE,CAACtC,iBAAiB,EAAEC,iBAAiB,CAAC,CAAC;EAE1C,oBACEH,IAAA,CAACJ,gBAAgB;IAAA,GACXe,KAAK;IACTH,KAAK,EAAE,CACLqC,MAAM,CAACC,SAAS,EAChB;MACEC,GAAG,EAAEnC,KAAK,CAACoC,OAAO,CAAC,CAAC,CAAC;MACrBC,eAAe,EAAErC,KAAK,CAACoC,OAAO,CAAC,CAAC,CAAC;MAEjC;MACAE,eAAe,EAAEtC,KAAK,CAACuC,IAAI,GAAG,MAAM,GAAG,MAAM;MAC7CC,WAAW,EAAExC,KAAK,CAACuC,IAAI,GACnBvC,KAAK,CAACyC,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC,GACtB1C,KAAK,CAACyC,MAAM,CAACC,IAAI,CAAC,GAAG;IAC3B,CAAC,EACDnC,UAAU,IAAI0B,MAAM,CAACpC,QAAQ,EAC7BD,KAAK,CACL;IACFC,QAAQ,EAAEU,UAAW;IACrBoC,OAAO,EAAE1B,kBAAmB;IAC5BtB,MAAM,EAAEA,MAAO;IAAAG,QAAA,EAEdA;EAAQ,CACO,CAAC;AAEvB,CAAC;AAED,MAAMmC,MAAM,GAAGlD,UAAU,CAAC6D,MAAM,CAAC;EAC/BV,SAAS,EAAE;IACTW,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,QAAQ,EAAE,CAAC;IACXC,WAAW,EAAElE,UAAU,CAACmE,aAAa;IACrCC,YAAY,EAAE;EAChB,CAAC;EACDtD,QAAQ,EAAE;IACRuD,OAAO,EAAE;EACX;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { IntegratedDevices } from "../../bt-management/
|
|
3
|
+
import { IntegratedDevices } from "../../bt-management/types/integrated-devices.js";
|
|
4
4
|
|
|
5
5
|
// This is not comes from env variable or config file, it is hardcoded. Because we don't want user to set it again for each project.
|
|
6
6
|
// So pdf base url will be dependent on the development side. Customer shouldn't care about this.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["IntegratedDevices","pdfBaseUrl","DEVICE_INSTRUCTION_PDFS","BP2","F4","SPO2","PC60WF","ALIVE_COR","COSINUSS","AOJ20A","TAIDOC_GLUCOSE","GLUCOCHECK","CLEVERTEMP","FORATEMP","ANDESFITTEMP","FORA_SCALE","BC01","RPM_SCALE","CMED","SP80B","S5","BGM","VEROVAL_DUO_CONTROL","VEROVAL_ECG"],"sourceRoot":"../../../../../src","sources":["modules/bt-device/constants/device-instruction-pdfs.ts"],"mappings":";;AAAA,SAASA,iBAAiB,QAAQ,
|
|
1
|
+
{"version":3,"names":["IntegratedDevices","pdfBaseUrl","DEVICE_INSTRUCTION_PDFS","BP2","F4","SPO2","PC60WF","ALIVE_COR","COSINUSS","AOJ20A","TAIDOC_GLUCOSE","GLUCOCHECK","CLEVERTEMP","FORATEMP","ANDESFITTEMP","FORA_SCALE","BC01","RPM_SCALE","CMED","SP80B","S5","BGM","VEROVAL_DUO_CONTROL","VEROVAL_ECG"],"sourceRoot":"../../../../../src","sources":["modules/bt-device/constants/device-instruction-pdfs.ts"],"mappings":";;AAAA,SAASA,iBAAiB,QAAQ,iDAA8C;;AAEhF;AACA;AACA,MAAMC,UAAU,GACd,2EAA2E;AAE7E,OAAO,MAAMC,uBAA0D,GAAG;EACxE,CAACF,iBAAiB,CAACG,GAAG,GAAG,GAAGF,UAAU,yBAAyB;EAC/D,CAACD,iBAAiB,CAACI,EAAE,GAAG,GAAGH,UAAU,yBAAyB;EAC9D,CAACD,iBAAiB,CAACK,IAAI,GAAG,GAAGJ,UAAU,yBAAyB;EAChE,CAACD,iBAAiB,CAACM,MAAM,GAAG,GAAGL,UAAU,2BAA2B;EACpE,CAACD,iBAAiB,CAACO,SAAS,GAAG,GAAGN,UAAU,sBAAsB;EAClE,CAACD,iBAAiB,CAACQ,QAAQ,GAAG,GAAGP,UAAU,sBAAsB;EACjE,CAACD,iBAAiB,CAACS,MAAM,GAAG,GAAGR,UAAU,oBAAoB;EAC7D,CAACD,iBAAiB,CAACU,cAAc,GAAG,GAAGT,UAAU,oBAAoB;EACrE,CAACD,iBAAiB,CAACW,UAAU,GAAG,GAAGV,UAAU,iBAAiB;EAC9D,CAACD,iBAAiB,CAACY,UAAU,GAAG,GAAGX,UAAU,oBAAoB;EACjE,CAACD,iBAAiB,CAACa,QAAQ,GAAG,GAAGZ,UAAU,gBAAgB;EAC3D,CAACD,iBAAiB,CAACc,YAAY,GAAG,GAAGb,UAAU,oBAAoB;EACnE,CAACD,iBAAiB,CAACe,UAAU,GAAG,GAAGd,UAAU,gBAAgB;EAC7D,CAACD,iBAAiB,CAACgB,IAAI,GAAG,GAAGf,UAAU,YAAY;EACnD,CAACD,iBAAiB,CAACiB,SAAS,GAAG,GAAGhB,UAAU,wBAAwB;EACpE,CAACD,iBAAiB,CAACkB,IAAI,GAAG,EAAE;EAC5B,CAAClB,iBAAiB,CAACmB,KAAK,GAAG,EAAE;EAC7B,CAACnB,iBAAiB,CAACoB,EAAE,GAAG,EAAE;EAC1B,CAACpB,iBAAiB,CAACqB,GAAG,GAAG,EAAE;EAC3B,CAACrB,iBAAiB,CAACsB,mBAAmB,GAAG,EAAE;EAC3C,CAACtB,iBAAiB,CAACuB,WAAW,GAAG;AACnC,CAAC","ignoreList":[]}
|
|
@@ -92,5 +92,41 @@ export const deviceListItems = [{
|
|
|
92
92
|
status: DeviceStatus.DISCONNECTED,
|
|
93
93
|
deviceType: IntegratedDevices.AOJ20A,
|
|
94
94
|
deviceImageUri: deviceImages.aoj20aDeviceImage
|
|
95
|
+
}, {
|
|
96
|
+
title: "devices.cosinuss.cmed-alpha-title",
|
|
97
|
+
subtitle: "devices.cosinuss.cmed-alpha-subtitle",
|
|
98
|
+
status: DeviceStatus.DISCONNECTED,
|
|
99
|
+
deviceType: IntegratedDevices.CMED,
|
|
100
|
+
deviceImageUri: deviceImages.cosinussDeviceImage
|
|
101
|
+
}, {
|
|
102
|
+
title: "devices.lepu.sp80b-title",
|
|
103
|
+
subtitle: "devices.lepu.sp80b-subtitle",
|
|
104
|
+
status: DeviceStatus.DISCONNECTED,
|
|
105
|
+
deviceType: IntegratedDevices.SP80B,
|
|
106
|
+
deviceImageUri: deviceImages.sp80bDeviceImage
|
|
107
|
+
}, {
|
|
108
|
+
title: "devices.lepu.le-s5-title",
|
|
109
|
+
subtitle: "devices.lepu.le-s5-subtitle",
|
|
110
|
+
status: DeviceStatus.DISCONNECTED,
|
|
111
|
+
deviceType: IntegratedDevices.S5,
|
|
112
|
+
deviceImageUri: deviceImages.viatomDeviceSmallImage
|
|
113
|
+
}, {
|
|
114
|
+
title: "devices.taidoc.bgm-title",
|
|
115
|
+
subtitle: "devices.taidoc.bgm-subtitle",
|
|
116
|
+
status: DeviceStatus.DISCONNECTED,
|
|
117
|
+
deviceType: IntegratedDevices.BGM,
|
|
118
|
+
deviceImageUri: deviceImages.bgmDeviceImage
|
|
119
|
+
}, {
|
|
120
|
+
title: "devices.veroval.duo-control-title",
|
|
121
|
+
subtitle: "devices.veroval.duo-control-subtitle",
|
|
122
|
+
status: DeviceStatus.DISCONNECTED,
|
|
123
|
+
deviceType: IntegratedDevices.VEROVAL_DUO_CONTROL,
|
|
124
|
+
deviceImageUri: "https://img.hartmann.info/cdn-cgi/image/width%3D412%2Cheight%3D412%2Cquality%3D95%2Cfit%3Dcrop%2Cgravity%3Dauto/product/44853_4K.jpg"
|
|
125
|
+
}, {
|
|
126
|
+
title: "devices.veroval.ecg-title",
|
|
127
|
+
subtitle: "devices.veroval.ecg-subtitle",
|
|
128
|
+
status: DeviceStatus.DISCONNECTED,
|
|
129
|
+
deviceType: IntegratedDevices.VEROVAL_ECG,
|
|
130
|
+
deviceImageUri: "https://img.hartmann.info/cdn-cgi/image/width%3D412%2Cheight%3D412%2Cquality%3D95%2Cfit%3Dcrop%2Cgravity%3Dauto/product/46955_4K.jpg"
|
|
95
131
|
}];
|
|
96
132
|
//# sourceMappingURL=device-list-items.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["DeviceStatus","IntegratedDevices","deviceImages","deviceListItems","title","subtitle","status","DISCONNECTED","deviceType","BP2","deviceImageUri","viatomWellueArmfitDeviceImage","F4","viatomScaleDeviceImage","SPO2","viatomWellueOxyfitDeviceImage","PC60WF","viatomWellueOxySmartDeviceImage","ALIVE_COR","alivecorDeviceImage","COSINUSS","cosinussDeviceImage","TAIDOC_GLUCOSE","taidocTD4216DeviceImage","GLUCOCHECK","glucocheckDeviceImage","CLEVERTEMP","taidocTD1107DeviceImage","FORATEMP","foraIR20DeviceImage","ANDESFITTEMP","andesfitB33ADeviceImage","BC01","bc401DeviceImage","FORA_SCALE","foraW550DeviceImage","RPM_SCALE","telerpmDeviceImage","AOJ20A","aoj20aDeviceImage"],"sourceRoot":"../../../../../src","sources":["modules/bt-device/constants/device-list-items.ts"],"mappings":";;AAAA,SAASA,YAAY,EAAEC,iBAAiB,QAAQ,8BAAqB;AAGrE,SAASC,YAAY,QAAQ,oBAAiB;AAE9C,OAAO,MAAMC,eAAiC,GAAG,CAC/C;EACEC,KAAK,EAAE,oCAAoC;EAC3CC,QAAQ,EAAE,uCAAuC;EACjDC,MAAM,EAAEN,YAAY,CAACO,YAAY;EACjCC,UAAU,EAAEP,iBAAiB,CAACQ,GAAG;EACjCC,cAAc,EAAER,YAAY,CAACS;AAC/B,CAAC,EACD;EACEP,KAAK,EAAE,8BAA8B;EACrCC,QAAQ,EAAE,iCAAiC;EAC3CC,MAAM,EAAEN,YAAY,CAACO,YAAY;EACjCC,UAAU,EAAEP,iBAAiB,CAACW,EAAE;EAChCF,cAAc,EAAER,YAAY,CAACW;AAC/B,CAAC,EACD;EACET,KAAK,EAAE,oCAAoC;EAC3CC,QAAQ,EAAE,uCAAuC;EACjDC,MAAM,EAAEN,YAAY,CAACO,YAAY;EACjCC,UAAU,EAAEP,iBAAiB,CAAC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AAE,4BAA4B;EACtCC,MAAM,EAAEN,YAAY,CAACO,YAAY;EACjCC,UAAU,EAAEP,iBAAiB,CAAC2B,QAAQ;EACtClB,cAAc,EAAER,YAAY,CAAC2B;AAC/B,CAAC,EACD;EACEzB,KAAK,EAAE,6BAA6B;EACpCC,QAAQ,EAAE,gCAAgC;EAC1CC,MAAM,EAAEN,YAAY,CAACO,YAAY;EACjCC,UAAU,EAAEP,iBAAiB,CAAC6B,YAAY;EAC1CpB,cAAc,EAAER,YAAY,CAAC6B;AAC/B,CAAC,EACD;EACE3B,KAAK,EAAE,4BAA4B;EACnCC,QAAQ,EAAE,+BAA+B;EACzCC,MAAM,EAAEN,YAAY,CAACO,YAAY;EACjCC,UAAU,EAAEP,iBAAiB,CAAC+B,IAAI;EAClCtB,cAAc,EAAER,YAAY,CAAC+B;AAC/B,CAAC,EACD;EACE7B,KAAK,EAAE,yBAAyB;EAChCC,QAAQ,EAAE,4BAA4B;EACtCC,MAAM,EAAEN,YAAY,CAACO,YAAY;EACjCC,UAAU,EAAEP,iBAAiB,CAACiC,UAAU;EACxCxB,cAAc,EAAER,YAAY,CAACiC;AAC/B,CAAC,EACD;EACE/B,KAAK,EAAE,iCAAiC;EACxCC,QAAQ,EAAE,oCAAoC;EAC9CC,MAAM,EAAEN,YAAY,CAACO,YAAY;EACjCC,UAAU,EAAEP,iBAAiB,CAACmC,SAAS;EACvC1B,cAAc,EAAER,YAAY,CAACmC;AAC/B,CAAC,EACD;EACEjC,KAAK,EAAE,mCAAmC;EAC1CC,QAAQ,EAAE,sCAAsC;EAChDC,MAAM,EAAEN,YAAY,CAACO,YAAY;EACjCC,UAAU,EAAEP,iBAAiB,CAACqC,MAAM;EACpC5B,cAAc,EAAER,YAAY,CAACqC;AAC/B,CAAC,CACF","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["DeviceStatus","IntegratedDevices","deviceImages","deviceListItems","title","subtitle","status","DISCONNECTED","deviceType","BP2","deviceImageUri","viatomWellueArmfitDeviceImage","F4","viatomScaleDeviceImage","SPO2","viatomWellueOxyfitDeviceImage","PC60WF","viatomWellueOxySmartDeviceImage","ALIVE_COR","alivecorDeviceImage","COSINUSS","cosinussDeviceImage","TAIDOC_GLUCOSE","taidocTD4216DeviceImage","GLUCOCHECK","glucocheckDeviceImage","CLEVERTEMP","taidocTD1107DeviceImage","FORATEMP","foraIR20DeviceImage","ANDESFITTEMP","andesfitB33ADeviceImage","BC01","bc401DeviceImage","FORA_SCALE","foraW550DeviceImage","RPM_SCALE","telerpmDeviceImage","AOJ20A","aoj20aDeviceImage","CMED","SP80B","sp80bDeviceImage","S5","viatomDeviceSmallImage","BGM","bgmDeviceImage","VEROVAL_DUO_CONTROL","VEROVAL_ECG"],"sourceRoot":"../../../../../src","sources":["modules/bt-device/constants/device-list-items.ts"],"mappings":";;AAAA,SAASA,YAAY,EAAEC,iBAAiB,QAAQ,8BAAqB;AAGrE,SAASC,YAAY,QAAQ,oBAAiB;AAE9C,OAAO,MAAMC,eAAiC,GAAG,CAC/C;EACEC,KAAK,EAAE,oCAAoC;EAC3CC,QAAQ,EAAE,uCAAuC;EACjDC,MAAM,EAAEN,YAAY,CAACO,YAAY;EACjCC,UAAU,EAAEP,iBAAiB,CAACQ,GAAG;EACjCC,cAAc,EAAER,YAAY,CAACS;AAC/B,CAAC,EACD;EACEP,KAAK,EAAE,8BAA8B;EACrCC,QAAQ,EAAE,iCAAiC;EAC3CC,MAAM,EAAEN,YAAY,CAACO,YAAY;EACjCC,UAAU,EAAEP,iBAAiB,CAACW,EAAE;EAChCF,cAAc,EAAER,YAAY,CAACW;AAC/B,CAAC,EACD;EACET,KAAK,EAAE,oCAAoC;EAC3CC,QAAQ,EAAE,uCAAuC;EACjDC,MAAM,EAAEN,YAAY,CAACO,YAAY;EACjCC,UAAU,EAAEP,iBAAiB,CAACa,IAAI;EAClCJ,cAAc,EAAER,YAAY,CAACa;AAC/B,CAAC,EACD;EACEX,KAAK,EAAE,sCAAsC;EAC7CC,QAAQ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Q,EAAE,6BAA6B;EACvCC,MAAM,EAAEN,YAAY,CAACO,YAAY;EACjCC,UAAU,EAAEP,iBAAiB,CAACwC,KAAK;EACnC/B,cAAc,EAAER,YAAY,CAACwC;AAC/B,CAAC,EACD;EACEtC,KAAK,EAAE,0BAA0B;EACjCC,QAAQ,EAAE,6BAA6B;EACvCC,MAAM,EAAEN,YAAY,CAACO,YAAY;EACjCC,UAAU,EAAEP,iBAAiB,CAAC0C,EAAE;EAChCjC,cAAc,EAAER,YAAY,CAAC0C;AAC/B,CAAC,EACD;EACExC,KAAK,EAAE,0BAA0B;EACjCC,QAAQ,EAAE,6BAA6B;EACvCC,MAAM,EAAEN,YAAY,CAACO,YAAY;EACjCC,UAAU,EAAEP,iBAAiB,CAAC4C,GAAG;EACjCnC,cAAc,EAAER,YAAY,CAAC4C;AAC/B,CAAC,EACD;EACE1C,KAAK,EAAE,mCAAmC;EAC1CC,QAAQ,EAAE,sCAAsC;EAChDC,MAAM,EAAEN,YAAY,CAACO,YAAY;EACjCC,UAAU,EAAEP,iBAAiB,CAAC8C,mBAAmB;EACjDrC,cAAc,EACZ;AACJ,CAAC,EACD;EACEN,KAAK,EAAE,2BAA2B;EAClCC,QAAQ,EAAE,8BAA8B;EACxCC,MAAM,EAAEN,YAAY,CAACO,YAAY;EACjCC,UAAU,EAAEP,iBAAiB,CAAC+C,WAAW;EACzCtC,cAAc,EACZ;AACJ,CAAC,CACF","ignoreList":[]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const verovalBpu26Image = "https://cdn.hartmann.info/product/40938_43.jpg";
|
|
4
|
+
const verovalBpw26Image = "https://cdn.hartmann.info/product/40385_43.jpg";
|
|
5
|
+
const bosoMedicusSystemImage = "https://www.boso.de/fileadmin/_processed_/0/b/csm_medicus_system_1019_9ce057ffcc.png";
|
|
6
|
+
const visomatComfortSoftBtImage = "https://www.visomat.de/wp-content/uploads/2023/10/prd_slider_comfort-soft-BT.jpg";
|
|
7
|
+
const viatomBp2Image = "https://static.wixstatic.com/media/34caa4_9f911afc220e4832a17af0b44e515915~mv2.jpg/v1/crop/x_0,y_2,w_380,h_380/fill/w_532,h_532,al_c,lg_1,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/BP2.jpg";
|
|
8
|
+
const viatomBp3Image = "https://static.wixstatic.com/media/c3f028_2bf2ec93f3284fff868b2786a64bc8cc~mv2.jpg/v1/fill/w_2500,h_1666,al_c/c3f028_2bf2ec93f3284fff868b2786a64bc8cc~mv2.jpg";
|
|
9
|
+
const viatomF4Image = "https://static.wixstatic.com/media/5118d8_190c0d815e2445b28baa9ca15cbb71fc~mv2.png/v1/fill/w_608,h_608,al_c,q_95,usm_0.66_1.00_0.01,enc_avif,quality_auto/F4%20body%20scale.png";
|
|
10
|
+
const viatomO2RingImage = "https://static.wixstatic.com/media/5118d8_5424b9d2006a4e918e2f9afc2f038f37~mv2.png/v1/fill/w_492,h_492,al_c,q_95,usm_0.66_1.00_0.01,enc_avif,quality_auto/O2ring_edited_edited_edited.png";
|
|
11
|
+
const viatomEr1Image = "https://static.wixstatic.com/media/c3f028_1cde982861754abaab00abbaae81a697~mv2.png/v1/fill/w_586,h_586,al_c,q_95,usm_0.66_1.00_0.01,enc_avif,quality_auto/ER1-LW.png";
|
|
12
|
+
const viatomAojImage = "https://static.wixstatic.com/media/34caa4_2b929fc2abc847bba39252b6e2a12a93~mv2.jpg/v1/fill/w_540,h_540,al_c,lg_1,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/AOJ.jpg";
|
|
13
|
+
const bundledAssetCredit = "OVOK Mobile SDK bundled image asset: src/modules/bt-device/constants/device-images.ts";
|
|
14
|
+
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";
|
|
15
|
+
const hartmannEcgCredit = "HARTMANN official product image: https://www.hartmann.info/es-es/productos/monitorizaci%C3%B3n/electrocardiograma/veroval%C2%AE-ecg";
|
|
16
|
+
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";
|
|
17
|
+
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";
|
|
18
|
+
const bosoMedicusSystemCredit = "boso official product image: https://www.boso.de/en/products-for-home-users/blood-pressure-instruments/boso-medicus-system";
|
|
19
|
+
const visomatComfortSoftBtCredit = "visomat official product image: https://www.visomat.de/produkte/comfort-soft-bt/";
|
|
20
|
+
const viatomBloodPressureCredit = "Viatom official product image: https://www.viatomtech.com/blood-pressure-monitor";
|
|
21
|
+
const viatomBp3Credit = "Viatom official product image: https://www.viatomtech.com/upper-arm-desk-blood-pressure-monitor";
|
|
22
|
+
const viatomBodyScaleCredit = "Viatom official product image: https://www.viatomtech.com/bodyscale";
|
|
23
|
+
const viatomOximeterCredit = "Viatom official product image: https://www.viatomtech.com/pulse-oximeter";
|
|
24
|
+
const viatomEcgCredit = "Viatom official product image: https://www.viatomtech.com/ecg-ekg-monitor";
|
|
25
|
+
const aojCredit = "Viatom official product image: https://www.viatomtech.com/thermometer";
|
|
26
|
+
const taidocCredit = "TaiDoc official product catalogue: https://taidoc.com/downloads/";
|
|
27
|
+
const foraCredit = "FORA official support materials: https://foracare.com/support/";
|
|
28
|
+
const cosinussCredit = "cosinuss° official product page: https://www.cosinuss.com/en/products/in-ear-sensors/one/";
|
|
29
|
+
const alivecorCredit = "AliveCor official KardiaMobile product page: https://www.alivecor.com/kardiamobile";
|
|
30
|
+
const contecCredit = "Contec official BC401 product page: https://contechealth.com/collections/hot-sales/products/contec-bc401-handheld-urine-analyzer-11-parameter-600pcs-test-strip-bluetooth";
|
|
31
|
+
const transtekCredit = "Transtek official product page: https://www.transtekmed.com/product/transtek-body-scale-gbs-2012-b1";
|
|
32
|
+
export { alivecorCredit, aojCredit, bosoMedicusSystemCredit, bosoMedicusSystemImage, bundledAssetCredit, contecCredit, cosinussCredit, foraCredit, hartmannBpu26Credit, hartmannBpw26Credit, hartmannDuoControlCredit, hartmannEcgCredit, taidocCredit, transtekCredit, viatomAojImage, viatomBodyScaleCredit, viatomBp2Image, viatomBp3Credit, viatomBp3Image, viatomBloodPressureCredit, viatomEcgCredit, viatomEr1Image, viatomF4Image, viatomO2RingImage, viatomOximeterCredit, verovalBpu26Image, verovalBpw26Image, visomatComfortSoftBtCredit, visomatComfortSoftBtImage };
|
|
33
|
+
//# sourceMappingURL=supported-device-catalog-assets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["verovalBpu26Image","verovalBpw26Image","bosoMedicusSystemImage","visomatComfortSoftBtImage","viatomBp2Image","viatomBp3Image","viatomF4Image","viatomO2RingImage","viatomEr1Image","viatomAojImage","bundledAssetCredit","hartmannDuoControlCredit","hartmannEcgCredit","hartmannBpu26Credit","hartmannBpw26Credit","bosoMedicusSystemCredit","visomatComfortSoftBtCredit","viatomBloodPressureCredit","viatomBp3Credit","viatomBodyScaleCredit","viatomOximeterCredit","viatomEcgCredit","aojCredit","taidocCredit","foraCredit","cosinussCredit","alivecorCredit","contecCredit","transtekCredit"],"sourceRoot":"../../../../../src","sources":["modules/bt-device/constants/supported-device-catalog-assets.ts"],"mappings":";;AAAA,MAAMA,iBAAiB,GAAG,gDAAgD;AAE1E,MAAMC,iBAAiB,GAAG,gDAAgD;AAE1E,MAAMC,sBAAsB,GAC1B,sFAAsF;AAExF,MAAMC,yBAAyB,GAC7B,kFAAkF;AAEpF,MAAMC,cAAc,GAClB,iMAAiM;AAEnM,MAAMC,cAAc,GAClB,+JAA+J;AAEjK,MAAMC,aAAa,GACjB,iLAAiL;AAEnL,MAAMC,iBAAiB,GACrB,2LAA2L;AAE7L,MAAMC,cAA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
3
|
+
import { LEPU_DEVICE_NAMES } from "../../bt-management/services/devices/lepu/lepu.device-names.js";
|
|
4
|
+
import { deviceImages } from "./device-images.js";
|
|
5
|
+
import { alivecorCredit, bundledAssetCredit, cosinussCredit, foraCredit, taidocCredit, transtekCredit, viatomBodyScaleCredit, viatomBp3Credit, viatomBp3Image, viatomEcgCredit, viatomEr1Image, viatomF4Image, viatomO2RingImage, viatomOximeterCredit } from "./supported-device-catalog-assets.js";
|
|
6
|
+
const modelKey = (model, index) => `devices.catalog.lepu-models.${index}-${model.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "")}`;
|
|
7
|
+
const modelImage = model => {
|
|
8
|
+
if (/^BP/i.test(model)) {
|
|
9
|
+
return viatomBp3Image;
|
|
10
|
+
}
|
|
11
|
+
if (/^(ER|PM)/i.test(model)) {
|
|
12
|
+
return viatomEr1Image;
|
|
13
|
+
}
|
|
14
|
+
if (/(F3|F4|Lescale|scale)/i.test(model)) {
|
|
15
|
+
return viatomF4Image;
|
|
16
|
+
}
|
|
17
|
+
return viatomO2RingImage;
|
|
18
|
+
};
|
|
19
|
+
const modelCredit = model => {
|
|
20
|
+
if (/^BP/i.test(model)) {
|
|
21
|
+
return viatomBp3Credit;
|
|
22
|
+
}
|
|
23
|
+
if (/^(ER|PM)/i.test(model)) {
|
|
24
|
+
return viatomEcgCredit;
|
|
25
|
+
}
|
|
26
|
+
if (/(F3|F4|Lescale|scale)/i.test(model)) {
|
|
27
|
+
return viatomBodyScaleCredit;
|
|
28
|
+
}
|
|
29
|
+
return viatomOximeterCredit;
|
|
30
|
+
};
|
|
31
|
+
const catalogEntry = (name, nameKey, manufacturer, manufacturerKey, logo, creditsForImage) => ({
|
|
32
|
+
name,
|
|
33
|
+
nameKey,
|
|
34
|
+
manufacturer,
|
|
35
|
+
manufacturerKey,
|
|
36
|
+
logo,
|
|
37
|
+
creditsForImage
|
|
38
|
+
});
|
|
39
|
+
const lepuViatomModelCatalog = LEPU_DEVICE_NAMES.map((model, index) => catalogEntry(model, modelKey(model, index), "Lepu Medical / Viatom", "devices.catalog.manufacturers.lepu-viatom", modelImage(model), modelCredit(model)));
|
|
40
|
+
export const additionalSupportedDevices = [catalogEntry("TaiDoc TD4216", "devices.catalog.taidoc-td4216.name", "TaiDoc Technology Corporation", "devices.catalog.manufacturers.taidoc", deviceImages.taidocTD4216DeviceImage, taidocCredit), catalogEntry("GlucoCheck Gold", "devices.catalog.glucocheck-gold.name", "GlucoCheck", "devices.catalog.manufacturers.glucocheck", deviceImages.glucocheckDeviceImage, bundledAssetCredit), catalogEntry("Andesfit TEMP", "devices.catalog.andesfit-temp.name", "Andesfit", "devices.catalog.manufacturers.andesfit", deviceImages.andesfitB33ADeviceImage, bundledAssetCredit), catalogEntry("FORA IR20", "devices.catalog.fora-ir20.name", "ForaCare", "devices.catalog.manufacturers.fora", deviceImages.foraIR20DeviceImage, foraCredit), catalogEntry("cosinuss° Two", "devices.catalog.cosinuss-two.name", "cosinuss°", "devices.catalog.manufacturers.cosinuss", deviceImages.cosinussDeviceImage, cosinussCredit), catalogEntry("FORA W550", "devices.catalog.fora-w550.name", "ForaCare", "devices.catalog.manufacturers.fora", deviceImages.foraW550DeviceImage, foraCredit), catalogEntry("Transtek GBS-2012-B", "devices.catalog.transtek-gbs-2012-b.name", "Transtek Electronics", "devices.catalog.manufacturers.transtek", deviceImages.telerpmDeviceImage, transtekCredit), catalogEntry("TaiDoc TD1107", "devices.catalog.taidoc-td1107.name", "TaiDoc Technology Corporation", "devices.catalog.manufacturers.taidoc", deviceImages.taidocTD1107DeviceImage, taidocCredit), catalogEntry("cosinuss° c-med° alpha", "devices.catalog.cosinuss-cmed-alpha.name", "cosinuss°", "devices.catalog.manufacturers.cosinuss", deviceImages.cosinussDeviceImage, cosinussCredit), catalogEntry("Pulmo80B", "devices.catalog.pulmo80b.name", "Lepu Medical", "devices.catalog.manufacturers.lepu", deviceImages.sp80bDeviceImage, bundledAssetCredit), catalogEntry("Lepu Le S5", "devices.catalog.lepu-le-s5.name", "Lepu Medical", "devices.catalog.manufacturers.lepu", deviceImages.viatomDeviceSmallImage, bundledAssetCredit), catalogEntry("AliveCor KardiaMobile", "devices.catalog.alivecor-kardiamobile.name", "AliveCor", "devices.catalog.manufacturers.alivecor", deviceImages.alivecorDeviceImage, alivecorCredit), catalogEntry("TeleBGM Gen1 BLE", "devices.catalog.telebgm-gen1.name", "TaiDoc Technology Corporation", "devices.catalog.manufacturers.taidoc", deviceImages.bgmDeviceImage, taidocCredit), ...lepuViatomModelCatalog];
|
|
41
|
+
//# sourceMappingURL=supported-device-catalog-entries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["LEPU_DEVICE_NAMES","deviceImages","alivecorCredit","bundledAssetCredit","cosinussCredit","foraCredit","taidocCredit","transtekCredit","viatomBodyScaleCredit","viatomBp3Credit","viatomBp3Image","viatomEcgCredit","viatomEr1Image","viatomF4Image","viatomO2RingImage","viatomOximeterCredit","modelKey","model","index","toLowerCase","replace","modelImage","test","modelCredit","catalogEntry","name","nameKey","manufacturer","manufacturerKey","logo","creditsForImage","lepuViatomModelCatalog","map","additionalSupportedDevices","taidocTD4216DeviceImage","glucocheckDeviceImage","andesfitB33ADeviceImage","foraIR20DeviceImage","cosinussDeviceImage","foraW550DeviceImage","telerpmDeviceImage","taidocTD1107DeviceImage","sp80bDeviceImage","viatomDeviceSmallImage","alivecorDeviceImage","bgmDeviceImage"],"sourceRoot":"../../../../../src","sources":["modules/bt-device/constants/supported-device-catalog-entries.ts"],"mappings":";;AAEA,SAASA,iBAAiB,QAAQ,gEAA6D;AAE/F,SAASC,YAAY,QAAQ,oBAAiB;AAC9C,SACEC,cAAc,EACdC,kBAAkB,EAClBC,cAAc,EACdC,UAAU,EACVC,YAAY,EACZC,cAAc,EACdC,qBAAqB,EACrBC,eAAe,EACfC,cAAc,EACdC,eAAe,EACfC,cAAc,EACdC,aAAa,EACbC,iBAAiB,EACjBC,oBAAoB,QACf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AgB,EAC7BvC,kBACF,CAAC,EACDqB,YAAY,CACV,YAAY,EACZ,iCAAiC,EACjC,cAAc,EACd,oCAAoC,EACpCvB,YAAY,CAAC0C,sBAAsB,EACnCxC,kBACF,CAAC,EACDqB,YAAY,CACV,uBAAuB,EACvB,4CAA4C,EAC5C,UAAU,EACV,wCAAwC,EACxCvB,YAAY,CAAC2C,mBAAmB,EAChC1C,cACF,CAAC,EACDsB,YAAY,CACV,kBAAkB,EAClB,mCAAmC,EACnC,+BAA+B,EAC/B,sCAAsC,EACtCvB,YAAY,CAAC4C,cAAc,EAC3BvC,YACF,CAAC,EACD,GAAGyB,sBAAsB,CACoB","ignoreList":[]}
|
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
/* eslint-disable max-lines */
|
|
4
|
+
import { MeasurementTypeKey } from "@ovok/core";
|
|
5
|
+
import { aoj20aThermometer } from "../../bt-management/services/devices/aoj/aoj.thermometers.js";
|
|
6
|
+
import { bosoMedicusMonitor } from "../../bt-management/services/devices/boso/boso.medicus.js";
|
|
7
|
+
import { standardBloodPressureDevice, standardHeartRateDevice, standardPulseOximeterDevice, standardThermometerDevice, standardWeightScaleDevice } from "../../bt-management/services/devices/standard-gatt/standard-gatt.devices.js";
|
|
8
|
+
import { visomatComfortSoftBtMonitor } from "../../bt-management/services/devices/uebe/visomat.comfort-soft-bt.js";
|
|
9
|
+
import { bpu26Monitor, bpw26Monitor } from "../../bt-management/services/devices/veroval/veroval.bp-monitors.js";
|
|
10
|
+
import { viatomBpMonitor } from "../../bt-management/services/devices/viatom/viatom.bp-monitors.js";
|
|
11
|
+
import { er1Recorder, er2Recorder, er3Recorder } from "../../bt-management/services/devices/viatom/viatom.ecg-recorders.js";
|
|
12
|
+
import { lepodMonitor } from "../../bt-management/services/devices/viatom/viatom.lepod.js";
|
|
13
|
+
import { viatomOximeter } from "../../bt-management/services/devices/viatom/viatom.oximeters.js";
|
|
14
|
+
import { IntegratedDevices } from "../../bt-management/types/integrated-devices.js";
|
|
3
15
|
import { deviceImages } from "./device-images.js";
|
|
16
|
+
import { DEVICE_INSTRUCTION_PDFS } from "./device-instruction-pdfs.js";
|
|
17
|
+
import { aojCredit, bosoMedicusSystemCredit, bosoMedicusSystemImage, contecCredit, hartmannBpu26Credit, hartmannBpw26Credit, hartmannDuoControlCredit, hartmannEcgCredit, viatomAojImage, viatomBodyScaleCredit, viatomBp2Image, viatomBp3Credit, viatomBp3Image, viatomBloodPressureCredit, viatomEcgCredit, viatomEr1Image, viatomF4Image, viatomO2RingImage, viatomOximeterCredit, verovalBpu26Image, verovalBpw26Image, visomatComfortSoftBtCredit, visomatComfortSoftBtImage } from "./supported-device-catalog-assets.js";
|
|
18
|
+
import { additionalSupportedDevices } from "./supported-device-catalog-entries.js";
|
|
4
19
|
const verovalDuoControlImage = "https://img.hartmann.info/cdn-cgi/image/width%3D412%2Cheight%3D412%2Cquality%3D95%2Cfit%3Dcrop%2Cgravity%3Dauto/product/44853_4K.jpg";
|
|
5
20
|
const verovalEcgImage = "https://img.hartmann.info/cdn-cgi/image/width%3D412%2Cheight%3D412%2Cquality%3D95%2Cfit%3Dcrop%2Cgravity%3Dauto/product/46955_4K.jpg";
|
|
6
|
-
const verovalBpu26Image = "https://cdn.hartmann.info/product/40938_43.jpg";
|
|
7
|
-
const verovalBpw26Image = "https://cdn.hartmann.info/product/40385_43.jpg";
|
|
8
|
-
const bosoMedicusSystemImage = "https://www.boso.de/fileadmin/_processed_/0/b/csm_medicus_system_1019_9ce057ffcc.png";
|
|
9
|
-
const visomatComfortSoftBtImage = "https://www.visomat.de/wp-content/uploads/2023/10/prd_slider_comfort-soft-BT.jpg";
|
|
10
21
|
|
|
11
22
|
// Official Bluetooth SIG combination mark downloaded from the Bluetooth media kit.
|
|
12
23
|
const bluetoothSigLogo = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0ib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TgsMzguNDIsNi45OCw3Mi4xNnMxMi44Miw0Mi41NywzMS40MSw0Mi41N2gwWiIvPgogIDwvZz4KPC9zdmc+";
|
|
13
|
-
const bundledAssetCredit = "OVOK Mobile SDK bundled image asset: src/modules/bt-device/constants/device-images.ts";
|
|
14
24
|
const bluetoothSigAssetCredit = "Bluetooth SIG official brand assets: https://www.bluetooth.com/media/";
|
|
15
|
-
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";
|
|
16
|
-
const hartmannEcgCredit = "HARTMANN official product image: https://www.hartmann.info/es-es/productos/monitorizaci%C3%B3n/electrocardiograma/veroval%C2%AE-ecg";
|
|
17
|
-
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";
|
|
18
|
-
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";
|
|
19
|
-
const bosoMedicusSystemCredit = "boso official product image: https://www.boso.de/en/products-for-home-users/blood-pressure-instruments/boso-medicus-system";
|
|
20
|
-
const visomatComfortSoftBtCredit = "visomat official product image: https://www.visomat.de/produkte/comfort-soft-bt/";
|
|
21
25
|
|
|
22
26
|
/**
|
|
23
27
|
* Concrete devices and device families supported by the Bluetooth module.
|
|
@@ -27,34 +31,34 @@ const visomatComfortSoftBtCredit = "visomat official product image: https://www.
|
|
|
27
31
|
* Every entry has an image value. Existing product assets are reused where available, while
|
|
28
32
|
* official manufacturer and standards-organization images cover the remaining entries.
|
|
29
33
|
*/
|
|
30
|
-
|
|
34
|
+
const Devices = [{
|
|
31
35
|
name: "Viatom BP2",
|
|
32
36
|
nameKey: "devices.catalog.viatom-bp2.name",
|
|
33
37
|
manufacturer: "Viatom (Lepu Medical)",
|
|
34
38
|
manufacturerKey: "devices.catalog.manufacturers.viatom",
|
|
35
|
-
logo:
|
|
36
|
-
creditsForImage:
|
|
39
|
+
logo: viatomBp2Image,
|
|
40
|
+
creditsForImage: viatomBloodPressureCredit
|
|
37
41
|
}, {
|
|
38
42
|
name: "Viatom F4 / Lescale",
|
|
39
43
|
nameKey: "devices.catalog.viatom-f4-lescale.name",
|
|
40
44
|
manufacturer: "Viatom (Lepu Medical)",
|
|
41
45
|
manufacturerKey: "devices.catalog.manufacturers.viatom",
|
|
42
|
-
logo:
|
|
43
|
-
creditsForImage:
|
|
46
|
+
logo: viatomF4Image,
|
|
47
|
+
creditsForImage: viatomBodyScaleCredit
|
|
44
48
|
}, {
|
|
45
49
|
name: "Viatom OxySmart / PC60WF",
|
|
46
50
|
nameKey: "devices.catalog.viatom-oxysmart-pc60wf.name",
|
|
47
51
|
manufacturer: "Viatom (Lepu Medical)",
|
|
48
52
|
manufacturerKey: "devices.catalog.manufacturers.viatom",
|
|
49
|
-
logo:
|
|
50
|
-
creditsForImage:
|
|
53
|
+
logo: viatomO2RingImage,
|
|
54
|
+
creditsForImage: viatomOximeterCredit
|
|
51
55
|
}, {
|
|
52
56
|
name: "Contec BC401 / BC01",
|
|
53
57
|
nameKey: "devices.catalog.contec-bc401-bc01.name",
|
|
54
58
|
manufacturer: "Contec Medical Systems",
|
|
55
59
|
manufacturerKey: "devices.catalog.manufacturers.contec",
|
|
56
60
|
logo: deviceImages.bc401DeviceImage,
|
|
57
|
-
creditsForImage:
|
|
61
|
+
creditsForImage: contecCredit
|
|
58
62
|
}, {
|
|
59
63
|
name: "Veroval duo control",
|
|
60
64
|
nameKey: "devices.catalog.veroval-duo-control.name",
|
|
@@ -102,43 +106,43 @@ export const Devices = [{
|
|
|
102
106
|
nameKey: "devices.catalog.aoj-20a.name",
|
|
103
107
|
manufacturer: "AOJ Medical",
|
|
104
108
|
manufacturerKey: "devices.catalog.manufacturers.aoj",
|
|
105
|
-
logo:
|
|
106
|
-
creditsForImage:
|
|
109
|
+
logo: viatomAojImage,
|
|
110
|
+
creditsForImage: aojCredit
|
|
107
111
|
}, {
|
|
108
112
|
name: "Viatom BP2A / BP2T / BP2W",
|
|
109
113
|
nameKey: "devices.catalog.viatom-bp2-family.name",
|
|
110
114
|
manufacturer: "Viatom (Lepu Medical)",
|
|
111
115
|
manufacturerKey: "devices.catalog.manufacturers.viatom",
|
|
112
|
-
logo:
|
|
113
|
-
creditsForImage:
|
|
116
|
+
logo: viatomBp2Image,
|
|
117
|
+
creditsForImage: viatomBloodPressureCredit
|
|
114
118
|
}, {
|
|
115
119
|
name: "Viatom BP3 series",
|
|
116
120
|
nameKey: "devices.catalog.viatom-bp3-series.name",
|
|
117
121
|
manufacturer: "Viatom (Lepu Medical)",
|
|
118
122
|
manufacturerKey: "devices.catalog.manufacturers.viatom",
|
|
119
|
-
logo:
|
|
120
|
-
creditsForImage:
|
|
123
|
+
logo: viatomBp3Image,
|
|
124
|
+
creditsForImage: viatomBp3Credit
|
|
121
125
|
}, {
|
|
122
126
|
name: "Viatom O2Ring / Oxyfit / KidsO2 / BabyO2",
|
|
123
127
|
nameKey: "devices.catalog.viatom-oximeters.name",
|
|
124
128
|
manufacturer: "Viatom (Lepu Medical)",
|
|
125
129
|
manufacturerKey: "devices.catalog.manufacturers.viatom",
|
|
126
|
-
logo:
|
|
127
|
-
creditsForImage:
|
|
130
|
+
logo: viatomO2RingImage,
|
|
131
|
+
creditsForImage: viatomOximeterCredit
|
|
128
132
|
}, {
|
|
129
133
|
name: "Viatom ER1 / ER2 / ER3",
|
|
130
134
|
nameKey: "devices.catalog.viatom-er-family.name",
|
|
131
135
|
manufacturer: "Viatom (Lepu Medical)",
|
|
132
136
|
manufacturerKey: "devices.catalog.manufacturers.viatom",
|
|
133
|
-
logo:
|
|
134
|
-
creditsForImage:
|
|
137
|
+
logo: viatomEr1Image,
|
|
138
|
+
creditsForImage: viatomEcgCredit
|
|
135
139
|
}, {
|
|
136
140
|
name: "Viatom Lepod / LepodPro",
|
|
137
141
|
nameKey: "devices.catalog.viatom-lepod-family.name",
|
|
138
142
|
manufacturer: "Viatom (Lepu Medical)",
|
|
139
143
|
manufacturerKey: "devices.catalog.manufacturers.viatom",
|
|
140
|
-
logo:
|
|
141
|
-
creditsForImage:
|
|
144
|
+
logo: viatomEr1Image,
|
|
145
|
+
creditsForImage: viatomEcgCredit
|
|
142
146
|
}, {
|
|
143
147
|
name: "Bluetooth SIG blood-pressure devices",
|
|
144
148
|
nameKey: "devices.catalog.bluetooth-sig.blood-pressure.name",
|
|
@@ -174,5 +178,157 @@ export const Devices = [{
|
|
|
174
178
|
manufacturerKey: "devices.catalog.manufacturers.any-compliant",
|
|
175
179
|
logo: bluetoothSigLogo,
|
|
176
180
|
creditsForImage: bluetoothSigAssetCredit
|
|
177
|
-
}];
|
|
181
|
+
}, ...additionalSupportedDevices];
|
|
182
|
+
const customId = name => `catalog-${name.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "")}`;
|
|
183
|
+
const definitionsFor = name => {
|
|
184
|
+
if (name === "Viatom BP2") {
|
|
185
|
+
return {
|
|
186
|
+
acceptedDevices: [IntegratedDevices.BP2],
|
|
187
|
+
measurementTypes: [MeasurementTypeKey.bloodPressure]
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
if (name.includes("BP2A") || name.includes("BP2T") || name.includes("BP2W")) {
|
|
191
|
+
return {
|
|
192
|
+
acceptedDevices: ["BP2A", "BP2T", "BP2W"].map(model => viatomBpMonitor(model, {})),
|
|
193
|
+
measurementTypes: [MeasurementTypeKey.bloodPressure]
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
if (name === "Viatom BP3 series" || /^BP3/i.test(name)) {
|
|
197
|
+
return {
|
|
198
|
+
acceptedDevices: [viatomBpMonitor(name.replace(" series", ""), {})],
|
|
199
|
+
measurementTypes: [MeasurementTypeKey.bloodPressure]
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
if (name.includes("ER1")) {
|
|
203
|
+
return {
|
|
204
|
+
acceptedDevices: [er1Recorder(name.split(" /")[0], {})],
|
|
205
|
+
measurementTypes: [MeasurementTypeKey.heartRate, MeasurementTypeKey.ecg]
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
if (name.includes("ER2")) {
|
|
209
|
+
return {
|
|
210
|
+
acceptedDevices: [er2Recorder(name.split(" /")[0], {})],
|
|
211
|
+
measurementTypes: [MeasurementTypeKey.heartRate, MeasurementTypeKey.ecg]
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
if (name.includes("ER3")) {
|
|
215
|
+
return {
|
|
216
|
+
acceptedDevices: [er3Recorder(name.split(" /")[0], {})],
|
|
217
|
+
measurementTypes: [MeasurementTypeKey.heartRate, MeasurementTypeKey.ecg]
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
if (name === "Viatom Lepod / LepodPro") {
|
|
221
|
+
return {
|
|
222
|
+
acceptedDevices: [lepodMonitor("Lepod", {})],
|
|
223
|
+
measurementTypes: [MeasurementTypeKey.heartRate, MeasurementTypeKey.ecg, MeasurementTypeKey.bloodOxygenPulseRate, MeasurementTypeKey.respiratoryRate, MeasurementTypeKey.temperature]
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
if (name === "Veroval compact+ BPU26") {
|
|
227
|
+
return {
|
|
228
|
+
acceptedDevices: [bpu26Monitor({})],
|
|
229
|
+
measurementTypes: [MeasurementTypeKey.bloodPressure]
|
|
230
|
+
};
|
|
231
|
+
}
|
|
232
|
+
if (name === "Veroval compact+ BPW26") {
|
|
233
|
+
return {
|
|
234
|
+
acceptedDevices: [bpw26Monitor({})],
|
|
235
|
+
measurementTypes: [MeasurementTypeKey.bloodPressure]
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
if (name === "boso medicus system") {
|
|
239
|
+
return {
|
|
240
|
+
acceptedDevices: [bosoMedicusMonitor({})],
|
|
241
|
+
measurementTypes: [MeasurementTypeKey.bloodPressure]
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
if (name === "visomat comfort soft BT") {
|
|
245
|
+
return {
|
|
246
|
+
acceptedDevices: [visomatComfortSoftBtMonitor({})],
|
|
247
|
+
measurementTypes: [MeasurementTypeKey.bloodPressure]
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
if (name === "AOJ-20A") {
|
|
251
|
+
return {
|
|
252
|
+
acceptedDevices: [aoj20aThermometer({})],
|
|
253
|
+
measurementTypes: [MeasurementTypeKey.temperature]
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
if (name.includes("O2Ring") || name.includes("Oxyfit") || name.includes("KidsO2") || name.includes("BabyO2")) {
|
|
257
|
+
return {
|
|
258
|
+
acceptedDevices: [viatomOximeter(name.split(" /")[0], {})],
|
|
259
|
+
measurementTypes: [MeasurementTypeKey.bloodOxygenPulseRate]
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
if (name.includes("blood-pressure")) {
|
|
263
|
+
return {
|
|
264
|
+
acceptedDevices: [standardBloodPressureDevice({})],
|
|
265
|
+
measurementTypes: [MeasurementTypeKey.bloodPressure]
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
if (name.includes("thermometers")) {
|
|
269
|
+
return {
|
|
270
|
+
acceptedDevices: [standardThermometerDevice({})],
|
|
271
|
+
measurementTypes: [MeasurementTypeKey.temperature]
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
if (name.includes("weight scales")) {
|
|
275
|
+
return {
|
|
276
|
+
acceptedDevices: [standardWeightScaleDevice({})],
|
|
277
|
+
measurementTypes: [MeasurementTypeKey.bodyWeight]
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
if (name.includes("pulse oximeters")) {
|
|
281
|
+
return {
|
|
282
|
+
acceptedDevices: [standardPulseOximeterDevice({})],
|
|
283
|
+
measurementTypes: [MeasurementTypeKey.bloodOxygenPulseRate]
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
if (name.includes("heart-rate")) {
|
|
287
|
+
return {
|
|
288
|
+
acceptedDevices: [standardHeartRateDevice({})],
|
|
289
|
+
measurementTypes: [MeasurementTypeKey.heartRate]
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
const builtIn = {
|
|
293
|
+
"Viatom F4 / Lescale": IntegratedDevices.F4,
|
|
294
|
+
"Viatom OxySmart / PC60WF": IntegratedDevices.PC60WF,
|
|
295
|
+
"Contec BC401 / BC01": IntegratedDevices.BC01,
|
|
296
|
+
"TaiDoc TD4216": IntegratedDevices.TAIDOC_GLUCOSE,
|
|
297
|
+
"GlucoCheck Gold": IntegratedDevices.GLUCOCHECK,
|
|
298
|
+
"TeleBGM Gen1 BLE": IntegratedDevices.BGM,
|
|
299
|
+
"Veroval duo control": IntegratedDevices.VEROVAL_DUO_CONTROL,
|
|
300
|
+
"Veroval ECG": IntegratedDevices.VEROVAL_ECG
|
|
301
|
+
};
|
|
302
|
+
const integrated = builtIn[name];
|
|
303
|
+
const measurementTypes = {
|
|
304
|
+
[IntegratedDevices.F4]: [MeasurementTypeKey.bodyWeight],
|
|
305
|
+
[IntegratedDevices.PC60WF]: [MeasurementTypeKey.bloodOxygenPulseRate],
|
|
306
|
+
[IntegratedDevices.BC01]: [MeasurementTypeKey.uricAcid],
|
|
307
|
+
[IntegratedDevices.TAIDOC_GLUCOSE]: [MeasurementTypeKey.bloodGlucose],
|
|
308
|
+
[IntegratedDevices.GLUCOCHECK]: [MeasurementTypeKey.bloodGlucose],
|
|
309
|
+
[IntegratedDevices.BGM]: [MeasurementTypeKey.bloodGlucose],
|
|
310
|
+
[IntegratedDevices.VEROVAL_DUO_CONTROL]: [MeasurementTypeKey.bloodPressure],
|
|
311
|
+
[IntegratedDevices.VEROVAL_ECG]: [MeasurementTypeKey.ecg]
|
|
312
|
+
};
|
|
313
|
+
return integrated ? {
|
|
314
|
+
acceptedDevices: [integrated],
|
|
315
|
+
measurementTypes: measurementTypes[integrated] ?? [],
|
|
316
|
+
manualUrl: DEVICE_INSTRUCTION_PDFS[integrated] || undefined
|
|
317
|
+
} : {
|
|
318
|
+
acceptedDevices: [],
|
|
319
|
+
measurementTypes: []
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
|
|
323
|
+
/** One joined catalog for apps that need names, artwork and ready-made accept-list entries. */
|
|
324
|
+
const supportedDevices = Devices.map(device => {
|
|
325
|
+
const definitions = definitionsFor(device.name);
|
|
326
|
+
return {
|
|
327
|
+
...device,
|
|
328
|
+
id: customId(device.name),
|
|
329
|
+
...definitions
|
|
330
|
+
};
|
|
331
|
+
});
|
|
332
|
+
const SUPPORTED_DEVICES = supportedDevices;
|
|
333
|
+
export { Devices, SUPPORTED_DEVICES, supportedDevices };
|
|
178
334
|
//# sourceMappingURL=supported-devices.js.map
|