@careevolution/mydatahelps-ui 2.9.1-AsthmaUI.9 → 2.9.1-AsthmaUI.90
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 +141 -194
- 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/{container → components}/AsthmaAirQualities/AsthmaAirQualities.d.ts +4 -1
- 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/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/{esm/types/components/asthma/container → cjs/types/components/asthma/components}/AsthmaBiometrics/AsthmaBiometrics.d.ts +5 -1
- 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/{container → components}/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +3 -0
- package/dist/cjs/types/components/asthma/{container → components}/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +1 -1
- package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +46 -0
- package/dist/{esm/types/components/asthma/container → cjs/types/components/asthma/components}/AsthmaControlCalendar/index.d.ts +1 -1
- package/dist/{esm/types/components/asthma/container → cjs/types/components/asthma/components}/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +1 -1
- package/dist/cjs/types/components/asthma/{container → components}/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +1 -1
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +32 -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/{esm/types/components/asthma/container → cjs/types/components/asthma/components}/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +2 -1
- package/dist/{esm/types/components/asthma/container → cjs/types/components/asthma/components}/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +1 -1
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +32 -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 +12 -4
- package/dist/cjs/types/components/asthma/helpers/asthma-functions.d.ts +17 -4
- 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/index.d.ts +2 -2
- package/dist/cjs/types/components/asthma/model/types.d.ts +23 -6
- 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/AsthmaLibraryCategoryView/AsthmaLibraryCategoryView.d.ts +10 -0
- package/dist/cjs/types/components/asthma/views/AsthmaLibraryCategoryView/AsthmaLibraryCategoryView.stories.d.ts +40 -0
- package/dist/cjs/types/components/asthma/views/AsthmaLibraryCategoryView/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 +9 -0
- package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +12 -0
- package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.previewdata.d.ts +2 -0
- package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.stories.d.ts +43 -0
- package/dist/cjs/types/components/container/BloodPressureVisualization/index.d.ts +1 -0
- package/dist/cjs/types/components/container/InboxItemList/InboxItemList.d.ts +27 -0
- package/dist/cjs/types/components/container/InboxItemList/InboxItemList.previewData.d.ts +6 -0
- package/dist/cjs/types/components/container/InboxItemList/InboxItemList.stories.d.ts +66 -0
- package/dist/cjs/types/components/container/InboxItemList/index.d.ts +1 -0
- package/dist/cjs/types/components/container/InboxItemListCoordinator/InboxItemListCoordinator.d.ts +12 -0
- package/dist/cjs/types/components/container/InboxItemListCoordinator/index.d.ts +1 -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/SeverityCalendar/SeverityCalendar.d.ts +12 -0
- package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.previewdata.d.ts +2 -0
- package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.stories.d.ts +52 -0
- package/dist/cjs/types/components/container/SeverityCalendar/index.d.ts +1 -0
- package/dist/cjs/types/components/container/index.d.ts +5 -0
- package/dist/cjs/types/components/presentational/CalendarDay/CalendarDay.d.ts +1 -1
- package/dist/cjs/types/components/presentational/CalendarDay/CalendarDay.stories.d.ts +70 -1
- package/dist/cjs/types/components/presentational/DumbbellChart/Dumbbell.d.ts +9 -0
- package/dist/cjs/types/components/presentational/DumbbellChart/DumbbellChart.d.ts +28 -0
- package/dist/cjs/types/components/presentational/DumbbellChart/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.d.ts +10 -0
- package/dist/cjs/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.stories.d.ts +23 -0
- package/dist/cjs/types/components/presentational/InboxCompletedListItem/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/InboxMessageListItem/InboxMessageListItem.d.ts +10 -0
- package/dist/cjs/types/components/presentational/InboxMessageListItem/InboxMessageListItem.stories.d.ts +24 -0
- package/dist/cjs/types/components/presentational/InboxMessageListItem/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +12 -0
- package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +67 -0
- package/dist/cjs/types/components/presentational/InboxResourceListItem/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.d.ts +13 -0
- package/dist/cjs/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.stories.d.ts +72 -0
- package/dist/cjs/types/components/presentational/InboxSurveyListItem/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.d.ts +5 -2
- package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.stories.d.ts +83 -0
- package/dist/cjs/types/components/presentational/Resource/Resource.d.ts +15 -0
- package/dist/cjs/types/components/presentational/Resource/Resource.stories.d.ts +44 -0
- package/dist/cjs/types/components/presentational/Resource/index.d.ts +1 -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/SingleSurveyTask/SingleSurveyTask.d.ts +6 -4
- package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +59 -123
- package/dist/cjs/types/components/presentational/ValueSelector/ValueSelector.d.ts +23 -0
- package/dist/cjs/types/components/presentational/ValueSelector/ValueSelector.stories.d.ts +119 -0
- package/dist/cjs/types/components/presentational/ValueSelector/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/index.d.ts +10 -1
- package/dist/cjs/types/components/view/InboxHistoryView/InboxHistoryView.d.ts +8 -0
- package/dist/cjs/types/components/{asthma/container/AsthmaTools/AsthmaTools.stories.d.ts → view/InboxHistoryView/InboxHistoryView.stories.d.ts} +2 -2
- package/dist/cjs/types/components/view/InboxHistoryView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/InboxMessageView/InboxMessageView.d.ts +11 -0
- package/dist/cjs/types/components/view/InboxMessageView/InboxMessageView.stories.d.ts +48 -0
- package/dist/cjs/types/components/view/InboxMessageView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/InboxView/InboxView.d.ts +13 -0
- package/dist/cjs/types/components/view/InboxView/InboxView.stories.d.ts +27 -0
- package/dist/cjs/types/components/view/InboxView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/index.d.ts +3 -0
- package/dist/cjs/types/helpers/Inbox/inbox-data.d.ts +8 -0
- package/dist/cjs/types/helpers/blood-pressure-data-providers/index.d.ts +3 -0
- package/dist/cjs/types/helpers/blood-pressure-data-providers/survey-blood-pressure-data-provider.d.ts +12 -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/apple-health-active-energy-burned.d.ts +3 -0
- package/dist/cjs/types/helpers/daily-data-providers/garmin-active-calories.d.ts +3 -0
- package/dist/cjs/types/helpers/daily-data-providers/garmin-resting-calories.d.ts +3 -0
- package/dist/cjs/types/helpers/daily-data-providers/garmin-total-calories.d.ts +3 -0
- package/dist/cjs/types/helpers/daily-data-providers/index.d.ts +7 -0
- package/dist/cjs/types/helpers/daily-data-providers/query-garmin-total-daily-values.d.ts +3 -0
- package/dist/cjs/types/helpers/daily-data-providers/shared.d.ts +4 -0
- package/dist/cjs/types/helpers/date-helpers.d.ts +1 -0
- package/dist/cjs/types/helpers/functions.d.ts +1 -0
- package/dist/cjs/types/helpers/query-all-survey-answers.d.ts +2 -0
- package/dist/cjs/types/helpers/query-daily-data.d.ts +9 -1
- package/dist/cjs/types/index.d.ts +3 -0
- package/dist/esm/index.js +141 -194
- 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/{container → components}/AsthmaAirQualities/AsthmaAirQualities.d.ts +4 -1
- 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/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/{cjs/types/components/asthma/container → esm/types/components/asthma/components}/AsthmaBiometrics/AsthmaBiometrics.d.ts +5 -1
- 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/{container → components}/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +3 -0
- package/dist/esm/types/components/asthma/{container → components}/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +1 -1
- package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +46 -0
- package/dist/{cjs/types/components/asthma/container → esm/types/components/asthma/components}/AsthmaControlCalendar/index.d.ts +1 -1
- package/dist/{cjs/types/components/asthma/container → esm/types/components/asthma/components}/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +1 -1
- package/dist/esm/types/components/asthma/{container → components}/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +1 -1
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +32 -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/{cjs/types/components/asthma/container → esm/types/components/asthma/components}/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +2 -1
- package/dist/{cjs/types/components/asthma/container → esm/types/components/asthma/components}/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +1 -1
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +32 -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 +12 -4
- package/dist/esm/types/components/asthma/helpers/asthma-functions.d.ts +17 -4
- 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/index.d.ts +2 -2
- package/dist/esm/types/components/asthma/model/types.d.ts +23 -6
- 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/AsthmaLibraryCategoryView/AsthmaLibraryCategoryView.d.ts +10 -0
- package/dist/esm/types/components/asthma/views/AsthmaLibraryCategoryView/AsthmaLibraryCategoryView.stories.d.ts +40 -0
- package/dist/esm/types/components/asthma/views/AsthmaLibraryCategoryView/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 +9 -0
- package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +12 -0
- package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.previewdata.d.ts +2 -0
- package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.stories.d.ts +43 -0
- package/dist/esm/types/components/container/BloodPressureVisualization/index.d.ts +1 -0
- package/dist/esm/types/components/container/InboxItemList/InboxItemList.d.ts +27 -0
- package/dist/esm/types/components/container/InboxItemList/InboxItemList.previewData.d.ts +6 -0
- package/dist/esm/types/components/container/InboxItemList/InboxItemList.stories.d.ts +66 -0
- package/dist/esm/types/components/container/InboxItemList/index.d.ts +1 -0
- package/dist/esm/types/components/container/InboxItemListCoordinator/InboxItemListCoordinator.d.ts +12 -0
- package/dist/esm/types/components/container/InboxItemListCoordinator/index.d.ts +1 -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/SeverityCalendar/SeverityCalendar.d.ts +12 -0
- package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.previewdata.d.ts +2 -0
- package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.stories.d.ts +52 -0
- package/dist/esm/types/components/container/SeverityCalendar/index.d.ts +1 -0
- package/dist/esm/types/components/container/index.d.ts +5 -0
- package/dist/esm/types/components/presentational/CalendarDay/CalendarDay.d.ts +1 -1
- package/dist/esm/types/components/presentational/CalendarDay/CalendarDay.stories.d.ts +70 -1
- package/dist/esm/types/components/presentational/DumbbellChart/Dumbbell.d.ts +9 -0
- package/dist/esm/types/components/presentational/DumbbellChart/DumbbellChart.d.ts +28 -0
- package/dist/esm/types/components/presentational/DumbbellChart/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.d.ts +10 -0
- package/dist/esm/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.stories.d.ts +23 -0
- package/dist/esm/types/components/presentational/InboxCompletedListItem/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/InboxMessageListItem/InboxMessageListItem.d.ts +10 -0
- package/dist/esm/types/components/presentational/InboxMessageListItem/InboxMessageListItem.stories.d.ts +24 -0
- package/dist/esm/types/components/presentational/InboxMessageListItem/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +12 -0
- package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +67 -0
- package/dist/esm/types/components/presentational/InboxResourceListItem/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.d.ts +13 -0
- package/dist/esm/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.stories.d.ts +72 -0
- package/dist/esm/types/components/presentational/InboxSurveyListItem/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.d.ts +5 -2
- package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.stories.d.ts +83 -0
- package/dist/esm/types/components/presentational/Resource/Resource.d.ts +15 -0
- package/dist/esm/types/components/presentational/Resource/Resource.stories.d.ts +44 -0
- package/dist/esm/types/components/presentational/Resource/index.d.ts +1 -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/SingleSurveyTask/SingleSurveyTask.d.ts +6 -4
- package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +59 -123
- package/dist/esm/types/components/presentational/ValueSelector/ValueSelector.d.ts +23 -0
- package/dist/esm/types/components/presentational/ValueSelector/ValueSelector.stories.d.ts +119 -0
- package/dist/esm/types/components/presentational/ValueSelector/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/index.d.ts +10 -1
- package/dist/esm/types/components/view/InboxHistoryView/InboxHistoryView.d.ts +8 -0
- package/dist/esm/types/components/{asthma/container/AsthmaTools/AsthmaTools.stories.d.ts → view/InboxHistoryView/InboxHistoryView.stories.d.ts} +2 -2
- package/dist/esm/types/components/view/InboxHistoryView/index.d.ts +1 -0
- package/dist/esm/types/components/view/InboxMessageView/InboxMessageView.d.ts +11 -0
- package/dist/esm/types/components/view/InboxMessageView/InboxMessageView.stories.d.ts +48 -0
- package/dist/esm/types/components/view/InboxMessageView/index.d.ts +1 -0
- package/dist/esm/types/components/view/InboxView/InboxView.d.ts +13 -0
- package/dist/esm/types/components/view/InboxView/InboxView.stories.d.ts +27 -0
- package/dist/esm/types/components/view/InboxView/index.d.ts +1 -0
- package/dist/esm/types/components/view/index.d.ts +3 -0
- package/dist/esm/types/helpers/Inbox/inbox-data.d.ts +8 -0
- package/dist/esm/types/helpers/blood-pressure-data-providers/index.d.ts +3 -0
- package/dist/esm/types/helpers/blood-pressure-data-providers/survey-blood-pressure-data-provider.d.ts +12 -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/apple-health-active-energy-burned.d.ts +3 -0
- package/dist/esm/types/helpers/daily-data-providers/garmin-active-calories.d.ts +3 -0
- package/dist/esm/types/helpers/daily-data-providers/garmin-resting-calories.d.ts +3 -0
- package/dist/esm/types/helpers/daily-data-providers/garmin-total-calories.d.ts +3 -0
- package/dist/esm/types/helpers/daily-data-providers/index.d.ts +7 -0
- package/dist/esm/types/helpers/daily-data-providers/query-garmin-total-daily-values.d.ts +3 -0
- package/dist/esm/types/helpers/daily-data-providers/shared.d.ts +4 -0
- package/dist/esm/types/helpers/date-helpers.d.ts +1 -0
- package/dist/esm/types/helpers/functions.d.ts +1 -0
- package/dist/esm/types/helpers/query-all-survey-answers.d.ts +2 -0
- package/dist/esm/types/helpers/query-daily-data.d.ts +9 -1
- package/dist/esm/types/index.d.ts +3 -0
- package/dist/index.d.ts +1067 -689
- package/package.json +7 -7
- package/dist/cjs/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +0 -6
- package/dist/cjs/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +0 -16
- package/dist/cjs/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +0 -6
- package/dist/cjs/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +0 -16
- package/dist/cjs/types/components/asthma/container/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +0 -22
- package/dist/cjs/types/components/asthma/container/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +0 -138
- package/dist/cjs/types/components/asthma/container/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +0 -34
- package/dist/cjs/types/components/asthma/container/AsthmaTools/AsthmaTools.d.ts +0 -6
- package/dist/cjs/types/components/asthma/container/AsthmaTools/index.d.ts +0 -1
- package/dist/cjs/types/components/asthma/container/index.d.ts +0 -6
- package/dist/cjs/types/components/asthma/presentational/AsthmaDataSummary/AsthmaDataSummary.d.ts +0 -12
- package/dist/cjs/types/components/asthma/presentational/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +0 -70
- package/dist/cjs/types/components/asthma/presentational/AsthmaDataSummary/index.d.ts +0 -1
- package/dist/cjs/types/components/asthma/presentational/AsthmaFacts/AsthmaFacts.d.ts +0 -5
- package/dist/cjs/types/components/asthma/presentational/AsthmaFacts/AsthmaFacts.stories.d.ts +0 -19
- package/dist/cjs/types/components/asthma/presentational/AsthmaFacts/index.d.ts +0 -1
- package/dist/cjs/types/components/asthma/presentational/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +0 -11
- package/dist/cjs/types/components/asthma/presentational/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +0 -60
- package/dist/cjs/types/components/asthma/presentational/AsthmaLogEntrySummary/index.d.ts +0 -1
- package/dist/cjs/types/components/asthma/presentational/AsthmaToolLink/AsthmaToolLink.d.ts +0 -8
- package/dist/cjs/types/components/asthma/presentational/AsthmaToolLink/AsthmaToolLink.stories.d.ts +0 -17
- package/dist/cjs/types/components/asthma/presentational/AsthmaToolLink/index.d.ts +0 -1
- package/dist/cjs/types/components/asthma/presentational/index.d.ts +0 -4
- package/dist/cjs/types/components/presentational/RotatingText/RotatingText.d.ts +0 -15
- package/dist/cjs/types/components/presentational/RotatingText/RotatingText.stories.d.ts +0 -149
- package/dist/cjs/types/components/presentational/RotatingText/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +0 -6
- package/dist/esm/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +0 -16
- package/dist/esm/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +0 -6
- package/dist/esm/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +0 -16
- package/dist/esm/types/components/asthma/container/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +0 -22
- package/dist/esm/types/components/asthma/container/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +0 -138
- package/dist/esm/types/components/asthma/container/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +0 -34
- package/dist/esm/types/components/asthma/container/AsthmaTools/AsthmaTools.d.ts +0 -6
- package/dist/esm/types/components/asthma/container/AsthmaTools/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/container/index.d.ts +0 -6
- package/dist/esm/types/components/asthma/presentational/AsthmaDataSummary/AsthmaDataSummary.d.ts +0 -12
- package/dist/esm/types/components/asthma/presentational/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +0 -70
- package/dist/esm/types/components/asthma/presentational/AsthmaDataSummary/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/presentational/AsthmaFacts/AsthmaFacts.d.ts +0 -5
- package/dist/esm/types/components/asthma/presentational/AsthmaFacts/AsthmaFacts.stories.d.ts +0 -19
- package/dist/esm/types/components/asthma/presentational/AsthmaFacts/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/presentational/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +0 -11
- package/dist/esm/types/components/asthma/presentational/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +0 -60
- package/dist/esm/types/components/asthma/presentational/AsthmaLogEntrySummary/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/presentational/AsthmaToolLink/AsthmaToolLink.d.ts +0 -8
- package/dist/esm/types/components/asthma/presentational/AsthmaToolLink/AsthmaToolLink.stories.d.ts +0 -17
- package/dist/esm/types/components/asthma/presentational/AsthmaToolLink/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/presentational/index.d.ts +0 -4
- package/dist/esm/types/components/presentational/RotatingText/RotatingText.d.ts +0 -15
- package/dist/esm/types/components/presentational/RotatingText/RotatingText.stories.d.ts +0 -149
- package/dist/esm/types/components/presentational/RotatingText/index.d.ts +0 -1
- /package/dist/cjs/types/components/asthma/{container → components}/AsthmaAirQualities/index.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{container → components}/AsthmaBiometrics/index.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{container → components}/AsthmaControlStatusHeader/index.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{container → components}/AsthmaLogEntryHeader/index.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{container → components}/AsthmaAirQualities/index.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{container → components}/AsthmaBiometrics/index.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{container → components}/AsthmaControlStatusHeader/index.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{container → components}/AsthmaLogEntryHeader/index.d.ts +0 -0
|
@@ -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';
|
|
@@ -2,7 +2,10 @@ import React from 'react';
|
|
|
2
2
|
import './AsthmaAirQualities.css';
|
|
3
3
|
import { AsthmaAirQualitiesPreviewState } from './AsthmaAirQualities.previewData';
|
|
4
4
|
export interface AsthmaAirQualitiesProps {
|
|
5
|
-
previewState?: AsthmaAirQualitiesPreviewState;
|
|
5
|
+
previewState?: 'loading' | AsthmaAirQualitiesPreviewState;
|
|
6
|
+
editZipCodesSurveyName?: string;
|
|
7
|
+
airQualityUrl: string;
|
|
8
|
+
date?: Date;
|
|
6
9
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
7
10
|
}
|
|
8
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';
|
|
@@ -2,7 +2,11 @@ import React from 'react';
|
|
|
2
2
|
import './AsthmaBiometrics.css';
|
|
3
3
|
import { AsthmaBiometricsPreviewState } from './AsthmaBiometrics.previewData';
|
|
4
4
|
export interface AsthmaBiometricsProps {
|
|
5
|
-
previewState?: AsthmaBiometricsPreviewState;
|
|
5
|
+
previewState?: 'loading' | AsthmaBiometricsPreviewState;
|
|
6
|
+
heartAndLungsUrl: string;
|
|
7
|
+
activityUrl: string;
|
|
8
|
+
sleepUrl: string;
|
|
9
|
+
date?: Date;
|
|
6
10
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
7
11
|
}
|
|
8
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/cjs/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
|
+
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './AsthmaControlCalendar.css';
|
|
3
3
|
import { AsthmaControlCalendarPreviewState } from './AsthmaControlCalendar.previewData';
|
|
4
|
+
export type AsthmaControlCalendarVariant = 'compact' | 'verbose';
|
|
4
5
|
export interface AsthmaControlCalendarProps {
|
|
5
6
|
previewState?: AsthmaControlCalendarPreviewState;
|
|
7
|
+
dayViewUrl: string;
|
|
6
8
|
intervalStart?: Date;
|
|
9
|
+
variant?: AsthmaControlCalendarVariant;
|
|
7
10
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
8
11
|
}
|
|
9
12
|
export default function (props: AsthmaControlCalendarProps): React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AsthmaLogEntry } from '../../model';
|
|
2
|
-
export type AsthmaControlCalendarPreviewState = 'no
|
|
2
|
+
export type AsthmaControlCalendarPreviewState = 'no logs' | 'some logs';
|
|
3
3
|
export interface AsthmaControlCalendarPreviewData {
|
|
4
4
|
logEntries: AsthmaLogEntry[];
|
|
5
5
|
}
|
|
@@ -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
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './AsthmaControlCalendar';
|
|
1
|
+
export { default, AsthmaControlCalendarVariant } from './AsthmaControlCalendar';
|
|
2
2
|
export { AsthmaControlCalendarPreviewState } from './AsthmaControlCalendar.previewData';
|
|
@@ -3,7 +3,7 @@ import './AsthmaControlStatusHeader.css';
|
|
|
3
3
|
import { AsthmaParticipant } from '../../model';
|
|
4
4
|
import { AsthmaControlStatusHeaderPreviewState } from './AsthmaControlStatusHeader.previewData';
|
|
5
5
|
export interface AsthmaControlStatusHeaderProps {
|
|
6
|
-
previewState?: AsthmaControlStatusHeaderPreviewState;
|
|
6
|
+
previewState?: 'loading' | AsthmaControlStatusHeaderPreviewState;
|
|
7
7
|
participant: AsthmaParticipant;
|
|
8
8
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
9
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AsthmaAirQuality, AsthmaBiometric, AsthmaControlState } from '../../model';
|
|
2
|
-
export type AsthmaControlStatusHeaderPreviewState = 'no
|
|
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
3
|
export interface AsthmaControlStatusHeaderPreviewData {
|
|
4
4
|
controlState: AsthmaControlState;
|
|
5
5
|
biometrics: AsthmaBiometric[];
|
|
@@ -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/cjs/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
|
+
};
|
|
@@ -2,9 +2,10 @@ import React from 'react';
|
|
|
2
2
|
import './AsthmaLogEntryHeader.css';
|
|
3
3
|
import { AsthmaLogEntryHeaderPreviewState } from './AsthmaLogEntryHeader.previewData';
|
|
4
4
|
export interface AsthmaLogEntryHeaderProps {
|
|
5
|
-
previewState?: AsthmaLogEntryHeaderPreviewState;
|
|
5
|
+
previewState?: 'loading' | AsthmaLogEntryHeaderPreviewState;
|
|
6
6
|
logTodayEntrySurveyName: string;
|
|
7
7
|
logYesterdayEntrySurveyName: string;
|
|
8
|
+
dayViewUrl: string;
|
|
8
9
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
9
10
|
}
|
|
10
11
|
export default function (props: AsthmaLogEntryHeaderProps): React.JSX.Element | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AsthmaLogEntry } from '../../model';
|
|
2
|
-
export type AsthmaLogEntryHeaderPreviewState = 'no
|
|
2
|
+
export type AsthmaLogEntryHeaderPreviewState = 'no logs' | 'today log only' | 'yesterday log only' | 'both logs';
|
|
3
3
|
export interface AsthmaLogEntryHeaderPreviewData {
|
|
4
4
|
todayLogEntry?: AsthmaLogEntry;
|
|
5
5
|
yesterdayLogEntry?: AsthmaLogEntry;
|
|
@@ -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/cjs/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';
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DeviceInfo, SurveyAnswer } from '@careevolution/mydatahelps-js';
|
|
2
|
+
import { AsthmaActionPlan, AsthmaAirQuality, AsthmaBiometric, AsthmaLogEntry, AsthmaParticipant } from '../model';
|
|
2
3
|
export interface AsthmaDataService {
|
|
3
4
|
loadParticipant(): Promise<AsthmaParticipant>;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
loadDeviceInfo(): Promise<DeviceInfo>;
|
|
6
|
+
loadLogEntries(fromDate?: Date, toDate?: Date): Promise<AsthmaLogEntry[]>;
|
|
7
|
+
loadBiometricsForControlStatus(): Promise<AsthmaBiometric[]>;
|
|
8
|
+
loadBiometricsForDate(date: Date): Promise<AsthmaBiometric[]>;
|
|
9
|
+
loadAirQualitiesForControlStatus(homeAirQualityZipCode: string, workAirQualityZipCode: string): Promise<AsthmaAirQuality[]>;
|
|
10
|
+
loadAirQualitiesForDate(date: Date): Promise<AsthmaAirQuality[]>;
|
|
11
|
+
saveLogEntry(logEntry: AsthmaLogEntry): Promise<void>;
|
|
12
|
+
loadAndClearAlertTakeover(): Promise<string | undefined>;
|
|
13
|
+
loadSurveyAnswers(surveyNames: string[]): Promise<SurveyAnswer[]>;
|
|
14
|
+
loadAsthmaActionPlan(): Promise<AsthmaActionPlan | undefined>;
|
|
7
15
|
}
|
|
8
16
|
declare const service: AsthmaDataService;
|
|
9
17
|
export default service;
|
|
@@ -1,7 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AsthmaControlState, AsthmaDataStatus, AsthmaImpact, AsthmaLogEntry, AsthmaSymptom, AsthmaSymptomLevel, AsthmaTrigger } from '../model';
|
|
2
|
+
import { ColorDefinition } from '../../../helpers/colors';
|
|
2
3
|
export declare const dateToAsthmaLogEntryIdentifier: (date: Date) => string;
|
|
3
4
|
export declare const computeAsthmaControlState: (logEntries: AsthmaLogEntry[], date: Date) => AsthmaControlState;
|
|
4
|
-
export declare const getAsthmaBiometricTypeLabel: (type: AsthmaBiometricType) => string;
|
|
5
|
-
export declare const getAsthmaBiometricTypeUnits: (type: AsthmaBiometricType) => string;
|
|
6
5
|
export declare const getAsthmaDataStatusText: (status: AsthmaDataStatus) => string;
|
|
7
|
-
export declare const
|
|
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';
|