@careevolution/mydatahelps-ui 2.6.1 → 2.7.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 +9 -9
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/container/ConnectDevicesMenu/ConnectDevicesMenu.d.ts +12 -0
- package/dist/cjs/types/components/container/ConnectDevicesMenu/ConnectDevicesMenu.previewdata.d.ts +3 -0
- package/dist/cjs/types/components/container/ConnectDevicesMenu/ConnectDevicesMenu.stories.d.ts +56 -0
- package/dist/cjs/types/components/container/ConnectDevicesMenu/index.d.ts +1 -0
- package/dist/cjs/types/components/container/ProviderSearch/ProviderSearch.d.ts +1 -2
- package/dist/cjs/types/components/container/index.d.ts +1 -0
- package/dist/cjs/types/components/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/Action/Action.d.ts +2 -1
- package/dist/cjs/types/components/presentational/Button/Button.d.ts +0 -4
- package/dist/cjs/types/components/presentational/Calendar/Calendar.d.ts +1 -0
- package/dist/cjs/types/components/presentational/Card/Card.d.ts +1 -0
- package/dist/cjs/types/components/presentational/Card/Card.stories.d.ts +38 -0
- package/dist/cjs/types/components/presentational/DateRangeCoordinator/DateRangeCoordinator.d.ts +1 -0
- package/dist/cjs/types/components/presentational/DayTrackerSymbol/DayTrackerSymbol.d.ts +1 -0
- package/dist/cjs/types/components/presentational/NotesInput/NotesInput.d.ts +9 -0
- package/dist/cjs/types/components/presentational/NotesInput/NotesInput.stories.d.ts +12 -0
- package/dist/cjs/types/components/presentational/NotesInput/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/SegmentedControl/SegmentedControl.d.ts +3 -2
- package/dist/cjs/types/components/presentational/Title/Title.d.ts +9 -0
- package/dist/cjs/types/components/presentational/Title/Title.stories.d.ts +52 -0
- package/dist/cjs/types/components/presentational/Title/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/TrackerItem/TrackerItem.d.ts +1 -0
- package/dist/cjs/types/components/presentational/index.d.ts +2 -0
- package/dist/cjs/types/components/step/ConnectDeviceAccountStep/ConnectDeviceAccountStep.d.ts +1 -0
- package/dist/cjs/types/components/step/ConnectDeviceAccountStepContainer/ConnectDeviceAccountStepContainer.d.ts +4 -1
- package/dist/cjs/types/components/step/ConnectEhrStep/ConnectEhrStep.d.ts +2 -1
- package/dist/cjs/types/components/symptom-shark/container/LogEntryEdit/LogEntryEdit.d.ts +8 -0
- package/dist/cjs/types/components/symptom-shark/container/LogEntryEdit/LogEntryEdit.stories.d.ts +17 -0
- package/dist/cjs/types/components/symptom-shark/container/LogEntryEdit/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/container/LogEntryList/LogEntryList.d.ts +7 -0
- package/dist/cjs/types/components/symptom-shark/container/LogEntryList/LogEntryList.stories.d.ts +16 -0
- package/dist/cjs/types/components/symptom-shark/container/LogEntryList/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/container/LogToday/LogToday.d.ts +6 -0
- package/dist/cjs/types/components/symptom-shark/container/LogToday/LogToday.previewData.d.ts +3 -0
- package/dist/cjs/types/components/symptom-shark/container/LogToday/LogToday.stories.d.ts +22 -0
- package/dist/cjs/types/components/symptom-shark/container/LogToday/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/container/VisualizationCoordinator/VisualizationCoordinator.d.ts +18 -0
- package/dist/cjs/types/components/symptom-shark/container/VisualizationCoordinator/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/container/index.d.ts +4 -0
- package/dist/cjs/types/components/symptom-shark/helpers/demo-data.d.ts +6 -0
- package/dist/cjs/types/components/symptom-shark/helpers/symptom-shark-data.d.ts +45 -0
- package/dist/cjs/types/components/symptom-shark/index.d.ts +4 -0
- package/dist/cjs/types/components/symptom-shark/presentational/Calendar/Calendar.d.ts +8 -0
- package/dist/cjs/types/components/symptom-shark/presentational/Calendar/Calendar.stories.d.ts +14 -0
- package/dist/cjs/types/components/symptom-shark/presentational/Calendar/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/presentational/LogEntry/LogEntry.d.ts +17 -0
- package/dist/cjs/types/components/symptom-shark/presentational/LogEntry/LogEntry.stories.d.ts +88 -0
- package/dist/cjs/types/components/symptom-shark/presentational/LogEntry/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/presentational/OverallExperienceChart/OverallExperienceChart.d.ts +8 -0
- package/dist/cjs/types/components/symptom-shark/presentational/OverallExperienceChart/OverallExperienceChart.stories.d.ts +13 -0
- package/dist/cjs/types/components/symptom-shark/presentational/OverallExperienceChart/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/presentational/SymptomSeverityChart/SymptomSeverityChart.d.ts +10 -0
- package/dist/cjs/types/components/symptom-shark/presentational/SymptomSeverityChart/SymptomSeverityChart.stories.d.ts +22 -0
- package/dist/cjs/types/components/symptom-shark/presentational/SymptomSeverityChart/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/presentational/SymptomSeveritySummary/SymptomSeveritySummary.d.ts +9 -0
- package/dist/cjs/types/components/symptom-shark/presentational/SymptomSeveritySummary/SymptomSeveritySummary.stories.d.ts +14 -0
- package/dist/cjs/types/components/symptom-shark/presentational/SymptomSeveritySummary/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/presentational/SymptomTreatmentFilters/SymptomTreatmentFilters.d.ts +14 -0
- package/dist/cjs/types/components/symptom-shark/presentational/SymptomTreatmentFilters/SymptomTreatmentFilters.stories.d.ts +11 -0
- package/dist/cjs/types/components/symptom-shark/presentational/SymptomTreatmentFilters/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/presentational/SymptomTreatmentHistograms/SymptomTreatmentHistograms.d.ts +8 -0
- package/dist/cjs/types/components/symptom-shark/presentational/SymptomTreatmentHistograms/SymptomTreatmentHistograms.stories.d.ts +14 -0
- package/dist/cjs/types/components/symptom-shark/presentational/SymptomTreatmentHistograms/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/presentational/index.d.ts +7 -0
- package/dist/cjs/types/components/symptom-shark/view/CalendarView/CalendarView.d.ts +8 -0
- package/dist/cjs/types/components/symptom-shark/view/CalendarView/CalendarView.stories.d.ts +13 -0
- package/dist/cjs/types/components/symptom-shark/view/CalendarView/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/view/LogEntryEditView/LogEntryEditView.d.ts +8 -0
- package/dist/cjs/types/components/symptom-shark/view/LogEntryEditView/LogEntryEditView.stories.d.ts +17 -0
- package/dist/cjs/types/components/symptom-shark/view/LogEntryEditView/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/view/SymptomDetailView/SymptomDetailView.d.ts +8 -0
- package/dist/cjs/types/components/symptom-shark/view/SymptomDetailView/SymptomDetailView.stories.d.ts +16 -0
- package/dist/cjs/types/components/symptom-shark/view/SymptomDetailView/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/view/index.d.ts +3 -0
- package/dist/cjs/types/helpers/date-helpers.d.ts +6 -0
- package/dist/cjs/types/helpers/providerIDs.d.ts +3 -0
- package/dist/esm/index.js +9 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/container/ConnectDevicesMenu/ConnectDevicesMenu.d.ts +12 -0
- package/dist/esm/types/components/container/ConnectDevicesMenu/ConnectDevicesMenu.previewdata.d.ts +3 -0
- package/dist/esm/types/components/container/ConnectDevicesMenu/ConnectDevicesMenu.stories.d.ts +56 -0
- package/dist/esm/types/components/container/ConnectDevicesMenu/index.d.ts +1 -0
- package/dist/esm/types/components/container/ProviderSearch/ProviderSearch.d.ts +1 -2
- package/dist/esm/types/components/container/index.d.ts +1 -0
- package/dist/esm/types/components/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/Action/Action.d.ts +2 -1
- package/dist/esm/types/components/presentational/Button/Button.d.ts +0 -4
- package/dist/esm/types/components/presentational/Calendar/Calendar.d.ts +1 -0
- package/dist/esm/types/components/presentational/Card/Card.d.ts +1 -0
- package/dist/esm/types/components/presentational/Card/Card.stories.d.ts +38 -0
- package/dist/esm/types/components/presentational/DateRangeCoordinator/DateRangeCoordinator.d.ts +1 -0
- package/dist/esm/types/components/presentational/DayTrackerSymbol/DayTrackerSymbol.d.ts +1 -0
- package/dist/esm/types/components/presentational/NotesInput/NotesInput.d.ts +9 -0
- package/dist/esm/types/components/presentational/NotesInput/NotesInput.stories.d.ts +12 -0
- package/dist/esm/types/components/presentational/NotesInput/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/SegmentedControl/SegmentedControl.d.ts +3 -2
- package/dist/esm/types/components/presentational/Title/Title.d.ts +9 -0
- package/dist/esm/types/components/presentational/Title/Title.stories.d.ts +52 -0
- package/dist/esm/types/components/presentational/Title/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/TrackerItem/TrackerItem.d.ts +1 -0
- package/dist/esm/types/components/presentational/index.d.ts +2 -0
- package/dist/esm/types/components/step/ConnectDeviceAccountStep/ConnectDeviceAccountStep.d.ts +1 -0
- package/dist/esm/types/components/step/ConnectDeviceAccountStepContainer/ConnectDeviceAccountStepContainer.d.ts +4 -1
- package/dist/esm/types/components/step/ConnectEhrStep/ConnectEhrStep.d.ts +2 -1
- package/dist/esm/types/components/symptom-shark/container/LogEntryEdit/LogEntryEdit.d.ts +8 -0
- package/dist/esm/types/components/symptom-shark/container/LogEntryEdit/LogEntryEdit.stories.d.ts +17 -0
- package/dist/esm/types/components/symptom-shark/container/LogEntryEdit/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/container/LogEntryList/LogEntryList.d.ts +7 -0
- package/dist/esm/types/components/symptom-shark/container/LogEntryList/LogEntryList.stories.d.ts +16 -0
- package/dist/esm/types/components/symptom-shark/container/LogEntryList/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/container/LogToday/LogToday.d.ts +6 -0
- package/dist/esm/types/components/symptom-shark/container/LogToday/LogToday.previewData.d.ts +3 -0
- package/dist/esm/types/components/symptom-shark/container/LogToday/LogToday.stories.d.ts +22 -0
- package/dist/esm/types/components/symptom-shark/container/LogToday/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/container/VisualizationCoordinator/VisualizationCoordinator.d.ts +18 -0
- package/dist/esm/types/components/symptom-shark/container/VisualizationCoordinator/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/container/index.d.ts +4 -0
- package/dist/esm/types/components/symptom-shark/helpers/demo-data.d.ts +6 -0
- package/dist/esm/types/components/symptom-shark/helpers/symptom-shark-data.d.ts +45 -0
- package/dist/esm/types/components/symptom-shark/index.d.ts +4 -0
- package/dist/esm/types/components/symptom-shark/presentational/Calendar/Calendar.d.ts +8 -0
- package/dist/esm/types/components/symptom-shark/presentational/Calendar/Calendar.stories.d.ts +14 -0
- package/dist/esm/types/components/symptom-shark/presentational/Calendar/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/presentational/LogEntry/LogEntry.d.ts +17 -0
- package/dist/esm/types/components/symptom-shark/presentational/LogEntry/LogEntry.stories.d.ts +88 -0
- package/dist/esm/types/components/symptom-shark/presentational/LogEntry/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/presentational/OverallExperienceChart/OverallExperienceChart.d.ts +8 -0
- package/dist/esm/types/components/symptom-shark/presentational/OverallExperienceChart/OverallExperienceChart.stories.d.ts +13 -0
- package/dist/esm/types/components/symptom-shark/presentational/OverallExperienceChart/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/presentational/SymptomSeverityChart/SymptomSeverityChart.d.ts +10 -0
- package/dist/esm/types/components/symptom-shark/presentational/SymptomSeverityChart/SymptomSeverityChart.stories.d.ts +22 -0
- package/dist/esm/types/components/symptom-shark/presentational/SymptomSeverityChart/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/presentational/SymptomSeveritySummary/SymptomSeveritySummary.d.ts +9 -0
- package/dist/esm/types/components/symptom-shark/presentational/SymptomSeveritySummary/SymptomSeveritySummary.stories.d.ts +14 -0
- package/dist/esm/types/components/symptom-shark/presentational/SymptomSeveritySummary/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/presentational/SymptomTreatmentFilters/SymptomTreatmentFilters.d.ts +14 -0
- package/dist/esm/types/components/symptom-shark/presentational/SymptomTreatmentFilters/SymptomTreatmentFilters.stories.d.ts +11 -0
- package/dist/esm/types/components/symptom-shark/presentational/SymptomTreatmentFilters/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/presentational/SymptomTreatmentHistograms/SymptomTreatmentHistograms.d.ts +8 -0
- package/dist/esm/types/components/symptom-shark/presentational/SymptomTreatmentHistograms/SymptomTreatmentHistograms.stories.d.ts +14 -0
- package/dist/esm/types/components/symptom-shark/presentational/SymptomTreatmentHistograms/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/presentational/index.d.ts +7 -0
- package/dist/esm/types/components/symptom-shark/view/CalendarView/CalendarView.d.ts +8 -0
- package/dist/esm/types/components/symptom-shark/view/CalendarView/CalendarView.stories.d.ts +13 -0
- package/dist/esm/types/components/symptom-shark/view/CalendarView/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/view/LogEntryEditView/LogEntryEditView.d.ts +8 -0
- package/dist/esm/types/components/symptom-shark/view/LogEntryEditView/LogEntryEditView.stories.d.ts +17 -0
- package/dist/esm/types/components/symptom-shark/view/LogEntryEditView/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/view/SymptomDetailView/SymptomDetailView.d.ts +8 -0
- package/dist/esm/types/components/symptom-shark/view/SymptomDetailView/SymptomDetailView.stories.d.ts +16 -0
- package/dist/esm/types/components/symptom-shark/view/SymptomDetailView/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/view/index.d.ts +3 -0
- package/dist/esm/types/helpers/date-helpers.d.ts +6 -0
- package/dist/esm/types/helpers/providerIDs.d.ts +3 -0
- package/dist/index.d.ts +254 -62
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactElement, MouseEventHandler } from 'react';
|
|
2
2
|
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
3
|
-
import { StatusBarStyle, ExternalAccount, Notification, SurveyTask, ExternalAccountStatus, NotificationType, ExternalAccountProvider, SurveyTaskStatus } from '@careevolution/mydatahelps-js';
|
|
3
|
+
import { StatusBarStyle, ExternalAccount, Notification, SurveyTask, ExternalAccountStatus, NotificationType, ExternalAccountProvider, SurveyTaskStatus, ParticipantInfo } from '@careevolution/mydatahelps-js';
|
|
4
4
|
import { IconDefinition as IconDefinition$1 } from '@fortawesome/fontawesome-common-types';
|
|
5
5
|
|
|
6
6
|
interface ActionProps {
|
|
@@ -9,7 +9,8 @@ interface ActionProps {
|
|
|
9
9
|
icon?: ReactElement;
|
|
10
10
|
subtitle?: string;
|
|
11
11
|
indicatorIcon?: IconDefinition;
|
|
12
|
-
|
|
12
|
+
indicator?: ReactElement;
|
|
13
|
+
onClick?: Function;
|
|
13
14
|
children?: React.ReactNode;
|
|
14
15
|
className?: string;
|
|
15
16
|
indicatorValue?: string;
|
|
@@ -17,7 +18,7 @@ interface ActionProps {
|
|
|
17
18
|
bottomBorder?: boolean;
|
|
18
19
|
innerRef?: React.Ref<HTMLButtonElement>;
|
|
19
20
|
}
|
|
20
|
-
declare function export_default$
|
|
21
|
+
declare function export_default$1s(props: ActionProps): React.JSX.Element;
|
|
21
22
|
|
|
22
23
|
interface ActivityMeterProps {
|
|
23
24
|
label: string;
|
|
@@ -30,14 +31,10 @@ interface ActivityMeterProps {
|
|
|
30
31
|
className?: string;
|
|
31
32
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
32
33
|
}
|
|
33
|
-
declare function export_default$
|
|
34
|
+
declare function export_default$1r(props: ActivityMeterProps): React.JSX.Element;
|
|
34
35
|
|
|
35
36
|
interface ButtonProps {
|
|
36
37
|
children?: React.ReactNode;
|
|
37
|
-
/**
|
|
38
|
-
* Notification Type to display for the most recent notification
|
|
39
|
-
* @default Push
|
|
40
|
-
* */
|
|
41
38
|
disabled?: boolean;
|
|
42
39
|
onClick: Function;
|
|
43
40
|
className?: string;
|
|
@@ -46,24 +43,26 @@ interface ButtonProps {
|
|
|
46
43
|
variant?: "default" | "subtle" | "light";
|
|
47
44
|
innerRef?: React.Ref<HTMLButtonElement>;
|
|
48
45
|
}
|
|
49
|
-
declare function export_default$
|
|
46
|
+
declare function export_default$1q(props: ButtonProps): React.JSX.Element;
|
|
50
47
|
|
|
51
48
|
interface CalendarProps {
|
|
52
49
|
month: number;
|
|
53
50
|
year: number;
|
|
54
51
|
dayRenderer(year: number, month: number, day?: number): JSX.Element | null;
|
|
55
52
|
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
53
|
+
className?: string;
|
|
56
54
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
57
55
|
}
|
|
58
|
-
declare function export_default$
|
|
56
|
+
declare function export_default$1p(props: CalendarProps): React.JSX.Element;
|
|
59
57
|
|
|
60
58
|
interface CardProps {
|
|
61
59
|
className?: string;
|
|
62
60
|
children?: React.ReactNode;
|
|
63
61
|
allowOverflow?: boolean;
|
|
64
62
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
63
|
+
variant?: "default" | "subtle" | "highlight";
|
|
65
64
|
}
|
|
66
|
-
declare function export_default$
|
|
65
|
+
declare function export_default$1o(props: CardProps): React.JSX.Element | null;
|
|
67
66
|
|
|
68
67
|
interface CardTitleProps {
|
|
69
68
|
title: string;
|
|
@@ -71,13 +70,14 @@ interface CardTitleProps {
|
|
|
71
70
|
detailLinkText?: string;
|
|
72
71
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
73
72
|
}
|
|
74
|
-
declare function export_default$
|
|
73
|
+
declare function export_default$1n(props: CardTitleProps): React.JSX.Element;
|
|
75
74
|
|
|
76
75
|
declare type WeekStartsOn = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "6DaysAgo" | "7DaysAgo";
|
|
77
76
|
declare function getWeekStart(weekStartsOn?: WeekStartsOn): Date;
|
|
78
77
|
declare function getMonthStart(): Date;
|
|
79
78
|
|
|
80
79
|
interface DateRangeCoordinatorProps {
|
|
80
|
+
initialIntervalStart?: Date;
|
|
81
81
|
intervalType: "Week" | "Month";
|
|
82
82
|
weekStartsOn?: WeekStartsOn;
|
|
83
83
|
variant?: "default" | "rounded";
|
|
@@ -94,15 +94,16 @@ interface DateRangeNavigatorProps {
|
|
|
94
94
|
className?: string;
|
|
95
95
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
96
96
|
}
|
|
97
|
-
declare function export_default$
|
|
97
|
+
declare function export_default$1m(props: DateRangeNavigatorProps): React.JSX.Element;
|
|
98
98
|
|
|
99
99
|
interface DayTrackerSymbolProps {
|
|
100
100
|
primaryColors: string[];
|
|
101
101
|
secondaryColors: string[];
|
|
102
102
|
className?: string;
|
|
103
|
+
size?: "small" | "large";
|
|
103
104
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
104
105
|
}
|
|
105
|
-
declare function export_default$
|
|
106
|
+
declare function export_default$1l(props: DayTrackerSymbolProps): React.JSX.Element;
|
|
106
107
|
|
|
107
108
|
interface FaceProps {
|
|
108
109
|
faceValue?: number;
|
|
@@ -111,7 +112,7 @@ interface FaceProps {
|
|
|
111
112
|
className?: string;
|
|
112
113
|
innerRef?: React.Ref<HTMLButtonElement>;
|
|
113
114
|
}
|
|
114
|
-
declare function export_default$
|
|
115
|
+
declare function export_default$1k(props: FaceProps): React.JSX.Element;
|
|
115
116
|
|
|
116
117
|
interface HistogramProps {
|
|
117
118
|
entries: {
|
|
@@ -123,7 +124,7 @@ interface HistogramProps {
|
|
|
123
124
|
className?: string;
|
|
124
125
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
125
126
|
}
|
|
126
|
-
declare function export_default$
|
|
127
|
+
declare function export_default$1j(props: HistogramProps): React.JSX.Element;
|
|
127
128
|
|
|
128
129
|
interface LayoutProps {
|
|
129
130
|
children?: React.ReactNode;
|
|
@@ -144,7 +145,7 @@ interface LayoutContext {
|
|
|
144
145
|
bodyBackgroundColor: string;
|
|
145
146
|
}
|
|
146
147
|
declare const LayoutContext: React.Context<LayoutContext>;
|
|
147
|
-
declare function export_default$
|
|
148
|
+
declare function export_default$1i(props: LayoutProps): React.JSX.Element;
|
|
148
149
|
|
|
149
150
|
interface LoadingIndicatorProps {
|
|
150
151
|
variant?: "default" | "inline";
|
|
@@ -165,7 +166,15 @@ interface NavigationBarProps {
|
|
|
165
166
|
className?: string;
|
|
166
167
|
variant?: "default" | "compressed";
|
|
167
168
|
}
|
|
168
|
-
declare function export_default$
|
|
169
|
+
declare function export_default$1h(props: NavigationBarProps): React.JSX.Element;
|
|
170
|
+
|
|
171
|
+
interface NotesInputProps {
|
|
172
|
+
autoTimestamp?: boolean;
|
|
173
|
+
placeholder?: string;
|
|
174
|
+
onChange(value: string): void;
|
|
175
|
+
value: string;
|
|
176
|
+
}
|
|
177
|
+
declare function export_default$1g(props: NotesInputProps): React.JSX.Element;
|
|
169
178
|
|
|
170
179
|
interface SectionProps {
|
|
171
180
|
children?: React.ReactNode;
|
|
@@ -173,22 +182,23 @@ interface SectionProps {
|
|
|
173
182
|
noTopMargin?: boolean;
|
|
174
183
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
175
184
|
}
|
|
176
|
-
declare function export_default
|
|
185
|
+
declare function export_default$1f(props: SectionProps): React.JSX.Element | null;
|
|
177
186
|
|
|
178
187
|
interface SegmentedControlProps {
|
|
179
188
|
segments: {
|
|
180
189
|
key: string;
|
|
181
190
|
title: string;
|
|
182
191
|
}[];
|
|
183
|
-
selectedSegment
|
|
184
|
-
onSegmentSelected:
|
|
192
|
+
selectedSegment?: string;
|
|
193
|
+
onSegmentSelected(segmentKey: string): void;
|
|
185
194
|
className?: string;
|
|
186
195
|
color?: string;
|
|
196
|
+
variant?: "default" | "optionsHorizontal" | "optionsVertical";
|
|
187
197
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
188
198
|
}
|
|
189
|
-
declare function export_default$
|
|
199
|
+
declare function export_default$1e(props: SegmentedControlProps): React.JSX.Element;
|
|
190
200
|
|
|
191
|
-
declare function export_default$
|
|
201
|
+
declare function export_default$1d(): React.JSX.Element;
|
|
192
202
|
|
|
193
203
|
interface SingleExternalAccountProps {
|
|
194
204
|
externalAccount: ExternalAccount;
|
|
@@ -196,13 +206,13 @@ interface SingleExternalAccountProps {
|
|
|
196
206
|
onReconnectAccount: (account: ExternalAccount) => void;
|
|
197
207
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
198
208
|
}
|
|
199
|
-
declare function export_default$
|
|
209
|
+
declare function export_default$1c(props: SingleExternalAccountProps): React.JSX.Element;
|
|
200
210
|
|
|
201
211
|
interface SingleNotificationProps {
|
|
202
212
|
notification: Notification;
|
|
203
213
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
204
214
|
}
|
|
205
|
-
declare function export_default$
|
|
215
|
+
declare function export_default$1b(props: SingleNotificationProps): React.JSX.Element;
|
|
206
216
|
|
|
207
217
|
interface SingleSurveyTaskProps {
|
|
208
218
|
task: SurveyTask;
|
|
@@ -210,7 +220,7 @@ interface SingleSurveyTaskProps {
|
|
|
210
220
|
disableClick?: boolean;
|
|
211
221
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
212
222
|
}
|
|
213
|
-
declare function export_default$
|
|
223
|
+
declare function export_default$1a(props: SingleSurveyTaskProps): React.JSX.Element | null;
|
|
214
224
|
|
|
215
225
|
interface SparkBarChartProps {
|
|
216
226
|
averageFillPercent: number;
|
|
@@ -221,7 +231,7 @@ interface SparkBarChartBar {
|
|
|
221
231
|
color: string;
|
|
222
232
|
barFillPercent: number;
|
|
223
233
|
}
|
|
224
|
-
declare function export_default$
|
|
234
|
+
declare function export_default$19(props: SparkBarChartProps): React.JSX.Element;
|
|
225
235
|
|
|
226
236
|
interface SwitchProps {
|
|
227
237
|
isOn: Boolean;
|
|
@@ -230,7 +240,7 @@ interface SwitchProps {
|
|
|
230
240
|
className?: string;
|
|
231
241
|
innerRef?: React.Ref<HTMLButtonElement>;
|
|
232
242
|
}
|
|
233
|
-
declare function export_default$
|
|
243
|
+
declare function export_default$18(props: SwitchProps): React.JSX.Element;
|
|
234
244
|
|
|
235
245
|
interface StatusBarBackgroundProps {
|
|
236
246
|
color?: string;
|
|
@@ -243,7 +253,15 @@ interface TextBlockProps {
|
|
|
243
253
|
className?: string;
|
|
244
254
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
245
255
|
}
|
|
246
|
-
declare function export_default$
|
|
256
|
+
declare function export_default$17(props: TextBlockProps): React.JSX.Element | null;
|
|
257
|
+
|
|
258
|
+
interface TitleProps {
|
|
259
|
+
order?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
260
|
+
children?: React.ReactNode;
|
|
261
|
+
style?: React.CSSProperties;
|
|
262
|
+
className?: string;
|
|
263
|
+
}
|
|
264
|
+
declare function export_default$16(props: TitleProps): React.JSX.Element;
|
|
247
265
|
|
|
248
266
|
interface TrackerItemProps {
|
|
249
267
|
selected: boolean;
|
|
@@ -253,8 +271,9 @@ interface TrackerItemProps {
|
|
|
253
271
|
badge?: string;
|
|
254
272
|
onClick?: Function;
|
|
255
273
|
className?: string;
|
|
274
|
+
noBoxShadow?: boolean;
|
|
256
275
|
}
|
|
257
|
-
declare function export_default$
|
|
276
|
+
declare function export_default$15(props: TrackerItemProps): React.JSX.Element;
|
|
258
277
|
|
|
259
278
|
interface UnstyledButtonProps {
|
|
260
279
|
onClick: MouseEventHandler;
|
|
@@ -265,13 +284,13 @@ interface UnstyledButtonProps {
|
|
|
265
284
|
disabled?: boolean;
|
|
266
285
|
innerRef?: React.Ref<HTMLButtonElement>;
|
|
267
286
|
}
|
|
268
|
-
declare function export_default$
|
|
287
|
+
declare function export_default$14(props: UnstyledButtonProps): React.JSX.Element;
|
|
269
288
|
|
|
270
289
|
interface ViewHeaderProps {
|
|
271
290
|
title?: string;
|
|
272
291
|
subtitle?: string;
|
|
273
292
|
}
|
|
274
|
-
declare function export_default$
|
|
293
|
+
declare function export_default$13(props: ViewHeaderProps): React.JSX.Element | null;
|
|
275
294
|
|
|
276
295
|
interface WeekCalendarProps {
|
|
277
296
|
selectedDate?: Date;
|
|
@@ -282,14 +301,25 @@ interface WeekCalendarProps {
|
|
|
282
301
|
onStartDateChange?(startDate: Date): void;
|
|
283
302
|
dayRenderer(year: number, month: number, day: number, selectedWeek: boolean): JSX.Element | null;
|
|
284
303
|
}
|
|
285
|
-
declare function export_default$
|
|
304
|
+
declare function export_default$12(props: WeekCalendarProps): React.JSX.Element;
|
|
286
305
|
|
|
287
306
|
interface AppDownloadProps {
|
|
288
307
|
previewProjectPlatforms?: string[];
|
|
289
308
|
previewDevicePlatform?: string;
|
|
290
309
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
291
310
|
}
|
|
292
|
-
declare function export_default$
|
|
311
|
+
declare function export_default$11(props: AppDownloadProps): React.JSX.Element | null;
|
|
312
|
+
|
|
313
|
+
declare type DeviceAccountType = "Fitbit" | "Garmin" | "AppleHealth" | "GoogleFit" | "Omron";
|
|
314
|
+
interface ConnectDevicesMenuProps {
|
|
315
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
316
|
+
accountTypes?: DeviceAccountType[];
|
|
317
|
+
title?: string;
|
|
318
|
+
text?: string;
|
|
319
|
+
previewState?: "iOS" | "Android" | "Web" | "ConnectedStates";
|
|
320
|
+
headerVariant?: "large" | "medium";
|
|
321
|
+
}
|
|
322
|
+
declare function export_default$10(props: ConnectDevicesMenuProps): React.JSX.Element | null;
|
|
293
323
|
|
|
294
324
|
interface ConnectEhrProps {
|
|
295
325
|
applicationUrl: ConnectEhrApplicationUrl;
|
|
@@ -300,7 +330,7 @@ interface ConnectEhrProps {
|
|
|
300
330
|
}
|
|
301
331
|
declare type ConnectEhrApplicationUrl = "preview" | string;
|
|
302
332
|
declare type ConnectEhrPreviewState = "notEnabled" | "enabled" | "enabledConnected" | "enabledNeedsAttention";
|
|
303
|
-
declare function export_default
|
|
333
|
+
declare function export_default$$(props: ConnectEhrProps): React.JSX.Element | null;
|
|
304
334
|
|
|
305
335
|
interface ConnectFitbitProps {
|
|
306
336
|
title?: string;
|
|
@@ -310,7 +340,7 @@ interface ConnectFitbitProps {
|
|
|
310
340
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
311
341
|
}
|
|
312
342
|
declare type ConnectFitbitPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
313
|
-
declare function export_default$
|
|
343
|
+
declare function export_default$_(props: ConnectFitbitProps): React.JSX.Element;
|
|
314
344
|
|
|
315
345
|
interface ConnectGarminProps {
|
|
316
346
|
title?: string;
|
|
@@ -320,7 +350,7 @@ interface ConnectGarminProps {
|
|
|
320
350
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
321
351
|
}
|
|
322
352
|
declare type ConnectGarminPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
323
|
-
declare function export_default$
|
|
353
|
+
declare function export_default$Z(props: ConnectGarminProps): React.JSX.Element;
|
|
324
354
|
|
|
325
355
|
declare type DailyDataQueryResult = {
|
|
326
356
|
[key: string]: number;
|
|
@@ -430,13 +460,13 @@ interface DeviceDataChartLine {
|
|
|
430
460
|
showAverage?: boolean;
|
|
431
461
|
}
|
|
432
462
|
declare type DeviceDataMonthChartPreviewState = "WithData" | "NoData" | "Loading";
|
|
433
|
-
declare function export_default$
|
|
463
|
+
declare function export_default$Y(props: DeviceDataMonthChartProps): React.JSX.Element | null;
|
|
434
464
|
|
|
435
465
|
interface DeviceDataMonthChartsProps {
|
|
436
466
|
previewState?: DeviceDataMonthChartsPreviewState;
|
|
437
467
|
}
|
|
438
468
|
declare type DeviceDataMonthChartsPreviewState = "Default" | "NoData";
|
|
439
|
-
declare function export_default$
|
|
469
|
+
declare function export_default$X(props: DeviceDataMonthChartsProps): React.JSX.Element;
|
|
440
470
|
|
|
441
471
|
interface ExternalAccountListProps {
|
|
442
472
|
externalAccountProviderCategories?: string[];
|
|
@@ -445,14 +475,14 @@ interface ExternalAccountListProps {
|
|
|
445
475
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
446
476
|
}
|
|
447
477
|
declare type NotificationListPreviewState$1 = "Default";
|
|
448
|
-
declare function export_default$
|
|
478
|
+
declare function export_default$W(props: ExternalAccountListProps): React.JSX.Element;
|
|
449
479
|
|
|
450
480
|
interface ExternalAccountsLoadingIndicatorProps {
|
|
451
481
|
previewState?: "externalAccountsFetchingData" | "externalAccountsLoaded";
|
|
452
482
|
externalAccountCategories?: string[];
|
|
453
483
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
454
484
|
}
|
|
455
|
-
declare function export_default$
|
|
485
|
+
declare function export_default$V(props: ExternalAccountsLoadingIndicatorProps): React.JSX.Element | null;
|
|
456
486
|
|
|
457
487
|
interface ExternalAccountsPreviewProps {
|
|
458
488
|
excludeProviders?: boolean;
|
|
@@ -464,7 +494,7 @@ interface ExternalAccountsPreviewProps {
|
|
|
464
494
|
}
|
|
465
495
|
declare type ExternalAccountsApplicationUrl = "preview" | string;
|
|
466
496
|
declare type ExternalAccountsPreviewPreviewState = "Default";
|
|
467
|
-
declare function export_default$
|
|
497
|
+
declare function export_default$U(props: ExternalAccountsPreviewProps): React.JSX.Element | null;
|
|
468
498
|
|
|
469
499
|
declare type ConnectedDevicesPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
470
500
|
|
|
@@ -472,25 +502,25 @@ interface FitbitDevicesProps {
|
|
|
472
502
|
previewState?: ConnectedDevicesPreviewState;
|
|
473
503
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
474
504
|
}
|
|
475
|
-
declare function export_default$
|
|
505
|
+
declare function export_default$T(props: FitbitDevicesProps): React.JSX.Element;
|
|
476
506
|
|
|
477
507
|
declare type MonthChartsPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
478
508
|
|
|
479
509
|
interface FitbitMonthChartsProps {
|
|
480
510
|
previewState?: MonthChartsPreviewState;
|
|
481
511
|
}
|
|
482
|
-
declare function export_default$
|
|
512
|
+
declare function export_default$S(props: FitbitMonthChartsProps): React.JSX.Element;
|
|
483
513
|
|
|
484
514
|
interface GarminDevicesProps {
|
|
485
515
|
previewState?: ConnectedDevicesPreviewState;
|
|
486
516
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
487
517
|
}
|
|
488
|
-
declare function export_default$
|
|
518
|
+
declare function export_default$R(props: GarminDevicesProps): React.JSX.Element;
|
|
489
519
|
|
|
490
520
|
interface GarminMonthChartsProps {
|
|
491
521
|
previewState?: MonthChartsPreviewState;
|
|
492
522
|
}
|
|
493
|
-
declare function export_default$
|
|
523
|
+
declare function export_default$Q(props: GarminMonthChartsProps): React.JSX.Element;
|
|
494
524
|
|
|
495
525
|
declare type HealthPreviewSectionConcept = "Medications" | "Immunizations" | "Reports" | "Allergies" | "Conditions" | "Procedures";
|
|
496
526
|
interface HealthPreviewSectionProps {
|
|
@@ -500,7 +530,7 @@ interface HealthPreviewSectionProps {
|
|
|
500
530
|
indicatorPosition?: "default" | "topRight";
|
|
501
531
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
502
532
|
}
|
|
503
|
-
declare function export_default$
|
|
533
|
+
declare function export_default$P(props: HealthPreviewSectionProps): React.JSX.Element | null;
|
|
504
534
|
|
|
505
535
|
interface TermInformation {
|
|
506
536
|
TermFamily: string;
|
|
@@ -514,7 +544,7 @@ interface LabResultsSummaryProps {
|
|
|
514
544
|
onViewTermInfo(termInfo: TermInformation): void;
|
|
515
545
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
516
546
|
}
|
|
517
|
-
declare function export_default$
|
|
547
|
+
declare function export_default$O(props: LabResultsSummaryProps): React.JSX.Element | null;
|
|
518
548
|
|
|
519
549
|
interface MostRecentNotificationProps {
|
|
520
550
|
notificationType?: NotificationType;
|
|
@@ -524,7 +554,7 @@ interface MostRecentNotificationProps {
|
|
|
524
554
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
525
555
|
}
|
|
526
556
|
declare type MostRecentNotificationPreviewState = "Default";
|
|
527
|
-
declare function export_default$
|
|
557
|
+
declare function export_default$N(props: MostRecentNotificationProps): React.JSX.Element | null;
|
|
528
558
|
|
|
529
559
|
interface NotificationListProps {
|
|
530
560
|
notificationType?: NotificationType;
|
|
@@ -532,7 +562,7 @@ interface NotificationListProps {
|
|
|
532
562
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
533
563
|
}
|
|
534
564
|
declare type NotificationListPreviewState = "Default" | "NoData";
|
|
535
|
-
declare function export_default$
|
|
565
|
+
declare function export_default$M(props: NotificationListProps): React.JSX.Element;
|
|
536
566
|
|
|
537
567
|
interface PlatformSpecificContentProps {
|
|
538
568
|
platforms: string[];
|
|
@@ -540,31 +570,30 @@ interface PlatformSpecificContentProps {
|
|
|
540
570
|
previewDevicePlatform?: string;
|
|
541
571
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
542
572
|
}
|
|
543
|
-
declare function export_default$
|
|
573
|
+
declare function export_default$L(props: PlatformSpecificContentProps): React.JSX.Element | null;
|
|
544
574
|
|
|
545
575
|
interface ProjectHeaderProps {
|
|
546
576
|
previewState?: ProjectHeaderPropsPreviewState;
|
|
547
577
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
548
578
|
}
|
|
549
579
|
declare type ProjectHeaderPropsPreviewState = "Default";
|
|
550
|
-
declare function export_default$
|
|
580
|
+
declare function export_default$K(props: ProjectHeaderProps): React.JSX.Element;
|
|
551
581
|
|
|
552
582
|
interface ProjectSupportProps {
|
|
553
583
|
previewState?: ProjectSupportPropsPreviewState;
|
|
554
584
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
555
585
|
}
|
|
556
586
|
declare type ProjectSupportPropsPreviewState = "Default";
|
|
557
|
-
declare function export_default$
|
|
587
|
+
declare function export_default$J(props: ProjectSupportProps): React.JSX.Element | null;
|
|
558
588
|
|
|
559
589
|
interface ProviderSearchProps {
|
|
560
590
|
previewState?: ProviderSearchPreviewState;
|
|
561
591
|
providerCategories?: string[];
|
|
562
|
-
|
|
563
|
-
onProviderSelected?: (provider: ExternalAccountProvider) => void;
|
|
592
|
+
onProviderConnected?: (provider: ExternalAccountProvider) => void;
|
|
564
593
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
565
594
|
}
|
|
566
595
|
declare type ProviderSearchPreviewState = "Default";
|
|
567
|
-
declare function export_default$
|
|
596
|
+
declare function export_default$I(props: ProviderSearchProps): React.JSX.Element;
|
|
568
597
|
|
|
569
598
|
interface RelativeActivityTodayProps {
|
|
570
599
|
dataTypes: RelativeActivityDataType[];
|
|
@@ -579,7 +608,7 @@ interface RelativeActivityDataType {
|
|
|
579
608
|
color: string;
|
|
580
609
|
formatter: (number: number) => string;
|
|
581
610
|
}
|
|
582
|
-
declare function export_default$
|
|
611
|
+
declare function export_default$H(props: RelativeActivityTodayProps): React.JSX.Element | null;
|
|
583
612
|
|
|
584
613
|
declare type RestingHeartRateCalendarPreviewState = "WithData" | "NoData" | "Loading";
|
|
585
614
|
interface RestingHeartRateCalendarProps {
|
|
@@ -588,7 +617,7 @@ interface RestingHeartRateCalendarProps {
|
|
|
588
617
|
showPreviewData: RestingHeartRateCalendarPreviewState;
|
|
589
618
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
590
619
|
}
|
|
591
|
-
declare function export_default$
|
|
620
|
+
declare function export_default$G(props: RestingHeartRateCalendarProps): React.JSX.Element;
|
|
592
621
|
|
|
593
622
|
interface SurveyTaskListProps {
|
|
594
623
|
status: SurveyTaskStatus;
|
|
@@ -601,7 +630,165 @@ interface SurveyTaskListProps {
|
|
|
601
630
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
602
631
|
}
|
|
603
632
|
declare type SurveyTaskListListPreviewState = "IncompleteTasks" | "CompleteTasks";
|
|
604
|
-
declare function export_default$
|
|
633
|
+
declare function export_default$F(props: SurveyTaskListProps): React.JSX.Element | null;
|
|
634
|
+
|
|
635
|
+
interface SymptomSharkCalendarProps {
|
|
636
|
+
intervalStart?: Date;
|
|
637
|
+
onDaySelected(day: Date): void;
|
|
638
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
639
|
+
}
|
|
640
|
+
declare function export_default$E(props: SymptomSharkCalendarProps): React.JSX.Element;
|
|
641
|
+
|
|
642
|
+
interface OverallExperienceChartProps {
|
|
643
|
+
intervalStart?: Date;
|
|
644
|
+
showAllDays?: boolean;
|
|
645
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
646
|
+
}
|
|
647
|
+
declare function export_default$D(props: OverallExperienceChartProps): React.JSX.Element | null;
|
|
648
|
+
|
|
649
|
+
interface SymptomSharkDataService {
|
|
650
|
+
getConfiguration(): Promise<SymptomSharkConfiguration>;
|
|
651
|
+
getDailyLogEntries(after?: string, before?: string): Promise<{
|
|
652
|
+
[key: string]: DailyLogEntry;
|
|
653
|
+
}>;
|
|
654
|
+
saveDailyLogEntry(date: string, entry: DailyLogEntry): Promise<any>;
|
|
655
|
+
}
|
|
656
|
+
interface SymptomSharkConfiguration {
|
|
657
|
+
symptoms: SymptomConfiguration[];
|
|
658
|
+
treatments: TreatmentConfiguration[];
|
|
659
|
+
}
|
|
660
|
+
interface SymptomConfiguration {
|
|
661
|
+
id: string;
|
|
662
|
+
color: string;
|
|
663
|
+
name: string;
|
|
664
|
+
severityTracking: 'None' | '3PointScale' | '10PointScale';
|
|
665
|
+
inactive?: boolean;
|
|
666
|
+
}
|
|
667
|
+
interface TreatmentConfiguration {
|
|
668
|
+
id: string;
|
|
669
|
+
color: string;
|
|
670
|
+
name: string;
|
|
671
|
+
inactive?: boolean;
|
|
672
|
+
}
|
|
673
|
+
interface DailyLogEntry {
|
|
674
|
+
symptoms: SymptomReference[];
|
|
675
|
+
treatments: TreatmentReference[];
|
|
676
|
+
overallFeeling?: number;
|
|
677
|
+
notes: string;
|
|
678
|
+
icon?: string;
|
|
679
|
+
}
|
|
680
|
+
interface SymptomReference {
|
|
681
|
+
id: string;
|
|
682
|
+
severity?: number;
|
|
683
|
+
}
|
|
684
|
+
interface TreatmentReference {
|
|
685
|
+
id: string;
|
|
686
|
+
}
|
|
687
|
+
declare function convertToSymptomSharkConfiguration(info: ParticipantInfo): {
|
|
688
|
+
symptoms: SymptomConfiguration[];
|
|
689
|
+
treatments: TreatmentConfiguration[];
|
|
690
|
+
};
|
|
691
|
+
|
|
692
|
+
interface SymptomSharkLogEntryProps {
|
|
693
|
+
date: Date;
|
|
694
|
+
logEntry?: DailyLogEntry;
|
|
695
|
+
configuration: SymptomSharkConfiguration;
|
|
696
|
+
onClick?(d: Date): void;
|
|
697
|
+
title?: string;
|
|
698
|
+
subtitle?: string;
|
|
699
|
+
highlight?: boolean;
|
|
700
|
+
noDataMessage?: string;
|
|
701
|
+
highlightedSymptoms?: string[];
|
|
702
|
+
highlightedTreatments?: string[];
|
|
703
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
704
|
+
}
|
|
705
|
+
declare function export_default$C(props: SymptomSharkLogEntryProps): React.JSX.Element | null;
|
|
706
|
+
|
|
707
|
+
interface SymptomTreatmentHistogramsProps {
|
|
708
|
+
intervalStart?: Date;
|
|
709
|
+
onSymptomSelected(symptom: string, intervalStart: Date): void;
|
|
710
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
711
|
+
}
|
|
712
|
+
declare function export_default$B(props: SymptomTreatmentHistogramsProps): React.JSX.Element | null;
|
|
713
|
+
|
|
714
|
+
interface SymptomSeveritySummaryProps {
|
|
715
|
+
symptom: SymptomConfiguration;
|
|
716
|
+
intervalStart?: Date;
|
|
717
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
718
|
+
}
|
|
719
|
+
declare function export_default$A(props: SymptomSeveritySummaryProps): React.JSX.Element | null;
|
|
720
|
+
|
|
721
|
+
interface SymptomSeverityChartProps {
|
|
722
|
+
intervalStart?: Date;
|
|
723
|
+
symptom: SymptomConfiguration;
|
|
724
|
+
showAllDays?: boolean;
|
|
725
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
726
|
+
}
|
|
727
|
+
declare function export_default$z(props: SymptomSeverityChartProps): React.JSX.Element | null;
|
|
728
|
+
|
|
729
|
+
interface SymptomTreatmentFiltersProps {
|
|
730
|
+
expandedDropdown: "Symptoms" | "Treatments" | null;
|
|
731
|
+
onExpandedDropdownChange(expandedDropdown: "Symptoms" | "Treatments" | null): void;
|
|
732
|
+
selectedSymptoms: string[];
|
|
733
|
+
selectedTreatments: string[];
|
|
734
|
+
configuration: SymptomSharkConfiguration;
|
|
735
|
+
onSymptomsSelectionChange(symptoms: string[]): void;
|
|
736
|
+
onTreatmentsSelectionChange(treatments: string[]): void;
|
|
737
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
738
|
+
}
|
|
739
|
+
declare function export_default$y(props: SymptomTreatmentFiltersProps): React.JSX.Element;
|
|
740
|
+
|
|
741
|
+
interface SymptomSharkLogEntryListProps {
|
|
742
|
+
onDaySelected(d: Date): void;
|
|
743
|
+
previewState?: "default";
|
|
744
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
745
|
+
}
|
|
746
|
+
declare function export_default$x(props: SymptomSharkLogEntryListProps): React.JSX.Element;
|
|
747
|
+
|
|
748
|
+
interface SymptomSharkLogTodayProps {
|
|
749
|
+
previewState?: "withLog" | "noLog";
|
|
750
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
751
|
+
}
|
|
752
|
+
declare function export_default$w(props: SymptomSharkLogTodayProps): React.JSX.Element | null;
|
|
753
|
+
|
|
754
|
+
interface SymptomSharkLogEntryEditProps {
|
|
755
|
+
date: Date;
|
|
756
|
+
promptForReviewAfterDays?: number;
|
|
757
|
+
previewState?: "default";
|
|
758
|
+
}
|
|
759
|
+
declare function export_default$v(props: SymptomSharkLogEntryEditProps): React.JSX.Element;
|
|
760
|
+
|
|
761
|
+
interface SymptomSharkVisualizationCoordinatorProps {
|
|
762
|
+
children: React.ReactNode;
|
|
763
|
+
showFilters?: boolean;
|
|
764
|
+
previewState?: "default";
|
|
765
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
766
|
+
}
|
|
767
|
+
declare function export_default$u(props: SymptomSharkVisualizationCoordinatorProps): React.JSX.Element;
|
|
768
|
+
|
|
769
|
+
interface CalendarViewProps {
|
|
770
|
+
colorScheme?: "light" | "dark" | "auto";
|
|
771
|
+
onDaySelected(d: Date): void;
|
|
772
|
+
onSymptomSelected(symptom: string, intervalStart: Date): void;
|
|
773
|
+
previewState?: "default";
|
|
774
|
+
}
|
|
775
|
+
declare function export_default$t(props: CalendarViewProps): React.JSX.Element;
|
|
776
|
+
|
|
777
|
+
interface LogEntryEditViewProps {
|
|
778
|
+
colorScheme?: "light" | "dark" | "auto";
|
|
779
|
+
date: Date;
|
|
780
|
+
promptForReviewAfterDays?: number;
|
|
781
|
+
previewState?: "default";
|
|
782
|
+
}
|
|
783
|
+
declare function export_default$s(props: LogEntryEditViewProps): React.JSX.Element;
|
|
784
|
+
|
|
785
|
+
interface SymptomDetailViewProps {
|
|
786
|
+
symptomId: string;
|
|
787
|
+
colorScheme?: "light" | "dark" | "auto";
|
|
788
|
+
previewState?: "default";
|
|
789
|
+
initialIntervalStart?: Date;
|
|
790
|
+
}
|
|
791
|
+
declare function export_default$r(props: SymptomDetailViewProps): React.JSX.Element;
|
|
605
792
|
|
|
606
793
|
interface BlankViewProps {
|
|
607
794
|
children?: React.ReactNode;
|
|
@@ -729,10 +916,14 @@ interface ConnectDeviceAccountStepProps {
|
|
|
729
916
|
styles: {
|
|
730
917
|
[key: string]: any;
|
|
731
918
|
};
|
|
919
|
+
onConnect: () => void;
|
|
732
920
|
}
|
|
733
921
|
declare function export_default$e(props: ConnectDeviceAccountStepProps): React.JSX.Element;
|
|
734
922
|
|
|
735
|
-
|
|
923
|
+
interface ConnectDeviceAccountStepContainerProps {
|
|
924
|
+
deviceType?: string;
|
|
925
|
+
}
|
|
926
|
+
declare function export_default$d(props: ConnectDeviceAccountStepContainerProps): React.JSX.Element;
|
|
736
927
|
|
|
737
928
|
interface ConnectEhrStepProps {
|
|
738
929
|
title?: string;
|
|
@@ -740,7 +931,8 @@ interface ConnectEhrStepProps {
|
|
|
740
931
|
nextButtonText?: string;
|
|
741
932
|
nextButtonDisabled?: boolean;
|
|
742
933
|
previewState?: ProviderSearchPreviewState;
|
|
743
|
-
|
|
934
|
+
onProviderConnected: (provider: ExternalAccountProvider) => void;
|
|
935
|
+
onNextButtonClick: () => void;
|
|
744
936
|
styles: {
|
|
745
937
|
[key: string]: any;
|
|
746
938
|
};
|
|
@@ -812,4 +1004,4 @@ declare function language(key: string): string;
|
|
|
812
1004
|
|
|
813
1005
|
declare function getDayKey(date: Date): string;
|
|
814
1006
|
|
|
815
|
-
export { export_default$
|
|
1007
|
+
export { export_default$1s as Action, export_default$1r as ActivityMeter, export_default$11 as AppDownload, AreaChartOptions, BarChartOptions, export_default$q as BlankView, export_default$1q as Button, export_default$1p as Calendar, export_default$1o as Card, export_default$1n as CardTitle, export_default$g as CelebrationStep, export_default$f as CelebrationStepContainer, export_default$e as ConnectDeviceAccountStep, export_default$d as ConnectDeviceAccountStepContainer, export_default$10 as ConnectDevicesMenu, export_default$$ as ConnectEhr, export_default$c as ConnectEhrStep, export_default$b as ConnectEhrStepContainer, export_default$p as ConnectEhrView, export_default$_ as ConnectFitbit, export_default$Z as ConnectGarmin, DailyDataAvailabilityCheck, DailyDataChart, DailyDataProvider, DailyDataQueryResult, DailyDataType, DailyLogEntry, DateRangeNavigatorContext as DateRangeCoordinator, export_default$1m as DateRangeNavigator, export_default$1l as DayTrackerSymbol, DeviceDataChartLine, export_default$Y as DeviceDataMonthChart, export_default$X as DeviceDataMonthCharts, export_default$o as DeviceDataView, export_default$W as ExternalAccountList, export_default$V as ExternalAccountsLoadingIndicator, export_default$U as ExternalAccountsPreview, export_default$n as ExternalAccountsView, export_default$1k as Face, export_default$T as FitbitDevices, export_default$S as FitbitMonthCharts, export_default$m as FitbitView, export_default$R as GarminDevices, export_default$Q as GarminMonthCharts, export_default$l as GarminView, export_default$j as HealthAndWellnessView, export_default$P as HealthPreviewSection, export_default$1j as Histogram, export_default$k as HomeView, export_default$O as LabResultsSummary, export_default$1i as Layout, LayoutContext, LineChartOptions, LoadingIndicator, export_default$N as MostRecentNotification, export_default$1h as NavigationBar, export_default$1g as NotesInput, export_default$M as NotificationList, export_default$i as NotificationsView, export_default$L as PlatformSpecificContent, export_default$K as ProjectHeader, export_default$J as ProjectSupport, export_default$I as ProviderSearch, export_default$H as RelativeActivityToday, export_default$G as RestingHeartRateCalendar, export_default$1f as Section, export_default$1e as SegmentedControl, export_default$1d as ShinyOverlay, export_default$1c as SingleExternalAccount, export_default$1b as SingleNotification, export_default$1a as SingleSurveyTask, export_default$19 as SparkBarChart, SparkBarChartBar, StatusBarBackgroundProps as StatusBarBackground, export_default$a as StepDetailText, export_default$8 as StepImage, export_default$9 as StepImageIcon, export_default$7 as StepLayout, export_default$6 as StepMarkdown, export_default$5 as StepNextButton, export_default$4 as StepText, export_default$3 as StepTitle, export_default$F as SurveyTaskList, export_default$h as SurveyTasksView, export_default$18 as Switch, SymptomConfiguration, SymptomReference, export_default$E as SymptomSharkCalendar, export_default$t as SymptomSharkCalendarView, SymptomSharkConfiguration, SymptomSharkDataService, export_default$C as SymptomSharkLogEntry, export_default$v as SymptomSharkLogEntryEdit, export_default$s as SymptomSharkLogEntryEditView, export_default$x as SymptomSharkLogEntryList, export_default$w as SymptomSharkLogToday, export_default$D as SymptomSharkOverallExperienceChart, export_default$r as SymptomSharkSymptomDetailView, export_default$z as SymptomSharkSymptomSeverityChart, export_default$A as SymptomSharkSymptomSeveritySummary, export_default$y as SymptomSharkSymptomTreatmentFilters, export_default$B as SymptomSharkSymptomTreatmentHistograms, export_default$u as SymptomSharkVisualizationCoordinator, export_default$17 as TextBlock, export_default$16 as Title, export_default$15 as TrackerItem, TreatmentConfiguration, TreatmentReference, export_default$14 as UnstyledButton, export_default$13 as ViewHeader, export_default$12 as WeekCalendar, WeekStartsOn, export_default$2 as YouTubeStep, export_default$1 as YouTubeStepContainer, checkDailyDataAvailability, convertToSymptomSharkConfiguration, getDayKey, getMonthStart, getWeekStart, language, queryDailyData, registerDailyDataProvider, export_default as useInterval };
|