pat-shared-components 0.1.0-beta.14 → 0.1.0-beta.15
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 +161 -158
- package/dist/index.umd.js +5 -5
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var ED = Object.defineProperty;
|
|
2
2
|
var SD = (i, t, e) => t in i ? ED(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
3
|
var Xt = (i, t, e) => (SD(i, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
-
import { openBlock as Mt, createElementBlock as Pt, pushScopeId as tl, popScopeId as el, createElementVNode as et, defineComponent as $e, toDisplayString as Lt, createCommentVNode as fn, h as mx, getCurrentInstance as Gu, inject as Xu, onMounted as fb, onUnmounted as vx, shallowRef as yx, ref as Dn, computed as Nt, onBeforeMount as bx, watch as ld, Fragment as
|
|
4
|
+
import { openBlock as Mt, createElementBlock as Pt, pushScopeId as tl, popScopeId as el, createElementVNode as et, defineComponent as $e, toDisplayString as Lt, createCommentVNode as fn, h as mx, getCurrentInstance as Gu, inject as Xu, onMounted as fb, onUnmounted as vx, shallowRef as yx, ref as Dn, computed as Nt, onBeforeMount as bx, watch as ld, Fragment as ur, createVNode as sn, Text as kx, unref as gt, normalizeStyle as MD, normalizeClass as rn, renderSlot as cr, withDirectives as ff, isRef as db, vModelRadio as CD, vModelCheckbox as TD, createBlock as xs, vShow as My, Teleport as OD, renderList as Ro, onBeforeUnmount as AD, createTextVNode as Zr, withCtx as lr, provide as Af } from "vue";
|
|
5
5
|
const fr = (i, t) => {
|
|
6
6
|
const e = i.__vccOpts || i;
|
|
7
7
|
for (const [s, a] of t)
|
|
@@ -2076,7 +2076,7 @@ function kS({ slots: i }, t) {
|
|
|
2076
2076
|
}, {});
|
|
2077
2077
|
}
|
|
2078
2078
|
function Hx(i) {
|
|
2079
|
-
return
|
|
2079
|
+
return ur;
|
|
2080
2080
|
}
|
|
2081
2081
|
Wi({
|
|
2082
2082
|
keypath: {
|
|
@@ -13754,13 +13754,13 @@ const IT = /* @__PURE__ */ $e({
|
|
|
13754
13754
|
return (e, s) => (Mt(), Pt("span", {
|
|
13755
13755
|
class: rn(t.icon)
|
|
13756
13756
|
}, [
|
|
13757
|
-
(Mt(!0), Pt(
|
|
13757
|
+
(Mt(!0), Pt(ur, null, Ro(t.iconPathCount, (a) => (Mt(), Pt("span", {
|
|
13758
13758
|
key: `path${a}`,
|
|
13759
13759
|
class: rn(`path${a}`)
|
|
13760
13760
|
}, null, 2))), 128))
|
|
13761
13761
|
], 2));
|
|
13762
13762
|
}
|
|
13763
|
-
}), PT = { class: "test-result-full-patient-info" }, RT = { class: "fullname" }, FT = { key: 0 }, VT = { class: "more-info" }, YT = { class: "psc-flex psc-items-center psc-mr-[24px]" }, $T = /* @__PURE__ */ et("i", { class: "dgic-cake" }, null, -1), BT = { class: "psc-flex psc-items-center" }, WT = /* @__PURE__ */ et("i", { class: "dgic-phone-light" }, null, -1),
|
|
13763
|
+
}), PT = { class: "test-result-full-patient-info" }, RT = { class: "fullname" }, FT = { key: 0 }, VT = { class: "more-info" }, YT = { class: "psc-flex psc-items-center psc-mr-[24px]" }, $T = /* @__PURE__ */ et("i", { class: "dgic-cake" }, null, -1), BT = { class: "psc-flex psc-items-center" }, WT = /* @__PURE__ */ et("i", { class: "dgic-phone-light" }, null, -1), pF = /* @__PURE__ */ $e({
|
|
13764
13764
|
__name: "PatientFullInfo",
|
|
13765
13765
|
props: {
|
|
13766
13766
|
isGreeting: { type: Boolean, default: !1 },
|
|
@@ -13884,19 +13884,19 @@ function So(i) {
|
|
|
13884
13884
|
function Z1(i) {
|
|
13885
13885
|
return Ho(Cf(i * 100), 0, 100);
|
|
13886
13886
|
}
|
|
13887
|
-
const
|
|
13887
|
+
const or = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15 }, qy = [..."0123456789ABCDEF"], aO = (i) => qy[i & 15], oO = (i) => qy[(i & 240) >> 4] + qy[i & 15], Pf = (i) => (i & 240) >> 4 === (i & 15), lO = (i) => Pf(i.r) && Pf(i.g) && Pf(i.b) && Pf(i.a);
|
|
13888
13888
|
function uO(i) {
|
|
13889
13889
|
var t = i.length, e;
|
|
13890
13890
|
return i[0] === "#" && (t === 4 || t === 5 ? e = {
|
|
13891
|
-
r: 255 &
|
|
13892
|
-
g: 255 &
|
|
13893
|
-
b: 255 &
|
|
13894
|
-
a: t === 5 ?
|
|
13891
|
+
r: 255 & or[i[1]] * 17,
|
|
13892
|
+
g: 255 & or[i[2]] * 17,
|
|
13893
|
+
b: 255 & or[i[3]] * 17,
|
|
13894
|
+
a: t === 5 ? or[i[4]] * 17 : 255
|
|
13895
13895
|
} : (t === 7 || t === 9) && (e = {
|
|
13896
|
-
r:
|
|
13897
|
-
g:
|
|
13898
|
-
b:
|
|
13899
|
-
a: t === 9 ?
|
|
13896
|
+
r: or[i[1]] << 4 | or[i[2]],
|
|
13897
|
+
g: or[i[3]] << 4 | or[i[4]],
|
|
13898
|
+
b: or[i[5]] << 4 | or[i[6]],
|
|
13899
|
+
a: t === 9 ? or[i[7]] << 4 | or[i[8]] : 255
|
|
13900
13900
|
})), e;
|
|
13901
13901
|
}
|
|
13902
13902
|
const cO = (i, t) => i < 255 ? t(i) : "";
|
|
@@ -24267,7 +24267,7 @@ ${K(
|
|
|
24267
24267
|
disabled: d.value.no === 0,
|
|
24268
24268
|
onClick: U
|
|
24269
24269
|
}, {
|
|
24270
|
-
default:
|
|
24270
|
+
default: lr(() => [
|
|
24271
24271
|
yI
|
|
24272
24272
|
]),
|
|
24273
24273
|
_: 1
|
|
@@ -24279,7 +24279,7 @@ ${K(
|
|
|
24279
24279
|
disabled: d.value.no >= gt(f) - 1,
|
|
24280
24280
|
onClick: I
|
|
24281
24281
|
}, {
|
|
24282
|
-
default:
|
|
24282
|
+
default: lr(() => [
|
|
24283
24283
|
bI
|
|
24284
24284
|
]),
|
|
24285
24285
|
_: 1
|
|
@@ -24308,7 +24308,7 @@ const SI = /* @__PURE__ */ fr(EI, [["__scopeId", "data-v-15ec0f30"]]), MI = /* @
|
|
|
24308
24308
|
}, TI = { class: "psc-animate-spin" }, OI = {
|
|
24309
24309
|
key: 1,
|
|
24310
24310
|
class: "history-content"
|
|
24311
|
-
},
|
|
24311
|
+
}, gF = /* @__PURE__ */ $e({
|
|
24312
24312
|
__name: "TestResultHistoryDetailModal",
|
|
24313
24313
|
props: {
|
|
24314
24314
|
modelValue: { type: Boolean },
|
|
@@ -24332,9 +24332,9 @@ const SI = /* @__PURE__ */ fr(EI, [["__scopeId", "data-v-15ec0f30"]]), MI = /* @
|
|
|
24332
24332
|
"onUpdate:modelValue": c[1] || (c[1] = (f) => db(s) ? s.value = f : null),
|
|
24333
24333
|
class: "modal-risk"
|
|
24334
24334
|
}, {
|
|
24335
|
-
default:
|
|
24335
|
+
default: lr(() => [
|
|
24336
24336
|
sn(gt(DT), { class: "psc-pb-0" }, {
|
|
24337
|
-
default:
|
|
24337
|
+
default: lr(() => [
|
|
24338
24338
|
MI,
|
|
24339
24339
|
et("div", null, [
|
|
24340
24340
|
et("i", {
|
|
@@ -24346,7 +24346,7 @@ const SI = /* @__PURE__ */ fr(EI, [["__scopeId", "data-v-15ec0f30"]]), MI = /* @
|
|
|
24346
24346
|
_: 1
|
|
24347
24347
|
}),
|
|
24348
24348
|
sn(gt(CT), { class: "modal-content psc-py-0 psc-px-4" }, {
|
|
24349
|
-
default:
|
|
24349
|
+
default: lr(() => [
|
|
24350
24350
|
e.loading ? (Mt(), Pt("div", CI, [
|
|
24351
24351
|
et("div", TI, [
|
|
24352
24352
|
sn(gt(dd), {
|
|
@@ -24506,10 +24506,10 @@ const tP = /* @__PURE__ */ fr(JI, [["__scopeId", "data-v-7aeb0d64"]]), eP = (i)
|
|
|
24506
24506
|
), c = Nt(() => s ? s.note : "");
|
|
24507
24507
|
return (f, d) => (Mt(), Pt("div", nP, [
|
|
24508
24508
|
et("div", iP, Lt(gt(t)("psc.test_result_booking_detail_test_list")), 1),
|
|
24509
|
-
(Mt(!0), Pt(
|
|
24509
|
+
(Mt(!0), Pt(ur, null, Ro(Object.keys(gt(a)), (_) => (Mt(), Pt(ur, { key: _ }, [
|
|
24510
24510
|
gt(a)[_].length ? (Mt(), Pt("div", sP, [
|
|
24511
24511
|
et("div", rP, Lt(gt(t)(`psc.test_result_booking_detail_${_}`)), 1),
|
|
24512
|
-
(Mt(!0), Pt(
|
|
24512
|
+
(Mt(!0), Pt(ur, null, Ro(gt(a)[_], (b, E) => (Mt(), Pt("div", {
|
|
24513
24513
|
key: `${_}_${E}`,
|
|
24514
24514
|
class: "psc-mt-[12px] psc-text-[14px] psc-items-start test-name psc-flex test-item"
|
|
24515
24515
|
}, [
|
|
@@ -24601,7 +24601,10 @@ const wP = { class: "psc-p-[16px] psc-rounded booking-number" }, DP = { class: "
|
|
|
24601
24601
|
]));
|
|
24602
24602
|
}
|
|
24603
24603
|
});
|
|
24604
|
-
const TP = /* @__PURE__ */ fr(CP, [["__scopeId", "data-v-045c6e62"]]), OP = (i) => (tl("data-v-
|
|
24604
|
+
const TP = /* @__PURE__ */ fr(CP, [["__scopeId", "data-v-045c6e62"]]), OP = (i) => (tl("data-v-6893953e"), i = i(), el(), i), AP = { class: "psc-px-4 psc-mb-6" }, LP = /* @__PURE__ */ OP(() => /* @__PURE__ */ et("i", { class: "dgic-chevron-left-thin psc-text-lg" }, null, -1)), NP = { class: "psc-text-sm psc-ml-1" }, IP = {
|
|
24605
|
+
key: 1,
|
|
24606
|
+
class: "psc-px-4 psc-pb-4"
|
|
24607
|
+
}, PP = { class: "psc-text-[rgba(0, 0, 0, 0.85)] psc-text-[24px] psc-mb-[30px] psc-font-bold" }, RP = { class: "psc-grid psc-grid-cols-12 2xl:psc-gap-[100px] xl:psc-gap-[100px] lg:psc-gap-[100px]" }, FP = { class: "psc-col-span-12 lg:psc-col-span-7" }, VP = { class: "booking-left-col psc-relative" }, YP = { class: "psc-col-span-12 lg:psc-col-span-5 psc-mt-[32px] lg:psc-mt-[0px] psc-divide-y psc-divide-[#e9ecef]" }, $P = /* @__PURE__ */ $e({
|
|
24605
24608
|
__name: "BookingDetail",
|
|
24606
24609
|
props: {
|
|
24607
24610
|
bookingDetail: null,
|
|
@@ -24629,17 +24632,17 @@ const TP = /* @__PURE__ */ fr(CP, [["__scopeId", "data-v-045c6e62"]]), OP = (i)
|
|
|
24629
24632
|
et("span", NP, Lt(c.$t("psc.test_result_booking_detail_back_to_all_bookings")), 1)
|
|
24630
24633
|
])
|
|
24631
24634
|
]),
|
|
24632
|
-
i.bookingDetail.booking_code ? (Mt(), Pt(
|
|
24633
|
-
et("div",
|
|
24634
|
-
et("div",
|
|
24635
|
-
et("div",
|
|
24636
|
-
et("div",
|
|
24635
|
+
i.bookingDetail.booking_code ? (Mt(), Pt("div", IP, [
|
|
24636
|
+
et("div", PP, Lt(c.$t("psc.test_result_booking_detail")), 1),
|
|
24637
|
+
et("div", RP, [
|
|
24638
|
+
et("div", FP, [
|
|
24639
|
+
et("div", VP, [
|
|
24637
24640
|
sn(GI, { class: "psc-pb-[123px]" }),
|
|
24638
24641
|
sn(TP, { class: "psc-absolute psc-booking-number" }),
|
|
24639
24642
|
sn(_P, { class: "psc-mt-[44px]" })
|
|
24640
24643
|
])
|
|
24641
24644
|
]),
|
|
24642
|
-
et("div",
|
|
24645
|
+
et("div", YP, [
|
|
24643
24646
|
sn(tP, {
|
|
24644
24647
|
class: "psc-pb-[32px]",
|
|
24645
24648
|
"onClick:findBranch": f[1] || (f[1] = (d) => t("click:find-branch"))
|
|
@@ -24647,7 +24650,7 @@ const TP = /* @__PURE__ */ fr(CP, [["__scopeId", "data-v-045c6e62"]]), OP = (i)
|
|
|
24647
24650
|
sn(xP, { class: "psc-pt-[32px]" })
|
|
24648
24651
|
])
|
|
24649
24652
|
])
|
|
24650
|
-
]
|
|
24653
|
+
])) : (Mt(), xs(gt(wx), {
|
|
24651
24654
|
key: 0,
|
|
24652
24655
|
title: c.$t("psc.test_result_no_booking_found"),
|
|
24653
24656
|
subtitle: c.$t("psc.test_result_message_no_booking_yet"),
|
|
@@ -24656,24 +24659,24 @@ const TP = /* @__PURE__ */ fr(CP, [["__scopeId", "data-v-045c6e62"]]), OP = (i)
|
|
|
24656
24659
|
]));
|
|
24657
24660
|
}
|
|
24658
24661
|
});
|
|
24659
|
-
const
|
|
24662
|
+
const _F = /* @__PURE__ */ fr($P, [["__scopeId", "data-v-6893953e"]]), BP = (i) => (tl("data-v-59d06ce3"), i = i(), el(), i), WP = { class: "booking-item hover:psc-bg-slate-100" }, UP = { class: "psc-flex psc-items-center" }, HP = { class: "psc-flex-initial psc-font-semibold psc-text-primary" }, jP = { class: "psc-flex-auto psc-pl-2 psc-text-black/[0.6] psc-text-sm psc-font-normal" }, zP = /* @__PURE__ */ BP(() => /* @__PURE__ */ et("div", { class: "psc-flex psc-justify-end !psc-mt-0" }, [
|
|
24660
24663
|
/* @__PURE__ */ et("i", { class: "dgic-chevron-right-thin psc-text-primary psc-text-2xl" })
|
|
24661
|
-
], -1)),
|
|
24664
|
+
], -1)), GP = { class: "!psc-mt-0" }, XP = /* @__PURE__ */ $e({
|
|
24662
24665
|
__name: "BookingListItem",
|
|
24663
24666
|
props: {
|
|
24664
24667
|
item: null
|
|
24665
24668
|
},
|
|
24666
24669
|
setup(i) {
|
|
24667
24670
|
const t = i, { getBookingStatusText: e, getPaymentStatusText: s } = DD();
|
|
24668
|
-
return (a, o) => (Mt(), Pt("div",
|
|
24669
|
-
et("div",
|
|
24670
|
-
et("div",
|
|
24671
|
+
return (a, o) => (Mt(), Pt("div", WP, [
|
|
24672
|
+
et("div", UP, [
|
|
24673
|
+
et("div", HP, [
|
|
24671
24674
|
et("span", null, Lt(t.item.booking_code), 1)
|
|
24672
24675
|
]),
|
|
24673
|
-
et("div",
|
|
24676
|
+
et("div", jP, Lt(gt(Zo)(t.item.created_at)), 1)
|
|
24674
24677
|
]),
|
|
24675
|
-
|
|
24676
|
-
et("div",
|
|
24678
|
+
zP,
|
|
24679
|
+
et("div", GP, [
|
|
24677
24680
|
et("span", {
|
|
24678
24681
|
class: rn([`booking__status--${t.item.booking_status}`, "psc-px-[8px] psc-py-[4px] psc-rounded-lg psc-text-xs psc-font-semibold"])
|
|
24679
24682
|
}, Lt(gt(e)(t.item.booking_status)), 3),
|
|
@@ -24684,13 +24687,13 @@ const gF = /* @__PURE__ */ fr(YP, [["__scopeId", "data-v-53901a3b"]]), $P = (i)
|
|
|
24684
24687
|
]));
|
|
24685
24688
|
}
|
|
24686
24689
|
});
|
|
24687
|
-
const
|
|
24690
|
+
const KP = /* @__PURE__ */ fr(XP, [["__scopeId", "data-v-59d06ce3"]]), qP = {
|
|
24688
24691
|
key: 1,
|
|
24689
24692
|
class: "psc-pb-24"
|
|
24690
|
-
},
|
|
24693
|
+
}, ZP = { class: "psc-text-2xl psc-font-bold psc-px-4" }, QP = { class: "psc-px-4" }, JP = {
|
|
24691
24694
|
key: 0,
|
|
24692
24695
|
class: "psc-px-4 psc-w-full psc-pt-7 psc-text-center"
|
|
24693
|
-
},
|
|
24696
|
+
}, mF = /* @__PURE__ */ $e({
|
|
24694
24697
|
__name: "BookingList",
|
|
24695
24698
|
props: {
|
|
24696
24699
|
items: null,
|
|
@@ -24710,19 +24713,19 @@ const XP = /* @__PURE__ */ fr(GP, [["__scopeId", "data-v-59d06ce3"]]), KP = {
|
|
|
24710
24713
|
title: c.$t("psc.test_result_no_booking_found"),
|
|
24711
24714
|
subtitle: c.$t("psc.test_result_message_no_booking_yet"),
|
|
24712
24715
|
class: "psc-content-h-full"
|
|
24713
|
-
}, null, 8, ["title", "subtitle"])) : (Mt(), Pt("div",
|
|
24714
|
-
et("p",
|
|
24715
|
-
et("div",
|
|
24716
|
-
(Mt(!0), Pt(
|
|
24716
|
+
}, null, 8, ["title", "subtitle"])) : (Mt(), Pt("div", qP, [
|
|
24717
|
+
et("p", ZP, Lt(gt(s)("psc.test_result_all_bookings")), 1),
|
|
24718
|
+
et("div", QP, [
|
|
24719
|
+
(Mt(!0), Pt(ur, null, Ro(e.items, (d) => (Mt(), xs(KP, {
|
|
24717
24720
|
key: d.booking_code,
|
|
24718
24721
|
item: d,
|
|
24719
24722
|
onClick: (_) => o(d)
|
|
24720
24723
|
}, null, 8, ["item", "onClick"]))), 128)),
|
|
24721
|
-
i.loading ? (Mt(!0), Pt(
|
|
24724
|
+
i.loading ? (Mt(!0), Pt(ur, { key: 0 }, Ro(e.skeletonCount, (d) => (Mt(), xs(pb, {
|
|
24722
24725
|
key: `item${d}`
|
|
24723
24726
|
}))), 128)) : fn("", !0)
|
|
24724
24727
|
]),
|
|
24725
|
-
e.hideLoadMore ? fn("", !0) : (Mt(), Pt("div",
|
|
24728
|
+
e.hideLoadMore ? fn("", !0) : (Mt(), Pt("div", JP, [
|
|
24726
24729
|
sn(gt(cd), {
|
|
24727
24730
|
type: "primary-outline",
|
|
24728
24731
|
disabled: e.loading,
|
|
@@ -24730,7 +24733,7 @@ const XP = /* @__PURE__ */ fr(GP, [["__scopeId", "data-v-59d06ce3"]]), KP = {
|
|
|
24730
24733
|
"prepend-icon": "dgic-double-chevron-down-thin",
|
|
24731
24734
|
onClick: a
|
|
24732
24735
|
}, {
|
|
24733
|
-
default:
|
|
24736
|
+
default: lr(() => [
|
|
24734
24737
|
Zr(Lt(gt(s)("psc.test_result_more_bookings")), 1)
|
|
24735
24738
|
]),
|
|
24736
24739
|
_: 1
|
|
@@ -24738,10 +24741,10 @@ const XP = /* @__PURE__ */ fr(GP, [["__scopeId", "data-v-59d06ce3"]]), KP = {
|
|
|
24738
24741
|
]))
|
|
24739
24742
|
]));
|
|
24740
24743
|
}
|
|
24741
|
-
}),
|
|
24744
|
+
}), tR = { class: "psc-w-full psc-flex psc-flex-wrap psc-justify-center psc-px-6" }, eR = { class: "psc-w-full psc-flex psc-flex-wrap" }, nR = { class: "psc-w-full psc-text-sm psc-text-black/[0.85] psc-text-left" }, iR = {
|
|
24742
24745
|
key: 0,
|
|
24743
24746
|
class: "psc-w-full psc-text-sm psc-text-black/[0.85] psc-text-left"
|
|
24744
|
-
},
|
|
24747
|
+
}, sR = /* @__PURE__ */ $e({
|
|
24745
24748
|
__name: "ResultReadyV2",
|
|
24746
24749
|
props: {
|
|
24747
24750
|
testResult: null
|
|
@@ -24775,7 +24778,7 @@ const XP = /* @__PURE__ */ fr(GP, [["__scopeId", "data-v-59d06ce3"]]), KP = {
|
|
|
24775
24778
|
};
|
|
24776
24779
|
}
|
|
24777
24780
|
});
|
|
24778
|
-
return (f, d) => (Mt(), Pt("div",
|
|
24781
|
+
return (f, d) => (Mt(), Pt("div", tR, [
|
|
24779
24782
|
et("div", {
|
|
24780
24783
|
class: rn(["psc-font-semibold psc-w-full psc-pb-5 psc-flex psc-items-center psc-justify-start", gt(c).cssClass])
|
|
24781
24784
|
}, [
|
|
@@ -24784,9 +24787,9 @@ const XP = /* @__PURE__ */ fr(GP, [["__scopeId", "data-v-59d06ce3"]]), KP = {
|
|
|
24784
24787
|
class: rn(["psc-ml-1 psc-text-xl", gt(c).icon])
|
|
24785
24788
|
}, null, 2)
|
|
24786
24789
|
], 2),
|
|
24787
|
-
et("div",
|
|
24788
|
-
et("div",
|
|
24789
|
-
gt(o) ? (Mt(), Pt("div",
|
|
24790
|
+
et("div", eR, [
|
|
24791
|
+
et("div", nR, Lt(gt(e)("psc.test_result_sample_collected_on")) + " " + Lt(gt(s)), 1),
|
|
24792
|
+
gt(o) ? (Mt(), Pt("div", iR, Lt(gt(e)("psc.test_result_result_released_on")) + " " + Lt(gt(a)), 1)) : fn("", !0)
|
|
24790
24793
|
])
|
|
24791
24794
|
]));
|
|
24792
24795
|
}
|
|
@@ -28423,10 +28426,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
28423
28426
|
di ? ((di.exports = js)._ = js, En._ = js) : pe._ = js;
|
|
28424
28427
|
}).call(Nu);
|
|
28425
28428
|
})(wd, wd.exports);
|
|
28426
|
-
const
|
|
28429
|
+
const rR = {
|
|
28427
28430
|
key: 0,
|
|
28428
28431
|
class: "psc-w-full"
|
|
28429
|
-
},
|
|
28432
|
+
}, aR = { class: "result-overview--shadow psc-flex psc-flex-wrap psc-rounded-lg psc-py-3 psc-px-2" }, oR = { class: "psc-w-full psc-text-sm psc-font-semibold" }, lR = { class: "psc-w-full psc-flex psc-flex-wrap psc-items-center psc-mt-4" }, uR = { class: "psc-w-1/2 psc-text-2xl psc-font-bold" }, cR = { class: "psc-w-1/2 psc-text-sm psc-text-right" }, hR = /* @__PURE__ */ $e({
|
|
28430
28433
|
__name: "ResultOverview",
|
|
28431
28434
|
props: {
|
|
28432
28435
|
overview: null
|
|
@@ -28437,19 +28440,19 @@ const sR = {
|
|
|
28437
28440
|
"result-abnormal",
|
|
28438
28441
|
"result-critical"
|
|
28439
28442
|
]), a = Nt(() => !wd.exports.isEmpty(e.value));
|
|
28440
|
-
return (o, c) => gt(a) ? (Mt(), Pt("div",
|
|
28441
|
-
et("div",
|
|
28442
|
-
(Mt(!0), Pt(
|
|
28443
|
+
return (o, c) => gt(a) ? (Mt(), Pt("div", rR, [
|
|
28444
|
+
et("div", aR, [
|
|
28445
|
+
(Mt(!0), Pt(ur, null, Ro(gt(e), (f, d) => (Mt(), Pt("div", {
|
|
28443
28446
|
key: `item${d}`,
|
|
28444
28447
|
class: "psc-w-1/3 psc-px-1"
|
|
28445
28448
|
}, [
|
|
28446
28449
|
et("div", {
|
|
28447
28450
|
class: rn(["psc-px-3 psc-py-2 psc-rounded-lg psc-flex psc-flex-col psc-h-full psc-justify-between", gt(s)[d]])
|
|
28448
28451
|
}, [
|
|
28449
|
-
et("div",
|
|
28450
|
-
et("div",
|
|
28451
|
-
et("div",
|
|
28452
|
-
et("div",
|
|
28452
|
+
et("div", oR, Lt(f.name), 1),
|
|
28453
|
+
et("div", lR, [
|
|
28454
|
+
et("div", uR, Lt(`${f.count ? f.count : "-"}`), 1),
|
|
28455
|
+
et("div", cR, Lt(`${f.percent ? f.percent : "-"} %`), 1)
|
|
28453
28456
|
])
|
|
28454
28457
|
], 2)
|
|
28455
28458
|
]))), 128))
|
|
@@ -28457,33 +28460,33 @@ const sR = {
|
|
|
28457
28460
|
])) : fn("", !0);
|
|
28458
28461
|
}
|
|
28459
28462
|
});
|
|
28460
|
-
const
|
|
28463
|
+
const fR = /* @__PURE__ */ fr(hR, [["__scopeId", "data-v-e1717f10"]]), dR = {
|
|
28461
28464
|
key: 0,
|
|
28462
28465
|
class: "psc-w-full"
|
|
28463
|
-
},
|
|
28466
|
+
}, pR = { class: "doctor-note--shadow psc-text-sm psc-rounded-lg psc-p-3" }, gR = { class: "psc-font-semibold psc-text-black/[0.85]" }, _R = {
|
|
28464
28467
|
key: 0,
|
|
28465
28468
|
class: "psc-mt-2 psc-text-black/[0.85] psc-relative psc-pl-2 before:psc-content-[''] before:psc-w-[2px] before:psc-h-full before:psc-bg-primary before:psc-absolute before:psc-left-0 before:psc-rounded-lg"
|
|
28466
|
-
},
|
|
28469
|
+
}, mR = /* @__PURE__ */ $e({
|
|
28467
28470
|
__name: "DoctorNote",
|
|
28468
28471
|
props: {
|
|
28469
28472
|
doctorNote: { default: "" }
|
|
28470
28473
|
},
|
|
28471
28474
|
setup(i) {
|
|
28472
28475
|
const t = i, e = Nt(() => t.doctorNote), s = Nt(() => !wd.exports.isEmpty(e.value));
|
|
28473
|
-
return (a, o) => gt(s) ? (Mt(), Pt("div",
|
|
28474
|
-
et("div",
|
|
28476
|
+
return (a, o) => gt(s) ? (Mt(), Pt("div", dR, [
|
|
28477
|
+
et("div", pR, [
|
|
28475
28478
|
et("div", null, [
|
|
28476
|
-
et("span",
|
|
28479
|
+
et("span", gR, Lt(a.$t("psc.test_result_note")), 1)
|
|
28477
28480
|
]),
|
|
28478
|
-
gt(e) ? (Mt(), Pt("div",
|
|
28481
|
+
gt(e) ? (Mt(), Pt("div", _R, Lt(gt(e)), 1)) : fn("", !0)
|
|
28479
28482
|
])
|
|
28480
28483
|
])) : fn("", !0);
|
|
28481
28484
|
}
|
|
28482
28485
|
});
|
|
28483
|
-
const
|
|
28486
|
+
const vR = /* @__PURE__ */ fr(mR, [["__scopeId", "data-v-9bf72b72"]]), yR = {
|
|
28484
28487
|
key: 0,
|
|
28485
28488
|
class: "consumer-test-result__ready psc-pb-24"
|
|
28486
|
-
},
|
|
28489
|
+
}, bR = { class: "psc-px-4 psc-mb-6" }, kR = /* @__PURE__ */ et("i", { class: "dgic-chevron-left-thin psc-text-lg" }, null, -1), xR = { class: "psc-text-sm psc-ml-1" }, wR = { class: "psc-px-4" }, DR = { key: 0 }, vF = /* @__PURE__ */ $e({
|
|
28487
28490
|
__name: "TestResultDetail",
|
|
28488
28491
|
props: {
|
|
28489
28492
|
testResult: null,
|
|
@@ -28508,37 +28511,37 @@ const mR = /* @__PURE__ */ fr(_R, [["__scopeId", "data-v-9bf72b72"]]), vR = {
|
|
|
28508
28511
|
key: 0,
|
|
28509
28512
|
loading: i.loading,
|
|
28510
28513
|
"spinner-size": "lg"
|
|
28511
|
-
}, null, 8, ["loading"])) : (Mt(), Pt(
|
|
28512
|
-
gt(s) ? (Mt(), Pt("div",
|
|
28514
|
+
}, null, 8, ["loading"])) : (Mt(), Pt(ur, { key: 1 }, [
|
|
28515
|
+
gt(s) ? (Mt(), Pt("div", yR, [
|
|
28513
28516
|
et("div", null, [
|
|
28514
|
-
et("div",
|
|
28517
|
+
et("div", bR, [
|
|
28515
28518
|
et("div", {
|
|
28516
28519
|
class: "psc-flex psc-items-center psc-cursor-pointer psc-text-primary hover:psc-text-primary/[0.8]",
|
|
28517
28520
|
onClick: o
|
|
28518
28521
|
}, [
|
|
28519
|
-
|
|
28520
|
-
et("span",
|
|
28522
|
+
kR,
|
|
28523
|
+
et("span", xR, Lt(c.$t("psc.test_result_view_all_results")), 1)
|
|
28521
28524
|
])
|
|
28522
28525
|
]),
|
|
28523
28526
|
sn(GT, {
|
|
28524
28527
|
"first-name": e.testResult.first_name
|
|
28525
28528
|
}, null, 8, ["first-name"]),
|
|
28526
|
-
sn(
|
|
28529
|
+
sn(sR, {
|
|
28527
28530
|
"test-result": e.testResult,
|
|
28528
28531
|
class: "psc-mb-4"
|
|
28529
28532
|
}, null, 8, ["test-result"]),
|
|
28530
|
-
sn(
|
|
28533
|
+
sn(fR, {
|
|
28531
28534
|
overview: e.testResult.overview,
|
|
28532
28535
|
class: "psc-px-4 psc-mb-4"
|
|
28533
28536
|
}, null, 8, ["overview"]),
|
|
28534
|
-
sn(
|
|
28537
|
+
sn(vR, {
|
|
28535
28538
|
"doctor-note": e.testResult.doctor_note,
|
|
28536
28539
|
class: "psc-px-4 psc-mb-4"
|
|
28537
28540
|
}, null, 8, ["doctor-note"])
|
|
28538
28541
|
]),
|
|
28539
|
-
et("div",
|
|
28542
|
+
et("div", wR, [
|
|
28540
28543
|
cr(c.$slots, "default"),
|
|
28541
|
-
e.testResult.can_booking ? (Mt(), Pt("div",
|
|
28544
|
+
e.testResult.can_booking ? (Mt(), Pt("div", DR, [
|
|
28542
28545
|
sn(kb, {
|
|
28543
28546
|
url: e.ctaButtonUrl,
|
|
28544
28547
|
class: "psc-mt-[20px]"
|
|
@@ -28546,25 +28549,25 @@ const mR = /* @__PURE__ */ fr(_R, [["__scopeId", "data-v-9bf72b72"]]), vR = {
|
|
|
28546
28549
|
])) : fn("", !0)
|
|
28547
28550
|
])
|
|
28548
28551
|
])) : gt(a) ? (Mt(), xs(rO, { key: 1 }, {
|
|
28549
|
-
"body-prepend":
|
|
28552
|
+
"body-prepend": lr(() => [
|
|
28550
28553
|
sn(q1, {
|
|
28551
28554
|
"test-result": e.testResult
|
|
28552
28555
|
}, null, 8, ["test-result"])
|
|
28553
28556
|
]),
|
|
28554
|
-
"body-append":
|
|
28557
|
+
"body-append": lr(() => [
|
|
28555
28558
|
sn(LS)
|
|
28556
28559
|
]),
|
|
28557
|
-
footer:
|
|
28560
|
+
footer: lr(() => [
|
|
28558
28561
|
sn(v1)
|
|
28559
28562
|
]),
|
|
28560
28563
|
_: 1
|
|
28561
28564
|
})) : (Mt(), xs(JT, { key: 2 }, {
|
|
28562
|
-
"body-prepend":
|
|
28565
|
+
"body-prepend": lr(() => [
|
|
28563
28566
|
sn(q1, {
|
|
28564
28567
|
"test-result": e.testResult
|
|
28565
28568
|
}, null, 8, ["test-result"])
|
|
28566
28569
|
]),
|
|
28567
|
-
footer:
|
|
28570
|
+
footer: lr(() => [
|
|
28568
28571
|
sn(v1)
|
|
28569
28572
|
]),
|
|
28570
28573
|
_: 1
|
|
@@ -28572,9 +28575,9 @@ const mR = /* @__PURE__ */ fr(_R, [["__scopeId", "data-v-9bf72b72"]]), vR = {
|
|
|
28572
28575
|
], 64))
|
|
28573
28576
|
]));
|
|
28574
28577
|
}
|
|
28575
|
-
}),
|
|
28578
|
+
}), ER = (i) => (tl("data-v-e3bc4f0a"), i = i(), el(), i), SR = { class: "test-result-item psc-p-3 psc-rounded-lg psc-space-y-3 hover:psc-bg-slate-100 psc-cursor-pointer" }, MR = { class: "psc-flex psc-items-center" }, CR = { class: "psc-flex-initial psc-font-semibold psc-text-primary" }, TR = { class: "psc-flex-auto psc-pl-2 psc-text-black/[0.6]" }, OR = /* @__PURE__ */ ER(() => /* @__PURE__ */ et("div", { class: "psc-flex-initial" }, [
|
|
28576
28579
|
/* @__PURE__ */ et("i", { class: "dgic-chevron-right-thin psc-text-primary psc-text-xl psc-text-2xl" })
|
|
28577
|
-
], -1)),
|
|
28580
|
+
], -1)), AR = { class: "psc-flex" }, LR = { class: "psc-text-sm" }, NR = /* @__PURE__ */ $e({
|
|
28578
28581
|
__name: "TestResultListItem",
|
|
28579
28582
|
props: {
|
|
28580
28583
|
item: null
|
|
@@ -28613,23 +28616,23 @@ const mR = /* @__PURE__ */ fr(_R, [["__scopeId", "data-v-9bf72b72"]]), vR = {
|
|
|
28613
28616
|
icon: "dgic-cancel-right-to-left"
|
|
28614
28617
|
}
|
|
28615
28618
|
})[t.item.result_status] || { text: "", cssClass: "", icon: "" });
|
|
28616
|
-
return (a, o) => (Mt(), Pt("div",
|
|
28617
|
-
et("div",
|
|
28618
|
-
et("div",
|
|
28619
|
+
return (a, o) => (Mt(), Pt("div", SR, [
|
|
28620
|
+
et("div", MR, [
|
|
28621
|
+
et("div", CR, [
|
|
28619
28622
|
et("span", null, Lt(`${a.$t("psc.test_result_order")} ${t.item.order_id}`), 1)
|
|
28620
28623
|
]),
|
|
28621
|
-
et("div",
|
|
28622
|
-
|
|
28624
|
+
et("div", TR, Lt(gt(Zo)(t.item.visit_date)), 1),
|
|
28625
|
+
OR
|
|
28623
28626
|
]),
|
|
28624
|
-
et("div",
|
|
28627
|
+
et("div", AR, [
|
|
28625
28628
|
et("div", {
|
|
28626
28629
|
class: rn(["psc-flex psc-items-center psc-font-semibold", gt(s).cssClass])
|
|
28627
28630
|
}, [
|
|
28628
|
-
et("span",
|
|
28631
|
+
et("span", LR, Lt(gt(s).text), 1),
|
|
28629
28632
|
et("i", {
|
|
28630
28633
|
class: rn(["psc-ml-1 psc-text-2xl", gt(s).icon])
|
|
28631
28634
|
}, [
|
|
28632
|
-
(Mt(!0), Pt(
|
|
28635
|
+
(Mt(!0), Pt(ur, null, Ro(gt(s).iconPathCount, (c) => (Mt(), Pt("span", {
|
|
28633
28636
|
key: `path${c}`,
|
|
28634
28637
|
class: rn(`path${c}`)
|
|
28635
28638
|
}, null, 2))), 128))
|
|
@@ -28639,10 +28642,10 @@ const mR = /* @__PURE__ */ fr(_R, [["__scopeId", "data-v-9bf72b72"]]), vR = {
|
|
|
28639
28642
|
]));
|
|
28640
28643
|
}
|
|
28641
28644
|
});
|
|
28642
|
-
const
|
|
28645
|
+
const IR = /* @__PURE__ */ fr(NR, [["__scopeId", "data-v-e3bc4f0a"]]), PR = { class: "psc-px-4 psc-text-2xl psc-pb-8 psc-font-bold psc-text-black/[0.85]" }, RR = { class: "psc-px-4 psc-space-y-4" }, FR = { class: "psc-px-4 psc-w-full psc-pt-7 psc-text-center" }, VR = { key: 1 }, YR = {
|
|
28643
28646
|
key: 0,
|
|
28644
28647
|
class: "psc-px-4 psc-pt-7"
|
|
28645
|
-
},
|
|
28648
|
+
}, $R = { class: "psc-px-4 psc-w-full psc-pt-7 psc-pb-20 psc-text-center psc-text-primary psc-text-sm psc-font-semibold" }, BR = ["href"], yF = /* @__PURE__ */ $e({
|
|
28646
28649
|
__name: "TestResultList",
|
|
28647
28650
|
props: {
|
|
28648
28651
|
items: null,
|
|
@@ -28659,22 +28662,22 @@ const NR = /* @__PURE__ */ fr(LR, [["__scopeId", "data-v-e3bc4f0a"]]), IR = { cl
|
|
|
28659
28662
|
t("switch-to-detail", c);
|
|
28660
28663
|
};
|
|
28661
28664
|
return (c, f) => (Mt(), Pt("div", null, [
|
|
28662
|
-
et("div",
|
|
28663
|
-
et("div",
|
|
28664
|
-
(Mt(!0), Pt(
|
|
28665
|
+
et("div", PR, Lt(c.$t("psc.test_result_all_results")), 1),
|
|
28666
|
+
et("div", RR, [
|
|
28667
|
+
(Mt(!0), Pt(ur, null, Ro(e.items, (d, _) => (Mt(), Pt("div", {
|
|
28665
28668
|
key: `item${_}`
|
|
28666
28669
|
}, [
|
|
28667
|
-
sn(
|
|
28670
|
+
sn(IR, {
|
|
28668
28671
|
item: d,
|
|
28669
28672
|
onClick: (b) => o(d)
|
|
28670
28673
|
}, null, 8, ["item", "onClick"])
|
|
28671
28674
|
]))), 128)),
|
|
28672
|
-
e.loading ? (Mt(!0), Pt(
|
|
28675
|
+
e.loading ? (Mt(!0), Pt(ur, { key: 0 }, Ro(e.skeletonCount, (d) => (Mt(), xs(pb, {
|
|
28673
28676
|
key: `skeleton${d}`
|
|
28674
28677
|
}))), 128)) : fn("", !0)
|
|
28675
28678
|
]),
|
|
28676
|
-
et("div",
|
|
28677
|
-
e.hideLoadMore ? (Mt(), Pt("div",
|
|
28679
|
+
et("div", FR, [
|
|
28680
|
+
e.hideLoadMore ? (Mt(), Pt("div", VR, Lt(c.$t("psc.test_result_all_results_loaded")), 1)) : (Mt(), xs(gt(cd), {
|
|
28678
28681
|
key: 0,
|
|
28679
28682
|
type: "primary-outline",
|
|
28680
28683
|
disabled: e.loading,
|
|
@@ -28682,38 +28685,38 @@ const NR = /* @__PURE__ */ fr(LR, [["__scopeId", "data-v-e3bc4f0a"]]), IR = { cl
|
|
|
28682
28685
|
"prepend-icon": "dgic-double-chevron-down-thin",
|
|
28683
28686
|
onClick: a
|
|
28684
28687
|
}, {
|
|
28685
|
-
default:
|
|
28688
|
+
default: lr(() => [
|
|
28686
28689
|
Zr(Lt(c.$t("psc.test_result_load_older_results")), 1)
|
|
28687
28690
|
]),
|
|
28688
28691
|
_: 1
|
|
28689
28692
|
}, 8, ["disabled"]))
|
|
28690
28693
|
]),
|
|
28691
|
-
e.ctaButtonUrl ? (Mt(), Pt("div",
|
|
28694
|
+
e.ctaButtonUrl ? (Mt(), Pt("div", YR, [
|
|
28692
28695
|
sn(kb, {
|
|
28693
28696
|
class: "psc-mt-[20px]",
|
|
28694
28697
|
url: i.ctaButtonUrl
|
|
28695
28698
|
}, null, 8, ["url"])
|
|
28696
28699
|
])) : fn("", !0),
|
|
28697
|
-
et("div",
|
|
28700
|
+
et("div", $R, [
|
|
28698
28701
|
et("a", {
|
|
28699
28702
|
href: `https://diag-center.freshdesk.com/${gt(s)}/support/tickets/new`,
|
|
28700
28703
|
target: "_blank"
|
|
28701
|
-
}, Lt(c.$t("psc.test_result_dont_see_my_results")), 9,
|
|
28704
|
+
}, Lt(c.$t("psc.test_result_dont_see_my_results")), 9, BR)
|
|
28702
28705
|
])
|
|
28703
28706
|
]));
|
|
28704
28707
|
}
|
|
28705
28708
|
}), _x = () => {
|
|
28706
28709
|
window.open(`tel:${Dd}`, "_self");
|
|
28707
|
-
},
|
|
28710
|
+
}, WR = (i) => `${i.slice(0, -6)} ${i.slice(-6, -3)} ${i.slice(
|
|
28708
28711
|
-3
|
|
28709
|
-
)}`,
|
|
28712
|
+
)}`, UR = { class: "psc-px-4" }, HR = { class: "psc-text-[rgba(0, 0, 0, 0.85)] psc-text-[24px] psc-mb-[30px] psc-font-bold" }, jR = {
|
|
28710
28713
|
key: 1,
|
|
28711
28714
|
class: "psc-flex psc-mb-[20px]"
|
|
28712
|
-
},
|
|
28715
|
+
}, zR = /* @__PURE__ */ et("div", { class: "psc-mr-[16px] psc-w-[60px] psc-h-[60px] psc-min-w-[60px] psc-w-[60px] psc-rounded-full psc-border-solid psc-border-[1px] psc-border-[#00000019] psc-overflow-hidden" }, [
|
|
28713
28716
|
/* @__PURE__ */ et("i", { class: "dgic-user-circle psc-text-[#00000019] psc-text-[60px]" })
|
|
28714
|
-
], -1),
|
|
28717
|
+
], -1), GR = { class: "psc-text-[14px]" }, XR = { class: "psc-font-[600] psc-text-[20px] psc-mb-[12px]" }, KR = { class: "psc-flex psc-items-center psc-mb-[8px]" }, qR = /* @__PURE__ */ et("i", { class: "dgic-cake psc-text-[22px] psc-mr-1 psc-font-bold" }, null, -1), ZR = { class: "psc-flex psc-items-center psc-mb-[8px]" }, QR = /* @__PURE__ */ et("i", { class: "dgic-phone-light psc-text-[22px] psc-mr-1" }, null, -1), JR = { class: "psc-flex psc-items-center psc-mb-[8px]" }, tF = { class: "psc-bg-[#e6f0fe] psc-py-[20px] psc-px-[16px] psc-rounded-[8px] psc-flex psc-mb-[35px]" }, eF = /* @__PURE__ */ et("div", { class: "psc-flex items-start psc-mr-[8px]" }, [
|
|
28715
28718
|
/* @__PURE__ */ et("i", { class: "dgic-info-fill psc-text-primary psc-text-[24px]" })
|
|
28716
|
-
], -1),
|
|
28719
|
+
], -1), nF = ["innerHTML"], bF = /* @__PURE__ */ $e({
|
|
28717
28720
|
__name: "MyProfile",
|
|
28718
28721
|
props: {
|
|
28719
28722
|
testResult: null,
|
|
@@ -28734,26 +28737,26 @@ const NR = /* @__PURE__ */ fr(LR, [["__scopeId", "data-v-e3bc4f0a"]]), IR = { cl
|
|
|
28734
28737
|
icon: "",
|
|
28735
28738
|
text: ""
|
|
28736
28739
|
}), c = Nt(
|
|
28737
|
-
() => t.testResult.phone_number ?
|
|
28740
|
+
() => t.testResult.phone_number ? WR(t.testResult.phone_number) : ""
|
|
28738
28741
|
);
|
|
28739
|
-
return (f, d) => (Mt(), Pt("div",
|
|
28740
|
-
et("div",
|
|
28742
|
+
return (f, d) => (Mt(), Pt("div", UR, [
|
|
28743
|
+
et("div", HR, Lt(gt(e)("psc.test_result_my_profile")), 1),
|
|
28741
28744
|
t.loading ? (Mt(), xs(pb, {
|
|
28742
28745
|
key: 0,
|
|
28743
28746
|
class: "psc-pb-16 psc-mb-[20px]"
|
|
28744
|
-
})) : (Mt(), Pt("div",
|
|
28745
|
-
|
|
28746
|
-
et("div",
|
|
28747
|
-
et("div",
|
|
28748
|
-
et("div",
|
|
28749
|
-
|
|
28747
|
+
})) : (Mt(), Pt("div", jR, [
|
|
28748
|
+
zR,
|
|
28749
|
+
et("div", GR, [
|
|
28750
|
+
et("div", XR, Lt(gt(s)), 1),
|
|
28751
|
+
et("div", KR, [
|
|
28752
|
+
qR,
|
|
28750
28753
|
Zr(" " + Lt(gt(a)), 1)
|
|
28751
28754
|
]),
|
|
28752
|
-
et("div",
|
|
28753
|
-
|
|
28755
|
+
et("div", ZR, [
|
|
28756
|
+
QR,
|
|
28754
28757
|
Zr(" " + Lt(gt(c)), 1)
|
|
28755
28758
|
]),
|
|
28756
|
-
et("div",
|
|
28759
|
+
et("div", JR, [
|
|
28757
28760
|
et("i", {
|
|
28758
28761
|
class: rn(["psc-text-[22px] psc-mr-1", gt(o).icon])
|
|
28759
28762
|
}, null, 2),
|
|
@@ -28761,11 +28764,11 @@ const NR = /* @__PURE__ */ fr(LR, [["__scopeId", "data-v-e3bc4f0a"]]), IR = { cl
|
|
|
28761
28764
|
])
|
|
28762
28765
|
])
|
|
28763
28766
|
])),
|
|
28764
|
-
et("div",
|
|
28765
|
-
|
|
28767
|
+
et("div", tF, [
|
|
28768
|
+
eF,
|
|
28766
28769
|
et("div", {
|
|
28767
28770
|
innerHTML: gt(e)("psc.test_result_if_you_wish_to_edit_your_profile")
|
|
28768
|
-
}, null, 8,
|
|
28771
|
+
}, null, 8, nF)
|
|
28769
28772
|
]),
|
|
28770
28773
|
t.testResult.can_booking ? (Mt(), xs(kb, {
|
|
28771
28774
|
key: 2,
|
|
@@ -28775,26 +28778,26 @@ const NR = /* @__PURE__ */ fr(LR, [["__scopeId", "data-v-e3bc4f0a"]]), IR = { cl
|
|
|
28775
28778
|
]));
|
|
28776
28779
|
}
|
|
28777
28780
|
});
|
|
28778
|
-
const
|
|
28781
|
+
const iF = { class: "call-us-text-button" }, sF = /* @__PURE__ */ et("i", { class: "dgic-phone-light psc-mr-1" }, null, -1), rF = { class: "diag-opening-time" }, kF = /* @__PURE__ */ $e({
|
|
28779
28782
|
__name: "CallUsTextButton",
|
|
28780
28783
|
setup(i) {
|
|
28781
28784
|
const { t } = ai();
|
|
28782
|
-
return (e, s) => (Mt(), Pt("div",
|
|
28785
|
+
return (e, s) => (Mt(), Pt("div", iF, [
|
|
28783
28786
|
et("div", {
|
|
28784
28787
|
class: "diag-phone-number",
|
|
28785
28788
|
onClick: s[0] || (s[0] = (...a) => gt(_x) && gt(_x)(...a))
|
|
28786
28789
|
}, [
|
|
28787
|
-
|
|
28790
|
+
sF,
|
|
28788
28791
|
et("span", null, Lt(gt(Dd)), 1)
|
|
28789
28792
|
]),
|
|
28790
|
-
et("div",
|
|
28793
|
+
et("div", rF, Lt(gt(t)("psc.test_result_time_support")), 1)
|
|
28791
28794
|
]));
|
|
28792
28795
|
}
|
|
28793
28796
|
});
|
|
28794
|
-
const
|
|
28797
|
+
const aF = { class: "result-ready" }, oF = { class: "result-ready__title" }, lF = { class: "result-ready__date" }, uF = {
|
|
28795
28798
|
key: 0,
|
|
28796
28799
|
class: "result-ready__date"
|
|
28797
|
-
},
|
|
28800
|
+
}, xF = /* @__PURE__ */ $e({
|
|
28798
28801
|
__name: "ResultReady",
|
|
28799
28802
|
props: {
|
|
28800
28803
|
testResult: null
|
|
@@ -28816,14 +28819,14 @@ const rF = { class: "result-ready" }, aF = { class: "result-ready__title" }, oF
|
|
|
28816
28819
|
return "";
|
|
28817
28820
|
}
|
|
28818
28821
|
});
|
|
28819
|
-
return (f, d) => (Mt(), Pt("div",
|
|
28820
|
-
et("span",
|
|
28821
|
-
et("div",
|
|
28822
|
-
gt(o) ? (Mt(), Pt("div",
|
|
28822
|
+
return (f, d) => (Mt(), Pt("div", aF, [
|
|
28823
|
+
et("span", oF, Lt(gt(c)), 1),
|
|
28824
|
+
et("div", lF, Lt(gt(e)("psc.test_result_sample_collected_on")) + " " + Lt(`${gt(s)}.`), 1),
|
|
28825
|
+
gt(o) ? (Mt(), Pt("div", uF, Lt(gt(e)("psc.test_result_result_released_on")) + " " + Lt(`${gt(a)}.`), 1)) : fn("", !0)
|
|
28823
28826
|
]));
|
|
28824
28827
|
}
|
|
28825
28828
|
});
|
|
28826
|
-
const
|
|
28829
|
+
const cF = {
|
|
28827
28830
|
gender: "Gi\u1EDBi t\xEDnh",
|
|
28828
28831
|
male: "Nam",
|
|
28829
28832
|
female: "N\u1EEF",
|
|
@@ -28885,9 +28888,9 @@ const uF = {
|
|
|
28885
28888
|
test_result_booking_detail_visit_diag_branch: "H\xE3y tham kh\u1EA3o chi nh\xE1nh Diag g\u1EA7n b\u1EA1n \u0111\u1EC3 \u0111\u1EBFn l\xE0m x\xE9t nghi\u1EC7m:",
|
|
28886
28889
|
test_result_find_nearest_diag_branch: "T\xECm chi nh\xE1nh g\u1EA7n nh\u1EA5t",
|
|
28887
28890
|
test_result_booking_detail_back_to_all_bookings: "Back to all bookings"
|
|
28888
|
-
},
|
|
28889
|
-
psc:
|
|
28890
|
-
},
|
|
28891
|
+
}, wF = {
|
|
28892
|
+
psc: cF
|
|
28893
|
+
}, hF = {
|
|
28891
28894
|
gender: "Gender",
|
|
28892
28895
|
male: "Male",
|
|
28893
28896
|
female: "Female",
|
|
@@ -28949,43 +28952,43 @@ const uF = {
|
|
|
28949
28952
|
test_result_booking_detail_visit_diag_branch: "Please visit a Diag branch near you to process your test: ",
|
|
28950
28953
|
test_result_find_nearest_diag_branch: "Find the nearest branch",
|
|
28951
28954
|
test_result_booking_detail_back_to_all_bookings: "Back to all bookings"
|
|
28952
|
-
},
|
|
28953
|
-
psc:
|
|
28955
|
+
}, DF = {
|
|
28956
|
+
psc: hF
|
|
28954
28957
|
};
|
|
28955
28958
|
export {
|
|
28956
|
-
|
|
28957
|
-
|
|
28958
|
-
|
|
28959
|
+
_F as BookingDetail,
|
|
28960
|
+
mF as BookingList,
|
|
28961
|
+
KP as BookingListItem,
|
|
28959
28962
|
ad as BookingStatus,
|
|
28960
28963
|
LS as CallUsFilledButton,
|
|
28961
|
-
|
|
28964
|
+
kF as CallUsTextButton,
|
|
28962
28965
|
v1 as CheckAnotherResultButton,
|
|
28963
28966
|
kb as CtaButton,
|
|
28964
28967
|
Df as Gender,
|
|
28965
28968
|
pb as LoadingSkeleton,
|
|
28966
|
-
|
|
28969
|
+
bF as MyProfile,
|
|
28967
28970
|
wx as NoItemsFound,
|
|
28968
|
-
|
|
28971
|
+
pF as PatientFullInfo,
|
|
28969
28972
|
q1 as PatientShortInfo,
|
|
28970
28973
|
GT as PatientShortInfoV2,
|
|
28971
28974
|
od as PaymentStatus,
|
|
28972
28975
|
JT as PendingResult,
|
|
28973
28976
|
rO as RejectedResult,
|
|
28974
|
-
|
|
28977
|
+
xF as ResultReady,
|
|
28975
28978
|
hI as ResultSegmentNormalType,
|
|
28976
28979
|
fI as ResultSegmentValueOPR,
|
|
28977
28980
|
cI as ResultType,
|
|
28978
28981
|
GD as SupportEmail,
|
|
28979
28982
|
Dd as SupportPhone,
|
|
28980
28983
|
xo as TestResultConclusion,
|
|
28981
|
-
|
|
28984
|
+
vF as TestResultDetail,
|
|
28982
28985
|
SI as TestResultHistoryDetail,
|
|
28983
|
-
|
|
28984
|
-
|
|
28985
|
-
|
|
28986
|
+
gF as TestResultHistoryDetailModal,
|
|
28987
|
+
yF as TestResultList,
|
|
28988
|
+
IR as TestResultListItem,
|
|
28986
28989
|
Bi as TestResultStatus,
|
|
28987
28990
|
lI as TestResultTemplate,
|
|
28988
28991
|
uI as TestStatus,
|
|
28989
|
-
|
|
28990
|
-
|
|
28992
|
+
DF as en,
|
|
28993
|
+
wF as vi
|
|
28991
28994
|
};
|