mautourco-components 0.2.23 → 0.2.24

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.
Files changed (81) hide show
  1. package/dist/components/atoms/Icon/icons/LineIcon.d.ts +8 -0
  2. package/dist/components/atoms/Icon/icons/LineIcon.js +21 -0
  3. package/dist/components/atoms/Icon/icons/registry.d.ts +1 -0
  4. package/dist/components/atoms/Icon/icons/registry.js +2 -0
  5. package/dist/components/molecules/AccomodationDocket/AccomodationDocket.d.ts +7 -0
  6. package/dist/components/molecules/AccomodationDocket/AccomodationDocket.js +69 -0
  7. package/dist/components/molecules/AccomodationDocket/index.d.ts +2 -0
  8. package/dist/components/molecules/AccomodationDocket/index.js +1 -0
  9. package/dist/components/molecules/BookingResume/ResumeAccom/ResumeAccom.js +1 -1
  10. package/dist/components/molecules/BookingResume/ResumeExcursion/ResumeExcursion.js +1 -1
  11. package/dist/components/molecules/BookingResume/ResumeTransfer.js +1 -1
  12. package/dist/components/molecules/DateDisplay/DateDisplay.css +2100 -0
  13. package/dist/components/molecules/DateDisplay/DateDisplay.d.ts +13 -6
  14. package/dist/components/molecules/DateDisplay/DateDisplay.js +22 -8
  15. package/dist/components/molecules/DocketPrices/DocketPrices.d.ts +19 -0
  16. package/dist/components/molecules/DocketPrices/DocketPrices.js +31 -0
  17. package/dist/components/molecules/DocketPrices/index.d.ts +3 -0
  18. package/dist/components/molecules/DocketPrices/index.js +2 -0
  19. package/dist/components/molecules/ExcursionDocket/ExcursionDocket.d.ts +8 -0
  20. package/dist/components/molecules/ExcursionDocket/ExcursionDocket.js +30 -0
  21. package/dist/components/molecules/ExcursionDocket/index.d.ts +2 -0
  22. package/dist/components/molecules/ExcursionDocket/index.js +1 -0
  23. package/dist/components/molecules/LocationDropdown/LocationDropdown.js +8 -11
  24. package/dist/components/molecules/OtherServiceDocket/OtherServiceDocket.d.ts +8 -0
  25. package/dist/components/molecules/OtherServiceDocket/OtherServiceDocket.js +29 -0
  26. package/dist/components/molecules/OtherServiceDocket/index.d.ts +2 -0
  27. package/dist/components/molecules/OtherServiceDocket/index.js +1 -0
  28. package/dist/components/molecules/PriceDisplay/PriceDisplay.css +2101 -0
  29. package/dist/components/molecules/PriceDisplay/PriceDisplay.d.ts +26 -0
  30. package/dist/components/molecules/PriceDisplay/PriceDisplay.js +132 -0
  31. package/dist/components/molecules/PriceDisplay/index.d.ts +3 -0
  32. package/dist/components/molecules/PriceDisplay/index.js +2 -0
  33. package/dist/components/molecules/TransferDocket/TransferDocket.d.ts +8 -0
  34. package/dist/components/molecules/TransferDocket/TransferDocket.js +59 -0
  35. package/dist/components/molecules/TransferDocket/index.d.ts +3 -0
  36. package/dist/components/molecules/TransferDocket/index.js +2 -0
  37. package/dist/components/organisms/Docket/Docket.d.ts +126 -0
  38. package/dist/components/organisms/Docket/Docket.js +125 -0
  39. package/dist/index.d.ts +6 -0
  40. package/dist/index.js +3 -0
  41. package/dist/styles/components/molecule/accomodation-docket.css +2222 -0
  42. package/dist/styles/components/molecule/docket-prices.css +2095 -0
  43. package/dist/styles/components/molecule/excursion-docket.css +2135 -0
  44. package/dist/styles/components/molecule/other-service-docket.css +2114 -0
  45. package/dist/styles/components/molecule/transfer-docket.css +2150 -0
  46. package/dist/styles/components/organism/docket.css +2448 -0
  47. package/dist/types/docket/docket.types.d.ts +11 -0
  48. package/dist/types/docket/docket.types.js +1 -0
  49. package/dist/types/docket/services.types.d.ts +125 -0
  50. package/dist/types/docket/services.types.js +1 -0
  51. package/package.json +1 -1
  52. package/src/components/atoms/Icon/icons/LineIcon.tsx +31 -0
  53. package/src/components/atoms/Icon/icons/registry.tsx +2 -0
  54. package/src/components/molecules/AccomodationDocket/AccomodationDocket.tsx +224 -0
  55. package/src/components/molecules/AccomodationDocket/index.ts +3 -0
  56. package/src/components/molecules/BookingResume/ResumeAccom/ResumeAccom.tsx +1 -1
  57. package/src/components/molecules/BookingResume/ResumeExcursion/ResumeExcursion.tsx +1 -1
  58. package/src/components/molecules/BookingResume/ResumeTransfer.tsx +1 -1
  59. package/src/components/molecules/DateDisplay/DateDisplay.css +21 -0
  60. package/src/components/molecules/DateDisplay/DateDisplay.tsx +52 -24
  61. package/src/components/molecules/DocketPrices/DocketPrices.tsx +56 -0
  62. package/src/components/molecules/DocketPrices/index.ts +4 -0
  63. package/src/components/molecules/ExcursionDocket/ExcursionDocket.tsx +171 -0
  64. package/src/components/molecules/ExcursionDocket/index.ts +2 -0
  65. package/src/components/molecules/LocationDropdown/LocationDropdown.tsx +41 -38
  66. package/src/components/molecules/OtherServiceDocket/OtherServiceDocket.tsx +58 -0
  67. package/src/components/molecules/OtherServiceDocket/index.ts +2 -0
  68. package/src/components/molecules/PriceDisplay/PriceDisplay.css +24 -0
  69. package/src/components/molecules/PriceDisplay/PriceDisplay.tsx +179 -0
  70. package/src/components/molecules/PriceDisplay/index.ts +4 -0
  71. package/src/components/molecules/TransferDocket/TransferDocket.tsx +156 -0
  72. package/src/components/molecules/TransferDocket/index.ts +4 -0
  73. package/src/components/organisms/CarBookingCard/index.ts +1 -0
  74. package/src/components/organisms/Docket/Docket.tsx +456 -0
  75. package/src/components/organisms/SearchBarTransfer/index.ts +2 -0
  76. package/src/styles/components/molecule/accomodation-docket.css +117 -0
  77. package/src/styles/components/molecule/docket-prices.css +13 -0
  78. package/src/styles/components/molecule/excursion-docket.css +47 -0
  79. package/src/styles/components/molecule/other-service-docket.css +30 -0
  80. package/src/styles/components/molecule/transfer-docket.css +61 -0
  81. package/src/styles/components/organism/docket.css +360 -0
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface LineIconProps {
3
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
4
+ className?: string;
5
+ color?: string;
6
+ }
7
+ declare const LineIcon: React.FC<LineIconProps>;
8
+ export default LineIcon;
@@ -0,0 +1,21 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ var LineIcon = function (_a) {
14
+ var _b = _a.size, size = _b === void 0 ? 'md' : _b, _c = _a.className, className = _c === void 0 ? '' : _c, color = _a.color;
15
+ // Line icon always takes full width and has 1px height
16
+ var classes = "w-full h-px ".concat(className);
17
+ // Default stroke color from Figma: #A3A3A3
18
+ var strokeColor = color || '#A3A3A3';
19
+ return (_jsx("svg", __assign({ className: classes, xmlns: "http://www.w3.org/2000/svg", width: "336", height: "1", viewBox: "0 0 336 1", fill: "none", preserveAspectRatio: "none", style: { width: '100%', height: '1px' } }, { children: _jsx("path", { d: "M0 0.5L336 0.499971", stroke: strokeColor, strokeDasharray: "4 4" }) })));
20
+ };
21
+ export default LineIcon;
@@ -67,6 +67,7 @@ export declare const ICONS: {
67
67
  readonly bike: IconComponent;
68
68
  readonly air: IconComponent;
69
69
  readonly luggage: IconComponent;
70
+ readonly line: IconComponent;
70
71
  readonly 'car-front': IconComponent;
71
72
  readonly sea: IconComponent;
72
73
  readonly catamaran: IconComponent;
@@ -40,6 +40,7 @@ import FacebookIcon from './FacebookIcon';
40
40
  import HomeIcon from './HomeIcon';
41
41
  import InfoIcon from './InfoIcon';
42
42
  import LandIcon from './Land';
43
+ import LineIcon from './LineIcon';
43
44
  import LinkedInIcon from './LinkedInIcon';
44
45
  import LuggageIcon from './LuggageIcon';
45
46
  import MapIcon from './MapIcon';
@@ -135,6 +136,7 @@ export var ICONS = {
135
136
  bike: BikeIcon,
136
137
  air: AirIcon,
137
138
  luggage: LuggageIcon,
139
+ line: LineIcon,
138
140
  'car-front': CarFrontIcon,
139
141
  sea: SeaIcon,
140
142
  catamaran: CatamaranIcon,
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { AccomodationDocket as AccomodationDocketType } from '../../../types/docket/services.types';
3
+ import '../../../styles/components/molecule/accomodation-docket.css';
4
+ export interface AccomodationDocketProps {
5
+ data: AccomodationDocketType;
6
+ }
7
+ export declare const AccomodationDocket: React.FC<AccomodationDocketProps>;
@@ -0,0 +1,69 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { differenceInDays } from 'date-fns';
14
+ import React from 'react';
15
+ import Chip from '../../atoms/Chip/Chip';
16
+ import Icon from '../../atoms/Icon/Icon';
17
+ import { Text } from '../../atoms/Typography/Typography';
18
+ import { DateDisplay } from '../DateDisplay/DateDisplay';
19
+ import TextWithIcon from '../TextWithIcon/TextWithIcon';
20
+ import '../../../styles/components/molecule/accomodation-docket.css';
21
+ var clientTypeMap = {
22
+ standard: 'Standard',
23
+ honeymooners: 'Honeymooners',
24
+ vip: 'VIP',
25
+ vvip: 'VVIP',
26
+ };
27
+ export var AccomodationDocket = function (_a) {
28
+ var data = _a.data;
29
+ var HotelName = data.HotelName, TitleDescription = data.TitleDescription, Total = data.Total, Currency = data.Currency, Dates = data.Dates, Rooms = data.Rooms;
30
+ var calculateNights = function (dates) {
31
+ if (dates && dates.length >= 2) {
32
+ return differenceInDays(new Date(dates[1]), new Date(dates[0]));
33
+ }
34
+ return 0;
35
+ };
36
+ var formatChildrenInfo = function (room) {
37
+ if (!room.ChildCount || room.ChildCount === 0) {
38
+ return null;
39
+ }
40
+ var childrenInfo = [];
41
+ var paxAges = room.paxAge || [];
42
+ // Group children by age
43
+ var childGroups = [];
44
+ if (paxAges.length > 0) {
45
+ // Count children by age
46
+ var ageCounts_1 = {};
47
+ paxAges.forEach(function (age) {
48
+ var ageNum = typeof age === 'number' ? age : parseInt(age, 10);
49
+ if (!isNaN(ageNum)) {
50
+ ageCounts_1[ageNum] = (ageCounts_1[ageNum] || 0) + 1;
51
+ }
52
+ });
53
+ Object.entries(ageCounts_1).forEach(function (_a) {
54
+ var age = _a[0], count = _a[1];
55
+ childGroups.push({ count: count, age: parseInt(age, 10) });
56
+ });
57
+ }
58
+ else {
59
+ // If no age info, just show total count
60
+ childGroups.push({ count: room.ChildCount, age: 0 });
61
+ }
62
+ return (_jsx("div", __assign({ className: "accomodation-docket__children" }, { children: childGroups.map(function (group, index) { return (_jsxs(React.Fragment, { children: [index > 0 && _jsx("div", { className: "accomodation-docket__divider-vertical" }), _jsxs("span", __assign({ className: "accomodation-docket__child-info" }, { children: [_jsxs(Text, __assign({ size: "sm", variant: "medium", color: "default" }, { children: [group.count, " Child", group.count > 1 ? 'ren' : ''] })), group.age > 0 ? (_jsxs(Text, __assign({ size: "sm", variant: "medium", className: "accomodation-docket__child-age" }, { children: [' ', "(", group.age, " y.o)"] }))) : null] }))] }, "child-".concat(index))); }) })));
63
+ };
64
+ var renderRoomDetails = function (room, index) {
65
+ var isRoomEmpty = room.isEmpty || !room.Dates || room.Dates.length === 0;
66
+ return (_jsxs("div", __assign({ className: "accomodation-docket__room" }, { children: [_jsx("div", __assign({ className: "accomodation-docket__room-header" }, { children: _jsxs(TextWithIcon, __assign({ icon: "accom", textVariant: "bold", textSize: "sm", color: "subtle" }, { children: ["Room ", index + 1] })) })), isRoomEmpty ? (_jsx("div", __assign({ className: "accomodation-docket__room-empty" }, { children: _jsx(Text, __assign({ variant: "bold", size: "sm", color: "state-error" }, { children: "Please select your second room" })) }))) : (_jsxs("div", __assign({ className: "accomodation-docket__room-details" }, { children: [_jsxs("div", __assign({ className: "accomodation-docket__date-section" }, { children: [room.Dates && room.Dates.length >= 2 && (_jsx(DateDisplay, { dates: room.Dates, calendarSize: "sm", arrowSize: "sm", textSize: "sm", colorMode: "green" })), room.Dates && room.Dates.length >= 2 && (_jsxs(TextWithIcon, __assign({ icon: "night", textSize: "sm", color: "subtle" }, { children: [calculateNights(room.Dates), " nights"] })))] })), _jsxs("div", __assign({ className: "accomodation-docket__client-info" }, { children: [room.ClientType && (_jsxs("div", __assign({ className: "accomodation-docket__client-type" }, { children: [_jsxs(Text, __assign({ variant: "bold", size: "sm", color: "subtle" }, { children: ["Client type:", ' '] })), _jsx(Text, __assign({ variant: "medium", size: "sm", color: "subtle" }, { children: clientTypeMap[room.ClientType.toLowerCase()] || room.ClientType }))] }))), _jsxs("div", __assign({ className: "accomodation-docket__guests" }, { children: [room.AdultCount && room.AdultCount > 0 && (_jsxs(TextWithIcon, __assign({ icon: "user", textSize: "sm", color: "subtle" }, { children: [room.AdultCount, " Adult", room.AdultCount > 1 ? 's' : ''] }))), room.ChildCount && room.ChildCount > 0 ? (_jsxs("div", __assign({ className: "accomodation-docket__children-wrapper" }, { children: [_jsx(Icon, { name: "user", size: "sm", color: "var(--color-text-subtle, #303642)" }), formatChildrenInfo(room)] }))) : null] }))] })), _jsxs("div", __assign({ className: "accomodation-docket__room-info" }, { children: [room.RoomName && (_jsx(TextWithIcon, __assign({ icon: "accom", textSize: "sm", color: "subtle", textLeading: "none" }, { children: room.RoomName }))), room.MealPlan && (_jsxs("div", __assign({ className: "accomodation-docket__meal-plan" }, { children: [_jsxs("div", __assign({ className: "accomodation-docket__meal-plan-label" }, { children: [_jsx(TextWithIcon, __assign({ icon: "utensils", textSize: "sm", color: "subtle", textLeading: "none" }, { children: "Meal-Plan" })), _jsx("div", { className: "accomodation-docket__divider-vertical" })] })), _jsx(Text, __assign({ variant: "medium", size: "sm", color: "subtle", leading: "none" }, { children: room.MealPlan }))] })))] }))] })))] }), "room-".concat(index)));
67
+ };
68
+ return (_jsxs("div", __assign({ className: "accomodation-docket" }, { children: [_jsxs("div", __assign({ className: "accomodation-docket__header" }, { children: [_jsxs("div", __assign({ className: "accomodation-docket__title-section" }, { children: [_jsx("div", { className: "accomodation-docket__title-bar" }), _jsx(Icon, { name: "accom", size: "sm" }), _jsx(Text, __assign({ variant: "bold", size: "sm", color: "accent" }, { children: "Accommodation" }))] })), Total && Currency && (_jsxs(Chip, __assign({ type: "filled", color: "accent", size: "sm" }, { children: [Currency, " ", Total] })))] })), TitleDescription && (_jsx("div", __assign({ className: "accomodation-docket__hotel-name" }, { children: _jsx(Text, __assign({ variant: "bold", size: "base", color: "default" }, { children: TitleDescription.split('\n').map(function (line, index) { return (_jsxs(React.Fragment, { children: [line, index < TitleDescription.split('\n').length - 1 && _jsx("br", {})] }, "line-".concat(index))); }) })) }))), _jsx("div", __assign({ className: "accomodation-docket__rooms" }, { children: Rooms.map(function (room, index) { return renderRoomDetails(room, index); }) }))] })));
69
+ };
@@ -0,0 +1,2 @@
1
+ export { AccomodationDocket } from './AccomodationDocket';
2
+ export type { AccomodationDocketProps } from './AccomodationDocket';
@@ -0,0 +1 @@
1
+ export { AccomodationDocket } from './AccomodationDocket';
@@ -22,5 +22,5 @@ import './ResumeAccom.css';
22
22
  export var ResumeAccom = function (props) {
23
23
  var image = props.image, dates = props.dates, clientType = props.clientType, pax = props.pax, rooms = props.rooms, hotelName = props.hotelName;
24
24
  var stay = useStays(dates);
25
- return (_jsxs(BookingResumeLayout, __assign({ title: "Accommodation", icon: "accom", image: image, className: "resume-accom" }, { children: [_jsx(ServiceTitle, { title: hotelName }), _jsxs("div", __assign({ className: "space-y-2 mt-4" }, { children: [_jsx(DateDisplay, { dates: dates, textColor: "accent" }), _jsxs(TextWithIcon, __assign({ icon: "night" }, { children: [stay, " Nights"] })), _jsxs(Text, __assign({ variant: "medium", size: "sm", leading: "4" }, { children: [_jsx("strong", { children: "Client types:" }), " ", clientType] })), _jsx(PaxDisplay, { pax: pax }), _jsx("div", { children: rooms.map(function (room, index) { return (_jsxs("div", __assign({ className: "space-y-1" }, { children: [_jsx(TextWithIcon, __assign({ icon: "accom", textSize: "sm", textVariant: "medium" }, { children: room.RoomName })), _jsx(ServiceInfo.Item, __assign({ icon: "utensils", iconSize: "sm", textSize: "sm", textLeading: "4", textVariant: "medium", label: "Meal-Plan" }, { children: room.MealPlan }))] }), "rm-".concat(index))); }) })] }))] })));
25
+ return (_jsxs(BookingResumeLayout, __assign({ title: "Accommodation", icon: "accom", image: image, className: "resume-accom" }, { children: [_jsx(ServiceTitle, { title: hotelName }), _jsxs("div", __assign({ className: "space-y-2 mt-4" }, { children: [_jsx(DateDisplay, { dates: dates, colorMode: "green" }), _jsxs(TextWithIcon, __assign({ icon: "night" }, { children: [stay, " Nights"] })), _jsxs(Text, __assign({ variant: "medium", size: "sm", leading: "4" }, { children: [_jsx("strong", { children: "Client types:" }), " ", clientType] })), _jsx(PaxDisplay, { pax: pax }), _jsx("div", { children: rooms.map(function (room, index) { return (_jsxs("div", __assign({ className: "space-y-1" }, { children: [_jsx(TextWithIcon, __assign({ icon: "accom", textSize: "sm", textVariant: "medium" }, { children: room.RoomName })), _jsx(ServiceInfo.Item, __assign({ icon: "utensils", iconSize: "sm", textSize: "sm", textLeading: "4", textVariant: "medium", label: "Meal-Plan" }, { children: room.MealPlan }))] }), "rm-".concat(index))); }) })] }))] })));
26
26
  };
@@ -24,5 +24,5 @@ var mapType = {
24
24
  };
25
25
  export var ResumeExcursion = function (props) {
26
26
  var image = props.image, date = props.date, pax = props.pax, pickUpPoint = props.pickUpPoint, duration = props.duration, meal = props.meal, accessibility = props.accessibility, transferType = props.transferType, type = props.type;
27
- return (_jsx(BookingResumeLayout, __assign({ title: "Excursion", icon: "map", image: image, className: "resume-excursion" }, { children: _jsxs("div", __assign({ className: "space-y-3" }, { children: [_jsx(DateDisplay, { dates: [date], textColor: "accent" }), _jsxs("div", __assign({ className: "space-y-1" }, { children: [_jsx(TextWithIcon, __assign({ icon: type, textSize: "sm", textVariant: "medium" }, { children: mapType[type] })), _jsxs(Text, __assign({ variant: "medium", size: "sm", leading: "4" }, { children: [_jsx("strong", { children: "Pickup: " }), " ", pickUpPoint] }))] })), _jsx(PaxDisplay, { pax: pax }), _jsxs(ServiceInfo, __assign({ className: "space-y-1", contentTextVariant: "regular" }, { children: [_jsx(ServiceInfo.Item, __assign({ icon: "stopwatch", label: "Duration" }, { children: duration })), _jsx(ServiceInfo.Item, __assign({ icon: "utensils", label: "Meal" }, { children: meal })), _jsx(ServiceInfo.Item, __assign({ icon: "bike", label: "Difficulty" }, { children: accessibility })), _jsx(ServiceInfo.Item, __assign({ icon: "car", label: "Vehicle" }, { children: transferType }))] }))] })) })));
27
+ return (_jsx(BookingResumeLayout, __assign({ title: "Excursion", icon: "map", image: image, className: "resume-excursion" }, { children: _jsxs("div", __assign({ className: "space-y-3" }, { children: [_jsx(DateDisplay, { dates: [date], colorMode: "green" }), _jsxs("div", __assign({ className: "space-y-1" }, { children: [_jsx(TextWithIcon, __assign({ icon: type, textSize: "sm", textVariant: "medium" }, { children: mapType[type] })), _jsxs(Text, __assign({ variant: "medium", size: "sm", leading: "4" }, { children: [_jsx("strong", { children: "Pickup: " }), " ", pickUpPoint] }))] })), _jsx(PaxDisplay, { pax: pax }), _jsxs(ServiceInfo, __assign({ className: "space-y-1", contentTextVariant: "regular" }, { children: [_jsx(ServiceInfo.Item, __assign({ icon: "stopwatch", label: "Duration" }, { children: duration })), _jsx(ServiceInfo.Item, __assign({ icon: "utensils", label: "Meal" }, { children: meal })), _jsx(ServiceInfo.Item, __assign({ icon: "bike", label: "Difficulty" }, { children: accessibility })), _jsx(ServiceInfo.Item, __assign({ icon: "car", label: "Vehicle" }, { children: transferType }))] }))] })) })));
28
28
  };
@@ -19,5 +19,5 @@ import { BookingResumeLayout } from './BookingResumeLayout/BookingResumeLayout';
19
19
  export var ResumeTransfer = function (props) {
20
20
  var type = props.type, pax = props.pax, date = props.date, location = props.location, carName = props.carName, image = props.image;
21
21
  var transferType = type === 'ARV' ? 'Arrival' : type === 'DEP' ? 'Departure' : 'Inter-Hotel';
22
- return (_jsx(BookingResumeLayout, __assign({ title: _jsxs(_Fragment, { children: ["Transfer", ' ', _jsx(Text, __assign({ color: "accent", as: "span", size: "lg" }, { children: transferType }))] }), icon: "car-front", image: image }, { children: _jsxs("div", __assign({ className: "space-y-3" }, { children: [_jsx(DateDisplay, { dates: [date], textColor: "accent" }), _jsx(FromTo, { from: location.from, to: location.to }), _jsxs("div", __assign({ className: "space-y-1" }, { children: [_jsx(PaxDisplay, { pax: pax }), _jsx(TextWithIcon, __assign({ icon: "car", textSize: "sm", textVariant: "medium" }, { children: carName }))] }))] })) })));
22
+ return (_jsx(BookingResumeLayout, __assign({ title: _jsxs(_Fragment, { children: ["Transfer", ' ', _jsx(Text, __assign({ color: "accent", as: "span", size: "lg" }, { children: transferType }))] }), icon: "car-front", image: image }, { children: _jsxs("div", __assign({ className: "space-y-3" }, { children: [_jsx(DateDisplay, { dates: [date], colorMode: "green" }), _jsx(FromTo, { from: location.from, to: location.to }), _jsxs("div", __assign({ className: "space-y-1" }, { children: [_jsx(PaxDisplay, { pax: pax }), _jsx(TextWithIcon, __assign({ icon: "car", textSize: "sm", textVariant: "medium" }, { children: carName }))] }))] })) })));
23
23
  };