pat-shared-components 0.5.0-beta.7 → 0.9.0-beta.2
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/README.md +26 -1
- package/dist/index.es.js +8932 -25824
- package/dist/index.umd.js +138 -81
- package/dist/style.css +1 -1
- package/dist/types/src/components/Public/TestResultViewer/Shared/TestExpansion.vue.d.ts +80 -0
- package/dist/types/src/components/Public/TestResultViewer/Templates/GXNT1/GXNT1.vue.d.ts +23 -0
- package/dist/types/src/components/Public/TestResultViewer/Templates/HPV/HPV.vue.d.ts +23 -0
- package/dist/types/{components/BookingDetail/SampleCollectionInfo.vue.d.ts → src/components/Public/TestResultViewer/Templates/HPV/WhatNext.vue.d.ts} +2 -2
- package/dist/types/{components/TestResult/BookAppointmentModal/BookAppointment/DateItem.vue.d.ts → src/components/Public/TestResultViewer/Templates/HPV/components/HPVResult.vue.d.ts} +2 -3
- package/dist/types/{components/BookingDetail/TotalPayment.vue.d.ts → src/components/Public/TestResultViewer/Templates/HPV/components/HighRiskDetail.vue.d.ts} +2 -1
- package/dist/types/{components/Shared/PatientName.vue.d.ts → src/components/Public/TestResultViewer/Templates/HPV/components/LowRiskDetail.vue.d.ts} +2 -1
- package/dist/types/src/components/Public/TestResultViewer/Templates/HPV/components/TestTooltipIcon.vue.d.ts +14 -0
- package/dist/types/src/components/Public/TestResultViewer/Templates/STD/STD.vue.d.ts +23 -0
- package/dist/types/{components/BookingDetail/BasicInfoSection.vue.d.ts → src/components/Public/TestResultViewer/Templates/Shared/CategoryItem/CategoryHeader.vue.d.ts} +13 -7
- package/dist/types/{components/BookingDetail/BookingStatusComponent.vue.d.ts → src/components/Public/TestResultViewer/Templates/Shared/CategoryItem/CategoryItem.vue.d.ts} +6 -3
- package/dist/types/{components/TestResult/BookAppointmentModal/BookAppointment/BookAppointment.vue.d.ts → src/components/Public/TestResultViewer/Templates/Shared/CategoryItem/TestExtraInfo.vue.d.ts} +13 -10
- package/dist/types/{components/BookingDetail/DiagLogo.vue.d.ts → src/components/Public/TestResultViewer/Templates/Shared/CategoryItem/TestHeader/DiagValue.vue.d.ts} +5 -4
- package/dist/types/{components/BookingDetail/BookingNote.vue.d.ts → src/components/Public/TestResultViewer/Templates/Shared/CategoryItem/TestHeader/ImagingValue.vue.d.ts} +4 -4
- package/dist/types/{components/TestResult/Mobile/ResultTab/TestResultListItem.vue.d.ts → src/components/Public/TestResultViewer/Templates/Shared/CategoryItem/TestHeader/TestHeader.vue.d.ts} +7 -5
- package/dist/types/{components/TestResult/Mobile/ResultTab/TestResultDetail/UpcomingAppointment.vue.d.ts → src/components/Public/TestResultViewer/Templates/Shared/CategoryItem/TestHistory.vue.d.ts} +2 -1
- package/dist/types/{components/BookingDetail/BookingNumber.vue.d.ts → src/components/Public/TestResultViewer/Templates/Shared/CategoryItem/TestItem.vue.d.ts} +6 -5
- package/dist/types/{components/BookingDetail/BasicInfo.vue.d.ts → src/components/Public/TestResultViewer/Templates/Shared/CategoryItem/TestValueLabelRow.vue.d.ts} +13 -6
- package/dist/types/{components/BookingDetail/BookingResultStatus.vue.d.ts → src/components/Public/TestResultViewer/Templates/Shared/CategoryItem/TestValueNumeric/RangeGroup.vue.d.ts} +24 -7
- package/dist/types/src/components/Public/TestResultViewer/Templates/Shared/CategoryItem/TestValueNumeric/TestValueNumeric.vue.d.ts +48 -0
- package/dist/types/{components/BookingDetail/PaymentStatusComponent.vue.d.ts → src/components/Public/TestResultViewer/Templates/Shared/CategoryItem/TestValueText.vue.d.ts} +5 -2
- package/dist/types/{components/Shared/CtaButton.vue.d.ts → src/components/Public/TestResultViewer/Templates/Shared/CategoryItem/TestValueXML.vue.d.ts} +6 -7
- package/dist/types/src/components/Public/TestResultViewer/Templates/Shared/DigitalView.vue.d.ts +23 -0
- package/dist/types/{components/TestResult/BookAppointmentModal/BookAppointment/SuccessMessage.vue.d.ts → src/components/Public/TestResultViewer/Templates/Shared/FAQList.vue.d.ts} +2 -1
- package/dist/types/{components/BookingDetail/BookingDetail.vue.d.ts → src/components/Public/TestResultViewer/TestResultViewer.vue.d.ts} +16 -10
- package/dist/types/src/components/Public/index.d.ts +1 -0
- package/dist/types/src/components/Shared/BButton.vue.d.ts +53 -0
- package/dist/types/src/components/Shared/BCollapse.vue.d.ts +35 -0
- package/dist/types/{components/TestResult/Mobile/ResultTab/TestResultDetail/TestResultDetail.vue.d.ts → src/components/Shared/BModal/BModal.vue.d.ts} +12 -10
- package/dist/types/{components/Shared/SectionTitle.vue.d.ts → src/components/Shared/BTooltips.vue.d.ts} +3 -0
- package/dist/types/src/components/Shared/index.d.ts +7 -0
- package/dist/types/src/composables/HPV.d.ts +7 -0
- package/dist/types/src/composables/TestResult.d.ts +4 -0
- package/dist/types/src/constants/Common.d.ts +2 -0
- package/dist/types/src/constants/Enums.d.ts +121 -0
- package/dist/types/src/helpers/ComponentHelper.d.ts +3 -0
- package/dist/types/{index.d.ts → src/index.d.ts} +2 -4
- package/dist/types/{types → src/types}/TestResult.d.ts +74 -29
- package/dist/types/src/types/index.d.ts +1 -0
- package/package.json +5 -8
- package/dist/types/components/BookingDetail/BookingCtaButtons.vue.d.ts +0 -34
- package/dist/types/components/BookingDetail/BookingDetailDesktop.vue.d.ts +0 -34
- package/dist/types/components/BookingDetail/BottomCurved.vue.d.ts +0 -29
- package/dist/types/components/BookingDetail/CtaButton.vue.d.ts +0 -40
- package/dist/types/components/BookingDetail/DiagSupport.vue.d.ts +0 -2
- package/dist/types/components/BookingDetail/TestList.vue.d.ts +0 -27
- package/dist/types/components/BookingDetail/index.d.ts +0 -2
- package/dist/types/components/Shared/CtaButtonSkeleton.vue.d.ts +0 -2
- package/dist/types/components/Shared/LoadingSkeleton.vue.d.ts +0 -2
- package/dist/types/components/Shared/NoItemsFound.vue.d.ts +0 -36
- package/dist/types/components/Shared/ResultStatus.vue.d.ts +0 -23
- package/dist/types/components/Shared/TitleIcon.vue.d.ts +0 -30
- package/dist/types/components/Shared/index.d.ts +0 -3
- package/dist/types/components/TestResult/BookAppointmentModal/BookAppointment/DayPartItem.vue.d.ts +0 -24
- package/dist/types/components/TestResult/BookAppointmentModal/BookAppointment/ErrorMessage.vue.d.ts +0 -2
- package/dist/types/components/TestResult/BookAppointmentModal/BookAppointment/TimeSlotItem.vue.d.ts +0 -30
- package/dist/types/components/TestResult/BookAppointmentModal/BookAppointmentModal.vue.d.ts +0 -39
- package/dist/types/components/TestResult/CallUsFilledButton.vue.d.ts +0 -2
- package/dist/types/components/TestResult/Desktop/ResultReady.vue.d.ts +0 -15
- package/dist/types/components/TestResult/Mobile/BookingTab/BookingList.vue.d.ts +0 -36
- package/dist/types/components/TestResult/Mobile/BookingTab/BookingListItem.vue.d.ts +0 -23
- package/dist/types/components/TestResult/Mobile/MyProfile.vue.d.ts +0 -34
- package/dist/types/components/TestResult/Mobile/ResultTab/TestResultDetail/BookAppointmentButton.vue.d.ts +0 -4
- package/dist/types/components/TestResult/Mobile/ResultTab/TestResultDetail/DoctorNote.vue.d.ts +0 -28
- package/dist/types/components/TestResult/Mobile/ResultTab/TestResultDetail/ResultOverview.vue.d.ts +0 -23
- package/dist/types/components/TestResult/Mobile/ResultTab/TestResultDetail/TestResultDetailSkeleton/ResultViewerSkeleton.vue.d.ts +0 -2
- package/dist/types/components/TestResult/Mobile/ResultTab/TestResultDetail/TestResultDetailSkeleton/TestResultDetailSkeleton.vue.d.ts +0 -2
- package/dist/types/components/TestResult/Mobile/ResultTab/TestResultList.vue.d.ts +0 -40
- package/dist/types/components/TestResult/PatientFullInfo.vue.d.ts +0 -27
- package/dist/types/components/TestResult/RejectedResult.vue.d.ts +0 -10
- package/dist/types/components/TestResult/TabTitle.vue.d.ts +0 -9
- package/dist/types/components/TestResult/TestResultHistoryDetailModal/TestResultHistoryDetail.vue.d.ts +0 -34
- package/dist/types/components/TestResult/TestResultHistoryDetailModal/TestResultHistoryDetailModal.vue.d.ts +0 -27
- package/dist/types/components/TestResult/index.d.ts +0 -15
- package/dist/types/composables/Booking.d.ts +0 -5
- package/dist/types/composables/BookingDetail.d.ts +0 -6
- package/dist/types/composables/Patient.d.ts +0 -5
- package/dist/types/constants/Common.d.ts +0 -15
- package/dist/types/constants/Enums.d.ts +0 -103
- package/dist/types/helpers/ComponentHelper.d.ts +0 -2
- package/dist/types/helpers/DateHelper.d.ts +0 -1
- package/dist/types/types/Appointment.d.ts +0 -14
- package/dist/types/types/Booking.d.ts +0 -98
- package/dist/types/types/Common.d.ts +0 -5
- package/dist/types/types/TestResultHistory.d.ts +0 -23
- package/dist/types/types/index.d.ts +0 -5
- /package/dist/types/{components/TestResult/Desktop → src/components/Public/TestResultViewer/Shared}/CallUsTextButton.vue.d.ts +0 -0
- /package/dist/types/{components/TestResult/Mobile/ResultTab/TestResultDetail/ResultReadyV2.vue.d.ts → src/components/Public/TestResultViewer/Templates/Default/Default.vue.d.ts} +0 -0
- /package/dist/types/{components/BasePlayground.vue.d.ts → src/components/Public/TestResultViewer/Templates/Shared/CategoryItem/TestHeader/OutsourceValue.vue.d.ts} +0 -0
- /package/dist/types/{components/BookingDetail/BookingDetailDesktopSkeleton/BasicInfoSkeleton.vue.d.ts → src/components/Shared/BModal/BModalBody.vue.d.ts} +0 -0
- /package/dist/types/{components/BookingDetail/BookingDetailDesktopSkeleton/BookingDetailDesktopSkeleton.vue.d.ts → src/components/Shared/BModal/BModalFooter.vue.d.ts} +0 -0
- /package/dist/types/{components/BookingDetail/BookingDetailSkeleton/BasicInfoSkeleton.vue.d.ts → src/components/Shared/BModal/BModalHeader.vue.d.ts} +0 -0
- /package/dist/types/{components/BookingDetail/BookingDetailSkeleton/BookingDetailSkeleton.vue.d.ts → src/playground/PlaygroundView.vue.d.ts} +0 -0
- /package/dist/types/{plugin.d.ts → src/plugin.d.ts} +0 -0
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, {
|
|
2
|
-
'body-prepend': (_: {}) => any;
|
|
3
|
-
'body-append': (_: {}) => any;
|
|
4
|
-
}>;
|
|
5
|
-
export default _default;
|
|
6
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
|
-
new (): {
|
|
8
|
-
$slots: S;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, {
|
|
2
|
-
default: (_: {}) => any;
|
|
3
|
-
}>;
|
|
4
|
-
export default _default;
|
|
5
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
-
new (): {
|
|
7
|
-
$slots: S;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { TestResultHistory } from '@/types';
|
|
2
|
-
/**
|
|
3
|
-
* Props
|
|
4
|
-
*/
|
|
5
|
-
export interface Props {
|
|
6
|
-
historyData: TestResultHistory;
|
|
7
|
-
scrollTop?: number;
|
|
8
|
-
scrollLeft?: number;
|
|
9
|
-
}
|
|
10
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
11
|
-
scrollTop: number;
|
|
12
|
-
scrollLeft: number;
|
|
13
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
14
|
-
scrollTop: number;
|
|
15
|
-
scrollLeft: number;
|
|
16
|
-
}>>>, {
|
|
17
|
-
scrollTop: number;
|
|
18
|
-
scrollLeft: number;
|
|
19
|
-
}>;
|
|
20
|
-
export default _default;
|
|
21
|
-
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
-
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
-
} : {
|
|
26
|
-
type: import('vue').PropType<T[K]>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
31
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
32
|
-
default: D[K];
|
|
33
|
-
} : P[K];
|
|
34
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { TestResultHistory } from '@/types';
|
|
2
|
-
/**
|
|
3
|
-
* Props
|
|
4
|
-
*/
|
|
5
|
-
export interface Props {
|
|
6
|
-
modelValue: boolean;
|
|
7
|
-
historyData: TestResultHistory;
|
|
8
|
-
loading: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>>> & {
|
|
11
|
-
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
12
|
-
}, {}>;
|
|
13
|
-
export default _default;
|
|
14
|
-
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
24
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
25
|
-
default: D[K];
|
|
26
|
-
} : P[K];
|
|
27
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export { default as CallUsFilledButton } from './CallUsFilledButton.vue';
|
|
2
|
-
export { default as PatientFullInfo } from './PatientFullInfo.vue';
|
|
3
|
-
export { default as RejectedResult } from './RejectedResult.vue';
|
|
4
|
-
export { default as TestResultHistoryDetail } from './TestResultHistoryDetailModal/TestResultHistoryDetail.vue';
|
|
5
|
-
export { default as TestResultHistoryDetailModal } from './TestResultHistoryDetailModal/TestResultHistoryDetailModal.vue';
|
|
6
|
-
export { default as BookAppointment } from './BookAppointmentModal/BookAppointment/BookAppointment.vue';
|
|
7
|
-
export { default as BookAppointmentModal } from './BookAppointmentModal/BookAppointmentModal.vue';
|
|
8
|
-
export { default as BookingList } from './Mobile/BookingTab/BookingList.vue';
|
|
9
|
-
export { default as BookingListItem } from './Mobile/BookingTab/BookingListItem.vue';
|
|
10
|
-
export { default as TestResultDetail } from './Mobile/ResultTab/TestResultDetail/TestResultDetail.vue';
|
|
11
|
-
export { default as TestResultList } from './Mobile/ResultTab/TestResultList.vue';
|
|
12
|
-
export { default as TestResultListItem } from './Mobile/ResultTab/TestResultListItem.vue';
|
|
13
|
-
export { default as MyProfile } from './Mobile/MyProfile.vue';
|
|
14
|
-
export { default as CallUsTextButton } from './Desktop/CallUsTextButton.vue';
|
|
15
|
-
export { default as ResultReady } from './Desktop/ResultReady.vue';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Booking, BookingBasicInfoDoctor, BookingBasicInfoPatient } from '@/types';
|
|
2
|
-
import { type Ref } from 'vue';
|
|
3
|
-
export declare function useBookingDetail(booking: Ref<Booking>): {
|
|
4
|
-
patient: import("vue").ComputedRef<BookingBasicInfoPatient>;
|
|
5
|
-
doctor: import("vue").ComputedRef<BookingBasicInfoDoctor>;
|
|
6
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare const SupportPhone = "19001717";
|
|
2
|
-
export declare const SupportEmail = "customersupport@diag.vn";
|
|
3
|
-
export declare enum LsKey {
|
|
4
|
-
Locale = "DiagPatientPortalLocale"
|
|
5
|
-
}
|
|
6
|
-
export declare const EventBusName: {
|
|
7
|
-
Container: string;
|
|
8
|
-
MicroTestResult: string;
|
|
9
|
-
};
|
|
10
|
-
export declare const EventType: {
|
|
11
|
-
ChangeRoute: string;
|
|
12
|
-
};
|
|
13
|
-
export declare const CookieName: {
|
|
14
|
-
AccessToken: string;
|
|
15
|
-
};
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Booking
|
|
3
|
-
*/
|
|
4
|
-
export declare enum BookingStatus {
|
|
5
|
-
Created = "created",
|
|
6
|
-
InProgress = "in-progress",
|
|
7
|
-
Completed = "completed",
|
|
8
|
-
Canceled = "canceled"
|
|
9
|
-
}
|
|
10
|
-
export declare enum PaymentStatus {
|
|
11
|
-
RefundInProgress = "refund_in_progress",
|
|
12
|
-
Refunded = "refunded",
|
|
13
|
-
PayLater = "pay-later",
|
|
14
|
-
PaidOnline = "paid-online",
|
|
15
|
-
Paid = "paid",
|
|
16
|
-
Canceled = "cancelled"
|
|
17
|
-
}
|
|
18
|
-
export declare enum ServiceType {
|
|
19
|
-
Group = "GRP",
|
|
20
|
-
Package = "PKG",
|
|
21
|
-
Investigation = "INV",
|
|
22
|
-
ImagingService = "IMG"
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Test Result
|
|
26
|
-
*/
|
|
27
|
-
export declare enum TestResultStatus {
|
|
28
|
-
Ordered = "ordered",
|
|
29
|
-
Ready = "ready",
|
|
30
|
-
PartiallyComplete = "partial",
|
|
31
|
-
InProgress = "in-progress",
|
|
32
|
-
Canceled = "canceled",
|
|
33
|
-
Rejected = "rejected"
|
|
34
|
-
}
|
|
35
|
-
export declare enum TestResultTemplate {
|
|
36
|
-
Default = "default",
|
|
37
|
-
GXNT1 = "GXNT1",
|
|
38
|
-
HPV = "HPV",
|
|
39
|
-
STD = "STD"
|
|
40
|
-
}
|
|
41
|
-
export declare enum TestResultConclusion {
|
|
42
|
-
Abnormal = "A",
|
|
43
|
-
LowerAbnormal = "L",
|
|
44
|
-
Panic = "P",
|
|
45
|
-
Normal = "N"
|
|
46
|
-
}
|
|
47
|
-
export declare enum TestStatus {
|
|
48
|
-
SampleCollected = "SampleCollected",
|
|
49
|
-
SampleReceived = "SampleReceived",
|
|
50
|
-
YetToTransfer = "Yet to Transfer",
|
|
51
|
-
Completed = "Completed",
|
|
52
|
-
Cancel = "Cancel",
|
|
53
|
-
Approve = "Approve"
|
|
54
|
-
}
|
|
55
|
-
export declare enum ResultType {
|
|
56
|
-
Numberic = "numeric",
|
|
57
|
-
Text = "text",
|
|
58
|
-
XML = "XML"
|
|
59
|
-
}
|
|
60
|
-
export declare enum ResultSegmentNormalType {
|
|
61
|
-
Normal = "normal",
|
|
62
|
-
Attention = "attention",
|
|
63
|
-
Critical = "critical"
|
|
64
|
-
}
|
|
65
|
-
export declare enum ResultSegmentValueOPR {
|
|
66
|
-
GreaterThan = ">",
|
|
67
|
-
GreaterThanOrEqualTo = "\u2265",
|
|
68
|
-
LessThan = "<",
|
|
69
|
-
LessThanOrEqualTo = "\u2264",
|
|
70
|
-
BTW = "btw",
|
|
71
|
-
Txt = "txt"
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Patient
|
|
75
|
-
*/
|
|
76
|
-
export declare enum DocumentType {
|
|
77
|
-
IDCard = "ID Card",
|
|
78
|
-
Passport = "Passport",
|
|
79
|
-
PassportNo = "Passport No",
|
|
80
|
-
Unknown = "Unknown"
|
|
81
|
-
}
|
|
82
|
-
export declare enum Gender {
|
|
83
|
-
Male = "Male",
|
|
84
|
-
Female = "Female"
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* Others
|
|
88
|
-
*/
|
|
89
|
-
export declare enum DayPartType {
|
|
90
|
-
Morning = "morning",
|
|
91
|
-
Afternoon = "afternoon",
|
|
92
|
-
Evening = "evening"
|
|
93
|
-
}
|
|
94
|
-
export declare enum AccountSegment {
|
|
95
|
-
HomeKit = "homekit",
|
|
96
|
-
Walkin = "walkin",
|
|
97
|
-
Doctor = "doctor",
|
|
98
|
-
Corporate = "corporate"
|
|
99
|
-
}
|
|
100
|
-
export declare enum BottomCursedType {
|
|
101
|
-
Medium = "md",
|
|
102
|
-
Large = "lg"
|
|
103
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const formatDateTimeShort: (date?: string | Date) => string | Date;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { DayPartType } from '@/constants/Enums';
|
|
2
|
-
export interface ApptDateOption {
|
|
3
|
-
value: any;
|
|
4
|
-
disabled: boolean;
|
|
5
|
-
dayParts: ApptDayPart[];
|
|
6
|
-
}
|
|
7
|
-
export interface ApptDayPart {
|
|
8
|
-
text: string;
|
|
9
|
-
value: DayPartType;
|
|
10
|
-
start: string;
|
|
11
|
-
end: string;
|
|
12
|
-
timeSlots: Date[];
|
|
13
|
-
disabled: boolean;
|
|
14
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import type { AccountSegment, BookingStatus, DocumentType, Gender, PaymentStatus, TestResultStatus, ServiceType } from '@/constants/Enums';
|
|
2
|
-
export interface BookingCompact {
|
|
3
|
-
booking_code: string;
|
|
4
|
-
booking_status: BookingStatus;
|
|
5
|
-
created_at: string;
|
|
6
|
-
date_of_birth: string;
|
|
7
|
-
document_number: string;
|
|
8
|
-
document_type: DocumentType;
|
|
9
|
-
email: string;
|
|
10
|
-
first_name: string;
|
|
11
|
-
gender: Gender;
|
|
12
|
-
is_pay_online: boolean;
|
|
13
|
-
key: string;
|
|
14
|
-
note: string;
|
|
15
|
-
payment_status: PaymentStatus;
|
|
16
|
-
phone_number: string;
|
|
17
|
-
total_amount: number;
|
|
18
|
-
transaction: any;
|
|
19
|
-
}
|
|
20
|
-
export interface Booking {
|
|
21
|
-
booking_code: string;
|
|
22
|
-
booking_status: BookingStatus;
|
|
23
|
-
result_status: TestResultStatus;
|
|
24
|
-
created_at: string;
|
|
25
|
-
date_of_birth: string;
|
|
26
|
-
document_number: string;
|
|
27
|
-
document_type: DocumentType;
|
|
28
|
-
address?: string;
|
|
29
|
-
email?: string;
|
|
30
|
-
first_name: string;
|
|
31
|
-
note?: string;
|
|
32
|
-
gender: Gender;
|
|
33
|
-
is_pay_online: boolean;
|
|
34
|
-
key: string;
|
|
35
|
-
payment_status: PaymentStatus;
|
|
36
|
-
phone_number: string;
|
|
37
|
-
transaction?: {
|
|
38
|
-
transaction_id: string;
|
|
39
|
-
transaction_time: string;
|
|
40
|
-
transaction_status: string;
|
|
41
|
-
booking_id: number;
|
|
42
|
-
order_cash: string;
|
|
43
|
-
order_status: number;
|
|
44
|
-
payment_method: number;
|
|
45
|
-
bank_name: string;
|
|
46
|
-
};
|
|
47
|
-
account: BookingAccount;
|
|
48
|
-
services: Array<BookingService>;
|
|
49
|
-
total_amount: number;
|
|
50
|
-
test_result_key?: string;
|
|
51
|
-
data?: {
|
|
52
|
-
is_hbc: boolean;
|
|
53
|
-
planned_test_date?: string;
|
|
54
|
-
supportingInformation?: {
|
|
55
|
-
appointmentSampleCollectionPlace: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
export interface BookingAccount {
|
|
60
|
-
account_code: string;
|
|
61
|
-
name: string;
|
|
62
|
-
phone_number?: string;
|
|
63
|
-
account_segment: AccountSegment;
|
|
64
|
-
}
|
|
65
|
-
export interface BookingService {
|
|
66
|
-
service: BookingServiceDetail;
|
|
67
|
-
}
|
|
68
|
-
export interface BookingServiceDetail {
|
|
69
|
-
test_code: string;
|
|
70
|
-
group: string;
|
|
71
|
-
test_name_en: string;
|
|
72
|
-
test_name_vi: string;
|
|
73
|
-
simple_name_en: string | null;
|
|
74
|
-
simple_name_vi: string | null;
|
|
75
|
-
walkin_price: number;
|
|
76
|
-
simple_cate_en: string;
|
|
77
|
-
simple_cate_vi: string;
|
|
78
|
-
service_type: ServiceType;
|
|
79
|
-
}
|
|
80
|
-
export interface BookingBasicInfoPatient {
|
|
81
|
-
first_name: string;
|
|
82
|
-
date_of_birth: string;
|
|
83
|
-
gender: Gender;
|
|
84
|
-
phone_number: string;
|
|
85
|
-
document_type: DocumentType;
|
|
86
|
-
document_number: string;
|
|
87
|
-
address?: string;
|
|
88
|
-
email?: string;
|
|
89
|
-
}
|
|
90
|
-
export interface BookingBasicInfoDoctor {
|
|
91
|
-
account_code: string;
|
|
92
|
-
name: string;
|
|
93
|
-
phone_number?: string;
|
|
94
|
-
}
|
|
95
|
-
export interface BookingBasicInfoSectionItem {
|
|
96
|
-
icon: string;
|
|
97
|
-
text?: string;
|
|
98
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { TestResultConclusion } from '@/constants/Enums';
|
|
2
|
-
export interface TestResultHistoryCompact {
|
|
3
|
-
test_code: string;
|
|
4
|
-
min_test_value: number;
|
|
5
|
-
max_test_value: number;
|
|
6
|
-
uom_code: string;
|
|
7
|
-
test_name: string;
|
|
8
|
-
latest_test_value: number;
|
|
9
|
-
}
|
|
10
|
-
export interface TestResultHistory {
|
|
11
|
-
test_code: string;
|
|
12
|
-
test_name: string;
|
|
13
|
-
uom_code: string;
|
|
14
|
-
purpose: string;
|
|
15
|
-
charts: HistoryChartDataItem[] | Record<number, HistoryChartDataItem>;
|
|
16
|
-
}
|
|
17
|
-
export interface HistoryChartDataItem {
|
|
18
|
-
value: number;
|
|
19
|
-
original_test_value: string;
|
|
20
|
-
order_date: string;
|
|
21
|
-
is_abnormal: TestResultConclusion;
|
|
22
|
-
reference_range: string;
|
|
23
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|