@careevolution/mydatahelps-ui 2.9.1-Issue139.5 → 2.10.1-InboxAndAsthmaUI.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 +144 -20
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +10 -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 +28 -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 +27 -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 +28 -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 +29 -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 +138 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.d.ts +13 -0
- package/dist/cjs/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +70 -0
- package/dist/cjs/types/components/asthma/components/AsthmaDataSummary/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaFacts/AsthmaFacts.d.ts +5 -0
- package/dist/cjs/types/components/asthma/components/AsthmaFacts/AsthmaFacts.stories.d.ts +19 -0
- package/dist/cjs/types/components/asthma/components/AsthmaFacts/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts +12 -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 +59 -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 +34 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +11 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +60 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntrySummary/index.d.ts +1 -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 +12 -0
- package/dist/cjs/types/components/asthma/helpers/asthma-data.d.ts +15 -0
- package/dist/cjs/types/components/asthma/helpers/asthma-functions.d.ts +6 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/air-quality-work.d.ts +2 -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 +10 -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 +6 -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 +49 -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 +25 -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 +25 -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 +13 -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 +20 -0
- package/dist/cjs/types/components/asthma/views/AsthmaDayView/AsthmaDayView.stories.d.ts +21 -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 +25 -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 +38 -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 +25 -0
- package/dist/cjs/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/index.d.ts +7 -0
- package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +11 -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/DailyDataChart/DailyDataChart.d.ts +3 -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/SeverityCalendar/SeverityCalendar.d.ts +11 -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 +4 -0
- package/dist/cjs/types/components/index.d.ts +3 -2
- package/dist/cjs/types/components/presentational/CalendarDay/CalendarDay.d.ts +18 -0
- package/dist/cjs/types/components/presentational/CalendarDay/CalendarDay.stories.d.ts +411 -0
- package/dist/cjs/types/components/presentational/CalendarDay/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -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/InboxResourceDisplay/InboxResourceDisplay.d.ts +12 -0
- package/dist/cjs/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.stories.d.ts +44 -0
- package/dist/cjs/types/components/presentational/InboxResourceDisplay/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/Layout/index.d.ts +1 -2
- 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/ProgressBar/ProgressBar.d.ts +24 -0
- package/dist/cjs/types/components/presentational/ProgressBar/ProgressBarStep.d.ts +9 -0
- package/dist/cjs/types/components/presentational/ProgressBar/index.d.ts +2 -0
- package/dist/cjs/types/components/presentational/RotatingText/RotatingText.d.ts +15 -0
- package/dist/cjs/types/components/presentational/RotatingText/RotatingText.stories.d.ts +149 -0
- package/dist/cjs/types/components/presentational/RotatingText/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +6 -6
- package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +59 -128
- 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 +13 -2
- package/dist/cjs/types/components/view/InboxHistoryView/InboxHistoryView.d.ts +8 -0
- package/dist/cjs/types/components/view/InboxHistoryView/InboxHistoryView.stories.d.ts +13 -0
- 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 +12 -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/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 +4 -0
- package/dist/cjs/types/helpers/daily-data-providers/query-garmin-total-daily-values.d.ts +3 -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 +6 -0
- package/dist/cjs/types/index.d.ts +3 -0
- package/dist/esm/index.js +144 -20
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +10 -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 +28 -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 +27 -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 +28 -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 +29 -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 +138 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.d.ts +13 -0
- package/dist/esm/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +70 -0
- package/dist/esm/types/components/asthma/components/AsthmaDataSummary/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaFacts/AsthmaFacts.d.ts +5 -0
- package/dist/esm/types/components/asthma/components/AsthmaFacts/AsthmaFacts.stories.d.ts +19 -0
- package/dist/esm/types/components/asthma/components/AsthmaFacts/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts +12 -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 +59 -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 +34 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +11 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +60 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntrySummary/index.d.ts +1 -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 +12 -0
- package/dist/esm/types/components/asthma/helpers/asthma-data.d.ts +15 -0
- package/dist/esm/types/components/asthma/helpers/asthma-functions.d.ts +6 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/air-quality-work.d.ts +2 -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 +10 -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 +6 -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 +49 -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 +25 -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 +25 -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 +13 -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 +20 -0
- package/dist/esm/types/components/asthma/views/AsthmaDayView/AsthmaDayView.stories.d.ts +21 -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 +25 -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 +38 -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 +25 -0
- package/dist/esm/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/index.d.ts +7 -0
- package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +11 -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/DailyDataChart/DailyDataChart.d.ts +3 -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/SeverityCalendar/SeverityCalendar.d.ts +11 -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 +4 -0
- package/dist/esm/types/components/index.d.ts +3 -2
- package/dist/esm/types/components/presentational/CalendarDay/CalendarDay.d.ts +18 -0
- package/dist/esm/types/components/presentational/CalendarDay/CalendarDay.stories.d.ts +411 -0
- package/dist/esm/types/components/presentational/CalendarDay/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -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/InboxResourceDisplay/InboxResourceDisplay.d.ts +12 -0
- package/dist/esm/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.stories.d.ts +44 -0
- package/dist/esm/types/components/presentational/InboxResourceDisplay/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/Layout/index.d.ts +1 -2
- 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/ProgressBar/ProgressBar.d.ts +24 -0
- package/dist/esm/types/components/presentational/ProgressBar/ProgressBarStep.d.ts +9 -0
- package/dist/esm/types/components/presentational/ProgressBar/index.d.ts +2 -0
- package/dist/esm/types/components/presentational/RotatingText/RotatingText.d.ts +15 -0
- package/dist/esm/types/components/presentational/RotatingText/RotatingText.stories.d.ts +149 -0
- package/dist/esm/types/components/presentational/RotatingText/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +6 -6
- package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +59 -128
- 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 +13 -2
- package/dist/esm/types/components/view/InboxHistoryView/InboxHistoryView.d.ts +8 -0
- package/dist/esm/types/components/view/InboxHistoryView/InboxHistoryView.stories.d.ts +13 -0
- 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 +12 -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/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 +4 -0
- package/dist/esm/types/helpers/daily-data-providers/query-garmin-total-daily-values.d.ts +3 -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 +6 -0
- package/dist/esm/types/index.d.ts +3 -0
- package/dist/index.d.ts +1042 -532
- package/package.json +4 -4
package/dist/cjs/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './AsthmaLogEntrySummary.css';
|
|
3
|
+
import { AsthmaLogEntry } from '../../model';
|
|
4
|
+
export interface AsthmaLogEntrySummaryProps {
|
|
5
|
+
label: string;
|
|
6
|
+
logEntry?: AsthmaLogEntry;
|
|
7
|
+
onClick: () => void;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
10
|
+
}
|
|
11
|
+
export default function (props: AsthmaLogEntrySummaryProps): React.JSX.Element;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaLogEntrySummary, { AsthmaLogEntrySummaryProps } from './AsthmaLogEntrySummary';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaLogEntrySummary;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const NotLogged: {
|
|
12
|
+
args: {
|
|
13
|
+
label: string;
|
|
14
|
+
logEntry: null;
|
|
15
|
+
};
|
|
16
|
+
render: (args: AsthmaLogEntrySummaryProps) => React.JSX.Element;
|
|
17
|
+
};
|
|
18
|
+
export declare const LoggedNoSymptoms: {
|
|
19
|
+
args: {
|
|
20
|
+
label: string;
|
|
21
|
+
logEntry: {
|
|
22
|
+
symptomLevel: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
render: (args: AsthmaLogEntrySummaryProps) => React.JSX.Element;
|
|
26
|
+
};
|
|
27
|
+
export declare const LoggedMildSymptoms: {
|
|
28
|
+
args: {
|
|
29
|
+
label: string;
|
|
30
|
+
logEntry: {
|
|
31
|
+
symptomLevel: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
render: (args: AsthmaLogEntrySummaryProps) => React.JSX.Element;
|
|
35
|
+
};
|
|
36
|
+
export declare const LoggedModerateSymptoms: {
|
|
37
|
+
args: {
|
|
38
|
+
label: string;
|
|
39
|
+
logEntry: {
|
|
40
|
+
symptomLevel: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
render: (args: AsthmaLogEntrySummaryProps) => React.JSX.Element;
|
|
44
|
+
};
|
|
45
|
+
export declare const LoggedSevereSymptoms: {
|
|
46
|
+
args: {
|
|
47
|
+
label: string;
|
|
48
|
+
logEntry: {
|
|
49
|
+
symptomLevel: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
render: (args: AsthmaLogEntrySummaryProps) => React.JSX.Element;
|
|
53
|
+
};
|
|
54
|
+
export declare const Loading: {
|
|
55
|
+
args: {
|
|
56
|
+
label: string;
|
|
57
|
+
loading: boolean;
|
|
58
|
+
};
|
|
59
|
+
render: (args: AsthmaLogEntrySummaryProps) => React.JSX.Element;
|
|
60
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AsthmaLogEntrySummary';
|
|
@@ -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,12 @@
|
|
|
1
|
+
export { default as AsthmaAirQualities, AsthmaAirQualitiesPreviewState } from './AsthmaAirQualities';
|
|
2
|
+
export { default as AsthmaAlertTakeoverNotice } from './AsthmaAlertTakeoverNotice';
|
|
3
|
+
export { default as AsthmaAlertTakeoverTrigger } from './AsthmaAlertTakeoverTrigger';
|
|
4
|
+
export { default as AsthmaBiometrics, AsthmaBiometricsPreviewState } from './AsthmaBiometrics';
|
|
5
|
+
export { default as AsthmaControlCalendar, AsthmaControlCalendarVariant } from './AsthmaControlCalendar';
|
|
6
|
+
export { default as AsthmaControlStatusHeader } from './AsthmaControlStatusHeader';
|
|
7
|
+
export { default as AsthmaDataSummary } from './AsthmaDataSummary';
|
|
8
|
+
export { default as AsthmaFacts } from './AsthmaFacts';
|
|
9
|
+
export { default as AsthmaLogEntryDetails, AsthmaLogEntryDetailsPreviewState } from './AsthmaLogEntryDetails';
|
|
10
|
+
export { default as AsthmaLogEntryHeader } from './AsthmaLogEntryHeader';
|
|
11
|
+
export { default as AsthmaLogEntrySummary } from './AsthmaLogEntrySummary';
|
|
12
|
+
export { default as AsthmaPostEnrollmentSurveyTrigger } from './AsthmaPostEnrollmentSurveyTrigger';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SurveyAnswer } from '@careevolution/mydatahelps-js';
|
|
2
|
+
import { AsthmaAirQuality, AsthmaBiometric, AsthmaLogEntry, AsthmaParticipant } from '../model';
|
|
3
|
+
export interface AsthmaDataService {
|
|
4
|
+
loadParticipant(): Promise<AsthmaParticipant>;
|
|
5
|
+
loadLogEntries(fromDate?: Date, toDate?: Date): Promise<AsthmaLogEntry[]>;
|
|
6
|
+
loadBiometricsForControlStatus(): Promise<AsthmaBiometric[]>;
|
|
7
|
+
loadBiometricsForDate(date: Date): Promise<AsthmaBiometric[]>;
|
|
8
|
+
loadAirQualitiesForControlStatus(): Promise<AsthmaAirQuality[]>;
|
|
9
|
+
loadAirQualitiesForDate(date: Date): Promise<AsthmaAirQuality[]>;
|
|
10
|
+
saveLogEntry(logEntry: AsthmaLogEntry): Promise<void>;
|
|
11
|
+
loadAndClearAlertTakeover(): Promise<string | undefined>;
|
|
12
|
+
loadSurveyAnswers(surveyNames: string[]): Promise<SurveyAnswer[]>;
|
|
13
|
+
}
|
|
14
|
+
declare const service: AsthmaDataService;
|
|
15
|
+
export default service;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AsthmaControlState, AsthmaDataStatus, AsthmaLogEntry, AsthmaSymptomLevel } from '../model';
|
|
2
|
+
export declare const dateToAsthmaLogEntryIdentifier: (date: Date) => string;
|
|
3
|
+
export declare const computeAsthmaControlState: (logEntries: AsthmaLogEntry[], date: Date) => AsthmaControlState;
|
|
4
|
+
export declare const getAsthmaDataStatusText: (status: AsthmaDataStatus) => string;
|
|
5
|
+
export declare const getAsthmaSymptomLevelValue: (symptomLevel: AsthmaSymptomLevel) => string;
|
|
6
|
+
export declare const getAsthmaSymptomLevel: (symptomLevelValue: string | undefined) => AsthmaSymptomLevel;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 { default as homeAirQualityDataProvider } from './air-quality-home';
|
|
9
|
+
export { default as workAirQualityDataProvider } from './air-quality-work';
|
|
10
|
+
export * from './shared';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DeviceDataNamespace, DeviceDataPoint } from '@careevolution/mydatahelps-js';
|
|
2
|
+
import { DailyDataQueryResult } from '../../../../helpers/query-daily-data';
|
|
3
|
+
export declare const collateLatestDataPoints: (dataPoints: DeviceDataPoint[]) => DailyDataQueryResult;
|
|
4
|
+
export declare const collateMaxValueDataPoints: (dataPoints: DeviceDataPoint[]) => DailyDataQueryResult;
|
|
5
|
+
export declare const queryAsthmaDeviceData: (namespace: DeviceDataNamespace, type: string, startDate: Date, endDate: Date, collateFunction: (dataPoints: DeviceDataPoint[]) => DailyDataQueryResult) => Promise<DailyDataQueryResult>;
|
|
6
|
+
export declare const randomDataProvider: (start: Date, end: Date, min: number, max: number, wholeNumbersOnly?: boolean) => Promise<DailyDataQueryResult>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ParticipantInfo } from '@careevolution/mydatahelps-js';
|
|
2
|
+
export declare class AsthmaParticipant {
|
|
3
|
+
participantInfo: ParticipantInfo;
|
|
4
|
+
constructor(participantInfo: ParticipantInfo);
|
|
5
|
+
getFirstName(): string;
|
|
6
|
+
hasPairedDevice(): boolean;
|
|
7
|
+
hasEstablishedBaseline(): boolean;
|
|
8
|
+
hasRequestedWithdrawal(): boolean;
|
|
9
|
+
private hasEstablishedBaselineByType;
|
|
10
|
+
private getCustomFieldValue;
|
|
11
|
+
}
|
|
12
|
+
export interface AsthmaControlMetrics {
|
|
13
|
+
date: string;
|
|
14
|
+
nighttimeAwakeningDaysPast7: number;
|
|
15
|
+
limitedActivityDaysPast7: number;
|
|
16
|
+
inhalerUseDaysPast7: number;
|
|
17
|
+
symptomDaysPast7: number;
|
|
18
|
+
loggedDaysPast7: number;
|
|
19
|
+
}
|
|
20
|
+
export type AsthmaControlStatus = 'no-data' | 'not-controlled' | 'controlled' | 'not-determined';
|
|
21
|
+
export interface AsthmaControlState {
|
|
22
|
+
status: AsthmaControlStatus;
|
|
23
|
+
symptomDaysPast7?: number;
|
|
24
|
+
nighttimeAwakeningDaysPast7?: number;
|
|
25
|
+
limitedActivityDaysPast7?: number;
|
|
26
|
+
inhalerUseDaysPast7?: number;
|
|
27
|
+
}
|
|
28
|
+
export type AsthmaDataStatus = 'establishing' | 'offline' | 'in-range' | 'out-of-range';
|
|
29
|
+
export type AsthmaBiometricType = 'daytime-resting-heart-rate' | 'nighttime-resting-heart-rate' | 'respiratory-rate' | 'steps' | 'sleep-disturbances' | 'daytime-blood-oxygen-level' | 'nighttime-blood-oxygen-level';
|
|
30
|
+
export interface AsthmaBiometric {
|
|
31
|
+
type: AsthmaBiometricType;
|
|
32
|
+
status: AsthmaDataStatus;
|
|
33
|
+
value?: number;
|
|
34
|
+
}
|
|
35
|
+
export type AsthmaAirQualityType = 'work' | 'home';
|
|
36
|
+
export interface AsthmaAirQuality {
|
|
37
|
+
type: AsthmaAirQualityType;
|
|
38
|
+
status: AsthmaDataStatus;
|
|
39
|
+
value?: number;
|
|
40
|
+
description?: string;
|
|
41
|
+
}
|
|
42
|
+
export type AsthmaSymptomLevel = 'none' | 'mild' | 'moderate' | 'severe';
|
|
43
|
+
export interface AsthmaLogEntry {
|
|
44
|
+
identifier: string;
|
|
45
|
+
symptomLevel: AsthmaSymptomLevel;
|
|
46
|
+
symptoms: string[];
|
|
47
|
+
impacts: string[];
|
|
48
|
+
triggers: string[];
|
|
49
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface AsthmaActivityViewProps {
|
|
3
|
+
previewState?: 'default';
|
|
4
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
5
|
+
alert?: 'Steps';
|
|
6
|
+
logEntrySurveyName: string;
|
|
7
|
+
}
|
|
8
|
+
export default function (props: AsthmaActivityViewProps): React.JSX.Element;
|
package/dist/cjs/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.stories.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaActivityView from './AsthmaActivityView';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaActivityView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
interface AsthmaActivityViewStoryProps {
|
|
12
|
+
alert?: '[None]' | 'Steps';
|
|
13
|
+
}
|
|
14
|
+
export declare const Default: {
|
|
15
|
+
args: {
|
|
16
|
+
alert: string;
|
|
17
|
+
};
|
|
18
|
+
argTypes: {
|
|
19
|
+
alert: {
|
|
20
|
+
control: string;
|
|
21
|
+
options: string[];
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
render: (args: AsthmaActivityViewStoryProps) => React.JSX.Element;
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AsthmaActivityView';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface AsthmaAirQualityViewProps {
|
|
3
|
+
previewState?: 'default';
|
|
4
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
5
|
+
alert?: 'HomeAirQuality' | 'WorkAirQuality';
|
|
6
|
+
logEntrySurveyName: string;
|
|
7
|
+
}
|
|
8
|
+
export default function (props: AsthmaAirQualityViewProps): React.JSX.Element;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaAirQualityView from './AsthmaAirQualityView';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaAirQualityView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
interface AsthmaAirQualityViewStoryProps {
|
|
12
|
+
alert?: '[None]' | 'HomeAirQuality' | 'WorkAirQuality';
|
|
13
|
+
}
|
|
14
|
+
export declare const Default: {
|
|
15
|
+
args: {
|
|
16
|
+
alert: string;
|
|
17
|
+
};
|
|
18
|
+
argTypes: {
|
|
19
|
+
alert: {
|
|
20
|
+
control: string;
|
|
21
|
+
options: string[];
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
render: (args: AsthmaAirQualityViewStoryProps) => React.JSX.Element;
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AsthmaAirQualityView';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaAlertTakeoverView from './AsthmaAlertTakeoverView';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaAlertTakeoverView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Default: {
|
|
12
|
+
render: () => React.JSX.Element;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AsthmaAlertTakeoverView';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AsthmaAirQualitiesPreviewState, AsthmaBiometricsPreviewState, AsthmaLogEntryDetailsPreviewState } from '../../components';
|
|
3
|
+
export interface AsthmaDayViewPreviewState {
|
|
4
|
+
logEntryDetailsPreviewState: AsthmaLogEntryDetailsPreviewState;
|
|
5
|
+
biometricsPreviewState: AsthmaBiometricsPreviewState;
|
|
6
|
+
airQualitiesPreviewState: AsthmaAirQualitiesPreviewState;
|
|
7
|
+
}
|
|
8
|
+
export interface AsthmaDayViewProps {
|
|
9
|
+
previewState?: AsthmaDayViewPreviewState;
|
|
10
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
11
|
+
date: Date;
|
|
12
|
+
logTodayEntrySurveyName: string;
|
|
13
|
+
logYesterdayEntrySurveyName: string;
|
|
14
|
+
editLogEntryUrl: string;
|
|
15
|
+
heartAndLungsUrl: string;
|
|
16
|
+
activityUrl: string;
|
|
17
|
+
sleepUrl: string;
|
|
18
|
+
airQualityUrl: string;
|
|
19
|
+
}
|
|
20
|
+
export default function (props: AsthmaDayViewProps): React.JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaDayView, { AsthmaDayViewProps } from './AsthmaDayView';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaDayView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Default: {
|
|
12
|
+
args: {
|
|
13
|
+
previewState: {
|
|
14
|
+
logEntryDetailsPreviewState: string;
|
|
15
|
+
biometricsPreviewState: string;
|
|
16
|
+
airQualitiesPreviewState: string;
|
|
17
|
+
};
|
|
18
|
+
date: Date;
|
|
19
|
+
};
|
|
20
|
+
render: (args: AsthmaDayViewProps) => React.JSX.Element;
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, AsthmaDayViewPreviewState } from './AsthmaDayView';
|
package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface AsthmaHeartAndLungsViewProps {
|
|
3
|
+
previewState?: 'default';
|
|
4
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
5
|
+
alert?: 'DaytimeRestingHeartRate' | 'NighttimeRestingHeartRate' | 'RespiratoryRate' | 'DaytimeBloodOxygenLevel' | 'NighttimeBloodOxygenLevel';
|
|
6
|
+
logEntrySurveyName: string;
|
|
7
|
+
}
|
|
8
|
+
export default function (props: AsthmaHeartAndLungsViewProps): React.JSX.Element;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaHeartAndLungsView from './AsthmaHeartAndLungsView';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaHeartAndLungsView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
interface AsthmaAirQualityViewStoryProps {
|
|
12
|
+
alert?: '[None]' | 'DaytimeRestingHeartRate' | 'NighttimeRestingHeartRate' | 'RespiratoryRate' | 'DaytimeBloodOxygenLevel' | 'NighttimeBloodOxygenLevel';
|
|
13
|
+
}
|
|
14
|
+
export declare const Default: {
|
|
15
|
+
args: {
|
|
16
|
+
alert: string;
|
|
17
|
+
};
|
|
18
|
+
argTypes: {
|
|
19
|
+
alert: {
|
|
20
|
+
control: string;
|
|
21
|
+
options: string[];
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
render: (args: AsthmaAirQualityViewStoryProps) => React.JSX.Element;
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AsthmaHeartAndLungsView';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AsthmaLogEntryEditorViewPreviewState } from './AsthmaLogEntryEditorView.previewData';
|
|
3
|
+
export interface AsthmaLogEntryEditorViewProps {
|
|
4
|
+
previewState?: AsthmaLogEntryEditorViewPreviewState;
|
|
5
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
6
|
+
date: Date;
|
|
7
|
+
}
|
|
8
|
+
export default function (props: AsthmaLogEntryEditorViewProps): React.JSX.Element | null;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AsthmaLogEntry } from '../../model';
|
|
2
|
+
export type AsthmaLogEntryEditorViewPreviewState = 'not-logged' | 'logged-no-symptoms' | 'logged-mild-symptoms' | 'logged-moderate-symptoms' | 'logged-severe-symptoms';
|
|
3
|
+
export interface AsthmaLogEntryEditorViewPreviewData {
|
|
4
|
+
logEntry?: AsthmaLogEntry;
|
|
5
|
+
}
|
|
6
|
+
export declare const previewData: Record<AsthmaLogEntryEditorViewPreviewState, AsthmaLogEntryEditorViewPreviewData>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaLogEntryEditorView, { AsthmaLogEntryEditorViewProps } from './AsthmaLogEntryEditorView';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaLogEntryEditorView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const NoSymptoms: {
|
|
12
|
+
args: {
|
|
13
|
+
previewState: string;
|
|
14
|
+
date: Date;
|
|
15
|
+
};
|
|
16
|
+
render: (args: AsthmaLogEntryEditorViewProps) => React.JSX.Element;
|
|
17
|
+
};
|
|
18
|
+
export declare const MildSymptoms: {
|
|
19
|
+
args: {
|
|
20
|
+
previewState: string;
|
|
21
|
+
date: Date;
|
|
22
|
+
};
|
|
23
|
+
render: (args: AsthmaLogEntryEditorViewProps) => React.JSX.Element;
|
|
24
|
+
};
|
|
25
|
+
export declare const ModerateSymptoms: {
|
|
26
|
+
args: {
|
|
27
|
+
previewState: string;
|
|
28
|
+
date: Date;
|
|
29
|
+
};
|
|
30
|
+
render: (args: AsthmaLogEntryEditorViewProps) => React.JSX.Element;
|
|
31
|
+
};
|
|
32
|
+
export declare const SevereSymptoms: {
|
|
33
|
+
args: {
|
|
34
|
+
previewState: string;
|
|
35
|
+
date: Date;
|
|
36
|
+
};
|
|
37
|
+
render: (args: AsthmaLogEntryEditorViewProps) => React.JSX.Element;
|
|
38
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface AsthmaSleepViewProps {
|
|
3
|
+
previewState?: 'default';
|
|
4
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
5
|
+
alert?: 'SleepDisturbances';
|
|
6
|
+
logEntrySurveyName: string;
|
|
7
|
+
}
|
|
8
|
+
export default function (props: AsthmaSleepViewProps): React.JSX.Element;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaSleepView from './AsthmaSleepView';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaSleepView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
interface AsthmaSleepViewStoryProps {
|
|
12
|
+
alert?: '[None]' | 'SleepDisturbances';
|
|
13
|
+
}
|
|
14
|
+
export declare const Default: {
|
|
15
|
+
args: {
|
|
16
|
+
alert: string;
|
|
17
|
+
};
|
|
18
|
+
argTypes: {
|
|
19
|
+
alert: {
|
|
20
|
+
control: string;
|
|
21
|
+
options: string[];
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
render: (args: AsthmaSleepViewStoryProps) => React.JSX.Element;
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AsthmaSleepView';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as AsthmaActivityView } from './AsthmaActivityView';
|
|
2
|
+
export { default as AsthmaAirQualityView } from './AsthmaAirQualityView';
|
|
3
|
+
export { default as AsthmaAlertTakeoverView } from './AsthmaAlertTakeoverView';
|
|
4
|
+
export { default as AsthmaDayView, AsthmaDayViewPreviewState } from './AsthmaDayView';
|
|
5
|
+
export { default as AsthmaHeartAndLungsView } from './AsthmaHeartAndLungsView';
|
|
6
|
+
export { default as AsthmaLogEntryEditorView, AsthmaLogEntryEditorViewPreviewState } from './AsthmaLogEntryEditorView';
|
|
7
|
+
export { default as AsthmaSleepView } from './AsthmaSleepView';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "./BloodPressureVisualization.css";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { WeekStartsOn } from "../../../helpers/get-interval-start";
|
|
4
|
+
import { SurveyBloodPressureDataParameters } from "../../../helpers/blood-pressure-data-providers";
|
|
5
|
+
export type BloodPressurePreviewState = "Default" | "NoData" | "Loading";
|
|
6
|
+
export interface BloodPressureVisualizationProps {
|
|
7
|
+
previewState?: BloodPressurePreviewState;
|
|
8
|
+
surveyDataSource: SurveyBloodPressureDataParameters;
|
|
9
|
+
weekStartsOn?: WeekStartsOn;
|
|
10
|
+
}
|
|
11
|
+
export default function (props: BloodPressureVisualizationProps): React.JSX.Element;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import BloodPressureVisualization, { BloodPressureVisualizationProps } from "./BloodPressureVisualization";
|
|
3
|
+
import { SurveyBloodPressureDataParameters } from "../../../helpers/blood-pressure-data-providers/survey-blood-pressure-data-provider";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof BloodPressureVisualization;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
export declare const Default: {
|
|
13
|
+
args: {
|
|
14
|
+
previewState: string;
|
|
15
|
+
surveyDataSource: SurveyBloodPressureDataParameters;
|
|
16
|
+
};
|
|
17
|
+
render: (args: BloodPressureVisualizationProps) => React.JSX.Element;
|
|
18
|
+
};
|
|
19
|
+
export declare const Loading: {
|
|
20
|
+
args: {
|
|
21
|
+
previewState: string;
|
|
22
|
+
surveyDataSource: SurveyBloodPressureDataParameters;
|
|
23
|
+
};
|
|
24
|
+
render: (args: BloodPressureVisualizationProps) => React.JSX.Element;
|
|
25
|
+
};
|
|
26
|
+
export declare const NoData: {
|
|
27
|
+
args: {
|
|
28
|
+
previewState: string;
|
|
29
|
+
surveyDataSource: SurveyBloodPressureDataParameters;
|
|
30
|
+
};
|
|
31
|
+
render: (args: BloodPressureVisualizationProps) => React.JSX.Element;
|
|
32
|
+
};
|
|
33
|
+
export declare const Live: {
|
|
34
|
+
args: {
|
|
35
|
+
surveyDataSource: {
|
|
36
|
+
surveyName: string;
|
|
37
|
+
dateResultIdentifier: string;
|
|
38
|
+
systolicResultIdentifier: string;
|
|
39
|
+
diastolicResultIdentifier: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
render: (args: BloodPressureVisualizationProps) => React.JSX.Element;
|
|
43
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./BloodPressureVisualization";
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { DailyDataProvider } from '../../../helpers/query-daily-data';
|
|
3
3
|
import "./DailyDataChart.css";
|
|
4
|
+
import { AxisDomain } from 'recharts/types/util/types';
|
|
4
5
|
import { WeekStartsOn } from '../../../helpers/get-interval-start';
|
|
5
6
|
export interface DailyDataChartProps {
|
|
6
7
|
title?: string;
|
|
8
|
+
subtitle?: string;
|
|
7
9
|
intervalType?: "Week" | "Month";
|
|
8
10
|
weekStartsOn?: WeekStartsOn;
|
|
9
11
|
dailyDataType: string;
|
|
@@ -21,6 +23,7 @@ export interface LineChartOptions {
|
|
|
21
23
|
}
|
|
22
24
|
export interface BarChartOptions {
|
|
23
25
|
barColor?: string;
|
|
26
|
+
domain?: AxisDomain;
|
|
24
27
|
}
|
|
25
28
|
export interface AreaChartOptions {
|
|
26
29
|
lineColor?: string;
|