@asdp/ferryui 0.1.22-dev.10079 → 0.1.22-dev.10153
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/README.md +6 -3
- package/dist/index.js +2 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -10793,6 +10793,8 @@ var ModalListPassenger = ({
|
|
|
10793
10793
|
children: [
|
|
10794
10794
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
10795
10795
|
/* @__PURE__ */ jsxs(Subtitle2, { children: [
|
|
10796
|
+
passenger.titleName,
|
|
10797
|
+
" ",
|
|
10796
10798
|
passenger.fullName,
|
|
10797
10799
|
" ",
|
|
10798
10800
|
passenger.isAccountOwner && /* @__PURE__ */ jsx(
|
|
@@ -11245,14 +11247,6 @@ var ModalPassengerForm = ({
|
|
|
11245
11247
|
);
|
|
11246
11248
|
const idRuleLengthMatch = selectedIdentityType?.rule?.match(/\{(\d+)(?:,\d+)?\}/);
|
|
11247
11249
|
const dynamicMinLengthId = idRuleLengthMatch ? parseInt(idRuleLengthMatch[1], 10) : 6;
|
|
11248
|
-
useEffect(() => {
|
|
11249
|
-
const subscription = watch((value, { name, type }) => {
|
|
11250
|
-
console.log("Changed field:", name);
|
|
11251
|
-
console.log("Change type:", type);
|
|
11252
|
-
onChange(value);
|
|
11253
|
-
});
|
|
11254
|
-
return () => subscription.unsubscribe();
|
|
11255
|
-
}, [watch, onChange]);
|
|
11256
11250
|
useEffect(() => {
|
|
11257
11251
|
reset(defaultValues);
|
|
11258
11252
|
}, [defaultValues, reset]);
|