@asdp/ferryui 0.1.22-dev.10301 → 0.1.22-dev.10309
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +3 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -438,6 +438,10 @@ interface CardTicketLabels {
|
|
|
438
438
|
totalPriceMissing: string;
|
|
439
439
|
}
|
|
440
440
|
interface CardTicketProps {
|
|
441
|
+
/**
|
|
442
|
+
* Load type
|
|
443
|
+
*/
|
|
444
|
+
loadType?: number;
|
|
441
445
|
/**
|
|
442
446
|
* Route item
|
|
443
447
|
*/
|
|
@@ -1748,6 +1752,7 @@ interface LoadType {
|
|
|
1748
1752
|
id: string;
|
|
1749
1753
|
name: string;
|
|
1750
1754
|
};
|
|
1755
|
+
loadType: string;
|
|
1751
1756
|
}
|
|
1752
1757
|
interface IdentityType {
|
|
1753
1758
|
id: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -438,6 +438,10 @@ interface CardTicketLabels {
|
|
|
438
438
|
totalPriceMissing: string;
|
|
439
439
|
}
|
|
440
440
|
interface CardTicketProps {
|
|
441
|
+
/**
|
|
442
|
+
* Load type
|
|
443
|
+
*/
|
|
444
|
+
loadType?: number;
|
|
441
445
|
/**
|
|
442
446
|
* Route item
|
|
443
447
|
*/
|
|
@@ -1748,6 +1752,7 @@ interface LoadType {
|
|
|
1748
1752
|
id: string;
|
|
1749
1753
|
name: string;
|
|
1750
1754
|
};
|
|
1755
|
+
loadType: string;
|
|
1751
1756
|
}
|
|
1752
1757
|
interface IdentityType {
|
|
1753
1758
|
id: number;
|
package/dist/index.js
CHANGED
|
@@ -1337,7 +1337,8 @@ var CardTicket = ({
|
|
|
1337
1337
|
onPolicyClick,
|
|
1338
1338
|
onSelectTicket,
|
|
1339
1339
|
isLoading = false,
|
|
1340
|
-
isVerifyingTicket = false
|
|
1340
|
+
isVerifyingTicket = false,
|
|
1341
|
+
loadType = 1
|
|
1341
1342
|
}) => {
|
|
1342
1343
|
const styles = useStyles5();
|
|
1343
1344
|
const { width } = useWindowSize();
|
|
@@ -1830,18 +1831,7 @@ var CardTicket = ({
|
|
|
1830
1831
|
},
|
|
1831
1832
|
children: [
|
|
1832
1833
|
/* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle2, { children: mergedLabels.totalPriceLabel }),
|
|
1833
|
-
|
|
1834
|
-
reactComponents.Title3,
|
|
1835
|
-
{
|
|
1836
|
-
children: departureItem?.billingDetail?.total?.formatted
|
|
1837
|
-
}
|
|
1838
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1839
|
-
reactComponents.Body1Strong,
|
|
1840
|
-
{
|
|
1841
|
-
style: { wordBreak: "break-word" },
|
|
1842
|
-
children: mergedLabels.totalPriceMissing
|
|
1843
|
-
}
|
|
1844
|
-
)
|
|
1834
|
+
loadType === 6 ? /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1Strong, { style: { wordBreak: "break-word" }, children: mergedLabels.totalPriceMissing }) : /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Title3, { children: departureItem?.billingDetail?.total?.formatted })
|
|
1845
1835
|
]
|
|
1846
1836
|
}
|
|
1847
1837
|
),
|