gotrip-fx-transaction-form 1.0.64 → 1.0.65
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/index.js +2 -6
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -71389,11 +71389,7 @@ const pUe = fc().shape({
|
|
|
71389
71389
|
}).then((Me) => {
|
|
71390
71390
|
const { reservationNumber: ft, departureDate: Lt, airlineName: sr, customers: zt, airportCode: Ur } = Me.data;
|
|
71391
71391
|
let mr = !1;
|
|
71392
|
-
|
|
71393
|
-
const z = At(Lt, "YYYYMMDDTHHMM").toDate(), J = At(z).format("YYYY-MM-DDTHH:mm");
|
|
71394
|
-
ge("departureDate", J);
|
|
71395
|
-
}
|
|
71396
|
-
mr = ft && Lt;
|
|
71392
|
+
ge("reservationNumber", ft), Lt && ge("departureDate", Lt), mr = ft && Lt;
|
|
71397
71393
|
const Pn = CAe.get(Ur), L = uy.find((z) => z.name === Pn);
|
|
71398
71394
|
L ? (ge("countryCodeDes", L.alpha2), ge("countryNameDes", L.nameVi), mr = mr && !0) : mr = !1;
|
|
71399
71395
|
const q = V1.find(
|
|
@@ -71777,7 +71773,7 @@ const pUe = fc().shape({
|
|
|
71777
71773
|
format: "dd/MM/yyyy HH:mm",
|
|
71778
71774
|
disableClock: !0,
|
|
71779
71775
|
locale: "vi-VN",
|
|
71780
|
-
value: de("departureDate") ?
|
|
71776
|
+
value: de("departureDate") ? At(de("departureDate"), "YYYYMMDDTHHmm").toDate() : null,
|
|
71781
71777
|
onChange: (Me) => {
|
|
71782
71778
|
ge("departureDate", (Me == null ? void 0 : Me.toISOString()) || ""), Ge("departureDate");
|
|
71783
71779
|
}
|