@careevolution/mydatahelps-ui 2.10.1-InboxUI.0 → 2.11.1-SSComponents.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.
- package/dist/cjs/index.js +11 -11
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +1 -0
- package/dist/cjs/types/components/container/InboxItemList/InboxItemList.d.ts +2 -2
- package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +1 -0
- package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +2 -2
- package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +2 -2
- package/dist/cjs/types/components/presentational/InboxResourceListItem/index.d.ts +1 -1
- package/dist/cjs/types/components/presentational/Resource/Resource.d.ts +14 -0
- package/dist/cjs/types/components/presentational/{InboxResourceDisplay/InboxResourceDisplay.stories.d.ts → Resource/Resource.stories.d.ts} +3 -11
- package/dist/cjs/types/components/presentational/Resource/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/index.d.ts +2 -2
- package/dist/cjs/types/components/symptom-shark/container/ReportBuilder/ReportBuilder.d.ts +10 -0
- package/dist/cjs/types/components/symptom-shark/container/ReportBuilder/ReportBuilder.stories.d.ts +16 -0
- package/dist/cjs/types/components/symptom-shark/container/ReportBuilder/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/container/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/helpers/symptom-shark-data.d.ts +5 -2
- package/dist/cjs/types/components/symptom-shark/presentational/BulletChart/BulletChart.d.ts +7 -0
- package/dist/cjs/types/components/symptom-shark/presentational/BulletChart/BulletChart.stories.d.ts +13 -0
- package/dist/cjs/types/components/symptom-shark/presentational/BulletChart/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/presentational/IconSelector/IconSelector.d.ts +7 -0
- package/dist/cjs/types/components/symptom-shark/presentational/LogEntryIcon/LogEntryIcon.d.ts +7 -0
- package/dist/cjs/types/components/symptom-shark/presentational/MonthReport/MonthReport.d.ts +12 -0
- package/dist/cjs/types/components/symptom-shark/presentational/MonthReport/MonthReport.stories.d.ts +13 -0
- package/dist/cjs/types/components/symptom-shark/presentational/MonthReport/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/presentational/NotesTimeline/NotesTimeline.d.ts +7 -0
- package/dist/cjs/types/components/symptom-shark/presentational/NotesTimeline/NotesTimeline.stories.d.ts +13 -0
- package/dist/cjs/types/components/symptom-shark/presentational/NotesTimeline/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/presentational/OverallExperienceChart/OverallExperienceChart.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/presentational/SymptomSeverityChart/SymptomSeverityChart.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/presentational/index.d.ts +3 -0
- package/dist/cjs/types/components/symptom-shark/view/ReportBuilderView/ReportBuilderView.d.ts +6 -0
- package/dist/cjs/types/components/symptom-shark/view/ReportBuilderView/ReportBuilderView.stories.d.ts +20 -0
- package/dist/cjs/types/components/symptom-shark/view/ReportBuilderView/index.d.ts +1 -0
- package/dist/cjs/types/components/symptom-shark/view/index.d.ts +1 -0
- package/dist/cjs/types/components/view/InboxView/InboxView.d.ts +3 -2
- package/dist/cjs/types/helpers/renderPdf.d.ts +2 -0
- package/dist/esm/index.js +11 -11
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +1 -0
- package/dist/esm/types/components/container/InboxItemList/InboxItemList.d.ts +2 -2
- package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +1 -0
- package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +2 -2
- package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +2 -2
- package/dist/esm/types/components/presentational/InboxResourceListItem/index.d.ts +1 -1
- package/dist/esm/types/components/presentational/Resource/Resource.d.ts +14 -0
- package/dist/esm/types/components/presentational/{InboxResourceDisplay/InboxResourceDisplay.stories.d.ts → Resource/Resource.stories.d.ts} +3 -11
- package/dist/esm/types/components/presentational/Resource/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/index.d.ts +2 -2
- package/dist/esm/types/components/symptom-shark/container/ReportBuilder/ReportBuilder.d.ts +10 -0
- package/dist/esm/types/components/symptom-shark/container/ReportBuilder/ReportBuilder.stories.d.ts +16 -0
- package/dist/esm/types/components/symptom-shark/container/ReportBuilder/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/container/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/helpers/symptom-shark-data.d.ts +5 -2
- package/dist/esm/types/components/symptom-shark/presentational/BulletChart/BulletChart.d.ts +7 -0
- package/dist/esm/types/components/symptom-shark/presentational/BulletChart/BulletChart.stories.d.ts +13 -0
- package/dist/esm/types/components/symptom-shark/presentational/BulletChart/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/presentational/IconSelector/IconSelector.d.ts +7 -0
- package/dist/esm/types/components/symptom-shark/presentational/LogEntryIcon/LogEntryIcon.d.ts +7 -0
- package/dist/esm/types/components/symptom-shark/presentational/MonthReport/MonthReport.d.ts +12 -0
- package/dist/esm/types/components/symptom-shark/presentational/MonthReport/MonthReport.stories.d.ts +13 -0
- package/dist/esm/types/components/symptom-shark/presentational/MonthReport/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/presentational/NotesTimeline/NotesTimeline.d.ts +7 -0
- package/dist/esm/types/components/symptom-shark/presentational/NotesTimeline/NotesTimeline.stories.d.ts +13 -0
- package/dist/esm/types/components/symptom-shark/presentational/NotesTimeline/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/presentational/OverallExperienceChart/OverallExperienceChart.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/presentational/SymptomSeverityChart/SymptomSeverityChart.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/presentational/index.d.ts +3 -0
- package/dist/esm/types/components/symptom-shark/view/ReportBuilderView/ReportBuilderView.d.ts +6 -0
- package/dist/esm/types/components/symptom-shark/view/ReportBuilderView/ReportBuilderView.stories.d.ts +20 -0
- package/dist/esm/types/components/symptom-shark/view/ReportBuilderView/index.d.ts +1 -0
- package/dist/esm/types/components/symptom-shark/view/index.d.ts +1 -0
- package/dist/esm/types/components/view/InboxView/InboxView.d.ts +3 -2
- package/dist/esm/types/helpers/renderPdf.d.ts +2 -0
- package/dist/index.d.ts +147 -98
- package/package.json +3 -3
- package/dist/cjs/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.d.ts +0 -12
- package/dist/cjs/types/components/presentational/InboxResourceDisplay/index.d.ts +0 -1
- package/dist/esm/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.d.ts +0 -12
- package/dist/esm/types/components/presentational/InboxResourceDisplay/index.d.ts +0 -1
|
@@ -7,5 +7,6 @@ export interface BloodPressureVisualizationProps {
|
|
|
7
7
|
previewState?: BloodPressurePreviewState;
|
|
8
8
|
surveyDataSource: SurveyBloodPressureDataParameters;
|
|
9
9
|
weekStartsOn?: WeekStartsOn;
|
|
10
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
10
11
|
}
|
|
11
12
|
export default function (props: BloodPressureVisualizationProps): React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './InboxItemList.css';
|
|
3
3
|
import { InboxItem, InboxItemSortColumn, InboxItemStatus, InboxItemType, SortOrder } from '@careevolution/mydatahelps-js';
|
|
4
|
-
import {
|
|
4
|
+
import { InboxSurveyVariant, ResourceImageAlignment } from '../../presentational';
|
|
5
5
|
import { InboxItemListPreviewState } from './InboxItemList.previewData';
|
|
6
6
|
export interface InboxItemListProps {
|
|
7
7
|
previewState?: InboxItemListPreviewState;
|
|
@@ -18,7 +18,7 @@ export interface InboxItemListProps {
|
|
|
18
18
|
emptyText?: string;
|
|
19
19
|
showTitleWhenEmpty?: boolean;
|
|
20
20
|
surveyVariant?: InboxSurveyVariant;
|
|
21
|
-
resourceImageAlignment?:
|
|
21
|
+
resourceImageAlignment?: ResourceImageAlignment;
|
|
22
22
|
hideLoadingIndicator?: boolean;
|
|
23
23
|
onItemsLoaded?: (items: InboxItem[]) => void;
|
|
24
24
|
syncOnChanges?: boolean;
|
|
@@ -7,5 +7,6 @@ export interface SeverityCalendarProps {
|
|
|
7
7
|
severityValueMapper?: (value: string) => string;
|
|
8
8
|
intervalStart?: Date;
|
|
9
9
|
previewState?: SeverityCalendarPreviewState;
|
|
10
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
10
11
|
}
|
|
11
12
|
export default function (props: SeverityCalendarProps): React.JSX.Element;
|
package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { InboxResource } from '@careevolution/mydatahelps-js';
|
|
3
3
|
import '@fortawesome/fontawesome-svg-core/styles.css';
|
|
4
|
-
|
|
4
|
+
import { ResourceImageAlignment } from '../Resource';
|
|
5
5
|
export interface InboxResourceListItemProps {
|
|
6
6
|
resource: InboxResource;
|
|
7
7
|
onClick: () => void;
|
|
8
|
-
imageAlignment?:
|
|
8
|
+
imageAlignment?: ResourceImageAlignment;
|
|
9
9
|
buttonText?: string;
|
|
10
10
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
11
11
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ResourceImageAlignment } from '../../presentational';
|
|
3
3
|
import InboxResourceListItem from './InboxResourceListItem';
|
|
4
4
|
import { InboxItemStatus } from '@careevolution/mydatahelps-js';
|
|
5
5
|
declare const _default: {
|
|
@@ -15,7 +15,7 @@ interface InboxResourceListItemStoryArgs {
|
|
|
15
15
|
subTitle?: string;
|
|
16
16
|
imageUrl?: string;
|
|
17
17
|
status: InboxItemStatus;
|
|
18
|
-
imageAlignment?:
|
|
18
|
+
imageAlignment?: ResourceImageAlignment;
|
|
19
19
|
buttonText?: string;
|
|
20
20
|
}
|
|
21
21
|
export declare const Default: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default
|
|
1
|
+
export { default } from './InboxResourceListItem';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './Resource.css';
|
|
3
|
+
import '@fortawesome/fontawesome-svg-core/styles.css';
|
|
4
|
+
export type ResourceImageAlignment = 'left' | 'center' | 'right';
|
|
5
|
+
export interface ResourceProps {
|
|
6
|
+
imageUrl?: string;
|
|
7
|
+
title: string;
|
|
8
|
+
subTitle?: string;
|
|
9
|
+
imageAlignment?: ResourceImageAlignment;
|
|
10
|
+
buttonText?: string;
|
|
11
|
+
onClick: () => void;
|
|
12
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
13
|
+
}
|
|
14
|
+
export default function (props: ResourceProps): React.JSX.Element;
|
|
@@ -1,21 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
import { InboxResourceImageAlignment } from '../InboxResourceListItem';
|
|
2
|
+
import Resource, { ResourceProps } from './Resource';
|
|
4
3
|
declare const _default: {
|
|
5
4
|
title: string;
|
|
6
|
-
component: typeof
|
|
5
|
+
component: typeof Resource;
|
|
7
6
|
parameters: {
|
|
8
7
|
layout: string;
|
|
9
8
|
};
|
|
10
9
|
};
|
|
11
10
|
export default _default;
|
|
12
|
-
interface InboxResourceDisplayStoryArgs {
|
|
13
|
-
title: string;
|
|
14
|
-
subTitle?: string;
|
|
15
|
-
imageUrl?: string;
|
|
16
|
-
imageAlignment?: InboxResourceImageAlignment;
|
|
17
|
-
buttonText?: string;
|
|
18
|
-
}
|
|
19
11
|
export declare const Default: {
|
|
20
12
|
args: {
|
|
21
13
|
title: string;
|
|
@@ -40,5 +32,5 @@ export declare const Default: {
|
|
|
40
32
|
name: string;
|
|
41
33
|
};
|
|
42
34
|
};
|
|
43
|
-
render: (args:
|
|
35
|
+
render: (args: ResourceProps) => React.JSX.Element;
|
|
44
36
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, ResourceImageAlignment } from './Resource';
|
|
@@ -18,6 +18,7 @@ export { default as NotesInput } from "./NotesInput";
|
|
|
18
18
|
export { default as ProgressBar } from "./ProgressBar";
|
|
19
19
|
export { default as ProgressBarStep } from "./ProgressBar/ProgressBarStep";
|
|
20
20
|
export { default as ProgressRing } from "./ProgressRing";
|
|
21
|
+
export { default as Resource, ResourceImageAlignment } from "./Resource";
|
|
21
22
|
export { default as Section } from "./Section";
|
|
22
23
|
export { default as SegmentedControl } from "./SegmentedControl";
|
|
23
24
|
export { default as ShinyOverlay } from "./ShinyOverlay";
|
|
@@ -36,6 +37,5 @@ export { default as ViewHeader } from "./ViewHeader";
|
|
|
36
37
|
export { default as WeekCalendar } from "./WeekCalendar";
|
|
37
38
|
export { default as InboxCompletedListItem } from "./InboxCompletedListItem";
|
|
38
39
|
export { default as InboxMessageListItem } from "./InboxMessageListItem";
|
|
39
|
-
export { default as
|
|
40
|
-
export { default as InboxResourceListItem, InboxResourceImageAlignment } from "./InboxResourceListItem";
|
|
40
|
+
export { default as InboxResourceListItem } from "./InboxResourceListItem";
|
|
41
41
|
export { default as InboxSurveyListItem, InboxSurveyVariant } from "./InboxSurveyListItem";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./ReportBuilder.css";
|
|
3
|
+
export interface SymptomSharkReportBuilderProps {
|
|
4
|
+
productLogo?: string;
|
|
5
|
+
productName?: string;
|
|
6
|
+
productUrl?: string;
|
|
7
|
+
previewState?: "default";
|
|
8
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
9
|
+
}
|
|
10
|
+
export default function ReportBuilder(props: SymptomSharkReportBuilderProps): React.JSX.Element;
|
package/dist/esm/types/components/symptom-shark/container/ReportBuilder/ReportBuilder.stories.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import SymptomSharkReportBuilder, { SymptomSharkReportBuilderProps } from "./ReportBuilder";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof SymptomSharkReportBuilder;
|
|
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: SymptomSharkReportBuilderProps) => React.JSX.Element;
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./ReportBuilder";
|
|
@@ -1,4 +1,5 @@
|
|
|
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";
|
|
4
5
|
export { default as SymptomSharkVisualizationCoordinator } from "./VisualizationCoordinator";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ParticipantInfo } from "@careevolution/mydatahelps-js";
|
|
1
|
+
import { Guid, ParticipantInfo } from "@careevolution/mydatahelps-js";
|
|
2
|
+
import { LogEntryIconKey } from "../presentational/LogEntryIcon/LogEntryIcon";
|
|
2
3
|
export interface SymptomSharkDataService {
|
|
3
4
|
getConfiguration(): Promise<SymptomSharkConfiguration>;
|
|
4
5
|
getDailyLogEntries(after?: string, before?: string): Promise<{
|
|
@@ -7,6 +8,7 @@ export interface SymptomSharkDataService {
|
|
|
7
8
|
saveDailyLogEntry(date: string, entry: DailyLogEntry): Promise<any>;
|
|
8
9
|
}
|
|
9
10
|
export interface SymptomSharkConfiguration {
|
|
11
|
+
participantID: Guid;
|
|
10
12
|
symptoms: SymptomConfiguration[];
|
|
11
13
|
treatments: TreatmentConfiguration[];
|
|
12
14
|
}
|
|
@@ -28,7 +30,7 @@ export interface DailyLogEntry {
|
|
|
28
30
|
treatments: TreatmentReference[];
|
|
29
31
|
overallFeeling?: number;
|
|
30
32
|
notes: string;
|
|
31
|
-
icon?:
|
|
33
|
+
icon?: LogEntryIconKey;
|
|
32
34
|
}
|
|
33
35
|
export interface SymptomReference {
|
|
34
36
|
id: string;
|
|
@@ -38,6 +40,7 @@ export interface TreatmentReference {
|
|
|
38
40
|
id: string;
|
|
39
41
|
}
|
|
40
42
|
export declare function convertToSymptomSharkConfiguration(info: ParticipantInfo): {
|
|
43
|
+
participantID: Guid;
|
|
41
44
|
symptoms: SymptomConfiguration[];
|
|
42
45
|
treatments: TreatmentConfiguration[];
|
|
43
46
|
};
|
package/dist/esm/types/components/symptom-shark/presentational/BulletChart/BulletChart.stories.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import BulletChart, { SymptomSharkBulletChartProps } from "./BulletChart";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof BulletChart;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Default: {
|
|
12
|
+
render: (args: SymptomSharkBulletChartProps) => React.JSX.Element;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./BulletChart";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type LogEntryIconKey = "star" | "star-o" | "user-md" | "hospital-o" | "ambulance" | "flag" | "moon-o" | "flask" | "bolt" | "question-circle-o" | "thermometer" | "trophy" | "spoon";
|
|
3
|
+
export interface LogEntryIconProps {
|
|
4
|
+
icon?: LogEntryIconKey;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export default function LogEntryIcon(props: LogEntryIconProps): React.JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./MonthReport.css";
|
|
3
|
+
export interface SymptomSharkMonthReportProps {
|
|
4
|
+
includeNotes: boolean;
|
|
5
|
+
includeDailyOverallFeeling: boolean;
|
|
6
|
+
productLogo?: string;
|
|
7
|
+
productName?: string;
|
|
8
|
+
productUrl?: string;
|
|
9
|
+
intervalStart?: Date;
|
|
10
|
+
innerRef?: React.Ref<HTMLTableElement>;
|
|
11
|
+
}
|
|
12
|
+
export default function (props: SymptomSharkMonthReportProps): React.JSX.Element | null;
|
package/dist/esm/types/components/symptom-shark/presentational/MonthReport/MonthReport.stories.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MonthReport, { SymptomSharkMonthReportProps } from "./MonthReport";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof MonthReport;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Default: {
|
|
12
|
+
render: (args: SymptomSharkMonthReportProps) => React.JSX.Element;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./MonthReport";
|
package/dist/esm/types/components/symptom-shark/presentational/NotesTimeline/NotesTimeline.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import "./NotesTimeline.css";
|
|
3
|
+
export interface SymptomSharkNotesTimelineProps {
|
|
4
|
+
intervalStart?: Date;
|
|
5
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
6
|
+
}
|
|
7
|
+
export default function (props: SymptomSharkNotesTimelineProps): React.JSX.Element | null;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import NotesTimeline, { SymptomSharkNotesTimelineProps } from "./NotesTimeline";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof NotesTimeline;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Default: {
|
|
12
|
+
render: (args: SymptomSharkNotesTimelineProps) => React.JSX.Element;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./NotesTimeline";
|
|
@@ -6,5 +6,6 @@ export interface SymptomSeverityChartProps {
|
|
|
6
6
|
symptom: SymptomConfiguration;
|
|
7
7
|
showAllDays?: boolean;
|
|
8
8
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
9
|
+
variant?: "default" | "monthReport";
|
|
9
10
|
}
|
|
10
11
|
export default function (props: SymptomSeverityChartProps): React.JSX.Element | null;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
export { default as SymptomSharkBulletChart } from "./BulletChart";
|
|
1
2
|
export { default as SymptomSharkCalendar } from "./Calendar";
|
|
2
3
|
export { default as SymptomSharkOverallExperienceChart } from "./OverallExperienceChart";
|
|
3
4
|
export { default as SymptomSharkLogEntry } from "./LogEntry";
|
|
5
|
+
export { default as SymptomSharkMonthReport } from "./MonthReport";
|
|
6
|
+
export { default as SymptomSharkNotesTimeline } from "./NotesTimeline";
|
|
4
7
|
export { default as SymptomSharkSymptomTreatmentHistograms } from "./SymptomTreatmentHistograms";
|
|
5
8
|
export { default as SymptomSharkSymptomSeveritySummary } from "./SymptomSeveritySummary";
|
|
6
9
|
export { default as SymptomSharkSymptomSeverityChart } from "./SymptomSeverityChart";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import SymptomSharkReportBuilderView, { SymptomSharkReportBuilderViewProps } from "./ReportBuilderView";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof SymptomSharkReportBuilderView;
|
|
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: SymptomSharkReportBuilderViewProps) => React.JSX.Element;
|
|
16
|
+
};
|
|
17
|
+
export declare const Live: {
|
|
18
|
+
args: {};
|
|
19
|
+
render: (args: SymptomSharkReportBuilderViewProps) => React.JSX.Element;
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./ReportBuilderView";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { default as SymptomSharkCalendarView } from "./CalendarView";
|
|
2
2
|
export { default as SymptomSharkLogEntryEditView } from "./LogEntryEditView";
|
|
3
|
+
export { default as SymptomSharkReportBuilderView } from "./ReportBuilderView";
|
|
3
4
|
export { default as SymptomSharkSymptomDetailView } from "./SymptomDetailView";
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './InboxView.css';
|
|
3
|
-
import {
|
|
3
|
+
import { InboxSurveyVariant, ResourceImageAlignment } from '../../presentational';
|
|
4
4
|
export interface InboxViewProps {
|
|
5
5
|
previewState?: 'default';
|
|
6
6
|
colorScheme?: 'auto' | 'light' | 'dark';
|
|
7
7
|
surveyVariant?: InboxSurveyVariant;
|
|
8
|
-
resourceImageAlignment?:
|
|
8
|
+
resourceImageAlignment?: ResourceImageAlignment;
|
|
9
9
|
messageViewerUrl: string;
|
|
10
10
|
historyViewerUrl: string;
|
|
11
|
+
itemCategory?: string;
|
|
11
12
|
}
|
|
12
13
|
export default function (props: InboxViewProps): React.JSX.Element;
|