@careevolution/mydatahelps-ui 2.10.0 → 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 +140 -16
- 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/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 +1 -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 -4
- package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +59 -123
- package/dist/cjs/types/components/presentational/index.d.ts +7 -0
- 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/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 +2 -0
- package/dist/cjs/types/index.d.ts +3 -0
- package/dist/esm/index.js +140 -16
- 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/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 +1 -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 -4
- package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +59 -123
- package/dist/esm/types/components/presentational/index.d.ts +7 -0
- 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/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 +2 -0
- package/dist/esm/types/index.d.ts +3 -0
- package/dist/index.d.ts +963 -528
- package/package.json +2 -2
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import RotatingText, { RotatingTextProps } from "./RotatingText";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof RotatingText;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Day1: {
|
|
12
|
+
args: {
|
|
13
|
+
interval: string;
|
|
14
|
+
entryTitlePrefix: string;
|
|
15
|
+
entries: {
|
|
16
|
+
title: string;
|
|
17
|
+
text: string;
|
|
18
|
+
}[];
|
|
19
|
+
startDate: Date;
|
|
20
|
+
};
|
|
21
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
22
|
+
};
|
|
23
|
+
export declare const Day2: {
|
|
24
|
+
args: {
|
|
25
|
+
interval: string;
|
|
26
|
+
entryTitlePrefix: string;
|
|
27
|
+
entries: {
|
|
28
|
+
title: string;
|
|
29
|
+
text: string;
|
|
30
|
+
}[];
|
|
31
|
+
startDate: Date;
|
|
32
|
+
};
|
|
33
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
34
|
+
};
|
|
35
|
+
export declare const Day3: {
|
|
36
|
+
args: {
|
|
37
|
+
interval: string;
|
|
38
|
+
entryTitlePrefix: string;
|
|
39
|
+
entries: {
|
|
40
|
+
title: string;
|
|
41
|
+
text: string;
|
|
42
|
+
}[];
|
|
43
|
+
startDate: Date;
|
|
44
|
+
};
|
|
45
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
46
|
+
};
|
|
47
|
+
export declare const Week1: {
|
|
48
|
+
args: {
|
|
49
|
+
interval: string;
|
|
50
|
+
entryTitlePrefix: string;
|
|
51
|
+
entries: {
|
|
52
|
+
title: string;
|
|
53
|
+
text: string;
|
|
54
|
+
}[];
|
|
55
|
+
startDate: Date;
|
|
56
|
+
};
|
|
57
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
58
|
+
};
|
|
59
|
+
export declare const Week2: {
|
|
60
|
+
args: {
|
|
61
|
+
interval: string;
|
|
62
|
+
entryTitlePrefix: string;
|
|
63
|
+
entries: {
|
|
64
|
+
title: string;
|
|
65
|
+
text: string;
|
|
66
|
+
}[];
|
|
67
|
+
startDate: Date;
|
|
68
|
+
};
|
|
69
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
70
|
+
};
|
|
71
|
+
export declare const Week3: {
|
|
72
|
+
args: {
|
|
73
|
+
interval: string;
|
|
74
|
+
entryTitlePrefix: string;
|
|
75
|
+
entries: {
|
|
76
|
+
title: string;
|
|
77
|
+
text: string;
|
|
78
|
+
}[];
|
|
79
|
+
startDate: Date;
|
|
80
|
+
};
|
|
81
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
82
|
+
};
|
|
83
|
+
export declare const Month1: {
|
|
84
|
+
args: {
|
|
85
|
+
interval: string;
|
|
86
|
+
entryTitlePrefix: string;
|
|
87
|
+
entries: {
|
|
88
|
+
title: string;
|
|
89
|
+
text: string;
|
|
90
|
+
}[];
|
|
91
|
+
startDate: Date;
|
|
92
|
+
};
|
|
93
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
94
|
+
};
|
|
95
|
+
export declare const Month2: {
|
|
96
|
+
args: {
|
|
97
|
+
interval: string;
|
|
98
|
+
entryTitlePrefix: string;
|
|
99
|
+
entries: {
|
|
100
|
+
title: string;
|
|
101
|
+
text: string;
|
|
102
|
+
}[];
|
|
103
|
+
startDate: Date;
|
|
104
|
+
};
|
|
105
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
106
|
+
};
|
|
107
|
+
export declare const Month3: {
|
|
108
|
+
args: {
|
|
109
|
+
interval: string;
|
|
110
|
+
entryTitlePrefix: string;
|
|
111
|
+
entries: {
|
|
112
|
+
title: string;
|
|
113
|
+
text: string;
|
|
114
|
+
}[];
|
|
115
|
+
startDate: Date;
|
|
116
|
+
};
|
|
117
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
118
|
+
};
|
|
119
|
+
export declare const NoTitlePrefix: {
|
|
120
|
+
args: {
|
|
121
|
+
interval: string;
|
|
122
|
+
entries: {
|
|
123
|
+
title: string;
|
|
124
|
+
text: string;
|
|
125
|
+
}[];
|
|
126
|
+
startDate: Date;
|
|
127
|
+
};
|
|
128
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
129
|
+
};
|
|
130
|
+
export declare const NoTitle: {
|
|
131
|
+
args: {
|
|
132
|
+
interval: string;
|
|
133
|
+
entryTitlePrefix: string;
|
|
134
|
+
entries: {
|
|
135
|
+
text: string;
|
|
136
|
+
}[];
|
|
137
|
+
startDate: Date;
|
|
138
|
+
};
|
|
139
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
140
|
+
};
|
|
141
|
+
export declare const NoEntries: {
|
|
142
|
+
args: {
|
|
143
|
+
interval: string;
|
|
144
|
+
entryTitlePrefix: string;
|
|
145
|
+
entries: never[];
|
|
146
|
+
startDate: Date;
|
|
147
|
+
};
|
|
148
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
149
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, RotatingTextEntry } from './RotatingText';
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
import { SurveyTask } from
|
|
2
|
+
import './SingleSurveyTask.css';
|
|
3
|
+
import { SurveyTask } from '@careevolution/mydatahelps-js';
|
|
4
4
|
import { IconDefinition } from '@fortawesome/fontawesome-common-types';
|
|
5
5
|
import '@fortawesome/fontawesome-svg-core/styles.css';
|
|
6
6
|
import { ColorDefinition } from '../../../helpers/colors';
|
|
7
7
|
import { ButtonVariant } from '../Button/Button';
|
|
8
|
+
export type SingleSurveyTaskVariant = 'default' | 'expanded';
|
|
8
9
|
export interface SingleSurveyTaskProps {
|
|
9
10
|
task: SurveyTask;
|
|
10
|
-
descriptionIcon?: IconDefinition;
|
|
11
11
|
onClick: () => void;
|
|
12
|
+
variant?: SingleSurveyTaskVariant;
|
|
13
|
+
descriptionIcon?: IconDefinition;
|
|
12
14
|
surveyActive?: boolean;
|
|
13
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
14
15
|
buttonColor?: ColorDefinition;
|
|
15
16
|
buttonVariant?: ButtonVariant;
|
|
17
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
16
18
|
}
|
|
17
19
|
export default function (props: SingleSurveyTaskProps): React.JSX.Element | null;
|
package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import SingleSurveyTask, {
|
|
2
|
+
import SingleSurveyTask, { SingleSurveyTaskVariant } from './SingleSurveyTask';
|
|
3
|
+
import { SurveyTaskStatus } from "@careevolution/mydatahelps-js";
|
|
3
4
|
declare const _default: {
|
|
4
5
|
title: string;
|
|
5
6
|
component: typeof SingleSurveyTask;
|
|
@@ -8,133 +9,68 @@ declare const _default: {
|
|
|
8
9
|
};
|
|
9
10
|
};
|
|
10
11
|
export default _default;
|
|
11
|
-
|
|
12
|
+
interface SingleSurveyTaskStoryArgs {
|
|
13
|
+
name: string;
|
|
14
|
+
status: SurveyTaskStatus;
|
|
15
|
+
description?: string;
|
|
16
|
+
dueDate?: number;
|
|
17
|
+
hasSavedProgress?: boolean;
|
|
18
|
+
variant?: SingleSurveyTaskVariant;
|
|
19
|
+
endDate?: number;
|
|
20
|
+
surveyActive?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare const Default: {
|
|
12
23
|
args: {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
startDate?: string | undefined;
|
|
22
|
-
endDate?: string | undefined;
|
|
23
|
-
hasSavedProgress: boolean;
|
|
24
|
-
dueDate: string;
|
|
25
|
-
insertedDate: string;
|
|
26
|
-
modifiedDate: string;
|
|
27
|
-
};
|
|
28
|
-
descriptionIcon?: import("@fortawesome/fontawesome-common-types").IconDefinition | undefined;
|
|
29
|
-
onClick: () => void;
|
|
30
|
-
surveyActive?: boolean | undefined;
|
|
31
|
-
innerRef?: React.Ref<HTMLDivElement> | undefined;
|
|
32
|
-
buttonColor?: import("../../..").ColorDefinition | undefined;
|
|
33
|
-
buttonVariant?: import("../Button/Button").ButtonVariant | undefined;
|
|
24
|
+
variant: string;
|
|
25
|
+
name: string;
|
|
26
|
+
description: string;
|
|
27
|
+
status: string;
|
|
28
|
+
dueDate: undefined;
|
|
29
|
+
hasSavedProgress: boolean;
|
|
30
|
+
endDate: undefined;
|
|
31
|
+
surveyActive: boolean;
|
|
34
32
|
};
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
task: {
|
|
40
|
-
status: string;
|
|
41
|
-
hasSavedProgress: boolean;
|
|
42
|
-
id: import("@careevolution/mydatahelps-js").Guid;
|
|
43
|
-
linkIdentifier: string;
|
|
44
|
-
surveyID: import("@careevolution/mydatahelps-js").Guid;
|
|
45
|
-
surveyName: string;
|
|
46
|
-
surveyDisplayName?: string | undefined;
|
|
47
|
-
surveyDescription?: string | undefined;
|
|
48
|
-
startDate?: string | undefined;
|
|
49
|
-
endDate?: string | undefined;
|
|
50
|
-
dueDate: string;
|
|
51
|
-
insertedDate: string;
|
|
52
|
-
modifiedDate: string;
|
|
33
|
+
argTypes: {
|
|
34
|
+
variant: {
|
|
35
|
+
control: string;
|
|
36
|
+
options: string[];
|
|
53
37
|
};
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
innerRef?: React.Ref<HTMLDivElement> | undefined;
|
|
58
|
-
buttonColor?: import("../../..").ColorDefinition | undefined;
|
|
59
|
-
buttonVariant?: import("../Button/Button").ButtonVariant | undefined;
|
|
60
|
-
};
|
|
61
|
-
render: (args: SingleSurveyTaskProps) => React.JSX.Element;
|
|
62
|
-
};
|
|
63
|
-
export declare const IncompleteSurveyActive: {
|
|
64
|
-
args: {
|
|
65
|
-
task: {
|
|
66
|
-
status: string;
|
|
67
|
-
id: import("@careevolution/mydatahelps-js").Guid;
|
|
68
|
-
linkIdentifier: string;
|
|
69
|
-
surveyID: import("@careevolution/mydatahelps-js").Guid;
|
|
70
|
-
surveyName: string;
|
|
71
|
-
surveyDisplayName?: string | undefined;
|
|
72
|
-
surveyDescription?: string | undefined;
|
|
73
|
-
startDate?: string | undefined;
|
|
74
|
-
endDate?: string | undefined;
|
|
75
|
-
hasSavedProgress: boolean;
|
|
76
|
-
dueDate: string;
|
|
77
|
-
insertedDate: string;
|
|
78
|
-
modifiedDate: string;
|
|
38
|
+
status: {
|
|
39
|
+
control: string;
|
|
40
|
+
options: string[];
|
|
79
41
|
};
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
render: (args: SingleSurveyTaskProps) => React.JSX.Element;
|
|
88
|
-
};
|
|
89
|
-
export declare const IncompleteWithLongDescription: {
|
|
90
|
-
args: {
|
|
91
|
-
task: {
|
|
92
|
-
status: string;
|
|
93
|
-
surveyDescription: string;
|
|
94
|
-
id: import("@careevolution/mydatahelps-js").Guid;
|
|
95
|
-
linkIdentifier: string;
|
|
96
|
-
surveyID: import("@careevolution/mydatahelps-js").Guid;
|
|
97
|
-
surveyName: string;
|
|
98
|
-
surveyDisplayName?: string | undefined;
|
|
99
|
-
startDate?: string | undefined;
|
|
100
|
-
endDate?: string | undefined;
|
|
101
|
-
hasSavedProgress: boolean;
|
|
102
|
-
dueDate: string;
|
|
103
|
-
insertedDate: string;
|
|
104
|
-
modifiedDate: string;
|
|
42
|
+
dueDate: {
|
|
43
|
+
name: string;
|
|
44
|
+
control: string;
|
|
45
|
+
if: {
|
|
46
|
+
arg: string;
|
|
47
|
+
eq: string;
|
|
48
|
+
};
|
|
105
49
|
};
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
insertedDate: string;
|
|
130
|
-
modifiedDate: string;
|
|
50
|
+
hasSavedProgress: {
|
|
51
|
+
name: string;
|
|
52
|
+
control: string;
|
|
53
|
+
if: {
|
|
54
|
+
arg: string;
|
|
55
|
+
eq: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
surveyActive: {
|
|
59
|
+
name: string;
|
|
60
|
+
control: string;
|
|
61
|
+
if: {
|
|
62
|
+
arg: string;
|
|
63
|
+
eq: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
endDate: {
|
|
67
|
+
name: string;
|
|
68
|
+
control: string;
|
|
69
|
+
if: {
|
|
70
|
+
arg: string;
|
|
71
|
+
eq: string;
|
|
72
|
+
};
|
|
131
73
|
};
|
|
132
|
-
descriptionIcon?: import("@fortawesome/fontawesome-common-types").IconDefinition | undefined;
|
|
133
|
-
onClick: () => void;
|
|
134
|
-
surveyActive?: boolean | undefined;
|
|
135
|
-
innerRef?: React.Ref<HTMLDivElement> | undefined;
|
|
136
|
-
buttonColor?: import("../../..").ColorDefinition | undefined;
|
|
137
|
-
buttonVariant?: import("../Button/Button").ButtonVariant | undefined;
|
|
138
74
|
};
|
|
139
|
-
render: (args:
|
|
75
|
+
render: (args: SingleSurveyTaskStoryArgs) => React.JSX.Element;
|
|
140
76
|
};
|
|
@@ -8,6 +8,7 @@ export { default as CardTitle } from "./CardTitle";
|
|
|
8
8
|
export { default as DateRangeCoordinator, DateRangeContext } from "./DateRangeCoordinator";
|
|
9
9
|
export { default as DateRangeNavigator } from "./DateRangeNavigator";
|
|
10
10
|
export { default as DayTrackerSymbol } from "./DayTrackerSymbol";
|
|
11
|
+
export { default as DumbbellChart } from "./DumbbellChart";
|
|
11
12
|
export { default as Face } from "./Face";
|
|
12
13
|
export { default as Histogram } from "./Histogram";
|
|
13
14
|
export { default as Layout, LayoutContext } from "./Layout";
|
|
@@ -17,6 +18,7 @@ export { default as NotesInput } from "./NotesInput";
|
|
|
17
18
|
export { default as ProgressBar } from "./ProgressBar";
|
|
18
19
|
export { default as ProgressBarStep } from "./ProgressBar/ProgressBarStep";
|
|
19
20
|
export { default as ProgressRing } from "./ProgressRing";
|
|
21
|
+
export { default as RotatingText, RotatingTextEntry } from "./RotatingText";
|
|
20
22
|
export { default as Section } from "./Section";
|
|
21
23
|
export { default as SegmentedControl } from "./SegmentedControl";
|
|
22
24
|
export { default as ShinyOverlay } from "./ShinyOverlay";
|
|
@@ -33,3 +35,8 @@ export { default as UnstyledButton } from "./UnstyledButton";
|
|
|
33
35
|
export { default as ValueSelector } from "./ValueSelector";
|
|
34
36
|
export { default as ViewHeader } from "./ViewHeader";
|
|
35
37
|
export { default as WeekCalendar } from "./WeekCalendar";
|
|
38
|
+
export { default as InboxCompletedListItem } from "./InboxCompletedListItem";
|
|
39
|
+
export { default as InboxMessageListItem } from "./InboxMessageListItem";
|
|
40
|
+
export { default as InboxResourceDisplay } from "./InboxResourceDisplay";
|
|
41
|
+
export { default as InboxResourceListItem, InboxResourceImageAlignment } from "./InboxResourceListItem";
|
|
42
|
+
export { default as InboxSurveyListItem, InboxSurveyVariant } from "./InboxSurveyListItem";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './InboxHistoryView.css';
|
|
3
|
+
export interface InboxHistoryViewProps {
|
|
4
|
+
previewState?: 'default';
|
|
5
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
6
|
+
messageViewerUrl: string;
|
|
7
|
+
}
|
|
8
|
+
export default function (props: InboxHistoryViewProps): React.JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import InboxHistoryView from './InboxHistoryView';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof InboxHistoryView;
|
|
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 './InboxHistoryView';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './InboxMessageView.css';
|
|
3
|
+
import { InboxMessage } from '@careevolution/mydatahelps-js';
|
|
4
|
+
export interface InboxMessageViewProps {
|
|
5
|
+
previewState?: InboxMessage;
|
|
6
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
7
|
+
resourceImageAlignment?: 'left' | 'center' | 'right';
|
|
8
|
+
resourceButtonText?: string;
|
|
9
|
+
}
|
|
10
|
+
export default function (props: InboxMessageViewProps): React.JSX.Element;
|
|
11
|
+
export declare function viewInboxMessage(message: InboxMessage, url: string): void;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import InboxMessageView from './InboxMessageView';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof InboxMessageView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
interface InboxMessageViewStoryArgs {
|
|
12
|
+
title: string;
|
|
13
|
+
content: string;
|
|
14
|
+
hasRelatedResources?: boolean;
|
|
15
|
+
resourceImageAlignment?: 'left' | 'center' | 'right';
|
|
16
|
+
resourceButtonText?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const Default: {
|
|
19
|
+
args: {
|
|
20
|
+
title: string;
|
|
21
|
+
content: string;
|
|
22
|
+
hasRelatedResources: boolean;
|
|
23
|
+
resourceImageAlignment: string;
|
|
24
|
+
resourceButtonText: string;
|
|
25
|
+
};
|
|
26
|
+
argTypes: {
|
|
27
|
+
hasRelatedResources: {
|
|
28
|
+
name: string;
|
|
29
|
+
};
|
|
30
|
+
resourceImageAlignment: {
|
|
31
|
+
name: string;
|
|
32
|
+
control: string;
|
|
33
|
+
options: string[];
|
|
34
|
+
if: {
|
|
35
|
+
arg: string;
|
|
36
|
+
eq: boolean;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
resourceButtonText: {
|
|
40
|
+
name: string;
|
|
41
|
+
if: {
|
|
42
|
+
arg: string;
|
|
43
|
+
eq: boolean;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
render: (args: InboxMessageViewStoryArgs) => React.JSX.Element;
|
|
48
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, viewInboxMessage } from './InboxMessageView';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './InboxView.css';
|
|
3
|
+
import { InboxResourceImageAlignment, InboxSurveyVariant } from '../../presentational';
|
|
4
|
+
export interface InboxViewProps {
|
|
5
|
+
previewState?: 'default';
|
|
6
|
+
colorScheme?: 'auto' | 'light' | 'dark';
|
|
7
|
+
surveyVariant?: InboxSurveyVariant;
|
|
8
|
+
resourceImageAlignment?: InboxResourceImageAlignment;
|
|
9
|
+
messageViewerUrl: string;
|
|
10
|
+
historyViewerUrl: string;
|
|
11
|
+
}
|
|
12
|
+
export default function (props: InboxViewProps): React.JSX.Element;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import InboxView, { InboxViewProps } from './InboxView';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof InboxView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Default: {
|
|
12
|
+
args: {
|
|
13
|
+
surveyVariant: string;
|
|
14
|
+
resourceImageAlignment: string;
|
|
15
|
+
};
|
|
16
|
+
argTypes: {
|
|
17
|
+
surveyVariant: {
|
|
18
|
+
control: string;
|
|
19
|
+
options: string[];
|
|
20
|
+
};
|
|
21
|
+
resourceImageAlignment: {
|
|
22
|
+
control: string;
|
|
23
|
+
options: string[];
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
render: (args: InboxViewProps) => React.JSX.Element;
|
|
27
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './InboxView';
|
|
@@ -12,3 +12,6 @@ export { default as MedicationsView } from "./MedicationsView";
|
|
|
12
12
|
export { default as NotificationsView } from "./NotificationsView";
|
|
13
13
|
export { default as SurveyTasksView } from "./SurveyTasksView";
|
|
14
14
|
export { default as NewPointsView, NewPointsViewProps, NewPointsEntry, showNewPoints } from "./NewPointsView";
|
|
15
|
+
export { default as InboxView } from "./InboxView";
|
|
16
|
+
export { default as InboxHistoryView } from "./InboxHistoryView";
|
|
17
|
+
export { default as InboxMessageView } from "./InboxMessageView";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Guid, InboxItem, InboxItemQueryParameters, InboxItemUpdateResult } from "@careevolution/mydatahelps-js";
|
|
2
|
+
export interface InboxDataService {
|
|
3
|
+
loadInboxItems: (parameters: InboxItemQueryParameters) => Promise<InboxItem[]>;
|
|
4
|
+
loadInboxItem: (id: Guid) => Promise<InboxItem | undefined>;
|
|
5
|
+
markItemRead: (inboxItem: InboxItem) => Promise<InboxItemUpdateResult>;
|
|
6
|
+
}
|
|
7
|
+
declare const service: InboxDataService;
|
|
8
|
+
export default service;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { default as bloodPressureDataProvider } from "./survey-blood-pressure-data-provider";
|
|
2
|
+
export { SurveyBloodPressureDataParameters as SurveyBloodPressureDataParameters } from "./survey-blood-pressure-data-provider";
|
|
3
|
+
export { BloodPressureDataPoint as BloodPressureDataPoint } from "./survey-blood-pressure-data-provider";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface SurveyBloodPressureDataParameters {
|
|
2
|
+
surveyName: string;
|
|
3
|
+
dateResultIdentifier: string;
|
|
4
|
+
systolicResultIdentifier: string;
|
|
5
|
+
diastolicResultIdentifier: string;
|
|
6
|
+
}
|
|
7
|
+
export interface BloodPressureDataPoint {
|
|
8
|
+
date: Date;
|
|
9
|
+
systolic: number;
|
|
10
|
+
diastolic: number;
|
|
11
|
+
}
|
|
12
|
+
export default function (props: SurveyBloodPressureDataParameters): Promise<BloodPressureDataPoint[]>;
|
|
@@ -4,3 +4,4 @@ export declare function getDayOfWeek(date: Date): string;
|
|
|
4
4
|
export declare function getFullDateString(date: Date): string;
|
|
5
5
|
export declare function getShorterDateString(date: Date): string;
|
|
6
6
|
export declare function getMonthName(month: number): string;
|
|
7
|
+
export declare function getLocale(): Locale;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function noop(): void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DeviceDataNamespace } from "@careevolution/mydatahelps-js";
|
|
1
2
|
export type DailyDataQueryResult = {
|
|
2
3
|
[key: string]: number;
|
|
3
4
|
};
|
|
@@ -6,6 +7,7 @@ export type DailyDataAvailabilityCheck = (modifiedAfter?: Date) => Promise<boole
|
|
|
6
7
|
export declare function registerDailyDataProvider(type: string, provider: DailyDataProvider, availabilityCheck: DailyDataAvailabilityCheck): void;
|
|
7
8
|
export declare function checkDailyDataAvailability(type: string, modifiedAfter?: Date): Promise<boolean>;
|
|
8
9
|
export declare function queryDailyData(type: string, startDate: Date, endDate: Date): Promise<DailyDataQueryResult>;
|
|
10
|
+
export declare function simpleAvailabilityCheck(namespace: DeviceDataNamespace, type: string | string[]): (modifiedAfter?: Date) => Promise<boolean>;
|
|
9
11
|
export declare enum DailyDataType {
|
|
10
12
|
AppleHealthDistanceWalkingRunning = "AppleHealthDistanceWalkingRunning",
|
|
11
13
|
AppleHealthFlightsClimbed = "AppleHealthFlightsClimbed",
|
|
@@ -5,3 +5,6 @@ export * from './helpers/language';
|
|
|
5
5
|
export { default as getDayKey } from './helpers/get-day-key';
|
|
6
6
|
export * from './helpers/get-interval-start';
|
|
7
7
|
export * from './helpers/colors';
|
|
8
|
+
export * from './helpers/blood-pressure-data-providers';
|
|
9
|
+
export * from './helpers/query-all-survey-answers';
|
|
10
|
+
export * from './helpers/Initialization';
|