pat-shared-components 1.0.0-beta-24 → 1.0.0-beta-25
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/index.es.js +205 -213
- package/dist/index.umd.js +5 -5
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -15612,7 +15612,7 @@ const gf = /* @__PURE__ */ yr(VA, [["render", HA]]), zA = { class: "psc-animate-
|
|
|
15612
15612
|
Yt(BA)
|
|
15613
15613
|
]));
|
|
15614
15614
|
}
|
|
15615
|
-
}), KA = { class: "psc-space-y-11 psc-px-4 psc-pb-4" }, ZA = { class: "psc-space-y-6" }, JA = { class: "psc-space-y-1" }, QA = { class: "psc-space-y-4" }, tL = { class: "psc-rounded-lg psc-shadow" }, eL = { class: "psc-relative psc-space-y-6 psc-px-4 psc-pb-4 lg:psc-px-6" },
|
|
15615
|
+
}), KA = { class: "psc-space-y-11 psc-px-4 psc-pb-4" }, ZA = { class: "psc-space-y-6" }, JA = { class: "psc-space-y-1" }, QA = { class: "psc-space-y-4" }, tL = { class: "psc-rounded-lg psc-shadow" }, eL = { class: "psc-relative psc-space-y-6 psc-px-4 psc-pb-4 lg:psc-px-6" }, ZB = /* @__PURE__ */ Qt({
|
|
15616
15616
|
__name: "BookingDetail",
|
|
15617
15617
|
props: {
|
|
15618
15618
|
booking: null,
|
|
@@ -15714,7 +15714,7 @@ const oL = /* @__PURE__ */ yr(nL, [["render", aL]]), lL = { class: "psc-flex psc
|
|
|
15714
15714
|
])
|
|
15715
15715
|
]));
|
|
15716
15716
|
}
|
|
15717
|
-
}), fL = { class: "psc-flex psc-flex-wrap psc-px-4 psc-pb-4" }, pL = { class: "psc-w-full psc-space-y-2 psc-pb-6" }, _L = { class: "psc-w-2/3" }, gL = { class: "psc-rounded-lg psc-shadow" }, mL = { class: "psc-relative psc-space-y-6 psc-px-4 psc-pb-4 lg:psc-px-6" }, vL = { class: "psc-w-1/3 psc-space-y-11 psc-pl-11" },
|
|
15717
|
+
}), fL = { class: "psc-flex psc-flex-wrap psc-px-4 psc-pb-4" }, pL = { class: "psc-w-full psc-space-y-2 psc-pb-6" }, _L = { class: "psc-w-2/3" }, gL = { class: "psc-rounded-lg psc-shadow" }, mL = { class: "psc-relative psc-space-y-6 psc-px-4 psc-pb-4 lg:psc-px-6" }, vL = { class: "psc-w-1/3 psc-space-y-11 psc-pl-11" }, JB = /* @__PURE__ */ Qt({
|
|
15718
15718
|
__name: "BookingDetailDesktop",
|
|
15719
15719
|
props: {
|
|
15720
15720
|
booking: null,
|
|
@@ -15850,14 +15850,14 @@ const Gb = /* @__PURE__ */ yr(OL, [["__scopeId", "data-v-d7274430"]]), AL = { cl
|
|
|
15850
15850
|
])
|
|
15851
15851
|
]));
|
|
15852
15852
|
}
|
|
15853
|
-
}), qb = "19001717",
|
|
15853
|
+
}), qb = "19001717", QB = "customersupport@diag.vn";
|
|
15854
15854
|
var PL = /* @__PURE__ */ ((n) => (n.Locale = "DiagPatientPortalLocale", n))(PL || {});
|
|
15855
|
-
const
|
|
15855
|
+
const tV = {
|
|
15856
15856
|
Container: "pat-container",
|
|
15857
15857
|
MicroTestResult: "pat-micro-test-result"
|
|
15858
|
-
}, tV = {
|
|
15859
|
-
ChangeRoute: "change-route"
|
|
15860
15858
|
}, eV = {
|
|
15859
|
+
ChangeRoute: "change-route"
|
|
15860
|
+
}, nV = {
|
|
15861
15861
|
AccessToken: "pe_access_token"
|
|
15862
15862
|
}, Oi = {
|
|
15863
15863
|
[mn.Morning]: {
|
|
@@ -15890,7 +15890,7 @@ const QB = {
|
|
|
15890
15890
|
])
|
|
15891
15891
|
]));
|
|
15892
15892
|
}
|
|
15893
|
-
}), YL = { class: "test-result-full-patient-info" }, WL = { class: "fullname" }, UL = { key: 0 }, HL = { class: "psc-pr-1" }, zL = { class: "psc-capitalize" }, jL = { class: "more-info" }, GL = { class: "psc-mr-[24px] psc-flex psc-items-center" }, qL = /* @__PURE__ */ Z("i", { class: "dgic-cake" }, null, -1), XL = { class: "psc-flex psc-items-center" }, KL = /* @__PURE__ */ Z("i", { class: "dgic-phone-light" }, null, -1),
|
|
15893
|
+
}), YL = { class: "test-result-full-patient-info" }, WL = { class: "fullname" }, UL = { key: 0 }, HL = { class: "psc-pr-1" }, zL = { class: "psc-capitalize" }, jL = { class: "more-info" }, GL = { class: "psc-mr-[24px] psc-flex psc-items-center" }, qL = /* @__PURE__ */ Z("i", { class: "dgic-cake" }, null, -1), XL = { class: "psc-flex psc-items-center" }, KL = /* @__PURE__ */ Z("i", { class: "dgic-phone-light" }, null, -1), sV = /* @__PURE__ */ Qt({
|
|
15894
15894
|
__name: "PatientFullInfo",
|
|
15895
15895
|
props: {
|
|
15896
15896
|
isGreeting: { type: Boolean, default: !1 },
|
|
@@ -24527,7 +24527,7 @@ const EF = /* @__PURE__ */ Z("div", null, null, -1), SF = {
|
|
|
24527
24527
|
}, DF = { class: "psc-animate-spin" }, MF = {
|
|
24528
24528
|
key: 1,
|
|
24529
24529
|
class: "history-content"
|
|
24530
|
-
},
|
|
24530
|
+
}, rV = /* @__PURE__ */ Qt({
|
|
24531
24531
|
__name: "TestResultHistoryDetailModal",
|
|
24532
24532
|
props: {
|
|
24533
24533
|
modelValue: { type: Boolean },
|
|
@@ -24615,20 +24615,20 @@ const CF = /* @__PURE__ */ Qt({
|
|
|
24615
24615
|
class: ke([{ "psc-cursor-pointer": !t.disabled }, "psc-max-w-[38px]"])
|
|
24616
24616
|
}, [
|
|
24617
24617
|
Z("div", {
|
|
24618
|
-
class: ke(["psc-flex psc-h-[38px] psc-w-[38px] psc-items-center psc-justify-center psc-rounded-full psc-p-2.5", {
|
|
24619
|
-
"psc-border
|
|
24620
|
-
"psc-
|
|
24621
|
-
"
|
|
24622
|
-
"psc-border
|
|
24618
|
+
class: ke(["psc-flex psc-h-[38px] psc-w-[38px] psc-items-center psc-justify-center psc-rounded-full psc-border psc-p-2.5", {
|
|
24619
|
+
"psc-border-black/10 psc-text-black/40": t.disabled,
|
|
24620
|
+
"psc-border-black/[0.25] psc-text-black/[0.85]": !t.disabled,
|
|
24621
|
+
"psc-border-blue-darken-1 psc-bg-[#e6f0fe] psc-text-blue-darken-1": t.selected,
|
|
24622
|
+
"psc-border-blue-darken-1 psc-text-blue-darken-1": it(a) && !t.disabled && !t.selected
|
|
24623
24623
|
}])
|
|
24624
24624
|
}, [
|
|
24625
24625
|
Z("span", null, At(t.value.getDate()), 1)
|
|
24626
24626
|
], 2),
|
|
24627
24627
|
Z("div", {
|
|
24628
24628
|
class: ke(["psc-mt-1 psc-text-center", {
|
|
24629
|
-
"psc-text-black/
|
|
24630
|
-
"psc-text-black/
|
|
24631
|
-
"psc-
|
|
24629
|
+
"psc-text-black/40": t.disabled,
|
|
24630
|
+
"psc-text-black/60": !t.disabled,
|
|
24631
|
+
"psc-text-black/[0.85]": t.selected
|
|
24632
24632
|
}])
|
|
24633
24633
|
}, At(it(e)[t.value.getDay()]), 3)
|
|
24634
24634
|
], 2));
|
|
@@ -24644,7 +24644,7 @@ const CF = /* @__PURE__ */ Qt({
|
|
|
24644
24644
|
const t = n;
|
|
24645
24645
|
return (e, i) => (ut(), yt("div", {
|
|
24646
24646
|
class: ke(["psc-rounded-lg psc-border psc-py-3 psc-text-center psc-font-semibold", {
|
|
24647
|
-
"psc-border-black/
|
|
24647
|
+
"psc-border-black/10 psc-text-black/40": t.disabled,
|
|
24648
24648
|
"psc-cursor-pointer psc-border-black/[0.25] psc-text-black/[0.85]": !t.disabled,
|
|
24649
24649
|
"psc-border-blue-darken-1 psc-bg-[#e6f0fe] !psc-text-blue-darken-1": t.selected
|
|
24650
24650
|
}])
|
|
@@ -24789,14 +24789,14 @@ const AF = { class: "book-appointment psc-space-y-8" }, LF = { class: "psc-flex"
|
|
|
24789
24789
|
onClick: M
|
|
24790
24790
|
}, {
|
|
24791
24791
|
default: cn(() => [
|
|
24792
|
-
As(At(N.$t("psc.
|
|
24792
|
+
As(At(N.$t("psc.confirm")), 1)
|
|
24793
24793
|
]),
|
|
24794
24794
|
_: 1
|
|
24795
24795
|
}, 8, ["disabled"])
|
|
24796
24796
|
]));
|
|
24797
24797
|
}
|
|
24798
24798
|
});
|
|
24799
|
-
const FF = /* @__PURE__ */ yr(RF, [["__scopeId", "data-v-
|
|
24799
|
+
const FF = /* @__PURE__ */ yr(RF, [["__scopeId", "data-v-679c252b"]]), $F = { class: "psc-flex psc-flex-wrap psc-space-y-4 psc-pb-8" }, BF = { class: "psc-w-full psc-text-center" }, VF = { class: "psc-w-full psc-text-center psc-text-xl psc-font-semibold psc-text-black/[0.85]" }, YF = { class: "psc-w-full psc-text-center psc-text-black/[0.6]" }, WF = /* @__PURE__ */ Qt({
|
|
24800
24800
|
__name: "ErrorMessage",
|
|
24801
24801
|
setup(n) {
|
|
24802
24802
|
return (t, e) => (ut(), yt("div", $F, [
|
|
@@ -24828,13 +24828,13 @@ const FF = /* @__PURE__ */ yr(RF, [["__scopeId", "data-v-ae551db4"]]), $F = { cl
|
|
|
24828
24828
|
Z("div", jF, At(a.$t("psc.test_result_have_an_appointment_with_doctor", { date: it(i) })), 1)
|
|
24829
24829
|
]));
|
|
24830
24830
|
}
|
|
24831
|
-
}), qF = { class: "psc-flex-1 psc-text-center psc-font-semibold psc-text-black/[0.85]" },
|
|
24831
|
+
}), qF = /* @__PURE__ */ Z("div", { class: "psc-flex-1" }, null, -1), XF = { class: "psc-flex-auto psc-text-center psc-font-semibold psc-text-black/[0.85]" }, KF = { class: "psc-flex-1 psc-text-right" }, ZF = {
|
|
24832
24832
|
key: 0,
|
|
24833
24833
|
class: "modal-body__content psc-flex psc-items-center psc-justify-center psc-pb-[53px]"
|
|
24834
|
-
},
|
|
24834
|
+
}, JF = { class: "psc-animate-spin" }, QF = {
|
|
24835
24835
|
key: 1,
|
|
24836
24836
|
class: "modal-body__content"
|
|
24837
|
-
},
|
|
24837
|
+
}, aV = /* @__PURE__ */ Qt({
|
|
24838
24838
|
__name: "BookAppointmentModal",
|
|
24839
24839
|
props: {
|
|
24840
24840
|
modelValue: { type: Boolean },
|
|
@@ -24846,26 +24846,21 @@ const FF = /* @__PURE__ */ yr(RF, [["__scopeId", "data-v-ae551db4"]]), $F = { cl
|
|
|
24846
24846
|
},
|
|
24847
24847
|
emits: ["update:modelValue", "book"],
|
|
24848
24848
|
setup(n, { emit: t }) {
|
|
24849
|
-
const e = n, i =
|
|
24850
|
-
null
|
|
24851
|
-
), a = Et({
|
|
24849
|
+
const e = n, i = Et({
|
|
24852
24850
|
get() {
|
|
24853
24851
|
return e.modelValue;
|
|
24854
24852
|
},
|
|
24855
|
-
set(
|
|
24856
|
-
t("update:modelValue",
|
|
24853
|
+
set(h) {
|
|
24854
|
+
t("update:modelValue", h);
|
|
24857
24855
|
}
|
|
24858
|
-
}),
|
|
24859
|
-
|
|
24860
|
-
},
|
|
24861
|
-
|
|
24862
|
-
(g = i.value) == null || g.resetAll();
|
|
24863
|
-
}, f = () => {
|
|
24864
|
-
a.value = !1;
|
|
24856
|
+
}), a = He(""), o = (h) => {
|
|
24857
|
+
a.value = h, t("book", h);
|
|
24858
|
+
}, u = () => {
|
|
24859
|
+
i.value = !1;
|
|
24865
24860
|
};
|
|
24866
|
-
return (
|
|
24867
|
-
modelValue: it(
|
|
24868
|
-
"onUpdate:modelValue":
|
|
24861
|
+
return (h, f) => (ut(), Ie(it(Nw), {
|
|
24862
|
+
modelValue: it(i),
|
|
24863
|
+
"onUpdate:modelValue": f[1] || (f[1] = (g) => Tf(i) ? i.value = g : null),
|
|
24869
24864
|
class: "psc-modal",
|
|
24870
24865
|
fullscreen: ""
|
|
24871
24866
|
}, {
|
|
@@ -24873,16 +24868,13 @@ const FF = /* @__PURE__ */ yr(RF, [["__scopeId", "data-v-ae551db4"]]), $F = { cl
|
|
|
24873
24868
|
Yt(it(Iw), null, {
|
|
24874
24869
|
default: cn(() => [
|
|
24875
24870
|
!e.showSuccess && !e.showError ? (ut(), yt(ts, { key: 0 }, [
|
|
24876
|
-
|
|
24877
|
-
|
|
24878
|
-
onClick: h
|
|
24879
|
-
}, At(g.$t("psc.test_result_reset_all")), 1),
|
|
24880
|
-
Z("div", qF, At(g.$t("psc.test_result_choose_time")), 1)
|
|
24871
|
+
qF,
|
|
24872
|
+
Z("div", XF, At(h.$t("psc.test_result_choose_time")), 1)
|
|
24881
24873
|
], 64)) : ue("", !0),
|
|
24882
|
-
Z("div",
|
|
24874
|
+
Z("div", KF, [
|
|
24883
24875
|
Z("i", {
|
|
24884
|
-
class: "dgic-close-round psc-cursor-pointer psc-text-2xl psc-text-
|
|
24885
|
-
onClick:
|
|
24876
|
+
class: "dgic-close-round psc-cursor-pointer psc-text-2xl psc-text-black/40",
|
|
24877
|
+
onClick: f[0] || (f[0] = (g) => u())
|
|
24886
24878
|
})
|
|
24887
24879
|
])
|
|
24888
24880
|
]),
|
|
@@ -24890,26 +24882,24 @@ const FF = /* @__PURE__ */ yr(RF, [["__scopeId", "data-v-ae551db4"]]), $F = { cl
|
|
|
24890
24882
|
}),
|
|
24891
24883
|
Yt(it(Pw), { class: "modal-body" }, {
|
|
24892
24884
|
default: cn(() => [
|
|
24893
|
-
e.loading ? (ut(), yt("div",
|
|
24894
|
-
Z("div",
|
|
24885
|
+
e.loading ? (ut(), yt("div", ZF, [
|
|
24886
|
+
Z("div", JF, [
|
|
24895
24887
|
Yt(it(ia), {
|
|
24896
24888
|
icon: "dgic-spinner-8",
|
|
24897
24889
|
class: "psc-text-4xl"
|
|
24898
24890
|
})
|
|
24899
24891
|
])
|
|
24900
|
-
])) : (ut(), yt("div",
|
|
24892
|
+
])) : (ut(), yt("div", QF, [
|
|
24901
24893
|
!e.showSuccess && !e.showError ? (ut(), Ie(FF, {
|
|
24902
24894
|
key: 0,
|
|
24903
|
-
ref_key: "bookAppointmentRef",
|
|
24904
|
-
ref: i,
|
|
24905
24895
|
class: "psc-pb-4",
|
|
24906
24896
|
"time-slots": e.timeSlots,
|
|
24907
24897
|
disabled: e.disabled,
|
|
24908
|
-
onBook:
|
|
24898
|
+
onBook: o
|
|
24909
24899
|
}, null, 8, ["time-slots", "disabled"])) : ue("", !0),
|
|
24910
24900
|
e.showSuccess ? (ut(), Ie(GF, {
|
|
24911
24901
|
key: 1,
|
|
24912
|
-
"time-slot":
|
|
24902
|
+
"time-slot": a.value
|
|
24913
24903
|
}, null, 8, ["time-slot"])) : ue("", !0),
|
|
24914
24904
|
e.showError ? (ut(), Ie(WF, { key: 2 })) : ue("", !0)
|
|
24915
24905
|
]))
|
|
@@ -24921,26 +24911,26 @@ const FF = /* @__PURE__ */ yr(RF, [["__scopeId", "data-v-ae551db4"]]), $F = { cl
|
|
|
24921
24911
|
}, 8, ["modelValue"]));
|
|
24922
24912
|
}
|
|
24923
24913
|
});
|
|
24924
|
-
const
|
|
24914
|
+
const t$ = { class: "psc-cursor-pointer psc-rounded-lg psc-p-3 psc-shadow hover:psc-bg-slate-100" }, e$ = { class: "psc-space-y-3" }, n$ = { class: "psc-flex psc-items-center" }, s$ = { class: "psc-flex-initial psc-font-semibold psc-text-blue-darken-1" }, i$ = { class: "psc-flex-auto psc-pl-2 psc-text-sm psc-font-normal psc-text-black/[0.6]" }, r$ = /* @__PURE__ */ Z("div", { class: "!psc-mt-0 psc-flex psc-justify-end" }, [
|
|
24925
24915
|
/* @__PURE__ */ Z("i", { class: "dgic-chevron-right-thin psc-text-2xl psc-leading-3 psc-text-blue-darken-1" })
|
|
24926
|
-
], -1),
|
|
24916
|
+
], -1), a$ = { class: "psc-flex psc-space-x-2" }, o$ = /* @__PURE__ */ Qt({
|
|
24927
24917
|
__name: "BookingListItem",
|
|
24928
24918
|
props: {
|
|
24929
24919
|
item: null
|
|
24930
24920
|
},
|
|
24931
24921
|
setup(n) {
|
|
24932
24922
|
const t = n, { formatDate: e } = vr();
|
|
24933
|
-
return (i, a) => (ut(), yt("div",
|
|
24934
|
-
Z("div",
|
|
24935
|
-
Z("div",
|
|
24936
|
-
Z("div",
|
|
24923
|
+
return (i, a) => (ut(), yt("div", t$, [
|
|
24924
|
+
Z("div", e$, [
|
|
24925
|
+
Z("div", n$, [
|
|
24926
|
+
Z("div", s$, [
|
|
24937
24927
|
Z("span", null, At(t.item.booking_code), 1)
|
|
24938
24928
|
]),
|
|
24939
|
-
Z("div",
|
|
24929
|
+
Z("div", i$, At(it(e)(new Date(t.item.created_at))), 1)
|
|
24940
24930
|
]),
|
|
24941
|
-
|
|
24931
|
+
r$
|
|
24942
24932
|
]),
|
|
24943
|
-
Z("div",
|
|
24933
|
+
Z("div", a$, [
|
|
24944
24934
|
Yt(uE, {
|
|
24945
24935
|
status: t.item.booking_status
|
|
24946
24936
|
}, null, 8, ["status"]),
|
|
@@ -24950,16 +24940,16 @@ const QF = { class: "psc-cursor-pointer psc-rounded-lg psc-p-3 psc-shadow hover:
|
|
|
24950
24940
|
])
|
|
24951
24941
|
]));
|
|
24952
24942
|
}
|
|
24953
|
-
}),
|
|
24954
|
-
function
|
|
24955
|
-
return ut(), yt("div",
|
|
24943
|
+
}), l$ = {}, u$ = { class: "psc-px-4 psc-pb-[30px] psc-text-2xl psc-font-bold psc-text-black/[0.85]" };
|
|
24944
|
+
function c$(n, t) {
|
|
24945
|
+
return ut(), yt("div", u$, [
|
|
24956
24946
|
js(n.$slots, "default")
|
|
24957
24947
|
]);
|
|
24958
24948
|
}
|
|
24959
|
-
const p1 = /* @__PURE__ */ yr(
|
|
24949
|
+
const p1 = /* @__PURE__ */ yr(l$, [["render", c$]]), h$ = { key: 1 }, d$ = { class: "psc-space-y-4 psc-px-4" }, f$ = {
|
|
24960
24950
|
key: 0,
|
|
24961
24951
|
class: "psc-w-full psc-px-4 psc-pt-7 psc-text-center"
|
|
24962
|
-
},
|
|
24952
|
+
}, oV = /* @__PURE__ */ Qt({
|
|
24963
24953
|
__name: "BookingList",
|
|
24964
24954
|
props: {
|
|
24965
24955
|
items: null,
|
|
@@ -24981,15 +24971,15 @@ const p1 = /* @__PURE__ */ yr(o$, [["render", u$]]), c$ = { key: 1 }, h$ = { cla
|
|
|
24981
24971
|
subtitle: u.$t("psc.test_result_message_no_booking_yet"),
|
|
24982
24972
|
"booking-button-url": e.bookingButtonUrl,
|
|
24983
24973
|
class: "psc-content-h-full"
|
|
24984
|
-
}, null, 8, ["title", "subtitle", "booking-button-url"])) : (ut(), yt("div",
|
|
24974
|
+
}, null, 8, ["title", "subtitle", "booking-button-url"])) : (ut(), yt("div", h$, [
|
|
24985
24975
|
Yt(p1, null, {
|
|
24986
24976
|
default: cn(() => [
|
|
24987
24977
|
As(At(it(i)("psc.test_result_all_bookings")), 1)
|
|
24988
24978
|
]),
|
|
24989
24979
|
_: 1
|
|
24990
24980
|
}),
|
|
24991
|
-
Z("div",
|
|
24992
|
-
(ut(!0), yt(ts, null, dr(e.items, (f) => (ut(), Ie(
|
|
24981
|
+
Z("div", d$, [
|
|
24982
|
+
(ut(!0), yt(ts, null, dr(e.items, (f) => (ut(), Ie(o$, {
|
|
24993
24983
|
key: f.booking_code,
|
|
24994
24984
|
item: f,
|
|
24995
24985
|
onClick: (g) => o(f)
|
|
@@ -24998,7 +24988,7 @@ const p1 = /* @__PURE__ */ yr(o$, [["render", u$]]), c$ = { key: 1 }, h$ = { cla
|
|
|
24998
24988
|
key: `item${f}`
|
|
24999
24989
|
}))), 128)) : ue("", !0)
|
|
25000
24990
|
]),
|
|
25001
|
-
e.hideLoadMore ? ue("", !0) : (ut(), yt("div",
|
|
24991
|
+
e.hideLoadMore ? ue("", !0) : (ut(), yt("div", f$, [
|
|
25002
24992
|
Yt(it(nl), {
|
|
25003
24993
|
type: "secondary",
|
|
25004
24994
|
disabled: e.loading,
|
|
@@ -25016,10 +25006,10 @@ const p1 = /* @__PURE__ */ yr(o$, [["render", u$]]), c$ = { key: 1 }, h$ = { cla
|
|
|
25016
25006
|
}
|
|
25017
25007
|
});
|
|
25018
25008
|
var $u = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
25019
|
-
function
|
|
25009
|
+
function p$(n) {
|
|
25020
25010
|
throw new Error('Could not dynamically require "' + n + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
25021
25011
|
}
|
|
25022
|
-
var Tb = {},
|
|
25012
|
+
var Tb = {}, _$ = {
|
|
25023
25013
|
get exports() {
|
|
25024
25014
|
return Tb;
|
|
25025
25015
|
},
|
|
@@ -25455,7 +25445,7 @@ Arguments: ` + Array.prototype.slice.call(I).join("") + `
|
|
|
25455
25445
|
var d;
|
|
25456
25446
|
if (he[l] === void 0 && n && n.exports && l.match("^[^/\\\\]*$") != null)
|
|
25457
25447
|
try {
|
|
25458
|
-
d = oi._abbr,
|
|
25448
|
+
d = oi._abbr, p$("./locale/" + l), Gn(d);
|
|
25459
25449
|
} catch {
|
|
25460
25450
|
he[l] = null;
|
|
25461
25451
|
}
|
|
@@ -26384,20 +26374,20 @@ Arguments: ` + Array.prototype.slice.call(I).join("") + `
|
|
|
26384
26374
|
return (l = l.diff(d, "days", !0)) < -6 ? "sameElse" : l < -1 ? "lastWeek" : l < 0 ? "lastDay" : l < 1 ? "sameDay" : l < 2 ? "nextDay" : l < 7 ? "nextWeek" : "sameElse";
|
|
26385
26375
|
}, i.prototype = w, i.HTML5_FMT = { DATETIME_LOCAL: "YYYY-MM-DDTHH:mm", DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss", DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS", DATE: "YYYY-MM-DD", TIME: "HH:mm", TIME_SECONDS: "HH:mm:ss", TIME_MS: "HH:mm:ss.SSS", WEEK: "GGGG-[W]WW", MONTH: "YYYY-MM" }, i;
|
|
26386
26376
|
});
|
|
26387
|
-
})(
|
|
26388
|
-
const
|
|
26377
|
+
})(_$);
|
|
26378
|
+
const g$ = Tb, qx = (n) => {
|
|
26389
26379
|
const t = "DD/MM/YY HH:mm";
|
|
26390
|
-
return wC(n) ?
|
|
26391
|
-
},
|
|
26380
|
+
return wC(n) ? g$(n).format(t) : n;
|
|
26381
|
+
}, m$ = { class: "psc-flex psc-w-full psc-flex-wrap psc-justify-center psc-space-y-2" }, v$ = {
|
|
26392
26382
|
key: 0,
|
|
26393
26383
|
class: "psc-w-full"
|
|
26394
|
-
},
|
|
26384
|
+
}, y$ = { class: "-psc-mx-0.5 psc-flex psc-flex-wrap psc-text-sm psc-text-black/[0.6]" }, b$ = {
|
|
26395
26385
|
key: 0,
|
|
26396
26386
|
class: "psc-flex-auto psc-px-0.5"
|
|
26397
|
-
},
|
|
26387
|
+
}, k$ = { class: "psc-mr-1" }, x$ = {
|
|
26398
26388
|
key: 1,
|
|
26399
26389
|
class: "psc-flex-auto psc-px-0.5 psc-text-right"
|
|
26400
|
-
},
|
|
26390
|
+
}, w$ = { class: "psc-mr-1" }, E$ = /* @__PURE__ */ Qt({
|
|
26401
26391
|
__name: "ResultReadyV2",
|
|
26402
26392
|
props: {
|
|
26403
26393
|
testResult: null
|
|
@@ -26410,43 +26400,43 @@ const _$ = Tb, qx = (n) => {
|
|
|
26410
26400
|
), o = Et(
|
|
26411
26401
|
() => t.testResult.result_status === Qn.Ready
|
|
26412
26402
|
);
|
|
26413
|
-
return (u, h) => (ut(), yt("div",
|
|
26403
|
+
return (u, h) => (ut(), yt("div", m$, [
|
|
26414
26404
|
Yt(gE, {
|
|
26415
26405
|
status: t.testResult.result_status
|
|
26416
26406
|
}, null, 8, ["status"]),
|
|
26417
|
-
it(i) || it(o) ? (ut(), yt("div",
|
|
26418
|
-
Z("div",
|
|
26419
|
-
it(i) ? (ut(), yt("div",
|
|
26420
|
-
Z("span",
|
|
26407
|
+
it(i) || it(o) ? (ut(), yt("div", v$, [
|
|
26408
|
+
Z("div", y$, [
|
|
26409
|
+
it(i) ? (ut(), yt("div", b$, [
|
|
26410
|
+
Z("span", k$, At(it(e)("psc.test_result_sample_collected")), 1),
|
|
26421
26411
|
Z("span", null, At(it(i)), 1)
|
|
26422
26412
|
])) : ue("", !0),
|
|
26423
|
-
it(o) ? (ut(), yt("div",
|
|
26424
|
-
Z("span",
|
|
26413
|
+
it(o) ? (ut(), yt("div", x$, [
|
|
26414
|
+
Z("span", w$, At(it(e)("psc.test_result_result_ready")), 1),
|
|
26425
26415
|
Z("span", null, At(it(a)), 1)
|
|
26426
26416
|
])) : ue("", !0)
|
|
26427
26417
|
])
|
|
26428
26418
|
])) : ue("", !0)
|
|
26429
26419
|
]));
|
|
26430
26420
|
}
|
|
26431
|
-
}),
|
|
26421
|
+
}), S$ = { class: "psc-flex psc-w-full psc-items-center" }, D$ = { class: "psc-flex-auto" }, M$ = { class: "psc-flex psc-items-center" }, C$ = { class: "psc-font-semibold psc-text-black/[0.85]" }, T$ = { class: "psc-ml-2 psc-rounded-lg psc-bg-[#e6f0fe] psc-px-2 psc-py-1 psc-text-xs psc-font-semibold psc-uppercase psc-text-blue-darken-1" }, O$ = { class: "psc-pt-1 psc-text-sm psc-text-black/[0.6]" }, A$ = { class: "psc-w-full psc-pt-3" }, L$ = /* @__PURE__ */ Qt({
|
|
26432
26422
|
__name: "BookAppointment",
|
|
26433
26423
|
emits: ["click:book"],
|
|
26434
26424
|
setup(n, { emit: t }) {
|
|
26435
26425
|
return (e, i) => (ut(), yt(ts, null, [
|
|
26436
|
-
Z("div",
|
|
26426
|
+
Z("div", S$, [
|
|
26437
26427
|
Yt(it(ia), {
|
|
26438
26428
|
icon: "dgic-doctor-advice-thin",
|
|
26439
26429
|
class: "psc-pr-3 psc-text-[44px] psc-text-blue-darken-1"
|
|
26440
26430
|
}),
|
|
26441
|
-
Z("div",
|
|
26442
|
-
Z("div",
|
|
26443
|
-
Z("div",
|
|
26444
|
-
Z("div",
|
|
26431
|
+
Z("div", D$, [
|
|
26432
|
+
Z("div", M$, [
|
|
26433
|
+
Z("div", C$, At(e.$t("psc.test_result_doctor_appointment")), 1),
|
|
26434
|
+
Z("div", T$, At(e.$t("psc.test_result_free")), 1)
|
|
26445
26435
|
]),
|
|
26446
|
-
Z("div",
|
|
26436
|
+
Z("div", O$, At(e.$t("psc.test_result_more_about_your_results")), 1)
|
|
26447
26437
|
])
|
|
26448
26438
|
]),
|
|
26449
|
-
Z("div",
|
|
26439
|
+
Z("div", A$, [
|
|
26450
26440
|
Yt(it(nl), {
|
|
26451
26441
|
class: "psc-w-full",
|
|
26452
26442
|
type: "secondary",
|
|
@@ -26460,7 +26450,7 @@ const _$ = Tb, qx = (n) => {
|
|
|
26460
26450
|
])
|
|
26461
26451
|
], 64));
|
|
26462
26452
|
}
|
|
26463
|
-
}),
|
|
26453
|
+
}), N$ = { class: "psc-font-semibold psc-text-black/[0.85]" }, I$ = { class: "psc-relative psc-mt-2 psc-pl-2 psc-text-black/[0.85] before:psc-absolute before:psc-left-0 before:psc-h-full before:psc-w-[2px] before:psc-rounded-lg before:psc-bg-blue-darken-1 before:psc-content-['']" }, P$ = /* @__PURE__ */ Qt({
|
|
26464
26454
|
__name: "DoctorNote",
|
|
26465
26455
|
props: {
|
|
26466
26456
|
doctorNote: { default: "" }
|
|
@@ -26469,12 +26459,12 @@ const _$ = Tb, qx = (n) => {
|
|
|
26469
26459
|
const t = n;
|
|
26470
26460
|
return (e, i) => (ut(), yt(ts, null, [
|
|
26471
26461
|
Z("div", null, [
|
|
26472
|
-
Z("span",
|
|
26462
|
+
Z("span", N$, At(e.$t("psc.test_result_note")), 1)
|
|
26473
26463
|
]),
|
|
26474
|
-
Z("div",
|
|
26464
|
+
Z("div", I$, At(t.doctorNote), 1)
|
|
26475
26465
|
], 64));
|
|
26476
26466
|
}
|
|
26477
|
-
}),
|
|
26467
|
+
}), R$ = { class: "psc-flex psc-w-full psc-items-center" }, F$ = { class: "psc-flex-auto" }, $$ = { class: "psc-font-semibold psc-text-black/[0.85]" }, B$ = { class: "psc-pt-1 psc-text-sm psc-text-black/[0.6]" }, V$ = /* @__PURE__ */ Qt({
|
|
26478
26468
|
__name: "UpcomingAppointment",
|
|
26479
26469
|
props: {
|
|
26480
26470
|
timeSlot: null
|
|
@@ -26500,45 +26490,45 @@ const _$ = Tb, qx = (n) => {
|
|
|
26500
26490
|
const O = new Date(t.timeSlot);
|
|
26501
26491
|
return x <= O && O <= M;
|
|
26502
26492
|
};
|
|
26503
|
-
return (f, g) => (ut(), yt("div",
|
|
26493
|
+
return (f, g) => (ut(), yt("div", R$, [
|
|
26504
26494
|
Yt(it(ia), {
|
|
26505
26495
|
icon: "dgic-doctor-advice-thin",
|
|
26506
26496
|
class: "psc-pr-3 psc-text-[44px] psc-text-blue-darken-1"
|
|
26507
26497
|
}),
|
|
26508
|
-
Z("div",
|
|
26509
|
-
Z("div",
|
|
26510
|
-
Z("div",
|
|
26498
|
+
Z("div", F$, [
|
|
26499
|
+
Z("div", $$, At(f.$t("psc.test_result_upcoming_appointment")), 1),
|
|
26500
|
+
Z("div", B$, At(f.$t("psc.test_result_appointment_date", {
|
|
26511
26501
|
date: it(o),
|
|
26512
26502
|
time: it(i) === "vi" ? it(u) : it(u).toLocaleLowerCase()
|
|
26513
26503
|
})), 1)
|
|
26514
26504
|
])
|
|
26515
26505
|
]));
|
|
26516
26506
|
}
|
|
26517
|
-
}),
|
|
26518
|
-
|
|
26507
|
+
}), Y$ = {}, W$ = { class: "psc-space-y-3 psc-rounded-lg psc-p-3 psc-shadow" }, U$ = /* @__PURE__ */ Lf('<div class="psc-h-12 psc-w-full psc-rounded-lg psc-bg-gray-200 dark:psc-bg-gray-400"></div><div class="psc-h-8 psc-w-full psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300"></div><div class="psc-h-8 psc-w-full psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300"></div><div class="psc-h-12 psc-w-full psc-rounded-lg psc-bg-gray-200 dark:psc-bg-gray-400"></div><div class="psc-h-8 psc-w-full psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300"></div><div class="psc-h-8 psc-w-full psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300"></div>', 6), H$ = [
|
|
26508
|
+
U$
|
|
26519
26509
|
];
|
|
26520
|
-
function
|
|
26521
|
-
return ut(), yt("div",
|
|
26510
|
+
function z$(n, t) {
|
|
26511
|
+
return ut(), yt("div", W$, H$);
|
|
26522
26512
|
}
|
|
26523
|
-
const
|
|
26513
|
+
const j$ = /* @__PURE__ */ yr(Y$, [["render", z$]]), G$ = { class: "psc-animate-pulse psc-space-y-4 psc-px-4" }, q$ = { class: "psc-space-y-6" }, X$ = /* @__PURE__ */ Z("div", { class: "psc-space-y-3" }, [
|
|
26524
26514
|
/* @__PURE__ */ Z("div", { class: "psc-h-8 psc-w-[64%] psc-rounded-lg psc-bg-gray-200 dark:psc-bg-gray-400" }),
|
|
26525
26515
|
/* @__PURE__ */ Z("div", { class: "psc-h-5 psc-w-[86%] psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300" })
|
|
26526
|
-
], -1),
|
|
26516
|
+
], -1), K$ = { class: "psc-space-y-4" }, Z$ = /* @__PURE__ */ Z("div", { class: "psc-h-5 psc-w-[24%] psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300" }, null, -1), J$ = /* @__PURE__ */ Qt({
|
|
26527
26517
|
__name: "TestResultDetailSkeleton",
|
|
26528
26518
|
setup(n) {
|
|
26529
|
-
return (t, e) => (ut(), yt("div",
|
|
26530
|
-
Z("div",
|
|
26531
|
-
|
|
26532
|
-
Z("div",
|
|
26519
|
+
return (t, e) => (ut(), yt("div", G$, [
|
|
26520
|
+
Z("div", q$, [
|
|
26521
|
+
X$,
|
|
26522
|
+
Z("div", K$, [
|
|
26533
26523
|
Yt(gf)
|
|
26534
26524
|
])
|
|
26535
26525
|
]),
|
|
26536
|
-
|
|
26537
|
-
Yt(
|
|
26526
|
+
Z$,
|
|
26527
|
+
Yt(j$)
|
|
26538
26528
|
]));
|
|
26539
26529
|
}
|
|
26540
26530
|
});
|
|
26541
|
-
var Cf = {},
|
|
26531
|
+
var Cf = {}, Q$ = {
|
|
26542
26532
|
get exports() {
|
|
26543
26533
|
return Cf;
|
|
26544
26534
|
},
|
|
@@ -30218,10 +30208,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
30218
30208
|
}, Ki = kp();
|
|
30219
30209
|
ms ? ((ms.exports = Ki)._ = Ki, Tn._ = Ki) : ge._ = Ki;
|
|
30220
30210
|
}).call($u);
|
|
30221
|
-
})(
|
|
30222
|
-
const
|
|
30211
|
+
})(Q$, Cf);
|
|
30212
|
+
const tB = { class: "psc-flex-auto psc-px-2 psc-font-semibold" }, eB = { class: "psc-pt-3" }, nB = { key: 0 }, sB = /* @__PURE__ */ Z("div", { class: "psc-flex-initial psc-pr-3 psc-pt-2" }, [
|
|
30223
30213
|
/* @__PURE__ */ Z("div", { class: "psc-h-[6px] psc-w-[6px] psc-rounded-full psc-bg-blue-darken-1" })
|
|
30224
|
-
], -1),
|
|
30214
|
+
], -1), iB = { class: "psc-flex-auto psc-pl-2" }, rB = ["innerHTML"], aB = /* @__PURE__ */ Qt({
|
|
30225
30215
|
__name: "HealthSummary",
|
|
30226
30216
|
props: {
|
|
30227
30217
|
items: { default: () => [] },
|
|
@@ -30238,7 +30228,7 @@ const Q$ = { class: "psc-flex-auto psc-px-2 psc-font-semibold" }, tB = { class:
|
|
|
30238
30228
|
onClick: h[0] || (h[0] = (f) => o())
|
|
30239
30229
|
}, [
|
|
30240
30230
|
Yt(it(ia), { icon: "dgic-stethoscope-thick" }),
|
|
30241
|
-
Z("div",
|
|
30231
|
+
Z("div", tB, At(u.$t("psc.test_result_health_summary")), 1),
|
|
30242
30232
|
Z("i", {
|
|
30243
30233
|
class: ke(["dgic-chevron-down-thin psc-text-2xl psc-transition-transform", { "psc-rotate-180": i.value }])
|
|
30244
30234
|
}, null, 2)
|
|
@@ -30249,15 +30239,15 @@ const Q$ = { class: "psc-flex-auto psc-px-2 psc-font-semibold" }, tB = { class:
|
|
|
30249
30239
|
class: "psc-w-full"
|
|
30250
30240
|
}, {
|
|
30251
30241
|
default: cn(() => [
|
|
30252
|
-
Z("div",
|
|
30253
|
-
it(a) ? (ut(), yt("div",
|
|
30242
|
+
Z("div", eB, [
|
|
30243
|
+
it(a) ? (ut(), yt("div", nB, [
|
|
30254
30244
|
(ut(!0), yt(ts, null, dr(e.items, (f, g) => (ut(), yt("div", {
|
|
30255
30245
|
key: `item${g}`,
|
|
30256
30246
|
class: "psc-flex psc-w-full psc-px-3 psc-py-2"
|
|
30257
30247
|
}, [
|
|
30258
|
-
|
|
30259
|
-
Z("div",
|
|
30260
|
-
Z("div", { innerHTML: f }, null, 8,
|
|
30248
|
+
sB,
|
|
30249
|
+
Z("div", iB, [
|
|
30250
|
+
Z("div", { innerHTML: f }, null, 8, rB)
|
|
30261
30251
|
])
|
|
30262
30252
|
]))), 128))
|
|
30263
30253
|
])) : ue("", !0),
|
|
@@ -30278,18 +30268,18 @@ const Q$ = { class: "psc-flex-auto psc-px-2 psc-font-semibold" }, tB = { class:
|
|
|
30278
30268
|
}, 8, ["modelValue"])
|
|
30279
30269
|
], 64));
|
|
30280
30270
|
}
|
|
30281
|
-
}),
|
|
30282
|
-
function
|
|
30283
|
-
return ut(), yt("div",
|
|
30284
|
-
Z("div",
|
|
30271
|
+
}), oB = {}, lB = { class: "psc-mb-4 psc-w-full psc-px-4" }, uB = { class: "psc-flex psc-flex-wrap psc-rounded-lg psc-border psc-border-gray-lighten-2 psc-p-3 psc-shadow" };
|
|
30272
|
+
function cB(n, t) {
|
|
30273
|
+
return ut(), yt("div", lB, [
|
|
30274
|
+
Z("div", uB, [
|
|
30285
30275
|
js(n.$slots, "default")
|
|
30286
30276
|
])
|
|
30287
30277
|
]);
|
|
30288
30278
|
}
|
|
30289
|
-
const sf = /* @__PURE__ */ yr(
|
|
30279
|
+
const sf = /* @__PURE__ */ yr(oB, [["render", cB]]), hB = {
|
|
30290
30280
|
key: 0,
|
|
30291
30281
|
class: "consumer-test-result__ready"
|
|
30292
|
-
},
|
|
30282
|
+
}, dB = { class: "psc-px-4" }, lV = /* @__PURE__ */ Qt({
|
|
30293
30283
|
__name: "TestResultDetail",
|
|
30294
30284
|
props: {
|
|
30295
30285
|
testResult: null,
|
|
@@ -30323,21 +30313,21 @@ const sf = /* @__PURE__ */ yr(aB, [["render", uB]]), cB = {
|
|
|
30323
30313
|
return e.testResult.remarks && (h = h.concat(e.testResult.remarks.map((f) => f.name))), e.testResult.doctor_note && h.push(e.testResult.doctor_note), h;
|
|
30324
30314
|
});
|
|
30325
30315
|
return (h, f) => (ut(), yt("div", null, [
|
|
30326
|
-
e.loading ? (ut(), Ie(
|
|
30327
|
-
it(i) ? (ut(), yt("div",
|
|
30316
|
+
e.loading ? (ut(), Ie(J$, { key: 0 })) : (ut(), yt(ts, { key: 1 }, [
|
|
30317
|
+
it(i) ? (ut(), yt("div", hB, [
|
|
30328
30318
|
Z("div", null, [
|
|
30329
30319
|
it(o).patientName ? (ut(), Ie(_E, {
|
|
30330
30320
|
key: 0,
|
|
30331
30321
|
"first-name": e.testResult.first_name,
|
|
30332
30322
|
class: "psc-px-4 psc-pb-2"
|
|
30333
30323
|
}, null, 8, ["first-name"])) : ue("", !0),
|
|
30334
|
-
Yt(
|
|
30324
|
+
Yt(E$, {
|
|
30335
30325
|
"test-result": e.testResult,
|
|
30336
30326
|
class: "psc-px-4 psc-pb-4"
|
|
30337
30327
|
}, null, 8, ["test-result"]),
|
|
30338
30328
|
it(o).healthSummary ? (ut(), Ie(sf, { key: 1 }, {
|
|
30339
30329
|
default: cn(() => [
|
|
30340
|
-
Yt(
|
|
30330
|
+
Yt(aB, {
|
|
30341
30331
|
items: it(u),
|
|
30342
30332
|
"cta-button": e.testResult.is_free_consultant,
|
|
30343
30333
|
"onClick:ctaButton": f[0] || (f[0] = (g) => t("click:book-appointment"))
|
|
@@ -30347,7 +30337,7 @@ const sf = /* @__PURE__ */ yr(aB, [["render", uB]]), cB = {
|
|
|
30347
30337
|
})) : ue("", !0),
|
|
30348
30338
|
it(o).bookAppointment ? (ut(), Ie(sf, { key: 2 }, {
|
|
30349
30339
|
default: cn(() => [
|
|
30350
|
-
Yt(
|
|
30340
|
+
Yt(L$, {
|
|
30351
30341
|
"onClick:book": f[1] || (f[1] = (g) => t("click:book-appointment"))
|
|
30352
30342
|
})
|
|
30353
30343
|
]),
|
|
@@ -30355,7 +30345,7 @@ const sf = /* @__PURE__ */ yr(aB, [["render", uB]]), cB = {
|
|
|
30355
30345
|
})) : ue("", !0),
|
|
30356
30346
|
it(o).doctorNote ? (ut(), Ie(sf, { key: 3 }, {
|
|
30357
30347
|
default: cn(() => [
|
|
30358
|
-
Yt(
|
|
30348
|
+
Yt(P$, {
|
|
30359
30349
|
"doctor-note": e.testResult.doctor_note
|
|
30360
30350
|
}, null, 8, ["doctor-note"])
|
|
30361
30351
|
]),
|
|
@@ -30363,14 +30353,14 @@ const sf = /* @__PURE__ */ yr(aB, [["render", uB]]), cB = {
|
|
|
30363
30353
|
})) : ue("", !0),
|
|
30364
30354
|
it(o).upcomingAppointment ? (ut(), Ie(sf, { key: 4 }, {
|
|
30365
30355
|
default: cn(() => [
|
|
30366
|
-
Yt(
|
|
30356
|
+
Yt(V$, {
|
|
30367
30357
|
"time-slot": e.testResult.consult_time
|
|
30368
30358
|
}, null, 8, ["time-slot"])
|
|
30369
30359
|
]),
|
|
30370
30360
|
_: 1
|
|
30371
30361
|
})) : ue("", !0)
|
|
30372
30362
|
]),
|
|
30373
|
-
Z("div",
|
|
30363
|
+
Z("div", dB, [
|
|
30374
30364
|
js(h.$slots, "header"),
|
|
30375
30365
|
it(a) ? ue("", !0) : js(h.$slots, "default", { key: 0 }),
|
|
30376
30366
|
js(h.$slots, "footer")
|
|
@@ -30387,9 +30377,9 @@ const sf = /* @__PURE__ */ yr(aB, [["render", uB]]), cB = {
|
|
|
30387
30377
|
], 64))
|
|
30388
30378
|
]));
|
|
30389
30379
|
}
|
|
30390
|
-
}),
|
|
30380
|
+
}), fB = { class: "psc-cursor-pointer psc-space-y-3 psc-rounded-lg psc-p-3 psc-shadow hover:psc-bg-slate-100" }, pB = { class: "psc-flex psc-items-center" }, _B = { class: "psc-flex-initial psc-font-semibold psc-text-blue-darken-1" }, gB = { class: "psc-flex-auto psc-pl-2 psc-text-black/[0.6]" }, mB = /* @__PURE__ */ Z("div", { class: "psc-flex-initial" }, [
|
|
30391
30381
|
/* @__PURE__ */ Z("i", { class: "dgic-chevron-right-thin psc-text-2xl psc-text-blue-darken-1" })
|
|
30392
|
-
], -1),
|
|
30382
|
+
], -1), vB = { class: "psc-flex" }, yB = { class: "psc-text-sm" }, bB = /* @__PURE__ */ Qt({
|
|
30393
30383
|
__name: "TestResultListItem",
|
|
30394
30384
|
props: {
|
|
30395
30385
|
item: null
|
|
@@ -30427,19 +30417,19 @@ const sf = /* @__PURE__ */ yr(aB, [["render", uB]]), cB = {
|
|
|
30427
30417
|
icon: "dgic-cancel-right-to-left"
|
|
30428
30418
|
}
|
|
30429
30419
|
})[t.item.result_status] || { text: "", cssClass: "", icon: "" });
|
|
30430
|
-
return (o, u) => (ut(), yt("div",
|
|
30431
|
-
Z("div",
|
|
30432
|
-
Z("div",
|
|
30420
|
+
return (o, u) => (ut(), yt("div", fB, [
|
|
30421
|
+
Z("div", pB, [
|
|
30422
|
+
Z("div", _B, [
|
|
30433
30423
|
Z("span", null, At(`${o.$t("psc.test_result_order")} ${t.item.order_id}`), 1)
|
|
30434
30424
|
]),
|
|
30435
|
-
Z("div",
|
|
30436
|
-
|
|
30425
|
+
Z("div", gB, At(it(i)(new Date(t.item.visit_date))), 1),
|
|
30426
|
+
mB
|
|
30437
30427
|
]),
|
|
30438
|
-
Z("div",
|
|
30428
|
+
Z("div", vB, [
|
|
30439
30429
|
Z("div", {
|
|
30440
30430
|
class: ke(["psc-flex psc-items-center psc-font-semibold", it(a).cssClass])
|
|
30441
30431
|
}, [
|
|
30442
|
-
Z("span",
|
|
30432
|
+
Z("span", yB, At(it(a).text), 1),
|
|
30443
30433
|
Yt(it(ia), {
|
|
30444
30434
|
icon: it(a).icon,
|
|
30445
30435
|
class: "psc-ml-1 psc-text-2xl"
|
|
@@ -30448,10 +30438,10 @@ const sf = /* @__PURE__ */ yr(aB, [["render", uB]]), cB = {
|
|
|
30448
30438
|
])
|
|
30449
30439
|
]));
|
|
30450
30440
|
}
|
|
30451
|
-
}),
|
|
30441
|
+
}), kB = { class: "psc-space-y-4 psc-px-4" }, xB = { class: "psc-w-full psc-px-4 psc-pt-7 psc-text-center" }, wB = { key: 1 }, EB = {
|
|
30452
30442
|
key: 0,
|
|
30453
30443
|
class: "psc-px-4 psc-pt-7"
|
|
30454
|
-
},
|
|
30444
|
+
}, uV = /* @__PURE__ */ Qt({
|
|
30455
30445
|
__name: "TestResultList",
|
|
30456
30446
|
props: {
|
|
30457
30447
|
items: null,
|
|
@@ -30482,11 +30472,11 @@ const sf = /* @__PURE__ */ yr(aB, [["render", uB]]), cB = {
|
|
|
30482
30472
|
]),
|
|
30483
30473
|
_: 1
|
|
30484
30474
|
}),
|
|
30485
|
-
Z("div",
|
|
30475
|
+
Z("div", kB, [
|
|
30486
30476
|
(ut(!0), yt(ts, null, dr(e.items, (h, f) => (ut(), yt("div", {
|
|
30487
30477
|
key: `item${f}`
|
|
30488
30478
|
}, [
|
|
30489
|
-
Yt(
|
|
30479
|
+
Yt(bB, {
|
|
30490
30480
|
item: h,
|
|
30491
30481
|
onClick: (g) => a(h)
|
|
30492
30482
|
}, null, 8, ["item", "onClick"])
|
|
@@ -30495,8 +30485,8 @@ const sf = /* @__PURE__ */ yr(aB, [["render", uB]]), cB = {
|
|
|
30495
30485
|
key: `skeleton${h}`
|
|
30496
30486
|
}))), 128)) : ue("", !0)
|
|
30497
30487
|
]),
|
|
30498
|
-
Z("div",
|
|
30499
|
-
e.hideLoadMore ? (ut(), yt("div",
|
|
30488
|
+
Z("div", xB, [
|
|
30489
|
+
e.hideLoadMore ? (ut(), yt("div", wB, At(o.$t("psc.test_result_all_results_loaded")), 1)) : (ut(), Ie(it(nl), {
|
|
30500
30490
|
key: 0,
|
|
30501
30491
|
type: "secondary",
|
|
30502
30492
|
disabled: e.loading,
|
|
@@ -30510,7 +30500,7 @@ const sf = /* @__PURE__ */ yr(aB, [["render", uB]]), cB = {
|
|
|
30510
30500
|
_: 1
|
|
30511
30501
|
}, 8, ["disabled"]))
|
|
30512
30502
|
]),
|
|
30513
|
-
e.ctaButtonUrl ? (ut(), yt("div",
|
|
30503
|
+
e.ctaButtonUrl ? (ut(), yt("div", EB, [
|
|
30514
30504
|
Yt(Gb, {
|
|
30515
30505
|
class: "psc-mt-[20px]",
|
|
30516
30506
|
url: n.ctaButtonUrl,
|
|
@@ -30523,16 +30513,16 @@ const sf = /* @__PURE__ */ yr(aB, [["render", uB]]), cB = {
|
|
|
30523
30513
|
}
|
|
30524
30514
|
}), Xx = () => {
|
|
30525
30515
|
window.open(`tel:${qb}`, "_self");
|
|
30526
|
-
},
|
|
30516
|
+
}, SB = (n) => `${n.slice(0, -6)} ${n.slice(-6, -3)} ${n.slice(
|
|
30527
30517
|
-3
|
|
30528
|
-
)}`,
|
|
30518
|
+
)}`, DB = { class: "psc-px-4" }, MB = {
|
|
30529
30519
|
key: 1,
|
|
30530
30520
|
class: "psc-mb-[20px] psc-flex"
|
|
30531
|
-
},
|
|
30521
|
+
}, CB = /* @__PURE__ */ Z("div", { class: "psc-mr-[16px] psc-h-[60px] psc-w-[60px] psc-min-w-[60px] psc-overflow-hidden psc-rounded-full psc-border-[1px] psc-border-solid psc-border-[#00000019]" }, [
|
|
30532
30522
|
/* @__PURE__ */ Z("i", { class: "dgic-user-circle psc-text-[60px] psc-text-[#00000019]" })
|
|
30533
|
-
], -1),
|
|
30523
|
+
], -1), TB = { class: "psc-text-[14px]" }, OB = { class: "psc-mb-[12px] psc-text-[20px] psc-font-[600]" }, AB = { class: "psc-mb-[8px] psc-flex psc-items-center" }, LB = /* @__PURE__ */ Z("i", { class: "dgic-cake psc-mr-1 psc-text-[22px] psc-font-bold" }, null, -1), NB = { class: "psc-mb-[8px] psc-flex psc-items-center" }, IB = /* @__PURE__ */ Z("i", { class: "dgic-phone-light psc-mr-1 psc-text-[22px]" }, null, -1), PB = { class: "psc-mb-[8px] psc-flex psc-items-center" }, RB = { class: "psc-mb-[35px] psc-flex psc-rounded-[8px] psc-bg-[#e6f0fe] psc-px-[16px] psc-py-[20px]" }, FB = /* @__PURE__ */ Z("div", { class: "items-start psc-mr-[8px] psc-flex" }, [
|
|
30534
30524
|
/* @__PURE__ */ Z("i", { class: "dgic-info-fill psc-text-[24px] psc-text-blue-darken-1" })
|
|
30535
|
-
], -1),
|
|
30525
|
+
], -1), $B = ["innerHTML"], cV = /* @__PURE__ */ Qt({
|
|
30536
30526
|
__name: "MyProfile",
|
|
30537
30527
|
props: {
|
|
30538
30528
|
fullName: null,
|
|
@@ -30556,7 +30546,7 @@ const sf = /* @__PURE__ */ yr(aB, [["render", uB]]), cB = {
|
|
|
30556
30546
|
icon: "",
|
|
30557
30547
|
text: ""
|
|
30558
30548
|
}), h = Et(
|
|
30559
|
-
() => t.phoneNumber ?
|
|
30549
|
+
() => t.phoneNumber ? SB(t.phoneNumber) : ""
|
|
30560
30550
|
);
|
|
30561
30551
|
return (f, g) => (ut(), yt("div", null, [
|
|
30562
30552
|
Yt(p1, null, {
|
|
@@ -30565,23 +30555,23 @@ const sf = /* @__PURE__ */ yr(aB, [["render", uB]]), cB = {
|
|
|
30565
30555
|
]),
|
|
30566
30556
|
_: 1
|
|
30567
30557
|
}),
|
|
30568
|
-
Z("div",
|
|
30558
|
+
Z("div", DB, [
|
|
30569
30559
|
t.loading ? (ut(), Ie(jb, {
|
|
30570
30560
|
key: 0,
|
|
30571
30561
|
class: "psc-mb-[20px] psc-pb-16"
|
|
30572
|
-
})) : (ut(), yt("div",
|
|
30573
|
-
|
|
30574
|
-
Z("div",
|
|
30575
|
-
Z("div",
|
|
30576
|
-
Z("div",
|
|
30577
|
-
|
|
30562
|
+
})) : (ut(), yt("div", MB, [
|
|
30563
|
+
CB,
|
|
30564
|
+
Z("div", TB, [
|
|
30565
|
+
Z("div", OB, At(it(a)), 1),
|
|
30566
|
+
Z("div", AB, [
|
|
30567
|
+
LB,
|
|
30578
30568
|
As(" " + At(it(o)), 1)
|
|
30579
30569
|
]),
|
|
30580
|
-
Z("div",
|
|
30581
|
-
|
|
30570
|
+
Z("div", NB, [
|
|
30571
|
+
IB,
|
|
30582
30572
|
As(" " + At(it(h)), 1)
|
|
30583
30573
|
]),
|
|
30584
|
-
Z("div",
|
|
30574
|
+
Z("div", PB, [
|
|
30585
30575
|
Z("i", {
|
|
30586
30576
|
class: ke(["psc-mr-1 psc-text-[22px]", it(u).icon])
|
|
30587
30577
|
}, null, 2),
|
|
@@ -30589,11 +30579,11 @@ const sf = /* @__PURE__ */ yr(aB, [["render", uB]]), cB = {
|
|
|
30589
30579
|
])
|
|
30590
30580
|
])
|
|
30591
30581
|
])),
|
|
30592
|
-
Z("div",
|
|
30593
|
-
|
|
30582
|
+
Z("div", RB, [
|
|
30583
|
+
FB,
|
|
30594
30584
|
Z("div", {
|
|
30595
30585
|
innerHTML: it(e)("psc.test_result_if_you_wish_to_edit_your_profile")
|
|
30596
|
-
}, null, 8,
|
|
30586
|
+
}, null, 8, $B)
|
|
30597
30587
|
]),
|
|
30598
30588
|
t.ctaButtonUrl ? (ut(), Ie(Gb, {
|
|
30599
30589
|
key: 2,
|
|
@@ -30606,27 +30596,27 @@ const sf = /* @__PURE__ */ yr(aB, [["render", uB]]), cB = {
|
|
|
30606
30596
|
]));
|
|
30607
30597
|
}
|
|
30608
30598
|
});
|
|
30609
|
-
const
|
|
30599
|
+
const BB = { class: "call-us-text-button" }, VB = /* @__PURE__ */ Z("i", { class: "dgic-phone-light psc-mr-1" }, null, -1), YB = { class: "diag-opening-time" }, hV = /* @__PURE__ */ Qt({
|
|
30610
30600
|
__name: "CallUsTextButton",
|
|
30611
30601
|
setup(n) {
|
|
30612
30602
|
const { t } = es();
|
|
30613
|
-
return (e, i) => (ut(), yt("div",
|
|
30603
|
+
return (e, i) => (ut(), yt("div", BB, [
|
|
30614
30604
|
Z("div", {
|
|
30615
30605
|
class: "diag-phone-number",
|
|
30616
30606
|
onClick: i[0] || (i[0] = //@ts-ignore
|
|
30617
30607
|
(...a) => it(Xx) && it(Xx)(...a))
|
|
30618
30608
|
}, [
|
|
30619
|
-
|
|
30609
|
+
VB,
|
|
30620
30610
|
Z("span", null, At(it(qb)), 1)
|
|
30621
30611
|
]),
|
|
30622
|
-
Z("div",
|
|
30612
|
+
Z("div", YB, At(it(t)("psc.test_result_time_support")), 1)
|
|
30623
30613
|
]));
|
|
30624
30614
|
}
|
|
30625
30615
|
});
|
|
30626
|
-
const
|
|
30616
|
+
const WB = { class: "result-ready" }, UB = { class: "result-ready__title" }, HB = { class: "result-ready__date" }, zB = {
|
|
30627
30617
|
key: 0,
|
|
30628
30618
|
class: "result-ready__date"
|
|
30629
|
-
},
|
|
30619
|
+
}, dV = /* @__PURE__ */ Qt({
|
|
30630
30620
|
__name: "ResultReady",
|
|
30631
30621
|
props: {
|
|
30632
30622
|
testResult: null
|
|
@@ -30651,17 +30641,18 @@ const YB = { class: "result-ready" }, WB = { class: "result-ready__title" }, UB
|
|
|
30651
30641
|
return "";
|
|
30652
30642
|
}
|
|
30653
30643
|
});
|
|
30654
|
-
return (f, g) => (ut(), yt("div",
|
|
30655
|
-
Z("span",
|
|
30656
|
-
Z("div",
|
|
30657
|
-
it(u) ? (ut(), yt("div",
|
|
30644
|
+
return (f, g) => (ut(), yt("div", WB, [
|
|
30645
|
+
Z("span", UB, At(it(h)), 1),
|
|
30646
|
+
Z("div", HB, At(it(e)("psc.test_result_sample_collected_on")) + " " + At(`${it(a)}.`), 1),
|
|
30647
|
+
it(u) ? (ut(), yt("div", zB, At(it(e)("psc.test_result_result_released_on")) + " " + At(`${it(o)}.`), 1)) : ue("", !0)
|
|
30658
30648
|
]));
|
|
30659
30649
|
}
|
|
30660
30650
|
});
|
|
30661
|
-
const
|
|
30651
|
+
const jB = {
|
|
30662
30652
|
gender: "Giới tính",
|
|
30663
30653
|
male: "Nam",
|
|
30664
30654
|
female: "Nữ",
|
|
30655
|
+
confirm: "Xác nhận",
|
|
30665
30656
|
test_result_my_profile: "Hồ sơ của tôi",
|
|
30666
30657
|
test_result_if_you_wish_to_edit_your_profile: 'Nếu cần thay đổi thông tin cá nhân, bạn vui lòng <a href="tel:1900 1717" class="contact-support">liên hệ hỗ trợ</a>',
|
|
30667
30658
|
test_result_view_my_bookings: "Xem lịch hẹn của tôi",
|
|
@@ -30708,7 +30699,7 @@ const zB = {
|
|
|
30708
30699
|
test_result_doctor_appointment: "Giải thích kết quả",
|
|
30709
30700
|
test_result_free: "Miễn phí",
|
|
30710
30701
|
test_result_more_about_your_results: "Hiểu rõ hơn về kết quả của bạn",
|
|
30711
|
-
test_result_choose_time: "
|
|
30702
|
+
test_result_choose_time: "Đặt cuộc hẹn",
|
|
30712
30703
|
test_result_reset_all: "Chọn lại",
|
|
30713
30704
|
test_result_opening_slots: "Chọn giờ",
|
|
30714
30705
|
test_result_book_appointment: "Đặt hẹn nhận cuộc gọi",
|
|
@@ -30768,12 +30759,13 @@ const zB = {
|
|
|
30768
30759
|
test_result_health_summary: "Tóm tắt sức khoẻ sơ bộ",
|
|
30769
30760
|
test_result_have_questions: "Đặt cuộc gọi tư vấn",
|
|
30770
30761
|
test_result_appointment_date: "{time} ngày {date}"
|
|
30771
|
-
}, jB = {
|
|
30772
|
-
psc: zB
|
|
30773
30762
|
}, GB = {
|
|
30763
|
+
psc: jB
|
|
30764
|
+
}, qB = {
|
|
30774
30765
|
gender: "Gender",
|
|
30775
30766
|
male: "Male",
|
|
30776
30767
|
female: "Female",
|
|
30768
|
+
confirm: "Confirm",
|
|
30777
30769
|
test_result_my_profile: "Hồ sơ của tôi",
|
|
30778
30770
|
test_result_if_you_wish_to_edit_your_profile: 'If you wish to edit your profile, please <a href="tel:1900 1717" class="contact-support">contact support</a>',
|
|
30779
30771
|
test_result_view_my_bookings: "View my bookings",
|
|
@@ -30820,7 +30812,7 @@ const zB = {
|
|
|
30820
30812
|
test_result_doctor_appointment: "Lab tests explanation",
|
|
30821
30813
|
test_result_free: "Free",
|
|
30822
30814
|
test_result_more_about_your_results: "Find out more about your resutls",
|
|
30823
|
-
test_result_choose_time: "
|
|
30815
|
+
test_result_choose_time: "Book your appointment",
|
|
30824
30816
|
test_result_reset_all: "Reset all",
|
|
30825
30817
|
test_result_opening_slots: "Opening slots",
|
|
30826
30818
|
test_result_book_appointment: "Book a call",
|
|
@@ -30880,60 +30872,60 @@ const zB = {
|
|
|
30880
30872
|
test_result_health_summary: "Health summary",
|
|
30881
30873
|
test_result_have_questions: "Book a consult call",
|
|
30882
30874
|
test_result_appointment_date: "{date} in the {time}"
|
|
30883
|
-
},
|
|
30884
|
-
psc:
|
|
30885
|
-
},
|
|
30875
|
+
}, XB = {
|
|
30876
|
+
psc: qB
|
|
30877
|
+
}, fV = {
|
|
30886
30878
|
install: (n, t) => {
|
|
30887
30879
|
if (t != null && t.i18n) {
|
|
30888
30880
|
const { mergeLocaleMessage: e } = t.i18n.global;
|
|
30889
|
-
e("vi",
|
|
30881
|
+
e("vi", GB), e("en", XB);
|
|
30890
30882
|
}
|
|
30891
30883
|
}
|
|
30892
30884
|
};
|
|
30893
30885
|
export {
|
|
30894
30886
|
Fw as AccountSegment,
|
|
30895
30887
|
FF as BookAppointment,
|
|
30896
|
-
|
|
30897
|
-
|
|
30898
|
-
|
|
30899
|
-
|
|
30900
|
-
|
|
30888
|
+
aV as BookAppointmentModal,
|
|
30889
|
+
ZB as BookingDetail,
|
|
30890
|
+
JB as BookingDetailDesktop,
|
|
30891
|
+
oV as BookingList,
|
|
30892
|
+
o$ as BookingListItem,
|
|
30901
30893
|
Ks as BookingStatus,
|
|
30902
30894
|
uf as BottomCursedType,
|
|
30903
30895
|
VL as CallUsFilledButton,
|
|
30904
|
-
|
|
30905
|
-
|
|
30896
|
+
hV as CallUsTextButton,
|
|
30897
|
+
nV as CookieName,
|
|
30906
30898
|
Gb as CtaButton,
|
|
30907
30899
|
Oi as DayPartDuration,
|
|
30908
30900
|
mn as DayPartType,
|
|
30909
30901
|
id as DocumentType,
|
|
30910
|
-
|
|
30911
|
-
|
|
30902
|
+
tV as EventBusName,
|
|
30903
|
+
eV as EventType,
|
|
30912
30904
|
xd as Gender,
|
|
30913
30905
|
jb as LoadingSkeleton,
|
|
30914
30906
|
PL as LsKey,
|
|
30915
|
-
|
|
30907
|
+
cV as MyProfile,
|
|
30916
30908
|
kE as NoItemsFound,
|
|
30917
|
-
|
|
30909
|
+
sV as PatientFullInfo,
|
|
30918
30910
|
lr as PaymentStatus,
|
|
30919
30911
|
sN as RejectedResult,
|
|
30920
|
-
|
|
30912
|
+
dV as ResultReady,
|
|
30921
30913
|
sT as ResultSegmentNormalType,
|
|
30922
30914
|
iT as ResultSegmentValueOPR,
|
|
30923
30915
|
nT as ResultType,
|
|
30924
30916
|
lf as ServiceType,
|
|
30925
|
-
|
|
30917
|
+
QB as SupportEmail,
|
|
30926
30918
|
qb as SupportPhone,
|
|
30927
30919
|
Oo as TestResultConclusion,
|
|
30928
|
-
|
|
30920
|
+
lV as TestResultDetail,
|
|
30929
30921
|
wF as TestResultHistoryDetail,
|
|
30930
|
-
|
|
30931
|
-
|
|
30932
|
-
|
|
30922
|
+
rV as TestResultHistoryDetailModal,
|
|
30923
|
+
uV as TestResultList,
|
|
30924
|
+
bB as TestResultListItem,
|
|
30933
30925
|
Qn as TestResultStatus,
|
|
30934
30926
|
Rw as TestResultTemplate,
|
|
30935
30927
|
eT as TestStatus,
|
|
30936
|
-
|
|
30937
|
-
|
|
30938
|
-
|
|
30928
|
+
fV as default,
|
|
30929
|
+
XB as en,
|
|
30930
|
+
GB as vi
|
|
30939
30931
|
};
|