@asdp/ferryui 0.1.22-dev.8663 → 0.1.22-dev.8697
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 +22 -7
- package/dist/index.d.ts +22 -7
- package/dist/index.js +323 -364
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +323 -364
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -714,7 +714,7 @@ declare const CardTicketSearchSummary: React$1.FC<CardTicketSearchSummaryProps>;
|
|
|
714
714
|
|
|
715
715
|
declare const DEFAULT_LABELS$2: Record<Language, CardTicketSearchSummaryLabels>;
|
|
716
716
|
|
|
717
|
-
type InputType = 'checkbox' | 'date' | 'datetime-local' | 'email' | 'file' | 'identity' | 'emailOrPhone' | 'number' | 'otp' | 'passport' | 'password' | 'phone' | 'radio' | 'radiobutton' | 'select' | 'switch' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
|
|
717
|
+
type InputType = 'checkbox' | 'country' | 'date' | 'datetime-local' | 'email' | 'file' | 'identity' | 'emailOrPhone' | 'number' | 'otp' | 'passport' | 'password' | 'phone' | 'radio' | 'radiobutton' | 'select' | 'switch' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
|
|
718
718
|
interface SelectOption {
|
|
719
719
|
value: string;
|
|
720
720
|
label: string;
|
|
@@ -800,6 +800,7 @@ interface InputDynamicProps<T extends FieldValues = FieldValues> {
|
|
|
800
800
|
* Custom labels override
|
|
801
801
|
*/
|
|
802
802
|
labels?: Partial<InputDynamicLabels>;
|
|
803
|
+
menuPlacement?: 'top' | 'bottom' | 'auto';
|
|
803
804
|
}
|
|
804
805
|
interface InputDynamicLabels {
|
|
805
806
|
emailOrPhonePlaceholder: string;
|
|
@@ -819,7 +820,16 @@ interface InputDynamicLabels {
|
|
|
819
820
|
|
|
820
821
|
declare const InputDynamic: React$1.FC<InputDynamicProps>;
|
|
821
822
|
|
|
822
|
-
|
|
823
|
+
interface CountryOption {
|
|
824
|
+
value: string;
|
|
825
|
+
label: string;
|
|
826
|
+
flag: string;
|
|
827
|
+
}
|
|
828
|
+
/**
|
|
829
|
+
* List of countries with their ISO codes and flag icons
|
|
830
|
+
* Flag icons use Iconify's twemoji flags
|
|
831
|
+
*/
|
|
832
|
+
declare const COUNTRIES: CountryOption[];
|
|
823
833
|
|
|
824
834
|
/**
|
|
825
835
|
* Harbor item interface
|
|
@@ -2196,6 +2206,10 @@ interface ModalPassengerFormLabels {
|
|
|
2196
2206
|
ticketClassLabel: string;
|
|
2197
2207
|
saveButton: string;
|
|
2198
2208
|
cancelButton: string;
|
|
2209
|
+
idTypeOtherLabel: string;
|
|
2210
|
+
idTypeOtherPlaceholder: string;
|
|
2211
|
+
countryLabel: string;
|
|
2212
|
+
countryPlaceholder: string;
|
|
2199
2213
|
errors: {
|
|
2200
2214
|
requiredTitle: string;
|
|
2201
2215
|
requiredName: string;
|
|
@@ -2208,6 +2222,7 @@ interface ModalPassengerFormLabels {
|
|
|
2208
2222
|
maxAge: string;
|
|
2209
2223
|
requiredDate: string;
|
|
2210
2224
|
requiredCity: string;
|
|
2225
|
+
requiredCountry: string;
|
|
2211
2226
|
};
|
|
2212
2227
|
}
|
|
2213
2228
|
interface PassengerFormData {
|
|
@@ -2255,6 +2270,10 @@ interface PassengerFormData {
|
|
|
2255
2270
|
* Passenger ID (for edit mode)
|
|
2256
2271
|
*/
|
|
2257
2272
|
id?: number;
|
|
2273
|
+
/**
|
|
2274
|
+
* Country code (ISO 3166-1 alpha-2) - for passport holders
|
|
2275
|
+
*/
|
|
2276
|
+
country?: string;
|
|
2258
2277
|
}
|
|
2259
2278
|
interface ModalPassengerFormProps {
|
|
2260
2279
|
/**
|
|
@@ -2287,10 +2306,6 @@ interface ModalPassengerFormProps {
|
|
|
2287
2306
|
* Options for title select field
|
|
2288
2307
|
*/
|
|
2289
2308
|
titleOptions: SelectOption[];
|
|
2290
|
-
/**
|
|
2291
|
-
* Options for ID type select field
|
|
2292
|
-
*/
|
|
2293
|
-
idTypeOptions: SelectOption[];
|
|
2294
2309
|
/**
|
|
2295
2310
|
* Options for city select field
|
|
2296
2311
|
*/
|
|
@@ -3272,4 +3287,4 @@ interface CardProfileMenuProps {
|
|
|
3272
3287
|
|
|
3273
3288
|
declare const CardProfileMenu: React$1.FC<CardProfileMenuProps>;
|
|
3274
3289
|
|
|
3275
|
-
export { BackgroundTicketCard, BackgroundTicketCardVertical, type BadgeConfig, CardAddon, type CardAddonProps, CardBanner, type CardBannerProps, CardBookingTicket, type CardBookingTicketProps, CardFAQ, type CardFAQProps, CardMealCatalog, type CardMealCatalogProps, CardOrdererInfo, type CardOrdererInfoProps, CardPassengerList, type CardPassengerListProps, CardPaymentGuide, type CardPaymentGuideProps, CardPaymentInfo, type CardPaymentInfoProps, CardPaymentMethodList, type CardPaymentMethodListProps, CardPriceDetails, type CardPriceDetailsProps, CardProfileMenu, type CardProfileMenuLabels, type CardProfileMenuProps, CardPromo, type CardPromoProps, CardReview, CardReviewPassenger, type CardReviewPassengerProps, type CardReviewProps, CardServiceMenu, type CardServiceMenuProps, CardStatusOrder, type CardStatusOrderProps, CardTicket, type CardTicketProps, CardTicketSearch, DEFAULT_LABELS$3 as CardTicketSearchDefaultLabels, type CardTicketSearchFormData, type CardTicketSearchLabels, type CardTicketSearchProps, type ServiceMenuItem as CardTicketSearchServiceMenuItem, CardTicketSearchSummary, DEFAULT_LABELS$2 as CardTicketSearchSummaryDefaultLabels, type CardTicketSearchSummaryProps, CardVehicleDetail, type CardVehicleDetailProps, CardVehicleOwnerForm, type CardVehicleOwnerFormProps, type CargoItem, CarouselWithCustomNav, type CarouselWithCustomNavProps, type
|
|
3290
|
+
export { BackgroundTicketCard, BackgroundTicketCardVertical, type BadgeConfig, COUNTRIES, CardAddon, type CardAddonProps, CardBanner, type CardBannerProps, CardBookingTicket, type CardBookingTicketProps, CardFAQ, type CardFAQProps, CardMealCatalog, type CardMealCatalogProps, CardOrdererInfo, type CardOrdererInfoProps, CardPassengerList, type CardPassengerListProps, CardPaymentGuide, type CardPaymentGuideProps, CardPaymentInfo, type CardPaymentInfoProps, CardPaymentMethodList, type CardPaymentMethodListProps, CardPriceDetails, type CardPriceDetailsProps, CardProfileMenu, type CardProfileMenuLabels, type CardProfileMenuProps, CardPromo, type CardPromoProps, CardReview, CardReviewPassenger, type CardReviewPassengerProps, type CardReviewProps, CardServiceMenu, type CardServiceMenuProps, CardStatusOrder, type CardStatusOrderProps, CardTicket, type CardTicketProps, CardTicketSearch, DEFAULT_LABELS$3 as CardTicketSearchDefaultLabels, type CardTicketSearchFormData, type CardTicketSearchLabels, type CardTicketSearchProps, type ServiceMenuItem as CardTicketSearchServiceMenuItem, CardTicketSearchSummary, DEFAULT_LABELS$2 as CardTicketSearchSummaryDefaultLabels, type CardTicketSearchSummaryProps, CardVehicleDetail, type CardVehicleDetailProps, CardVehicleOwnerForm, type CardVehicleOwnerFormProps, type CargoItem, CarouselWithCustomNav, type CarouselWithCustomNavProps, type CountryOption, DEFAULT_DURATION_RANGE, DEFAULT_PRICE_RANGE, DEFAULT_SCROLL_AMOUNT, DEFAULT_SERVICE_CLASSES, DEFAULT_SERVICE_TYPES, DEFAULT_SORT_OPTIONS, DEFAULT_TIME_SLOTS, DEFAULT_VEHICLE_ICONS, DateFilter, DEFAULT_LABELS as DateFilterDefaultLabels, type DateFilterLabels, type DateFilterProps, type DateItem, type FilterCount, type HarborItem, InputDynamic, type InputDynamicProps, type InputType, MODAL_PRESETS, type MealCategory, type MealItem, ModalFilterTicket, DEFAULT_LABELS$1 as ModalFilterTicketDefaultLabels, type ModalFilterTicketLabels, type ModalFilterTicketProps, ModalIllustration, type ModalIllustrationButton, type ModalIllustrationProps, ModalListPassenger, type PassengerItem as ModalListPassengerItem, type ModalListPassengerProps, ModalPassengerForm, type ModalPassengerFormProps, type ModalPresetKey, ModalPriceDetail, type ModalPriceDetailProps, ModalSearchHarbor, type ModalSearchHarborProps, ModalSearchTicket, type ModalSearchTicketProps, ModalSelectDate, type ModalSelectDateProps, ModalService, type ModalServiceProps, ModalTotalPassengers, type ModalTotalPassengersProps, ModalTypeOfService, type ModalTypeOfServiceProps, type Passenger, type PassengerFormData, type PassengerListItem, type PassengerService, type PassengerServiceCode, type PassengerType, type PaymentGuideStep, type PaymentMethodCategory, type PaymentStep, type PriceDetailItem, type ProfileMenuSection, type ProfileMenuTab, type RadioOption, type ReservationStep, type ReviewPassengerItem, type SearchSummaryField, type SearchTicketFormData, type SelectOption, type SelectedPassengerItem, type ServiceClass, type ServiceId, type ServiceItem, SortMenu, type SortMenuProps, type SortOption, type StepStatus, Stepper, type StepperProps, type StepperStep, type TabType, type TypeOfService, type VehicleOwner, getBadgeConfig, getModalPreset, getSortLabel };
|
package/dist/index.d.ts
CHANGED
|
@@ -714,7 +714,7 @@ declare const CardTicketSearchSummary: React$1.FC<CardTicketSearchSummaryProps>;
|
|
|
714
714
|
|
|
715
715
|
declare const DEFAULT_LABELS$2: Record<Language, CardTicketSearchSummaryLabels>;
|
|
716
716
|
|
|
717
|
-
type InputType = 'checkbox' | 'date' | 'datetime-local' | 'email' | 'file' | 'identity' | 'emailOrPhone' | 'number' | 'otp' | 'passport' | 'password' | 'phone' | 'radio' | 'radiobutton' | 'select' | 'switch' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
|
|
717
|
+
type InputType = 'checkbox' | 'country' | 'date' | 'datetime-local' | 'email' | 'file' | 'identity' | 'emailOrPhone' | 'number' | 'otp' | 'passport' | 'password' | 'phone' | 'radio' | 'radiobutton' | 'select' | 'switch' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
|
|
718
718
|
interface SelectOption {
|
|
719
719
|
value: string;
|
|
720
720
|
label: string;
|
|
@@ -800,6 +800,7 @@ interface InputDynamicProps<T extends FieldValues = FieldValues> {
|
|
|
800
800
|
* Custom labels override
|
|
801
801
|
*/
|
|
802
802
|
labels?: Partial<InputDynamicLabels>;
|
|
803
|
+
menuPlacement?: 'top' | 'bottom' | 'auto';
|
|
803
804
|
}
|
|
804
805
|
interface InputDynamicLabels {
|
|
805
806
|
emailOrPhonePlaceholder: string;
|
|
@@ -819,7 +820,16 @@ interface InputDynamicLabels {
|
|
|
819
820
|
|
|
820
821
|
declare const InputDynamic: React$1.FC<InputDynamicProps>;
|
|
821
822
|
|
|
822
|
-
|
|
823
|
+
interface CountryOption {
|
|
824
|
+
value: string;
|
|
825
|
+
label: string;
|
|
826
|
+
flag: string;
|
|
827
|
+
}
|
|
828
|
+
/**
|
|
829
|
+
* List of countries with their ISO codes and flag icons
|
|
830
|
+
* Flag icons use Iconify's twemoji flags
|
|
831
|
+
*/
|
|
832
|
+
declare const COUNTRIES: CountryOption[];
|
|
823
833
|
|
|
824
834
|
/**
|
|
825
835
|
* Harbor item interface
|
|
@@ -2196,6 +2206,10 @@ interface ModalPassengerFormLabels {
|
|
|
2196
2206
|
ticketClassLabel: string;
|
|
2197
2207
|
saveButton: string;
|
|
2198
2208
|
cancelButton: string;
|
|
2209
|
+
idTypeOtherLabel: string;
|
|
2210
|
+
idTypeOtherPlaceholder: string;
|
|
2211
|
+
countryLabel: string;
|
|
2212
|
+
countryPlaceholder: string;
|
|
2199
2213
|
errors: {
|
|
2200
2214
|
requiredTitle: string;
|
|
2201
2215
|
requiredName: string;
|
|
@@ -2208,6 +2222,7 @@ interface ModalPassengerFormLabels {
|
|
|
2208
2222
|
maxAge: string;
|
|
2209
2223
|
requiredDate: string;
|
|
2210
2224
|
requiredCity: string;
|
|
2225
|
+
requiredCountry: string;
|
|
2211
2226
|
};
|
|
2212
2227
|
}
|
|
2213
2228
|
interface PassengerFormData {
|
|
@@ -2255,6 +2270,10 @@ interface PassengerFormData {
|
|
|
2255
2270
|
* Passenger ID (for edit mode)
|
|
2256
2271
|
*/
|
|
2257
2272
|
id?: number;
|
|
2273
|
+
/**
|
|
2274
|
+
* Country code (ISO 3166-1 alpha-2) - for passport holders
|
|
2275
|
+
*/
|
|
2276
|
+
country?: string;
|
|
2258
2277
|
}
|
|
2259
2278
|
interface ModalPassengerFormProps {
|
|
2260
2279
|
/**
|
|
@@ -2287,10 +2306,6 @@ interface ModalPassengerFormProps {
|
|
|
2287
2306
|
* Options for title select field
|
|
2288
2307
|
*/
|
|
2289
2308
|
titleOptions: SelectOption[];
|
|
2290
|
-
/**
|
|
2291
|
-
* Options for ID type select field
|
|
2292
|
-
*/
|
|
2293
|
-
idTypeOptions: SelectOption[];
|
|
2294
2309
|
/**
|
|
2295
2310
|
* Options for city select field
|
|
2296
2311
|
*/
|
|
@@ -3272,4 +3287,4 @@ interface CardProfileMenuProps {
|
|
|
3272
3287
|
|
|
3273
3288
|
declare const CardProfileMenu: React$1.FC<CardProfileMenuProps>;
|
|
3274
3289
|
|
|
3275
|
-
export { BackgroundTicketCard, BackgroundTicketCardVertical, type BadgeConfig, CardAddon, type CardAddonProps, CardBanner, type CardBannerProps, CardBookingTicket, type CardBookingTicketProps, CardFAQ, type CardFAQProps, CardMealCatalog, type CardMealCatalogProps, CardOrdererInfo, type CardOrdererInfoProps, CardPassengerList, type CardPassengerListProps, CardPaymentGuide, type CardPaymentGuideProps, CardPaymentInfo, type CardPaymentInfoProps, CardPaymentMethodList, type CardPaymentMethodListProps, CardPriceDetails, type CardPriceDetailsProps, CardProfileMenu, type CardProfileMenuLabels, type CardProfileMenuProps, CardPromo, type CardPromoProps, CardReview, CardReviewPassenger, type CardReviewPassengerProps, type CardReviewProps, CardServiceMenu, type CardServiceMenuProps, CardStatusOrder, type CardStatusOrderProps, CardTicket, type CardTicketProps, CardTicketSearch, DEFAULT_LABELS$3 as CardTicketSearchDefaultLabels, type CardTicketSearchFormData, type CardTicketSearchLabels, type CardTicketSearchProps, type ServiceMenuItem as CardTicketSearchServiceMenuItem, CardTicketSearchSummary, DEFAULT_LABELS$2 as CardTicketSearchSummaryDefaultLabels, type CardTicketSearchSummaryProps, CardVehicleDetail, type CardVehicleDetailProps, CardVehicleOwnerForm, type CardVehicleOwnerFormProps, type CargoItem, CarouselWithCustomNav, type CarouselWithCustomNavProps, type
|
|
3290
|
+
export { BackgroundTicketCard, BackgroundTicketCardVertical, type BadgeConfig, COUNTRIES, CardAddon, type CardAddonProps, CardBanner, type CardBannerProps, CardBookingTicket, type CardBookingTicketProps, CardFAQ, type CardFAQProps, CardMealCatalog, type CardMealCatalogProps, CardOrdererInfo, type CardOrdererInfoProps, CardPassengerList, type CardPassengerListProps, CardPaymentGuide, type CardPaymentGuideProps, CardPaymentInfo, type CardPaymentInfoProps, CardPaymentMethodList, type CardPaymentMethodListProps, CardPriceDetails, type CardPriceDetailsProps, CardProfileMenu, type CardProfileMenuLabels, type CardProfileMenuProps, CardPromo, type CardPromoProps, CardReview, CardReviewPassenger, type CardReviewPassengerProps, type CardReviewProps, CardServiceMenu, type CardServiceMenuProps, CardStatusOrder, type CardStatusOrderProps, CardTicket, type CardTicketProps, CardTicketSearch, DEFAULT_LABELS$3 as CardTicketSearchDefaultLabels, type CardTicketSearchFormData, type CardTicketSearchLabels, type CardTicketSearchProps, type ServiceMenuItem as CardTicketSearchServiceMenuItem, CardTicketSearchSummary, DEFAULT_LABELS$2 as CardTicketSearchSummaryDefaultLabels, type CardTicketSearchSummaryProps, CardVehicleDetail, type CardVehicleDetailProps, CardVehicleOwnerForm, type CardVehicleOwnerFormProps, type CargoItem, CarouselWithCustomNav, type CarouselWithCustomNavProps, type CountryOption, DEFAULT_DURATION_RANGE, DEFAULT_PRICE_RANGE, DEFAULT_SCROLL_AMOUNT, DEFAULT_SERVICE_CLASSES, DEFAULT_SERVICE_TYPES, DEFAULT_SORT_OPTIONS, DEFAULT_TIME_SLOTS, DEFAULT_VEHICLE_ICONS, DateFilter, DEFAULT_LABELS as DateFilterDefaultLabels, type DateFilterLabels, type DateFilterProps, type DateItem, type FilterCount, type HarborItem, InputDynamic, type InputDynamicProps, type InputType, MODAL_PRESETS, type MealCategory, type MealItem, ModalFilterTicket, DEFAULT_LABELS$1 as ModalFilterTicketDefaultLabels, type ModalFilterTicketLabels, type ModalFilterTicketProps, ModalIllustration, type ModalIllustrationButton, type ModalIllustrationProps, ModalListPassenger, type PassengerItem as ModalListPassengerItem, type ModalListPassengerProps, ModalPassengerForm, type ModalPassengerFormProps, type ModalPresetKey, ModalPriceDetail, type ModalPriceDetailProps, ModalSearchHarbor, type ModalSearchHarborProps, ModalSearchTicket, type ModalSearchTicketProps, ModalSelectDate, type ModalSelectDateProps, ModalService, type ModalServiceProps, ModalTotalPassengers, type ModalTotalPassengersProps, ModalTypeOfService, type ModalTypeOfServiceProps, type Passenger, type PassengerFormData, type PassengerListItem, type PassengerService, type PassengerServiceCode, type PassengerType, type PaymentGuideStep, type PaymentMethodCategory, type PaymentStep, type PriceDetailItem, type ProfileMenuSection, type ProfileMenuTab, type RadioOption, type ReservationStep, type ReviewPassengerItem, type SearchSummaryField, type SearchTicketFormData, type SelectOption, type SelectedPassengerItem, type ServiceClass, type ServiceId, type ServiceItem, SortMenu, type SortMenuProps, type SortOption, type StepStatus, Stepper, type StepperProps, type StepperStep, type TabType, type TypeOfService, type VehicleOwner, getBadgeConfig, getModalPreset, getSortLabel };
|