@careevolution/mydatahelps-ui 2.21.0 → 2.21.2-FixDailyDataTypeDefinitionLookup.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 +10 -10
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/container/AllergiesList/AllergiesList.d.ts +2 -2
- package/dist/cjs/types/components/container/AllergiesList/AllergiesList.stories.d.ts +3 -3
- package/dist/cjs/types/components/container/ConditionsList/ConditionsList.d.ts +2 -2
- package/dist/cjs/types/components/container/ConditionsList/ConditionsList.stories.d.ts +3 -3
- package/dist/cjs/types/components/container/ConnectDevice/ConnectDevice.d.ts +2 -1
- package/dist/cjs/types/components/container/ConnectDevicesMenu/ConnectDevicesMenu.d.ts +2 -0
- package/dist/cjs/types/components/container/ConnectEhr/ConnectEhr.d.ts +2 -2
- package/dist/cjs/types/components/container/ConnectEhr/ConnectEhr.stories.d.ts +6 -6
- package/dist/cjs/types/components/container/ConnectFitbit/ConnectFitbit.d.ts +2 -1
- package/dist/cjs/types/components/container/ConnectGarmin/ConnectGarmin.d.ts +2 -1
- package/dist/cjs/types/components/container/EhrNewsFeed/EhrNewsFeed.d.ts +15 -0
- package/dist/cjs/types/components/container/EhrNewsFeed/EhrNewsFeed.stories.d.ts +62 -0
- package/dist/cjs/types/components/container/EhrNewsFeed/index.d.ts +1 -0
- package/dist/cjs/types/components/container/EhrNewsFeedEventDetail/EhrNewsFeedEventDetail.d.ts +11 -0
- package/dist/cjs/types/components/container/EhrNewsFeedEventDetail/EhrNewsFeedEventDetail.stories.d.ts +35 -0
- package/dist/cjs/types/components/container/EhrNewsFeedEventDetail/index.d.ts +1 -0
- package/dist/cjs/types/components/container/ExternalAccountConnectionAlert/ExternalAccountConnectionAlert.d.ts +9 -0
- package/dist/cjs/types/components/container/ExternalAccountConnectionAlert/ExternalAccountConnectionAlert.stories.d.ts +22 -0
- package/dist/cjs/types/components/container/ExternalAccountConnectionAlert/index.d.ts +1 -0
- package/dist/cjs/types/components/container/ExternalAccountList/ExternalAccountList.d.ts +3 -3
- package/dist/cjs/types/components/container/ExternalAccountsLoadingIndicator/ExternalAccountsLoadingIndicator.d.ts +1 -0
- package/dist/cjs/types/components/container/ExternalAccountsPreview/ExternalAccountsPreview.d.ts +2 -2
- package/dist/cjs/types/components/container/LabResultsSummary/LabResultsSummary.d.ts +2 -2
- package/dist/cjs/types/components/container/MedicationsList/MedicationsList.d.ts +2 -2
- package/dist/cjs/types/components/container/MedicationsList/MedicationsList.stories.d.ts +3 -3
- package/dist/cjs/types/components/container/ProviderSearch/ProviderSearch.d.ts +2 -1
- package/dist/cjs/types/components/container/TermInformation/TermInformation.d.ts +19 -0
- package/dist/cjs/types/components/container/TermInformation/TermInformation.previewData.d.ts +3 -0
- package/dist/cjs/types/components/container/TermInformation/TermInformation.stories.d.ts +27 -0
- package/dist/cjs/types/components/container/TermInformation/index.d.ts +1 -0
- package/dist/cjs/types/components/container/index.d.ts +4 -0
- package/dist/cjs/types/components/presentational/LabResultWithSparkline/LabResultWithSparkline.d.ts +3 -7
- package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -1
- package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.stories.d.ts +9 -0
- package/dist/cjs/types/components/presentational/ReportContent/ReportContent.d.ts +8 -0
- package/dist/cjs/types/components/presentational/ReportContent/ReportContent.previewData.d.ts +3 -0
- package/dist/cjs/types/components/presentational/ReportContent/ReportContent.stories.d.ts +34 -0
- package/dist/cjs/types/components/presentational/StatBlock/StatBlock.d.ts +15 -0
- package/dist/cjs/types/components/presentational/StatBlock/StatBlock.stories.d.ts +37 -0
- package/dist/cjs/types/components/presentational/StatBlock/index.d.ts +1 -0
- package/dist/cjs/types/components/view/AllergiesView/AllergiesView.d.ts +2 -0
- package/dist/cjs/types/components/view/ConditionsView/ConditionsView.d.ts +2 -0
- package/dist/cjs/types/components/view/ConnectEhrView/ConnectEhrView.d.ts +1 -2
- package/dist/cjs/types/components/view/EhrNewsFeedEventDetailView/EhrNewsFeedEventDetailView.d.ts +12 -0
- package/dist/cjs/types/components/view/EhrNewsFeedEventDetailView/EhrNewsFeedEventDetailView.stories.d.ts +38 -0
- package/dist/cjs/types/components/view/EhrNewsFeedEventDetailView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/EhrNewsFeedView/EhrNewsFeedView.d.ts +11 -0
- package/dist/cjs/types/components/view/EhrNewsFeedView/EhrNewsFeedView.stories.d.ts +42 -0
- package/dist/cjs/types/components/view/EhrNewsFeedView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/ExternalAccountsView/ExternalAccountsView.d.ts +5 -1
- package/dist/cjs/types/components/view/HomeView/HomeView.d.ts +1 -2
- package/dist/cjs/types/components/view/MedicationsView/MedicationsView.d.ts +2 -0
- package/dist/cjs/types/components/view/ReportView/ReportView.d.ts +13 -0
- package/dist/cjs/types/components/view/ReportView/ReportView.stories.d.ts +22 -0
- package/dist/cjs/types/components/view/StandaloneHealthAndWellnessView/StandaloneHealthAndWellnessView.d.ts +8 -0
- package/dist/cjs/types/components/view/StandaloneHealthAndWellnessView/StandaloneHealthAndWellnessView.stories.d.ts +25 -0
- package/dist/cjs/types/components/view/StandaloneHealthAndWellnessView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/TermInformationView/TermInformationView.d.ts +10 -0
- package/dist/cjs/types/components/view/TermInformationView/TermInformationView.stories.d.ts +20 -0
- package/dist/cjs/types/components/view/TermInformationView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/index.d.ts +4 -0
- package/dist/cjs/types/helpers/news-feed/data.d.ts +2 -0
- package/dist/cjs/types/helpers/news-feed/eventTypeDefinitions.d.ts +12 -0
- package/dist/cjs/types/helpers/news-feed/previewData.d.ts +8 -0
- package/dist/cjs/types/helpers/news-feed/types.d.ts +211 -0
- package/dist/esm/index.js +11 -11
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/container/AllergiesList/AllergiesList.d.ts +2 -2
- package/dist/esm/types/components/container/AllergiesList/AllergiesList.stories.d.ts +3 -3
- package/dist/esm/types/components/container/ConditionsList/ConditionsList.d.ts +2 -2
- package/dist/esm/types/components/container/ConditionsList/ConditionsList.stories.d.ts +3 -3
- package/dist/esm/types/components/container/ConnectDevice/ConnectDevice.d.ts +2 -1
- package/dist/esm/types/components/container/ConnectDevicesMenu/ConnectDevicesMenu.d.ts +2 -0
- package/dist/esm/types/components/container/ConnectEhr/ConnectEhr.d.ts +2 -2
- package/dist/esm/types/components/container/ConnectEhr/ConnectEhr.stories.d.ts +6 -6
- package/dist/esm/types/components/container/ConnectFitbit/ConnectFitbit.d.ts +2 -1
- package/dist/esm/types/components/container/ConnectGarmin/ConnectGarmin.d.ts +2 -1
- package/dist/esm/types/components/container/EhrNewsFeed/EhrNewsFeed.d.ts +15 -0
- package/dist/esm/types/components/container/EhrNewsFeed/EhrNewsFeed.stories.d.ts +62 -0
- package/dist/esm/types/components/container/EhrNewsFeed/index.d.ts +1 -0
- package/dist/esm/types/components/container/EhrNewsFeedEventDetail/EhrNewsFeedEventDetail.d.ts +11 -0
- package/dist/esm/types/components/container/EhrNewsFeedEventDetail/EhrNewsFeedEventDetail.stories.d.ts +35 -0
- package/dist/esm/types/components/container/EhrNewsFeedEventDetail/index.d.ts +1 -0
- package/dist/esm/types/components/container/ExternalAccountConnectionAlert/ExternalAccountConnectionAlert.d.ts +9 -0
- package/dist/esm/types/components/container/ExternalAccountConnectionAlert/ExternalAccountConnectionAlert.stories.d.ts +22 -0
- package/dist/esm/types/components/container/ExternalAccountConnectionAlert/index.d.ts +1 -0
- package/dist/esm/types/components/container/ExternalAccountList/ExternalAccountList.d.ts +3 -3
- package/dist/esm/types/components/container/ExternalAccountsLoadingIndicator/ExternalAccountsLoadingIndicator.d.ts +1 -0
- package/dist/esm/types/components/container/ExternalAccountsPreview/ExternalAccountsPreview.d.ts +2 -2
- package/dist/esm/types/components/container/LabResultsSummary/LabResultsSummary.d.ts +2 -2
- package/dist/esm/types/components/container/MedicationsList/MedicationsList.d.ts +2 -2
- package/dist/esm/types/components/container/MedicationsList/MedicationsList.stories.d.ts +3 -3
- package/dist/esm/types/components/container/ProviderSearch/ProviderSearch.d.ts +2 -1
- package/dist/esm/types/components/container/TermInformation/TermInformation.d.ts +19 -0
- package/dist/esm/types/components/container/TermInformation/TermInformation.previewData.d.ts +3 -0
- package/dist/esm/types/components/container/TermInformation/TermInformation.stories.d.ts +27 -0
- package/dist/esm/types/components/container/TermInformation/index.d.ts +1 -0
- package/dist/esm/types/components/container/index.d.ts +4 -0
- package/dist/esm/types/components/presentational/LabResultWithSparkline/LabResultWithSparkline.d.ts +3 -7
- package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -1
- package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.stories.d.ts +9 -0
- package/dist/esm/types/components/presentational/ReportContent/ReportContent.d.ts +8 -0
- package/dist/esm/types/components/presentational/ReportContent/ReportContent.previewData.d.ts +3 -0
- package/dist/esm/types/components/presentational/ReportContent/ReportContent.stories.d.ts +34 -0
- package/dist/esm/types/components/presentational/StatBlock/StatBlock.d.ts +15 -0
- package/dist/esm/types/components/presentational/StatBlock/StatBlock.stories.d.ts +37 -0
- package/dist/esm/types/components/presentational/StatBlock/index.d.ts +1 -0
- package/dist/esm/types/components/view/AllergiesView/AllergiesView.d.ts +2 -0
- package/dist/esm/types/components/view/ConditionsView/ConditionsView.d.ts +2 -0
- package/dist/esm/types/components/view/ConnectEhrView/ConnectEhrView.d.ts +1 -2
- package/dist/esm/types/components/view/EhrNewsFeedEventDetailView/EhrNewsFeedEventDetailView.d.ts +12 -0
- package/dist/esm/types/components/view/EhrNewsFeedEventDetailView/EhrNewsFeedEventDetailView.stories.d.ts +38 -0
- package/dist/esm/types/components/view/EhrNewsFeedEventDetailView/index.d.ts +1 -0
- package/dist/esm/types/components/view/EhrNewsFeedView/EhrNewsFeedView.d.ts +11 -0
- package/dist/esm/types/components/view/EhrNewsFeedView/EhrNewsFeedView.stories.d.ts +42 -0
- package/dist/esm/types/components/view/EhrNewsFeedView/index.d.ts +1 -0
- package/dist/esm/types/components/view/ExternalAccountsView/ExternalAccountsView.d.ts +5 -1
- package/dist/esm/types/components/view/HomeView/HomeView.d.ts +1 -2
- package/dist/esm/types/components/view/MedicationsView/MedicationsView.d.ts +2 -0
- package/dist/esm/types/components/view/ReportView/ReportView.d.ts +13 -0
- package/dist/esm/types/components/view/ReportView/ReportView.stories.d.ts +22 -0
- package/dist/esm/types/components/view/StandaloneHealthAndWellnessView/StandaloneHealthAndWellnessView.d.ts +8 -0
- package/dist/esm/types/components/view/StandaloneHealthAndWellnessView/StandaloneHealthAndWellnessView.stories.d.ts +25 -0
- package/dist/esm/types/components/view/StandaloneHealthAndWellnessView/index.d.ts +1 -0
- package/dist/esm/types/components/view/TermInformationView/TermInformationView.d.ts +10 -0
- package/dist/esm/types/components/view/TermInformationView/TermInformationView.stories.d.ts +20 -0
- package/dist/esm/types/components/view/TermInformationView/index.d.ts +1 -0
- package/dist/esm/types/components/view/index.d.ts +4 -0
- package/dist/esm/types/helpers/news-feed/data.d.ts +2 -0
- package/dist/esm/types/helpers/news-feed/eventTypeDefinitions.d.ts +12 -0
- package/dist/esm/types/helpers/news-feed/previewData.d.ts +8 -0
- package/dist/esm/types/helpers/news-feed/types.d.ts +211 -0
- package/dist/index.d.ts +257 -168
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { TermInformationReference } from "../TermInformation/TermInformation";
|
|
3
3
|
export interface AllergiesListProps {
|
|
4
4
|
previewState?: "default";
|
|
5
|
-
onViewTermInfo(termInfo:
|
|
5
|
+
onViewTermInfo(termInfo: TermInformationReference): void;
|
|
6
6
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
7
7
|
}
|
|
8
8
|
export default function (props: AllergiesListProps): React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import AllergiesList, { AllergiesListProps } from "./AllergiesList";
|
|
3
|
-
import {
|
|
3
|
+
import { TermInformationReference } from "../TermInformation/TermInformation";
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
6
|
component: typeof AllergiesList;
|
|
@@ -12,13 +12,13 @@ export default _default;
|
|
|
12
12
|
export declare const Default: {
|
|
13
13
|
args: {
|
|
14
14
|
previewState: string;
|
|
15
|
-
onViewTermInfo: (termInfo:
|
|
15
|
+
onViewTermInfo: (termInfo: TermInformationReference) => void;
|
|
16
16
|
};
|
|
17
17
|
render: (args: AllergiesListProps) => React.JSX.Element;
|
|
18
18
|
};
|
|
19
19
|
export declare const Live: {
|
|
20
20
|
args: {
|
|
21
|
-
onViewTermInfo: (termInfo:
|
|
21
|
+
onViewTermInfo: (termInfo: TermInformationReference) => void;
|
|
22
22
|
};
|
|
23
23
|
render: (args: AllergiesListProps) => React.JSX.Element;
|
|
24
24
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { TermInformationReference } from "../TermInformation/TermInformation";
|
|
3
3
|
export interface ConditionsListProps {
|
|
4
4
|
previewState?: "default";
|
|
5
|
-
onViewTermInfo(termInfo:
|
|
5
|
+
onViewTermInfo(termInfo: TermInformationReference): void;
|
|
6
6
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
7
7
|
}
|
|
8
8
|
export default function (props: ConditionsListProps): React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import ConditionsList, { ConditionsListProps } from "./ConditionsList";
|
|
3
|
-
import {
|
|
3
|
+
import { TermInformationReference } from "../TermInformation/TermInformation";
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
6
|
component: typeof ConditionsList;
|
|
@@ -12,13 +12,13 @@ export default _default;
|
|
|
12
12
|
export declare const Default: {
|
|
13
13
|
args: {
|
|
14
14
|
previewState: string;
|
|
15
|
-
onViewTermInfo: (termInfo:
|
|
15
|
+
onViewTermInfo: (termInfo: TermInformationReference) => void;
|
|
16
16
|
};
|
|
17
17
|
render: (args: ConditionsListProps) => React.JSX.Element;
|
|
18
18
|
};
|
|
19
19
|
export declare const Live: {
|
|
20
20
|
args: {
|
|
21
|
-
onViewTermInfo: (termInfo:
|
|
21
|
+
onViewTermInfo: (termInfo: TermInformationReference) => void;
|
|
22
22
|
};
|
|
23
23
|
render: (args: ConditionsListProps) => React.JSX.Element;
|
|
24
24
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ExternalAccountStatus } from "@careevolution/mydatahelps-js";
|
|
2
|
+
import { ConnectExternalAccountOptions, ExternalAccountStatus } from "@careevolution/mydatahelps-js";
|
|
3
3
|
import "./ConnectDevice.css";
|
|
4
4
|
export interface ConnectDeviceProps {
|
|
5
5
|
title: string;
|
|
@@ -11,6 +11,7 @@ export interface ConnectDeviceProps {
|
|
|
11
11
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
12
12
|
titleImage: React.ReactNode;
|
|
13
13
|
hideWhenConnected?: boolean;
|
|
14
|
+
connectExternalAccountOptions?: ConnectExternalAccountOptions;
|
|
14
15
|
}
|
|
15
16
|
export type ConnectDevicePreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
16
17
|
export default function (props: ConnectDeviceProps): React.JSX.Element | null;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ConnectExternalAccountOptions } from '@careevolution/mydatahelps-js';
|
|
1
2
|
import React from 'react';
|
|
2
3
|
import "./ConnectDevicesMenu.css";
|
|
3
4
|
export type DeviceAccountType = "Fitbit" | "Garmin" | "AppleHealth" | "GoogleFit" | "Omron";
|
|
@@ -8,5 +9,6 @@ export interface ConnectDevicesMenuProps {
|
|
|
8
9
|
text?: string;
|
|
9
10
|
previewState?: "iOS" | "Android" | "Web" | "ConnectedStates";
|
|
10
11
|
headerVariant?: "large" | "medium";
|
|
12
|
+
connectExternalAccountOptions?: ConnectExternalAccountOptions;
|
|
11
13
|
}
|
|
12
14
|
export default function (props: ConnectDevicesMenuProps): React.JSX.Element | null;
|
|
@@ -3,7 +3,7 @@ import "./ConnectEhr.css";
|
|
|
3
3
|
import '@fortawesome/fontawesome-svg-core/styles.css';
|
|
4
4
|
import { ColorDefinition } from '../../../helpers/colors';
|
|
5
5
|
export interface ConnectEhrProps {
|
|
6
|
-
applicationUrl
|
|
6
|
+
applicationUrl?: string;
|
|
7
7
|
previewState?: ConnectEhrPreviewState;
|
|
8
8
|
disabledBehavior?: 'hide' | 'displayError';
|
|
9
9
|
bottomBorder?: boolean;
|
|
@@ -14,7 +14,7 @@ export interface ConnectEhrProps {
|
|
|
14
14
|
connectedText?: string;
|
|
15
15
|
hideWhenConnected?: boolean;
|
|
16
16
|
buttonColor?: ColorDefinition;
|
|
17
|
+
onClick?: () => void;
|
|
17
18
|
}
|
|
18
|
-
export type ConnectEhrApplicationUrl = "preview" | string;
|
|
19
19
|
export type ConnectEhrPreviewState = "notEnabled" | "enabled" | "enabledConnected" | "enabledNeedsAttention";
|
|
20
20
|
export default function (props: ConnectEhrProps): React.JSX.Element | null;
|
|
@@ -45,35 +45,35 @@ export declare const NotEnabledDisplayError: {
|
|
|
45
45
|
export declare const Enabled: {
|
|
46
46
|
args: {
|
|
47
47
|
previewState: string;
|
|
48
|
-
|
|
48
|
+
onClick: () => void;
|
|
49
49
|
};
|
|
50
50
|
render: (args: ConnectEhrProps) => React.JSX.Element;
|
|
51
51
|
};
|
|
52
52
|
export declare const EnabledConnected: {
|
|
53
53
|
args: {
|
|
54
54
|
previewState: string;
|
|
55
|
-
|
|
55
|
+
onClick: () => void;
|
|
56
56
|
};
|
|
57
57
|
render: (args: ConnectEhrProps) => React.JSX.Element;
|
|
58
58
|
};
|
|
59
59
|
export declare const EnabledNeedsAttention: {
|
|
60
60
|
args: {
|
|
61
61
|
previewState: string;
|
|
62
|
-
|
|
62
|
+
onClick: () => void;
|
|
63
63
|
};
|
|
64
64
|
render: (args: ConnectEhrProps) => React.JSX.Element;
|
|
65
65
|
};
|
|
66
66
|
export declare const Live: {
|
|
67
67
|
args: {
|
|
68
68
|
disabledBehavior: string;
|
|
69
|
-
|
|
69
|
+
onClick: () => void;
|
|
70
70
|
};
|
|
71
71
|
render: (args: ConnectEhrProps) => React.JSX.Element;
|
|
72
72
|
};
|
|
73
73
|
export declare const CustomConnectedText: {
|
|
74
74
|
args: {
|
|
75
75
|
previewState: string;
|
|
76
|
-
|
|
76
|
+
onClick: () => void;
|
|
77
77
|
title: string;
|
|
78
78
|
connectedText: string;
|
|
79
79
|
};
|
|
@@ -82,7 +82,7 @@ export declare const CustomConnectedText: {
|
|
|
82
82
|
export declare const CustomConnectText: {
|
|
83
83
|
args: {
|
|
84
84
|
previewState: string;
|
|
85
|
-
|
|
85
|
+
onClick: () => void;
|
|
86
86
|
title: string;
|
|
87
87
|
connectedText: string;
|
|
88
88
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExternalAccountStatus } from "@careevolution/mydatahelps-js";
|
|
1
|
+
import { ConnectExternalAccountOptions, ExternalAccountStatus } from "@careevolution/mydatahelps-js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
export interface ConnectFitbitProps {
|
|
4
4
|
title?: string;
|
|
@@ -7,6 +7,7 @@ export interface ConnectFitbitProps {
|
|
|
7
7
|
disabledBehavior?: 'hide' | 'displayError';
|
|
8
8
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
9
9
|
hideWhenConnected?: boolean;
|
|
10
|
+
connectExternalAccountOptions?: ConnectExternalAccountOptions;
|
|
10
11
|
}
|
|
11
12
|
export type ConnectFitbitPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
12
13
|
export default function (props: ConnectFitbitProps): React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ExternalAccountStatus } from "@careevolution/mydatahelps-js";
|
|
2
|
+
import { ConnectExternalAccountOptions, ExternalAccountStatus } from "@careevolution/mydatahelps-js";
|
|
3
3
|
export interface ConnectGarminProps {
|
|
4
4
|
title?: string;
|
|
5
5
|
garminProviderID?: number;
|
|
@@ -7,6 +7,7 @@ export interface ConnectGarminProps {
|
|
|
7
7
|
disabledBehavior?: 'hide' | 'displayError';
|
|
8
8
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
9
9
|
hideWhenConnected?: boolean;
|
|
10
|
+
connectExternalAccountOptions?: ConnectExternalAccountOptions;
|
|
10
11
|
}
|
|
11
12
|
export type ConnectGarminPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
12
13
|
export default function (props: ConnectGarminProps): React.JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import "./EhrNewsFeed.css";
|
|
3
|
+
import { EhrNewsFeedType } from '../../../helpers/news-feed/types';
|
|
4
|
+
export interface EhrNewsFeedProps {
|
|
5
|
+
previewState?: "default" | "procedures" | "labReports" | "immunizations" | "reports";
|
|
6
|
+
onEventSelected(eventReference: EhrNewsFeedEventReference): void;
|
|
7
|
+
feed: EhrNewsFeedType;
|
|
8
|
+
onReportSelected(reportID: string): void;
|
|
9
|
+
}
|
|
10
|
+
export interface EhrNewsFeedEventReference {
|
|
11
|
+
feed: EhrNewsFeedType;
|
|
12
|
+
pageId?: string;
|
|
13
|
+
pageDate?: string;
|
|
14
|
+
}
|
|
15
|
+
export default function (props: EhrNewsFeedProps): React.JSX.Element;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import EhrNewsFeed, { EhrNewsFeedProps } from "./EhrNewsFeed";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof EhrNewsFeed;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Procedures: {
|
|
12
|
+
args: {
|
|
13
|
+
previewState: string;
|
|
14
|
+
feed: string;
|
|
15
|
+
};
|
|
16
|
+
render: (args: EhrNewsFeedProps) => React.JSX.Element;
|
|
17
|
+
};
|
|
18
|
+
export declare const Immunizations: {
|
|
19
|
+
args: {
|
|
20
|
+
previewState: string;
|
|
21
|
+
feed: string;
|
|
22
|
+
};
|
|
23
|
+
render: (args: EhrNewsFeedProps) => React.JSX.Element;
|
|
24
|
+
};
|
|
25
|
+
export declare const LabReports: {
|
|
26
|
+
args: {
|
|
27
|
+
previewState: string;
|
|
28
|
+
feed: string;
|
|
29
|
+
};
|
|
30
|
+
render: (args: EhrNewsFeedProps) => React.JSX.Element;
|
|
31
|
+
};
|
|
32
|
+
export declare const Reports: {
|
|
33
|
+
args: {
|
|
34
|
+
previewState: string;
|
|
35
|
+
feed: string;
|
|
36
|
+
};
|
|
37
|
+
render: (args: EhrNewsFeedProps) => React.JSX.Element;
|
|
38
|
+
};
|
|
39
|
+
export declare const LiveProcedures: {
|
|
40
|
+
args: {
|
|
41
|
+
feed: string;
|
|
42
|
+
};
|
|
43
|
+
render: (args: EhrNewsFeedProps) => React.JSX.Element;
|
|
44
|
+
};
|
|
45
|
+
export declare const LiveImmunizations: {
|
|
46
|
+
args: {
|
|
47
|
+
feed: string;
|
|
48
|
+
};
|
|
49
|
+
render: (args: EhrNewsFeedProps) => React.JSX.Element;
|
|
50
|
+
};
|
|
51
|
+
export declare const LiveReports: {
|
|
52
|
+
args: {
|
|
53
|
+
feed: string;
|
|
54
|
+
};
|
|
55
|
+
render: (args: EhrNewsFeedProps) => React.JSX.Element;
|
|
56
|
+
};
|
|
57
|
+
export declare const LiveLabReports: {
|
|
58
|
+
args: {
|
|
59
|
+
feed: string;
|
|
60
|
+
};
|
|
61
|
+
render: (args: EhrNewsFeedProps) => React.JSX.Element;
|
|
62
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./EhrNewsFeed";
|
package/dist/esm/types/components/container/EhrNewsFeedEventDetail/EhrNewsFeedEventDetail.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { EhrNewsFeedEventType, EhrNewsFeedType } from '../../../helpers/news-feed/types';
|
|
3
|
+
import "./EhrNewsFeedEventDetail.css";
|
|
4
|
+
export interface EhrNewsFeedEventDetailProps {
|
|
5
|
+
feed: EhrNewsFeedType;
|
|
6
|
+
pageId?: string;
|
|
7
|
+
pageDate?: string;
|
|
8
|
+
previewState?: EhrNewsFeedEventType;
|
|
9
|
+
onViewLabObservationTermInfo(labObservationID: string): void;
|
|
10
|
+
}
|
|
11
|
+
export default function (props: EhrNewsFeedEventDetailProps): React.JSX.Element;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import EhrNewsFeedEventDetail, { EhrNewsFeedEventDetailProps } from "./EhrNewsFeedEventDetail";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof EhrNewsFeedEventDetail;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const ProcedureGroup: {
|
|
12
|
+
args: {
|
|
13
|
+
previewState: string;
|
|
14
|
+
};
|
|
15
|
+
render: (args: EhrNewsFeedEventDetailProps) => React.JSX.Element;
|
|
16
|
+
};
|
|
17
|
+
export declare const LabReport: {
|
|
18
|
+
args: {
|
|
19
|
+
previewState: string;
|
|
20
|
+
onViewLabObservationTermInfo: (labObservationID: string) => void;
|
|
21
|
+
};
|
|
22
|
+
render: (args: EhrNewsFeedEventDetailProps) => React.JSX.Element;
|
|
23
|
+
};
|
|
24
|
+
export declare const ClaimServiceGroup: {
|
|
25
|
+
args: {
|
|
26
|
+
previewState: string;
|
|
27
|
+
};
|
|
28
|
+
render: (args: EhrNewsFeedEventDetailProps) => React.JSX.Element;
|
|
29
|
+
};
|
|
30
|
+
export declare const ClaimProcedureGroup: {
|
|
31
|
+
args: {
|
|
32
|
+
previewState: string;
|
|
33
|
+
};
|
|
34
|
+
render: (args: EhrNewsFeedEventDetailProps) => React.JSX.Element;
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./EhrNewsFeedEventDetail";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface ExternalAccountConnectionAlertProps {
|
|
3
|
+
previewState?: "externalAccountWithIssue" | "externalAccountNoIssue";
|
|
4
|
+
onClick(): void;
|
|
5
|
+
text?: string;
|
|
6
|
+
externalAccountCategories?: string[];
|
|
7
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
8
|
+
}
|
|
9
|
+
export default function (props: ExternalAccountConnectionAlertProps): React.JSX.Element | null;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import ExternalAccountConnectionAlert, { ExternalAccountConnectionAlertProps } from "./ExternalAccountConnectionAlert";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof ExternalAccountConnectionAlert;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const ExternalAccountWithIssue: {
|
|
12
|
+
args: {
|
|
13
|
+
previewState: string;
|
|
14
|
+
};
|
|
15
|
+
render: (args: ExternalAccountConnectionAlertProps) => React.JSX.Element;
|
|
16
|
+
};
|
|
17
|
+
export declare const ExternalAccountNoIssue: {
|
|
18
|
+
args: {
|
|
19
|
+
previewState: string;
|
|
20
|
+
};
|
|
21
|
+
render: (args: ExternalAccountConnectionAlertProps) => React.JSX.Element;
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./ExternalAccountConnectionAlert";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ExternalAccount } from '@careevolution/mydatahelps-js';
|
|
2
|
+
import { ConnectExternalAccountOptions, ExternalAccount } from '@careevolution/mydatahelps-js';
|
|
3
3
|
export interface ExternalAccountListProps {
|
|
4
4
|
externalAccountProviderCategories?: string[];
|
|
5
|
-
previewState?:
|
|
5
|
+
previewState?: "default";
|
|
6
6
|
onExternalAccountsLoaded?: (accounts: ExternalAccount[]) => void;
|
|
7
7
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
8
|
+
connectExternalAccountOptions?: ConnectExternalAccountOptions;
|
|
8
9
|
}
|
|
9
|
-
export type NotificationListPreviewState = "Default";
|
|
10
10
|
export default function (props: ExternalAccountListProps): React.JSX.Element;
|
|
@@ -4,5 +4,6 @@ export interface ExternalAccountsLoadingIndicatorProps {
|
|
|
4
4
|
previewState?: "externalAccountsFetchingData" | "externalAccountsLoaded";
|
|
5
5
|
externalAccountCategories?: string[];
|
|
6
6
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
7
|
+
triggerWebExternalAccountSyncComplete?: boolean;
|
|
7
8
|
}
|
|
8
9
|
export default function (props: ExternalAccountsLoadingIndicatorProps): React.JSX.Element | null;
|
package/dist/esm/types/components/container/ExternalAccountsPreview/ExternalAccountsPreview.d.ts
CHANGED
|
@@ -4,10 +4,10 @@ export interface ExternalAccountsPreviewProps {
|
|
|
4
4
|
excludeProviders?: boolean;
|
|
5
5
|
excludeHealthPlans?: boolean;
|
|
6
6
|
excludeDeviceManufacturers?: boolean;
|
|
7
|
-
applicationUrl
|
|
7
|
+
applicationUrl?: string;
|
|
8
8
|
previewState?: ExternalAccountsPreviewPreviewState;
|
|
9
9
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
10
|
+
onClick?: () => void;
|
|
10
11
|
}
|
|
11
|
-
export type ExternalAccountsApplicationUrl = "preview" | string;
|
|
12
12
|
export type ExternalAccountsPreviewPreviewState = "Default";
|
|
13
13
|
export default function (props: ExternalAccountsPreviewProps): React.JSX.Element | null;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import "./LabResultsSummary.css";
|
|
3
3
|
import "../HealthPreviewSection/HealthPreviewSection.css";
|
|
4
|
-
import {
|
|
4
|
+
import { TermInformationReference } from "../TermInformation/TermInformation";
|
|
5
5
|
export interface LabResultsSummaryProps {
|
|
6
6
|
previewState?: "ImportantLabs" | "RecentLabs" | "NoData";
|
|
7
7
|
onClick(): void;
|
|
8
|
-
onViewTermInfo(termInfo:
|
|
8
|
+
onViewTermInfo(termInfo: TermInformationReference): void;
|
|
9
9
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
10
10
|
}
|
|
11
11
|
export default function (props: LabResultsSummaryProps): React.JSX.Element | null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { TermInformationReference } from "../TermInformation/TermInformation";
|
|
3
3
|
export interface MedicationsListProps {
|
|
4
4
|
previewState?: "default";
|
|
5
|
-
onViewTermInfo(termInfo:
|
|
5
|
+
onViewTermInfo(termInfo: TermInformationReference): void;
|
|
6
6
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
7
7
|
}
|
|
8
8
|
export default function (props: MedicationsListProps): React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import MedicationsList, { MedicationsListProps } from "./MedicationsList";
|
|
3
|
-
import {
|
|
3
|
+
import { TermInformationReference } from "../TermInformation/TermInformation";
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
6
|
component: typeof MedicationsList;
|
|
@@ -12,13 +12,13 @@ export default _default;
|
|
|
12
12
|
export declare const Default: {
|
|
13
13
|
args: {
|
|
14
14
|
previewState: string;
|
|
15
|
-
onViewTermInfo: (termInfo:
|
|
15
|
+
onViewTermInfo: (termInfo: TermInformationReference) => void;
|
|
16
16
|
};
|
|
17
17
|
render: (args: MedicationsListProps) => React.JSX.Element;
|
|
18
18
|
};
|
|
19
19
|
export declare const Live: {
|
|
20
20
|
args: {
|
|
21
|
-
onViewTermInfo: (termInfo:
|
|
21
|
+
onViewTermInfo: (termInfo: TermInformationReference) => void;
|
|
22
22
|
};
|
|
23
23
|
render: (args: MedicationsListProps) => React.JSX.Element;
|
|
24
24
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ExternalAccountProvider } from "@careevolution/mydatahelps-js";
|
|
2
|
+
import { ConnectExternalAccountOptions, ExternalAccountProvider } from "@careevolution/mydatahelps-js";
|
|
3
3
|
import "./ProviderSearch.css";
|
|
4
4
|
import '@fortawesome/fontawesome-svg-core/styles.css';
|
|
5
5
|
export interface ProviderSearchProps {
|
|
@@ -7,6 +7,7 @@ export interface ProviderSearchProps {
|
|
|
7
7
|
providerCategories?: string[];
|
|
8
8
|
onProviderConnected?: (provider: ExternalAccountProvider) => void;
|
|
9
9
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
10
|
+
connectExternalAccountOptions?: ConnectExternalAccountOptions;
|
|
10
11
|
}
|
|
11
12
|
export type ProviderSearchPreviewState = "Default";
|
|
12
13
|
export default function (props: ProviderSearchProps): React.JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import "./TermInformation.css";
|
|
3
|
+
export interface TermInformationProps {
|
|
4
|
+
previewState?: "default" | "noData";
|
|
5
|
+
term?: TermInformationReference;
|
|
6
|
+
labObservationID?: string;
|
|
7
|
+
openLinksInNewWindow?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface TermInformationReference {
|
|
10
|
+
TermFamily: string;
|
|
11
|
+
TermNamespace: string;
|
|
12
|
+
TermCode: string;
|
|
13
|
+
}
|
|
14
|
+
export interface TermInformationResult {
|
|
15
|
+
Title: string;
|
|
16
|
+
Link: string;
|
|
17
|
+
Summary: string;
|
|
18
|
+
}
|
|
19
|
+
export default function (props: TermInformationProps): React.JSX.Element;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import TermInformation, { TermInformationProps } from "./TermInformation";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof TermInformation;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Default: {
|
|
12
|
+
args: {
|
|
13
|
+
previewState: string;
|
|
14
|
+
openLinksInNewWindow: boolean;
|
|
15
|
+
};
|
|
16
|
+
render: (args: TermInformationProps) => React.JSX.Element;
|
|
17
|
+
};
|
|
18
|
+
export declare const NoData: {
|
|
19
|
+
args: {
|
|
20
|
+
previewState: string;
|
|
21
|
+
};
|
|
22
|
+
render: (args: TermInformationProps) => React.JSX.Element;
|
|
23
|
+
};
|
|
24
|
+
export declare const Live: {
|
|
25
|
+
args: {};
|
|
26
|
+
render: (args: TermInformationProps) => React.JSX.Element;
|
|
27
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, TermInformationReference } from "./TermInformation";
|
|
@@ -9,6 +9,9 @@ export { default as ConnectGarmin } from "./ConnectGarmin";
|
|
|
9
9
|
export { default as DailyDataChart, LineChartOptions, BarChartOptions, AreaChartOptions, BarChartThreshold } from "./DailyDataChart";
|
|
10
10
|
export { default as DeviceDataMonthChart, DeviceDataChartLine } from "./DeviceDataMonthChart";
|
|
11
11
|
export { default as DeviceDataMonthCharts } from "./DeviceDataMonthCharts";
|
|
12
|
+
export { default as EhrNewsFeed } from "./EhrNewsFeed";
|
|
13
|
+
export { default as EhrNewsFeedEventDetail } from "./EhrNewsFeedEventDetail";
|
|
14
|
+
export { default as ExternalAccountConnectionAlert } from "./ExternalAccountConnectionAlert";
|
|
12
15
|
export { default as ExternalAccountList } from "./ExternalAccountList";
|
|
13
16
|
export { default as ExternalAccountsLoadingIndicator } from "./ExternalAccountsLoadingIndicator";
|
|
14
17
|
export { default as ExternalAccountsPreview } from "./ExternalAccountsPreview";
|
|
@@ -34,6 +37,7 @@ export { default as RelativeActivityToday } from "./RelativeActivityToday";
|
|
|
34
37
|
export { default as RestingHeartRateCalendar } from "./RestingHeartRateCalendar";
|
|
35
38
|
export { default as SurveyTaskList } from "./SurveyTaskList";
|
|
36
39
|
export { default as SeverityCalendar } from "./SeverityCalendar";
|
|
40
|
+
export { default as TermInformation, TermInformationReference } from "./TermInformation";
|
|
37
41
|
export { default as ViewEhr } from "./ViewEhr";
|
|
38
42
|
export { default as InboxItemList } from "./InboxItemList";
|
|
39
43
|
export { default as InboxItemListCoordinator } from "./InboxItemListCoordinator";
|
package/dist/esm/types/components/presentational/LabResultWithSparkline/LabResultWithSparkline.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import "./LabResultWithSparkline.css";
|
|
3
|
+
import { TermInformationReference } from "../../container/TermInformation/TermInformation";
|
|
3
4
|
export interface LabResultValue {
|
|
4
5
|
Type: string;
|
|
5
6
|
MostRecentValue: string;
|
|
@@ -8,20 +9,15 @@ export interface LabResultValue {
|
|
|
8
9
|
NormalRangeTopY: number;
|
|
9
10
|
NormalRangeBottomY: number;
|
|
10
11
|
SparklinePoints: SparklinePoint[];
|
|
11
|
-
TermInformation?:
|
|
12
|
+
TermInformation?: TermInformationReference;
|
|
12
13
|
}
|
|
13
14
|
export interface SparklinePoint {
|
|
14
15
|
X: number;
|
|
15
16
|
Y: number;
|
|
16
17
|
}
|
|
17
|
-
export interface TermInformation {
|
|
18
|
-
TermFamily: string;
|
|
19
|
-
TermNamespace: string;
|
|
20
|
-
TermCode: string;
|
|
21
|
-
}
|
|
22
18
|
export interface LabResultWithSparklineProps {
|
|
23
19
|
labResultValue: LabResultValue;
|
|
24
|
-
onViewTermInfo(termInfo:
|
|
20
|
+
onViewTermInfo(termInfo: TermInformationReference): void;
|
|
25
21
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
26
22
|
}
|
|
27
23
|
export default function (props: LabResultWithSparklineProps): React.JSX.Element;
|
|
@@ -11,7 +11,7 @@ export interface NavigationBarProps {
|
|
|
11
11
|
closeButtonText?: string;
|
|
12
12
|
backButtonText?: string;
|
|
13
13
|
className?: string;
|
|
14
|
-
variant?:
|
|
14
|
+
variant?: "default" | "compressed" | "compressedModal";
|
|
15
15
|
titleColor?: ColorDefinition;
|
|
16
16
|
subtitleColor?: ColorDefinition;
|
|
17
17
|
buttonColor?: ColorDefinition;
|
|
@@ -65,6 +65,15 @@ export declare const CompressedWithSubtitle: {
|
|
|
65
65
|
};
|
|
66
66
|
render: (args: NavigationBarProps) => React.JSX.Element;
|
|
67
67
|
};
|
|
68
|
+
export declare const CompressedModal: {
|
|
69
|
+
args: {
|
|
70
|
+
title: string;
|
|
71
|
+
showCloseButton: boolean;
|
|
72
|
+
showBackButton: boolean;
|
|
73
|
+
variant: string;
|
|
74
|
+
};
|
|
75
|
+
render: (args: NavigationBarProps) => React.JSX.Element;
|
|
76
|
+
};
|
|
68
77
|
export declare const WithDateRangeNavigator: {
|
|
69
78
|
args: {
|
|
70
79
|
title: string;
|