@ovok/native 1.16.1-rc.1 → 1.16.1-rc.2
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/hooks/use-accept-invite-link.js +6 -12
- package/lib/commonjs/modules/auth/hooks/use-accept-invite-link.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-delete-account.js +5 -8
- package/lib/commonjs/modules/auth/hooks/use-delete-account.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-session.js +150 -28
- package/lib/commonjs/modules/auth/hooks/use-session.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-sign-in.js +5 -23
- package/lib/commonjs/modules/auth/hooks/use-sign-in.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-sign-out.js +2 -2
- package/lib/commonjs/modules/auth/hooks/use-sign-out.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-social-sign-in.js +4 -9
- package/lib/commonjs/modules/auth/hooks/use-social-sign-in.js.map +1 -1
- package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js +25 -11
- package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/register/components/form/register-form-provider.js +19 -20
- package/lib/commonjs/modules/auth/register/components/form/register-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js +3 -3
- package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/session/logout-session.js +1 -3
- package/lib/commonjs/modules/auth/session/logout-session.js.map +1 -1
- package/lib/commonjs/modules/auth/session/session-snapshot.js +33 -0
- package/lib/commonjs/modules/auth/session/session-snapshot.js.map +1 -0
- package/lib/commonjs/modules/auth/sign-in/components/form/login-form-provider.js +11 -6
- package/lib/commonjs/modules/auth/sign-in/components/form/login-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js +8 -10
- 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 +3 -5
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
- package/lib/commonjs/modules/auth/utils/sign-in-error.js +7 -7
- package/lib/commonjs/modules/auth/utils/sign-in-error.js.map +1 -1
- package/lib/commonjs/modules/background-sync/android-background-sync.js +6 -0
- package/lib/commonjs/modules/background-sync/android-background-sync.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/device-model.js +2 -2
- package/lib/commonjs/modules/bt-device/constants/device-model.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/supported-devices.js +9 -9
- package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
- package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js +81 -81
- package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js.map +1 -1
- package/lib/commonjs/modules/bt-management/constants/measurement-field-catalog.js +12 -12
- package/lib/commonjs/modules/bt-management/constants/measurement-field-catalog.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/a606/a606.main-services.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/a606/a606.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.device.js +4 -4
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js +2 -2
- 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.device.js +2 -2
- 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.main-services.js +5 -5
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js +12 -12
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.files.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.files.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.main-services.js +8 -8
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.main-services.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.sequencer.js +15 -15
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/f4/f4.main-services.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/f4/f4.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/live-oximeter.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/live-oximeter.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/spo/pc60fw.monitor.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/spo/pc60fw.monitor.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/spo/spo2.main-services.js +5 -5
- package/lib/commonjs/modules/bt-management/services/devices/spo/spo2.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js +6 -6
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.records.js +6 -6
- package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.records.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/tmb/tmb.bp-handler.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/tmb/tmb.bp-handler.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.records.js +4 -4
- package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.records.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.command-sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.command-sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js +4 -4
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-record.js +6 -6
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-record.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/lpm311.protocol.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/lpm311.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp3-files.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp3-files.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +2 -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 +5 -5
- 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 +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js +7 -7
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.vtm20f.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.vtm20f.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.sequencer.js +4 -4
- package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/utils/convert-ecg-diagnostic-flag.js +7 -7
- package/lib/commonjs/modules/bt-management/utils/convert-ecg-diagnostic-flag.js.map +1 -1
- package/lib/commonjs/modules/cms/cms-locale.js +13 -0
- package/lib/commonjs/modules/cms/cms-locale.js.map +1 -0
- package/lib/commonjs/modules/cms/hooks/use-cms-content.js +35 -14
- package/lib/commonjs/modules/cms/hooks/use-cms-content.js.map +1 -1
- package/lib/commonjs/modules/cms/hooks/use-cms-locale.js +2 -6
- package/lib/commonjs/modules/cms/hooks/use-cms-locale.js.map +1 -1
- package/lib/commonjs/modules/cms/hooks/use-cms-translations.js +11 -23
- package/lib/commonjs/modules/cms/hooks/use-cms-translations.js.map +1 -1
- package/lib/commonjs/modules/cms/merge-cms-translations.js.map +1 -1
- package/lib/commonjs/modules/data-sync/hooks/use-health-sync-runner.js +30 -22
- package/lib/commonjs/modules/data-sync/hooks/use-health-sync-runner.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/base-health-sync-service.js +4 -8
- package/lib/commonjs/modules/data-sync/services/base-health-sync-service.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/managers/data-processor.js +4 -4
- package/lib/commonjs/modules/data-sync/services/managers/data-processor.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/managers/instance-manager.js +9 -5
- package/lib/commonjs/modules/data-sync/services/managers/instance-manager.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/managers/storage-manager.js +36 -39
- package/lib/commonjs/modules/data-sync/services/managers/storage-manager.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/managers/sync-state-manager.js.map +1 -1
- package/lib/commonjs/modules/data-sync/types/health-sync-keys.js +3 -3
- package/lib/commonjs/modules/data-sync/types/health-sync-keys.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js +3 -3
- package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js +3 -3
- package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/get-latest-observation-dates-by-code.js +1 -1
- package/lib/commonjs/modules/data-sync/utils/get-latest-observation-dates-by-code.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/retry-save.js +4 -5
- package/lib/commonjs/modules/data-sync/utils/retry-save.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/session-owner.js +18 -0
- package/lib/commonjs/modules/data-sync/utils/session-owner.js.map +1 -0
- package/lib/commonjs/modules/data-sync/utils/to-core-health-observations.js +2 -2
- package/lib/commonjs/modules/data-sync/utils/to-core-health-observations.js.map +1 -1
- package/lib/commonjs/modules/image/components/optimized-image.js +3 -3
- package/lib/commonjs/modules/image/components/optimized-image.js.map +1 -1
- package/lib/commonjs/modules/next/bluetooth/channel.js +89 -0
- package/lib/commonjs/modules/next/bluetooth/channel.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/driver.js +48 -0
- package/lib/commonjs/modules/next/bluetooth/driver.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/drivers.js +20 -0
- package/lib/commonjs/modules/next/bluetooth/drivers.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/index.js +65 -0
- package/lib/commonjs/modules/next/bluetooth/index.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/legacy-driver.js +55 -0
- package/lib/commonjs/modules/next/bluetooth/legacy-driver.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/link.js +105 -0
- package/lib/commonjs/modules/next/bluetooth/link.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/result-policy.js +69 -0
- package/lib/commonjs/modules/next/bluetooth/result-policy.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/sig-profiles.js +164 -0
- package/lib/commonjs/modules/next/bluetooth/sig-profiles.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/sig-values.js +46 -0
- package/lib/commonjs/modules/next/bluetooth/sig-values.js.map +1 -0
- package/lib/commonjs/modules/next/ovok.js +5 -1
- package/lib/commonjs/modules/next/ovok.js.map +1 -1
- package/lib/commonjs/modules/next/use-native-ovok.js +17 -0
- package/lib/commonjs/modules/next/use-native-ovok.js.map +1 -0
- package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form-provider.js +27 -27
- package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form-provider.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js +12 -17
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js.map +1 -1
- package/lib/commonjs/modules/socket/components/socket-provider.js +9 -4
- package/lib/commonjs/modules/socket/components/socket-provider.js.map +1 -1
- package/lib/commonjs/modules/tile/constants/measurement-icon-svg.js +21 -21
- package/lib/commonjs/modules/tile/constants/measurement-icon-svg.js.map +1 -1
- package/lib/commonjs/modules/ui/components/urine-test-result.js +3 -3
- package/lib/commonjs/modules/ui/components/urine-test-result.js.map +1 -1
- package/lib/commonjs/modules/wearables/components/wearable-provider-icon.js +45 -0
- package/lib/commonjs/modules/wearables/components/wearable-provider-icon.js.map +1 -0
- package/lib/commonjs/modules/wearables/constants/wearable-providers.js +60 -0
- package/lib/commonjs/modules/wearables/constants/wearable-providers.js.map +1 -0
- package/lib/commonjs/modules/wearables/index.js +50 -0
- package/lib/commonjs/modules/wearables/index.js.map +1 -0
- package/lib/commonjs/modules/wearables/types/wearable-provider-icon-props.js +6 -0
- package/lib/commonjs/modules/wearables/types/wearable-provider-icon-props.js.map +1 -0
- package/lib/commonjs/modules/wearables/types/wearable-source.js +6 -0
- package/lib/commonjs/modules/wearables/types/wearable-source.js.map +1 -0
- package/lib/module/modules/auth/hooks/use-accept-invite-link.js +6 -12
- package/lib/module/modules/auth/hooks/use-accept-invite-link.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-delete-account.js +5 -8
- package/lib/module/modules/auth/hooks/use-delete-account.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-session.js +151 -30
- package/lib/module/modules/auth/hooks/use-session.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-sign-in.js +5 -23
- package/lib/module/modules/auth/hooks/use-sign-in.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-sign-out.js +2 -2
- package/lib/module/modules/auth/hooks/use-sign-out.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-social-sign-in.js +4 -9
- package/lib/module/modules/auth/hooks/use-social-sign-in.js.map +1 -1
- package/lib/module/modules/auth/profile/components/profile-form-provider.js +21 -7
- package/lib/module/modules/auth/profile/components/profile-form-provider.js.map +1 -1
- package/lib/module/modules/auth/register/components/form/register-form-provider.js +16 -17
- package/lib/module/modules/auth/register/components/form/register-form-provider.js.map +1 -1
- package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js +3 -3
- package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
- package/lib/module/modules/auth/session/logout-session.js +1 -3
- package/lib/module/modules/auth/session/logout-session.js.map +1 -1
- package/lib/module/modules/auth/session/session-snapshot.js +28 -0
- package/lib/module/modules/auth/session/session-snapshot.js.map +1 -0
- package/lib/module/modules/auth/sign-in/components/form/login-form-provider.js +11 -6
- package/lib/module/modules/auth/sign-in/components/form/login-form-provider.js.map +1 -1
- package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js +3 -5
- 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 +3 -5
- package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
- package/lib/module/modules/auth/utils/sign-in-error.js +7 -7
- package/lib/module/modules/auth/utils/sign-in-error.js.map +1 -1
- package/lib/module/modules/background-sync/android-background-sync.js +6 -0
- package/lib/module/modules/background-sync/android-background-sync.js.map +1 -1
- package/lib/module/modules/bt-device/constants/device-model.js +1 -1
- package/lib/module/modules/bt-device/constants/device-model.js.map +1 -1
- package/lib/module/modules/bt-device/constants/supported-devices.js +1 -1
- package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
- package/lib/module/modules/bt-management/constants/built-in-measurement-types.js +1 -1
- package/lib/module/modules/bt-management/constants/built-in-measurement-types.js.map +1 -1
- package/lib/module/modules/bt-management/constants/measurement-field-catalog.js +1 -1
- package/lib/module/modules/bt-management/constants/measurement-field-catalog.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/a606/a606.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/a606/a606.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/a606/a606.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/a606/a606.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj.device.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.device.js +1 -1
- 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.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js +2 -2
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.files.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.files.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/f4/f4.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/f4/f4.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/f5/f5-scale.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/f5/f5-scale.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/joytech/joytech.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/joytech/joytech.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/jumper/jumper.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/jumper/jumper.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/live-oximeter.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/live-oximeter.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/spo/pc60fw.monitor.js +1 -1
- package/lib/module/modules/bt-management/services/devices/spo/pc60fw.monitor.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/spo/spo2.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/spo/spo2.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.records.js +1 -1
- package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.records.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/tmb/tmb.bp-handler.js +1 -1
- package/lib/module/modules/bt-management/services/devices/tmb/tmb.bp-handler.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.records.js +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.records.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/trasense/s9.command-sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/trasense/s9.command-sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/uebe/mysense.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/uebe/mysense.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-record.js +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-record.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/lpm311.protocol.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/lpm311.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/pc80b.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/pc80b.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/sp20.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/sp20.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp3-files.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp3-files.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +1 -1
- 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 +1 -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/services/devices/viatom/viatom.pc100.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.vtm20f.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.vtm20f.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/yonker/yonker.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/yonker/yonker.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/utils/convert-ecg-diagnostic-flag.js +1 -1
- package/lib/module/modules/bt-management/utils/convert-ecg-diagnostic-flag.js.map +1 -1
- package/lib/module/modules/cms/cms-locale.js +8 -0
- package/lib/module/modules/cms/cms-locale.js.map +1 -0
- package/lib/module/modules/cms/hooks/use-cms-content.js +35 -15
- package/lib/module/modules/cms/hooks/use-cms-content.js.map +1 -1
- package/lib/module/modules/cms/hooks/use-cms-locale.js +1 -6
- package/lib/module/modules/cms/hooks/use-cms-locale.js.map +1 -1
- package/lib/module/modules/cms/hooks/use-cms-translations.js +10 -23
- package/lib/module/modules/cms/hooks/use-cms-translations.js.map +1 -1
- package/lib/module/modules/cms/merge-cms-translations.js.map +1 -1
- package/lib/module/modules/data-sync/hooks/use-health-sync-runner.js +30 -22
- package/lib/module/modules/data-sync/hooks/use-health-sync-runner.js.map +1 -1
- package/lib/module/modules/data-sync/services/base-health-sync-service.js +4 -8
- package/lib/module/modules/data-sync/services/base-health-sync-service.js.map +1 -1
- package/lib/module/modules/data-sync/services/managers/data-processor.js +3 -3
- package/lib/module/modules/data-sync/services/managers/data-processor.js.map +1 -1
- package/lib/module/modules/data-sync/services/managers/instance-manager.js +9 -5
- package/lib/module/modules/data-sync/services/managers/instance-manager.js.map +1 -1
- package/lib/module/modules/data-sync/services/managers/storage-manager.js +35 -39
- package/lib/module/modules/data-sync/services/managers/storage-manager.js.map +1 -1
- package/lib/module/modules/data-sync/services/managers/sync-state-manager.js.map +1 -1
- package/lib/module/modules/data-sync/types/health-sync-keys.js +1 -1
- package/lib/module/modules/data-sync/types/health-sync-keys.js.map +1 -1
- package/lib/module/modules/data-sync/utils/convert-records-to-observation.js +2 -2
- package/lib/module/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
- package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js +2 -2
- package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
- package/lib/module/modules/data-sync/utils/get-latest-observation-dates-by-code.js +1 -1
- package/lib/module/modules/data-sync/utils/get-latest-observation-dates-by-code.js.map +1 -1
- package/lib/module/modules/data-sync/utils/retry-save.js +4 -5
- package/lib/module/modules/data-sync/utils/retry-save.js.map +1 -1
- package/lib/module/modules/data-sync/utils/session-owner.js +13 -0
- package/lib/module/modules/data-sync/utils/session-owner.js.map +1 -0
- package/lib/module/modules/data-sync/utils/to-core-health-observations.js +1 -1
- package/lib/module/modules/data-sync/utils/to-core-health-observations.js.map +1 -1
- package/lib/module/modules/image/components/optimized-image.js +3 -3
- package/lib/module/modules/image/components/optimized-image.js.map +1 -1
- package/lib/module/modules/next/bluetooth/channel.js +85 -0
- package/lib/module/modules/next/bluetooth/channel.js.map +1 -0
- package/lib/module/modules/next/bluetooth/driver.js +45 -0
- package/lib/module/modules/next/bluetooth/driver.js.map +1 -0
- package/lib/module/modules/next/bluetooth/drivers.js +17 -0
- package/lib/module/modules/next/bluetooth/drivers.js.map +1 -0
- package/lib/module/modules/next/bluetooth/index.js +8 -0
- package/lib/module/modules/next/bluetooth/index.js.map +1 -0
- package/lib/module/modules/next/bluetooth/legacy-driver.js +51 -0
- package/lib/module/modules/next/bluetooth/legacy-driver.js.map +1 -0
- package/lib/module/modules/next/bluetooth/link.js +103 -0
- package/lib/module/modules/next/bluetooth/link.js.map +1 -0
- package/lib/module/modules/next/bluetooth/result-policy.js +61 -0
- package/lib/module/modules/next/bluetooth/result-policy.js.map +1 -0
- package/lib/module/modules/next/bluetooth/sig-profiles.js +156 -0
- package/lib/module/modules/next/bluetooth/sig-profiles.js.map +1 -0
- package/lib/module/modules/next/bluetooth/sig-values.js +38 -0
- package/lib/module/modules/next/bluetooth/sig-values.js.map +1 -0
- package/lib/module/modules/next/ovok.js +5 -1
- package/lib/module/modules/next/ovok.js.map +1 -1
- package/lib/module/modules/next/use-native-ovok.js +12 -0
- package/lib/module/modules/next/use-native-ovok.js.map +1 -0
- package/lib/module/modules/questionnaire-response-form/components/questionnaire-form-provider.js +5 -5
- package/lib/module/modules/questionnaire-response-form/components/questionnaire-form-provider.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js +12 -17
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js.map +1 -1
- package/lib/module/modules/socket/components/socket-provider.js +9 -4
- package/lib/module/modules/socket/components/socket-provider.js.map +1 -1
- package/lib/module/modules/tile/constants/measurement-icon-svg.js +1 -1
- package/lib/module/modules/tile/constants/measurement-icon-svg.js.map +1 -1
- package/lib/module/modules/ui/components/urine-test-result.js +1 -1
- package/lib/module/modules/ui/components/urine-test-result.js.map +1 -1
- package/lib/module/modules/wearables/components/wearable-provider-icon.js +39 -0
- package/lib/module/modules/wearables/components/wearable-provider-icon.js.map +1 -0
- package/lib/module/modules/wearables/constants/wearable-providers.js +56 -0
- package/lib/module/modules/wearables/constants/wearable-providers.js.map +1 -0
- package/lib/module/modules/wearables/index.js +7 -0
- package/lib/module/modules/wearables/index.js.map +1 -0
- package/lib/module/modules/wearables/types/wearable-provider-icon-props.js +4 -0
- package/lib/module/modules/wearables/types/wearable-provider-icon-props.js.map +1 -0
- package/lib/module/modules/wearables/types/wearable-source.js +4 -0
- package/lib/module/modules/wearables/types/wearable-source.js.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-accept-invite-link.d.ts +3 -3
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-accept-invite-link.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-delete-account.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-session.d.ts +5 -16
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-session.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-in.d.ts +3 -2
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-in.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-out.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/profile/components/profile-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-field.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-field.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-props.d.ts +5 -3
- package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-values.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-values.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/session/logout-session.d.ts +3 -5
- package/lib/typescript/commonjs/src/modules/auth/session/logout-session.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-snapshot.d.ts +21 -0
- package/lib/typescript/commonjs/src/modules/auth/session/session-snapshot.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/login-form-provider.d.ts.map +1 -1
- 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/auth/sign-in/hooks/use-login-form.d.ts +1 -3
- package/lib/typescript/commonjs/src/modules/auth/sign-in/hooks/use-login-form.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/apple-login-props.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/apple-login-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/google-login-props.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/google-login-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-context-type.d.ts +2 -4
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-context-type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-props.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-values.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-values.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/utils/sign-in-error.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/utils/sign-in-error.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/background-sync/android-background-sync.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/background-sync/android-background-sync.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/device-model.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/device-model.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/utils/device-query.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/utils/device-query.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/measurement-field-catalog.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/measurement-field-catalog.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-case-fields.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-case-fields.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-field.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-field.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/frame-parser.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/frame-parser.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/measurement-state-machine.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/measurement-state-machine.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +1 -1
- 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/veroval/veroval-activity-sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.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/veroval/veroval.duo-control-device.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/series-slots.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/series-slots.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/create-device-params.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/create-device-params.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-case-spec.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-case-spec.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts +1 -1
- 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-measurement-spec.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement-spec.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/dependent-result-handler-params.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/dependent-result-handler-params.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-data.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-data.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-status-change-callback.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-status-change-callback.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-group.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-group.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-series.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-series.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-with-case-type.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-with-case-type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/parsing-case.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/parsing-case.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/result-policy.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/result-policy.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/parse-measurement.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/parse-measurement.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/result-identity.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/result-identity.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/cms/cms-locale.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/cms/cms-locale.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-content.d.ts +6 -7
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-content.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-locale.d.ts +1 -6
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-locale.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-translations.d.ts +2 -9
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-translations.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/cms/merge-cms-translations.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/cms/merge-cms-translations.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/hooks/use-health-sync-runner.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/base-health-sync-service.d.ts +0 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/base-health-sync-service.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/data-processor.d.ts +2 -2
- 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/services/managers/instance-manager.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/instance-manager.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/storage-manager.d.ts +11 -26
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/storage-manager.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/sync-state-manager.d.ts +3 -3
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/sync-state-manager.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/base-service-props.d.ts +3 -2
- package/lib/typescript/commonjs/src/modules/data-sync/types/base-service-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/convert-data-props.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/data-sync/types/convert-data-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-keys.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-keys.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-props.d.ts +1 -2
- package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/retry-save.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/session-owner.d.ts +7 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/session-owner.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/image/components/optimized-image.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/channel.d.ts +19 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/channel.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/driver.d.ts +32 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/driver.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/drivers.d.ts +7 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/drivers.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/legacy-driver.d.ts +8 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/legacy-driver.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/link.d.ts +13 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/link.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/result-policy.d.ts +14 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/result-policy.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/sig-profiles.d.ts +16 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/sig-profiles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/sig-values.d.ts +15 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/sig-values.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/ovok.d.ts +4 -1
- package/lib/typescript/commonjs/src/modules/next/ovok.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/use-native-ovok.d.ts +3 -0
- package/lib/typescript/commonjs/src/modules/next/use-native-ovok.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/questionnaire-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/socket/components/socket-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/tile/types/task-icon-props.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/tile/types/task-icon-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/ui/components/manual-entry-form.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/ui/components/manual-entry-form.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/ui/components/urine-test-result.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/ui/components/urine-test-result.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/wearables/components/wearable-provider-icon.d.ts +3 -0
- package/lib/typescript/commonjs/src/modules/wearables/components/wearable-provider-icon.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/wearables/constants/wearable-providers.d.ts +8 -0
- package/lib/typescript/commonjs/src/modules/wearables/constants/wearable-providers.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/wearables/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/wearables/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/wearables/types/wearable-provider-icon-props.d.ts +6 -0
- package/lib/typescript/commonjs/src/modules/wearables/types/wearable-provider-icon-props.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/wearables/types/wearable-source.d.ts +4 -0
- package/lib/typescript/commonjs/src/modules/wearables/types/wearable-source.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/hooks/use-accept-invite-link.d.ts +3 -3
- package/lib/typescript/module/src/modules/auth/hooks/use-accept-invite-link.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-delete-account.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-session.d.ts +5 -16
- package/lib/typescript/module/src/modules/auth/hooks/use-session.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-sign-in.d.ts +3 -2
- package/lib/typescript/module/src/modules/auth/hooks/use-sign-in.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-sign-out.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/profile/components/profile-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/profile/types/profile-form-field.d.ts +1 -1
- package/lib/typescript/module/src/modules/auth/profile/types/profile-form-field.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/register/types/register-form-props.d.ts +5 -3
- package/lib/typescript/module/src/modules/auth/register/types/register-form-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/register/types/register-form-values.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/register/types/register-form-values.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/session/logout-session.d.ts +3 -5
- package/lib/typescript/module/src/modules/auth/session/logout-session.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/session/session-snapshot.d.ts +21 -0
- package/lib/typescript/module/src/modules/auth/session/session-snapshot.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/sign-in/components/form/login-form-provider.d.ts.map +1 -1
- 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/auth/sign-in/hooks/use-login-form.d.ts +1 -3
- package/lib/typescript/module/src/modules/auth/sign-in/hooks/use-login-form.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/apple-login-props.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/sign-in/types/apple-login-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/google-login-props.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/sign-in/types/google-login-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-context-type.d.ts +2 -4
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-context-type.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-props.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-values.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-values.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/utils/sign-in-error.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/utils/sign-in-error.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/background-sync/android-background-sync.d.ts +2 -2
- package/lib/typescript/module/src/modules/background-sync/android-background-sync.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/device-model.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/device-model.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/utils/device-query.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-device/utils/device-query.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/measurement-field-catalog.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/measurement-field-catalog.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-case-fields.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-case-fields.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-field.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-field.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/frame-parser.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/frame-parser.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/measurement-state-machine.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/measurement-state-machine.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +1 -1
- 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/veroval/veroval-activity-sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.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/veroval/veroval.duo-control-device.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/series-slots.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/series-slots.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/create-device-params.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/create-device-params.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-case-spec.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-case-spec.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts +1 -1
- 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-measurement-spec.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-measurement-spec.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-measurement.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-measurement.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/dependent-result-handler-params.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/dependent-result-handler-params.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-data.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-data.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts +2 -2
- package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-status-change-callback.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-status-change-callback.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-group.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-group.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-series.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-series.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-with-case-type.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-with-case-type.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/parsing-case.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/parsing-case.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/result-policy.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/result-policy.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/parse-measurement.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/parse-measurement.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/result-identity.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/result-identity.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/cms/cms-locale.d.ts +2 -0
- package/lib/typescript/module/src/modules/cms/cms-locale.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-content.d.ts +6 -7
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-content.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-locale.d.ts +1 -6
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-locale.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-translations.d.ts +2 -9
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-translations.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/cms/merge-cms-translations.d.ts +1 -1
- package/lib/typescript/module/src/modules/cms/merge-cms-translations.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/hooks/use-health-sync-runner.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/base-health-sync-service.d.ts +0 -1
- package/lib/typescript/module/src/modules/data-sync/services/base-health-sync-service.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/managers/data-processor.d.ts +2 -2
- 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/services/managers/instance-manager.d.ts +2 -0
- package/lib/typescript/module/src/modules/data-sync/services/managers/instance-manager.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/managers/storage-manager.d.ts +11 -26
- package/lib/typescript/module/src/modules/data-sync/services/managers/storage-manager.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/managers/sync-state-manager.d.ts +3 -3
- package/lib/typescript/module/src/modules/data-sync/services/managers/sync-state-manager.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/base-service-props.d.ts +3 -2
- package/lib/typescript/module/src/modules/data-sync/types/base-service-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/convert-data-props.d.ts +2 -2
- package/lib/typescript/module/src/modules/data-sync/types/convert-data-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/health-sync-keys.d.ts +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/health-sync-keys.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/health-sync-props.d.ts +1 -2
- package/lib/typescript/module/src/modules/data-sync/types/health-sync-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts +2 -2
- package/lib/typescript/module/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/retry-save.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/session-owner.d.ts +7 -0
- package/lib/typescript/module/src/modules/data-sync/utils/session-owner.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/data-sync/utils/to-core-health-observations.d.ts +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/to-core-health-observations.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/image/components/optimized-image.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/bluetooth/channel.d.ts +19 -0
- package/lib/typescript/module/src/modules/next/bluetooth/channel.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/driver.d.ts +32 -0
- package/lib/typescript/module/src/modules/next/bluetooth/driver.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/drivers.d.ts +7 -0
- package/lib/typescript/module/src/modules/next/bluetooth/drivers.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/index.d.ts +9 -0
- package/lib/typescript/module/src/modules/next/bluetooth/index.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/legacy-driver.d.ts +8 -0
- package/lib/typescript/module/src/modules/next/bluetooth/legacy-driver.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/link.d.ts +13 -0
- package/lib/typescript/module/src/modules/next/bluetooth/link.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/result-policy.d.ts +14 -0
- package/lib/typescript/module/src/modules/next/bluetooth/result-policy.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/sig-profiles.d.ts +16 -0
- package/lib/typescript/module/src/modules/next/bluetooth/sig-profiles.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/sig-values.d.ts +15 -0
- package/lib/typescript/module/src/modules/next/bluetooth/sig-values.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/ovok.d.ts +4 -1
- package/lib/typescript/module/src/modules/next/ovok.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/use-native-ovok.d.ts +3 -0
- package/lib/typescript/module/src/modules/next/use-native-ovok.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/components/questionnaire-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts +2 -2
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/socket/components/socket-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/tile/types/task-icon-props.d.ts +1 -1
- package/lib/typescript/module/src/modules/tile/types/task-icon-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/ui/components/manual-entry-form.d.ts +1 -1
- package/lib/typescript/module/src/modules/ui/components/manual-entry-form.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/ui/components/urine-test-result.d.ts +1 -1
- package/lib/typescript/module/src/modules/ui/components/urine-test-result.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/wearables/components/wearable-provider-icon.d.ts +3 -0
- package/lib/typescript/module/src/modules/wearables/components/wearable-provider-icon.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/wearables/constants/wearable-providers.d.ts +8 -0
- package/lib/typescript/module/src/modules/wearables/constants/wearable-providers.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/wearables/index.d.ts +5 -0
- package/lib/typescript/module/src/modules/wearables/index.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/wearables/types/wearable-provider-icon-props.d.ts +6 -0
- package/lib/typescript/module/src/modules/wearables/types/wearable-provider-icon-props.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/wearables/types/wearable-source.d.ts +4 -0
- package/lib/typescript/module/src/modules/wearables/types/wearable-source.d.ts.map +1 -0
- package/package.json +3 -3
- package/lib/commonjs/modules/auth/session/save-login.js +0 -19
- package/lib/commonjs/modules/auth/session/save-login.js.map +0 -1
- package/lib/commonjs/modules/auth/session/session-store-refresh.js +0 -142
- package/lib/commonjs/modules/auth/session/session-store-refresh.js.map +0 -1
- package/lib/commonjs/modules/auth/session/session-store-request-state.js +0 -73
- package/lib/commonjs/modules/auth/session/session-store-request-state.js.map +0 -1
- package/lib/commonjs/modules/auth/session/session-store-types.js +0 -39
- package/lib/commonjs/modules/auth/session/session-store-types.js.map +0 -1
- package/lib/commonjs/modules/auth/session/session-store.js +0 -144
- package/lib/commonjs/modules/auth/session/session-store.js.map +0 -1
- package/lib/module/modules/auth/session/save-login.js +0 -15
- package/lib/module/modules/auth/session/save-login.js.map +0 -1
- package/lib/module/modules/auth/session/session-store-refresh.js +0 -138
- package/lib/module/modules/auth/session/session-store-refresh.js.map +0 -1
- package/lib/module/modules/auth/session/session-store-request-state.js +0 -69
- package/lib/module/modules/auth/session/session-store-request-state.js.map +0 -1
- package/lib/module/modules/auth/session/session-store-types.js +0 -33
- package/lib/module/modules/auth/session/session-store-types.js.map +0 -1
- package/lib/module/modules/auth/session/session-store.js +0 -140
- package/lib/module/modules/auth/session/session-store.js.map +0 -1
- package/lib/typescript/commonjs/src/modules/auth/session/save-login.d.ts +0 -4
- package/lib/typescript/commonjs/src/modules/auth/session/save-login.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-refresh.d.ts +0 -8
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-refresh.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-request-state.d.ts +0 -23
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-request-state.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-types.d.ts +0 -40
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-types.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-store.d.ts +0 -4
- package/lib/typescript/commonjs/src/modules/auth/session/session-store.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/auth/session/save-login.d.ts +0 -4
- package/lib/typescript/module/src/modules/auth/session/save-login.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/auth/session/session-store-refresh.d.ts +0 -8
- package/lib/typescript/module/src/modules/auth/session/session-store-refresh.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/auth/session/session-store-request-state.d.ts +0 -23
- package/lib/typescript/module/src/modules/auth/session/session-store-request-state.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/auth/session/session-store-types.d.ts +0 -40
- package/lib/typescript/module/src/modules/auth/session/session-store-types.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/auth/session/session-store.d.ts +0 -4
- package/lib/typescript/module/src/modules/auth/session/session-store.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MeasurementTypeKey","lepuNameMatch","lepuDevice","RT_PARAM","CASE_SELECTOR_BYTES","MIN_LENGTH_BYTES","PAYLOAD","SPOT_CHECK_TIMEOUT_MS","OXYII_MIN_LENGTH_BYTES","OXYII_CASE_SELECTOR_BYTES","OXYII_CASES","selector","kind","measurementTypeKey","bloodOxygenPulseRate","description","fields","name","byteIndexes","encoding","unit","scale","decimals","byteOrder","VIATOM_OXYII_NAMES","viatomOximeter","advertisedName","params","expectedDeviceTypes","undefined","id","toLowerCase","replace","nameMatch","stuckDataTimeoutMs","protocol","manufacturerDataProtocol","rejectEncryptionAtBytes","v2","minLengthBytes","caseSelectorBytes","cases","setClockBeforeInfo","writeWithoutResponse","sessionPolicy","minSamples","emit","pollCommand","viatomOxyIiMonitor","transport","VIATOM_OXIMETER_NAMES"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.oximeters.ts"],"mappings":";;AAAA;;AAEA,SAASA,kBAAkB,QAAQ,
|
|
1
|
+
{"version":3,"names":["MeasurementTypeKey","lepuNameMatch","lepuDevice","RT_PARAM","CASE_SELECTOR_BYTES","MIN_LENGTH_BYTES","PAYLOAD","SPOT_CHECK_TIMEOUT_MS","OXYII_MIN_LENGTH_BYTES","OXYII_CASE_SELECTOR_BYTES","OXYII_CASES","selector","kind","measurementTypeKey","bloodOxygenPulseRate","description","fields","name","byteIndexes","encoding","unit","scale","decimals","byteOrder","VIATOM_OXYII_NAMES","viatomOximeter","advertisedName","params","expectedDeviceTypes","undefined","id","toLowerCase","replace","nameMatch","stuckDataTimeoutMs","protocol","manufacturerDataProtocol","rejectEncryptionAtBytes","v2","minLengthBytes","caseSelectorBytes","cases","setClockBeforeInfo","writeWithoutResponse","sessionPolicy","minSamples","emit","pollCommand","viatomOxyIiMonitor","transport","VIATOM_OXIMETER_NAMES"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.oximeters.ts"],"mappings":";;AAAA;;AAEA,SAASA,kBAAkB,QAAQ,iBAAiB;AAIpD,SAASC,aAAa,QAAQ,4BAAyB;AACvD,SAASC,UAAU,QAAQ,4BAAyB;;AAEpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAMC,QAAQ,GAAG,IAAI;;AAErB;AACA,MAAMC,mBAAmB,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;;AAElD;AACA,MAAMC,gBAAgB,GAAG,EAAE;AAE3B,MAAMC,OAAO,GAAG,CAAC;AAEjB,MAAMC,qBAAqB,GAAG,MAAM;;AAEpC;AACA,MAAMC,sBAAsB,GAAG,EAAE;AACjC,MAAMC,yBAAyB,GAAG,CAAC,CAAC,CAAC;AAErC,MAAMC,WAA6B,GAAG,CACpC;EACEC,QAAQ,EAAE,IAAI;EACdC,I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@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { MeasurementTypeKey } from "@ovok/core";
|
|
3
|
+
import { MeasurementTypeKey } from "@ovok/core/next";
|
|
4
4
|
import { CaseType } from "../../../types/case-type.js";
|
|
5
5
|
import { withoutResponseCommand } from "../write-command.js";
|
|
6
6
|
import { decodePc100Response, parsePc100BloodOxygenResult, parsePc100BloodPressureResult, pc100GetBloodPressureResult, pc100GetDeviceId, pc100GetDeviceInfo, pc100Handshake, Pc100Command } from "./viatom.pc100.protocol.js";
|
package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MeasurementTypeKey","CaseType","withoutResponseCommand","decodePc100Response","parsePc100BloodOxygenResult","parsePc100BloodPressureResult","pc100GetBloodPressureResult","pc100GetDeviceId","pc100GetDeviceInfo","pc100Handshake","Pc100Command","Pc100Sequencer","phase","constructor","params","initialCommands","write","isNormalDisconnect","commandTimeoutMs","undefined","nextCommand","frame","response","recordedAt","now","Date","command","bloodOxygenParameters","result","content","onResult","caseType","RESULT","measurementTypeKey","bloodOxygenPulseRate","deviceInfo","bloodPressureResult","type","bloodPressure","systolic","diastolic","heartRate","irregularHeartbeat","onCommandTimeout","terminal"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.ts"],"mappings":";;AAAA,SAEEA,kBAAkB,QAEb,
|
|
1
|
+
{"version":3,"names":["MeasurementTypeKey","CaseType","withoutResponseCommand","decodePc100Response","parsePc100BloodOxygenResult","parsePc100BloodPressureResult","pc100GetBloodPressureResult","pc100GetDeviceId","pc100GetDeviceInfo","pc100Handshake","Pc100Command","Pc100Sequencer","phase","constructor","params","initialCommands","write","isNormalDisconnect","commandTimeoutMs","undefined","nextCommand","frame","response","recordedAt","now","Date","command","bloodOxygenParameters","result","content","onResult","caseType","RESULT","measurementTypeKey","bloodOxygenPulseRate","deviceInfo","bloodPressureResult","type","bloodPressure","systolic","diastolic","heartRate","irregularHeartbeat","onCommandTimeout","terminal"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.ts"],"mappings":";;AAAA,SAEEA,kBAAkB,QAEb,iBAAiB;AAExB,SAASC,QAAQ,QAAQ,6BAA0B;AAInD,SAASC,sBAAsB,QAAQ,qBAAkB;AAEzD,SACEC,mBAAmB,EACnBC,2BAA2B,EAC3BC,6BAA6B,EAC7BC,2BAA2B,EAC3BC,gBAAgB,EAChBC,kBAAkB,EAClBC,cAAc,EACdC,YAAY,QACP,4BAAyB;AAYhC;AACA,OAAO,MAAMC,cAAc,CAA6B;EAC9CC,KAAK,GAAe,WAAW;EAEhCC,WAAWA,CAAkBC,MAA4B,EAAE;IAAA,KAA9BA,MAA4B,GAA5BA,MAA4B;EAAG;EAE5DC,eAAe,GAAGA,CAAA,KAAgC,CACvD,IAAI,CAACC,KAAK,CAACP,cAAc,CAAC,CAAC,CAAC,CAC7B;EAEMQ,kBAAkB,GAAGA,CAAA,KAAe,IAAI,CAACL,KAAK,KAAK,MAAM;EAEzDM,gBAAgB,GAAGA,CAAA,KACxB,IAAI,CAACN,KAAK,KAAK,MAAM,GAAGO,SAAS,GAAG,KAAK;EAEpCC,WAAW,GAChBC,KAAwB,IACiB;IACzC,MAAMC,QAAQ,GAAGnB,mBAAmB,CAACkB,KAAK,CAAC;IAE3C,IAAI,CAACC,QAAQ,EAAE;MACb,OAAOH,SAAS;IAClB;IAEA,MAAMI,UAAU,GAAG,IAAI,CAACT,MAAM,CAACU,GAAG,GAAG,CAAC,IAAI,IAAIC,IAAI,CAAC,CAAC;IAEpD,IAAIH,QAAQ,CAACI,OAAO,KAAKhB,YAAY,CAACiB,qBAAqB,EAAE;MAC3D,MAAMC,MAAM,GAAGxB,2BAA2B,CAACkB,QAAQ,CAACO,OAAO,CAAC;MAE5D,IAAID,MAAM,EAAE;QACV,IAAI,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CAACW,QAAQ;UACzBC,SAAS,EAAEZ,MAAM,CAACY,SAAS;UAC3BC,SAAS,EAAEb,MAAM,CAACa,SAAS;UAC3BC,kBAAkB,EAAEd,MAAM,CAACc,kBAAkB;UAC7CnB;QACF,CAAC,CAAC;MACJ;MAEA,IAAI,CAACX,KAAK,GAAG,MAAM;IACrB;IAEA,OAAOO,SAAS;EAClB,CAAC;EAEMwB,gBAAgB,GAAGA,CAAA,KAAM;IAC9B,IAAI,CAAC/B,KAAK,GAAG,MAAM;IAEnB,OAAO;MAAEgC,QAAQ,EAAE;IAAK,CAAC;EAC3B,CAAC;EAEO5B,KAAK,GAAIK,KAAwB,IACvCnB,sBAAsB,CAAC,IAAI,CAACY,MAAM,CAACE,KAAK,EAAEK,KAAK,CAAC;AACpD","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { EcgDiagnosticFlag, MeasurementTypeKey } from "@ovok/core";
|
|
3
|
+
import { EcgDiagnosticFlag, MeasurementTypeKey } from "@ovok/core/next";
|
|
4
4
|
import { CaseType } from "../../../types/case-type.js";
|
|
5
5
|
import { withoutResponseCommand } from "../write-command.js";
|
|
6
6
|
import { decodePc300Response, parsePc300BloodOxygenResult, parsePc300BloodPressureResult, parsePc300EcgResult, parsePc300EcgWave, parsePc300GlucoseResult, parsePc300TemperatureResult, pc300GetBloodPressureResult, pc300GetGlucoseResult, pc300GetTemperatureResult, Pc300Command } from "./viatom.pc300.protocol.js";
|
package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["EcgDiagnosticFlag","MeasurementTypeKey","CaseType","withoutResponseCommand","decodePc300Response","parsePc300BloodOxygenResult","parsePc300BloodPressureResult","parsePc300EcgResult","parsePc300EcgWave","parsePc300GlucoseResult","parsePc300TemperatureResult","pc300GetBloodPressureResult","pc300GetGlucoseResult","pc300GetTemperatureResult","Pc300Command","Pc300Sequencer","phase","ecgPoints","constructor","params","initialCommands","write","isNormalDisconnect","commandTimeoutMs","undefined","onCommandTimeout","terminal","nextCommand","frame","response","recordedAt","now","Date","command","oxygenParameters","result","content","onResult","caseType","RESULT","measurementTypeKey","bloodOxygenPulseRate","bloodOxygen","pulseRate","perfusionIndex","ecgWave","push","diagramPoints","ecgResult","length","ecg","heartRate","duration","diagnosticResult","status","REGULAR","POOR_WAVEFORM","ERROR","bloodPressureResult","type","bloodPressure","systolic","diastolic","meanArterialPressure","irregularHeartbeat","temperatureResult","probeOff","temperature","bodyTemp","glucoseResult","bloodGlucose"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.ts"],"mappings":";;AAAA,SAIEA,iBAAiB,EAEjBC,kBAAkB,QAEb,
|
|
1
|
+
{"version":3,"names":["EcgDiagnosticFlag","MeasurementTypeKey","CaseType","withoutResponseCommand","decodePc300Response","parsePc300BloodOxygenResult","parsePc300BloodPressureResult","parsePc300EcgResult","parsePc300EcgWave","parsePc300GlucoseResult","parsePc300TemperatureResult","pc300GetBloodPressureResult","pc300GetGlucoseResult","pc300GetTemperatureResult","Pc300Command","Pc300Sequencer","phase","ecgPoints","constructor","params","initialCommands","write","isNormalDisconnect","commandTimeoutMs","undefined","onCommandTimeout","terminal","nextCommand","frame","response","recordedAt","now","Date","command","oxygenParameters","result","content","onResult","caseType","RESULT","measurementTypeKey","bloodOxygenPulseRate","bloodOxygen","pulseRate","perfusionIndex","ecgWave","push","diagramPoints","ecgResult","length","ecg","heartRate","duration","diagnosticResult","status","REGULAR","POOR_WAVEFORM","ERROR","bloodPressureResult","type","bloodPressure","systolic","diastolic","meanArterialPressure","irregularHeartbeat","temperatureResult","probeOff","temperature","bodyTemp","glucoseResult","bloodGlucose"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.ts"],"mappings":";;AAAA,SAIEA,iBAAiB,EAEj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,CAACkB,QAAQ,CAAC;UACnBC,QAAQ,EAAEpC,QAAQ,CAACqC,MAAM;UACzBC,kBAAkB,EAAEvC,kBAAkB,CAACkE,WAAW;UAClDC,QAAQ,EAAEjC,MAAM,CAACiC,QAAQ;UACzBtC;QACF,CAAC,CAAC;MACJ;MAEA,IAAI,CAACd,KAAK,GAAG,SAAS;MAEtB,OAAO,CAAC,IAAI,CAACK,KAAK,CAACT,qBAAqB,CAAC,CAAC,CAAC,CAAC;IAC9C;IAEA,IACE,IAAI,CAACI,KAAK,KAAK,SAAS,IACxBa,QAAQ,CAACI,OAAO,KAAKnB,YAAY,CAACuD,aAAa,IAC/CxC,QAAQ,CAAC8B,IAAI,KAAK,CAAC,EACnB;MACA,MAAMxB,MAAM,GAAG1B,uBAAuB,CAACoB,QAAQ,CAACO,OAAO,CAAC;MAExD,IAAID,MAAM,EAAE;QACV,IAAI,CAAChB,MAAM,CAACkB,QAAQ,CAAC;UACnBC,QAAQ,EAAEpC,QAAQ,CAACqC,MAAM;UACzBC,kBAAkB,EAAEvC,kBAAkB,CAACqE,YAAY;UACnDA,YAAY,EAAEnC,MAAM,CAACmC,YAAY;UACjCxC;QACF,CAAC,CAAC;MACJ;MAEA,IAAI,CAACd,KAAK,GAAG,MAAM;IACrB;IAEA,OAAOQ,SAAS;EAClB,CAAC;EAEOH,KAAK,GAAIO,KAAwB,IACvCzB,sBAAsB,CAAC,IAAI,CAACgB,MAAM,CAACE,KAAK,EAAEO,KAAK,CAAC;AACpD","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { MeasurementTypeKey } from "@ovok/core";
|
|
3
|
+
import { MeasurementTypeKey } from "@ovok/core/next";
|
|
4
4
|
import { CaseType } from "../../../types/case-type.js";
|
|
5
5
|
import { withoutResponseCommand } from "../write-command.js";
|
|
6
6
|
import { decodePm10CaseInfo, decodePm10Frame, decodePm10WavePage, pm10GetCaseData, pm10GetCaseInfo, pm10GetTotal } from "./viatom.pm10.protocol.js";
|
package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MeasurementTypeKey","CaseType","withoutResponseCommand","decodePm10CaseInfo","decodePm10Frame","decodePm10WavePage","pm10GetCaseData","pm10GetCaseInfo","pm10GetTotal","Pm10Sequencer","phase","pages","constructor","params","initialCommands","write","isHistoryTransfer","isNormalDisconnect","nextCommand","frame","response","undefined","head","info","content","push","last","Number","parseInt","onResult","caseType","RESULT","measurementTypeKey","ecg","heartRate","diagramPoints","duration","length","recordedAt"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.ts"],"mappings":";;AAAA,SAAyBA,kBAAkB,QAAQ,
|
|
1
|
+
{"version":3,"names":["MeasurementTypeKey","CaseType","withoutResponseCommand","decodePm10CaseInfo","decodePm10Frame","decodePm10WavePage","pm10GetCaseData","pm10GetCaseInfo","pm10GetTotal","Pm10Sequencer","phase","pages","constructor","params","initialCommands","write","isHistoryTransfer","isNormalDisconnect","nextCommand","frame","response","undefined","head","info","content","push","last","Number","parseInt","onResult","caseType","RESULT","measurementTypeKey","ecg","heartRate","diagramPoints","duration","length","recordedAt"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.ts"],"mappings":";;AAAA,SAAyBA,kBAAkB,QAAQ,iBAAiB;AAEpE,SAASC,QAAQ,QAAQ,6BAA0B;AAInD,SAASC,sBAAsB,QAAQ,qBAAkB;AAEzD,SACEC,kBAAkB,EAClBC,eAAe,EACfC,kBAAkB,EAClBC,eAAe,EACfC,eAAe,EACfC,YAAY,QACP,2BAAwB;AAO/B,OAAO,MAAMC,aAAa,CAA6B;EAC7CC,KAAK,GAAuC,OAAO;EAEnDC,KAAK,GAAa,EAAE;EACrBC,WAAWA,CAAkBC,MAAc,EAAE;IAAA,KAAhBA,MAAc,GA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CAAC,CAAC,IAAI,IAAI,EAAE,EAAE,CAAC,GAAG,IAAI,MAAM,CAAC;MAEjE,IAAI,CAACE,IAAI,EAAE;QACT,OAAO,CAACxB,sBAAsB,CAAC,IAAI,CAACW,MAAM,CAACE,KAAK,EAAET,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;MACxE;MACA,IAAI,IAAI,CAACiB,IAAI,EAAE;QACb,IAAI,CAACV,MAAM,CAACgB,QAAQ,CAAC;UACnBC,QAAQ,EAAE7B,QAAQ,CAAC8B,MAAM;UACzBC,kBAAkB,EAAEhC,kBAAkB,CAACiC,GAAG;UAC1CC,SAAS,EAAE,IAAI,CAACX,IAAI,CAACW,SAAS;UAC9BC,aAAa,EAAE,IAAI,CAACxB,KAAK;UACzByB,QAAQ,EAAE,IAAI,CAACzB,KAAK,CAAC0B,MAAM,GAAG,GAAG;UACjCC,UAAU,EAAE,IAAI,CAACf,IAAI,CAACe;QACxB,CAAC,CAAC;MACJ;MACA,IAAI,CAAC5B,KAAK,GAAG,MAAM;IACrB;IAEA,OAAOW,SAAS;EAClB,CAAC;AACH","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { MeasurementTypeKey } from "@ovok/core";
|
|
3
|
+
import { MeasurementTypeKey } from "@ovok/core/next";
|
|
4
4
|
import { defineCustomDevice } from "../../custom/define-custom-device.js";
|
|
5
5
|
import { lepuNameMatch } from "../lepu/lepu.name-match.js";
|
|
6
6
|
import { Vtm20fFrameReader } from "./viatom.vtm20f.frame-reader.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MeasurementTypeKey","defineCustomDevice","lepuNameMatch","Vtm20fFrameReader","SERVICE_UUID","NOTIFY_UUID","viatomVtm20fMonitor","params","id","nameMatch","stuckDataTimeoutMs","services","uuid","monitor","frame","header","minLengthBytes","length","index","widthBytes","byteOrder","overheadBytes","caseSelectorBytes","cases","selector","kind","measurementTypeKey","bloodOxygenPulseRate","fields","name","byteIndexes","unit","scale","decimals","frameReader"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.vtm20f.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAQ,
|
|
1
|
+
{"version":3,"names":["MeasurementTypeKey","defineCustomDevice","lepuNameMatch","Vtm20fFrameReader","SERVICE_UUID","NOTIFY_UUID","viatomVtm20fMonitor","params","id","nameMatch","stuckDataTimeoutMs","services","uuid","monitor","frame","header","minLengthBytes","length","index","widthBytes","byteOrder","overheadBytes","caseSelectorBytes","cases","selector","kind","measurementTypeKey","bloodOxygenPulseRate","fields","name","byteIndexes","unit","scale","decimals","frameReader"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.vtm20f.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAQ,iBAAiB;AAGpD,SAASC,kBAAkB,QAAQ,sCAAmC;AACtE,SAASC,aAAa,QAAQ,4BAAyB;AAEvD,SAASC,iBAAiB,QAAQ,iCAA8B;AAEhE,MAAMC,YAAY,GAAG,sCAAsC;AAC3D,MAAMC,WAAW,GAAG,sCAAsC;;AAE1D;AACA,MAAMC,mBAAmB,GAAGA,CAC1BC,MAAoD,GAAG,CAAC,CAAC,KAEzDN,kBAAkB,CAChB;EACEO,EAAE,EAAED,MAAM,CAACC,EAAE,IAAI,gBAAgB;EACjCC,SAAS,EAAEF,MAAM,CAACE,SAAS,IAAIP,aAAa,CAAC,SAAS,CAAC;EACvDQ,kBAAkB,EAAE,MAAM;EAC1BC,QAAQ,EAAE,CACR;IACEC,IAAI,EAAER,YAAY;IAClBS,OAAO,EAAE,CACP;MACED,IAAI,EAAEP,WAAW;MACjBS,KAAK,EAAE;QACLC,MAAM,EAAE,CAAC,IAAI,CAAC;QACdC,cAAc,EAAE,EAAE;QAClBC,MAAM,EAAE;UACNC,KAAK,EAAE,CAAC;UACRC,UAAU,EAAE,CAAC;UACbC,SAAS,EAAE,KAAK;UAChBC,aAAa,EAAE;QACjB;MACF,CAAC;MACDC,iBAAiB,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;MACzBC,KAAK,EAAE,CACL;QACEC,QAAQ,EAAE,MAAM;QAChBC,IAAI,EAAE,QAAQ;QACdC,kBAAkB,EAAE1B,kBAAkB,CAAC2B,oBAAoB;QAC3DC,MAAM,EAAE,CACN;UACEC,IAAI,EAAE,WAAW;UACjBC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;UACnBC,IAAI,EAAE;QACR,CAAC,EACD;UACEF,IAAI,EAAE,aAAa;UACnBC,WAAW,EAAE,CAAC,CAAC,CAAC;UAChBC,IAAI,EAAE;QACR,CAAC,EACD;UACEF,IAAI,EAAE,gBAAgB;UACtBC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;UACnBE,KAAK,EAAE,KAAK;UACZC,QAAQ,EAAE,CAAC;UACXF,IAAI,EAAE;QACR,CAAC;MAEL,CAAC;IAEL,CAAC;EAEL,CAAC;AAEL,CAAC,EACD;EAAEG,WAAW,EAAE,IAAI/B,iBAAiB,CAAC;AAAE,CACzC,CAAC;AAEH,SAASG,mBAAmB","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { MeasurementTypeKey } from "@ovok/core";
|
|
3
|
+
import { MeasurementTypeKey } from "@ovok/core/next";
|
|
4
4
|
import { CaseType } from "../../../types/case-type.js";
|
|
5
5
|
import { withoutResponseCommand } from "../write-command.js";
|
|
6
6
|
import { decodeWbp02Response, parseWbp02Record, wbp02Connect, wbp02Login, wbp02Record, wbp02RecordCount, wbp02SyncTime } from "./viatom.wbp02.protocol.js";
|
package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MeasurementTypeKey","CaseType","withoutResponseCommand","decodeWbp02Response","parseWbp02Record","wbp02Connect","wbp02Login","wbp02Record","wbp02RecordCount","wbp02SyncTime","Wbp02Sequencer","phase","index","constructor","params","initialCommands","write","isHistoryTransfer","isNormalDisconnect","nextCommand","frame","response","undefined","command","count","Number","parseInt","content","record","onResult","caseType","RESULT","measurementTypeKey","bloodPressure"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.ts"],"mappings":";;AAAA,SAAmCA,kBAAkB,QAAQ,
|
|
1
|
+
{"version":3,"names":["MeasurementTypeKey","CaseType","withoutResponseCommand","decodeWbp02Response","parseWbp02Record","wbp02Connect","wbp02Login","wbp02Record","wbp02RecordCount","wbp02SyncTime","Wbp02Sequencer","phase","index","constructor","params","initialCommands","write","isHistoryTransfer","isNormalDisconnect","nextCommand","frame","response","undefined","command","count","Number","parseInt","content","record","onResult","caseType","RESULT","measurementTypeKey","bloodPressure"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.ts"],"mappings":";;AAAA,SAAmCA,kBAAkB,QAAQ,iBAAiB;AAE9E,SAASC,QAAQ,QAAQ,6BAA0B;AAInD,SAASC,sBAAsB,QAAQ,qBAAkB;AAEzD,SACEC,mBAAmB,EACnBC,gBAAgB,EAChBC,YAAY,EACZC,UAAU,EACVC,WAAW,EACXC,gBAAgB,EAChBC,aAAa,QACR,4BAAyB;AAOhC,OAAO,MAAMC,cAAc,CAA6B;EAC9CC,KAAK,GAAG,SAAS;EACjBC,KAAK,GAAG,CAAC;EACVC,WAAWA,CAAkBC,MAAc,EAAE;IAAA,KAAhBA,MAAc,GAAdA,MAAc;EAAG;EAC9CC,eAAe,GAAGA,CAAA,KAAgC,CACvDb,sBAAsB,CAAC,IAAI,CAACY,MAAM,CAACE,KAAK,EAAEX,YAAY,CAAC,CAAC,CAAC,CAC1D;EACMY,iBAAiB,GAAGA,CAAA,KAAe,IAAI;EACvCC,kBAAkB,GAAGA,CAAA,KAAe,IAAI,CAACP,KAAK,KAAK,M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,IAAI,CAACK,KAAK,CAAC,CAAC,CACnE;IACH;IACA,IAAIS,QAAQ,CAACE,OAAO,KAAK,IAAI,EAAE;MAC7B,MAAMK,MAAM,GAAGxB,gBAAgB,CAACiB,QAAQ,CAACM,OAAO,CAAC;MAEjD,IAAIC,MAAM,EAAE;QACV,IAAI,CAACd,MAAM,CAACe,QAAQ,CAAC;UACnBC,QAAQ,EAAE7B,QAAQ,CAAC8B,MAAM;UACzBC,kBAAkB,EAAEhC,kBAAkB,CAACiC,aAAa;UACpD,GAAGL;QACL,CAAC,CAAC;MACJ;MACA,IAAI,CAAChB,KAAK,IAAI,CAAC;MAEf,OAAO,CACLV,sBAAsB,CAAC,IAAI,CAACY,MAAM,CAACE,KAAK,EAAET,WAAW,CAAC,IAAI,CAACK,KAAK,CAAC,CAAC,CACnE;IACH;IAEA,OAAOU,SAAS;EAClB,CAAC;AACH","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { MeasurementTypeKey } from "@ovok/core";
|
|
3
|
+
import { MeasurementTypeKey } from "@ovok/core/next";
|
|
4
4
|
import { CaseType } from "../../../types/case-type.js";
|
|
5
5
|
import { AILINK_GATT, bodyOf, bpmSetTimeCommand, commandOf, idOf, longFrame, readScaleWeight, readYonkerBloodPressure, readYonkerTemperature, scaleSetTimeCommand, shortFrame, YONKER_GATT } from "./yonker.protocol.js";
|
|
6
6
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MeasurementTypeKey","CaseType","AILINK_GATT","bodyOf","bpmSetTimeCommand","commandOf","idOf","longFrame","readScaleWeight","readYonkerBloodPressure","readYonkerTemperature","scaleSetTimeCommand","shortFrame","YONKER_GATT","REPEAT_WINDOW_MS","YonkerSequencer","recorded","constructor","params","initialCommands","kind","serviceUuid","timeService","characteristicUuid","timeWrite","frame","now","isNormalDisconnect","nextCommand","reading","bloodPressure","temperature","onResult","caseType","RESULT","undefined","measurementTypeKey","bodyTemp","lastTemperature","value","getTime","at","recordedAt","Date","SCALE","weight","completed","completedAck","timeRequest","DEFAULT_SCALE_ID","YonkerScaleSequencer","id","short","long","pendingWeight","report","bodyWeight","command","payload","service","writeLong","delayBeforeWriteMs","writeShort"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/yonker/yonker.sequencer.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAQ,
|
|
1
|
+
{"version":3,"names":["MeasurementTypeKey","CaseType","AILINK_GATT","bodyOf","bpmSetTimeCommand","commandOf","idOf","longFrame","readScaleWeight","readYonkerBloodPressure","readYonkerTemperature","scaleSetTimeCommand","shortFrame","YONKER_GATT","REPEAT_WINDOW_MS","YonkerSequencer","recorded","constructor","params","initialCommands","kind","serviceUuid","timeService","characteristicUuid","timeWrite","frame","now","isNormalDisconnect","nextCommand","reading","bloodPressure","temperature","onResult","caseType","RESULT","undefined","measurementTypeKey","bodyTemp","lastTemperature","value","getTime","at","recordedAt","Date","SCALE","weight","completed","completedAck","timeRequest","DEFAULT_SCALE_ID","YonkerScaleSequencer","id","short","long","pendingWeight","report","bodyWeight","command","payload","service","writeLong","delayBeforeWriteMs","writeShort"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/yonker/yonker.sequencer.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAQ,iBAAiB;AAEpD,SAASC,QAAQ,QAAQ,6BAA0B;AAInD,SACEC,WAAW,EACXC,MAAM,EACNC,iBAAiB,EACjBC,SAAS,EACTC,IAAI,EACJC,SAAS,EACTC,eAAe,EACfC,uBAAuB,EACvBC,qBAAqB,EACrBC,mBAAmB,EACnBC,UAAU,EACVC,WAAW,QACN,sBAAmB;;AAE1B;AACA,MAAMC,gBAAgB,GAAG,MAAM;;AAE/B;AACA;AACA;AACA;AACA,MAAMC,eAAe,CAA6B;EACxCC,QAAQ,GAAG,KAAK;EAGjBC,WAAWA,CACCC,MAIhB,EACD;IAAA,KALiBA,MAIhB,G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EAEnDU,IAAI,GAAGA,CAACI,OAAe,EAAEC,OAA0B,GAAG,EAAE,MAAqB;IACnFrC,WAAW,EAAEnB,WAAW,CAACyD,OAAO;IAChCpC,kBAAkB,EAAErB,WAAW,CAAC0D,SAAS;IACzCnC,KAAK,EAAElB,SAAS,CAAC,IAAI,CAAC4C,EAAE,EAAEM,OAAO,EAAEC,OAAO;EAC5C,CAAC,CAAC;EAEMN,KAAK,GAAGA,CAAC3B,KAAwB,EAAEoC,kBAA2B,MAAqB;IACzFxC,WAAW,EAAEnB,WAAW,CAACyD,OAAO;IAChCpC,kBAAkB,EAAErB,WAAW,CAAC4D,UAAU;IAC1CrC,KAAK;IACL,IAAIoC,kBAAkB,GAAG;MAAEA;IAAmB,CAAC,GAAG,CAAC,CAAC;EACtD,CAAC,CAAC;AACJ;AAEA,SAASX,oBAAoB,EAAEnC,eAAe","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["EcgDiagnosticFlag","convertEcgDiagnosticFlag","diagnosticFlag","normalized","toLowerCase","POOR_WAVEFORM","LEAD_OFF","test","ERROR","bytes","match","bitmask","reduce","value","byte","index","Number","parseInt","REGULAR","priority","ATRIAL_FIBRILLATION","CARDIAC_ARREST","QRS_WIDE","QTC_LONG","QTC_SHORT","HIGH_HR","LOW_HR","RR_IRREGULAR","PVC","find","bit"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/utils/convert-ecg-diagnostic-flag.ts"],"mappings":";;AAAA,SAASA,iBAAiB,QAAQ,
|
|
1
|
+
{"version":3,"names":["EcgDiagnosticFlag","convertEcgDiagnosticFlag","diagnosticFlag","normalized","toLowerCase","POOR_WAVEFORM","LEAD_OFF","test","ERROR","bytes","match","bitmask","reduce","value","byte","index","Number","parseInt","REGULAR","priority","ATRIAL_FIBRILLATION","CARDIAC_ARREST","QRS_WIDE","QTC_LONG","QTC_SHORT","HIGH_HR","LOW_HR","RR_IRREGULAR","PVC","find","bit"],"sourceRoot":"../../../../../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EAChC,CAAC,IAAI,EAAE1B,iBAAiB,CAAC2B,YAAY,CAAC,EACtC,CAAC,IAAI,EAAE3B,iBAAiB,CAAC4B,GAAG,CAAC,CAC9B;EAED,OACET,QAAQ,CAACU,IAAI,CAAC,CAAC,CAACC,GAAG,CAAC,KAAK,CAACnB,OAAO,GAAGmB,GAAG,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,IACpD9B,iBAAiB,CAACQ,KAAK;AAE3B","ignoreList":[]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const supportedLocales = new Set(["en", "de", "fr", "es"]);
|
|
4
|
+
export const toCmsLocale = language => {
|
|
5
|
+
const primary = ((language ?? "").split(/[-_]/)[0] ?? "").toLowerCase();
|
|
6
|
+
return supportedLocales.has(primary) ? primary : "en";
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=cms-locale.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["supportedLocales","Set","toCmsLocale","language","primary","split","toLowerCase","has"],"sourceRoot":"../../../../src","sources":["modules/cms/cms-locale.ts"],"mappings":";;AAAA,MAAMA,gBAAgB,GAAG,IAAIC,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;AAE1D,OAAO,MAAMC,WAAW,GAAIC,QAAwB,IAAa;EAC/D,MAAMC,OAAO,GAAG,CAAC,CAACD,QAAQ,IAAI,EAAE,EAAEE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,EAAEC,WAAW,CAAC,CAAC;EAEvE,OAAON,gBAAgB,CAACO,GAAG,CAACH,OAAO,CAAC,GAAGA,OAAO,GAAG,IAAI;AACvD,CAAC","ignoreList":[]}
|
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { useOvokQuery } from "@ovok/core/next/react";
|
|
4
4
|
import { useCmsLocale } from "./use-cms-locale.js";
|
|
5
|
-
|
|
6
|
-
/*
|
|
7
|
-
* The @ovok/core CMS hooks, reading in the app's i18next language unless
|
|
8
|
-
* `options.locale` is set, and again when that language changes.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
5
|
const useLocalized = options => {
|
|
12
6
|
const locale = useCmsLocale();
|
|
13
7
|
return {
|
|
@@ -15,13 +9,39 @@ const useLocalized = options => {
|
|
|
15
9
|
locale: options.locale || locale
|
|
16
10
|
};
|
|
17
11
|
};
|
|
18
|
-
const useCmsDocument = (collection, slug, options = {}) =>
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
12
|
+
const useCmsDocument = (collection, slug, options = {}) => {
|
|
13
|
+
const params = useLocalized(options);
|
|
14
|
+
return useOvokQuery((client, signal) => client.cms.documents.retrieve(collection, slug, params, {
|
|
15
|
+
signal
|
|
16
|
+
}), {
|
|
17
|
+
queryKey: ["cms-document", collection, slug, params],
|
|
18
|
+
enabled: Boolean(slug)
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
const useCmsDocuments = (collection, options = {}) => {
|
|
22
|
+
const params = useLocalized(options);
|
|
23
|
+
return useOvokQuery((client, signal) => client.cms.documents.list(collection, params, {
|
|
24
|
+
signal
|
|
25
|
+
}), {
|
|
26
|
+
queryKey: ["cms-documents", collection, params]
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
const useLegalPage = (slug, options = {}) => {
|
|
30
|
+
const params = useLocalized(options);
|
|
31
|
+
return useOvokQuery((client, signal) => client.cms.legalPage(slug, params, {
|
|
32
|
+
signal
|
|
33
|
+
}), {
|
|
34
|
+
queryKey: ["cms-legal", slug, params],
|
|
35
|
+
enabled: Boolean(slug)
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
const useReleaseNotes = (options = {}) => {
|
|
39
|
+
const params = useLocalized(options);
|
|
40
|
+
return useOvokQuery((client, signal) => client.cms.releaseNotes.list(params, {
|
|
41
|
+
signal
|
|
42
|
+
}), {
|
|
43
|
+
queryKey: ["cms-release-notes", params]
|
|
44
|
+
});
|
|
45
|
+
};
|
|
26
46
|
export { useCmsDocument, useCmsDocuments, useLegalPage, useReleaseNotes };
|
|
27
47
|
//# sourceMappingURL=use-cms-content.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useCmsDocument","
|
|
1
|
+
{"version":3,"names":["useOvokQuery","useCmsLocale","useLocalized","options","locale","useCmsDocument","collection","slug","params","client","signal","cms","documents","retrieve","queryKey","enabled","Boolean","useCmsDocuments","list","useLegalPage","legalPage","useReleaseNotes","releaseNotes"],"sourceRoot":"../../../../../src","sources":["modules/cms/hooks/use-cms-content.ts"],"mappings":";;AAAA,SAASA,YAAY,QAAQ,uBAAuB;AAKpD,SAASC,YAAY,QAAQ,qBAAkB;AAE/C,MAAMC,YAAY,GAAmCC,OAAU,IAAQ;EACrE,MAAMC,MAAM,GAAGH,YAAY,CAAC,CAAC;EAE7B,OAAO;IAAE,GAAGE,OAAO;IAAEC,MAAM,EAAED,OAAO,CAACC,MAAM,IAAIA;EAAO,CAAC;AACzD,CAAC;AAED,MAAMC,cAAc,GAAGA,CACrBC,UAAkB,EAClBC,IAAwB,EACxBJ,OAAsB,GAAG,CAAC,CAAC,KACL;EACtB,MAAMK,MAAM,GAAGN,YAAY,CAACC,OAAO,CAAC;EAEpC,OAAOH,YAAY,CACjB,CAACS,MAAM,EAAEC,MAAM,KAAKD,MAAM,CAACE,GAAG,CAACC,SAAS,CAACC,QAAQ,CAAIP,UAAU,EAAEC,IAAI,EAAGC,MAAM,EAAE;IAAEE;EAAO,CAAC,CAAC,EAC3F;IAAEI,QAAQ,EAAE,CAAC,cAAc,EAAER,UAAU,EAAEC,IAAI,EAAEC,MAAM,CAAC;IAAEO,OAAO,EAAEC,OAAO,CAACT,IAAI;EAAE,CACjF,CAAC;AACH,CAAC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
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { toCmsLocale } from "@ovok/core";
|
|
4
3
|
import { useTranslation } from "react-i18next";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* The app's i18next language as an Ovok CMS locale ("de-DE" reads "de"; a
|
|
8
|
-
* language the CMS doesn't carry reads "en"). Follows `i18n.changeLanguage`.
|
|
9
|
-
*/
|
|
4
|
+
import { toCmsLocale } from "../cms-locale.js";
|
|
10
5
|
export const useCmsLocale = () => {
|
|
11
6
|
const {
|
|
12
7
|
i18n
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["useTranslation","toCmsLocale","useCmsLocale","i18n","resolvedLanguage","language"],"sourceRoot":"../../../../../src","sources":["modules/cms/hooks/use-cms-locale.ts"],"mappings":";;AAAA,SAASA,cAAc,QAAQ,eAAe;AAE9C,SAASC,WAAW,QAAQ,kBAAe;AAE3C,OAAO,MAAMC,YAAY,GAAGA,CAAA,KAAc;EACxC,MAAM;IAAEC;EAAK,CAAC,GAAGH,cAAc,CAAC,CAAC;EAEjC,OAAOC,WAAW,CAACE,IAAI,CAACC,gBAAgB,IAAID,IAAI,CAACE,QAAQ,CAAC;AAC5D,CAAC","ignoreList":[]}
|
|
@@ -1,45 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { useOvokQuery } from "@ovok/core/next/react";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { useTranslation } from "react-i18next";
|
|
6
|
+
import { toCmsLocale } from "../cms-locale.js";
|
|
6
7
|
import { mergeCmsTranslations } from "../merge-cms-translations.js";
|
|
7
8
|
import { useCmsLocale } from "./use-cms-locale.js";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Loads the CMS `translations` collection into the app's i18next instance:
|
|
11
|
-
* read in the i18next language unless `options.locale` is set, and added under
|
|
12
|
-
* its CMS locale ("de", which a "de-DE" language still resolves through). The
|
|
13
|
-
* app's own strings still win; the CMS replaces the SDK's built-in English.
|
|
14
|
-
* Call it once, near the root; signed out, pass `tenantCode`.
|
|
15
|
-
*/
|
|
16
9
|
export const useCmsTranslations = (options = {}) => {
|
|
17
10
|
const {
|
|
18
11
|
i18n
|
|
19
12
|
} = useTranslation();
|
|
20
13
|
const cmsLocale = useCmsLocale();
|
|
21
14
|
const locale = toCmsLocale(options.locale || cmsLocale);
|
|
22
|
-
const state =
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
const state = useOvokQuery((client, signal) => client.cms.translations(locale, {
|
|
16
|
+
signal
|
|
17
|
+
}), {
|
|
18
|
+
queryKey: ["cms-translations", locale]
|
|
25
19
|
});
|
|
26
|
-
const {
|
|
27
|
-
data
|
|
28
|
-
} = state;
|
|
29
20
|
const merged = React.useRef(undefined);
|
|
30
21
|
React.useEffect(() => {
|
|
31
|
-
|
|
32
|
-
if (!data || data === merged.current) {
|
|
22
|
+
if (!state.data || state.data === merged.current) {
|
|
33
23
|
return;
|
|
34
24
|
}
|
|
35
|
-
merged.current = data;
|
|
36
|
-
|
|
37
|
-
// Re-render through the event react-i18next listens to. Not changeLanguage: during a
|
|
38
|
-
// pending switch, changing back to the old language would revert the user's switch.
|
|
39
|
-
if (mergeCmsTranslations(i18n, locale, data)) {
|
|
25
|
+
merged.current = state.data;
|
|
26
|
+
if (mergeCmsTranslations(i18n, locale, state.data)) {
|
|
40
27
|
i18n.emit("languageChanged", i18n.language);
|
|
41
28
|
}
|
|
42
|
-
}, [data, i18n, locale]);
|
|
29
|
+
}, [state.data, i18n, locale]);
|
|
43
30
|
return state;
|
|
44
31
|
};
|
|
45
32
|
//# sourceMappingURL=use-cms-translations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["useOvokQuery","React","useTranslation","toCmsLocale","mergeCmsTranslations","useCmsLocale","useCmsTranslations","options","i18n","cmsLocale","locale","state","client","signal","cms","translations","queryKey","merged","useRef","undefined","useEffect","data","current","emit","language"],"sourceRoot":"../../../../../src","sources":["modules/cms/hooks/use-cms-translations.ts"],"mappings":";;AAAA,SAASA,YAAY,QAAQ,uBAAuB;AACpD,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,SAASC,cAAc,QAAQ,eAAe;AAI9C,SAASC,WAAW,QAAQ,kBAAe;AAC3C,SAASC,oBAAoB,QAAQ,8BAA2B;AAEhE,SAASC,YAAY,QAAQ,qBAAkB;AAE/C,OAAO,MAAMC,kBAAkB,GAAGA,CAACC,OAAsB,GAAG,CAAC,CAAC,KAAK;EACjE,MAAM;IAAEC;EAAK,CAAC,GAAGN,cAAc,CAAC,CAAC;EACjC,MAAMO,SAAS,GAAGJ,YAAY,CAAC,CAAC;EAChC,MAAMK,MAAM,GAAGP,WAAW,CAACI,OAAO,CAACG,MAAM,IAAID,SAAS,CAAC;EAEvD,MAAME,KAAK,GAAGX,YAAY,CACxB,CAACY,MAAM,EAAEC,MAAM,KAAKD,MAAM,CAACE,GAAG,CAACC,YAAY,CAACL,MAAM,EAAE;IAAEG;EAAO,CAAC,CAAC,EAC/D;IAAEG,QAAQ,EAAE,CAAC,kBAAkB,EAAEN,MAAM;EAAE,CAC3C,CAAC;EAED,MAAMO,MAAM,GAAGhB,KAAK,CAACiB,MAAM,CAA+BC,SAAS,CAAC;EAEpElB,KAAK,CAACmB,SAAS,CAAC,MAAM;IACpB,IAAI,CAACT,KAAK,CAACU,IAAI,IAAIV,KAAK,CAACU,IAAI,KAAKJ,MAAM,CAACK,OAAO,EAAE;MAChD;IACF;IAEAL,MAAM,CAACK,OAAO,GAAGX,KAAK,CAACU,IAAI;IAE3B,IAAIjB,oBAAoB,CAACI,IAAI,EAAEE,MAAM,EAAEC,KAAK,CAACU,IAAI,CAAC,EAAE;MAClDb,IAAI,CAACe,IAAI,CAAC,iBAAiB,EAAEf,IAAI,CAACgB,QAAQ,CAAC;IAC7C;EACF,CAAC,EAAE,CAACb,KAAK,CAACU,IAAI,EAAEb,IAAI,EAAEE,MAAM,CAAC,CAAC;EAE9B,OAAOC,KAAK;AACd,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["defaultTranslation","written","WeakMap","leaves","tree","prefix","Object","entries","flatMap","key","value","sdkDefault","path","split","reduce","node","mergeCmsTranslations","i18n","lng","translations","byLanguage","get","store","Map","own","changed","set","text","current","getResource","writable","undefined","addResource","silent"],"sourceRoot":"../../../../src","sources":["modules/cms/merge-cms-translations.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"names":["defaultTranslation","written","WeakMap","leaves","tree","prefix","Object","entries","flatMap","key","value","sdkDefault","path","split","reduce","node","mergeCmsTranslations","i18n","lng","translations","byLanguage","get","store","Map","own","changed","set","text","current","getResource","writable","undefined","addResource","silent"],"sourceRoot":"../../../../src","sources":["modules/cms/merge-cms-translations.ts"],"mappings":";;AAIA,SAASA,kBAAkB,QAAQ,gCAA6B;;AAEhE;AACA;AACA;AACA;AACA;AACA,MAAMC,OAAO,GAAG,IAAIC,OAAO,CAAkD,CAAC;;AAE9E;AACA,MAAMC,MAAM,GAAGA,CAACC,IAAyB,EAAEC,MAAM,GAAG,EAAE,KACpDC,MAAM,CAACC,OAAO,CAACH,IAAI,CAAC,CAACI,OAAO,CAAC,CAAC,CAACC,GAAG,EAAEC,KAAK,CAAC,KACxC,OAAOA,KAAK,KAAK,QAAQ,GAAG,CAAC,CAAC,GAAGL,MAAM,GAAGI,GAAG,EAAE,EAAEC,KAAK,CAAC,CAAC,GAAGP,MAAM,CAACO,KAAK,EAAE,GAAGL,MAAM,GAAGI,GAAG,GAAG,CAC7F,CAAC;;AAEH;AACA,MAAME,UAAU,GAAIC,IAAY,IAC9BA,IAAI,CACDC,KAAK,CAAC,GAAG,CAAC,CACVC,MAAM,CAAU,CAACC,IAAI,EAAEN,GAAG,KAAMM,IAAI,GAA2CN,GAAG,CAAC,EAAET,kBAAkB,CAAC;;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
3
|
-
import {
|
|
3
|
+
import { useSession } from "@ovok/core/next/react";
|
|
4
4
|
import { useNetInfo } from "@react-native-community/netinfo";
|
|
5
5
|
import * as React from "react";
|
|
6
|
+
import { useNativeOvok } from "../../next/use-native-ovok.js";
|
|
6
7
|
import { createProgressCollector } from "../utils/create-progress-collector.js";
|
|
8
|
+
import { healthSyncOwner } from "../utils/session-owner.js";
|
|
7
9
|
/**
|
|
8
10
|
* The lifecycle both platform components share: the initial sync, pause and
|
|
9
11
|
* resume on network changes, and a teardown that never throws.
|
|
@@ -17,9 +19,13 @@ export const useHealthSyncRunner = ({
|
|
|
17
19
|
onError,
|
|
18
20
|
onProgress
|
|
19
21
|
}) => {
|
|
20
|
-
const client =
|
|
21
|
-
const
|
|
22
|
+
const client = useNativeOvok();
|
|
23
|
+
const session = useSession();
|
|
24
|
+
const owner = healthSyncOwner(client, session.data ?? null);
|
|
25
|
+
const patientId = owner?.patientId;
|
|
26
|
+
const ownerKey = owner?.ownerKey;
|
|
22
27
|
const serviceRef = React.useRef(null);
|
|
28
|
+
const generation = React.useRef(0);
|
|
23
29
|
const {
|
|
24
30
|
isConnected,
|
|
25
31
|
type
|
|
@@ -28,13 +34,21 @@ export const useHealthSyncRunner = ({
|
|
|
28
34
|
const onProgressRef = React.useRef(onProgress);
|
|
29
35
|
const [updateProgress] = React.useState(() => createProgressCollector(progress => onProgressRef.current?.(progress)));
|
|
30
36
|
const syncData = React.useCallback(async () => {
|
|
31
|
-
if (skip) {
|
|
37
|
+
if (skip || !patientId || !ownerKey) {
|
|
32
38
|
return;
|
|
33
39
|
}
|
|
34
40
|
try {
|
|
41
|
+
const requestGeneration = ++generation.current;
|
|
42
|
+
if (serviceRef.current) {
|
|
43
|
+
await serviceRef.current.stopSync();
|
|
44
|
+
}
|
|
45
|
+
if (requestGeneration !== generation.current) {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
35
48
|
serviceRef.current = getInstance({
|
|
36
49
|
client,
|
|
37
|
-
patientId
|
|
50
|
+
patientId,
|
|
51
|
+
ownerKey,
|
|
38
52
|
dataToSync,
|
|
39
53
|
chunkSize,
|
|
40
54
|
onSyncError: error => onErrorRef.current?.(error),
|
|
@@ -44,7 +58,7 @@ export const useHealthSyncRunner = ({
|
|
|
44
58
|
} catch (error) {
|
|
45
59
|
onErrorRef.current?.(error);
|
|
46
60
|
}
|
|
47
|
-
}, [skip, getInstance, client, dataToSync, chunkSize,
|
|
61
|
+
}, [skip, getInstance, client, dataToSync, chunkSize, patientId, ownerKey, updateProgress]);
|
|
48
62
|
|
|
49
63
|
/*
|
|
50
64
|
* The first sync. `startSync` reads the per-code watermark off the server and
|
|
@@ -55,6 +69,16 @@ export const useHealthSyncRunner = ({
|
|
|
55
69
|
*/
|
|
56
70
|
React.useEffect(() => {
|
|
57
71
|
syncData();
|
|
72
|
+
const currentGeneration = generation;
|
|
73
|
+
return () => {
|
|
74
|
+
++currentGeneration.current;
|
|
75
|
+
try {
|
|
76
|
+
Promise.resolve(serviceRef.current?.stopSync()).catch(error => onErrorRef.current?.(error));
|
|
77
|
+
} catch (error) {
|
|
78
|
+
onErrorRef.current?.(error);
|
|
79
|
+
}
|
|
80
|
+
serviceRef.current = null;
|
|
81
|
+
};
|
|
58
82
|
}, [syncData]);
|
|
59
83
|
React.useEffect(() => {
|
|
60
84
|
if (!serviceRef.current) {
|
|
@@ -71,22 +95,6 @@ export const useHealthSyncRunner = ({
|
|
|
71
95
|
onErrorRef.current = onError;
|
|
72
96
|
onProgressRef.current = onProgress;
|
|
73
97
|
}, [onError, onProgress]);
|
|
74
|
-
React.useEffect(() => {
|
|
75
|
-
return () => {
|
|
76
|
-
/*
|
|
77
|
-
* A teardown that throws takes the unmount with it, and React has no
|
|
78
|
-
* boundary for a cleanup function — so a sync that fails to stop
|
|
79
|
-
* became a crash on the way out of a screen. The error goes to the
|
|
80
|
-
* app's own handler, which is what `onError` is for.
|
|
81
|
-
*/
|
|
82
|
-
try {
|
|
83
|
-
serviceRef.current?.stopSync();
|
|
84
|
-
} catch (error) {
|
|
85
|
-
onErrorRef.current?.(error);
|
|
86
|
-
}
|
|
87
|
-
serviceRef.current = null;
|
|
88
|
-
};
|
|
89
|
-
}, []);
|
|
90
98
|
return {
|
|
91
99
|
syncData,
|
|
92
100
|
onErrorRef
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["useSession","useNetInfo","React","useNativeOvok","createProgressCollector","healthSyncOwner","useHealthSyncRunner","getInstance","dataToSync","chunkSize","wifiOnly","skip","onError","onProgress","client","session","owner","data","patientId","ownerKey","serviceRef","useRef","generation","isConnected","type","onErrorRef","onProgressRef","updateProgress","useState","progress","current","syncData","useCallback","requestGeneration","stopSync","onSyncError","error","startSync","useEffect","currentGeneration","Promise","resolve","catch","pauseReason","undefined","pauseSync"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/hooks/use-health-sync-runner.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,uBAAuB;AAClD,SAASC,UAAU,QAAQ,iCAAiC;AAC5D,OAAO,KAAKC,KAAK,MAAM,OAAO;AAE9B,SAASC,aAAa,QAAQ,+BAA4B;AAO1D,SAASC,uBAAuB,QAAQ,uCAAoC;AAC5E,SAASC,eAAe,QAAQ,2BAAwB;AAqBxD;AACA;AACA;AACA;AACA,OAAO,MAAMC,mBAAmB,GAAGA,CAAiC;EAClEC,WAAW;EACXC,UAAU;EACVC,SAAS;EACTC,QAAQ;EACRC,IAAI,GAAG,KAAK;EACZC,OAAO;EACPC;AACoC,CAAC,KAAK;EAC1C,MAAMC,MAAM,GAAGX,aAAa,CAAC,CAAC;EAC9B,MAAMY,OAAO,GAAGf,UAAU,CAAC,CAAC;EAC5B,MAAMgB,KAAK,GAAGX,eAAe,CAACS,MAAM,EAAEC,OAAO,CAACE,IAAI,IAAI,IAAI,CAAC;EAC3D,MAAMC,SAAS,GAAGF,KAAK,EAAEE,SAAS;EAClC,MAAMC,QAAQ,GAAGH,KAA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AAE,CAACD,OAAO,EAAEC,UAAU,CAAC,CAAC;EAEzB,OAAO;IAAEkB,QAAQ;IAAEN;EAAW,CAAC;AACjC,CAAC","ignoreList":[]}
|
|
@@ -17,13 +17,12 @@ import { SyncStateManager } from "./managers/sync-state-manager.js";
|
|
|
17
17
|
export class BaseHealthSyncService {
|
|
18
18
|
constructor(props, adapter) {
|
|
19
19
|
this.adapter = adapter;
|
|
20
|
-
this.client = props.client;
|
|
21
20
|
this.patientId = props.patientId;
|
|
22
21
|
this.dataToSync = props.dataToSync;
|
|
23
22
|
this.onSyncError = props.onSyncError;
|
|
24
23
|
this.progressManager = new SyncProgressManager(props.updateProgress, props.dataToSync);
|
|
25
24
|
this.stateManager = new SyncStateManager();
|
|
26
|
-
this.storageManager = new StorageManager(props.client, adapter.provider);
|
|
25
|
+
this.storageManager = new StorageManager(props.client, adapter.provider, props.ownerKey, props.patientId);
|
|
27
26
|
this.dataProcessor = new DataProcessor(props.client, props.patientId, this.adapter.provider, props.chunkSize ?? DEFAULT_HEALTH_SYNC_CHUNK_SIZE, this.storageManager, adapter.getTotalCount, adapter.getData, adapter.convert);
|
|
28
27
|
}
|
|
29
28
|
|
|
@@ -35,14 +34,11 @@ export class BaseHealthSyncService {
|
|
|
35
34
|
}
|
|
36
35
|
async runSync() {
|
|
37
36
|
try {
|
|
38
|
-
if (!this.client.isInitialized) {
|
|
39
|
-
this.onSyncError(new Error("Client not initialized"));
|
|
40
|
-
return;
|
|
41
|
-
}
|
|
42
37
|
if (!this.patientId) {
|
|
43
38
|
this.onSyncError(new Error("Patient not found"));
|
|
44
39
|
return;
|
|
45
40
|
}
|
|
41
|
+
await this.storageManager.requireOwner(this.patientId);
|
|
46
42
|
this.stateManager.resume();
|
|
47
43
|
this.progressManager.setNotStartedStatuses();
|
|
48
44
|
if (!this.stateManager.initialDataFetched) {
|
|
@@ -139,7 +135,7 @@ export class BaseHealthSyncService {
|
|
|
139
135
|
if (deletedRecordIds.length !== 0) {
|
|
140
136
|
await this.storageManager.deleteObservations(deletedRecordIds, this.patientId);
|
|
141
137
|
}
|
|
142
|
-
this.storageManager.saveAnchors(anchors);
|
|
138
|
+
await this.storageManager.saveAnchors(anchors);
|
|
143
139
|
} catch (error) {
|
|
144
140
|
if (isSyncRetryCancelled(error) || this.stateManager.shouldStopSync) {
|
|
145
141
|
return;
|
|
@@ -149,7 +145,7 @@ export class BaseHealthSyncService {
|
|
|
149
145
|
return;
|
|
150
146
|
}
|
|
151
147
|
} else {
|
|
152
|
-
this.storageManager.saveAnchors(anchors);
|
|
148
|
+
await this.storageManager.saveAnchors(anchors);
|
|
153
149
|
}
|
|
154
150
|
}
|
|
155
151
|
this.progressManager.setStatus(measurementTypeKey, this.stateManager.shouldStopSync ? "idle" : "completed");
|