@careevolution/mydatahelps-ui 2.9.1-AsthmaUI.62 → 2.9.1-AsthmaUI.65
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 +137 -190
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/asthma/components/AsthmaActionPlanManager/AsthmaActionPlanManager.d.ts +11 -0
- package/dist/cjs/types/components/asthma/components/AsthmaActionPlanManager/AsthmaActionPlanManager.stories.d.ts +23 -0
- package/dist/cjs/types/components/asthma/components/AsthmaActionPlanManager/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +1 -1
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +18 -14
- package/dist/cjs/types/components/asthma/components/AsthmaBarChart/AsthmaBarChart.d.ts +17 -0
- package/dist/cjs/types/components/asthma/components/AsthmaBarChart/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +1 -1
- package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +7 -12
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +1 -1
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +6 -121
- package/dist/cjs/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +7 -0
- package/dist/cjs/types/components/asthma/components/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/asthma-data.d.ts +1 -1
- package/dist/cjs/types/components/asthma/helpers/asthma-functions.d.ts +6 -0
- package/dist/cjs/types/components/asthma/model/types.d.ts +16 -1
- package/dist/cjs/types/components/asthma/views/AsthmaActionPlanView/AsthmaActionPlanView.d.ts +10 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActionPlanView/AsthmaActionPlanView.stories.d.ts +23 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActionPlanView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/index.d.ts +1 -0
- package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +12 -0
- package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.previewdata.d.ts +2 -0
- package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.stories.d.ts +43 -0
- package/dist/cjs/types/components/container/BloodPressureVisualization/index.d.ts +1 -0
- package/dist/cjs/types/components/container/InboxItemList/InboxItemList.d.ts +27 -0
- package/dist/cjs/types/components/container/InboxItemList/InboxItemList.previewData.d.ts +6 -0
- package/dist/cjs/types/components/container/InboxItemList/InboxItemList.stories.d.ts +66 -0
- package/dist/cjs/types/components/container/InboxItemList/index.d.ts +1 -0
- package/dist/cjs/types/components/container/InboxItemListCoordinator/InboxItemListCoordinator.d.ts +12 -0
- package/dist/cjs/types/components/container/InboxItemListCoordinator/index.d.ts +1 -0
- package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +12 -0
- package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.previewdata.d.ts +2 -0
- package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.stories.d.ts +52 -0
- package/dist/cjs/types/components/container/SeverityCalendar/index.d.ts +1 -0
- package/dist/cjs/types/components/container/index.d.ts +4 -0
- package/dist/cjs/types/components/presentational/DumbbellChart/Dumbbell.d.ts +9 -0
- package/dist/cjs/types/components/presentational/DumbbellChart/DumbbellChart.d.ts +28 -0
- package/dist/cjs/types/components/presentational/DumbbellChart/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.d.ts +10 -0
- package/dist/cjs/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.stories.d.ts +23 -0
- package/dist/cjs/types/components/presentational/InboxCompletedListItem/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/InboxMessageListItem/InboxMessageListItem.d.ts +10 -0
- package/dist/cjs/types/components/presentational/InboxMessageListItem/InboxMessageListItem.stories.d.ts +24 -0
- package/dist/cjs/types/components/presentational/InboxMessageListItem/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +12 -0
- package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +67 -0
- package/dist/cjs/types/components/presentational/InboxResourceListItem/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.d.ts +13 -0
- package/dist/cjs/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.stories.d.ts +72 -0
- package/dist/cjs/types/components/presentational/InboxSurveyListItem/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/Resource/Resource.d.ts +14 -0
- package/dist/cjs/types/components/presentational/Resource/Resource.stories.d.ts +36 -0
- package/dist/cjs/types/components/presentational/Resource/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/index.d.ts +6 -0
- package/dist/cjs/types/components/view/InboxHistoryView/InboxHistoryView.d.ts +8 -0
- package/dist/cjs/types/components/view/InboxHistoryView/InboxHistoryView.stories.d.ts +13 -0
- package/dist/cjs/types/components/view/InboxHistoryView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/InboxMessageView/InboxMessageView.d.ts +11 -0
- package/dist/cjs/types/components/view/InboxMessageView/InboxMessageView.stories.d.ts +48 -0
- package/dist/cjs/types/components/view/InboxMessageView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/InboxView/InboxView.d.ts +12 -0
- package/dist/cjs/types/components/view/InboxView/InboxView.stories.d.ts +27 -0
- package/dist/cjs/types/components/view/InboxView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/index.d.ts +3 -0
- package/dist/cjs/types/helpers/Inbox/inbox-data.d.ts +8 -0
- package/dist/cjs/types/helpers/blood-pressure-data-providers/index.d.ts +3 -0
- package/dist/cjs/types/helpers/blood-pressure-data-providers/survey-blood-pressure-data-provider.d.ts +12 -0
- package/dist/cjs/types/helpers/query-all-survey-answers.d.ts +2 -0
- package/dist/cjs/types/index.d.ts +2 -0
- package/dist/esm/index.js +137 -190
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/asthma/components/AsthmaActionPlanManager/AsthmaActionPlanManager.d.ts +11 -0
- package/dist/esm/types/components/asthma/components/AsthmaActionPlanManager/AsthmaActionPlanManager.stories.d.ts +23 -0
- package/dist/esm/types/components/asthma/components/AsthmaActionPlanManager/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +1 -1
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +18 -14
- package/dist/esm/types/components/asthma/components/AsthmaBarChart/AsthmaBarChart.d.ts +17 -0
- package/dist/esm/types/components/asthma/components/AsthmaBarChart/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +1 -1
- package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +7 -12
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +1 -1
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +6 -121
- package/dist/esm/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +7 -0
- package/dist/esm/types/components/asthma/components/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/asthma-data.d.ts +1 -1
- package/dist/esm/types/components/asthma/helpers/asthma-functions.d.ts +6 -0
- package/dist/esm/types/components/asthma/model/types.d.ts +16 -1
- package/dist/esm/types/components/asthma/views/AsthmaActionPlanView/AsthmaActionPlanView.d.ts +10 -0
- package/dist/esm/types/components/asthma/views/AsthmaActionPlanView/AsthmaActionPlanView.stories.d.ts +23 -0
- package/dist/esm/types/components/asthma/views/AsthmaActionPlanView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/index.d.ts +1 -0
- package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +12 -0
- package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.previewdata.d.ts +2 -0
- package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.stories.d.ts +43 -0
- package/dist/esm/types/components/container/BloodPressureVisualization/index.d.ts +1 -0
- package/dist/esm/types/components/container/InboxItemList/InboxItemList.d.ts +27 -0
- package/dist/esm/types/components/container/InboxItemList/InboxItemList.previewData.d.ts +6 -0
- package/dist/esm/types/components/container/InboxItemList/InboxItemList.stories.d.ts +66 -0
- package/dist/esm/types/components/container/InboxItemList/index.d.ts +1 -0
- package/dist/esm/types/components/container/InboxItemListCoordinator/InboxItemListCoordinator.d.ts +12 -0
- package/dist/esm/types/components/container/InboxItemListCoordinator/index.d.ts +1 -0
- package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +12 -0
- package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.previewdata.d.ts +2 -0
- package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.stories.d.ts +52 -0
- package/dist/esm/types/components/container/SeverityCalendar/index.d.ts +1 -0
- package/dist/esm/types/components/container/index.d.ts +4 -0
- package/dist/esm/types/components/presentational/DumbbellChart/Dumbbell.d.ts +9 -0
- package/dist/esm/types/components/presentational/DumbbellChart/DumbbellChart.d.ts +28 -0
- package/dist/esm/types/components/presentational/DumbbellChart/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.d.ts +10 -0
- package/dist/esm/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.stories.d.ts +23 -0
- package/dist/esm/types/components/presentational/InboxCompletedListItem/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/InboxMessageListItem/InboxMessageListItem.d.ts +10 -0
- package/dist/esm/types/components/presentational/InboxMessageListItem/InboxMessageListItem.stories.d.ts +24 -0
- package/dist/esm/types/components/presentational/InboxMessageListItem/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +12 -0
- package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +67 -0
- package/dist/esm/types/components/presentational/InboxResourceListItem/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.d.ts +13 -0
- package/dist/esm/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.stories.d.ts +72 -0
- package/dist/esm/types/components/presentational/InboxSurveyListItem/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/Resource/Resource.d.ts +14 -0
- package/dist/esm/types/components/presentational/Resource/Resource.stories.d.ts +36 -0
- package/dist/esm/types/components/presentational/Resource/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/index.d.ts +6 -0
- package/dist/esm/types/components/view/InboxHistoryView/InboxHistoryView.d.ts +8 -0
- package/dist/esm/types/components/view/InboxHistoryView/InboxHistoryView.stories.d.ts +13 -0
- package/dist/esm/types/components/view/InboxHistoryView/index.d.ts +1 -0
- package/dist/esm/types/components/view/InboxMessageView/InboxMessageView.d.ts +11 -0
- package/dist/esm/types/components/view/InboxMessageView/InboxMessageView.stories.d.ts +48 -0
- package/dist/esm/types/components/view/InboxMessageView/index.d.ts +1 -0
- package/dist/esm/types/components/view/InboxView/InboxView.d.ts +12 -0
- package/dist/esm/types/components/view/InboxView/InboxView.stories.d.ts +27 -0
- package/dist/esm/types/components/view/InboxView/index.d.ts +1 -0
- package/dist/esm/types/components/view/index.d.ts +3 -0
- package/dist/esm/types/helpers/Inbox/inbox-data.d.ts +8 -0
- package/dist/esm/types/helpers/blood-pressure-data-providers/index.d.ts +3 -0
- package/dist/esm/types/helpers/blood-pressure-data-providers/survey-blood-pressure-data-provider.d.ts +12 -0
- package/dist/esm/types/helpers/query-all-survey-answers.d.ts +2 -0
- package/dist/esm/types/index.d.ts +2 -0
- package/dist/index.d.ts +421 -204
- package/package.json +4 -4
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './AsthmaActionPlanManager.css';
|
|
3
|
+
import { AsthmaActionPlan } from '../../model';
|
|
4
|
+
export interface AsthmaActionPlanManagerProps {
|
|
5
|
+
previewState?: 'loading' | 'loaded without action plan' | 'loaded with action plan';
|
|
6
|
+
learnMoreUrl: string;
|
|
7
|
+
onViewActionPlan: (actionPlan: AsthmaActionPlan) => void;
|
|
8
|
+
editActionPlanSurveyName: string;
|
|
9
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
10
|
+
}
|
|
11
|
+
export default function (props: AsthmaActionPlanManagerProps): React.JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaActionPlanManager, { AsthmaActionPlanManagerProps } from './AsthmaActionPlanManager';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaActionPlanManager;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Default: {
|
|
12
|
+
args: {
|
|
13
|
+
previewState: string;
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
previewState: {
|
|
17
|
+
name: string;
|
|
18
|
+
control: string;
|
|
19
|
+
options: string[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
render: (args: AsthmaActionPlanManagerProps) => React.JSX.Element;
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AsthmaActionPlanManager';
|
package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import './AsthmaAirQualities.css';
|
|
|
3
3
|
import { AsthmaAirQualitiesPreviewState } from './AsthmaAirQualities.previewData';
|
|
4
4
|
export interface AsthmaAirQualitiesProps {
|
|
5
5
|
previewState?: AsthmaAirQualitiesPreviewState;
|
|
6
|
+
editZipCodesSurveyName?: string;
|
|
6
7
|
airQualityUrl: string;
|
|
7
8
|
date?: Date;
|
|
8
9
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AsthmaAirQuality } from '../../model';
|
|
2
|
-
export type AsthmaAirQualitiesPreviewState = 'no
|
|
2
|
+
export type AsthmaAirQualitiesPreviewState = 'neither configured' | 'one configured' | 'no data (control)' | 'no data (date)' | 'some data (control)' | 'some data (date)' | 'all data';
|
|
3
3
|
export interface AsthmaAirQualitiesPreviewData {
|
|
4
4
|
homeAirQuality: AsthmaAirQuality;
|
|
5
5
|
workAirQuality: AsthmaAirQuality;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import AsthmaAirQualities
|
|
2
|
+
import AsthmaAirQualities from './AsthmaAirQualities';
|
|
3
|
+
import { AsthmaAirQualitiesPreviewState } from './AsthmaAirQualities.previewData';
|
|
3
4
|
declare const _default: {
|
|
4
5
|
title: string;
|
|
5
6
|
component: typeof AsthmaAirQualities;
|
|
@@ -8,21 +9,24 @@ declare const _default: {
|
|
|
8
9
|
};
|
|
9
10
|
};
|
|
10
11
|
export default _default;
|
|
11
|
-
|
|
12
|
+
interface AsthmaAirQualitiesStoryArgs {
|
|
13
|
+
previewState: AsthmaAirQualitiesPreviewState;
|
|
14
|
+
canEditSettings: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const Default: {
|
|
12
17
|
args: {
|
|
13
18
|
previewState: string;
|
|
19
|
+
canEditSettings: boolean;
|
|
14
20
|
};
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
args: {
|
|
25
|
-
previewState: string;
|
|
21
|
+
argTypes: {
|
|
22
|
+
previewState: {
|
|
23
|
+
name: string;
|
|
24
|
+
control: string;
|
|
25
|
+
options: string[];
|
|
26
|
+
};
|
|
27
|
+
canEditSettings: {
|
|
28
|
+
name: string;
|
|
29
|
+
};
|
|
26
30
|
};
|
|
27
|
-
render: (args:
|
|
31
|
+
render: (args: AsthmaAirQualitiesStoryArgs) => React.JSX.Element;
|
|
28
32
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DailyDataProvider } from '../../../../helpers/query-daily-data';
|
|
3
|
+
import { AxisDomain } from 'recharts/types/util/types';
|
|
4
|
+
import './AsthmaBarChart.css';
|
|
5
|
+
export interface AsthmaDailyDataChartProps {
|
|
6
|
+
previewState?: 'default';
|
|
7
|
+
title: string;
|
|
8
|
+
dailyDataType: string;
|
|
9
|
+
domain?: AxisDomain;
|
|
10
|
+
emptyDomain?: AxisDomain;
|
|
11
|
+
valueConverter?: (rawValue: number) => number;
|
|
12
|
+
valueFormatter?: (value: number) => string;
|
|
13
|
+
highlight?: (rawValue: number) => boolean;
|
|
14
|
+
previewDataProvider?: DailyDataProvider;
|
|
15
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
16
|
+
}
|
|
17
|
+
export default function (props: AsthmaDailyDataChartProps): React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AsthmaBarChart';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AsthmaBiometric } from '../../model';
|
|
2
|
-
export type AsthmaBiometricsPreviewState = 'no
|
|
2
|
+
export type AsthmaBiometricsPreviewState = 'no data' | 'some data' | 'all data';
|
|
3
3
|
export interface AsthmaBiometricsPreviewData {
|
|
4
4
|
daytimeRestingHeartRate: AsthmaBiometric;
|
|
5
5
|
nighttimeRestingHeartRate: AsthmaBiometric;
|
package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts
CHANGED
|
@@ -8,21 +8,16 @@ declare const _default: {
|
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
10
|
export default _default;
|
|
11
|
-
export declare const
|
|
11
|
+
export declare const Default: {
|
|
12
12
|
args: {
|
|
13
13
|
previewState: string;
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
render: (args: AsthmaBiometricsProps) => React.JSX.Element;
|
|
22
|
-
};
|
|
23
|
-
export declare const AllData: {
|
|
24
|
-
args: {
|
|
25
|
-
previewState: string;
|
|
15
|
+
argTypes: {
|
|
16
|
+
previewState: {
|
|
17
|
+
name: string;
|
|
18
|
+
control: string;
|
|
19
|
+
options: string[];
|
|
20
|
+
};
|
|
26
21
|
};
|
|
27
22
|
render: (args: AsthmaBiometricsProps) => React.JSX.Element;
|
|
28
23
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AsthmaAirQuality, AsthmaBiometric, AsthmaControlState } from '../../model';
|
|
2
|
-
export type AsthmaControlStatusHeaderPreviewState = 'no
|
|
2
|
+
export 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';
|
|
3
3
|
export interface AsthmaControlStatusHeaderPreviewData {
|
|
4
4
|
controlState: AsthmaControlState;
|
|
5
5
|
biometrics: AsthmaBiometric[];
|
|
@@ -8,131 +8,16 @@ declare const _default: {
|
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
10
|
export default _default;
|
|
11
|
-
export declare const
|
|
11
|
+
export declare const Default: {
|
|
12
12
|
args: {
|
|
13
13
|
previewState: string;
|
|
14
|
-
participant: {
|
|
15
|
-
hasPairedDevice: () => boolean;
|
|
16
|
-
hasEstablishedBaseline: () => boolean;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
|
|
20
|
-
};
|
|
21
|
-
export declare const NoDataBeforeBaselineEstablished: {
|
|
22
|
-
args: {
|
|
23
|
-
previewState: string;
|
|
24
|
-
participant: {
|
|
25
|
-
hasPairedDevice: () => boolean;
|
|
26
|
-
hasEstablishedBaseline: () => boolean;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
|
|
30
|
-
};
|
|
31
|
-
export declare const NoDataBaselineEstablishedNothingOutOfRange: {
|
|
32
|
-
args: {
|
|
33
|
-
previewState: string;
|
|
34
|
-
participant: {
|
|
35
|
-
hasPairedDevice: () => boolean;
|
|
36
|
-
hasEstablishedBaseline: () => boolean;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
|
|
40
|
-
};
|
|
41
|
-
export declare const NoDataBaselineEstablishedDaytimeHeartRateOutOfRange: {
|
|
42
|
-
args: {
|
|
43
|
-
previewState: string;
|
|
44
|
-
participant: {
|
|
45
|
-
hasPairedDevice: () => boolean;
|
|
46
|
-
hasEstablishedBaseline: () => boolean;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
|
|
50
|
-
};
|
|
51
|
-
export declare const NoDataBaselineEstablishedNighttimeHeartRateOutOfRange: {
|
|
52
|
-
args: {
|
|
53
|
-
previewState: string;
|
|
54
|
-
participant: {
|
|
55
|
-
hasPairedDevice: () => boolean;
|
|
56
|
-
hasEstablishedBaseline: () => boolean;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
|
|
60
|
-
};
|
|
61
|
-
export declare const NoDataBaselineEstablishedRROutOfRange: {
|
|
62
|
-
args: {
|
|
63
|
-
previewState: string;
|
|
64
|
-
participant: {
|
|
65
|
-
hasPairedDevice: () => boolean;
|
|
66
|
-
hasEstablishedBaseline: () => boolean;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
|
|
70
|
-
};
|
|
71
|
-
export declare const NoDataBaselineEstablishedActivityOutOfRange: {
|
|
72
|
-
args: {
|
|
73
|
-
previewState: string;
|
|
74
|
-
participant: {
|
|
75
|
-
hasPairedDevice: () => boolean;
|
|
76
|
-
hasEstablishedBaseline: () => boolean;
|
|
77
|
-
};
|
|
78
14
|
};
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
participant: {
|
|
85
|
-
hasPairedDevice: () => boolean;
|
|
86
|
-
hasEstablishedBaseline: () => boolean;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
|
|
90
|
-
};
|
|
91
|
-
export declare const NoDataBaselineEstablishedHomeAQOutOfRange: {
|
|
92
|
-
args: {
|
|
93
|
-
previewState: string;
|
|
94
|
-
participant: {
|
|
95
|
-
hasPairedDevice: () => boolean;
|
|
96
|
-
hasEstablishedBaseline: () => boolean;
|
|
15
|
+
argTypes: {
|
|
16
|
+
previewState: {
|
|
17
|
+
name: string;
|
|
18
|
+
control: string;
|
|
19
|
+
options: string[];
|
|
97
20
|
};
|
|
98
21
|
};
|
|
99
22
|
render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
|
|
100
23
|
};
|
|
101
|
-
export declare const NoDataBaselineEstablishedWorkAQOutOfRange: {
|
|
102
|
-
args: {
|
|
103
|
-
previewState: string;
|
|
104
|
-
participant: {
|
|
105
|
-
hasPairedDevice: () => boolean;
|
|
106
|
-
hasEstablishedBaseline: () => boolean;
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
|
-
render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
|
|
110
|
-
};
|
|
111
|
-
export declare const NoDataBaselineEstablishedMultipleOutOfRange: {
|
|
112
|
-
args: {
|
|
113
|
-
previewState: string;
|
|
114
|
-
participant: {
|
|
115
|
-
hasPairedDevice: () => boolean;
|
|
116
|
-
hasEstablishedBaseline: () => boolean;
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
|
|
120
|
-
};
|
|
121
|
-
export declare const NotDetermined: {
|
|
122
|
-
args: {
|
|
123
|
-
previewState: string;
|
|
124
|
-
};
|
|
125
|
-
render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
|
|
126
|
-
};
|
|
127
|
-
export declare const NotControlled: {
|
|
128
|
-
args: {
|
|
129
|
-
previewState: string;
|
|
130
|
-
};
|
|
131
|
-
render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
|
|
132
|
-
};
|
|
133
|
-
export declare const Controlled: {
|
|
134
|
-
args: {
|
|
135
|
-
previewState: string;
|
|
136
|
-
};
|
|
137
|
-
render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
|
|
138
|
-
};
|
package/dist/esm/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts
CHANGED
|
@@ -8,6 +8,13 @@ declare const _default: {
|
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
10
|
export default _default;
|
|
11
|
+
export declare const RequiresSetup: {
|
|
12
|
+
args: {
|
|
13
|
+
label: string;
|
|
14
|
+
requiresSetup: boolean;
|
|
15
|
+
};
|
|
16
|
+
render: (args: AsthmaDataSummaryProps) => React.JSX.Element;
|
|
17
|
+
};
|
|
11
18
|
export declare const Establishing: {
|
|
12
19
|
args: {
|
|
13
20
|
label: string;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
export { default as AsthmaActionPlanManager } from './AsthmaActionPlanManager';
|
|
1
2
|
export { default as AsthmaAirQualities, AsthmaAirQualitiesPreviewState } from './AsthmaAirQualities';
|
|
2
3
|
export { default as AsthmaAlertTakeoverNotice } from './AsthmaAlertTakeoverNotice';
|
|
3
4
|
export { default as AsthmaAlertTakeoverTrigger } from './AsthmaAlertTakeoverTrigger';
|
|
5
|
+
export { default as AsthmaBarChart } from './AsthmaBarChart';
|
|
4
6
|
export { default as AsthmaBiometrics, AsthmaBiometricsPreviewState } from './AsthmaBiometrics';
|
|
5
7
|
export { default as AsthmaControlCalendar, AsthmaControlCalendarVariant } from './AsthmaControlCalendar';
|
|
6
8
|
export { default as AsthmaControlStatusHeader } from './AsthmaControlStatusHeader';
|
|
@@ -5,7 +5,7 @@ export interface AsthmaDataService {
|
|
|
5
5
|
loadLogEntries(fromDate?: Date, toDate?: Date): Promise<AsthmaLogEntry[]>;
|
|
6
6
|
loadBiometricsForControlStatus(): Promise<AsthmaBiometric[]>;
|
|
7
7
|
loadBiometricsForDate(date: Date): Promise<AsthmaBiometric[]>;
|
|
8
|
-
loadAirQualitiesForControlStatus(): Promise<AsthmaAirQuality[]>;
|
|
8
|
+
loadAirQualitiesForControlStatus(homeAirQualityZipCode: string, workAirQualityZipCode: string): Promise<AsthmaAirQuality[]>;
|
|
9
9
|
loadAirQualitiesForDate(date: Date): Promise<AsthmaAirQuality[]>;
|
|
10
10
|
saveLogEntry(logEntry: AsthmaLogEntry): Promise<void>;
|
|
11
11
|
loadAndClearAlertTakeover(): Promise<string | undefined>;
|
|
@@ -4,3 +4,9 @@ export declare const computeAsthmaControlState: (logEntries: AsthmaLogEntry[], d
|
|
|
4
4
|
export declare const getAsthmaDataStatusText: (status: AsthmaDataStatus) => string;
|
|
5
5
|
export declare const getAsthmaSymptomLevelValue: (symptomLevel: AsthmaSymptomLevel) => string;
|
|
6
6
|
export declare const getAsthmaSymptomLevel: (symptomLevelValue: string | undefined) => AsthmaSymptomLevel;
|
|
7
|
+
export declare const isDaytimeRestingHeartRateWithinRange: (baseline: number, rawValue: number) => boolean;
|
|
8
|
+
export declare const isNighttimeRestingHeartRateWithinRange: (baseline: number, rawValue: number) => boolean;
|
|
9
|
+
export declare const isRespiratoryRateWithinRange: (baseline: number, rawValue: number) => boolean;
|
|
10
|
+
export declare const isStepsWithinRange: (baseline: number, rawValue: number) => boolean;
|
|
11
|
+
export declare const isSleepDisturbancesWithinRange: (baseline: number, rawValue: number) => boolean;
|
|
12
|
+
export declare const isBloodOxygenLevelWithinRange: (baseline: number, rawValue: number) => boolean;
|
|
@@ -5,8 +5,19 @@ export declare class AsthmaParticipant {
|
|
|
5
5
|
getFirstName(): string;
|
|
6
6
|
hasPairedDevice(): boolean;
|
|
7
7
|
hasEstablishedBaseline(): boolean;
|
|
8
|
+
getHomeAirQualityZipCode(): string;
|
|
9
|
+
getWorkAirQualityZipCode(): string;
|
|
10
|
+
getActionPlanTaskRunUUID(): string;
|
|
11
|
+
getDaytimeRestingHeartRateBaseline(): number | undefined;
|
|
12
|
+
getNighttimeRestingHeartRateBaseline(): number | undefined;
|
|
13
|
+
getRespiratoryRateBaseline(): number | undefined;
|
|
14
|
+
getStepsBaseline(): number | undefined;
|
|
15
|
+
getSleepDisturbancesBaseline(): number | undefined;
|
|
16
|
+
getDaytimeBloodOxygenLevelBaseline(): number | undefined;
|
|
17
|
+
getNighttimeBloodOxygenLevelBaseline(): number | undefined;
|
|
8
18
|
hasRequestedWithdrawal(): boolean;
|
|
9
19
|
private hasEstablishedBaselineByType;
|
|
20
|
+
private getBaseline;
|
|
10
21
|
private getCustomFieldValue;
|
|
11
22
|
}
|
|
12
23
|
export interface AsthmaControlMetrics {
|
|
@@ -25,7 +36,7 @@ export interface AsthmaControlState {
|
|
|
25
36
|
limitedActivityDaysPast7?: number;
|
|
26
37
|
inhalerUseDaysPast7?: number;
|
|
27
38
|
}
|
|
28
|
-
export type AsthmaDataStatus = 'establishing' | 'offline' | 'in-range' | 'out-of-range';
|
|
39
|
+
export type AsthmaDataStatus = 'not-configured' | 'not-found' | 'establishing' | 'offline' | 'in-range' | 'out-of-range';
|
|
29
40
|
export type AsthmaBiometricType = 'daytime-resting-heart-rate' | 'nighttime-resting-heart-rate' | 'respiratory-rate' | 'steps' | 'sleep-disturbances' | 'daytime-blood-oxygen-level' | 'nighttime-blood-oxygen-level';
|
|
30
41
|
export interface AsthmaBiometric {
|
|
31
42
|
type: AsthmaBiometricType;
|
|
@@ -47,3 +58,7 @@ export interface AsthmaLogEntry {
|
|
|
47
58
|
impacts: string[];
|
|
48
59
|
triggers: string[];
|
|
49
60
|
}
|
|
61
|
+
export interface AsthmaActionPlan {
|
|
62
|
+
id: string;
|
|
63
|
+
url: string;
|
|
64
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AsthmaActionPlan } from '../../model';
|
|
3
|
+
export interface AsthmaActionPlanViewProps {
|
|
4
|
+
previewState?: 'loading' | 'loaded without action plan' | 'loaded with action plan';
|
|
5
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
6
|
+
learnMoreUrl: string;
|
|
7
|
+
onViewActionPlan: (actionPlan: AsthmaActionPlan) => void;
|
|
8
|
+
editActionPlanSurveyName: string;
|
|
9
|
+
}
|
|
10
|
+
export default function (props: AsthmaActionPlanViewProps): React.JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaActionPlanView, { AsthmaActionPlanViewProps } from './AsthmaActionPlanView';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaActionPlanView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Default: {
|
|
12
|
+
args: {
|
|
13
|
+
previewState: string;
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
previewState: {
|
|
17
|
+
name: string;
|
|
18
|
+
control: string;
|
|
19
|
+
options: string[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
render: (args: AsthmaActionPlanViewProps) => React.JSX.Element;
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AsthmaActionPlanView';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { default as AsthmaActionPlanView } from './AsthmaActionPlanView';
|
|
1
2
|
export { default as AsthmaActivityView } from './AsthmaActivityView';
|
|
2
3
|
export { default as AsthmaAirQualityView } from './AsthmaAirQualityView';
|
|
3
4
|
export { default as AsthmaAlertTakeoverView } from './AsthmaAlertTakeoverView';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "./BloodPressureVisualization.css";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { WeekStartsOn } from "../../../helpers/get-interval-start";
|
|
4
|
+
import { SurveyBloodPressureDataParameters } from "../../../helpers/blood-pressure-data-providers";
|
|
5
|
+
export type BloodPressurePreviewState = "Default" | "NoData" | "Loading";
|
|
6
|
+
export interface BloodPressureVisualizationProps {
|
|
7
|
+
previewState?: BloodPressurePreviewState;
|
|
8
|
+
surveyDataSource: SurveyBloodPressureDataParameters;
|
|
9
|
+
weekStartsOn?: WeekStartsOn;
|
|
10
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
11
|
+
}
|
|
12
|
+
export default function (props: BloodPressureVisualizationProps): React.JSX.Element;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import BloodPressureVisualization, { BloodPressureVisualizationProps } from "./BloodPressureVisualization";
|
|
3
|
+
import { SurveyBloodPressureDataParameters } from "../../../helpers/blood-pressure-data-providers/survey-blood-pressure-data-provider";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof BloodPressureVisualization;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
export declare const Default: {
|
|
13
|
+
args: {
|
|
14
|
+
previewState: string;
|
|
15
|
+
surveyDataSource: SurveyBloodPressureDataParameters;
|
|
16
|
+
};
|
|
17
|
+
render: (args: BloodPressureVisualizationProps) => React.JSX.Element;
|
|
18
|
+
};
|
|
19
|
+
export declare const Loading: {
|
|
20
|
+
args: {
|
|
21
|
+
previewState: string;
|
|
22
|
+
surveyDataSource: SurveyBloodPressureDataParameters;
|
|
23
|
+
};
|
|
24
|
+
render: (args: BloodPressureVisualizationProps) => React.JSX.Element;
|
|
25
|
+
};
|
|
26
|
+
export declare const NoData: {
|
|
27
|
+
args: {
|
|
28
|
+
previewState: string;
|
|
29
|
+
surveyDataSource: SurveyBloodPressureDataParameters;
|
|
30
|
+
};
|
|
31
|
+
render: (args: BloodPressureVisualizationProps) => React.JSX.Element;
|
|
32
|
+
};
|
|
33
|
+
export declare const Live: {
|
|
34
|
+
args: {
|
|
35
|
+
surveyDataSource: {
|
|
36
|
+
surveyName: string;
|
|
37
|
+
dateResultIdentifier: string;
|
|
38
|
+
systolicResultIdentifier: string;
|
|
39
|
+
diastolicResultIdentifier: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
render: (args: BloodPressureVisualizationProps) => React.JSX.Element;
|
|
43
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./BloodPressureVisualization";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './InboxItemList.css';
|
|
3
|
+
import { InboxItem, InboxItemSortColumn, InboxItemStatus, InboxItemType, SortOrder } from '@careevolution/mydatahelps-js';
|
|
4
|
+
import { InboxSurveyVariant, ResourceImageAlignment } from '../../presentational';
|
|
5
|
+
import { InboxItemListPreviewState } from './InboxItemList.previewData';
|
|
6
|
+
export interface InboxItemListProps {
|
|
7
|
+
previewState?: InboxItemListPreviewState;
|
|
8
|
+
title?: string;
|
|
9
|
+
type?: InboxItemType | InboxItemType[];
|
|
10
|
+
status?: InboxItemStatus | InboxItemStatus[];
|
|
11
|
+
category?: string;
|
|
12
|
+
sortOrder?: SortOrder;
|
|
13
|
+
sortColumn?: InboxItemSortColumn;
|
|
14
|
+
endsAfter?: string;
|
|
15
|
+
endsBefore?: string;
|
|
16
|
+
limit?: number;
|
|
17
|
+
messageViewerUrl?: string;
|
|
18
|
+
emptyText?: string;
|
|
19
|
+
showTitleWhenEmpty?: boolean;
|
|
20
|
+
surveyVariant?: InboxSurveyVariant;
|
|
21
|
+
resourceImageAlignment?: ResourceImageAlignment;
|
|
22
|
+
hideLoadingIndicator?: boolean;
|
|
23
|
+
onItemsLoaded?: (items: InboxItem[]) => void;
|
|
24
|
+
syncOnChanges?: boolean;
|
|
25
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
26
|
+
}
|
|
27
|
+
export default function (props: InboxItemListProps): React.JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InboxItem } from '@careevolution/mydatahelps-js';
|
|
2
|
+
export type InboxItemListPreviewState = 'no items' | 'incomplete message' | 'incomplete survey' | 'incomplete resource' | 'incomplete items' | 'complete items';
|
|
3
|
+
export interface InboxItemListPreviewData {
|
|
4
|
+
items: InboxItem[];
|
|
5
|
+
}
|
|
6
|
+
export declare const previewData: Record<InboxItemListPreviewState, InboxItemListPreviewData>;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import InboxItemList, { InboxItemListProps } from './InboxItemList';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof InboxItemList;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Default: {
|
|
12
|
+
args: {
|
|
13
|
+
previewState: string;
|
|
14
|
+
title: string;
|
|
15
|
+
showTitleWhenEmpty: boolean;
|
|
16
|
+
emptyText: string;
|
|
17
|
+
limit: number;
|
|
18
|
+
surveyVariant: string;
|
|
19
|
+
resourceImageAlignment: string;
|
|
20
|
+
};
|
|
21
|
+
argTypes: {
|
|
22
|
+
previewState: {
|
|
23
|
+
name: string;
|
|
24
|
+
control: string;
|
|
25
|
+
options: string[];
|
|
26
|
+
};
|
|
27
|
+
showTitleWhenEmpty: {
|
|
28
|
+
name: string;
|
|
29
|
+
if: {
|
|
30
|
+
arg: string;
|
|
31
|
+
eq: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
emptyText: {
|
|
35
|
+
name: string;
|
|
36
|
+
if: {
|
|
37
|
+
arg: string;
|
|
38
|
+
eq: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
limit: {
|
|
42
|
+
control: string;
|
|
43
|
+
if: {
|
|
44
|
+
arg: string;
|
|
45
|
+
neq: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
surveyVariant: {
|
|
49
|
+
control: string;
|
|
50
|
+
options: string[];
|
|
51
|
+
if: {
|
|
52
|
+
arg: string;
|
|
53
|
+
eq: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
resourceImageAlignment: {
|
|
57
|
+
control: string;
|
|
58
|
+
options: string[];
|
|
59
|
+
if: {
|
|
60
|
+
arg: string;
|
|
61
|
+
eq: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
render: (args: InboxItemListProps) => React.JSX.Element;
|
|
66
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './InboxItemList';
|
package/dist/esm/types/components/container/InboxItemListCoordinator/InboxItemListCoordinator.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface InboxItemListCoordinatorProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
5
|
+
}
|
|
6
|
+
export type InboxItemListChangeListener = () => void;
|
|
7
|
+
export interface InboxItemListCoordinatorContext {
|
|
8
|
+
registerChangeListener: (changeListener: InboxItemListChangeListener) => void;
|
|
9
|
+
notifyChangeListeners: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const InboxItemListCoordinatorContext: React.Context<InboxItemListCoordinatorContext | null>;
|
|
12
|
+
export default function (props: InboxItemListCoordinatorProps): React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, InboxItemListCoordinatorContext } from './InboxItemListCoordinator';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type SeverityCalendarPreviewState = "Default" | "NoData";
|
|
3
|
+
export interface SeverityCalendarProps {
|
|
4
|
+
surveyName: string;
|
|
5
|
+
dateRecordedResultIdentifier?: string;
|
|
6
|
+
severityResultIdentifier: string;
|
|
7
|
+
severityValueMapper?: (value: string) => string;
|
|
8
|
+
intervalStart?: Date;
|
|
9
|
+
previewState?: SeverityCalendarPreviewState;
|
|
10
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
11
|
+
}
|
|
12
|
+
export default function (props: SeverityCalendarProps): React.JSX.Element;
|