@careevolution/mydatahelps-ui 2.10.1-InboxUI.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +12 -189
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/asthma/components/AsthmaActionPlanManager/AsthmaActionPlanManager.d.ts +9 -0
- package/dist/cjs/types/components/asthma/components/AsthmaActionPlanManager/AsthmaActionPlanManager.stories.d.ts +32 -0
- package/dist/cjs/types/components/asthma/components/AsthmaActionPlanManager/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +11 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +7 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +37 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.d.ts +9 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.stories.d.ts +34 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverTrigger/AsthmaAlertTakeoverTrigger.d.ts +11 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverTrigger/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.d.ts +12 -0
- package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +12 -0
- package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +32 -0
- package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +12 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +6 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +46 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +10 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +8 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +32 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts +13 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.previewData.d.ts +6 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.stories.d.ts +39 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +11 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +7 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +32 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/AsthmaPostEnrollmentSurveyTrigger.d.ts +8 -0
- package/dist/cjs/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/index.d.ts +10 -0
- package/dist/cjs/types/components/asthma/helpers/asthma-data.d.ts +26 -0
- package/dist/cjs/types/components/asthma/helpers/asthma-functions.d.ts +20 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-daytime.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-nighttime.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/index.d.ts +8 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/respiratory-rate.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-daytime.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-nighttime.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/shared.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/sleep.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/steps.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/index.d.ts +4 -0
- package/dist/cjs/types/components/asthma/model/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/model/types.d.ts +66 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActionPlanView/AsthmaActionPlanView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActionPlanView/AsthmaActionPlanView.stories.d.ts +29 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActionPlanView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.stories.d.ts +30 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActivityView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.stories.d.ts +41 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.d.ts +7 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.stories.d.ts +23 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaDayView/AsthmaDayView.d.ts +15 -0
- package/dist/cjs/types/components/asthma/views/AsthmaDayView/AsthmaDayView.stories.d.ts +23 -0
- package/dist/cjs/types/components/asthma/views/AsthmaDayView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.stories.d.ts +41 -0
- package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.previewData.d.ts +6 -0
- package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.stories.d.ts +29 -0
- package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.stories.d.ts +30 -0
- package/dist/cjs/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/index.d.ts +8 -0
- package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +1 -0
- package/dist/cjs/types/components/container/InboxItemList/InboxItemList.d.ts +2 -2
- package/dist/cjs/types/components/container/RecentDailyDataBarChart/RecentDailyDataBarChart.d.ts +17 -0
- package/dist/cjs/types/components/container/RecentDailyDataBarChart/RecentDailyDataBarChart.stories.d.ts +58 -0
- package/dist/cjs/types/components/container/RecentDailyDataBarChart/index.d.ts +1 -0
- package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +1 -0
- package/dist/cjs/types/components/container/index.d.ts +1 -0
- package/dist/cjs/types/components/index.d.ts +3 -2
- package/dist/cjs/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
- package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +2 -2
- package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +2 -2
- package/dist/cjs/types/components/presentational/InboxResourceListItem/index.d.ts +1 -1
- package/dist/cjs/types/components/presentational/Layout/index.d.ts +1 -2
- package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -0
- package/dist/cjs/types/components/presentational/Resource/Resource.d.ts +15 -0
- package/dist/cjs/types/components/presentational/{InboxResourceDisplay/InboxResourceDisplay.stories.d.ts → Resource/Resource.stories.d.ts} +11 -11
- package/dist/cjs/types/components/presentational/Resource/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/ResourceList/ResourceList.d.ts +19 -0
- package/dist/cjs/types/components/presentational/ResourceList/ResourceList.previewData.d.ts +6 -0
- package/dist/cjs/types/components/presentational/ResourceList/ResourceList.stories.d.ts +50 -0
- package/dist/cjs/types/components/presentational/ResourceList/index.d.ts +2 -0
- package/dist/cjs/types/components/presentational/RotatingComponentCoordinator/RotatingComponentCoordinator.d.ts +9 -0
- package/dist/cjs/types/components/presentational/RotatingComponentCoordinator/RotatingComponentCoordinator.stories.d.ts +26 -0
- package/dist/cjs/types/components/presentational/RotatingComponentCoordinator/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/SingleDataPoint/SingleDataPoint.d.ts +13 -0
- package/dist/cjs/types/components/presentational/SingleDataPoint/SingleDataPoint.stories.d.ts +55 -0
- package/dist/cjs/types/components/presentational/SingleDataPoint/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/index.d.ts +5 -2
- package/dist/cjs/types/components/view/InboxView/InboxView.d.ts +3 -2
- package/dist/cjs/types/components/view/ResourceListView/ResourceListView.d.ts +11 -0
- package/dist/cjs/types/components/view/ResourceListView/ResourceListView.stories.d.ts +40 -0
- package/dist/cjs/types/components/view/ResourceListView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/index.d.ts +1 -0
- package/dist/cjs/types/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
- package/dist/cjs/types/helpers/daily-data-providers/air-quality-work.d.ts +2 -0
- package/dist/cjs/types/helpers/daily-data-providers/index.d.ts +3 -0
- package/dist/cjs/types/helpers/daily-data-providers/shared.d.ts +4 -0
- package/dist/cjs/types/helpers/query-daily-data.d.ts +5 -1
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/esm/index.js +12 -189
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/asthma/components/AsthmaActionPlanManager/AsthmaActionPlanManager.d.ts +9 -0
- package/dist/esm/types/components/asthma/components/AsthmaActionPlanManager/AsthmaActionPlanManager.stories.d.ts +32 -0
- package/dist/esm/types/components/asthma/components/AsthmaActionPlanManager/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +11 -0
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +7 -0
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +37 -0
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.d.ts +9 -0
- package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.stories.d.ts +34 -0
- package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverTrigger/AsthmaAlertTakeoverTrigger.d.ts +11 -0
- package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverTrigger/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.d.ts +12 -0
- package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +12 -0
- package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +32 -0
- package/dist/esm/types/components/asthma/components/AsthmaBiometrics/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +12 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +6 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +46 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +10 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +8 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +32 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts +13 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.previewData.d.ts +6 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.stories.d.ts +39 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +11 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +7 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +32 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/AsthmaPostEnrollmentSurveyTrigger.d.ts +8 -0
- package/dist/esm/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/index.d.ts +10 -0
- package/dist/esm/types/components/asthma/helpers/asthma-data.d.ts +26 -0
- package/dist/esm/types/components/asthma/helpers/asthma-functions.d.ts +20 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-daytime.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-nighttime.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/index.d.ts +8 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/respiratory-rate.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-daytime.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-nighttime.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/shared.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/sleep.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/steps.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/index.d.ts +4 -0
- package/dist/esm/types/components/asthma/model/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/model/types.d.ts +66 -0
- package/dist/esm/types/components/asthma/views/AsthmaActionPlanView/AsthmaActionPlanView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaActionPlanView/AsthmaActionPlanView.stories.d.ts +29 -0
- package/dist/esm/types/components/asthma/views/AsthmaActionPlanView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.stories.d.ts +30 -0
- package/dist/esm/types/components/asthma/views/AsthmaActivityView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.stories.d.ts +41 -0
- package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.d.ts +7 -0
- package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.stories.d.ts +23 -0
- package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaDayView/AsthmaDayView.d.ts +15 -0
- package/dist/esm/types/components/asthma/views/AsthmaDayView/AsthmaDayView.stories.d.ts +23 -0
- package/dist/esm/types/components/asthma/views/AsthmaDayView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.stories.d.ts +41 -0
- package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.previewData.d.ts +6 -0
- package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.stories.d.ts +29 -0
- package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.stories.d.ts +30 -0
- package/dist/esm/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/index.d.ts +8 -0
- package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +1 -0
- package/dist/esm/types/components/container/InboxItemList/InboxItemList.d.ts +2 -2
- package/dist/esm/types/components/container/RecentDailyDataBarChart/RecentDailyDataBarChart.d.ts +17 -0
- package/dist/esm/types/components/container/RecentDailyDataBarChart/RecentDailyDataBarChart.stories.d.ts +58 -0
- package/dist/esm/types/components/container/RecentDailyDataBarChart/index.d.ts +1 -0
- package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +1 -0
- package/dist/esm/types/components/container/index.d.ts +1 -0
- package/dist/esm/types/components/index.d.ts +3 -2
- package/dist/esm/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
- package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +2 -2
- package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +2 -2
- package/dist/esm/types/components/presentational/InboxResourceListItem/index.d.ts +1 -1
- package/dist/esm/types/components/presentational/Layout/index.d.ts +1 -2
- package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -0
- package/dist/esm/types/components/presentational/Resource/Resource.d.ts +15 -0
- package/dist/esm/types/components/presentational/{InboxResourceDisplay/InboxResourceDisplay.stories.d.ts → Resource/Resource.stories.d.ts} +11 -11
- package/dist/esm/types/components/presentational/Resource/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/ResourceList/ResourceList.d.ts +19 -0
- package/dist/esm/types/components/presentational/ResourceList/ResourceList.previewData.d.ts +6 -0
- package/dist/esm/types/components/presentational/ResourceList/ResourceList.stories.d.ts +50 -0
- package/dist/esm/types/components/presentational/ResourceList/index.d.ts +2 -0
- package/dist/esm/types/components/presentational/RotatingComponentCoordinator/RotatingComponentCoordinator.d.ts +9 -0
- package/dist/esm/types/components/presentational/RotatingComponentCoordinator/RotatingComponentCoordinator.stories.d.ts +26 -0
- package/dist/esm/types/components/presentational/RotatingComponentCoordinator/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/SingleDataPoint/SingleDataPoint.d.ts +13 -0
- package/dist/esm/types/components/presentational/SingleDataPoint/SingleDataPoint.stories.d.ts +55 -0
- package/dist/esm/types/components/presentational/SingleDataPoint/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/index.d.ts +5 -2
- package/dist/esm/types/components/view/InboxView/InboxView.d.ts +3 -2
- package/dist/esm/types/components/view/ResourceListView/ResourceListView.d.ts +11 -0
- package/dist/esm/types/components/view/ResourceListView/ResourceListView.stories.d.ts +40 -0
- package/dist/esm/types/components/view/ResourceListView/index.d.ts +1 -0
- package/dist/esm/types/components/view/index.d.ts +1 -0
- package/dist/esm/types/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
- package/dist/esm/types/helpers/daily-data-providers/air-quality-work.d.ts +2 -0
- package/dist/esm/types/helpers/daily-data-providers/index.d.ts +3 -0
- package/dist/esm/types/helpers/daily-data-providers/shared.d.ts +4 -0
- package/dist/esm/types/helpers/query-daily-data.d.ts +5 -1
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/index.d.ts +1157 -799
- package/package.json +4 -4
- package/dist/cjs/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.d.ts +0 -12
- package/dist/cjs/types/components/presentational/InboxResourceDisplay/index.d.ts +0 -1
- package/dist/esm/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.d.ts +0 -12
- package/dist/esm/types/components/presentational/InboxResourceDisplay/index.d.ts +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,547 +1,352 @@
|
|
|
1
|
-
import React, { ReactElement, CSSProperties, MouseEventHandler, ReactNode } from 'react';
|
|
1
|
+
import React, { ReactElement, CSSProperties, MouseEventHandler, ReactNode, DependencyList } from 'react';
|
|
2
|
+
import { ParticipantInfo, DeviceInfo, SurveyAnswer, ExternalAccountStatus, DeviceDataNamespace, ExternalAccount, NotificationType, ExternalAccountProvider, SurveyTaskStatus, StatusBarStyle, Notification, SurveyTask, InboxMessage, InboxResource, InboxSurvey, InboxItemType, InboxItemStatus, SortOrder, InboxItemSortColumn, InboxItem, EventName } from '@careevolution/mydatahelps-js';
|
|
3
|
+
import { AxisDomain } from 'recharts/types/util/types';
|
|
2
4
|
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
3
|
-
import { StatusBarStyle, ExternalAccount, Notification, SurveyTask, InboxMessage, InboxResource, InboxMessageResource, InboxSurvey, ExternalAccountStatus, NotificationType, ExternalAccountProvider, SurveyTaskStatus, InboxItemType, InboxItemStatus, SortOrder, InboxItemSortColumn, InboxItem, ParticipantInfo } from '@careevolution/mydatahelps-js';
|
|
4
5
|
import { IconDefinition as IconDefinition$1 } from '@fortawesome/fontawesome-common-types';
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
7
|
+
interface AsthmaActionPlanManagerProps {
|
|
8
|
+
previewState?: 'loading' | 'loaded without action plan' | 'loaded with action plan';
|
|
9
|
+
learnMoreUrl: string;
|
|
10
|
+
editActionPlanSurveyName: string;
|
|
11
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
12
|
+
}
|
|
13
|
+
declare function export_default$2c(props: AsthmaActionPlanManagerProps): React.JSX.Element;
|
|
14
|
+
|
|
15
|
+
declare class AsthmaParticipant {
|
|
16
|
+
participantInfo: ParticipantInfo;
|
|
17
|
+
constructor(participantInfo: ParticipantInfo);
|
|
18
|
+
getFirstName(): string;
|
|
19
|
+
hasPairedDevice(): boolean;
|
|
20
|
+
hasEstablishedBaseline(): boolean;
|
|
21
|
+
getHomeAirQualityZipCode(): string;
|
|
22
|
+
getWorkAirQualityZipCode(): string;
|
|
23
|
+
getActionPlanTaskRunUUID(): string;
|
|
24
|
+
getDaytimeRestingHeartRateBaseline(): number | undefined;
|
|
25
|
+
getNighttimeRestingHeartRateBaseline(): number | undefined;
|
|
26
|
+
getRespiratoryRateBaseline(): number | undefined;
|
|
27
|
+
getStepsBaseline(): number | undefined;
|
|
28
|
+
getSleepDisturbancesBaseline(): number | undefined;
|
|
29
|
+
getDaytimeBloodOxygenLevelBaseline(): number | undefined;
|
|
30
|
+
getNighttimeBloodOxygenLevelBaseline(): number | undefined;
|
|
31
|
+
private hasEstablishedBaselineByType;
|
|
32
|
+
private getBaseline;
|
|
33
|
+
private getCustomFieldValue;
|
|
34
|
+
}
|
|
35
|
+
interface AsthmaControlMetrics {
|
|
36
|
+
date: string;
|
|
37
|
+
nighttimeAwakeningDaysPast7: number;
|
|
38
|
+
limitedActivityDaysPast7: number;
|
|
39
|
+
inhalerUseDaysPast7: number;
|
|
40
|
+
symptomDaysPast7: number;
|
|
41
|
+
loggedDaysPast7: number;
|
|
42
|
+
}
|
|
43
|
+
type AsthmaControlStatus = 'no-data' | 'not-controlled' | 'controlled' | 'not-determined';
|
|
44
|
+
interface AsthmaControlState {
|
|
45
|
+
status: AsthmaControlStatus;
|
|
46
|
+
symptomDaysPast7?: number;
|
|
47
|
+
nighttimeAwakeningDaysPast7?: number;
|
|
48
|
+
limitedActivityDaysPast7?: number;
|
|
49
|
+
inhalerUseDaysPast7?: number;
|
|
50
|
+
}
|
|
51
|
+
type AsthmaDataStatus = 'not-configured' | 'not-found' | 'not-determined' | 'establishing' | 'offline' | 'in-range' | 'out-of-range';
|
|
52
|
+
type AsthmaBiometricType = 'daytime-resting-heart-rate' | 'nighttime-resting-heart-rate' | 'respiratory-rate' | 'steps' | 'sleep-disturbances' | 'daytime-blood-oxygen-level' | 'nighttime-blood-oxygen-level';
|
|
53
|
+
interface AsthmaBiometric {
|
|
54
|
+
type: AsthmaBiometricType;
|
|
55
|
+
status: AsthmaDataStatus;
|
|
56
|
+
value?: number;
|
|
57
|
+
}
|
|
58
|
+
type AsthmaAirQualityType = 'work' | 'home';
|
|
59
|
+
interface AsthmaAirQuality {
|
|
60
|
+
type: AsthmaAirQualityType;
|
|
61
|
+
status: AsthmaDataStatus;
|
|
62
|
+
value?: number;
|
|
63
|
+
description?: string;
|
|
64
|
+
}
|
|
65
|
+
type AsthmaSymptomLevel = 'none' | 'mild' | 'moderate' | 'severe';
|
|
66
|
+
type AsthmaSymptom = 'Difficulty breathing' | 'Wheezing' | 'Coughing' | 'Chest tightness or pressure';
|
|
67
|
+
type AsthmaImpact = 'Wake up at night' | 'Limit your daily activity' | 'Use your rescue inhaler';
|
|
68
|
+
type AsthmaTrigger = 'Cold/viral illness' | 'Animal exposure' | 'Seasonal allergens/pollen' | 'Smoke (tobacco or wood burning)' | 'Extreme weather changes' | 'Air pollution' | 'Strong smells' | 'Chemicals/cleaning supplies' | 'Dust' | 'Mold' | 'Dust mites' | 'Rodents' | 'Cockroaches' | 'Taken a NSAID (non-steroidal anti-inflammatory drugs including aspirin and ibuprofen)' | 'Taken a beta blocker' | 'Had heartburn' | 'Drank red wine' | 'Tried any new foods' | 'Cooked without a fan or open window' | 'Had a pet sleep in your bed' | 'Burned incense or a candle';
|
|
69
|
+
interface AsthmaLogEntry {
|
|
70
|
+
identifier: string;
|
|
71
|
+
symptomLevel: AsthmaSymptomLevel;
|
|
72
|
+
symptoms: AsthmaSymptom[];
|
|
73
|
+
impacts: AsthmaImpact[];
|
|
74
|
+
triggers: AsthmaTrigger[];
|
|
75
|
+
}
|
|
76
|
+
interface AsthmaActionPlan {
|
|
77
|
+
id: string;
|
|
78
|
+
url: string;
|
|
29
79
|
}
|
|
30
|
-
declare function export_default$1R(props: ActionProps): React.JSX.Element;
|
|
31
80
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
message?: string;
|
|
40
|
-
className?: string;
|
|
81
|
+
type AsthmaAirQualitiesPreviewState = 'neither configured' | 'one configured' | 'no data (control)' | 'no data (date)' | 'some data (control)' | 'some data (date)' | 'all data';
|
|
82
|
+
|
|
83
|
+
interface AsthmaAirQualitiesProps {
|
|
84
|
+
previewState?: 'loading' | AsthmaAirQualitiesPreviewState;
|
|
85
|
+
editZipCodesSurveyName?: string;
|
|
86
|
+
airQualityUrl: string;
|
|
87
|
+
date?: Date;
|
|
41
88
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
42
89
|
}
|
|
43
|
-
declare function export_default$
|
|
90
|
+
declare function export_default$2b(props: AsthmaAirQualitiesProps): React.JSX.Element;
|
|
44
91
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
className?: string;
|
|
51
|
-
color?: ColorDefinition;
|
|
52
|
-
loading?: boolean;
|
|
53
|
-
variant?: ButtonVariant;
|
|
54
|
-
innerRef?: React.Ref<HTMLButtonElement>;
|
|
55
|
-
defaultMargin?: boolean;
|
|
56
|
-
fullWidth?: boolean;
|
|
92
|
+
interface AsthmaAlertTakeoverNoticeProps {
|
|
93
|
+
previewState?: 'loading' | 'loaded';
|
|
94
|
+
message: string;
|
|
95
|
+
logEntrySurveyName: string;
|
|
96
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
57
97
|
}
|
|
58
|
-
declare function export_default$
|
|
98
|
+
declare function export_default$2a(props: AsthmaAlertTakeoverNoticeProps): React.JSX.Element;
|
|
59
99
|
|
|
60
|
-
interface
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
100
|
+
interface AsthmaAlertTakeoverTriggerProps {
|
|
101
|
+
previewState?: boolean;
|
|
102
|
+
heartAndLungsUrl: string;
|
|
103
|
+
activityUrl: string;
|
|
104
|
+
sleepUrl: string;
|
|
105
|
+
airQualityUrl: string;
|
|
106
|
+
alertTakeoverUrl: string;
|
|
66
107
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
67
108
|
}
|
|
68
|
-
declare function export_default$
|
|
109
|
+
declare function export_default$29(props: AsthmaAlertTakeoverTriggerProps): null;
|
|
69
110
|
|
|
70
|
-
type
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
day?: number;
|
|
79
|
-
stateConfiguration: CalendarDayStateConfiguration;
|
|
80
|
-
computeStateForDay: (date: Date) => string;
|
|
81
|
-
onClick?: (date: Date) => void;
|
|
111
|
+
type AsthmaBiometricsPreviewState = 'no data' | 'some data' | 'all data';
|
|
112
|
+
|
|
113
|
+
interface AsthmaBiometricsProps {
|
|
114
|
+
previewState?: 'loading' | AsthmaBiometricsPreviewState;
|
|
115
|
+
heartAndLungsUrl: string;
|
|
116
|
+
activityUrl: string;
|
|
117
|
+
sleepUrl: string;
|
|
118
|
+
date?: Date;
|
|
82
119
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
83
120
|
}
|
|
84
|
-
declare function export_default$
|
|
121
|
+
declare function export_default$28(props: AsthmaBiometricsProps): React.JSX.Element;
|
|
85
122
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
123
|
+
type AsthmaControlCalendarPreviewState = 'no logs' | 'some logs';
|
|
124
|
+
|
|
125
|
+
type AsthmaControlCalendarVariant = 'compact' | 'verbose';
|
|
126
|
+
interface AsthmaControlCalendarProps {
|
|
127
|
+
previewState?: AsthmaControlCalendarPreviewState;
|
|
128
|
+
dayViewUrl: string;
|
|
129
|
+
intervalStart?: Date;
|
|
130
|
+
variant?: AsthmaControlCalendarVariant;
|
|
90
131
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
91
|
-
variant?: "default" | "subtle" | "highlight";
|
|
92
|
-
backgroundColor?: ColorDefinition;
|
|
93
|
-
style?: React.CSSProperties;
|
|
94
132
|
}
|
|
95
|
-
declare function export_default$
|
|
133
|
+
declare function export_default$27(props: AsthmaControlCalendarProps): React.JSX.Element;
|
|
96
134
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
135
|
+
type AsthmaControlStatusHeaderPreviewState = 'no data' | 'abnormal dhr' | 'abnormal nhr' | 'abnormal rr' | 'abnormal activity' | 'abnormal sleep' | 'abnormal dbol' | 'abnormal nbol' | 'abnormal home aqi' | 'abnormal work aqi' | 'abnormal multiple' | 'not determined' | 'not controlled' | 'controlled';
|
|
136
|
+
|
|
137
|
+
interface AsthmaControlStatusHeaderProps {
|
|
138
|
+
previewState?: 'loading' | AsthmaControlStatusHeaderPreviewState;
|
|
139
|
+
participant: AsthmaParticipant;
|
|
101
140
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
102
|
-
color?: ColorDefinition;
|
|
103
141
|
}
|
|
104
|
-
declare function export_default$
|
|
142
|
+
declare function export_default$26(props: AsthmaControlStatusHeaderProps): React.JSX.Element | null;
|
|
105
143
|
|
|
106
|
-
type
|
|
107
|
-
declare function getWeekStart(weekStartsOn?: WeekStartsOn): Date;
|
|
108
|
-
declare function getMonthStart(): Date;
|
|
144
|
+
type AsthmaLogEntryDetailsPreviewState = 'not logged' | 'logged with no symptoms' | 'logged with mild symptoms' | 'logged with moderate symptoms' | 'logged with severe symptoms';
|
|
109
145
|
|
|
110
|
-
interface
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
146
|
+
interface AsthmaLogEntryDetailsProps {
|
|
147
|
+
previewState?: 'loading' | AsthmaLogEntryDetailsPreviewState;
|
|
148
|
+
date: Date;
|
|
149
|
+
logTodayEntrySurveyName: string;
|
|
150
|
+
logYesterdayEntrySurveyName: string;
|
|
151
|
+
editLogEntryUrl: string;
|
|
152
|
+
infoUrl: string;
|
|
116
153
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
117
|
-
sticky?: boolean;
|
|
118
|
-
}
|
|
119
|
-
interface DateRangeContext {
|
|
120
|
-
intervalType: "Week" | "Month";
|
|
121
|
-
intervalStart: Date;
|
|
122
154
|
}
|
|
123
|
-
declare
|
|
124
|
-
declare function DateRangeNavigatorContext(props: DateRangeCoordinatorProps): React.JSX.Element;
|
|
155
|
+
declare function export_default$25(props: AsthmaLogEntryDetailsProps): React.JSX.Element;
|
|
125
156
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
157
|
+
type AsthmaLogEntryHeaderPreviewState = 'no logs' | 'today log only' | 'yesterday log only' | 'both logs';
|
|
158
|
+
|
|
159
|
+
interface AsthmaLogEntryHeaderProps {
|
|
160
|
+
previewState?: 'loading' | AsthmaLogEntryHeaderPreviewState;
|
|
161
|
+
logTodayEntrySurveyName: string;
|
|
162
|
+
logYesterdayEntrySurveyName: string;
|
|
163
|
+
dayViewUrl: string;
|
|
132
164
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
133
|
-
sticky?: boolean;
|
|
134
165
|
}
|
|
135
|
-
declare function export_default$
|
|
166
|
+
declare function export_default$24(props: AsthmaLogEntryHeaderProps): React.JSX.Element | null;
|
|
136
167
|
|
|
137
|
-
interface
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
size?: "small" | "large";
|
|
168
|
+
interface AsthmaPostEnrollmentSurveyTriggerProps {
|
|
169
|
+
previewState?: boolean;
|
|
170
|
+
postEnrollmentSurveyName: string;
|
|
171
|
+
postEnrollmentMobileSurveyName: string;
|
|
142
172
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
143
173
|
}
|
|
144
|
-
declare function export_default$
|
|
174
|
+
declare function export_default$23(props: AsthmaPostEnrollmentSurveyTriggerProps): null;
|
|
145
175
|
|
|
146
|
-
|
|
147
|
-
|
|
176
|
+
declare enum AsthmaDailyDataType {
|
|
177
|
+
Steps = "Asthma.Steps",
|
|
178
|
+
DaytimeRestingHeartRate = "Asthma.DaytimeRestingHeartRate",
|
|
179
|
+
NighttimeRestingHeartRate = "Asthma.NighttimeRestingHeartRate",
|
|
180
|
+
RespiratoryRate = "Asthma.RespiratoryRate",
|
|
181
|
+
DaytimeBloodOxygenLevel = "Asthma.DaytimeBloodOxygenLevel",
|
|
182
|
+
NighttimeBloodOxygenLevel = "Asthma.NighttimeBloodOxygenLevel",
|
|
183
|
+
SleepDisturbances = "Asthma.SleepDisturbances"
|
|
148
184
|
}
|
|
149
|
-
interface
|
|
150
|
-
|
|
151
|
-
|
|
185
|
+
interface AsthmaDataService {
|
|
186
|
+
loadParticipant(): Promise<AsthmaParticipant>;
|
|
187
|
+
loadDeviceInfo(): Promise<DeviceInfo>;
|
|
188
|
+
loadLogEntries(fromDate?: Date, toDate?: Date): Promise<AsthmaLogEntry[]>;
|
|
189
|
+
loadBiometricsForControlStatus(): Promise<AsthmaBiometric[]>;
|
|
190
|
+
loadBiometricsForDate(date: Date): Promise<AsthmaBiometric[]>;
|
|
191
|
+
loadAirQualitiesForControlStatus(homeAirQualityZipCode: string, workAirQualityZipCode: string): Promise<AsthmaAirQuality[]>;
|
|
192
|
+
loadAirQualitiesForDate(date: Date): Promise<AsthmaAirQuality[]>;
|
|
193
|
+
saveLogEntry(logEntry: AsthmaLogEntry): Promise<void>;
|
|
194
|
+
loadAndClearAlertTakeover(): Promise<string | undefined>;
|
|
195
|
+
loadSurveyAnswers(surveyNames: string[]): Promise<SurveyAnswer[]>;
|
|
196
|
+
loadAsthmaActionPlan(): Promise<AsthmaActionPlan | undefined>;
|
|
152
197
|
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
198
|
+
declare const service: AsthmaDataService;
|
|
199
|
+
|
|
200
|
+
type ColorDefinition = string | {
|
|
201
|
+
lightMode?: string;
|
|
202
|
+
darkMode?: string;
|
|
203
|
+
};
|
|
204
|
+
declare function resolveColor(colorScheme: "light" | "dark", colorDefinition?: ColorDefinition): string | undefined;
|
|
205
|
+
|
|
206
|
+
declare const dateToAsthmaLogEntryIdentifier: (date: Date) => string;
|
|
207
|
+
declare const computeAsthmaControlState: (logEntries: AsthmaLogEntry[], date: Date) => AsthmaControlState;
|
|
208
|
+
declare const getAsthmaDataStatusText: (status: AsthmaDataStatus) => string;
|
|
209
|
+
declare const getAsthmaDataStatusColor: (status: AsthmaDataStatus) => ColorDefinition;
|
|
210
|
+
declare const getAsthmaSymptomLevelText: (symptomLevel: AsthmaSymptomLevel) => string;
|
|
211
|
+
declare const getAsthmaSymptomLevel: (symptomLevelText: string) => AsthmaSymptomLevel;
|
|
212
|
+
declare const getAsthmaSymptomTexts: (symptoms: AsthmaSymptom[] | undefined) => string[];
|
|
213
|
+
declare const getAsthmaSymptoms: (symptomTexts: string[]) => AsthmaSymptom[];
|
|
214
|
+
declare const getAsthmaImpactTexts: (impacts: AsthmaImpact[] | undefined) => string[];
|
|
215
|
+
declare const getAsthmaImpacts: (impactTexts: string[]) => AsthmaImpact[];
|
|
216
|
+
declare const getAsthmaTriggerTexts: (triggers: AsthmaTrigger[] | undefined) => string[];
|
|
217
|
+
declare const getAsthmaTriggers: (triggerTexts: string[]) => AsthmaTrigger[];
|
|
218
|
+
declare const isDaytimeRestingHeartRateWithinRange: (baseline: number, rawValue: number) => boolean;
|
|
219
|
+
declare const isNighttimeRestingHeartRateWithinRange: (baseline: number, rawValue: number) => boolean;
|
|
220
|
+
declare const isRespiratoryRateWithinRange: (baseline: number, rawValue: number) => boolean;
|
|
221
|
+
declare const isStepsWithinRange: (baseline: number, rawValue: number) => boolean;
|
|
222
|
+
declare const isSleepDisturbancesWithinRange: (baseline: number, rawValue: number) => boolean;
|
|
223
|
+
declare const isBloodOxygenLevelWithinRange: (baseline: number, rawValue: number) => boolean;
|
|
224
|
+
|
|
225
|
+
interface AsthmaActionPlanViewProps {
|
|
226
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
227
|
+
previewState?: 'loading' | 'loaded without action plan' | 'loaded with action plan';
|
|
228
|
+
learnMoreUrl: string;
|
|
229
|
+
editActionPlanSurveyName: string;
|
|
157
230
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
231
|
+
declare function export_default$22(props: AsthmaActionPlanViewProps): React.JSX.Element;
|
|
232
|
+
|
|
233
|
+
interface AsthmaActivityViewProps {
|
|
234
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
235
|
+
previewState?: 'default';
|
|
236
|
+
alert?: 'Steps';
|
|
237
|
+
logEntrySurveyName: string;
|
|
162
238
|
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
239
|
+
declare function export_default$21(props: AsthmaActivityViewProps): React.JSX.Element;
|
|
240
|
+
|
|
241
|
+
interface AsthmaAirQualityViewProps {
|
|
242
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
243
|
+
previewState?: 'default';
|
|
244
|
+
alert?: 'HomeAirQuality' | 'WorkAirQuality';
|
|
245
|
+
logEntrySurveyName: string;
|
|
166
246
|
}
|
|
167
|
-
declare
|
|
168
|
-
|
|
169
|
-
|
|
247
|
+
declare function export_default$20(props: AsthmaAirQualityViewProps): React.JSX.Element;
|
|
248
|
+
|
|
249
|
+
interface AsthmaAlertTakeoverViewProps {
|
|
250
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
251
|
+
previewState?: 'default';
|
|
252
|
+
logEntrySurveyName: string;
|
|
170
253
|
}
|
|
171
|
-
declare function export_default$
|
|
254
|
+
declare function export_default$1$(props: AsthmaAlertTakeoverViewProps): React.JSX.Element;
|
|
172
255
|
|
|
173
|
-
interface
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
256
|
+
interface AsthmaDayViewProps {
|
|
257
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
258
|
+
previewState?: 'default';
|
|
259
|
+
date: Date;
|
|
260
|
+
logTodayEntrySurveyName: string;
|
|
261
|
+
logYesterdayEntrySurveyName: string;
|
|
262
|
+
editLogEntryUrl: string;
|
|
263
|
+
logEntryInfoUrl: string;
|
|
264
|
+
heartAndLungsUrl: string;
|
|
265
|
+
activityUrl: string;
|
|
266
|
+
sleepUrl: string;
|
|
267
|
+
airQualityUrl: string;
|
|
268
|
+
}
|
|
269
|
+
declare function export_default$1_(props: AsthmaDayViewProps): React.JSX.Element;
|
|
270
|
+
|
|
271
|
+
interface AsthmaHeartAndLungsViewProps {
|
|
272
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
273
|
+
previewState?: 'default';
|
|
274
|
+
alert?: 'DaytimeRestingHeartRate' | 'NighttimeRestingHeartRate' | 'RespiratoryRate' | 'DaytimeBloodOxygenLevel' | 'NighttimeBloodOxygenLevel';
|
|
275
|
+
logEntrySurveyName: string;
|
|
179
276
|
}
|
|
180
|
-
declare function export_default$
|
|
277
|
+
declare function export_default$1Z(props: AsthmaHeartAndLungsViewProps): React.JSX.Element;
|
|
181
278
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
}[];
|
|
189
|
-
className?: string;
|
|
190
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
279
|
+
type AsthmaLogEntryEditorViewPreviewState = 'no symptoms' | 'mild symptoms' | 'moderate symptoms' | 'severe symptoms';
|
|
280
|
+
|
|
281
|
+
interface AsthmaLogEntryEditorViewProps {
|
|
282
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
283
|
+
previewState?: 'loading' | AsthmaLogEntryEditorViewPreviewState;
|
|
284
|
+
date: Date;
|
|
191
285
|
}
|
|
192
|
-
declare function export_default$
|
|
286
|
+
declare function export_default$1Y(props: AsthmaLogEntryEditorViewProps): React.JSX.Element | null;
|
|
193
287
|
|
|
194
|
-
interface
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
className?: string;
|
|
200
|
-
noGlobalStyles?: boolean;
|
|
201
|
-
colorScheme?: "light" | "dark" | "auto";
|
|
202
|
-
/**
|
|
203
|
-
* @deprecated
|
|
204
|
-
*/
|
|
205
|
-
stylesheetPath?: string;
|
|
206
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
288
|
+
interface AsthmaSleepViewProps {
|
|
289
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
290
|
+
previewState?: 'default';
|
|
291
|
+
alert?: 'SleepDisturbances';
|
|
292
|
+
logEntrySurveyName: string;
|
|
207
293
|
}
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
294
|
+
declare function export_default$1X(props: AsthmaSleepViewProps): React.JSX.Element;
|
|
295
|
+
|
|
296
|
+
interface TermInformation {
|
|
297
|
+
TermFamily: string;
|
|
298
|
+
TermNamespace: string;
|
|
299
|
+
TermCode: string;
|
|
211
300
|
}
|
|
212
|
-
declare const LayoutContext: React.Context<LayoutContext>;
|
|
213
|
-
declare function export_default$1F(props: LayoutProps): React.JSX.Element;
|
|
214
301
|
|
|
215
|
-
interface
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
className?: string;
|
|
302
|
+
interface AllergiesListProps {
|
|
303
|
+
previewState?: "default";
|
|
304
|
+
onViewTermInfo(termInfo: TermInformation): void;
|
|
219
305
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
220
306
|
}
|
|
221
|
-
declare function
|
|
307
|
+
declare function export_default$1W(props: AllergiesListProps): React.JSX.Element;
|
|
222
308
|
|
|
223
|
-
interface
|
|
309
|
+
interface AppDownloadProps {
|
|
310
|
+
previewProjectPlatforms?: string[];
|
|
311
|
+
previewDevicePlatform?: string;
|
|
312
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
224
313
|
title?: string;
|
|
225
|
-
|
|
226
|
-
showBackButton?: boolean;
|
|
227
|
-
showCloseButton?: boolean;
|
|
228
|
-
children?: React.ReactNode;
|
|
229
|
-
closeButtonText?: string;
|
|
230
|
-
backButtonText?: string;
|
|
231
|
-
className?: string;
|
|
232
|
-
variant?: 'default' | 'compressed';
|
|
233
|
-
titleColor?: ColorDefinition;
|
|
234
|
-
subtitleColor?: ColorDefinition;
|
|
235
|
-
buttonColor?: ColorDefinition;
|
|
236
|
-
navigationBarLeft?: React.ReactNode;
|
|
237
|
-
navigationBarRight?: React.ReactNode;
|
|
314
|
+
text?: string;
|
|
238
315
|
}
|
|
239
|
-
declare function export_default$
|
|
316
|
+
declare function export_default$1V(props: AppDownloadProps): React.JSX.Element | null;
|
|
240
317
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
318
|
+
type WeekStartsOn = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "6DaysAgo" | "7DaysAgo";
|
|
319
|
+
declare function getWeekStart(weekStartsOn?: WeekStartsOn): Date;
|
|
320
|
+
declare function getMonthStart(): Date;
|
|
321
|
+
|
|
322
|
+
interface SurveyBloodPressureDataParameters {
|
|
323
|
+
surveyName: string;
|
|
324
|
+
dateResultIdentifier: string;
|
|
325
|
+
systolicResultIdentifier: string;
|
|
326
|
+
diastolicResultIdentifier: string;
|
|
327
|
+
}
|
|
328
|
+
interface BloodPressureDataPoint {
|
|
329
|
+
date: Date;
|
|
330
|
+
systolic: number;
|
|
331
|
+
diastolic: number;
|
|
246
332
|
}
|
|
247
|
-
declare function export_default$
|
|
333
|
+
declare function export_default$1U(props: SurveyBloodPressureDataParameters): Promise<BloodPressureDataPoint[]>;
|
|
248
334
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
steps?: {
|
|
255
|
-
percent: number;
|
|
256
|
-
icon: ReactElement;
|
|
257
|
-
}[];
|
|
335
|
+
type BloodPressurePreviewState = "Default" | "NoData" | "Loading";
|
|
336
|
+
interface BloodPressureVisualizationProps {
|
|
337
|
+
previewState?: BloodPressurePreviewState;
|
|
338
|
+
surveyDataSource: SurveyBloodPressureDataParameters;
|
|
339
|
+
weekStartsOn?: WeekStartsOn;
|
|
258
340
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
259
|
-
defaultMargin?: boolean;
|
|
260
341
|
}
|
|
261
|
-
declare function
|
|
262
|
-
declare namespace ProgressBar {
|
|
263
|
-
var defaultProps: {
|
|
264
|
-
backgroundColor: string;
|
|
265
|
-
fillColor: string;
|
|
266
|
-
fillPercent: number;
|
|
267
|
-
};
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
interface ProgressBarStepProps {
|
|
271
|
-
borderColor?: ColorDefinition;
|
|
272
|
-
backgroundColor?: ColorDefinition;
|
|
273
|
-
children?: React.ReactNode;
|
|
274
|
-
height: string;
|
|
275
|
-
}
|
|
276
|
-
declare function ProgressBarStep(props: ProgressBarStepProps): React.JSX.Element;
|
|
277
|
-
|
|
278
|
-
interface ProgressRingProps {
|
|
279
|
-
children: React.ReactNode;
|
|
280
|
-
style?: CSSProperties;
|
|
281
|
-
color?: ColorDefinition;
|
|
282
|
-
percentCompleted?: number;
|
|
283
|
-
animate?: boolean;
|
|
284
|
-
}
|
|
285
|
-
declare function export_default$1C(props: ProgressRingProps): React.JSX.Element;
|
|
286
|
-
|
|
287
|
-
interface SectionProps {
|
|
288
|
-
children?: React.ReactNode;
|
|
289
|
-
className?: string;
|
|
290
|
-
noTopMargin?: boolean;
|
|
291
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
292
|
-
backgroundColor?: ColorDefinition;
|
|
293
|
-
style?: React.CSSProperties;
|
|
294
|
-
}
|
|
295
|
-
declare function export_default$1B(props: SectionProps): React.JSX.Element | null;
|
|
296
|
-
|
|
297
|
-
interface SegmentedControlProps {
|
|
298
|
-
segments: {
|
|
299
|
-
key: string;
|
|
300
|
-
title: string;
|
|
301
|
-
}[];
|
|
302
|
-
selectedSegment?: string;
|
|
303
|
-
onSegmentSelected(segmentKey: string): void;
|
|
304
|
-
className?: string;
|
|
305
|
-
color?: string;
|
|
306
|
-
variant?: "default" | "optionsHorizontal" | "optionsVertical";
|
|
307
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
308
|
-
}
|
|
309
|
-
declare function export_default$1A(props: SegmentedControlProps): React.JSX.Element;
|
|
310
|
-
|
|
311
|
-
declare function export_default$1z(): React.JSX.Element;
|
|
312
|
-
|
|
313
|
-
interface SingleExternalAccountProps {
|
|
314
|
-
externalAccount: ExternalAccount;
|
|
315
|
-
onAccountRemoved: (account: ExternalAccount) => void;
|
|
316
|
-
onReconnectAccount: (account: ExternalAccount) => void;
|
|
317
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
318
|
-
}
|
|
319
|
-
declare function export_default$1y(props: SingleExternalAccountProps): React.JSX.Element;
|
|
320
|
-
|
|
321
|
-
interface SingleNotificationProps {
|
|
322
|
-
notification: Notification;
|
|
323
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
324
|
-
}
|
|
325
|
-
declare function export_default$1x(props: SingleNotificationProps): React.JSX.Element;
|
|
326
|
-
|
|
327
|
-
type SingleSurveyTaskVariant = 'default' | 'expanded';
|
|
328
|
-
interface SingleSurveyTaskProps {
|
|
329
|
-
task: SurveyTask;
|
|
330
|
-
onClick: () => void;
|
|
331
|
-
variant?: SingleSurveyTaskVariant;
|
|
332
|
-
descriptionIcon?: IconDefinition$1;
|
|
333
|
-
surveyActive?: boolean;
|
|
334
|
-
buttonColor?: ColorDefinition;
|
|
335
|
-
buttonVariant?: ButtonVariant;
|
|
336
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
337
|
-
}
|
|
338
|
-
declare function export_default$1w(props: SingleSurveyTaskProps): React.JSX.Element | null;
|
|
339
|
-
|
|
340
|
-
interface SparkBarChartProps {
|
|
341
|
-
averageFillPercent: number;
|
|
342
|
-
bars: SparkBarChartBar[];
|
|
343
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
344
|
-
}
|
|
345
|
-
interface SparkBarChartBar {
|
|
346
|
-
color: string;
|
|
347
|
-
barFillPercent: number;
|
|
348
|
-
}
|
|
349
|
-
declare function export_default$1v(props: SparkBarChartProps): React.JSX.Element;
|
|
350
|
-
|
|
351
|
-
interface SwitchProps {
|
|
352
|
-
isOn: Boolean;
|
|
353
|
-
onBackgroundColor?: string;
|
|
354
|
-
onValueChanged(value: boolean): void;
|
|
355
|
-
className?: string;
|
|
356
|
-
innerRef?: React.Ref<HTMLButtonElement>;
|
|
357
|
-
}
|
|
358
|
-
declare function export_default$1u(props: SwitchProps): React.JSX.Element;
|
|
359
|
-
|
|
360
|
-
interface StatusBarBackgroundProps {
|
|
361
|
-
color?: string;
|
|
362
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
363
|
-
}
|
|
364
|
-
declare function StatusBarBackgroundProps(props: StatusBarBackgroundProps): React.JSX.Element;
|
|
365
|
-
|
|
366
|
-
interface TextBlockProps {
|
|
367
|
-
children?: React.ReactNode;
|
|
368
|
-
className?: string;
|
|
369
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
370
|
-
color?: ColorDefinition;
|
|
371
|
-
style?: React.CSSProperties;
|
|
372
|
-
}
|
|
373
|
-
declare function export_default$1t(props: TextBlockProps): React.JSX.Element | null;
|
|
374
|
-
|
|
375
|
-
interface TitleProps {
|
|
376
|
-
color?: ColorDefinition;
|
|
377
|
-
order?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
378
|
-
children?: React.ReactNode;
|
|
379
|
-
style?: React.CSSProperties;
|
|
380
|
-
className?: string;
|
|
381
|
-
image?: ReactNode;
|
|
382
|
-
autosizeImage?: boolean;
|
|
383
|
-
imageAlignment?: "top" | "left";
|
|
384
|
-
defaultMargin?: boolean;
|
|
385
|
-
}
|
|
386
|
-
declare function export_default$1s(props: TitleProps): React.JSX.Element;
|
|
387
|
-
|
|
388
|
-
interface TrackerItemProps {
|
|
389
|
-
selected: boolean;
|
|
390
|
-
text?: string;
|
|
391
|
-
color: string;
|
|
392
|
-
bordered?: boolean;
|
|
393
|
-
badge?: string;
|
|
394
|
-
onClick?: Function;
|
|
395
|
-
className?: string;
|
|
396
|
-
noBoxShadow?: boolean;
|
|
397
|
-
}
|
|
398
|
-
declare function export_default$1r(props: TrackerItemProps): React.JSX.Element;
|
|
399
|
-
|
|
400
|
-
interface UnstyledButtonProps {
|
|
401
|
-
onClick: MouseEventHandler;
|
|
402
|
-
className?: string;
|
|
403
|
-
children?: React.ReactNode;
|
|
404
|
-
title?: string;
|
|
405
|
-
style?: React.CSSProperties;
|
|
406
|
-
disabled?: boolean;
|
|
407
|
-
innerRef?: React.Ref<HTMLButtonElement>;
|
|
408
|
-
}
|
|
409
|
-
declare function export_default$1q(props: UnstyledButtonProps): React.JSX.Element;
|
|
410
|
-
|
|
411
|
-
interface ValueSelectorProps {
|
|
412
|
-
title?: string;
|
|
413
|
-
titleColor?: ColorDefinition;
|
|
414
|
-
subtitle?: string;
|
|
415
|
-
subtitleColor?: ColorDefinition;
|
|
416
|
-
values: string[];
|
|
417
|
-
valueBackgroundColor?: ColorDefinition;
|
|
418
|
-
valueTextColor?: ColorDefinition;
|
|
419
|
-
checkboxColor?: ColorDefinition;
|
|
420
|
-
selectedValues?: string[];
|
|
421
|
-
selectedButtonBackgroundColor?: ColorDefinition;
|
|
422
|
-
selectedButtonTextColor?: ColorDefinition;
|
|
423
|
-
selectedCheckboxColor?: ColorDefinition;
|
|
424
|
-
onChange?: (selectedValues: string[]) => void;
|
|
425
|
-
variant?: 'default' | 'checkboxes';
|
|
426
|
-
multiSelect?: boolean;
|
|
427
|
-
preventEmptySelections?: boolean;
|
|
428
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
429
|
-
}
|
|
430
|
-
declare function export_default$1p(props: ValueSelectorProps): React.JSX.Element;
|
|
431
|
-
|
|
432
|
-
interface ViewHeaderProps {
|
|
433
|
-
title?: string;
|
|
434
|
-
subtitle?: string;
|
|
435
|
-
titleColor?: ColorDefinition;
|
|
436
|
-
subtitleColor?: ColorDefinition;
|
|
437
|
-
action?: React.ReactNode;
|
|
438
|
-
}
|
|
439
|
-
declare function export_default$1o(props: ViewHeaderProps): React.JSX.Element | null;
|
|
440
|
-
|
|
441
|
-
interface WeekCalendarProps {
|
|
442
|
-
selectedDate?: Date;
|
|
443
|
-
hideDateLabel?: boolean;
|
|
444
|
-
startDate: Date;
|
|
445
|
-
onDateSelected?(date: Date): void;
|
|
446
|
-
loading: boolean;
|
|
447
|
-
onStartDateChange?(startDate: Date): void;
|
|
448
|
-
dayRenderer(year: number, month: number, day: number, selectedWeek: boolean): JSX.Element | null;
|
|
449
|
-
}
|
|
450
|
-
declare function export_default$1n(props: WeekCalendarProps): React.JSX.Element;
|
|
451
|
-
|
|
452
|
-
interface InboxCompletedListItemProps {
|
|
453
|
-
name: string;
|
|
454
|
-
status: string;
|
|
455
|
-
onClick?: () => void;
|
|
456
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
457
|
-
}
|
|
458
|
-
declare function export_default$1m(props: InboxCompletedListItemProps): React.JSX.Element;
|
|
459
|
-
|
|
460
|
-
interface InboxMessageListItemProps {
|
|
461
|
-
message: InboxMessage;
|
|
462
|
-
onClick: () => void;
|
|
463
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
464
|
-
}
|
|
465
|
-
declare function export_default$1l(props: InboxMessageListItemProps): React.JSX.Element | null;
|
|
466
|
-
|
|
467
|
-
interface InboxResourceDisplayProps {
|
|
468
|
-
resource: InboxResource | InboxMessageResource;
|
|
469
|
-
onClick: () => void;
|
|
470
|
-
imageAlignment?: 'left' | 'center' | 'right';
|
|
471
|
-
buttonText?: string;
|
|
472
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
473
|
-
}
|
|
474
|
-
declare function export_default$1k(props: InboxResourceDisplayProps): React.JSX.Element;
|
|
475
|
-
|
|
476
|
-
type InboxResourceImageAlignment = 'left' | 'center' | 'right';
|
|
477
|
-
interface InboxResourceListItemProps {
|
|
478
|
-
resource: InboxResource;
|
|
479
|
-
onClick: () => void;
|
|
480
|
-
imageAlignment?: InboxResourceImageAlignment;
|
|
481
|
-
buttonText?: string;
|
|
482
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
483
|
-
}
|
|
484
|
-
declare function export_default$1j(props: InboxResourceListItemProps): React.JSX.Element | null;
|
|
485
|
-
|
|
486
|
-
type InboxSurveyVariant = 'default' | 'expanded';
|
|
487
|
-
interface InboxSurveyListItemProps {
|
|
488
|
-
survey: InboxSurvey;
|
|
489
|
-
onClick: () => void;
|
|
490
|
-
variant?: InboxSurveyVariant;
|
|
491
|
-
surveyActive?: boolean;
|
|
492
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
493
|
-
}
|
|
494
|
-
declare function export_default$1i(props: InboxSurveyListItemProps): React.JSX.Element | null;
|
|
495
|
-
|
|
496
|
-
interface TermInformation {
|
|
497
|
-
TermFamily: string;
|
|
498
|
-
TermNamespace: string;
|
|
499
|
-
TermCode: string;
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
interface AllergiesListProps {
|
|
503
|
-
previewState?: "default";
|
|
504
|
-
onViewTermInfo(termInfo: TermInformation): void;
|
|
505
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
506
|
-
}
|
|
507
|
-
declare function export_default$1h(props: AllergiesListProps): React.JSX.Element;
|
|
508
|
-
|
|
509
|
-
interface AppDownloadProps {
|
|
510
|
-
previewProjectPlatforms?: string[];
|
|
511
|
-
previewDevicePlatform?: string;
|
|
512
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
513
|
-
title?: string;
|
|
514
|
-
text?: string;
|
|
515
|
-
}
|
|
516
|
-
declare function export_default$1g(props: AppDownloadProps): React.JSX.Element | null;
|
|
517
|
-
|
|
518
|
-
interface SurveyBloodPressureDataParameters {
|
|
519
|
-
surveyName: string;
|
|
520
|
-
dateResultIdentifier: string;
|
|
521
|
-
systolicResultIdentifier: string;
|
|
522
|
-
diastolicResultIdentifier: string;
|
|
523
|
-
}
|
|
524
|
-
interface BloodPressureDataPoint {
|
|
525
|
-
date: Date;
|
|
526
|
-
systolic: number;
|
|
527
|
-
diastolic: number;
|
|
528
|
-
}
|
|
529
|
-
declare function export_default$1f(props: SurveyBloodPressureDataParameters): Promise<BloodPressureDataPoint[]>;
|
|
530
|
-
|
|
531
|
-
type BloodPressurePreviewState = "Default" | "NoData" | "Loading";
|
|
532
|
-
interface BloodPressureVisualizationProps {
|
|
533
|
-
previewState?: BloodPressurePreviewState;
|
|
534
|
-
surveyDataSource: SurveyBloodPressureDataParameters;
|
|
535
|
-
weekStartsOn?: WeekStartsOn;
|
|
536
|
-
}
|
|
537
|
-
declare function export_default$1e(props: BloodPressureVisualizationProps): React.JSX.Element;
|
|
342
|
+
declare function export_default$1T(props: BloodPressureVisualizationProps): React.JSX.Element;
|
|
538
343
|
|
|
539
344
|
interface ConditionsListProps {
|
|
540
345
|
previewState?: "default";
|
|
541
346
|
onViewTermInfo(termInfo: TermInformation): void;
|
|
542
347
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
543
348
|
}
|
|
544
|
-
declare function export_default$
|
|
349
|
+
declare function export_default$1S(props: ConditionsListProps): React.JSX.Element;
|
|
545
350
|
|
|
546
351
|
type DeviceAccountType = "Fitbit" | "Garmin" | "AppleHealth" | "GoogleFit" | "Omron";
|
|
547
352
|
interface ConnectDevicesMenuProps {
|
|
@@ -552,7 +357,7 @@ interface ConnectDevicesMenuProps {
|
|
|
552
357
|
previewState?: "iOS" | "Android" | "Web" | "ConnectedStates";
|
|
553
358
|
headerVariant?: "large" | "medium";
|
|
554
359
|
}
|
|
555
|
-
declare function export_default$
|
|
360
|
+
declare function export_default$1R(props: ConnectDevicesMenuProps): React.JSX.Element | null;
|
|
556
361
|
|
|
557
362
|
interface ConnectEhrProps {
|
|
558
363
|
applicationUrl: ConnectEhrApplicationUrl;
|
|
@@ -569,7 +374,7 @@ interface ConnectEhrProps {
|
|
|
569
374
|
}
|
|
570
375
|
type ConnectEhrApplicationUrl = "preview" | string;
|
|
571
376
|
type ConnectEhrPreviewState = "notEnabled" | "enabled" | "enabledConnected" | "enabledNeedsAttention";
|
|
572
|
-
declare function export_default$
|
|
377
|
+
declare function export_default$1Q(props: ConnectEhrProps): React.JSX.Element | null;
|
|
573
378
|
|
|
574
379
|
interface ConnectFitbitProps {
|
|
575
380
|
title?: string;
|
|
@@ -580,7 +385,7 @@ interface ConnectFitbitProps {
|
|
|
580
385
|
hideWhenConnected?: boolean;
|
|
581
386
|
}
|
|
582
387
|
type ConnectFitbitPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
583
|
-
declare function export_default$
|
|
388
|
+
declare function export_default$1P(props: ConnectFitbitProps): React.JSX.Element;
|
|
584
389
|
|
|
585
390
|
interface ConnectGarminProps {
|
|
586
391
|
title?: string;
|
|
@@ -591,7 +396,7 @@ interface ConnectGarminProps {
|
|
|
591
396
|
hideWhenConnected?: boolean;
|
|
592
397
|
}
|
|
593
398
|
type ConnectGarminPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
594
|
-
declare function export_default$
|
|
399
|
+
declare function export_default$1O(props: ConnectGarminProps): React.JSX.Element;
|
|
595
400
|
|
|
596
401
|
type DailyDataQueryResult = {
|
|
597
402
|
[key: string]: number;
|
|
@@ -601,6 +406,7 @@ type DailyDataAvailabilityCheck = (modifiedAfter?: Date) => Promise<boolean>;
|
|
|
601
406
|
declare function registerDailyDataProvider(type: string, provider: DailyDataProvider, availabilityCheck: DailyDataAvailabilityCheck): void;
|
|
602
407
|
declare function checkDailyDataAvailability(type: string, modifiedAfter?: Date): Promise<boolean>;
|
|
603
408
|
declare function queryDailyData(type: string, startDate: Date, endDate: Date): Promise<DailyDataQueryResult>;
|
|
409
|
+
declare function simpleAvailabilityCheck(namespace: DeviceDataNamespace, type: string | string[]): (modifiedAfter?: Date) => Promise<boolean>;
|
|
604
410
|
declare enum DailyDataType {
|
|
605
411
|
AppleHealthDistanceWalkingRunning = "AppleHealthDistanceWalkingRunning",
|
|
606
412
|
AppleHealthFlightsClimbed = "AppleHealthFlightsClimbed",
|
|
@@ -659,250 +465,789 @@ declare enum DailyDataType {
|
|
|
659
465
|
GarminSleepScore = "GarminSleepScore",
|
|
660
466
|
GoogleFitSteps = "GoogleFitSteps",
|
|
661
467
|
Steps = "Steps",
|
|
662
|
-
RestingHeartRate = "RestingHeartRate"
|
|
468
|
+
RestingHeartRate = "RestingHeartRate",
|
|
469
|
+
HomeAirQuality = "HomeAirQuality",
|
|
470
|
+
WorkAirQuality = "WorkAirQuality"
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
interface DailyDataChartProps {
|
|
474
|
+
title?: string;
|
|
475
|
+
intervalType?: "Week" | "Month";
|
|
476
|
+
weekStartsOn?: WeekStartsOn;
|
|
477
|
+
dailyDataType: string;
|
|
478
|
+
valueConverter?(value: number): number;
|
|
479
|
+
valueFormatter?(value: number): string;
|
|
480
|
+
chartType: "Line" | "Bar" | "Area";
|
|
481
|
+
options?: LineChartOptions | BarChartOptions | AreaChartOptions;
|
|
482
|
+
hideIfNoData?: boolean;
|
|
483
|
+
previewDataProvider?: DailyDataProvider;
|
|
484
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
485
|
+
}
|
|
486
|
+
interface LineChartOptions {
|
|
487
|
+
lineColor?: string;
|
|
488
|
+
domainMin?: number | "Auto";
|
|
489
|
+
}
|
|
490
|
+
interface BarChartOptions {
|
|
491
|
+
barColor?: string;
|
|
492
|
+
}
|
|
493
|
+
interface AreaChartOptions {
|
|
494
|
+
lineColor?: string;
|
|
495
|
+
areaColor?: string;
|
|
496
|
+
}
|
|
497
|
+
declare function DailyDataChart(props: DailyDataChartProps): React.JSX.Element | null;
|
|
498
|
+
|
|
499
|
+
interface DeviceDataMonthChartProps {
|
|
500
|
+
lines: DeviceDataChartLine[];
|
|
501
|
+
month: number;
|
|
502
|
+
year: number;
|
|
503
|
+
syncId?: string;
|
|
504
|
+
title?: string;
|
|
505
|
+
previewState?: DeviceDataMonthChartPreviewState;
|
|
506
|
+
onDataDetected?: Function;
|
|
507
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
508
|
+
}
|
|
509
|
+
interface DeviceDataChartLine {
|
|
510
|
+
label: string;
|
|
511
|
+
dailyDataType: string;
|
|
512
|
+
valueConverter?: Function;
|
|
513
|
+
showAverage?: boolean;
|
|
514
|
+
}
|
|
515
|
+
type DeviceDataMonthChartPreviewState = "WithData" | "NoData" | "Loading";
|
|
516
|
+
declare function export_default$1N(props: DeviceDataMonthChartProps): React.JSX.Element | null;
|
|
517
|
+
|
|
518
|
+
interface DeviceDataMonthChartsProps {
|
|
519
|
+
previewState?: DeviceDataMonthChartsPreviewState;
|
|
520
|
+
}
|
|
521
|
+
type DeviceDataMonthChartsPreviewState = "Default" | "NoData";
|
|
522
|
+
declare function export_default$1M(props: DeviceDataMonthChartsProps): React.JSX.Element;
|
|
523
|
+
|
|
524
|
+
interface ExternalAccountListProps {
|
|
525
|
+
externalAccountProviderCategories?: string[];
|
|
526
|
+
previewState?: NotificationListPreviewState$1;
|
|
527
|
+
onExternalAccountsLoaded?: (accounts: ExternalAccount[]) => void;
|
|
528
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
529
|
+
}
|
|
530
|
+
type NotificationListPreviewState$1 = "Default";
|
|
531
|
+
declare function export_default$1L(props: ExternalAccountListProps): React.JSX.Element;
|
|
532
|
+
|
|
533
|
+
interface ExternalAccountsLoadingIndicatorProps {
|
|
534
|
+
previewState?: "externalAccountsFetchingData" | "externalAccountsLoaded";
|
|
535
|
+
externalAccountCategories?: string[];
|
|
536
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
537
|
+
}
|
|
538
|
+
declare function export_default$1K(props: ExternalAccountsLoadingIndicatorProps): React.JSX.Element | null;
|
|
539
|
+
|
|
540
|
+
interface ExternalAccountsPreviewProps {
|
|
541
|
+
excludeProviders?: boolean;
|
|
542
|
+
excludeHealthPlans?: boolean;
|
|
543
|
+
excludeDeviceManufacturers?: boolean;
|
|
544
|
+
applicationUrl: ExternalAccountsApplicationUrl;
|
|
545
|
+
previewState?: ExternalAccountsPreviewPreviewState;
|
|
546
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
547
|
+
}
|
|
548
|
+
type ExternalAccountsApplicationUrl = "preview" | string;
|
|
549
|
+
type ExternalAccountsPreviewPreviewState = "Default";
|
|
550
|
+
declare function export_default$1J(props: ExternalAccountsPreviewProps): React.JSX.Element | null;
|
|
551
|
+
|
|
552
|
+
type ConnectedDevicesPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
553
|
+
|
|
554
|
+
interface FitbitDevicesProps {
|
|
555
|
+
previewState?: ConnectedDevicesPreviewState;
|
|
556
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
557
|
+
}
|
|
558
|
+
declare function export_default$1I(props: FitbitDevicesProps): React.JSX.Element;
|
|
559
|
+
|
|
560
|
+
type MonthChartsPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
561
|
+
|
|
562
|
+
interface FitbitMonthChartsProps {
|
|
563
|
+
previewState?: MonthChartsPreviewState;
|
|
564
|
+
}
|
|
565
|
+
declare function export_default$1H(props: FitbitMonthChartsProps): React.JSX.Element;
|
|
566
|
+
|
|
567
|
+
interface GarminDevicesProps {
|
|
568
|
+
previewState?: ConnectedDevicesPreviewState;
|
|
569
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
570
|
+
}
|
|
571
|
+
declare function export_default$1G(props: GarminDevicesProps): React.JSX.Element;
|
|
572
|
+
|
|
573
|
+
interface GarminMonthChartsProps {
|
|
574
|
+
previewState?: MonthChartsPreviewState;
|
|
575
|
+
}
|
|
576
|
+
declare function export_default$1F(props: GarminMonthChartsProps): React.JSX.Element;
|
|
577
|
+
|
|
578
|
+
type HealthPreviewSectionConcept = "Medications" | "Immunizations" | "Reports" | "Allergies" | "Conditions" | "Procedures";
|
|
579
|
+
interface HealthPreviewSectionProps {
|
|
580
|
+
concept: HealthPreviewSectionConcept;
|
|
581
|
+
onClick(): void;
|
|
582
|
+
previewState?: "NoData" | "Default";
|
|
583
|
+
indicatorPosition?: "default" | "topRight";
|
|
584
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
585
|
+
}
|
|
586
|
+
declare function export_default$1E(props: HealthPreviewSectionProps): React.JSX.Element | null;
|
|
587
|
+
|
|
588
|
+
interface LabResultsSummaryProps {
|
|
589
|
+
previewState?: "ImportantLabs" | "RecentLabs" | "NoData";
|
|
590
|
+
onClick(): void;
|
|
591
|
+
onViewTermInfo(termInfo: TermInformation): void;
|
|
592
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
593
|
+
}
|
|
594
|
+
declare function export_default$1D(props: LabResultsSummaryProps): React.JSX.Element | null;
|
|
595
|
+
|
|
596
|
+
interface MedicationsListProps {
|
|
597
|
+
previewState?: "default";
|
|
598
|
+
onViewTermInfo(termInfo: TermInformation): void;
|
|
599
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
600
|
+
}
|
|
601
|
+
declare function export_default$1C(props: MedicationsListProps): React.JSX.Element;
|
|
602
|
+
|
|
603
|
+
interface MostRecentNotificationProps {
|
|
604
|
+
notificationType?: NotificationType;
|
|
605
|
+
onViewMore?: Function;
|
|
606
|
+
hideAfterHours?: number;
|
|
607
|
+
previewState?: MostRecentNotificationPreviewState;
|
|
608
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
609
|
+
}
|
|
610
|
+
type MostRecentNotificationPreviewState = "Default";
|
|
611
|
+
declare function export_default$1B(props: MostRecentNotificationProps): React.JSX.Element | null;
|
|
612
|
+
|
|
613
|
+
interface NotificationListProps {
|
|
614
|
+
notificationType?: NotificationType;
|
|
615
|
+
previewState?: NotificationListPreviewState;
|
|
616
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
617
|
+
}
|
|
618
|
+
type NotificationListPreviewState = "Default" | "NoData";
|
|
619
|
+
declare function export_default$1A(props: NotificationListProps): React.JSX.Element;
|
|
620
|
+
|
|
621
|
+
interface PlatformSpecificContentProps {
|
|
622
|
+
platforms: string[];
|
|
623
|
+
children?: React.ReactNode;
|
|
624
|
+
previewDevicePlatform?: string;
|
|
625
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
626
|
+
}
|
|
627
|
+
declare function export_default$1z(props: PlatformSpecificContentProps): React.JSX.Element | null;
|
|
628
|
+
|
|
629
|
+
interface ProjectHeaderProps {
|
|
630
|
+
previewState?: ProjectHeaderPropsPreviewState;
|
|
631
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
632
|
+
}
|
|
633
|
+
type ProjectHeaderPropsPreviewState = "Default";
|
|
634
|
+
declare function export_default$1y(props: ProjectHeaderProps): React.JSX.Element;
|
|
635
|
+
|
|
636
|
+
interface ProjectSupportProps {
|
|
637
|
+
previewState?: ProjectSupportPropsPreviewState;
|
|
638
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
639
|
+
}
|
|
640
|
+
type ProjectSupportPropsPreviewState = "Default";
|
|
641
|
+
declare function export_default$1x(props: ProjectSupportProps): React.JSX.Element | null;
|
|
642
|
+
|
|
643
|
+
interface ProviderSearchProps {
|
|
644
|
+
previewState?: ProviderSearchPreviewState;
|
|
645
|
+
providerCategories?: string[];
|
|
646
|
+
onProviderConnected?: (provider: ExternalAccountProvider) => void;
|
|
647
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
648
|
+
}
|
|
649
|
+
type ProviderSearchPreviewState = "Default";
|
|
650
|
+
declare function export_default$1w(props: ProviderSearchProps): React.JSX.Element;
|
|
651
|
+
|
|
652
|
+
interface RecentDailyDataBarChartProps {
|
|
653
|
+
previewState?: 'loading' | 'loaded without data' | 'loaded with data';
|
|
654
|
+
previewDataProvider?: (start: Date, end: Date) => Promise<DailyDataQueryResult>;
|
|
655
|
+
title: string;
|
|
656
|
+
dailyDataType: string;
|
|
657
|
+
domain?: AxisDomain;
|
|
658
|
+
emptyDomain?: AxisDomain;
|
|
659
|
+
valueConverter?: (rawValue: number) => number;
|
|
660
|
+
valueFormatter?: (value: number) => string;
|
|
661
|
+
highlight?: (rawValue: number) => boolean;
|
|
662
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
663
|
+
}
|
|
664
|
+
declare function export_default$1v(props: RecentDailyDataBarChartProps): React.JSX.Element;
|
|
665
|
+
|
|
666
|
+
interface RelativeActivityTodayProps {
|
|
667
|
+
dataTypes: RelativeActivityDataType[];
|
|
668
|
+
previewState?: "Default";
|
|
669
|
+
title?: string;
|
|
670
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
671
|
+
}
|
|
672
|
+
interface RelativeActivityDataType {
|
|
673
|
+
dailyDataType: string;
|
|
674
|
+
label: string;
|
|
675
|
+
icon: React.ReactElement;
|
|
676
|
+
color: string;
|
|
677
|
+
formatter: (number: number) => string;
|
|
678
|
+
}
|
|
679
|
+
declare function export_default$1u(props: RelativeActivityTodayProps): React.JSX.Element | null;
|
|
680
|
+
|
|
681
|
+
type RestingHeartRateCalendarPreviewState = "WithData" | "NoData" | "Loading";
|
|
682
|
+
interface RestingHeartRateCalendarProps {
|
|
683
|
+
month: number;
|
|
684
|
+
year: number;
|
|
685
|
+
showPreviewData: RestingHeartRateCalendarPreviewState;
|
|
686
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
687
|
+
}
|
|
688
|
+
declare function export_default$1t(props: RestingHeartRateCalendarProps): React.JSX.Element;
|
|
689
|
+
|
|
690
|
+
type ButtonVariant = "default" | "subtle" | "light";
|
|
691
|
+
interface ButtonProps {
|
|
692
|
+
children?: React.ReactNode;
|
|
693
|
+
disabled?: boolean;
|
|
694
|
+
onClick: Function;
|
|
695
|
+
className?: string;
|
|
696
|
+
color?: ColorDefinition;
|
|
697
|
+
loading?: boolean;
|
|
698
|
+
variant?: ButtonVariant;
|
|
699
|
+
innerRef?: React.Ref<HTMLButtonElement>;
|
|
700
|
+
defaultMargin?: boolean;
|
|
701
|
+
fullWidth?: boolean;
|
|
702
|
+
}
|
|
703
|
+
declare function export_default$1s(props: ButtonProps): React.JSX.Element;
|
|
704
|
+
|
|
705
|
+
interface SurveyTaskListProps {
|
|
706
|
+
status: SurveyTaskStatus;
|
|
707
|
+
limit?: number;
|
|
708
|
+
title?: string;
|
|
709
|
+
surveys?: string[];
|
|
710
|
+
onDetailLinkClick?: Function;
|
|
711
|
+
previewState?: SurveyTaskListListPreviewState;
|
|
712
|
+
variant?: "noCard" | "singleCard" | "multiCard";
|
|
713
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
714
|
+
titleColor?: ColorDefinition;
|
|
715
|
+
cardBackgroundColor?: ColorDefinition;
|
|
716
|
+
cardStyle?: React.CSSProperties;
|
|
717
|
+
buttonVariant?: ButtonVariant;
|
|
718
|
+
buttonColor?: ColorDefinition;
|
|
719
|
+
}
|
|
720
|
+
type SurveyTaskListListPreviewState = "IncompleteTasks" | "CompleteTasks";
|
|
721
|
+
declare function export_default$1r(props: SurveyTaskListProps): React.JSX.Element | null;
|
|
722
|
+
|
|
723
|
+
type SeverityCalendarPreviewState = "Default" | "NoData";
|
|
724
|
+
interface SeverityCalendarProps {
|
|
725
|
+
surveyName: string;
|
|
726
|
+
dateRecordedResultIdentifier?: string;
|
|
727
|
+
severityResultIdentifier: string;
|
|
728
|
+
severityValueMapper?: (value: string) => string;
|
|
729
|
+
intervalStart?: Date;
|
|
730
|
+
previewState?: SeverityCalendarPreviewState;
|
|
731
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
732
|
+
}
|
|
733
|
+
declare function export_default$1q(props: SeverityCalendarProps): React.JSX.Element;
|
|
734
|
+
|
|
735
|
+
interface ViewEhrProps {
|
|
736
|
+
onClick(): void;
|
|
737
|
+
title?: string;
|
|
738
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
739
|
+
previewState?: "fetchComplete" | "fetchingData";
|
|
740
|
+
buttonColor?: ColorDefinition;
|
|
741
|
+
buttonVariant?: ButtonVariant;
|
|
742
|
+
}
|
|
743
|
+
declare function export_default$1p(props: ViewEhrProps): React.JSX.Element | null;
|
|
744
|
+
|
|
745
|
+
interface ActionProps {
|
|
746
|
+
title?: string;
|
|
747
|
+
titleIcon?: ReactElement;
|
|
748
|
+
icon?: ReactElement;
|
|
749
|
+
subtitle?: string;
|
|
750
|
+
onClick?: Function;
|
|
751
|
+
children?: React.ReactNode;
|
|
752
|
+
className?: string;
|
|
753
|
+
indicatorIcon?: IconDefinition;
|
|
754
|
+
indicator?: ReactElement;
|
|
755
|
+
indicatorValue?: string;
|
|
756
|
+
indicatorPosition?: "default" | "topRight";
|
|
757
|
+
bottomBorder?: boolean;
|
|
758
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
759
|
+
titleColor?: ColorDefinition;
|
|
760
|
+
subtitleColor?: ColorDefinition;
|
|
761
|
+
renderAs?: "div" | "button";
|
|
762
|
+
}
|
|
763
|
+
declare function export_default$1o(props: ActionProps): React.JSX.Element;
|
|
764
|
+
|
|
765
|
+
interface ActivityMeterProps {
|
|
766
|
+
label: string;
|
|
767
|
+
value: string;
|
|
768
|
+
icon: ReactElement;
|
|
769
|
+
fillPercent: number;
|
|
770
|
+
averageFillPercent: number;
|
|
771
|
+
color: string;
|
|
772
|
+
message?: string;
|
|
773
|
+
className?: string;
|
|
774
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
775
|
+
}
|
|
776
|
+
declare function export_default$1n(props: ActivityMeterProps): React.JSX.Element;
|
|
777
|
+
|
|
778
|
+
interface CalendarProps {
|
|
779
|
+
month: number;
|
|
780
|
+
year: number;
|
|
781
|
+
dayRenderer(year: number, month: number, day?: number): JSX.Element | null;
|
|
782
|
+
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
783
|
+
className?: string;
|
|
784
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
785
|
+
}
|
|
786
|
+
declare function export_default$1m(props: CalendarProps): React.JSX.Element;
|
|
787
|
+
|
|
788
|
+
type CalendarDayStateConfiguration = Record<string, {
|
|
789
|
+
style?: CSSProperties;
|
|
790
|
+
streak?: boolean;
|
|
791
|
+
streakColor?: ColorDefinition;
|
|
792
|
+
}>;
|
|
793
|
+
interface CalendarDayProps {
|
|
794
|
+
year: number;
|
|
795
|
+
month: number;
|
|
796
|
+
day?: number;
|
|
797
|
+
stateConfiguration: CalendarDayStateConfiguration;
|
|
798
|
+
computeStateForDay: (date: Date) => string;
|
|
799
|
+
onClick?: (date: Date) => void;
|
|
800
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
801
|
+
}
|
|
802
|
+
declare function export_default$1l(props: CalendarDayProps): React.JSX.Element;
|
|
803
|
+
|
|
804
|
+
interface CardProps {
|
|
805
|
+
className?: string;
|
|
806
|
+
children?: React.ReactNode;
|
|
807
|
+
allowOverflow?: boolean;
|
|
808
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
809
|
+
variant?: "default" | "subtle" | "highlight";
|
|
810
|
+
backgroundColor?: ColorDefinition;
|
|
811
|
+
style?: React.CSSProperties;
|
|
812
|
+
}
|
|
813
|
+
declare function export_default$1k(props: CardProps): React.JSX.Element | null;
|
|
814
|
+
|
|
815
|
+
interface CardTitleProps {
|
|
816
|
+
title: string;
|
|
817
|
+
onDetailClick?: Function;
|
|
818
|
+
detailLinkText?: string;
|
|
819
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
820
|
+
color?: ColorDefinition;
|
|
821
|
+
}
|
|
822
|
+
declare function export_default$1j(props: CardTitleProps): React.JSX.Element;
|
|
823
|
+
|
|
824
|
+
interface DateRangeCoordinatorProps {
|
|
825
|
+
initialIntervalStart?: Date;
|
|
826
|
+
intervalType: "Week" | "Month";
|
|
827
|
+
weekStartsOn?: WeekStartsOn;
|
|
828
|
+
variant?: "default" | "rounded";
|
|
829
|
+
children: React.ReactNode;
|
|
830
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
831
|
+
sticky?: boolean;
|
|
832
|
+
}
|
|
833
|
+
interface DateRangeContext {
|
|
834
|
+
intervalType: "Week" | "Month";
|
|
835
|
+
intervalStart: Date;
|
|
836
|
+
}
|
|
837
|
+
declare const DateRangeContext: React.Context<DateRangeContext | null>;
|
|
838
|
+
declare function DateRangeNavigatorContext(props: DateRangeCoordinatorProps): React.JSX.Element;
|
|
839
|
+
|
|
840
|
+
interface DateRangeNavigatorProps {
|
|
841
|
+
intervalType: "Week" | "Month";
|
|
842
|
+
intervalStart: Date;
|
|
843
|
+
variant?: "default" | "rounded";
|
|
844
|
+
onIntervalChange(newIntervalStart: Date, newIntervalEnd: Date): void;
|
|
845
|
+
className?: string;
|
|
846
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
847
|
+
sticky?: boolean;
|
|
848
|
+
}
|
|
849
|
+
declare function export_default$1i(props: DateRangeNavigatorProps): React.JSX.Element;
|
|
850
|
+
|
|
851
|
+
interface DayTrackerSymbolProps {
|
|
852
|
+
primaryColors: string[];
|
|
853
|
+
secondaryColors: string[];
|
|
854
|
+
className?: string;
|
|
855
|
+
size?: "small" | "large";
|
|
856
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
857
|
+
}
|
|
858
|
+
declare function export_default$1h(props: DayTrackerSymbolProps): React.JSX.Element;
|
|
859
|
+
|
|
860
|
+
interface ClosedInterval {
|
|
861
|
+
values: number[];
|
|
862
|
+
}
|
|
863
|
+
interface DataPoint {
|
|
864
|
+
dataSet1: ClosedInterval;
|
|
865
|
+
dataSet2: ClosedInterval;
|
|
866
|
+
}
|
|
867
|
+
interface Dumbbell {
|
|
868
|
+
dataPoint?: DataPoint;
|
|
869
|
+
xValue: string;
|
|
870
|
+
class?: DumbbellClass;
|
|
871
|
+
}
|
|
872
|
+
interface Axis {
|
|
873
|
+
yRange: ClosedInterval;
|
|
874
|
+
yIncrement: number;
|
|
875
|
+
xIncrement: number;
|
|
876
|
+
}
|
|
877
|
+
interface DumbBellChartProps {
|
|
878
|
+
axis: Axis;
|
|
879
|
+
dumbbells: Dumbbell[];
|
|
880
|
+
}
|
|
881
|
+
declare enum DumbbellClass {
|
|
882
|
+
"mdhui-dumbbell-in-range" = 0,
|
|
883
|
+
"mdhui-dumbbell-out-of-range" = 1
|
|
884
|
+
}
|
|
885
|
+
declare function export_default$1g(props: DumbBellChartProps): React.JSX.Element;
|
|
886
|
+
|
|
887
|
+
interface FaceProps {
|
|
888
|
+
faceValue?: number;
|
|
889
|
+
selected?: boolean;
|
|
890
|
+
onClick?: MouseEventHandler;
|
|
891
|
+
className?: string;
|
|
892
|
+
innerRef?: React.Ref<HTMLButtonElement>;
|
|
893
|
+
}
|
|
894
|
+
declare function export_default$1f(props: FaceProps): React.JSX.Element;
|
|
895
|
+
|
|
896
|
+
interface HistogramProps {
|
|
897
|
+
entries: {
|
|
898
|
+
label: string;
|
|
899
|
+
color: string;
|
|
900
|
+
value: number;
|
|
901
|
+
onSelect?(): void;
|
|
902
|
+
}[];
|
|
903
|
+
className?: string;
|
|
904
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
905
|
+
}
|
|
906
|
+
declare function export_default$1e(props: HistogramProps): React.JSX.Element;
|
|
907
|
+
|
|
908
|
+
interface LayoutProps {
|
|
909
|
+
children?: React.ReactNode;
|
|
910
|
+
bodyBackgroundColor?: ColorDefinition;
|
|
911
|
+
primaryColor?: ColorDefinition;
|
|
912
|
+
statusBarStyle?: StatusBarStyle;
|
|
913
|
+
className?: string;
|
|
914
|
+
noGlobalStyles?: boolean;
|
|
915
|
+
colorScheme?: "light" | "dark" | "auto";
|
|
916
|
+
/**
|
|
917
|
+
* @deprecated
|
|
918
|
+
*/
|
|
919
|
+
stylesheetPath?: string;
|
|
920
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
921
|
+
}
|
|
922
|
+
interface LayoutContext {
|
|
923
|
+
colorScheme: "light" | "dark";
|
|
924
|
+
bodyBackgroundColor: string;
|
|
925
|
+
}
|
|
926
|
+
declare const LayoutContext: React.Context<LayoutContext>;
|
|
927
|
+
declare function export_default$1d(props: LayoutProps): React.JSX.Element;
|
|
928
|
+
|
|
929
|
+
interface LoadingIndicatorProps {
|
|
930
|
+
variant?: "default" | "inline";
|
|
931
|
+
color?: string;
|
|
932
|
+
className?: string;
|
|
933
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
934
|
+
}
|
|
935
|
+
declare function LoadingIndicator(props: LoadingIndicatorProps): React.JSX.Element;
|
|
936
|
+
|
|
937
|
+
interface NavigationBarProps {
|
|
938
|
+
title?: string;
|
|
939
|
+
subtitle?: string;
|
|
940
|
+
showBackButton?: boolean;
|
|
941
|
+
showCloseButton?: boolean;
|
|
942
|
+
children?: React.ReactNode;
|
|
943
|
+
closeButtonText?: string;
|
|
944
|
+
backButtonText?: string;
|
|
945
|
+
className?: string;
|
|
946
|
+
variant?: 'default' | 'compressed';
|
|
947
|
+
titleColor?: ColorDefinition;
|
|
948
|
+
subtitleColor?: ColorDefinition;
|
|
949
|
+
buttonColor?: ColorDefinition;
|
|
950
|
+
navigationBarLeft?: React.ReactNode;
|
|
951
|
+
navigationBarRight?: React.ReactNode;
|
|
952
|
+
backgroundColor?: ColorDefinition;
|
|
663
953
|
}
|
|
954
|
+
declare function export_default$1c(props: NavigationBarProps): React.JSX.Element;
|
|
664
955
|
|
|
665
|
-
interface
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
956
|
+
interface NotesInputProps {
|
|
957
|
+
autoTimestamp?: boolean;
|
|
958
|
+
placeholder?: string;
|
|
959
|
+
onChange(value: string): void;
|
|
960
|
+
value: string;
|
|
961
|
+
}
|
|
962
|
+
declare function export_default$1b(props: NotesInputProps): React.JSX.Element;
|
|
963
|
+
|
|
964
|
+
interface ProgressBarProps {
|
|
965
|
+
backgroundColor?: ColorDefinition;
|
|
966
|
+
borderColor?: ColorDefinition;
|
|
967
|
+
fillColor?: ColorDefinition;
|
|
968
|
+
fillPercent: number;
|
|
969
|
+
steps?: {
|
|
970
|
+
percent: number;
|
|
971
|
+
icon: ReactElement;
|
|
972
|
+
}[];
|
|
676
973
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
974
|
+
defaultMargin?: boolean;
|
|
677
975
|
}
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
976
|
+
declare function ProgressBar(props: ProgressBarProps): React.JSX.Element;
|
|
977
|
+
declare namespace ProgressBar {
|
|
978
|
+
var defaultProps: {
|
|
979
|
+
backgroundColor: string;
|
|
980
|
+
fillColor: string;
|
|
981
|
+
fillPercent: number;
|
|
982
|
+
};
|
|
681
983
|
}
|
|
682
|
-
|
|
683
|
-
|
|
984
|
+
|
|
985
|
+
interface ProgressBarStepProps {
|
|
986
|
+
borderColor?: ColorDefinition;
|
|
987
|
+
backgroundColor?: ColorDefinition;
|
|
988
|
+
children?: React.ReactNode;
|
|
989
|
+
height: string;
|
|
684
990
|
}
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
991
|
+
declare function ProgressBarStep(props: ProgressBarStepProps): React.JSX.Element;
|
|
992
|
+
|
|
993
|
+
interface ProgressRingProps {
|
|
994
|
+
children: React.ReactNode;
|
|
995
|
+
style?: CSSProperties;
|
|
996
|
+
color?: ColorDefinition;
|
|
997
|
+
percentCompleted?: number;
|
|
998
|
+
animate?: boolean;
|
|
688
999
|
}
|
|
689
|
-
declare function
|
|
1000
|
+
declare function export_default$1a(props: ProgressRingProps): React.JSX.Element;
|
|
690
1001
|
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
1002
|
+
type ResourceImageAlignment = 'left' | 'center' | 'right';
|
|
1003
|
+
interface ResourceProps {
|
|
1004
|
+
imageUrl?: string;
|
|
1005
|
+
title: string;
|
|
1006
|
+
subTitle?: string;
|
|
1007
|
+
imageAlignment?: ResourceImageAlignment;
|
|
1008
|
+
buttonText?: string;
|
|
1009
|
+
onClick: () => void;
|
|
1010
|
+
hideButton?: boolean;
|
|
699
1011
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
700
1012
|
}
|
|
701
|
-
|
|
702
|
-
label: string;
|
|
703
|
-
dailyDataType: string;
|
|
704
|
-
valueConverter?: Function;
|
|
705
|
-
showAverage?: boolean;
|
|
706
|
-
}
|
|
707
|
-
type DeviceDataMonthChartPreviewState = "WithData" | "NoData" | "Loading";
|
|
708
|
-
declare function export_default$18(props: DeviceDataMonthChartProps): React.JSX.Element | null;
|
|
1013
|
+
declare function export_default$19(props: ResourceProps): React.JSX.Element;
|
|
709
1014
|
|
|
710
|
-
|
|
711
|
-
previewState?: DeviceDataMonthChartsPreviewState;
|
|
712
|
-
}
|
|
713
|
-
type DeviceDataMonthChartsPreviewState = "Default" | "NoData";
|
|
714
|
-
declare function export_default$17(props: DeviceDataMonthChartsProps): React.JSX.Element;
|
|
1015
|
+
type ResourceListPreviewState = 'no resources' | 'some resources';
|
|
715
1016
|
|
|
716
|
-
interface
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
1017
|
+
interface ResourceDefinition {
|
|
1018
|
+
title: string;
|
|
1019
|
+
subTitle?: string;
|
|
1020
|
+
url: string;
|
|
1021
|
+
imageUrl?: string;
|
|
1022
|
+
}
|
|
1023
|
+
interface ResourceListProps {
|
|
1024
|
+
previewState?: ResourceListPreviewState;
|
|
1025
|
+
resources: ResourceDefinition[];
|
|
1026
|
+
onViewResource: (resource: ResourceDefinition) => void;
|
|
1027
|
+
emptyText?: string;
|
|
1028
|
+
imageAlignment?: ResourceImageAlignment;
|
|
720
1029
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
721
1030
|
}
|
|
722
|
-
|
|
723
|
-
declare function export_default$16(props: ExternalAccountListProps): React.JSX.Element;
|
|
1031
|
+
declare function export_default$18(props: ResourceListProps): React.JSX.Element;
|
|
724
1032
|
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
1033
|
+
type RotatingComponentInterval = 'day' | 'week' | 'month';
|
|
1034
|
+
interface RotatingComponentCoordinatorProps {
|
|
1035
|
+
interval?: RotatingComponentInterval;
|
|
1036
|
+
children: React.ReactNode;
|
|
1037
|
+
startDate: Date;
|
|
728
1038
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
729
1039
|
}
|
|
730
|
-
declare function export_default$
|
|
1040
|
+
declare function export_default$17(props: RotatingComponentCoordinatorProps): React.JSX.Element;
|
|
731
1041
|
|
|
732
|
-
interface
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
applicationUrl: ExternalAccountsApplicationUrl;
|
|
737
|
-
previewState?: ExternalAccountsPreviewPreviewState;
|
|
1042
|
+
interface SectionProps {
|
|
1043
|
+
children?: React.ReactNode;
|
|
1044
|
+
className?: string;
|
|
1045
|
+
noTopMargin?: boolean;
|
|
738
1046
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
1047
|
+
backgroundColor?: ColorDefinition;
|
|
1048
|
+
style?: React.CSSProperties;
|
|
739
1049
|
}
|
|
740
|
-
|
|
741
|
-
type ExternalAccountsPreviewPreviewState = "Default";
|
|
742
|
-
declare function export_default$14(props: ExternalAccountsPreviewProps): React.JSX.Element | null;
|
|
1050
|
+
declare function export_default$16(props: SectionProps): React.JSX.Element | null;
|
|
743
1051
|
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
1052
|
+
interface SegmentedControlProps {
|
|
1053
|
+
segments: {
|
|
1054
|
+
key: string;
|
|
1055
|
+
title: string;
|
|
1056
|
+
}[];
|
|
1057
|
+
selectedSegment?: string;
|
|
1058
|
+
onSegmentSelected(segmentKey: string): void;
|
|
1059
|
+
className?: string;
|
|
1060
|
+
color?: string;
|
|
1061
|
+
variant?: "default" | "optionsHorizontal" | "optionsVertical";
|
|
748
1062
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
749
1063
|
}
|
|
750
|
-
declare function export_default$
|
|
1064
|
+
declare function export_default$15(props: SegmentedControlProps): React.JSX.Element;
|
|
751
1065
|
|
|
752
|
-
|
|
1066
|
+
declare function export_default$14(): React.JSX.Element;
|
|
753
1067
|
|
|
754
|
-
interface
|
|
755
|
-
|
|
1068
|
+
interface SingleDataPointProps {
|
|
1069
|
+
label: string;
|
|
1070
|
+
statusText?: string;
|
|
1071
|
+
statusColor?: ColorDefinition;
|
|
1072
|
+
value?: string;
|
|
1073
|
+
units?: string;
|
|
1074
|
+
onClick?: () => void;
|
|
1075
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
756
1076
|
}
|
|
757
|
-
declare function export_default$
|
|
1077
|
+
declare function export_default$13(props: SingleDataPointProps): React.JSX.Element;
|
|
758
1078
|
|
|
759
|
-
interface
|
|
760
|
-
|
|
1079
|
+
interface SingleExternalAccountProps {
|
|
1080
|
+
externalAccount: ExternalAccount;
|
|
1081
|
+
onAccountRemoved: (account: ExternalAccount) => void;
|
|
1082
|
+
onReconnectAccount: (account: ExternalAccount) => void;
|
|
761
1083
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
762
1084
|
}
|
|
763
|
-
declare function export_default$
|
|
1085
|
+
declare function export_default$12(props: SingleExternalAccountProps): React.JSX.Element;
|
|
764
1086
|
|
|
765
|
-
interface
|
|
766
|
-
|
|
1087
|
+
interface SingleNotificationProps {
|
|
1088
|
+
notification: Notification;
|
|
1089
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
767
1090
|
}
|
|
768
|
-
declare function export_default$
|
|
1091
|
+
declare function export_default$11(props: SingleNotificationProps): React.JSX.Element;
|
|
769
1092
|
|
|
770
|
-
type
|
|
771
|
-
interface
|
|
772
|
-
|
|
773
|
-
onClick()
|
|
774
|
-
|
|
775
|
-
|
|
1093
|
+
type SingleSurveyTaskVariant = 'default' | 'expanded';
|
|
1094
|
+
interface SingleSurveyTaskProps {
|
|
1095
|
+
task: SurveyTask;
|
|
1096
|
+
onClick: () => void;
|
|
1097
|
+
variant?: SingleSurveyTaskVariant;
|
|
1098
|
+
descriptionIcon?: IconDefinition$1;
|
|
1099
|
+
surveyActive?: boolean;
|
|
1100
|
+
buttonColor?: ColorDefinition;
|
|
1101
|
+
buttonVariant?: ButtonVariant;
|
|
776
1102
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
777
1103
|
}
|
|
778
|
-
declare function export_default
|
|
1104
|
+
declare function export_default$10(props: SingleSurveyTaskProps): React.JSX.Element | null;
|
|
779
1105
|
|
|
780
|
-
interface
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
onViewTermInfo(termInfo: TermInformation): void;
|
|
1106
|
+
interface SparkBarChartProps {
|
|
1107
|
+
averageFillPercent: number;
|
|
1108
|
+
bars: SparkBarChartBar[];
|
|
784
1109
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
785
1110
|
}
|
|
786
|
-
|
|
1111
|
+
interface SparkBarChartBar {
|
|
1112
|
+
color: string;
|
|
1113
|
+
barFillPercent: number;
|
|
1114
|
+
}
|
|
1115
|
+
declare function export_default$$(props: SparkBarChartProps): React.JSX.Element;
|
|
787
1116
|
|
|
788
|
-
interface
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
1117
|
+
interface SwitchProps {
|
|
1118
|
+
isOn: Boolean;
|
|
1119
|
+
onBackgroundColor?: string;
|
|
1120
|
+
onValueChanged(value: boolean): void;
|
|
1121
|
+
className?: string;
|
|
1122
|
+
innerRef?: React.Ref<HTMLButtonElement>;
|
|
792
1123
|
}
|
|
793
|
-
declare function export_default$
|
|
1124
|
+
declare function export_default$_(props: SwitchProps): React.JSX.Element;
|
|
794
1125
|
|
|
795
|
-
interface
|
|
796
|
-
|
|
797
|
-
onViewMore?: Function;
|
|
798
|
-
hideAfterHours?: number;
|
|
799
|
-
previewState?: MostRecentNotificationPreviewState;
|
|
1126
|
+
interface StatusBarBackgroundProps {
|
|
1127
|
+
color?: string;
|
|
800
1128
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
801
1129
|
}
|
|
802
|
-
|
|
803
|
-
declare function export_default$Y(props: MostRecentNotificationProps): React.JSX.Element | null;
|
|
1130
|
+
declare function StatusBarBackgroundProps(props: StatusBarBackgroundProps): React.JSX.Element;
|
|
804
1131
|
|
|
805
|
-
interface
|
|
806
|
-
|
|
807
|
-
|
|
1132
|
+
interface TextBlockProps {
|
|
1133
|
+
children?: React.ReactNode;
|
|
1134
|
+
className?: string;
|
|
808
1135
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
1136
|
+
color?: ColorDefinition;
|
|
1137
|
+
style?: React.CSSProperties;
|
|
809
1138
|
}
|
|
810
|
-
|
|
811
|
-
declare function export_default$X(props: NotificationListProps): React.JSX.Element;
|
|
1139
|
+
declare function export_default$Z(props: TextBlockProps): React.JSX.Element | null;
|
|
812
1140
|
|
|
813
|
-
interface
|
|
814
|
-
|
|
1141
|
+
interface TitleProps {
|
|
1142
|
+
color?: ColorDefinition;
|
|
1143
|
+
order?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
815
1144
|
children?: React.ReactNode;
|
|
816
|
-
|
|
817
|
-
|
|
1145
|
+
style?: React.CSSProperties;
|
|
1146
|
+
className?: string;
|
|
1147
|
+
image?: ReactNode;
|
|
1148
|
+
autosizeImage?: boolean;
|
|
1149
|
+
imageAlignment?: "top" | "left";
|
|
1150
|
+
defaultMargin?: boolean;
|
|
818
1151
|
}
|
|
819
|
-
declare function export_default$
|
|
1152
|
+
declare function export_default$Y(props: TitleProps): React.JSX.Element;
|
|
820
1153
|
|
|
821
|
-
interface
|
|
822
|
-
|
|
823
|
-
|
|
1154
|
+
interface TrackerItemProps {
|
|
1155
|
+
selected: boolean;
|
|
1156
|
+
text?: string;
|
|
1157
|
+
color: string;
|
|
1158
|
+
bordered?: boolean;
|
|
1159
|
+
badge?: string;
|
|
1160
|
+
onClick?: Function;
|
|
1161
|
+
className?: string;
|
|
1162
|
+
noBoxShadow?: boolean;
|
|
824
1163
|
}
|
|
825
|
-
|
|
826
|
-
declare function export_default$V(props: ProjectHeaderProps): React.JSX.Element;
|
|
1164
|
+
declare function export_default$X(props: TrackerItemProps): React.JSX.Element;
|
|
827
1165
|
|
|
828
|
-
interface
|
|
829
|
-
|
|
830
|
-
|
|
1166
|
+
interface UnstyledButtonProps {
|
|
1167
|
+
onClick: MouseEventHandler;
|
|
1168
|
+
className?: string;
|
|
1169
|
+
children?: React.ReactNode;
|
|
1170
|
+
title?: string;
|
|
1171
|
+
style?: React.CSSProperties;
|
|
1172
|
+
disabled?: boolean;
|
|
1173
|
+
innerRef?: React.Ref<HTMLButtonElement>;
|
|
831
1174
|
}
|
|
832
|
-
|
|
833
|
-
declare function export_default$U(props: ProjectSupportProps): React.JSX.Element | null;
|
|
1175
|
+
declare function export_default$W(props: UnstyledButtonProps): React.JSX.Element;
|
|
834
1176
|
|
|
835
|
-
interface
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
1177
|
+
interface ValueSelectorProps {
|
|
1178
|
+
title?: string;
|
|
1179
|
+
titleColor?: ColorDefinition;
|
|
1180
|
+
subtitle?: string;
|
|
1181
|
+
subtitleColor?: ColorDefinition;
|
|
1182
|
+
values: string[];
|
|
1183
|
+
valueBackgroundColor?: ColorDefinition;
|
|
1184
|
+
valueTextColor?: ColorDefinition;
|
|
1185
|
+
checkboxColor?: ColorDefinition;
|
|
1186
|
+
selectedValues?: string[];
|
|
1187
|
+
selectedButtonBackgroundColor?: ColorDefinition;
|
|
1188
|
+
selectedButtonTextColor?: ColorDefinition;
|
|
1189
|
+
selectedCheckboxColor?: ColorDefinition;
|
|
1190
|
+
onChange?: (selectedValues: string[]) => void;
|
|
1191
|
+
variant?: 'default' | 'checkboxes';
|
|
1192
|
+
multiSelect?: boolean;
|
|
1193
|
+
preventEmptySelections?: boolean;
|
|
839
1194
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
840
1195
|
}
|
|
841
|
-
|
|
842
|
-
declare function export_default$T(props: ProviderSearchProps): React.JSX.Element;
|
|
1196
|
+
declare function export_default$V(props: ValueSelectorProps): React.JSX.Element;
|
|
843
1197
|
|
|
844
|
-
interface
|
|
845
|
-
dataTypes: RelativeActivityDataType[];
|
|
846
|
-
previewState?: "Default";
|
|
1198
|
+
interface ViewHeaderProps {
|
|
847
1199
|
title?: string;
|
|
848
|
-
|
|
1200
|
+
subtitle?: string;
|
|
1201
|
+
titleColor?: ColorDefinition;
|
|
1202
|
+
subtitleColor?: ColorDefinition;
|
|
1203
|
+
action?: React.ReactNode;
|
|
849
1204
|
}
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
1205
|
+
declare function export_default$U(props: ViewHeaderProps): React.JSX.Element | null;
|
|
1206
|
+
|
|
1207
|
+
interface WeekCalendarProps {
|
|
1208
|
+
selectedDate?: Date;
|
|
1209
|
+
hideDateLabel?: boolean;
|
|
1210
|
+
startDate: Date;
|
|
1211
|
+
onDateSelected?(date: Date): void;
|
|
1212
|
+
loading: boolean;
|
|
1213
|
+
onStartDateChange?(startDate: Date): void;
|
|
1214
|
+
dayRenderer(year: number, month: number, day: number, selectedWeek: boolean): JSX.Element | null;
|
|
856
1215
|
}
|
|
857
|
-
declare function export_default$
|
|
1216
|
+
declare function export_default$T(props: WeekCalendarProps): React.JSX.Element;
|
|
858
1217
|
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
showPreviewData: RestingHeartRateCalendarPreviewState;
|
|
1218
|
+
interface InboxCompletedListItemProps {
|
|
1219
|
+
name: string;
|
|
1220
|
+
status: string;
|
|
1221
|
+
onClick?: () => void;
|
|
864
1222
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
865
1223
|
}
|
|
866
|
-
declare function export_default$
|
|
1224
|
+
declare function export_default$S(props: InboxCompletedListItemProps): React.JSX.Element;
|
|
867
1225
|
|
|
868
|
-
interface
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
title?: string;
|
|
872
|
-
surveys?: string[];
|
|
873
|
-
onDetailLinkClick?: Function;
|
|
874
|
-
previewState?: SurveyTaskListListPreviewState;
|
|
875
|
-
variant?: "noCard" | "singleCard" | "multiCard";
|
|
1226
|
+
interface InboxMessageListItemProps {
|
|
1227
|
+
message: InboxMessage;
|
|
1228
|
+
onClick: () => void;
|
|
876
1229
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
877
|
-
titleColor?: ColorDefinition;
|
|
878
|
-
cardBackgroundColor?: ColorDefinition;
|
|
879
|
-
cardStyle?: React.CSSProperties;
|
|
880
|
-
buttonVariant?: ButtonVariant;
|
|
881
|
-
buttonColor?: ColorDefinition;
|
|
882
1230
|
}
|
|
883
|
-
|
|
884
|
-
declare function export_default$Q(props: SurveyTaskListProps): React.JSX.Element | null;
|
|
1231
|
+
declare function export_default$R(props: InboxMessageListItemProps): React.JSX.Element | null;
|
|
885
1232
|
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
intervalStart?: Date;
|
|
893
|
-
previewState?: SeverityCalendarPreviewState;
|
|
1233
|
+
interface InboxResourceListItemProps {
|
|
1234
|
+
resource: InboxResource;
|
|
1235
|
+
onClick: () => void;
|
|
1236
|
+
imageAlignment?: ResourceImageAlignment;
|
|
1237
|
+
buttonText?: string;
|
|
1238
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
894
1239
|
}
|
|
895
|
-
declare function export_default$
|
|
1240
|
+
declare function export_default$Q(props: InboxResourceListItemProps): React.JSX.Element | null;
|
|
896
1241
|
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
1242
|
+
type InboxSurveyVariant = 'default' | 'expanded';
|
|
1243
|
+
interface InboxSurveyListItemProps {
|
|
1244
|
+
survey: InboxSurvey;
|
|
1245
|
+
onClick: () => void;
|
|
1246
|
+
variant?: InboxSurveyVariant;
|
|
1247
|
+
surveyActive?: boolean;
|
|
900
1248
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
901
|
-
previewState?: "fetchComplete" | "fetchingData";
|
|
902
|
-
buttonColor?: ColorDefinition;
|
|
903
|
-
buttonVariant?: ButtonVariant;
|
|
904
1249
|
}
|
|
905
|
-
declare function export_default$
|
|
1250
|
+
declare function export_default$P(props: InboxSurveyListItemProps): React.JSX.Element | null;
|
|
906
1251
|
|
|
907
1252
|
type InboxItemListPreviewState = 'no items' | 'incomplete message' | 'incomplete survey' | 'incomplete resource' | 'incomplete items' | 'complete items';
|
|
908
1253
|
|
|
@@ -921,33 +1266,138 @@ interface InboxItemListProps {
|
|
|
921
1266
|
emptyText?: string;
|
|
922
1267
|
showTitleWhenEmpty?: boolean;
|
|
923
1268
|
surveyVariant?: InboxSurveyVariant;
|
|
924
|
-
resourceImageAlignment?:
|
|
1269
|
+
resourceImageAlignment?: ResourceImageAlignment;
|
|
925
1270
|
hideLoadingIndicator?: boolean;
|
|
926
1271
|
onItemsLoaded?: (items: InboxItem[]) => void;
|
|
927
1272
|
syncOnChanges?: boolean;
|
|
928
1273
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
929
1274
|
}
|
|
930
|
-
declare function export_default$
|
|
1275
|
+
declare function export_default$O(props: InboxItemListProps): React.JSX.Element;
|
|
931
1276
|
|
|
932
1277
|
interface InboxItemListCoordinatorProps {
|
|
933
1278
|
children: React.ReactNode;
|
|
934
1279
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
935
1280
|
}
|
|
936
|
-
declare function export_default$
|
|
1281
|
+
declare function export_default$N(props: InboxItemListCoordinatorProps): React.JSX.Element;
|
|
1282
|
+
|
|
1283
|
+
interface CelebrationStepProps {
|
|
1284
|
+
title?: string;
|
|
1285
|
+
text?: string;
|
|
1286
|
+
detailText?: string;
|
|
1287
|
+
iconUrl?: string;
|
|
1288
|
+
imageUrl?: string;
|
|
1289
|
+
nextButtonText?: string;
|
|
1290
|
+
styles: {
|
|
1291
|
+
[key: string]: any;
|
|
1292
|
+
};
|
|
1293
|
+
}
|
|
1294
|
+
declare function export_default$M(props: CelebrationStepProps): React.JSX.Element;
|
|
1295
|
+
|
|
1296
|
+
declare function export_default$L(): React.JSX.Element;
|
|
1297
|
+
|
|
1298
|
+
interface ConnectDeviceAccountStepProps {
|
|
1299
|
+
title?: string;
|
|
1300
|
+
text?: string;
|
|
1301
|
+
deviceType: string;
|
|
1302
|
+
providerID: number;
|
|
1303
|
+
styles: {
|
|
1304
|
+
[key: string]: any;
|
|
1305
|
+
};
|
|
1306
|
+
onConnect: () => void;
|
|
1307
|
+
}
|
|
1308
|
+
declare function export_default$K(props: ConnectDeviceAccountStepProps): React.JSX.Element;
|
|
1309
|
+
|
|
1310
|
+
interface ConnectDeviceAccountStepContainerProps {
|
|
1311
|
+
deviceType?: string;
|
|
1312
|
+
}
|
|
1313
|
+
declare function export_default$J(props: ConnectDeviceAccountStepContainerProps): React.JSX.Element;
|
|
1314
|
+
|
|
1315
|
+
interface ConnectEhrStepProps {
|
|
1316
|
+
title?: string;
|
|
1317
|
+
text?: string;
|
|
1318
|
+
nextButtonText?: string;
|
|
1319
|
+
nextButtonDisabled?: boolean;
|
|
1320
|
+
previewState?: ProviderSearchPreviewState;
|
|
1321
|
+
onProviderConnected: (provider: ExternalAccountProvider) => void;
|
|
1322
|
+
onNextButtonClick: () => void;
|
|
1323
|
+
styles: {
|
|
1324
|
+
[key: string]: any;
|
|
1325
|
+
};
|
|
1326
|
+
}
|
|
1327
|
+
declare function export_default$I(props: ConnectEhrStepProps): React.JSX.Element;
|
|
1328
|
+
|
|
1329
|
+
declare function export_default$H(): React.JSX.Element;
|
|
1330
|
+
|
|
1331
|
+
interface StepElementProps {
|
|
1332
|
+
text?: string;
|
|
1333
|
+
textAlign?: any;
|
|
1334
|
+
color?: string;
|
|
1335
|
+
fontSize?: string;
|
|
1336
|
+
fontWeight?: string;
|
|
1337
|
+
}
|
|
1338
|
+
interface IconElementProps {
|
|
1339
|
+
srcUrl?: string;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
declare function export_default$G(props: StepElementProps): React.JSX.Element | null;
|
|
1343
|
+
|
|
1344
|
+
declare function export_default$F(props: IconElementProps): React.JSX.Element | null;
|
|
1345
|
+
|
|
1346
|
+
declare function export_default$E(props: IconElementProps): React.JSX.Element | null;
|
|
1347
|
+
|
|
1348
|
+
interface StepLayoutProps {
|
|
1349
|
+
children?: React.ReactNode;
|
|
1350
|
+
}
|
|
1351
|
+
declare function export_default$D(props: StepLayoutProps): React.JSX.Element;
|
|
1352
|
+
|
|
1353
|
+
interface StepMarkdownProps {
|
|
1354
|
+
text: string;
|
|
1355
|
+
inline?: boolean;
|
|
1356
|
+
}
|
|
1357
|
+
declare function export_default$C(props: StepMarkdownProps): React.JSX.Element;
|
|
1358
|
+
|
|
1359
|
+
interface StepNextButtonProps extends StepElementProps {
|
|
1360
|
+
backgroundColor: string;
|
|
1361
|
+
letterSpacing: string;
|
|
1362
|
+
textTransform: string;
|
|
1363
|
+
gradient: any;
|
|
1364
|
+
disabled?: boolean;
|
|
1365
|
+
onClick(): void;
|
|
1366
|
+
}
|
|
1367
|
+
declare function export_default$B(props: StepNextButtonProps): React.JSX.Element;
|
|
1368
|
+
|
|
1369
|
+
declare function export_default$A(props: StepElementProps): React.JSX.Element | null;
|
|
1370
|
+
|
|
1371
|
+
declare function export_default$z(props: StepElementProps): React.JSX.Element | null;
|
|
1372
|
+
|
|
1373
|
+
interface YouTubeStepProps {
|
|
1374
|
+
title?: string;
|
|
1375
|
+
text?: string;
|
|
1376
|
+
transcript?: string;
|
|
1377
|
+
videoId: string;
|
|
1378
|
+
nextButtonText?: string;
|
|
1379
|
+
height?: string;
|
|
1380
|
+
styles: {
|
|
1381
|
+
[key: string]: any;
|
|
1382
|
+
};
|
|
1383
|
+
}
|
|
1384
|
+
declare function export_default$y(props: YouTubeStepProps): React.JSX.Element;
|
|
1385
|
+
|
|
1386
|
+
declare function export_default$x(): React.JSX.Element;
|
|
937
1387
|
|
|
938
1388
|
interface SymptomSharkCalendarProps {
|
|
939
1389
|
intervalStart?: Date;
|
|
940
1390
|
onDaySelected(day: Date): void;
|
|
941
1391
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
942
1392
|
}
|
|
943
|
-
declare function export_default$
|
|
1393
|
+
declare function export_default$w(props: SymptomSharkCalendarProps): React.JSX.Element;
|
|
944
1394
|
|
|
945
1395
|
interface OverallExperienceChartProps {
|
|
946
1396
|
intervalStart?: Date;
|
|
947
1397
|
showAllDays?: boolean;
|
|
948
1398
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
949
1399
|
}
|
|
950
|
-
declare function export_default$
|
|
1400
|
+
declare function export_default$v(props: OverallExperienceChartProps): React.JSX.Element | null;
|
|
951
1401
|
|
|
952
1402
|
interface SymptomSharkDataService {
|
|
953
1403
|
getConfiguration(): Promise<SymptomSharkConfiguration>;
|
|
@@ -1005,21 +1455,21 @@ interface SymptomSharkLogEntryProps {
|
|
|
1005
1455
|
highlightedTreatments?: string[];
|
|
1006
1456
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
1007
1457
|
}
|
|
1008
|
-
declare function export_default$
|
|
1458
|
+
declare function export_default$u(props: SymptomSharkLogEntryProps): React.JSX.Element | null;
|
|
1009
1459
|
|
|
1010
1460
|
interface SymptomTreatmentHistogramsProps {
|
|
1011
1461
|
intervalStart?: Date;
|
|
1012
1462
|
onSymptomSelected(symptom: string, intervalStart: Date): void;
|
|
1013
1463
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
1014
1464
|
}
|
|
1015
|
-
declare function export_default$
|
|
1465
|
+
declare function export_default$t(props: SymptomTreatmentHistogramsProps): React.JSX.Element | null;
|
|
1016
1466
|
|
|
1017
1467
|
interface SymptomSeveritySummaryProps {
|
|
1018
1468
|
symptom: SymptomConfiguration;
|
|
1019
1469
|
intervalStart?: Date;
|
|
1020
1470
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
1021
1471
|
}
|
|
1022
|
-
declare function export_default$
|
|
1472
|
+
declare function export_default$s(props: SymptomSeveritySummaryProps): React.JSX.Element | null;
|
|
1023
1473
|
|
|
1024
1474
|
interface SymptomSeverityChartProps {
|
|
1025
1475
|
intervalStart?: Date;
|
|
@@ -1027,7 +1477,7 @@ interface SymptomSeverityChartProps {
|
|
|
1027
1477
|
showAllDays?: boolean;
|
|
1028
1478
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
1029
1479
|
}
|
|
1030
|
-
declare function export_default$
|
|
1480
|
+
declare function export_default$r(props: SymptomSeverityChartProps): React.JSX.Element | null;
|
|
1031
1481
|
|
|
1032
1482
|
interface SymptomTreatmentFiltersProps {
|
|
1033
1483
|
expandedDropdown: "Symptoms" | "Treatments" | null;
|
|
@@ -1039,28 +1489,28 @@ interface SymptomTreatmentFiltersProps {
|
|
|
1039
1489
|
onTreatmentsSelectionChange(treatments: string[]): void;
|
|
1040
1490
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
1041
1491
|
}
|
|
1042
|
-
declare function export_default$
|
|
1492
|
+
declare function export_default$q(props: SymptomTreatmentFiltersProps): React.JSX.Element;
|
|
1043
1493
|
|
|
1044
1494
|
interface SymptomSharkLogEntryListProps {
|
|
1045
1495
|
onDaySelected(d: Date): void;
|
|
1046
1496
|
previewState?: "default";
|
|
1047
1497
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
1048
1498
|
}
|
|
1049
|
-
declare function export_default$
|
|
1499
|
+
declare function export_default$p(props: SymptomSharkLogEntryListProps): React.JSX.Element;
|
|
1050
1500
|
|
|
1051
1501
|
interface SymptomSharkLogTodayProps {
|
|
1052
1502
|
previewState?: "withLog" | "noLog";
|
|
1053
1503
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
1054
1504
|
onClick(d: Date): void;
|
|
1055
1505
|
}
|
|
1056
|
-
declare function export_default$
|
|
1506
|
+
declare function export_default$o(props: SymptomSharkLogTodayProps): React.JSX.Element | null;
|
|
1057
1507
|
|
|
1058
1508
|
interface SymptomSharkLogEntryEditProps {
|
|
1059
1509
|
date: Date;
|
|
1060
1510
|
promptForReviewAfterDays?: number;
|
|
1061
1511
|
previewState?: "default";
|
|
1062
1512
|
}
|
|
1063
|
-
declare function export_default$
|
|
1513
|
+
declare function export_default$n(props: SymptomSharkLogEntryEditProps): React.JSX.Element;
|
|
1064
1514
|
|
|
1065
1515
|
interface SymptomSharkVisualizationCoordinatorProps {
|
|
1066
1516
|
children: React.ReactNode;
|
|
@@ -1068,7 +1518,7 @@ interface SymptomSharkVisualizationCoordinatorProps {
|
|
|
1068
1518
|
previewState?: "default";
|
|
1069
1519
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
1070
1520
|
}
|
|
1071
|
-
declare function export_default$
|
|
1521
|
+
declare function export_default$m(props: SymptomSharkVisualizationCoordinatorProps): React.JSX.Element;
|
|
1072
1522
|
|
|
1073
1523
|
interface CalendarViewProps {
|
|
1074
1524
|
colorScheme?: "light" | "dark" | "auto";
|
|
@@ -1076,7 +1526,7 @@ interface CalendarViewProps {
|
|
|
1076
1526
|
onSymptomSelected(symptom: string, intervalStart: Date): void;
|
|
1077
1527
|
previewState?: "default";
|
|
1078
1528
|
}
|
|
1079
|
-
declare function export_default$
|
|
1529
|
+
declare function export_default$l(props: CalendarViewProps): React.JSX.Element;
|
|
1080
1530
|
|
|
1081
1531
|
interface LogEntryEditViewProps {
|
|
1082
1532
|
colorScheme?: "light" | "dark" | "auto";
|
|
@@ -1084,7 +1534,7 @@ interface LogEntryEditViewProps {
|
|
|
1084
1534
|
promptForReviewAfterDays?: number;
|
|
1085
1535
|
previewState?: "default";
|
|
1086
1536
|
}
|
|
1087
|
-
declare function export_default$
|
|
1537
|
+
declare function export_default$k(props: LogEntryEditViewProps): React.JSX.Element;
|
|
1088
1538
|
|
|
1089
1539
|
interface SymptomDetailViewProps {
|
|
1090
1540
|
symptomId: string;
|
|
@@ -1092,13 +1542,13 @@ interface SymptomDetailViewProps {
|
|
|
1092
1542
|
previewState?: "default";
|
|
1093
1543
|
initialIntervalStart?: Date;
|
|
1094
1544
|
}
|
|
1095
|
-
declare function export_default$
|
|
1545
|
+
declare function export_default$j(props: SymptomDetailViewProps): React.JSX.Element;
|
|
1096
1546
|
|
|
1097
1547
|
interface AllergiesViewProps {
|
|
1098
1548
|
presentation?: "Push" | "Modal";
|
|
1099
1549
|
previewState?: "default";
|
|
1100
1550
|
}
|
|
1101
|
-
declare function export_default$
|
|
1551
|
+
declare function export_default$i(props: AllergiesViewProps): React.JSX.Element;
|
|
1102
1552
|
|
|
1103
1553
|
interface BlankViewProps {
|
|
1104
1554
|
children?: React.ReactNode;
|
|
@@ -1113,13 +1563,13 @@ interface BlankViewProps {
|
|
|
1113
1563
|
subtitleColor?: ColorDefinition;
|
|
1114
1564
|
navigationBarButtonColor?: ColorDefinition;
|
|
1115
1565
|
}
|
|
1116
|
-
declare function export_default$
|
|
1566
|
+
declare function export_default$h(props: BlankViewProps): React.JSX.Element;
|
|
1117
1567
|
|
|
1118
1568
|
interface ConditionsViewProps {
|
|
1119
1569
|
presentation?: "Push" | "Modal";
|
|
1120
1570
|
previewState?: "default";
|
|
1121
1571
|
}
|
|
1122
|
-
declare function export_default$
|
|
1572
|
+
declare function export_default$g(props: ConditionsViewProps): React.JSX.Element;
|
|
1123
1573
|
|
|
1124
1574
|
interface ConnectEhrViewProps {
|
|
1125
1575
|
externalAccountsApplicationUrl: ExternalAccountsApplicationUrl;
|
|
@@ -1130,13 +1580,13 @@ interface ConnectEhrViewProps {
|
|
|
1130
1580
|
colorScheme?: "auto" | "light" | "dark";
|
|
1131
1581
|
}
|
|
1132
1582
|
type ViewPresentationType$3 = "Modal" | "Push";
|
|
1133
|
-
declare function export_default$
|
|
1583
|
+
declare function export_default$f(props: ConnectEhrViewProps): React.JSX.Element;
|
|
1134
1584
|
|
|
1135
1585
|
interface DeviceDataViewProps {
|
|
1136
1586
|
preview?: boolean;
|
|
1137
1587
|
colorScheme?: "auto" | "light" | "dark";
|
|
1138
1588
|
}
|
|
1139
|
-
declare function export_default$
|
|
1589
|
+
declare function export_default$e(props: DeviceDataViewProps): React.JSX.Element;
|
|
1140
1590
|
|
|
1141
1591
|
interface ExternalAccountsViewProps {
|
|
1142
1592
|
excludeProviders?: boolean;
|
|
@@ -1147,7 +1597,7 @@ interface ExternalAccountsViewProps {
|
|
|
1147
1597
|
colorScheme?: "auto" | "light" | "dark";
|
|
1148
1598
|
}
|
|
1149
1599
|
type ViewPresentationType$2 = "Modal" | "Push";
|
|
1150
|
-
declare function export_default$
|
|
1600
|
+
declare function export_default$d(props: ExternalAccountsViewProps): React.JSX.Element;
|
|
1151
1601
|
|
|
1152
1602
|
interface FitbitViewProps {
|
|
1153
1603
|
connectPreview?: ConnectFitbitPreviewState;
|
|
@@ -1155,7 +1605,7 @@ interface FitbitViewProps {
|
|
|
1155
1605
|
chartsPreview?: MonthChartsPreviewState;
|
|
1156
1606
|
colorScheme?: "auto" | "light" | "dark";
|
|
1157
1607
|
}
|
|
1158
|
-
declare function export_default$
|
|
1608
|
+
declare function export_default$c(props: FitbitViewProps): React.JSX.Element;
|
|
1159
1609
|
|
|
1160
1610
|
interface GarminViewProps {
|
|
1161
1611
|
connectPreview?: ConnectGarminPreviewState;
|
|
@@ -1163,7 +1613,7 @@ interface GarminViewProps {
|
|
|
1163
1613
|
chartsPreview?: MonthChartsPreviewState;
|
|
1164
1614
|
garminProviderID?: number;
|
|
1165
1615
|
}
|
|
1166
|
-
declare function export_default$
|
|
1616
|
+
declare function export_default$b(props: GarminViewProps): React.JSX.Element;
|
|
1167
1617
|
|
|
1168
1618
|
interface HomeViewProps {
|
|
1169
1619
|
/**
|
|
@@ -1182,7 +1632,7 @@ interface HomeViewProps {
|
|
|
1182
1632
|
preview?: boolean;
|
|
1183
1633
|
colorScheme?: "auto" | "light" | "dark";
|
|
1184
1634
|
}
|
|
1185
|
-
declare function export_default$
|
|
1635
|
+
declare function export_default$a(props: HomeViewProps): React.JSX.Element;
|
|
1186
1636
|
|
|
1187
1637
|
interface HealthAndWellnessViewProps {
|
|
1188
1638
|
previewState?: "default";
|
|
@@ -1191,13 +1641,13 @@ interface HealthAndWellnessViewProps {
|
|
|
1191
1641
|
externalAccountsApplicationUrl: string;
|
|
1192
1642
|
variant?: "default" | "cardBased";
|
|
1193
1643
|
}
|
|
1194
|
-
declare function export_default$
|
|
1644
|
+
declare function export_default$9(props: HealthAndWellnessViewProps): React.JSX.Element;
|
|
1195
1645
|
|
|
1196
1646
|
interface MedicationsViewProps {
|
|
1197
1647
|
presentation?: "Push" | "Modal";
|
|
1198
1648
|
previewState?: "default";
|
|
1199
1649
|
}
|
|
1200
|
-
declare function export_default$
|
|
1650
|
+
declare function export_default$8(props: MedicationsViewProps): React.JSX.Element;
|
|
1201
1651
|
|
|
1202
1652
|
interface NotificationsViewProps {
|
|
1203
1653
|
notificationType?: NotificationType;
|
|
@@ -1206,7 +1656,7 @@ interface NotificationsViewProps {
|
|
|
1206
1656
|
colorScheme?: "auto" | "light" | "dark";
|
|
1207
1657
|
}
|
|
1208
1658
|
type ViewPresentationType$1 = "Modal" | "Push";
|
|
1209
|
-
declare function export_default$
|
|
1659
|
+
declare function export_default$7(props: NotificationsViewProps): React.JSX.Element;
|
|
1210
1660
|
|
|
1211
1661
|
interface SurveyTasksViewProps {
|
|
1212
1662
|
hideCompleteTasks?: boolean;
|
|
@@ -1217,7 +1667,7 @@ interface SurveyTasksViewProps {
|
|
|
1217
1667
|
colorScheme?: "auto" | "light" | "dark";
|
|
1218
1668
|
}
|
|
1219
1669
|
type ViewPresentationType = "Modal" | "Push";
|
|
1220
|
-
declare function export_default$
|
|
1670
|
+
declare function export_default$6(props: SurveyTasksViewProps): React.JSX.Element;
|
|
1221
1671
|
|
|
1222
1672
|
interface NewPointsEntry {
|
|
1223
1673
|
name: string;
|
|
@@ -1235,25 +1685,26 @@ interface NewPointsViewProps {
|
|
|
1235
1685
|
primaryColor?: string;
|
|
1236
1686
|
doneButtonText?: string;
|
|
1237
1687
|
}
|
|
1238
|
-
declare function export_default$
|
|
1688
|
+
declare function export_default$5(props: NewPointsViewProps): React.JSX.Element;
|
|
1239
1689
|
declare function showNewPoints(props: NewPointsViewProps, url?: string): void;
|
|
1240
1690
|
|
|
1241
1691
|
interface InboxViewProps {
|
|
1242
1692
|
previewState?: 'default';
|
|
1243
1693
|
colorScheme?: 'auto' | 'light' | 'dark';
|
|
1244
1694
|
surveyVariant?: InboxSurveyVariant;
|
|
1245
|
-
resourceImageAlignment?:
|
|
1695
|
+
resourceImageAlignment?: ResourceImageAlignment;
|
|
1246
1696
|
messageViewerUrl: string;
|
|
1247
1697
|
historyViewerUrl: string;
|
|
1698
|
+
itemCategory?: string;
|
|
1248
1699
|
}
|
|
1249
|
-
declare function export_default$
|
|
1700
|
+
declare function export_default$4(props: InboxViewProps): React.JSX.Element;
|
|
1250
1701
|
|
|
1251
1702
|
interface InboxHistoryViewProps {
|
|
1252
1703
|
previewState?: 'default';
|
|
1253
1704
|
colorScheme?: 'light' | 'dark' | 'auto';
|
|
1254
1705
|
messageViewerUrl: string;
|
|
1255
1706
|
}
|
|
1256
|
-
declare function export_default$
|
|
1707
|
+
declare function export_default$3(props: InboxHistoryViewProps): React.JSX.Element;
|
|
1257
1708
|
|
|
1258
1709
|
interface InboxMessageViewProps {
|
|
1259
1710
|
previewState?: InboxMessage;
|
|
@@ -1261,112 +1712,17 @@ interface InboxMessageViewProps {
|
|
|
1261
1712
|
resourceImageAlignment?: 'left' | 'center' | 'right';
|
|
1262
1713
|
resourceButtonText?: string;
|
|
1263
1714
|
}
|
|
1264
|
-
declare function export_default$
|
|
1265
|
-
|
|
1266
|
-
interface CelebrationStepProps {
|
|
1267
|
-
title?: string;
|
|
1268
|
-
text?: string;
|
|
1269
|
-
detailText?: string;
|
|
1270
|
-
iconUrl?: string;
|
|
1271
|
-
imageUrl?: string;
|
|
1272
|
-
nextButtonText?: string;
|
|
1273
|
-
styles: {
|
|
1274
|
-
[key: string]: any;
|
|
1275
|
-
};
|
|
1276
|
-
}
|
|
1277
|
-
declare function export_default$g(props: CelebrationStepProps): React.JSX.Element;
|
|
1278
|
-
|
|
1279
|
-
declare function export_default$f(): React.JSX.Element;
|
|
1280
|
-
|
|
1281
|
-
interface ConnectDeviceAccountStepProps {
|
|
1282
|
-
title?: string;
|
|
1283
|
-
text?: string;
|
|
1284
|
-
deviceType: string;
|
|
1285
|
-
providerID: number;
|
|
1286
|
-
styles: {
|
|
1287
|
-
[key: string]: any;
|
|
1288
|
-
};
|
|
1289
|
-
onConnect: () => void;
|
|
1290
|
-
}
|
|
1291
|
-
declare function export_default$e(props: ConnectDeviceAccountStepProps): React.JSX.Element;
|
|
1292
|
-
|
|
1293
|
-
interface ConnectDeviceAccountStepContainerProps {
|
|
1294
|
-
deviceType?: string;
|
|
1295
|
-
}
|
|
1296
|
-
declare function export_default$d(props: ConnectDeviceAccountStepContainerProps): React.JSX.Element;
|
|
1297
|
-
|
|
1298
|
-
interface ConnectEhrStepProps {
|
|
1299
|
-
title?: string;
|
|
1300
|
-
text?: string;
|
|
1301
|
-
nextButtonText?: string;
|
|
1302
|
-
nextButtonDisabled?: boolean;
|
|
1303
|
-
previewState?: ProviderSearchPreviewState;
|
|
1304
|
-
onProviderConnected: (provider: ExternalAccountProvider) => void;
|
|
1305
|
-
onNextButtonClick: () => void;
|
|
1306
|
-
styles: {
|
|
1307
|
-
[key: string]: any;
|
|
1308
|
-
};
|
|
1309
|
-
}
|
|
1310
|
-
declare function export_default$c(props: ConnectEhrStepProps): React.JSX.Element;
|
|
1311
|
-
|
|
1312
|
-
declare function export_default$b(): React.JSX.Element;
|
|
1313
|
-
|
|
1314
|
-
interface StepElementProps {
|
|
1315
|
-
text?: string;
|
|
1316
|
-
textAlign?: any;
|
|
1317
|
-
color?: string;
|
|
1318
|
-
fontSize?: string;
|
|
1319
|
-
fontWeight?: string;
|
|
1320
|
-
}
|
|
1321
|
-
interface IconElementProps {
|
|
1322
|
-
srcUrl?: string;
|
|
1323
|
-
}
|
|
1324
|
-
|
|
1325
|
-
declare function export_default$a(props: StepElementProps): React.JSX.Element | null;
|
|
1326
|
-
|
|
1327
|
-
declare function export_default$9(props: IconElementProps): React.JSX.Element | null;
|
|
1328
|
-
|
|
1329
|
-
declare function export_default$8(props: IconElementProps): React.JSX.Element | null;
|
|
1330
|
-
|
|
1331
|
-
interface StepLayoutProps {
|
|
1332
|
-
children?: React.ReactNode;
|
|
1333
|
-
}
|
|
1334
|
-
declare function export_default$7(props: StepLayoutProps): React.JSX.Element;
|
|
1335
|
-
|
|
1336
|
-
interface StepMarkdownProps {
|
|
1337
|
-
text: string;
|
|
1338
|
-
inline?: boolean;
|
|
1339
|
-
}
|
|
1340
|
-
declare function export_default$6(props: StepMarkdownProps): React.JSX.Element;
|
|
1341
|
-
|
|
1342
|
-
interface StepNextButtonProps extends StepElementProps {
|
|
1343
|
-
backgroundColor: string;
|
|
1344
|
-
letterSpacing: string;
|
|
1345
|
-
textTransform: string;
|
|
1346
|
-
gradient: any;
|
|
1347
|
-
disabled?: boolean;
|
|
1348
|
-
onClick(): void;
|
|
1349
|
-
}
|
|
1350
|
-
declare function export_default$5(props: StepNextButtonProps): React.JSX.Element;
|
|
1351
|
-
|
|
1352
|
-
declare function export_default$4(props: StepElementProps): React.JSX.Element | null;
|
|
1715
|
+
declare function export_default$2(props: InboxMessageViewProps): React.JSX.Element;
|
|
1353
1716
|
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
title
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
nextButtonText?: string;
|
|
1362
|
-
height?: string;
|
|
1363
|
-
styles: {
|
|
1364
|
-
[key: string]: any;
|
|
1365
|
-
};
|
|
1717
|
+
interface ResourceListViewProps {
|
|
1718
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
1719
|
+
previewState?: ResourceListPreviewState;
|
|
1720
|
+
title: string;
|
|
1721
|
+
resources: ResourceDefinition[];
|
|
1722
|
+
emptyText?: string;
|
|
1723
|
+
resourceImageAlignment?: ResourceImageAlignment;
|
|
1366
1724
|
}
|
|
1367
|
-
declare function export_default$
|
|
1368
|
-
|
|
1369
|
-
declare function export_default$1(): React.JSX.Element;
|
|
1725
|
+
declare function export_default$1(props: ResourceListViewProps): React.JSX.Element;
|
|
1370
1726
|
|
|
1371
1727
|
declare function export_default(callback: Function, delay: number | null): void;
|
|
1372
1728
|
|
|
@@ -1374,4 +1730,6 @@ declare function language(key: string): string;
|
|
|
1374
1730
|
|
|
1375
1731
|
declare function getDayKey(date: Date): string;
|
|
1376
1732
|
|
|
1377
|
-
|
|
1733
|
+
declare function useInitializeView(initialize: () => void, additionalEvents?: EventName[], dependencies?: DependencyList): void;
|
|
1734
|
+
|
|
1735
|
+
export { export_default$1o as Action, export_default$1n as ActivityMeter, export_default$1W as AllergiesList, export_default$i as AllergiesView, export_default$1V as AppDownload, AreaChartOptions, AsthmaActionPlan, export_default$2c as AsthmaActionPlanManager, export_default$22 as AsthmaActionPlanView, export_default$21 as AsthmaActivityView, export_default$2b as AsthmaAirQualities, AsthmaAirQualitiesPreviewState, AsthmaAirQuality, AsthmaAirQualityType, export_default$20 as AsthmaAirQualityView, export_default$2a as AsthmaAlertTakeoverNotice, export_default$29 as AsthmaAlertTakeoverTrigger, export_default$1$ as AsthmaAlertTakeoverView, AsthmaBiometric, AsthmaBiometricType, export_default$28 as AsthmaBiometrics, AsthmaBiometricsPreviewState, export_default$27 as AsthmaControlCalendar, AsthmaControlCalendarPreviewState, AsthmaControlCalendarVariant, AsthmaControlMetrics, AsthmaControlState, AsthmaControlStatus, export_default$26 as AsthmaControlStatusHeader, AsthmaDailyDataType, AsthmaDataStatus, export_default$1_ as AsthmaDayView, export_default$1Z as AsthmaHeartAndLungsView, AsthmaImpact, AsthmaLogEntry, export_default$25 as AsthmaLogEntryDetails, AsthmaLogEntryDetailsPreviewState, export_default$1Y as AsthmaLogEntryEditorView, AsthmaLogEntryEditorViewPreviewState, export_default$24 as AsthmaLogEntryHeader, AsthmaParticipant, export_default$23 as AsthmaPostEnrollmentSurveyTrigger, export_default$1X as AsthmaSleepView, AsthmaSymptom, AsthmaSymptomLevel, AsthmaTrigger, BarChartOptions, export_default$h as BlankView, BloodPressureDataPoint, export_default$1T as BloodPressureVisualization, export_default$1s as Button, export_default$1m as Calendar, export_default$1l as CalendarDay, CalendarDayStateConfiguration, export_default$1k as Card, export_default$1j as CardTitle, export_default$M as CelebrationStep, export_default$L as CelebrationStepContainer, ColorDefinition, export_default$1S as ConditionsList, export_default$g as ConditionsView, export_default$K as ConnectDeviceAccountStep, export_default$J as ConnectDeviceAccountStepContainer, export_default$1R as ConnectDevicesMenu, export_default$1Q as ConnectEhr, export_default$I as ConnectEhrStep, export_default$H as ConnectEhrStepContainer, export_default$f as ConnectEhrView, export_default$1P as ConnectFitbit, export_default$1O as ConnectGarmin, DailyDataAvailabilityCheck, DailyDataChart, DailyDataProvider, DailyDataQueryResult, DailyDataType, DailyLogEntry, DateRangeContext, DateRangeNavigatorContext as DateRangeCoordinator, export_default$1i as DateRangeNavigator, export_default$1h as DayTrackerSymbol, DeviceDataChartLine, export_default$1N as DeviceDataMonthChart, export_default$1M as DeviceDataMonthCharts, export_default$e as DeviceDataView, export_default$1g as DumbbellChart, export_default$1L as ExternalAccountList, export_default$1K as ExternalAccountsLoadingIndicator, export_default$1J as ExternalAccountsPreview, export_default$d as ExternalAccountsView, export_default$1f as Face, export_default$1I as FitbitDevices, export_default$1H as FitbitMonthCharts, export_default$c as FitbitView, export_default$1G as GarminDevices, export_default$1F as GarminMonthCharts, export_default$b as GarminView, export_default$9 as HealthAndWellnessView, export_default$1E as HealthPreviewSection, export_default$1e as Histogram, export_default$a as HomeView, export_default$S as InboxCompletedListItem, export_default$3 as InboxHistoryView, export_default$O as InboxItemList, export_default$N as InboxItemListCoordinator, export_default$R as InboxMessageListItem, export_default$2 as InboxMessageView, export_default$Q as InboxResourceListItem, export_default$P as InboxSurveyListItem, InboxSurveyVariant, export_default$4 as InboxView, export_default$1D as LabResultsSummary, export_default$1d as Layout, LayoutContext, LineChartOptions, LoadingIndicator, export_default$1C as MedicationsList, export_default$8 as MedicationsView, export_default$1B as MostRecentNotification, export_default$1c as NavigationBar, NewPointsEntry, export_default$5 as NewPointsView, NewPointsViewProps, export_default$1b as NotesInput, export_default$1A as NotificationList, export_default$7 as NotificationsView, export_default$1z as PlatformSpecificContent, ProgressBar, ProgressBarStep, export_default$1a as ProgressRing, export_default$1y as ProjectHeader, export_default$1x as ProjectSupport, export_default$1w as ProviderSearch, export_default$1v as RecentDailyDataBarChart, export_default$1u as RelativeActivityToday, export_default$19 as Resource, ResourceDefinition, ResourceImageAlignment, export_default$18 as ResourceList, ResourceListPreviewState, export_default$1 as ResourceListView, export_default$1t as RestingHeartRateCalendar, export_default$17 as RotatingComponentCoordinator, RotatingComponentInterval, export_default$16 as Section, export_default$15 as SegmentedControl, export_default$1q as SeverityCalendar, export_default$14 as ShinyOverlay, export_default$13 as SingleDataPoint, export_default$12 as SingleExternalAccount, export_default$11 as SingleNotification, export_default$10 as SingleSurveyTask, export_default$$ as SparkBarChart, SparkBarChartBar, StatusBarBackgroundProps as StatusBarBackground, export_default$G as StepDetailText, export_default$E as StepImage, export_default$F as StepImageIcon, export_default$D as StepLayout, export_default$C as StepMarkdown, export_default$B as StepNextButton, export_default$A as StepText, export_default$z as StepTitle, SurveyBloodPressureDataParameters, export_default$1r as SurveyTaskList, export_default$6 as SurveyTasksView, export_default$_ as Switch, SymptomConfiguration, SymptomReference, export_default$w as SymptomSharkCalendar, export_default$l as SymptomSharkCalendarView, SymptomSharkConfiguration, SymptomSharkDataService, export_default$u as SymptomSharkLogEntry, export_default$n as SymptomSharkLogEntryEdit, export_default$k as SymptomSharkLogEntryEditView, export_default$p as SymptomSharkLogEntryList, export_default$o as SymptomSharkLogToday, export_default$v as SymptomSharkOverallExperienceChart, export_default$j as SymptomSharkSymptomDetailView, export_default$r as SymptomSharkSymptomSeverityChart, export_default$s as SymptomSharkSymptomSeveritySummary, export_default$q as SymptomSharkSymptomTreatmentFilters, export_default$t as SymptomSharkSymptomTreatmentHistograms, export_default$m as SymptomSharkVisualizationCoordinator, export_default$Z as TextBlock, export_default$Y as Title, export_default$X as TrackerItem, TreatmentConfiguration, TreatmentReference, export_default$W as UnstyledButton, export_default$V as ValueSelector, export_default$1p as ViewEhr, export_default$U as ViewHeader, export_default$T as WeekCalendar, WeekStartsOn, export_default$y as YouTubeStep, export_default$x as YouTubeStepContainer, service as asthmaDataService, export_default$1U as bloodPressureDataProvider, checkDailyDataAvailability, computeAsthmaControlState, convertToSymptomSharkConfiguration, dateToAsthmaLogEntryIdentifier, getAsthmaDataStatusColor, getAsthmaDataStatusText, getAsthmaImpactTexts, getAsthmaImpacts, getAsthmaSymptomLevel, getAsthmaSymptomLevelText, getAsthmaSymptomTexts, getAsthmaSymptoms, getAsthmaTriggerTexts, getAsthmaTriggers, getDayKey, getMonthStart, getWeekStart, isBloodOxygenLevelWithinRange, isDaytimeRestingHeartRateWithinRange, isNighttimeRestingHeartRateWithinRange, isRespiratoryRateWithinRange, isSleepDisturbancesWithinRange, isStepsWithinRange, language, queryDailyData, registerDailyDataProvider, resolveColor, showNewPoints, simpleAvailabilityCheck, useInitializeView, export_default as useInterval };
|