mautourco-components 0.2.35 → 0.2.37
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/components/molecules/ActionDropdown/ActionDropdown.d.ts +1 -1
- package/dist/components/molecules/ActionDropdown/ActionDropdown.js +4 -4
- package/dist/components/molecules/AddItemButton/AddItemButton.d.ts +1 -1
- package/dist/components/molecules/AddItemButton/AddItemButton.js +3 -3
- package/dist/components/molecules/BookingPax/BookingPax.d.ts +9 -6
- package/dist/components/molecules/BookingPax/BookingPax.js +2 -2
- package/dist/components/molecules/BookingPax/BookingPaxAccom.d.ts +1 -2
- package/dist/components/molecules/BookingPax/BookingPaxAccom.js +2 -2
- package/dist/components/molecules/BookingPax/BookingPaxClient/BookingPaxClient.d.ts +1 -1
- package/dist/components/molecules/BookingPax/BookingPaxClient/BookingPaxClient.js +2 -2
- package/dist/components/molecules/BookingPax/BookingPaxExcursion.d.ts +1 -2
- package/dist/components/molecules/BookingPax/BookingPaxExcursion.js +2 -2
- package/dist/components/molecules/BookingPax/BookingPaxHeader.d.ts +5 -5
- package/dist/components/molecules/BookingPax/BookingPaxHeader.js +2 -2
- package/dist/components/molecules/BookingPax/BookingPaxLayout/BookingPaxLayout.d.ts +1 -1
- package/dist/components/molecules/BookingPax/BookingPaxLayout/BookingPaxLayout.js +2 -2
- package/dist/components/molecules/BookingPax/BookingPaxRemarks.d.ts +1 -2
- package/dist/components/molecules/BookingPax/BookingPaxRemarks.js +4 -4
- package/dist/components/molecules/BookingPax/BookingPaxTransfer.d.ts +1 -2
- package/dist/components/molecules/BookingPax/BookingPaxTransfer.js +2 -2
- package/dist/components/molecules/BookingResume/BookingResume.d.ts +13 -8
- package/dist/components/molecules/BookingResume/BookingResume.js +2 -2
- package/dist/components/molecules/BookingResume/BookingResumeLayout/BookingResumeLayout.d.ts +1 -1
- package/dist/components/molecules/BookingResume/BookingResumeLayout/BookingResumeLayout.js +2 -2
- package/dist/components/molecules/BookingResume/ResumeAccom/ResumeAccom.d.ts +1 -2
- package/dist/components/molecules/BookingResume/ResumeAccom/ResumeAccom.js +2 -2
- package/dist/components/molecules/BookingResume/ResumeExcursion/ResumeExcursion.d.ts +1 -2
- package/dist/components/molecules/BookingResume/ResumeExcursion/ResumeExcursion.js +2 -2
- package/dist/components/molecules/BookingResume/ResumeOtherService.d.ts +1 -2
- package/dist/components/molecules/BookingResume/ResumeOtherService.js +2 -2
- package/dist/components/molecules/BookingResume/ResumeTransfer.d.ts +1 -2
- package/dist/components/molecules/BookingResume/ResumeTransfer.js +2 -2
- package/dist/components/molecules/Breadcrumbs/Breadcrumbs.d.ts +1 -2
- package/dist/components/molecules/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/components/molecules/DateDisplay/DateDisplay.d.ts +1 -2
- package/dist/components/molecules/DateDisplay/DateDisplay.js +3 -3
- package/dist/components/molecules/DetailsInfo/DetailsAction.d.ts +1 -2
- package/dist/components/molecules/DetailsInfo/DetailsAction.js +2 -2
- package/dist/components/molecules/DetailsInfo/DetailsAgency/DetailsAgency.d.ts +1 -1
- package/dist/components/molecules/DetailsInfo/DetailsAgency/DetailsAgency.js +2 -2
- package/dist/components/molecules/DetailsInfo/DetailsClient/DetailsClient.d.ts +1 -2
- package/dist/components/molecules/DetailsInfo/DetailsClient/DetailsClient.js +2 -2
- package/dist/components/molecules/DetailsInfo/DetailsFile.d.ts +1 -2
- package/dist/components/molecules/DetailsInfo/DetailsFile.js +2 -2
- package/dist/components/molecules/DetailsInfo/DetailsInfo.d.ts +8 -4
- package/dist/components/molecules/DialogContentPolicy/CancellationLayout/CancellationLayout.d.ts +1 -1
- package/dist/components/molecules/DialogContentPolicy/CancellationLayout/CancellationLayout.js +2 -2
- package/dist/components/molecules/DialogContentPolicy/DialogCancellationAccom.d.ts +1 -1
- package/dist/components/molecules/DialogContentPolicy/DialogCancellationAccom.js +2 -2
- package/dist/components/molecules/DialogContentPolicy/DialogCancellationExcursion.d.ts +1 -1
- package/dist/components/molecules/DialogContentPolicy/DialogCancellationExcursion.js +2 -2
- package/dist/components/molecules/DialogContentPolicy/DialogCancellationList.d.ts +2 -3
- package/dist/components/molecules/DialogContentPolicy/DialogCancellationList.js +4 -4
- package/dist/components/molecules/DialogContentPolicy/DialogContentPolicy.d.ts +9 -6
- package/dist/components/molecules/DialogContentPolicy/DialogContentPolicy.js +2 -2
- package/dist/components/molecules/FromTo/FromTo.d.ts +1 -1
- package/dist/components/molecules/FromTo/FromTo.js +2 -2
- package/dist/components/molecules/GlobalAmenities/GlobalAmenities.d.ts +1 -2
- package/dist/components/molecules/GlobalAmenities/GlobalAmenities.js +2 -2
- package/dist/components/molecules/PaxChips/PaxChips.d.ts +1 -2
- package/dist/components/molecules/PaxChips/PaxChips.js +2 -2
- package/dist/components/molecules/PaxDisplay/PaxDisplay.d.ts +1 -1
- package/dist/components/molecules/PaxDisplay/PaxDisplay.js +2 -2
- package/dist/components/molecules/ServiceTitle/ServiceTitle.d.ts +1 -1
- package/dist/components/molecules/ServiceTitle/ServiceTitle.js +2 -2
- package/dist/components/molecules/StepperTimeline/StepperTimeline.d.ts +3 -2
- package/dist/components/molecules/StepperTimeline/StepperTimeline.js +2 -2
- package/dist/components/molecules/TableServiceItem/DetailsCol.d.ts +1 -1
- package/dist/components/molecules/TableServiceItem/DetailsCol.js +2 -2
- package/dist/components/molecules/TableServiceItem/ItemCol.d.ts +1 -1
- package/dist/components/molecules/TableServiceItem/ItemCol.js +2 -2
- package/dist/components/molecules/TableServiceItem/RowAccommodation.d.ts +2 -3
- package/dist/components/molecules/TableServiceItem/RowAccommodation.js +9 -6
- package/dist/components/molecules/TableServiceItem/RowExcursion.d.ts +3 -4
- package/dist/components/molecules/TableServiceItem/RowExcursion.js +5 -5
- package/dist/components/molecules/TableServiceItem/RowOtherServices.d.ts +3 -4
- package/dist/components/molecules/TableServiceItem/RowOtherServices.js +4 -4
- package/dist/components/molecules/TableServiceItem/RowTransfer.d.ts +3 -4
- package/dist/components/molecules/TableServiceItem/RowTransfer.js +4 -4
- package/dist/components/molecules/TableServiceItem/index.d.ts +4 -4
- package/dist/components/molecules/TextWithBorderBottom/TextWithBorderBottom.d.ts +1 -2
- package/dist/components/molecules/TextWithBorderBottom/TextWithBorderBottom.js +2 -2
- package/dist/components/molecules/TextWithIcon/TextWithIcon.d.ts +1 -1
- package/dist/components/molecules/TextWithIcon/TextWithIcon.js +2 -2
- package/dist/components/molecules/TimelineItem/ServiceAccommodation.d.ts +1 -2
- package/dist/components/molecules/TimelineItem/ServiceAccommodation.js +2 -2
- package/dist/components/molecules/TimelineItem/ServiceExcursion.d.ts +1 -2
- package/dist/components/molecules/TimelineItem/ServiceExcursion.js +2 -2
- package/dist/components/molecules/TimelineItem/ServiceTransfer.d.ts +1 -2
- package/dist/components/molecules/TimelineItem/ServiceTransfer.js +2 -2
- package/dist/components/molecules/TimelineItem/TimelineHeader.d.ts +1 -2
- package/dist/components/molecules/TimelineItem/TimelineHeader.js +2 -2
- package/dist/components/molecules/TimelineItem/TimelineItem.d.ts +6 -3
- package/dist/components/molecules/Toast/Toast.d.ts +1 -2
- package/dist/components/molecules/Toast/Toast.js +3 -3
- package/dist/components/molecules/TooltipDisplay/TooltipDisplay.d.ts +1 -1
- package/dist/components/molecules/TooltipDisplay/TooltipDisplay.js +2 -2
- package/dist/components/organisms/Booking/Booking.d.ts +8 -4
- package/dist/components/organisms/Booking/BookingDocket/BookingDocket.d.ts +1 -1
- package/dist/components/organisms/Booking/BookingDocket/BookingDocket.js +2 -2
- package/dist/components/organisms/Booking/BookingHeader.d.ts +1 -2
- package/dist/components/organisms/Booking/BookingHeader.js +2 -2
- package/dist/components/organisms/Booking/BookingPaxList.d.ts +1 -2
- package/dist/components/organisms/Booking/BookingPaxList.js +2 -2
- package/dist/components/organisms/Booking/BookingStep/BookingStep.d.ts +1 -2
- package/dist/components/organisms/Booking/BookingStep/BookingStep.js +2 -2
- package/dist/components/organisms/DialogBookingAddItem/AddItemNewService.d.ts +1 -1
- package/dist/components/organisms/DialogBookingAddItem/AddItemNewService.js +2 -2
- package/dist/components/organisms/DialogBookingAddItem/AddItemSelector.d.ts +1 -1
- package/dist/components/organisms/DialogBookingAddItem/AddItemSelector.js +3 -3
- package/dist/components/organisms/DialogBookingAddItem/DialogBookingAddItem.d.ts +1 -2
- package/dist/components/organisms/DialogBookingAddItem/DialogBookingAddItem.js +2 -2
- package/dist/components/organisms/DialogBookingConfirm/BookingCancellationPolicy.d.ts +1 -1
- package/dist/components/organisms/DialogBookingConfirm/BookingCancellationPolicy.js +2 -2
- package/dist/components/organisms/DialogBookingConfirm/BookingMailSent.d.ts +1 -2
- package/dist/components/organisms/DialogBookingConfirm/BookingMailSent.js +2 -2
- package/dist/components/organisms/DialogBookingConfirm/BookingReference.d.ts +1 -2
- package/dist/components/organisms/DialogBookingConfirm/BookingReference.js +2 -2
- package/dist/components/organisms/DialogBookingConfirm/BookingSuccess.d.ts +1 -2
- package/dist/components/organisms/DialogBookingConfirm/BookingSuccess.js +2 -2
- package/dist/components/organisms/DialogBookingConfirm/DialogBookingConfirm.d.ts +11 -7
- package/dist/components/organisms/DialogBookingConfirm/DialogBookingConfirm.js +2 -2
- package/dist/components/organisms/DialogCancelService/CancelBooking/CancelBooking.d.ts +1 -2
- package/dist/components/organisms/DialogCancelService/CancelBooking/CancelBooking.js +2 -2
- package/dist/components/organisms/DialogCancelService/CancelPolicy.d.ts +1 -2
- package/dist/components/organisms/DialogCancelService/CancelPolicy.js +2 -2
- package/dist/components/organisms/DialogCancelService/ConfirmDelete/ConfirmDelete.d.ts +1 -2
- package/dist/components/organisms/DialogCancelService/ConfirmDelete/ConfirmDelete.js +2 -2
- package/dist/components/organisms/DialogCancelService/DialogCancelService.d.ts +9 -7
- package/dist/components/organisms/DialogCancelService/DialogCancelService.js +2 -2
- package/dist/components/organisms/DialogCancelService/FromList.d.ts +1 -1
- package/dist/components/organisms/DialogCancelService/FromList.js +2 -2
- package/dist/components/organisms/DialogComparison/DialogComparison.d.ts +1 -1
- package/dist/components/organisms/DialogComparison/DialogComparison.js +2 -2
- package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirm.d.ts +8 -6
- package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirm.js +2 -2
- package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmMultiple/DialogDeleteConfirmMultiple.d.ts +1 -2
- package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmMultiple/DialogDeleteConfirmMultiple.js +2 -2
- package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmWrapper.d.ts +1 -1
- package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmWrapper.js +2 -2
- package/dist/components/organisms/DialogQuoteRename/DialogQuoteRename.d.ts +1 -1
- package/dist/components/organisms/DialogQuoteRename/DialogQuoteRename.js +2 -2
- package/dist/components/organisms/DialogSendingMail/DialogSendingMail.d.ts +7 -5
- package/dist/components/organisms/DialogSendingMail/DialogSendingMail.js +2 -2
- package/dist/components/organisms/DialogSendingMail/DialogSendingMailContent.d.ts +1 -2
- package/dist/components/organisms/DialogSendingMail/DialogSendingMailContent.js +2 -2
- package/dist/components/organisms/DialogSendingMail/DialogSendingMailMultiple/DialogSendingMailMultiple.d.ts +1 -2
- package/dist/components/organisms/DialogSendingMail/DialogSendingMailMultiple/DialogSendingMailMultiple.js +2 -2
- package/dist/components/organisms/QuoteHeader/QuoteHeader.d.ts +1 -4
- package/dist/components/organisms/QuoteHeader/QuoteHeader.js +2 -3
- package/dist/components/organisms/TabServiceDetails/Accommodation.d.ts +1 -2
- package/dist/components/organisms/TabServiceDetails/Accommodation.js +2 -2
- package/dist/components/organisms/TabServiceDetails/DetailContentTransfer.d.ts +1 -2
- package/dist/components/organisms/TabServiceDetails/DetailContentTransfer.js +2 -2
- package/dist/components/organisms/TabServiceDetails/DetailsContentAccom.d.ts +14 -1
- package/dist/components/organisms/TabServiceDetails/DetailsContentAccom.js +2 -2
- package/dist/components/organisms/TabServiceDetails/Excursion.d.ts +1 -2
- package/dist/components/organisms/TabServiceDetails/Excursion.js +2 -2
- package/dist/components/organisms/TabServiceDetails/TabServiceDetails.d.ts +3 -3
- package/dist/components/organisms/TabServiceDetails/Transfer.d.ts +1 -2
- package/dist/components/organisms/TabServiceDetails/Transfer.js +2 -2
- package/dist/components/organisms/Table/Table.d.ts +1 -1
- package/dist/components/organisms/Table/Table.js +2 -2
- package/package.json +1 -1
- package/src/components/molecules/ActionDropdown/ActionDropdown.tsx +3 -6
- package/src/components/molecules/AddItemButton/AddItemButton.tsx +3 -2
- package/src/components/molecules/BookingPax/BookingPax.tsx +2 -2
- package/src/components/molecules/BookingPax/BookingPaxAccom.tsx +3 -3
- package/src/components/molecules/BookingPax/BookingPaxClient/BookingPaxClient.tsx +2 -2
- package/src/components/molecules/BookingPax/BookingPaxExcursion.tsx +3 -3
- package/src/components/molecules/BookingPax/BookingPaxHeader.tsx +2 -2
- package/src/components/molecules/BookingPax/BookingPaxLayout/BookingPaxLayout.tsx +2 -2
- package/src/components/molecules/BookingPax/BookingPaxRemarks.tsx +3 -2
- package/src/components/molecules/BookingPax/BookingPaxTransfer.tsx +2 -2
- package/src/components/molecules/BookingResume/BookingResume.tsx +2 -2
- package/src/components/molecules/BookingResume/BookingResumeLayout/BookingResumeLayout.tsx +2 -2
- package/src/components/molecules/BookingResume/ResumeAccom/ResumeAccom.tsx +2 -3
- package/src/components/molecules/BookingResume/ResumeExcursion/ResumeExcursion.tsx +2 -3
- package/src/components/molecules/BookingResume/ResumeOtherService.tsx +2 -3
- package/src/components/molecules/BookingResume/ResumeTransfer.tsx +2 -3
- package/src/components/molecules/Breadcrumbs/Breadcrumbs.tsx +2 -3
- package/src/components/molecules/DateDisplay/DateDisplay.tsx +11 -10
- package/src/components/molecules/DetailsInfo/DetailsAction.tsx +2 -3
- package/src/components/molecules/DetailsInfo/DetailsAgency/DetailsAgency.tsx +2 -2
- package/src/components/molecules/DetailsInfo/DetailsClient/DetailsClient.tsx +2 -3
- package/src/components/molecules/DetailsInfo/DetailsFile.tsx +2 -3
- package/src/components/molecules/DialogContentPolicy/CancellationLayout/CancellationLayout.tsx +2 -2
- package/src/components/molecules/DialogContentPolicy/DialogCancellationAccom.tsx +2 -4
- package/src/components/molecules/DialogContentPolicy/DialogCancellationExcursion.tsx +2 -4
- package/src/components/molecules/DialogContentPolicy/DialogCancellationList.tsx +4 -5
- package/src/components/molecules/DialogContentPolicy/DialogContentPolicy.tsx +2 -2
- package/src/components/molecules/FromTo/FromTo.tsx +2 -2
- package/src/components/molecules/GlobalAmenities/GlobalAmenities.tsx +2 -3
- package/src/components/molecules/PaxChips/PaxChips.tsx +2 -3
- package/src/components/molecules/PaxDisplay/PaxDisplay.tsx +2 -2
- package/src/components/molecules/ServiceTitle/ServiceTitle.tsx +2 -2
- package/src/components/molecules/StepperTimeline/StepperTimeline.tsx +2 -2
- package/src/components/molecules/TableServiceItem/DetailsCol.tsx +2 -2
- package/src/components/molecules/TableServiceItem/ItemCol.tsx +2 -2
- package/src/components/molecules/TableServiceItem/RowAccommodation.tsx +17 -7
- package/src/components/molecules/TableServiceItem/RowExcursion.tsx +12 -6
- package/src/components/molecules/TableServiceItem/RowOtherServices.tsx +4 -5
- package/src/components/molecules/TableServiceItem/RowTransfer.tsx +4 -7
- package/src/components/molecules/TextWithBorderBottom/TextWithBorderBottom.tsx +2 -3
- package/src/components/molecules/TextWithIcon/TextWithIcon.tsx +2 -2
- package/src/components/molecules/TimelineItem/ServiceAccommodation.tsx +2 -3
- package/src/components/molecules/TimelineItem/ServiceExcursion.tsx +2 -3
- package/src/components/molecules/TimelineItem/ServiceTransfer.tsx +2 -3
- package/src/components/molecules/TimelineItem/TimelineHeader.tsx +2 -3
- package/src/components/molecules/Toast/Toast.tsx +9 -9
- package/src/components/molecules/TooltipDisplay/TooltipDisplay.tsx +2 -2
- package/src/components/organisms/Booking/BookingDocket/BookingDocket.tsx +2 -2
- package/src/components/organisms/Booking/BookingHeader.tsx +2 -3
- package/src/components/organisms/Booking/BookingPaxList.tsx +3 -3
- package/src/components/organisms/Booking/BookingStep/BookingStep.tsx +3 -3
- package/src/components/organisms/DialogBookingAddItem/AddItemNewService.tsx +2 -2
- package/src/components/organisms/DialogBookingAddItem/AddItemSelector.tsx +3 -2
- package/src/components/organisms/DialogBookingAddItem/DialogBookingAddItem.tsx +3 -3
- package/src/components/organisms/DialogBookingConfirm/BookingCancellationPolicy.tsx +2 -2
- package/src/components/organisms/DialogBookingConfirm/BookingMailSent.tsx +2 -3
- package/src/components/organisms/DialogBookingConfirm/BookingReference.tsx +3 -3
- package/src/components/organisms/DialogBookingConfirm/BookingSuccess.tsx +2 -3
- package/src/components/organisms/DialogBookingConfirm/DialogBookingConfirm.tsx +2 -2
- package/src/components/organisms/DialogCancelService/CancelBooking/CancelBooking.tsx +3 -3
- package/src/components/organisms/DialogCancelService/CancelPolicy.tsx +2 -3
- package/src/components/organisms/DialogCancelService/ConfirmDelete/ConfirmDelete.tsx +2 -3
- package/src/components/organisms/DialogCancelService/DialogCancelService.tsx +2 -2
- package/src/components/organisms/DialogCancelService/FromList.tsx +3 -3
- package/src/components/organisms/DialogComparison/DialogComparison.tsx +2 -2
- package/src/components/organisms/DialogDeleteConfirm/DialogDeleteConfirm.tsx +2 -2
- package/src/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmMultiple/DialogDeleteConfirmMultiple.tsx +3 -5
- package/src/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmWrapper.tsx +2 -2
- package/src/components/organisms/DialogQuoteRename/DialogQuoteRename.tsx +2 -2
- package/src/components/organisms/DialogSendingMail/DialogSendingMail.tsx +2 -2
- package/src/components/organisms/DialogSendingMail/DialogSendingMailContent.tsx +3 -5
- package/src/components/organisms/DialogSendingMail/DialogSendingMailMultiple/DialogSendingMailMultiple.tsx +3 -5
- package/src/components/organisms/QuoteHeader/QuoteHeader.tsx +2 -4
- package/src/components/organisms/TabServiceDetails/Accommodation.tsx +2 -3
- package/src/components/organisms/TabServiceDetails/DetailContentTransfer.tsx +2 -3
- package/src/components/organisms/TabServiceDetails/DetailsContentAccom.tsx +3 -3
- package/src/components/organisms/TabServiceDetails/Excursion.tsx +2 -3
- package/src/components/organisms/TabServiceDetails/Transfer.tsx +2 -3
- package/src/components/organisms/Table/Table.tsx +2 -2
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
import { DetailsAction } from './DetailsAction';
|
|
2
|
+
import { DetailsAgency } from './DetailsAgency/DetailsAgency';
|
|
3
|
+
import { DetailsClientInfo } from './DetailsClient/DetailsClient';
|
|
4
|
+
import { DetailsFile } from './DetailsFile';
|
|
1
5
|
export interface DetailsInfoProps {
|
|
2
6
|
children: React.ReactNode;
|
|
3
7
|
className?: string;
|
|
4
8
|
}
|
|
5
9
|
declare function DetailsInfo(props: DetailsInfoProps): import("react/jsx-runtime").JSX.Element;
|
|
6
10
|
declare namespace DetailsInfo {
|
|
7
|
-
var File:
|
|
8
|
-
var Agency:
|
|
9
|
-
var Action:
|
|
10
|
-
var Client:
|
|
11
|
+
var File: typeof DetailsFile;
|
|
12
|
+
var Agency: typeof DetailsAgency;
|
|
13
|
+
var Action: typeof DetailsAction;
|
|
14
|
+
var Client: typeof DetailsClientInfo;
|
|
11
15
|
}
|
|
12
16
|
export default DetailsInfo;
|
package/dist/components/molecules/DialogContentPolicy/CancellationLayout/CancellationLayout.d.ts
CHANGED
|
@@ -10,4 +10,4 @@ export interface CancellationLayoutProps {
|
|
|
10
10
|
cancellationFee?: number;
|
|
11
11
|
currency?: string;
|
|
12
12
|
}
|
|
13
|
-
export declare
|
|
13
|
+
export declare function CancellationLayout(props: CancellationLayoutProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/components/molecules/DialogContentPolicy/CancellationLayout/CancellationLayout.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Text } from '../../../atoms/Typography/Typography';
|
|
|
3
3
|
import { cn } from '../../../../lib/utils';
|
|
4
4
|
import { ServiceTitle } from '../../ServiceTitle/ServiceTitle';
|
|
5
5
|
import './CancellationLayout.css';
|
|
6
|
-
export
|
|
6
|
+
export function CancellationLayout(props) {
|
|
7
7
|
var title = props.title, icon = props.icon, children = props.children, className = props.className, image = props.image, cancellationFee = props.cancellationFee, currency = props.currency;
|
|
8
8
|
return (_jsxs("div", { className: cn('cancellation-layout', className), children: [_jsx(ServiceTitle, { title: title, icon: icon }), _jsxs("div", { className: "cancellation-layout__content", children: [_jsx("div", { className: "cancellation-layout__content-left", children: children }), _jsx("figure", { className: "cancellation-layout__content-right", children: _jsx("img", { src: image, alt: (title === null || title === void 0 ? void 0 : title.toString()) || '', width: 150, height: 200 }) })] }), cancellationFee && (_jsxs("div", { className: "cancellation-layout__fee", children: [_jsx(Text, { variant: "medium", children: "Cancellation fee (VAT Incl) :" }), _jsxs(Text, { variant: "bold", children: [currency, " ", cancellationFee] })] }))] }));
|
|
9
|
-
}
|
|
9
|
+
}
|
|
@@ -7,4 +7,4 @@ export interface DialogCancellationAccomProps {
|
|
|
7
7
|
cancellationFee?: number;
|
|
8
8
|
currency?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare
|
|
10
|
+
export declare function DialogCancellationAccom(props: DialogCancellationAccomProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,8 +6,8 @@ import { Text } from '../../atoms/Typography/Typography';
|
|
|
6
6
|
import { DateDisplay } from '../DateDisplay/DateDisplay';
|
|
7
7
|
import TextWithIcon from '../TextWithIcon/TextWithIcon';
|
|
8
8
|
import { CancellationLayout } from './CancellationLayout/CancellationLayout';
|
|
9
|
-
export
|
|
9
|
+
export function DialogCancellationAccom(props) {
|
|
10
10
|
var image = props.image, hotelName = props.hotelName, dates = props.dates, rooms = props.rooms, cancellationFee = props.cancellationFee, currency = props.currency;
|
|
11
11
|
var stay = useStays(dates);
|
|
12
12
|
return (_jsx(CancellationLayout, { title: "Accommodation", icon: "accom", image: image, cancellationFee: cancellationFee, currency: currency, children: _jsxs("div", { className: "space-y-6", children: [_jsxs("div", { className: "space-y-1", children: [_jsx(Text, { variant: "bold", children: hotelName }), _jsx(DateDisplay, { dates: dates }), _jsxs(TextWithIcon, { icon: "night", textLeading: "4", children: [stay, " Nights"] })] }), _jsx("div", { className: "", children: rooms.map(function (room, index) { return (_jsxs("div", { className: "space-y-4", children: [_jsxs("div", { className: "space-y-1", children: [_jsxs(TextWithIcon, { icon: "accom", textLeading: "4", children: [index + 1, " Room"] }), _jsx(Text, { size: "sm", children: room.RoomName })] }), room.cancellation_policy.map(function (policy, pIndex) { return (_jsxs(Fragment, { children: [_jsxs(Chip, { type: "outline", color: "brand", isBlackText: true, children: ["Policy period applies", ' ', _jsx(DateDisplay, { dates: [policy.ValidFrom, policy.ValidTo], textSize: "xs" })] }), _jsxs(Text, { variant: "bold", size: "xs", leading: "4", children: [policy.Value, " % of total price"] }), _jsx(Text, { size: "xs", leading: "4", children: policy.Description })] }, "policy-".concat(pIndex))); })] }, "rm-".concat(index))); }) })] }) }));
|
|
13
|
-
}
|
|
13
|
+
}
|
|
@@ -15,4 +15,4 @@ export interface DialogCancellationExcursionProps {
|
|
|
15
15
|
cancellationFee?: number;
|
|
16
16
|
currency?: string;
|
|
17
17
|
}
|
|
18
|
-
export declare
|
|
18
|
+
export declare function DialogCancellationExcursion(props: DialogCancellationExcursionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,7 +3,7 @@ import { Text } from '../../atoms/Typography/Typography';
|
|
|
3
3
|
import { DateDisplay } from '../DateDisplay/DateDisplay';
|
|
4
4
|
import { ServiceInfo } from '../ServiceInfo/ServiceInfo';
|
|
5
5
|
import { CancellationLayout } from './CancellationLayout/CancellationLayout';
|
|
6
|
-
export
|
|
6
|
+
export function DialogCancellationExcursion(props) {
|
|
7
7
|
var image = props.image, excursionName = props.excursionName, date = props.date, details = props.details, policy = props.policy, cancellationFee = props.cancellationFee, currency = props.currency;
|
|
8
8
|
return (_jsx(CancellationLayout, { title: "Excursion", icon: "map", image: image, cancellationFee: cancellationFee, currency: currency, children: _jsxs("div", { className: "space-y-6", children: [_jsxs("div", { className: "space-y-1", children: [_jsx(Text, { variant: "bold", children: excursionName }), _jsx(DateDisplay, { dates: [date] })] }), _jsxs(ServiceInfo, { children: [_jsx(ServiceInfo.Item, { icon: "stopwatch", label: "Duration", children: details.duration }), _jsx(ServiceInfo.Item, { icon: "utensils", label: "Meal", children: details.meal }), _jsx(ServiceInfo.Item, { icon: "bike", label: "Difficulty", children: details.accessibility }), _jsx(ServiceInfo.Item, { icon: "car", label: "Transfer Type", children: details.transferType })] }), _jsxs("div", { className: "", children: [_jsx(Text, { variant: "bold", size: "xs", leading: "4", children: policy.title }), _jsx(Text, { size: "xs", leading: "4", children: policy.description })] })] }) }));
|
|
9
|
-
}
|
|
9
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { DialogCancellationAccomProps } from './DialogCancellationAccom';
|
|
3
2
|
import { DialogCancellationExcursionProps } from './DialogCancellationExcursion';
|
|
4
3
|
export interface CancellationPolicyItem {
|
|
@@ -17,7 +16,7 @@ export interface DialogCancellationListProps {
|
|
|
17
16
|
*/
|
|
18
17
|
cancellations: CancellationPolicyItem[];
|
|
19
18
|
}
|
|
20
|
-
export declare
|
|
19
|
+
export declare function CancellationsList(props: DialogCancellationListProps): import("react/jsx-runtime").JSX.Element;
|
|
21
20
|
/**
|
|
22
21
|
* DialogCancellationList is a component that allows the user to display the cancellations.
|
|
23
22
|
*
|
|
@@ -29,4 +28,4 @@ export declare const CancellationsList: (props: DialogCancellationListProps) =>
|
|
|
29
28
|
* @param props - The props for the DialogCancellationList component.
|
|
30
29
|
* @returns The DialogCancellationList component.
|
|
31
30
|
*/
|
|
32
|
-
export declare
|
|
31
|
+
export declare function DialogCancellationList(props: DialogCancellationListProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -19,7 +19,7 @@ var isAccommodation = function (data) {
|
|
|
19
19
|
var isExcursion = function (data) {
|
|
20
20
|
return 'excursionName' in data;
|
|
21
21
|
};
|
|
22
|
-
export
|
|
22
|
+
export function CancellationsList(props) {
|
|
23
23
|
var cancellations = props.cancellations;
|
|
24
24
|
return (_jsx(_Fragment, { children: cancellations.map(function (c, index) {
|
|
25
25
|
if (c.type === 'accommodation' && isAccommodation(c.data)) {
|
|
@@ -30,7 +30,7 @@ export var CancellationsList = function (props) {
|
|
|
30
30
|
}
|
|
31
31
|
return null;
|
|
32
32
|
}) }));
|
|
33
|
-
}
|
|
33
|
+
}
|
|
34
34
|
/**
|
|
35
35
|
* DialogCancellationList is a component that allows the user to display the cancellations.
|
|
36
36
|
*
|
|
@@ -42,6 +42,6 @@ export var CancellationsList = function (props) {
|
|
|
42
42
|
* @param props - The props for the DialogCancellationList component.
|
|
43
43
|
* @returns The DialogCancellationList component.
|
|
44
44
|
*/
|
|
45
|
-
export
|
|
45
|
+
export function DialogCancellationList(props) {
|
|
46
46
|
return (_jsx(DialogContentPolicy, { children: _jsx(CancellationsList, __assign({}, props)) }));
|
|
47
|
-
}
|
|
47
|
+
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { DialogCancellationAccom } from './DialogCancellationAccom';
|
|
3
|
+
import { DialogCancellationExcursion } from './DialogCancellationExcursion';
|
|
4
|
+
import { DialogCancellationList } from './DialogCancellationList';
|
|
2
5
|
export interface DialogContentPolicyProps {
|
|
3
6
|
/**
|
|
4
7
|
* The children to display.
|
|
@@ -21,9 +24,9 @@ export interface DialogContentPolicyProps {
|
|
|
21
24
|
* @param props - The props for the DialogContentPolicy component.
|
|
22
25
|
* @returns The DialogContentPolicy component.
|
|
23
26
|
*/
|
|
24
|
-
export declare
|
|
25
|
-
|
|
26
|
-
Accommodation:
|
|
27
|
-
Excursion:
|
|
28
|
-
List:
|
|
29
|
-
}
|
|
27
|
+
export declare function DialogContentPolicy(props: DialogContentPolicyProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare namespace DialogContentPolicy {
|
|
29
|
+
var Accommodation: typeof DialogCancellationAccom;
|
|
30
|
+
var Excursion: typeof DialogCancellationExcursion;
|
|
31
|
+
var List: typeof DialogCancellationList;
|
|
32
|
+
}
|
|
@@ -17,11 +17,11 @@ import { DialogCancellationList } from './DialogCancellationList';
|
|
|
17
17
|
* @param props - The props for the DialogContentPolicy component.
|
|
18
18
|
* @returns The DialogContentPolicy component.
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
20
|
+
export function DialogContentPolicy(props) {
|
|
21
21
|
var children = props.children, onSubmit = props.onSubmit;
|
|
22
22
|
var _a = useState(false), accepted = _a[0], setAccepted = _a[1];
|
|
23
23
|
return (_jsxs("div", { className: "cancellation-policy", children: [children, _jsxs("div", { className: "flex justify-end gap-x-5 pt-9 pb-2", children: [_jsx("div", { className: "flex gap-x-2.5 items-center", children: _jsx(Checkbox, { checked: accepted, onChange: setAccepted, label: "I've read and accept the cancellation policy.", labelPosition: "leading" }) }), _jsx(Button, { className: "w-[250px]", variant: "secondary", disabled: !accepted, onClick: onSubmit, children: "Next" })] })] }));
|
|
24
|
-
}
|
|
24
|
+
}
|
|
25
25
|
DialogContentPolicy.Accommodation = DialogCancellationAccom;
|
|
26
26
|
DialogContentPolicy.Excursion = DialogCancellationExcursion;
|
|
27
27
|
DialogContentPolicy.List = DialogCancellationList;
|
|
@@ -3,5 +3,5 @@ export interface FromToProps {
|
|
|
3
3
|
to?: string;
|
|
4
4
|
transferType?: string;
|
|
5
5
|
}
|
|
6
|
-
declare
|
|
6
|
+
declare function FromTo(props: Omit<FromToProps, 'transferType'>): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default FromTo;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import Icon from '../../atoms/Icon/Icon';
|
|
3
3
|
import { Text } from '../../atoms/Typography/Typography';
|
|
4
|
-
|
|
4
|
+
function FromTo(props) {
|
|
5
5
|
var from = props.from, to = props.to;
|
|
6
6
|
var getTransferLocationName = function (location) {
|
|
7
7
|
if (!location)
|
|
@@ -9,5 +9,5 @@ var FromTo = function (props) {
|
|
|
9
9
|
return location.toLowerCase() === 'airport' ? 'Plaisance Airport' : location;
|
|
10
10
|
};
|
|
11
11
|
return (_jsxs("div", { className: "grid gap-y-1", children: [_jsx(Text, { variant: "regular", size: "sm", leading: "5", children: getTransferLocationName(from) }), _jsx(Icon, { name: "arrow-down-outline", size: "sm" }), _jsx(Text, { variant: "regular", size: "sm", leading: "5", children: getTransferLocationName(to) })] }));
|
|
12
|
-
}
|
|
12
|
+
}
|
|
13
13
|
export default FromTo;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export interface GlobalAmenity {
|
|
3
2
|
AmenityIcon: string;
|
|
4
3
|
AmenityName: string;
|
|
@@ -6,4 +5,4 @@ export interface GlobalAmenity {
|
|
|
6
5
|
export interface GlobalAmenitiesProps {
|
|
7
6
|
amenities: GlobalAmenity[];
|
|
8
7
|
}
|
|
9
|
-
export declare
|
|
8
|
+
export declare function GlobalAmenities(props: GlobalAmenitiesProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import CardServiceAccom from '../../atoms/CardServiceAccom/CardServiceAccom';
|
|
3
3
|
import Chip from '../../atoms/Chip/Chip';
|
|
4
4
|
import { Text } from '../../atoms/Typography/Typography';
|
|
5
|
-
export
|
|
5
|
+
export function GlobalAmenities(props) {
|
|
6
6
|
var amenities = props.amenities;
|
|
7
7
|
return (_jsxs(CardServiceAccom, { className: "space-y-4", withBorderLeft: true, children: [_jsx(Text, { variant: "medium", size: "lg", leading: "4", children: "Global Amenities" }), _jsx("div", { className: "flex flex-wrap gap-4", children: amenities.map(function (amenity, index) { return (_jsx(Chip, { type: "outline", color: "accent", externalIcon: amenity.AmenityIcon, children: amenity.AmenityName }, "ga-".concat(index))); }) })] }));
|
|
8
|
-
}
|
|
8
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export interface PaxCount {
|
|
3
2
|
adult: number;
|
|
4
3
|
teen: number;
|
|
@@ -8,4 +7,4 @@ export interface PaxCount {
|
|
|
8
7
|
export interface PaxChipsProps {
|
|
9
8
|
pax: PaxCount;
|
|
10
9
|
}
|
|
11
|
-
export declare
|
|
10
|
+
export declare function PaxChips(props: PaxChipsProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import Chip from '../../atoms/Chip/Chip';
|
|
3
|
-
export
|
|
3
|
+
export function PaxChips(props) {
|
|
4
4
|
var pax = props.pax;
|
|
5
5
|
return (_jsx("div", { className: "flex flex-wrap gap-2", children: Object.entries(pax).map(function (_a) {
|
|
6
6
|
var key = _a[0], value = _a[1];
|
|
7
7
|
return (_jsx(Chip, { label: "".concat(key, " ").concat(value), size: "sm", color: "accent", type: value > 0 ? 'filled' : 'outline' }, key));
|
|
8
8
|
}) }));
|
|
9
|
-
}
|
|
9
|
+
}
|
|
@@ -9,7 +9,7 @@ var paxLabel = {
|
|
|
9
9
|
child: 'Child',
|
|
10
10
|
infant: 'Infant',
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export function PaxDisplay(props) {
|
|
13
13
|
var pax = props.pax;
|
|
14
14
|
return (_jsx("div", { className: "pax-display", children: Object.entries(pax).map(function (_a) {
|
|
15
15
|
var key = _a[0], value = _a[1];
|
|
@@ -18,4 +18,4 @@ export var PaxDisplay = function (props) {
|
|
|
18
18
|
return (_jsxs("div", { className: "pax-display__item", children: [items.length, " ", paxLabel[key], ' ', _jsxs(Text, { variant: "regular", size: "sm", leading: "4", as: "span", color: "light", children: ["(", age, " y.o)"] })] }, age));
|
|
19
19
|
}) }) }) }))) }, key));
|
|
20
20
|
}) }));
|
|
21
|
-
}
|
|
21
|
+
}
|
|
@@ -11,4 +11,4 @@ export interface ServiceTitleProps {
|
|
|
11
11
|
icon?: IconName;
|
|
12
12
|
iconSize?: IconBaseProps['size'];
|
|
13
13
|
}
|
|
14
|
-
export declare
|
|
14
|
+
export declare function ServiceTitle(props: ServiceTitleProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import Icon from '../../atoms/Icon/Icon';
|
|
3
3
|
import { Text } from '../../atoms/Typography/Typography';
|
|
4
4
|
import './ServiceTitle.css';
|
|
5
|
-
export
|
|
5
|
+
export function ServiceTitle(props) {
|
|
6
6
|
var title = props.title, _a = props.textSize, textSize = _a === void 0 ? 'md' : _a, icon = props.icon, _b = props.iconSize, iconSize = _b === void 0 ? 'sm' : _b, _c = props.textLeading, textLeading = _c === void 0 ? '5' : _c, _d = props.textVariant, textVariant = _d === void 0 ? 'bold' : _d;
|
|
7
7
|
return (_jsxs(Text, { className: "service-title", size: textSize, variant: textVariant, leading: textLeading, as: "div", color: "accent", children: [icon && _jsx(Icon, { name: icon, size: iconSize }), _jsx("span", { children: title })] }));
|
|
8
|
-
}
|
|
8
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import './StepperTimeline.css';
|
|
3
2
|
export interface StepperTimelineItemProps {
|
|
4
3
|
label: string;
|
|
@@ -17,7 +16,9 @@ export interface StepperTimelineProps {
|
|
|
17
16
|
currentIndex?: number;
|
|
18
17
|
onChange?: (step: StepperTimelineItem, index: number) => void;
|
|
19
18
|
}
|
|
19
|
+
declare function StepperTimelineItem(props: StepperTimelineItemProps): import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export declare function StepperTimeline(props: StepperTimelineProps): import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
export declare namespace StepperTimeline {
|
|
22
|
-
var Item:
|
|
22
|
+
var Item: typeof StepperTimelineItem;
|
|
23
23
|
}
|
|
24
|
+
export {};
|
|
@@ -2,12 +2,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { cn } from '../../../lib/utils';
|
|
3
3
|
import { Text } from '../../atoms/Typography/Typography';
|
|
4
4
|
import './StepperTimeline.css';
|
|
5
|
-
|
|
5
|
+
function StepperTimelineItem(props) {
|
|
6
6
|
var label = props.label, current = props.current, index = props.index, _a = props.textAlign, textAlign = _a === void 0 ? 'center' : _a, onChange = props.onChange;
|
|
7
7
|
return (_jsx("div", { className: "stepper-timeline-item", children: _jsxs("div", { className: cn('stepper-timeline-item__content', "stepper-timeline-item__content--".concat(textAlign)), children: [_jsx("div", { className: cn('stepper-timeline-item__index', {
|
|
8
8
|
'stepper-timeline-item__index--current': current,
|
|
9
9
|
}), onClick: onChange, children: index }), _jsx(Text, { variant: current ? 'bold' : 'regular', className: "flex items-center text-nowrap", children: label })] }) }));
|
|
10
|
-
}
|
|
10
|
+
}
|
|
11
11
|
export function StepperTimeline(props) {
|
|
12
12
|
var steps = props.steps, className = props.className, _a = props.currentIndex, currentIndex = _a === void 0 ? 0 : _a, onChange = props.onChange;
|
|
13
13
|
// Calculate progress width based on current step
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { cn } from '../../../lib/utils';
|
|
3
3
|
import TextWithIcon from '../TextWithIcon/TextWithIcon';
|
|
4
|
-
export
|
|
4
|
+
export function DetailsCol(props) {
|
|
5
5
|
var data = props.data, className = props.className;
|
|
6
6
|
return (_jsx("div", { className: cn('grid gap-y-1', className), children: data.map(function (item, index) { return (_jsx(TextWithIcon, { icon: item.icon, children: item.value }, "dc-".concat(index))); }) }));
|
|
7
|
-
}
|
|
7
|
+
}
|
|
@@ -3,11 +3,11 @@ import { Text } from '../../atoms/Typography/Typography';
|
|
|
3
3
|
import { cn } from '../../../lib/utils';
|
|
4
4
|
import Chip from '../../atoms/Chip/Chip';
|
|
5
5
|
import TextWithIcon from '../TextWithIcon/TextWithIcon';
|
|
6
|
-
export
|
|
6
|
+
export function ItemCol(props) {
|
|
7
7
|
var serviceType = props.serviceType, serviceName = props.serviceName, offers = props.offers, status = props.status, _a = props.iconName, iconName = _a === void 0 ? 'accom' : _a, _b = props.showName, showName = _b === void 0 ? true : _b, extraTitle = props.extraTitle, children = props.children;
|
|
8
8
|
var isOnRequest = (status === null || status === void 0 ? void 0 : status.toLowerCase()) === 'on request';
|
|
9
9
|
return (_jsxs("div", { className: cn('grid', (offers === null || offers === void 0 ? void 0 : offers.length) && 'gap-y-3'), children: [_jsxs("div", { children: [serviceName && (_jsxs("div", { className: "grid gap-y-1", children: [_jsxs("div", { className: "flex items-center gap-x-2", children: [_jsx(TextWithIcon, { icon: iconName, color: isOnRequest ? 'yellow' : 'accent', children: serviceType }), isOnRequest && _jsx(Chip, { color: "yellow", children: status }), extraTitle] }), _jsx(Text, { variant: "bold", size: "sm", children: showName && serviceName })] })), children] }), offers && offers.length > 0 && (_jsxs("div", { children: [_jsx(Text, { variant: "bold", size: "sm", leading: "5", children: "Applicable offers:" }), _jsx(Text, { variant: "regular", size: "sm", leading: "5", children: offers.map(function (o) {
|
|
10
10
|
var offerValue = o.OfferType === 'GIFT' ? o.OfferName : "".concat(o.OfferValue, "% offers applied");
|
|
11
11
|
return _jsx("span", { children: offerValue });
|
|
12
12
|
}) })] }))] }));
|
|
13
|
-
}
|
|
13
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { ItemColProps } from './ItemCol';
|
|
3
2
|
export interface RowAccommodationProps {
|
|
4
3
|
data: {
|
|
@@ -11,6 +10,6 @@ export interface RowAccommodationProps {
|
|
|
11
10
|
}
|
|
12
11
|
export declare function RowAccommodation(): import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
export declare namespace RowAccommodation {
|
|
14
|
-
var FirstCol:
|
|
15
|
-
var DetailsCol:
|
|
13
|
+
var FirstCol: (props: Omit<ItemColProps, "serviceType">) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
var DetailsCol: (props: RowAccommodationProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
15
|
}
|
|
@@ -12,7 +12,7 @@ var clientType = {
|
|
|
12
12
|
export function RowAccommodation() {
|
|
13
13
|
return _jsx(_Fragment, {});
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
function DetailsCol(props) {
|
|
16
16
|
var _a;
|
|
17
17
|
var data = props.data, _b = props.index, index = _b === void 0 ? 0 : _b;
|
|
18
18
|
var stay = useMemo(function () {
|
|
@@ -25,13 +25,16 @@ var DetailsCol = function (props) {
|
|
|
25
25
|
return (_jsx(DetailsColComponent, { data: [
|
|
26
26
|
{ icon: 'calendar2', value: "Room ".concat(index + 1, " : ").concat(data.RoomName) },
|
|
27
27
|
{ icon: 'night', value: "".concat(stay, " Nights") },
|
|
28
|
-
{
|
|
28
|
+
{
|
|
29
|
+
icon: 'user',
|
|
30
|
+
value: "Client type : ".concat(clientType[(_a = data.ClientCategory) === null || _a === void 0 ? void 0 : _a.toLowerCase()]),
|
|
31
|
+
},
|
|
29
32
|
{ icon: 'utensils', value: "Meal plan : ".concat(data.MealPlan) },
|
|
30
33
|
] }));
|
|
31
|
-
}
|
|
32
|
-
|
|
34
|
+
}
|
|
35
|
+
function FirstCol(props) {
|
|
33
36
|
var serviceName = props.serviceName, offers = props.offers, status = props.status;
|
|
34
|
-
return _jsx(ItemCol, { serviceType: "Accommodation", serviceName: serviceName, offers: offers, status: status });
|
|
35
|
-
}
|
|
37
|
+
return (_jsx(ItemCol, { serviceType: "Accommodation", serviceName: serviceName, offers: offers, status: status }));
|
|
38
|
+
}
|
|
36
39
|
RowAccommodation.FirstCol = FirstCol;
|
|
37
40
|
RowAccommodation.DetailsCol = DetailsCol;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { ItemColProps } from './ItemCol';
|
|
3
2
|
export interface RowExcursionProps {
|
|
4
3
|
data: {
|
|
@@ -10,7 +9,7 @@ export interface RowExcursionProps {
|
|
|
10
9
|
}
|
|
11
10
|
export declare function RowExcursion(): import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
export declare namespace RowExcursion {
|
|
13
|
-
var FirstCol:
|
|
14
|
-
var DetailsCol:
|
|
12
|
+
var FirstCol: (props: Omit<ItemColProps, "serviceType" | "status">) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
var DetailsCol: typeof import("./RowExcursion").DetailsCol;
|
|
15
14
|
}
|
|
16
|
-
export declare
|
|
15
|
+
export declare function DetailsCol(props: RowExcursionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,7 +4,7 @@ import { ItemCol } from './ItemCol';
|
|
|
4
4
|
export function RowExcursion() {
|
|
5
5
|
return _jsx(_Fragment, {});
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export function DetailsCol(props) {
|
|
8
8
|
var _a;
|
|
9
9
|
var data = props.data;
|
|
10
10
|
return (_jsx(DetailsColComponent, { data: [
|
|
@@ -13,10 +13,10 @@ export var DetailsCol = function (props) {
|
|
|
13
13
|
{ icon: 'user', value: "Difficulty: ".concat(data.accessibility) },
|
|
14
14
|
{ icon: 'bus', value: "Type: ".concat(data.transferType) },
|
|
15
15
|
] }));
|
|
16
|
-
}
|
|
17
|
-
|
|
16
|
+
}
|
|
17
|
+
function FirstCol(props) {
|
|
18
18
|
var serviceName = props.serviceName, offers = props.offers;
|
|
19
|
-
return _jsx(ItemCol, { serviceType: "Excursion", serviceName: serviceName, offers: offers, iconName: "map" });
|
|
20
|
-
}
|
|
19
|
+
return (_jsx(ItemCol, { serviceType: "Excursion", serviceName: serviceName, offers: offers, iconName: "map" }));
|
|
20
|
+
}
|
|
21
21
|
RowExcursion.FirstCol = FirstCol;
|
|
22
22
|
RowExcursion.DetailsCol = DetailsCol;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { ItemColProps } from './ItemCol';
|
|
3
2
|
export declare function RowOtherServices(): import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export declare namespace RowOtherServices {
|
|
5
|
-
var FirstCol:
|
|
6
|
-
var DetailsCol:
|
|
4
|
+
var FirstCol: (props: Omit<ItemColProps, "serviceType" | "status">) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
var DetailsCol: typeof import("./RowOtherServices").DetailsCol;
|
|
7
6
|
}
|
|
8
|
-
export declare
|
|
7
|
+
export declare function DetailsCol(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,16 +7,16 @@ import { ItemCol } from './ItemCol';
|
|
|
7
7
|
export function RowOtherServices() {
|
|
8
8
|
return _jsx(_Fragment, {});
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export function DetailsCol() {
|
|
11
11
|
return (_jsx(DetailsColComponent, { data: [
|
|
12
12
|
{
|
|
13
13
|
icon: 'wallet',
|
|
14
14
|
value: (_jsxs(Text, { variant: "medium", size: "sm", leading: "5", as: "div", className: "flex items-center gap-x-2", children: ["Handling Fee", _jsx(TooltipDisplay, { content: "Handling fee varies and is determined by the final number of people during booking.\u00A0", children: _jsx("span", { children: _jsx(Icon, { name: "info", size: "sm", color: "var(--color-icon-branded)" }) }) })] })),
|
|
15
15
|
},
|
|
16
16
|
] }));
|
|
17
|
-
}
|
|
18
|
-
|
|
17
|
+
}
|
|
18
|
+
function FirstCol(props) {
|
|
19
19
|
return (_jsx(ItemCol, { serviceType: "Other Services", iconName: "more", serviceName: "Handling Fee", showName: false }));
|
|
20
|
-
}
|
|
20
|
+
}
|
|
21
21
|
RowOtherServices.FirstCol = FirstCol;
|
|
22
22
|
RowOtherServices.DetailsCol = DetailsCol;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { FromToProps } from '../FromTo/FromTo';
|
|
3
2
|
import { ItemColProps } from './ItemCol';
|
|
4
3
|
export interface RowTransferProps {
|
|
@@ -9,7 +8,7 @@ export interface RowTransferProps {
|
|
|
9
8
|
}
|
|
10
9
|
export declare function RowTransfer(): import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export declare namespace RowTransfer {
|
|
12
|
-
var FirstCol:
|
|
13
|
-
var DetailsCol:
|
|
11
|
+
var FirstCol: (props: Omit<ItemColProps, "serviceType" | "status"> & FromToProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
var DetailsCol: typeof import("./RowTransfer").DetailsCol;
|
|
14
13
|
}
|
|
15
|
-
export declare
|
|
14
|
+
export declare function DetailsCol(props: RowTransferProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,16 +11,16 @@ var transferTypeMap = {
|
|
|
11
11
|
export function RowTransfer() {
|
|
12
12
|
return _jsx(_Fragment, {});
|
|
13
13
|
}
|
|
14
|
-
export
|
|
14
|
+
export function DetailsCol(props) {
|
|
15
15
|
var data = props.data;
|
|
16
16
|
return (_jsx(DetailsColComponent, { data: [
|
|
17
17
|
{ icon: 'car', value: data.carType },
|
|
18
18
|
{ icon: 'user', value: "Client type: ".concat(data.clientType) },
|
|
19
19
|
] }));
|
|
20
|
-
}
|
|
21
|
-
|
|
20
|
+
}
|
|
21
|
+
function FirstCol(props) {
|
|
22
22
|
var serviceName = props.serviceName, offers = props.offers, transferType = props.transferType, from = props.from, to = props.to;
|
|
23
23
|
return (_jsx(ItemCol, { serviceType: "Transfer", serviceName: serviceName, offers: offers, iconName: "car", showName: false, extraTitle: _jsx(Text, { variant: "bold", size: "sm", className: "italic", children: transferTypeMap[transferType] }), children: _jsx(FromTo, { from: from, to: to }) }));
|
|
24
|
-
}
|
|
24
|
+
}
|
|
25
25
|
RowTransfer.FirstCol = FirstCol;
|
|
26
26
|
RowTransfer.DetailsCol = DetailsCol;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { type DetailsColProps } from './DetailsCol';
|
|
2
|
-
import { type ItemColProps } from './ItemCol';
|
|
1
|
+
import { DetailsCol, type DetailsColProps } from './DetailsCol';
|
|
2
|
+
import { ItemCol, type ItemColProps } from './ItemCol';
|
|
3
3
|
import { RowAccommodation, type RowAccommodationProps } from './RowAccommodation';
|
|
4
4
|
import { RowExcursion, type RowExcursionProps } from './RowExcursion';
|
|
5
5
|
import { RowOtherServices } from './RowOtherServices';
|
|
6
6
|
import { RowTransfer, type RowTransferProps } from './RowTransfer';
|
|
7
7
|
declare const TableServiceItem: {
|
|
8
|
-
DetailsCol:
|
|
9
|
-
ItemCol:
|
|
8
|
+
DetailsCol: typeof DetailsCol;
|
|
9
|
+
ItemCol: typeof ItemCol;
|
|
10
10
|
RowAccommodation: typeof RowAccommodation;
|
|
11
11
|
RowExcursion: typeof RowExcursion;
|
|
12
12
|
RowOtherServices: typeof RowOtherServices;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { TextProps } from '../../atoms/Typography/Typography';
|
|
3
2
|
import './TextWithBorderBottom.css';
|
|
4
|
-
export declare
|
|
3
|
+
export declare function TextWithBorderBottom(props: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -23,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { Text } from '../../atoms/Typography/Typography';
|
|
25
25
|
import './TextWithBorderBottom.css';
|
|
26
|
-
export
|
|
26
|
+
export function TextWithBorderBottom(props) {
|
|
27
27
|
var children = props.children, rest = __rest(props, ["children"]);
|
|
28
28
|
return (_jsx("div", { className: "text-border-bottom", children: _jsx(Text, __assign({}, rest, { children: children })) }));
|
|
29
|
-
}
|
|
29
|
+
}
|
|
@@ -27,5 +27,5 @@ export interface TextWithIconProps {
|
|
|
27
27
|
* @param TextWithIconProps
|
|
28
28
|
* @returns
|
|
29
29
|
*/
|
|
30
|
-
declare
|
|
30
|
+
declare function TextWithIcon(props: TextWithIconProps): import("react/jsx-runtime").JSX.Element;
|
|
31
31
|
export default TextWithIcon;
|
|
@@ -13,8 +13,8 @@ import { Text, } from '../../atoms/Typography/Typography';
|
|
|
13
13
|
* @param TextWithIconProps
|
|
14
14
|
* @returns
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
function TextWithIcon(props) {
|
|
17
17
|
var icon = props.icon, children = props.children, _a = props.iconSize, iconSize = _a === void 0 ? 'sm' : _a, _b = props.textSize, textSize = _b === void 0 ? 'sm' : _b, _c = props.color, color = _c === void 0 ? 'default' : _c, _d = props.textLeading, textLeading = _d === void 0 ? '5' : _d, _e = props.textVariant, textVariant = _e === void 0 ? 'medium' : _e;
|
|
18
18
|
return (_jsxs("div", { className: cn('flex gap-x-2', color === 'yellow' && 'text-[var(--color-yellow-600)]', color === 'accent' && 'text-[var(--color-text-accent)]'), children: [icon && (_jsx("span", { className: "relative top-[2px]", children: _jsx(Icon, { name: icon, size: iconSize }) })), _jsx(Text, { variant: textVariant, size: textSize, className: "flex items-center gap-x-2", color: color, leading: textLeading, as: "div", children: children })] }));
|
|
19
|
-
}
|
|
19
|
+
}
|
|
20
20
|
export default TextWithIcon;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { DetailsColData } from '../TableServiceItem/DetailsCol';
|
|
3
2
|
export interface ServiceAccommodationProps {
|
|
4
3
|
hotelName: string;
|
|
@@ -6,4 +5,4 @@ export interface ServiceAccommodationProps {
|
|
|
6
5
|
dates: string[] | Date[];
|
|
7
6
|
isOnRequest?: boolean;
|
|
8
7
|
}
|
|
9
|
-
export declare
|
|
8
|
+
export declare function ServiceAccommodation(props: ServiceAccommodationProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,7 +3,7 @@ import { Text } from '../../atoms/Typography/Typography';
|
|
|
3
3
|
import { DateDisplay } from '../DateDisplay/DateDisplay';
|
|
4
4
|
import { DetailsCol } from '../TableServiceItem/DetailsCol';
|
|
5
5
|
import { TimelineHeader } from './TimelineHeader';
|
|
6
|
-
export
|
|
6
|
+
export function ServiceAccommodation(props) {
|
|
7
7
|
var hotelName = props.hotelName, details = props.details, dates = props.dates, isOnRequest = props.isOnRequest;
|
|
8
8
|
return (_jsxs("div", { className: "space-y-3", children: [_jsx(TimelineHeader, { icon: "accom", title: "Accomodation", isOnRequest: isOnRequest }), _jsx(Text, { variant: "bold", size: "sm", leading: "5", children: hotelName }), _jsxs("div", { className: "space-y-2", children: [_jsx(DateDisplay, { dates: dates }), _jsx(DetailsCol, { data: details, className: "gap-y-2" })] })] }));
|
|
9
|
-
}
|
|
9
|
+
}
|