@careevolution/mydatahelps-ui 2.10.1-InboxAndAsthmaUI.11 → 2.10.1-InboxAndAsthmaUI.13
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 +8 -8
- package/dist/cjs/index.js.map +1 -1
- 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 +3 -1
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +7 -12
- package/dist/cjs/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +7 -0
- package/dist/cjs/types/components/asthma/model/types.d.ts +2 -0
- package/dist/esm/index.js +9 -9
- package/dist/esm/index.js.map +1 -1
- 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 +3 -1
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +7 -12
- package/dist/esm/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +7 -0
- package/dist/esm/types/components/asthma/model/types.d.ts +2 -0
- package/dist/index.d.ts +5 -1
- package/package.json +1 -1
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,7 +1,9 @@
|
|
|
1
1
|
import { AsthmaAirQuality } from '../../model';
|
|
2
|
-
export type AsthmaAirQualitiesPreviewState = 'no
|
|
2
|
+
export type AsthmaAirQualitiesPreviewState = 'not configured' | 'some configured' | 'no data' | 'some data' | 'all data';
|
|
3
3
|
export interface AsthmaAirQualitiesPreviewData {
|
|
4
|
+
homeAirQualityZipCode?: string;
|
|
4
5
|
homeAirQuality: AsthmaAirQuality;
|
|
6
|
+
workAirQualityZipCode?: string;
|
|
5
7
|
workAirQuality: AsthmaAirQuality;
|
|
6
8
|
}
|
|
7
9
|
export declare const previewData: Record<AsthmaAirQualitiesPreviewState, AsthmaAirQualitiesPreviewData>;
|
|
@@ -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: AsthmaAirQualitiesProps) => 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: AsthmaAirQualitiesProps) => React.JSX.Element;
|
|
28
23
|
};
|
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;
|
|
@@ -5,6 +5,8 @@ export declare class AsthmaParticipant {
|
|
|
5
5
|
getFirstName(): string;
|
|
6
6
|
hasPairedDevice(): boolean;
|
|
7
7
|
hasEstablishedBaseline(): boolean;
|
|
8
|
+
getHomeAirQualityZipCode(): string;
|
|
9
|
+
getWorkAirQualityZipCode(): string;
|
|
8
10
|
hasRequestedWithdrawal(): boolean;
|
|
9
11
|
private hasEstablishedBaselineByType;
|
|
10
12
|
private getCustomFieldValue;
|
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ declare class AsthmaParticipant {
|
|
|
18
18
|
getFirstName(): string;
|
|
19
19
|
hasPairedDevice(): boolean;
|
|
20
20
|
hasEstablishedBaseline(): boolean;
|
|
21
|
+
getHomeAirQualityZipCode(): string;
|
|
22
|
+
getWorkAirQualityZipCode(): string;
|
|
21
23
|
hasRequestedWithdrawal(): boolean;
|
|
22
24
|
private hasEstablishedBaselineByType;
|
|
23
25
|
private getCustomFieldValue;
|
|
@@ -61,10 +63,11 @@ interface AsthmaLogEntry {
|
|
|
61
63
|
triggers: string[];
|
|
62
64
|
}
|
|
63
65
|
|
|
64
|
-
type AsthmaAirQualitiesPreviewState = 'no
|
|
66
|
+
type AsthmaAirQualitiesPreviewState = 'not configured' | 'some configured' | 'no data' | 'some data' | 'all data';
|
|
65
67
|
|
|
66
68
|
interface AsthmaAirQualitiesProps {
|
|
67
69
|
previewState?: AsthmaAirQualitiesPreviewState;
|
|
70
|
+
editZipCodesSurveyName: string;
|
|
68
71
|
airQualityUrl: string;
|
|
69
72
|
date?: Date;
|
|
70
73
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
@@ -125,6 +128,7 @@ declare function export_default$25(props: AsthmaControlStatusHeaderProps): React
|
|
|
125
128
|
|
|
126
129
|
interface AsthmaDataSummaryProps {
|
|
127
130
|
label: string;
|
|
131
|
+
requiresSetup?: boolean;
|
|
128
132
|
status: AsthmaDataStatus;
|
|
129
133
|
statusText?: string;
|
|
130
134
|
value?: number;
|