gotrip-fx-transaction-form 1.0.217-dev → 1.0.218-dev
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 +20 -6
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -116422,7 +116422,14 @@ const iH = (e, t) => !e || !t ? "" : `${gS(e, "dd/MM/yyyy")} - ${gS(t, "dd/MM/yy
|
|
|
116422
116422
|
isStepOneReady: l = !1,
|
|
116423
116423
|
isGuest: u = !1
|
|
116424
116424
|
}) => {
|
|
116425
|
-
const {
|
|
116425
|
+
const {
|
|
116426
|
+
countries: d,
|
|
116427
|
+
loadingCountries: h,
|
|
116428
|
+
countriesError: g,
|
|
116429
|
+
refetchCountries: m,
|
|
116430
|
+
travelInsuranceSettings: v,
|
|
116431
|
+
vietnamCountryId: b
|
|
116432
|
+
} = Yh(), { quickRecommendations: x, loadingQuickRecommendations: C, refetchQuickRecommendations: A } = px(null);
|
|
116426
116433
|
wt(() => {
|
|
116427
116434
|
A();
|
|
116428
116435
|
}, [A]);
|
|
@@ -117270,7 +117277,11 @@ const hrt = ({
|
|
|
117270
117277
|
isInsuredPerson: !1,
|
|
117271
117278
|
...e
|
|
117272
117279
|
}
|
|
117273
|
-
}), T = ls({
|
|
117280
|
+
}), T = ls({
|
|
117281
|
+
control: x,
|
|
117282
|
+
name: "nationality",
|
|
117283
|
+
defaultValue: m ?? null
|
|
117284
|
+
});
|
|
117274
117285
|
wt(() => {
|
|
117275
117286
|
m != null && T == null && k("nationality", m);
|
|
117276
117287
|
}, [m, T, k]);
|
|
@@ -117800,7 +117811,12 @@ const hrt = ({
|
|
|
117800
117811
|
onSubmit: n,
|
|
117801
117812
|
onFormRef: a
|
|
117802
117813
|
}) => {
|
|
117803
|
-
const {
|
|
117814
|
+
const {
|
|
117815
|
+
countries: i,
|
|
117816
|
+
loadingCountries: o,
|
|
117817
|
+
getPersonTypeLabel: s,
|
|
117818
|
+
vietnamCountryId: c
|
|
117819
|
+
} = Yh(), { formatDateToYYYYMMDD: l, findCountryIdByNationality: u } = Lte(), d = (r == null ? void 0 : r.isInsuredPerson) && e.length > 0, [h, g] = Ve(
|
|
117804
117820
|
new Set(e.map((ie, G) => G))
|
|
117805
117821
|
), [m, v] = Ve(() => {
|
|
117806
117822
|
const ie = /* @__PURE__ */ new Map();
|
|
@@ -118285,9 +118301,7 @@ const hrt = ({
|
|
|
118285
118301
|
/* @__PURE__ */ P(me, { children: [
|
|
118286
118302
|
/* @__PURE__ */ p(me, { borderTop: "1px solid", borderColor: "gray.200", mb: 4, pt: 4 }),
|
|
118287
118303
|
/* @__PURE__ */ p(q, { fontSize: "md", fontWeight: "bold", color: "gray.800", mb: 4, children: "Trẻ vị thành niên" }),
|
|
118288
|
-
j.teenagers.length > 0 && /* @__PURE__ */ p(vr, { gap: 4, mb: 4, children: j.teenagers.map(
|
|
118289
|
-
({ field: ie, index: G }) => J(ie, G)
|
|
118290
|
-
) }),
|
|
118304
|
+
j.teenagers.length > 0 && /* @__PURE__ */ p(vr, { gap: 4, mb: 4, children: j.teenagers.map(({ field: ie, index: G }) => J(ie, G)) }),
|
|
118291
118305
|
he(jr.TEENAGER, "Thêm")
|
|
118292
118306
|
] }),
|
|
118293
118307
|
/* @__PURE__ */ P(me, { children: [
|