@careevolution/mydatahelps-ui 2.12.1-SSComponents.1 → 2.12.1-bloodtype.1
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/container/LabResultsBloodType/LabResultsBloodType.d.ts +10 -0
- package/dist/cjs/types/components/container/LabResultsBloodType/LabResultsBloodType.previewdata.d.ts +27 -0
- package/dist/cjs/types/components/container/LabResultsBloodType/index.d.ts +1 -0
- package/dist/cjs/types/components/container/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/container/LogToday/LogToday.stories.d.ts +0 -4
- package/dist/cjs/types/components/symptom-shark/container/index.d.ts +0 -1
- package/dist/cjs/types/components/symptom-shark/helpers/symptom-shark-data.d.ts +2 -5
- package/dist/cjs/types/components/symptom-shark/presentational/OverallExperienceChart/OverallExperienceChart.d.ts +0 -1
- package/dist/cjs/types/components/symptom-shark/presentational/SymptomSeverityChart/SymptomSeverityChart.d.ts +0 -1
- package/dist/cjs/types/components/symptom-shark/presentational/index.d.ts +0 -3
- package/dist/cjs/types/components/symptom-shark/view/index.d.ts +0 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/container/LabResultsBloodType/LabResultsBloodType.d.ts +10 -0
- package/dist/esm/types/components/container/LabResultsBloodType/LabResultsBloodType.previewdata.d.ts +27 -0
- package/dist/esm/types/components/container/LabResultsBloodType/index.d.ts +1 -0
- package/dist/esm/types/components/container/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/container/LogToday/LogToday.stories.d.ts +0 -4
- package/dist/esm/types/components/symptom-shark/container/index.d.ts +0 -1
- package/dist/esm/types/components/symptom-shark/helpers/symptom-shark-data.d.ts +2 -5
- package/dist/esm/types/components/symptom-shark/presentational/OverallExperienceChart/OverallExperienceChart.d.ts +0 -1
- package/dist/esm/types/components/symptom-shark/presentational/SymptomSeverityChart/SymptomSeverityChart.d.ts +0 -1
- package/dist/esm/types/components/symptom-shark/presentational/index.d.ts +0 -3
- package/dist/esm/types/components/symptom-shark/view/index.d.ts +0 -1
- package/dist/index.d.ts +133 -168
- package/package.json +1 -1
- package/dist/cjs/types/components/symptom-shark/container/ReportBuilder/ReportBuilder.d.ts +0 -10
- package/dist/cjs/types/components/symptom-shark/container/ReportBuilder/ReportBuilder.stories.d.ts +0 -16
- package/dist/cjs/types/components/symptom-shark/container/ReportBuilder/index.d.ts +0 -1
- package/dist/cjs/types/components/symptom-shark/presentational/BulletChart/BulletChart.d.ts +0 -7
- package/dist/cjs/types/components/symptom-shark/presentational/BulletChart/BulletChart.stories.d.ts +0 -13
- package/dist/cjs/types/components/symptom-shark/presentational/BulletChart/index.d.ts +0 -1
- package/dist/cjs/types/components/symptom-shark/presentational/IconSelector/IconSelector.d.ts +0 -7
- package/dist/cjs/types/components/symptom-shark/presentational/LogEntryIcon/LogEntryIcon.d.ts +0 -7
- package/dist/cjs/types/components/symptom-shark/presentational/MonthReport/MonthReport.d.ts +0 -12
- package/dist/cjs/types/components/symptom-shark/presentational/MonthReport/MonthReport.stories.d.ts +0 -13
- package/dist/cjs/types/components/symptom-shark/presentational/MonthReport/index.d.ts +0 -1
- package/dist/cjs/types/components/symptom-shark/presentational/NotesTimeline/NotesTimeline.d.ts +0 -7
- package/dist/cjs/types/components/symptom-shark/presentational/NotesTimeline/NotesTimeline.stories.d.ts +0 -13
- package/dist/cjs/types/components/symptom-shark/presentational/NotesTimeline/index.d.ts +0 -1
- package/dist/cjs/types/components/symptom-shark/view/ReportBuilderView/ReportBuilderView.d.ts +0 -6
- package/dist/cjs/types/components/symptom-shark/view/ReportBuilderView/ReportBuilderView.stories.d.ts +0 -20
- package/dist/cjs/types/components/symptom-shark/view/ReportBuilderView/index.d.ts +0 -1
- package/dist/cjs/types/helpers/renderPdf.d.ts +0 -2
- package/dist/esm/types/components/symptom-shark/container/ReportBuilder/ReportBuilder.d.ts +0 -10
- package/dist/esm/types/components/symptom-shark/container/ReportBuilder/ReportBuilder.stories.d.ts +0 -16
- package/dist/esm/types/components/symptom-shark/container/ReportBuilder/index.d.ts +0 -1
- package/dist/esm/types/components/symptom-shark/presentational/BulletChart/BulletChart.d.ts +0 -7
- package/dist/esm/types/components/symptom-shark/presentational/BulletChart/BulletChart.stories.d.ts +0 -13
- package/dist/esm/types/components/symptom-shark/presentational/BulletChart/index.d.ts +0 -1
- package/dist/esm/types/components/symptom-shark/presentational/IconSelector/IconSelector.d.ts +0 -7
- package/dist/esm/types/components/symptom-shark/presentational/LogEntryIcon/LogEntryIcon.d.ts +0 -7
- package/dist/esm/types/components/symptom-shark/presentational/MonthReport/MonthReport.d.ts +0 -12
- package/dist/esm/types/components/symptom-shark/presentational/MonthReport/MonthReport.stories.d.ts +0 -13
- package/dist/esm/types/components/symptom-shark/presentational/MonthReport/index.d.ts +0 -1
- package/dist/esm/types/components/symptom-shark/presentational/NotesTimeline/NotesTimeline.d.ts +0 -7
- package/dist/esm/types/components/symptom-shark/presentational/NotesTimeline/NotesTimeline.stories.d.ts +0 -13
- package/dist/esm/types/components/symptom-shark/presentational/NotesTimeline/index.d.ts +0 -1
- package/dist/esm/types/components/symptom-shark/view/ReportBuilderView/ReportBuilderView.d.ts +0 -6
- package/dist/esm/types/components/symptom-shark/view/ReportBuilderView/ReportBuilderView.stories.d.ts +0 -20
- package/dist/esm/types/components/symptom-shark/view/ReportBuilderView/index.d.ts +0 -1
- package/dist/esm/types/helpers/renderPdf.d.ts +0 -2
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "../HealthPreviewSection/HealthPreviewSection.css";
|
|
3
|
+
export interface LabResultsBloodTypeProps {
|
|
4
|
+
previewState?: "BloodTypeLabs" | "SingleLabs" | "ManyLabs" | "NoData";
|
|
5
|
+
showDetailedResults?: true | false;
|
|
6
|
+
maximumResults?: number;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
9
|
+
}
|
|
10
|
+
export default function (props: LabResultsBloodTypeProps): React.JSX.Element | null;
|
package/dist/cjs/types/components/container/LabResultsBloodType/LabResultsBloodType.previewdata.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const bloodTypeLabs: {
|
|
2
|
+
ImportantLabs: never[];
|
|
3
|
+
RecentLabs: never[];
|
|
4
|
+
BloodTypeLabs: {
|
|
5
|
+
Type: string;
|
|
6
|
+
MostRecentValue: string;
|
|
7
|
+
MostRecentDate: string;
|
|
8
|
+
}[];
|
|
9
|
+
};
|
|
10
|
+
export declare const singleLabs: {
|
|
11
|
+
ImportantLabs: never[];
|
|
12
|
+
RecentLabs: never[];
|
|
13
|
+
BloodTypeLabs: {
|
|
14
|
+
Type: string;
|
|
15
|
+
MostRecentValue: string;
|
|
16
|
+
MostRecentDate: string;
|
|
17
|
+
}[];
|
|
18
|
+
};
|
|
19
|
+
export declare const manyLabs: {
|
|
20
|
+
ImportantLabs: never[];
|
|
21
|
+
RecentLabs: never[];
|
|
22
|
+
BloodTypeLabs: {
|
|
23
|
+
Type: string;
|
|
24
|
+
MostRecentValue: string;
|
|
25
|
+
MostRecentDate: string;
|
|
26
|
+
}[];
|
|
27
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./LabResultsBloodType";
|
|
@@ -17,6 +17,7 @@ export { default as FitbitMonthCharts } from "./FitbitMonthCharts";
|
|
|
17
17
|
export { default as GarminDevices } from "./GarminDevices";
|
|
18
18
|
export { default as GarminMonthCharts } from "./GarminMonthCharts";
|
|
19
19
|
export { default as HealthPreviewSection } from "./HealthPreviewSection";
|
|
20
|
+
export { default as LabResultsBloodType } from "./LabResultsBloodType";
|
|
20
21
|
export { default as LabResultsSummary } from "./LabResultsSummary";
|
|
21
22
|
export { default as MedicationsList } from "./MedicationsList";
|
|
22
23
|
export { default as MostRecentNotification } from "./MostRecentNotification";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { default as SymptomSharkLogEntryList } from "./LogEntryList";
|
|
2
2
|
export { default as SymptomSharkLogToday } from "./LogToday";
|
|
3
3
|
export { default as SymptomSharkLogEntryEdit } from "./LogEntryEdit";
|
|
4
|
-
export { default as SymptomSharkReportBuilder } from "./ReportBuilder";
|
|
5
4
|
export { default as SymptomSharkVisualizationCoordinator } from "./VisualizationCoordinator";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { LogEntryIconKey } from "../presentational/LogEntryIcon/LogEntryIcon";
|
|
1
|
+
import { ParticipantInfo } from "@careevolution/mydatahelps-js";
|
|
3
2
|
export interface SymptomSharkDataService {
|
|
4
3
|
getConfiguration(): Promise<SymptomSharkConfiguration>;
|
|
5
4
|
getDailyLogEntries(after?: string, before?: string): Promise<{
|
|
@@ -8,7 +7,6 @@ export interface SymptomSharkDataService {
|
|
|
8
7
|
saveDailyLogEntry(date: string, entry: DailyLogEntry): Promise<any>;
|
|
9
8
|
}
|
|
10
9
|
export interface SymptomSharkConfiguration {
|
|
11
|
-
participantID: Guid;
|
|
12
10
|
symptoms: SymptomConfiguration[];
|
|
13
11
|
treatments: TreatmentConfiguration[];
|
|
14
12
|
}
|
|
@@ -30,7 +28,7 @@ export interface DailyLogEntry {
|
|
|
30
28
|
treatments: TreatmentReference[];
|
|
31
29
|
overallFeeling?: number;
|
|
32
30
|
notes: string;
|
|
33
|
-
icon?:
|
|
31
|
+
icon?: string;
|
|
34
32
|
}
|
|
35
33
|
export interface SymptomReference {
|
|
36
34
|
id: string;
|
|
@@ -40,7 +38,6 @@ export interface TreatmentReference {
|
|
|
40
38
|
id: string;
|
|
41
39
|
}
|
|
42
40
|
export declare function convertToSymptomSharkConfiguration(info: ParticipantInfo): {
|
|
43
|
-
participantID: Guid;
|
|
44
41
|
symptoms: SymptomConfiguration[];
|
|
45
42
|
treatments: TreatmentConfiguration[];
|
|
46
43
|
};
|
|
@@ -6,6 +6,5 @@ export interface SymptomSeverityChartProps {
|
|
|
6
6
|
symptom: SymptomConfiguration;
|
|
7
7
|
showAllDays?: boolean;
|
|
8
8
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
9
|
-
variant?: "default" | "monthReport";
|
|
10
9
|
}
|
|
11
10
|
export default function (props: SymptomSeverityChartProps): React.JSX.Element | null;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
export { default as SymptomSharkBulletChart } from "./BulletChart";
|
|
2
1
|
export { default as SymptomSharkCalendar } from "./Calendar";
|
|
3
2
|
export { default as SymptomSharkOverallExperienceChart } from "./OverallExperienceChart";
|
|
4
3
|
export { default as SymptomSharkLogEntry } from "./LogEntry";
|
|
5
|
-
export { default as SymptomSharkMonthReport } from "./MonthReport";
|
|
6
|
-
export { default as SymptomSharkNotesTimeline } from "./NotesTimeline";
|
|
7
4
|
export { default as SymptomSharkSymptomTreatmentHistograms } from "./SymptomTreatmentHistograms";
|
|
8
5
|
export { default as SymptomSharkSymptomSeveritySummary } from "./SymptomSeveritySummary";
|
|
9
6
|
export { default as SymptomSharkSymptomSeverityChart } from "./SymptomSeverityChart";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export { default as SymptomSharkCalendarView } from "./CalendarView";
|
|
2
2
|
export { default as SymptomSharkLogEntryEditView } from "./LogEntryEditView";
|
|
3
|
-
export { default as SymptomSharkReportBuilderView } from "./ReportBuilderView";
|
|
4
3
|
export { default as SymptomSharkSymptomDetailView } from "./SymptomDetailView";
|