pat-shared-components 1.3.0-beta.35 → 1.3.0-beta.37
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 +1 -1
- package/dist/pat-shared-components100.js.map +1 -1
- package/dist/pat-shared-components100.mjs +9 -43
- 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 +52 -30
- 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 +91 -8
- 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 +17 -25
- 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 +41 -10
- 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 +82 -52
- 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 +5 -91
- package/dist/pat-shared-components106.mjs.map +1 -1
- package/dist/pat-shared-components107.js +1 -1
- package/dist/pat-shared-components107.js.map +1 -1
- package/dist/pat-shared-components107.mjs +5 -17
- package/dist/pat-shared-components107.mjs.map +1 -1
- package/dist/pat-shared-components108.js +1 -1
- package/dist/pat-shared-components108.js.map +1 -1
- package/dist/pat-shared-components108.mjs +5 -41
- package/dist/pat-shared-components108.mjs.map +1 -1
- package/dist/pat-shared-components109.js +1 -1
- package/dist/pat-shared-components109.js.map +1 -1
- package/dist/pat-shared-components109.mjs +2 -84
- package/dist/pat-shared-components109.mjs.map +1 -1
- package/dist/pat-shared-components11.js +1 -1
- package/dist/pat-shared-components11.mjs +1 -1
- package/dist/pat-shared-components113.js +1 -1
- package/dist/pat-shared-components113.js.map +1 -1
- package/dist/pat-shared-components113.mjs +2 -77
- package/dist/pat-shared-components113.mjs.map +1 -1
- package/dist/pat-shared-components114.js +1 -1
- package/dist/pat-shared-components114.mjs +2 -2
- package/dist/pat-shared-components115.js +1 -1
- package/dist/pat-shared-components115.js.map +1 -1
- package/dist/pat-shared-components115.mjs +2 -56
- package/dist/pat-shared-components115.mjs.map +1 -1
- package/dist/pat-shared-components116.js +1 -1
- package/dist/pat-shared-components116.mjs +2 -2
- package/dist/pat-shared-components117.js +1 -1
- package/dist/pat-shared-components117.js.map +1 -1
- package/dist/pat-shared-components117.mjs +2 -71
- package/dist/pat-shared-components117.mjs.map +1 -1
- package/dist/pat-shared-components118.js +1 -1
- package/dist/pat-shared-components118.mjs +2 -2
- package/dist/pat-shared-components119.js +1 -1
- package/dist/pat-shared-components119.mjs +1 -1
- package/dist/pat-shared-components12.js +1 -1
- package/dist/pat-shared-components12.mjs +1 -1
- package/dist/pat-shared-components120.js +1 -1
- package/dist/pat-shared-components120.mjs +1 -1
- package/dist/pat-shared-components121.js +1 -1
- package/dist/pat-shared-components121.js.map +1 -1
- package/dist/pat-shared-components121.mjs +27 -1
- package/dist/pat-shared-components121.mjs.map +1 -1
- package/dist/pat-shared-components122.js +1 -1
- package/dist/pat-shared-components122.mjs +2 -2
- package/dist/pat-shared-components123.js +1 -1
- package/dist/pat-shared-components123.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.js.map +1 -1
- package/dist/pat-shared-components127.mjs +1 -27
- package/dist/pat-shared-components127.mjs.map +1 -1
- package/dist/pat-shared-components128.js +1 -1
- package/dist/pat-shared-components128.mjs +2 -2
- 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.mjs +1 -1
- package/dist/pat-shared-components133.js +1 -1
- package/dist/pat-shared-components133.mjs +1 -1
- 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.mjs +1 -1
- package/dist/pat-shared-components136.js +1 -1
- package/dist/pat-shared-components136.mjs +1 -1
- package/dist/pat-shared-components137.js +1 -1
- package/dist/pat-shared-components137.mjs +1 -1
- package/dist/pat-shared-components138.js +1 -1
- package/dist/pat-shared-components138.mjs +1 -1
- package/dist/pat-shared-components139.js +1 -1
- package/dist/pat-shared-components139.js.map +1 -1
- package/dist/pat-shared-components139.mjs +25 -2
- package/dist/pat-shared-components139.mjs.map +1 -1
- package/dist/pat-shared-components14.js +1 -1
- package/dist/pat-shared-components14.mjs +6 -6
- package/dist/pat-shared-components140.js +1 -1
- package/dist/pat-shared-components140.mjs +1 -1
- package/dist/pat-shared-components141.js +1 -1
- package/dist/pat-shared-components141.mjs +1 -1
- package/dist/pat-shared-components142.js +1 -1
- package/dist/pat-shared-components142.mjs +1 -1
- 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.js.map +1 -1
- package/dist/pat-shared-components144.mjs +77 -2
- package/dist/pat-shared-components144.mjs.map +1 -1
- package/dist/pat-shared-components145.js +1 -1
- package/dist/pat-shared-components145.mjs +2 -2
- package/dist/pat-shared-components146.js +1 -1
- package/dist/pat-shared-components146.js.map +1 -1
- package/dist/pat-shared-components146.mjs +56 -2
- package/dist/pat-shared-components146.mjs.map +1 -1
- package/dist/pat-shared-components147.js +1 -1
- package/dist/pat-shared-components147.mjs +2 -2
- package/dist/pat-shared-components148.js +1 -1
- package/dist/pat-shared-components148.js.map +1 -1
- package/dist/pat-shared-components148.mjs +71 -2
- package/dist/pat-shared-components148.mjs.map +1 -1
- package/dist/pat-shared-components149.js +1 -1
- package/dist/pat-shared-components149.mjs +2 -2
- package/dist/pat-shared-components159.js +1 -1
- package/dist/pat-shared-components159.mjs +1 -1
- package/dist/pat-shared-components16.js +1 -1
- package/dist/pat-shared-components16.mjs +5 -5
- package/dist/pat-shared-components164.js +1 -1
- package/dist/pat-shared-components164.js.map +1 -1
- package/dist/pat-shared-components164.mjs +25 -74
- package/dist/pat-shared-components164.mjs.map +1 -1
- package/dist/pat-shared-components165.js +1 -1
- package/dist/pat-shared-components165.js.map +1 -1
- package/dist/pat-shared-components165.mjs +28 -20
- package/dist/pat-shared-components165.mjs.map +1 -1
- package/dist/pat-shared-components166.js +1 -1
- package/dist/pat-shared-components166.js.map +1 -1
- package/dist/pat-shared-components166.mjs +23 -18
- package/dist/pat-shared-components166.mjs.map +1 -1
- package/dist/pat-shared-components167.js +1 -1
- package/dist/pat-shared-components167.js.map +1 -1
- package/dist/pat-shared-components167.mjs +16 -15
- package/dist/pat-shared-components167.mjs.map +1 -1
- package/dist/pat-shared-components168.js +1 -1
- package/dist/pat-shared-components168.js.map +1 -1
- package/dist/pat-shared-components168.mjs +27 -16
- package/dist/pat-shared-components168.mjs.map +1 -1
- package/dist/pat-shared-components169.js +1 -1
- package/dist/pat-shared-components169.js.map +1 -1
- package/dist/pat-shared-components169.mjs +49 -5
- package/dist/pat-shared-components169.mjs.map +1 -1
- package/dist/pat-shared-components170.js +1 -1
- package/dist/pat-shared-components170.js.map +1 -1
- package/dist/pat-shared-components170.mjs +41 -34
- package/dist/pat-shared-components170.mjs.map +1 -1
- package/dist/pat-shared-components171.js +1 -1
- package/dist/pat-shared-components171.mjs +8 -18
- package/dist/pat-shared-components171.mjs.map +1 -1
- package/dist/pat-shared-components172.js +1 -1
- package/dist/pat-shared-components172.mjs +7 -15
- package/dist/pat-shared-components172.mjs.map +1 -1
- package/dist/pat-shared-components173.js +1 -1
- package/dist/pat-shared-components173.js.map +1 -1
- package/dist/pat-shared-components173.mjs +10 -29
- package/dist/pat-shared-components173.mjs.map +1 -1
- package/dist/pat-shared-components174.js +1 -1
- package/dist/pat-shared-components174.js.map +1 -1
- package/dist/pat-shared-components174.mjs +40 -28
- package/dist/pat-shared-components174.mjs.map +1 -1
- package/dist/pat-shared-components175.js +1 -1
- package/dist/pat-shared-components175.js.map +1 -1
- package/dist/pat-shared-components175.mjs +7 -24
- package/dist/pat-shared-components175.mjs.map +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 -16
- package/dist/pat-shared-components176.mjs.map +1 -1
- package/dist/pat-shared-components177.js +1 -1
- package/dist/pat-shared-components177.js.map +1 -1
- package/dist/pat-shared-components177.mjs +30 -20
- package/dist/pat-shared-components177.mjs.map +1 -1
- package/dist/pat-shared-components178.js +1 -1
- package/dist/pat-shared-components178.js.map +1 -1
- package/dist/pat-shared-components178.mjs +13 -49
- package/dist/pat-shared-components178.mjs.map +1 -1
- package/dist/pat-shared-components179.js +1 -1
- package/dist/pat-shared-components179.js.map +1 -1
- package/dist/pat-shared-components179.mjs +21 -35
- package/dist/pat-shared-components179.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.js.map +1 -1
- package/dist/pat-shared-components180.mjs +58 -10
- package/dist/pat-shared-components180.mjs.map +1 -1
- package/dist/pat-shared-components181.js +1 -1
- package/dist/pat-shared-components181.js.map +1 -1
- package/dist/pat-shared-components181.mjs +78 -10
- 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 +20 -7
- package/dist/pat-shared-components182.mjs.map +1 -1
- package/dist/pat-shared-components183.js +1 -1
- package/dist/pat-shared-components183.mjs +17 -8
- package/dist/pat-shared-components183.mjs.map +1 -1
- package/dist/pat-shared-components184.js +1 -1
- package/dist/pat-shared-components184.mjs +14 -8
- package/dist/pat-shared-components184.mjs.map +1 -1
- package/dist/pat-shared-components185.js +1 -1
- package/dist/pat-shared-components185.js.map +1 -1
- package/dist/pat-shared-components185.mjs +15 -39
- package/dist/pat-shared-components185.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 +9 -9
- package/dist/pat-shared-components192.js +1 -1
- package/dist/pat-shared-components192.js.map +1 -1
- package/dist/pat-shared-components192.mjs +34 -37
- package/dist/pat-shared-components192.mjs.map +1 -1
- package/dist/pat-shared-components193.js +1 -1
- package/dist/pat-shared-components193.mjs +5 -13
- package/dist/pat-shared-components193.mjs.map +1 -1
- package/dist/pat-shared-components194.js +1 -1
- package/dist/pat-shared-components194.js.map +1 -1
- package/dist/pat-shared-components194.mjs +18 -27
- package/dist/pat-shared-components194.mjs.map +1 -1
- package/dist/pat-shared-components195.js +1 -1
- package/dist/pat-shared-components195.js.map +1 -1
- package/dist/pat-shared-components195.mjs +20 -58
- package/dist/pat-shared-components195.mjs.map +1 -1
- package/dist/pat-shared-components20.js +1 -1
- package/dist/pat-shared-components20.mjs +2 -2
- package/dist/pat-shared-components200.js +1 -1
- package/dist/pat-shared-components200.js.map +1 -1
- package/dist/pat-shared-components200.mjs +2 -181
- package/dist/pat-shared-components200.mjs.map +1 -1
- package/dist/pat-shared-components201.js +1 -1
- package/dist/pat-shared-components201.mjs +2 -2
- package/dist/pat-shared-components202.js +1 -1
- package/dist/pat-shared-components202.mjs +1 -1
- package/dist/pat-shared-components203.js +1 -1
- package/dist/pat-shared-components203.mjs +1 -1
- package/dist/pat-shared-components204.js +1 -1
- package/dist/pat-shared-components204.mjs +1 -1
- package/dist/pat-shared-components205.js +1 -1
- package/dist/pat-shared-components205.mjs +1 -1
- package/dist/pat-shared-components206.js +1 -1
- package/dist/pat-shared-components206.mjs +1 -1
- package/dist/pat-shared-components207.js +1 -1
- package/dist/pat-shared-components207.mjs +3 -3
- package/dist/pat-shared-components208.js +1 -1
- package/dist/pat-shared-components208.mjs +1 -1
- package/dist/pat-shared-components209.js +1 -1
- package/dist/pat-shared-components209.js.map +1 -1
- package/dist/pat-shared-components209.mjs +42 -2
- package/dist/pat-shared-components209.mjs.map +1 -1
- package/dist/pat-shared-components21.js +1 -1
- package/dist/pat-shared-components21.js.map +1 -1
- package/dist/pat-shared-components21.mjs +4 -4
- package/dist/pat-shared-components210.js +1 -1
- package/dist/pat-shared-components210.mjs +2 -2
- package/dist/pat-shared-components23.js +1 -1
- package/dist/pat-shared-components23.js.map +1 -1
- package/dist/pat-shared-components23.mjs +2 -2
- package/dist/pat-shared-components231.js +1 -1
- package/dist/pat-shared-components231.js.map +1 -1
- package/dist/pat-shared-components231.mjs +39 -55
- package/dist/pat-shared-components231.mjs.map +1 -1
- package/dist/pat-shared-components232.js +1 -1
- package/dist/pat-shared-components232.mjs +1 -1
- package/dist/pat-shared-components234.js +1 -1
- package/dist/pat-shared-components234.mjs +1 -1
- package/dist/pat-shared-components235.js +1 -1
- package/dist/pat-shared-components235.mjs +2 -23
- package/dist/pat-shared-components235.mjs.map +1 -1
- package/dist/pat-shared-components236.js +1 -1
- package/dist/pat-shared-components236.mjs +3 -19
- package/dist/pat-shared-components236.mjs.map +1 -1
- package/dist/pat-shared-components237.js +1 -1
- package/dist/pat-shared-components237.mjs +10 -16
- package/dist/pat-shared-components237.mjs.map +1 -1
- package/dist/pat-shared-components238.js +1 -1
- package/dist/pat-shared-components238.mjs +23 -2
- package/dist/pat-shared-components238.mjs.map +1 -1
- package/dist/pat-shared-components239.js +1 -1
- package/dist/pat-shared-components239.mjs +19 -3
- package/dist/pat-shared-components239.mjs.map +1 -1
- package/dist/pat-shared-components240.js +1 -1
- package/dist/pat-shared-components240.mjs +16 -10
- package/dist/pat-shared-components240.mjs.map +1 -1
- package/dist/pat-shared-components25.js +1 -1
- package/dist/pat-shared-components25.mjs +2 -2
- package/dist/pat-shared-components256.js +1 -1
- package/dist/pat-shared-components256.mjs +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 +9 -9
- package/dist/pat-shared-components28.js +1 -1
- package/dist/pat-shared-components28.mjs +8 -8
- package/dist/pat-shared-components29.js +1 -1
- package/dist/pat-shared-components29.js.map +1 -1
- package/dist/pat-shared-components29.mjs +4 -4
- package/dist/pat-shared-components30.js +1 -1
- package/dist/pat-shared-components30.mjs +1 -1
- package/dist/pat-shared-components31.js +1 -1
- package/dist/pat-shared-components31.mjs +3 -3
- package/dist/pat-shared-components32.js +1 -1
- package/dist/pat-shared-components32.mjs +1 -1
- package/dist/pat-shared-components33.js +1 -1
- package/dist/pat-shared-components33.mjs +3 -3
- package/dist/pat-shared-components34.js +1 -1
- package/dist/pat-shared-components34.js.map +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-components39.js +1 -1
- package/dist/pat-shared-components39.mjs +2 -7
- package/dist/pat-shared-components39.mjs.map +1 -1
- package/dist/pat-shared-components40.js +1 -1
- package/dist/pat-shared-components40.mjs +3 -2
- package/dist/pat-shared-components40.mjs.map +1 -1
- package/dist/pat-shared-components41.js +1 -1
- package/dist/pat-shared-components41.js.map +1 -1
- package/dist/pat-shared-components41.mjs +7 -30
- package/dist/pat-shared-components41.mjs.map +1 -1
- package/dist/pat-shared-components42.js +1 -1
- package/dist/pat-shared-components42.js.map +1 -1
- package/dist/pat-shared-components42.mjs +154 -2
- package/dist/pat-shared-components42.mjs.map +1 -1
- package/dist/pat-shared-components43.js +1 -1
- package/dist/pat-shared-components43.mjs +2 -2
- package/dist/pat-shared-components44.js +1 -1
- package/dist/pat-shared-components44.mjs +3 -2
- package/dist/pat-shared-components44.mjs.map +1 -1
- package/dist/pat-shared-components45.js +1 -1
- package/dist/pat-shared-components45.mjs +2 -2
- package/dist/pat-shared-components46.js +1 -1
- package/dist/pat-shared-components46.js.map +1 -1
- package/dist/pat-shared-components46.mjs +2 -154
- package/dist/pat-shared-components46.mjs.map +1 -1
- package/dist/pat-shared-components47.js +1 -1
- package/dist/pat-shared-components47.mjs +2 -2
- package/dist/pat-shared-components48.js +1 -1
- package/dist/pat-shared-components48.mjs +2 -3
- package/dist/pat-shared-components48.mjs.map +1 -1
- package/dist/pat-shared-components49.js +1 -1
- package/dist/pat-shared-components49.mjs +2 -3
- package/dist/pat-shared-components49.mjs.map +1 -1
- package/dist/pat-shared-components5.js +1 -1
- package/dist/pat-shared-components5.mjs +4 -125
- 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 +3 -2
- package/dist/pat-shared-components51.mjs.map +1 -1
- package/dist/pat-shared-components52.js +1 -1
- package/dist/pat-shared-components52.mjs +3 -2
- package/dist/pat-shared-components52.mjs.map +1 -1
- package/dist/pat-shared-components53.js +1 -1
- package/dist/pat-shared-components53.mjs +3 -2
- package/dist/pat-shared-components53.mjs.map +1 -1
- package/dist/pat-shared-components54.js +1 -1
- package/dist/pat-shared-components54.mjs +1 -1
- package/dist/pat-shared-components55.js +1 -1
- package/dist/pat-shared-components55.mjs +2 -3
- package/dist/pat-shared-components55.mjs.map +1 -1
- package/dist/pat-shared-components56.js +1 -1
- package/dist/pat-shared-components56.js.map +1 -1
- package/dist/pat-shared-components56.mjs +30 -3
- package/dist/pat-shared-components56.mjs.map +1 -1
- package/dist/pat-shared-components57.js +1 -1
- package/dist/pat-shared-components57.mjs +2 -3
- 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-components59.js +1 -1
- package/dist/pat-shared-components59.mjs +1 -1
- package/dist/pat-shared-components6.js +1 -1
- package/dist/pat-shared-components6.mjs +10 -129
- package/dist/pat-shared-components6.mjs.map +1 -1
- package/dist/pat-shared-components60.js +5 -1
- package/dist/pat-shared-components60.js.map +1 -1
- package/dist/pat-shared-components60.mjs +819 -59
- package/dist/pat-shared-components60.mjs.map +1 -1
- package/dist/pat-shared-components61.js +1 -1
- package/dist/pat-shared-components61.js.map +1 -1
- package/dist/pat-shared-components61.mjs +4 -15
- package/dist/pat-shared-components61.mjs.map +1 -1
- package/dist/pat-shared-components62.js +1 -1
- package/dist/pat-shared-components62.js.map +1 -1
- package/dist/pat-shared-components62.mjs +10 -27
- package/dist/pat-shared-components62.mjs.map +1 -1
- package/dist/pat-shared-components63.js +1 -1
- package/dist/pat-shared-components63.js.map +1 -1
- package/dist/pat-shared-components63.mjs +103 -53
- package/dist/pat-shared-components63.mjs.map +1 -1
- package/dist/pat-shared-components64.js +1 -1
- package/dist/pat-shared-components64.js.map +1 -1
- package/dist/pat-shared-components64.mjs +57 -15
- package/dist/pat-shared-components64.mjs.map +1 -1
- package/dist/pat-shared-components65.js +1 -1
- package/dist/pat-shared-components65.js.map +1 -1
- package/dist/pat-shared-components65.mjs +12 -43
- package/dist/pat-shared-components65.mjs.map +1 -1
- package/dist/pat-shared-components66.js +1 -1
- package/dist/pat-shared-components66.js.map +1 -1
- package/dist/pat-shared-components66.mjs +22 -52
- package/dist/pat-shared-components66.mjs.map +1 -1
- package/dist/pat-shared-components67.js +1 -1
- package/dist/pat-shared-components67.js.map +1 -1
- package/dist/pat-shared-components67.mjs +48 -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 +21 -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 +46 -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 +57 -10
- 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 +16 -80
- 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 +29 -19
- 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 +5 -27
- 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 +28 -5
- package/dist/pat-shared-components74.mjs.map +1 -1
- package/dist/pat-shared-components75.js +1 -1
- package/dist/pat-shared-components75.mjs +10 -5
- package/dist/pat-shared-components75.mjs.map +1 -1
- package/dist/pat-shared-components76.js +1 -1
- package/dist/pat-shared-components76.js.map +1 -1
- package/dist/pat-shared-components76.mjs +85 -5
- package/dist/pat-shared-components76.mjs.map +1 -1
- package/dist/pat-shared-components77.js +1 -1
- package/dist/pat-shared-components77.js.map +1 -1
- package/dist/pat-shared-components77.mjs +21 -2
- package/dist/pat-shared-components77.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 +27 -103
- 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 +17 -16
- package/dist/pat-shared-components79.mjs.map +1 -1
- package/dist/pat-shared-components8.js +1 -1
- package/dist/pat-shared-components8.mjs +15 -15
- package/dist/pat-shared-components80.js +1 -1
- package/dist/pat-shared-components80.js.map +1 -1
- package/dist/pat-shared-components80.mjs +69 -19
- package/dist/pat-shared-components80.mjs.map +1 -1
- package/dist/pat-shared-components81.js +1 -5
- package/dist/pat-shared-components81.js.map +1 -1
- package/dist/pat-shared-components81.mjs +10 -821
- package/dist/pat-shared-components81.mjs.map +1 -1
- package/dist/pat-shared-components82.js +1 -1
- package/dist/pat-shared-components82.js.map +1 -1
- package/dist/pat-shared-components82.mjs +10 -4
- 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 +18 -10
- 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 +19 -67
- package/dist/pat-shared-components84.mjs.map +1 -1
- package/dist/pat-shared-components85.js +1 -1
- package/dist/pat-shared-components85.js.map +1 -1
- package/dist/pat-shared-components85.mjs +43 -9
- 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 +47 -10
- 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 +43 -15
- 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 +75 -18
- 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 +12 -24
- package/dist/pat-shared-components89.mjs.map +1 -1
- package/dist/pat-shared-components9.js +1 -1
- package/dist/pat-shared-components9.mjs +14 -14
- package/dist/pat-shared-components90.js +1 -1
- package/dist/pat-shared-components90.js.map +1 -1
- package/dist/pat-shared-components90.mjs +49 -32
- package/dist/pat-shared-components90.mjs.map +1 -1
- package/dist/pat-shared-components91.js +1 -1
- package/dist/pat-shared-components91.js.map +1 -1
- package/dist/pat-shared-components91.mjs +44 -16
- 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 +25 -25
- 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 +20 -43
- 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 +8 -46
- 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 +27 -49
- 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 +19 -45
- 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 +35 -20
- 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 +16 -76
- 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 +24 -11
- package/dist/pat-shared-components99.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components70.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pat-shared-components70.mjs","sources":["../src/components/BookingDetail/SampleCollectionInfo.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"psc-space-y-4\"\n}\nconst _hoisted_2 = { class: \"psc-space-y-8 psc-rounded-lg psc-border psc-border-gray-lighten-2 psc-p-4 psc-shadow\" }\n\nimport TitleIcon from '@/components/Shared/TitleIcon.vue';\nimport type { Booking } from '@/types';\nimport { useDate } from 'pat-design-system';\nimport { computed } from 'vue';\nimport { useI18n } from 'vue-i18n';\nimport SectionTitle from '../Shared/SectionTitle.vue';\n\n/**\n * Props\n */\nexport interface Props {\n booking: Booking;\n}\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'SampleCollectionInfo',\n props: {\n booking: null\n },\n setup(__props: any) {\n\nconst props = __props as { booking: Booking };\n\n\n\n/**\n * Data\n */\nconst { t } = useI18n();\nconst { formatDateHuge } = useDate();\nconst sampleCollection = computed(() => ({\n address: props.booking.data?.is_hbc\n ? props.booking.address\n : props.booking.data?.supportingInformation\n ?.appointmentSampleCollectionPlace,\n expectedDate: props.booking.data?.planned_test_date,\n}));\nconst visible = computed(\n () =>\n (!!props.booking.address ||\n !!props.booking.data?.supportingInformation\n ?.appointmentSampleCollectionPlace) &&\n !!props.booking.data?.planned_test_date\n);\nconst title = computed(() =>\n props.booking.data?.is_hbc\n ? t('psc.test_result_booking_sample_collection')\n : t('psc.test_result_booking_testing_location')\n);\n\nreturn (_ctx: any,_cache: any) => {\n return (_unref(visible))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(SectionTitle, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref(title)), 1)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n (_unref(sampleCollection).address)\n ? (_openBlock(), _createBlock(TitleIcon, {\n key: 0,\n icon: \"dgic-pin-map-thick\",\n title: _ctx.$t('psc.test_result_booking_address'),\n subtitle: _unref(sampleCollection).address,\n class: \"psc-relative after:psc-absolute after:-psc-bottom-4 after:psc-h-[1px] after:psc-w-full after:psc-bg-gray-lighten-2 after:psc-content-['']\"\n }, null, 8, [\"title\", \"subtitle\"]))\n : _createCommentVNode(\"\", true),\n (_unref(sampleCollection).expectedDate)\n ? (_openBlock(), _createBlock(TitleIcon, {\n key: 1,\n icon: \"dgic-date-thick\",\n title: _ctx.$t('psc.test_result_booking_expected_date'),\n subtitle: _unref(formatDateHuge)(new Date(_unref(sampleCollection).expectedDate))\n }, null, 8, [\"title\", \"subtitle\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_sfc_main","_defineComponent","__props","props","t","useI18n","formatDateHuge","useDate","sampleCollection","computed","_a","_c","_b","_d","visible","title","_ctx","_cache","_unref","_openBlock","_createElementBlock","_createVNode","SectionTitle","_withCtx","_createTextVNode","_toDisplayString","_createElementVNode","_createBlock","TitleIcon","_createCommentVNode"],"mappings":";;;;;AAGA,MAAMA,IAAa;AAAA,EACjB,KAAK;AAAA,EACL,OAAO;AACT,GACMC,IAAa,EAAE,OAAO,0FAgBAC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,SAAS;AAAA,EACX;AAAA,EACA,MAAMC,GAAc;AAEtB,UAAMC,IAAQD,GAOR,EAAE,GAAAE,MAAMC,KACR,EAAE,gBAAAC,MAAmBC,KACrBC,IAAmBC,EAAS,MAAO;;AAAA;AAAA,QACvC,UAASC,IAAAP,EAAM,QAAQ,SAAd,QAAAO,EAAoB,SACzBP,EAAM,QAAQ,WACdQ,KAAAC,IAAAT,EAAM,QAAQ,SAAd,gBAAAS,EAAoB,0BAApB,gBAAAD,EACI;AAAA,QACR,eAAcE,IAAAV,EAAM,QAAQ,SAAd,gBAAAU,EAAoB;AAAA,MAClC;AAAA,KAAA,GACIC,IAAUL;AAAA,MACd;;AACG,iBAAC,CAACN,EAAM,QAAQ,WACf,CAAC,GAACS,KAAAF,IAAAP,EAAM,QAAQ,SAAd,gBAAAO,EAAoB,0BAApB,QAAAE,EACE,sCACN,CAAC,GAACD,IAAAR,EAAM,QAAQ,SAAd,QAAAQ,EAAoB;AAAA;AAAA,IAAA,GAEpBI,IAAQN;AAAA,MAAS;;AACrB,gBAAAC,IAAAP,EAAM,QAAQ,SAAd,QAAAO,EAAoB,SAChBN,EAAE,2CAA2C,IAC7CA,EAAE,0CAA0C;AAAA;AAAA,IAAA;AAG3C,WAAA,CAACY,GAAUC,MACRC,EAAOJ,CAAO,KACjBK,EAAc,GAAAC,EAAoB,OAAOtB,GAAY;AAAA,MACpDuB,EAAaC,GAAc,MAAM;AAAA,QAC/B,SAASC,EAAS,MAAM;AAAA,UACtBC,EAAiBC,EAAiBP,EAAOH,CAAK,CAAC,GAAG,CAAC;AAAA,QAAA,CACpD;AAAA,QACD,GAAG;AAAA,MAAA,CACJ;AAAA,MACDW,EAAoB,OAAO3B,GAAY;AAAA,QACpCmB,EAAOV,CAAgB,EAAE,WACrBW,EAAW,GAAGQ,EAAaC,GAAW;AAAA,UACrC,KAAK;AAAA,UACL,MAAM;AAAA,UACN,OAAOZ,EAAK,GAAG,iCAAiC;AAAA,UAChD,UAAUE,EAAOV,CAAgB,EAAE;AAAA,UACnC,OAAO;AAAA,QAAA,GACN,MAAM,GAAG,CAAC,SAAS,UAAU,CAAC,KACjCqB,EAAoB,IAAI,EAAI;AAAA,QAC/BX,EAAOV,CAAgB,EAAE,gBACrBW,EAAW,GAAGQ,EAAaC,GAAW;AAAA,UACrC,KAAK;AAAA,UACL,MAAM;AAAA,UACN,OAAOZ,EAAK,GAAG,uCAAuC;AAAA,UACtD,UAAUE,EAAOZ,CAAc,EAAE,IAAI,KAAKY,EAAOV,CAAgB,EAAE,YAAY,CAAC;AAAA,QAAA,GAC/E,MAAM,GAAG,CAAC,SAAS,UAAU,CAAC,KACjCqB,EAAoB,IAAI,EAAI;AAAA,MAAA,CACjC;AAAA,IACF,CAAA,KACDA,EAAoB,IAAI,EAAI;AAAA,EAElC;AAEA,CAAC;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("vue"),r=require("./pat-shared-components60.js"),a={class:"psc-flex psc-w-full"},l={class:"psc-text-xl psc-font-bold psc-text-black/[0.85]"},p={class:"psc-pr-1"},i={class:"psc-capitalize"},_=e.defineComponent({__name:"PatientName",props:{firstName:null},setup(s){const c=s,{t:n}=r.useI18n(),o=e.computed(()=>{var t;return((t=c.firstName)==null?void 0:t.toLowerCase())||""});return(t,u)=>(e.openBlock(),e.createElementBlock("div",a,[e.createElementVNode("div",l,[e.createElementVNode("span",p,e.toDisplayString(e.unref(n)("psc.test_result_hi")),1),e.createElementVNode("span",i,e.toDisplayString(e.unref(o)),1)])]))}});module.exports=_;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components71.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components71.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"pat-shared-components71.js","sources":["../src/components/Shared/PatientName.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"psc-flex psc-w-full\" }\nconst _hoisted_2 = { class: \"psc-text-xl psc-font-bold psc-text-black/[0.85]\" }\nconst _hoisted_3 = { class: \"psc-pr-1\" }\nconst _hoisted_4 = { class: \"psc-capitalize\" }\n\nimport { computed } from 'vue';\nimport { useI18n } from 'vue-i18n';\n\n/**\n * Props\n */\nexport interface Props {\n firstName: string;\n}\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'PatientName',\n props: {\n firstName: null\n },\n setup(__props: any) {\n\nconst props = __props as { firstName: string };\n\n\n\n/**\n * Data\n */\nconst { t } = useI18n();\nconst firstName = computed(() => props.firstName?.toLowerCase() || '');\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"span\", _hoisted_3, _toDisplayString(_unref(t)('psc.test_result_hi')), 1),\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(_unref(firstName)), 1)\n ])\n ]))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_sfc_main","_defineComponent","__props","props","t","useI18n","firstName","computed","_a","_ctx","_cache","_openBlock","_createElementBlock","_createElementVNode","_toDisplayString","_unref"],"mappings":"8EAGMA,EAAa,CAAE,MAAO,uBACtBC,EAAa,CAAE,MAAO,mDACtBC,EAAa,CAAE,MAAO,YACtBC,EAAa,CAAE,MAAO,kBAYAC,EAAiBC,kBAAA,CAC3C,OAAQ,cACR,MAAO,CACL,UAAW,IACb,EACA,MAAMC,EAAc,CAEtB,MAAMC,EAAQD,EAOR,CAAE,EAAAE,GAAMC,EAAAA,UACRC,EAAYC,EAAAA,SAAS,IAAM,OAAA,QAAAC,EAAAL,EAAM,YAAN,YAAAK,EAAiB,gBAAiB,GAAE,EAE9D,MAAA,CAACC,EAAUC,KACRC,YAAW,EAAGC,qBAAoB,MAAOhB,EAAY,CAC3DiB,EAAA,mBAAoB,MAAOhB,EAAY,CACrCgB,qBAAoB,OAAQf,EAAYgB,kBAAiBC,EAAAA,MAAOX,CAAC,EAAE,oBAAoB,CAAC,EAAG,CAAC,EAC5FS,EAAA,mBAAoB,OAAQd,EAAYe,EAAAA,gBAAiBC,EAAAA,MAAOT,CAAS,CAAC,EAAG,CAAC,CAAA,CAC/E,CAAA,CACF,EAEH,CAEA,CAAC"}
|
|
@@ -1,88 +1,24 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const C = {
|
|
6
|
-
key: 0,
|
|
7
|
-
class: "psc-space-y-4"
|
|
8
|
-
}, h = /* @__PURE__ */ m({
|
|
9
|
-
__name: "BookingCtaButtons",
|
|
1
|
+
import { defineComponent as r, computed as l, openBlock as i, createElementBlock as _, createElementVNode as s, toDisplayString as e, unref as c } from "vue";
|
|
2
|
+
import { useI18n as m } from "./pat-shared-components60.mjs";
|
|
3
|
+
const f = { class: "psc-flex psc-w-full" }, d = { class: "psc-text-xl psc-font-bold psc-text-black/[0.85]" }, u = { class: "psc-pr-1" }, h = { class: "psc-capitalize" }, b = /* @__PURE__ */ r({
|
|
4
|
+
__name: "PatientName",
|
|
10
5
|
props: {
|
|
11
|
-
|
|
6
|
+
firstName: null
|
|
12
7
|
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
let t = {
|
|
18
|
-
visible: !1
|
|
19
|
-
};
|
|
20
|
-
return o.booking.booking_status === l.Created && ((r = (i = o.booking.data) == null ? void 0 : i.supportingInformation) != null && r.appointmentSampleCollectionPlace ? t = {
|
|
21
|
-
visible: !1
|
|
22
|
-
} : t = (_ = o.booking.data) != null && _.is_hbc ? {
|
|
23
|
-
icon: "dgic-support-thick",
|
|
24
|
-
subtitile: s("psc.test_result_booking_diag_contact_you_and_check"),
|
|
25
|
-
visible: !0
|
|
26
|
-
} : {
|
|
27
|
-
icon: "dgic-pin-map-thick",
|
|
28
|
-
subtitile: s("psc.test_result_find_nearest_diag_branch"),
|
|
29
|
-
visible: !0,
|
|
30
|
-
buttonText: s("psc.test_result_booking_find_location_center")
|
|
31
|
-
}), t;
|
|
32
|
-
}), u = p(() => {
|
|
33
|
-
let t = {
|
|
34
|
-
visible: !1
|
|
35
|
-
};
|
|
36
|
-
switch (o.booking.booking_status) {
|
|
37
|
-
case l.Created:
|
|
38
|
-
t = {
|
|
39
|
-
subtitile: s("psc.test_result_booking_need_collect_sample"),
|
|
40
|
-
buttonDisabled: !0,
|
|
41
|
-
visible: !0
|
|
42
|
-
};
|
|
43
|
-
break;
|
|
44
|
-
case l.InProgress:
|
|
45
|
-
t = {
|
|
46
|
-
subtitile: s("psc.test_result_booking_processing_sample"),
|
|
47
|
-
visible: !0
|
|
48
|
-
};
|
|
49
|
-
break;
|
|
50
|
-
case l.Completed:
|
|
51
|
-
t = {
|
|
52
|
-
subtitile: s("psc.test_result_booking_fully_ready"),
|
|
53
|
-
visible: !0
|
|
54
|
-
};
|
|
55
|
-
break;
|
|
56
|
-
case l.Canceled:
|
|
57
|
-
default:
|
|
58
|
-
t = {
|
|
59
|
-
visible: !1
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
return t;
|
|
8
|
+
setup(o) {
|
|
9
|
+
const n = o, { t: p } = m(), a = l(() => {
|
|
10
|
+
var t;
|
|
11
|
+
return ((t = n.firstName) == null ? void 0 : t.toLowerCase()) || "";
|
|
63
12
|
});
|
|
64
|
-
return (t,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"button-text": e(n).buttonText,
|
|
71
|
-
"onClick:button": i[0] || (i[0] = (r) => a("click:find-location"))
|
|
72
|
-
}, null, 8, ["title", "subtitle", "icon", "button-text"])) : b("", !0),
|
|
73
|
-
e(u).visible ? (c(), k(d, {
|
|
74
|
-
key: 1,
|
|
75
|
-
title: t.$t("psc.test_result_booking_test_results"),
|
|
76
|
-
subtitle: e(u).subtitile,
|
|
77
|
-
icon: "dgic-reports-thick",
|
|
78
|
-
"button-text": t.$t("psc.test_result_booking_view_results"),
|
|
79
|
-
"button-disabled": e(u).buttonDisabled,
|
|
80
|
-
"onClick:button": i[1] || (i[1] = (r) => a("click:view-results", o.booking.test_result_key))
|
|
81
|
-
}, null, 8, ["title", "subtitle", "button-text", "button-disabled"])) : b("", !0)
|
|
82
|
-
])) : b("", !0);
|
|
13
|
+
return (t, x) => (i(), _("div", f, [
|
|
14
|
+
s("div", d, [
|
|
15
|
+
s("span", u, e(c(p)("psc.test_result_hi")), 1),
|
|
16
|
+
s("span", h, e(c(a)), 1)
|
|
17
|
+
])
|
|
18
|
+
]));
|
|
83
19
|
}
|
|
84
20
|
});
|
|
85
21
|
export {
|
|
86
|
-
|
|
22
|
+
b as default
|
|
87
23
|
};
|
|
88
24
|
//# sourceMappingURL=pat-shared-components71.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components71.mjs","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"pat-shared-components71.mjs","sources":["../src/components/Shared/PatientName.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"psc-flex psc-w-full\" }\nconst _hoisted_2 = { class: \"psc-text-xl psc-font-bold psc-text-black/[0.85]\" }\nconst _hoisted_3 = { class: \"psc-pr-1\" }\nconst _hoisted_4 = { class: \"psc-capitalize\" }\n\nimport { computed } from 'vue';\nimport { useI18n } from 'vue-i18n';\n\n/**\n * Props\n */\nexport interface Props {\n firstName: string;\n}\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'PatientName',\n props: {\n firstName: null\n },\n setup(__props: any) {\n\nconst props = __props as { firstName: string };\n\n\n\n/**\n * Data\n */\nconst { t } = useI18n();\nconst firstName = computed(() => props.firstName?.toLowerCase() || '');\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"span\", _hoisted_3, _toDisplayString(_unref(t)('psc.test_result_hi')), 1),\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(_unref(firstName)), 1)\n ])\n ]))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_sfc_main","_defineComponent","__props","props","t","useI18n","firstName","computed","_a","_ctx","_cache","_openBlock","_createElementBlock","_createElementVNode","_toDisplayString","_unref"],"mappings":";;AAGA,MAAMA,IAAa,EAAE,OAAO,yBACtBC,IAAa,EAAE,OAAO,qDACtBC,IAAa,EAAE,OAAO,cACtBC,IAAa,EAAE,OAAO,oBAYAC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,WAAW;AAAA,EACb;AAAA,EACA,MAAMC,GAAc;AAEtB,UAAMC,IAAQD,GAOR,EAAE,GAAAE,MAAMC,KACRC,IAAYC,EAAS,MAAM;;AAAA,eAAAC,IAAAL,EAAM,cAAN,gBAAAK,EAAiB,kBAAiB;AAAA,KAAE;AAE9D,WAAA,CAACC,GAAUC,OACRC,EAAW,GAAGC,EAAoB,OAAOhB,GAAY;AAAA,MAC3DiB,EAAoB,OAAOhB,GAAY;AAAA,QACrCgB,EAAoB,QAAQf,GAAYgB,EAAiBC,EAAOX,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC;AAAA,QAC5FS,EAAoB,QAAQd,GAAYe,EAAiBC,EAAOT,CAAS,CAAC,GAAG,CAAC;AAAA,MAAA,CAC/E;AAAA,IAAA,CACF;AAAA,EAEH;AAEA,CAAC;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),
|
|
1
|
+
"use strict";const e=require("vue"),o=require("./pat-shared-components4.js"),n=require("./pat-shared-components169.js"),c={key:0,class:"psc-w-full psc-font-semibold psc-text-blue-darken-2"},u={key:1,class:"psc-relative psc-w-full psc-font-semibold psc-text-red-darken-1"},r=e.createElementVNode("i",{class:"dgic-cancel-right-to-left psc-absolute -psc-bottom-0.5 psc-ml-1 psc-text-xl"},null,-1),a=e.defineComponent({__name:"BookingResultStatus",props:{testResultKey:{default:""},resultStatus:null,bookingStatus:null},setup(l){const t=l;return(s,i)=>(e.openBlock(),e.createElementBlock("div",null,[t.testResultKey?t.bookingStatus===e.unref(o.BookingStatus).Canceled?(e.openBlock(),e.createElementBlock("div",u,[e.createElementVNode("span",null,e.toDisplayString(s.$t("psc.test_result_booking_booking_canceled")),1),r])):(e.openBlock(),e.createBlock(n,{key:2,status:t.resultStatus},null,8,["status"])):(e.openBlock(),e.createElementBlock("div",c,[e.createElementVNode("span",null,e.toDisplayString(s.$t("psc.test_result_booking_results_will_be_there")),1)]))]))}});module.exports=a;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components72.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components72.js","sources":["../src/components/BookingDetail/
|
|
1
|
+
{"version":3,"file":"pat-shared-components72.js","sources":["../src/components/BookingDetail/BookingResultStatus.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, unref as _unref, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"psc-w-full psc-font-semibold psc-text-blue-darken-2\"\n}\nconst _hoisted_2 = {\n key: 1,\n class: \"psc-relative psc-w-full psc-font-semibold psc-text-red-darken-1\"\n}\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"dgic-cancel-right-to-left psc-absolute -psc-bottom-0.5 psc-ml-1 psc-text-xl\" }, null, -1)\n\nimport { BookingStatus, TestResultStatus } from '@/constants/Enums';\nimport ResultStatus from '@/components/Shared/ResultStatus.vue';\n\n/**\n * Props\n */\nexport interface Props {\n testResultKey?: string;\n resultStatus: TestResultStatus;\n bookingStatus: BookingStatus;\n}\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BookingResultStatus',\n props: {\n testResultKey: { default: '' },\n resultStatus: null,\n bookingStatus: null\n },\n setup(__props: any) {\n\nconst props = __props as { testResultKey: string, resultStatus: TestResultStatus, bookingStatus: BookingStatus };\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (!props.testResultKey)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t('psc.test_result_booking_results_will_be_there')), 1)\n ]))\n : (props.bookingStatus === _unref(BookingStatus).Canceled)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t('psc.test_result_booking_booking_canceled')), 1),\n _hoisted_3\n ]))\n : (_openBlock(), _createBlock(ResultStatus, {\n key: 2,\n status: props.resultStatus\n }, null, 8, [\"status\"]))\n ]))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_sfc_main","_defineComponent","__props","props","_ctx","_cache","_openBlock","_createElementBlock","_unref","BookingStatus","_createElementVNode","_toDisplayString","_createBlock","ResultStatus"],"mappings":"wHAGMA,EAAa,CACjB,IAAK,EACL,MAAO,qDACT,EACMC,EAAa,CACjB,IAAK,EACL,MAAO,iEACT,EACMC,uBAA8C,IAAK,CAAE,MAAO,+EAAiF,KAAM,EAAE,EAc/HC,EAAiBC,kBAAA,CAC3C,OAAQ,sBACR,MAAO,CACL,cAAe,CAAE,QAAS,EAAG,EAC7B,aAAc,KACd,cAAe,IACjB,EACA,MAAMC,EAAc,CAEtB,MAAMC,EAAQD,EAIP,MAAA,CAACE,EAAUC,KACRC,YAAW,EAAGC,qBAAoB,MAAO,KAAM,CACnDJ,EAAM,cAIHA,EAAM,gBAAkBK,EAAAA,MAAOC,EAAa,aAAA,EAAE,UAC5CH,YAAW,EAAGC,qBAAoB,MAAOT,EAAY,CACpDY,qBAAoB,OAAQ,KAAMC,EAAA,gBAAiBP,EAAK,GAAG,0CAA0C,CAAC,EAAG,CAAC,EAC1GL,CACD,CAAA,IACAO,EAAW,UAAA,EAAGM,cAAaC,EAAc,CACxC,IAAK,EACL,OAAQV,EAAM,YACb,EAAA,KAAM,EAAG,CAAC,QAAQ,CAAC,IAXvBG,EAAAA,UAAc,EAAAC,EAAA,mBAAoB,MAAOV,EAAY,CACpDa,qBAAoB,OAAQ,KAAMC,EAAA,gBAAiBP,EAAK,GAAG,+CAA+C,CAAC,EAAG,CAAC,CAChH,CAAA,EASuB,CAC7B,EAEH,CAEA,CAAC"}
|
|
@@ -1,25 +1,35 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import { defineComponent as u, openBlock as t, createElementBlock as s, createElementVNode as l, toDisplayString as n, unref as a, createBlock as r } from "vue";
|
|
2
|
+
import { BookingStatus as i } from "./pat-shared-components4.mjs";
|
|
3
|
+
import p from "./pat-shared-components169.mjs";
|
|
4
|
+
const _ = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "psc-w-full psc-font-semibold psc-text-blue-darken-2"
|
|
7
|
+
}, d = {
|
|
8
|
+
key: 1,
|
|
9
|
+
class: "psc-relative psc-w-full psc-font-semibold psc-text-red-darken-1"
|
|
10
|
+
}, m = /* @__PURE__ */ l("i", { class: "dgic-cancel-right-to-left psc-absolute -psc-bottom-0.5 psc-ml-1 psc-text-xl" }, null, -1), S = /* @__PURE__ */ u({
|
|
11
|
+
__name: "BookingResultStatus",
|
|
12
|
+
props: {
|
|
13
|
+
testResultKey: { default: "" },
|
|
14
|
+
resultStatus: null,
|
|
15
|
+
bookingStatus: null
|
|
16
|
+
},
|
|
17
|
+
setup(c) {
|
|
18
|
+
const e = c;
|
|
19
|
+
return (o, k) => (t(), s("div", null, [
|
|
20
|
+
e.testResultKey ? e.bookingStatus === a(i).Canceled ? (t(), s("div", d, [
|
|
21
|
+
l("span", null, n(o.$t("psc.test_result_booking_booking_canceled")), 1),
|
|
22
|
+
m
|
|
23
|
+
])) : (t(), r(p, {
|
|
24
|
+
key: 2,
|
|
25
|
+
status: e.resultStatus
|
|
26
|
+
}, null, 8, ["status"])) : (t(), s("div", _, [
|
|
27
|
+
l("span", null, n(o.$t("psc.test_result_booking_results_will_be_there")), 1)
|
|
28
|
+
]))
|
|
19
29
|
]));
|
|
20
30
|
}
|
|
21
31
|
});
|
|
22
32
|
export {
|
|
23
|
-
|
|
33
|
+
S as default
|
|
24
34
|
};
|
|
25
35
|
//# sourceMappingURL=pat-shared-components72.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components72.mjs","sources":["../src/components/BookingDetail/
|
|
1
|
+
{"version":3,"file":"pat-shared-components72.mjs","sources":["../src/components/BookingDetail/BookingResultStatus.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, unref as _unref, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"psc-w-full psc-font-semibold psc-text-blue-darken-2\"\n}\nconst _hoisted_2 = {\n key: 1,\n class: \"psc-relative psc-w-full psc-font-semibold psc-text-red-darken-1\"\n}\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"dgic-cancel-right-to-left psc-absolute -psc-bottom-0.5 psc-ml-1 psc-text-xl\" }, null, -1)\n\nimport { BookingStatus, TestResultStatus } from '@/constants/Enums';\nimport ResultStatus from '@/components/Shared/ResultStatus.vue';\n\n/**\n * Props\n */\nexport interface Props {\n testResultKey?: string;\n resultStatus: TestResultStatus;\n bookingStatus: BookingStatus;\n}\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BookingResultStatus',\n props: {\n testResultKey: { default: '' },\n resultStatus: null,\n bookingStatus: null\n },\n setup(__props: any) {\n\nconst props = __props as { testResultKey: string, resultStatus: TestResultStatus, bookingStatus: BookingStatus };\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (!props.testResultKey)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t('psc.test_result_booking_results_will_be_there')), 1)\n ]))\n : (props.bookingStatus === _unref(BookingStatus).Canceled)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t('psc.test_result_booking_booking_canceled')), 1),\n _hoisted_3\n ]))\n : (_openBlock(), _createBlock(ResultStatus, {\n key: 2,\n status: props.resultStatus\n }, null, 8, [\"status\"]))\n ]))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_sfc_main","_defineComponent","__props","props","_ctx","_cache","_openBlock","_createElementBlock","_unref","BookingStatus","_createElementVNode","_toDisplayString","_createBlock","ResultStatus"],"mappings":";;;AAGA,MAAMA,IAAa;AAAA,EACjB,KAAK;AAAA,EACL,OAAO;AACT,GACMC,IAAa;AAAA,EACjB,KAAK;AAAA,EACL,OAAO;AACT,GACMC,sBAA8C,KAAK,EAAE,OAAO,iFAAiF,MAAM,EAAE,GAc/HC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,eAAe,EAAE,SAAS,GAAG;AAAA,IAC7B,cAAc;AAAA,IACd,eAAe;AAAA,EACjB;AAAA,EACA,MAAMC,GAAc;AAEtB,UAAMC,IAAQD;AAIP,WAAA,CAACE,GAAUC,OACRC,EAAW,GAAGC,EAAoB,OAAO,MAAM;AAAA,MACnDJ,EAAM,gBAIHA,EAAM,kBAAkBK,EAAOC,CAAa,EAAE,YAC5CH,EAAW,GAAGC,EAAoB,OAAOT,GAAY;AAAA,QACpDY,EAAoB,QAAQ,MAAMC,EAAiBP,EAAK,GAAG,0CAA0C,CAAC,GAAG,CAAC;AAAA,QAC1GL;AAAA,MACD,CAAA,MACAO,EAAW,GAAGM,EAAaC,GAAc;AAAA,QACxC,KAAK;AAAA,QACL,QAAQV,EAAM;AAAA,MACb,GAAA,MAAM,GAAG,CAAC,QAAQ,CAAC,MAXvBG,EAAc,GAAAC,EAAoB,OAAOV,GAAY;AAAA,QACpDa,EAAoB,QAAQ,MAAMC,EAAiBP,EAAK,GAAG,+CAA+C,CAAC,GAAG,CAAC;AAAA,MAChH,CAAA;AAAA,IASuB,CAC7B;AAAA,EAEH;AAEA,CAAC;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("
|
|
1
|
+
"use strict";const e=require("./pat-shared-components121.js");require("./pat-shared-components122.js");const t=require("./pat-shared-components41.js"),r=t(e,[["__scopeId","data-v-b1b7cc48"]]);module.exports=r;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components73.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components73.js","sources":[
|
|
1
|
+
{"version":3,"file":"pat-shared-components73.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,30 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
attachments: null
|
|
6
|
-
},
|
|
7
|
-
setup(a) {
|
|
8
|
-
const r = (e) => {
|
|
9
|
-
try {
|
|
10
|
-
const { pathname: n } = new URL(e), t = n.substring(n.lastIndexOf("/") + 1).replace(/^attachment_\d+_[^_]+_/, "");
|
|
11
|
-
return typeof decodeURIComponent == "function" ? decodeURIComponent(t) : t;
|
|
12
|
-
} catch (n) {
|
|
13
|
-
return e;
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
return (e, n) => (c(), s("div", null, [
|
|
17
|
-
m("div", _, o(e.$t("psc.test_result_booking_attachment")), 1),
|
|
18
|
-
(c(!0), s(d, null, i(a.attachments, (t, p) => (c(), s("a", {
|
|
19
|
-
key: `attachment_${p}`,
|
|
20
|
-
class: "psc-block psc-rounded-lg psc-py-1 psc-text-sm psc-italic psc-text-blue-darken-1",
|
|
21
|
-
href: t,
|
|
22
|
-
target: "_blank"
|
|
23
|
-
}, o(r(t)), 9, u))), 128))
|
|
24
|
-
]));
|
|
25
|
-
}
|
|
26
|
-
});
|
|
1
|
+
import o from "./pat-shared-components121.mjs";
|
|
2
|
+
import "./pat-shared-components122.mjs";
|
|
3
|
+
import t from "./pat-shared-components41.mjs";
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b1b7cc48"]]);
|
|
27
5
|
export {
|
|
28
|
-
|
|
6
|
+
p as default
|
|
29
7
|
};
|
|
30
8
|
//# sourceMappingURL=pat-shared-components73.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components73.mjs","sources":[
|
|
1
|
+
{"version":3,"file":"pat-shared-components73.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),m=require("./pat-shared-components4.js");function o(e){const l=r.computed(()=>({first_name:e.value.first_name,date_of_birth:e.value.date_of_birth,document_number:e.value.document_number,document_type:e.value.document_type,gender:e.value.gender,phone_number:e.value.phone_number,address:e.value.address,email:e.value.email})),d=r.computed(()=>{var t,u,c,a,n;return((t=e.value.account)==null?void 0:t.account_segment)===m.AccountSegment.Doctor||((u=e.value.account)==null?void 0:u.account_segment)===m.AccountSegment.Walkin?{name:(c=e.value.account)==null?void 0:c.name,account_code:(a=e.value.account)==null?void 0:a.account_code,phone_number:(n=e.value.account)==null?void 0:n.phone_number}:void 0});return{patient:l,doctor:d}}exports.useBookingDetail=o;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components74.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components74.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"pat-shared-components74.js","sources":["../src/composables/BookingDetail.ts"],"sourcesContent":["import type {\n Booking,\n BookingBasicInfoDoctor,\n BookingBasicInfoPatient,\n} from '@/types';\nimport { computed, type Ref } from 'vue';\nimport { AccountSegment } from '@/constants/Enums';\n\nexport function useBookingDetail(booking: Ref<Booking>) {\n /**\n * Data\n */\n const patient = computed<BookingBasicInfoPatient>(() => ({\n first_name: booking.value.first_name,\n date_of_birth: booking.value.date_of_birth,\n document_number: booking.value.document_number,\n document_type: booking.value.document_type,\n gender: booking.value.gender,\n phone_number: booking.value.phone_number,\n address: booking.value.address,\n email: booking.value.email,\n }));\n const doctor = computed<BookingBasicInfoDoctor | undefined>(() =>\n booking.value.account?.account_segment === AccountSegment.Doctor ||\n booking.value.account?.account_segment === AccountSegment.Walkin\n ? {\n name: booking.value.account?.name,\n account_code: booking.value.account?.account_code,\n phone_number: booking.value.account?.phone_number,\n }\n : undefined\n );\n\n return {\n patient,\n doctor,\n };\n}\n"],"names":["useBookingDetail","booking","patient","computed","doctor","_a","AccountSegment","_b","_c","_d","_e"],"mappings":"gJAQO,SAASA,EAAiBC,EAAuB,CAIhD,MAAAC,EAAUC,EAAAA,SAAkC,KAAO,CACvD,WAAYF,EAAQ,MAAM,WAC1B,cAAeA,EAAQ,MAAM,cAC7B,gBAAiBA,EAAQ,MAAM,gBAC/B,cAAeA,EAAQ,MAAM,cAC7B,OAAQA,EAAQ,MAAM,OACtB,aAAcA,EAAQ,MAAM,aAC5B,QAASA,EAAQ,MAAM,QACvB,MAAOA,EAAQ,MAAM,KACrB,EAAA,EACIG,EAASD,EAAA,SAA6C,IAAA,eAC1D,QAAAE,EAAAJ,EAAQ,MAAM,UAAd,YAAAI,EAAuB,mBAAoBC,EAAAA,eAAe,UAC1DC,EAAAN,EAAQ,MAAM,UAAd,YAAAM,EAAuB,mBAAoBD,EAAAA,eAAe,OACtD,CACE,MAAME,EAAAP,EAAQ,MAAM,UAAd,YAAAO,EAAuB,KAC7B,cAAcC,EAAAR,EAAQ,MAAM,UAAd,YAAAQ,EAAuB,aACrC,cAAcC,EAAAT,EAAQ,MAAM,UAAd,YAAAS,EAAuB,YAEvC,EAAA,OAAA,EAGC,MAAA,CACL,QAAAR,EACA,OAAAE,CAAA,CAEJ"}
|
|
@@ -1,8 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "./pat-shared-
|
|
3
|
-
|
|
4
|
-
const
|
|
1
|
+
import { computed as m } from "vue";
|
|
2
|
+
import { AccountSegment as r } from "./pat-shared-components4.mjs";
|
|
3
|
+
function v(e) {
|
|
4
|
+
const _ = m(() => ({
|
|
5
|
+
first_name: e.value.first_name,
|
|
6
|
+
date_of_birth: e.value.date_of_birth,
|
|
7
|
+
document_number: e.value.document_number,
|
|
8
|
+
document_type: e.value.document_type,
|
|
9
|
+
gender: e.value.gender,
|
|
10
|
+
phone_number: e.value.phone_number,
|
|
11
|
+
address: e.value.address,
|
|
12
|
+
email: e.value.email
|
|
13
|
+
})), d = m(
|
|
14
|
+
() => {
|
|
15
|
+
var t, u, a, c, n;
|
|
16
|
+
return ((t = e.value.account) == null ? void 0 : t.account_segment) === r.Doctor || ((u = e.value.account) == null ? void 0 : u.account_segment) === r.Walkin ? {
|
|
17
|
+
name: (a = e.value.account) == null ? void 0 : a.name,
|
|
18
|
+
account_code: (c = e.value.account) == null ? void 0 : c.account_code,
|
|
19
|
+
phone_number: (n = e.value.account) == null ? void 0 : n.phone_number
|
|
20
|
+
} : void 0;
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
return {
|
|
24
|
+
patient: _,
|
|
25
|
+
doctor: d
|
|
26
|
+
};
|
|
27
|
+
}
|
|
5
28
|
export {
|
|
6
|
-
|
|
29
|
+
v as useBookingDetail
|
|
7
30
|
};
|
|
8
31
|
//# sourceMappingURL=pat-shared-components74.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components74.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pat-shared-components74.mjs","sources":["../src/composables/BookingDetail.ts"],"sourcesContent":["import type {\n Booking,\n BookingBasicInfoDoctor,\n BookingBasicInfoPatient,\n} from '@/types';\nimport { computed, type Ref } from 'vue';\nimport { AccountSegment } from '@/constants/Enums';\n\nexport function useBookingDetail(booking: Ref<Booking>) {\n /**\n * Data\n */\n const patient = computed<BookingBasicInfoPatient>(() => ({\n first_name: booking.value.first_name,\n date_of_birth: booking.value.date_of_birth,\n document_number: booking.value.document_number,\n document_type: booking.value.document_type,\n gender: booking.value.gender,\n phone_number: booking.value.phone_number,\n address: booking.value.address,\n email: booking.value.email,\n }));\n const doctor = computed<BookingBasicInfoDoctor | undefined>(() =>\n booking.value.account?.account_segment === AccountSegment.Doctor ||\n booking.value.account?.account_segment === AccountSegment.Walkin\n ? {\n name: booking.value.account?.name,\n account_code: booking.value.account?.account_code,\n phone_number: booking.value.account?.phone_number,\n }\n : undefined\n );\n\n return {\n patient,\n doctor,\n };\n}\n"],"names":["useBookingDetail","booking","patient","computed","doctor","_a","AccountSegment","_b","_c","_d","_e"],"mappings":";;AAQO,SAASA,EAAiBC,GAAuB;AAIhD,QAAAC,IAAUC,EAAkC,OAAO;AAAA,IACvD,YAAYF,EAAQ,MAAM;AAAA,IAC1B,eAAeA,EAAQ,MAAM;AAAA,IAC7B,iBAAiBA,EAAQ,MAAM;AAAA,IAC/B,eAAeA,EAAQ,MAAM;AAAA,IAC7B,QAAQA,EAAQ,MAAM;AAAA,IACtB,cAAcA,EAAQ,MAAM;AAAA,IAC5B,SAASA,EAAQ,MAAM;AAAA,IACvB,OAAOA,EAAQ,MAAM;AAAA,EACrB,EAAA,GACIG,IAASD;AAAA,IAA6C,MAAA;;AAC1D,eAAAE,IAAAJ,EAAQ,MAAM,YAAd,gBAAAI,EAAuB,qBAAoBC,EAAe,YAC1DC,IAAAN,EAAQ,MAAM,YAAd,gBAAAM,EAAuB,qBAAoBD,EAAe,SACtD;AAAA,QACE,OAAME,IAAAP,EAAQ,MAAM,YAAd,gBAAAO,EAAuB;AAAA,QAC7B,eAAcC,IAAAR,EAAQ,MAAM,YAAd,gBAAAQ,EAAuB;AAAA,QACrC,eAAcC,IAAAT,EAAQ,MAAM,YAAd,gBAAAS,EAAuB;AAAA,MAEvC,IAAA;AAAA;AAAA,EAAA;AAGC,SAAA;AAAA,IACL,SAAAR;AAAA,IACA,QAAAE;AAAA,EAAA;AAEJ;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("
|
|
1
|
+
"use strict";const e=require("vue"),c=require("./pat-shared-components41.js"),s={},n={class:"psc-text-xl psc-font-semibold"};function o(t,l){return e.openBlock(),e.createElementBlock("div",n,[e.renderSlot(t.$slots,"default")])}const r=c(s,[["render",o]]);module.exports=r;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components75.js.map
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
import o from "
|
|
2
|
-
import "./pat-shared-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { openBlock as t, createElementBlock as o, renderSlot as c } from "vue";
|
|
2
|
+
import r from "./pat-shared-components41.mjs";
|
|
3
|
+
const s = {}, n = { class: "psc-text-xl psc-font-semibold" };
|
|
4
|
+
function l(e, f) {
|
|
5
|
+
return t(), o("div", n, [
|
|
6
|
+
c(e.$slots, "default")
|
|
7
|
+
]);
|
|
8
|
+
}
|
|
9
|
+
const d = /* @__PURE__ */ r(s, [["render", l]]);
|
|
5
10
|
export {
|
|
6
|
-
|
|
11
|
+
d as default
|
|
7
12
|
};
|
|
8
13
|
//# sourceMappingURL=pat-shared-components75.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components75.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pat-shared-components75.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t=require("vue"),u=require("./pat-shared-components4.js"),k=require("./pat-shared-components60.js"),a=require("./pat-shared-components170.js"),p={key:0,class:"psc-space-y-4"},d=t.defineComponent({__name:"BookingCtaButtons",props:{booking:null},emits:["click:view-results","click:find-location"],setup(_,{emit:c}){const o=_,{t:i}=k.useI18n(),n=t.computed(()=>{var s,r,b;let e={visible:!1};return o.booking.booking_status===u.BookingStatus.Created&&((r=(s=o.booking.data)==null?void 0:s.supportingInformation)!=null&&r.appointmentSampleCollectionPlace?e={visible:!1}:e=(b=o.booking.data)!=null&&b.is_hbc?{icon:"dgic-support-thick",subtitile:i("psc.test_result_booking_diag_contact_you_and_check"),visible:!0}:{icon:"dgic-pin-map-thick",subtitile:i("psc.test_result_find_nearest_diag_branch"),visible:!0,buttonText:i("psc.test_result_booking_find_location_center")}),e}),l=t.computed(()=>{let e={visible:!1};switch(o.booking.booking_status){case u.BookingStatus.Created:e={subtitile:i("psc.test_result_booking_need_collect_sample"),buttonDisabled:!0,visible:!0};break;case u.BookingStatus.InProgress:e={subtitile:i("psc.test_result_booking_processing_sample"),visible:!0};break;case u.BookingStatus.Completed:e={subtitile:i("psc.test_result_booking_fully_ready"),visible:!0};break;case u.BookingStatus.Canceled:default:e={visible:!1}}return e});return(e,s)=>t.unref(n).visible||t.unref(l).visible?(t.openBlock(),t.createElementBlock("div",p,[t.unref(n).visible?(t.openBlock(),t.createBlock(a,{key:0,title:e.$t("psc.test_result_booking_next_step"),subtitle:t.unref(n).subtitile,icon:t.unref(n).icon||"","button-text":t.unref(n).buttonText,"onClick:button":s[0]||(s[0]=r=>c("click:find-location"))},null,8,["title","subtitle","icon","button-text"])):t.createCommentVNode("",!0),t.unref(l).visible?(t.openBlock(),t.createBlock(a,{key:1,title:e.$t("psc.test_result_booking_test_results"),subtitle:t.unref(l).subtitile,icon:"dgic-reports-thick","button-text":e.$t("psc.test_result_booking_view_results"),"button-disabled":t.unref(l).buttonDisabled,"onClick:button":s[1]||(s[1]=r=>c("click:view-results",o.booking.test_result_key))},null,8,["title","subtitle","button-text","button-disabled"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)}});module.exports=d;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components76.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components76.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"pat-shared-components76.js","sources":["../src/components/BookingDetail/BookingCtaButtons.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"psc-space-y-4\"\n}\n\nimport { BookingStatus } from '@/constants/Enums';\nimport type { Booking } from '@/types';\nimport { computed } from 'vue';\nimport { useI18n } from 'vue-i18n';\nimport CtaButton from './CtaButton.vue';\n\nexport interface CtaButtonType {\n icon?: string;\n title?: string;\n subtitile?: string;\n visible: boolean;\n buttonText?: string;\n buttonDisabled?: boolean;\n}\n\n/**\n * Props\n */\nexport interface Props {\n booking: Booking;\n}\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BookingCtaButtons',\n props: {\n booking: null\n },\n emits: ['click:view-results', 'click:find-location'],\n setup(__props: any, { emit }) {\n\nconst props = __props as { booking: Booking };\n\n\n\n/**\n * Events\n */\n\n\n/**\n * Data\n */\nconst { t } = useI18n();\nconst nextStepButton = computed<CtaButtonType>(() => {\n let result: CtaButtonType = {\n visible: false,\n };\n\n if (props.booking.booking_status === BookingStatus.Created) {\n if (\n props.booking.data?.supportingInformation\n ?.appointmentSampleCollectionPlace\n ) {\n result = {\n visible: false,\n };\n } else {\n result = props.booking.data?.is_hbc\n ? {\n icon: 'dgic-support-thick',\n subtitile: t('psc.test_result_booking_diag_contact_you_and_check'),\n visible: true,\n }\n : {\n icon: 'dgic-pin-map-thick',\n subtitile: t('psc.test_result_find_nearest_diag_branch'),\n visible: true,\n buttonText: t('psc.test_result_booking_find_location_center'),\n };\n }\n }\n\n return result;\n});\nconst viewResultButton = computed<CtaButtonType>(() => {\n let result: CtaButtonType = {\n visible: false,\n };\n\n switch (props.booking.booking_status) {\n case BookingStatus.Created:\n result = {\n subtitile: t('psc.test_result_booking_need_collect_sample'),\n buttonDisabled: true,\n visible: true,\n };\n break;\n case BookingStatus.InProgress:\n result = {\n subtitile: t('psc.test_result_booking_processing_sample'),\n visible: true,\n };\n break;\n case BookingStatus.Completed:\n result = {\n subtitile: t('psc.test_result_booking_fully_ready'),\n visible: true,\n };\n break;\n case BookingStatus.Canceled:\n default:\n result = {\n visible: false,\n };\n }\n\n return result;\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_unref(nextStepButton).visible || _unref(viewResultButton).visible)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_unref(nextStepButton).visible)\n ? (_openBlock(), _createBlock(CtaButton, {\n key: 0,\n title: _ctx.$t('psc.test_result_booking_next_step'),\n subtitle: _unref(nextStepButton).subtitile,\n icon: _unref(nextStepButton).icon || '',\n \"button-text\": _unref(nextStepButton).buttonText,\n \"onClick:button\": _cache[0] || (_cache[0] = ($event: any) => (emit('click:find-location')))\n }, null, 8, [\"title\", \"subtitle\", \"icon\", \"button-text\"]))\n : _createCommentVNode(\"\", true),\n (_unref(viewResultButton).visible)\n ? (_openBlock(), _createBlock(CtaButton, {\n key: 1,\n title: _ctx.$t('psc.test_result_booking_test_results'),\n subtitle: _unref(viewResultButton).subtitile,\n icon: \"dgic-reports-thick\",\n \"button-text\": _ctx.$t('psc.test_result_booking_view_results'),\n \"button-disabled\": _unref(viewResultButton).buttonDisabled,\n \"onClick:button\": _cache[1] || (_cache[1] = ($event: any) => (emit('click:view-results', props.booking.test_result_key)))\n }, null, 8, [\"title\", \"subtitle\", \"button-text\", \"button-disabled\"]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})"],"names":["_hoisted_1","_sfc_main","_defineComponent","__props","emit","props","t","useI18n","nextStepButton","computed","result","BookingStatus","_b","_a","_c","viewResultButton","_ctx","_cache","_unref","_openBlock","_createElementBlock","_createBlock","CtaButton","$event","_createCommentVNode"],"mappings":"kKAGMA,EAAa,CACjB,IAAK,EACL,MAAO,eACT,EAwB4BC,EAAiBC,kBAAA,CAC3C,OAAQ,oBACR,MAAO,CACL,QAAS,IACX,EACA,MAAO,CAAC,qBAAsB,qBAAqB,EACnD,MAAMC,EAAc,CAAE,KAAAC,GAAQ,CAEhC,MAAMC,EAAQF,EAYR,CAAE,EAAAG,GAAMC,EAAAA,UACRC,EAAiBC,EAAAA,SAAwB,IAAM,WACnD,IAAIC,EAAwB,CAC1B,QAAS,EAAA,EAGX,OAAIL,EAAM,QAAQ,iBAAmBM,EAAAA,cAAc,WAE/CC,GAAAC,EAAAR,EAAM,QAAQ,OAAd,YAAAQ,EAAoB,wBAApB,MAAAD,EACI,iCAEKF,EAAA,CACP,QAAS,EAAA,EAGFA,GAAAI,EAAAT,EAAM,QAAQ,OAAd,MAAAS,EAAoB,OACzB,CACE,KAAM,qBACN,UAAWR,EAAE,oDAAoD,EACjE,QAAS,EAAA,EAEX,CACE,KAAM,qBACN,UAAWA,EAAE,0CAA0C,EACvD,QAAS,GACT,WAAYA,EAAE,8CAA8C,CAAA,GAK/DI,CAAA,CACR,EACKK,EAAmBN,EAAAA,SAAwB,IAAM,CACrD,IAAIC,EAAwB,CAC1B,QAAS,EAAA,EAGH,OAAAL,EAAM,QAAQ,eAAgB,CACpC,KAAKM,EAAc,cAAA,QACRD,EAAA,CACP,UAAWJ,EAAE,6CAA6C,EAC1D,eAAgB,GAChB,QAAS,EAAA,EAEX,MACF,KAAKK,EAAc,cAAA,WACRD,EAAA,CACP,UAAWJ,EAAE,2CAA2C,EACxD,QAAS,EAAA,EAEX,MACF,KAAKK,EAAc,cAAA,UACRD,EAAA,CACP,UAAWJ,EAAE,qCAAqC,EAClD,QAAS,EAAA,EAEX,MACF,KAAKK,EAAAA,cAAc,SACnB,QACWD,EAAA,CACP,QAAS,EAAA,CAEf,CAEO,OAAAA,CAAA,CACR,EAEM,MAAA,CAACM,EAAUC,IACRC,QAAOV,CAAc,EAAE,SAAWU,EAAAA,MAAOH,CAAgB,EAAE,SAC9DI,EAAAA,UAAW,EAAGC,qBAAoB,MAAOpB,EAAY,CACnDkB,QAAOV,CAAc,EAAE,SACnBW,EAAAA,UAAW,EAAGE,cAAaC,EAAW,CACrC,IAAK,EACL,MAAON,EAAK,GAAG,mCAAmC,EAClD,SAAUE,EAAAA,MAAOV,CAAc,EAAE,UACjC,KAAMU,EAAA,MAAOV,CAAc,EAAE,MAAQ,GACrC,cAAeU,EAAAA,MAAOV,CAAc,EAAE,WACtC,iBAAkBS,EAAO,CAAC,IAAMA,EAAO,CAAC,EAAKM,GAAiBnB,EAAK,qBAAqB,EACvF,EAAA,KAAM,EAAG,CAAC,QAAS,WAAY,OAAQ,aAAa,CAAC,GACxDoB,qBAAoB,GAAI,EAAI,EAC/BN,QAAOH,CAAgB,EAAE,SACrBI,EAAAA,UAAW,EAAGE,cAAaC,EAAW,CACrC,IAAK,EACL,MAAON,EAAK,GAAG,sCAAsC,EACrD,SAAUE,EAAAA,MAAOH,CAAgB,EAAE,UACnC,KAAM,qBACN,cAAeC,EAAK,GAAG,sCAAsC,EAC7D,kBAAmBE,EAAAA,MAAOH,CAAgB,EAAE,eAC5C,iBAAkBE,EAAO,CAAC,IAAMA,EAAO,CAAC,EAAKM,GAAiBnB,EAAK,qBAAsBC,EAAM,QAAQ,eAAe,EACrH,EAAA,KAAM,EAAG,CAAC,QAAS,WAAY,cAAe,iBAAiB,CAAC,GACnEmB,qBAAoB,GAAI,EAAI,CACjC,CAAA,GACDA,EAAoB,mBAAA,GAAI,EAAI,CAElC,CAEA,CAAC"}
|