@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.
@@ -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-data' | 'some-data' | 'all-data';
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 NoData: {
11
+ export declare const Default: {
12
12
  args: {
13
13
  previewState: string;
14
14
  };
15
- render: (args: AsthmaAirQualitiesProps) => React.JSX.Element;
16
- };
17
- export declare const SomeData: {
18
- args: {
19
- previewState: string;
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
  };
@@ -3,6 +3,7 @@ import './AsthmaDataSummary.css';
3
3
  import { AsthmaDataStatus } from '../../model';
4
4
  export interface AsthmaDataSummaryProps {
5
5
  label: string;
6
+ requiresSetup?: boolean;
6
7
  status: AsthmaDataStatus;
7
8
  statusText?: string;
8
9
  value?: number;
@@ -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;