@careevolution/mydatahelps-ui 2.4.0 → 2.4.1-Points.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +7 -7
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/container/NewPoints/NewPoints.d.ts +17 -0
- package/dist/cjs/types/components/container/NewPoints/NewPoints.stories.d.ts +100 -0
- package/dist/cjs/types/components/container/NewPoints/index.d.ts +1 -0
- package/dist/cjs/types/components/container/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/AnimatedRing/AnimatedRing.d.ts +8 -0
- package/dist/cjs/types/components/presentational/AnimatedRing/AnimatedRing.stories.d.ts +24 -0
- package/dist/cjs/types/components/presentational/AnimatedRing/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/index.d.ts +1 -0
- package/dist/cjs/types/components/view/NewPointsView/NewPointsView.d.ts +8 -0
- package/dist/cjs/types/components/view/NewPointsView/NewPointsView.stories.d.ts +41 -0
- package/dist/cjs/types/components/view/NewPointsView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/index.d.ts +1 -0
- package/dist/cjs/types/helpers/new-points.d.ts +5 -0
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/esm/index.js +8 -8
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/container/NewPoints/NewPoints.d.ts +17 -0
- package/dist/esm/types/components/container/NewPoints/NewPoints.stories.d.ts +100 -0
- package/dist/esm/types/components/container/NewPoints/index.d.ts +1 -0
- package/dist/esm/types/components/container/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/AnimatedRing/AnimatedRing.d.ts +8 -0
- package/dist/esm/types/components/presentational/AnimatedRing/AnimatedRing.stories.d.ts +24 -0
- package/dist/esm/types/components/presentational/AnimatedRing/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/index.d.ts +1 -0
- package/dist/esm/types/components/view/NewPointsView/NewPointsView.d.ts +8 -0
- package/dist/esm/types/components/view/NewPointsView/NewPointsView.stories.d.ts +41 -0
- package/dist/esm/types/components/view/NewPointsView/index.d.ts +1 -0
- package/dist/esm/types/components/view/index.d.ts +1 -0
- package/dist/esm/types/helpers/new-points.d.ts +5 -0
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/index.d.ts +95 -61
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { ReactElement, MouseEventHandler } from 'react';
|
|
1
|
+
import React, { ReactElement, MouseEventHandler, CSSProperties } from 'react';
|
|
2
2
|
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
3
3
|
import { StatusBarStyle, ExternalAccount, Notification, SurveyTask, ExternalAccountStatus, NotificationType, ExternalAccountProvider, SurveyTaskStatus } from '@careevolution/mydatahelps-js';
|
|
4
4
|
import { IconDefinition as IconDefinition$1 } from '@fortawesome/fontawesome-common-types';
|
|
@@ -16,7 +16,7 @@ interface ActionProps {
|
|
|
16
16
|
indicatorPosition?: "default" | "topRight";
|
|
17
17
|
bottomBorder?: boolean;
|
|
18
18
|
}
|
|
19
|
-
declare function export_default$
|
|
19
|
+
declare function export_default$1e(props: ActionProps): React.JSX.Element;
|
|
20
20
|
|
|
21
21
|
interface ActivityMeterProps {
|
|
22
22
|
label: string;
|
|
@@ -28,7 +28,7 @@ interface ActivityMeterProps {
|
|
|
28
28
|
message?: string;
|
|
29
29
|
className?: string;
|
|
30
30
|
}
|
|
31
|
-
declare function export_default$
|
|
31
|
+
declare function export_default$1d(props: ActivityMeterProps): React.JSX.Element;
|
|
32
32
|
|
|
33
33
|
interface ButtonProps {
|
|
34
34
|
children?: React.ReactNode;
|
|
@@ -43,7 +43,7 @@ interface ButtonProps {
|
|
|
43
43
|
loading?: boolean;
|
|
44
44
|
variant?: "default" | "subtle" | "light";
|
|
45
45
|
}
|
|
46
|
-
declare function export_default$
|
|
46
|
+
declare function export_default$1c(props: ButtonProps): React.JSX.Element;
|
|
47
47
|
|
|
48
48
|
interface CalendarProps {
|
|
49
49
|
month: number;
|
|
@@ -51,7 +51,7 @@ interface CalendarProps {
|
|
|
51
51
|
dayRenderer(year: number, month: number, day?: number): JSX.Element | null;
|
|
52
52
|
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
53
53
|
}
|
|
54
|
-
declare function export_default$
|
|
54
|
+
declare function export_default$1b(props: CalendarProps): React.JSX.Element;
|
|
55
55
|
|
|
56
56
|
interface CardProps {
|
|
57
57
|
className?: string;
|
|
@@ -59,14 +59,14 @@ interface CardProps {
|
|
|
59
59
|
allowOverflow?: boolean;
|
|
60
60
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
61
61
|
}
|
|
62
|
-
declare function export_default$
|
|
62
|
+
declare function export_default$1a(props: CardProps): React.JSX.Element | null;
|
|
63
63
|
|
|
64
64
|
interface CardTitleProps {
|
|
65
65
|
title: string;
|
|
66
66
|
onDetailClick?: Function;
|
|
67
67
|
detailLinkText?: string;
|
|
68
68
|
}
|
|
69
|
-
declare function export_default$
|
|
69
|
+
declare function export_default$19(props: CardTitleProps): React.JSX.Element;
|
|
70
70
|
|
|
71
71
|
declare type WeekStartsOn = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "6DaysAgo" | "7DaysAgo";
|
|
72
72
|
declare function getWeekStart(weekStartsOn?: WeekStartsOn): Date;
|
|
@@ -87,14 +87,14 @@ interface DateRangeNavigatorProps {
|
|
|
87
87
|
onIntervalChange(newIntervalStart: Date, newIntervalEnd: Date): void;
|
|
88
88
|
className?: string;
|
|
89
89
|
}
|
|
90
|
-
declare function export_default$
|
|
90
|
+
declare function export_default$18(props: DateRangeNavigatorProps): React.JSX.Element;
|
|
91
91
|
|
|
92
92
|
interface DayTrackerSymbolProps {
|
|
93
93
|
primaryColors: string[];
|
|
94
94
|
secondaryColors: string[];
|
|
95
95
|
className?: string;
|
|
96
96
|
}
|
|
97
|
-
declare function export_default$
|
|
97
|
+
declare function export_default$17(props: DayTrackerSymbolProps): React.JSX.Element;
|
|
98
98
|
|
|
99
99
|
interface FaceProps {
|
|
100
100
|
faceValue?: number;
|
|
@@ -102,7 +102,7 @@ interface FaceProps {
|
|
|
102
102
|
onClick?: MouseEventHandler;
|
|
103
103
|
className?: string;
|
|
104
104
|
}
|
|
105
|
-
declare function export_default$
|
|
105
|
+
declare function export_default$16(props: FaceProps): React.JSX.Element;
|
|
106
106
|
|
|
107
107
|
interface HistogramProps {
|
|
108
108
|
entries: {
|
|
@@ -113,7 +113,7 @@ interface HistogramProps {
|
|
|
113
113
|
}[];
|
|
114
114
|
className?: string;
|
|
115
115
|
}
|
|
116
|
-
declare function export_default$
|
|
116
|
+
declare function export_default$15(props: HistogramProps): React.JSX.Element;
|
|
117
117
|
|
|
118
118
|
interface LayoutProps {
|
|
119
119
|
children?: React.ReactNode;
|
|
@@ -133,7 +133,7 @@ interface LayoutContext {
|
|
|
133
133
|
bodyBackgroundColor: string;
|
|
134
134
|
}
|
|
135
135
|
declare const LayoutContext: React.Context<LayoutContext>;
|
|
136
|
-
declare function export_default$
|
|
136
|
+
declare function export_default$14(props: LayoutProps): React.JSX.Element;
|
|
137
137
|
|
|
138
138
|
interface LoadingIndicatorProps {
|
|
139
139
|
variant?: "default" | "inline";
|
|
@@ -153,7 +153,7 @@ interface NavigationBarProps {
|
|
|
153
153
|
className?: string;
|
|
154
154
|
variant?: "default" | "compressed";
|
|
155
155
|
}
|
|
156
|
-
declare function export_default$
|
|
156
|
+
declare function export_default$13(props: NavigationBarProps): React.JSX.Element;
|
|
157
157
|
|
|
158
158
|
interface SectionProps {
|
|
159
159
|
children?: React.ReactNode;
|
|
@@ -161,7 +161,7 @@ interface SectionProps {
|
|
|
161
161
|
noTopMargin?: boolean;
|
|
162
162
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
163
163
|
}
|
|
164
|
-
declare function export_default
|
|
164
|
+
declare function export_default$12(props: SectionProps): React.JSX.Element | null;
|
|
165
165
|
|
|
166
166
|
interface SegmentedControlProps {
|
|
167
167
|
segments: {
|
|
@@ -173,28 +173,28 @@ interface SegmentedControlProps {
|
|
|
173
173
|
className?: string;
|
|
174
174
|
color?: string;
|
|
175
175
|
}
|
|
176
|
-
declare function export_default$
|
|
176
|
+
declare function export_default$11(props: SegmentedControlProps): React.JSX.Element;
|
|
177
177
|
|
|
178
|
-
declare function export_default$
|
|
178
|
+
declare function export_default$10(): React.JSX.Element;
|
|
179
179
|
|
|
180
180
|
interface SingleExternalAccountProps {
|
|
181
181
|
externalAccount: ExternalAccount;
|
|
182
182
|
onAccountRemoved: (account: ExternalAccount) => void;
|
|
183
183
|
onReconnectAccount: (account: ExternalAccount) => void;
|
|
184
184
|
}
|
|
185
|
-
declare function export_default
|
|
185
|
+
declare function export_default$$(props: SingleExternalAccountProps): React.JSX.Element;
|
|
186
186
|
|
|
187
187
|
interface SingleNotificationProps {
|
|
188
188
|
notification: Notification;
|
|
189
189
|
}
|
|
190
|
-
declare function export_default$
|
|
190
|
+
declare function export_default$_(props: SingleNotificationProps): React.JSX.Element;
|
|
191
191
|
|
|
192
192
|
interface SingleSurveyTaskProps {
|
|
193
193
|
task: SurveyTask;
|
|
194
194
|
descriptionIcon?: IconDefinition$1;
|
|
195
195
|
disableClick?: boolean;
|
|
196
196
|
}
|
|
197
|
-
declare function export_default$
|
|
197
|
+
declare function export_default$Z(props: SingleSurveyTaskProps): React.JSX.Element | null;
|
|
198
198
|
|
|
199
199
|
interface SparkBarChartProps {
|
|
200
200
|
averageFillPercent: number;
|
|
@@ -204,7 +204,7 @@ interface SparkBarChartBar {
|
|
|
204
204
|
color: string;
|
|
205
205
|
barFillPercent: number;
|
|
206
206
|
}
|
|
207
|
-
declare function export_default$
|
|
207
|
+
declare function export_default$Y(props: SparkBarChartProps): React.JSX.Element;
|
|
208
208
|
|
|
209
209
|
interface SwitchProps {
|
|
210
210
|
isOn: Boolean;
|
|
@@ -212,7 +212,7 @@ interface SwitchProps {
|
|
|
212
212
|
onValueChanged(value: boolean): void;
|
|
213
213
|
className?: string;
|
|
214
214
|
}
|
|
215
|
-
declare function export_default$
|
|
215
|
+
declare function export_default$X(props: SwitchProps): React.JSX.Element;
|
|
216
216
|
|
|
217
217
|
interface StatusBarBackgroundProps {
|
|
218
218
|
color?: string;
|
|
@@ -223,7 +223,7 @@ interface TextBlockProps {
|
|
|
223
223
|
children?: React.ReactNode;
|
|
224
224
|
className?: string;
|
|
225
225
|
}
|
|
226
|
-
declare function export_default$
|
|
226
|
+
declare function export_default$W(props: TextBlockProps): React.JSX.Element | null;
|
|
227
227
|
|
|
228
228
|
interface TrackerItemProps {
|
|
229
229
|
selected: boolean;
|
|
@@ -234,7 +234,7 @@ interface TrackerItemProps {
|
|
|
234
234
|
onClick?: Function;
|
|
235
235
|
className?: string;
|
|
236
236
|
}
|
|
237
|
-
declare function export_default$
|
|
237
|
+
declare function export_default$V(props: TrackerItemProps): React.JSX.Element;
|
|
238
238
|
|
|
239
239
|
interface UnstyledButtonProps {
|
|
240
240
|
onClick: MouseEventHandler;
|
|
@@ -244,13 +244,13 @@ interface UnstyledButtonProps {
|
|
|
244
244
|
style?: React.CSSProperties;
|
|
245
245
|
disabled?: boolean;
|
|
246
246
|
}
|
|
247
|
-
declare function export_default$
|
|
247
|
+
declare function export_default$U(props: UnstyledButtonProps): React.JSX.Element;
|
|
248
248
|
|
|
249
249
|
interface ViewHeaderProps {
|
|
250
250
|
title?: string;
|
|
251
251
|
subtitle?: string;
|
|
252
252
|
}
|
|
253
|
-
declare function export_default$
|
|
253
|
+
declare function export_default$T(props: ViewHeaderProps): React.JSX.Element | null;
|
|
254
254
|
|
|
255
255
|
interface WeekCalendarProps {
|
|
256
256
|
selectedDate?: Date;
|
|
@@ -261,13 +261,20 @@ interface WeekCalendarProps {
|
|
|
261
261
|
onStartDateChange?(startDate: Date): void;
|
|
262
262
|
dayRenderer(year: number, month: number, day: number, selectedWeek: boolean): JSX.Element | null;
|
|
263
263
|
}
|
|
264
|
-
declare function export_default$
|
|
264
|
+
declare function export_default$S(props: WeekCalendarProps): React.JSX.Element;
|
|
265
|
+
|
|
266
|
+
interface AnimatedRingProps {
|
|
267
|
+
children: React.ReactNode;
|
|
268
|
+
style?: CSSProperties;
|
|
269
|
+
color?: string;
|
|
270
|
+
}
|
|
271
|
+
declare function export_default$R(props: AnimatedRingProps): React.JSX.Element;
|
|
265
272
|
|
|
266
273
|
interface AppDownloadProps {
|
|
267
274
|
previewProjectPlatforms?: string[];
|
|
268
275
|
previewDevicePlatform?: string;
|
|
269
276
|
}
|
|
270
|
-
declare function export_default$
|
|
277
|
+
declare function export_default$Q(props: AppDownloadProps): React.JSX.Element | null;
|
|
271
278
|
|
|
272
279
|
interface ConnectEhrProps {
|
|
273
280
|
applicationUrl: ConnectEhrApplicationUrl;
|
|
@@ -277,7 +284,7 @@ interface ConnectEhrProps {
|
|
|
277
284
|
}
|
|
278
285
|
declare type ConnectEhrApplicationUrl = "preview" | string;
|
|
279
286
|
declare type ConnectEhrPreviewState = "notEnabled" | "enabled" | "enabledConnected" | "enabledNeedsAttention";
|
|
280
|
-
declare function export_default$
|
|
287
|
+
declare function export_default$P(props: ConnectEhrProps): React.JSX.Element | null;
|
|
281
288
|
|
|
282
289
|
interface ConnectFitbitProps {
|
|
283
290
|
title?: string;
|
|
@@ -286,7 +293,7 @@ interface ConnectFitbitProps {
|
|
|
286
293
|
disabledBehavior?: 'hide' | 'displayError';
|
|
287
294
|
}
|
|
288
295
|
declare type ConnectFitbitPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
289
|
-
declare function export_default$
|
|
296
|
+
declare function export_default$O(props: ConnectFitbitProps): React.JSX.Element;
|
|
290
297
|
|
|
291
298
|
interface ConnectGarminProps {
|
|
292
299
|
title?: string;
|
|
@@ -295,7 +302,7 @@ interface ConnectGarminProps {
|
|
|
295
302
|
disabledBehavior?: 'hide' | 'displayError';
|
|
296
303
|
}
|
|
297
304
|
declare type ConnectGarminPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
298
|
-
declare function export_default$
|
|
305
|
+
declare function export_default$N(props: ConnectGarminProps): React.JSX.Element;
|
|
299
306
|
|
|
300
307
|
declare type DailyDataQueryResult = {
|
|
301
308
|
[key: string]: number;
|
|
@@ -403,13 +410,13 @@ interface DeviceDataChartLine {
|
|
|
403
410
|
showAverage?: boolean;
|
|
404
411
|
}
|
|
405
412
|
declare type DeviceDataMonthChartPreviewState = "WithData" | "NoData" | "Loading";
|
|
406
|
-
declare function export_default$
|
|
413
|
+
declare function export_default$M(props: DeviceDataMonthChartProps): React.JSX.Element | null;
|
|
407
414
|
|
|
408
415
|
interface DeviceDataMonthChartsProps {
|
|
409
416
|
previewState?: DeviceDataMonthChartsPreviewState;
|
|
410
417
|
}
|
|
411
418
|
declare type DeviceDataMonthChartsPreviewState = "Default" | "NoData";
|
|
412
|
-
declare function export_default$
|
|
419
|
+
declare function export_default$L(props: DeviceDataMonthChartsProps): React.JSX.Element;
|
|
413
420
|
|
|
414
421
|
interface ExternalAccountListProps {
|
|
415
422
|
externalAccountProviderCategories?: string[];
|
|
@@ -417,13 +424,13 @@ interface ExternalAccountListProps {
|
|
|
417
424
|
onExternalAccountsLoaded?: (accounts: ExternalAccount[]) => void;
|
|
418
425
|
}
|
|
419
426
|
declare type NotificationListPreviewState$1 = "Default";
|
|
420
|
-
declare function export_default$
|
|
427
|
+
declare function export_default$K(props: ExternalAccountListProps): React.JSX.Element;
|
|
421
428
|
|
|
422
429
|
interface ExternalAccountsLoadingIndicatorProps {
|
|
423
430
|
previewState?: "externalAccountsFetchingData" | "externalAccountsLoaded";
|
|
424
431
|
externalAccountCategories?: string[];
|
|
425
432
|
}
|
|
426
|
-
declare function export_default$
|
|
433
|
+
declare function export_default$J(props: ExternalAccountsLoadingIndicatorProps): React.JSX.Element | null;
|
|
427
434
|
|
|
428
435
|
interface ExternalAccountsPreviewProps {
|
|
429
436
|
excludeProviders?: boolean;
|
|
@@ -434,31 +441,31 @@ interface ExternalAccountsPreviewProps {
|
|
|
434
441
|
}
|
|
435
442
|
declare type ExternalAccountsApplicationUrl = "preview" | string;
|
|
436
443
|
declare type ExternalAccountsPreviewPreviewState = "Default";
|
|
437
|
-
declare function export_default$
|
|
444
|
+
declare function export_default$I(props: ExternalAccountsPreviewProps): React.JSX.Element | null;
|
|
438
445
|
|
|
439
446
|
declare type ConnectedDevicesPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
440
447
|
|
|
441
448
|
interface FitbitDevicesProps {
|
|
442
449
|
previewState?: ConnectedDevicesPreviewState;
|
|
443
450
|
}
|
|
444
|
-
declare function export_default$
|
|
451
|
+
declare function export_default$H(props: FitbitDevicesProps): React.JSX.Element;
|
|
445
452
|
|
|
446
453
|
declare type MonthChartsPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
447
454
|
|
|
448
455
|
interface FitbitMonthChartsProps {
|
|
449
456
|
previewState?: MonthChartsPreviewState;
|
|
450
457
|
}
|
|
451
|
-
declare function export_default$
|
|
458
|
+
declare function export_default$G(props: FitbitMonthChartsProps): React.JSX.Element;
|
|
452
459
|
|
|
453
460
|
interface GarminDevicesProps {
|
|
454
461
|
previewState?: ConnectedDevicesPreviewState;
|
|
455
462
|
}
|
|
456
|
-
declare function export_default$
|
|
463
|
+
declare function export_default$F(props: GarminDevicesProps): React.JSX.Element;
|
|
457
464
|
|
|
458
465
|
interface GarminMonthChartsProps {
|
|
459
466
|
previewState?: MonthChartsPreviewState;
|
|
460
467
|
}
|
|
461
|
-
declare function export_default$
|
|
468
|
+
declare function export_default$E(props: GarminMonthChartsProps): React.JSX.Element;
|
|
462
469
|
|
|
463
470
|
declare type HealthPreviewSectionConcept = "Medications" | "Immunizations" | "Reports" | "Allergies" | "Conditions" | "Procedures";
|
|
464
471
|
interface HealthPreviewSectionProps {
|
|
@@ -467,7 +474,7 @@ interface HealthPreviewSectionProps {
|
|
|
467
474
|
previewState?: "NoData" | "Default";
|
|
468
475
|
indicatorPosition?: "default" | "topRight";
|
|
469
476
|
}
|
|
470
|
-
declare function export_default$
|
|
477
|
+
declare function export_default$D(props: HealthPreviewSectionProps): React.JSX.Element | null;
|
|
471
478
|
|
|
472
479
|
interface TermInformation {
|
|
473
480
|
TermFamily: string;
|
|
@@ -480,7 +487,7 @@ interface LabResultsSummaryProps {
|
|
|
480
487
|
onClick(): void;
|
|
481
488
|
onViewTermInfo(termInfo: TermInformation): void;
|
|
482
489
|
}
|
|
483
|
-
declare function export_default$
|
|
490
|
+
declare function export_default$C(props: LabResultsSummaryProps): React.JSX.Element | null;
|
|
484
491
|
|
|
485
492
|
interface MostRecentNotificationProps {
|
|
486
493
|
notificationType?: NotificationType;
|
|
@@ -489,33 +496,33 @@ interface MostRecentNotificationProps {
|
|
|
489
496
|
previewState?: MostRecentNotificationPreviewState;
|
|
490
497
|
}
|
|
491
498
|
declare type MostRecentNotificationPreviewState = "Default";
|
|
492
|
-
declare function export_default$
|
|
499
|
+
declare function export_default$B(props: MostRecentNotificationProps): React.JSX.Element | null;
|
|
493
500
|
|
|
494
501
|
interface NotificationListProps {
|
|
495
502
|
notificationType?: NotificationType;
|
|
496
503
|
previewState?: NotificationListPreviewState;
|
|
497
504
|
}
|
|
498
505
|
declare type NotificationListPreviewState = "Default" | "NoData";
|
|
499
|
-
declare function export_default$
|
|
506
|
+
declare function export_default$A(props: NotificationListProps): React.JSX.Element;
|
|
500
507
|
|
|
501
508
|
interface PlatformSpecificContentProps {
|
|
502
509
|
platforms: string[];
|
|
503
510
|
children?: React.ReactNode;
|
|
504
511
|
previewDevicePlatform?: string;
|
|
505
512
|
}
|
|
506
|
-
declare function export_default$
|
|
513
|
+
declare function export_default$z(props: PlatformSpecificContentProps): React.JSX.Element | null;
|
|
507
514
|
|
|
508
515
|
interface ProjectHeaderProps {
|
|
509
516
|
previewState?: ProjectHeaderPropsPreviewState;
|
|
510
517
|
}
|
|
511
518
|
declare type ProjectHeaderPropsPreviewState = "Default";
|
|
512
|
-
declare function export_default$
|
|
519
|
+
declare function export_default$y(props: ProjectHeaderProps): React.JSX.Element;
|
|
513
520
|
|
|
514
521
|
interface ProjectSupportProps {
|
|
515
522
|
previewState?: ProjectSupportPropsPreviewState;
|
|
516
523
|
}
|
|
517
524
|
declare type ProjectSupportPropsPreviewState = "Default";
|
|
518
|
-
declare function export_default$
|
|
525
|
+
declare function export_default$x(props: ProjectSupportProps): React.JSX.Element | null;
|
|
519
526
|
|
|
520
527
|
interface ProviderSearchProps {
|
|
521
528
|
previewState?: ProviderSearchPreviewState;
|
|
@@ -524,7 +531,7 @@ interface ProviderSearchProps {
|
|
|
524
531
|
onProviderSelected?: (provider: ExternalAccountProvider) => void;
|
|
525
532
|
}
|
|
526
533
|
declare type ProviderSearchPreviewState = "Default";
|
|
527
|
-
declare function export_default$
|
|
534
|
+
declare function export_default$w(props: ProviderSearchProps): React.JSX.Element;
|
|
528
535
|
|
|
529
536
|
interface RelativeActivityTodayProps {
|
|
530
537
|
dataTypes: RelativeActivityDataType[];
|
|
@@ -538,7 +545,7 @@ interface RelativeActivityDataType {
|
|
|
538
545
|
color: string;
|
|
539
546
|
formatter: (number: number) => string;
|
|
540
547
|
}
|
|
541
|
-
declare function export_default$
|
|
548
|
+
declare function export_default$v(props: RelativeActivityTodayProps): React.JSX.Element | null;
|
|
542
549
|
|
|
543
550
|
declare type RestingHeartRateCalendarPreviewState = "WithData" | "NoData" | "Loading";
|
|
544
551
|
interface RestingHeartRateCalendarProps {
|
|
@@ -546,7 +553,7 @@ interface RestingHeartRateCalendarProps {
|
|
|
546
553
|
year: number;
|
|
547
554
|
showPreviewData: RestingHeartRateCalendarPreviewState;
|
|
548
555
|
}
|
|
549
|
-
declare function export_default$
|
|
556
|
+
declare function export_default$u(props: RestingHeartRateCalendarProps): React.JSX.Element;
|
|
550
557
|
|
|
551
558
|
interface SurveyTaskListProps {
|
|
552
559
|
status: SurveyTaskStatus;
|
|
@@ -558,7 +565,23 @@ interface SurveyTaskListProps {
|
|
|
558
565
|
variant?: "noCard" | "singleCard" | "multiCard";
|
|
559
566
|
}
|
|
560
567
|
declare type SurveyTaskListListPreviewState = "IncompleteTasks" | "CompleteTasks";
|
|
561
|
-
declare function export_default$
|
|
568
|
+
declare function export_default$t(props: SurveyTaskListProps): React.JSX.Element | null;
|
|
569
|
+
|
|
570
|
+
interface NewPointsEntry {
|
|
571
|
+
name: string;
|
|
572
|
+
points: number;
|
|
573
|
+
bonusPoints?: number;
|
|
574
|
+
message?: {
|
|
575
|
+
title: string;
|
|
576
|
+
text: string;
|
|
577
|
+
};
|
|
578
|
+
}
|
|
579
|
+
interface NewPointsProps {
|
|
580
|
+
entries: NewPointsEntry[];
|
|
581
|
+
pointsToNextReward?: number;
|
|
582
|
+
doneButtonText?: string;
|
|
583
|
+
}
|
|
584
|
+
declare function export_default$s(props: NewPointsProps): React.JSX.Element;
|
|
562
585
|
|
|
563
586
|
interface BlankViewProps {
|
|
564
587
|
children?: React.ReactNode;
|
|
@@ -569,7 +592,7 @@ interface BlankViewProps {
|
|
|
569
592
|
colorScheme?: "auto" | "light" | "dark";
|
|
570
593
|
primaryColor?: string;
|
|
571
594
|
}
|
|
572
|
-
declare function export_default$
|
|
595
|
+
declare function export_default$r(props: BlankViewProps): React.JSX.Element;
|
|
573
596
|
|
|
574
597
|
interface ConnectEhrViewProps {
|
|
575
598
|
externalAccountsApplicationUrl: ExternalAccountsApplicationUrl;
|
|
@@ -580,13 +603,13 @@ interface ConnectEhrViewProps {
|
|
|
580
603
|
colorScheme?: "auto" | "light" | "dark";
|
|
581
604
|
}
|
|
582
605
|
declare type ViewPresentationType$3 = "Modal" | "Push";
|
|
583
|
-
declare function export_default$
|
|
606
|
+
declare function export_default$q(props: ConnectEhrViewProps): React.JSX.Element;
|
|
584
607
|
|
|
585
608
|
interface DeviceDataViewProps {
|
|
586
609
|
preview?: boolean;
|
|
587
610
|
colorScheme?: "auto" | "light" | "dark";
|
|
588
611
|
}
|
|
589
|
-
declare function export_default$
|
|
612
|
+
declare function export_default$p(props: DeviceDataViewProps): React.JSX.Element;
|
|
590
613
|
|
|
591
614
|
interface ExternalAccountsViewProps {
|
|
592
615
|
excludeProviders?: boolean;
|
|
@@ -597,7 +620,7 @@ interface ExternalAccountsViewProps {
|
|
|
597
620
|
colorScheme?: "auto" | "light" | "dark";
|
|
598
621
|
}
|
|
599
622
|
declare type ViewPresentationType$2 = "Modal" | "Push";
|
|
600
|
-
declare function export_default$
|
|
623
|
+
declare function export_default$o(props: ExternalAccountsViewProps): React.JSX.Element;
|
|
601
624
|
|
|
602
625
|
interface FitbitViewProps {
|
|
603
626
|
connectPreview?: ConnectFitbitPreviewState;
|
|
@@ -605,7 +628,7 @@ interface FitbitViewProps {
|
|
|
605
628
|
chartsPreview?: MonthChartsPreviewState;
|
|
606
629
|
colorScheme?: "auto" | "light" | "dark";
|
|
607
630
|
}
|
|
608
|
-
declare function export_default$
|
|
631
|
+
declare function export_default$n(props: FitbitViewProps): React.JSX.Element;
|
|
609
632
|
|
|
610
633
|
interface GarminViewProps {
|
|
611
634
|
connectPreview?: ConnectGarminPreviewState;
|
|
@@ -613,7 +636,7 @@ interface GarminViewProps {
|
|
|
613
636
|
chartsPreview?: MonthChartsPreviewState;
|
|
614
637
|
garminProviderID?: number;
|
|
615
638
|
}
|
|
616
|
-
declare function export_default$
|
|
639
|
+
declare function export_default$m(props: GarminViewProps): React.JSX.Element;
|
|
617
640
|
|
|
618
641
|
interface HomeViewProps {
|
|
619
642
|
/**
|
|
@@ -632,7 +655,7 @@ interface HomeViewProps {
|
|
|
632
655
|
preview?: boolean;
|
|
633
656
|
colorScheme?: "auto" | "light" | "dark";
|
|
634
657
|
}
|
|
635
|
-
declare function export_default$
|
|
658
|
+
declare function export_default$l(props: HomeViewProps): React.JSX.Element;
|
|
636
659
|
|
|
637
660
|
interface HealthAndWellnessViewProps {
|
|
638
661
|
previewState?: "default";
|
|
@@ -641,7 +664,7 @@ interface HealthAndWellnessViewProps {
|
|
|
641
664
|
externalAccountsApplicationUrl: string;
|
|
642
665
|
variant?: "default" | "cardBased";
|
|
643
666
|
}
|
|
644
|
-
declare function export_default$
|
|
667
|
+
declare function export_default$k(props: HealthAndWellnessViewProps): React.JSX.Element;
|
|
645
668
|
|
|
646
669
|
interface NotificationsViewProps {
|
|
647
670
|
notificationType?: NotificationType;
|
|
@@ -650,7 +673,7 @@ interface NotificationsViewProps {
|
|
|
650
673
|
colorScheme?: "auto" | "light" | "dark";
|
|
651
674
|
}
|
|
652
675
|
declare type ViewPresentationType$1 = "Modal" | "Push";
|
|
653
|
-
declare function export_default$
|
|
676
|
+
declare function export_default$j(props: NotificationsViewProps): React.JSX.Element;
|
|
654
677
|
|
|
655
678
|
interface SurveyTasksViewProps {
|
|
656
679
|
hideCompleteTasks?: boolean;
|
|
@@ -661,7 +684,14 @@ interface SurveyTasksViewProps {
|
|
|
661
684
|
colorScheme?: "auto" | "light" | "dark";
|
|
662
685
|
}
|
|
663
686
|
declare type ViewPresentationType = "Modal" | "Push";
|
|
664
|
-
declare function export_default$
|
|
687
|
+
declare function export_default$i(props: SurveyTasksViewProps): React.JSX.Element;
|
|
688
|
+
|
|
689
|
+
interface NewPointsViewProps {
|
|
690
|
+
newPointsProps: NewPointsProps;
|
|
691
|
+
colorScheme?: 'auto' | 'light' | 'dark';
|
|
692
|
+
primaryColor?: string;
|
|
693
|
+
}
|
|
694
|
+
declare function export_default$h(props: NewPointsViewProps): React.JSX.Element;
|
|
665
695
|
|
|
666
696
|
interface CelebrationStepProps {
|
|
667
697
|
title?: string;
|
|
@@ -772,4 +802,8 @@ declare function language(key: string): string;
|
|
|
772
802
|
|
|
773
803
|
declare function getDayKey(date: Date): string;
|
|
774
804
|
|
|
775
|
-
|
|
805
|
+
declare type ColorScheme = 'auto' | 'light' | 'dark';
|
|
806
|
+
declare function showNewPoints(props: NewPointsProps, colorScheme?: ColorScheme, primaryColor?: string, url?: string): void;
|
|
807
|
+
declare function decodeNewPointsProps(encodedProps: string): NewPointsProps;
|
|
808
|
+
|
|
809
|
+
export { export_default$1e as Action, export_default$1d as ActivityMeter, export_default$R as AnimatedRing, export_default$Q as AppDownload, AreaChartOptions, BarChartOptions, export_default$r as BlankView, export_default$1c as Button, export_default$1b as Calendar, export_default$1a as Card, export_default$19 as CardTitle, export_default$g as CelebrationStep, export_default$f as CelebrationStepContainer, export_default$e as ConnectDeviceAccountStep, export_default$d as ConnectDeviceAccountStepContainer, export_default$P as ConnectEhr, export_default$c as ConnectEhrStep, export_default$b as ConnectEhrStepContainer, export_default$q as ConnectEhrView, export_default$O as ConnectFitbit, export_default$N as ConnectGarmin, DailyDataAvailabilityCheck, DailyDataChart, DailyDataProvider, DailyDataQueryResult, DailyDataType, DateRangeNavigatorContext as DateRangeCoordinator, export_default$18 as DateRangeNavigator, export_default$17 as DayTrackerSymbol, DeviceDataChartLine, export_default$M as DeviceDataMonthChart, export_default$L as DeviceDataMonthCharts, export_default$p as DeviceDataView, export_default$K as ExternalAccountList, export_default$J as ExternalAccountsLoadingIndicator, export_default$I as ExternalAccountsPreview, export_default$o as ExternalAccountsView, export_default$16 as Face, export_default$H as FitbitDevices, export_default$G as FitbitMonthCharts, export_default$n as FitbitView, export_default$F as GarminDevices, export_default$E as GarminMonthCharts, export_default$m as GarminView, export_default$k as HealthAndWellnessView, export_default$D as HealthPreviewSection, export_default$15 as Histogram, export_default$l as HomeView, export_default$C as LabResultsSummary, export_default$14 as Layout, LayoutContext, LineChartOptions, LoadingIndicator, export_default$B as MostRecentNotification, export_default$13 as NavigationBar, export_default$s as NewPoints, NewPointsEntry, NewPointsProps, export_default$h as NewPointsView, NewPointsViewProps, export_default$A as NotificationList, export_default$j as NotificationsView, export_default$z as PlatformSpecificContent, export_default$y as ProjectHeader, export_default$x as ProjectSupport, export_default$w as ProviderSearch, export_default$v as RelativeActivityToday, export_default$u as RestingHeartRateCalendar, export_default$12 as Section, export_default$11 as SegmentedControl, export_default$10 as ShinyOverlay, export_default$$ as SingleExternalAccount, export_default$_ as SingleNotification, export_default$Z as SingleSurveyTask, export_default$Y as SparkBarChart, SparkBarChartBar, StatusBarBackgroundProps as StatusBarBackground, export_default$a as StepDetailText, export_default$8 as StepImage, export_default$9 as StepImageIcon, export_default$7 as StepLayout, export_default$6 as StepMarkdown, export_default$5 as StepNextButton, export_default$4 as StepText, export_default$3 as StepTitle, export_default$t as SurveyTaskList, export_default$i as SurveyTasksView, export_default$X as Switch, export_default$W as TextBlock, export_default$V as TrackerItem, export_default$U as UnstyledButton, export_default$T as ViewHeader, export_default$S as WeekCalendar, WeekStartsOn, export_default$2 as YouTubeStep, export_default$1 as YouTubeStepContainer, checkDailyDataAvailability, decodeNewPointsProps, getDayKey, getMonthStart, getWeekStart, language, queryDailyData, registerDailyDataProvider, showNewPoints, export_default as useInterval };
|