@asdp/ferryui 0.1.22-dev.10038 → 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/dist/index.mjs CHANGED
@@ -454,7 +454,7 @@ var PASSENGER_TYPE = {
454
454
  ADULT: 1,
455
455
  CHILD: 2,
456
456
  INFANT: 3,
457
- ELDERLY: 5
457
+ ELDERLY: 4
458
458
  };
459
459
  var IDENTITY_TYPE = {
460
460
  KTP: 1,
@@ -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]);