@asdp/ferryui 0.1.22-dev.10229 → 0.1.22-dev.10281
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 +54 -77
- package/dist/index.d.ts +54 -77
- package/dist/index.js +257 -131
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +258 -131
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1645,61 +1645,6 @@ interface ModalTotalPassengersProps {
|
|
|
1645
1645
|
*/
|
|
1646
1646
|
declare const ModalTotalPassengers: React$1.FC<ModalTotalPassengersProps>;
|
|
1647
1647
|
|
|
1648
|
-
declare const API_ENDPOINTS: {
|
|
1649
|
-
readonly PORTS: {
|
|
1650
|
-
readonly ORIGIN: "/v1/surrounding/catalog/ports/list/origin";
|
|
1651
|
-
readonly DESTINATION: "/v1/surrounding/catalog/ports/list/destination";
|
|
1652
|
-
};
|
|
1653
|
-
readonly SERVICES: {
|
|
1654
|
-
readonly LIST: "/v1/surrounding/catalog/service-types";
|
|
1655
|
-
};
|
|
1656
|
-
readonly PASSENGERS: {
|
|
1657
|
-
readonly LIST: "/v1/surrounding/catalog/passenger-types";
|
|
1658
|
-
};
|
|
1659
|
-
readonly AUTH: {
|
|
1660
|
-
readonly LOGIN: "/v1/surrounding/auth/login";
|
|
1661
|
-
readonly REGISTER: "/auth/register";
|
|
1662
|
-
readonly LOGOUT: "/auth/logout";
|
|
1663
|
-
readonly REFRESH: "/auth/refresh";
|
|
1664
|
-
readonly PROFILE: "/auth/profile";
|
|
1665
|
-
readonly UPDATE_PROFILE: "/auth/profile";
|
|
1666
|
-
readonly CHANGE_PASSWORD: "/auth/change-password";
|
|
1667
|
-
readonly FORGOT_PASSWORD: "/auth/forgot-password";
|
|
1668
|
-
readonly RESET_PASSWORD: "/auth/reset-password";
|
|
1669
|
-
readonly VERIFY_EMAIL: "/auth/verify-email";
|
|
1670
|
-
};
|
|
1671
|
-
readonly USERS: {
|
|
1672
|
-
readonly LIST: "/users";
|
|
1673
|
-
readonly CREATE: "/users";
|
|
1674
|
-
readonly DETAIL: (id: string) => string;
|
|
1675
|
-
readonly UPDATE: (id: string) => string;
|
|
1676
|
-
readonly DELETE: (id: string) => string;
|
|
1677
|
-
readonly AVATAR: (id: string) => string;
|
|
1678
|
-
};
|
|
1679
|
-
readonly FILES: {
|
|
1680
|
-
readonly UPLOAD: "/files/upload";
|
|
1681
|
-
readonly DOWNLOAD: (id: string) => string;
|
|
1682
|
-
readonly DELETE: (id: string) => string;
|
|
1683
|
-
readonly LIST: "/files";
|
|
1684
|
-
};
|
|
1685
|
-
readonly DASHBOARD: {
|
|
1686
|
-
readonly STATS: "/dashboard/stats";
|
|
1687
|
-
readonly CHART_DATA: "/dashboard/chart-data";
|
|
1688
|
-
readonly RECENT_ACTIVITIES: "/dashboard/recent-activities";
|
|
1689
|
-
};
|
|
1690
|
-
readonly NOTIFICATIONS: {
|
|
1691
|
-
readonly LIST: "/notifications";
|
|
1692
|
-
readonly MARK_READ: (id: string) => string;
|
|
1693
|
-
readonly MARK_ALL_READ: "/notifications/read-all";
|
|
1694
|
-
readonly DELETE: (id: string) => string;
|
|
1695
|
-
readonly SETTINGS: "/notifications/settings";
|
|
1696
|
-
};
|
|
1697
|
-
readonly SETTINGS: {
|
|
1698
|
-
readonly GENERAL: "/settings/general";
|
|
1699
|
-
readonly SECURITY: "/settings/security";
|
|
1700
|
-
readonly PREFERENCES: "/settings/preferences";
|
|
1701
|
-
};
|
|
1702
|
-
};
|
|
1703
1648
|
declare const API_CONFIG: {
|
|
1704
1649
|
readonly TIMEOUT: 30000;
|
|
1705
1650
|
readonly RETRY_ATTEMPTS: 3;
|
|
@@ -3384,7 +3329,7 @@ declare const CardFAQ: React$1.FC<CardFAQProps>;
|
|
|
3384
3329
|
|
|
3385
3330
|
interface AddonFooterData {
|
|
3386
3331
|
priceLabel: string;
|
|
3387
|
-
price
|
|
3332
|
+
price?: number;
|
|
3388
3333
|
priceUnit?: string;
|
|
3389
3334
|
actionLabel?: string;
|
|
3390
3335
|
onActionClick?: () => void;
|
|
@@ -3602,6 +3547,11 @@ interface CardReviewProps {
|
|
|
3602
3547
|
* Optional action in the header (e.g. Ubah button) - though not present in current designs, good for extensibility
|
|
3603
3548
|
*/
|
|
3604
3549
|
headerAction?: React$1.ReactNode;
|
|
3550
|
+
/**
|
|
3551
|
+
* Loading state for skeleton display
|
|
3552
|
+
* @default false
|
|
3553
|
+
*/
|
|
3554
|
+
isLoading?: boolean;
|
|
3605
3555
|
}
|
|
3606
3556
|
|
|
3607
3557
|
declare const CardReview: React$1.FC<CardReviewProps>;
|
|
@@ -3641,10 +3591,41 @@ interface CardReviewPassengerProps {
|
|
|
3641
3591
|
* Optional class name
|
|
3642
3592
|
*/
|
|
3643
3593
|
className?: string;
|
|
3594
|
+
/**
|
|
3595
|
+
* Loading state for skeleton display
|
|
3596
|
+
* @default false
|
|
3597
|
+
*/
|
|
3598
|
+
isLoading?: boolean;
|
|
3644
3599
|
}
|
|
3645
3600
|
|
|
3646
3601
|
declare const CardReviewPassenger: React$1.FC<CardReviewPassengerProps>;
|
|
3647
3602
|
|
|
3603
|
+
interface TripData {
|
|
3604
|
+
/**
|
|
3605
|
+
* Origin location (e.g., "Merak, Banten")
|
|
3606
|
+
*/
|
|
3607
|
+
from: string;
|
|
3608
|
+
/**
|
|
3609
|
+
* Destination location (e.g., "Bakehuni, Lampung")
|
|
3610
|
+
*/
|
|
3611
|
+
to: string;
|
|
3612
|
+
/**
|
|
3613
|
+
* Schedule entry time (e.g., "Kam, 27 Nov 2025, 18:15")
|
|
3614
|
+
*/
|
|
3615
|
+
scheduleTime: string;
|
|
3616
|
+
/**
|
|
3617
|
+
* Booking name
|
|
3618
|
+
*/
|
|
3619
|
+
bookingName: string;
|
|
3620
|
+
/**
|
|
3621
|
+
* Passenger type/vehicle info (e.g., "Golongan VIB • Mobil Pickup • B 1234 CD")
|
|
3622
|
+
*/
|
|
3623
|
+
passengerType: string;
|
|
3624
|
+
/**
|
|
3625
|
+
* Number of add-ons/services
|
|
3626
|
+
*/
|
|
3627
|
+
addOnsCount: number;
|
|
3628
|
+
}
|
|
3648
3629
|
interface CardReviewDetailLabels {
|
|
3649
3630
|
title: string;
|
|
3650
3631
|
fromLabel: string;
|
|
@@ -3656,6 +3637,8 @@ interface CardReviewDetailLabels {
|
|
|
3656
3637
|
viewDetail: string;
|
|
3657
3638
|
noAddOnsLabel: string;
|
|
3658
3639
|
serviceLabel: string;
|
|
3640
|
+
departureLabel: string;
|
|
3641
|
+
returnLabel: string;
|
|
3659
3642
|
}
|
|
3660
3643
|
interface CardReviewDetailProps {
|
|
3661
3644
|
/**
|
|
@@ -3668,29 +3651,13 @@ interface CardReviewDetailProps {
|
|
|
3668
3651
|
*/
|
|
3669
3652
|
labels?: Partial<CardReviewDetailLabels>;
|
|
3670
3653
|
/**
|
|
3671
|
-
*
|
|
3672
|
-
*/
|
|
3673
|
-
from: string;
|
|
3674
|
-
/**
|
|
3675
|
-
* Destination location (e.g., "Bakehuni, Lampung")
|
|
3654
|
+
* Departure trip data
|
|
3676
3655
|
*/
|
|
3677
|
-
|
|
3656
|
+
departureData: TripData;
|
|
3678
3657
|
/**
|
|
3679
|
-
*
|
|
3658
|
+
* Return trip data (only used when isRoundTrip is true)
|
|
3680
3659
|
*/
|
|
3681
|
-
|
|
3682
|
-
/**
|
|
3683
|
-
* Booking name
|
|
3684
|
-
*/
|
|
3685
|
-
bookingName: string;
|
|
3686
|
-
/**
|
|
3687
|
-
* Passenger type/vehicle info (e.g., "Golongan VIB • Mobil Pickup • B 1234 CD")
|
|
3688
|
-
*/
|
|
3689
|
-
passengerType: string;
|
|
3690
|
-
/**
|
|
3691
|
-
* Number of add-ons/services
|
|
3692
|
-
*/
|
|
3693
|
-
addOnsCount: number;
|
|
3660
|
+
returnData?: TripData;
|
|
3694
3661
|
/**
|
|
3695
3662
|
* Callback when "View Detail" button is clicked
|
|
3696
3663
|
*/
|
|
@@ -3699,6 +3666,16 @@ interface CardReviewDetailProps {
|
|
|
3699
3666
|
* Optional class name
|
|
3700
3667
|
*/
|
|
3701
3668
|
className?: string;
|
|
3669
|
+
/**
|
|
3670
|
+
* Loading state for skeleton display
|
|
3671
|
+
* @default false
|
|
3672
|
+
*/
|
|
3673
|
+
isLoading?: boolean;
|
|
3674
|
+
/**
|
|
3675
|
+
* Indicate if the trip is round-trip, which will conditionally render return badge and section
|
|
3676
|
+
* @default false
|
|
3677
|
+
*/
|
|
3678
|
+
isRoundTrip?: boolean;
|
|
3702
3679
|
}
|
|
3703
3680
|
|
|
3704
3681
|
declare const CardReviewDetail: React$1.FC<CardReviewDetailProps>;
|
|
@@ -4064,4 +4041,4 @@ interface ModalListMenuServiceProps {
|
|
|
4064
4041
|
|
|
4065
4042
|
declare const ModalListMenuService: React$1.FC<ModalListMenuServiceProps>;
|
|
4066
4043
|
|
|
4067
|
-
export { API_CONFIG,
|
|
4044
|
+
export { API_CONFIG, API_ERROR_MESSAGES, BackgroundTicketCard, BackgroundTicketCardVertical, type BadgeConfig, type BillingDetail, COUNTRIES, CardAddon, type CardAddonProps, CardBanner, type CardBannerProps, CardBookingAddOn, type CardBookingAddOnData, type CardBookingAddOnItem, type CardBookingAddOnLabels, type CardBookingAddOnProps, 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, CardReviewDetail, type CardReviewDetailProps, CardReviewPassenger, type CardReviewPassengerProps, type CardReviewProps, CardServiceMenu, type CardServiceMenuProps, CardStatusOrder, type CardStatusOrderProps, CardTicket, type CardTicketProps, CardTicketSearch, DEFAULT_LABELS$4 as CardTicketSearchDefaultLabels, type CardTicketSearchFormData, type CardTicketSearchLabels, type CardTicketSearchProps, type ServiceMenuItem as CardTicketSearchServiceMenuItem, CardTicketSearchSummary, DEFAULT_LABELS$3 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_TYPES, DEFAULT_SORT_OPTIONS, DEFAULT_TIME_SLOTS, DEFAULT_VEHICLE_ICONS, DateFilter, DEFAULT_LABELS as DateFilterDefaultLabels, type DateFilterLabels, type DateFilterProps, type DateItem, type DepartureItem, EmptyContent, type EmptyContentButton, DEFAULT_LABELS$2 as EmptyContentDefaultLabels, type EmptyContentLabels, type EmptyContentProps, FileUpload, type FileUploadProps, type FilterCount, GENDER, type GENDER_TYPE, HARDCODED_ID, HTTP_STATUS, type HarborItem, IDENTITY_TYPE, type IDENTITY_TYPE_TYPE, type IdentityType, InputDynamic, type InputDynamicProps, type InputType, LOAD_TYPE, type LOAD_TYPE_TYPE, type LoadType, MANIFEST_ENTITY, type MANIFEST_ENTITY_TYPE, MODAL_PRESETS, MY_TICKET_STATUS, type MY_TICKET_STATUS_TYPE, MY_TICKET_TAB, type MY_TICKET_TAB_TYPE, type MealCategory, type MealItem, ModalFilterTicket, DEFAULT_LABELS$1 as ModalFilterTicketDefaultLabels, type ModalFilterTicketLabels, type ModalFilterTicketProps, ModalIllustration, type ModalIllustrationButton, type ModalIllustrationProps, ModalListMenuService, type ModalListMenuServiceProps, ModalListPassenger, type ModalListPassengerProps, ModalPassengerForm, type ModalPassengerFormProps, type ModalPresetKey, ModalPreviewImage, type ModalPreviewImageProps, ModalPriceDetail, type ModalPriceDetailProps, ModalSearchHarbor, type ModalSearchHarborProps, ModalSearchTicket, type ModalSearchTicketProps, ModalSelectDate, type ModalSelectDateProps, ModalService, type CardServiceMenuItem as ModalServiceItem, type ModalServiceProps, ModalTotalPassengers, type ModalTotalPassengersProps, ModalTypeOfService, type ModalTypeOfServiceProps, PASSENGER_TYPE, type PASSENGER_TYPE_TYPE, type Passenger, type PassengerClass, type PassengerFormData, type PassengerService, type PassengerType, type PaymentGuideStep, type PaymentMethodCategory, type PaymentStep, type PriceDetailItem, type ProfileMenuSection, type ProfileMenuTab, type Provider, type RadioOption, type ReservationStep, type ReviewPassengerItem, type RouteItem, type SearchSummaryField, type SearchTicketFormData, type SelectOption, type SelectedPassengerItem, type ServiceId, type ServiceItem, SortMenu, type SortMenuProps, type SortOption, type StepStatus, Stepper, type StepperProps, type StepperStep, type TabType, type TypeOfService, type VehicleOwner, calculateAge, getBadgeConfig, getModalPreset, getSortLabel, hexToRgba };
|
package/dist/index.d.ts
CHANGED
|
@@ -1645,61 +1645,6 @@ interface ModalTotalPassengersProps {
|
|
|
1645
1645
|
*/
|
|
1646
1646
|
declare const ModalTotalPassengers: React$1.FC<ModalTotalPassengersProps>;
|
|
1647
1647
|
|
|
1648
|
-
declare const API_ENDPOINTS: {
|
|
1649
|
-
readonly PORTS: {
|
|
1650
|
-
readonly ORIGIN: "/v1/surrounding/catalog/ports/list/origin";
|
|
1651
|
-
readonly DESTINATION: "/v1/surrounding/catalog/ports/list/destination";
|
|
1652
|
-
};
|
|
1653
|
-
readonly SERVICES: {
|
|
1654
|
-
readonly LIST: "/v1/surrounding/catalog/service-types";
|
|
1655
|
-
};
|
|
1656
|
-
readonly PASSENGERS: {
|
|
1657
|
-
readonly LIST: "/v1/surrounding/catalog/passenger-types";
|
|
1658
|
-
};
|
|
1659
|
-
readonly AUTH: {
|
|
1660
|
-
readonly LOGIN: "/v1/surrounding/auth/login";
|
|
1661
|
-
readonly REGISTER: "/auth/register";
|
|
1662
|
-
readonly LOGOUT: "/auth/logout";
|
|
1663
|
-
readonly REFRESH: "/auth/refresh";
|
|
1664
|
-
readonly PROFILE: "/auth/profile";
|
|
1665
|
-
readonly UPDATE_PROFILE: "/auth/profile";
|
|
1666
|
-
readonly CHANGE_PASSWORD: "/auth/change-password";
|
|
1667
|
-
readonly FORGOT_PASSWORD: "/auth/forgot-password";
|
|
1668
|
-
readonly RESET_PASSWORD: "/auth/reset-password";
|
|
1669
|
-
readonly VERIFY_EMAIL: "/auth/verify-email";
|
|
1670
|
-
};
|
|
1671
|
-
readonly USERS: {
|
|
1672
|
-
readonly LIST: "/users";
|
|
1673
|
-
readonly CREATE: "/users";
|
|
1674
|
-
readonly DETAIL: (id: string) => string;
|
|
1675
|
-
readonly UPDATE: (id: string) => string;
|
|
1676
|
-
readonly DELETE: (id: string) => string;
|
|
1677
|
-
readonly AVATAR: (id: string) => string;
|
|
1678
|
-
};
|
|
1679
|
-
readonly FILES: {
|
|
1680
|
-
readonly UPLOAD: "/files/upload";
|
|
1681
|
-
readonly DOWNLOAD: (id: string) => string;
|
|
1682
|
-
readonly DELETE: (id: string) => string;
|
|
1683
|
-
readonly LIST: "/files";
|
|
1684
|
-
};
|
|
1685
|
-
readonly DASHBOARD: {
|
|
1686
|
-
readonly STATS: "/dashboard/stats";
|
|
1687
|
-
readonly CHART_DATA: "/dashboard/chart-data";
|
|
1688
|
-
readonly RECENT_ACTIVITIES: "/dashboard/recent-activities";
|
|
1689
|
-
};
|
|
1690
|
-
readonly NOTIFICATIONS: {
|
|
1691
|
-
readonly LIST: "/notifications";
|
|
1692
|
-
readonly MARK_READ: (id: string) => string;
|
|
1693
|
-
readonly MARK_ALL_READ: "/notifications/read-all";
|
|
1694
|
-
readonly DELETE: (id: string) => string;
|
|
1695
|
-
readonly SETTINGS: "/notifications/settings";
|
|
1696
|
-
};
|
|
1697
|
-
readonly SETTINGS: {
|
|
1698
|
-
readonly GENERAL: "/settings/general";
|
|
1699
|
-
readonly SECURITY: "/settings/security";
|
|
1700
|
-
readonly PREFERENCES: "/settings/preferences";
|
|
1701
|
-
};
|
|
1702
|
-
};
|
|
1703
1648
|
declare const API_CONFIG: {
|
|
1704
1649
|
readonly TIMEOUT: 30000;
|
|
1705
1650
|
readonly RETRY_ATTEMPTS: 3;
|
|
@@ -3384,7 +3329,7 @@ declare const CardFAQ: React$1.FC<CardFAQProps>;
|
|
|
3384
3329
|
|
|
3385
3330
|
interface AddonFooterData {
|
|
3386
3331
|
priceLabel: string;
|
|
3387
|
-
price
|
|
3332
|
+
price?: number;
|
|
3388
3333
|
priceUnit?: string;
|
|
3389
3334
|
actionLabel?: string;
|
|
3390
3335
|
onActionClick?: () => void;
|
|
@@ -3602,6 +3547,11 @@ interface CardReviewProps {
|
|
|
3602
3547
|
* Optional action in the header (e.g. Ubah button) - though not present in current designs, good for extensibility
|
|
3603
3548
|
*/
|
|
3604
3549
|
headerAction?: React$1.ReactNode;
|
|
3550
|
+
/**
|
|
3551
|
+
* Loading state for skeleton display
|
|
3552
|
+
* @default false
|
|
3553
|
+
*/
|
|
3554
|
+
isLoading?: boolean;
|
|
3605
3555
|
}
|
|
3606
3556
|
|
|
3607
3557
|
declare const CardReview: React$1.FC<CardReviewProps>;
|
|
@@ -3641,10 +3591,41 @@ interface CardReviewPassengerProps {
|
|
|
3641
3591
|
* Optional class name
|
|
3642
3592
|
*/
|
|
3643
3593
|
className?: string;
|
|
3594
|
+
/**
|
|
3595
|
+
* Loading state for skeleton display
|
|
3596
|
+
* @default false
|
|
3597
|
+
*/
|
|
3598
|
+
isLoading?: boolean;
|
|
3644
3599
|
}
|
|
3645
3600
|
|
|
3646
3601
|
declare const CardReviewPassenger: React$1.FC<CardReviewPassengerProps>;
|
|
3647
3602
|
|
|
3603
|
+
interface TripData {
|
|
3604
|
+
/**
|
|
3605
|
+
* Origin location (e.g., "Merak, Banten")
|
|
3606
|
+
*/
|
|
3607
|
+
from: string;
|
|
3608
|
+
/**
|
|
3609
|
+
* Destination location (e.g., "Bakehuni, Lampung")
|
|
3610
|
+
*/
|
|
3611
|
+
to: string;
|
|
3612
|
+
/**
|
|
3613
|
+
* Schedule entry time (e.g., "Kam, 27 Nov 2025, 18:15")
|
|
3614
|
+
*/
|
|
3615
|
+
scheduleTime: string;
|
|
3616
|
+
/**
|
|
3617
|
+
* Booking name
|
|
3618
|
+
*/
|
|
3619
|
+
bookingName: string;
|
|
3620
|
+
/**
|
|
3621
|
+
* Passenger type/vehicle info (e.g., "Golongan VIB • Mobil Pickup • B 1234 CD")
|
|
3622
|
+
*/
|
|
3623
|
+
passengerType: string;
|
|
3624
|
+
/**
|
|
3625
|
+
* Number of add-ons/services
|
|
3626
|
+
*/
|
|
3627
|
+
addOnsCount: number;
|
|
3628
|
+
}
|
|
3648
3629
|
interface CardReviewDetailLabels {
|
|
3649
3630
|
title: string;
|
|
3650
3631
|
fromLabel: string;
|
|
@@ -3656,6 +3637,8 @@ interface CardReviewDetailLabels {
|
|
|
3656
3637
|
viewDetail: string;
|
|
3657
3638
|
noAddOnsLabel: string;
|
|
3658
3639
|
serviceLabel: string;
|
|
3640
|
+
departureLabel: string;
|
|
3641
|
+
returnLabel: string;
|
|
3659
3642
|
}
|
|
3660
3643
|
interface CardReviewDetailProps {
|
|
3661
3644
|
/**
|
|
@@ -3668,29 +3651,13 @@ interface CardReviewDetailProps {
|
|
|
3668
3651
|
*/
|
|
3669
3652
|
labels?: Partial<CardReviewDetailLabels>;
|
|
3670
3653
|
/**
|
|
3671
|
-
*
|
|
3672
|
-
*/
|
|
3673
|
-
from: string;
|
|
3674
|
-
/**
|
|
3675
|
-
* Destination location (e.g., "Bakehuni, Lampung")
|
|
3654
|
+
* Departure trip data
|
|
3676
3655
|
*/
|
|
3677
|
-
|
|
3656
|
+
departureData: TripData;
|
|
3678
3657
|
/**
|
|
3679
|
-
*
|
|
3658
|
+
* Return trip data (only used when isRoundTrip is true)
|
|
3680
3659
|
*/
|
|
3681
|
-
|
|
3682
|
-
/**
|
|
3683
|
-
* Booking name
|
|
3684
|
-
*/
|
|
3685
|
-
bookingName: string;
|
|
3686
|
-
/**
|
|
3687
|
-
* Passenger type/vehicle info (e.g., "Golongan VIB • Mobil Pickup • B 1234 CD")
|
|
3688
|
-
*/
|
|
3689
|
-
passengerType: string;
|
|
3690
|
-
/**
|
|
3691
|
-
* Number of add-ons/services
|
|
3692
|
-
*/
|
|
3693
|
-
addOnsCount: number;
|
|
3660
|
+
returnData?: TripData;
|
|
3694
3661
|
/**
|
|
3695
3662
|
* Callback when "View Detail" button is clicked
|
|
3696
3663
|
*/
|
|
@@ -3699,6 +3666,16 @@ interface CardReviewDetailProps {
|
|
|
3699
3666
|
* Optional class name
|
|
3700
3667
|
*/
|
|
3701
3668
|
className?: string;
|
|
3669
|
+
/**
|
|
3670
|
+
* Loading state for skeleton display
|
|
3671
|
+
* @default false
|
|
3672
|
+
*/
|
|
3673
|
+
isLoading?: boolean;
|
|
3674
|
+
/**
|
|
3675
|
+
* Indicate if the trip is round-trip, which will conditionally render return badge and section
|
|
3676
|
+
* @default false
|
|
3677
|
+
*/
|
|
3678
|
+
isRoundTrip?: boolean;
|
|
3702
3679
|
}
|
|
3703
3680
|
|
|
3704
3681
|
declare const CardReviewDetail: React$1.FC<CardReviewDetailProps>;
|
|
@@ -4064,4 +4041,4 @@ interface ModalListMenuServiceProps {
|
|
|
4064
4041
|
|
|
4065
4042
|
declare const ModalListMenuService: React$1.FC<ModalListMenuServiceProps>;
|
|
4066
4043
|
|
|
4067
|
-
export { API_CONFIG,
|
|
4044
|
+
export { API_CONFIG, API_ERROR_MESSAGES, BackgroundTicketCard, BackgroundTicketCardVertical, type BadgeConfig, type BillingDetail, COUNTRIES, CardAddon, type CardAddonProps, CardBanner, type CardBannerProps, CardBookingAddOn, type CardBookingAddOnData, type CardBookingAddOnItem, type CardBookingAddOnLabels, type CardBookingAddOnProps, 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, CardReviewDetail, type CardReviewDetailProps, CardReviewPassenger, type CardReviewPassengerProps, type CardReviewProps, CardServiceMenu, type CardServiceMenuProps, CardStatusOrder, type CardStatusOrderProps, CardTicket, type CardTicketProps, CardTicketSearch, DEFAULT_LABELS$4 as CardTicketSearchDefaultLabels, type CardTicketSearchFormData, type CardTicketSearchLabels, type CardTicketSearchProps, type ServiceMenuItem as CardTicketSearchServiceMenuItem, CardTicketSearchSummary, DEFAULT_LABELS$3 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_TYPES, DEFAULT_SORT_OPTIONS, DEFAULT_TIME_SLOTS, DEFAULT_VEHICLE_ICONS, DateFilter, DEFAULT_LABELS as DateFilterDefaultLabels, type DateFilterLabels, type DateFilterProps, type DateItem, type DepartureItem, EmptyContent, type EmptyContentButton, DEFAULT_LABELS$2 as EmptyContentDefaultLabels, type EmptyContentLabels, type EmptyContentProps, FileUpload, type FileUploadProps, type FilterCount, GENDER, type GENDER_TYPE, HARDCODED_ID, HTTP_STATUS, type HarborItem, IDENTITY_TYPE, type IDENTITY_TYPE_TYPE, type IdentityType, InputDynamic, type InputDynamicProps, type InputType, LOAD_TYPE, type LOAD_TYPE_TYPE, type LoadType, MANIFEST_ENTITY, type MANIFEST_ENTITY_TYPE, MODAL_PRESETS, MY_TICKET_STATUS, type MY_TICKET_STATUS_TYPE, MY_TICKET_TAB, type MY_TICKET_TAB_TYPE, type MealCategory, type MealItem, ModalFilterTicket, DEFAULT_LABELS$1 as ModalFilterTicketDefaultLabels, type ModalFilterTicketLabels, type ModalFilterTicketProps, ModalIllustration, type ModalIllustrationButton, type ModalIllustrationProps, ModalListMenuService, type ModalListMenuServiceProps, ModalListPassenger, type ModalListPassengerProps, ModalPassengerForm, type ModalPassengerFormProps, type ModalPresetKey, ModalPreviewImage, type ModalPreviewImageProps, ModalPriceDetail, type ModalPriceDetailProps, ModalSearchHarbor, type ModalSearchHarborProps, ModalSearchTicket, type ModalSearchTicketProps, ModalSelectDate, type ModalSelectDateProps, ModalService, type CardServiceMenuItem as ModalServiceItem, type ModalServiceProps, ModalTotalPassengers, type ModalTotalPassengersProps, ModalTypeOfService, type ModalTypeOfServiceProps, PASSENGER_TYPE, type PASSENGER_TYPE_TYPE, type Passenger, type PassengerClass, type PassengerFormData, type PassengerService, type PassengerType, type PaymentGuideStep, type PaymentMethodCategory, type PaymentStep, type PriceDetailItem, type ProfileMenuSection, type ProfileMenuTab, type Provider, type RadioOption, type ReservationStep, type ReviewPassengerItem, type RouteItem, type SearchSummaryField, type SearchTicketFormData, type SelectOption, type SelectedPassengerItem, type ServiceId, type ServiceItem, SortMenu, type SortMenuProps, type SortOption, type StepStatus, Stepper, type StepperProps, type StepperStep, type TabType, type TypeOfService, type VehicleOwner, calculateAge, getBadgeConfig, getModalPreset, getSortLabel, hexToRgba };
|