pat-shared-components 1.3.1-beta.21 → 1.3.1-beta.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pat-shared-components116.js +1 -1
- package/dist/pat-shared-components116.mjs +1 -1
- package/dist/pat-shared-components118.js +1 -1
- package/dist/pat-shared-components118.mjs +1 -1
- package/dist/pat-shared-components119.js +1 -1
- package/dist/pat-shared-components119.mjs +1 -1
- package/dist/pat-shared-components120.js +1 -1
- package/dist/pat-shared-components120.mjs +1 -1
- package/dist/pat-shared-components121.js +1 -1
- package/dist/pat-shared-components121.mjs +1 -1
- package/dist/pat-shared-components122.js +1 -1
- package/dist/pat-shared-components122.mjs +1 -1
- package/dist/pat-shared-components123.js +1 -1
- package/dist/pat-shared-components123.mjs +1 -1
- package/dist/pat-shared-components127.js +1 -1
- package/dist/pat-shared-components127.mjs +1 -1
- package/dist/pat-shared-components128.js +1 -1
- package/dist/pat-shared-components128.mjs +2 -2
- package/dist/pat-shared-components132.js +1 -1
- package/dist/pat-shared-components132.mjs +2 -2
- package/dist/pat-shared-components133.js +1 -1
- package/dist/pat-shared-components133.mjs +2 -2
- package/dist/pat-shared-components135.js +1 -1
- package/dist/pat-shared-components135.mjs +1 -1
- package/dist/pat-shared-components137.js +1 -1
- package/dist/pat-shared-components137.mjs +2 -2
- package/dist/pat-shared-components138.js +1 -1
- package/dist/pat-shared-components138.mjs +2 -2
- package/dist/pat-shared-components139.js +1 -1
- package/dist/pat-shared-components139.mjs +2 -2
- package/dist/pat-shared-components140.js +1 -1
- package/dist/pat-shared-components140.mjs +2 -2
- package/dist/pat-shared-components143.js +1 -1
- package/dist/pat-shared-components143.js.map +1 -1
- package/dist/pat-shared-components143.mjs +29 -9
- package/dist/pat-shared-components143.mjs.map +1 -1
- package/dist/pat-shared-components144.js +1 -5
- package/dist/pat-shared-components144.js.map +1 -1
- package/dist/pat-shared-components144.mjs +27 -789
- package/dist/pat-shared-components144.mjs.map +1 -1
- package/dist/pat-shared-components145.js +1 -1
- package/dist/pat-shared-components145.js.map +1 -1
- package/dist/pat-shared-components145.mjs +24 -5
- package/dist/pat-shared-components145.mjs.map +1 -1
- package/dist/pat-shared-components146.js +1 -1
- package/dist/pat-shared-components146.js.map +1 -1
- package/dist/pat-shared-components146.mjs +17 -25
- package/dist/pat-shared-components146.mjs.map +1 -1
- package/dist/pat-shared-components147.js +1 -4
- package/dist/pat-shared-components147.js.map +1 -1
- package/dist/pat-shared-components147.mjs +27 -1364
- package/dist/pat-shared-components147.mjs.map +1 -1
- package/dist/pat-shared-components148.js +1 -1
- package/dist/pat-shared-components148.js.map +1 -1
- package/dist/pat-shared-components148.mjs +9 -97
- package/dist/pat-shared-components148.mjs.map +1 -1
- package/dist/pat-shared-components149.js +5 -1
- package/dist/pat-shared-components149.js.map +1 -1
- package/dist/pat-shared-components149.mjs +789 -16
- package/dist/pat-shared-components149.mjs.map +1 -1
- package/dist/pat-shared-components150.js +1 -1
- package/dist/pat-shared-components150.js.map +1 -1
- package/dist/pat-shared-components150.mjs +5 -63
- package/dist/pat-shared-components150.mjs.map +1 -1
- package/dist/pat-shared-components151.js +1 -1
- package/dist/pat-shared-components151.js.map +1 -1
- package/dist/pat-shared-components151.mjs +25 -15
- package/dist/pat-shared-components151.mjs.map +1 -1
- package/dist/pat-shared-components152.js +4 -1
- package/dist/pat-shared-components152.js.map +1 -1
- package/dist/pat-shared-components152.mjs +1352 -94
- package/dist/pat-shared-components152.mjs.map +1 -1
- package/dist/pat-shared-components153.js +1 -1
- package/dist/pat-shared-components153.js.map +1 -1
- package/dist/pat-shared-components153.mjs +97 -7
- package/dist/pat-shared-components153.mjs.map +1 -1
- package/dist/pat-shared-components154.js +1 -1
- package/dist/pat-shared-components154.js.map +1 -1
- package/dist/pat-shared-components154.mjs +17 -4
- package/dist/pat-shared-components154.mjs.map +1 -1
- package/dist/pat-shared-components155.js +1 -1
- package/dist/pat-shared-components155.js.map +1 -1
- package/dist/pat-shared-components155.mjs +58 -43
- package/dist/pat-shared-components155.mjs.map +1 -1
- package/dist/pat-shared-components156.js +1 -1
- package/dist/pat-shared-components156.js.map +1 -1
- package/dist/pat-shared-components156.mjs +10 -24
- package/dist/pat-shared-components156.mjs.map +1 -1
- package/dist/pat-shared-components157.js +1 -1
- package/dist/pat-shared-components157.js.map +1 -1
- package/dist/pat-shared-components157.mjs +102 -24
- package/dist/pat-shared-components157.mjs.map +1 -1
- package/dist/pat-shared-components158.js +1 -1
- package/dist/pat-shared-components158.js.map +1 -1
- package/dist/pat-shared-components158.mjs +7 -24
- package/dist/pat-shared-components158.mjs.map +1 -1
- package/dist/pat-shared-components159.js +1 -1
- package/dist/pat-shared-components159.js.map +1 -1
- package/dist/pat-shared-components159.mjs +4 -17
- package/dist/pat-shared-components159.mjs.map +1 -1
- package/dist/pat-shared-components160.js +1 -1
- package/dist/pat-shared-components160.js.map +1 -1
- package/dist/pat-shared-components160.mjs +43 -22
- package/dist/pat-shared-components160.mjs.map +1 -1
- package/dist/pat-shared-components162.js +1 -1
- package/dist/pat-shared-components162.mjs +1 -1
- package/dist/pat-shared-components163.js +1 -1
- package/dist/pat-shared-components163.js.map +1 -1
- package/dist/pat-shared-components163.mjs +159 -2
- package/dist/pat-shared-components163.mjs.map +1 -1
- package/dist/pat-shared-components164.js +1 -1
- package/dist/pat-shared-components164.mjs +2 -10
- package/dist/pat-shared-components164.mjs.map +1 -1
- package/dist/pat-shared-components165.js +1 -1
- package/dist/pat-shared-components165.mjs +1 -9
- package/dist/pat-shared-components165.mjs.map +1 -1
- package/dist/pat-shared-components166.js +1 -4
- package/dist/pat-shared-components166.js.map +1 -1
- package/dist/pat-shared-components166.mjs +2 -1363
- package/dist/pat-shared-components166.mjs.map +1 -1
- package/dist/pat-shared-components167.js +1 -1
- package/dist/pat-shared-components167.mjs +2 -10
- package/dist/pat-shared-components167.mjs.map +1 -1
- package/dist/pat-shared-components168.js +1 -1
- package/dist/pat-shared-components168.js.map +1 -1
- package/dist/pat-shared-components168.mjs +2 -159
- package/dist/pat-shared-components168.mjs.map +1 -1
- package/dist/pat-shared-components169.js +1 -1
- package/dist/pat-shared-components169.mjs +2 -2
- package/dist/pat-shared-components170.js +1 -1
- package/dist/pat-shared-components170.mjs +1 -1
- package/dist/pat-shared-components171.js +1 -1
- package/dist/pat-shared-components171.js.map +1 -1
- package/dist/pat-shared-components171.mjs +25 -2
- package/dist/pat-shared-components171.mjs.map +1 -1
- package/dist/pat-shared-components172.js +1 -1
- package/dist/pat-shared-components172.mjs +10 -2
- package/dist/pat-shared-components172.mjs.map +1 -1
- package/dist/pat-shared-components173.js +1 -1
- package/dist/pat-shared-components173.mjs +9 -1
- package/dist/pat-shared-components173.mjs.map +1 -1
- package/dist/pat-shared-components174.js +4 -1
- package/dist/pat-shared-components174.js.map +1 -1
- package/dist/pat-shared-components174.mjs +1363 -77
- package/dist/pat-shared-components174.mjs.map +1 -1
- package/dist/pat-shared-components175.js +1 -1
- package/dist/pat-shared-components175.mjs +2 -2
- package/dist/pat-shared-components176.js +1 -1
- package/dist/pat-shared-components176.js.map +1 -1
- package/dist/pat-shared-components176.mjs +64 -43
- package/dist/pat-shared-components176.mjs.map +1 -1
- package/dist/pat-shared-components178.js +1 -1
- package/dist/pat-shared-components178.js.map +1 -1
- package/dist/pat-shared-components178.mjs +43 -58
- package/dist/pat-shared-components178.mjs.map +1 -1
- package/dist/pat-shared-components180.js +1 -1
- package/dist/pat-shared-components180.js.map +1 -1
- package/dist/pat-shared-components180.mjs +71 -2
- package/dist/pat-shared-components180.mjs.map +1 -1
- package/dist/pat-shared-components181.js +1 -1
- package/dist/pat-shared-components181.mjs +2 -2
- package/dist/pat-shared-components182.js +1 -1
- package/dist/pat-shared-components182.js.map +1 -1
- package/dist/pat-shared-components182.mjs +2 -25
- package/dist/pat-shared-components182.mjs.map +1 -1
- package/dist/pat-shared-components183.js +1 -1
- package/dist/pat-shared-components183.js.map +1 -1
- package/dist/pat-shared-components183.mjs +2 -37
- package/dist/pat-shared-components183.mjs.map +1 -1
- package/dist/pat-shared-components184.js +1 -1
- package/dist/pat-shared-components184.mjs +2 -13
- package/dist/pat-shared-components184.mjs.map +1 -1
- package/dist/pat-shared-components185.js +1 -1
- package/dist/pat-shared-components185.js.map +1 -1
- package/dist/pat-shared-components185.mjs +31 -21
- package/dist/pat-shared-components185.mjs.map +1 -1
- package/dist/pat-shared-components186.js +1 -1
- package/dist/pat-shared-components186.js.map +1 -1
- package/dist/pat-shared-components186.mjs +13 -58
- package/dist/pat-shared-components186.mjs.map +1 -1
- package/dist/pat-shared-components187.js +1 -1
- package/dist/pat-shared-components187.js.map +1 -1
- package/dist/pat-shared-components187.mjs +26 -19
- package/dist/pat-shared-components187.mjs.map +1 -1
- package/dist/pat-shared-components188.js +1 -6
- package/dist/pat-shared-components188.js.map +1 -1
- package/dist/pat-shared-components188.mjs +58 -107
- package/dist/pat-shared-components188.mjs.map +1 -1
- package/dist/pat-shared-components189.js +1 -6
- package/dist/pat-shared-components189.js.map +1 -1
- package/dist/pat-shared-components189.mjs +8 -948
- package/dist/pat-shared-components189.mjs.map +1 -1
- package/dist/pat-shared-components190.js +1 -7
- package/dist/pat-shared-components190.js.map +1 -1
- package/dist/pat-shared-components190.mjs +19 -860
- package/dist/pat-shared-components190.mjs.map +1 -1
- package/dist/pat-shared-components191.js +6 -1
- package/dist/pat-shared-components191.js.map +1 -1
- package/dist/pat-shared-components191.mjs +106 -5
- package/dist/pat-shared-components191.mjs.map +1 -1
- package/dist/pat-shared-components192.js +6 -1
- package/dist/pat-shared-components192.js.map +1 -1
- package/dist/pat-shared-components192.mjs +949 -3
- package/dist/pat-shared-components192.mjs.map +1 -1
- package/dist/pat-shared-components193.js +7 -1
- package/dist/pat-shared-components193.js.map +1 -1
- package/dist/pat-shared-components193.mjs +861 -2
- package/dist/pat-shared-components193.mjs.map +1 -1
- package/dist/pat-shared-components194.js +1 -1
- package/dist/pat-shared-components194.js.map +1 -1
- package/dist/pat-shared-components194.mjs +6 -4
- package/dist/pat-shared-components194.mjs.map +1 -1
- package/dist/pat-shared-components195.js +1 -1
- package/dist/pat-shared-components195.js.map +1 -1
- package/dist/pat-shared-components195.mjs +3 -7
- package/dist/pat-shared-components195.mjs.map +1 -1
- package/dist/pat-shared-components196.js +1 -1
- package/dist/pat-shared-components196.js.map +1 -1
- package/dist/pat-shared-components196.mjs +2 -7
- package/dist/pat-shared-components196.mjs.map +1 -1
- package/dist/pat-shared-components197.js +1 -1
- package/dist/pat-shared-components197.js.map +1 -1
- package/dist/pat-shared-components197.mjs +4 -2
- package/dist/pat-shared-components197.mjs.map +1 -1
- package/dist/pat-shared-components198.js +1 -1
- package/dist/pat-shared-components198.js.map +1 -1
- package/dist/pat-shared-components198.mjs +8 -2
- package/dist/pat-shared-components198.mjs.map +1 -1
- package/dist/pat-shared-components199.js +1 -1
- package/dist/pat-shared-components199.js.map +1 -1
- package/dist/pat-shared-components199.mjs +7 -2
- package/dist/pat-shared-components199.mjs.map +1 -1
- package/dist/pat-shared-components200.js +1 -1
- package/dist/pat-shared-components200.mjs +1 -1
- package/dist/pat-shared-components205.js +1 -1
- package/dist/pat-shared-components205.mjs +1 -1
- package/dist/pat-shared-components206.js +1 -1
- package/dist/pat-shared-components206.mjs +1 -1
- package/dist/pat-shared-components207.js +1 -1
- package/dist/pat-shared-components207.mjs +1 -1
- package/dist/pat-shared-components208.js +1 -1
- package/dist/pat-shared-components208.js.map +1 -1
- package/dist/pat-shared-components208.mjs +9 -39
- package/dist/pat-shared-components208.mjs.map +1 -1
- package/dist/pat-shared-components209.js +1 -1
- package/dist/pat-shared-components209.js.map +1 -1
- package/dist/pat-shared-components209.mjs +39 -9
- package/dist/pat-shared-components209.mjs.map +1 -1
- package/dist/pat-shared-components210.js +5 -1
- package/dist/pat-shared-components210.js.map +1 -1
- package/dist/pat-shared-components210.mjs +10 -78
- package/dist/pat-shared-components210.mjs.map +1 -1
- package/dist/pat-shared-components211.js +1 -1
- package/dist/pat-shared-components211.js.map +1 -1
- package/dist/pat-shared-components211.mjs +78 -20
- package/dist/pat-shared-components211.mjs.map +1 -1
- package/dist/pat-shared-components212.js +1 -1
- package/dist/pat-shared-components212.mjs +13 -12
- package/dist/pat-shared-components212.mjs.map +1 -1
- package/dist/pat-shared-components213.js +1 -1
- package/dist/pat-shared-components213.mjs +17 -14
- package/dist/pat-shared-components213.mjs.map +1 -1
- package/dist/pat-shared-components214.js +1 -1
- package/dist/pat-shared-components214.mjs +9 -9
- package/dist/pat-shared-components215.js +1 -1
- package/dist/pat-shared-components215.mjs +14 -32
- package/dist/pat-shared-components215.mjs.map +1 -1
- package/dist/pat-shared-components216.js +1 -1
- package/dist/pat-shared-components216.mjs +34 -5
- package/dist/pat-shared-components216.mjs.map +1 -1
- package/dist/pat-shared-components217.js +1 -1
- package/dist/pat-shared-components217.mjs +5 -18
- package/dist/pat-shared-components217.mjs.map +1 -1
- package/dist/pat-shared-components218.js +1 -1
- package/dist/pat-shared-components218.mjs +11 -13
- package/dist/pat-shared-components218.mjs.map +1 -1
- package/dist/pat-shared-components219.js +1 -5
- package/dist/pat-shared-components219.js.map +1 -1
- package/dist/pat-shared-components219.mjs +20 -10
- package/dist/pat-shared-components219.mjs.map +1 -1
- package/dist/pat-shared-components220.js +1 -1
- package/dist/pat-shared-components220.mjs +1 -1
- package/dist/pat-shared-components242.js +1 -1
- package/dist/pat-shared-components242.mjs +2 -2
- package/dist/pat-shared-components245.js +1 -1
- package/dist/pat-shared-components245.mjs +2 -2
- package/dist/pat-shared-components262.js +1 -1
- package/dist/pat-shared-components262.js.map +1 -1
- package/dist/pat-shared-components262.mjs +2 -53
- package/dist/pat-shared-components262.mjs.map +1 -1
- package/dist/pat-shared-components263.js +1 -1
- package/dist/pat-shared-components263.mjs +2 -2
- package/dist/pat-shared-components264.js +1 -1
- package/dist/pat-shared-components264.js.map +1 -1
- package/dist/pat-shared-components264.mjs +53 -2
- package/dist/pat-shared-components264.mjs.map +1 -1
- package/dist/pat-shared-components265.js +1 -1
- package/dist/pat-shared-components265.mjs +2 -2
- package/dist/pat-shared-components6.js +1 -1
- package/dist/pat-shared-components6.mjs +0 -1
- package/dist/pat-shared-components6.mjs.map +1 -1
- package/dist/pat-shared-components63.js +1 -1
- package/dist/pat-shared-components63.mjs +1 -1
- package/dist/pat-shared-components65.js +1 -1
- package/dist/pat-shared-components65.mjs +3 -3
- package/dist/pat-shared-components69.js +1 -1
- package/dist/pat-shared-components69.mjs +1 -1
- package/dist/pat-shared-components7.js +1 -1
- package/dist/pat-shared-components7.mjs +0 -1
- package/dist/pat-shared-components7.mjs.map +1 -1
- package/dist/pat-shared-components71.js +1 -1
- package/dist/pat-shared-components71.mjs +1 -1
- package/dist/pat-shared-components78.js +1 -1
- package/dist/pat-shared-components78.mjs +2 -2
- package/dist/pat-shared-components80.js +1 -1
- package/dist/pat-shared-components80.js.map +1 -1
- package/dist/pat-shared-components80.mjs +28 -32
- package/dist/pat-shared-components80.mjs.map +1 -1
- package/dist/pat-shared-components81.js +1 -1
- package/dist/pat-shared-components81.mjs +2 -2
- package/dist/pat-shared-components84.js +1 -1
- package/dist/pat-shared-components84.mjs +2 -2
- package/dist/pat-shared-components85.js +1 -1
- package/dist/pat-shared-components85.mjs +2 -2
- package/dist/pat-shared-components87.js +1 -1
- package/dist/pat-shared-components87.mjs +3 -3
- package/dist/pat-shared-components88.js +1 -1
- package/dist/pat-shared-components88.mjs +1 -1
- package/dist/pat-shared-components89.js +1 -1
- package/dist/pat-shared-components89.mjs +2 -2
- package/dist/pat-shared-components94.js +1 -1
- package/dist/pat-shared-components94.mjs +3 -3
- package/dist/pat-shared-components95.js +1 -1
- package/dist/pat-shared-components95.mjs +1 -1
- package/dist/pat-shared-components96.js +1 -1
- package/dist/pat-shared-components96.mjs +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components158.js","sources":["../
|
|
1
|
+
{"version":3,"file":"pat-shared-components158.js","sources":["../node_modules/pat-design-system/dist/pat-design-system58.mjs"],"sourcesContent":["const s = (t, e) => {\n const o = t.__vccOpts || t;\n for (const [r, c] of e)\n o[r] = c;\n return o;\n};\nexport {\n s as default\n};\n//# sourceMappingURL=pat-design-system58.mjs.map\n"],"names":["s","t","e","o","r","c"],"mappings":"aAAK,MAACA,EAAI,CAACC,EAAGC,IAAM,CAClB,MAAMC,EAAIF,EAAE,WAAaA,EACzB,SAAW,CAACG,EAAGC,CAAC,IAAKH,EACnBC,EAAEC,CAAC,EAAIC,EACT,OAAOF,CACT","x_google_ignoreList":[0]}
|
|
@@ -1,27 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
return
|
|
6
|
-
|
|
7
|
-
[o.Male]: e("psc.male"),
|
|
8
|
-
[o.Female]: e("psc.female")
|
|
9
|
-
}[t] : "",
|
|
10
|
-
getDocumentType: (t) => t ? {
|
|
11
|
-
[n.IDCard]: e(
|
|
12
|
-
"psc.test_result_booking_document_type_id_number"
|
|
13
|
-
),
|
|
14
|
-
[n.Passport]: e(
|
|
15
|
-
"psc.test_result_booking_document_type_passport_no"
|
|
16
|
-
),
|
|
17
|
-
[n.PassportNo]: e(
|
|
18
|
-
"psc.test_result_booking_document_type_passport_no"
|
|
19
|
-
),
|
|
20
|
-
[n.Unknown]: ""
|
|
21
|
-
}[t] : ""
|
|
22
|
-
};
|
|
23
|
-
}
|
|
1
|
+
const n = (o, s) => {
|
|
2
|
+
const c = o.__vccOpts || o;
|
|
3
|
+
for (const [t, r] of s)
|
|
4
|
+
c[t] = r;
|
|
5
|
+
return c;
|
|
6
|
+
};
|
|
24
7
|
export {
|
|
25
|
-
|
|
8
|
+
n as default
|
|
26
9
|
};
|
|
27
10
|
//# sourceMappingURL=pat-shared-components158.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components158.mjs","sources":["../
|
|
1
|
+
{"version":3,"file":"pat-shared-components158.mjs","sources":["../node_modules/pat-design-system/dist/pat-design-system58.mjs"],"sourcesContent":["const s = (t, e) => {\n const o = t.__vccOpts || t;\n for (const [r, c] of e)\n o[r] = c;\n return o;\n};\nexport {\n s as default\n};\n//# sourceMappingURL=pat-design-system58.mjs.map\n"],"names":["s","t","e","o","r","c"],"mappings":"AAAK,MAACA,IAAI,CAACC,GAAGC,MAAM;AAClB,QAAMC,IAAIF,EAAE,aAAaA;AACzB,aAAW,CAACG,GAAGC,CAAC,KAAKH;AACnB,IAAAC,EAAEC,CAAC,IAAIC;AACT,SAAOF;AACT;","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const e=require("./pat-shared-components160.js"),s=require("./pat-shared-components158.js"),t=s(e,[["__scopeId","data-v-c503c9bf"]]);module.exports=t;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components159.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components159.js","sources":["../
|
|
1
|
+
{"version":3,"file":"pat-shared-components159.js","sources":["../node_modules/pat-design-system/dist/pat-design-system33.mjs"],"sourcesContent":["import o from \"./pat-design-system63.mjs\";\nimport \"./pat-design-system64.mjs\";\nimport \"./pat-design-system65.mjs\";\nimport t from \"./pat-design-system58.mjs\";\nconst c = /* @__PURE__ */ t(o, [[\"__scopeId\", \"data-v-c503c9bf\"]]);\nexport {\n c as default\n};\n//# sourceMappingURL=pat-design-system33.mjs.map\n"],"names":["c","t","o"],"mappings":"yGAIMA,EAAoBC,EAAEC,EAAG,CAAC,CAAC,YAAa,iBAAiB,CAAC,CAAC","x_google_ignoreList":[0]}
|
|
@@ -1,20 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
return {
|
|
5
|
-
getDisplayAmount: (t) => {
|
|
6
|
-
const e = new Intl.NumberFormat("vi-VN", {
|
|
7
|
-
style: "currency",
|
|
8
|
-
currency: "VND"
|
|
9
|
-
}).format(t), n = e.replace(/\./g, ",");
|
|
10
|
-
return {
|
|
11
|
-
vi: e,
|
|
12
|
-
en: n
|
|
13
|
-
}[r.value] || t;
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
}
|
|
1
|
+
import o from "./pat-shared-components160.mjs";
|
|
2
|
+
import t from "./pat-shared-components158.mjs";
|
|
3
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c503c9bf"]]);
|
|
17
4
|
export {
|
|
18
|
-
|
|
5
|
+
a as default
|
|
19
6
|
};
|
|
20
7
|
//# sourceMappingURL=pat-shared-components159.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components159.mjs","sources":["../
|
|
1
|
+
{"version":3,"file":"pat-shared-components159.mjs","sources":["../node_modules/pat-design-system/dist/pat-design-system33.mjs"],"sourcesContent":["import o from \"./pat-design-system63.mjs\";\nimport \"./pat-design-system64.mjs\";\nimport \"./pat-design-system65.mjs\";\nimport t from \"./pat-design-system58.mjs\";\nconst c = /* @__PURE__ */ t(o, [[\"__scopeId\", \"data-v-c503c9bf\"]]);\nexport {\n c as default\n};\n//# sourceMappingURL=pat-design-system33.mjs.map\n"],"names":["c","t","o"],"mappings":";;AAIK,MAACA,IAAoBC,gBAAAA,EAAEC,GAAG,CAAC,CAAC,aAAa,iBAAiB,CAAC,CAAC;","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t=require("vue"),d=t.defineComponent({__name:"BCollapse",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(i,{emit:l}){const n=i,s=t.computed({get(){return n.modelValue},set(e){l("update:modelValue",e)}}),h=e=>{const{width:o}=getComputedStyle(e);e.style.width=o,e.style.position="absolute",e.style.visibility="hidden",e.style.height="auto";const{height:r}=getComputedStyle(e);e.style.width="",e.style.position="",e.style.visibility="",e.style.height="0px",getComputedStyle(e).height,requestAnimationFrame(()=>{e.style.height=r})},a=e=>{e.style.height="auto"},u=e=>{const{height:o}=getComputedStyle(e);e.style.height=o,getComputedStyle(e).height,requestAnimationFrame(()=>{e.style.height="0px"})};return(e,o)=>(t.openBlock(),t.createBlock(t.Transition,{name:"expand",onEnter:h,onAfterEnter:a,onLeave:u},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",null,[t.renderSlot(e.$slots,"default",{},void 0,!0)],512),[[t.vShow,s.value]])]),_:3},8,["onEnter","onAfterEnter","onLeave"]))}});module.exports=d;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components160.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components160.js","sources":["../
|
|
1
|
+
{"version":3,"file":"pat-shared-components160.js","sources":["../node_modules/pat-design-system/dist/pat-design-system63.mjs"],"sourcesContent":["import { defineComponent as u, computed as d, openBlock as p, createBlock as y, Transition as c, withCtx as g, withDirectives as v, createElementVNode as f, renderSlot as m, vShow as C } from \"vue\";\nconst w = /* @__PURE__ */ u({\n __name: \"BCollapse\",\n props: {\n modelValue: { type: Boolean }\n },\n emits: [\"update:modelValue\"],\n setup(o, { emit: i }) {\n const s = o, a = d({\n get() {\n return s.modelValue;\n },\n set(t) {\n i(\"update:modelValue\", t);\n }\n }), n = (t) => {\n const { width: e } = getComputedStyle(t);\n t.style.width = e, t.style.position = \"absolute\", t.style.visibility = \"hidden\", t.style.height = \"auto\";\n const { height: h } = getComputedStyle(t);\n t.style.width = \"\", t.style.position = \"\", t.style.visibility = \"\", t.style.height = \"0px\", getComputedStyle(t).height, requestAnimationFrame(() => {\n t.style.height = h;\n });\n }, r = (t) => {\n t.style.height = \"auto\";\n }, l = (t) => {\n const { height: e } = getComputedStyle(t);\n t.style.height = e, getComputedStyle(t).height, requestAnimationFrame(() => {\n t.style.height = \"0px\";\n });\n };\n return (t, e) => (p(), y(c, {\n name: \"expand\",\n onEnter: n,\n onAfterEnter: r,\n onLeave: l\n }, {\n default: g(() => [\n v(f(\"div\", null, [\n m(t.$slots, \"default\", {}, void 0, !0)\n ], 512), [\n [C, a.value]\n ])\n ]),\n _: 3\n }, 8, [\"onEnter\", \"onAfterEnter\", \"onLeave\"]));\n }\n});\nexport {\n w as default\n};\n//# sourceMappingURL=pat-design-system63.mjs.map\n"],"names":["w","u","o","i","s","a","d","t","n","e","h","r","l","p","y","c","g","v","f","m","C"],"mappings":"oCACMA,EAAoBC,EAAAA,gBAAE,CAC1B,OAAQ,YACR,MAAO,CACL,WAAY,CAAE,KAAM,OAAS,CAC9B,EACD,MAAO,CAAC,mBAAmB,EAC3B,MAAMC,EAAG,CAAE,KAAMC,CAAC,EAAI,CACpB,MAAMC,EAAIF,EAAGG,EAAIC,WAAE,CACjB,KAAM,CACJ,OAAOF,EAAE,UACV,EACD,IAAIG,EAAG,CACLJ,EAAE,oBAAqBI,CAAC,CACzB,CACP,CAAK,EAAGC,EAAKD,GAAM,CACb,KAAM,CAAE,MAAOE,CAAG,EAAG,iBAAiBF,CAAC,EACvCA,EAAE,MAAM,MAAQE,EAAGF,EAAE,MAAM,SAAW,WAAYA,EAAE,MAAM,WAAa,SAAUA,EAAE,MAAM,OAAS,OAClG,KAAM,CAAE,OAAQG,CAAG,EAAG,iBAAiBH,CAAC,EACxCA,EAAE,MAAM,MAAQ,GAAIA,EAAE,MAAM,SAAW,GAAIA,EAAE,MAAM,WAAa,GAAIA,EAAE,MAAM,OAAS,MAAO,iBAAiBA,CAAC,EAAE,OAAQ,sBAAsB,IAAM,CAClJA,EAAE,MAAM,OAASG,CACzB,CAAO,CACP,EAAOC,EAAKJ,GAAM,CACZA,EAAE,MAAM,OAAS,MACvB,EAAOK,EAAKL,GAAM,CACZ,KAAM,CAAE,OAAQE,CAAG,EAAG,iBAAiBF,CAAC,EACxCA,EAAE,MAAM,OAASE,EAAG,iBAAiBF,CAAC,EAAE,OAAQ,sBAAsB,IAAM,CAC1EA,EAAE,MAAM,OAAS,KACzB,CAAO,CACP,EACI,MAAO,CAACA,EAAGE,KAAOI,EAAC,UAAA,EAAIC,EAAAA,YAAEC,EAAAA,WAAG,CAC1B,KAAM,SACN,QAASP,EACT,aAAcG,EACd,QAASC,CACf,EAAO,CACD,QAASI,EAAC,QAAC,IAAM,CACfC,iBAAEC,EAAAA,mBAAE,MAAO,KAAM,CACfC,EAAC,WAACZ,EAAE,OAAQ,UAAW,CAAA,EAAI,OAAQ,EAAE,CACtC,EAAE,GAAG,EAAG,CACP,CAACa,EAAC,MAAEf,EAAE,KAAK,CACrB,CAAS,CACT,CAAO,EACD,EAAG,CACT,EAAO,EAAG,CAAC,UAAW,eAAgB,SAAS,CAAC,EAC7C,CACH,CAAC","x_google_ignoreList":[0]}
|
|
@@ -1,30 +1,51 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
class: "psc-w-full psc-text-sm psc-text-black/[0.6]"
|
|
5
|
-
}, b = /* @__PURE__ */ o({
|
|
6
|
-
__name: "TitleIcon",
|
|
1
|
+
import { defineComponent as r, computed as u, openBlock as m, createBlock as p, Transition as y, withCtx as g, withDirectives as c, createElementVNode as v, renderSlot as C, vShow as f } from "vue";
|
|
2
|
+
const S = /* @__PURE__ */ r({
|
|
3
|
+
__name: "BCollapse",
|
|
7
4
|
props: {
|
|
8
|
-
|
|
9
|
-
title: null,
|
|
10
|
-
subtitle: { default: "" }
|
|
5
|
+
modelValue: { type: Boolean }
|
|
11
6
|
},
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
7
|
+
emits: ["update:modelValue"],
|
|
8
|
+
setup(o, { emit: l }) {
|
|
9
|
+
const i = o, n = u({
|
|
10
|
+
get() {
|
|
11
|
+
return i.modelValue;
|
|
12
|
+
},
|
|
13
|
+
set(e) {
|
|
14
|
+
l("update:modelValue", e);
|
|
15
|
+
}
|
|
16
|
+
}), s = (e) => {
|
|
17
|
+
const { width: t } = getComputedStyle(e);
|
|
18
|
+
e.style.width = t, e.style.position = "absolute", e.style.visibility = "hidden", e.style.height = "auto";
|
|
19
|
+
const { height: d } = getComputedStyle(e);
|
|
20
|
+
e.style.width = "", e.style.position = "", e.style.visibility = "", e.style.height = "0px", getComputedStyle(e).height, requestAnimationFrame(() => {
|
|
21
|
+
e.style.height = d;
|
|
22
|
+
});
|
|
23
|
+
}, a = (e) => {
|
|
24
|
+
e.style.height = "auto";
|
|
25
|
+
}, h = (e) => {
|
|
26
|
+
const { height: t } = getComputedStyle(e);
|
|
27
|
+
e.style.height = t, getComputedStyle(e).height, requestAnimationFrame(() => {
|
|
28
|
+
e.style.height = "0px";
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
return (e, t) => (m(), p(y, {
|
|
32
|
+
name: "expand",
|
|
33
|
+
onEnter: s,
|
|
34
|
+
onAfterEnter: a,
|
|
35
|
+
onLeave: h
|
|
36
|
+
}, {
|
|
37
|
+
default: g(() => [
|
|
38
|
+
c(v("div", null, [
|
|
39
|
+
C(e.$slots, "default", {}, void 0, !0)
|
|
40
|
+
], 512), [
|
|
41
|
+
[f, n.value]
|
|
42
|
+
])
|
|
19
43
|
]),
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
t.subtitle ? (s(), c("div", m, l(t.subtitle), 1)) : p("", !0)
|
|
23
|
-
])
|
|
24
|
-
]));
|
|
44
|
+
_: 3
|
|
45
|
+
}, 8, ["onEnter", "onAfterEnter", "onLeave"]));
|
|
25
46
|
}
|
|
26
47
|
});
|
|
27
48
|
export {
|
|
28
|
-
|
|
49
|
+
S as default
|
|
29
50
|
};
|
|
30
51
|
//# sourceMappingURL=pat-shared-components160.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components160.mjs","sources":["../
|
|
1
|
+
{"version":3,"file":"pat-shared-components160.mjs","sources":["../node_modules/pat-design-system/dist/pat-design-system63.mjs"],"sourcesContent":["import { defineComponent as u, computed as d, openBlock as p, createBlock as y, Transition as c, withCtx as g, withDirectives as v, createElementVNode as f, renderSlot as m, vShow as C } from \"vue\";\nconst w = /* @__PURE__ */ u({\n __name: \"BCollapse\",\n props: {\n modelValue: { type: Boolean }\n },\n emits: [\"update:modelValue\"],\n setup(o, { emit: i }) {\n const s = o, a = d({\n get() {\n return s.modelValue;\n },\n set(t) {\n i(\"update:modelValue\", t);\n }\n }), n = (t) => {\n const { width: e } = getComputedStyle(t);\n t.style.width = e, t.style.position = \"absolute\", t.style.visibility = \"hidden\", t.style.height = \"auto\";\n const { height: h } = getComputedStyle(t);\n t.style.width = \"\", t.style.position = \"\", t.style.visibility = \"\", t.style.height = \"0px\", getComputedStyle(t).height, requestAnimationFrame(() => {\n t.style.height = h;\n });\n }, r = (t) => {\n t.style.height = \"auto\";\n }, l = (t) => {\n const { height: e } = getComputedStyle(t);\n t.style.height = e, getComputedStyle(t).height, requestAnimationFrame(() => {\n t.style.height = \"0px\";\n });\n };\n return (t, e) => (p(), y(c, {\n name: \"expand\",\n onEnter: n,\n onAfterEnter: r,\n onLeave: l\n }, {\n default: g(() => [\n v(f(\"div\", null, [\n m(t.$slots, \"default\", {}, void 0, !0)\n ], 512), [\n [C, a.value]\n ])\n ]),\n _: 3\n }, 8, [\"onEnter\", \"onAfterEnter\", \"onLeave\"]));\n }\n});\nexport {\n w as default\n};\n//# sourceMappingURL=pat-design-system63.mjs.map\n"],"names":["w","u","i","s","a","d","t","n","e","h","r","l","p","y","c","g","v","f","m","C"],"mappings":";AACK,MAACA,IAAoBC,gBAAAA,EAAE;AAAA,EAC1B,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,YAAY,EAAE,MAAM,QAAS;AAAA,EAC9B;AAAA,EACD,OAAO,CAAC,mBAAmB;AAAA,EAC3B,MAAM,GAAG,EAAE,MAAMC,EAAC,GAAI;AACpB,UAAMC,IAAI,GAAGC,IAAIC,EAAE;AAAA,MACjB,MAAM;AACJ,eAAOF,EAAE;AAAA,MACV;AAAA,MACD,IAAIG,GAAG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AC,WAAW,gBAAgB,SAAS,CAAC;AAAA,EAC7C;AACH,CAAC;","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),n=require("./pat-shared-
|
|
1
|
+
"use strict";const e=require("vue"),n=require("./pat-shared-components147.js"),c=require("./pat-shared-components85.js"),i={class:"psc-flex psc-flex-wrap psc-space-y-4 psc-rounded-lg psc-border psc-border-gray-lighten-2 psc-p-4 psc-shadow"},u={key:0,class:"psc-w-full"},r=e.defineComponent({__name:"CtaButton",props:{icon:null,title:null,subtitle:{default:""},buttonText:{default:""},buttonDisabled:{type:Boolean,default:!1}},emits:["click:button"],setup(l,{emit:o}){const t=l;return(p,s)=>(e.openBlock(),e.createElementBlock("div",i,[e.createVNode(n,{icon:t.icon,title:t.title,subtitle:t.subtitle},null,8,["icon","title","subtitle"]),t.buttonText?(e.openBlock(),e.createElementBlock("div",u,[e.createVNode(e.unref(c),{class:"psc-w-full",type:"primary",disabled:t.buttonDisabled,onClick:s[0]||(s[0]=a=>o("click:button"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.buttonText),1)]),_:1},8,["disabled"])])):e.createCommentVNode("",!0)]))}});module.exports=r;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components162.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as c, openBlock as o, createElementBlock as l, createVNode as s, unref as r, withCtx as a, createTextVNode as p, toDisplayString as u, createCommentVNode as d } from "vue";
|
|
2
|
-
import b from "./pat-shared-
|
|
2
|
+
import b from "./pat-shared-components147.mjs";
|
|
3
3
|
import f from "./pat-shared-components85.mjs";
|
|
4
4
|
const m = { class: "psc-flex psc-flex-wrap psc-space-y-4 psc-rounded-lg psc-border psc-border-gray-lighten-2 psc-p-4 psc-shadow" }, _ = {
|
|
5
5
|
key: 0,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("vue"),N=require("./pat-shared-components5.js"),u=require("./pat-shared-components190.js"),B=require("./pat-shared-components136.js"),D=require("./pat-shared-components64.js"),x=require("./pat-shared-components161.js"),C=r=>(e.pushScopeId("data-v-2fbd1131"),r=r(),e.popScopeId(),r),w={class:"psc-flex psc-w-full psc-flex-wrap psc-justify-center psc-space-y-2 psc-overflow-hidden"},R={key:0,class:"psc-w-full psc-py-4"},T={class:"custom-steps"},I={class:"steps-line-container"},K=C(()=>e.createElementVNode("div",{class:"steps-line"},null,-1)),q=["onClick"],b={class:"steps-content"},M={class:"step-title"},$={key:0,class:"step-description"},z={key:1,class:"psc-w-full"},A={class:"-psc-mx-0.5 psc-flex psc-flex-wrap psc-text-sm psc-text-black/[0.6]"},F={key:0,class:"psc-flex-auto psc-px-0.5"},H={class:"psc-mr-1"},L={key:1,class:"psc-flex-auto psc-px-0.5 psc-text-right"},j={class:"psc-mr-1"},O=e.defineComponent({__name:"ResultReadyV2",props:{testResult:null,timeline:{default:void 0},listActionEvent:{default:void 0}},setup(r){const l=r,{t:p}=D.useI18n(),d=e.computed(()=>{var t;return(t=l.listActionEvent)!=null?t:B.ActionEventMap}),a=e.computed(()=>u.formatDateTimeShort(l.testResult.sample_collected_at)),_=e.computed(()=>u.formatDateTimeShort(l.testResult.result_at)),m=e.computed(()=>l.testResult.result_status===N.TestResultStatus.Ready),v=["ordered","sample_collected","in_progress","partially_approved","approved"],h=t=>{const c=v.indexOf(t);return c===-1?0:c},S=e.computed(()=>{if(!l.timeline||l.timeline.length===0)return new Map;const t=new Map,c=[...l.timeline].sort((n,s)=>new Date(s.created_at).getTime()-new Date(n.created_at).getTime());return v.forEach(n=>{const s=c.find(E=>d.value[E.action_event]===n);s&&t.set(n,s.created_at)}),t}),g=()=>{if(!l.timeline||l.timeline.length===0)return 0;let t=0;return l.timeline.forEach(c=>{const n=d.value[c.action_event];if(n){const s=h(n);s>t&&(t=s)}}),t},f=[{key:"ordered",titleKey:"psc.test_result_step_ordered"},{key:"sample_collected",titleKey:"psc.test_result_step_sample_collected"},{key:"in_progress",titleKey:"psc.test_result_step_in_progress"},{key:"partially_approved",titleKey:"psc.test_result_step_partially_approved"},{key:"approved",titleKey:"psc.test_result_step_approved"}],y=t=>{const c=S.value.get(t);if(c)return u.formatDateTimeShort(c);switch(t){case"sample_collected":return a.value;case"approved":return _.value;default:return}},o=e.computed(()=>g()),k=e.computed(()=>typeof i.value=="number"?i.value:o.value),i=e.ref(null),V=t=>{t<=o.value&&(i.value=t)};return(t,c)=>(e.openBlock(),e.createElementBlock("div",w,[e.createVNode(x,{status:l.testResult.result_status},null,8,["status"]),l.timeline&&l.timeline.length>0?(e.openBlock(),e.createElementBlock("div",R,[e.createElementVNode("div",T,[e.createElementVNode("div",I,[K,e.createElementVNode("div",{class:e.normalizeClass(["steps-line-progress",`progress-to-${e.unref(o)}`])},null,2),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(f,(n,s)=>e.createElementVNode("div",{key:n.key,class:e.normalizeClass(["step-dot",[{active:s<=e.unref(o),current:s===e.unref(o),disabled:s>e.unref(o),selected:s===e.unref(k)},`step-dot-${s}`]]),onClick:E=>V(s)},null,10,q)),64))]),e.createElementVNode("div",b,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(f,(n,s)=>e.createElementVNode("div",{key:n.key,class:e.normalizeClass(["step-content-box",[{active:s===e.unref(k)},`step-content-${s}`]])},[e.createElementVNode("div",M,e.toDisplayString(e.unref(p)(n.titleKey)),1),y(n.key)?(e.openBlock(),e.createElementBlock("div",$,e.toDisplayString(y(n.key)),1)):e.createCommentVNode("",!0)],2)),64))])])])):e.createCommentVNode("",!0),e.unref(a)||e.unref(m)?(e.openBlock(),e.createElementBlock("div",z,[e.createElementVNode("div",A,[e.unref(a)?(e.openBlock(),e.createElementBlock("div",F,[e.createElementVNode("span",H,e.toDisplayString(e.unref(p)("psc.test_result_sample_collected")),1),e.createElementVNode("span",null,e.toDisplayString(e.unref(a)),1)])):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createElementBlock("div",L,[e.createElementVNode("span",j,e.toDisplayString(e.unref(p)("psc.test_result_result_ready")),1),e.createElementVNode("span",null,e.toDisplayString(e.unref(_)),1)])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]))}});module.exports=O;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components163.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components163.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"pat-shared-components163.js","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":"wPAGMA,MAAqBC,EAAa,YAAA,iBAAiB,EAAEC,EAAEA,IAAIC,EAAAA,aAAcD,GACzEE,EAAa,CAAE,MAAO,0FACtBC,EAAa,CACjB,IAAK,EACL,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,EAAG,CAAC,CAAA,CAC1E,GACDwC,EAAAA,mBAAoB,GAAI,EAAI,CAAA,CACjC,CAAA,CACF,GACDA,EAAAA,mBAAoB,GAAI,EAAI,CAAA,CACjC,EAEH,CAEA,CAAC"}
|
|
@@ -1,5 +1,162 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineComponent as $, computed as p, ref as V, openBlock as r, createElementBlock as a, createVNode as A, createElementVNode as o, normalizeClass as y, unref as s, Fragment as C, renderList as I, toDisplayString as d, createCommentVNode as _, pushScopeId as N, popScopeId as B } from "vue";
|
|
2
|
+
import { TestResultStatus as F } from "./pat-shared-components5.mjs";
|
|
3
|
+
import { formatDateTimeShort as h } from "./pat-shared-components190.mjs";
|
|
4
|
+
import { ActionEventMap as j } from "./pat-shared-components136.mjs";
|
|
5
|
+
import { useI18n as z } from "./pat-shared-components64.mjs";
|
|
6
|
+
import L from "./pat-shared-components161.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
|
+
});
|
|
2
159
|
export {
|
|
3
|
-
|
|
160
|
+
de as default
|
|
4
161
|
};
|
|
5
162
|
//# sourceMappingURL=pat-shared-components163.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components163.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"pat-shared-components163.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,OAAO,gBACtBC,IAAa;AAAA,EACjB,KAAK;AAAA,EACL,OAA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oB,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,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e="";module.exports=e;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components164.js.map
|
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import p from "./pat-shared-components41.mjs";
|
|
3
|
-
const r = {}, a = { class: "psc-space-y-4" }, g = /* @__PURE__ */ d('<div class="psc-h-8 psc-w-[64%] psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300"></div><div class="psc-space-y-3 psc-rounded-lg psc-p-3 psc-shadow"><div class="psc-h-7 psc-w-1/2 psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300"></div><div class="psc-h-5 psc-w-full psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300"></div><div class="psc-h-5 psc-w-full psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300"></div><div class="psc-h-7 psc-w-1/2 psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300"></div><div class="psc-h-5 psc-w-full psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300"></div><div class="psc-h-5 psc-w-full psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300"></div></div>', 2), e = [
|
|
4
|
-
g
|
|
5
|
-
];
|
|
6
|
-
function l(o, i) {
|
|
7
|
-
return s(), c("div", a, e);
|
|
8
|
-
}
|
|
9
|
-
const v = /* @__PURE__ */ p(r, [["render", l]]);
|
|
1
|
+
const e = "";
|
|
10
2
|
export {
|
|
11
|
-
|
|
3
|
+
e as default
|
|
12
4
|
};
|
|
13
5
|
//# sourceMappingURL=pat-shared-components164.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components164.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pat-shared-components164.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("./pat-shared-components129.js");module.exports=e;
|
|
2
2
|
//# sourceMappingURL=pat-shared-components165.js.map
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import d from "./pat-shared-components41.mjs";
|
|
3
|
-
const a = {}, e = { class: "psc-flex psc-flex-wrap psc-space-y-4 psc-rounded-lg psc-p-3 psc-shadow" }, l = /* @__PURE__ */ p('<div class="psc-flex psc-w-full"><div class="psc-flex-initial"><div class="psc-h-12 psc-w-12 psc-rounded-full psc-bg-gray-100 dark:psc-bg-gray-300"></div></div><div class="psc-flex-auto psc-space-y-3 psc-pl-2"><div class="psc-h-5 psc-w-full psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300"></div><div class="psc-h-5 psc-w-full psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300"></div></div></div><div class="psc-h-10 psc-w-full psc-rounded-lg psc-bg-gray-100 dark:psc-bg-gray-300"></div>', 2), r = [
|
|
4
|
-
l
|
|
5
|
-
];
|
|
6
|
-
function o(t, i) {
|
|
7
|
-
return s(), c("div", e, r);
|
|
8
|
-
}
|
|
9
|
-
const f = /* @__PURE__ */ d(a, [["render", o]]);
|
|
1
|
+
import f from "./pat-shared-components129.mjs";
|
|
10
2
|
export {
|
|
11
3
|
f as default
|
|
12
4
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pat-shared-components165.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pat-shared-components165.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|