@asdp/ferryui 0.1.22-dev.10601 → 0.1.22-dev.10685
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 +29 -3
- package/dist/index.d.ts +29 -3
- package/dist/index.js +550 -112
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +551 -113
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React$1, { ReactNode } from 'react';
|
|
2
2
|
import { CarouselAnnouncerFunction, DialogProps } from '@fluentui/react-components';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
3
|
import * as react_hook_form from 'react-hook-form';
|
|
5
4
|
import { FieldValues, Path, Control, UseFormWatch, UseFormSetValue, UseFormGetValues } from 'react-hook-form';
|
|
6
5
|
|
|
@@ -548,13 +547,13 @@ declare const CardTicket: React$1.FC<CardTicketProps>;
|
|
|
548
547
|
* Horizontal ticket card background with decorative perforated edges
|
|
549
548
|
* Use this for desktop/landscape layouts
|
|
550
549
|
*/
|
|
551
|
-
declare const BackgroundTicketCard: (props: React$1.SVGProps<SVGSVGElement>) =>
|
|
550
|
+
declare const BackgroundTicketCard: (props: React$1.SVGProps<SVGSVGElement>) => React$1.JSX.Element;
|
|
552
551
|
|
|
553
552
|
/**
|
|
554
553
|
* Vertical ticket card background with decorative perforated edges
|
|
555
554
|
* Use this for mobile/portrait layouts
|
|
556
555
|
*/
|
|
557
|
-
declare const BackgroundTicketCardVertical: (props: React$1.SVGProps<SVGSVGElement>) =>
|
|
556
|
+
declare const BackgroundTicketCardVertical: (props: React$1.SVGProps<SVGSVGElement>) => React$1.JSX.Element;
|
|
558
557
|
|
|
559
558
|
type ServiceId = 'ferry' | 'ifcs' | 'skpt' | 'hotel' | 'other';
|
|
560
559
|
interface CardServiceMenuLabels {
|
|
@@ -3936,8 +3935,11 @@ declare const CardStatusOrder: React$1.FC<CardStatusOrderProps>;
|
|
|
3936
3935
|
|
|
3937
3936
|
interface ModalPriceDetailLabels {
|
|
3938
3937
|
title: string;
|
|
3938
|
+
passengerDetailHeader: string;
|
|
3939
3939
|
addonHeader: string;
|
|
3940
|
+
departureFareHeader: string;
|
|
3940
3941
|
subTotalLabel: string;
|
|
3942
|
+
discountLabel: string;
|
|
3941
3943
|
totalTagihanLabel: string;
|
|
3942
3944
|
ppnLabel: string;
|
|
3943
3945
|
ppnNote: string;
|
|
@@ -3953,14 +3955,38 @@ interface PriceDetailItem {
|
|
|
3953
3955
|
badge?: string;
|
|
3954
3956
|
list?: PriceDetailItem[];
|
|
3955
3957
|
}
|
|
3958
|
+
interface ModalPriceDetailHeaderInfo {
|
|
3959
|
+
logoUrl?: string;
|
|
3960
|
+
logoAlt?: string;
|
|
3961
|
+
vesselName?: string;
|
|
3962
|
+
vesselType?: string;
|
|
3963
|
+
vesselTypeColor?: string;
|
|
3964
|
+
departureHarbor?: string;
|
|
3965
|
+
arrivalHarbor?: string;
|
|
3966
|
+
vehicleGroupLabel?: string;
|
|
3967
|
+
}
|
|
3956
3968
|
interface ModalPriceDetailProps {
|
|
3957
3969
|
isOpen: boolean;
|
|
3958
3970
|
onOpenChange: (open: boolean) => void;
|
|
3971
|
+
isRoundTrip?: boolean;
|
|
3972
|
+
vesselType?: string;
|
|
3973
|
+
vesselTypeColor?: string;
|
|
3959
3974
|
detailItems: PriceDetailItem[];
|
|
3975
|
+
departureItems?: PriceDetailItem[];
|
|
3960
3976
|
addonItems: PriceDetailItem[];
|
|
3961
3977
|
subTotal: number;
|
|
3978
|
+
discountAmount?: number;
|
|
3962
3979
|
taxAmount: number;
|
|
3963
3980
|
grandTotal: number;
|
|
3981
|
+
headerInfo?: ModalPriceDetailHeaderInfo;
|
|
3982
|
+
roundTripHeaderInfo?: ModalPriceDetailHeaderInfo;
|
|
3983
|
+
roundTripDetailItems?: PriceDetailItem[];
|
|
3984
|
+
roundTripDepartureItems?: PriceDetailItem[];
|
|
3985
|
+
roundTripAddonItems?: PriceDetailItem[];
|
|
3986
|
+
roundTripSubTotal?: number;
|
|
3987
|
+
roundTripDiscountAmount?: number;
|
|
3988
|
+
roundTripTaxAmount?: number;
|
|
3989
|
+
roundTripGrandTotal?: number;
|
|
3964
3990
|
/**
|
|
3965
3991
|
* Language for labels
|
|
3966
3992
|
* @default 'id'
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React$1, { ReactNode } from 'react';
|
|
2
2
|
import { CarouselAnnouncerFunction, DialogProps } from '@fluentui/react-components';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
3
|
import * as react_hook_form from 'react-hook-form';
|
|
5
4
|
import { FieldValues, Path, Control, UseFormWatch, UseFormSetValue, UseFormGetValues } from 'react-hook-form';
|
|
6
5
|
|
|
@@ -548,13 +547,13 @@ declare const CardTicket: React$1.FC<CardTicketProps>;
|
|
|
548
547
|
* Horizontal ticket card background with decorative perforated edges
|
|
549
548
|
* Use this for desktop/landscape layouts
|
|
550
549
|
*/
|
|
551
|
-
declare const BackgroundTicketCard: (props: React$1.SVGProps<SVGSVGElement>) =>
|
|
550
|
+
declare const BackgroundTicketCard: (props: React$1.SVGProps<SVGSVGElement>) => React$1.JSX.Element;
|
|
552
551
|
|
|
553
552
|
/**
|
|
554
553
|
* Vertical ticket card background with decorative perforated edges
|
|
555
554
|
* Use this for mobile/portrait layouts
|
|
556
555
|
*/
|
|
557
|
-
declare const BackgroundTicketCardVertical: (props: React$1.SVGProps<SVGSVGElement>) =>
|
|
556
|
+
declare const BackgroundTicketCardVertical: (props: React$1.SVGProps<SVGSVGElement>) => React$1.JSX.Element;
|
|
558
557
|
|
|
559
558
|
type ServiceId = 'ferry' | 'ifcs' | 'skpt' | 'hotel' | 'other';
|
|
560
559
|
interface CardServiceMenuLabels {
|
|
@@ -3936,8 +3935,11 @@ declare const CardStatusOrder: React$1.FC<CardStatusOrderProps>;
|
|
|
3936
3935
|
|
|
3937
3936
|
interface ModalPriceDetailLabels {
|
|
3938
3937
|
title: string;
|
|
3938
|
+
passengerDetailHeader: string;
|
|
3939
3939
|
addonHeader: string;
|
|
3940
|
+
departureFareHeader: string;
|
|
3940
3941
|
subTotalLabel: string;
|
|
3942
|
+
discountLabel: string;
|
|
3941
3943
|
totalTagihanLabel: string;
|
|
3942
3944
|
ppnLabel: string;
|
|
3943
3945
|
ppnNote: string;
|
|
@@ -3953,14 +3955,38 @@ interface PriceDetailItem {
|
|
|
3953
3955
|
badge?: string;
|
|
3954
3956
|
list?: PriceDetailItem[];
|
|
3955
3957
|
}
|
|
3958
|
+
interface ModalPriceDetailHeaderInfo {
|
|
3959
|
+
logoUrl?: string;
|
|
3960
|
+
logoAlt?: string;
|
|
3961
|
+
vesselName?: string;
|
|
3962
|
+
vesselType?: string;
|
|
3963
|
+
vesselTypeColor?: string;
|
|
3964
|
+
departureHarbor?: string;
|
|
3965
|
+
arrivalHarbor?: string;
|
|
3966
|
+
vehicleGroupLabel?: string;
|
|
3967
|
+
}
|
|
3956
3968
|
interface ModalPriceDetailProps {
|
|
3957
3969
|
isOpen: boolean;
|
|
3958
3970
|
onOpenChange: (open: boolean) => void;
|
|
3971
|
+
isRoundTrip?: boolean;
|
|
3972
|
+
vesselType?: string;
|
|
3973
|
+
vesselTypeColor?: string;
|
|
3959
3974
|
detailItems: PriceDetailItem[];
|
|
3975
|
+
departureItems?: PriceDetailItem[];
|
|
3960
3976
|
addonItems: PriceDetailItem[];
|
|
3961
3977
|
subTotal: number;
|
|
3978
|
+
discountAmount?: number;
|
|
3962
3979
|
taxAmount: number;
|
|
3963
3980
|
grandTotal: number;
|
|
3981
|
+
headerInfo?: ModalPriceDetailHeaderInfo;
|
|
3982
|
+
roundTripHeaderInfo?: ModalPriceDetailHeaderInfo;
|
|
3983
|
+
roundTripDetailItems?: PriceDetailItem[];
|
|
3984
|
+
roundTripDepartureItems?: PriceDetailItem[];
|
|
3985
|
+
roundTripAddonItems?: PriceDetailItem[];
|
|
3986
|
+
roundTripSubTotal?: number;
|
|
3987
|
+
roundTripDiscountAmount?: number;
|
|
3988
|
+
roundTripTaxAmount?: number;
|
|
3989
|
+
roundTripGrandTotal?: number;
|
|
3964
3990
|
/**
|
|
3965
3991
|
* Language for labels
|
|
3966
3992
|
* @default 'id'
|