@careevolution/mydatahelps-ui 2.6.1 → 2.7.1-Colors.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 +5 -1
- package/dist/cjs/types/components/presentational/Button/Button.d.ts +2 -5
- package/dist/cjs/types/components/presentational/Calendar/Calendar.d.ts +1 -0
- package/dist/cjs/types/components/presentational/Card/Card.d.ts +3 -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/Layout/Layout.d.ts +3 -2
- 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/Section/Section.d.ts +2 -0
- package/dist/cjs/types/components/presentational/SegmentedControl/SegmentedControl.d.ts +3 -2
- package/dist/cjs/types/components/presentational/TextBlock/TextBlock.d.ts +2 -0
- package/dist/cjs/types/components/presentational/Title/Title.d.ts +11 -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/components/view/BlankView/BlankView.d.ts +3 -1
- package/dist/cjs/types/helpers/colors.d.ts +5 -0
- package/dist/cjs/types/helpers/date-helpers.d.ts +6 -0
- package/dist/cjs/types/helpers/providerIDs.d.ts +3 -0
- package/dist/cjs/types/index.d.ts +1 -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 +5 -1
- package/dist/esm/types/components/presentational/Button/Button.d.ts +2 -5
- package/dist/esm/types/components/presentational/Calendar/Calendar.d.ts +1 -0
- package/dist/esm/types/components/presentational/Card/Card.d.ts +3 -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/Layout/Layout.d.ts +3 -2
- 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/Section/Section.d.ts +2 -0
- package/dist/esm/types/components/presentational/SegmentedControl/SegmentedControl.d.ts +3 -2
- package/dist/esm/types/components/presentational/TextBlock/TextBlock.d.ts +2 -0
- package/dist/esm/types/components/presentational/Title/Title.d.ts +11 -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/components/view/BlankView/BlankView.d.ts +3 -1
- package/dist/esm/types/helpers/colors.d.ts +5 -0
- package/dist/esm/types/helpers/date-helpers.d.ts +6 -0
- package/dist/esm/types/helpers/providerIDs.d.ts +3 -0
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/index.d.ts +271 -66
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,23 +1,32 @@
|
|
|
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
|
+
declare type ColorDefinition = string | {
|
|
7
|
+
lightMode?: string;
|
|
8
|
+
darkMode?: string;
|
|
9
|
+
};
|
|
10
|
+
declare function resolveColor(colorScheme: "light" | "dark", colorDefinition?: ColorDefinition): string | undefined;
|
|
11
|
+
|
|
6
12
|
interface ActionProps {
|
|
7
13
|
title?: string;
|
|
8
14
|
titleIcon?: ReactElement;
|
|
9
15
|
icon?: ReactElement;
|
|
10
16
|
subtitle?: string;
|
|
11
17
|
indicatorIcon?: IconDefinition;
|
|
12
|
-
|
|
18
|
+
indicator?: ReactElement;
|
|
19
|
+
onClick?: Function;
|
|
13
20
|
children?: React.ReactNode;
|
|
14
21
|
className?: string;
|
|
15
22
|
indicatorValue?: string;
|
|
16
23
|
indicatorPosition?: "default" | "topRight";
|
|
17
24
|
bottomBorder?: boolean;
|
|
18
25
|
innerRef?: React.Ref<HTMLButtonElement>;
|
|
26
|
+
titleColor?: ColorDefinition;
|
|
27
|
+
subtitleColor?: ColorDefinition;
|
|
19
28
|
}
|
|
20
|
-
declare function export_default$
|
|
29
|
+
declare function export_default$1s(props: ActionProps): React.JSX.Element;
|
|
21
30
|
|
|
22
31
|
interface ActivityMeterProps {
|
|
23
32
|
label: string;
|
|
@@ -30,40 +39,39 @@ interface ActivityMeterProps {
|
|
|
30
39
|
className?: string;
|
|
31
40
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
32
41
|
}
|
|
33
|
-
declare function export_default$
|
|
42
|
+
declare function export_default$1r(props: ActivityMeterProps): React.JSX.Element;
|
|
34
43
|
|
|
35
44
|
interface ButtonProps {
|
|
36
45
|
children?: React.ReactNode;
|
|
37
|
-
/**
|
|
38
|
-
* Notification Type to display for the most recent notification
|
|
39
|
-
* @default Push
|
|
40
|
-
* */
|
|
41
46
|
disabled?: boolean;
|
|
42
47
|
onClick: Function;
|
|
43
48
|
className?: string;
|
|
44
|
-
color?:
|
|
49
|
+
color?: ColorDefinition;
|
|
45
50
|
loading?: boolean;
|
|
46
51
|
variant?: "default" | "subtle" | "light";
|
|
47
52
|
innerRef?: React.Ref<HTMLButtonElement>;
|
|
48
53
|
}
|
|
49
|
-
declare function export_default$
|
|
54
|
+
declare function export_default$1q(props: ButtonProps): React.JSX.Element;
|
|
50
55
|
|
|
51
56
|
interface CalendarProps {
|
|
52
57
|
month: number;
|
|
53
58
|
year: number;
|
|
54
59
|
dayRenderer(year: number, month: number, day?: number): JSX.Element | null;
|
|
55
60
|
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
61
|
+
className?: string;
|
|
56
62
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
57
63
|
}
|
|
58
|
-
declare function export_default$
|
|
64
|
+
declare function export_default$1p(props: CalendarProps): React.JSX.Element;
|
|
59
65
|
|
|
60
66
|
interface CardProps {
|
|
61
67
|
className?: string;
|
|
62
68
|
children?: React.ReactNode;
|
|
63
69
|
allowOverflow?: boolean;
|
|
64
70
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
71
|
+
variant?: "default" | "subtle" | "highlight";
|
|
72
|
+
backgroundColor?: ColorDefinition;
|
|
65
73
|
}
|
|
66
|
-
declare function export_default$
|
|
74
|
+
declare function export_default$1o(props: CardProps): React.JSX.Element | null;
|
|
67
75
|
|
|
68
76
|
interface CardTitleProps {
|
|
69
77
|
title: string;
|
|
@@ -71,13 +79,14 @@ interface CardTitleProps {
|
|
|
71
79
|
detailLinkText?: string;
|
|
72
80
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
73
81
|
}
|
|
74
|
-
declare function export_default$
|
|
82
|
+
declare function export_default$1n(props: CardTitleProps): React.JSX.Element;
|
|
75
83
|
|
|
76
84
|
declare type WeekStartsOn = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "6DaysAgo" | "7DaysAgo";
|
|
77
85
|
declare function getWeekStart(weekStartsOn?: WeekStartsOn): Date;
|
|
78
86
|
declare function getMonthStart(): Date;
|
|
79
87
|
|
|
80
88
|
interface DateRangeCoordinatorProps {
|
|
89
|
+
initialIntervalStart?: Date;
|
|
81
90
|
intervalType: "Week" | "Month";
|
|
82
91
|
weekStartsOn?: WeekStartsOn;
|
|
83
92
|
variant?: "default" | "rounded";
|
|
@@ -94,15 +103,16 @@ interface DateRangeNavigatorProps {
|
|
|
94
103
|
className?: string;
|
|
95
104
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
96
105
|
}
|
|
97
|
-
declare function export_default$
|
|
106
|
+
declare function export_default$1m(props: DateRangeNavigatorProps): React.JSX.Element;
|
|
98
107
|
|
|
99
108
|
interface DayTrackerSymbolProps {
|
|
100
109
|
primaryColors: string[];
|
|
101
110
|
secondaryColors: string[];
|
|
102
111
|
className?: string;
|
|
112
|
+
size?: "small" | "large";
|
|
103
113
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
104
114
|
}
|
|
105
|
-
declare function export_default$
|
|
115
|
+
declare function export_default$1l(props: DayTrackerSymbolProps): React.JSX.Element;
|
|
106
116
|
|
|
107
117
|
interface FaceProps {
|
|
108
118
|
faceValue?: number;
|
|
@@ -111,7 +121,7 @@ interface FaceProps {
|
|
|
111
121
|
className?: string;
|
|
112
122
|
innerRef?: React.Ref<HTMLButtonElement>;
|
|
113
123
|
}
|
|
114
|
-
declare function export_default$
|
|
124
|
+
declare function export_default$1k(props: FaceProps): React.JSX.Element;
|
|
115
125
|
|
|
116
126
|
interface HistogramProps {
|
|
117
127
|
entries: {
|
|
@@ -123,12 +133,12 @@ interface HistogramProps {
|
|
|
123
133
|
className?: string;
|
|
124
134
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
125
135
|
}
|
|
126
|
-
declare function export_default$
|
|
136
|
+
declare function export_default$1j(props: HistogramProps): React.JSX.Element;
|
|
127
137
|
|
|
128
138
|
interface LayoutProps {
|
|
129
139
|
children?: React.ReactNode;
|
|
130
|
-
bodyBackgroundColor?:
|
|
131
|
-
primaryColor?:
|
|
140
|
+
bodyBackgroundColor?: ColorDefinition;
|
|
141
|
+
primaryColor?: ColorDefinition;
|
|
132
142
|
statusBarStyle?: StatusBarStyle;
|
|
133
143
|
className?: string;
|
|
134
144
|
noGlobalStyles?: boolean;
|
|
@@ -144,7 +154,7 @@ interface LayoutContext {
|
|
|
144
154
|
bodyBackgroundColor: string;
|
|
145
155
|
}
|
|
146
156
|
declare const LayoutContext: React.Context<LayoutContext>;
|
|
147
|
-
declare function export_default$
|
|
157
|
+
declare function export_default$1i(props: LayoutProps): React.JSX.Element;
|
|
148
158
|
|
|
149
159
|
interface LoadingIndicatorProps {
|
|
150
160
|
variant?: "default" | "inline";
|
|
@@ -165,30 +175,40 @@ interface NavigationBarProps {
|
|
|
165
175
|
className?: string;
|
|
166
176
|
variant?: "default" | "compressed";
|
|
167
177
|
}
|
|
168
|
-
declare function export_default$
|
|
178
|
+
declare function export_default$1h(props: NavigationBarProps): React.JSX.Element;
|
|
179
|
+
|
|
180
|
+
interface NotesInputProps {
|
|
181
|
+
autoTimestamp?: boolean;
|
|
182
|
+
placeholder?: string;
|
|
183
|
+
onChange(value: string): void;
|
|
184
|
+
value: string;
|
|
185
|
+
}
|
|
186
|
+
declare function export_default$1g(props: NotesInputProps): React.JSX.Element;
|
|
169
187
|
|
|
170
188
|
interface SectionProps {
|
|
171
189
|
children?: React.ReactNode;
|
|
172
190
|
className?: string;
|
|
173
191
|
noTopMargin?: boolean;
|
|
174
192
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
193
|
+
backgroundColor?: ColorDefinition;
|
|
175
194
|
}
|
|
176
|
-
declare function export_default
|
|
195
|
+
declare function export_default$1f(props: SectionProps): React.JSX.Element | null;
|
|
177
196
|
|
|
178
197
|
interface SegmentedControlProps {
|
|
179
198
|
segments: {
|
|
180
199
|
key: string;
|
|
181
200
|
title: string;
|
|
182
201
|
}[];
|
|
183
|
-
selectedSegment
|
|
184
|
-
onSegmentSelected:
|
|
202
|
+
selectedSegment?: string;
|
|
203
|
+
onSegmentSelected(segmentKey: string): void;
|
|
185
204
|
className?: string;
|
|
186
205
|
color?: string;
|
|
206
|
+
variant?: "default" | "optionsHorizontal" | "optionsVertical";
|
|
187
207
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
188
208
|
}
|
|
189
|
-
declare function export_default$
|
|
209
|
+
declare function export_default$1e(props: SegmentedControlProps): React.JSX.Element;
|
|
190
210
|
|
|
191
|
-
declare function export_default$
|
|
211
|
+
declare function export_default$1d(): React.JSX.Element;
|
|
192
212
|
|
|
193
213
|
interface SingleExternalAccountProps {
|
|
194
214
|
externalAccount: ExternalAccount;
|
|
@@ -196,13 +216,13 @@ interface SingleExternalAccountProps {
|
|
|
196
216
|
onReconnectAccount: (account: ExternalAccount) => void;
|
|
197
217
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
198
218
|
}
|
|
199
|
-
declare function export_default$
|
|
219
|
+
declare function export_default$1c(props: SingleExternalAccountProps): React.JSX.Element;
|
|
200
220
|
|
|
201
221
|
interface SingleNotificationProps {
|
|
202
222
|
notification: Notification;
|
|
203
223
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
204
224
|
}
|
|
205
|
-
declare function export_default$
|
|
225
|
+
declare function export_default$1b(props: SingleNotificationProps): React.JSX.Element;
|
|
206
226
|
|
|
207
227
|
interface SingleSurveyTaskProps {
|
|
208
228
|
task: SurveyTask;
|
|
@@ -210,7 +230,7 @@ interface SingleSurveyTaskProps {
|
|
|
210
230
|
disableClick?: boolean;
|
|
211
231
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
212
232
|
}
|
|
213
|
-
declare function export_default$
|
|
233
|
+
declare function export_default$1a(props: SingleSurveyTaskProps): React.JSX.Element | null;
|
|
214
234
|
|
|
215
235
|
interface SparkBarChartProps {
|
|
216
236
|
averageFillPercent: number;
|
|
@@ -221,7 +241,7 @@ interface SparkBarChartBar {
|
|
|
221
241
|
color: string;
|
|
222
242
|
barFillPercent: number;
|
|
223
243
|
}
|
|
224
|
-
declare function export_default$
|
|
244
|
+
declare function export_default$19(props: SparkBarChartProps): React.JSX.Element;
|
|
225
245
|
|
|
226
246
|
interface SwitchProps {
|
|
227
247
|
isOn: Boolean;
|
|
@@ -230,7 +250,7 @@ interface SwitchProps {
|
|
|
230
250
|
className?: string;
|
|
231
251
|
innerRef?: React.Ref<HTMLButtonElement>;
|
|
232
252
|
}
|
|
233
|
-
declare function export_default$
|
|
253
|
+
declare function export_default$18(props: SwitchProps): React.JSX.Element;
|
|
234
254
|
|
|
235
255
|
interface StatusBarBackgroundProps {
|
|
236
256
|
color?: string;
|
|
@@ -242,8 +262,18 @@ interface TextBlockProps {
|
|
|
242
262
|
children?: React.ReactNode;
|
|
243
263
|
className?: string;
|
|
244
264
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
265
|
+
color?: ColorDefinition;
|
|
266
|
+
}
|
|
267
|
+
declare function export_default$17(props: TextBlockProps): React.JSX.Element | null;
|
|
268
|
+
|
|
269
|
+
interface TitleProps {
|
|
270
|
+
color?: ColorDefinition;
|
|
271
|
+
order?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
272
|
+
children?: React.ReactNode;
|
|
273
|
+
style?: React.CSSProperties;
|
|
274
|
+
className?: string;
|
|
245
275
|
}
|
|
246
|
-
declare function export_default$
|
|
276
|
+
declare function export_default$16(props: TitleProps): React.JSX.Element;
|
|
247
277
|
|
|
248
278
|
interface TrackerItemProps {
|
|
249
279
|
selected: boolean;
|
|
@@ -253,8 +283,9 @@ interface TrackerItemProps {
|
|
|
253
283
|
badge?: string;
|
|
254
284
|
onClick?: Function;
|
|
255
285
|
className?: string;
|
|
286
|
+
noBoxShadow?: boolean;
|
|
256
287
|
}
|
|
257
|
-
declare function export_default$
|
|
288
|
+
declare function export_default$15(props: TrackerItemProps): React.JSX.Element;
|
|
258
289
|
|
|
259
290
|
interface UnstyledButtonProps {
|
|
260
291
|
onClick: MouseEventHandler;
|
|
@@ -265,13 +296,13 @@ interface UnstyledButtonProps {
|
|
|
265
296
|
disabled?: boolean;
|
|
266
297
|
innerRef?: React.Ref<HTMLButtonElement>;
|
|
267
298
|
}
|
|
268
|
-
declare function export_default$
|
|
299
|
+
declare function export_default$14(props: UnstyledButtonProps): React.JSX.Element;
|
|
269
300
|
|
|
270
301
|
interface ViewHeaderProps {
|
|
271
302
|
title?: string;
|
|
272
303
|
subtitle?: string;
|
|
273
304
|
}
|
|
274
|
-
declare function export_default$
|
|
305
|
+
declare function export_default$13(props: ViewHeaderProps): React.JSX.Element | null;
|
|
275
306
|
|
|
276
307
|
interface WeekCalendarProps {
|
|
277
308
|
selectedDate?: Date;
|
|
@@ -282,14 +313,25 @@ interface WeekCalendarProps {
|
|
|
282
313
|
onStartDateChange?(startDate: Date): void;
|
|
283
314
|
dayRenderer(year: number, month: number, day: number, selectedWeek: boolean): JSX.Element | null;
|
|
284
315
|
}
|
|
285
|
-
declare function export_default$
|
|
316
|
+
declare function export_default$12(props: WeekCalendarProps): React.JSX.Element;
|
|
286
317
|
|
|
287
318
|
interface AppDownloadProps {
|
|
288
319
|
previewProjectPlatforms?: string[];
|
|
289
320
|
previewDevicePlatform?: string;
|
|
290
321
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
291
322
|
}
|
|
292
|
-
declare function export_default$
|
|
323
|
+
declare function export_default$11(props: AppDownloadProps): React.JSX.Element | null;
|
|
324
|
+
|
|
325
|
+
declare type DeviceAccountType = "Fitbit" | "Garmin" | "AppleHealth" | "GoogleFit" | "Omron";
|
|
326
|
+
interface ConnectDevicesMenuProps {
|
|
327
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
328
|
+
accountTypes?: DeviceAccountType[];
|
|
329
|
+
title?: string;
|
|
330
|
+
text?: string;
|
|
331
|
+
previewState?: "iOS" | "Android" | "Web" | "ConnectedStates";
|
|
332
|
+
headerVariant?: "large" | "medium";
|
|
333
|
+
}
|
|
334
|
+
declare function export_default$10(props: ConnectDevicesMenuProps): React.JSX.Element | null;
|
|
293
335
|
|
|
294
336
|
interface ConnectEhrProps {
|
|
295
337
|
applicationUrl: ConnectEhrApplicationUrl;
|
|
@@ -300,7 +342,7 @@ interface ConnectEhrProps {
|
|
|
300
342
|
}
|
|
301
343
|
declare type ConnectEhrApplicationUrl = "preview" | string;
|
|
302
344
|
declare type ConnectEhrPreviewState = "notEnabled" | "enabled" | "enabledConnected" | "enabledNeedsAttention";
|
|
303
|
-
declare function export_default
|
|
345
|
+
declare function export_default$$(props: ConnectEhrProps): React.JSX.Element | null;
|
|
304
346
|
|
|
305
347
|
interface ConnectFitbitProps {
|
|
306
348
|
title?: string;
|
|
@@ -310,7 +352,7 @@ interface ConnectFitbitProps {
|
|
|
310
352
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
311
353
|
}
|
|
312
354
|
declare type ConnectFitbitPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
313
|
-
declare function export_default$
|
|
355
|
+
declare function export_default$_(props: ConnectFitbitProps): React.JSX.Element;
|
|
314
356
|
|
|
315
357
|
interface ConnectGarminProps {
|
|
316
358
|
title?: string;
|
|
@@ -320,7 +362,7 @@ interface ConnectGarminProps {
|
|
|
320
362
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
321
363
|
}
|
|
322
364
|
declare type ConnectGarminPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
323
|
-
declare function export_default$
|
|
365
|
+
declare function export_default$Z(props: ConnectGarminProps): React.JSX.Element;
|
|
324
366
|
|
|
325
367
|
declare type DailyDataQueryResult = {
|
|
326
368
|
[key: string]: number;
|
|
@@ -430,13 +472,13 @@ interface DeviceDataChartLine {
|
|
|
430
472
|
showAverage?: boolean;
|
|
431
473
|
}
|
|
432
474
|
declare type DeviceDataMonthChartPreviewState = "WithData" | "NoData" | "Loading";
|
|
433
|
-
declare function export_default$
|
|
475
|
+
declare function export_default$Y(props: DeviceDataMonthChartProps): React.JSX.Element | null;
|
|
434
476
|
|
|
435
477
|
interface DeviceDataMonthChartsProps {
|
|
436
478
|
previewState?: DeviceDataMonthChartsPreviewState;
|
|
437
479
|
}
|
|
438
480
|
declare type DeviceDataMonthChartsPreviewState = "Default" | "NoData";
|
|
439
|
-
declare function export_default$
|
|
481
|
+
declare function export_default$X(props: DeviceDataMonthChartsProps): React.JSX.Element;
|
|
440
482
|
|
|
441
483
|
interface ExternalAccountListProps {
|
|
442
484
|
externalAccountProviderCategories?: string[];
|
|
@@ -445,14 +487,14 @@ interface ExternalAccountListProps {
|
|
|
445
487
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
446
488
|
}
|
|
447
489
|
declare type NotificationListPreviewState$1 = "Default";
|
|
448
|
-
declare function export_default$
|
|
490
|
+
declare function export_default$W(props: ExternalAccountListProps): React.JSX.Element;
|
|
449
491
|
|
|
450
492
|
interface ExternalAccountsLoadingIndicatorProps {
|
|
451
493
|
previewState?: "externalAccountsFetchingData" | "externalAccountsLoaded";
|
|
452
494
|
externalAccountCategories?: string[];
|
|
453
495
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
454
496
|
}
|
|
455
|
-
declare function export_default$
|
|
497
|
+
declare function export_default$V(props: ExternalAccountsLoadingIndicatorProps): React.JSX.Element | null;
|
|
456
498
|
|
|
457
499
|
interface ExternalAccountsPreviewProps {
|
|
458
500
|
excludeProviders?: boolean;
|
|
@@ -464,7 +506,7 @@ interface ExternalAccountsPreviewProps {
|
|
|
464
506
|
}
|
|
465
507
|
declare type ExternalAccountsApplicationUrl = "preview" | string;
|
|
466
508
|
declare type ExternalAccountsPreviewPreviewState = "Default";
|
|
467
|
-
declare function export_default$
|
|
509
|
+
declare function export_default$U(props: ExternalAccountsPreviewProps): React.JSX.Element | null;
|
|
468
510
|
|
|
469
511
|
declare type ConnectedDevicesPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
470
512
|
|
|
@@ -472,25 +514,25 @@ interface FitbitDevicesProps {
|
|
|
472
514
|
previewState?: ConnectedDevicesPreviewState;
|
|
473
515
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
474
516
|
}
|
|
475
|
-
declare function export_default$
|
|
517
|
+
declare function export_default$T(props: FitbitDevicesProps): React.JSX.Element;
|
|
476
518
|
|
|
477
519
|
declare type MonthChartsPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
478
520
|
|
|
479
521
|
interface FitbitMonthChartsProps {
|
|
480
522
|
previewState?: MonthChartsPreviewState;
|
|
481
523
|
}
|
|
482
|
-
declare function export_default$
|
|
524
|
+
declare function export_default$S(props: FitbitMonthChartsProps): React.JSX.Element;
|
|
483
525
|
|
|
484
526
|
interface GarminDevicesProps {
|
|
485
527
|
previewState?: ConnectedDevicesPreviewState;
|
|
486
528
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
487
529
|
}
|
|
488
|
-
declare function export_default$
|
|
530
|
+
declare function export_default$R(props: GarminDevicesProps): React.JSX.Element;
|
|
489
531
|
|
|
490
532
|
interface GarminMonthChartsProps {
|
|
491
533
|
previewState?: MonthChartsPreviewState;
|
|
492
534
|
}
|
|
493
|
-
declare function export_default$
|
|
535
|
+
declare function export_default$Q(props: GarminMonthChartsProps): React.JSX.Element;
|
|
494
536
|
|
|
495
537
|
declare type HealthPreviewSectionConcept = "Medications" | "Immunizations" | "Reports" | "Allergies" | "Conditions" | "Procedures";
|
|
496
538
|
interface HealthPreviewSectionProps {
|
|
@@ -500,7 +542,7 @@ interface HealthPreviewSectionProps {
|
|
|
500
542
|
indicatorPosition?: "default" | "topRight";
|
|
501
543
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
502
544
|
}
|
|
503
|
-
declare function export_default$
|
|
545
|
+
declare function export_default$P(props: HealthPreviewSectionProps): React.JSX.Element | null;
|
|
504
546
|
|
|
505
547
|
interface TermInformation {
|
|
506
548
|
TermFamily: string;
|
|
@@ -514,7 +556,7 @@ interface LabResultsSummaryProps {
|
|
|
514
556
|
onViewTermInfo(termInfo: TermInformation): void;
|
|
515
557
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
516
558
|
}
|
|
517
|
-
declare function export_default$
|
|
559
|
+
declare function export_default$O(props: LabResultsSummaryProps): React.JSX.Element | null;
|
|
518
560
|
|
|
519
561
|
interface MostRecentNotificationProps {
|
|
520
562
|
notificationType?: NotificationType;
|
|
@@ -524,7 +566,7 @@ interface MostRecentNotificationProps {
|
|
|
524
566
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
525
567
|
}
|
|
526
568
|
declare type MostRecentNotificationPreviewState = "Default";
|
|
527
|
-
declare function export_default$
|
|
569
|
+
declare function export_default$N(props: MostRecentNotificationProps): React.JSX.Element | null;
|
|
528
570
|
|
|
529
571
|
interface NotificationListProps {
|
|
530
572
|
notificationType?: NotificationType;
|
|
@@ -532,7 +574,7 @@ interface NotificationListProps {
|
|
|
532
574
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
533
575
|
}
|
|
534
576
|
declare type NotificationListPreviewState = "Default" | "NoData";
|
|
535
|
-
declare function export_default$
|
|
577
|
+
declare function export_default$M(props: NotificationListProps): React.JSX.Element;
|
|
536
578
|
|
|
537
579
|
interface PlatformSpecificContentProps {
|
|
538
580
|
platforms: string[];
|
|
@@ -540,31 +582,30 @@ interface PlatformSpecificContentProps {
|
|
|
540
582
|
previewDevicePlatform?: string;
|
|
541
583
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
542
584
|
}
|
|
543
|
-
declare function export_default$
|
|
585
|
+
declare function export_default$L(props: PlatformSpecificContentProps): React.JSX.Element | null;
|
|
544
586
|
|
|
545
587
|
interface ProjectHeaderProps {
|
|
546
588
|
previewState?: ProjectHeaderPropsPreviewState;
|
|
547
589
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
548
590
|
}
|
|
549
591
|
declare type ProjectHeaderPropsPreviewState = "Default";
|
|
550
|
-
declare function export_default$
|
|
592
|
+
declare function export_default$K(props: ProjectHeaderProps): React.JSX.Element;
|
|
551
593
|
|
|
552
594
|
interface ProjectSupportProps {
|
|
553
595
|
previewState?: ProjectSupportPropsPreviewState;
|
|
554
596
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
555
597
|
}
|
|
556
598
|
declare type ProjectSupportPropsPreviewState = "Default";
|
|
557
|
-
declare function export_default$
|
|
599
|
+
declare function export_default$J(props: ProjectSupportProps): React.JSX.Element | null;
|
|
558
600
|
|
|
559
601
|
interface ProviderSearchProps {
|
|
560
602
|
previewState?: ProviderSearchPreviewState;
|
|
561
603
|
providerCategories?: string[];
|
|
562
|
-
|
|
563
|
-
onProviderSelected?: (provider: ExternalAccountProvider) => void;
|
|
604
|
+
onProviderConnected?: (provider: ExternalAccountProvider) => void;
|
|
564
605
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
565
606
|
}
|
|
566
607
|
declare type ProviderSearchPreviewState = "Default";
|
|
567
|
-
declare function export_default$
|
|
608
|
+
declare function export_default$I(props: ProviderSearchProps): React.JSX.Element;
|
|
568
609
|
|
|
569
610
|
interface RelativeActivityTodayProps {
|
|
570
611
|
dataTypes: RelativeActivityDataType[];
|
|
@@ -579,7 +620,7 @@ interface RelativeActivityDataType {
|
|
|
579
620
|
color: string;
|
|
580
621
|
formatter: (number: number) => string;
|
|
581
622
|
}
|
|
582
|
-
declare function export_default$
|
|
623
|
+
declare function export_default$H(props: RelativeActivityTodayProps): React.JSX.Element | null;
|
|
583
624
|
|
|
584
625
|
declare type RestingHeartRateCalendarPreviewState = "WithData" | "NoData" | "Loading";
|
|
585
626
|
interface RestingHeartRateCalendarProps {
|
|
@@ -588,7 +629,7 @@ interface RestingHeartRateCalendarProps {
|
|
|
588
629
|
showPreviewData: RestingHeartRateCalendarPreviewState;
|
|
589
630
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
590
631
|
}
|
|
591
|
-
declare function export_default$
|
|
632
|
+
declare function export_default$G(props: RestingHeartRateCalendarProps): React.JSX.Element;
|
|
592
633
|
|
|
593
634
|
interface SurveyTaskListProps {
|
|
594
635
|
status: SurveyTaskStatus;
|
|
@@ -601,7 +642,165 @@ interface SurveyTaskListProps {
|
|
|
601
642
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
602
643
|
}
|
|
603
644
|
declare type SurveyTaskListListPreviewState = "IncompleteTasks" | "CompleteTasks";
|
|
604
|
-
declare function export_default$
|
|
645
|
+
declare function export_default$F(props: SurveyTaskListProps): React.JSX.Element | null;
|
|
646
|
+
|
|
647
|
+
interface SymptomSharkCalendarProps {
|
|
648
|
+
intervalStart?: Date;
|
|
649
|
+
onDaySelected(day: Date): void;
|
|
650
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
651
|
+
}
|
|
652
|
+
declare function export_default$E(props: SymptomSharkCalendarProps): React.JSX.Element;
|
|
653
|
+
|
|
654
|
+
interface OverallExperienceChartProps {
|
|
655
|
+
intervalStart?: Date;
|
|
656
|
+
showAllDays?: boolean;
|
|
657
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
658
|
+
}
|
|
659
|
+
declare function export_default$D(props: OverallExperienceChartProps): React.JSX.Element | null;
|
|
660
|
+
|
|
661
|
+
interface SymptomSharkDataService {
|
|
662
|
+
getConfiguration(): Promise<SymptomSharkConfiguration>;
|
|
663
|
+
getDailyLogEntries(after?: string, before?: string): Promise<{
|
|
664
|
+
[key: string]: DailyLogEntry;
|
|
665
|
+
}>;
|
|
666
|
+
saveDailyLogEntry(date: string, entry: DailyLogEntry): Promise<any>;
|
|
667
|
+
}
|
|
668
|
+
interface SymptomSharkConfiguration {
|
|
669
|
+
symptoms: SymptomConfiguration[];
|
|
670
|
+
treatments: TreatmentConfiguration[];
|
|
671
|
+
}
|
|
672
|
+
interface SymptomConfiguration {
|
|
673
|
+
id: string;
|
|
674
|
+
color: string;
|
|
675
|
+
name: string;
|
|
676
|
+
severityTracking: 'None' | '3PointScale' | '10PointScale';
|
|
677
|
+
inactive?: boolean;
|
|
678
|
+
}
|
|
679
|
+
interface TreatmentConfiguration {
|
|
680
|
+
id: string;
|
|
681
|
+
color: string;
|
|
682
|
+
name: string;
|
|
683
|
+
inactive?: boolean;
|
|
684
|
+
}
|
|
685
|
+
interface DailyLogEntry {
|
|
686
|
+
symptoms: SymptomReference[];
|
|
687
|
+
treatments: TreatmentReference[];
|
|
688
|
+
overallFeeling?: number;
|
|
689
|
+
notes: string;
|
|
690
|
+
icon?: string;
|
|
691
|
+
}
|
|
692
|
+
interface SymptomReference {
|
|
693
|
+
id: string;
|
|
694
|
+
severity?: number;
|
|
695
|
+
}
|
|
696
|
+
interface TreatmentReference {
|
|
697
|
+
id: string;
|
|
698
|
+
}
|
|
699
|
+
declare function convertToSymptomSharkConfiguration(info: ParticipantInfo): {
|
|
700
|
+
symptoms: SymptomConfiguration[];
|
|
701
|
+
treatments: TreatmentConfiguration[];
|
|
702
|
+
};
|
|
703
|
+
|
|
704
|
+
interface SymptomSharkLogEntryProps {
|
|
705
|
+
date: Date;
|
|
706
|
+
logEntry?: DailyLogEntry;
|
|
707
|
+
configuration: SymptomSharkConfiguration;
|
|
708
|
+
onClick?(d: Date): void;
|
|
709
|
+
title?: string;
|
|
710
|
+
subtitle?: string;
|
|
711
|
+
highlight?: boolean;
|
|
712
|
+
noDataMessage?: string;
|
|
713
|
+
highlightedSymptoms?: string[];
|
|
714
|
+
highlightedTreatments?: string[];
|
|
715
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
716
|
+
}
|
|
717
|
+
declare function export_default$C(props: SymptomSharkLogEntryProps): React.JSX.Element | null;
|
|
718
|
+
|
|
719
|
+
interface SymptomTreatmentHistogramsProps {
|
|
720
|
+
intervalStart?: Date;
|
|
721
|
+
onSymptomSelected(symptom: string, intervalStart: Date): void;
|
|
722
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
723
|
+
}
|
|
724
|
+
declare function export_default$B(props: SymptomTreatmentHistogramsProps): React.JSX.Element | null;
|
|
725
|
+
|
|
726
|
+
interface SymptomSeveritySummaryProps {
|
|
727
|
+
symptom: SymptomConfiguration;
|
|
728
|
+
intervalStart?: Date;
|
|
729
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
730
|
+
}
|
|
731
|
+
declare function export_default$A(props: SymptomSeveritySummaryProps): React.JSX.Element | null;
|
|
732
|
+
|
|
733
|
+
interface SymptomSeverityChartProps {
|
|
734
|
+
intervalStart?: Date;
|
|
735
|
+
symptom: SymptomConfiguration;
|
|
736
|
+
showAllDays?: boolean;
|
|
737
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
738
|
+
}
|
|
739
|
+
declare function export_default$z(props: SymptomSeverityChartProps): React.JSX.Element | null;
|
|
740
|
+
|
|
741
|
+
interface SymptomTreatmentFiltersProps {
|
|
742
|
+
expandedDropdown: "Symptoms" | "Treatments" | null;
|
|
743
|
+
onExpandedDropdownChange(expandedDropdown: "Symptoms" | "Treatments" | null): void;
|
|
744
|
+
selectedSymptoms: string[];
|
|
745
|
+
selectedTreatments: string[];
|
|
746
|
+
configuration: SymptomSharkConfiguration;
|
|
747
|
+
onSymptomsSelectionChange(symptoms: string[]): void;
|
|
748
|
+
onTreatmentsSelectionChange(treatments: string[]): void;
|
|
749
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
750
|
+
}
|
|
751
|
+
declare function export_default$y(props: SymptomTreatmentFiltersProps): React.JSX.Element;
|
|
752
|
+
|
|
753
|
+
interface SymptomSharkLogEntryListProps {
|
|
754
|
+
onDaySelected(d: Date): void;
|
|
755
|
+
previewState?: "default";
|
|
756
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
757
|
+
}
|
|
758
|
+
declare function export_default$x(props: SymptomSharkLogEntryListProps): React.JSX.Element;
|
|
759
|
+
|
|
760
|
+
interface SymptomSharkLogTodayProps {
|
|
761
|
+
previewState?: "withLog" | "noLog";
|
|
762
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
763
|
+
}
|
|
764
|
+
declare function export_default$w(props: SymptomSharkLogTodayProps): React.JSX.Element | null;
|
|
765
|
+
|
|
766
|
+
interface SymptomSharkLogEntryEditProps {
|
|
767
|
+
date: Date;
|
|
768
|
+
promptForReviewAfterDays?: number;
|
|
769
|
+
previewState?: "default";
|
|
770
|
+
}
|
|
771
|
+
declare function export_default$v(props: SymptomSharkLogEntryEditProps): React.JSX.Element;
|
|
772
|
+
|
|
773
|
+
interface SymptomSharkVisualizationCoordinatorProps {
|
|
774
|
+
children: React.ReactNode;
|
|
775
|
+
showFilters?: boolean;
|
|
776
|
+
previewState?: "default";
|
|
777
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
778
|
+
}
|
|
779
|
+
declare function export_default$u(props: SymptomSharkVisualizationCoordinatorProps): React.JSX.Element;
|
|
780
|
+
|
|
781
|
+
interface CalendarViewProps {
|
|
782
|
+
colorScheme?: "light" | "dark" | "auto";
|
|
783
|
+
onDaySelected(d: Date): void;
|
|
784
|
+
onSymptomSelected(symptom: string, intervalStart: Date): void;
|
|
785
|
+
previewState?: "default";
|
|
786
|
+
}
|
|
787
|
+
declare function export_default$t(props: CalendarViewProps): React.JSX.Element;
|
|
788
|
+
|
|
789
|
+
interface LogEntryEditViewProps {
|
|
790
|
+
colorScheme?: "light" | "dark" | "auto";
|
|
791
|
+
date: Date;
|
|
792
|
+
promptForReviewAfterDays?: number;
|
|
793
|
+
previewState?: "default";
|
|
794
|
+
}
|
|
795
|
+
declare function export_default$s(props: LogEntryEditViewProps): React.JSX.Element;
|
|
796
|
+
|
|
797
|
+
interface SymptomDetailViewProps {
|
|
798
|
+
symptomId: string;
|
|
799
|
+
colorScheme?: "light" | "dark" | "auto";
|
|
800
|
+
previewState?: "default";
|
|
801
|
+
initialIntervalStart?: Date;
|
|
802
|
+
}
|
|
803
|
+
declare function export_default$r(props: SymptomDetailViewProps): React.JSX.Element;
|
|
605
804
|
|
|
606
805
|
interface BlankViewProps {
|
|
607
806
|
children?: React.ReactNode;
|
|
@@ -610,7 +809,8 @@ interface BlankViewProps {
|
|
|
610
809
|
showCloseButton?: boolean;
|
|
611
810
|
showBackButton?: boolean;
|
|
612
811
|
colorScheme?: "auto" | "light" | "dark";
|
|
613
|
-
primaryColor?:
|
|
812
|
+
primaryColor?: ColorDefinition;
|
|
813
|
+
bodyBackgroundColor?: ColorDefinition;
|
|
614
814
|
}
|
|
615
815
|
declare function export_default$q(props: BlankViewProps): React.JSX.Element;
|
|
616
816
|
|
|
@@ -729,10 +929,14 @@ interface ConnectDeviceAccountStepProps {
|
|
|
729
929
|
styles: {
|
|
730
930
|
[key: string]: any;
|
|
731
931
|
};
|
|
932
|
+
onConnect: () => void;
|
|
732
933
|
}
|
|
733
934
|
declare function export_default$e(props: ConnectDeviceAccountStepProps): React.JSX.Element;
|
|
734
935
|
|
|
735
|
-
|
|
936
|
+
interface ConnectDeviceAccountStepContainerProps {
|
|
937
|
+
deviceType?: string;
|
|
938
|
+
}
|
|
939
|
+
declare function export_default$d(props: ConnectDeviceAccountStepContainerProps): React.JSX.Element;
|
|
736
940
|
|
|
737
941
|
interface ConnectEhrStepProps {
|
|
738
942
|
title?: string;
|
|
@@ -740,7 +944,8 @@ interface ConnectEhrStepProps {
|
|
|
740
944
|
nextButtonText?: string;
|
|
741
945
|
nextButtonDisabled?: boolean;
|
|
742
946
|
previewState?: ProviderSearchPreviewState;
|
|
743
|
-
|
|
947
|
+
onProviderConnected: (provider: ExternalAccountProvider) => void;
|
|
948
|
+
onNextButtonClick: () => void;
|
|
744
949
|
styles: {
|
|
745
950
|
[key: string]: any;
|
|
746
951
|
};
|
|
@@ -812,4 +1017,4 @@ declare function language(key: string): string;
|
|
|
812
1017
|
|
|
813
1018
|
declare function getDayKey(date: Date): string;
|
|
814
1019
|
|
|
815
|
-
export { export_default$
|
|
1020
|
+
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, ColorDefinition, 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, resolveColor, export_default as useInterval };
|