pat-shared-components 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/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" }, ZB = /* @__PURE__ */ Qt({
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" }, JB = /* @__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" }, JB = /* @__PURE__ */ Qt({
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" }, QB = /* @__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", QB = "customersupport@diag.vn";
15853
+ }), qb = "19001717", tV = "customersupport@diag.vn";
15854
15854
  var PL = /* @__PURE__ */ ((n) => (n.Locale = "DiagPatientPortalLocale", n))(PL || {});
15855
- const tV = {
15855
+ const eV = {
15856
15856
  Container: "pat-container",
15857
15857
  MicroTestResult: "pat-micro-test-result"
15858
- }, eV = {
15859
- ChangeRoute: "change-route"
15860
15858
  }, nV = {
15859
+ ChangeRoute: "change-route"
15860
+ }, sV = {
15861
15861
  AccessToken: "pe_access_token"
15862
15862
  }, Oi = {
15863
15863
  [mn.Morning]: {
@@ -15890,7 +15890,7 @@ const tV = {
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), sV = /* @__PURE__ */ Qt({
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), iV = /* @__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
- }, rV = /* @__PURE__ */ Qt({
24530
+ }, aV = /* @__PURE__ */ Qt({
24531
24531
  __name: "TestResultHistoryDetailModal",
24532
24532
  props: {
24533
24533
  modelValue: { type: Boolean },
@@ -24834,7 +24834,7 @@ const FF = /* @__PURE__ */ yr(RF, [["__scopeId", "data-v-679c252b"]]), $F = { cl
24834
24834
  }, JF = { class: "psc-animate-spin" }, QF = {
24835
24835
  key: 1,
24836
24836
  class: "modal-body__content"
24837
- }, aV = /* @__PURE__ */ Qt({
24837
+ }, oV = /* @__PURE__ */ Qt({
24838
24838
  __name: "BookAppointmentModal",
24839
24839
  props: {
24840
24840
  modelValue: { type: Boolean },
@@ -24949,7 +24949,7 @@ function c$(n, t) {
24949
24949
  const p1 = /* @__PURE__ */ yr(l$, [["render", c$]]), h$ = { key: 1 }, d$ = { class: "psc-space-y-4 psc-px-4" }, f$ = {
24950
24950
  key: 0,
24951
24951
  class: "psc-w-full psc-px-4 psc-pt-7 psc-text-center"
24952
- }, oV = /* @__PURE__ */ Qt({
24952
+ }, lV = /* @__PURE__ */ Qt({
24953
24953
  __name: "BookingList",
24954
24954
  props: {
24955
24955
  items: null,
@@ -26450,7 +26450,7 @@ const g$ = Tb, qx = (n) => {
26450
26450
  ])
26451
26451
  ], 64));
26452
26452
  }
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({
26453
+ }), N$ = { class: "psc-w-full" }, I$ = { class: "psc-font-semibold psc-text-black/[0.85]" }, P$ = { class: "psc-relative psc-mt-2 psc-w-full 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-['']" }, R$ = /* @__PURE__ */ Qt({
26454
26454
  __name: "DoctorNote",
26455
26455
  props: {
26456
26456
  doctorNote: { default: "" }
@@ -26458,13 +26458,13 @@ const g$ = Tb, qx = (n) => {
26458
26458
  setup(n) {
26459
26459
  const t = n;
26460
26460
  return (e, i) => (ut(), yt(ts, null, [
26461
- Z("div", null, [
26462
- Z("span", N$, At(e.$t("psc.test_result_note")), 1)
26461
+ Z("div", N$, [
26462
+ Z("span", I$, At(e.$t("psc.test_result_note")), 1)
26463
26463
  ]),
26464
- Z("div", I$, At(t.doctorNote), 1)
26464
+ Z("div", P$, At(t.doctorNote), 1)
26465
26465
  ], 64));
26466
26466
  }
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({
26467
+ }), F$ = { class: "psc-flex psc-w-full psc-items-center" }, $$ = { class: "psc-flex-auto" }, B$ = { class: "psc-font-semibold psc-text-black/[0.85]" }, V$ = { class: "psc-pt-1 psc-text-sm psc-text-black/[0.6]" }, Y$ = /* @__PURE__ */ Qt({
26468
26468
  __name: "UpcomingAppointment",
26469
26469
  props: {
26470
26470
  timeSlot: null
@@ -26490,45 +26490,45 @@ const g$ = Tb, qx = (n) => {
26490
26490
  const O = new Date(t.timeSlot);
26491
26491
  return x <= O && O <= M;
26492
26492
  };
26493
- return (f, g) => (ut(), yt("div", R$, [
26493
+ return (f, g) => (ut(), yt("div", F$, [
26494
26494
  Yt(it(ia), {
26495
26495
  icon: "dgic-doctor-advice-thin",
26496
26496
  class: "psc-pr-3 psc-text-[44px] psc-text-blue-darken-1"
26497
26497
  }),
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", {
26498
+ Z("div", $$, [
26499
+ Z("div", B$, At(f.$t("psc.test_result_upcoming_appointment")), 1),
26500
+ Z("div", V$, At(f.$t("psc.test_result_appointment_date", {
26501
26501
  date: it(o),
26502
26502
  time: it(i) === "vi" ? it(u) : it(u).toLocaleLowerCase()
26503
26503
  })), 1)
26504
26504
  ])
26505
26505
  ]));
26506
26506
  }
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$
26507
+ }), W$ = {}, U$ = { class: "psc-space-y-3 psc-rounded-lg psc-p-3 psc-shadow" }, H$ = /* @__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), z$ = [
26508
+ H$
26509
26509
  ];
26510
- function z$(n, t) {
26511
- return ut(), yt("div", W$, H$);
26510
+ function j$(n, t) {
26511
+ return ut(), yt("div", U$, z$);
26512
26512
  }
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" }, [
26513
+ const G$ = /* @__PURE__ */ yr(W$, [["render", j$]]), q$ = { class: "psc-animate-pulse psc-space-y-4 psc-px-4" }, X$ = { class: "psc-space-y-6" }, K$ = /* @__PURE__ */ Z("div", { class: "psc-space-y-3" }, [
26514
26514
  /* @__PURE__ */ Z("div", { class: "psc-h-8 psc-w-[64%] psc-rounded-lg psc-bg-gray-200 dark:psc-bg-gray-400" }),
26515
26515
  /* @__PURE__ */ Z("div", { class: "psc-h-5 psc-w-[86%] psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300" })
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({
26516
+ ], -1), Z$ = { class: "psc-space-y-4" }, J$ = /* @__PURE__ */ Z("div", { class: "psc-h-5 psc-w-[24%] psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300" }, null, -1), Q$ = /* @__PURE__ */ Qt({
26517
26517
  __name: "TestResultDetailSkeleton",
26518
26518
  setup(n) {
26519
- return (t, e) => (ut(), yt("div", G$, [
26520
- Z("div", q$, [
26521
- X$,
26522
- Z("div", K$, [
26519
+ return (t, e) => (ut(), yt("div", q$, [
26520
+ Z("div", X$, [
26521
+ K$,
26522
+ Z("div", Z$, [
26523
26523
  Yt(gf)
26524
26524
  ])
26525
26525
  ]),
26526
- Z$,
26527
- Yt(j$)
26526
+ J$,
26527
+ Yt(G$)
26528
26528
  ]));
26529
26529
  }
26530
26530
  });
26531
- var Cf = {}, Q$ = {
26531
+ var Cf = {}, tB = {
26532
26532
  get exports() {
26533
26533
  return Cf;
26534
26534
  },
@@ -30208,10 +30208,10 @@ function print() { __p += __j.call(arguments, '') }
30208
30208
  }, Ki = kp();
30209
30209
  ms ? ((ms.exports = Ki)._ = Ki, Tn._ = Ki) : ge._ = Ki;
30210
30210
  }).call($u);
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" }, [
30211
+ })(tB, Cf);
30212
+ const eB = { class: "psc-flex-auto psc-px-2 psc-font-semibold" }, nB = { class: "psc-pt-3" }, sB = { key: 0 }, iB = /* @__PURE__ */ Z("div", { class: "psc-flex-initial psc-pr-3 psc-pt-2" }, [
30213
30213
  /* @__PURE__ */ Z("div", { class: "psc-h-[6px] psc-w-[6px] psc-rounded-full psc-bg-blue-darken-1" })
30214
- ], -1), iB = { class: "psc-flex-auto psc-pl-2" }, rB = ["innerHTML"], aB = /* @__PURE__ */ Qt({
30214
+ ], -1), rB = { class: "psc-flex-auto psc-pl-2" }, aB = ["innerHTML"], oB = /* @__PURE__ */ Qt({
30215
30215
  __name: "HealthSummary",
30216
30216
  props: {
30217
30217
  items: { default: () => [] },
@@ -30228,7 +30228,7 @@ const tB = { class: "psc-flex-auto psc-px-2 psc-font-semibold" }, eB = { class:
30228
30228
  onClick: h[0] || (h[0] = (f) => o())
30229
30229
  }, [
30230
30230
  Yt(it(ia), { icon: "dgic-stethoscope-thick" }),
30231
- Z("div", tB, At(u.$t("psc.test_result_health_summary")), 1),
30231
+ Z("div", eB, At(u.$t("psc.test_result_health_summary")), 1),
30232
30232
  Z("i", {
30233
30233
  class: ke(["dgic-chevron-down-thin psc-text-2xl psc-transition-transform", { "psc-rotate-180": i.value }])
30234
30234
  }, null, 2)
@@ -30239,15 +30239,15 @@ const tB = { class: "psc-flex-auto psc-px-2 psc-font-semibold" }, eB = { class:
30239
30239
  class: "psc-w-full"
30240
30240
  }, {
30241
30241
  default: cn(() => [
30242
- Z("div", eB, [
30243
- it(a) ? (ut(), yt("div", nB, [
30242
+ Z("div", nB, [
30243
+ it(a) ? (ut(), yt("div", sB, [
30244
30244
  (ut(!0), yt(ts, null, dr(e.items, (f, g) => (ut(), yt("div", {
30245
30245
  key: `item${g}`,
30246
30246
  class: "psc-flex psc-w-full psc-px-3 psc-py-2"
30247
30247
  }, [
30248
- sB,
30249
- Z("div", iB, [
30250
- Z("div", { innerHTML: f }, null, 8, rB)
30248
+ iB,
30249
+ Z("div", rB, [
30250
+ Z("div", { innerHTML: f }, null, 8, aB)
30251
30251
  ])
30252
30252
  ]))), 128))
30253
30253
  ])) : ue("", !0),
@@ -30268,18 +30268,18 @@ const tB = { class: "psc-flex-auto psc-px-2 psc-font-semibold" }, eB = { class:
30268
30268
  }, 8, ["modelValue"])
30269
30269
  ], 64));
30270
30270
  }
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, [
30271
+ }), lB = {}, uB = { class: "psc-mb-4 psc-w-full psc-px-4" }, cB = { class: "psc-flex psc-flex-wrap psc-rounded-lg psc-border psc-border-gray-lighten-2 psc-p-3 psc-shadow" };
30272
+ function hB(n, t) {
30273
+ return ut(), yt("div", uB, [
30274
+ Z("div", cB, [
30275
30275
  js(n.$slots, "default")
30276
30276
  ])
30277
30277
  ]);
30278
30278
  }
30279
- const sf = /* @__PURE__ */ yr(oB, [["render", cB]]), hB = {
30279
+ const sf = /* @__PURE__ */ yr(lB, [["render", hB]]), dB = {
30280
30280
  key: 0,
30281
30281
  class: "consumer-test-result__ready"
30282
- }, dB = { class: "psc-px-4" }, lV = /* @__PURE__ */ Qt({
30282
+ }, fB = { class: "psc-px-4" }, uV = /* @__PURE__ */ Qt({
30283
30283
  __name: "TestResultDetail",
30284
30284
  props: {
30285
30285
  testResult: null,
@@ -30313,8 +30313,8 @@ const sf = /* @__PURE__ */ yr(oB, [["render", cB]]), hB = {
30313
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;
30314
30314
  });
30315
30315
  return (h, f) => (ut(), yt("div", null, [
30316
- e.loading ? (ut(), Ie(J$, { key: 0 })) : (ut(), yt(ts, { key: 1 }, [
30317
- it(i) ? (ut(), yt("div", hB, [
30316
+ e.loading ? (ut(), Ie(Q$, { key: 0 })) : (ut(), yt(ts, { key: 1 }, [
30317
+ it(i) ? (ut(), yt("div", dB, [
30318
30318
  Z("div", null, [
30319
30319
  it(o).patientName ? (ut(), Ie(_E, {
30320
30320
  key: 0,
@@ -30327,7 +30327,7 @@ const sf = /* @__PURE__ */ yr(oB, [["render", cB]]), hB = {
30327
30327
  }, null, 8, ["test-result"]),
30328
30328
  it(o).healthSummary ? (ut(), Ie(sf, { key: 1 }, {
30329
30329
  default: cn(() => [
30330
- Yt(aB, {
30330
+ Yt(oB, {
30331
30331
  items: it(u),
30332
30332
  "cta-button": e.testResult.is_free_consultant,
30333
30333
  "onClick:ctaButton": f[0] || (f[0] = (g) => t("click:book-appointment"))
@@ -30345,7 +30345,7 @@ const sf = /* @__PURE__ */ yr(oB, [["render", cB]]), hB = {
30345
30345
  })) : ue("", !0),
30346
30346
  it(o).doctorNote ? (ut(), Ie(sf, { key: 3 }, {
30347
30347
  default: cn(() => [
30348
- Yt(P$, {
30348
+ Yt(R$, {
30349
30349
  "doctor-note": e.testResult.doctor_note
30350
30350
  }, null, 8, ["doctor-note"])
30351
30351
  ]),
@@ -30353,14 +30353,14 @@ const sf = /* @__PURE__ */ yr(oB, [["render", cB]]), hB = {
30353
30353
  })) : ue("", !0),
30354
30354
  it(o).upcomingAppointment ? (ut(), Ie(sf, { key: 4 }, {
30355
30355
  default: cn(() => [
30356
- Yt(V$, {
30356
+ Yt(Y$, {
30357
30357
  "time-slot": e.testResult.consult_time
30358
30358
  }, null, 8, ["time-slot"])
30359
30359
  ]),
30360
30360
  _: 1
30361
30361
  })) : ue("", !0)
30362
30362
  ]),
30363
- Z("div", dB, [
30363
+ Z("div", fB, [
30364
30364
  js(h.$slots, "header"),
30365
30365
  it(a) ? ue("", !0) : js(h.$slots, "default", { key: 0 }),
30366
30366
  js(h.$slots, "footer")
@@ -30377,9 +30377,9 @@ const sf = /* @__PURE__ */ yr(oB, [["render", cB]]), hB = {
30377
30377
  ], 64))
30378
30378
  ]));
30379
30379
  }
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" }, [
30380
+ }), pB = { class: "psc-cursor-pointer psc-space-y-3 psc-rounded-lg psc-p-3 psc-shadow hover:psc-bg-slate-100" }, _B = { class: "psc-flex psc-items-center" }, gB = { class: "psc-flex-initial psc-font-semibold psc-text-blue-darken-1" }, mB = { class: "psc-flex-auto psc-pl-2 psc-text-black/[0.6]" }, vB = /* @__PURE__ */ Z("div", { class: "psc-flex-initial" }, [
30381
30381
  /* @__PURE__ */ Z("i", { class: "dgic-chevron-right-thin psc-text-2xl psc-text-blue-darken-1" })
30382
- ], -1), vB = { class: "psc-flex" }, yB = { class: "psc-text-sm" }, bB = /* @__PURE__ */ Qt({
30382
+ ], -1), yB = { class: "psc-flex" }, bB = { class: "psc-text-sm" }, kB = /* @__PURE__ */ Qt({
30383
30383
  __name: "TestResultListItem",
30384
30384
  props: {
30385
30385
  item: null
@@ -30417,19 +30417,19 @@ const sf = /* @__PURE__ */ yr(oB, [["render", cB]]), hB = {
30417
30417
  icon: "dgic-cancel-right-to-left"
30418
30418
  }
30419
30419
  })[t.item.result_status] || { text: "", cssClass: "", icon: "" });
30420
- return (o, u) => (ut(), yt("div", fB, [
30421
- Z("div", pB, [
30422
- Z("div", _B, [
30420
+ return (o, u) => (ut(), yt("div", pB, [
30421
+ Z("div", _B, [
30422
+ Z("div", gB, [
30423
30423
  Z("span", null, At(`${o.$t("psc.test_result_order")} ${t.item.order_id}`), 1)
30424
30424
  ]),
30425
- Z("div", gB, At(it(i)(new Date(t.item.visit_date))), 1),
30426
- mB
30425
+ Z("div", mB, At(it(i)(new Date(t.item.visit_date))), 1),
30426
+ vB
30427
30427
  ]),
30428
- Z("div", vB, [
30428
+ Z("div", yB, [
30429
30429
  Z("div", {
30430
30430
  class: ke(["psc-flex psc-items-center psc-font-semibold", it(a).cssClass])
30431
30431
  }, [
30432
- Z("span", yB, At(it(a).text), 1),
30432
+ Z("span", bB, At(it(a).text), 1),
30433
30433
  Yt(it(ia), {
30434
30434
  icon: it(a).icon,
30435
30435
  class: "psc-ml-1 psc-text-2xl"
@@ -30438,10 +30438,10 @@ const sf = /* @__PURE__ */ yr(oB, [["render", cB]]), hB = {
30438
30438
  ])
30439
30439
  ]));
30440
30440
  }
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 = {
30441
+ }), xB = { class: "psc-space-y-4 psc-px-4" }, wB = { class: "psc-w-full psc-px-4 psc-pt-7 psc-text-center" }, EB = { key: 1 }, SB = {
30442
30442
  key: 0,
30443
30443
  class: "psc-px-4 psc-pt-7"
30444
- }, uV = /* @__PURE__ */ Qt({
30444
+ }, cV = /* @__PURE__ */ Qt({
30445
30445
  __name: "TestResultList",
30446
30446
  props: {
30447
30447
  items: null,
@@ -30472,11 +30472,11 @@ const sf = /* @__PURE__ */ yr(oB, [["render", cB]]), hB = {
30472
30472
  ]),
30473
30473
  _: 1
30474
30474
  }),
30475
- Z("div", kB, [
30475
+ Z("div", xB, [
30476
30476
  (ut(!0), yt(ts, null, dr(e.items, (h, f) => (ut(), yt("div", {
30477
30477
  key: `item${f}`
30478
30478
  }, [
30479
- Yt(bB, {
30479
+ Yt(kB, {
30480
30480
  item: h,
30481
30481
  onClick: (g) => a(h)
30482
30482
  }, null, 8, ["item", "onClick"])
@@ -30485,8 +30485,8 @@ const sf = /* @__PURE__ */ yr(oB, [["render", cB]]), hB = {
30485
30485
  key: `skeleton${h}`
30486
30486
  }))), 128)) : ue("", !0)
30487
30487
  ]),
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), {
30488
+ Z("div", wB, [
30489
+ e.hideLoadMore ? (ut(), yt("div", EB, At(o.$t("psc.test_result_all_results_loaded")), 1)) : (ut(), Ie(it(nl), {
30490
30490
  key: 0,
30491
30491
  type: "secondary",
30492
30492
  disabled: e.loading,
@@ -30500,7 +30500,7 @@ const sf = /* @__PURE__ */ yr(oB, [["render", cB]]), hB = {
30500
30500
  _: 1
30501
30501
  }, 8, ["disabled"]))
30502
30502
  ]),
30503
- e.ctaButtonUrl ? (ut(), yt("div", EB, [
30503
+ e.ctaButtonUrl ? (ut(), yt("div", SB, [
30504
30504
  Yt(Gb, {
30505
30505
  class: "psc-mt-[20px]",
30506
30506
  url: n.ctaButtonUrl,
@@ -30513,16 +30513,16 @@ const sf = /* @__PURE__ */ yr(oB, [["render", cB]]), hB = {
30513
30513
  }
30514
30514
  }), Xx = () => {
30515
30515
  window.open(`tel:${qb}`, "_self");
30516
- }, SB = (n) => `${n.slice(0, -6)} ${n.slice(-6, -3)} ${n.slice(
30516
+ }, DB = (n) => `${n.slice(0, -6)} ${n.slice(-6, -3)} ${n.slice(
30517
30517
  -3
30518
- )}`, DB = { class: "psc-px-4" }, MB = {
30518
+ )}`, MB = { class: "psc-px-4" }, CB = {
30519
30519
  key: 1,
30520
30520
  class: "psc-mb-[20px] psc-flex"
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]" }, [
30521
+ }, TB = /* @__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]" }, [
30522
30522
  /* @__PURE__ */ Z("i", { class: "dgic-user-circle psc-text-[60px] psc-text-[#00000019]" })
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" }, [
30523
+ ], -1), OB = { class: "psc-text-[14px]" }, AB = { class: "psc-mb-[12px] psc-text-[20px] psc-font-[600]" }, LB = { class: "psc-mb-[8px] psc-flex psc-items-center" }, NB = /* @__PURE__ */ Z("i", { class: "dgic-cake psc-mr-1 psc-text-[22px] psc-font-bold" }, null, -1), IB = { class: "psc-mb-[8px] psc-flex psc-items-center" }, PB = /* @__PURE__ */ Z("i", { class: "dgic-phone-light psc-mr-1 psc-text-[22px]" }, null, -1), RB = { class: "psc-mb-[8px] psc-flex psc-items-center" }, FB = { class: "psc-mb-[35px] psc-flex psc-rounded-[8px] psc-bg-[#e6f0fe] psc-px-[16px] psc-py-[20px]" }, $B = /* @__PURE__ */ Z("div", { class: "items-start psc-mr-[8px] psc-flex" }, [
30524
30524
  /* @__PURE__ */ Z("i", { class: "dgic-info-fill psc-text-[24px] psc-text-blue-darken-1" })
30525
- ], -1), $B = ["innerHTML"], cV = /* @__PURE__ */ Qt({
30525
+ ], -1), BB = ["innerHTML"], hV = /* @__PURE__ */ Qt({
30526
30526
  __name: "MyProfile",
30527
30527
  props: {
30528
30528
  fullName: null,
@@ -30546,7 +30546,7 @@ const sf = /* @__PURE__ */ yr(oB, [["render", cB]]), hB = {
30546
30546
  icon: "",
30547
30547
  text: ""
30548
30548
  }), h = Et(
30549
- () => t.phoneNumber ? SB(t.phoneNumber) : ""
30549
+ () => t.phoneNumber ? DB(t.phoneNumber) : ""
30550
30550
  );
30551
30551
  return (f, g) => (ut(), yt("div", null, [
30552
30552
  Yt(p1, null, {
@@ -30555,23 +30555,23 @@ const sf = /* @__PURE__ */ yr(oB, [["render", cB]]), hB = {
30555
30555
  ]),
30556
30556
  _: 1
30557
30557
  }),
30558
- Z("div", DB, [
30558
+ Z("div", MB, [
30559
30559
  t.loading ? (ut(), Ie(jb, {
30560
30560
  key: 0,
30561
30561
  class: "psc-mb-[20px] psc-pb-16"
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,
30562
+ })) : (ut(), yt("div", CB, [
30563
+ TB,
30564
+ Z("div", OB, [
30565
+ Z("div", AB, At(it(a)), 1),
30566
+ Z("div", LB, [
30567
+ NB,
30568
30568
  As(" " + At(it(o)), 1)
30569
30569
  ]),
30570
- Z("div", NB, [
30571
- IB,
30570
+ Z("div", IB, [
30571
+ PB,
30572
30572
  As(" " + At(it(h)), 1)
30573
30573
  ]),
30574
- Z("div", PB, [
30574
+ Z("div", RB, [
30575
30575
  Z("i", {
30576
30576
  class: ke(["psc-mr-1 psc-text-[22px]", it(u).icon])
30577
30577
  }, null, 2),
@@ -30579,11 +30579,11 @@ const sf = /* @__PURE__ */ yr(oB, [["render", cB]]), hB = {
30579
30579
  ])
30580
30580
  ])
30581
30581
  ])),
30582
- Z("div", RB, [
30583
- FB,
30582
+ Z("div", FB, [
30583
+ $B,
30584
30584
  Z("div", {
30585
30585
  innerHTML: it(e)("psc.test_result_if_you_wish_to_edit_your_profile")
30586
- }, null, 8, $B)
30586
+ }, null, 8, BB)
30587
30587
  ]),
30588
30588
  t.ctaButtonUrl ? (ut(), Ie(Gb, {
30589
30589
  key: 2,
@@ -30596,27 +30596,27 @@ const sf = /* @__PURE__ */ yr(oB, [["render", cB]]), hB = {
30596
30596
  ]));
30597
30597
  }
30598
30598
  });
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({
30599
+ const VB = { class: "call-us-text-button" }, YB = /* @__PURE__ */ Z("i", { class: "dgic-phone-light psc-mr-1" }, null, -1), WB = { class: "diag-opening-time" }, dV = /* @__PURE__ */ Qt({
30600
30600
  __name: "CallUsTextButton",
30601
30601
  setup(n) {
30602
30602
  const { t } = es();
30603
- return (e, i) => (ut(), yt("div", BB, [
30603
+ return (e, i) => (ut(), yt("div", VB, [
30604
30604
  Z("div", {
30605
30605
  class: "diag-phone-number",
30606
30606
  onClick: i[0] || (i[0] = //@ts-ignore
30607
30607
  (...a) => it(Xx) && it(Xx)(...a))
30608
30608
  }, [
30609
- VB,
30609
+ YB,
30610
30610
  Z("span", null, At(it(qb)), 1)
30611
30611
  ]),
30612
- Z("div", YB, At(it(t)("psc.test_result_time_support")), 1)
30612
+ Z("div", WB, At(it(t)("psc.test_result_time_support")), 1)
30613
30613
  ]));
30614
30614
  }
30615
30615
  });
30616
- const WB = { class: "result-ready" }, UB = { class: "result-ready__title" }, HB = { class: "result-ready__date" }, zB = {
30616
+ const UB = { class: "result-ready" }, HB = { class: "result-ready__title" }, zB = { class: "result-ready__date" }, jB = {
30617
30617
  key: 0,
30618
30618
  class: "result-ready__date"
30619
- }, dV = /* @__PURE__ */ Qt({
30619
+ }, fV = /* @__PURE__ */ Qt({
30620
30620
  __name: "ResultReady",
30621
30621
  props: {
30622
30622
  testResult: null
@@ -30641,14 +30641,14 @@ const WB = { class: "result-ready" }, UB = { class: "result-ready__title" }, HB
30641
30641
  return "";
30642
30642
  }
30643
30643
  });
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)
30644
+ return (f, g) => (ut(), yt("div", UB, [
30645
+ Z("span", HB, At(it(h)), 1),
30646
+ Z("div", zB, At(it(e)("psc.test_result_sample_collected_on")) + " " + At(`${it(a)}.`), 1),
30647
+ it(u) ? (ut(), yt("div", jB, At(it(e)("psc.test_result_result_released_on")) + " " + At(`${it(o)}.`), 1)) : ue("", !0)
30648
30648
  ]));
30649
30649
  }
30650
30650
  });
30651
- const jB = {
30651
+ const GB = {
30652
30652
  gender: "Giới tính",
30653
30653
  male: "Nam",
30654
30654
  female: "Nữ",
@@ -30759,9 +30759,9 @@ const jB = {
30759
30759
  test_result_health_summary: "Tóm tắt sức khoẻ sơ bộ",
30760
30760
  test_result_have_questions: "Đặt cuộc gọi tư vấn",
30761
30761
  test_result_appointment_date: "{time} ngày {date}"
30762
- }, GB = {
30763
- psc: jB
30764
30762
  }, qB = {
30763
+ psc: GB
30764
+ }, XB = {
30765
30765
  gender: "Gender",
30766
30766
  male: "Male",
30767
30767
  female: "Female",
@@ -30872,60 +30872,60 @@ const jB = {
30872
30872
  test_result_health_summary: "Health summary",
30873
30873
  test_result_have_questions: "Book a consult call",
30874
30874
  test_result_appointment_date: "{date} in the {time}"
30875
- }, XB = {
30876
- psc: qB
30877
- }, fV = {
30875
+ }, KB = {
30876
+ psc: XB
30877
+ }, pV = {
30878
30878
  install: (n, t) => {
30879
30879
  if (t != null && t.i18n) {
30880
30880
  const { mergeLocaleMessage: e } = t.i18n.global;
30881
- e("vi", GB), e("en", XB);
30881
+ e("vi", qB), e("en", KB);
30882
30882
  }
30883
30883
  }
30884
30884
  };
30885
30885
  export {
30886
30886
  Fw as AccountSegment,
30887
30887
  FF as BookAppointment,
30888
- aV as BookAppointmentModal,
30889
- ZB as BookingDetail,
30890
- JB as BookingDetailDesktop,
30891
- oV as BookingList,
30888
+ oV as BookAppointmentModal,
30889
+ JB as BookingDetail,
30890
+ QB as BookingDetailDesktop,
30891
+ lV as BookingList,
30892
30892
  o$ as BookingListItem,
30893
30893
  Ks as BookingStatus,
30894
30894
  uf as BottomCursedType,
30895
30895
  VL as CallUsFilledButton,
30896
- hV as CallUsTextButton,
30897
- nV as CookieName,
30896
+ dV as CallUsTextButton,
30897
+ sV as CookieName,
30898
30898
  Gb as CtaButton,
30899
30899
  Oi as DayPartDuration,
30900
30900
  mn as DayPartType,
30901
30901
  id as DocumentType,
30902
- tV as EventBusName,
30903
- eV as EventType,
30902
+ eV as EventBusName,
30903
+ nV as EventType,
30904
30904
  xd as Gender,
30905
30905
  jb as LoadingSkeleton,
30906
30906
  PL as LsKey,
30907
- cV as MyProfile,
30907
+ hV as MyProfile,
30908
30908
  kE as NoItemsFound,
30909
- sV as PatientFullInfo,
30909
+ iV as PatientFullInfo,
30910
30910
  lr as PaymentStatus,
30911
30911
  sN as RejectedResult,
30912
- dV as ResultReady,
30912
+ fV as ResultReady,
30913
30913
  sT as ResultSegmentNormalType,
30914
30914
  iT as ResultSegmentValueOPR,
30915
30915
  nT as ResultType,
30916
30916
  lf as ServiceType,
30917
- QB as SupportEmail,
30917
+ tV as SupportEmail,
30918
30918
  qb as SupportPhone,
30919
30919
  Oo as TestResultConclusion,
30920
- lV as TestResultDetail,
30920
+ uV as TestResultDetail,
30921
30921
  wF as TestResultHistoryDetail,
30922
- rV as TestResultHistoryDetailModal,
30923
- uV as TestResultList,
30924
- bB as TestResultListItem,
30922
+ aV as TestResultHistoryDetailModal,
30923
+ cV as TestResultList,
30924
+ kB as TestResultListItem,
30925
30925
  Qn as TestResultStatus,
30926
30926
  Rw as TestResultTemplate,
30927
30927
  eT as TestStatus,
30928
- fV as default,
30929
- XB as en,
30930
- GB as vi
30928
+ pV as default,
30929
+ KB as en,
30930
+ qB as vi
30931
30931
  };