pat-shared-components 1.3.1-beta.21 → 1.3.1-beta.22
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/pat-shared-components116.js +1 -1
- package/dist/pat-shared-components116.mjs +1 -1
- package/dist/pat-shared-components118.js +1 -1
- package/dist/pat-shared-components118.mjs +1 -1
- package/dist/pat-shared-components119.js +1 -1
- package/dist/pat-shared-components119.mjs +1 -1
- package/dist/pat-shared-components120.js +1 -1
- package/dist/pat-shared-components120.mjs +1 -1
- package/dist/pat-shared-components121.js +1 -1
- package/dist/pat-shared-components121.mjs +1 -1
- package/dist/pat-shared-components122.js +1 -1
- package/dist/pat-shared-components122.mjs +1 -1
- package/dist/pat-shared-components123.js +1 -1
- package/dist/pat-shared-components123.mjs +1 -1
- package/dist/pat-shared-components127.js +1 -1
- package/dist/pat-shared-components127.mjs +1 -1
- package/dist/pat-shared-components128.js +1 -1
- package/dist/pat-shared-components128.mjs +2 -2
- package/dist/pat-shared-components132.js +1 -1
- package/dist/pat-shared-components132.mjs +2 -2
- package/dist/pat-shared-components133.js +1 -1
- package/dist/pat-shared-components133.mjs +2 -2
- package/dist/pat-shared-components135.js +1 -1
- package/dist/pat-shared-components135.mjs +1 -1
- package/dist/pat-shared-components137.js +1 -1
- package/dist/pat-shared-components137.mjs +2 -2
- package/dist/pat-shared-components138.js +1 -1
- package/dist/pat-shared-components138.mjs +2 -2
- package/dist/pat-shared-components139.js +1 -1
- package/dist/pat-shared-components139.mjs +2 -2
- package/dist/pat-shared-components140.js +1 -1
- package/dist/pat-shared-components140.mjs +2 -2
- package/dist/pat-shared-components143.js +1 -1
- package/dist/pat-shared-components143.js.map +1 -1
- package/dist/pat-shared-components143.mjs +29 -9
- package/dist/pat-shared-components143.mjs.map +1 -1
- package/dist/pat-shared-components144.js +1 -5
- package/dist/pat-shared-components144.js.map +1 -1
- package/dist/pat-shared-components144.mjs +27 -789
- package/dist/pat-shared-components144.mjs.map +1 -1
- package/dist/pat-shared-components145.js +1 -1
- package/dist/pat-shared-components145.js.map +1 -1
- package/dist/pat-shared-components145.mjs +24 -5
- package/dist/pat-shared-components145.mjs.map +1 -1
- package/dist/pat-shared-components146.js +1 -1
- package/dist/pat-shared-components146.js.map +1 -1
- package/dist/pat-shared-components146.mjs +17 -25
- package/dist/pat-shared-components146.mjs.map +1 -1
- package/dist/pat-shared-components147.js +1 -4
- package/dist/pat-shared-components147.js.map +1 -1
- package/dist/pat-shared-components147.mjs +27 -1364
- package/dist/pat-shared-components147.mjs.map +1 -1
- package/dist/pat-shared-components148.js +1 -1
- package/dist/pat-shared-components148.js.map +1 -1
- package/dist/pat-shared-components148.mjs +9 -97
- package/dist/pat-shared-components148.mjs.map +1 -1
- package/dist/pat-shared-components149.js +5 -1
- package/dist/pat-shared-components149.js.map +1 -1
- package/dist/pat-shared-components149.mjs +789 -16
- package/dist/pat-shared-components149.mjs.map +1 -1
- package/dist/pat-shared-components150.js +1 -1
- package/dist/pat-shared-components150.js.map +1 -1
- package/dist/pat-shared-components150.mjs +5 -63
- package/dist/pat-shared-components150.mjs.map +1 -1
- package/dist/pat-shared-components151.js +1 -1
- package/dist/pat-shared-components151.js.map +1 -1
- package/dist/pat-shared-components151.mjs +25 -15
- package/dist/pat-shared-components151.mjs.map +1 -1
- package/dist/pat-shared-components152.js +4 -1
- package/dist/pat-shared-components152.js.map +1 -1
- package/dist/pat-shared-components152.mjs +1352 -94
- package/dist/pat-shared-components152.mjs.map +1 -1
- package/dist/pat-shared-components153.js +1 -1
- package/dist/pat-shared-components153.js.map +1 -1
- package/dist/pat-shared-components153.mjs +97 -7
- package/dist/pat-shared-components153.mjs.map +1 -1
- package/dist/pat-shared-components154.js +1 -1
- package/dist/pat-shared-components154.js.map +1 -1
- package/dist/pat-shared-components154.mjs +17 -4
- package/dist/pat-shared-components154.mjs.map +1 -1
- package/dist/pat-shared-components155.js +1 -1
- package/dist/pat-shared-components155.js.map +1 -1
- package/dist/pat-shared-components155.mjs +58 -43
- package/dist/pat-shared-components155.mjs.map +1 -1
- package/dist/pat-shared-components156.js +1 -1
- package/dist/pat-shared-components156.js.map +1 -1
- package/dist/pat-shared-components156.mjs +10 -24
- package/dist/pat-shared-components156.mjs.map +1 -1
- package/dist/pat-shared-components157.js +1 -1
- package/dist/pat-shared-components157.js.map +1 -1
- package/dist/pat-shared-components157.mjs +102 -24
- package/dist/pat-shared-components157.mjs.map +1 -1
- package/dist/pat-shared-components158.js +1 -1
- package/dist/pat-shared-components158.js.map +1 -1
- package/dist/pat-shared-components158.mjs +7 -24
- package/dist/pat-shared-components158.mjs.map +1 -1
- package/dist/pat-shared-components159.js +1 -1
- package/dist/pat-shared-components159.js.map +1 -1
- package/dist/pat-shared-components159.mjs +4 -17
- package/dist/pat-shared-components159.mjs.map +1 -1
- package/dist/pat-shared-components160.js +1 -1
- package/dist/pat-shared-components160.js.map +1 -1
- package/dist/pat-shared-components160.mjs +43 -22
- package/dist/pat-shared-components160.mjs.map +1 -1
- package/dist/pat-shared-components162.js +1 -1
- package/dist/pat-shared-components162.mjs +1 -1
- package/dist/pat-shared-components163.js +1 -1
- package/dist/pat-shared-components163.js.map +1 -1
- package/dist/pat-shared-components163.mjs +159 -2
- package/dist/pat-shared-components163.mjs.map +1 -1
- package/dist/pat-shared-components164.js +1 -1
- package/dist/pat-shared-components164.mjs +2 -10
- package/dist/pat-shared-components164.mjs.map +1 -1
- package/dist/pat-shared-components165.js +1 -1
- package/dist/pat-shared-components165.mjs +1 -9
- package/dist/pat-shared-components165.mjs.map +1 -1
- package/dist/pat-shared-components166.js +1 -4
- package/dist/pat-shared-components166.js.map +1 -1
- package/dist/pat-shared-components166.mjs +2 -1363
- package/dist/pat-shared-components166.mjs.map +1 -1
- package/dist/pat-shared-components167.js +1 -1
- package/dist/pat-shared-components167.mjs +2 -10
- package/dist/pat-shared-components167.mjs.map +1 -1
- package/dist/pat-shared-components168.js +1 -1
- package/dist/pat-shared-components168.js.map +1 -1
- package/dist/pat-shared-components168.mjs +2 -159
- package/dist/pat-shared-components168.mjs.map +1 -1
- package/dist/pat-shared-components169.js +1 -1
- package/dist/pat-shared-components169.mjs +2 -2
- package/dist/pat-shared-components170.js +1 -1
- package/dist/pat-shared-components170.mjs +1 -1
- package/dist/pat-shared-components171.js +1 -1
- package/dist/pat-shared-components171.js.map +1 -1
- package/dist/pat-shared-components171.mjs +25 -2
- package/dist/pat-shared-components171.mjs.map +1 -1
- package/dist/pat-shared-components172.js +1 -1
- package/dist/pat-shared-components172.mjs +10 -2
- package/dist/pat-shared-components172.mjs.map +1 -1
- package/dist/pat-shared-components173.js +1 -1
- package/dist/pat-shared-components173.mjs +9 -1
- package/dist/pat-shared-components173.mjs.map +1 -1
- package/dist/pat-shared-components174.js +4 -1
- package/dist/pat-shared-components174.js.map +1 -1
- package/dist/pat-shared-components174.mjs +1363 -77
- package/dist/pat-shared-components174.mjs.map +1 -1
- package/dist/pat-shared-components175.js +1 -1
- package/dist/pat-shared-components175.mjs +2 -2
- package/dist/pat-shared-components176.js +1 -1
- package/dist/pat-shared-components176.js.map +1 -1
- package/dist/pat-shared-components176.mjs +64 -43
- package/dist/pat-shared-components176.mjs.map +1 -1
- package/dist/pat-shared-components178.js +1 -1
- package/dist/pat-shared-components178.js.map +1 -1
- package/dist/pat-shared-components178.mjs +43 -58
- package/dist/pat-shared-components178.mjs.map +1 -1
- package/dist/pat-shared-components180.js +1 -1
- package/dist/pat-shared-components180.js.map +1 -1
- package/dist/pat-shared-components180.mjs +71 -2
- package/dist/pat-shared-components180.mjs.map +1 -1
- package/dist/pat-shared-components181.js +1 -1
- package/dist/pat-shared-components181.mjs +2 -2
- package/dist/pat-shared-components182.js +1 -1
- package/dist/pat-shared-components182.js.map +1 -1
- package/dist/pat-shared-components182.mjs +2 -25
- package/dist/pat-shared-components182.mjs.map +1 -1
- package/dist/pat-shared-components183.js +1 -1
- package/dist/pat-shared-components183.js.map +1 -1
- package/dist/pat-shared-components183.mjs +2 -37
- package/dist/pat-shared-components183.mjs.map +1 -1
- package/dist/pat-shared-components184.js +1 -1
- package/dist/pat-shared-components184.mjs +2 -13
- package/dist/pat-shared-components184.mjs.map +1 -1
- package/dist/pat-shared-components185.js +1 -1
- package/dist/pat-shared-components185.js.map +1 -1
- package/dist/pat-shared-components185.mjs +31 -21
- package/dist/pat-shared-components185.mjs.map +1 -1
- package/dist/pat-shared-components186.js +1 -1
- package/dist/pat-shared-components186.js.map +1 -1
- package/dist/pat-shared-components186.mjs +13 -58
- package/dist/pat-shared-components186.mjs.map +1 -1
- package/dist/pat-shared-components187.js +1 -1
- package/dist/pat-shared-components187.js.map +1 -1
- package/dist/pat-shared-components187.mjs +26 -19
- package/dist/pat-shared-components187.mjs.map +1 -1
- package/dist/pat-shared-components188.js +1 -6
- package/dist/pat-shared-components188.js.map +1 -1
- package/dist/pat-shared-components188.mjs +58 -107
- package/dist/pat-shared-components188.mjs.map +1 -1
- package/dist/pat-shared-components189.js +1 -6
- package/dist/pat-shared-components189.js.map +1 -1
- package/dist/pat-shared-components189.mjs +8 -948
- package/dist/pat-shared-components189.mjs.map +1 -1
- package/dist/pat-shared-components190.js +1 -7
- package/dist/pat-shared-components190.js.map +1 -1
- package/dist/pat-shared-components190.mjs +19 -860
- package/dist/pat-shared-components190.mjs.map +1 -1
- package/dist/pat-shared-components191.js +6 -1
- package/dist/pat-shared-components191.js.map +1 -1
- package/dist/pat-shared-components191.mjs +106 -5
- package/dist/pat-shared-components191.mjs.map +1 -1
- package/dist/pat-shared-components192.js +6 -1
- package/dist/pat-shared-components192.js.map +1 -1
- package/dist/pat-shared-components192.mjs +949 -3
- package/dist/pat-shared-components192.mjs.map +1 -1
- package/dist/pat-shared-components193.js +7 -1
- package/dist/pat-shared-components193.js.map +1 -1
- package/dist/pat-shared-components193.mjs +861 -2
- package/dist/pat-shared-components193.mjs.map +1 -1
- package/dist/pat-shared-components194.js +1 -1
- package/dist/pat-shared-components194.js.map +1 -1
- package/dist/pat-shared-components194.mjs +6 -4
- package/dist/pat-shared-components194.mjs.map +1 -1
- package/dist/pat-shared-components195.js +1 -1
- package/dist/pat-shared-components195.js.map +1 -1
- package/dist/pat-shared-components195.mjs +3 -7
- package/dist/pat-shared-components195.mjs.map +1 -1
- package/dist/pat-shared-components196.js +1 -1
- package/dist/pat-shared-components196.js.map +1 -1
- package/dist/pat-shared-components196.mjs +2 -7
- package/dist/pat-shared-components196.mjs.map +1 -1
- package/dist/pat-shared-components197.js +1 -1
- package/dist/pat-shared-components197.js.map +1 -1
- package/dist/pat-shared-components197.mjs +4 -2
- package/dist/pat-shared-components197.mjs.map +1 -1
- package/dist/pat-shared-components198.js +1 -1
- package/dist/pat-shared-components198.js.map +1 -1
- package/dist/pat-shared-components198.mjs +8 -2
- package/dist/pat-shared-components198.mjs.map +1 -1
- package/dist/pat-shared-components199.js +1 -1
- package/dist/pat-shared-components199.js.map +1 -1
- package/dist/pat-shared-components199.mjs +7 -2
- package/dist/pat-shared-components199.mjs.map +1 -1
- package/dist/pat-shared-components200.js +1 -1
- package/dist/pat-shared-components200.mjs +1 -1
- package/dist/pat-shared-components205.js +1 -1
- package/dist/pat-shared-components205.mjs +1 -1
- package/dist/pat-shared-components206.js +1 -1
- package/dist/pat-shared-components206.mjs +1 -1
- package/dist/pat-shared-components207.js +1 -1
- package/dist/pat-shared-components207.mjs +1 -1
- package/dist/pat-shared-components208.js +1 -1
- package/dist/pat-shared-components208.js.map +1 -1
- package/dist/pat-shared-components208.mjs +9 -39
- package/dist/pat-shared-components208.mjs.map +1 -1
- package/dist/pat-shared-components209.js +1 -1
- package/dist/pat-shared-components209.js.map +1 -1
- package/dist/pat-shared-components209.mjs +39 -9
- package/dist/pat-shared-components209.mjs.map +1 -1
- package/dist/pat-shared-components210.js +5 -1
- package/dist/pat-shared-components210.js.map +1 -1
- package/dist/pat-shared-components210.mjs +10 -78
- package/dist/pat-shared-components210.mjs.map +1 -1
- package/dist/pat-shared-components211.js +1 -1
- package/dist/pat-shared-components211.js.map +1 -1
- package/dist/pat-shared-components211.mjs +78 -20
- package/dist/pat-shared-components211.mjs.map +1 -1
- package/dist/pat-shared-components212.js +1 -1
- package/dist/pat-shared-components212.mjs +13 -12
- package/dist/pat-shared-components212.mjs.map +1 -1
- package/dist/pat-shared-components213.js +1 -1
- package/dist/pat-shared-components213.mjs +17 -14
- package/dist/pat-shared-components213.mjs.map +1 -1
- package/dist/pat-shared-components214.js +1 -1
- package/dist/pat-shared-components214.mjs +9 -9
- package/dist/pat-shared-components215.js +1 -1
- package/dist/pat-shared-components215.mjs +14 -32
- package/dist/pat-shared-components215.mjs.map +1 -1
- package/dist/pat-shared-components216.js +1 -1
- package/dist/pat-shared-components216.mjs +34 -5
- package/dist/pat-shared-components216.mjs.map +1 -1
- package/dist/pat-shared-components217.js +1 -1
- package/dist/pat-shared-components217.mjs +5 -18
- package/dist/pat-shared-components217.mjs.map +1 -1
- package/dist/pat-shared-components218.js +1 -1
- package/dist/pat-shared-components218.mjs +11 -13
- package/dist/pat-shared-components218.mjs.map +1 -1
- package/dist/pat-shared-components219.js +1 -5
- package/dist/pat-shared-components219.js.map +1 -1
- package/dist/pat-shared-components219.mjs +20 -10
- package/dist/pat-shared-components219.mjs.map +1 -1
- package/dist/pat-shared-components220.js +1 -1
- package/dist/pat-shared-components220.mjs +1 -1
- package/dist/pat-shared-components242.js +1 -1
- package/dist/pat-shared-components242.mjs +2 -2
- package/dist/pat-shared-components245.js +1 -1
- package/dist/pat-shared-components245.mjs +2 -2
- package/dist/pat-shared-components262.js +1 -1
- package/dist/pat-shared-components262.js.map +1 -1
- package/dist/pat-shared-components262.mjs +2 -53
- package/dist/pat-shared-components262.mjs.map +1 -1
- package/dist/pat-shared-components263.js +1 -1
- package/dist/pat-shared-components263.mjs +2 -2
- package/dist/pat-shared-components264.js +1 -1
- package/dist/pat-shared-components264.js.map +1 -1
- package/dist/pat-shared-components264.mjs +53 -2
- package/dist/pat-shared-components264.mjs.map +1 -1
- package/dist/pat-shared-components265.js +1 -1
- package/dist/pat-shared-components265.mjs +2 -2
- package/dist/pat-shared-components6.js +1 -1
- package/dist/pat-shared-components6.mjs +0 -1
- package/dist/pat-shared-components6.mjs.map +1 -1
- package/dist/pat-shared-components63.js +1 -1
- package/dist/pat-shared-components63.mjs +1 -1
- package/dist/pat-shared-components65.js +1 -1
- package/dist/pat-shared-components65.mjs +3 -3
- package/dist/pat-shared-components69.js +1 -1
- package/dist/pat-shared-components69.mjs +1 -1
- package/dist/pat-shared-components7.js +1 -1
- package/dist/pat-shared-components7.mjs +0 -1
- package/dist/pat-shared-components7.mjs.map +1 -1
- package/dist/pat-shared-components71.js +1 -1
- package/dist/pat-shared-components71.mjs +1 -1
- package/dist/pat-shared-components78.js +1 -1
- package/dist/pat-shared-components78.mjs +2 -2
- package/dist/pat-shared-components80.js +1 -1
- package/dist/pat-shared-components80.js.map +1 -1
- package/dist/pat-shared-components80.mjs +28 -32
- package/dist/pat-shared-components80.mjs.map +1 -1
- package/dist/pat-shared-components81.js +1 -1
- package/dist/pat-shared-components81.mjs +2 -2
- package/dist/pat-shared-components84.js +1 -1
- package/dist/pat-shared-components84.mjs +2 -2
- package/dist/pat-shared-components85.js +1 -1
- package/dist/pat-shared-components85.mjs +2 -2
- package/dist/pat-shared-components87.js +1 -1
- package/dist/pat-shared-components87.mjs +3 -3
- package/dist/pat-shared-components88.js +1 -1
- package/dist/pat-shared-components88.mjs +1 -1
- package/dist/pat-shared-components89.js +1 -1
- package/dist/pat-shared-components89.mjs +2 -2
- package/dist/pat-shared-components94.js +1 -1
- package/dist/pat-shared-components94.mjs +3 -3
- package/dist/pat-shared-components95.js +1 -1
- package/dist/pat-shared-components95.mjs +1 -1
- package/dist/pat-shared-components96.js +1 -1
- package/dist/pat-shared-components96.mjs +1 -1
- package/package.json +1 -1
|
@@ -13,5 +13,5 @@ Based on your test results Record ID: {customer_code}, the doctor has scheduled
|
|
|
13
13
|
Based on your test results from {last_visit_date} (Record ID: {customer_code}), our doctor recommends that you undergo the follow-up tests below to ensure more effective health monitoring and management.`,test_result_followup_context_walkin_no_booking:`Thank you for choosing Diag! Your health is always our top priority.
|
|
14
14
|
|
|
15
15
|
Based on your test results from {last_visit_date} (Record ID: {customer_code}), our doctor recommends the appointment below to ensure more effective health monitoring and management.`,test_result_add_to_calendar:"Add to Calendar",test_result_followup_appointment_details:"Appointment details:",test_result_followup_details:"Details:",test_result_followup_booking_code:"Booking code:",test_result_followup_appointment_date:"Appointment date:",test_result_followup_last_visit_date:"Last visit date:",test_result_followup_test_list:"Test list:",test_result_followup_doctor_note:"Doctor's note:",test_result_followup_footer:`If you have any questions, Diag is always here to help.
|
|
16
|
-
Thank you for proactively monitoring and taking care of your health.`,test_result_followup_footer_thanks:"Thank you for proactively monitoring and taking care of your health.",test_result_summary_disclaimer_first:"This is only for reference.",test_result_summary_disclaimer:"{first} Please talk to your doctor for more details.",test_result_processing:"Processing",test_result_be_in_touch_soon:"We’ll be in touch soon!",test_result_will_call_you_shortly:"Please wait, Diag will call you shortly to provide further information.",test_result_book_now:"Book now",test_result_view_details:"View details",test_result_detail_step_1:"Your sample has been collected",test_result_detail_step_2:"Analyzing your sample",test_result_detail_step_3:"Results are ready",website_header:{text:{locate_col_center:"Locations",my_test_result:"My test result",partner_portal:"Partner portal",help_support:"Help & Support",about_us:"About us",about_diag:"About Diag",careers:"Careers"},route:{locate_collection_center:"en/find-branch",my_test_result:"en/test-results/individual",partner_portal:"en/test-results",support:"en/help-support",about_diag:"en/about-us",careers:"en/careers"}},appointment_booking:{title:"Appointment List",statuses:{reserved:"Reserved",confirmed:"Confirmed",expired:"Expired",cancelled:"Cancelled"},
|
|
16
|
+
Thank you for proactively monitoring and taking care of your health.`,test_result_followup_footer_thanks:"Thank you for proactively monitoring and taking care of your health.",test_result_summary_disclaimer_first:"This is only for reference.",test_result_summary_disclaimer:"{first} Please talk to your doctor for more details.",test_result_processing:"Processing",test_result_be_in_touch_soon:"We’ll be in touch soon!",test_result_will_call_you_shortly:"Please wait, Diag will call you shortly to provide further information.",test_result_book_now:"Book now",test_result_view_details:"View details",test_result_detail_step_1:"Your sample has been collected",test_result_detail_step_2:"Analyzing your sample",test_result_detail_step_3:"Results are ready",website_header:{text:{locate_col_center:"Locations",my_test_result:"My test result",partner_portal:"Partner portal",help_support:"Help & Support",about_us:"About us",about_diag:"About Diag",careers:"Careers"},route:{locate_collection_center:"en/find-branch",my_test_result:"en/test-results/individual",partner_portal:"en/test-results",support:"en/help-support",about_diag:"en/about-us",careers:"en/careers"}},appointment_booking:{title:"Appointment List",statuses:{reserved:"Reserved",confirmed:"Confirmed",expired:"Expired",cancelled:"Cancelled"},time:"Time"}},e={note:"Note",referral_code:"Referral code",info_referral_code:"Refer to reputable partners for collaboration with Diag.",infomation:"Patients please contact the Clinic directly using the following information",address:"Address",time_working:"Working time",hotline:"Hotline"},o="If your lab blood test requires fasting, please refrain from eating or drinking for at least 8 hours before your appointment. However, drinking water is allowed during this fasting period.",s={psc:t,referral_code:e,disclaimer:o};exports.default=s;exports.disclaimer=o;exports.psc=t;exports.referral_code=e;
|
|
17
17
|
//# sourceMappingURL=pat-shared-components7.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components7.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pat-shared-components7.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),i=require("./pat-shared-
|
|
1
|
+
"use strict";const e=require("vue"),i=require("./pat-shared-components147.js"),_=require("./pat-shared-components89.js"),g=require("./pat-shared-components64.js"),m=require("./pat-shared-components76.js"),b={key:0,class:"psc-space-y-4"},k={class:"psc-space-y-8 psc-rounded-lg psc-border psc-border-gray-lighten-2 psc-p-4 psc-shadow"},f=e.defineComponent({__name:"SampleCollectionInfo",props:{booking:null},setup(l){const o=l,{t:a}=g.useI18n(),{formatDateHuge:p}=_.useDate(),c=e.computed(()=>{var t,s,n,r;return{address:(t=o.booking.data)!=null&&t.is_hbc?o.booking.address:(n=(s=o.booking.data)==null?void 0:s.supportingInformation)==null?void 0:n.appointmentSampleCollectionPlace,expectedDate:(r=o.booking.data)==null?void 0:r.planned_test_date}}),d=e.computed(()=>{var t,s,n;return(!!o.booking.address||!!((s=(t=o.booking.data)==null?void 0:t.supportingInformation)!=null&&s.appointmentSampleCollectionPlace))&&!!((n=o.booking.data)!=null&&n.planned_test_date)}),u=e.computed(()=>{var t;return(t=o.booking.data)!=null&&t.is_hbc?a("psc.test_result_booking_sample_collection"):a("psc.test_result_booking_testing_location")});return(t,s)=>e.unref(d)?(e.openBlock(),e.createElementBlock("div",b,[e.createVNode(m,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(u)),1)]),_:1}),e.createElementVNode("div",k,[e.unref(c).address?(e.openBlock(),e.createBlock(i,{key:0,icon:"dgic-pin-map-thick",title:t.$t("psc.test_result_booking_address"),subtitle:e.unref(c).address,class:"psc-relative after:psc-absolute after:-psc-bottom-4 after:psc-h-[1px] after:psc-w-full after:psc-bg-gray-lighten-2 after:psc-content-['']"},null,8,["title","subtitle"])):e.createCommentVNode("",!0),e.unref(c).expectedDate?(e.openBlock(),e.createBlock(i,{key:1,icon:"dgic-date-thick",title:t.$t("psc.test_result_booking_expected_date"),subtitle:e.unref(p)(new Date(e.unref(c).expectedDate))},null,8,["title","subtitle"])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)}});module.exports=f;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components71.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as f, computed as c, unref as o, openBlock as i, createElementBlock as k, createVNode as h, withCtx as y, createTextVNode as D, toDisplayString as x, createElementVNode as C, createBlock as d, createCommentVNode as l } from "vue";
|
|
2
|
-
import _ from "./pat-shared-
|
|
2
|
+
import _ from "./pat-shared-components147.mjs";
|
|
3
3
|
import { useDate as S } from "./pat-shared-components89.mjs";
|
|
4
4
|
import { useI18n as v } from "./pat-shared-components64.mjs";
|
|
5
5
|
import w from "./pat-shared-components76.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),s=require("./pat-shared-
|
|
1
|
+
"use strict";const e=require("vue"),s=require("./pat-shared-components172.js"),c=require("./pat-shared-components173.js"),t={class:"psc-animate-pulse psc-space-y-11"},o={class:"psc-space-y-6"},a=e.createElementVNode("div",{class:"psc-space-y-3"},[e.createElementVNode("div",{class:"psc-h-8 psc-w-[64%] psc-rounded-lg psc-bg-gray-200 dark:psc-bg-gray-400"}),e.createElementVNode("div",{class:"psc-h-5 psc-w-[86%] psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300"})],-1),n={class:"psc-space-y-4"},r=e.defineComponent({__name:"BookingDetailSkeleton",setup(p){return(d,l)=>(e.openBlock(),e.createElementBlock("div",t,[e.createElementVNode("div",o,[a,e.createElementVNode("div",n,[e.createVNode(c)])]),e.createVNode(s)]))}});module.exports=r;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components78.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as c, openBlock as o, createElementBlock as t, createElementVNode as s, createVNode as e } from "vue";
|
|
2
|
-
import a from "./pat-shared-
|
|
3
|
-
import p from "./pat-shared-
|
|
2
|
+
import a from "./pat-shared-components172.mjs";
|
|
3
|
+
import p from "./pat-shared-components173.mjs";
|
|
4
4
|
const n = { class: "psc-animate-pulse psc-space-y-11" }, r = { class: "psc-space-y-6" }, d = /* @__PURE__ */ s("div", { class: "psc-space-y-3" }, [
|
|
5
5
|
/* @__PURE__ */ s("div", { class: "psc-h-8 psc-w-[64%] psc-rounded-lg psc-bg-gray-200 dark:psc-bg-gray-400" }),
|
|
6
6
|
/* @__PURE__ */ s("div", { class: "psc-h-5 psc-w-[86%] psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300" })
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),_=require("./pat-shared-components64.js"),
|
|
1
|
+
"use strict";const e=require("vue"),_=require("./pat-shared-components64.js"),r=require("./pat-shared-components174.js"),g={key:0,class:"psc-space-y-4"},f={class:"psc-text-base psc-font-semibold"},y={class:"psc-mb-2 psc-flex psc-items-start psc-justify-between"},Y={class:"psc-font-semibold psc-text-gray-900"},D={class:"psc-rounded psc-bg-blue-100 psc-px-2 psc-py-1 psc-text-xs psc-font-medium psc-text-blue-800"},b={class:"psc-text-xs psc-text-gray-600"},k={class:"psc-font-medium"},h=e.defineComponent({__name:"AppointmentBookingList",props:{appointments:null,isDesktop:{type:Boolean,default:!1}},setup(a){const n=a,{locale:p,t:i}=_.useI18n(),l=t=>p.value==="en"?t.specialty_name_en||t.specialty:t.specialty_name||t.specialty,m=t=>{const c=t.toLowerCase();return i(`psc.appointment_booking.statuses.${c}`)||t},d=(t,c)=>{if(!t||!c)return"";const o=r(t),s=r(c);return o.format("DD/MM/YYYY")===s.format("DD/MM/YYYY")?`${o.format("DD/MM/YYYY HH:mm")} - ${s.format("HH:mm")}`:`${o.format("DD/MM/YYYY HH:mm")} - ${s.format("DD/MM/YYYY HH:mm")}`};return(t,c)=>{var o;return(o=n.appointments)!=null&&o.length?(e.openBlock(),e.createElementBlock("div",g,[e.createElementVNode("div",f,e.toDisplayString(t.$t("psc.appointment_booking.title")),1),e.createElementVNode("div",{class:e.normalizeClass(["psc-grid",n.isDesktop?"psc-grid-cols-1 psc-gap-4 md:psc-grid-cols-2 lg:psc-grid-cols-3":"psc-grid-cols-1 psc-gap-3"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.appointments,(s,u)=>(e.openBlock(),e.createElementBlock("div",{key:u,class:"psc-rounded-lg psc-border psc-border-gray-200 psc-bg-white psc-p-4 psc-shadow-sm"},[e.createElementVNode("div",y,[e.createElementVNode("span",Y,e.toDisplayString(l(s)),1),e.createElementVNode("span",D,e.toDisplayString(m(s.status)),1)]),e.createElementVNode("div",b,[e.createElementVNode("div",null,[e.createElementVNode("span",k,e.toDisplayString(t.$t("psc.appointment_booking.time"))+":",1),e.createTextVNode(" "+e.toDisplayString(d(s.scheduled_start_datetime,s.scheduled_end_datetime)),1)])])]))),128))],2)])):e.createCommentVNode("",!0)}}});module.exports=h;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components80.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components80.js","sources":["../src/components/BookingDetail/AppointmentBookingList.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"psc-space-y-4\"\n}\nconst _hoisted_2 = { class: \"psc-text-base psc-font-semibold\" }\nconst _hoisted_3 = { class: \"psc-mb-2 psc-flex psc-items-start psc-justify-between\" }\nconst _hoisted_4 = { class: \"psc-font-semibold psc-text-gray-900\" }\nconst _hoisted_5 = { class: \"psc-rounded psc-bg-blue-100 psc-px-2 psc-py-1 psc-text-xs psc-font-medium psc-text-blue-800\" }\nconst _hoisted_6 = { class: \"psc-
|
|
1
|
+
{"version":3,"file":"pat-shared-components80.js","sources":["../src/components/BookingDetail/AppointmentBookingList.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"psc-space-y-4\"\n}\nconst _hoisted_2 = { class: \"psc-text-base psc-font-semibold\" }\nconst _hoisted_3 = { class: \"psc-mb-2 psc-flex psc-items-start psc-justify-between\" }\nconst _hoisted_4 = { class: \"psc-font-semibold psc-text-gray-900\" }\nconst _hoisted_5 = { class: \"psc-rounded psc-bg-blue-100 psc-px-2 psc-py-1 psc-text-xs psc-font-medium psc-text-blue-800\" }\nconst _hoisted_6 = { class: \"psc-text-xs psc-text-gray-600\" }\nconst _hoisted_7 = { class: \"psc-font-medium\" }\n\nimport type { AppointmentBooking } from '@/types';\nimport { computed } from 'vue';\nimport { useI18n } from 'vue-i18n';\nimport moment from 'moment-mini';\n\n/**\n * Props\n */\nexport interface Props {\n appointments: AppointmentBooking[];\n isDesktop?: boolean;\n}\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'AppointmentBookingList',\n props: {\n appointments: null,\n isDesktop: { type: Boolean, default: false }\n },\n setup(__props: any) {\n\nconst props = __props as { appointments: AppointmentBooking[], isDesktop: boolean };\n\n\n\n/**\n * Data\n */\nconst { locale, t } = useI18n();\n\n/**\n * Methods\n */\nconst getSpecialtyName = (appointment: AppointmentBooking) => {\n if (locale.value === 'en') {\n return appointment.specialty_name_en || appointment.specialty;\n }\n return appointment.specialty_name || appointment.specialty;\n};\n\nconst getStatusTranslation = (status: string) => {\n const statusKey = status.toLowerCase();\n return t(`psc.appointment_booking.statuses.${statusKey}`) || status;\n};\n\nconst formatDateTimeRange = (start: string, end: string) => {\n if (!start || !end) return '';\n\n const startMoment = moment(start);\n const endMoment = moment(end);\n\n // Check if same day\n if (startMoment.format('DD/MM/YYYY') === endMoment.format('DD/MM/YYYY')) {\n return `${startMoment.format('DD/MM/YYYY HH:mm')} - ${endMoment.format(\n 'HH:mm'\n )}`;\n }\n\n return `${startMoment.format('DD/MM/YYYY HH:mm')} - ${endMoment.format(\n 'DD/MM/YYYY HH:mm'\n )}`;\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (props.appointments?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(_ctx.$t('psc.appointment_booking.title')), 1),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\n 'psc-grid',\n props.isDesktop\n ? 'psc-grid-cols-1 psc-gap-4 md:psc-grid-cols-2 lg:psc-grid-cols-3'\n : 'psc-grid-cols-1 psc-gap-3',\n ])\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(props.appointments, (appointment, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: index,\n class: \"psc-rounded-lg psc-border psc-border-gray-200 psc-bg-white psc-p-4 psc-shadow-sm\"\n }, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(getSpecialtyName(appointment)), 1),\n _createElementVNode(\"span\", _hoisted_5, _toDisplayString(getStatusTranslation(appointment.status)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", _hoisted_7, _toDisplayString(_ctx.$t('psc.appointment_booking.time')) + \":\", 1),\n _createTextVNode(\" \" + _toDisplayString(formatDateTimeRange(\n appointment.scheduled_start_datetime,\n appointment.scheduled_end_datetime\n )), 1)\n ])\n ])\n ]))\n }), 128))\n ], 2)\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_sfc_main","_defineComponent","__props","props","locale","t","useI18n","getSpecialtyName","appointment","getStatusTranslation","status","statusKey","formatDateTimeRange","start","end","startMoment","moment","endMoment","_ctx","_cache","_a","_openBlock","_createElementBlock","_createElementVNode","_toDisplayString","_normalizeClass","_Fragment","_renderList","index","_createTextVNode","_createCommentVNode"],"mappings":"yHAGMA,EAAa,CACjB,IAAK,EACL,MAAO,eACT,EACMC,EAAa,CAAE,MAAO,mCACtBC,EAAa,CAAE,MAAO,yDACtBC,EAAa,CAAE,MAAO,uCACtBC,EAAa,CAAE,MAAO,+FACtBC,EAAa,CAAE,MAAO,iCACtBC,EAAa,CAAE,MAAO,mBAeAC,EAAiBC,kBAAA,CAC3C,OAAQ,yBACR,MAAO,CACL,aAAc,KACd,UAAW,CAAE,KAAM,QAAS,QAAS,EAAM,CAC7C,EACA,MAAMC,EAAc,CAEtB,MAAMC,EAAQD,EAOR,CAAE,OAAAE,EAAQ,EAAAC,CAAE,EAAIC,EAAQ,QAAA,EAKxBC,EAAoBC,GACpBJ,EAAO,QAAU,KACZI,EAAY,mBAAqBA,EAAY,UAE/CA,EAAY,gBAAkBA,EAAY,UAG7CC,EAAwBC,GAAmB,CACzC,MAAAC,EAAYD,EAAO,cAClB,OAAAL,EAAE,oCAAoCM,GAAW,GAAKD,CAAA,EAGzDE,EAAsB,CAACC,EAAeC,IAAgB,CACtD,GAAA,CAACD,GAAS,CAACC,EAAY,MAAA,GAErB,MAAAC,EAAcC,EAAOH,CAAK,EAC1BI,EAAYD,EAAOF,CAAG,EAG5B,OAAIC,EAAY,OAAO,YAAY,IAAME,EAAU,OAAO,YAAY,EAC7D,GAAGF,EAAY,OAAO,kBAAkB,OAAOE,EAAU,OAC9D,OACF,IAGK,GAAGF,EAAY,OAAO,kBAAkB,OAAOE,EAAU,OAC9D,kBACF,GAAA,EAGK,MAAA,CAACC,EAAUC,IAAgB,OAChC,OAAQC,EAAAjB,EAAM,eAAN,MAAAiB,EAAoB,QACvBC,cAAcC,EAAA,mBAAoB,MAAO7B,EAAY,CACpD8B,qBAAoB,MAAO7B,EAAY8B,EAAA,gBAAiBN,EAAK,GAAG,+BAA+B,CAAC,EAAG,CAAC,EACpGK,EAAAA,mBAAoB,MAAO,CACzB,MAAOE,EAAAA,eAAgB,CACzB,WACAtB,EAAM,UACF,kEACA,2BAAA,CACL,CAAA,EACI,EACAkB,EAAAA,UAAW,EAAI,EAAGC,EAAoB,mBAAAI,WAAW,KAAMC,EAAA,WAAYxB,EAAM,aAAc,CAACK,EAAaoB,KAC5FP,EAAA,UAAA,EAAcC,EAAA,mBAAoB,MAAO,CAC/C,IAAKM,EACL,MAAO,kFAAA,EACN,CACDL,EAAA,mBAAoB,MAAO5B,EAAY,CACrC4B,EAAA,mBAAoB,OAAQ3B,EAAY4B,EAAAA,gBAAiBjB,EAAiBC,CAAW,CAAC,EAAG,CAAC,EAC1Fe,qBAAoB,OAAQ1B,EAAY2B,EAAA,gBAAiBf,EAAqBD,EAAY,MAAM,CAAC,EAAG,CAAC,CAAA,CACtG,EACDe,EAAA,mBAAoB,MAAOzB,EAAY,CACrCyB,EAAA,mBAAoB,MAAO,KAAM,CAC/BA,qBAAoB,OAAQxB,EAAYyB,kBAAiBN,EAAK,GAAG,8BAA8B,CAAC,EAAI,IAAK,CAAC,EAC1GW,kBAAiB,IAAML,EAAAA,gBAAiBZ,EAC1CJ,EAAY,yBACZA,EAAY,sBACb,CAAA,EAAG,CAAC,CAAA,CACF,CAAA,CACF,CAAA,CACF,EACF,EAAG,GAAG,IACN,CAAC,CACL,CAAA,GACDsB,EAAoB,mBAAA,GAAI,EAAI,CAAA,CAElC,CAEA,CAAC"}
|
|
@@ -1,55 +1,51 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as Y, openBlock as a, createElementBlock as r, createElementVNode as e, toDisplayString as n, normalizeClass as y, Fragment as b, renderList as D, createTextVNode as h, createCommentVNode as M } from "vue";
|
|
2
|
+
import { useI18n as x } from "./pat-shared-components64.mjs";
|
|
3
|
+
import i from "./pat-shared-components174.mjs";
|
|
4
|
+
const k = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "psc-space-y-4"
|
|
7
|
-
}, v = { class: "psc-text-base psc-font-semibold" }, H = { class: "psc-mb-2 psc-flex psc-items-start psc-justify-between" }, $ = { class: "psc-font-semibold psc-text-gray-900" }, w = { class: "psc-rounded psc-bg-blue-100 psc-px-2 psc-py-1 psc-text-xs psc-font-medium psc-text-blue-800" }, B = { class: "psc-
|
|
7
|
+
}, v = { class: "psc-text-base psc-font-semibold" }, H = { class: "psc-mb-2 psc-flex psc-items-start psc-justify-between" }, $ = { class: "psc-font-semibold psc-text-gray-900" }, w = { class: "psc-rounded psc-bg-blue-100 psc-px-2 psc-py-1 psc-text-xs psc-font-medium psc-text-blue-800" }, B = { class: "psc-text-xs psc-text-gray-600" }, C = { class: "psc-font-medium" }, T = /* @__PURE__ */ Y({
|
|
8
8
|
__name: "AppointmentBookingList",
|
|
9
9
|
props: {
|
|
10
10
|
appointments: null,
|
|
11
11
|
isDesktop: { type: Boolean, default: !1 }
|
|
12
12
|
},
|
|
13
|
-
setup(
|
|
14
|
-
const p =
|
|
15
|
-
const
|
|
16
|
-
return
|
|
17
|
-
},
|
|
18
|
-
if (!s || !
|
|
13
|
+
setup(m) {
|
|
14
|
+
const p = m, { locale: l, t: d } = x(), u = (s) => l.value === "en" ? s.specialty_name_en || s.specialty : s.specialty_name || s.specialty, _ = (s) => {
|
|
15
|
+
const c = s.toLowerCase();
|
|
16
|
+
return d(`psc.appointment_booking.statuses.${c}`) || s;
|
|
17
|
+
}, f = (s, c) => {
|
|
18
|
+
if (!s || !c)
|
|
19
19
|
return "";
|
|
20
|
-
const
|
|
21
|
-
return
|
|
20
|
+
const o = i(s), t = i(c);
|
|
21
|
+
return o.format("DD/MM/YYYY") === t.format("DD/MM/YYYY") ? `${o.format("DD/MM/YYYY HH:mm")} - ${t.format(
|
|
22
22
|
"HH:mm"
|
|
23
|
-
)}` : `${
|
|
23
|
+
)}` : `${o.format("DD/MM/YYYY HH:mm")} - ${t.format(
|
|
24
24
|
"DD/MM/YYYY HH:mm"
|
|
25
25
|
)}`;
|
|
26
26
|
};
|
|
27
|
-
return (s,
|
|
28
|
-
var
|
|
29
|
-
return (
|
|
30
|
-
e("div", v,
|
|
27
|
+
return (s, c) => {
|
|
28
|
+
var o;
|
|
29
|
+
return (o = p.appointments) != null && o.length ? (a(), r("div", k, [
|
|
30
|
+
e("div", v, n(s.$t("psc.appointment_booking.title")), 1),
|
|
31
31
|
e("div", {
|
|
32
|
-
class:
|
|
33
|
-
"psc-grid
|
|
34
|
-
p.isDesktop ? "psc-grid-cols-1 md:psc-grid-cols-2 lg:psc-grid-cols-3" : "psc-grid-cols-1"
|
|
32
|
+
class: y([
|
|
33
|
+
"psc-grid",
|
|
34
|
+
p.isDesktop ? "psc-grid-cols-1 psc-gap-4 md:psc-grid-cols-2 lg:psc-grid-cols-3" : "psc-grid-cols-1 psc-gap-3"
|
|
35
35
|
])
|
|
36
36
|
}, [
|
|
37
|
-
(a(!0), r(
|
|
38
|
-
key:
|
|
37
|
+
(a(!0), r(b, null, D(p.appointments, (t, g) => (a(), r("div", {
|
|
38
|
+
key: g,
|
|
39
39
|
class: "psc-rounded-lg psc-border psc-border-gray-200 psc-bg-white psc-p-4 psc-shadow-sm"
|
|
40
40
|
}, [
|
|
41
41
|
e("div", H, [
|
|
42
|
-
e("span", $,
|
|
43
|
-
e("span", w,
|
|
42
|
+
e("span", $, n(u(t)), 1),
|
|
43
|
+
e("span", w, n(_(t.status)), 1)
|
|
44
44
|
]),
|
|
45
45
|
e("div", B, [
|
|
46
46
|
e("div", null, [
|
|
47
|
-
e("span", C,
|
|
48
|
-
|
|
49
|
-
]),
|
|
50
|
-
e("div", null, [
|
|
51
|
-
e("span", N, o(s.$t("psc.appointment_booking.time")) + ":", 1),
|
|
52
|
-
i(" " + o(g(
|
|
47
|
+
e("span", C, n(s.$t("psc.appointment_booking.time")) + ":", 1),
|
|
48
|
+
h(" " + n(f(
|
|
53
49
|
t.scheduled_start_datetime,
|
|
54
50
|
t.scheduled_end_datetime
|
|
55
51
|
)), 1)
|
|
@@ -62,6 +58,6 @@ const x = {
|
|
|
62
58
|
}
|
|
63
59
|
});
|
|
64
60
|
export {
|
|
65
|
-
|
|
61
|
+
T as default
|
|
66
62
|
};
|
|
67
63
|
//# sourceMappingURL=pat-shared-components80.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components80.mjs","sources":["../src/components/BookingDetail/AppointmentBookingList.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"psc-space-y-4\"\n}\nconst _hoisted_2 = { class: \"psc-text-base psc-font-semibold\" }\nconst _hoisted_3 = { class: \"psc-mb-2 psc-flex psc-items-start psc-justify-between\" }\nconst _hoisted_4 = { class: \"psc-font-semibold psc-text-gray-900\" }\nconst _hoisted_5 = { class: \"psc-rounded psc-bg-blue-100 psc-px-2 psc-py-1 psc-text-xs psc-font-medium psc-text-blue-800\" }\nconst _hoisted_6 = { class: \"psc-
|
|
1
|
+
{"version":3,"file":"pat-shared-components80.mjs","sources":["../src/components/BookingDetail/AppointmentBookingList.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"psc-space-y-4\"\n}\nconst _hoisted_2 = { class: \"psc-text-base psc-font-semibold\" }\nconst _hoisted_3 = { class: \"psc-mb-2 psc-flex psc-items-start psc-justify-between\" }\nconst _hoisted_4 = { class: \"psc-font-semibold psc-text-gray-900\" }\nconst _hoisted_5 = { class: \"psc-rounded psc-bg-blue-100 psc-px-2 psc-py-1 psc-text-xs psc-font-medium psc-text-blue-800\" }\nconst _hoisted_6 = { class: \"psc-text-xs psc-text-gray-600\" }\nconst _hoisted_7 = { class: \"psc-font-medium\" }\n\nimport type { AppointmentBooking } from '@/types';\nimport { computed } from 'vue';\nimport { useI18n } from 'vue-i18n';\nimport moment from 'moment-mini';\n\n/**\n * Props\n */\nexport interface Props {\n appointments: AppointmentBooking[];\n isDesktop?: boolean;\n}\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'AppointmentBookingList',\n props: {\n appointments: null,\n isDesktop: { type: Boolean, default: false }\n },\n setup(__props: any) {\n\nconst props = __props as { appointments: AppointmentBooking[], isDesktop: boolean };\n\n\n\n/**\n * Data\n */\nconst { locale, t } = useI18n();\n\n/**\n * Methods\n */\nconst getSpecialtyName = (appointment: AppointmentBooking) => {\n if (locale.value === 'en') {\n return appointment.specialty_name_en || appointment.specialty;\n }\n return appointment.specialty_name || appointment.specialty;\n};\n\nconst getStatusTranslation = (status: string) => {\n const statusKey = status.toLowerCase();\n return t(`psc.appointment_booking.statuses.${statusKey}`) || status;\n};\n\nconst formatDateTimeRange = (start: string, end: string) => {\n if (!start || !end) return '';\n\n const startMoment = moment(start);\n const endMoment = moment(end);\n\n // Check if same day\n if (startMoment.format('DD/MM/YYYY') === endMoment.format('DD/MM/YYYY')) {\n return `${startMoment.format('DD/MM/YYYY HH:mm')} - ${endMoment.format(\n 'HH:mm'\n )}`;\n }\n\n return `${startMoment.format('DD/MM/YYYY HH:mm')} - ${endMoment.format(\n 'DD/MM/YYYY HH:mm'\n )}`;\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (props.appointments?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(_ctx.$t('psc.appointment_booking.title')), 1),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\n 'psc-grid',\n props.isDesktop\n ? 'psc-grid-cols-1 psc-gap-4 md:psc-grid-cols-2 lg:psc-grid-cols-3'\n : 'psc-grid-cols-1 psc-gap-3',\n ])\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(props.appointments, (appointment, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: index,\n class: \"psc-rounded-lg psc-border psc-border-gray-200 psc-bg-white psc-p-4 psc-shadow-sm\"\n }, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(getSpecialtyName(appointment)), 1),\n _createElementVNode(\"span\", _hoisted_5, _toDisplayString(getStatusTranslation(appointment.status)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", _hoisted_7, _toDisplayString(_ctx.$t('psc.appointment_booking.time')) + \":\", 1),\n _createTextVNode(\" \" + _toDisplayString(formatDateTimeRange(\n appointment.scheduled_start_datetime,\n appointment.scheduled_end_datetime\n )), 1)\n ])\n ])\n ]))\n }), 128))\n ], 2)\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_sfc_main","_defineComponent","__props","props","locale","t","useI18n","getSpecialtyName","appointment","getStatusTranslation","status","statusKey","formatDateTimeRange","start","end","startMoment","moment","endMoment","_ctx","_cache","_a","_openBlock","_createElementBlock","_createElementVNode","_toDisplayString","_normalizeClass","_Fragment","_renderList","index","_createTextVNode","_createCommentVNode"],"mappings":";;;AAGA,MAAMA,IAAa;AAAA,EACjB,KAAK;AAAA,EACL,OAAO;AACT,GACMC,IAAa,EAAE,OAAO,qCACtBC,IAAa,EAAE,OAAO,2DACtBC,IAAa,EAAE,OAAO,yCACtBC,IAAa,EAAE,OAAO,iGACtBC,IAAa,EAAE,OAAO,mCACtBC,IAAa,EAAE,OAAO,qBAeAC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,cAAc;AAAA,IACd,WAAW,EAAE,MAAM,SAAS,SAAS,GAAM;AAAA,EAC7C;AAAA,EACA,MAAMC,GAAc;AAEtB,UAAMC,IAAQD,GAOR,EAAE,QAAAE,GAAQ,GAAAC,EAAE,IAAIC,EAAQ,GAKxBC,IAAmB,CAACC,MACpBJ,EAAO,UAAU,OACZI,EAAY,qBAAqBA,EAAY,YAE/CA,EAAY,kBAAkBA,EAAY,WAG7CC,IAAuB,CAACC,MAAmB;AACzC,YAAAC,IAAYD,EAAO;AAClB,aAAAL,EAAE,oCAAoCM,GAAW,KAAKD;AAAA,IAAA,GAGzDE,IAAsB,CAACC,GAAeC,MAAgB;AACtD,UAAA,CAACD,KAAS,CAACC;AAAY,eAAA;AAErB,YAAAC,IAAcC,EAAOH,CAAK,GAC1BI,IAAYD,EAAOF,CAAG;AAG5B,aAAIC,EAAY,OAAO,YAAY,MAAME,EAAU,OAAO,YAAY,IAC7D,GAAGF,EAAY,OAAO,kBAAkB,OAAOE,EAAU;AAAA,QAC9D;AAAA,MACF,MAGK,GAAGF,EAAY,OAAO,kBAAkB,OAAOE,EAAU;AAAA,QAC9D;AAAA,MACF;AAAA,IAAA;AAGK,WAAA,CAACC,GAAUC,MAAgB;;AAChC,cAAQC,IAAAjB,EAAM,iBAAN,QAAAiB,EAAoB,UACvBC,KAAcC,EAAoB,OAAO7B,GAAY;AAAA,QACpD8B,EAAoB,OAAO7B,GAAY8B,EAAiBN,EAAK,GAAG,+BAA+B,CAAC,GAAG,CAAC;AAAA,QACpGK,EAAoB,OAAO;AAAA,UACzB,OAAOE,EAAgB;AAAA,YACzB;AAAA,YACAtB,EAAM,YACF,oEACA;AAAA,UAAA,CACL;AAAA,QAAA,GACI;AAAA,WACAkB,EAAW,EAAI,GAAGC,EAAoBI,GAAW,MAAMC,EAAYxB,EAAM,cAAc,CAACK,GAAaoB,OAC5FP,EAAA,GAAcC,EAAoB,OAAO;AAAA,YAC/C,KAAKM;AAAA,YACL,OAAO;AAAA,UAAA,GACN;AAAA,YACDL,EAAoB,OAAO5B,GAAY;AAAA,cACrC4B,EAAoB,QAAQ3B,GAAY4B,EAAiBjB,EAAiBC,CAAW,CAAC,GAAG,CAAC;AAAA,cAC1Fe,EAAoB,QAAQ1B,GAAY2B,EAAiBf,EAAqBD,EAAY,MAAM,CAAC,GAAG,CAAC;AAAA,YAAA,CACtG;AAAA,YACDe,EAAoB,OAAOzB,GAAY;AAAA,cACrCyB,EAAoB,OAAO,MAAM;AAAA,gBAC/BA,EAAoB,QAAQxB,GAAYyB,EAAiBN,EAAK,GAAG,8BAA8B,CAAC,IAAI,KAAK,CAAC;AAAA,gBAC1GW,EAAiB,MAAML,EAAiBZ;AAAA,kBAC1CJ,EAAY;AAAA,kBACZA,EAAY;AAAA,gBACb,CAAA,GAAG,CAAC;AAAA,cAAA,CACF;AAAA,YAAA,CACF;AAAA,UAAA,CACF,EACF,GAAG,GAAG;AAAA,WACN,CAAC;AAAA,MACL,CAAA,KACDsB,EAAoB,IAAI,EAAI;AAAA,IAAA;AAAA,EAElC;AAEA,CAAC;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),c=require("./pat-shared-
|
|
1
|
+
"use strict";const e=require("vue"),c=require("./pat-shared-components189.js"),s=require("./pat-shared-components173.js"),t={class:"psc-flex psc-w-full psc-animate-pulse psc-flex-wrap psc-space-y-6"},o=e.createElementVNode("div",{class:"psc-w-full psc-space-y-3"},[e.createElementVNode("div",{class:"psc-h-8 psc-w-[64%] psc-rounded-lg psc-bg-gray-200 dark:psc-bg-gray-400"}),e.createElementVNode("div",{class:"psc-h-5 psc-w-[86%] psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300"})],-1),p={class:"psc-w-2/3"},a={class:"psc-w-1/3 psc-space-y-11 psc-pl-11"},n=e.defineComponent({__name:"BookingDetailDesktopSkeleton",setup(r){return(l,d)=>(e.openBlock(),e.createElementBlock("div",t,[o,e.createElementVNode("div",p,[e.createVNode(c)]),e.createElementVNode("div",a,[e.createVNode(s),e.createVNode(s)])]))}});module.exports=n;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components81.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as o, createElementBlock as t, createElementVNode as s, createVNode as c } from "vue";
|
|
2
|
-
import a from "./pat-shared-
|
|
3
|
-
import e from "./pat-shared-
|
|
2
|
+
import a from "./pat-shared-components189.mjs";
|
|
3
|
+
import e from "./pat-shared-components173.mjs";
|
|
4
4
|
const l = { class: "psc-flex psc-w-full psc-animate-pulse psc-flex-wrap psc-space-y-6" }, n = /* @__PURE__ */ s("div", { class: "psc-w-full psc-space-y-3" }, [
|
|
5
5
|
/* @__PURE__ */ s("div", { class: "psc-h-8 psc-w-[64%] psc-rounded-lg psc-bg-gray-200 dark:psc-bg-gray-400" }),
|
|
6
6
|
/* @__PURE__ */ s("div", { class: "psc-h-5 psc-w-[86%] psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300" })
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),s=require("./pat-shared-
|
|
1
|
+
"use strict";const e=require("vue"),s=require("./pat-shared-components150.js"),o=require("./pat-shared-components156.js"),m={class:"ds-flex"},k={class:"ds-ml-2"},b={key:0,class:"ds-w-full ds-text-base ds-font-semibold ds-text-black/[0.85]"},f={key:1,class:"ds-w-full ds-pb-2 ds-pt-4"},B=["href"],y=e.defineComponent({__name:"BMessage",props:{type:{default:s.BMessageType.Info},actionUrl:{default:""},actionLabel:{default:""},title:{default:""},icon:{default:""}},emits:["click:action"],setup(c,{emit:r}){const t=c,d=e.useSlots(),i=e.computed(()=>({[s.BMessageType.Info]:"ds-border-blue-darken-1 ds-bg-blue-lighten-2",[s.BMessageType.Warning]:"ds-border-amber-darken-1 ds-bg-amber-lighten-1",[s.BMessageType.Success]:"ds-border-green-darken-1 ds-bg-green-lighten-2",[s.BMessageType.Error]:"ds-border-red-darken-1 ds-bg-red-lighten-2"})[t.type]),u=e.computed(()=>{const l={[s.BMessageType.Info]:"ds-text-blue-darken-1",[s.BMessageType.Warning]:"ds-text-amber-darken-1",[s.BMessageType.Success]:"ds-text-green-darken-1",[s.BMessageType.Error]:"ds-text-red-darken-1"},a={[s.BMessageType.Info]:"dgic-info-fill",[s.BMessageType.Warning]:"dgic-circle-exclamation",[s.BMessageType.Success]:"dgic-circle-check",[s.BMessageType.Error]:"dgic-circle-error-fill"};return[l[t.type],t.icon||a[t.type]]}),p=e.computed(()=>t.actionLabel||d.action),n=e.computed(()=>t.title||d.title);return(l,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ds-flex ds-flex-wrap ds-rounded-lg ds-border ds-p-4 ds-shadow",i.value])},[e.createElementVNode("div",m,[e.renderSlot(l.$slots,"icon",{},()=>[e.createElementVNode("i",{class:e.normalizeClass(["ds-text-[32px] ds-leading-none",u.value])},null,2)]),e.createElementVNode("div",k,[n.value?(e.openBlock(),e.createElementBlock("div",b,[e.renderSlot(l.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["ds-w-full ds-text-sm ds-text-black/[0.85]",n.value?"ds-mt-1":""])},[e.renderSlot(l.$slots,"default")],2),p.value?(e.openBlock(),e.createElementBlock("div",f,[e.renderSlot(l.$slots,"action",{},()=>[t.actionUrl?(e.openBlock(),e.createElementBlock("a",{key:0,href:t.actionUrl,target:"_blank",class:"ds-flex ds-items-center ds-text-blue-darken-1",onClick:a[0]||(a[0]=g=>r("click:action"))},[e.createVNode(o,{label:t.actionLabel},null,8,["label"])],8,B)):(e.openBlock(),e.createElementBlock("div",{key:1,class:"ds-flex ds-cursor-pointer ds-items-center ds-text-blue-darken-1",onClick:a[1]||(a[1]=g=>r("click:action"))},[e.createVNode(o,{label:t.actionLabel},null,8,["label"])]))])])):e.createCommentVNode("",!0)])])],2))}});module.exports=y;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components84.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as y, useSlots as S, computed as r, openBlock as d, createElementBlock as a, normalizeClass as c, createElementVNode as n, renderSlot as o, createTextVNode as w, toDisplayString as E, createCommentVNode as f, createVNode as k } from "vue";
|
|
2
|
-
import { BMessageType as e } from "./pat-shared-
|
|
3
|
-
import m from "./pat-shared-
|
|
2
|
+
import { BMessageType as e } from "./pat-shared-components150.mjs";
|
|
3
|
+
import m from "./pat-shared-components156.mjs";
|
|
4
4
|
const B = { class: "ds-flex" }, C = { class: "ds-ml-2" }, I = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "ds-w-full ds-text-base ds-font-semibold ds-text-black/[0.85]"
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./pat-shared-
|
|
1
|
+
"use strict";const e=require("./pat-shared-components157.js"),s=require("./pat-shared-components158.js"),t=s(e,[["__scopeId","data-v-18e0d397"]]);module.exports=t;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components85.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import o from "./pat-shared-
|
|
2
|
-
import t from "./pat-shared-
|
|
1
|
+
import o from "./pat-shared-components157.mjs";
|
|
2
|
+
import t from "./pat-shared-components158.mjs";
|
|
3
3
|
const d = /* @__PURE__ */ t(o, [["__scopeId", "data-v-18e0d397"]]);
|
|
4
4
|
export {
|
|
5
5
|
d as default
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),l=require("./pat-shared-
|
|
1
|
+
"use strict";const e=require("vue"),l=require("./pat-shared-components185.js"),u=require("./pat-shared-components186.js"),i=require("./pat-shared-components187.js"),_=require("./pat-shared-components64.js"),o=require("./pat-shared-components5.js"),d={class:"psc-border-b psc-border-gray-lighten-2 psc-py-5"},p={class:"psc-border-b psc-border-gray-lighten-2 psc-py-5"},a={class:"psc-py-5"},m=e.defineComponent({__name:"BookingContent",props:{testMoreType:null,testMoreServices:null,total:null,totalDiscount:null,discount:null},setup(n){const t=n,{t:s}=_.useI18n(),r=e.computed(()=>({[o.TestMoreType.Remind]:s("psc.test_result_recommended_tests"),[o.TestMoreType.Recommend]:s("psc.test_result_additional_tests")})[t.testMoreType]);return(c,v)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",d,[e.createVNode(i,{title:e.unref(r),tests:t.testMoreServices},null,8,["title","tests"])]),e.createElementVNode("div",p,[e.createVNode(u)]),e.createElementVNode("div",a,[e.createVNode(l,{total:t.total,"total-discount":t.totalDiscount,discount:t.discount},null,8,["total","total-discount","discount"])])],64))}});module.exports=m;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components87.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as i, computed as p, openBlock as u, createElementBlock as a, Fragment as d, createElementVNode as e, createVNode as s, unref as m } from "vue";
|
|
2
|
-
import _ from "./pat-shared-
|
|
3
|
-
import f from "./pat-shared-
|
|
4
|
-
import y from "./pat-shared-
|
|
2
|
+
import _ from "./pat-shared-components185.mjs";
|
|
3
|
+
import f from "./pat-shared-components186.mjs";
|
|
4
|
+
import y from "./pat-shared-components187.mjs";
|
|
5
5
|
import { useI18n as g } from "./pat-shared-components64.mjs";
|
|
6
6
|
import { TestMoreType as n } from "./pat-shared-components5.mjs";
|
|
7
7
|
const b = { class: "psc-border-b psc-border-gray-lighten-2 psc-py-5" }, h = { class: "psc-border-b psc-border-gray-lighten-2 psc-py-5" }, M = { class: "psc-py-5" }, E = /* @__PURE__ */ i({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),a=require("./pat-shared-components73.js"),i=require("./pat-shared-components72.js"),l=require("./pat-shared-components162.js"),_=require("./pat-shared-components76.js"),p=require("./pat-shared-components74.js"),d=require("./pat-shared-components65.js"),g=require("./pat-shared-components67.js"),k=require("./pat-shared-components87.js"),m=require("./pat-shared-
|
|
1
|
+
"use strict";const e=require("vue"),a=require("./pat-shared-components73.js"),i=require("./pat-shared-components72.js"),l=require("./pat-shared-components162.js"),_=require("./pat-shared-components76.js"),p=require("./pat-shared-components74.js"),d=require("./pat-shared-components65.js"),g=require("./pat-shared-components67.js"),k=require("./pat-shared-components87.js"),m=require("./pat-shared-components188.js"),v=require("./pat-shared-components75.js"),b=require("./pat-shared-components78.js"),y={class:"psc-px-4 psc-pb-4"},h={class:"psc-space-y-6"},f={class:"psc-space-y-1"},B={class:"psc-space-y-4 psc-pt-6"},N={class:"psc-rounded-lg psc-shadow"},V={class:"psc-relative psc-px-4 psc-pb-4 lg:psc-px-6"},q=e.defineComponent({__name:"RemindRecommendationBooking",props:{testMore:null,branch:null,branchLocationUrl:null,loading:{type:Boolean}},setup(r){const t=r,s=e.computed(()=>t.testMore.booking_detail),{patient:c,doctor:u}=v.useBookingDetail(s);return(o,x)=>{var n;return e.openBlock(),e.createElementBlock("div",y,[t.loading?(e.openBlock(),e.createBlock(b,{key:0})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",h,[e.createElementVNode("div",f,[e.createVNode(i,{"first-name":e.unref(s).first_name},null,8,["first-name"]),e.createVNode(a,{"test-result-key":e.unref(s).test_result_key,"result-status":e.unref(s).result_status,"booking-status":e.unref(s).booking_status},null,8,["test-result-key","result-status","booking-status"])]),e.createVNode(l,{title:o.$t("psc.test_result_be_in_touch_soon"),subtitle:o.$t("psc.test_result_will_call_you_shortly"),icon:"dgic-support-thick"},null,8,["title","subtitle"])]),e.createElementVNode("div",B,[e.createVNode(_,{class:"psc-text-black/[0.85]"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.$t("psc.test_result_booking_booking_details")),1)]),_:1}),e.createElementVNode("div",N,[e.createVNode(d,{patient:e.unref(c),doctor:e.unref(u),class:"psc-px-4 psc-py-4 lg:psc-px-6"},null,8,["patient","doctor"]),e.createVNode(p),e.createElementVNode("div",V,[e.createVNode(g,{"booking-code":e.unref(s).booking_code,"booking-status":e.unref(s).booking_status,"payment-status":((n=e.unref(s).data)==null?void 0:n.type)==="foc"?void 0:e.unref(s).payment_status},null,8,["booking-code","booking-status","payment-status"]),e.createVNode(k,{"test-more-services":t.testMore.services,total:t.testMore.total,"test-more-type":t.testMore.type,"total-discount":t.testMore.total_discount,discount:t.testMore.discount},null,8,["test-more-services","total","test-more-type","total-discount","discount"])])])]),e.createVNode(m,{class:"psc-mt-6",branch:t.branch,"branches-url":t.branchLocationUrl},null,8,["branch","branches-url"])],64))])}}});module.exports=q;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components88.js.map
|
|
@@ -7,7 +7,7 @@ import x from "./pat-shared-components74.mjs";
|
|
|
7
7
|
import B from "./pat-shared-components65.mjs";
|
|
8
8
|
import M from "./pat-shared-components67.mjs";
|
|
9
9
|
import w from "./pat-shared-components87.mjs";
|
|
10
|
-
import C from "./pat-shared-
|
|
10
|
+
import C from "./pat-shared-components188.mjs";
|
|
11
11
|
import { useBookingDetail as N } from "./pat-shared-components75.mjs";
|
|
12
12
|
import V from "./pat-shared-components78.mjs";
|
|
13
13
|
const D = { class: "psc-px-4 psc-pb-4" }, E = { class: "psc-space-y-6" }, L = { class: "psc-space-y-1" }, R = { class: "psc-space-y-4 psc-pt-6" }, S = { class: "psc-rounded-lg psc-shadow" }, T = { class: "psc-relative psc-px-4 psc-pb-4 lg:psc-px-6" }, Q = /* @__PURE__ */ m({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./pat-shared-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./pat-shared-components148.js"),c=require("vue"),g=require("./pat-shared-components149.js");function $(){const{t,locale:p}=g.useI18n(),i=c.computed(()=>({0:t("ds.components.date_picker.days.sunday"),1:t("ds.components.date_picker.days.monday"),2:t("ds.components.date_picker.days.tuesday"),3:t("ds.components.date_picker.days.wednesday"),4:t("ds.components.date_picker.days.thursday"),5:t("ds.components.date_picker.days.friday"),6:t("ds.components.date_picker.days.saturday")})),m=c.computed(()=>({0:t("ds.components.date_picker.months.january"),1:t("ds.components.date_picker.months.february"),2:t("ds.components.date_picker.months.march"),3:t("ds.components.date_picker.months.april"),4:t("ds.components.date_picker.months.may"),5:t("ds.components.date_picker.months.june"),6:t("ds.components.date_picker.months.july"),7:t("ds.components.date_picker.months.august"),8:t("ds.components.date_picker.months.september"),9:t("ds.components.date_picker.months.october"),10:t("ds.components.date_picker.months.november"),11:t("ds.components.date_picker.months.december")})),u=c.computed(()=>({0:t("ds.components.date_picker.months_short.january"),1:t("ds.components.date_picker.months_short.february"),2:t("ds.components.date_picker.months_short.march"),3:t("ds.components.date_picker.months_short.april"),4:t("ds.components.date_picker.months_short.may"),5:t("ds.components.date_picker.months_short.june"),6:t("ds.components.date_picker.months_short.july"),7:t("ds.components.date_picker.months_short.august"),8:t("ds.components.date_picker.months_short.september"),9:t("ds.components.date_picker.months_short.october"),10:t("ds.components.date_picker.months_short.november"),11:t("ds.components.date_picker.months_short.december")})),_=c.computed(()=>({0:t("ds.components.date_picker.days_short.sunday"),1:t("ds.components.date_picker.days_short.monday"),2:t("ds.components.date_picker.days_short.tuesday"),3:t("ds.components.date_picker.days_short.wednesday"),4:t("ds.components.date_picker.days_short.thursday"),5:t("ds.components.date_picker.days_short.friday"),6:t("ds.components.date_picker.days_short.saturday")})),h=e=>{if(!a(e))return"";const o=i.value[e.getDay()],s=m.value[e.getMonth()],n=`${o}, ${s} ${e.getDate()}, ${e.getFullYear()}`,d=`${o}, ${e.getDate()}/${e.getMonth()+1}/${e.getFullYear()}`;return{en:n,vi:d}[p.value]||n},y=e=>a(e)?{vi:`${r.padStartZero(e.getDate(),2)}/${r.padStartZero(e.getMonth()+1,2)}/${r.padStartZero(e.getFullYear(),4)}`,en:`${m.value[e.getMonth()]} ${r.padStartZero(e.getDate(),2)}, ${e.getFullYear()}`}[p.value]:"",k=e=>{if(!a(e))return"";const o=new Date(e),s=o.getHours(),n=o.getMinutes(),d=`${r.padStartZero(s,2)}:${r.padStartZero(n,2)}`;return{vi:d,en:d}[p.value]},l=(e,o="full")=>{if(!a(e))return"";const s={full:m.value,short:u.value,number:["01","02","03","04","05","06","07","08","09","10","11","12"]}[o][e.getMonth()],n=e.getFullYear();return`${o==="number"?`${s}/`:`${s} `}${n}`},a=e=>e?e.toString()!=="Invalid Date":!1;return{formatTime:k,formatDate:y,formatDateHuge:h,formatMonthYear:l,dayShortNames:_}}exports.useDate=$;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components89.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { padStartZero as a } from "./pat-shared-
|
|
1
|
+
import { padStartZero as a } from "./pat-shared-components148.mjs";
|
|
2
2
|
import { computed as c } from "vue";
|
|
3
|
-
import { useI18n as g } from "./pat-shared-
|
|
3
|
+
import { useI18n as g } from "./pat-shared-components149.mjs";
|
|
4
4
|
function b() {
|
|
5
5
|
const { t, locale: m } = g(), i = c(() => ({
|
|
6
6
|
0: t("ds.components.date_picker.days.sunday"),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),u=require("./pat-shared-
|
|
1
|
+
"use strict";const e=require("vue"),u=require("./pat-shared-components150.js"),a=require("./pat-shared-components151.js"),p=require("./pat-shared-components155.js");var d=Object.defineProperty,m=Object.defineProperties,y=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,i=(r,t,o)=>t in r?d(r,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[t]=o,B=(r,t)=>{for(var o in t||(t={}))f.call(t,o)&&i(r,o,t[o]);if(c)for(var o of c(t))v.call(t,o)&&i(r,o,t[o]);return r},b=(r,t)=>m(r,y(t));const O={inheritAttrs:!1},S=e.defineComponent(b(B({},O),{__name:"BModal",props:{modelValue:{type:Boolean},size:{default:u.BModalSize.Medium},fullscreen:{type:Boolean,default:!1},persistent:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(r,{emit:t}){const o=r,l=e.computed({get(){return o.modelValue},set(s){t("update:modelValue",s)}});return e.watch(l,s=>{s?a.lockScrollBody():a.unlockScrollBody()},{immediate:!0}),e.onBeforeUnmount(()=>{a.unlockScrollBody()}),(s,n)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{"enter-active-class":"ds-transition-all ds-ease-in-out","enter-from-class":"ds-opacity-0","enter-to-class":"ds-opacity-1","leave-active-class":"ds-transition-all ds-ease-in-out","leave-from-class":"ds-opacity-1","leave-to-class":"ds-opacity-0"},{default:e.withCtx(()=>[l.value?(e.openBlock(),e.createBlock(p,{key:0,size:o.size,fullscreen:o.fullscreen,persistent:o.persistent,class:e.normalizeClass(s.$attrs.class),onClose:n[0]||(n[0]=k=>l.value=!1)},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},8,["size","fullscreen","persistent","class"])):e.createCommentVNode("",!0)]),_:3})]))}}));module.exports=S;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components94.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as u, computed as m, watch as f, onBeforeUnmount as y, openBlock as s, createBlock as n, Teleport as v, createVNode as b, Transition as B, withCtx as i, normalizeClass as O, renderSlot as z, createCommentVNode as j } from "vue";
|
|
2
|
-
import { BModalSize as w } from "./pat-shared-
|
|
3
|
-
import { lockScrollBody as V, unlockScrollBody as c } from "./pat-shared-
|
|
4
|
-
import k from "./pat-shared-
|
|
2
|
+
import { BModalSize as w } from "./pat-shared-components150.mjs";
|
|
3
|
+
import { lockScrollBody as V, unlockScrollBody as c } from "./pat-shared-components151.mjs";
|
|
4
|
+
import k from "./pat-shared-components155.mjs";
|
|
5
5
|
var C = Object.defineProperty, P = Object.defineProperties, S = Object.getOwnPropertyDescriptors, p = Object.getOwnPropertySymbols, _ = Object.prototype.hasOwnProperty, g = Object.prototype.propertyIsEnumerable, d = (o, e, t) => e in o ? C(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, h = (o, e) => {
|
|
6
6
|
for (var t in e || (e = {}))
|
|
7
7
|
_.call(e, t) && d(o, t, e[t]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),s=require("./pat-shared-
|
|
1
|
+
"use strict";const e=require("vue"),s=require("./pat-shared-components158.js"),n={},r={class:"ds-flex ds-items-center ds-justify-between ds-rounded-t-lg ds-px-4 ds-pt-4"};function d(t,o){return e.openBlock(),e.createElementBlock("div",r,[e.renderSlot(t.$slots,"default")])}const c=s(n,[["render",d]]);module.exports=c;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components95.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as t, createElementBlock as s, renderSlot as d } from "vue";
|
|
2
|
-
import o from "./pat-shared-
|
|
2
|
+
import o from "./pat-shared-components158.mjs";
|
|
3
3
|
const r = {}, n = { class: "ds-flex ds-items-center ds-justify-between ds-rounded-t-lg ds-px-4 ds-pt-4" };
|
|
4
4
|
function l(e, c) {
|
|
5
5
|
return t(), s("div", n, [
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),s=require("./pat-shared-
|
|
1
|
+
"use strict";const e=require("vue"),s=require("./pat-shared-components158.js"),n={},r={class:"ds-px-4 ds-py-4"};function c(t,l){return e.openBlock(),e.createElementBlock("div",r,[e.renderSlot(t.$slots,"default")])}const o=s(n,[["render",c]]);module.exports=o;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components96.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as o, createElementBlock as t, renderSlot as r } from "vue";
|
|
2
|
-
import n from "./pat-shared-
|
|
2
|
+
import n from "./pat-shared-components158.mjs";
|
|
3
3
|
const s = {}, l = { class: "ds-px-4 ds-py-4" };
|
|
4
4
|
function c(e, d) {
|
|
5
5
|
return o(), t("div", l, [
|