@careevolution/mydatahelps-ui 2.12.1-MoreAsthma.9 → 2.12.1-SSComponents.1

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