@careevolution/mydatahelps-ui 2.11.1-SSComponents.0 → 2.12.1-SSComponents.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +12 -189
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/asthma/components/AsthmaActionPlanManager/AsthmaActionPlanManager.d.ts +9 -0
- package/dist/cjs/types/components/asthma/components/AsthmaActionPlanManager/AsthmaActionPlanManager.stories.d.ts +32 -0
- package/dist/cjs/types/components/asthma/components/AsthmaActionPlanManager/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +11 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +7 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +37 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.d.ts +9 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.stories.d.ts +34 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverTrigger/AsthmaAlertTakeoverTrigger.d.ts +11 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverTrigger/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.d.ts +12 -0
- package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +12 -0
- package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +32 -0
- package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +12 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +6 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +46 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +10 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +8 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +32 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts +13 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.previewData.d.ts +6 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.stories.d.ts +39 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +11 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +7 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +32 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/AsthmaPostEnrollmentSurveyTrigger.d.ts +8 -0
- package/dist/cjs/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/index.d.ts +10 -0
- package/dist/cjs/types/components/asthma/helpers/asthma-data.d.ts +26 -0
- package/dist/cjs/types/components/asthma/helpers/asthma-functions.d.ts +20 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-daytime.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-nighttime.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/index.d.ts +8 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/respiratory-rate.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-daytime.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-nighttime.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/shared.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/sleep.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/steps.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/index.d.ts +4 -0
- package/dist/cjs/types/components/asthma/model/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/model/types.d.ts +66 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActionPlanView/AsthmaActionPlanView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActionPlanView/AsthmaActionPlanView.stories.d.ts +29 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActionPlanView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.stories.d.ts +30 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActivityView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.stories.d.ts +41 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.d.ts +7 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.stories.d.ts +23 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaDayView/AsthmaDayView.d.ts +15 -0
- package/dist/cjs/types/components/asthma/views/AsthmaDayView/AsthmaDayView.stories.d.ts +23 -0
- package/dist/cjs/types/components/asthma/views/AsthmaDayView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.stories.d.ts +41 -0
- package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.previewData.d.ts +6 -0
- package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.stories.d.ts +29 -0
- package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.stories.d.ts +30 -0
- package/dist/cjs/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/index.d.ts +8 -0
- package/dist/cjs/types/components/container/RecentDailyDataBarChart/RecentDailyDataBarChart.d.ts +17 -0
- package/dist/cjs/types/components/container/RecentDailyDataBarChart/RecentDailyDataBarChart.stories.d.ts +58 -0
- package/dist/cjs/types/components/container/RecentDailyDataBarChart/index.d.ts +1 -0
- package/dist/cjs/types/components/container/index.d.ts +1 -0
- package/dist/cjs/types/components/index.d.ts +3 -2
- package/dist/cjs/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
- package/dist/cjs/types/components/presentational/Layout/index.d.ts +1 -2
- package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -0
- package/dist/cjs/types/components/presentational/Resource/Resource.d.ts +1 -0
- package/dist/cjs/types/components/presentational/Resource/Resource.stories.d.ts +8 -0
- package/dist/cjs/types/components/presentational/ResourceList/ResourceList.d.ts +19 -0
- package/dist/cjs/types/components/presentational/ResourceList/ResourceList.previewData.d.ts +6 -0
- package/dist/cjs/types/components/presentational/ResourceList/ResourceList.stories.d.ts +50 -0
- package/dist/cjs/types/components/presentational/ResourceList/index.d.ts +2 -0
- package/dist/cjs/types/components/presentational/RotatingComponentCoordinator/RotatingComponentCoordinator.d.ts +9 -0
- package/dist/cjs/types/components/presentational/RotatingComponentCoordinator/RotatingComponentCoordinator.stories.d.ts +26 -0
- package/dist/cjs/types/components/presentational/RotatingComponentCoordinator/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/SingleDataPoint/SingleDataPoint.d.ts +13 -0
- package/dist/cjs/types/components/presentational/SingleDataPoint/SingleDataPoint.stories.d.ts +55 -0
- package/dist/cjs/types/components/presentational/SingleDataPoint/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/index.d.ts +3 -0
- package/dist/cjs/types/components/view/ResourceListView/ResourceListView.d.ts +11 -0
- package/dist/cjs/types/components/view/ResourceListView/ResourceListView.stories.d.ts +40 -0
- package/dist/cjs/types/components/view/ResourceListView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/index.d.ts +1 -0
- package/dist/cjs/types/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
- package/dist/cjs/types/helpers/daily-data-providers/air-quality-work.d.ts +2 -0
- package/dist/cjs/types/helpers/daily-data-providers/index.d.ts +3 -0
- package/dist/cjs/types/helpers/daily-data-providers/shared.d.ts +4 -0
- package/dist/cjs/types/helpers/query-daily-data.d.ts +5 -1
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/esm/index.js +12 -189
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/asthma/components/AsthmaActionPlanManager/AsthmaActionPlanManager.d.ts +9 -0
- package/dist/esm/types/components/asthma/components/AsthmaActionPlanManager/AsthmaActionPlanManager.stories.d.ts +32 -0
- package/dist/esm/types/components/asthma/components/AsthmaActionPlanManager/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +11 -0
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +7 -0
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +37 -0
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.d.ts +9 -0
- package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.stories.d.ts +34 -0
- package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverTrigger/AsthmaAlertTakeoverTrigger.d.ts +11 -0
- package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverTrigger/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.d.ts +12 -0
- package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +12 -0
- package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +32 -0
- package/dist/esm/types/components/asthma/components/AsthmaBiometrics/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +12 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +6 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +46 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +10 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +8 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +32 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts +13 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.previewData.d.ts +6 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.stories.d.ts +39 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +11 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +7 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +32 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/AsthmaPostEnrollmentSurveyTrigger.d.ts +8 -0
- package/dist/esm/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/index.d.ts +10 -0
- package/dist/esm/types/components/asthma/helpers/asthma-data.d.ts +26 -0
- package/dist/esm/types/components/asthma/helpers/asthma-functions.d.ts +20 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-daytime.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-nighttime.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/index.d.ts +8 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/respiratory-rate.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-daytime.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-nighttime.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/shared.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/sleep.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/steps.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/index.d.ts +4 -0
- package/dist/esm/types/components/asthma/model/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/model/types.d.ts +66 -0
- package/dist/esm/types/components/asthma/views/AsthmaActionPlanView/AsthmaActionPlanView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaActionPlanView/AsthmaActionPlanView.stories.d.ts +29 -0
- package/dist/esm/types/components/asthma/views/AsthmaActionPlanView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.stories.d.ts +30 -0
- package/dist/esm/types/components/asthma/views/AsthmaActivityView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.stories.d.ts +41 -0
- package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.d.ts +7 -0
- package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.stories.d.ts +23 -0
- package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaDayView/AsthmaDayView.d.ts +15 -0
- package/dist/esm/types/components/asthma/views/AsthmaDayView/AsthmaDayView.stories.d.ts +23 -0
- package/dist/esm/types/components/asthma/views/AsthmaDayView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.stories.d.ts +41 -0
- package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.previewData.d.ts +6 -0
- package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.stories.d.ts +29 -0
- package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.stories.d.ts +30 -0
- package/dist/esm/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/index.d.ts +8 -0
- package/dist/esm/types/components/container/RecentDailyDataBarChart/RecentDailyDataBarChart.d.ts +17 -0
- package/dist/esm/types/components/container/RecentDailyDataBarChart/RecentDailyDataBarChart.stories.d.ts +58 -0
- package/dist/esm/types/components/container/RecentDailyDataBarChart/index.d.ts +1 -0
- package/dist/esm/types/components/container/index.d.ts +1 -0
- package/dist/esm/types/components/index.d.ts +3 -2
- package/dist/esm/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
- package/dist/esm/types/components/presentational/Layout/index.d.ts +1 -2
- package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -0
- package/dist/esm/types/components/presentational/Resource/Resource.d.ts +1 -0
- package/dist/esm/types/components/presentational/Resource/Resource.stories.d.ts +8 -0
- package/dist/esm/types/components/presentational/ResourceList/ResourceList.d.ts +19 -0
- package/dist/esm/types/components/presentational/ResourceList/ResourceList.previewData.d.ts +6 -0
- package/dist/esm/types/components/presentational/ResourceList/ResourceList.stories.d.ts +50 -0
- package/dist/esm/types/components/presentational/ResourceList/index.d.ts +2 -0
- package/dist/esm/types/components/presentational/RotatingComponentCoordinator/RotatingComponentCoordinator.d.ts +9 -0
- package/dist/esm/types/components/presentational/RotatingComponentCoordinator/RotatingComponentCoordinator.stories.d.ts +26 -0
- package/dist/esm/types/components/presentational/RotatingComponentCoordinator/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/SingleDataPoint/SingleDataPoint.d.ts +13 -0
- package/dist/esm/types/components/presentational/SingleDataPoint/SingleDataPoint.stories.d.ts +55 -0
- package/dist/esm/types/components/presentational/SingleDataPoint/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/index.d.ts +3 -0
- package/dist/esm/types/components/view/ResourceListView/ResourceListView.d.ts +11 -0
- package/dist/esm/types/components/view/ResourceListView/ResourceListView.stories.d.ts +40 -0
- package/dist/esm/types/components/view/ResourceListView/index.d.ts +1 -0
- package/dist/esm/types/components/view/index.d.ts +1 -0
- package/dist/esm/types/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
- package/dist/esm/types/helpers/daily-data-providers/air-quality-work.d.ts +2 -0
- package/dist/esm/types/helpers/daily-data-providers/index.d.ts +3 -0
- package/dist/esm/types/helpers/daily-data-providers/shared.d.ts +4 -0
- package/dist/esm/types/helpers/query-daily-data.d.ts +5 -1
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/index.d.ts +1157 -804
- package/package.json +2 -2
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './AsthmaActionPlanManager.css';
|
|
3
|
+
export interface AsthmaActionPlanManagerProps {
|
|
4
|
+
previewState?: 'loading' | 'loaded without action plan' | 'loaded with action plan';
|
|
5
|
+
learnMoreUrl: string;
|
|
6
|
+
editActionPlanSurveyName: string;
|
|
7
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
8
|
+
}
|
|
9
|
+
export default function (props: AsthmaActionPlanManagerProps): React.JSX.Element;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaActionPlanManager, { AsthmaActionPlanManagerProps } from './AsthmaActionPlanManager';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaActionPlanManager;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
interface AsthmaActionPlanManagerStoryArgs extends AsthmaActionPlanManagerProps {
|
|
12
|
+
colorScheme: 'auto' | 'light' | 'dark';
|
|
13
|
+
}
|
|
14
|
+
export declare const Default: {
|
|
15
|
+
args: {
|
|
16
|
+
colorScheme: string;
|
|
17
|
+
previewState: string;
|
|
18
|
+
};
|
|
19
|
+
argTypes: {
|
|
20
|
+
colorScheme: {
|
|
21
|
+
name: string;
|
|
22
|
+
control: string;
|
|
23
|
+
options: string[];
|
|
24
|
+
};
|
|
25
|
+
previewState: {
|
|
26
|
+
name: string;
|
|
27
|
+
control: string;
|
|
28
|
+
options: string[];
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
render: (args: AsthmaActionPlanManagerStoryArgs) => React.JSX.Element;
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AsthmaActionPlanManager';
|
package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './AsthmaAirQualities.css';
|
|
3
|
+
import { AsthmaAirQualitiesPreviewState } from './AsthmaAirQualities.previewData';
|
|
4
|
+
export interface AsthmaAirQualitiesProps {
|
|
5
|
+
previewState?: 'loading' | AsthmaAirQualitiesPreviewState;
|
|
6
|
+
editZipCodesSurveyName?: string;
|
|
7
|
+
airQualityUrl: string;
|
|
8
|
+
date?: Date;
|
|
9
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
10
|
+
}
|
|
11
|
+
export default function (props: AsthmaAirQualitiesProps): React.JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AsthmaAirQuality } from '../../model';
|
|
2
|
+
export type AsthmaAirQualitiesPreviewState = 'neither configured' | 'one configured' | 'no data (control)' | 'no data (date)' | 'some data (control)' | 'some data (date)' | 'all data';
|
|
3
|
+
export interface AsthmaAirQualitiesPreviewData {
|
|
4
|
+
homeAirQuality: AsthmaAirQuality;
|
|
5
|
+
workAirQuality: AsthmaAirQuality;
|
|
6
|
+
}
|
|
7
|
+
export declare const previewData: Record<AsthmaAirQualitiesPreviewState, AsthmaAirQualitiesPreviewData>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaAirQualities, { AsthmaAirQualitiesProps } from './AsthmaAirQualities';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaAirQualities;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
interface AsthmaAirQualitiesStoryArgs extends AsthmaAirQualitiesProps {
|
|
12
|
+
colorScheme: 'auto' | 'light' | 'dark';
|
|
13
|
+
canEditSettings: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const Default: {
|
|
16
|
+
args: {
|
|
17
|
+
colorScheme: string;
|
|
18
|
+
previewState: string;
|
|
19
|
+
canEditSettings: boolean;
|
|
20
|
+
};
|
|
21
|
+
argTypes: {
|
|
22
|
+
colorScheme: {
|
|
23
|
+
name: string;
|
|
24
|
+
control: string;
|
|
25
|
+
options: string[];
|
|
26
|
+
};
|
|
27
|
+
previewState: {
|
|
28
|
+
name: string;
|
|
29
|
+
control: string;
|
|
30
|
+
options: string[];
|
|
31
|
+
};
|
|
32
|
+
canEditSettings: {
|
|
33
|
+
name: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
render: (args: AsthmaAirQualitiesStoryArgs) => React.JSX.Element;
|
|
37
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './AsthmaAlertTakeoverNotice.css';
|
|
3
|
+
export interface AsthmaAlertTakeoverNoticeProps {
|
|
4
|
+
previewState?: 'loading' | 'loaded';
|
|
5
|
+
message: string;
|
|
6
|
+
logEntrySurveyName: string;
|
|
7
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
8
|
+
}
|
|
9
|
+
export default function (props: AsthmaAlertTakeoverNoticeProps): React.JSX.Element;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaAlertTakeoverNotice, { AsthmaAlertTakeoverNoticeProps } from './AsthmaAlertTakeoverNotice';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaAlertTakeoverNotice;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
interface AsthmaAlertTakeoverNoticeStoryProps extends AsthmaAlertTakeoverNoticeProps {
|
|
12
|
+
colorScheme: 'auto' | 'light' | 'dark';
|
|
13
|
+
message: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const Default: {
|
|
16
|
+
args: {
|
|
17
|
+
colorScheme: string;
|
|
18
|
+
previewState: string;
|
|
19
|
+
message: string;
|
|
20
|
+
};
|
|
21
|
+
argTypes: {
|
|
22
|
+
colorScheme: {
|
|
23
|
+
name: string;
|
|
24
|
+
control: string;
|
|
25
|
+
options: string[];
|
|
26
|
+
};
|
|
27
|
+
previewState: {
|
|
28
|
+
name: string;
|
|
29
|
+
control: string;
|
|
30
|
+
options: string[];
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
render: (args: AsthmaAlertTakeoverNoticeStoryProps) => React.JSX.Element;
|
|
34
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AsthmaAlertTakeoverNotice';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface AsthmaAlertTakeoverTriggerProps {
|
|
3
|
+
previewState?: boolean;
|
|
4
|
+
heartAndLungsUrl: string;
|
|
5
|
+
activityUrl: string;
|
|
6
|
+
sleepUrl: string;
|
|
7
|
+
airQualityUrl: string;
|
|
8
|
+
alertTakeoverUrl: string;
|
|
9
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
10
|
+
}
|
|
11
|
+
export default function (props: AsthmaAlertTakeoverTriggerProps): null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AsthmaAlertTakeoverTrigger';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './AsthmaBiometrics.css';
|
|
3
|
+
import { AsthmaBiometricsPreviewState } from './AsthmaBiometrics.previewData';
|
|
4
|
+
export interface AsthmaBiometricsProps {
|
|
5
|
+
previewState?: 'loading' | AsthmaBiometricsPreviewState;
|
|
6
|
+
heartAndLungsUrl: string;
|
|
7
|
+
activityUrl: string;
|
|
8
|
+
sleepUrl: string;
|
|
9
|
+
date?: Date;
|
|
10
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
11
|
+
}
|
|
12
|
+
export default function (props: AsthmaBiometricsProps): React.JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AsthmaBiometric } from '../../model';
|
|
2
|
+
export type AsthmaBiometricsPreviewState = 'no data' | 'some data' | 'all data';
|
|
3
|
+
export interface AsthmaBiometricsPreviewData {
|
|
4
|
+
daytimeRestingHeartRate: AsthmaBiometric;
|
|
5
|
+
nighttimeRestingHeartRate: AsthmaBiometric;
|
|
6
|
+
respiratoryRate: AsthmaBiometric;
|
|
7
|
+
steps: AsthmaBiometric;
|
|
8
|
+
sleepDisturbances: AsthmaBiometric;
|
|
9
|
+
daytimeBloodOxygenLevel: AsthmaBiometric;
|
|
10
|
+
nighttimeBloodOxygenLevel: AsthmaBiometric;
|
|
11
|
+
}
|
|
12
|
+
export declare const previewData: Record<AsthmaBiometricsPreviewState, AsthmaBiometricsPreviewData>;
|
package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaBiometrics, { AsthmaBiometricsProps } from './AsthmaBiometrics';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaBiometrics;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
interface AsthmaBiometricsStoryArgs extends AsthmaBiometricsProps {
|
|
12
|
+
colorScheme: 'auto' | 'light' | 'dark';
|
|
13
|
+
}
|
|
14
|
+
export declare const Default: {
|
|
15
|
+
args: {
|
|
16
|
+
colorScheme: string;
|
|
17
|
+
previewState: string;
|
|
18
|
+
};
|
|
19
|
+
argTypes: {
|
|
20
|
+
colorScheme: {
|
|
21
|
+
name: string;
|
|
22
|
+
control: string;
|
|
23
|
+
options: string[];
|
|
24
|
+
};
|
|
25
|
+
previewState: {
|
|
26
|
+
name: string;
|
|
27
|
+
control: string;
|
|
28
|
+
options: string[];
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
render: (args: AsthmaBiometricsStoryArgs) => React.JSX.Element;
|
|
32
|
+
};
|
package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './AsthmaControlCalendar.css';
|
|
3
|
+
import { AsthmaControlCalendarPreviewState } from './AsthmaControlCalendar.previewData';
|
|
4
|
+
export type AsthmaControlCalendarVariant = 'compact' | 'verbose';
|
|
5
|
+
export interface AsthmaControlCalendarProps {
|
|
6
|
+
previewState?: AsthmaControlCalendarPreviewState;
|
|
7
|
+
dayViewUrl: string;
|
|
8
|
+
intervalStart?: Date;
|
|
9
|
+
variant?: AsthmaControlCalendarVariant;
|
|
10
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
11
|
+
}
|
|
12
|
+
export default function (props: AsthmaControlCalendarProps): React.JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AsthmaLogEntry } from '../../model';
|
|
2
|
+
export type AsthmaControlCalendarPreviewState = 'no logs' | 'some logs';
|
|
3
|
+
export interface AsthmaControlCalendarPreviewData {
|
|
4
|
+
logEntries: AsthmaLogEntry[];
|
|
5
|
+
}
|
|
6
|
+
export declare const previewData: Record<AsthmaControlCalendarPreviewState, AsthmaControlCalendarPreviewData>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaControlCalendar, { AsthmaControlCalendarProps } from './AsthmaControlCalendar';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaControlCalendar;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
interface AsthmaControlCalendarStoryArgs extends AsthmaControlCalendarProps {
|
|
12
|
+
colorScheme: 'auto' | 'light' | 'dark';
|
|
13
|
+
onCard: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const Default: {
|
|
16
|
+
args: {
|
|
17
|
+
colorScheme: string;
|
|
18
|
+
previewState: string;
|
|
19
|
+
variant: string;
|
|
20
|
+
onCard: boolean;
|
|
21
|
+
};
|
|
22
|
+
argTypes: {
|
|
23
|
+
colorScheme: {
|
|
24
|
+
name: string;
|
|
25
|
+
control: string;
|
|
26
|
+
options: string[];
|
|
27
|
+
};
|
|
28
|
+
previewState: {
|
|
29
|
+
name: string;
|
|
30
|
+
control: string;
|
|
31
|
+
options: string[];
|
|
32
|
+
};
|
|
33
|
+
variant: {
|
|
34
|
+
control: string;
|
|
35
|
+
options: string[];
|
|
36
|
+
};
|
|
37
|
+
onCard: {
|
|
38
|
+
name: string;
|
|
39
|
+
if: {
|
|
40
|
+
arg: string;
|
|
41
|
+
eq: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
render: (args: AsthmaControlCalendarStoryArgs) => React.JSX.Element;
|
|
46
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './AsthmaControlStatusHeader.css';
|
|
3
|
+
import { AsthmaParticipant } from '../../model';
|
|
4
|
+
import { AsthmaControlStatusHeaderPreviewState } from './AsthmaControlStatusHeader.previewData';
|
|
5
|
+
export interface AsthmaControlStatusHeaderProps {
|
|
6
|
+
previewState?: 'loading' | AsthmaControlStatusHeaderPreviewState;
|
|
7
|
+
participant: AsthmaParticipant;
|
|
8
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
9
|
+
}
|
|
10
|
+
export default function (props: AsthmaControlStatusHeaderProps): React.JSX.Element | null;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AsthmaAirQuality, AsthmaBiometric, AsthmaControlState } from '../../model';
|
|
2
|
+
export type AsthmaControlStatusHeaderPreviewState = 'no data' | 'abnormal dhr' | 'abnormal nhr' | 'abnormal rr' | 'abnormal activity' | 'abnormal sleep' | 'abnormal dbol' | 'abnormal nbol' | 'abnormal home aqi' | 'abnormal work aqi' | 'abnormal multiple' | 'not determined' | 'not controlled' | 'controlled';
|
|
3
|
+
export interface AsthmaControlStatusHeaderPreviewData {
|
|
4
|
+
controlState: AsthmaControlState;
|
|
5
|
+
biometrics: AsthmaBiometric[];
|
|
6
|
+
airQualities: AsthmaAirQuality[];
|
|
7
|
+
}
|
|
8
|
+
export declare const previewData: Record<AsthmaControlStatusHeaderPreviewState, AsthmaControlStatusHeaderPreviewData>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaControlStatusHeader, { AsthmaControlStatusHeaderProps } from './AsthmaControlStatusHeader';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaControlStatusHeader;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
interface AsthmaControlStatusHeaderStoryArgs extends AsthmaControlStatusHeaderProps {
|
|
12
|
+
colorScheme: 'auto' | 'light' | 'dark';
|
|
13
|
+
}
|
|
14
|
+
export declare const Default: {
|
|
15
|
+
args: {
|
|
16
|
+
colorScheme: string;
|
|
17
|
+
previewState: string;
|
|
18
|
+
};
|
|
19
|
+
argTypes: {
|
|
20
|
+
colorScheme: {
|
|
21
|
+
name: string;
|
|
22
|
+
control: string;
|
|
23
|
+
options: string[];
|
|
24
|
+
};
|
|
25
|
+
previewState: {
|
|
26
|
+
name: string;
|
|
27
|
+
control: string;
|
|
28
|
+
options: string[];
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
render: (args: AsthmaControlStatusHeaderStoryArgs) => React.JSX.Element;
|
|
32
|
+
};
|
package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './AsthmaLogEntryDetails.css';
|
|
3
|
+
import { AsthmaLogEntryDetailsPreviewState } from './AsthmaLogEntryDetails.previewData';
|
|
4
|
+
export interface AsthmaLogEntryDetailsProps {
|
|
5
|
+
previewState?: 'loading' | AsthmaLogEntryDetailsPreviewState;
|
|
6
|
+
date: Date;
|
|
7
|
+
logTodayEntrySurveyName: string;
|
|
8
|
+
logYesterdayEntrySurveyName: string;
|
|
9
|
+
editLogEntryUrl: string;
|
|
10
|
+
infoUrl: string;
|
|
11
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
12
|
+
}
|
|
13
|
+
export default function (props: AsthmaLogEntryDetailsProps): React.JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AsthmaLogEntry } from '../../model';
|
|
2
|
+
export type AsthmaLogEntryDetailsPreviewState = 'not logged' | 'logged with no symptoms' | 'logged with mild symptoms' | 'logged with moderate symptoms' | 'logged with severe symptoms';
|
|
3
|
+
export interface AsthmaLogEntryDetailsPreviewData {
|
|
4
|
+
logEntry?: AsthmaLogEntry;
|
|
5
|
+
}
|
|
6
|
+
export declare const previewData: Record<AsthmaLogEntryDetailsPreviewState, AsthmaLogEntryDetailsPreviewData>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaLogEntryDetails, { AsthmaLogEntryDetailsProps } from './AsthmaLogEntryDetails';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaLogEntryDetails;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
interface AsthmaLogEntryDetailsStoryArgs extends AsthmaLogEntryDetailsProps {
|
|
12
|
+
colorScheme: 'auto' | 'light' | 'dark';
|
|
13
|
+
daysInPast: number;
|
|
14
|
+
}
|
|
15
|
+
export declare const Default: {
|
|
16
|
+
args: {
|
|
17
|
+
colorScheme: string;
|
|
18
|
+
previewState: string;
|
|
19
|
+
daysInPast: number;
|
|
20
|
+
};
|
|
21
|
+
argTypes: {
|
|
22
|
+
colorScheme: {
|
|
23
|
+
name: string;
|
|
24
|
+
control: string;
|
|
25
|
+
options: string[];
|
|
26
|
+
};
|
|
27
|
+
previewState: {
|
|
28
|
+
name: string;
|
|
29
|
+
control: string;
|
|
30
|
+
options: string[];
|
|
31
|
+
};
|
|
32
|
+
daysInPast: {
|
|
33
|
+
name: string;
|
|
34
|
+
control: string;
|
|
35
|
+
options: number[];
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
render: (args: AsthmaLogEntryDetailsStoryArgs) => React.JSX.Element;
|
|
39
|
+
};
|
package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './AsthmaLogEntryHeader.css';
|
|
3
|
+
import { AsthmaLogEntryHeaderPreviewState } from './AsthmaLogEntryHeader.previewData';
|
|
4
|
+
export interface AsthmaLogEntryHeaderProps {
|
|
5
|
+
previewState?: 'loading' | AsthmaLogEntryHeaderPreviewState;
|
|
6
|
+
logTodayEntrySurveyName: string;
|
|
7
|
+
logYesterdayEntrySurveyName: string;
|
|
8
|
+
dayViewUrl: string;
|
|
9
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
10
|
+
}
|
|
11
|
+
export default function (props: AsthmaLogEntryHeaderProps): React.JSX.Element | null;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AsthmaLogEntry } from '../../model';
|
|
2
|
+
export type AsthmaLogEntryHeaderPreviewState = 'no logs' | 'today log only' | 'yesterday log only' | 'both logs';
|
|
3
|
+
export interface AsthmaLogEntryHeaderPreviewData {
|
|
4
|
+
todayLogEntry?: AsthmaLogEntry;
|
|
5
|
+
yesterdayLogEntry?: AsthmaLogEntry;
|
|
6
|
+
}
|
|
7
|
+
export declare const previewData: Record<AsthmaLogEntryHeaderPreviewState, AsthmaLogEntryHeaderPreviewData>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaLogEntryHeader, { AsthmaLogEntryHeaderProps } from './AsthmaLogEntryHeader';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaLogEntryHeader;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
interface AsthmaLogEntryHeaderStoryArgs extends AsthmaLogEntryHeaderProps {
|
|
12
|
+
colorScheme: 'auto' | 'light' | 'dark';
|
|
13
|
+
}
|
|
14
|
+
export declare const Default: {
|
|
15
|
+
args: {
|
|
16
|
+
colorScheme: string;
|
|
17
|
+
previewState: string;
|
|
18
|
+
};
|
|
19
|
+
argTypes: {
|
|
20
|
+
colorScheme: {
|
|
21
|
+
name: string;
|
|
22
|
+
control: string;
|
|
23
|
+
options: string[];
|
|
24
|
+
};
|
|
25
|
+
previewState: {
|
|
26
|
+
name: string;
|
|
27
|
+
control: string;
|
|
28
|
+
options: string[];
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
render: (args: AsthmaLogEntryHeaderStoryArgs) => React.JSX.Element;
|
|
32
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface AsthmaPostEnrollmentSurveyTriggerProps {
|
|
3
|
+
previewState?: boolean;
|
|
4
|
+
postEnrollmentSurveyName: string;
|
|
5
|
+
postEnrollmentMobileSurveyName: string;
|
|
6
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
7
|
+
}
|
|
8
|
+
export default function (props: AsthmaPostEnrollmentSurveyTriggerProps): null;
|
package/dist/esm/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AsthmaPostEnrollmentSurveyTrigger';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { default as AsthmaActionPlanManager } from './AsthmaActionPlanManager';
|
|
2
|
+
export { default as AsthmaAirQualities, AsthmaAirQualitiesPreviewState } from './AsthmaAirQualities';
|
|
3
|
+
export { default as AsthmaAlertTakeoverNotice } from './AsthmaAlertTakeoverNotice';
|
|
4
|
+
export { default as AsthmaAlertTakeoverTrigger } from './AsthmaAlertTakeoverTrigger';
|
|
5
|
+
export { default as AsthmaBiometrics, AsthmaBiometricsPreviewState } from './AsthmaBiometrics';
|
|
6
|
+
export { default as AsthmaControlCalendar, AsthmaControlCalendarPreviewState, AsthmaControlCalendarVariant } from './AsthmaControlCalendar';
|
|
7
|
+
export { default as AsthmaControlStatusHeader } from './AsthmaControlStatusHeader';
|
|
8
|
+
export { default as AsthmaLogEntryDetails, AsthmaLogEntryDetailsPreviewState } from './AsthmaLogEntryDetails';
|
|
9
|
+
export { default as AsthmaLogEntryHeader } from './AsthmaLogEntryHeader';
|
|
10
|
+
export { default as AsthmaPostEnrollmentSurveyTrigger } from './AsthmaPostEnrollmentSurveyTrigger';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DeviceInfo, SurveyAnswer } from '@careevolution/mydatahelps-js';
|
|
2
|
+
import { AsthmaActionPlan, AsthmaAirQuality, AsthmaBiometric, AsthmaLogEntry, AsthmaParticipant } from '../model';
|
|
3
|
+
export declare enum AsthmaDailyDataType {
|
|
4
|
+
Steps = "Asthma.Steps",
|
|
5
|
+
DaytimeRestingHeartRate = "Asthma.DaytimeRestingHeartRate",
|
|
6
|
+
NighttimeRestingHeartRate = "Asthma.NighttimeRestingHeartRate",
|
|
7
|
+
RespiratoryRate = "Asthma.RespiratoryRate",
|
|
8
|
+
DaytimeBloodOxygenLevel = "Asthma.DaytimeBloodOxygenLevel",
|
|
9
|
+
NighttimeBloodOxygenLevel = "Asthma.NighttimeBloodOxygenLevel",
|
|
10
|
+
SleepDisturbances = "Asthma.SleepDisturbances"
|
|
11
|
+
}
|
|
12
|
+
export interface AsthmaDataService {
|
|
13
|
+
loadParticipant(): Promise<AsthmaParticipant>;
|
|
14
|
+
loadDeviceInfo(): Promise<DeviceInfo>;
|
|
15
|
+
loadLogEntries(fromDate?: Date, toDate?: Date): Promise<AsthmaLogEntry[]>;
|
|
16
|
+
loadBiometricsForControlStatus(): Promise<AsthmaBiometric[]>;
|
|
17
|
+
loadBiometricsForDate(date: Date): Promise<AsthmaBiometric[]>;
|
|
18
|
+
loadAirQualitiesForControlStatus(homeAirQualityZipCode: string, workAirQualityZipCode: string): Promise<AsthmaAirQuality[]>;
|
|
19
|
+
loadAirQualitiesForDate(date: Date): Promise<AsthmaAirQuality[]>;
|
|
20
|
+
saveLogEntry(logEntry: AsthmaLogEntry): Promise<void>;
|
|
21
|
+
loadAndClearAlertTakeover(): Promise<string | undefined>;
|
|
22
|
+
loadSurveyAnswers(surveyNames: string[]): Promise<SurveyAnswer[]>;
|
|
23
|
+
loadAsthmaActionPlan(): Promise<AsthmaActionPlan | undefined>;
|
|
24
|
+
}
|
|
25
|
+
declare const service: AsthmaDataService;
|
|
26
|
+
export default service;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AsthmaControlState, AsthmaDataStatus, AsthmaImpact, AsthmaLogEntry, AsthmaSymptom, AsthmaSymptomLevel, AsthmaTrigger } from '../model';
|
|
2
|
+
import { ColorDefinition } from '../../../helpers/colors';
|
|
3
|
+
export declare const dateToAsthmaLogEntryIdentifier: (date: Date) => string;
|
|
4
|
+
export declare const computeAsthmaControlState: (logEntries: AsthmaLogEntry[], date: Date) => AsthmaControlState;
|
|
5
|
+
export declare const getAsthmaDataStatusText: (status: AsthmaDataStatus) => string;
|
|
6
|
+
export declare const getAsthmaDataStatusColor: (status: AsthmaDataStatus) => ColorDefinition;
|
|
7
|
+
export declare const getAsthmaSymptomLevelText: (symptomLevel: AsthmaSymptomLevel) => string;
|
|
8
|
+
export declare const getAsthmaSymptomLevel: (symptomLevelText: string) => AsthmaSymptomLevel;
|
|
9
|
+
export declare const getAsthmaSymptomTexts: (symptoms: AsthmaSymptom[] | undefined) => string[];
|
|
10
|
+
export declare const getAsthmaSymptoms: (symptomTexts: string[]) => AsthmaSymptom[];
|
|
11
|
+
export declare const getAsthmaImpactTexts: (impacts: AsthmaImpact[] | undefined) => string[];
|
|
12
|
+
export declare const getAsthmaImpacts: (impactTexts: string[]) => AsthmaImpact[];
|
|
13
|
+
export declare const getAsthmaTriggerTexts: (triggers: AsthmaTrigger[] | undefined) => string[];
|
|
14
|
+
export declare const getAsthmaTriggers: (triggerTexts: string[]) => AsthmaTrigger[];
|
|
15
|
+
export declare const isDaytimeRestingHeartRateWithinRange: (baseline: number, rawValue: number) => boolean;
|
|
16
|
+
export declare const isNighttimeRestingHeartRateWithinRange: (baseline: number, rawValue: number) => boolean;
|
|
17
|
+
export declare const isRespiratoryRateWithinRange: (baseline: number, rawValue: number) => boolean;
|
|
18
|
+
export declare const isStepsWithinRange: (baseline: number, rawValue: number) => boolean;
|
|
19
|
+
export declare const isSleepDisturbancesWithinRange: (baseline: number, rawValue: number) => boolean;
|
|
20
|
+
export declare const isBloodOxygenLevelWithinRange: (baseline: number, rawValue: number) => boolean;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as daytimeRestingHeartRateDataProvider } from './resting-heart-rate-daytime';
|
|
2
|
+
export { default as nighttimeRestingHeartRateDataProvider } from './resting-heart-rate-nighttime';
|
|
3
|
+
export { default as respiratoryRateDataProvider } from './respiratory-rate';
|
|
4
|
+
export { default as stepsDataProvider } from './steps';
|
|
5
|
+
export { default as sleepDisturbancesDataProvider } from './sleep';
|
|
6
|
+
export { default as daytimeBloodOxygenLevelDataProvider } from './blood-oxygen-level-daytime';
|
|
7
|
+
export { default as nighttimeBloodOxygenLevelDataProvider } from './blood-oxygen-level-nighttime';
|
|
8
|
+
export * from './shared';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|