@careevolution/mydatahelps-ui 2.9.1-AsthmaUI.2 → 2.9.1-Issue139.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.
Files changed (138) hide show
  1. package/dist/cjs/index.js +24 -24
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/components/index.d.ts +2 -3
  4. package/dist/cjs/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
  5. package/dist/cjs/types/components/presentational/Layout/index.d.ts +2 -1
  6. package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +2 -0
  7. package/dist/cjs/types/components/presentational/index.d.ts +1 -2
  8. package/dist/esm/index.js +23 -23
  9. package/dist/esm/index.js.map +1 -1
  10. package/dist/esm/types/components/index.d.ts +2 -3
  11. package/dist/esm/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
  12. package/dist/esm/types/components/presentational/Layout/index.d.ts +2 -1
  13. package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +2 -0
  14. package/dist/esm/types/components/presentational/index.d.ts +1 -2
  15. package/dist/index.d.ts +531 -730
  16. package/package.json +1 -1
  17. package/dist/cjs/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.d.ts +0 -9
  18. package/dist/cjs/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +0 -6
  19. package/dist/cjs/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +0 -16
  20. package/dist/cjs/types/components/asthma/container/AsthmaAirQualities/index.d.ts +0 -2
  21. package/dist/cjs/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.d.ts +0 -9
  22. package/dist/cjs/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +0 -6
  23. package/dist/cjs/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +0 -16
  24. package/dist/cjs/types/components/asthma/container/AsthmaBiometrics/index.d.ts +0 -2
  25. package/dist/cjs/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.d.ts +0 -10
  26. package/dist/cjs/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.previewData.d.ts +0 -8
  27. package/dist/cjs/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.stories.d.ts +0 -16
  28. package/dist/cjs/types/components/asthma/container/AsthmaCalendarViewHeader/index.d.ts +0 -2
  29. package/dist/cjs/types/components/asthma/container/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +0 -9
  30. package/dist/cjs/types/components/asthma/container/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +0 -6
  31. package/dist/cjs/types/components/asthma/container/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +0 -22
  32. package/dist/cjs/types/components/asthma/container/AsthmaControlCalendar/index.d.ts +0 -2
  33. package/dist/cjs/types/components/asthma/container/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +0 -10
  34. package/dist/cjs/types/components/asthma/container/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +0 -8
  35. package/dist/cjs/types/components/asthma/container/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +0 -138
  36. package/dist/cjs/types/components/asthma/container/AsthmaControlStatusHeader/index.d.ts +0 -2
  37. package/dist/cjs/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.d.ts +0 -10
  38. package/dist/cjs/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.previewData.d.ts +0 -10
  39. package/dist/cjs/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.stories.d.ts +0 -16
  40. package/dist/cjs/types/components/asthma/container/AsthmaDashboardViewHeader/index.d.ts +0 -2
  41. package/dist/cjs/types/components/asthma/container/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +0 -10
  42. package/dist/cjs/types/components/asthma/container/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +0 -7
  43. package/dist/cjs/types/components/asthma/container/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +0 -34
  44. package/dist/cjs/types/components/asthma/container/AsthmaLogEntryHeader/index.d.ts +0 -2
  45. package/dist/cjs/types/components/asthma/container/index.d.ts +0 -7
  46. package/dist/cjs/types/components/asthma/helpers/asthma-data.d.ts +0 -9
  47. package/dist/cjs/types/components/asthma/helpers/asthma-functions.d.ts +0 -7
  48. package/dist/cjs/types/components/asthma/helpers/index.d.ts +0 -2
  49. package/dist/cjs/types/components/asthma/index.d.ts +0 -5
  50. package/dist/cjs/types/components/asthma/model/index.d.ts +0 -1
  51. package/dist/cjs/types/components/asthma/model/types.d.ts +0 -49
  52. package/dist/cjs/types/components/asthma/presentational/AsthmaDataSummary/AsthmaDataSummary.d.ts +0 -12
  53. package/dist/cjs/types/components/asthma/presentational/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +0 -70
  54. package/dist/cjs/types/components/asthma/presentational/AsthmaDataSummary/index.d.ts +0 -1
  55. package/dist/cjs/types/components/asthma/presentational/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +0 -11
  56. package/dist/cjs/types/components/asthma/presentational/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +0 -60
  57. package/dist/cjs/types/components/asthma/presentational/AsthmaLogEntrySummary/index.d.ts +0 -1
  58. package/dist/cjs/types/components/asthma/presentational/AsthmaViewTitle/AsthmaViewTitle.d.ts +0 -7
  59. package/dist/cjs/types/components/asthma/presentational/AsthmaViewTitle/AsthmaViewTitle.stories.d.ts +0 -16
  60. package/dist/cjs/types/components/asthma/presentational/AsthmaViewTitle/index.d.ts +0 -1
  61. package/dist/cjs/types/components/asthma/presentational/index.d.ts +0 -3
  62. package/dist/cjs/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.d.ts +0 -9
  63. package/dist/cjs/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.previewData.d.ts +0 -6
  64. package/dist/cjs/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.stories.d.ts +0 -18
  65. package/dist/cjs/types/components/asthma/views/AsthmaCalendarView/index.d.ts +0 -1
  66. package/dist/cjs/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.d.ts +0 -9
  67. package/dist/cjs/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.previewData.d.ts +0 -8
  68. package/dist/cjs/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.stories.d.ts +0 -18
  69. package/dist/cjs/types/components/asthma/views/AsthmaDashboardView/index.d.ts +0 -1
  70. package/dist/cjs/types/components/asthma/views/AsthmaDataView/AsthmaDataView.d.ts +0 -7
  71. package/dist/cjs/types/components/asthma/views/AsthmaDataView/AsthmaDataView.previewData.d.ts +0 -8
  72. package/dist/cjs/types/components/asthma/views/AsthmaDataView/AsthmaDataView.stories.d.ts +0 -16
  73. package/dist/cjs/types/components/asthma/views/AsthmaDataView/index.d.ts +0 -1
  74. package/dist/cjs/types/components/asthma/views/index.d.ts +0 -3
  75. package/dist/cjs/types/components/presentational/BasicCalendar/BasicCalendar.d.ts +0 -15
  76. package/dist/cjs/types/components/presentational/BasicCalendar/BasicCalendar.stories.d.ts +0 -17
  77. package/dist/cjs/types/components/presentational/BasicCalendar/index.d.ts +0 -1
  78. package/dist/esm/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.d.ts +0 -9
  79. package/dist/esm/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +0 -6
  80. package/dist/esm/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +0 -16
  81. package/dist/esm/types/components/asthma/container/AsthmaAirQualities/index.d.ts +0 -2
  82. package/dist/esm/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.d.ts +0 -9
  83. package/dist/esm/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +0 -6
  84. package/dist/esm/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +0 -16
  85. package/dist/esm/types/components/asthma/container/AsthmaBiometrics/index.d.ts +0 -2
  86. package/dist/esm/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.d.ts +0 -10
  87. package/dist/esm/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.previewData.d.ts +0 -8
  88. package/dist/esm/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.stories.d.ts +0 -16
  89. package/dist/esm/types/components/asthma/container/AsthmaCalendarViewHeader/index.d.ts +0 -2
  90. package/dist/esm/types/components/asthma/container/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +0 -9
  91. package/dist/esm/types/components/asthma/container/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +0 -6
  92. package/dist/esm/types/components/asthma/container/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +0 -22
  93. package/dist/esm/types/components/asthma/container/AsthmaControlCalendar/index.d.ts +0 -2
  94. package/dist/esm/types/components/asthma/container/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +0 -10
  95. package/dist/esm/types/components/asthma/container/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +0 -8
  96. package/dist/esm/types/components/asthma/container/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +0 -138
  97. package/dist/esm/types/components/asthma/container/AsthmaControlStatusHeader/index.d.ts +0 -2
  98. package/dist/esm/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.d.ts +0 -10
  99. package/dist/esm/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.previewData.d.ts +0 -10
  100. package/dist/esm/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.stories.d.ts +0 -16
  101. package/dist/esm/types/components/asthma/container/AsthmaDashboardViewHeader/index.d.ts +0 -2
  102. package/dist/esm/types/components/asthma/container/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +0 -10
  103. package/dist/esm/types/components/asthma/container/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +0 -7
  104. package/dist/esm/types/components/asthma/container/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +0 -34
  105. package/dist/esm/types/components/asthma/container/AsthmaLogEntryHeader/index.d.ts +0 -2
  106. package/dist/esm/types/components/asthma/container/index.d.ts +0 -7
  107. package/dist/esm/types/components/asthma/helpers/asthma-data.d.ts +0 -9
  108. package/dist/esm/types/components/asthma/helpers/asthma-functions.d.ts +0 -7
  109. package/dist/esm/types/components/asthma/helpers/index.d.ts +0 -2
  110. package/dist/esm/types/components/asthma/index.d.ts +0 -5
  111. package/dist/esm/types/components/asthma/model/index.d.ts +0 -1
  112. package/dist/esm/types/components/asthma/model/types.d.ts +0 -49
  113. package/dist/esm/types/components/asthma/presentational/AsthmaDataSummary/AsthmaDataSummary.d.ts +0 -12
  114. package/dist/esm/types/components/asthma/presentational/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +0 -70
  115. package/dist/esm/types/components/asthma/presentational/AsthmaDataSummary/index.d.ts +0 -1
  116. package/dist/esm/types/components/asthma/presentational/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +0 -11
  117. package/dist/esm/types/components/asthma/presentational/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +0 -60
  118. package/dist/esm/types/components/asthma/presentational/AsthmaLogEntrySummary/index.d.ts +0 -1
  119. package/dist/esm/types/components/asthma/presentational/AsthmaViewTitle/AsthmaViewTitle.d.ts +0 -7
  120. package/dist/esm/types/components/asthma/presentational/AsthmaViewTitle/AsthmaViewTitle.stories.d.ts +0 -16
  121. package/dist/esm/types/components/asthma/presentational/AsthmaViewTitle/index.d.ts +0 -1
  122. package/dist/esm/types/components/asthma/presentational/index.d.ts +0 -3
  123. package/dist/esm/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.d.ts +0 -9
  124. package/dist/esm/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.previewData.d.ts +0 -6
  125. package/dist/esm/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.stories.d.ts +0 -18
  126. package/dist/esm/types/components/asthma/views/AsthmaCalendarView/index.d.ts +0 -1
  127. package/dist/esm/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.d.ts +0 -9
  128. package/dist/esm/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.previewData.d.ts +0 -8
  129. package/dist/esm/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.stories.d.ts +0 -18
  130. package/dist/esm/types/components/asthma/views/AsthmaDashboardView/index.d.ts +0 -1
  131. package/dist/esm/types/components/asthma/views/AsthmaDataView/AsthmaDataView.d.ts +0 -7
  132. package/dist/esm/types/components/asthma/views/AsthmaDataView/AsthmaDataView.previewData.d.ts +0 -8
  133. package/dist/esm/types/components/asthma/views/AsthmaDataView/AsthmaDataView.stories.d.ts +0 -16
  134. package/dist/esm/types/components/asthma/views/AsthmaDataView/index.d.ts +0 -1
  135. package/dist/esm/types/components/asthma/views/index.d.ts +0 -3
  136. package/dist/esm/types/components/presentational/BasicCalendar/BasicCalendar.d.ts +0 -15
  137. package/dist/esm/types/components/presentational/BasicCalendar/BasicCalendar.stories.d.ts +0 -17
  138. package/dist/esm/types/components/presentational/BasicCalendar/index.d.ts +0 -1
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import './AsthmaLogEntryHeader.css';
3
- import { AsthmaLogEntryHeaderPreviewState } from './AsthmaLogEntryHeader.previewData';
4
- export interface AsthmaLogEntryHeaderProps {
5
- previewState?: AsthmaLogEntryHeaderPreviewState;
6
- logTodayEntrySurveyName: string;
7
- logYesterdayEntrySurveyName: string;
8
- innerRef?: React.Ref<HTMLDivElement>;
9
- }
10
- export default function (props: AsthmaLogEntryHeaderProps): React.JSX.Element | null;
@@ -1,7 +0,0 @@
1
- import { AsthmaLogEntry } from '../../model';
2
- export type AsthmaLogEntryHeaderPreviewState = 'no-logs' | 'today-log-only' | 'yesterday-log-only' | 'both-logs';
3
- export interface AsthmaLogEntryHeaderPreviewData {
4
- todayLogEntry?: AsthmaLogEntry;
5
- yesterdayLogEntry?: AsthmaLogEntry;
6
- }
7
- export declare const previewData: Record<AsthmaLogEntryHeaderPreviewState, AsthmaLogEntryHeaderPreviewData>;
@@ -1,34 +0,0 @@
1
- import React from 'react';
2
- import AsthmaLogEntryHeader, { AsthmaLogEntryHeaderProps } from './AsthmaLogEntryHeader';
3
- declare const _default: {
4
- title: string;
5
- component: typeof AsthmaLogEntryHeader;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const NoLogs: {
12
- args: {
13
- previewState: string;
14
- };
15
- render: (args: AsthmaLogEntryHeaderProps) => React.JSX.Element;
16
- };
17
- export declare const TodayLogOnly: {
18
- args: {
19
- previewState: string;
20
- };
21
- render: (args: AsthmaLogEntryHeaderProps) => React.JSX.Element;
22
- };
23
- export declare const YesterdayLogOnly: {
24
- args: {
25
- previewState: string;
26
- };
27
- render: (args: AsthmaLogEntryHeaderProps) => React.JSX.Element;
28
- };
29
- export declare const BothLogs: {
30
- args: {
31
- previewState: string;
32
- };
33
- render: (args: AsthmaLogEntryHeaderProps) => React.JSX.Element;
34
- };
@@ -1,2 +0,0 @@
1
- export { default } from './AsthmaLogEntryHeader';
2
- export { AsthmaLogEntryHeaderPreviewState } from './AsthmaLogEntryHeader.previewData';
@@ -1,7 +0,0 @@
1
- export { default as AsthmaAirQualities } from './AsthmaAirQualities';
2
- export { default as AsthmaBiometrics } from './AsthmaBiometrics';
3
- export { default as AsthmaCalendarViewHeader } from './AsthmaCalendarViewHeader';
4
- export { default as AsthmaControlCalendar } from './AsthmaControlCalendar';
5
- export { default as AsthmaControlStatusHeader } from './AsthmaControlStatusHeader';
6
- export { default as AsthmaDashboardViewHeader } from './AsthmaDashboardViewHeader';
7
- export { default as AsthmaLogEntryHeader } from './AsthmaLogEntryHeader';
@@ -1,9 +0,0 @@
1
- import { AsthmaAirQuality, AsthmaBiometric, AsthmaLogEntry, AsthmaParticipant } from '../model';
2
- export interface AsthmaDataService {
3
- loadParticipant(): Promise<AsthmaParticipant>;
4
- loadLogEntries(fromDate?: Date): Promise<AsthmaLogEntry[]>;
5
- loadBiometrics(): Promise<AsthmaBiometric[]>;
6
- loadAirQualities(): Promise<AsthmaAirQuality[]>;
7
- }
8
- declare const service: AsthmaDataService;
9
- export default service;
@@ -1,7 +0,0 @@
1
- import { AsthmaAirQualityType, AsthmaBiometricType, AsthmaControlState, AsthmaDataStatus, AsthmaLogEntry } from "../model";
2
- export declare const dateToAsthmaLogEntryIdentifier: (date: Date) => string;
3
- export declare const computeAsthmaControlState: (logEntries: AsthmaLogEntry[], date: Date) => AsthmaControlState;
4
- export declare const getAsthmaBiometricTypeLabel: (type: AsthmaBiometricType) => string;
5
- export declare const getAsthmaBiometricTypeUnits: (type: AsthmaBiometricType) => string;
6
- export declare const getAsthmaDataStatusText: (status: AsthmaDataStatus) => string;
7
- export declare const getAsthmaAirQualityTypeLabel: (type: AsthmaAirQualityType) => string;
@@ -1,2 +0,0 @@
1
- export { default as asthmaDataService } from './asthma-data';
2
- export * from './asthma-functions';
@@ -1,5 +0,0 @@
1
- export * from './container';
2
- export * from './helpers';
3
- export * from './model';
4
- export * from './presentational';
5
- export * from './views';
@@ -1 +0,0 @@
1
- export * from './types';
@@ -1,49 +0,0 @@
1
- import { ParticipantInfo } from '@careevolution/mydatahelps-js';
2
- export declare class AsthmaParticipant {
3
- participantInfo: ParticipantInfo;
4
- constructor(participantInfo: ParticipantInfo);
5
- getFirstName(): string;
6
- hasPairedDevice(): boolean;
7
- hasEstablishedBaseline(): boolean;
8
- hasRequestedWithdrawal(): boolean;
9
- private hasEstablishedBaselineByType;
10
- private getCustomFieldValue;
11
- }
12
- export interface AsthmaControlMetrics {
13
- date: string;
14
- nighttimeAwakeningDaysPast7: number;
15
- limitedActivityDaysPast7: number;
16
- inhalerUseDaysPast7: number;
17
- symptomDaysPast7: number;
18
- loggedDaysPast7: number;
19
- }
20
- export type AsthmaControlStatus = 'no-data' | 'not-controlled' | 'controlled' | 'not-determined';
21
- export interface AsthmaControlState {
22
- status: AsthmaControlStatus;
23
- symptomDaysPast7?: number;
24
- nighttimeAwakeningDaysPast7?: number;
25
- limitedActivityDaysPast7?: number;
26
- inhalerUseDaysPast7?: number;
27
- }
28
- export type AsthmaDataStatus = 'establishing' | 'offline' | 'in-range' | 'out-of-range';
29
- export type AsthmaBiometricType = 'daytime-resting-heart-rate' | 'nighttime-resting-heart-rate' | 'respiratory-rate' | 'activity' | 'sleep';
30
- export interface AsthmaBiometric {
31
- type: AsthmaBiometricType;
32
- status: AsthmaDataStatus;
33
- value?: number;
34
- }
35
- export type AsthmaAirQualityType = 'work' | 'home';
36
- export interface AsthmaAirQuality {
37
- type: AsthmaAirQualityType;
38
- status: AsthmaDataStatus;
39
- value?: number;
40
- description?: string;
41
- }
42
- export type AsthmaSymptomLevel = 'none' | 'mild' | 'moderate' | 'severe';
43
- export interface AsthmaLogEntry {
44
- identifier: string;
45
- symptomLevel: AsthmaSymptomLevel;
46
- symptoms: string[];
47
- impacts: string[];
48
- triggers: string[];
49
- }
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import './AsthmaDataSummary.css';
3
- import { AsthmaDataStatus } from '../../model';
4
- export interface AsthmaDataSummaryProps {
5
- label: string;
6
- status: AsthmaDataStatus;
7
- statusText?: string;
8
- value?: number;
9
- units?: string;
10
- innerRef?: React.Ref<HTMLDivElement>;
11
- }
12
- export default function (props: AsthmaDataSummaryProps): React.JSX.Element;
@@ -1,70 +0,0 @@
1
- import React from 'react';
2
- import AsthmaDataSummary, { AsthmaDataSummaryProps } from './AsthmaDataSummary';
3
- declare const _default: {
4
- title: string;
5
- component: typeof AsthmaDataSummary;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Establishing: {
12
- args: {
13
- label: string;
14
- value: number;
15
- units: string;
16
- status: string;
17
- };
18
- render: (args: AsthmaDataSummaryProps) => React.JSX.Element;
19
- };
20
- export declare const Offline: {
21
- args: {
22
- label: string;
23
- value: number;
24
- units: string;
25
- status: string;
26
- };
27
- render: (args: AsthmaDataSummaryProps) => React.JSX.Element;
28
- };
29
- export declare const InRange: {
30
- args: {
31
- label: string;
32
- value: number;
33
- units: string;
34
- status: string;
35
- };
36
- render: (args: AsthmaDataSummaryProps) => React.JSX.Element;
37
- };
38
- export declare const OutOfRange: {
39
- args: {
40
- label: string;
41
- value: number;
42
- units: string;
43
- status: string;
44
- };
45
- render: (args: AsthmaDataSummaryProps) => React.JSX.Element;
46
- };
47
- export declare const NoUnits: {
48
- args: {
49
- label: string;
50
- value: number;
51
- status: string;
52
- };
53
- render: (args: AsthmaDataSummaryProps) => React.JSX.Element;
54
- };
55
- export declare const NoValue: {
56
- args: {
57
- label: string;
58
- status: string;
59
- };
60
- render: (args: AsthmaDataSummaryProps) => React.JSX.Element;
61
- };
62
- export declare const StatusTextOverride: {
63
- args: {
64
- label: string;
65
- value: number;
66
- status: string;
67
- statusText: string;
68
- };
69
- render: (args: AsthmaDataSummaryProps) => React.JSX.Element;
70
- };
@@ -1 +0,0 @@
1
- export { default } from './AsthmaDataSummary';
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import './AsthmaLogEntrySummary.css';
3
- import { AsthmaLogEntry } from '../../model';
4
- export interface AsthmaLogEntrySummaryProps {
5
- label: string;
6
- logEntry?: AsthmaLogEntry;
7
- logEntrySurveyName: string;
8
- loading?: boolean;
9
- innerRef?: React.Ref<HTMLDivElement>;
10
- }
11
- export default function (props: AsthmaLogEntrySummaryProps): React.JSX.Element;
@@ -1,60 +0,0 @@
1
- import React from 'react';
2
- import AsthmaLogEntrySummary, { AsthmaLogEntrySummaryProps } from './AsthmaLogEntrySummary';
3
- declare const _default: {
4
- title: string;
5
- component: typeof AsthmaLogEntrySummary;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const NotLogged: {
12
- args: {
13
- label: string;
14
- logEntry: null;
15
- };
16
- render: (args: AsthmaLogEntrySummaryProps) => React.JSX.Element;
17
- };
18
- export declare const LoggedNoSymptoms: {
19
- args: {
20
- label: string;
21
- logEntry: {
22
- symptomLevel: string;
23
- };
24
- };
25
- render: (args: AsthmaLogEntrySummaryProps) => React.JSX.Element;
26
- };
27
- export declare const LoggedMildSymptoms: {
28
- args: {
29
- label: string;
30
- logEntry: {
31
- symptomLevel: string;
32
- };
33
- };
34
- render: (args: AsthmaLogEntrySummaryProps) => React.JSX.Element;
35
- };
36
- export declare const LoggedModerateSymptoms: {
37
- args: {
38
- label: string;
39
- logEntry: {
40
- symptomLevel: string;
41
- };
42
- };
43
- render: (args: AsthmaLogEntrySummaryProps) => React.JSX.Element;
44
- };
45
- export declare const LoggedSevereSymptoms: {
46
- args: {
47
- label: string;
48
- logEntry: {
49
- symptomLevel: string;
50
- };
51
- };
52
- render: (args: AsthmaLogEntrySummaryProps) => React.JSX.Element;
53
- };
54
- export declare const Loading: {
55
- args: {
56
- label: string;
57
- loading: boolean;
58
- };
59
- render: (args: AsthmaLogEntrySummaryProps) => React.JSX.Element;
60
- };
@@ -1 +0,0 @@
1
- export { default } from './AsthmaLogEntrySummary';
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import './AsthmaViewTitle.css';
3
- export interface AsthmaViewTitleProps {
4
- title: string;
5
- innerRef?: React.Ref<HTMLDivElement>;
6
- }
7
- export default function (props: AsthmaViewTitleProps): React.JSX.Element;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import AsthmaViewTitle, { AsthmaViewTitleProps } from './AsthmaViewTitle';
3
- declare const _default: {
4
- title: string;
5
- component: typeof AsthmaViewTitle;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- args: {
13
- title: string;
14
- };
15
- render: (args: AsthmaViewTitleProps) => React.JSX.Element;
16
- };
@@ -1 +0,0 @@
1
- export { default } from './AsthmaViewTitle';
@@ -1,3 +0,0 @@
1
- export { default as AsthmaDataSummary } from './AsthmaDataSummary';
2
- export { default as AsthmaLogEntrySummary } from './AsthmaLogEntrySummary';
3
- export { default as AsthmaViewTitle } from './AsthmaViewTitle';
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { AsthmaCalendarViewPreviewState } from './AsthmaCalendarView.previewData';
3
- export interface AsthmaCalendarViewProps {
4
- colorScheme?: 'light' | 'dark' | 'auto';
5
- previewState?: AsthmaCalendarViewPreviewState;
6
- logTodayEntrySurveyName: string;
7
- logYesterdayEntrySurveyName: string;
8
- }
9
- export default function (props: AsthmaCalendarViewProps): React.JSX.Element;
@@ -1,6 +0,0 @@
1
- import { AsthmaCalendarViewHeaderPreviewState } from '../../container/AsthmaCalendarViewHeader';
2
- export type AsthmaCalendarViewPreviewState = 'default';
3
- export interface AsthmaCalendarViewPreviewData {
4
- headerPreviewState: AsthmaCalendarViewHeaderPreviewState;
5
- }
6
- export declare const previewData: Record<AsthmaCalendarViewPreviewState, AsthmaCalendarViewPreviewData>;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import AsthmaCalendarView, { AsthmaCalendarViewProps } from './AsthmaCalendarView';
3
- declare const _default: {
4
- title: string;
5
- component: typeof AsthmaCalendarView;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- args: {
13
- previewState: string;
14
- logTodayEntrySurveyName: string;
15
- logYesterdayEntrySurveyName: string;
16
- };
17
- render: (args: AsthmaCalendarViewProps) => React.JSX.Element;
18
- };
@@ -1 +0,0 @@
1
- export { default } from './AsthmaCalendarView';
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- import { AsthmaDashboardViewPreviewState } from './AsthmaDashboardView.previewData';
3
- export interface AsthmaDashboardViewProps {
4
- colorScheme?: 'light' | 'dark' | 'auto';
5
- previewState?: AsthmaDashboardViewPreviewState;
6
- logTodayEntrySurveyName: string;
7
- logYesterdayEntrySurveyName: string;
8
- }
9
- export default function (props: AsthmaDashboardViewProps): React.JSX.Element;
@@ -1,8 +0,0 @@
1
- import { AsthmaDashboardViewHeaderPreviewState } from '../../container/AsthmaDashboardViewHeader';
2
- import { AsthmaControlCalendarPreviewState } from '../../container/AsthmaControlCalendar';
3
- export type AsthmaDashboardViewPreviewState = 'default';
4
- export interface AsthmaDashboardViewPreviewData {
5
- headerPreviewState: AsthmaDashboardViewHeaderPreviewState;
6
- controlCalendarPreviewState: AsthmaControlCalendarPreviewState;
7
- }
8
- export declare const previewData: Record<AsthmaDashboardViewPreviewState, AsthmaDashboardViewPreviewData>;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import AsthmaDashboardView, { AsthmaDashboardViewProps } from './AsthmaDashboardView';
3
- declare const _default: {
4
- title: string;
5
- component: typeof AsthmaDashboardView;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- args: {
13
- previewState: string;
14
- logTodayEntrySurveyName: string;
15
- logYesterdayEntrySurveyName: string;
16
- };
17
- render: (args: AsthmaDashboardViewProps) => React.JSX.Element;
18
- };
@@ -1 +0,0 @@
1
- export { default } from './AsthmaDashboardView';
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { AsthmaDataViewPreviewState } from './AsthmaDataView.previewData';
3
- export interface AsthmaDataViewProps {
4
- colorScheme?: 'light' | 'dark' | 'auto';
5
- previewState?: AsthmaDataViewPreviewState;
6
- }
7
- export default function (props: AsthmaDataViewProps): React.JSX.Element;
@@ -1,8 +0,0 @@
1
- import { AsthmaBiometricsPreviewState } from '../../container/AsthmaBiometrics';
2
- import { AsthmaAirQualitiesPreviewState } from '../../container/AsthmaAirQualities';
3
- export type AsthmaDataViewPreviewState = 'default';
4
- export interface AsthmaDataViewPreviewData {
5
- biometricsPreviewState: AsthmaBiometricsPreviewState;
6
- airQualitiesPreviewState: AsthmaAirQualitiesPreviewState;
7
- }
8
- export declare const previewData: Record<AsthmaDataViewPreviewState, AsthmaDataViewPreviewData>;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import AsthmaDataView, { AsthmaDataViewProps } from './AsthmaDataView';
3
- declare const _default: {
4
- title: string;
5
- component: typeof AsthmaDataView;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- args: {
13
- previewState: string;
14
- };
15
- render: (args: AsthmaDataViewProps) => React.JSX.Element;
16
- };
@@ -1 +0,0 @@
1
- export { default } from './AsthmaDataView';
@@ -1,3 +0,0 @@
1
- export { default as AsthmaCalendarView } from './AsthmaCalendarView';
2
- export { default as AsthmaDashboardView } from './AsthmaDashboardView';
3
- export { default as AsthmaDataView } from './AsthmaDataView';
@@ -1,15 +0,0 @@
1
- import React, { CSSProperties } from 'react';
2
- import './BasicCalendar.css';
3
- import { ColorDefinition } from '../../../helpers/colors';
4
- export interface BasicCalendarDayState {
5
- identifier: string;
6
- style?: CSSProperties;
7
- streakColor?: ColorDefinition;
8
- }
9
- export interface BasicCalendarProps {
10
- intervalStart?: Date;
11
- computeDayState: (date: Date) => BasicCalendarDayState;
12
- onDayClicked: (date: Date) => void;
13
- innerRef?: React.Ref<HTMLDivElement>;
14
- }
15
- export default function (props: BasicCalendarProps): React.JSX.Element;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import BasicCalendar, { BasicCalendarDayState, BasicCalendarProps } from './BasicCalendar';
3
- declare const _default: {
4
- title: string;
5
- component: typeof BasicCalendar;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- args: {
13
- computeDayState: (date: Date) => BasicCalendarDayState;
14
- onDayClicked: (date: Date) => void;
15
- };
16
- render: (args: BasicCalendarProps) => React.JSX.Element;
17
- };
@@ -1 +0,0 @@
1
- export { default, BasicCalendarDayState } from './BasicCalendar';