@careevolution/mydatahelps-ui 2.9.1-AsthmaUI.2 → 2.9.1-Issue139.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 +24 -24
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/index.d.ts +2 -3
- package/dist/cjs/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
- package/dist/cjs/types/components/presentational/Layout/index.d.ts +2 -1
- package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +2 -0
- package/dist/cjs/types/components/presentational/index.d.ts +1 -2
- package/dist/esm/index.js +23 -23
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/index.d.ts +2 -3
- package/dist/esm/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
- package/dist/esm/types/components/presentational/Layout/index.d.ts +2 -1
- package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +2 -0
- package/dist/esm/types/components/presentational/index.d.ts +1 -2
- package/dist/index.d.ts +531 -730
- package/package.json +1 -1
- package/dist/cjs/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.d.ts +0 -9
- package/dist/cjs/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +0 -6
- package/dist/cjs/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +0 -16
- package/dist/cjs/types/components/asthma/container/AsthmaAirQualities/index.d.ts +0 -2
- package/dist/cjs/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.d.ts +0 -9
- package/dist/cjs/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +0 -6
- package/dist/cjs/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +0 -16
- package/dist/cjs/types/components/asthma/container/AsthmaBiometrics/index.d.ts +0 -2
- package/dist/cjs/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.d.ts +0 -10
- package/dist/cjs/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.previewData.d.ts +0 -8
- package/dist/cjs/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.stories.d.ts +0 -16
- package/dist/cjs/types/components/asthma/container/AsthmaCalendarViewHeader/index.d.ts +0 -2
- package/dist/cjs/types/components/asthma/container/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +0 -9
- package/dist/cjs/types/components/asthma/container/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +0 -6
- package/dist/cjs/types/components/asthma/container/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +0 -22
- package/dist/cjs/types/components/asthma/container/AsthmaControlCalendar/index.d.ts +0 -2
- package/dist/cjs/types/components/asthma/container/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +0 -10
- package/dist/cjs/types/components/asthma/container/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +0 -8
- package/dist/cjs/types/components/asthma/container/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +0 -138
- package/dist/cjs/types/components/asthma/container/AsthmaControlStatusHeader/index.d.ts +0 -2
- package/dist/cjs/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.d.ts +0 -10
- package/dist/cjs/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.previewData.d.ts +0 -10
- package/dist/cjs/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.stories.d.ts +0 -16
- package/dist/cjs/types/components/asthma/container/AsthmaDashboardViewHeader/index.d.ts +0 -2
- package/dist/cjs/types/components/asthma/container/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +0 -10
- package/dist/cjs/types/components/asthma/container/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +0 -7
- package/dist/cjs/types/components/asthma/container/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +0 -34
- package/dist/cjs/types/components/asthma/container/AsthmaLogEntryHeader/index.d.ts +0 -2
- package/dist/cjs/types/components/asthma/container/index.d.ts +0 -7
- package/dist/cjs/types/components/asthma/helpers/asthma-data.d.ts +0 -9
- package/dist/cjs/types/components/asthma/helpers/asthma-functions.d.ts +0 -7
- package/dist/cjs/types/components/asthma/helpers/index.d.ts +0 -2
- package/dist/cjs/types/components/asthma/index.d.ts +0 -5
- package/dist/cjs/types/components/asthma/model/index.d.ts +0 -1
- package/dist/cjs/types/components/asthma/model/types.d.ts +0 -49
- package/dist/cjs/types/components/asthma/presentational/AsthmaDataSummary/AsthmaDataSummary.d.ts +0 -12
- package/dist/cjs/types/components/asthma/presentational/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +0 -70
- package/dist/cjs/types/components/asthma/presentational/AsthmaDataSummary/index.d.ts +0 -1
- package/dist/cjs/types/components/asthma/presentational/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +0 -11
- package/dist/cjs/types/components/asthma/presentational/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +0 -60
- package/dist/cjs/types/components/asthma/presentational/AsthmaLogEntrySummary/index.d.ts +0 -1
- package/dist/cjs/types/components/asthma/presentational/AsthmaViewTitle/AsthmaViewTitle.d.ts +0 -7
- package/dist/cjs/types/components/asthma/presentational/AsthmaViewTitle/AsthmaViewTitle.stories.d.ts +0 -16
- package/dist/cjs/types/components/asthma/presentational/AsthmaViewTitle/index.d.ts +0 -1
- package/dist/cjs/types/components/asthma/presentational/index.d.ts +0 -3
- package/dist/cjs/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.d.ts +0 -9
- package/dist/cjs/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.previewData.d.ts +0 -6
- package/dist/cjs/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.stories.d.ts +0 -18
- package/dist/cjs/types/components/asthma/views/AsthmaCalendarView/index.d.ts +0 -1
- package/dist/cjs/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.d.ts +0 -9
- package/dist/cjs/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.previewData.d.ts +0 -8
- package/dist/cjs/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.stories.d.ts +0 -18
- package/dist/cjs/types/components/asthma/views/AsthmaDashboardView/index.d.ts +0 -1
- package/dist/cjs/types/components/asthma/views/AsthmaDataView/AsthmaDataView.d.ts +0 -7
- package/dist/cjs/types/components/asthma/views/AsthmaDataView/AsthmaDataView.previewData.d.ts +0 -8
- package/dist/cjs/types/components/asthma/views/AsthmaDataView/AsthmaDataView.stories.d.ts +0 -16
- package/dist/cjs/types/components/asthma/views/AsthmaDataView/index.d.ts +0 -1
- package/dist/cjs/types/components/asthma/views/index.d.ts +0 -3
- package/dist/cjs/types/components/presentational/BasicCalendar/BasicCalendar.d.ts +0 -15
- package/dist/cjs/types/components/presentational/BasicCalendar/BasicCalendar.stories.d.ts +0 -17
- package/dist/cjs/types/components/presentational/BasicCalendar/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.d.ts +0 -9
- package/dist/esm/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +0 -6
- package/dist/esm/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +0 -16
- package/dist/esm/types/components/asthma/container/AsthmaAirQualities/index.d.ts +0 -2
- package/dist/esm/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.d.ts +0 -9
- package/dist/esm/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +0 -6
- package/dist/esm/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +0 -16
- package/dist/esm/types/components/asthma/container/AsthmaBiometrics/index.d.ts +0 -2
- package/dist/esm/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.d.ts +0 -10
- package/dist/esm/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.previewData.d.ts +0 -8
- package/dist/esm/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.stories.d.ts +0 -16
- package/dist/esm/types/components/asthma/container/AsthmaCalendarViewHeader/index.d.ts +0 -2
- package/dist/esm/types/components/asthma/container/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +0 -9
- package/dist/esm/types/components/asthma/container/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +0 -6
- package/dist/esm/types/components/asthma/container/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +0 -22
- package/dist/esm/types/components/asthma/container/AsthmaControlCalendar/index.d.ts +0 -2
- package/dist/esm/types/components/asthma/container/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +0 -10
- package/dist/esm/types/components/asthma/container/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +0 -8
- package/dist/esm/types/components/asthma/container/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +0 -138
- package/dist/esm/types/components/asthma/container/AsthmaControlStatusHeader/index.d.ts +0 -2
- package/dist/esm/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.d.ts +0 -10
- package/dist/esm/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.previewData.d.ts +0 -10
- package/dist/esm/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.stories.d.ts +0 -16
- package/dist/esm/types/components/asthma/container/AsthmaDashboardViewHeader/index.d.ts +0 -2
- package/dist/esm/types/components/asthma/container/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +0 -10
- package/dist/esm/types/components/asthma/container/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +0 -7
- package/dist/esm/types/components/asthma/container/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +0 -34
- package/dist/esm/types/components/asthma/container/AsthmaLogEntryHeader/index.d.ts +0 -2
- package/dist/esm/types/components/asthma/container/index.d.ts +0 -7
- package/dist/esm/types/components/asthma/helpers/asthma-data.d.ts +0 -9
- package/dist/esm/types/components/asthma/helpers/asthma-functions.d.ts +0 -7
- package/dist/esm/types/components/asthma/helpers/index.d.ts +0 -2
- package/dist/esm/types/components/asthma/index.d.ts +0 -5
- package/dist/esm/types/components/asthma/model/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/model/types.d.ts +0 -49
- package/dist/esm/types/components/asthma/presentational/AsthmaDataSummary/AsthmaDataSummary.d.ts +0 -12
- package/dist/esm/types/components/asthma/presentational/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +0 -70
- package/dist/esm/types/components/asthma/presentational/AsthmaDataSummary/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/presentational/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +0 -11
- package/dist/esm/types/components/asthma/presentational/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +0 -60
- package/dist/esm/types/components/asthma/presentational/AsthmaLogEntrySummary/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/presentational/AsthmaViewTitle/AsthmaViewTitle.d.ts +0 -7
- package/dist/esm/types/components/asthma/presentational/AsthmaViewTitle/AsthmaViewTitle.stories.d.ts +0 -16
- package/dist/esm/types/components/asthma/presentational/AsthmaViewTitle/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/presentational/index.d.ts +0 -3
- package/dist/esm/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.d.ts +0 -9
- package/dist/esm/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.previewData.d.ts +0 -6
- package/dist/esm/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.stories.d.ts +0 -18
- package/dist/esm/types/components/asthma/views/AsthmaCalendarView/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.d.ts +0 -9
- package/dist/esm/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.previewData.d.ts +0 -8
- package/dist/esm/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.stories.d.ts +0 -18
- package/dist/esm/types/components/asthma/views/AsthmaDashboardView/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/views/AsthmaDataView/AsthmaDataView.d.ts +0 -7
- package/dist/esm/types/components/asthma/views/AsthmaDataView/AsthmaDataView.previewData.d.ts +0 -8
- package/dist/esm/types/components/asthma/views/AsthmaDataView/AsthmaDataView.stories.d.ts +0 -16
- package/dist/esm/types/components/asthma/views/AsthmaDataView/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/views/index.d.ts +0 -3
- package/dist/esm/types/components/presentational/BasicCalendar/BasicCalendar.d.ts +0 -15
- package/dist/esm/types/components/presentational/BasicCalendar/BasicCalendar.stories.d.ts +0 -17
- package/dist/esm/types/components/presentational/BasicCalendar/index.d.ts +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,590 +1,13 @@
|
|
|
1
|
-
import React, { ReactElement,
|
|
2
|
-
import { ParticipantInfo, ExternalAccountStatus, ExternalAccount, NotificationType, ExternalAccountProvider, SurveyTaskStatus, StatusBarStyle, Notification, SurveyTask } from '@careevolution/mydatahelps-js';
|
|
1
|
+
import React, { ReactElement, MouseEventHandler, ReactNode, CSSProperties } from 'react';
|
|
3
2
|
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
hasEstablishedBaseline(): boolean;
|
|
12
|
-
hasRequestedWithdrawal(): boolean;
|
|
13
|
-
private hasEstablishedBaselineByType;
|
|
14
|
-
private getCustomFieldValue;
|
|
15
|
-
}
|
|
16
|
-
interface AsthmaControlMetrics {
|
|
17
|
-
date: string;
|
|
18
|
-
nighttimeAwakeningDaysPast7: number;
|
|
19
|
-
limitedActivityDaysPast7: number;
|
|
20
|
-
inhalerUseDaysPast7: number;
|
|
21
|
-
symptomDaysPast7: number;
|
|
22
|
-
loggedDaysPast7: number;
|
|
23
|
-
}
|
|
24
|
-
type AsthmaControlStatus = 'no-data' | 'not-controlled' | 'controlled' | 'not-determined';
|
|
25
|
-
interface AsthmaControlState {
|
|
26
|
-
status: AsthmaControlStatus;
|
|
27
|
-
symptomDaysPast7?: number;
|
|
28
|
-
nighttimeAwakeningDaysPast7?: number;
|
|
29
|
-
limitedActivityDaysPast7?: number;
|
|
30
|
-
inhalerUseDaysPast7?: number;
|
|
31
|
-
}
|
|
32
|
-
type AsthmaDataStatus = 'establishing' | 'offline' | 'in-range' | 'out-of-range';
|
|
33
|
-
type AsthmaBiometricType = 'daytime-resting-heart-rate' | 'nighttime-resting-heart-rate' | 'respiratory-rate' | 'activity' | 'sleep';
|
|
34
|
-
interface AsthmaBiometric {
|
|
35
|
-
type: AsthmaBiometricType;
|
|
36
|
-
status: AsthmaDataStatus;
|
|
37
|
-
value?: number;
|
|
38
|
-
}
|
|
39
|
-
type AsthmaAirQualityType = 'work' | 'home';
|
|
40
|
-
interface AsthmaAirQuality {
|
|
41
|
-
type: AsthmaAirQualityType;
|
|
42
|
-
status: AsthmaDataStatus;
|
|
43
|
-
value?: number;
|
|
44
|
-
description?: string;
|
|
45
|
-
}
|
|
46
|
-
type AsthmaSymptomLevel = 'none' | 'mild' | 'moderate' | 'severe';
|
|
47
|
-
interface AsthmaLogEntry {
|
|
48
|
-
identifier: string;
|
|
49
|
-
symptomLevel: AsthmaSymptomLevel;
|
|
50
|
-
symptoms: string[];
|
|
51
|
-
impacts: string[];
|
|
52
|
-
triggers: string[];
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
type AsthmaAirQualitiesPreviewState = 'default';
|
|
56
|
-
|
|
57
|
-
interface AsthmaAirQualitiesProps {
|
|
58
|
-
previewState?: AsthmaAirQualitiesPreviewState;
|
|
59
|
-
onClick: () => void;
|
|
60
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
61
|
-
}
|
|
62
|
-
declare function export_default$1P(props: AsthmaAirQualitiesProps): React.JSX.Element;
|
|
63
|
-
|
|
64
|
-
type AsthmaBiometricsPreviewState = 'default';
|
|
65
|
-
|
|
66
|
-
interface AsthmaBiometricsProps {
|
|
67
|
-
previewState?: AsthmaBiometricsPreviewState;
|
|
68
|
-
onClick: () => void;
|
|
69
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
70
|
-
}
|
|
71
|
-
declare function export_default$1O(props: AsthmaBiometricsProps): React.JSX.Element;
|
|
72
|
-
|
|
73
|
-
type AsthmaLogEntryHeaderPreviewState = 'no-logs' | 'today-log-only' | 'yesterday-log-only' | 'both-logs';
|
|
74
|
-
|
|
75
|
-
interface AsthmaLogEntryHeaderProps {
|
|
76
|
-
previewState?: AsthmaLogEntryHeaderPreviewState;
|
|
77
|
-
logTodayEntrySurveyName: string;
|
|
78
|
-
logYesterdayEntrySurveyName: string;
|
|
79
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
80
|
-
}
|
|
81
|
-
declare function export_default$1N(props: AsthmaLogEntryHeaderProps): React.JSX.Element | null;
|
|
82
|
-
|
|
83
|
-
type AsthmaControlCalendarPreviewState = 'no-logs' | 'some-logs';
|
|
84
|
-
|
|
85
|
-
interface AsthmaControlCalendarProps {
|
|
86
|
-
previewState?: AsthmaControlCalendarPreviewState;
|
|
87
|
-
intervalStart?: Date;
|
|
88
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
89
|
-
}
|
|
90
|
-
declare function export_default$1M(props: AsthmaControlCalendarProps): React.JSX.Element;
|
|
91
|
-
|
|
92
|
-
type AsthmaCalendarViewHeaderPreviewState = 'default';
|
|
93
|
-
|
|
94
|
-
interface AsthmaCalendarViewHeaderProps {
|
|
95
|
-
previewState?: AsthmaCalendarViewHeaderPreviewState;
|
|
96
|
-
logTodayEntrySurveyName: string;
|
|
97
|
-
logYesterdayEntrySurveyName: string;
|
|
98
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
99
|
-
}
|
|
100
|
-
declare function export_default$1L(props: AsthmaCalendarViewHeaderProps): React.JSX.Element;
|
|
101
|
-
|
|
102
|
-
type AsthmaControlStatusHeaderPreviewState = 'no-data' | 'abnormal-dhr' | 'abnormal-nhr' | 'abnormal-rr' | 'abnormal-activity' | 'abnormal-sleep' | 'abnormal-home-aqi' | 'abnormal-work-aqi' | 'abnormal-multiple' | 'not-determined' | 'not-controlled' | 'controlled';
|
|
103
|
-
|
|
104
|
-
interface AsthmaControlStatusHeaderProps {
|
|
105
|
-
previewState?: AsthmaControlStatusHeaderPreviewState;
|
|
106
|
-
participant: AsthmaParticipant;
|
|
107
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
108
|
-
}
|
|
109
|
-
declare function export_default$1K(props: AsthmaControlStatusHeaderProps): React.JSX.Element | null;
|
|
110
|
-
|
|
111
|
-
type AsthmaDashboardViewHeaderPreviewState = 'default';
|
|
112
|
-
|
|
113
|
-
interface AsthmaDashboardViewHeaderProps {
|
|
114
|
-
previewState?: AsthmaDashboardViewHeaderPreviewState;
|
|
115
|
-
logTodayEntrySurveyName: string;
|
|
116
|
-
logYesterdayEntrySurveyName: string;
|
|
117
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
118
|
-
}
|
|
119
|
-
declare function export_default$1J(props: AsthmaDashboardViewHeaderProps): React.JSX.Element | null;
|
|
120
|
-
|
|
121
|
-
interface AsthmaDataService {
|
|
122
|
-
loadParticipant(): Promise<AsthmaParticipant>;
|
|
123
|
-
loadLogEntries(fromDate?: Date): Promise<AsthmaLogEntry[]>;
|
|
124
|
-
loadBiometrics(): Promise<AsthmaBiometric[]>;
|
|
125
|
-
loadAirQualities(): Promise<AsthmaAirQuality[]>;
|
|
126
|
-
}
|
|
127
|
-
declare const service: AsthmaDataService;
|
|
128
|
-
|
|
129
|
-
declare const dateToAsthmaLogEntryIdentifier: (date: Date) => string;
|
|
130
|
-
declare const computeAsthmaControlState: (logEntries: AsthmaLogEntry[], date: Date) => AsthmaControlState;
|
|
131
|
-
declare const getAsthmaBiometricTypeLabel: (type: AsthmaBiometricType) => string;
|
|
132
|
-
declare const getAsthmaBiometricTypeUnits: (type: AsthmaBiometricType) => string;
|
|
133
|
-
declare const getAsthmaDataStatusText: (status: AsthmaDataStatus) => string;
|
|
134
|
-
declare const getAsthmaAirQualityTypeLabel: (type: AsthmaAirQualityType) => string;
|
|
135
|
-
|
|
136
|
-
interface AsthmaDataSummaryProps {
|
|
137
|
-
label: string;
|
|
138
|
-
status: AsthmaDataStatus;
|
|
139
|
-
statusText?: string;
|
|
140
|
-
value?: number;
|
|
141
|
-
units?: string;
|
|
142
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
143
|
-
}
|
|
144
|
-
declare function export_default$1I(props: AsthmaDataSummaryProps): React.JSX.Element;
|
|
145
|
-
|
|
146
|
-
interface AsthmaLogEntrySummaryProps {
|
|
147
|
-
label: string;
|
|
148
|
-
logEntry?: AsthmaLogEntry;
|
|
149
|
-
logEntrySurveyName: string;
|
|
150
|
-
loading?: boolean;
|
|
151
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
152
|
-
}
|
|
153
|
-
declare function export_default$1H(props: AsthmaLogEntrySummaryProps): React.JSX.Element;
|
|
154
|
-
|
|
155
|
-
interface AsthmaViewTitleProps {
|
|
156
|
-
title: string;
|
|
157
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
158
|
-
}
|
|
159
|
-
declare function export_default$1G(props: AsthmaViewTitleProps): React.JSX.Element;
|
|
160
|
-
|
|
161
|
-
type AsthmaCalendarViewPreviewState = 'default';
|
|
162
|
-
|
|
163
|
-
interface AsthmaCalendarViewProps {
|
|
164
|
-
colorScheme?: 'light' | 'dark' | 'auto';
|
|
165
|
-
previewState?: AsthmaCalendarViewPreviewState;
|
|
166
|
-
logTodayEntrySurveyName: string;
|
|
167
|
-
logYesterdayEntrySurveyName: string;
|
|
168
|
-
}
|
|
169
|
-
declare function export_default$1F(props: AsthmaCalendarViewProps): React.JSX.Element;
|
|
170
|
-
|
|
171
|
-
type AsthmaDashboardViewPreviewState = 'default';
|
|
172
|
-
|
|
173
|
-
interface AsthmaDashboardViewProps {
|
|
174
|
-
colorScheme?: 'light' | 'dark' | 'auto';
|
|
175
|
-
previewState?: AsthmaDashboardViewPreviewState;
|
|
176
|
-
logTodayEntrySurveyName: string;
|
|
177
|
-
logYesterdayEntrySurveyName: string;
|
|
178
|
-
}
|
|
179
|
-
declare function export_default$1E(props: AsthmaDashboardViewProps): React.JSX.Element;
|
|
180
|
-
|
|
181
|
-
type AsthmaDataViewPreviewState = 'default';
|
|
182
|
-
|
|
183
|
-
interface AsthmaDataViewProps {
|
|
184
|
-
colorScheme?: 'light' | 'dark' | 'auto';
|
|
185
|
-
previewState?: AsthmaDataViewPreviewState;
|
|
186
|
-
}
|
|
187
|
-
declare function export_default$1D(props: AsthmaDataViewProps): React.JSX.Element;
|
|
188
|
-
|
|
189
|
-
interface TermInformation {
|
|
190
|
-
TermFamily: string;
|
|
191
|
-
TermNamespace: string;
|
|
192
|
-
TermCode: string;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
interface AllergiesListProps {
|
|
196
|
-
previewState?: "default";
|
|
197
|
-
onViewTermInfo(termInfo: TermInformation): void;
|
|
198
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
199
|
-
}
|
|
200
|
-
declare function export_default$1C(props: AllergiesListProps): React.JSX.Element;
|
|
201
|
-
|
|
202
|
-
interface AppDownloadProps {
|
|
203
|
-
previewProjectPlatforms?: string[];
|
|
204
|
-
previewDevicePlatform?: string;
|
|
205
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
206
|
-
title?: string;
|
|
207
|
-
text?: string;
|
|
208
|
-
}
|
|
209
|
-
declare function export_default$1B(props: AppDownloadProps): React.JSX.Element | null;
|
|
210
|
-
|
|
211
|
-
interface ConditionsListProps {
|
|
212
|
-
previewState?: "default";
|
|
213
|
-
onViewTermInfo(termInfo: TermInformation): void;
|
|
214
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
215
|
-
}
|
|
216
|
-
declare function export_default$1A(props: ConditionsListProps): React.JSX.Element;
|
|
217
|
-
|
|
218
|
-
type DeviceAccountType = "Fitbit" | "Garmin" | "AppleHealth" | "GoogleFit" | "Omron";
|
|
219
|
-
interface ConnectDevicesMenuProps {
|
|
220
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
221
|
-
accountTypes?: DeviceAccountType[];
|
|
222
|
-
title?: string;
|
|
223
|
-
text?: string;
|
|
224
|
-
previewState?: "iOS" | "Android" | "Web" | "ConnectedStates";
|
|
225
|
-
headerVariant?: "large" | "medium";
|
|
226
|
-
}
|
|
227
|
-
declare function export_default$1z(props: ConnectDevicesMenuProps): React.JSX.Element | null;
|
|
228
|
-
|
|
229
|
-
type ColorDefinition = string | {
|
|
230
|
-
lightMode?: string;
|
|
231
|
-
darkMode?: string;
|
|
232
|
-
};
|
|
233
|
-
declare function resolveColor(colorScheme: "light" | "dark", colorDefinition?: ColorDefinition): string | undefined;
|
|
234
|
-
|
|
235
|
-
interface ConnectEhrProps {
|
|
236
|
-
applicationUrl: ConnectEhrApplicationUrl;
|
|
237
|
-
previewState?: ConnectEhrPreviewState;
|
|
238
|
-
disabledBehavior?: 'hide' | 'displayError';
|
|
239
|
-
bottomBorder?: boolean;
|
|
240
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
241
|
-
variant?: "large" | "medium" | "small";
|
|
242
|
-
title?: string;
|
|
243
|
-
notConnectedText?: string;
|
|
244
|
-
connectedText?: string;
|
|
245
|
-
hideWhenConnected?: boolean;
|
|
246
|
-
buttonColor?: ColorDefinition;
|
|
247
|
-
}
|
|
248
|
-
type ConnectEhrApplicationUrl = "preview" | string;
|
|
249
|
-
type ConnectEhrPreviewState = "notEnabled" | "enabled" | "enabledConnected" | "enabledNeedsAttention";
|
|
250
|
-
declare function export_default$1y(props: ConnectEhrProps): React.JSX.Element | null;
|
|
251
|
-
|
|
252
|
-
interface ConnectFitbitProps {
|
|
253
|
-
title?: string;
|
|
254
|
-
fitbitProviderID?: number;
|
|
255
|
-
previewState?: ConnectFitbitPreviewState;
|
|
256
|
-
disabledBehavior?: 'hide' | 'displayError';
|
|
257
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
258
|
-
hideWhenConnected?: boolean;
|
|
259
|
-
}
|
|
260
|
-
type ConnectFitbitPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
261
|
-
declare function export_default$1x(props: ConnectFitbitProps): React.JSX.Element;
|
|
262
|
-
|
|
263
|
-
interface ConnectGarminProps {
|
|
264
|
-
title?: string;
|
|
265
|
-
garminProviderID?: number;
|
|
266
|
-
previewState?: ConnectGarminPreviewState;
|
|
267
|
-
disabledBehavior?: 'hide' | 'displayError';
|
|
268
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
269
|
-
hideWhenConnected?: boolean;
|
|
270
|
-
}
|
|
271
|
-
type ConnectGarminPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
272
|
-
declare function export_default$1w(props: ConnectGarminProps): React.JSX.Element;
|
|
273
|
-
|
|
274
|
-
type DailyDataQueryResult = {
|
|
275
|
-
[key: string]: number;
|
|
276
|
-
};
|
|
277
|
-
type DailyDataProvider = (startDate: Date, endDate: Date) => Promise<DailyDataQueryResult>;
|
|
278
|
-
type DailyDataAvailabilityCheck = (modifiedAfter?: Date) => Promise<boolean>;
|
|
279
|
-
declare function registerDailyDataProvider(type: string, provider: DailyDataProvider, availabilityCheck: DailyDataAvailabilityCheck): void;
|
|
280
|
-
declare function checkDailyDataAvailability(type: string, modifiedAfter?: Date): Promise<boolean>;
|
|
281
|
-
declare function queryDailyData(type: string, startDate: Date, endDate: Date): Promise<DailyDataQueryResult>;
|
|
282
|
-
declare enum DailyDataType {
|
|
283
|
-
AppleHealthDistanceWalkingRunning = "AppleHealthDistanceWalkingRunning",
|
|
284
|
-
AppleHealthFlightsClimbed = "AppleHealthFlightsClimbed",
|
|
285
|
-
AppleHealthHeartRateRange = "AppleHealthHeartRateRange",
|
|
286
|
-
AppleHealthHrv = "AppleHealthHrv",
|
|
287
|
-
AppleHealthMaxHeartRate = "AppleHealthMaxHeartRate",
|
|
288
|
-
AppleHealthRestingHeartRate = "AppleHealthRestingHeartRate",
|
|
289
|
-
AppleHealthSleepMinutes = "AppleHealthSleepMinutes",
|
|
290
|
-
AppleHealthInBedMinutes = "AppleHealthInBedMinutes",
|
|
291
|
-
AppleHealthStandMinutes = "AppleHealthStandMinutes",
|
|
292
|
-
AppleHealthSteps = "AppleHealthSteps",
|
|
293
|
-
AppleHealthWalkingHeartRateAverage = "AppleHealthWalkingHeartRateAverage",
|
|
294
|
-
FitbitSedentaryMinutes = "FitbitSedentaryMinutes",
|
|
295
|
-
FitbitActiveMinutes = "FitbitActiveMinutes",
|
|
296
|
-
FitbitLightlyActiveMinutes = "FitbitLightlyActiveMinutes",
|
|
297
|
-
FitbitFairlyActiveMinutes = "FitbitFairlyActiveMinutes",
|
|
298
|
-
FitbitVeryActiveMinutes = "FitbitVeryActiveMinutes",
|
|
299
|
-
FitbitBreathingRate = "FitbitBreathingRate",
|
|
300
|
-
FitbitCaloriesBurned = "FitbitCaloriesBurned",
|
|
301
|
-
FitbitElevatedHeartRateMinutes = "FitbitElevatedHeartRateMinutes",
|
|
302
|
-
FitbitFatBurnHeartRateMinutes = "FitbitFatBurnHeartRateMinutes",
|
|
303
|
-
FitbitCardioHeartRateMinutes = "FitbitCardioHeartRateMinutes",
|
|
304
|
-
FitbitPeakHeartRateMinutes = "FitbitPeakHeartRateMinutes",
|
|
305
|
-
FitbitFloors = "FitbitFloors",
|
|
306
|
-
FitbitHrv = "FitbitHrv",
|
|
307
|
-
FitbitRestingHeartRate = "FitbitRestingHeartRate",
|
|
308
|
-
FitbitSleepMinutes = "FitbitSleepMinutes",
|
|
309
|
-
FitbitLightSleepMinutes = "FitbitLightSleepMinutes",
|
|
310
|
-
FitbitRemSleepMinutes = "FitbitRemSleepMinutes",
|
|
311
|
-
FitbitDeepSleepMinutes = "FitbitDeepSleepMinutes",
|
|
312
|
-
FitbitSpO2 = "FitbitSpO2",
|
|
313
|
-
FitbitSteps = "FitbitSteps",
|
|
314
|
-
GarminSteps = "GarminSteps",
|
|
315
|
-
GarminDistance = "GarminDistance",
|
|
316
|
-
GarminFloors = "GarminFloors",
|
|
317
|
-
GarminActiveMinutes = "GarminActiveMinutes",
|
|
318
|
-
GarminRestingHeartRate = "GarminRestingHeartRate",
|
|
319
|
-
GarminMinHeartRate = "GarminMinHeartRate",
|
|
320
|
-
GarminMaxHeartRate = "GarminMaxHeartRate",
|
|
321
|
-
GarminAverageHeartRate = "GarminAverageHeartRate",
|
|
322
|
-
GarminMaxStressLevel = "GarminMaxStressLevel",
|
|
323
|
-
GarminAverageStressLevel = "GarminAverageStressLevel",
|
|
324
|
-
GarminTotalStressMinutes = "GarminTotalStressMinutes",
|
|
325
|
-
GarminLowStressMinutes = "GarminLowStressMinutes",
|
|
326
|
-
GarminMediumStressMinutes = "GarminMediumStressMinutes",
|
|
327
|
-
GarminHighStressMinutes = "GarminHighStressMinutes",
|
|
328
|
-
GarminTotalSleepMinutes = "GarminTotalSleepMinutes",
|
|
329
|
-
GarminLightSleepMinutes = "GarminLightSleepMinutes",
|
|
330
|
-
GarminDeepSleepMinutes = "GarminDeepSleepMinutes",
|
|
331
|
-
GarminRemSleepMinutes = "GarminRemSleepMinutes",
|
|
332
|
-
GarminAwakeMinutes = "GarminAwakeMinutes",
|
|
333
|
-
GarminSleepScore = "GarminSleepScore",
|
|
334
|
-
GoogleFitSteps = "GoogleFitSteps",
|
|
335
|
-
Steps = "Steps",
|
|
336
|
-
RestingHeartRate = "RestingHeartRate"
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
type WeekStartsOn = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "6DaysAgo" | "7DaysAgo";
|
|
340
|
-
declare function getWeekStart(weekStartsOn?: WeekStartsOn): Date;
|
|
341
|
-
declare function getMonthStart(): Date;
|
|
342
|
-
|
|
343
|
-
interface DailyDataChartProps {
|
|
344
|
-
title?: string;
|
|
345
|
-
intervalType?: "Week" | "Month";
|
|
346
|
-
weekStartsOn?: WeekStartsOn;
|
|
347
|
-
dailyDataType: string;
|
|
348
|
-
valueConverter?(value: number): number;
|
|
349
|
-
valueFormatter?(value: number): string;
|
|
350
|
-
chartType: "Line" | "Bar" | "Area";
|
|
351
|
-
options?: LineChartOptions | BarChartOptions | AreaChartOptions;
|
|
352
|
-
hideIfNoData?: boolean;
|
|
353
|
-
previewDataProvider?: DailyDataProvider;
|
|
354
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
355
|
-
}
|
|
356
|
-
interface LineChartOptions {
|
|
357
|
-
lineColor?: string;
|
|
358
|
-
domainMin?: number | "Auto";
|
|
359
|
-
}
|
|
360
|
-
interface BarChartOptions {
|
|
361
|
-
barColor?: string;
|
|
362
|
-
}
|
|
363
|
-
interface AreaChartOptions {
|
|
364
|
-
lineColor?: string;
|
|
365
|
-
areaColor?: string;
|
|
366
|
-
}
|
|
367
|
-
declare function DailyDataChart(props: DailyDataChartProps): React.JSX.Element | null;
|
|
368
|
-
|
|
369
|
-
interface DeviceDataMonthChartProps {
|
|
370
|
-
lines: DeviceDataChartLine[];
|
|
371
|
-
month: number;
|
|
372
|
-
year: number;
|
|
373
|
-
syncId?: string;
|
|
374
|
-
title?: string;
|
|
375
|
-
previewState?: DeviceDataMonthChartPreviewState;
|
|
376
|
-
onDataDetected?: Function;
|
|
377
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
378
|
-
}
|
|
379
|
-
interface DeviceDataChartLine {
|
|
380
|
-
label: string;
|
|
381
|
-
dailyDataType: string;
|
|
382
|
-
valueConverter?: Function;
|
|
383
|
-
showAverage?: boolean;
|
|
384
|
-
}
|
|
385
|
-
type DeviceDataMonthChartPreviewState = "WithData" | "NoData" | "Loading";
|
|
386
|
-
declare function export_default$1v(props: DeviceDataMonthChartProps): React.JSX.Element | null;
|
|
387
|
-
|
|
388
|
-
interface DeviceDataMonthChartsProps {
|
|
389
|
-
previewState?: DeviceDataMonthChartsPreviewState;
|
|
390
|
-
}
|
|
391
|
-
type DeviceDataMonthChartsPreviewState = "Default" | "NoData";
|
|
392
|
-
declare function export_default$1u(props: DeviceDataMonthChartsProps): React.JSX.Element;
|
|
393
|
-
|
|
394
|
-
interface ExternalAccountListProps {
|
|
395
|
-
externalAccountProviderCategories?: string[];
|
|
396
|
-
previewState?: NotificationListPreviewState$1;
|
|
397
|
-
onExternalAccountsLoaded?: (accounts: ExternalAccount[]) => void;
|
|
398
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
399
|
-
}
|
|
400
|
-
type NotificationListPreviewState$1 = "Default";
|
|
401
|
-
declare function export_default$1t(props: ExternalAccountListProps): React.JSX.Element;
|
|
402
|
-
|
|
403
|
-
interface ExternalAccountsLoadingIndicatorProps {
|
|
404
|
-
previewState?: "externalAccountsFetchingData" | "externalAccountsLoaded";
|
|
405
|
-
externalAccountCategories?: string[];
|
|
406
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
407
|
-
}
|
|
408
|
-
declare function export_default$1s(props: ExternalAccountsLoadingIndicatorProps): React.JSX.Element | null;
|
|
409
|
-
|
|
410
|
-
interface ExternalAccountsPreviewProps {
|
|
411
|
-
excludeProviders?: boolean;
|
|
412
|
-
excludeHealthPlans?: boolean;
|
|
413
|
-
excludeDeviceManufacturers?: boolean;
|
|
414
|
-
applicationUrl: ExternalAccountsApplicationUrl;
|
|
415
|
-
previewState?: ExternalAccountsPreviewPreviewState;
|
|
416
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
417
|
-
}
|
|
418
|
-
type ExternalAccountsApplicationUrl = "preview" | string;
|
|
419
|
-
type ExternalAccountsPreviewPreviewState = "Default";
|
|
420
|
-
declare function export_default$1r(props: ExternalAccountsPreviewProps): React.JSX.Element | null;
|
|
421
|
-
|
|
422
|
-
type ConnectedDevicesPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
423
|
-
|
|
424
|
-
interface FitbitDevicesProps {
|
|
425
|
-
previewState?: ConnectedDevicesPreviewState;
|
|
426
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
427
|
-
}
|
|
428
|
-
declare function export_default$1q(props: FitbitDevicesProps): React.JSX.Element;
|
|
429
|
-
|
|
430
|
-
type MonthChartsPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
431
|
-
|
|
432
|
-
interface FitbitMonthChartsProps {
|
|
433
|
-
previewState?: MonthChartsPreviewState;
|
|
434
|
-
}
|
|
435
|
-
declare function export_default$1p(props: FitbitMonthChartsProps): React.JSX.Element;
|
|
436
|
-
|
|
437
|
-
interface GarminDevicesProps {
|
|
438
|
-
previewState?: ConnectedDevicesPreviewState;
|
|
439
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
440
|
-
}
|
|
441
|
-
declare function export_default$1o(props: GarminDevicesProps): React.JSX.Element;
|
|
442
|
-
|
|
443
|
-
interface GarminMonthChartsProps {
|
|
444
|
-
previewState?: MonthChartsPreviewState;
|
|
445
|
-
}
|
|
446
|
-
declare function export_default$1n(props: GarminMonthChartsProps): React.JSX.Element;
|
|
447
|
-
|
|
448
|
-
type HealthPreviewSectionConcept = "Medications" | "Immunizations" | "Reports" | "Allergies" | "Conditions" | "Procedures";
|
|
449
|
-
interface HealthPreviewSectionProps {
|
|
450
|
-
concept: HealthPreviewSectionConcept;
|
|
451
|
-
onClick(): void;
|
|
452
|
-
previewState?: "NoData" | "Default";
|
|
453
|
-
indicatorPosition?: "default" | "topRight";
|
|
454
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
455
|
-
}
|
|
456
|
-
declare function export_default$1m(props: HealthPreviewSectionProps): React.JSX.Element | null;
|
|
457
|
-
|
|
458
|
-
interface LabResultsSummaryProps {
|
|
459
|
-
previewState?: "ImportantLabs" | "RecentLabs" | "NoData";
|
|
460
|
-
onClick(): void;
|
|
461
|
-
onViewTermInfo(termInfo: TermInformation): void;
|
|
462
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
463
|
-
}
|
|
464
|
-
declare function export_default$1l(props: LabResultsSummaryProps): React.JSX.Element | null;
|
|
465
|
-
|
|
466
|
-
interface MedicationsListProps {
|
|
467
|
-
previewState?: "default";
|
|
468
|
-
onViewTermInfo(termInfo: TermInformation): void;
|
|
469
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
470
|
-
}
|
|
471
|
-
declare function export_default$1k(props: MedicationsListProps): React.JSX.Element;
|
|
472
|
-
|
|
473
|
-
interface MostRecentNotificationProps {
|
|
474
|
-
notificationType?: NotificationType;
|
|
475
|
-
onViewMore?: Function;
|
|
476
|
-
hideAfterHours?: number;
|
|
477
|
-
previewState?: MostRecentNotificationPreviewState;
|
|
478
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
479
|
-
}
|
|
480
|
-
type MostRecentNotificationPreviewState = "Default";
|
|
481
|
-
declare function export_default$1j(props: MostRecentNotificationProps): React.JSX.Element | null;
|
|
482
|
-
|
|
483
|
-
interface NotificationListProps {
|
|
484
|
-
notificationType?: NotificationType;
|
|
485
|
-
previewState?: NotificationListPreviewState;
|
|
486
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
487
|
-
}
|
|
488
|
-
type NotificationListPreviewState = "Default" | "NoData";
|
|
489
|
-
declare function export_default$1i(props: NotificationListProps): React.JSX.Element;
|
|
490
|
-
|
|
491
|
-
interface PlatformSpecificContentProps {
|
|
492
|
-
platforms: string[];
|
|
493
|
-
children?: React.ReactNode;
|
|
494
|
-
previewDevicePlatform?: string;
|
|
495
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
496
|
-
}
|
|
497
|
-
declare function export_default$1h(props: PlatformSpecificContentProps): React.JSX.Element | null;
|
|
498
|
-
|
|
499
|
-
interface ProjectHeaderProps {
|
|
500
|
-
previewState?: ProjectHeaderPropsPreviewState;
|
|
501
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
502
|
-
}
|
|
503
|
-
type ProjectHeaderPropsPreviewState = "Default";
|
|
504
|
-
declare function export_default$1g(props: ProjectHeaderProps): React.JSX.Element;
|
|
505
|
-
|
|
506
|
-
interface ProjectSupportProps {
|
|
507
|
-
previewState?: ProjectSupportPropsPreviewState;
|
|
508
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
509
|
-
}
|
|
510
|
-
type ProjectSupportPropsPreviewState = "Default";
|
|
511
|
-
declare function export_default$1f(props: ProjectSupportProps): React.JSX.Element | null;
|
|
512
|
-
|
|
513
|
-
interface ProviderSearchProps {
|
|
514
|
-
previewState?: ProviderSearchPreviewState;
|
|
515
|
-
providerCategories?: string[];
|
|
516
|
-
onProviderConnected?: (provider: ExternalAccountProvider) => void;
|
|
517
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
518
|
-
}
|
|
519
|
-
type ProviderSearchPreviewState = "Default";
|
|
520
|
-
declare function export_default$1e(props: ProviderSearchProps): React.JSX.Element;
|
|
521
|
-
|
|
522
|
-
interface RelativeActivityTodayProps {
|
|
523
|
-
dataTypes: RelativeActivityDataType[];
|
|
524
|
-
previewState?: "Default";
|
|
525
|
-
title?: string;
|
|
526
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
527
|
-
}
|
|
528
|
-
interface RelativeActivityDataType {
|
|
529
|
-
dailyDataType: string;
|
|
530
|
-
label: string;
|
|
531
|
-
icon: React.ReactElement;
|
|
532
|
-
color: string;
|
|
533
|
-
formatter: (number: number) => string;
|
|
534
|
-
}
|
|
535
|
-
declare function export_default$1d(props: RelativeActivityTodayProps): React.JSX.Element | null;
|
|
536
|
-
|
|
537
|
-
type RestingHeartRateCalendarPreviewState = "WithData" | "NoData" | "Loading";
|
|
538
|
-
interface RestingHeartRateCalendarProps {
|
|
539
|
-
month: number;
|
|
540
|
-
year: number;
|
|
541
|
-
showPreviewData: RestingHeartRateCalendarPreviewState;
|
|
542
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
543
|
-
}
|
|
544
|
-
declare function export_default$1c(props: RestingHeartRateCalendarProps): React.JSX.Element;
|
|
545
|
-
|
|
546
|
-
type ButtonVariant = "default" | "subtle" | "light";
|
|
547
|
-
interface ButtonProps {
|
|
548
|
-
children?: React.ReactNode;
|
|
549
|
-
disabled?: boolean;
|
|
550
|
-
onClick: Function;
|
|
551
|
-
className?: string;
|
|
552
|
-
color?: ColorDefinition;
|
|
553
|
-
loading?: boolean;
|
|
554
|
-
variant?: ButtonVariant;
|
|
555
|
-
innerRef?: React.Ref<HTMLButtonElement>;
|
|
556
|
-
defaultMargin?: boolean;
|
|
557
|
-
fullWidth?: boolean;
|
|
558
|
-
}
|
|
559
|
-
declare function export_default$1b(props: ButtonProps): React.JSX.Element;
|
|
560
|
-
|
|
561
|
-
interface SurveyTaskListProps {
|
|
562
|
-
status: SurveyTaskStatus;
|
|
563
|
-
limit?: number;
|
|
564
|
-
title?: string;
|
|
565
|
-
surveys?: string[];
|
|
566
|
-
onDetailLinkClick?: Function;
|
|
567
|
-
previewState?: SurveyTaskListListPreviewState;
|
|
568
|
-
variant?: "noCard" | "singleCard" | "multiCard";
|
|
569
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
570
|
-
titleColor?: ColorDefinition;
|
|
571
|
-
cardBackgroundColor?: ColorDefinition;
|
|
572
|
-
cardStyle?: React.CSSProperties;
|
|
573
|
-
buttonVariant?: ButtonVariant;
|
|
574
|
-
buttonColor?: ColorDefinition;
|
|
575
|
-
}
|
|
576
|
-
type SurveyTaskListListPreviewState = "IncompleteTasks" | "CompleteTasks";
|
|
577
|
-
declare function export_default$1a(props: SurveyTaskListProps): React.JSX.Element | null;
|
|
578
|
-
|
|
579
|
-
interface ViewEhrProps {
|
|
580
|
-
onClick(): void;
|
|
581
|
-
title?: string;
|
|
582
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
583
|
-
previewState?: "fetchComplete" | "fetchingData";
|
|
584
|
-
buttonColor?: ColorDefinition;
|
|
585
|
-
buttonVariant?: ButtonVariant;
|
|
586
|
-
}
|
|
587
|
-
declare function export_default$19(props: ViewEhrProps): React.JSX.Element | null;
|
|
6
|
+
type ColorDefinition = string | {
|
|
7
|
+
lightMode?: string;
|
|
8
|
+
darkMode?: string;
|
|
9
|
+
};
|
|
10
|
+
declare function resolveColor(colorScheme: "light" | "dark", colorDefinition?: ColorDefinition): string | undefined;
|
|
588
11
|
|
|
589
12
|
interface ActionProps {
|
|
590
13
|
title?: string;
|
|
@@ -604,7 +27,7 @@ interface ActionProps {
|
|
|
604
27
|
subtitleColor?: ColorDefinition;
|
|
605
28
|
renderAs?: "div" | "button";
|
|
606
29
|
}
|
|
607
|
-
declare function export_default$
|
|
30
|
+
declare function export_default$1B(props: ActionProps): React.JSX.Element;
|
|
608
31
|
|
|
609
32
|
interface ActivityMeterProps {
|
|
610
33
|
label: string;
|
|
@@ -617,20 +40,22 @@ interface ActivityMeterProps {
|
|
|
617
40
|
className?: string;
|
|
618
41
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
619
42
|
}
|
|
620
|
-
declare function export_default$
|
|
43
|
+
declare function export_default$1A(props: ActivityMeterProps): React.JSX.Element;
|
|
621
44
|
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
innerRef?: React.Ref<
|
|
45
|
+
type ButtonVariant = "default" | "subtle" | "light";
|
|
46
|
+
interface ButtonProps {
|
|
47
|
+
children?: React.ReactNode;
|
|
48
|
+
disabled?: boolean;
|
|
49
|
+
onClick: Function;
|
|
50
|
+
className?: string;
|
|
51
|
+
color?: ColorDefinition;
|
|
52
|
+
loading?: boolean;
|
|
53
|
+
variant?: ButtonVariant;
|
|
54
|
+
innerRef?: React.Ref<HTMLButtonElement>;
|
|
55
|
+
defaultMargin?: boolean;
|
|
56
|
+
fullWidth?: boolean;
|
|
632
57
|
}
|
|
633
|
-
declare function export_default$
|
|
58
|
+
declare function export_default$1z(props: ButtonProps): React.JSX.Element;
|
|
634
59
|
|
|
635
60
|
interface CalendarProps {
|
|
636
61
|
month: number;
|
|
@@ -640,7 +65,7 @@ interface CalendarProps {
|
|
|
640
65
|
className?: string;
|
|
641
66
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
642
67
|
}
|
|
643
|
-
declare function export_default$
|
|
68
|
+
declare function export_default$1y(props: CalendarProps): React.JSX.Element;
|
|
644
69
|
|
|
645
70
|
interface CardProps {
|
|
646
71
|
className?: string;
|
|
@@ -651,7 +76,7 @@ interface CardProps {
|
|
|
651
76
|
backgroundColor?: ColorDefinition;
|
|
652
77
|
style?: React.CSSProperties;
|
|
653
78
|
}
|
|
654
|
-
declare function export_default$
|
|
79
|
+
declare function export_default$1x(props: CardProps): React.JSX.Element | null;
|
|
655
80
|
|
|
656
81
|
interface CardTitleProps {
|
|
657
82
|
title: string;
|
|
@@ -660,7 +85,11 @@ interface CardTitleProps {
|
|
|
660
85
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
661
86
|
color?: ColorDefinition;
|
|
662
87
|
}
|
|
663
|
-
declare function export_default$
|
|
88
|
+
declare function export_default$1w(props: CardTitleProps): React.JSX.Element;
|
|
89
|
+
|
|
90
|
+
type WeekStartsOn = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "6DaysAgo" | "7DaysAgo";
|
|
91
|
+
declare function getWeekStart(weekStartsOn?: WeekStartsOn): Date;
|
|
92
|
+
declare function getMonthStart(): Date;
|
|
664
93
|
|
|
665
94
|
interface DateRangeCoordinatorProps {
|
|
666
95
|
initialIntervalStart?: Date;
|
|
@@ -671,11 +100,6 @@ interface DateRangeCoordinatorProps {
|
|
|
671
100
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
672
101
|
sticky?: boolean;
|
|
673
102
|
}
|
|
674
|
-
interface DateRangeContext {
|
|
675
|
-
intervalType: "Week" | "Month";
|
|
676
|
-
intervalStart: Date;
|
|
677
|
-
}
|
|
678
|
-
declare const DateRangeContext: React.Context<DateRangeContext | null>;
|
|
679
103
|
declare function DateRangeNavigatorContext(props: DateRangeCoordinatorProps): React.JSX.Element;
|
|
680
104
|
|
|
681
105
|
interface DateRangeNavigatorProps {
|
|
@@ -687,7 +111,7 @@ interface DateRangeNavigatorProps {
|
|
|
687
111
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
688
112
|
sticky?: boolean;
|
|
689
113
|
}
|
|
690
|
-
declare function export_default$
|
|
114
|
+
declare function export_default$1v(props: DateRangeNavigatorProps): React.JSX.Element;
|
|
691
115
|
|
|
692
116
|
interface DayTrackerSymbolProps {
|
|
693
117
|
primaryColors: string[];
|
|
@@ -696,7 +120,7 @@ interface DayTrackerSymbolProps {
|
|
|
696
120
|
size?: "small" | "large";
|
|
697
121
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
698
122
|
}
|
|
699
|
-
declare function export_default$
|
|
123
|
+
declare function export_default$1u(props: DayTrackerSymbolProps): React.JSX.Element;
|
|
700
124
|
|
|
701
125
|
interface FaceProps {
|
|
702
126
|
faceValue?: number;
|
|
@@ -705,7 +129,7 @@ interface FaceProps {
|
|
|
705
129
|
className?: string;
|
|
706
130
|
innerRef?: React.Ref<HTMLButtonElement>;
|
|
707
131
|
}
|
|
708
|
-
declare function export_default$
|
|
132
|
+
declare function export_default$1t(props: FaceProps): React.JSX.Element;
|
|
709
133
|
|
|
710
134
|
interface HistogramProps {
|
|
711
135
|
entries: {
|
|
@@ -717,7 +141,7 @@ interface HistogramProps {
|
|
|
717
141
|
className?: string;
|
|
718
142
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
719
143
|
}
|
|
720
|
-
declare function export_default
|
|
144
|
+
declare function export_default$1s(props: HistogramProps): React.JSX.Element;
|
|
721
145
|
|
|
722
146
|
interface LayoutProps {
|
|
723
147
|
children?: React.ReactNode;
|
|
@@ -738,7 +162,7 @@ interface LayoutContext {
|
|
|
738
162
|
bodyBackgroundColor: string;
|
|
739
163
|
}
|
|
740
164
|
declare const LayoutContext: React.Context<LayoutContext>;
|
|
741
|
-
declare function export_default$
|
|
165
|
+
declare function export_default$1r(props: LayoutProps): React.JSX.Element;
|
|
742
166
|
|
|
743
167
|
interface LoadingIndicatorProps {
|
|
744
168
|
variant?: "default" | "inline";
|
|
@@ -762,7 +186,7 @@ interface NavigationBarProps {
|
|
|
762
186
|
subtitleColor?: ColorDefinition;
|
|
763
187
|
buttonColor?: ColorDefinition;
|
|
764
188
|
}
|
|
765
|
-
declare function export_default$
|
|
189
|
+
declare function export_default$1q(props: NavigationBarProps): React.JSX.Element;
|
|
766
190
|
|
|
767
191
|
interface NotesInputProps {
|
|
768
192
|
autoTimestamp?: boolean;
|
|
@@ -770,7 +194,7 @@ interface NotesInputProps {
|
|
|
770
194
|
onChange(value: string): void;
|
|
771
195
|
value: string;
|
|
772
196
|
}
|
|
773
|
-
declare function export_default$
|
|
197
|
+
declare function export_default$1p(props: NotesInputProps): React.JSX.Element;
|
|
774
198
|
|
|
775
199
|
interface SectionProps {
|
|
776
200
|
children?: React.ReactNode;
|
|
@@ -780,7 +204,7 @@ interface SectionProps {
|
|
|
780
204
|
backgroundColor?: ColorDefinition;
|
|
781
205
|
style?: React.CSSProperties;
|
|
782
206
|
}
|
|
783
|
-
declare function export_default$
|
|
207
|
+
declare function export_default$1o(props: SectionProps): React.JSX.Element | null;
|
|
784
208
|
|
|
785
209
|
interface SegmentedControlProps {
|
|
786
210
|
segments: {
|
|
@@ -794,9 +218,9 @@ interface SegmentedControlProps {
|
|
|
794
218
|
variant?: "default" | "optionsHorizontal" | "optionsVertical";
|
|
795
219
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
796
220
|
}
|
|
797
|
-
declare function export_default$
|
|
221
|
+
declare function export_default$1n(props: SegmentedControlProps): React.JSX.Element;
|
|
798
222
|
|
|
799
|
-
declare function export_default$
|
|
223
|
+
declare function export_default$1m(): React.JSX.Element;
|
|
800
224
|
|
|
801
225
|
interface SingleExternalAccountProps {
|
|
802
226
|
externalAccount: ExternalAccount;
|
|
@@ -804,15 +228,17 @@ interface SingleExternalAccountProps {
|
|
|
804
228
|
onReconnectAccount: (account: ExternalAccount) => void;
|
|
805
229
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
806
230
|
}
|
|
807
|
-
declare function export_default$
|
|
231
|
+
declare function export_default$1l(props: SingleExternalAccountProps): React.JSX.Element;
|
|
808
232
|
|
|
809
233
|
interface SingleNotificationProps {
|
|
810
234
|
notification: Notification;
|
|
811
235
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
812
236
|
}
|
|
813
|
-
declare function export_default$
|
|
237
|
+
declare function export_default$1k(props: SingleNotificationProps): React.JSX.Element;
|
|
814
238
|
|
|
239
|
+
type SingleSurveyTaskPreviewState = 'surveyActive';
|
|
815
240
|
interface SingleSurveyTaskProps {
|
|
241
|
+
previewState?: SingleSurveyTaskPreviewState;
|
|
816
242
|
task: SurveyTask;
|
|
817
243
|
descriptionIcon?: IconDefinition$1;
|
|
818
244
|
disableClick?: boolean;
|
|
@@ -820,7 +246,7 @@ interface SingleSurveyTaskProps {
|
|
|
820
246
|
buttonColor?: ColorDefinition;
|
|
821
247
|
buttonVariant?: ButtonVariant;
|
|
822
248
|
}
|
|
823
|
-
declare function export_default$
|
|
249
|
+
declare function export_default$1j(props: SingleSurveyTaskProps): React.JSX.Element | null;
|
|
824
250
|
|
|
825
251
|
interface SparkBarChartProps {
|
|
826
252
|
averageFillPercent: number;
|
|
@@ -831,7 +257,7 @@ interface SparkBarChartBar {
|
|
|
831
257
|
color: string;
|
|
832
258
|
barFillPercent: number;
|
|
833
259
|
}
|
|
834
|
-
declare function export_default$
|
|
260
|
+
declare function export_default$1i(props: SparkBarChartProps): React.JSX.Element;
|
|
835
261
|
|
|
836
262
|
interface SwitchProps {
|
|
837
263
|
isOn: Boolean;
|
|
@@ -840,7 +266,7 @@ interface SwitchProps {
|
|
|
840
266
|
className?: string;
|
|
841
267
|
innerRef?: React.Ref<HTMLButtonElement>;
|
|
842
268
|
}
|
|
843
|
-
declare function export_default$
|
|
269
|
+
declare function export_default$1h(props: SwitchProps): React.JSX.Element;
|
|
844
270
|
|
|
845
271
|
interface StatusBarBackgroundProps {
|
|
846
272
|
color?: string;
|
|
@@ -855,7 +281,7 @@ interface TextBlockProps {
|
|
|
855
281
|
color?: ColorDefinition;
|
|
856
282
|
style?: React.CSSProperties;
|
|
857
283
|
}
|
|
858
|
-
declare function export_default$
|
|
284
|
+
declare function export_default$1g(props: TextBlockProps): React.JSX.Element | null;
|
|
859
285
|
|
|
860
286
|
interface TitleProps {
|
|
861
287
|
color?: ColorDefinition;
|
|
@@ -868,7 +294,7 @@ interface TitleProps {
|
|
|
868
294
|
imageAlignment?: "top" | "left";
|
|
869
295
|
defaultMargin?: boolean;
|
|
870
296
|
}
|
|
871
|
-
declare function export_default$
|
|
297
|
+
declare function export_default$1f(props: TitleProps): React.JSX.Element;
|
|
872
298
|
|
|
873
299
|
interface TrackerItemProps {
|
|
874
300
|
selected: boolean;
|
|
@@ -880,7 +306,7 @@ interface TrackerItemProps {
|
|
|
880
306
|
className?: string;
|
|
881
307
|
noBoxShadow?: boolean;
|
|
882
308
|
}
|
|
883
|
-
declare function export_default$
|
|
309
|
+
declare function export_default$1e(props: TrackerItemProps): React.JSX.Element;
|
|
884
310
|
|
|
885
311
|
interface UnstyledButtonProps {
|
|
886
312
|
onClick: MouseEventHandler;
|
|
@@ -891,7 +317,7 @@ interface UnstyledButtonProps {
|
|
|
891
317
|
disabled?: boolean;
|
|
892
318
|
innerRef?: React.Ref<HTMLButtonElement>;
|
|
893
319
|
}
|
|
894
|
-
declare function export_default$
|
|
320
|
+
declare function export_default$1d(props: UnstyledButtonProps): React.JSX.Element;
|
|
895
321
|
|
|
896
322
|
interface ViewHeaderProps {
|
|
897
323
|
title?: string;
|
|
@@ -900,7 +326,7 @@ interface ViewHeaderProps {
|
|
|
900
326
|
subtitleColor?: ColorDefinition;
|
|
901
327
|
action?: React.ReactNode;
|
|
902
328
|
}
|
|
903
|
-
declare function export_default$
|
|
329
|
+
declare function export_default$1c(props: ViewHeaderProps): React.JSX.Element | null;
|
|
904
330
|
|
|
905
331
|
interface WeekCalendarProps {
|
|
906
332
|
selectedDate?: Date;
|
|
@@ -911,7 +337,7 @@ interface WeekCalendarProps {
|
|
|
911
337
|
onStartDateChange?(startDate: Date): void;
|
|
912
338
|
dayRenderer(year: number, month: number, day: number, selectedWeek: boolean): JSX.Element | null;
|
|
913
339
|
}
|
|
914
|
-
declare function export_default$
|
|
340
|
+
declare function export_default$1b(props: WeekCalendarProps): React.JSX.Element;
|
|
915
341
|
|
|
916
342
|
interface ProgressRingProps {
|
|
917
343
|
children: React.ReactNode;
|
|
@@ -920,126 +346,396 @@ interface ProgressRingProps {
|
|
|
920
346
|
percentCompleted?: number;
|
|
921
347
|
animate?: boolean;
|
|
922
348
|
}
|
|
923
|
-
declare function export_default$
|
|
349
|
+
declare function export_default$1a(props: ProgressRingProps): React.JSX.Element;
|
|
924
350
|
|
|
925
|
-
interface
|
|
351
|
+
interface TermInformation {
|
|
352
|
+
TermFamily: string;
|
|
353
|
+
TermNamespace: string;
|
|
354
|
+
TermCode: string;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
interface AllergiesListProps {
|
|
358
|
+
previewState?: "default";
|
|
359
|
+
onViewTermInfo(termInfo: TermInformation): void;
|
|
360
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
361
|
+
}
|
|
362
|
+
declare function export_default$19(props: AllergiesListProps): React.JSX.Element;
|
|
363
|
+
|
|
364
|
+
interface AppDownloadProps {
|
|
365
|
+
previewProjectPlatforms?: string[];
|
|
366
|
+
previewDevicePlatform?: string;
|
|
367
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
926
368
|
title?: string;
|
|
927
369
|
text?: string;
|
|
928
|
-
detailText?: string;
|
|
929
|
-
iconUrl?: string;
|
|
930
|
-
imageUrl?: string;
|
|
931
|
-
nextButtonText?: string;
|
|
932
|
-
styles: {
|
|
933
|
-
[key: string]: any;
|
|
934
|
-
};
|
|
935
370
|
}
|
|
936
|
-
declare function export_default$
|
|
371
|
+
declare function export_default$18(props: AppDownloadProps): React.JSX.Element | null;
|
|
372
|
+
|
|
373
|
+
interface ConditionsListProps {
|
|
374
|
+
previewState?: "default";
|
|
375
|
+
onViewTermInfo(termInfo: TermInformation): void;
|
|
376
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
377
|
+
}
|
|
378
|
+
declare function export_default$17(props: ConditionsListProps): React.JSX.Element;
|
|
379
|
+
|
|
380
|
+
type DeviceAccountType = "Fitbit" | "Garmin" | "AppleHealth" | "GoogleFit" | "Omron";
|
|
381
|
+
interface ConnectDevicesMenuProps {
|
|
382
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
383
|
+
accountTypes?: DeviceAccountType[];
|
|
384
|
+
title?: string;
|
|
385
|
+
text?: string;
|
|
386
|
+
previewState?: "iOS" | "Android" | "Web" | "ConnectedStates";
|
|
387
|
+
headerVariant?: "large" | "medium";
|
|
388
|
+
}
|
|
389
|
+
declare function export_default$16(props: ConnectDevicesMenuProps): React.JSX.Element | null;
|
|
390
|
+
|
|
391
|
+
interface ConnectEhrProps {
|
|
392
|
+
applicationUrl: ConnectEhrApplicationUrl;
|
|
393
|
+
previewState?: ConnectEhrPreviewState;
|
|
394
|
+
disabledBehavior?: 'hide' | 'displayError';
|
|
395
|
+
bottomBorder?: boolean;
|
|
396
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
397
|
+
variant?: "large" | "medium" | "small";
|
|
398
|
+
title?: string;
|
|
399
|
+
notConnectedText?: string;
|
|
400
|
+
connectedText?: string;
|
|
401
|
+
hideWhenConnected?: boolean;
|
|
402
|
+
buttonColor?: ColorDefinition;
|
|
403
|
+
}
|
|
404
|
+
type ConnectEhrApplicationUrl = "preview" | string;
|
|
405
|
+
type ConnectEhrPreviewState = "notEnabled" | "enabled" | "enabledConnected" | "enabledNeedsAttention";
|
|
406
|
+
declare function export_default$15(props: ConnectEhrProps): React.JSX.Element | null;
|
|
407
|
+
|
|
408
|
+
interface ConnectFitbitProps {
|
|
409
|
+
title?: string;
|
|
410
|
+
fitbitProviderID?: number;
|
|
411
|
+
previewState?: ConnectFitbitPreviewState;
|
|
412
|
+
disabledBehavior?: 'hide' | 'displayError';
|
|
413
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
414
|
+
hideWhenConnected?: boolean;
|
|
415
|
+
}
|
|
416
|
+
type ConnectFitbitPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
417
|
+
declare function export_default$14(props: ConnectFitbitProps): React.JSX.Element;
|
|
418
|
+
|
|
419
|
+
interface ConnectGarminProps {
|
|
420
|
+
title?: string;
|
|
421
|
+
garminProviderID?: number;
|
|
422
|
+
previewState?: ConnectGarminPreviewState;
|
|
423
|
+
disabledBehavior?: 'hide' | 'displayError';
|
|
424
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
425
|
+
hideWhenConnected?: boolean;
|
|
426
|
+
}
|
|
427
|
+
type ConnectGarminPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
428
|
+
declare function export_default$13(props: ConnectGarminProps): React.JSX.Element;
|
|
429
|
+
|
|
430
|
+
type DailyDataQueryResult = {
|
|
431
|
+
[key: string]: number;
|
|
432
|
+
};
|
|
433
|
+
type DailyDataProvider = (startDate: Date, endDate: Date) => Promise<DailyDataQueryResult>;
|
|
434
|
+
type DailyDataAvailabilityCheck = (modifiedAfter?: Date) => Promise<boolean>;
|
|
435
|
+
declare function registerDailyDataProvider(type: string, provider: DailyDataProvider, availabilityCheck: DailyDataAvailabilityCheck): void;
|
|
436
|
+
declare function checkDailyDataAvailability(type: string, modifiedAfter?: Date): Promise<boolean>;
|
|
437
|
+
declare function queryDailyData(type: string, startDate: Date, endDate: Date): Promise<DailyDataQueryResult>;
|
|
438
|
+
declare enum DailyDataType {
|
|
439
|
+
AppleHealthDistanceWalkingRunning = "AppleHealthDistanceWalkingRunning",
|
|
440
|
+
AppleHealthFlightsClimbed = "AppleHealthFlightsClimbed",
|
|
441
|
+
AppleHealthHeartRateRange = "AppleHealthHeartRateRange",
|
|
442
|
+
AppleHealthHrv = "AppleHealthHrv",
|
|
443
|
+
AppleHealthMaxHeartRate = "AppleHealthMaxHeartRate",
|
|
444
|
+
AppleHealthRestingHeartRate = "AppleHealthRestingHeartRate",
|
|
445
|
+
AppleHealthSleepMinutes = "AppleHealthSleepMinutes",
|
|
446
|
+
AppleHealthInBedMinutes = "AppleHealthInBedMinutes",
|
|
447
|
+
AppleHealthStandMinutes = "AppleHealthStandMinutes",
|
|
448
|
+
AppleHealthSteps = "AppleHealthSteps",
|
|
449
|
+
AppleHealthWalkingHeartRateAverage = "AppleHealthWalkingHeartRateAverage",
|
|
450
|
+
FitbitSedentaryMinutes = "FitbitSedentaryMinutes",
|
|
451
|
+
FitbitActiveMinutes = "FitbitActiveMinutes",
|
|
452
|
+
FitbitLightlyActiveMinutes = "FitbitLightlyActiveMinutes",
|
|
453
|
+
FitbitFairlyActiveMinutes = "FitbitFairlyActiveMinutes",
|
|
454
|
+
FitbitVeryActiveMinutes = "FitbitVeryActiveMinutes",
|
|
455
|
+
FitbitBreathingRate = "FitbitBreathingRate",
|
|
456
|
+
FitbitCaloriesBurned = "FitbitCaloriesBurned",
|
|
457
|
+
FitbitElevatedHeartRateMinutes = "FitbitElevatedHeartRateMinutes",
|
|
458
|
+
FitbitFatBurnHeartRateMinutes = "FitbitFatBurnHeartRateMinutes",
|
|
459
|
+
FitbitCardioHeartRateMinutes = "FitbitCardioHeartRateMinutes",
|
|
460
|
+
FitbitPeakHeartRateMinutes = "FitbitPeakHeartRateMinutes",
|
|
461
|
+
FitbitFloors = "FitbitFloors",
|
|
462
|
+
FitbitHrv = "FitbitHrv",
|
|
463
|
+
FitbitRestingHeartRate = "FitbitRestingHeartRate",
|
|
464
|
+
FitbitSleepMinutes = "FitbitSleepMinutes",
|
|
465
|
+
FitbitLightSleepMinutes = "FitbitLightSleepMinutes",
|
|
466
|
+
FitbitRemSleepMinutes = "FitbitRemSleepMinutes",
|
|
467
|
+
FitbitDeepSleepMinutes = "FitbitDeepSleepMinutes",
|
|
468
|
+
FitbitSpO2 = "FitbitSpO2",
|
|
469
|
+
FitbitSteps = "FitbitSteps",
|
|
470
|
+
GarminSteps = "GarminSteps",
|
|
471
|
+
GarminDistance = "GarminDistance",
|
|
472
|
+
GarminFloors = "GarminFloors",
|
|
473
|
+
GarminActiveMinutes = "GarminActiveMinutes",
|
|
474
|
+
GarminRestingHeartRate = "GarminRestingHeartRate",
|
|
475
|
+
GarminMinHeartRate = "GarminMinHeartRate",
|
|
476
|
+
GarminMaxHeartRate = "GarminMaxHeartRate",
|
|
477
|
+
GarminAverageHeartRate = "GarminAverageHeartRate",
|
|
478
|
+
GarminMaxStressLevel = "GarminMaxStressLevel",
|
|
479
|
+
GarminAverageStressLevel = "GarminAverageStressLevel",
|
|
480
|
+
GarminTotalStressMinutes = "GarminTotalStressMinutes",
|
|
481
|
+
GarminLowStressMinutes = "GarminLowStressMinutes",
|
|
482
|
+
GarminMediumStressMinutes = "GarminMediumStressMinutes",
|
|
483
|
+
GarminHighStressMinutes = "GarminHighStressMinutes",
|
|
484
|
+
GarminTotalSleepMinutes = "GarminTotalSleepMinutes",
|
|
485
|
+
GarminLightSleepMinutes = "GarminLightSleepMinutes",
|
|
486
|
+
GarminDeepSleepMinutes = "GarminDeepSleepMinutes",
|
|
487
|
+
GarminRemSleepMinutes = "GarminRemSleepMinutes",
|
|
488
|
+
GarminAwakeMinutes = "GarminAwakeMinutes",
|
|
489
|
+
GarminSleepScore = "GarminSleepScore",
|
|
490
|
+
GoogleFitSteps = "GoogleFitSteps",
|
|
491
|
+
Steps = "Steps",
|
|
492
|
+
RestingHeartRate = "RestingHeartRate"
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
interface DailyDataChartProps {
|
|
496
|
+
title?: string;
|
|
497
|
+
intervalType?: "Week" | "Month";
|
|
498
|
+
weekStartsOn?: WeekStartsOn;
|
|
499
|
+
dailyDataType: string;
|
|
500
|
+
valueConverter?(value: number): number;
|
|
501
|
+
valueFormatter?(value: number): string;
|
|
502
|
+
chartType: "Line" | "Bar" | "Area";
|
|
503
|
+
options?: LineChartOptions | BarChartOptions | AreaChartOptions;
|
|
504
|
+
hideIfNoData?: boolean;
|
|
505
|
+
previewDataProvider?: DailyDataProvider;
|
|
506
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
507
|
+
}
|
|
508
|
+
interface LineChartOptions {
|
|
509
|
+
lineColor?: string;
|
|
510
|
+
domainMin?: number | "Auto";
|
|
511
|
+
}
|
|
512
|
+
interface BarChartOptions {
|
|
513
|
+
barColor?: string;
|
|
514
|
+
}
|
|
515
|
+
interface AreaChartOptions {
|
|
516
|
+
lineColor?: string;
|
|
517
|
+
areaColor?: string;
|
|
518
|
+
}
|
|
519
|
+
declare function DailyDataChart(props: DailyDataChartProps): React.JSX.Element | null;
|
|
520
|
+
|
|
521
|
+
interface DeviceDataMonthChartProps {
|
|
522
|
+
lines: DeviceDataChartLine[];
|
|
523
|
+
month: number;
|
|
524
|
+
year: number;
|
|
525
|
+
syncId?: string;
|
|
526
|
+
title?: string;
|
|
527
|
+
previewState?: DeviceDataMonthChartPreviewState;
|
|
528
|
+
onDataDetected?: Function;
|
|
529
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
530
|
+
}
|
|
531
|
+
interface DeviceDataChartLine {
|
|
532
|
+
label: string;
|
|
533
|
+
dailyDataType: string;
|
|
534
|
+
valueConverter?: Function;
|
|
535
|
+
showAverage?: boolean;
|
|
536
|
+
}
|
|
537
|
+
type DeviceDataMonthChartPreviewState = "WithData" | "NoData" | "Loading";
|
|
538
|
+
declare function export_default$12(props: DeviceDataMonthChartProps): React.JSX.Element | null;
|
|
539
|
+
|
|
540
|
+
interface DeviceDataMonthChartsProps {
|
|
541
|
+
previewState?: DeviceDataMonthChartsPreviewState;
|
|
542
|
+
}
|
|
543
|
+
type DeviceDataMonthChartsPreviewState = "Default" | "NoData";
|
|
544
|
+
declare function export_default$11(props: DeviceDataMonthChartsProps): React.JSX.Element;
|
|
545
|
+
|
|
546
|
+
interface ExternalAccountListProps {
|
|
547
|
+
externalAccountProviderCategories?: string[];
|
|
548
|
+
previewState?: NotificationListPreviewState$1;
|
|
549
|
+
onExternalAccountsLoaded?: (accounts: ExternalAccount[]) => void;
|
|
550
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
551
|
+
}
|
|
552
|
+
type NotificationListPreviewState$1 = "Default";
|
|
553
|
+
declare function export_default$10(props: ExternalAccountListProps): React.JSX.Element;
|
|
554
|
+
|
|
555
|
+
interface ExternalAccountsLoadingIndicatorProps {
|
|
556
|
+
previewState?: "externalAccountsFetchingData" | "externalAccountsLoaded";
|
|
557
|
+
externalAccountCategories?: string[];
|
|
558
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
559
|
+
}
|
|
560
|
+
declare function export_default$$(props: ExternalAccountsLoadingIndicatorProps): React.JSX.Element | null;
|
|
561
|
+
|
|
562
|
+
interface ExternalAccountsPreviewProps {
|
|
563
|
+
excludeProviders?: boolean;
|
|
564
|
+
excludeHealthPlans?: boolean;
|
|
565
|
+
excludeDeviceManufacturers?: boolean;
|
|
566
|
+
applicationUrl: ExternalAccountsApplicationUrl;
|
|
567
|
+
previewState?: ExternalAccountsPreviewPreviewState;
|
|
568
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
569
|
+
}
|
|
570
|
+
type ExternalAccountsApplicationUrl = "preview" | string;
|
|
571
|
+
type ExternalAccountsPreviewPreviewState = "Default";
|
|
572
|
+
declare function export_default$_(props: ExternalAccountsPreviewProps): React.JSX.Element | null;
|
|
937
573
|
|
|
938
|
-
|
|
574
|
+
type ConnectedDevicesPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
939
575
|
|
|
940
|
-
interface
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
deviceType: string;
|
|
944
|
-
providerID: number;
|
|
945
|
-
styles: {
|
|
946
|
-
[key: string]: any;
|
|
947
|
-
};
|
|
948
|
-
onConnect: () => void;
|
|
576
|
+
interface FitbitDevicesProps {
|
|
577
|
+
previewState?: ConnectedDevicesPreviewState;
|
|
578
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
949
579
|
}
|
|
950
|
-
declare function export_default$
|
|
580
|
+
declare function export_default$Z(props: FitbitDevicesProps): React.JSX.Element;
|
|
951
581
|
|
|
952
|
-
|
|
953
|
-
|
|
582
|
+
type MonthChartsPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
583
|
+
|
|
584
|
+
interface FitbitMonthChartsProps {
|
|
585
|
+
previewState?: MonthChartsPreviewState;
|
|
954
586
|
}
|
|
955
|
-
declare function export_default$
|
|
587
|
+
declare function export_default$Y(props: FitbitMonthChartsProps): React.JSX.Element;
|
|
956
588
|
|
|
957
|
-
interface
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
nextButtonText?: string;
|
|
961
|
-
nextButtonDisabled?: boolean;
|
|
962
|
-
previewState?: ProviderSearchPreviewState;
|
|
963
|
-
onProviderConnected: (provider: ExternalAccountProvider) => void;
|
|
964
|
-
onNextButtonClick: () => void;
|
|
965
|
-
styles: {
|
|
966
|
-
[key: string]: any;
|
|
967
|
-
};
|
|
589
|
+
interface GarminDevicesProps {
|
|
590
|
+
previewState?: ConnectedDevicesPreviewState;
|
|
591
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
968
592
|
}
|
|
969
|
-
declare function export_default$
|
|
593
|
+
declare function export_default$X(props: GarminDevicesProps): React.JSX.Element;
|
|
970
594
|
|
|
971
|
-
|
|
595
|
+
interface GarminMonthChartsProps {
|
|
596
|
+
previewState?: MonthChartsPreviewState;
|
|
597
|
+
}
|
|
598
|
+
declare function export_default$W(props: GarminMonthChartsProps): React.JSX.Element;
|
|
972
599
|
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
600
|
+
type HealthPreviewSectionConcept = "Medications" | "Immunizations" | "Reports" | "Allergies" | "Conditions" | "Procedures";
|
|
601
|
+
interface HealthPreviewSectionProps {
|
|
602
|
+
concept: HealthPreviewSectionConcept;
|
|
603
|
+
onClick(): void;
|
|
604
|
+
previewState?: "NoData" | "Default";
|
|
605
|
+
indicatorPosition?: "default" | "topRight";
|
|
606
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
979
607
|
}
|
|
980
|
-
|
|
981
|
-
|
|
608
|
+
declare function export_default$V(props: HealthPreviewSectionProps): React.JSX.Element | null;
|
|
609
|
+
|
|
610
|
+
interface LabResultsSummaryProps {
|
|
611
|
+
previewState?: "ImportantLabs" | "RecentLabs" | "NoData";
|
|
612
|
+
onClick(): void;
|
|
613
|
+
onViewTermInfo(termInfo: TermInformation): void;
|
|
614
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
982
615
|
}
|
|
616
|
+
declare function export_default$U(props: LabResultsSummaryProps): React.JSX.Element | null;
|
|
983
617
|
|
|
984
|
-
|
|
618
|
+
interface MedicationsListProps {
|
|
619
|
+
previewState?: "default";
|
|
620
|
+
onViewTermInfo(termInfo: TermInformation): void;
|
|
621
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
622
|
+
}
|
|
623
|
+
declare function export_default$T(props: MedicationsListProps): React.JSX.Element;
|
|
985
624
|
|
|
986
|
-
|
|
625
|
+
interface MostRecentNotificationProps {
|
|
626
|
+
notificationType?: NotificationType;
|
|
627
|
+
onViewMore?: Function;
|
|
628
|
+
hideAfterHours?: number;
|
|
629
|
+
previewState?: MostRecentNotificationPreviewState;
|
|
630
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
631
|
+
}
|
|
632
|
+
type MostRecentNotificationPreviewState = "Default";
|
|
633
|
+
declare function export_default$S(props: MostRecentNotificationProps): React.JSX.Element | null;
|
|
987
634
|
|
|
988
|
-
|
|
635
|
+
interface NotificationListProps {
|
|
636
|
+
notificationType?: NotificationType;
|
|
637
|
+
previewState?: NotificationListPreviewState;
|
|
638
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
639
|
+
}
|
|
640
|
+
type NotificationListPreviewState = "Default" | "NoData";
|
|
641
|
+
declare function export_default$R(props: NotificationListProps): React.JSX.Element;
|
|
989
642
|
|
|
990
|
-
interface
|
|
643
|
+
interface PlatformSpecificContentProps {
|
|
644
|
+
platforms: string[];
|
|
991
645
|
children?: React.ReactNode;
|
|
646
|
+
previewDevicePlatform?: string;
|
|
647
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
992
648
|
}
|
|
993
|
-
declare function export_default$
|
|
649
|
+
declare function export_default$Q(props: PlatformSpecificContentProps): React.JSX.Element | null;
|
|
994
650
|
|
|
995
|
-
interface
|
|
996
|
-
|
|
997
|
-
|
|
651
|
+
interface ProjectHeaderProps {
|
|
652
|
+
previewState?: ProjectHeaderPropsPreviewState;
|
|
653
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
998
654
|
}
|
|
999
|
-
|
|
655
|
+
type ProjectHeaderPropsPreviewState = "Default";
|
|
656
|
+
declare function export_default$P(props: ProjectHeaderProps): React.JSX.Element;
|
|
1000
657
|
|
|
1001
|
-
interface
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
658
|
+
interface ProjectSupportProps {
|
|
659
|
+
previewState?: ProjectSupportPropsPreviewState;
|
|
660
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
661
|
+
}
|
|
662
|
+
type ProjectSupportPropsPreviewState = "Default";
|
|
663
|
+
declare function export_default$O(props: ProjectSupportProps): React.JSX.Element | null;
|
|
664
|
+
|
|
665
|
+
interface ProviderSearchProps {
|
|
666
|
+
previewState?: ProviderSearchPreviewState;
|
|
667
|
+
providerCategories?: string[];
|
|
668
|
+
onProviderConnected?: (provider: ExternalAccountProvider) => void;
|
|
669
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
1008
670
|
}
|
|
1009
|
-
|
|
671
|
+
type ProviderSearchPreviewState = "Default";
|
|
672
|
+
declare function export_default$N(props: ProviderSearchProps): React.JSX.Element;
|
|
1010
673
|
|
|
1011
|
-
|
|
674
|
+
interface RelativeActivityTodayProps {
|
|
675
|
+
dataTypes: RelativeActivityDataType[];
|
|
676
|
+
previewState?: "Default";
|
|
677
|
+
title?: string;
|
|
678
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
679
|
+
}
|
|
680
|
+
interface RelativeActivityDataType {
|
|
681
|
+
dailyDataType: string;
|
|
682
|
+
label: string;
|
|
683
|
+
icon: React.ReactElement;
|
|
684
|
+
color: string;
|
|
685
|
+
formatter: (number: number) => string;
|
|
686
|
+
}
|
|
687
|
+
declare function export_default$M(props: RelativeActivityTodayProps): React.JSX.Element | null;
|
|
1012
688
|
|
|
1013
|
-
|
|
689
|
+
type RestingHeartRateCalendarPreviewState = "WithData" | "NoData" | "Loading";
|
|
690
|
+
interface RestingHeartRateCalendarProps {
|
|
691
|
+
month: number;
|
|
692
|
+
year: number;
|
|
693
|
+
showPreviewData: RestingHeartRateCalendarPreviewState;
|
|
694
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
695
|
+
}
|
|
696
|
+
declare function export_default$L(props: RestingHeartRateCalendarProps): React.JSX.Element;
|
|
1014
697
|
|
|
1015
|
-
interface
|
|
698
|
+
interface SurveyTaskListProps {
|
|
699
|
+
status: SurveyTaskStatus;
|
|
700
|
+
limit?: number;
|
|
1016
701
|
title?: string;
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
702
|
+
surveys?: string[];
|
|
703
|
+
onDetailLinkClick?: Function;
|
|
704
|
+
previewState?: SurveyTaskListListPreviewState;
|
|
705
|
+
variant?: "noCard" | "singleCard" | "multiCard";
|
|
706
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
707
|
+
titleColor?: ColorDefinition;
|
|
708
|
+
cardBackgroundColor?: ColorDefinition;
|
|
709
|
+
cardStyle?: React.CSSProperties;
|
|
710
|
+
buttonVariant?: ButtonVariant;
|
|
711
|
+
buttonColor?: ColorDefinition;
|
|
1025
712
|
}
|
|
1026
|
-
|
|
713
|
+
type SurveyTaskListListPreviewState = "IncompleteTasks" | "CompleteTasks";
|
|
714
|
+
declare function export_default$K(props: SurveyTaskListProps): React.JSX.Element | null;
|
|
1027
715
|
|
|
1028
|
-
|
|
716
|
+
interface ViewEhrProps {
|
|
717
|
+
onClick(): void;
|
|
718
|
+
title?: string;
|
|
719
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
720
|
+
previewState?: "fetchComplete" | "fetchingData";
|
|
721
|
+
buttonColor?: ColorDefinition;
|
|
722
|
+
buttonVariant?: ButtonVariant;
|
|
723
|
+
}
|
|
724
|
+
declare function export_default$J(props: ViewEhrProps): React.JSX.Element | null;
|
|
1029
725
|
|
|
1030
726
|
interface SymptomSharkCalendarProps {
|
|
1031
727
|
intervalStart?: Date;
|
|
1032
728
|
onDaySelected(day: Date): void;
|
|
1033
729
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
1034
730
|
}
|
|
1035
|
-
declare function export_default$
|
|
731
|
+
declare function export_default$I(props: SymptomSharkCalendarProps): React.JSX.Element;
|
|
1036
732
|
|
|
1037
733
|
interface OverallExperienceChartProps {
|
|
1038
734
|
intervalStart?: Date;
|
|
1039
735
|
showAllDays?: boolean;
|
|
1040
736
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
1041
737
|
}
|
|
1042
|
-
declare function export_default$
|
|
738
|
+
declare function export_default$H(props: OverallExperienceChartProps): React.JSX.Element | null;
|
|
1043
739
|
|
|
1044
740
|
interface SymptomSharkDataService {
|
|
1045
741
|
getConfiguration(): Promise<SymptomSharkConfiguration>;
|
|
@@ -1097,21 +793,21 @@ interface SymptomSharkLogEntryProps {
|
|
|
1097
793
|
highlightedTreatments?: string[];
|
|
1098
794
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
1099
795
|
}
|
|
1100
|
-
declare function export_default$
|
|
796
|
+
declare function export_default$G(props: SymptomSharkLogEntryProps): React.JSX.Element | null;
|
|
1101
797
|
|
|
1102
798
|
interface SymptomTreatmentHistogramsProps {
|
|
1103
799
|
intervalStart?: Date;
|
|
1104
800
|
onSymptomSelected(symptom: string, intervalStart: Date): void;
|
|
1105
801
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
1106
802
|
}
|
|
1107
|
-
declare function export_default$
|
|
803
|
+
declare function export_default$F(props: SymptomTreatmentHistogramsProps): React.JSX.Element | null;
|
|
1108
804
|
|
|
1109
805
|
interface SymptomSeveritySummaryProps {
|
|
1110
806
|
symptom: SymptomConfiguration;
|
|
1111
807
|
intervalStart?: Date;
|
|
1112
808
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
1113
809
|
}
|
|
1114
|
-
declare function export_default$
|
|
810
|
+
declare function export_default$E(props: SymptomSeveritySummaryProps): React.JSX.Element | null;
|
|
1115
811
|
|
|
1116
812
|
interface SymptomSeverityChartProps {
|
|
1117
813
|
intervalStart?: Date;
|
|
@@ -1119,7 +815,7 @@ interface SymptomSeverityChartProps {
|
|
|
1119
815
|
showAllDays?: boolean;
|
|
1120
816
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
1121
817
|
}
|
|
1122
|
-
declare function export_default$
|
|
818
|
+
declare function export_default$D(props: SymptomSeverityChartProps): React.JSX.Element | null;
|
|
1123
819
|
|
|
1124
820
|
interface SymptomTreatmentFiltersProps {
|
|
1125
821
|
expandedDropdown: "Symptoms" | "Treatments" | null;
|
|
@@ -1131,28 +827,28 @@ interface SymptomTreatmentFiltersProps {
|
|
|
1131
827
|
onTreatmentsSelectionChange(treatments: string[]): void;
|
|
1132
828
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
1133
829
|
}
|
|
1134
|
-
declare function export_default$
|
|
830
|
+
declare function export_default$C(props: SymptomTreatmentFiltersProps): React.JSX.Element;
|
|
1135
831
|
|
|
1136
832
|
interface SymptomSharkLogEntryListProps {
|
|
1137
833
|
onDaySelected(d: Date): void;
|
|
1138
834
|
previewState?: "default";
|
|
1139
835
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
1140
836
|
}
|
|
1141
|
-
declare function export_default$
|
|
837
|
+
declare function export_default$B(props: SymptomSharkLogEntryListProps): React.JSX.Element;
|
|
1142
838
|
|
|
1143
839
|
interface SymptomSharkLogTodayProps {
|
|
1144
840
|
previewState?: "withLog" | "noLog";
|
|
1145
841
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
1146
842
|
onClick(d: Date): void;
|
|
1147
843
|
}
|
|
1148
|
-
declare function export_default$
|
|
844
|
+
declare function export_default$A(props: SymptomSharkLogTodayProps): React.JSX.Element | null;
|
|
1149
845
|
|
|
1150
846
|
interface SymptomSharkLogEntryEditProps {
|
|
1151
847
|
date: Date;
|
|
1152
848
|
promptForReviewAfterDays?: number;
|
|
1153
849
|
previewState?: "default";
|
|
1154
850
|
}
|
|
1155
|
-
declare function export_default$
|
|
851
|
+
declare function export_default$z(props: SymptomSharkLogEntryEditProps): React.JSX.Element;
|
|
1156
852
|
|
|
1157
853
|
interface SymptomSharkVisualizationCoordinatorProps {
|
|
1158
854
|
children: React.ReactNode;
|
|
@@ -1160,7 +856,7 @@ interface SymptomSharkVisualizationCoordinatorProps {
|
|
|
1160
856
|
previewState?: "default";
|
|
1161
857
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
1162
858
|
}
|
|
1163
|
-
declare function export_default$
|
|
859
|
+
declare function export_default$y(props: SymptomSharkVisualizationCoordinatorProps): React.JSX.Element;
|
|
1164
860
|
|
|
1165
861
|
interface CalendarViewProps {
|
|
1166
862
|
colorScheme?: "light" | "dark" | "auto";
|
|
@@ -1168,7 +864,7 @@ interface CalendarViewProps {
|
|
|
1168
864
|
onSymptomSelected(symptom: string, intervalStart: Date): void;
|
|
1169
865
|
previewState?: "default";
|
|
1170
866
|
}
|
|
1171
|
-
declare function export_default$
|
|
867
|
+
declare function export_default$x(props: CalendarViewProps): React.JSX.Element;
|
|
1172
868
|
|
|
1173
869
|
interface LogEntryEditViewProps {
|
|
1174
870
|
colorScheme?: "light" | "dark" | "auto";
|
|
@@ -1176,7 +872,7 @@ interface LogEntryEditViewProps {
|
|
|
1176
872
|
promptForReviewAfterDays?: number;
|
|
1177
873
|
previewState?: "default";
|
|
1178
874
|
}
|
|
1179
|
-
declare function export_default$
|
|
875
|
+
declare function export_default$w(props: LogEntryEditViewProps): React.JSX.Element;
|
|
1180
876
|
|
|
1181
877
|
interface SymptomDetailViewProps {
|
|
1182
878
|
symptomId: string;
|
|
@@ -1184,13 +880,13 @@ interface SymptomDetailViewProps {
|
|
|
1184
880
|
previewState?: "default";
|
|
1185
881
|
initialIntervalStart?: Date;
|
|
1186
882
|
}
|
|
1187
|
-
declare function export_default$
|
|
883
|
+
declare function export_default$v(props: SymptomDetailViewProps): React.JSX.Element;
|
|
1188
884
|
|
|
1189
885
|
interface AllergiesViewProps {
|
|
1190
886
|
presentation?: "Push" | "Modal";
|
|
1191
887
|
previewState?: "default";
|
|
1192
888
|
}
|
|
1193
|
-
declare function export_default$
|
|
889
|
+
declare function export_default$u(props: AllergiesViewProps): React.JSX.Element;
|
|
1194
890
|
|
|
1195
891
|
interface BlankViewProps {
|
|
1196
892
|
children?: React.ReactNode;
|
|
@@ -1205,13 +901,13 @@ interface BlankViewProps {
|
|
|
1205
901
|
subtitleColor?: ColorDefinition;
|
|
1206
902
|
navigationBarButtonColor?: ColorDefinition;
|
|
1207
903
|
}
|
|
1208
|
-
declare function export_default$
|
|
904
|
+
declare function export_default$t(props: BlankViewProps): React.JSX.Element;
|
|
1209
905
|
|
|
1210
906
|
interface ConditionsViewProps {
|
|
1211
907
|
presentation?: "Push" | "Modal";
|
|
1212
908
|
previewState?: "default";
|
|
1213
909
|
}
|
|
1214
|
-
declare function export_default$
|
|
910
|
+
declare function export_default$s(props: ConditionsViewProps): React.JSX.Element;
|
|
1215
911
|
|
|
1216
912
|
interface ConnectEhrViewProps {
|
|
1217
913
|
externalAccountsApplicationUrl: ExternalAccountsApplicationUrl;
|
|
@@ -1222,13 +918,13 @@ interface ConnectEhrViewProps {
|
|
|
1222
918
|
colorScheme?: "auto" | "light" | "dark";
|
|
1223
919
|
}
|
|
1224
920
|
type ViewPresentationType$3 = "Modal" | "Push";
|
|
1225
|
-
declare function export_default$
|
|
921
|
+
declare function export_default$r(props: ConnectEhrViewProps): React.JSX.Element;
|
|
1226
922
|
|
|
1227
923
|
interface DeviceDataViewProps {
|
|
1228
924
|
preview?: boolean;
|
|
1229
925
|
colorScheme?: "auto" | "light" | "dark";
|
|
1230
926
|
}
|
|
1231
|
-
declare function export_default$
|
|
927
|
+
declare function export_default$q(props: DeviceDataViewProps): React.JSX.Element;
|
|
1232
928
|
|
|
1233
929
|
interface ExternalAccountsViewProps {
|
|
1234
930
|
excludeProviders?: boolean;
|
|
@@ -1239,7 +935,7 @@ interface ExternalAccountsViewProps {
|
|
|
1239
935
|
colorScheme?: "auto" | "light" | "dark";
|
|
1240
936
|
}
|
|
1241
937
|
type ViewPresentationType$2 = "Modal" | "Push";
|
|
1242
|
-
declare function export_default$
|
|
938
|
+
declare function export_default$p(props: ExternalAccountsViewProps): React.JSX.Element;
|
|
1243
939
|
|
|
1244
940
|
interface FitbitViewProps {
|
|
1245
941
|
connectPreview?: ConnectFitbitPreviewState;
|
|
@@ -1247,7 +943,7 @@ interface FitbitViewProps {
|
|
|
1247
943
|
chartsPreview?: MonthChartsPreviewState;
|
|
1248
944
|
colorScheme?: "auto" | "light" | "dark";
|
|
1249
945
|
}
|
|
1250
|
-
declare function export_default$
|
|
946
|
+
declare function export_default$o(props: FitbitViewProps): React.JSX.Element;
|
|
1251
947
|
|
|
1252
948
|
interface GarminViewProps {
|
|
1253
949
|
connectPreview?: ConnectGarminPreviewState;
|
|
@@ -1255,7 +951,7 @@ interface GarminViewProps {
|
|
|
1255
951
|
chartsPreview?: MonthChartsPreviewState;
|
|
1256
952
|
garminProviderID?: number;
|
|
1257
953
|
}
|
|
1258
|
-
declare function export_default$
|
|
954
|
+
declare function export_default$n(props: GarminViewProps): React.JSX.Element;
|
|
1259
955
|
|
|
1260
956
|
interface HomeViewProps {
|
|
1261
957
|
/**
|
|
@@ -1274,7 +970,7 @@ interface HomeViewProps {
|
|
|
1274
970
|
preview?: boolean;
|
|
1275
971
|
colorScheme?: "auto" | "light" | "dark";
|
|
1276
972
|
}
|
|
1277
|
-
declare function export_default$
|
|
973
|
+
declare function export_default$m(props: HomeViewProps): React.JSX.Element;
|
|
1278
974
|
|
|
1279
975
|
interface HealthAndWellnessViewProps {
|
|
1280
976
|
previewState?: "default";
|
|
@@ -1283,13 +979,13 @@ interface HealthAndWellnessViewProps {
|
|
|
1283
979
|
externalAccountsApplicationUrl: string;
|
|
1284
980
|
variant?: "default" | "cardBased";
|
|
1285
981
|
}
|
|
1286
|
-
declare function export_default$
|
|
982
|
+
declare function export_default$l(props: HealthAndWellnessViewProps): React.JSX.Element;
|
|
1287
983
|
|
|
1288
984
|
interface MedicationsViewProps {
|
|
1289
985
|
presentation?: "Push" | "Modal";
|
|
1290
986
|
previewState?: "default";
|
|
1291
987
|
}
|
|
1292
|
-
declare function export_default$
|
|
988
|
+
declare function export_default$k(props: MedicationsViewProps): React.JSX.Element;
|
|
1293
989
|
|
|
1294
990
|
interface NotificationsViewProps {
|
|
1295
991
|
notificationType?: NotificationType;
|
|
@@ -1298,7 +994,7 @@ interface NotificationsViewProps {
|
|
|
1298
994
|
colorScheme?: "auto" | "light" | "dark";
|
|
1299
995
|
}
|
|
1300
996
|
type ViewPresentationType$1 = "Modal" | "Push";
|
|
1301
|
-
declare function export_default$
|
|
997
|
+
declare function export_default$j(props: NotificationsViewProps): React.JSX.Element;
|
|
1302
998
|
|
|
1303
999
|
interface SurveyTasksViewProps {
|
|
1304
1000
|
hideCompleteTasks?: boolean;
|
|
@@ -1309,7 +1005,7 @@ interface SurveyTasksViewProps {
|
|
|
1309
1005
|
colorScheme?: "auto" | "light" | "dark";
|
|
1310
1006
|
}
|
|
1311
1007
|
type ViewPresentationType = "Modal" | "Push";
|
|
1312
|
-
declare function export_default$
|
|
1008
|
+
declare function export_default$i(props: SurveyTasksViewProps): React.JSX.Element;
|
|
1313
1009
|
|
|
1314
1010
|
interface NewPointsEntry {
|
|
1315
1011
|
name: string;
|
|
@@ -1327,13 +1023,118 @@ interface NewPointsViewProps {
|
|
|
1327
1023
|
primaryColor?: string;
|
|
1328
1024
|
doneButtonText?: string;
|
|
1329
1025
|
}
|
|
1330
|
-
declare function export_default$
|
|
1026
|
+
declare function export_default$h(props: NewPointsViewProps): React.JSX.Element;
|
|
1331
1027
|
declare function showNewPoints(props: NewPointsViewProps, url?: string): void;
|
|
1332
1028
|
|
|
1029
|
+
interface CelebrationStepProps {
|
|
1030
|
+
title?: string;
|
|
1031
|
+
text?: string;
|
|
1032
|
+
detailText?: string;
|
|
1033
|
+
iconUrl?: string;
|
|
1034
|
+
imageUrl?: string;
|
|
1035
|
+
nextButtonText?: string;
|
|
1036
|
+
styles: {
|
|
1037
|
+
[key: string]: any;
|
|
1038
|
+
};
|
|
1039
|
+
}
|
|
1040
|
+
declare function export_default$g(props: CelebrationStepProps): React.JSX.Element;
|
|
1041
|
+
|
|
1042
|
+
declare function export_default$f(): React.JSX.Element;
|
|
1043
|
+
|
|
1044
|
+
interface ConnectDeviceAccountStepProps {
|
|
1045
|
+
title?: string;
|
|
1046
|
+
text?: string;
|
|
1047
|
+
deviceType: string;
|
|
1048
|
+
providerID: number;
|
|
1049
|
+
styles: {
|
|
1050
|
+
[key: string]: any;
|
|
1051
|
+
};
|
|
1052
|
+
onConnect: () => void;
|
|
1053
|
+
}
|
|
1054
|
+
declare function export_default$e(props: ConnectDeviceAccountStepProps): React.JSX.Element;
|
|
1055
|
+
|
|
1056
|
+
interface ConnectDeviceAccountStepContainerProps {
|
|
1057
|
+
deviceType?: string;
|
|
1058
|
+
}
|
|
1059
|
+
declare function export_default$d(props: ConnectDeviceAccountStepContainerProps): React.JSX.Element;
|
|
1060
|
+
|
|
1061
|
+
interface ConnectEhrStepProps {
|
|
1062
|
+
title?: string;
|
|
1063
|
+
text?: string;
|
|
1064
|
+
nextButtonText?: string;
|
|
1065
|
+
nextButtonDisabled?: boolean;
|
|
1066
|
+
previewState?: ProviderSearchPreviewState;
|
|
1067
|
+
onProviderConnected: (provider: ExternalAccountProvider) => void;
|
|
1068
|
+
onNextButtonClick: () => void;
|
|
1069
|
+
styles: {
|
|
1070
|
+
[key: string]: any;
|
|
1071
|
+
};
|
|
1072
|
+
}
|
|
1073
|
+
declare function export_default$c(props: ConnectEhrStepProps): React.JSX.Element;
|
|
1074
|
+
|
|
1075
|
+
declare function export_default$b(): React.JSX.Element;
|
|
1076
|
+
|
|
1077
|
+
interface StepElementProps {
|
|
1078
|
+
text?: string;
|
|
1079
|
+
textAlign?: any;
|
|
1080
|
+
color?: string;
|
|
1081
|
+
fontSize?: string;
|
|
1082
|
+
fontWeight?: string;
|
|
1083
|
+
}
|
|
1084
|
+
interface IconElementProps {
|
|
1085
|
+
srcUrl?: string;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
declare function export_default$a(props: StepElementProps): React.JSX.Element | null;
|
|
1089
|
+
|
|
1090
|
+
declare function export_default$9(props: IconElementProps): React.JSX.Element | null;
|
|
1091
|
+
|
|
1092
|
+
declare function export_default$8(props: IconElementProps): React.JSX.Element | null;
|
|
1093
|
+
|
|
1094
|
+
interface StepLayoutProps {
|
|
1095
|
+
children?: React.ReactNode;
|
|
1096
|
+
}
|
|
1097
|
+
declare function export_default$7(props: StepLayoutProps): React.JSX.Element;
|
|
1098
|
+
|
|
1099
|
+
interface StepMarkdownProps {
|
|
1100
|
+
text: string;
|
|
1101
|
+
inline?: boolean;
|
|
1102
|
+
}
|
|
1103
|
+
declare function export_default$6(props: StepMarkdownProps): React.JSX.Element;
|
|
1104
|
+
|
|
1105
|
+
interface StepNextButtonProps extends StepElementProps {
|
|
1106
|
+
backgroundColor: string;
|
|
1107
|
+
letterSpacing: string;
|
|
1108
|
+
textTransform: string;
|
|
1109
|
+
gradient: any;
|
|
1110
|
+
disabled?: boolean;
|
|
1111
|
+
onClick(): void;
|
|
1112
|
+
}
|
|
1113
|
+
declare function export_default$5(props: StepNextButtonProps): React.JSX.Element;
|
|
1114
|
+
|
|
1115
|
+
declare function export_default$4(props: StepElementProps): React.JSX.Element | null;
|
|
1116
|
+
|
|
1117
|
+
declare function export_default$3(props: StepElementProps): React.JSX.Element | null;
|
|
1118
|
+
|
|
1119
|
+
interface YouTubeStepProps {
|
|
1120
|
+
title?: string;
|
|
1121
|
+
text?: string;
|
|
1122
|
+
transcript?: string;
|
|
1123
|
+
videoId: string;
|
|
1124
|
+
nextButtonText?: string;
|
|
1125
|
+
height?: string;
|
|
1126
|
+
styles: {
|
|
1127
|
+
[key: string]: any;
|
|
1128
|
+
};
|
|
1129
|
+
}
|
|
1130
|
+
declare function export_default$2(props: YouTubeStepProps): React.JSX.Element;
|
|
1131
|
+
|
|
1132
|
+
declare function export_default$1(): React.JSX.Element;
|
|
1133
|
+
|
|
1333
1134
|
declare function export_default(callback: Function, delay: number | null): void;
|
|
1334
1135
|
|
|
1335
1136
|
declare function language(key: string): string;
|
|
1336
1137
|
|
|
1337
1138
|
declare function getDayKey(date: Date): string;
|
|
1338
1139
|
|
|
1339
|
-
export { export_default$
|
|
1140
|
+
export { export_default$1B as Action, export_default$1A as ActivityMeter, export_default$19 as AllergiesList, export_default$u as AllergiesView, export_default$18 as AppDownload, AreaChartOptions, BarChartOptions, export_default$t as BlankView, export_default$1z as Button, export_default$1y as Calendar, export_default$1x as Card, export_default$1w as CardTitle, export_default$g as CelebrationStep, export_default$f as CelebrationStepContainer, ColorDefinition, export_default$17 as ConditionsList, export_default$s as ConditionsView, export_default$e as ConnectDeviceAccountStep, export_default$d as ConnectDeviceAccountStepContainer, export_default$16 as ConnectDevicesMenu, export_default$15 as ConnectEhr, export_default$c as ConnectEhrStep, export_default$b as ConnectEhrStepContainer, export_default$r as ConnectEhrView, export_default$14 as ConnectFitbit, export_default$13 as ConnectGarmin, DailyDataAvailabilityCheck, DailyDataChart, DailyDataProvider, DailyDataQueryResult, DailyDataType, DailyLogEntry, DateRangeNavigatorContext as DateRangeCoordinator, export_default$1v as DateRangeNavigator, export_default$1u as DayTrackerSymbol, DeviceDataChartLine, export_default$12 as DeviceDataMonthChart, export_default$11 as DeviceDataMonthCharts, export_default$q as DeviceDataView, export_default$10 as ExternalAccountList, export_default$$ as ExternalAccountsLoadingIndicator, export_default$_ as ExternalAccountsPreview, export_default$p as ExternalAccountsView, export_default$1t as Face, export_default$Z as FitbitDevices, export_default$Y as FitbitMonthCharts, export_default$o as FitbitView, export_default$X as GarminDevices, export_default$W as GarminMonthCharts, export_default$n as GarminView, export_default$l as HealthAndWellnessView, export_default$V as HealthPreviewSection, export_default$1s as Histogram, export_default$m as HomeView, export_default$U as LabResultsSummary, export_default$1r as Layout, LayoutContext, LineChartOptions, LoadingIndicator, export_default$T as MedicationsList, export_default$k as MedicationsView, export_default$S as MostRecentNotification, export_default$1q as NavigationBar, NewPointsEntry, export_default$h as NewPointsView, NewPointsViewProps, export_default$1p as NotesInput, export_default$R as NotificationList, export_default$j as NotificationsView, export_default$Q as PlatformSpecificContent, export_default$1a as ProgressRing, export_default$P as ProjectHeader, export_default$O as ProjectSupport, export_default$N as ProviderSearch, export_default$M as RelativeActivityToday, export_default$L as RestingHeartRateCalendar, export_default$1o as Section, export_default$1n as SegmentedControl, export_default$1m as ShinyOverlay, export_default$1l as SingleExternalAccount, export_default$1k as SingleNotification, export_default$1j as SingleSurveyTask, export_default$1i 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$K as SurveyTaskList, export_default$i as SurveyTasksView, export_default$1h as Switch, SymptomConfiguration, SymptomReference, export_default$I as SymptomSharkCalendar, export_default$x as SymptomSharkCalendarView, SymptomSharkConfiguration, SymptomSharkDataService, export_default$G as SymptomSharkLogEntry, export_default$z as SymptomSharkLogEntryEdit, export_default$w as SymptomSharkLogEntryEditView, export_default$B as SymptomSharkLogEntryList, export_default$A as SymptomSharkLogToday, export_default$H as SymptomSharkOverallExperienceChart, export_default$v as SymptomSharkSymptomDetailView, export_default$D as SymptomSharkSymptomSeverityChart, export_default$E as SymptomSharkSymptomSeveritySummary, export_default$C as SymptomSharkSymptomTreatmentFilters, export_default$F as SymptomSharkSymptomTreatmentHistograms, export_default$y as SymptomSharkVisualizationCoordinator, export_default$1g as TextBlock, export_default$1f as Title, export_default$1e as TrackerItem, TreatmentConfiguration, TreatmentReference, export_default$1d as UnstyledButton, export_default$J as ViewEhr, export_default$1c as ViewHeader, export_default$1b as WeekCalendar, WeekStartsOn, export_default$2 as YouTubeStep, export_default$1 as YouTubeStepContainer, checkDailyDataAvailability, convertToSymptomSharkConfiguration, getDayKey, getMonthStart, getWeekStart, language, queryDailyData, registerDailyDataProvider, resolveColor, showNewPoints, export_default as useInterval };
|