pat-shared-components 1.3.1-beta.3 → 1.3.1-beta.5
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-components100.js +3 -1
- package/dist/pat-shared-components100.js.map +1 -1
- package/dist/pat-shared-components100.mjs +238 -17
- package/dist/pat-shared-components100.mjs.map +1 -1
- package/dist/pat-shared-components101.js +1 -1
- package/dist/pat-shared-components101.js.map +1 -1
- package/dist/pat-shared-components101.mjs +43 -36
- package/dist/pat-shared-components101.mjs.map +1 -1
- package/dist/pat-shared-components102.js +1 -1
- package/dist/pat-shared-components102.js.map +1 -1
- package/dist/pat-shared-components102.mjs +20 -82
- package/dist/pat-shared-components102.mjs.map +1 -1
- package/dist/pat-shared-components103.js +1 -1
- package/dist/pat-shared-components103.js.map +1 -1
- package/dist/pat-shared-components103.mjs +77 -18
- package/dist/pat-shared-components103.mjs.map +1 -1
- package/dist/pat-shared-components104.js +1 -1
- package/dist/pat-shared-components104.js.map +1 -1
- package/dist/pat-shared-components104.mjs +12 -37
- package/dist/pat-shared-components104.mjs.map +1 -1
- package/dist/pat-shared-components105.js +1 -1
- package/dist/pat-shared-components105.js.map +1 -1
- package/dist/pat-shared-components105.mjs +44 -20
- package/dist/pat-shared-components105.mjs.map +1 -1
- package/dist/pat-shared-components106.js +1 -1
- package/dist/pat-shared-components106.js.map +1 -1
- package/dist/pat-shared-components106.mjs +25 -25
- package/dist/pat-shared-components106.mjs.map +1 -1
- package/dist/pat-shared-components107.js +1 -1
- package/dist/pat-shared-components107.mjs +2 -2
- package/dist/pat-shared-components108.js +1 -1
- package/dist/pat-shared-components108.mjs +2 -2
- package/dist/pat-shared-components109.js +1 -1
- package/dist/pat-shared-components109.mjs +2 -2
- package/dist/pat-shared-components11.js +1 -1
- package/dist/pat-shared-components11.mjs +1 -1
- package/dist/pat-shared-components12.js +1 -1
- package/dist/pat-shared-components12.mjs +1 -1
- package/dist/pat-shared-components121.js +1 -1
- package/dist/pat-shared-components121.mjs +1 -1
- package/dist/pat-shared-components124.js +1 -1
- package/dist/pat-shared-components124.mjs +1 -1
- package/dist/pat-shared-components125.js +1 -1
- package/dist/pat-shared-components125.mjs +1 -1
- package/dist/pat-shared-components126.js +1 -1
- package/dist/pat-shared-components126.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 +1 -1
- package/dist/pat-shared-components129.js +1 -1
- package/dist/pat-shared-components129.mjs +1 -1
- package/dist/pat-shared-components130.js +1 -1
- package/dist/pat-shared-components130.mjs +1 -1
- package/dist/pat-shared-components131.js +1 -1
- package/dist/pat-shared-components131.mjs +1 -1
- package/dist/pat-shared-components132.js +1 -1
- package/dist/pat-shared-components132.js.map +1 -1
- package/dist/pat-shared-components132.mjs +2 -159
- package/dist/pat-shared-components132.mjs.map +1 -1
- package/dist/pat-shared-components133.js +1 -1
- package/dist/pat-shared-components133.mjs +2 -2
- package/dist/pat-shared-components134.js +1 -1
- package/dist/pat-shared-components134.mjs +1 -1
- package/dist/pat-shared-components135.js +1 -1
- package/dist/pat-shared-components135.js.map +1 -1
- package/dist/pat-shared-components135.mjs +77 -2
- package/dist/pat-shared-components135.mjs.map +1 -1
- package/dist/pat-shared-components136.js +1 -1
- package/dist/pat-shared-components136.mjs +2 -2
- package/dist/pat-shared-components137.js +1 -1
- package/dist/pat-shared-components137.js.map +1 -1
- package/dist/pat-shared-components137.mjs +56 -2
- package/dist/pat-shared-components137.mjs.map +1 -1
- 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.js.map +1 -1
- package/dist/pat-shared-components139.mjs +71 -2
- package/dist/pat-shared-components139.mjs.map +1 -1
- package/dist/pat-shared-components14.js +1 -1
- package/dist/pat-shared-components14.mjs +3 -3
- package/dist/pat-shared-components140.js +1 -1
- package/dist/pat-shared-components140.mjs +2 -2
- package/dist/pat-shared-components141.js +1 -1
- package/dist/pat-shared-components141.js.map +1 -1
- package/dist/pat-shared-components141.mjs +159 -2
- package/dist/pat-shared-components141.mjs.map +1 -1
- package/dist/pat-shared-components142.js +1 -1
- package/dist/pat-shared-components142.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 +2 -25
- package/dist/pat-shared-components143.mjs.map +1 -1
- package/dist/pat-shared-components144.js +1 -1
- package/dist/pat-shared-components144.mjs +1 -1
- package/dist/pat-shared-components145.js +1 -1
- package/dist/pat-shared-components145.mjs +1 -1
- package/dist/pat-shared-components146.js +1 -1
- package/dist/pat-shared-components146.mjs +1 -1
- package/dist/pat-shared-components147.js +1 -1
- package/dist/pat-shared-components147.js.map +1 -1
- package/dist/pat-shared-components147.mjs +2 -77
- package/dist/pat-shared-components147.mjs.map +1 -1
- package/dist/pat-shared-components148.js +1 -1
- package/dist/pat-shared-components148.mjs +2 -2
- package/dist/pat-shared-components149.js +1 -1
- package/dist/pat-shared-components149.js.map +1 -1
- package/dist/pat-shared-components149.mjs +25 -56
- package/dist/pat-shared-components149.mjs.map +1 -1
- package/dist/pat-shared-components150.js +1 -1
- package/dist/pat-shared-components150.mjs +2 -2
- package/dist/pat-shared-components151.js +1 -1
- package/dist/pat-shared-components151.js.map +1 -1
- package/dist/pat-shared-components151.mjs +2 -71
- package/dist/pat-shared-components151.mjs.map +1 -1
- package/dist/pat-shared-components152.js +1 -1
- package/dist/pat-shared-components152.mjs +2 -2
- package/dist/pat-shared-components155.js +1 -1
- package/dist/pat-shared-components155.mjs +3 -3
- package/dist/pat-shared-components158.js +1 -1
- package/dist/pat-shared-components158.mjs +3 -3
- package/dist/pat-shared-components16.js +1 -1
- package/dist/pat-shared-components16.mjs +2 -2
- package/dist/pat-shared-components163.js +1 -1
- package/dist/pat-shared-components163.mjs +1 -1
- package/dist/pat-shared-components169.js +1 -1
- package/dist/pat-shared-components169.mjs +1 -1
- package/dist/pat-shared-components170.js +1 -1
- package/dist/pat-shared-components170.mjs +1 -1
- package/dist/pat-shared-components172.js +1 -1
- package/dist/pat-shared-components172.mjs +1 -1
- package/dist/pat-shared-components173.js +1 -1
- package/dist/pat-shared-components173.mjs +1 -1
- package/dist/pat-shared-components176.js +1 -1
- package/dist/pat-shared-components176.js.map +1 -1
- package/dist/pat-shared-components176.mjs +9 -39
- package/dist/pat-shared-components176.mjs.map +1 -1
- package/dist/pat-shared-components18.js +1 -1
- package/dist/pat-shared-components18.mjs +3 -3
- package/dist/pat-shared-components180.js +1 -1
- package/dist/pat-shared-components180.mjs +2 -2
- package/dist/pat-shared-components181.js +1 -1
- package/dist/pat-shared-components181.js.map +1 -1
- package/dist/pat-shared-components181.mjs +40 -7
- package/dist/pat-shared-components181.mjs.map +1 -1
- package/dist/pat-shared-components182.js +1 -1
- package/dist/pat-shared-components182.js.map +1 -1
- package/dist/pat-shared-components182.mjs +78 -10
- package/dist/pat-shared-components182.mjs.map +1 -1
- package/dist/pat-shared-components183.js +1 -1
- package/dist/pat-shared-components183.mjs +18 -8
- package/dist/pat-shared-components183.mjs.map +1 -1
- package/dist/pat-shared-components184.js +1 -6
- package/dist/pat-shared-components184.js.map +1 -1
- package/dist/pat-shared-components184.mjs +18 -106
- package/dist/pat-shared-components184.mjs.map +1 -1
- package/dist/pat-shared-components185.js +1 -6
- package/dist/pat-shared-components185.js.map +1 -1
- package/dist/pat-shared-components185.mjs +14 -948
- package/dist/pat-shared-components185.mjs.map +1 -1
- package/dist/pat-shared-components186.js +1 -7
- package/dist/pat-shared-components186.js.map +1 -1
- package/dist/pat-shared-components186.mjs +16 -861
- 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 +33 -5
- package/dist/pat-shared-components187.mjs.map +1 -1
- package/dist/pat-shared-components188.js +1 -1
- package/dist/pat-shared-components188.js.map +1 -1
- package/dist/pat-shared-components188.mjs +5 -4
- package/dist/pat-shared-components188.mjs.map +1 -1
- package/dist/pat-shared-components189.js +1 -1
- package/dist/pat-shared-components189.js.map +1 -1
- package/dist/pat-shared-components189.mjs +18 -2
- package/dist/pat-shared-components189.mjs.map +1 -1
- package/dist/pat-shared-components19.js +1 -1
- package/dist/pat-shared-components19.js.map +1 -1
- package/dist/pat-shared-components19.mjs +52 -48
- package/dist/pat-shared-components19.mjs.map +1 -1
- package/dist/pat-shared-components190.js +1 -1
- package/dist/pat-shared-components190.js.map +1 -1
- package/dist/pat-shared-components190.mjs +20 -78
- package/dist/pat-shared-components190.mjs.map +1 -1
- package/dist/pat-shared-components191.js +1 -1
- package/dist/pat-shared-components191.js.map +1 -1
- package/dist/pat-shared-components191.mjs +7 -20
- package/dist/pat-shared-components191.mjs.map +1 -1
- package/dist/pat-shared-components192.js +1 -1
- package/dist/pat-shared-components192.mjs +8 -17
- package/dist/pat-shared-components192.mjs.map +1 -1
- package/dist/pat-shared-components193.js +6 -1
- package/dist/pat-shared-components193.js.map +1 -1
- package/dist/pat-shared-components193.mjs +106 -15
- package/dist/pat-shared-components193.mjs.map +1 -1
- package/dist/pat-shared-components194.js +6 -1
- package/dist/pat-shared-components194.js.map +1 -1
- package/dist/pat-shared-components194.mjs +948 -14
- package/dist/pat-shared-components194.mjs.map +1 -1
- package/dist/pat-shared-components195.js +7 -1
- package/dist/pat-shared-components195.js.map +1 -1
- package/dist/pat-shared-components195.mjs +861 -34
- 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 +6 -5
- 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 +3 -17
- 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 +2 -20
- package/dist/pat-shared-components198.mjs.map +1 -1
- package/dist/pat-shared-components20.js +1 -1
- package/dist/pat-shared-components20.mjs +2 -2
- package/dist/pat-shared-components21.js +1 -1
- package/dist/pat-shared-components21.mjs +4 -4
- package/dist/pat-shared-components210.js +1 -4
- package/dist/pat-shared-components210.js.map +1 -1
- package/dist/pat-shared-components210.mjs +2 -1363
- 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 +42 -9
- package/dist/pat-shared-components211.mjs.map +1 -1
- package/dist/pat-shared-components212.js +1 -1
- package/dist/pat-shared-components212.js.map +1 -1
- package/dist/pat-shared-components212.mjs +2 -7
- package/dist/pat-shared-components212.mjs.map +1 -1
- package/dist/pat-shared-components213.js +4 -1
- package/dist/pat-shared-components213.js.map +1 -1
- package/dist/pat-shared-components213.mjs +1363 -4
- package/dist/pat-shared-components213.mjs.map +1 -1
- package/dist/pat-shared-components214.js +5 -1
- package/dist/pat-shared-components214.js.map +1 -1
- package/dist/pat-shared-components214.mjs +10 -3
- package/dist/pat-shared-components214.mjs.map +1 -1
- package/dist/pat-shared-components215.js +1 -1
- package/dist/pat-shared-components215.js.map +1 -1
- package/dist/pat-shared-components215.mjs +9 -6
- package/dist/pat-shared-components215.mjs.map +1 -1
- package/dist/pat-shared-components216.js +1 -1
- package/dist/pat-shared-components216.js.map +1 -1
- package/dist/pat-shared-components216.mjs +6 -9
- package/dist/pat-shared-components216.mjs.map +1 -1
- package/dist/pat-shared-components217.js +1 -1
- package/dist/pat-shared-components217.js.map +1 -1
- package/dist/pat-shared-components217.mjs +3 -4
- package/dist/pat-shared-components217.mjs.map +1 -1
- package/dist/pat-shared-components218.js +1 -1
- package/dist/pat-shared-components218.js.map +1 -1
- package/dist/pat-shared-components218.mjs +3 -5
- package/dist/pat-shared-components218.mjs.map +1 -1
- package/dist/pat-shared-components219.js +1 -1
- package/dist/pat-shared-components219.js.map +1 -1
- package/dist/pat-shared-components219.mjs +6 -4
- package/dist/pat-shared-components219.mjs.map +1 -1
- package/dist/pat-shared-components220.js +1 -1
- package/dist/pat-shared-components220.js.map +1 -1
- package/dist/pat-shared-components220.mjs +9 -3
- package/dist/pat-shared-components220.mjs.map +1 -1
- package/dist/pat-shared-components221.js +1 -1
- package/dist/pat-shared-components221.js.map +1 -1
- package/dist/pat-shared-components221.mjs +4 -11
- package/dist/pat-shared-components221.mjs.map +1 -1
- package/dist/pat-shared-components222.js +1 -1
- package/dist/pat-shared-components222.js.map +1 -1
- package/dist/pat-shared-components222.mjs +5 -27
- package/dist/pat-shared-components222.mjs.map +1 -1
- package/dist/pat-shared-components223.js +1 -1
- package/dist/pat-shared-components223.js.map +1 -1
- package/dist/pat-shared-components223.mjs +4 -6
- package/dist/pat-shared-components223.mjs.map +1 -1
- package/dist/pat-shared-components224.js +1 -1
- package/dist/pat-shared-components224.js.map +1 -1
- package/dist/pat-shared-components224.mjs +4 -6
- package/dist/pat-shared-components224.mjs.map +1 -1
- package/dist/pat-shared-components225.js +1 -1
- package/dist/pat-shared-components225.js.map +1 -1
- package/dist/pat-shared-components225.mjs +11 -7
- package/dist/pat-shared-components225.mjs.map +1 -1
- package/dist/pat-shared-components226.js +1 -1
- package/dist/pat-shared-components226.js.map +1 -1
- package/dist/pat-shared-components226.mjs +27 -5
- package/dist/pat-shared-components226.mjs.map +1 -1
- package/dist/pat-shared-components227.js +1 -1
- package/dist/pat-shared-components227.js.map +1 -1
- package/dist/pat-shared-components227.mjs +5 -9
- package/dist/pat-shared-components227.mjs.map +1 -1
- package/dist/pat-shared-components228.js +1 -1
- package/dist/pat-shared-components228.js.map +1 -1
- package/dist/pat-shared-components228.mjs +6 -6
- package/dist/pat-shared-components228.mjs.map +1 -1
- package/dist/pat-shared-components229.js +1 -1
- package/dist/pat-shared-components229.js.map +1 -1
- package/dist/pat-shared-components229.mjs +8 -10
- package/dist/pat-shared-components229.mjs.map +1 -1
- package/dist/pat-shared-components23.js +1 -1
- package/dist/pat-shared-components23.mjs +2 -2
- package/dist/pat-shared-components230.js +1 -1
- package/dist/pat-shared-components230.js.map +1 -1
- package/dist/pat-shared-components230.mjs +5 -2
- package/dist/pat-shared-components230.mjs.map +1 -1
- package/dist/pat-shared-components231.js +1 -1
- package/dist/pat-shared-components231.js.map +1 -1
- package/dist/pat-shared-components231.mjs +10 -42
- package/dist/pat-shared-components231.mjs.map +1 -1
- package/dist/pat-shared-components232.js +1 -1
- package/dist/pat-shared-components232.js.map +1 -1
- package/dist/pat-shared-components232.mjs +6 -2
- package/dist/pat-shared-components232.mjs.map +1 -1
- package/dist/pat-shared-components233.js +1 -5
- package/dist/pat-shared-components233.js.map +1 -1
- package/dist/pat-shared-components233.mjs +10 -10
- package/dist/pat-shared-components233.mjs.map +1 -1
- package/dist/pat-shared-components234.js +1 -1
- package/dist/pat-shared-components234.js.map +1 -1
- package/dist/pat-shared-components234.mjs +82 -2
- package/dist/pat-shared-components234.mjs.map +1 -1
- package/dist/pat-shared-components235.js +1 -1
- package/dist/pat-shared-components235.js.map +1 -1
- package/dist/pat-shared-components235.mjs +23 -4
- package/dist/pat-shared-components235.mjs.map +1 -1
- package/dist/pat-shared-components236.js +1 -1
- package/dist/pat-shared-components236.js.map +1 -1
- package/dist/pat-shared-components236.mjs +14 -10
- package/dist/pat-shared-components236.mjs.map +1 -1
- package/dist/pat-shared-components237.js +1 -1
- package/dist/pat-shared-components237.js.map +1 -1
- package/dist/pat-shared-components237.mjs +5 -3
- package/dist/pat-shared-components237.mjs.map +1 -1
- package/dist/pat-shared-components238.js +1 -1
- package/dist/pat-shared-components238.js.map +1 -1
- package/dist/pat-shared-components238.mjs +2 -4
- package/dist/pat-shared-components238.mjs.map +1 -1
- package/dist/pat-shared-components239.js +1 -1
- package/dist/pat-shared-components239.js.map +1 -1
- package/dist/pat-shared-components239.mjs +3 -12
- package/dist/pat-shared-components239.mjs.map +1 -1
- package/dist/pat-shared-components240.js +1 -1
- package/dist/pat-shared-components240.js.map +1 -1
- package/dist/pat-shared-components240.mjs +10 -5
- package/dist/pat-shared-components240.mjs.map +1 -1
- package/dist/pat-shared-components241.js +1 -1
- package/dist/pat-shared-components241.js.map +1 -1
- package/dist/pat-shared-components241.mjs +23 -4
- package/dist/pat-shared-components241.mjs.map +1 -1
- package/dist/pat-shared-components242.js +1 -1
- package/dist/pat-shared-components242.js.map +1 -1
- package/dist/pat-shared-components242.mjs +20 -5
- package/dist/pat-shared-components242.mjs.map +1 -1
- package/dist/pat-shared-components243.js +1 -1
- package/dist/pat-shared-components243.js.map +1 -1
- package/dist/pat-shared-components243.mjs +16 -5
- package/dist/pat-shared-components243.mjs.map +1 -1
- package/dist/pat-shared-components244.js +1 -1
- package/dist/pat-shared-components244.js.map +1 -1
- package/dist/pat-shared-components244.mjs +3 -5
- package/dist/pat-shared-components244.mjs.map +1 -1
- package/dist/pat-shared-components245.js +1 -1
- package/dist/pat-shared-components245.js.map +1 -1
- package/dist/pat-shared-components245.mjs +4 -5
- package/dist/pat-shared-components245.mjs.map +1 -1
- package/dist/pat-shared-components246.js +1 -1
- package/dist/pat-shared-components246.js.map +1 -1
- package/dist/pat-shared-components246.mjs +12 -4
- package/dist/pat-shared-components246.mjs.map +1 -1
- package/dist/pat-shared-components247.js +1 -1
- package/dist/pat-shared-components247.js.map +1 -1
- package/dist/pat-shared-components247.mjs +2 -12
- package/dist/pat-shared-components247.mjs.map +1 -1
- package/dist/pat-shared-components248.js +1 -1
- package/dist/pat-shared-components248.js.map +1 -1
- package/dist/pat-shared-components248.mjs +4 -14
- package/dist/pat-shared-components248.mjs.map +1 -1
- package/dist/pat-shared-components249.js +1 -1
- package/dist/pat-shared-components249.js.map +1 -1
- package/dist/pat-shared-components249.mjs +5 -9
- package/dist/pat-shared-components249.mjs.map +1 -1
- package/dist/pat-shared-components25.js +1 -1
- package/dist/pat-shared-components25.mjs +2 -2
- package/dist/pat-shared-components250.js +1 -1
- package/dist/pat-shared-components250.js.map +1 -1
- package/dist/pat-shared-components250.mjs +5 -82
- package/dist/pat-shared-components250.mjs.map +1 -1
- package/dist/pat-shared-components251.js +1 -1
- package/dist/pat-shared-components251.js.map +1 -1
- package/dist/pat-shared-components251.mjs +5 -23
- package/dist/pat-shared-components251.mjs.map +1 -1
- package/dist/pat-shared-components252.js +1 -1
- package/dist/pat-shared-components252.js.map +1 -1
- package/dist/pat-shared-components252.mjs +5 -14
- package/dist/pat-shared-components252.mjs.map +1 -1
- package/dist/pat-shared-components253.js +1 -1
- package/dist/pat-shared-components253.js.map +1 -1
- package/dist/pat-shared-components253.mjs +4 -4
- package/dist/pat-shared-components253.mjs.map +1 -1
- package/dist/pat-shared-components254.js +1 -1
- package/dist/pat-shared-components254.js.map +1 -1
- package/dist/pat-shared-components254.mjs +14 -22
- package/dist/pat-shared-components254.mjs.map +1 -1
- package/dist/pat-shared-components255.js +1 -1
- package/dist/pat-shared-components255.js.map +1 -1
- package/dist/pat-shared-components255.mjs +13 -19
- package/dist/pat-shared-components255.mjs.map +1 -1
- package/dist/pat-shared-components256.js +1 -1
- package/dist/pat-shared-components256.js.map +1 -1
- package/dist/pat-shared-components256.mjs +8 -15
- package/dist/pat-shared-components256.mjs.map +1 -1
- package/dist/pat-shared-components257.js +1 -1
- package/dist/pat-shared-components257.js.map +1 -1
- package/dist/pat-shared-components257.mjs +53 -6
- package/dist/pat-shared-components257.mjs.map +1 -1
- package/dist/pat-shared-components258.js +1 -1
- package/dist/pat-shared-components258.js.map +1 -1
- package/dist/pat-shared-components258.mjs +2 -7
- package/dist/pat-shared-components258.mjs.map +1 -1
- package/dist/pat-shared-components259.js +1 -1
- package/dist/pat-shared-components259.js.map +1 -1
- package/dist/pat-shared-components259.mjs +2 -4
- package/dist/pat-shared-components259.mjs.map +1 -1
- package/dist/pat-shared-components260.js +1 -1
- package/dist/pat-shared-components260.js.map +1 -1
- package/dist/pat-shared-components260.mjs +2 -53
- package/dist/pat-shared-components260.mjs.map +1 -1
- package/dist/pat-shared-components261.js +1 -1
- package/dist/pat-shared-components261.js.map +1 -1
- package/dist/pat-shared-components261.mjs +91 -2
- package/dist/pat-shared-components261.mjs.map +1 -1
- package/dist/pat-shared-components262.js +1 -1
- package/dist/pat-shared-components262.js.map +1 -1
- package/dist/pat-shared-components262.mjs +6 -2
- package/dist/pat-shared-components262.mjs.map +1 -1
- package/dist/pat-shared-components263.js +1 -1
- package/dist/pat-shared-components263.js.map +1 -1
- package/dist/pat-shared-components263.mjs +6 -1
- package/dist/pat-shared-components263.mjs.map +1 -1
- package/dist/pat-shared-components264.js +1 -1
- package/dist/pat-shared-components264.js.map +1 -1
- package/dist/pat-shared-components264.mjs +4 -91
- package/dist/pat-shared-components264.mjs.map +1 -1
- package/dist/pat-shared-components265.js +1 -1
- package/dist/pat-shared-components265.js.map +1 -1
- package/dist/pat-shared-components265.mjs +23 -3
- package/dist/pat-shared-components265.mjs.map +1 -1
- package/dist/pat-shared-components266.js +1 -1
- package/dist/pat-shared-components266.js.map +1 -1
- package/dist/pat-shared-components266.mjs +3 -23
- package/dist/pat-shared-components266.mjs.map +1 -1
- package/dist/pat-shared-components27.js +1 -1
- package/dist/pat-shared-components27.js.map +1 -1
- package/dist/pat-shared-components27.mjs +60 -56
- package/dist/pat-shared-components27.mjs.map +1 -1
- package/dist/pat-shared-components28.js +1 -1
- package/dist/pat-shared-components28.js.map +1 -1
- package/dist/pat-shared-components28.mjs +8 -8
- package/dist/pat-shared-components33.js +1 -1
- package/dist/pat-shared-components33.mjs +2 -2
- package/dist/pat-shared-components34.js +1 -1
- package/dist/pat-shared-components34.mjs +2 -2
- package/dist/pat-shared-components35.js +1 -1
- package/dist/pat-shared-components35.mjs +3 -3
- package/dist/pat-shared-components43.js +1 -1
- package/dist/pat-shared-components43.mjs +1 -1
- package/dist/pat-shared-components44.js +1 -1
- package/dist/pat-shared-components44.mjs +2 -3
- package/dist/pat-shared-components44.mjs.map +1 -1
- package/dist/pat-shared-components45.js +1 -1
- package/dist/pat-shared-components45.js.map +1 -1
- package/dist/pat-shared-components45.mjs +3 -154
- package/dist/pat-shared-components45.mjs.map +1 -1
- package/dist/pat-shared-components46.js +1 -1
- package/dist/pat-shared-components46.js.map +1 -1
- package/dist/pat-shared-components46.mjs +154 -2
- package/dist/pat-shared-components46.mjs.map +1 -1
- package/dist/pat-shared-components47.js +1 -1
- package/dist/pat-shared-components47.mjs +2 -3
- package/dist/pat-shared-components47.mjs.map +1 -1
- package/dist/pat-shared-components48.js +1 -1
- package/dist/pat-shared-components48.mjs +2 -2
- package/dist/pat-shared-components49.js +1 -1
- package/dist/pat-shared-components49.mjs +3 -2
- package/dist/pat-shared-components49.mjs.map +1 -1
- package/dist/pat-shared-components5.js +1 -1
- package/dist/pat-shared-components5.mjs +2 -1
- package/dist/pat-shared-components5.mjs.map +1 -1
- package/dist/pat-shared-components50.js +1 -1
- package/dist/pat-shared-components50.mjs +1 -1
- package/dist/pat-shared-components51.js +1 -1
- package/dist/pat-shared-components51.mjs +1 -1
- package/dist/pat-shared-components52.js +1 -1
- package/dist/pat-shared-components52.mjs +1 -1
- package/dist/pat-shared-components53.js +1 -1
- package/dist/pat-shared-components53.mjs +1 -1
- package/dist/pat-shared-components54.js +1 -1
- package/dist/pat-shared-components54.mjs +2 -3
- package/dist/pat-shared-components54.mjs.map +1 -1
- package/dist/pat-shared-components55.js +1 -1
- package/dist/pat-shared-components55.mjs +2 -2
- package/dist/pat-shared-components56.js +1 -1
- package/dist/pat-shared-components56.mjs +2 -2
- package/dist/pat-shared-components57.js +1 -1
- package/dist/pat-shared-components57.mjs +3 -2
- package/dist/pat-shared-components57.mjs.map +1 -1
- package/dist/pat-shared-components58.js +1 -1
- package/dist/pat-shared-components58.mjs +1 -1
- package/dist/pat-shared-components6.js +1 -1
- package/dist/pat-shared-components6.mjs +2 -1
- package/dist/pat-shared-components6.mjs.map +1 -1
- package/dist/pat-shared-components60.js +1 -1
- package/dist/pat-shared-components60.mjs +2 -2
- package/dist/pat-shared-components62.js +1 -1
- package/dist/pat-shared-components62.mjs +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 +2 -2
- package/dist/pat-shared-components66.js +1 -1
- package/dist/pat-shared-components66.mjs +3 -3
- package/dist/pat-shared-components67.js +1 -1
- package/dist/pat-shared-components67.js.map +1 -1
- package/dist/pat-shared-components67.mjs +16 -27
- package/dist/pat-shared-components67.mjs.map +1 -1
- package/dist/pat-shared-components68.js +1 -1
- package/dist/pat-shared-components68.js.map +1 -1
- package/dist/pat-shared-components68.mjs +32 -5
- package/dist/pat-shared-components68.mjs.map +1 -1
- package/dist/pat-shared-components69.js +1 -1
- package/dist/pat-shared-components69.js.map +1 -1
- package/dist/pat-shared-components69.mjs +5 -28
- package/dist/pat-shared-components69.mjs.map +1 -1
- package/dist/pat-shared-components70.js +1 -1
- package/dist/pat-shared-components70.js.map +1 -1
- package/dist/pat-shared-components70.mjs +27 -9
- package/dist/pat-shared-components70.mjs.map +1 -1
- package/dist/pat-shared-components71.js +1 -1
- package/dist/pat-shared-components71.js.map +1 -1
- package/dist/pat-shared-components71.mjs +10 -85
- package/dist/pat-shared-components71.mjs.map +1 -1
- package/dist/pat-shared-components72.js +1 -1
- package/dist/pat-shared-components72.js.map +1 -1
- package/dist/pat-shared-components72.mjs +83 -20
- package/dist/pat-shared-components72.mjs.map +1 -1
- package/dist/pat-shared-components73.js +1 -1
- package/dist/pat-shared-components73.js.map +1 -1
- package/dist/pat-shared-components73.mjs +18 -24
- package/dist/pat-shared-components73.mjs.map +1 -1
- package/dist/pat-shared-components74.js +1 -1
- package/dist/pat-shared-components74.js.map +1 -1
- package/dist/pat-shared-components74.mjs +27 -103
- package/dist/pat-shared-components74.mjs.map +1 -1
- package/dist/pat-shared-components78.js +1 -1
- package/dist/pat-shared-components78.js.map +1 -1
- package/dist/pat-shared-components78.mjs +22 -16
- package/dist/pat-shared-components78.mjs.map +1 -1
- package/dist/pat-shared-components79.js +1 -1
- package/dist/pat-shared-components79.js.map +1 -1
- package/dist/pat-shared-components79.mjs +13 -18
- package/dist/pat-shared-components79.mjs.map +1 -1
- package/dist/pat-shared-components8.js +1 -1
- package/dist/pat-shared-components8.js.map +1 -1
- package/dist/pat-shared-components8.mjs +8 -8
- package/dist/pat-shared-components80.js +1 -1
- package/dist/pat-shared-components80.js.map +1 -1
- package/dist/pat-shared-components80.mjs +19 -20
- package/dist/pat-shared-components80.mjs.map +1 -1
- package/dist/pat-shared-components81.js +1 -1
- package/dist/pat-shared-components81.js.map +1 -1
- package/dist/pat-shared-components81.mjs +33 -21
- package/dist/pat-shared-components81.mjs.map +1 -1
- package/dist/pat-shared-components82.js +5 -1
- package/dist/pat-shared-components82.js.map +1 -1
- package/dist/pat-shared-components82.mjs +821 -5
- package/dist/pat-shared-components82.mjs.map +1 -1
- package/dist/pat-shared-components83.js +1 -1
- package/dist/pat-shared-components83.js.map +1 -1
- package/dist/pat-shared-components83.mjs +10 -46
- package/dist/pat-shared-components83.mjs.map +1 -1
- package/dist/pat-shared-components84.js +1 -1
- package/dist/pat-shared-components84.js.map +1 -1
- package/dist/pat-shared-components84.mjs +103 -54
- package/dist/pat-shared-components84.mjs.map +1 -1
- package/dist/pat-shared-components85.js +1 -3
- package/dist/pat-shared-components85.js.map +1 -1
- package/dist/pat-shared-components85.mjs +18 -198
- package/dist/pat-shared-components85.mjs.map +1 -1
- package/dist/pat-shared-components86.js +1 -1
- package/dist/pat-shared-components86.js.map +1 -1
- package/dist/pat-shared-components86.mjs +10 -48
- package/dist/pat-shared-components86.mjs.map +1 -1
- package/dist/pat-shared-components87.js +1 -1
- package/dist/pat-shared-components87.js.map +1 -1
- package/dist/pat-shared-components87.mjs +51 -19
- package/dist/pat-shared-components87.mjs.map +1 -1
- package/dist/pat-shared-components88.js +1 -1
- package/dist/pat-shared-components88.js.map +1 -1
- package/dist/pat-shared-components88.mjs +86 -75
- package/dist/pat-shared-components88.mjs.map +1 -1
- package/dist/pat-shared-components89.js +1 -1
- package/dist/pat-shared-components89.js.map +1 -1
- package/dist/pat-shared-components89.mjs +4 -12
- package/dist/pat-shared-components89.mjs.map +1 -1
- package/dist/pat-shared-components9.js +1 -1
- package/dist/pat-shared-components9.mjs +7 -7
- package/dist/pat-shared-components90.js +1 -1
- package/dist/pat-shared-components90.js.map +1 -1
- package/dist/pat-shared-components90.mjs +16 -43
- package/dist/pat-shared-components90.mjs.map +1 -1
- package/dist/pat-shared-components91.js +1 -5
- package/dist/pat-shared-components91.js.map +1 -1
- package/dist/pat-shared-components91.mjs +40 -820
- package/dist/pat-shared-components91.mjs.map +1 -1
- package/dist/pat-shared-components92.js +1 -1
- package/dist/pat-shared-components92.js.map +1 -1
- package/dist/pat-shared-components92.mjs +80 -28
- package/dist/pat-shared-components92.mjs.map +1 -1
- package/dist/pat-shared-components93.js +1 -1
- package/dist/pat-shared-components93.js.map +1 -1
- package/dist/pat-shared-components93.mjs +29 -22
- package/dist/pat-shared-components93.mjs.map +1 -1
- package/dist/pat-shared-components94.js +1 -1
- package/dist/pat-shared-components94.js.map +1 -1
- package/dist/pat-shared-components94.mjs +37 -33
- package/dist/pat-shared-components94.mjs.map +1 -1
- package/dist/pat-shared-components95.js +1 -1
- package/dist/pat-shared-components95.js.map +1 -1
- package/dist/pat-shared-components95.mjs +20 -10
- package/dist/pat-shared-components95.mjs.map +1 -1
- package/dist/pat-shared-components96.js +1 -1
- package/dist/pat-shared-components96.js.map +1 -1
- package/dist/pat-shared-components96.mjs +24 -9
- package/dist/pat-shared-components96.mjs.map +1 -1
- package/dist/pat-shared-components97.js +1 -1
- package/dist/pat-shared-components97.js.map +1 -1
- package/dist/pat-shared-components97.mjs +5 -54
- package/dist/pat-shared-components97.mjs.map +1 -1
- package/dist/pat-shared-components98.js +1 -1
- package/dist/pat-shared-components98.js.map +1 -1
- package/dist/pat-shared-components98.mjs +41 -86
- package/dist/pat-shared-components98.mjs.map +1 -1
- package/dist/pat-shared-components99.js +1 -1
- package/dist/pat-shared-components99.js.map +1 -1
- package/dist/pat-shared-components99.mjs +54 -4
- package/dist/pat-shared-components99.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/components/TestResult/Desktop/TestResultDetailDesktop.vue.d.ts +2 -1
- package/dist/types/components/TestResult/Mobile/ResultTab/TestResultDetail.vue.d.ts +2 -1
- package/dist/types/components/TestResult/Shared/DoctorNoteDetail.vue.d.ts +15 -1
- package/dist/types/types/TestResult.d.ts +5 -1
- package/package.json +1 -1
|
@@ -1,162 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { TestResultStatus as F } from "./pat-shared-components4.mjs";
|
|
3
|
-
import { formatDateTimeShort as h } from "./pat-shared-components181.mjs";
|
|
4
|
-
import { ActionEventMap as j } from "./pat-shared-components94.mjs";
|
|
5
|
-
import { useI18n as z } from "./pat-shared-components91.mjs";
|
|
6
|
-
import L from "./pat-shared-components172.mjs";
|
|
7
|
-
const O = (u) => (N("data-v-2fbd1131"), u = u(), B(), u), P = { class: "psc-flex psc-w-full psc-flex-wrap psc-justify-center psc-space-y-2 psc-overflow-hidden" }, Y = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "psc-w-full psc-py-4"
|
|
10
|
-
}, q = { class: "custom-steps" }, G = { class: "steps-line-container" }, H = /* @__PURE__ */ O(() => /* @__PURE__ */ o("div", { class: "steps-line" }, null, -1)), J = ["onClick"], Q = { class: "steps-content" }, U = { class: "step-title" }, W = {
|
|
11
|
-
key: 0,
|
|
12
|
-
class: "step-description"
|
|
13
|
-
}, X = {
|
|
14
|
-
key: 1,
|
|
15
|
-
class: "psc-w-full"
|
|
16
|
-
}, Z = { class: "-psc-mx-0.5 psc-flex psc-flex-wrap psc-text-sm psc-text-black/[0.6]" }, ee = {
|
|
17
|
-
key: 0,
|
|
18
|
-
class: "psc-flex-auto psc-px-0.5"
|
|
19
|
-
}, te = { class: "psc-mr-1" }, se = {
|
|
20
|
-
key: 1,
|
|
21
|
-
class: "psc-flex-auto psc-px-0.5 psc-text-right"
|
|
22
|
-
}, le = { class: "psc-mr-1" }, de = /* @__PURE__ */ $({
|
|
23
|
-
__name: "ResultReadyV2",
|
|
24
|
-
props: {
|
|
25
|
-
testResult: null,
|
|
26
|
-
timeline: { default: void 0 },
|
|
27
|
-
listActionEvent: { default: void 0 }
|
|
28
|
-
},
|
|
29
|
-
setup(u) {
|
|
30
|
-
const c = u, { t: v } = z(), k = p(() => {
|
|
31
|
-
var e;
|
|
32
|
-
return (e = c.listActionEvent) != null ? e : j;
|
|
33
|
-
}), m = p(
|
|
34
|
-
() => h(c.testResult.sample_collected_at)
|
|
35
|
-
), S = p(
|
|
36
|
-
() => h(c.testResult.result_at)
|
|
37
|
-
), g = p(
|
|
38
|
-
() => c.testResult.result_status === F.Ready
|
|
39
|
-
), x = [
|
|
40
|
-
"ordered",
|
|
41
|
-
"sample_collected",
|
|
42
|
-
"in_progress",
|
|
43
|
-
"partially_approved",
|
|
44
|
-
"approved"
|
|
45
|
-
], K = (e) => {
|
|
46
|
-
const n = x.indexOf(e);
|
|
47
|
-
return n === -1 ? 0 : n;
|
|
48
|
-
}, T = p(() => {
|
|
49
|
-
if (!c.timeline || c.timeline.length === 0)
|
|
50
|
-
return /* @__PURE__ */ new Map();
|
|
51
|
-
const e = /* @__PURE__ */ new Map(), n = [...c.timeline].sort(
|
|
52
|
-
(l, t) => new Date(t.created_at).getTime() - new Date(l.created_at).getTime()
|
|
53
|
-
);
|
|
54
|
-
return x.forEach((l) => {
|
|
55
|
-
const t = n.find((D) => k.value[D.action_event] === l);
|
|
56
|
-
t && e.set(l, t.created_at);
|
|
57
|
-
}), e;
|
|
58
|
-
}), b = () => {
|
|
59
|
-
if (!c.timeline || c.timeline.length === 0)
|
|
60
|
-
return 0;
|
|
61
|
-
let e = 0;
|
|
62
|
-
return c.timeline.forEach((n) => {
|
|
63
|
-
const l = k.value[n.action_event];
|
|
64
|
-
if (l) {
|
|
65
|
-
const t = K(l);
|
|
66
|
-
t > e && (e = t);
|
|
67
|
-
}
|
|
68
|
-
}), e;
|
|
69
|
-
}, w = [
|
|
70
|
-
{
|
|
71
|
-
key: "ordered",
|
|
72
|
-
titleKey: "psc.test_result_step_ordered"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
key: "sample_collected",
|
|
76
|
-
titleKey: "psc.test_result_step_sample_collected"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
key: "in_progress",
|
|
80
|
-
titleKey: "psc.test_result_step_in_progress"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
key: "partially_approved",
|
|
84
|
-
titleKey: "psc.test_result_step_partially_approved"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
key: "approved",
|
|
88
|
-
titleKey: "psc.test_result_step_approved"
|
|
89
|
-
}
|
|
90
|
-
], E = (e) => {
|
|
91
|
-
const n = T.value.get(e);
|
|
92
|
-
if (n)
|
|
93
|
-
return h(n);
|
|
94
|
-
switch (e) {
|
|
95
|
-
case "sample_collected":
|
|
96
|
-
return m.value;
|
|
97
|
-
case "approved":
|
|
98
|
-
return S.value;
|
|
99
|
-
default:
|
|
100
|
-
return;
|
|
101
|
-
}
|
|
102
|
-
}, i = p(() => b()), R = p(() => typeof f.value == "number" ? f.value : i.value), f = V(null), M = (e) => {
|
|
103
|
-
e <= i.value && (f.value = e);
|
|
104
|
-
};
|
|
105
|
-
return (e, n) => (r(), a("div", P, [
|
|
106
|
-
A(L, {
|
|
107
|
-
status: c.testResult.result_status
|
|
108
|
-
}, null, 8, ["status"]),
|
|
109
|
-
c.timeline && c.timeline.length > 0 ? (r(), a("div", Y, [
|
|
110
|
-
o("div", q, [
|
|
111
|
-
o("div", G, [
|
|
112
|
-
H,
|
|
113
|
-
o("div", {
|
|
114
|
-
class: y(["steps-line-progress", `progress-to-${s(i)}`])
|
|
115
|
-
}, null, 2),
|
|
116
|
-
(r(), a(C, null, I(w, (l, t) => o("div", {
|
|
117
|
-
key: l.key,
|
|
118
|
-
class: y(["step-dot", [
|
|
119
|
-
{
|
|
120
|
-
active: t <= s(i),
|
|
121
|
-
current: t === s(i),
|
|
122
|
-
disabled: t > s(i),
|
|
123
|
-
selected: t === s(R)
|
|
124
|
-
},
|
|
125
|
-
`step-dot-${t}`
|
|
126
|
-
]]),
|
|
127
|
-
onClick: (D) => M(t)
|
|
128
|
-
}, null, 10, J)), 64))
|
|
129
|
-
]),
|
|
130
|
-
o("div", Q, [
|
|
131
|
-
(r(), a(C, null, I(w, (l, t) => o("div", {
|
|
132
|
-
key: l.key,
|
|
133
|
-
class: y(["step-content-box", [
|
|
134
|
-
{ active: t === s(R) },
|
|
135
|
-
`step-content-${t}`
|
|
136
|
-
]])
|
|
137
|
-
}, [
|
|
138
|
-
o("div", U, d(s(v)(l.titleKey)), 1),
|
|
139
|
-
E(l.key) ? (r(), a("div", W, d(E(l.key)), 1)) : _("", !0)
|
|
140
|
-
], 2)), 64))
|
|
141
|
-
])
|
|
142
|
-
])
|
|
143
|
-
])) : _("", !0),
|
|
144
|
-
s(m) || s(g) ? (r(), a("div", X, [
|
|
145
|
-
o("div", Z, [
|
|
146
|
-
s(m) ? (r(), a("div", ee, [
|
|
147
|
-
o("span", te, d(s(v)("psc.test_result_sample_collected")), 1),
|
|
148
|
-
o("span", null, d(s(m)), 1)
|
|
149
|
-
])) : _("", !0),
|
|
150
|
-
s(g) ? (r(), a("div", se, [
|
|
151
|
-
o("span", le, d(s(v)("psc.test_result_result_ready")), 1),
|
|
152
|
-
o("span", null, d(s(S)), 1)
|
|
153
|
-
])) : _("", !0)
|
|
154
|
-
])
|
|
155
|
-
])) : _("", !0)
|
|
156
|
-
]));
|
|
157
|
-
}
|
|
158
|
-
});
|
|
1
|
+
import f from "./pat-shared-components91.mjs";
|
|
159
2
|
export {
|
|
160
|
-
|
|
3
|
+
f as default
|
|
161
4
|
};
|
|
162
5
|
//# sourceMappingURL=pat-shared-components132.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components132.mjs","sources":["../src/components/TestResult/Shared/ResultReadyV2.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2fbd1131\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"psc-flex psc-w-full psc-flex-wrap psc-justify-center psc-space-y-2 psc-overflow-hidden\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"psc-w-full psc-py-4\"\n}\nconst _hoisted_3 = { class: \"custom-steps\" }\nconst _hoisted_4 = { class: \"steps-line-container\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"steps-line\" }, null, -1))\nconst _hoisted_6 = [\"onClick\"]\nconst _hoisted_7 = { class: \"steps-content\" }\nconst _hoisted_8 = { class: \"step-title\" }\nconst _hoisted_9 = {\n key: 0,\n class: \"step-description\"\n}\nconst _hoisted_10 = {\n key: 1,\n class: \"psc-w-full\"\n}\nconst _hoisted_11 = { class: \"-psc-mx-0.5 psc-flex psc-flex-wrap psc-text-sm psc-text-black/[0.6]\" }\nconst _hoisted_12 = {\n key: 0,\n class: \"psc-flex-auto psc-px-0.5\"\n}\nconst _hoisted_13 = { class: \"psc-mr-1\" }\nconst _hoisted_14 = {\n key: 1,\n class: \"psc-flex-auto psc-px-0.5 psc-text-right\"\n}\nconst _hoisted_15 = { class: \"psc-mr-1\" }\n\nimport { TestResultStatus } from '@/constants/Enums';\nimport { formatDateTimeShort } from '@/helpers/DateHelper';\nimport { ActionEventMap } from '@/helpers/ComponentHelper';\nimport type { TestResult } from '@/types';\nimport { computed, ref } from 'vue';\nimport { useI18n } from 'vue-i18n';\nimport ResultStatus from '../../Shared/ResultStatus.vue';\n\n/**\n * Props\n */\nexport interface TimelineEvent {\n vid: string;\n created_at: string;\n action_event: string;\n}\n\nexport interface StepConfig {\n key: string;\n titleKey: string;\n date?: string;\n}\n\nexport interface Props {\n testResult: TestResult;\n timeline?: TimelineEvent[];\n listActionEvent?: Record<string, string>;\n}\ntype StepKey = (typeof STEP_KEYS)[number];\n\n// Map step key to index\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ResultReadyV2',\n props: {\n testResult: null,\n timeline: { default: undefined },\n listActionEvent: { default: undefined }\n },\n setup(__props: any) {\n\nconst props = __props as { testResult: TestResult, timeline: TimelineEvent[], listActionEvent: Record<string, string> };\n\n\n\n/**\n * Data\n */\nconst { t } = useI18n();\n\n// Use custom action event map if provided, otherwise use default\nconst actionEventMap = computed(() => props.listActionEvent ?? ActionEventMap);\n\nconst sampleCollectedDate = computed(() =>\n formatDateTimeShort(props.testResult.sample_collected_at)\n);\nconst resultDate = computed(() =>\n formatDateTimeShort(props.testResult.result_at)\n);\nconst isReady = computed(\n () => props.testResult.result_status === TestResultStatus.Ready\n);\n\n// Define the step keys in order\nconst STEP_KEYS = [\n 'ordered',\n 'sample_collected',\n 'in_progress',\n 'partially_approved',\n 'approved',\n] as const;\n\nconst stepKeyToIndex = (key: string): number => {\n const index = STEP_KEYS.indexOf(key as StepKey);\n return index === -1 ? 0 : index;\n};\n\n// Process timeline to get the latest date for each step\nconst stepDates = computed(() => {\n if (!props.timeline || props.timeline.length === 0) {\n return new Map<string, string>();\n }\n\n const dateMap = new Map<string, string>();\n\n // Sort timeline by created_at descending to process latest events first\n const sortedTimeline = [...props.timeline].sort(\n (a, b) =>\n new Date(b.created_at).getTime() - new Date(a.created_at).getTime()\n );\n\n // For each step, find the latest event that maps to it\n STEP_KEYS.forEach((stepKey) => {\n const latestEvent = sortedTimeline.find((event) => {\n const mappedStep = actionEventMap.value[event.action_event];\n return mappedStep === stepKey;\n });\n\n if (latestEvent) {\n dateMap.set(stepKey, latestEvent.created_at);\n }\n });\n\n return dateMap;\n});\n\n// Get current step from timeline (the highest step reached)\nconst getCurrentStepFromTimeline = (): number => {\n if (!props.timeline || props.timeline.length === 0) {\n return 0;\n }\n\n let maxStepIndex = 0;\n\n props.timeline.forEach((event) => {\n const statusKey = actionEventMap.value[event.action_event];\n if (statusKey) {\n const stepIndex = stepKeyToIndex(statusKey);\n if (stepIndex > maxStepIndex) {\n maxStepIndex = stepIndex;\n }\n }\n });\n\n return maxStepIndex;\n};\n\n// Steps configuration\nconst steps: StepConfig[] = [\n {\n key: 'ordered',\n titleKey: 'psc.test_result_step_ordered',\n },\n {\n key: 'sample_collected',\n titleKey: 'psc.test_result_step_sample_collected',\n },\n {\n key: 'in_progress',\n titleKey: 'psc.test_result_step_in_progress',\n },\n {\n key: 'partially_approved',\n titleKey: 'psc.test_result_step_partially_approved',\n },\n {\n key: 'approved',\n titleKey: 'psc.test_result_step_approved',\n },\n];\n\n// Get step date based on key\nconst getStepDate = (key: string): string | Date | undefined => {\n // Check if we have a date from timeline for this step\n const timelineDate = stepDates.value.get(key);\n if (timelineDate) {\n return formatDateTimeShort(timelineDate);\n }\n\n // Fallback to original logic for specific steps\n switch (key) {\n case 'sample_collected':\n return sampleCollectedDate.value;\n case 'approved':\n return resultDate.value;\n default:\n return undefined;\n }\n};\n\nconst currentStep = computed(() => getCurrentStepFromTimeline());\n\nconst selectedStep = computed(() => {\n return typeof selectedStepIndex.value === 'number'\n ? selectedStepIndex.value\n : currentStep.value;\n});\nconst selectedStepIndex = ref<number | null>(null);\n\nconst handleStepClick = (index: number) => {\n // Only allow clicking on current step and previous steps\n if (index <= currentStep.value) {\n selectedStepIndex.value = index;\n }\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(ResultStatus, {\n status: props.testResult.result_status\n }, null, 8, [\"status\"]),\n (props.timeline && props.timeline.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"steps-line-progress\", `progress-to-${_unref(currentStep)}`])\n }, null, 2),\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList(steps, (step, index) => {\n return _createElementVNode(\"div\", {\n key: step.key,\n class: _normalizeClass([\"step-dot\", [\n {\n active: index <= _unref(currentStep),\n current: index === _unref(currentStep),\n disabled: index > _unref(currentStep),\n selected: index === _unref(selectedStep),\n },\n `step-dot-${index}`,\n ]]),\n onClick: ($event: any) => (handleStepClick(index))\n }, null, 10, _hoisted_6)\n }), 64))\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList(steps, (step, index) => {\n return _createElementVNode(\"div\", {\n key: step.key,\n class: _normalizeClass([\"step-content-box\", [\n { active: index === _unref(selectedStep) },\n `step-content-${index}`,\n ]])\n }, [\n _createElementVNode(\"div\", _hoisted_8, _toDisplayString(_unref(t)(step.titleKey)), 1),\n (getStepDate(step.key))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, _toDisplayString(getStepDate(step.key)), 1))\n : _createCommentVNode(\"\", true)\n ], 2)\n }), 64))\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(sampleCollectedDate) || _unref(isReady))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n (_unref(sampleCollectedDate))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_12, [\n _createElementVNode(\"span\", _hoisted_13, _toDisplayString(_unref(t)('psc.test_result_sample_collected')), 1),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(sampleCollectedDate)), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(isReady))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_14, [\n _createElementVNode(\"span\", _hoisted_15, _toDisplayString(_unref(t)('psc.test_result_result_ready')), 1),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(resultDate)), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})"],"names":["_withScopeId","_pushScopeId","n","_popScopeId","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_createElementVNode","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_sfc_main","_defineComponent","__props","props","t","useI18n","actionEventMap","computed","_a","ActionEventMap","sampleCollectedDate","formatDateTimeShort","resultDate","isReady","TestResultStatus","STEP_KEYS","stepKeyToIndex","key","index","stepDates","dateMap","sortedTimeline","a","b","stepKey","latestEvent","event","getCurrentStepFromTimeline","maxStepIndex","statusKey","stepIndex","steps","getStepDate","timelineDate","currentStep","selectedStep","selectedStepIndex","ref","handleStepClick","_ctx","_cache","_openBlock","_createElementBlock","_createVNode","ResultStatus","_normalizeClass","_unref","_Fragment","_renderList","step","$event","_toDisplayString","_createCommentVNode"],"mappings":";;;;;;AAGA,MAAMA,IAAe,QAAMC,EAAa,iBAAiB,GAAEC,IAAEA,KAAIC,KAAcD,IACzEE,IAAa,EAAE,OAAO,4FACtBC,IAAa;AAAA,EACjB,KAAK;AAAA,EACL,OAAO;AACT,GACMC,IAAa,EAAE,OAAO,kBACtBC,IAAa,EAAE,OAAO,0BACtBC,IAAwC,gBAAAR,EAAA,MAAuCS,gBAAAA,EAAA,OAAO,EAAE,OAAO,gBAAgB,MAAM,EAAE,CAAC,GACxHC,IAAa,CAAC,SAAS,GACvBC,IAAa,EAAE,OAAO,mBACtBC,IAAa,EAAE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AAC,EAAE,8BAA8B,CAAC,GAAG,CAAC;AAAA,YACvGf,EAAoB,QAAQ,MAAM8D,EAAiBL,EAAOlC,CAAU,CAAC,GAAG,CAAC;AAAA,UAAA,CAC1E,KACDwC,EAAoB,IAAI,EAAI;AAAA,QAAA,CACjC;AAAA,MAAA,CACF,KACDA,EAAoB,IAAI,EAAI;AAAA,IAAA,CACjC;AAAA,EAEH;AAEA,CAAC;"}
|
|
1
|
+
{"version":3,"file":"pat-shared-components132.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e="";module.exports=e;
|
|
1
|
+
"use strict";const e=require("./pat-shared-components92.js");module.exports=e;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components133.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t=require("./pat-shared-components93.js");module.exports=t;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components134.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./pat-shared-
|
|
1
|
+
"use strict";const e=require("vue"),l=require("./pat-shared-components82.js"),a=require("./pat-shared-components182.js"),i=require("./pat-shared-components110.js"),p=require("./pat-shared-components183.js"),d=require("./pat-shared-components184.js"),u=require("./pat-shared-components185.js"),_=require("./pat-shared-components186.js"),h={class:"psc-h-10 psc-bg-blue-darken-1 psc-text-white"},f={class:"container psc-mx-auto psc-flex psc-h-full psc-items-center psc-justify-between psc-px-5 lg:psc-justify-end"},m=["href"],g={class:"psc-hidden psc-items-center psc-justify-end lg:psc-flex"},x=["href"],V=["href"],b=["href"],E={class:"psc-flex psc-items-center"},N={href:"tel:1900 1717",class:"phone"},k={class:"psc-ml-3 psc-mt-2 psc-hidden psc-text-white lg:psc-block"},v=["href"],y={class:"psc-text-xl"},w={class:"psc-ml-2 psc-inline-flex psc-text-xs"},q=e.defineComponent({__name:"WebsiteHeaderTop",setup(B){const{t,locale:s}=l.useI18n(),c={lang:{en:"Tiếng Việt",vi:"English"},tel:"1900 1717"},n=e.inject(i.WebsiteHeaderProvide.ROUTE,e.computed(()=>({baseUrl:"",patientPortalUrl:"",languageRoutes:{}})));function r(o){return`${n.value.baseUrl}${o}`}return(o,D)=>(e.openBlock(),e.createElementBlock("div",h,[e.createElementVNode("div",f,[e.createElementVNode("a",{class:"link md:psc-ml-2.5",href:r(e.unref(t)("psc.website_header.route.locate_collection_center"))},[e.createVNode(e.unref(p),{class:"psc-mr-1.5 psc-h-5"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(t)("psc.website_header.text.locate_col_center")),1)],8,m),e.createElementVNode("div",g,[e.createElementVNode("a",{class:"link psc-ml-4",href:e.unref(n).patientPortalUrl},e.toDisplayString(o.$t("psc.website_header.text.my_test_result")),9,x),e.createElementVNode("a",{class:"link psc-ml-4",href:r(e.unref(t)("psc.website_header.route.partner_portal"))},e.toDisplayString(e.unref(t)("psc.website_header.text.partner_portal")),9,V),e.createElementVNode("a",{class:"link psc-ml-4",href:r(e.unref(t)("psc.website_header.route.support"))},e.toDisplayString(e.unref(t)("psc.website_header.text.help_support")),9,b)]),e.createElementVNode("div",E,[e.createElementVNode("a",N,[e.createVNode(e.unref(d),{class:"psc-mr-1.5 psc-h-3.5"}),e.createTextVNode(" "+e.toDisplayString(c.tel),1)]),e.createElementVNode("div",k,[e.createVNode(a,{"icon-class":"psc-text-white"})]),e.createElementVNode("a",{class:"psc-ml-4 psc-flex psc-items-center",href:e.unref(n).languageRoutes[e.unref(s)]},[e.createElementVNode("span",y,[e.unref(s)==="vi"?(e.openBlock(),e.createBlock(e.unref(u),{key:0})):(e.openBlock(),e.createBlock(e.unref(_),{key:1}))]),e.createElementVNode("span",w,e.toDisplayString(e.unref(s)=="en"?c.lang.en:c.lang.vi),1)],8,v)])])]))}});module.exports=q;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components135.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components135.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"pat-shared-components135.js","sources":["../src/components/WebsiteHeader/WebsiteHeaderTop.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-c18767f9\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"psc-h-10 psc-bg-blue-darken-1 psc-text-white\" }\nconst _hoisted_2 = { class: \"container psc-mx-auto psc-flex psc-h-full psc-items-center psc-justify-between psc-px-5 lg:psc-justify-end\" }\nconst _hoisted_3 = [\"href\"]\nconst _hoisted_4 = { class: \"psc-hidden psc-items-center psc-justify-end lg:psc-flex\" }\nconst _hoisted_5 = [\"href\"]\nconst _hoisted_6 = [\"href\"]\nconst _hoisted_7 = [\"href\"]\nconst _hoisted_8 = { class: \"psc-flex psc-items-center\" }\nconst _hoisted_9 = {\n href: \"tel:1900 1717\",\n class: \"phone\"\n}\nconst _hoisted_10 = { class: \"psc-ml-3 psc-mt-2 psc-hidden psc-text-white lg:psc-block\" }\nconst _hoisted_11 = [\"href\"]\nconst _hoisted_12 = { class: \"psc-text-xl\" }\nconst _hoisted_13 = { class: \"psc-ml-2 psc-inline-flex psc-text-xs\" }\n\nimport { useI18n } from 'vue-i18n';\nimport { IconLocation, IconEnFlag, IconVnFlag, IconPhone } from './icons';\nimport WebsiteHeaderCart from './WebsiteHeaderCart.vue';\nimport { computed, inject, type ComputedRef } from 'vue';\nimport { type WebsiteHeaderProvideRoute, WebsiteHeaderProvide } from './types';\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'WebsiteHeaderTop',\n setup(__props) {\n\nconst { t, locale } = useI18n();\n\nconst rawTexts = {\n lang: {\n en: 'Tiếng Việt',\n vi: 'English',\n },\n tel: '1900 1717',\n};\n\nconst route = inject<ComputedRef<WebsiteHeaderProvideRoute>>(\n WebsiteHeaderProvide.ROUTE,\n computed(() => ({\n baseUrl: '',\n patientPortalUrl: '',\n languageRoutes: {},\n }))\n);\n\nfunction baseUrlConcat(url: string) {\n return `${route.value.baseUrl}${url}`;\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"a\", {\n class: \"link md:psc-ml-2.5\",\n href: \n baseUrlConcat(_unref(t)('psc.website_header.route.locate_collection_center'))\n \n }, [\n _createVNode(_unref(IconLocation), { class: \"psc-mr-1.5 psc-h-5\" }),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(t)('psc.website_header.text.locate_col_center')), 1)\n ], 8, _hoisted_3),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"a\", {\n class: \"link psc-ml-4\",\n href: _unref(route).patientPortalUrl\n }, _toDisplayString(_ctx.$t('psc.website_header.text.my_test_result')), 9, _hoisted_5),\n _createElementVNode(\"a\", {\n class: \"link psc-ml-4\",\n href: baseUrlConcat(_unref(t)('psc.website_header.route.partner_portal'))\n }, _toDisplayString(_unref(t)('psc.website_header.text.partner_portal')), 9, _hoisted_6),\n _createElementVNode(\"a\", {\n class: \"link psc-ml-4\",\n href: baseUrlConcat(_unref(t)('psc.website_header.route.support'))\n }, _toDisplayString(_unref(t)('psc.website_header.text.help_support')), 9, _hoisted_7)\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"a\", _hoisted_9, [\n _createVNode(_unref(IconPhone), { class: \"psc-mr-1.5 psc-h-3.5\" }),\n _createTextVNode(\" \" + _toDisplayString(rawTexts.tel), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(WebsiteHeaderCart, { \"icon-class\": \"psc-text-white\" })\n ]),\n _createElementVNode(\"a\", {\n class: \"psc-ml-4 psc-flex psc-items-center\",\n href: _unref(route).languageRoutes[_unref(locale)]\n }, [\n _createElementVNode(\"span\", _hoisted_12, [\n (_unref(locale) === 'vi')\n ? (_openBlock(), _createBlock(_unref(IconEnFlag), { key: 0 }))\n : (_openBlock(), _createBlock(_unref(IconVnFlag), { key: 1 }))\n ]),\n _createElementVNode(\"span\", _hoisted_13, _toDisplayString(_unref(locale) == 'en' ? rawTexts.lang.en : rawTexts.lang.vi), 1)\n ], 8, _hoisted_11)\n ])\n ])\n ]))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_sfc_main","_defineComponent","__props","locale","useI18n","rawTexts","route","inject","WebsiteHeaderProvide","computed","baseUrlConcat","url","_ctx","_cache","_openBlock","_createElementBlock","_createElementVNode","_unref","_createVNode","IconLocation","_toDisplayString","IconPhone","_createTextVNode","WebsiteHeaderCart","_createBlock","IconEnFlag","IconVnFlag"],"mappings":"gVAIMA,EAAa,CAAE,MAAO,gDACtBC,EAAa,CAAE,MAAO,8GACtBC,EAAa,CAAC,MAAM,EACpBC,EAAa,CAAE,MAAO,2DACtBC,EAAa,CAAC,MAAM,EACpBC,EAAa,CAAC,MAAM,EACpBC,EAAa,CAAC,MAAM,EACpBC,EAAa,CAAE,MAAO,6BACtBC,EAAa,CACjB,KAAM,gBACN,MAAO,OACT,EACMC,EAAc,CAAE,MAAO,4DACvBC,EAAc,CAAC,MAAM,EACrBC,EAAc,CAAE,MAAO,eACvBC,EAAc,CAAE,MAAO,wCASDC,EAAiBC,kBAAA,CAC3C,OAAQ,mBACR,MAAMC,EAAS,CAEjB,KAAM,CAAE,EAAG,OAAAC,CAAO,EAAIC,EAAQ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,CAAC,EAAG,EAAGxB,CAAU,CAAA,CACtF,EACDuB,EAAA,mBAAoB,MAAOtB,EAAY,CACrCsB,EAAA,mBAAoB,IAAKrB,EAAY,CACnCuB,cAAaD,EAAO,MAAAI,CAAS,EAAG,CAAE,MAAO,uBAAwB,EACjEC,kBAAiB,IAAMF,EAAA,gBAAiBf,EAAS,GAAG,EAAG,CAAC,CAAA,CACzD,EACDW,EAAA,mBAAoB,MAAOpB,EAAa,CACtCsB,EAAAA,YAAaK,EAAmB,CAAE,aAAc,iBAAkB,CAAA,CACnE,EACDP,EAAAA,mBAAoB,IAAK,CACvB,MAAO,qCACP,KAAMC,EAAO,MAAAX,CAAK,EAAE,eAAeW,EAAAA,MAAOd,CAAM,CAAC,CAAA,EAChD,CACDa,EAAA,mBAAoB,OAAQlB,EAAa,CACtCmB,QAAOd,CAAM,IAAM,MACfW,EAAA,UAAA,EAAcU,EAAAA,YAAaP,EAAA,MAAOQ,CAAU,EAAG,CAAE,IAAK,EAAG,IACzDX,EAAAA,YAAcU,EAAAA,YAAaP,EAAA,MAAOS,CAAU,EAAG,CAAE,IAAK,CAAA,CAAG,EAAA,CAC/D,EACDV,EAAoB,mBAAA,OAAQjB,EAAaqB,EAAA,gBAAiBH,QAAOd,CAAM,GAAK,KAAOE,EAAS,KAAK,GAAKA,EAAS,KAAK,EAAE,EAAG,CAAC,CAAA,EACzH,EAAGR,CAAW,CAAA,CAClB,CAAA,CACF,CAAA,CACF,EAEH,CAEA,CAAC"}
|
|
@@ -1,5 +1,80 @@
|
|
|
1
|
-
import f from "
|
|
1
|
+
import { defineComponent as h, inject as d, computed as m, openBlock as a, createElementBlock as f, createElementVNode as s, unref as e, createVNode as i, toDisplayString as c, createTextVNode as u, createBlock as _ } from "vue";
|
|
2
|
+
import { useI18n as x } from "./pat-shared-components82.mjs";
|
|
3
|
+
import b from "./pat-shared-components182.mjs";
|
|
4
|
+
import { WebsiteHeaderProvide as g } from "./pat-shared-components110.mjs";
|
|
5
|
+
import w from "./pat-shared-components183.mjs";
|
|
6
|
+
import k from "./pat-shared-components184.mjs";
|
|
7
|
+
import v from "./pat-shared-components185.mjs";
|
|
8
|
+
import y from "./pat-shared-components186.mjs";
|
|
9
|
+
const U = { class: "psc-h-10 psc-bg-blue-darken-1 psc-text-white" }, E = { class: "container psc-mx-auto psc-flex psc-h-full psc-items-center psc-justify-between psc-px-5 lg:psc-justify-end" }, I = ["href"], T = { class: "psc-hidden psc-items-center psc-justify-end lg:psc-flex" }, V = ["href"], j = ["href"], P = ["href"], $ = { class: "psc-flex psc-items-center" }, B = {
|
|
10
|
+
href: "tel:1900 1717",
|
|
11
|
+
class: "phone"
|
|
12
|
+
}, N = { class: "psc-ml-3 psc-mt-2 psc-hidden psc-text-white lg:psc-block" }, R = ["href"], C = { class: "psc-text-xl" }, F = { class: "psc-ml-2 psc-inline-flex psc-text-xs" }, J = /* @__PURE__ */ h({
|
|
13
|
+
__name: "WebsiteHeaderTop",
|
|
14
|
+
setup(H) {
|
|
15
|
+
const { t, locale: o } = x(), n = {
|
|
16
|
+
lang: {
|
|
17
|
+
en: "Tiếng Việt",
|
|
18
|
+
vi: "English"
|
|
19
|
+
},
|
|
20
|
+
tel: "1900 1717"
|
|
21
|
+
}, r = d(
|
|
22
|
+
g.ROUTE,
|
|
23
|
+
m(() => ({
|
|
24
|
+
baseUrl: "",
|
|
25
|
+
patientPortalUrl: "",
|
|
26
|
+
languageRoutes: {}
|
|
27
|
+
}))
|
|
28
|
+
);
|
|
29
|
+
function l(p) {
|
|
30
|
+
return `${r.value.baseUrl}${p}`;
|
|
31
|
+
}
|
|
32
|
+
return (p, W) => (a(), f("div", U, [
|
|
33
|
+
s("div", E, [
|
|
34
|
+
s("a", {
|
|
35
|
+
class: "link md:psc-ml-2.5",
|
|
36
|
+
href: l(e(t)("psc.website_header.route.locate_collection_center"))
|
|
37
|
+
}, [
|
|
38
|
+
i(e(w), { class: "psc-mr-1.5 psc-h-5" }),
|
|
39
|
+
s("span", null, c(e(t)("psc.website_header.text.locate_col_center")), 1)
|
|
40
|
+
], 8, I),
|
|
41
|
+
s("div", T, [
|
|
42
|
+
s("a", {
|
|
43
|
+
class: "link psc-ml-4",
|
|
44
|
+
href: e(r).patientPortalUrl
|
|
45
|
+
}, c(p.$t("psc.website_header.text.my_test_result")), 9, V),
|
|
46
|
+
s("a", {
|
|
47
|
+
class: "link psc-ml-4",
|
|
48
|
+
href: l(e(t)("psc.website_header.route.partner_portal"))
|
|
49
|
+
}, c(e(t)("psc.website_header.text.partner_portal")), 9, j),
|
|
50
|
+
s("a", {
|
|
51
|
+
class: "link psc-ml-4",
|
|
52
|
+
href: l(e(t)("psc.website_header.route.support"))
|
|
53
|
+
}, c(e(t)("psc.website_header.text.help_support")), 9, P)
|
|
54
|
+
]),
|
|
55
|
+
s("div", $, [
|
|
56
|
+
s("a", B, [
|
|
57
|
+
i(e(k), { class: "psc-mr-1.5 psc-h-3.5" }),
|
|
58
|
+
u(" " + c(n.tel), 1)
|
|
59
|
+
]),
|
|
60
|
+
s("div", N, [
|
|
61
|
+
i(b, { "icon-class": "psc-text-white" })
|
|
62
|
+
]),
|
|
63
|
+
s("a", {
|
|
64
|
+
class: "psc-ml-4 psc-flex psc-items-center",
|
|
65
|
+
href: e(r).languageRoutes[e(o)]
|
|
66
|
+
}, [
|
|
67
|
+
s("span", C, [
|
|
68
|
+
e(o) === "vi" ? (a(), _(e(v), { key: 0 })) : (a(), _(e(y), { key: 1 }))
|
|
69
|
+
]),
|
|
70
|
+
s("span", F, c(e(o) == "en" ? n.lang.en : n.lang.vi), 1)
|
|
71
|
+
], 8, R)
|
|
72
|
+
])
|
|
73
|
+
])
|
|
74
|
+
]));
|
|
75
|
+
}
|
|
76
|
+
});
|
|
2
77
|
export {
|
|
3
|
-
|
|
78
|
+
J as default
|
|
4
79
|
};
|
|
5
80
|
//# sourceMappingURL=pat-shared-components135.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components135.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"pat-shared-components135.mjs","sources":["../src/components/WebsiteHeader/WebsiteHeaderTop.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-c18767f9\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"psc-h-10 psc-bg-blue-darken-1 psc-text-white\" }\nconst _hoisted_2 = { class: \"container psc-mx-auto psc-flex psc-h-full psc-items-center psc-justify-between psc-px-5 lg:psc-justify-end\" }\nconst _hoisted_3 = [\"href\"]\nconst _hoisted_4 = { class: \"psc-hidden psc-items-center psc-justify-end lg:psc-flex\" }\nconst _hoisted_5 = [\"href\"]\nconst _hoisted_6 = [\"href\"]\nconst _hoisted_7 = [\"href\"]\nconst _hoisted_8 = { class: \"psc-flex psc-items-center\" }\nconst _hoisted_9 = {\n href: \"tel:1900 1717\",\n class: \"phone\"\n}\nconst _hoisted_10 = { class: \"psc-ml-3 psc-mt-2 psc-hidden psc-text-white lg:psc-block\" }\nconst _hoisted_11 = [\"href\"]\nconst _hoisted_12 = { class: \"psc-text-xl\" }\nconst _hoisted_13 = { class: \"psc-ml-2 psc-inline-flex psc-text-xs\" }\n\nimport { useI18n } from 'vue-i18n';\nimport { IconLocation, IconEnFlag, IconVnFlag, IconPhone } from './icons';\nimport WebsiteHeaderCart from './WebsiteHeaderCart.vue';\nimport { computed, inject, type ComputedRef } from 'vue';\nimport { type WebsiteHeaderProvideRoute, WebsiteHeaderProvide } from './types';\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'WebsiteHeaderTop',\n setup(__props) {\n\nconst { t, locale } = useI18n();\n\nconst rawTexts = {\n lang: {\n en: 'Tiếng Việt',\n vi: 'English',\n },\n tel: '1900 1717',\n};\n\nconst route = inject<ComputedRef<WebsiteHeaderProvideRoute>>(\n WebsiteHeaderProvide.ROUTE,\n computed(() => ({\n baseUrl: '',\n patientPortalUrl: '',\n languageRoutes: {},\n }))\n);\n\nfunction baseUrlConcat(url: string) {\n return `${route.value.baseUrl}${url}`;\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"a\", {\n class: \"link md:psc-ml-2.5\",\n href: \n baseUrlConcat(_unref(t)('psc.website_header.route.locate_collection_center'))\n \n }, [\n _createVNode(_unref(IconLocation), { class: \"psc-mr-1.5 psc-h-5\" }),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(t)('psc.website_header.text.locate_col_center')), 1)\n ], 8, _hoisted_3),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"a\", {\n class: \"link psc-ml-4\",\n href: _unref(route).patientPortalUrl\n }, _toDisplayString(_ctx.$t('psc.website_header.text.my_test_result')), 9, _hoisted_5),\n _createElementVNode(\"a\", {\n class: \"link psc-ml-4\",\n href: baseUrlConcat(_unref(t)('psc.website_header.route.partner_portal'))\n }, _toDisplayString(_unref(t)('psc.website_header.text.partner_portal')), 9, _hoisted_6),\n _createElementVNode(\"a\", {\n class: \"link psc-ml-4\",\n href: baseUrlConcat(_unref(t)('psc.website_header.route.support'))\n }, _toDisplayString(_unref(t)('psc.website_header.text.help_support')), 9, _hoisted_7)\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"a\", _hoisted_9, [\n _createVNode(_unref(IconPhone), { class: \"psc-mr-1.5 psc-h-3.5\" }),\n _createTextVNode(\" \" + _toDisplayString(rawTexts.tel), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(WebsiteHeaderCart, { \"icon-class\": \"psc-text-white\" })\n ]),\n _createElementVNode(\"a\", {\n class: \"psc-ml-4 psc-flex psc-items-center\",\n href: _unref(route).languageRoutes[_unref(locale)]\n }, [\n _createElementVNode(\"span\", _hoisted_12, [\n (_unref(locale) === 'vi')\n ? (_openBlock(), _createBlock(_unref(IconEnFlag), { key: 0 }))\n : (_openBlock(), _createBlock(_unref(IconVnFlag), { key: 1 }))\n ]),\n _createElementVNode(\"span\", _hoisted_13, _toDisplayString(_unref(locale) == 'en' ? rawTexts.lang.en : rawTexts.lang.vi), 1)\n ], 8, _hoisted_11)\n ])\n ])\n ]))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_sfc_main","_defineComponent","__props","locale","useI18n","rawTexts","route","inject","WebsiteHeaderProvide","computed","baseUrlConcat","url","_ctx","_cache","_openBlock","_createElementBlock","_createElementVNode","_unref","_createVNode","IconLocation","_toDisplayString","IconPhone","_createTextVNode","WebsiteHeaderCart","_createBlock","IconEnFlag","IconVnFlag"],"mappings":";;;;;;;;AAIA,MAAMA,IAAa,EAAE,OAAO,kDACtBC,IAAa,EAAE,OAAO,gHACtBC,IAAa,CAAC,MAAM,GACpBC,IAAa,EAAE,OAAO,6DACtBC,IAAa,CAAC,MAAM,GACpBC,IAAa,CAAC,MAAM,GACpBC,IAAa,CAAC,MAAM,GACpBC,IAAa,EAAE,OAAO,+BACtBC,IAAa;AAAA,EACjB,MAAM;AAAA,EACN,OAAO;AACT,GACMC,IAAc,EAAE,OAAO,8DACvBC,IAAc,CAAC,MAAM,GACrBC,IAAc,EAAE,OAAO,iBACvBC,IAAc,EAAE,OAAO,0CASDC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,MAAMC,GAAS;AAEjB,UAAM,EAAE,GAAG,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AE,kCAAkC,CAAC;AAAA,UAAA,GAChEG,EAAiBH,EAAO,CAAC,EAAE,sCAAsC,CAAC,GAAG,GAAGxB,CAAU;AAAA,QAAA,CACtF;AAAA,QACDuB,EAAoB,OAAOtB,GAAY;AAAA,UACrCsB,EAAoB,KAAKrB,GAAY;AAAA,YACnCuB,EAAaD,EAAOI,CAAS,GAAG,EAAE,OAAO,wBAAwB;AAAA,YACjEC,EAAiB,MAAMF,EAAiBf,EAAS,GAAG,GAAG,CAAC;AAAA,UAAA,CACzD;AAAA,UACDW,EAAoB,OAAOpB,GAAa;AAAA,YACtCsB,EAAaK,GAAmB,EAAE,cAAc,kBAAkB;AAAA,UAAA,CACnE;AAAA,UACDP,EAAoB,KAAK;AAAA,YACvB,OAAO;AAAA,YACP,MAAMC,EAAOX,CAAK,EAAE,eAAeW,EAAOd,CAAM,CAAC;AAAA,UAAA,GAChD;AAAA,YACDa,EAAoB,QAAQlB,GAAa;AAAA,cACtCmB,EAAOd,CAAM,MAAM,QACfW,EAAA,GAAcU,EAAaP,EAAOQ,CAAU,GAAG,EAAE,KAAK,GAAG,MACzDX,KAAcU,EAAaP,EAAOS,CAAU,GAAG,EAAE,KAAK,EAAA,CAAG;AAAA,YAAA,CAC/D;AAAA,YACDV,EAAoB,QAAQjB,GAAaqB,EAAiBH,EAAOd,CAAM,KAAK,OAAOE,EAAS,KAAK,KAAKA,EAAS,KAAK,EAAE,GAAG,CAAC;AAAA,UAAA,GACzH,GAAGR,CAAW;AAAA,QAAA,CAClB;AAAA,MAAA,CACF;AAAA,IAAA,CACF;AAAA,EAEH;AAEA,CAAC;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=
|
|
1
|
+
"use strict";const e="";module.exports=e;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components136.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./pat-shared-
|
|
1
|
+
"use strict";const e=require("vue"),r=require("./pat-shared-components187.js"),o=require("./pat-shared-components182.js"),p=require("./pat-shared-components188.js"),a=require("./pat-shared-components110.js"),l=require("./pat-shared-components184.js"),i=require("./pat-shared-components189.js"),d={class:"psc-h-[70px] psc-bg-[#EEF2FF]"},u={class:"container psc-mx-auto psc-flex psc-h-full psc-items-center psc-px-5"},m=["href"],_={href:"tel:1900 1717",class:"psc-ml-6 psc-inline-flex psc-h-10 psc-items-center psc-rounded psc-bg-[#0050CB] psc-px-4 psc-text-sm psc-text-white md:psc-hidden"},h={class:"psc-ml-auto psc-hidden psc-items-center xl:psc-flex"},x={class:"psc-ml-auto psc-flex psc-items-center xl:psc-hidden"},f={class:"psc-mr-5 psc-pt-2 lg:psc-hidden"},N=e.defineComponent({__name:"WebsiteHeaderBottom",emits:["menu:open"],setup(b,{emit:c}){const t=e.inject(a.WebsiteHeaderProvide.ROUTE,e.computed(()=>({baseUrl:"",patientPortalUrl:"",languageRoutes:{}}))),n={tel:"1900 1717"};return(V,s)=>(e.openBlock(),e.createElementBlock("div",d,[e.createElementVNode("div",u,[e.createElementVNode("a",{href:e.unref(t).baseUrl},[e.createVNode(r)],8,m),e.createElementVNode("a",_,[e.createVNode(e.unref(l),{class:"psc-mr-1.5 psc-h-3.5"}),e.createTextVNode(" "+e.toDisplayString(n.tel),1)]),e.createElementVNode("div",h,[e.createVNode(p,{"base-url":e.unref(t).baseUrl},null,8,["base-url"])]),e.createElementVNode("div",x,[e.createElementVNode("div",f,[e.createVNode(o,{"icon-class":"psc-text-black"})]),e.createElementVNode("button",null,[e.createVNode(e.unref(i),{class:"psc-h-7 psc-w-7",onClick:s[0]||(s[0]=v=>c("menu:open"))})])])])]))}});module.exports=N;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components137.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components137.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"pat-shared-components137.js","sources":["../src/components/WebsiteHeader/WebsiteHeaderBottom.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3333ee9a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"psc-h-[70px] psc-bg-[#EEF2FF]\" }\nconst _hoisted_2 = { class: \"container psc-mx-auto psc-flex psc-h-full psc-items-center psc-px-5\" }\nconst _hoisted_3 = [\"href\"]\nconst _hoisted_4 = {\n href: \"tel:1900 1717\",\n class: \"psc-ml-6 psc-inline-flex psc-h-10 psc-items-center psc-rounded psc-bg-[#0050CB] psc-px-4 psc-text-sm psc-text-white md:psc-hidden\"\n}\nconst _hoisted_5 = { class: \"psc-ml-auto psc-hidden psc-items-center xl:psc-flex\" }\nconst _hoisted_6 = { class: \"psc-ml-auto psc-flex psc-items-center xl:psc-hidden\" }\nconst _hoisted_7 = { class: \"psc-mr-5 psc-pt-2 lg:psc-hidden\" }\n\nimport { IconMenu, IconPhone } from './icons';\nimport DiagLogo from './DiagLogo.vue';\nimport WebsiteHeaderCart from './WebsiteHeaderCart.vue';\nimport WebsiteHeaderMainNav from './WebsiteHeaderMainNav.vue';\nimport { WebsiteHeaderProvide, type WebsiteHeaderProvideRoute } from './types';\nimport { inject, type ComputedRef, computed } from 'vue';\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'WebsiteHeaderBottom',\n emits: ['menu:open'],\n setup(__props, { emit }) {\n\n\n\nconst route = inject<ComputedRef<WebsiteHeaderProvideRoute>>(\n WebsiteHeaderProvide.ROUTE,\n computed(() => ({\n baseUrl: '',\n patientPortalUrl: '',\n languageRoutes: {},\n }))\n);\n\nconst rawTexts = {\n tel: '1900 1717',\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"a\", {\n href: _unref(route).baseUrl\n }, [\n _createVNode(DiagLogo)\n ], 8, _hoisted_3),\n _createElementVNode(\"a\", _hoisted_4, [\n _createVNode(_unref(IconPhone), { class: \"psc-mr-1.5 psc-h-3.5\" }),\n _createTextVNode(\" \" + _toDisplayString(rawTexts.tel), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(WebsiteHeaderMainNav, {\n \"base-url\": _unref(route).baseUrl\n }, null, 8, [\"base-url\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(WebsiteHeaderCart, { \"icon-class\": \"psc-text-black\" })\n ]),\n _createElementVNode(\"button\", null, [\n _createVNode(_unref(IconMenu), {\n class: \"psc-h-7 psc-w-7\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (emit('menu:open')))\n })\n ])\n ])\n ])\n ]))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_sfc_main","_defineComponent","__props","emit","route","inject","WebsiteHeaderProvide","computed","rawTexts","_ctx","_cache","_openBlock","_createElementBlock","_createElementVNode","_unref","_createVNode","DiagLogo","IconPhone","_createTextVNode","_toDisplayString","WebsiteHeaderMainNav","WebsiteHeaderCart","IconMenu","$event"],"mappings":"sSAIMA,EAAa,CAAE,MAAO,iCACtBC,EAAa,CAAE,MAAO,uEACtBC,EAAa,CAAC,MAAM,EACpBC,EAAa,CACjB,KAAM,gBACN,MAAO,mIACT,EACMC,EAAa,CAAE,MAAO,uDACtBC,EAAa,CAAE,MAAO,uDACtBC,EAAa,CAAE,MAAO,mCAUAC,EAAiBC,kBAAA,CAC3C,OAAQ,sBACR,MAAO,CAAC,WAAW,EACnB,MAAMC,EAAS,CAAE,KAAAC,GAAQ,CAI3B,MAAMC,EAAQC,EAAA,OACZC,EAAAA,qBAAqB,MACrBC,EAAAA,SAAS,KAAO,CACd,QAAS,GACT,iBAAkB,GAClB,eAAgB,CAAC,CAAA,EACjB,CAAA,EAGEC,EAAW,CACf,IAAK,WAAA,EAGA,MAAA,CAACC,EAAUC,KACRC,YAAW,EAAGC,qBAAoB,MAAOnB,EAAY,CAC3DoB,EAAA,mBAAoB,MAAOnB,EAAY,CACrCmB,EAAAA,mBAAoB,IAAK,CACvB,KAAMC,EAAAA,MAAOV,CAAK,EAAE,OAAA,EACnB,CACDW,EAAAA,YAAaC,CAAQ,CAAA,EACpB,EAAGrB,CAAU,EAChBkB,EAAA,mBAAoB,IAAKjB,EAAY,CACnCmB,cAAaD,EAAO,MAAAG,CAAS,EAAG,CAAE,MAAO,uBAAwB,EACjEC,kBAAiB,IAAMC,EAAA,gBAAiBX,EAAS,GAAG,EAAG,CAAC,CAAA,CACzD,EACDK,EAAA,mBAAoB,MAAOhB,EAAY,CACrCkB,EAAAA,YAAaK,EAAsB,CACjC,WAAYN,EAAAA,MAAOV,CAAK,EAAE,OACzB,EAAA,KAAM,EAAG,CAAC,UAAU,CAAC,CAAA,CACzB,EACDS,EAAA,mBAAoB,MAAOf,EAAY,CACrCe,EAAA,mBAAoB,MAAOd,EAAY,CACrCgB,EAAAA,YAAaM,EAAmB,CAAE,aAAc,iBAAkB,CAAA,CACnE,EACDR,EAAA,mBAAoB,SAAU,KAAM,CAClCE,cAAaD,EAAAA,MAAOQ,CAAQ,EAAG,CAC7B,MAAO,kBACP,QAASZ,EAAO,CAAC,IAAMA,EAAO,CAAC,EAAKa,GAAiBpB,EAAK,WAAW,EAAA,CACtE,CAAA,CACF,CAAA,CACF,CAAA,CACF,CAAA,CACF,EAEH,CAEA,CAAC"}
|
|
@@ -1,5 +1,59 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineComponent as r, inject as i, computed as l, openBlock as a, createElementBlock as m, createElementVNode as e, unref as t, createVNode as s, createTextVNode as d, toDisplayString as u } from "vue";
|
|
2
|
+
import _ from "./pat-shared-components187.mjs";
|
|
3
|
+
import f from "./pat-shared-components182.mjs";
|
|
4
|
+
import h from "./pat-shared-components188.mjs";
|
|
5
|
+
import { WebsiteHeaderProvide as x } from "./pat-shared-components110.mjs";
|
|
6
|
+
import b from "./pat-shared-components184.mjs";
|
|
7
|
+
import g from "./pat-shared-components189.mjs";
|
|
8
|
+
const v = { class: "psc-h-[70px] psc-bg-[#EEF2FF]" }, E = { class: "container psc-mx-auto psc-flex psc-h-full psc-items-center psc-px-5" }, U = ["href"], k = {
|
|
9
|
+
href: "tel:1900 1717",
|
|
10
|
+
class: "psc-ml-6 psc-inline-flex psc-h-10 psc-items-center psc-rounded psc-bg-[#0050CB] psc-px-4 psc-text-sm psc-text-white md:psc-hidden"
|
|
11
|
+
}, B = { class: "psc-ml-auto psc-hidden psc-items-center xl:psc-flex" }, N = { class: "psc-ml-auto psc-flex psc-items-center xl:psc-hidden" }, w = { class: "psc-mr-5 psc-pt-2 lg:psc-hidden" }, R = /* @__PURE__ */ r({
|
|
12
|
+
__name: "WebsiteHeaderBottom",
|
|
13
|
+
emits: ["menu:open"],
|
|
14
|
+
setup(C, { emit: p }) {
|
|
15
|
+
const c = i(
|
|
16
|
+
x.ROUTE,
|
|
17
|
+
l(() => ({
|
|
18
|
+
baseUrl: "",
|
|
19
|
+
patientPortalUrl: "",
|
|
20
|
+
languageRoutes: {}
|
|
21
|
+
}))
|
|
22
|
+
), n = {
|
|
23
|
+
tel: "1900 1717"
|
|
24
|
+
};
|
|
25
|
+
return (F, o) => (a(), m("div", v, [
|
|
26
|
+
e("div", E, [
|
|
27
|
+
e("a", {
|
|
28
|
+
href: t(c).baseUrl
|
|
29
|
+
}, [
|
|
30
|
+
s(_)
|
|
31
|
+
], 8, U),
|
|
32
|
+
e("a", k, [
|
|
33
|
+
s(t(b), { class: "psc-mr-1.5 psc-h-3.5" }),
|
|
34
|
+
d(" " + u(n.tel), 1)
|
|
35
|
+
]),
|
|
36
|
+
e("div", B, [
|
|
37
|
+
s(h, {
|
|
38
|
+
"base-url": t(c).baseUrl
|
|
39
|
+
}, null, 8, ["base-url"])
|
|
40
|
+
]),
|
|
41
|
+
e("div", N, [
|
|
42
|
+
e("div", w, [
|
|
43
|
+
s(f, { "icon-class": "psc-text-black" })
|
|
44
|
+
]),
|
|
45
|
+
e("button", null, [
|
|
46
|
+
s(t(g), {
|
|
47
|
+
class: "psc-h-7 psc-w-7",
|
|
48
|
+
onClick: o[0] || (o[0] = (H) => p("menu:open"))
|
|
49
|
+
})
|
|
50
|
+
])
|
|
51
|
+
])
|
|
52
|
+
])
|
|
53
|
+
]));
|
|
54
|
+
}
|
|
55
|
+
});
|
|
2
56
|
export {
|
|
3
|
-
|
|
57
|
+
R as default
|
|
4
58
|
};
|
|
5
59
|
//# sourceMappingURL=pat-shared-components137.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components137.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"pat-shared-components137.mjs","sources":["../src/components/WebsiteHeader/WebsiteHeaderBottom.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3333ee9a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"psc-h-[70px] psc-bg-[#EEF2FF]\" }\nconst _hoisted_2 = { class: \"container psc-mx-auto psc-flex psc-h-full psc-items-center psc-px-5\" }\nconst _hoisted_3 = [\"href\"]\nconst _hoisted_4 = {\n href: \"tel:1900 1717\",\n class: \"psc-ml-6 psc-inline-flex psc-h-10 psc-items-center psc-rounded psc-bg-[#0050CB] psc-px-4 psc-text-sm psc-text-white md:psc-hidden\"\n}\nconst _hoisted_5 = { class: \"psc-ml-auto psc-hidden psc-items-center xl:psc-flex\" }\nconst _hoisted_6 = { class: \"psc-ml-auto psc-flex psc-items-center xl:psc-hidden\" }\nconst _hoisted_7 = { class: \"psc-mr-5 psc-pt-2 lg:psc-hidden\" }\n\nimport { IconMenu, IconPhone } from './icons';\nimport DiagLogo from './DiagLogo.vue';\nimport WebsiteHeaderCart from './WebsiteHeaderCart.vue';\nimport WebsiteHeaderMainNav from './WebsiteHeaderMainNav.vue';\nimport { WebsiteHeaderProvide, type WebsiteHeaderProvideRoute } from './types';\nimport { inject, type ComputedRef, computed } from 'vue';\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'WebsiteHeaderBottom',\n emits: ['menu:open'],\n setup(__props, { emit }) {\n\n\n\nconst route = inject<ComputedRef<WebsiteHeaderProvideRoute>>(\n WebsiteHeaderProvide.ROUTE,\n computed(() => ({\n baseUrl: '',\n patientPortalUrl: '',\n languageRoutes: {},\n }))\n);\n\nconst rawTexts = {\n tel: '1900 1717',\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"a\", {\n href: _unref(route).baseUrl\n }, [\n _createVNode(DiagLogo)\n ], 8, _hoisted_3),\n _createElementVNode(\"a\", _hoisted_4, [\n _createVNode(_unref(IconPhone), { class: \"psc-mr-1.5 psc-h-3.5\" }),\n _createTextVNode(\" \" + _toDisplayString(rawTexts.tel), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(WebsiteHeaderMainNav, {\n \"base-url\": _unref(route).baseUrl\n }, null, 8, [\"base-url\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(WebsiteHeaderCart, { \"icon-class\": \"psc-text-black\" })\n ]),\n _createElementVNode(\"button\", null, [\n _createVNode(_unref(IconMenu), {\n class: \"psc-h-7 psc-w-7\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (emit('menu:open')))\n })\n ])\n ])\n ])\n ]))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_sfc_main","_defineComponent","__props","emit","route","inject","WebsiteHeaderProvide","computed","rawTexts","_ctx","_cache","_openBlock","_createElementBlock","_createElementVNode","_unref","_createVNode","DiagLogo","IconPhone","_createTextVNode","_toDisplayString","WebsiteHeaderMainNav","WebsiteHeaderCart","IconMenu","$event"],"mappings":";;;;;;;AAIA,MAAMA,IAAa,EAAE,OAAO,mCACtBC,IAAa,EAAE,OAAO,yEACtBC,IAAa,CAAC,MAAM,GACpBC,IAAa;AAAA,EACjB,MAAM;AAAA,EACN,OAAO;AACT,GACMC,IAAa,EAAE,OAAO,yDACtBC,IAAa,EAAE,OAAO,yDACtBC,IAAa,EAAE,OAAO,qCAUAC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO,CAAC,WAAW;AAAA,EACnB,MAAMC,GAAS,EAAE,MAAAC,KAAQ;AAI3B,UAAMC,IAAQC;AAAA,MACZC,EAAqB;AAAA,MACrBC,EAAS,OAAO;AAAA,QACd,SAAS;AAAA,QACT,kBAAkB;AAAA,QAClB,gBAAgB,CAAC;AAAA,MAAA,EACjB;AAAA,IAAA,GAGEC,IAAW;AAAA,MACf,KAAK;AAAA,IAAA;AAGA,WAAA,CAACC,GAAUC,OACRC,EAAW,GAAGC,EAAoB,OAAOnB,GAAY;AAAA,MAC3DoB,EAAoB,OAAOnB,GAAY;AAAA,QACrCmB,EAAoB,KAAK;AAAA,UACvB,MAAMC,EAAOV,CAAK,EAAE;AAAA,QAAA,GACnB;AAAA,UACDW,EAAaC,CAAQ;AAAA,QAAA,GACpB,GAAGrB,CAAU;AAAA,QAChBkB,EAAoB,KAAKjB,GAAY;AAAA,UACnCmB,EAAaD,EAAOG,CAAS,GAAG,EAAE,OAAO,wBAAwB;AAAA,UACjEC,EAAiB,MAAMC,EAAiBX,EAAS,GAAG,GAAG,CAAC;AAAA,QAAA,CACzD;AAAA,QACDK,EAAoB,OAAOhB,GAAY;AAAA,UACrCkB,EAAaK,GAAsB;AAAA,YACjC,YAAYN,EAAOV,CAAK,EAAE;AAAA,UACzB,GAAA,MAAM,GAAG,CAAC,UAAU,CAAC;AAAA,QAAA,CACzB;AAAA,QACDS,EAAoB,OAAOf,GAAY;AAAA,UACrCe,EAAoB,OAAOd,GAAY;AAAA,YACrCgB,EAAaM,GAAmB,EAAE,cAAc,kBAAkB;AAAA,UAAA,CACnE;AAAA,UACDR,EAAoB,UAAU,MAAM;AAAA,YAClCE,EAAaD,EAAOQ,CAAQ,GAAG;AAAA,cAC7B,OAAO;AAAA,cACP,SAASZ,EAAO,CAAC,MAAMA,EAAO,CAAC,IAAI,CAACa,MAAiBpB,EAAK,WAAW;AAAA,YAAA,CACtE;AAAA,UAAA,CACF;AAAA,QAAA,CACF;AAAA,MAAA,CACF;AAAA,IAAA,CACF;AAAA,EAEH;AAEA,CAAC;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=
|
|
1
|
+
"use strict";const e="";module.exports=e;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components138.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./pat-shared-
|
|
1
|
+
"use strict";const e=require("vue"),n=require("./pat-shared-components107.js"),l=require("./pat-shared-components188.js"),a=require("./pat-shared-components187.js"),i=require("./pat-shared-components110.js"),d=require("./pat-shared-components190.js"),f=require("./pat-shared-components184.js"),u={class:"psc-fixed psc-right-0 psc-top-0 psc-z-[51] psc-flex psc-h-screen psc-w-full psc-justify-end psc-overflow-hidden psc-bg-[rgba(0,0,0,0.7)]"},b={class:"inner psc-bg-[#f2f7ff]"},h={class:"psc-mx-auto psc-flex psc-items-center psc-border-b psc-border-[#CADCF6] psc-bg-[#e6f0fe] psc-px-5 psc-py-7"},_=["href"],m={class:"psc-ml-auto psc-flex psc-items-center"},x={class:"psc-mx-8 psc-flex psc-flex-col psc-border-b psc-border-[#CADCF6] psc-py-5"},N=["href"],V=["href"],g=["href"],E={class:"psc-mx-6 psc-flex psc-flex-col psc-border-b psc-border-[#CADCF6]"},v={href:"tel:1900 1717",class:"psc-ml-6 psc-mt-2 psc-inline-flex psc-h-10 psc-items-center psc-rounded psc-bg-[#0f62f9] psc-px-4 psc-text-sm psc-font-bold psc-text-white"},w=e.defineComponent({__name:"WebsiteHeaderSidebar",emits:["menu:close"],setup(C,{emit:o}){const p={tel:"1900 1717"},t=e.inject(i.WebsiteHeaderProvide.ROUTE,e.computed(()=>({baseUrl:"",patientPortalUrl:"",languageRoutes:{}})));function c(s){return`${t.value.baseUrl}${s}`}return(s,r)=>(e.openBlock(),e.createElementBlock("div",u,[e.createElementVNode("div",b,[e.createVNode(n),e.createElementVNode("div",h,[e.createElementVNode("a",{href:e.unref(t).baseUrl},[e.createVNode(a)],8,_),e.createElementVNode("button",m,[e.createVNode(e.unref(d),{class:"psc-h-7 psc-w-7 psc-text-2xl",onClick:r[0]||(r[0]=y=>o("menu:close"))})])]),e.createElementVNode("div",x,[e.createElementVNode("a",{class:"link-first",href:e.unref(t).patientPortalUrl},e.toDisplayString(s.$t("psc.website_header.text.my_test_result")),9,N),e.createElementVNode("a",{class:"link-first psc-mt-5",href:c(s.$t("psc.website_header.route.partner_portal"))},e.toDisplayString(s.$t("psc.website_header.text.partner_portal")),9,V),e.createElementVNode("a",{class:"link-first psc-mt-5",href:c(s.$t("psc.website_header.route.support"))},e.toDisplayString(s.$t("psc.website_header.text.help_support")),9,g)]),e.createElementVNode("div",E,[e.createVNode(l,{"base-url":e.unref(t).baseUrl},null,8,["base-url"])]),e.createElementVNode("a",v,[e.createVNode(e.unref(f),{class:"psc-mr-1.5 psc-h-3.5"}),e.createTextVNode(" "+e.toDisplayString(p.tel),1)])])]))}});module.exports=w;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components139.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components139.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"pat-shared-components139.js","sources":["../src/components/WebsiteHeader/WebsiteHeaderSidebar.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-42f2fc03\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"psc-fixed psc-right-0 psc-top-0 psc-z-[51] psc-flex psc-h-screen psc-w-full psc-justify-end psc-overflow-hidden psc-bg-[rgba(0,0,0,0.7)]\" }\nconst _hoisted_2 = { class: \"inner psc-bg-[#f2f7ff]\" }\nconst _hoisted_3 = { class: \"psc-mx-auto psc-flex psc-items-center psc-border-b psc-border-[#CADCF6] psc-bg-[#e6f0fe] psc-px-5 psc-py-7\" }\nconst _hoisted_4 = [\"href\"]\nconst _hoisted_5 = { class: \"psc-ml-auto psc-flex psc-items-center\" }\nconst _hoisted_6 = { class: \"psc-mx-8 psc-flex psc-flex-col psc-border-b psc-border-[#CADCF6] psc-py-5\" }\nconst _hoisted_7 = [\"href\"]\nconst _hoisted_8 = [\"href\"]\nconst _hoisted_9 = [\"href\"]\nconst _hoisted_10 = { class: \"psc-mx-6 psc-flex psc-flex-col psc-border-b psc-border-[#CADCF6]\" }\nconst _hoisted_11 = {\n href: \"tel:1900 1717\",\n class: \"psc-ml-6 psc-mt-2 psc-inline-flex psc-h-10 psc-items-center psc-rounded psc-bg-[#0f62f9] psc-px-4 psc-text-sm psc-font-bold psc-text-white\"\n}\n\nimport WebsiteHeaderTop from './WebsiteHeaderTop.vue';\nimport WebsiteHeaderMainNav from './WebsiteHeaderMainNav.vue';\nimport DiagLogo from './DiagLogo.vue';\nimport { IconClose, IconPhone } from './icons';\nimport { WebsiteHeaderProvide, type WebsiteHeaderProvideRoute } from './types';\nimport { computed, inject, type ComputedRef } from 'vue';\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'WebsiteHeaderSidebar',\n emits: ['menu:close'],\n setup(__props, { emit }) {\n\n\n\nconst rawTexts = {\n tel: '1900 1717',\n};\n\nconst route = inject<ComputedRef<WebsiteHeaderProvideRoute>>(\n WebsiteHeaderProvide.ROUTE,\n computed(() => ({\n baseUrl: '',\n patientPortalUrl: '',\n languageRoutes: {},\n }))\n);\n\nfunction baseUrlConcat(url: string) {\n return `${route.value.baseUrl}${url}`;\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(WebsiteHeaderTop),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"a\", {\n href: _unref(route).baseUrl\n }, [\n _createVNode(DiagLogo)\n ], 8, _hoisted_4),\n _createElementVNode(\"button\", _hoisted_5, [\n _createVNode(_unref(IconClose), {\n class: \"psc-h-7 psc-w-7 psc-text-2xl\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (emit('menu:close')))\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"a\", {\n class: \"link-first\",\n href: _unref(route).patientPortalUrl\n }, _toDisplayString(_ctx.$t('psc.website_header.text.my_test_result')), 9, _hoisted_7),\n _createElementVNode(\"a\", {\n class: \"link-first psc-mt-5\",\n href: baseUrlConcat(_ctx.$t('psc.website_header.route.partner_portal'))\n }, _toDisplayString(_ctx.$t('psc.website_header.text.partner_portal')), 9, _hoisted_8),\n _createElementVNode(\"a\", {\n class: \"link-first psc-mt-5\",\n href: baseUrlConcat(_ctx.$t('psc.website_header.route.support'))\n }, _toDisplayString(_ctx.$t('psc.website_header.text.help_support')), 9, _hoisted_9)\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(WebsiteHeaderMainNav, {\n \"base-url\": _unref(route).baseUrl\n }, null, 8, [\"base-url\"])\n ]),\n _createElementVNode(\"a\", _hoisted_11, [\n _createVNode(_unref(IconPhone), { class: \"psc-mr-1.5 psc-h-3.5\" }),\n _createTextVNode(\" \" + _toDisplayString(rawTexts.tel), 1)\n ])\n ])\n ]))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_sfc_main","_defineComponent","__props","emit","rawTexts","route","inject","WebsiteHeaderProvide","computed","baseUrlConcat","url","_ctx","_cache","_openBlock","_createElementBlock","_createElementVNode","_createVNode","WebsiteHeaderTop","_unref","DiagLogo","IconClose","$event","_toDisplayString","WebsiteHeaderMainNav","IconPhone","_createTextVNode"],"mappings":"sSAIMA,EAAa,CAAE,MAAO,4IACtBC,EAAa,CAAE,MAAO,0BACtBC,EAAa,CAAE,MAAO,8GACtBC,EAAa,CAAC,MAAM,EACpBC,EAAa,CAAE,MAAO,yCACtBC,EAAa,CAAE,MAAO,6EACtBC,EAAa,CAAC,MAAM,EACpBC,EAAa,CAAC,MAAM,EACpBC,EAAa,CAAC,MAAM,EACpBC,EAAc,CAAE,MAAO,oEACvBC,EAAc,CAClB,KAAM,gBACN,MAAO,4IACT,EAU4BC,EAAiBC,kBAAA,CAC3C,OAAQ,uBACR,MAAO,CAAC,YAAY,EACpB,MAAMC,EAAS,CAAE,KAAAC,GAAQ,CAI3B,MAAMC,EAAW,CACf,IAAK,WAAA,EAGDC,EAAQC,EAAA,OACZC,EAAAA,qBAAqB,MACrBC,EAAAA,SAAS,KAAO,CACd,QAAS,GACT,iB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,WAAYL,EAAAA,MAAOb,CAAK,EAAE,OACzB,EAAA,KAAM,EAAG,CAAC,UAAU,CAAC,CAAA,CACzB,EACDU,EAAA,mBAAoB,IAAKhB,EAAa,CACpCiB,cAAaE,EAAO,MAAAM,CAAS,EAAG,CAAE,MAAO,uBAAwB,EACjEC,kBAAiB,IAAMH,EAAA,gBAAiBlB,EAAS,GAAG,EAAG,CAAC,CAAA,CACzD,CAAA,CACF,CAAA,CACF,EAEH,CAEA,CAAC"}
|
|
@@ -1,5 +1,74 @@
|
|
|
1
|
-
import f from "
|
|
1
|
+
import { defineComponent as n, inject as d, computed as f, openBlock as m, createElementBlock as b, createElementVNode as e, createVNode as t, unref as c, toDisplayString as o, createTextVNode as h } from "vue";
|
|
2
|
+
import _ from "./pat-shared-components107.mjs";
|
|
3
|
+
import u from "./pat-shared-components188.mjs";
|
|
4
|
+
import x from "./pat-shared-components187.mjs";
|
|
5
|
+
import { WebsiteHeaderProvide as g } from "./pat-shared-components110.mjs";
|
|
6
|
+
import v from "./pat-shared-components190.mjs";
|
|
7
|
+
import w from "./pat-shared-components184.mjs";
|
|
8
|
+
const C = { class: "psc-fixed psc-right-0 psc-top-0 psc-z-[51] psc-flex psc-h-screen psc-w-full psc-justify-end psc-overflow-hidden psc-bg-[rgba(0,0,0,0.7)]" }, U = { class: "inner psc-bg-[#f2f7ff]" }, $ = { class: "psc-mx-auto psc-flex psc-items-center psc-border-b psc-border-[#CADCF6] psc-bg-[#e6f0fe] psc-px-5 psc-py-7" }, k = ["href"], y = { class: "psc-ml-auto psc-flex psc-items-center" }, D = { class: "psc-mx-8 psc-flex psc-flex-col psc-border-b psc-border-[#CADCF6] psc-py-5" }, H = ["href"], N = ["href"], P = ["href"], T = { class: "psc-mx-6 psc-flex psc-flex-col psc-border-b psc-border-[#CADCF6]" }, W = {
|
|
9
|
+
href: "tel:1900 1717",
|
|
10
|
+
class: "psc-ml-6 psc-mt-2 psc-inline-flex psc-h-10 psc-items-center psc-rounded psc-bg-[#0f62f9] psc-px-4 psc-text-sm psc-font-bold psc-text-white"
|
|
11
|
+
}, z = /* @__PURE__ */ n({
|
|
12
|
+
__name: "WebsiteHeaderSidebar",
|
|
13
|
+
emits: ["menu:close"],
|
|
14
|
+
setup(A, { emit: i }) {
|
|
15
|
+
const a = {
|
|
16
|
+
tel: "1900 1717"
|
|
17
|
+
}, r = d(
|
|
18
|
+
g.ROUTE,
|
|
19
|
+
f(() => ({
|
|
20
|
+
baseUrl: "",
|
|
21
|
+
patientPortalUrl: "",
|
|
22
|
+
languageRoutes: {}
|
|
23
|
+
}))
|
|
24
|
+
);
|
|
25
|
+
function p(s) {
|
|
26
|
+
return `${r.value.baseUrl}${s}`;
|
|
27
|
+
}
|
|
28
|
+
return (s, l) => (m(), b("div", C, [
|
|
29
|
+
e("div", U, [
|
|
30
|
+
t(_),
|
|
31
|
+
e("div", $, [
|
|
32
|
+
e("a", {
|
|
33
|
+
href: c(r).baseUrl
|
|
34
|
+
}, [
|
|
35
|
+
t(x)
|
|
36
|
+
], 8, k),
|
|
37
|
+
e("button", y, [
|
|
38
|
+
t(c(v), {
|
|
39
|
+
class: "psc-h-7 psc-w-7 psc-text-2xl",
|
|
40
|
+
onClick: l[0] || (l[0] = (E) => i("menu:close"))
|
|
41
|
+
})
|
|
42
|
+
])
|
|
43
|
+
]),
|
|
44
|
+
e("div", D, [
|
|
45
|
+
e("a", {
|
|
46
|
+
class: "link-first",
|
|
47
|
+
href: c(r).patientPortalUrl
|
|
48
|
+
}, o(s.$t("psc.website_header.text.my_test_result")), 9, H),
|
|
49
|
+
e("a", {
|
|
50
|
+
class: "link-first psc-mt-5",
|
|
51
|
+
href: p(s.$t("psc.website_header.route.partner_portal"))
|
|
52
|
+
}, o(s.$t("psc.website_header.text.partner_portal")), 9, N),
|
|
53
|
+
e("a", {
|
|
54
|
+
class: "link-first psc-mt-5",
|
|
55
|
+
href: p(s.$t("psc.website_header.route.support"))
|
|
56
|
+
}, o(s.$t("psc.website_header.text.help_support")), 9, P)
|
|
57
|
+
]),
|
|
58
|
+
e("div", T, [
|
|
59
|
+
t(u, {
|
|
60
|
+
"base-url": c(r).baseUrl
|
|
61
|
+
}, null, 8, ["base-url"])
|
|
62
|
+
]),
|
|
63
|
+
e("a", W, [
|
|
64
|
+
t(c(w), { class: "psc-mr-1.5 psc-h-3.5" }),
|
|
65
|
+
h(" " + o(a.tel), 1)
|
|
66
|
+
])
|
|
67
|
+
])
|
|
68
|
+
]));
|
|
69
|
+
}
|
|
70
|
+
});
|
|
2
71
|
export {
|
|
3
|
-
|
|
72
|
+
z as default
|
|
4
73
|
};
|
|
5
74
|
//# sourceMappingURL=pat-shared-components139.mjs.map
|