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.
Files changed (243) hide show
  1. package/dist/components/molecules/ActionDropdown/ActionDropdown.d.ts +1 -1
  2. package/dist/components/molecules/ActionDropdown/ActionDropdown.js +4 -4
  3. package/dist/components/molecules/AddItemButton/AddItemButton.d.ts +1 -1
  4. package/dist/components/molecules/AddItemButton/AddItemButton.js +3 -3
  5. package/dist/components/molecules/BookingPax/BookingPax.d.ts +9 -6
  6. package/dist/components/molecules/BookingPax/BookingPax.js +2 -2
  7. package/dist/components/molecules/BookingPax/BookingPaxAccom.d.ts +1 -2
  8. package/dist/components/molecules/BookingPax/BookingPaxAccom.js +2 -2
  9. package/dist/components/molecules/BookingPax/BookingPaxClient/BookingPaxClient.d.ts +1 -1
  10. package/dist/components/molecules/BookingPax/BookingPaxClient/BookingPaxClient.js +2 -2
  11. package/dist/components/molecules/BookingPax/BookingPaxExcursion.d.ts +1 -2
  12. package/dist/components/molecules/BookingPax/BookingPaxExcursion.js +2 -2
  13. package/dist/components/molecules/BookingPax/BookingPaxHeader.d.ts +5 -5
  14. package/dist/components/molecules/BookingPax/BookingPaxHeader.js +2 -2
  15. package/dist/components/molecules/BookingPax/BookingPaxLayout/BookingPaxLayout.d.ts +1 -1
  16. package/dist/components/molecules/BookingPax/BookingPaxLayout/BookingPaxLayout.js +2 -2
  17. package/dist/components/molecules/BookingPax/BookingPaxRemarks.d.ts +1 -2
  18. package/dist/components/molecules/BookingPax/BookingPaxRemarks.js +4 -4
  19. package/dist/components/molecules/BookingPax/BookingPaxTransfer.d.ts +1 -2
  20. package/dist/components/molecules/BookingPax/BookingPaxTransfer.js +2 -2
  21. package/dist/components/molecules/BookingResume/BookingResume.d.ts +13 -8
  22. package/dist/components/molecules/BookingResume/BookingResume.js +2 -2
  23. package/dist/components/molecules/BookingResume/BookingResumeLayout/BookingResumeLayout.d.ts +1 -1
  24. package/dist/components/molecules/BookingResume/BookingResumeLayout/BookingResumeLayout.js +2 -2
  25. package/dist/components/molecules/BookingResume/ResumeAccom/ResumeAccom.d.ts +1 -2
  26. package/dist/components/molecules/BookingResume/ResumeAccom/ResumeAccom.js +2 -2
  27. package/dist/components/molecules/BookingResume/ResumeExcursion/ResumeExcursion.d.ts +1 -2
  28. package/dist/components/molecules/BookingResume/ResumeExcursion/ResumeExcursion.js +2 -2
  29. package/dist/components/molecules/BookingResume/ResumeOtherService.d.ts +1 -2
  30. package/dist/components/molecules/BookingResume/ResumeOtherService.js +2 -2
  31. package/dist/components/molecules/BookingResume/ResumeTransfer.d.ts +1 -2
  32. package/dist/components/molecules/BookingResume/ResumeTransfer.js +2 -2
  33. package/dist/components/molecules/Breadcrumbs/Breadcrumbs.d.ts +1 -2
  34. package/dist/components/molecules/Breadcrumbs/Breadcrumbs.js +2 -2
  35. package/dist/components/molecules/DateDisplay/DateDisplay.d.ts +1 -2
  36. package/dist/components/molecules/DateDisplay/DateDisplay.js +3 -3
  37. package/dist/components/molecules/DetailsInfo/DetailsAction.d.ts +1 -2
  38. package/dist/components/molecules/DetailsInfo/DetailsAction.js +2 -2
  39. package/dist/components/molecules/DetailsInfo/DetailsAgency/DetailsAgency.d.ts +1 -1
  40. package/dist/components/molecules/DetailsInfo/DetailsAgency/DetailsAgency.js +2 -2
  41. package/dist/components/molecules/DetailsInfo/DetailsClient/DetailsClient.d.ts +1 -2
  42. package/dist/components/molecules/DetailsInfo/DetailsClient/DetailsClient.js +2 -2
  43. package/dist/components/molecules/DetailsInfo/DetailsFile.d.ts +1 -2
  44. package/dist/components/molecules/DetailsInfo/DetailsFile.js +2 -2
  45. package/dist/components/molecules/DetailsInfo/DetailsInfo.d.ts +8 -4
  46. package/dist/components/molecules/DialogContentPolicy/CancellationLayout/CancellationLayout.d.ts +1 -1
  47. package/dist/components/molecules/DialogContentPolicy/CancellationLayout/CancellationLayout.js +2 -2
  48. package/dist/components/molecules/DialogContentPolicy/DialogCancellationAccom.d.ts +1 -1
  49. package/dist/components/molecules/DialogContentPolicy/DialogCancellationAccom.js +2 -2
  50. package/dist/components/molecules/DialogContentPolicy/DialogCancellationExcursion.d.ts +1 -1
  51. package/dist/components/molecules/DialogContentPolicy/DialogCancellationExcursion.js +2 -2
  52. package/dist/components/molecules/DialogContentPolicy/DialogCancellationList.d.ts +2 -3
  53. package/dist/components/molecules/DialogContentPolicy/DialogCancellationList.js +4 -4
  54. package/dist/components/molecules/DialogContentPolicy/DialogContentPolicy.d.ts +9 -6
  55. package/dist/components/molecules/DialogContentPolicy/DialogContentPolicy.js +2 -2
  56. package/dist/components/molecules/FromTo/FromTo.d.ts +1 -1
  57. package/dist/components/molecules/FromTo/FromTo.js +2 -2
  58. package/dist/components/molecules/GlobalAmenities/GlobalAmenities.d.ts +1 -2
  59. package/dist/components/molecules/GlobalAmenities/GlobalAmenities.js +2 -2
  60. package/dist/components/molecules/PaxChips/PaxChips.d.ts +1 -2
  61. package/dist/components/molecules/PaxChips/PaxChips.js +2 -2
  62. package/dist/components/molecules/PaxDisplay/PaxDisplay.d.ts +1 -1
  63. package/dist/components/molecules/PaxDisplay/PaxDisplay.js +2 -2
  64. package/dist/components/molecules/ServiceTitle/ServiceTitle.d.ts +1 -1
  65. package/dist/components/molecules/ServiceTitle/ServiceTitle.js +2 -2
  66. package/dist/components/molecules/StepperTimeline/StepperTimeline.d.ts +3 -2
  67. package/dist/components/molecules/StepperTimeline/StepperTimeline.js +2 -2
  68. package/dist/components/molecules/TableServiceItem/DetailsCol.d.ts +1 -1
  69. package/dist/components/molecules/TableServiceItem/DetailsCol.js +2 -2
  70. package/dist/components/molecules/TableServiceItem/ItemCol.d.ts +1 -1
  71. package/dist/components/molecules/TableServiceItem/ItemCol.js +2 -2
  72. package/dist/components/molecules/TableServiceItem/RowAccommodation.d.ts +2 -3
  73. package/dist/components/molecules/TableServiceItem/RowAccommodation.js +9 -6
  74. package/dist/components/molecules/TableServiceItem/RowExcursion.d.ts +3 -4
  75. package/dist/components/molecules/TableServiceItem/RowExcursion.js +5 -5
  76. package/dist/components/molecules/TableServiceItem/RowOtherServices.d.ts +3 -4
  77. package/dist/components/molecules/TableServiceItem/RowOtherServices.js +4 -4
  78. package/dist/components/molecules/TableServiceItem/RowTransfer.d.ts +3 -4
  79. package/dist/components/molecules/TableServiceItem/RowTransfer.js +4 -4
  80. package/dist/components/molecules/TableServiceItem/index.d.ts +4 -4
  81. package/dist/components/molecules/TextWithBorderBottom/TextWithBorderBottom.d.ts +1 -2
  82. package/dist/components/molecules/TextWithBorderBottom/TextWithBorderBottom.js +2 -2
  83. package/dist/components/molecules/TextWithIcon/TextWithIcon.d.ts +1 -1
  84. package/dist/components/molecules/TextWithIcon/TextWithIcon.js +2 -2
  85. package/dist/components/molecules/TimelineItem/ServiceAccommodation.d.ts +1 -2
  86. package/dist/components/molecules/TimelineItem/ServiceAccommodation.js +2 -2
  87. package/dist/components/molecules/TimelineItem/ServiceExcursion.d.ts +1 -2
  88. package/dist/components/molecules/TimelineItem/ServiceExcursion.js +2 -2
  89. package/dist/components/molecules/TimelineItem/ServiceTransfer.d.ts +1 -2
  90. package/dist/components/molecules/TimelineItem/ServiceTransfer.js +2 -2
  91. package/dist/components/molecules/TimelineItem/TimelineHeader.d.ts +1 -2
  92. package/dist/components/molecules/TimelineItem/TimelineHeader.js +2 -2
  93. package/dist/components/molecules/TimelineItem/TimelineItem.d.ts +6 -3
  94. package/dist/components/molecules/Toast/Toast.d.ts +1 -2
  95. package/dist/components/molecules/Toast/Toast.js +3 -3
  96. package/dist/components/molecules/TooltipDisplay/TooltipDisplay.d.ts +1 -1
  97. package/dist/components/molecules/TooltipDisplay/TooltipDisplay.js +2 -2
  98. package/dist/components/organisms/Booking/Booking.d.ts +8 -4
  99. package/dist/components/organisms/Booking/BookingDocket/BookingDocket.d.ts +1 -1
  100. package/dist/components/organisms/Booking/BookingDocket/BookingDocket.js +2 -2
  101. package/dist/components/organisms/Booking/BookingHeader.d.ts +1 -2
  102. package/dist/components/organisms/Booking/BookingHeader.js +2 -2
  103. package/dist/components/organisms/Booking/BookingPaxList.d.ts +1 -2
  104. package/dist/components/organisms/Booking/BookingPaxList.js +2 -2
  105. package/dist/components/organisms/Booking/BookingStep/BookingStep.d.ts +1 -2
  106. package/dist/components/organisms/Booking/BookingStep/BookingStep.js +2 -2
  107. package/dist/components/organisms/DialogBookingAddItem/AddItemNewService.d.ts +1 -1
  108. package/dist/components/organisms/DialogBookingAddItem/AddItemNewService.js +2 -2
  109. package/dist/components/organisms/DialogBookingAddItem/AddItemSelector.d.ts +1 -1
  110. package/dist/components/organisms/DialogBookingAddItem/AddItemSelector.js +3 -3
  111. package/dist/components/organisms/DialogBookingAddItem/DialogBookingAddItem.d.ts +1 -2
  112. package/dist/components/organisms/DialogBookingAddItem/DialogBookingAddItem.js +2 -2
  113. package/dist/components/organisms/DialogBookingConfirm/BookingCancellationPolicy.d.ts +1 -1
  114. package/dist/components/organisms/DialogBookingConfirm/BookingCancellationPolicy.js +2 -2
  115. package/dist/components/organisms/DialogBookingConfirm/BookingMailSent.d.ts +1 -2
  116. package/dist/components/organisms/DialogBookingConfirm/BookingMailSent.js +2 -2
  117. package/dist/components/organisms/DialogBookingConfirm/BookingReference.d.ts +1 -2
  118. package/dist/components/organisms/DialogBookingConfirm/BookingReference.js +2 -2
  119. package/dist/components/organisms/DialogBookingConfirm/BookingSuccess.d.ts +1 -2
  120. package/dist/components/organisms/DialogBookingConfirm/BookingSuccess.js +2 -2
  121. package/dist/components/organisms/DialogBookingConfirm/DialogBookingConfirm.d.ts +11 -7
  122. package/dist/components/organisms/DialogBookingConfirm/DialogBookingConfirm.js +2 -2
  123. package/dist/components/organisms/DialogCancelService/CancelBooking/CancelBooking.d.ts +1 -2
  124. package/dist/components/organisms/DialogCancelService/CancelBooking/CancelBooking.js +2 -2
  125. package/dist/components/organisms/DialogCancelService/CancelPolicy.d.ts +1 -2
  126. package/dist/components/organisms/DialogCancelService/CancelPolicy.js +2 -2
  127. package/dist/components/organisms/DialogCancelService/ConfirmDelete/ConfirmDelete.d.ts +1 -2
  128. package/dist/components/organisms/DialogCancelService/ConfirmDelete/ConfirmDelete.js +2 -2
  129. package/dist/components/organisms/DialogCancelService/DialogCancelService.d.ts +9 -7
  130. package/dist/components/organisms/DialogCancelService/DialogCancelService.js +2 -2
  131. package/dist/components/organisms/DialogCancelService/FromList.d.ts +1 -1
  132. package/dist/components/organisms/DialogCancelService/FromList.js +2 -2
  133. package/dist/components/organisms/DialogComparison/DialogComparison.d.ts +1 -1
  134. package/dist/components/organisms/DialogComparison/DialogComparison.js +2 -2
  135. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirm.d.ts +8 -6
  136. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirm.js +2 -2
  137. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmMultiple/DialogDeleteConfirmMultiple.d.ts +1 -2
  138. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmMultiple/DialogDeleteConfirmMultiple.js +2 -2
  139. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmWrapper.d.ts +1 -1
  140. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmWrapper.js +2 -2
  141. package/dist/components/organisms/DialogQuoteRename/DialogQuoteRename.d.ts +1 -1
  142. package/dist/components/organisms/DialogQuoteRename/DialogQuoteRename.js +2 -2
  143. package/dist/components/organisms/DialogSendingMail/DialogSendingMail.d.ts +7 -5
  144. package/dist/components/organisms/DialogSendingMail/DialogSendingMail.js +2 -2
  145. package/dist/components/organisms/DialogSendingMail/DialogSendingMailContent.d.ts +1 -2
  146. package/dist/components/organisms/DialogSendingMail/DialogSendingMailContent.js +2 -2
  147. package/dist/components/organisms/DialogSendingMail/DialogSendingMailMultiple/DialogSendingMailMultiple.d.ts +1 -2
  148. package/dist/components/organisms/DialogSendingMail/DialogSendingMailMultiple/DialogSendingMailMultiple.js +2 -2
  149. package/dist/components/organisms/QuoteHeader/QuoteHeader.d.ts +1 -4
  150. package/dist/components/organisms/QuoteHeader/QuoteHeader.js +2 -3
  151. package/dist/components/organisms/TabServiceDetails/Accommodation.d.ts +1 -2
  152. package/dist/components/organisms/TabServiceDetails/Accommodation.js +2 -2
  153. package/dist/components/organisms/TabServiceDetails/DetailContentTransfer.d.ts +1 -2
  154. package/dist/components/organisms/TabServiceDetails/DetailContentTransfer.js +2 -2
  155. package/dist/components/organisms/TabServiceDetails/DetailsContentAccom.d.ts +14 -1
  156. package/dist/components/organisms/TabServiceDetails/DetailsContentAccom.js +2 -2
  157. package/dist/components/organisms/TabServiceDetails/Excursion.d.ts +1 -2
  158. package/dist/components/organisms/TabServiceDetails/Excursion.js +2 -2
  159. package/dist/components/organisms/TabServiceDetails/TabServiceDetails.d.ts +3 -3
  160. package/dist/components/organisms/TabServiceDetails/Transfer.d.ts +1 -2
  161. package/dist/components/organisms/TabServiceDetails/Transfer.js +2 -2
  162. package/dist/components/organisms/Table/Table.d.ts +1 -1
  163. package/dist/components/organisms/Table/Table.js +2 -2
  164. package/package.json +1 -1
  165. package/src/components/molecules/ActionDropdown/ActionDropdown.tsx +3 -6
  166. package/src/components/molecules/AddItemButton/AddItemButton.tsx +3 -2
  167. package/src/components/molecules/BookingPax/BookingPax.tsx +2 -2
  168. package/src/components/molecules/BookingPax/BookingPaxAccom.tsx +3 -3
  169. package/src/components/molecules/BookingPax/BookingPaxClient/BookingPaxClient.tsx +2 -2
  170. package/src/components/molecules/BookingPax/BookingPaxExcursion.tsx +3 -3
  171. package/src/components/molecules/BookingPax/BookingPaxHeader.tsx +2 -2
  172. package/src/components/molecules/BookingPax/BookingPaxLayout/BookingPaxLayout.tsx +2 -2
  173. package/src/components/molecules/BookingPax/BookingPaxRemarks.tsx +3 -2
  174. package/src/components/molecules/BookingPax/BookingPaxTransfer.tsx +2 -2
  175. package/src/components/molecules/BookingResume/BookingResume.tsx +2 -2
  176. package/src/components/molecules/BookingResume/BookingResumeLayout/BookingResumeLayout.tsx +2 -2
  177. package/src/components/molecules/BookingResume/ResumeAccom/ResumeAccom.tsx +2 -3
  178. package/src/components/molecules/BookingResume/ResumeExcursion/ResumeExcursion.tsx +2 -3
  179. package/src/components/molecules/BookingResume/ResumeOtherService.tsx +2 -3
  180. package/src/components/molecules/BookingResume/ResumeTransfer.tsx +2 -3
  181. package/src/components/molecules/Breadcrumbs/Breadcrumbs.tsx +2 -3
  182. package/src/components/molecules/DateDisplay/DateDisplay.tsx +11 -10
  183. package/src/components/molecules/DetailsInfo/DetailsAction.tsx +2 -3
  184. package/src/components/molecules/DetailsInfo/DetailsAgency/DetailsAgency.tsx +2 -2
  185. package/src/components/molecules/DetailsInfo/DetailsClient/DetailsClient.tsx +2 -3
  186. package/src/components/molecules/DetailsInfo/DetailsFile.tsx +2 -3
  187. package/src/components/molecules/DialogContentPolicy/CancellationLayout/CancellationLayout.tsx +2 -2
  188. package/src/components/molecules/DialogContentPolicy/DialogCancellationAccom.tsx +2 -4
  189. package/src/components/molecules/DialogContentPolicy/DialogCancellationExcursion.tsx +2 -4
  190. package/src/components/molecules/DialogContentPolicy/DialogCancellationList.tsx +4 -5
  191. package/src/components/molecules/DialogContentPolicy/DialogContentPolicy.tsx +2 -2
  192. package/src/components/molecules/FromTo/FromTo.tsx +2 -2
  193. package/src/components/molecules/GlobalAmenities/GlobalAmenities.tsx +2 -3
  194. package/src/components/molecules/PaxChips/PaxChips.tsx +2 -3
  195. package/src/components/molecules/PaxDisplay/PaxDisplay.tsx +2 -2
  196. package/src/components/molecules/ServiceTitle/ServiceTitle.tsx +2 -2
  197. package/src/components/molecules/StepperTimeline/StepperTimeline.tsx +2 -2
  198. package/src/components/molecules/TableServiceItem/DetailsCol.tsx +2 -2
  199. package/src/components/molecules/TableServiceItem/ItemCol.tsx +2 -2
  200. package/src/components/molecules/TableServiceItem/RowAccommodation.tsx +17 -7
  201. package/src/components/molecules/TableServiceItem/RowExcursion.tsx +12 -6
  202. package/src/components/molecules/TableServiceItem/RowOtherServices.tsx +4 -5
  203. package/src/components/molecules/TableServiceItem/RowTransfer.tsx +4 -7
  204. package/src/components/molecules/TextWithBorderBottom/TextWithBorderBottom.tsx +2 -3
  205. package/src/components/molecules/TextWithIcon/TextWithIcon.tsx +2 -2
  206. package/src/components/molecules/TimelineItem/ServiceAccommodation.tsx +2 -3
  207. package/src/components/molecules/TimelineItem/ServiceExcursion.tsx +2 -3
  208. package/src/components/molecules/TimelineItem/ServiceTransfer.tsx +2 -3
  209. package/src/components/molecules/TimelineItem/TimelineHeader.tsx +2 -3
  210. package/src/components/molecules/Toast/Toast.tsx +9 -9
  211. package/src/components/molecules/TooltipDisplay/TooltipDisplay.tsx +2 -2
  212. package/src/components/organisms/Booking/BookingDocket/BookingDocket.tsx +2 -2
  213. package/src/components/organisms/Booking/BookingHeader.tsx +2 -3
  214. package/src/components/organisms/Booking/BookingPaxList.tsx +3 -3
  215. package/src/components/organisms/Booking/BookingStep/BookingStep.tsx +3 -3
  216. package/src/components/organisms/DialogBookingAddItem/AddItemNewService.tsx +2 -2
  217. package/src/components/organisms/DialogBookingAddItem/AddItemSelector.tsx +3 -2
  218. package/src/components/organisms/DialogBookingAddItem/DialogBookingAddItem.tsx +3 -3
  219. package/src/components/organisms/DialogBookingConfirm/BookingCancellationPolicy.tsx +2 -2
  220. package/src/components/organisms/DialogBookingConfirm/BookingMailSent.tsx +2 -3
  221. package/src/components/organisms/DialogBookingConfirm/BookingReference.tsx +3 -3
  222. package/src/components/organisms/DialogBookingConfirm/BookingSuccess.tsx +2 -3
  223. package/src/components/organisms/DialogBookingConfirm/DialogBookingConfirm.tsx +2 -2
  224. package/src/components/organisms/DialogCancelService/CancelBooking/CancelBooking.tsx +3 -3
  225. package/src/components/organisms/DialogCancelService/CancelPolicy.tsx +2 -3
  226. package/src/components/organisms/DialogCancelService/ConfirmDelete/ConfirmDelete.tsx +2 -3
  227. package/src/components/organisms/DialogCancelService/DialogCancelService.tsx +2 -2
  228. package/src/components/organisms/DialogCancelService/FromList.tsx +3 -3
  229. package/src/components/organisms/DialogComparison/DialogComparison.tsx +2 -2
  230. package/src/components/organisms/DialogDeleteConfirm/DialogDeleteConfirm.tsx +2 -2
  231. package/src/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmMultiple/DialogDeleteConfirmMultiple.tsx +3 -5
  232. package/src/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmWrapper.tsx +2 -2
  233. package/src/components/organisms/DialogQuoteRename/DialogQuoteRename.tsx +2 -2
  234. package/src/components/organisms/DialogSendingMail/DialogSendingMail.tsx +2 -2
  235. package/src/components/organisms/DialogSendingMail/DialogSendingMailContent.tsx +3 -5
  236. package/src/components/organisms/DialogSendingMail/DialogSendingMailMultiple/DialogSendingMailMultiple.tsx +3 -5
  237. package/src/components/organisms/QuoteHeader/QuoteHeader.tsx +2 -4
  238. package/src/components/organisms/TabServiceDetails/Accommodation.tsx +2 -3
  239. package/src/components/organisms/TabServiceDetails/DetailContentTransfer.tsx +2 -3
  240. package/src/components/organisms/TabServiceDetails/DetailsContentAccom.tsx +3 -3
  241. package/src/components/organisms/TabServiceDetails/Excursion.tsx +2 -3
  242. package/src/components/organisms/TabServiceDetails/Transfer.tsx +2 -3
  243. package/src/components/organisms/Table/Table.tsx +2 -2
@@ -1,8 +1,7 @@
1
- import React from 'react';
2
1
  import { DetailsColData } from '../TableServiceItem/DetailsCol';
3
2
  export interface ServiceExcursionProps {
4
3
  name: string;
5
4
  details: DetailsColData[];
6
5
  date: string;
7
6
  }
8
- export declare const ServiceExcursion: React.FC<ServiceExcursionProps>;
7
+ export declare function ServiceExcursion(props: ServiceExcursionProps): 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 var ServiceExcursion = function (props) {
6
+ export function ServiceExcursion(props) {
7
7
  var name = props.name, details = props.details, date = props.date;
8
8
  return (_jsxs("div", { className: "space-y-3", children: [_jsx(TimelineHeader, { icon: "map", title: "Excursion" }), _jsx(Text, { variant: "bold", size: "sm", leading: "5", children: name }), _jsxs("div", { className: "space-y-2", children: [_jsx(DateDisplay, { dates: [date] }), _jsx(DetailsCol, { data: details, className: "gap-y-2" })] })] }));
9
- };
9
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { DetailsColData } from '../TableServiceItem/DetailsCol';
3
2
  export interface ServiceTransferProps {
4
3
  transferType: string;
@@ -8,4 +7,4 @@ export interface ServiceTransferProps {
8
7
  };
9
8
  details: DetailsColData[];
10
9
  }
11
- export declare const ServiceTransfer: React.FC<ServiceTransferProps>;
10
+ export declare function ServiceTransfer(props: ServiceTransferProps): import("react/jsx-runtime").JSX.Element;
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import FromTo from '../FromTo/FromTo';
3
3
  import { DetailsCol } from '../TableServiceItem/DetailsCol';
4
4
  import { TimelineHeader } from './TimelineHeader';
5
- export var ServiceTransfer = function (props) {
5
+ export function ServiceTransfer(props) {
6
6
  var transferType = props.transferType, location = props.location, details = props.details;
7
7
  return (_jsxs("div", { className: "space-y-3", children: [_jsx(TimelineHeader, { icon: "car", title: "Transfer", extraText: transferType }), _jsx(FromTo, { from: location.from, to: location.to }), _jsx(DetailsCol, { data: details, className: "gap-y-2" })] }));
8
- };
8
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { IconName } from '../../atoms/Icon/Icon';
3
2
  import './TimelineHeader.css';
4
3
  export interface TimelineHeaderProps {
@@ -7,4 +6,4 @@ export interface TimelineHeaderProps {
7
6
  extraText?: string;
8
7
  isOnRequest?: boolean;
9
8
  }
10
- export declare const TimelineHeader: React.FC<TimelineHeaderProps>;
9
+ export declare function TimelineHeader(props: TimelineHeaderProps): import("react/jsx-runtime").JSX.Element;
@@ -4,7 +4,7 @@ import Chip from '../../atoms/Chip/Chip';
4
4
  import Icon from '../../atoms/Icon/Icon';
5
5
  import { Text } from '../../atoms/Typography/Typography';
6
6
  import './TimelineHeader.css';
7
- export var TimelineHeader = function (props) {
7
+ export function TimelineHeader(props) {
8
8
  var _a = props.icon, icon = _a === void 0 ? 'car' : _a, title = props.title, extraText = props.extraText, _b = props.isOnRequest, isOnRequest = _b === void 0 ? false : _b;
9
9
  return (_jsxs("div", { className: cn('timeline-header', isOnRequest && 'timeline-header--request'), children: [_jsx("div", { className: "timeline-header__icon-container", children: _jsx("div", { className: "timeline-header__icon", children: _jsx(Icon, { name: icon }) }) }), _jsxs("div", { className: "flex gap-x-2 items-center", children: [_jsx(Text, { variant: "bold", size: "md", color: isOnRequest ? 'yellow' : 'accent', leading: "5", children: title }), extraText && (_jsx(Text, { variant: "medium", size: "md", color: "accent", className: "italic", leading: "5", children: extraText })), isOnRequest && _jsx(Chip, { color: "yellow", children: "On request" })] })] }));
10
- };
10
+ }
@@ -1,11 +1,14 @@
1
+ import { ServiceAccommodation } from './ServiceAccommodation';
2
+ import { ServiceExcursion } from './ServiceExcursion';
3
+ import { ServiceTransfer } from './ServiceTransfer';
1
4
  import './TimelineItem.css';
2
5
  export interface TimelineItemProps {
3
6
  children: React.ReactNode;
4
7
  }
5
8
  declare function TimelineItem(props: TimelineItemProps): import("react/jsx-runtime").JSX.Element;
6
9
  declare namespace TimelineItem {
7
- var Transfer: import("react").FC<import("./ServiceTransfer").ServiceTransferProps>;
8
- var Accommodation: import("react").FC<import("./ServiceAccommodation").ServiceAccommodationProps>;
9
- var Excursion: import("react").FC<import("./ServiceExcursion").ServiceExcursionProps>;
10
+ var Transfer: typeof ServiceTransfer;
11
+ var Accommodation: typeof ServiceAccommodation;
12
+ var Excursion: typeof ServiceExcursion;
10
13
  }
11
14
  export default TimelineItem;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import '../../../styles/components/molecule/toast.css';
3
2
  import { IconName } from '../../atoms/Icon/icons/registry';
4
3
  export type ToastType = 'informational' | 'success' | 'warning' | 'danger';
@@ -23,5 +22,5 @@ export interface ToastProps {
23
22
  * @param ToastProps
24
23
  * @returns
25
24
  */
26
- declare const Toast: React.FC<ToastProps>;
25
+ declare function Toast(props: ToastProps): import("react/jsx-runtime").JSX.Element;
27
26
  export default Toast;
@@ -11,8 +11,8 @@ import { Text } from '../../atoms/Typography/Typography';
11
11
  * @param ToastProps
12
12
  * @returns
13
13
  */
14
- var Toast = function (_a) {
15
- var text = _a.text, _b = _a.type, type = _b === void 0 ? 'informational' : _b, _c = _a.className, className = _c === void 0 ? '' : _c, _d = _a.iconName, iconName = _d === void 0 ? 'badge-alert' : _d, _e = _a.showIcon, showIcon = _e === void 0 ? true : _e;
14
+ function Toast(props) {
15
+ var text = props.text, _a = props.type, type = _a === void 0 ? 'informational' : _a, _b = props.className, className = _b === void 0 ? '' : _b, _c = props.iconName, iconName = _c === void 0 ? 'badge-alert' : _c, _d = props.showIcon, showIcon = _d === void 0 ? true : _d;
16
16
  return (_jsx("div", { className: "toast toast--".concat(type, " ").concat(className).trim(), children: _jsxs("div", { className: "toast__container", children: [showIcon && (_jsx("div", { className: "toast__icon-wrapper", children: _jsx(Icon, { name: iconName, size: "md", className: "toast__icon" }) })), _jsx(Text, { size: "sm", variant: "bold", leading: "5", className: "toast__text", children: text })] }) }));
17
- };
17
+ }
18
18
  export default Toast;
@@ -10,4 +10,4 @@ export interface TooltipDisplayProps {
10
10
  /** Maximum width of the tooltip */
11
11
  maxWidth?: `${number}px`;
12
12
  }
13
- export declare const TooltipDisplay: React.FC<TooltipDisplayProps>;
13
+ export declare function TooltipDisplay(props: TooltipDisplayProps): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Text } from '../../atoms/Typography/Typography';
3
3
  import { Tooltip, TooltipContent, TooltipTrigger } from '../../ui/tooltip';
4
- export var TooltipDisplay = function (props) {
4
+ export function TooltipDisplay(props) {
5
5
  var children = props.children, content = props.content, _a = props.side, side = _a === void 0 ? 'right' : _a, _b = props.maxWidth, maxWidth = _b === void 0 ? '300px' : _b;
6
6
  return (_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { className: "text-[var(--color-icon-branded)]", asChild: true, children: children }), _jsx(TooltipContent, { className: "max-w-[".concat(maxWidth, "]"), side: side, style: { maxWidth: maxWidth }, children: _jsx(Text, { variant: "medium", size: "sm", className: "!text-white", children: content }) })] }));
7
- };
7
+ }
@@ -1,13 +1,17 @@
1
1
  import React from 'react';
2
2
  import './Booking.css';
3
+ import { BookingDocket } from './BookingDocket/BookingDocket';
4
+ import { BookingHeader } from './BookingHeader';
5
+ import { BookingPaxList } from './BookingPaxList';
6
+ import { BookingStep } from './BookingStep/BookingStep';
3
7
  export interface BookingProps extends React.HTMLAttributes<HTMLDivElement> {
4
8
  children?: React.ReactNode;
5
9
  }
6
10
  declare function Booking(props: BookingProps): import("react/jsx-runtime").JSX.Element;
7
11
  declare namespace Booking {
8
- var Docket: React.FC<import("./BookingDocket/BookingDocket").BookingDocketProps>;
9
- var Step: React.FC<import("./BookingStep/BookingStep").BookingStepProps>;
10
- var Header: React.FC<import("./BookingHeader").BookingHeaderProps>;
11
- var PaxList: React.FC<import("./BookingPaxList").BookingPaxProps>;
12
+ var Docket: typeof BookingDocket;
13
+ var Step: typeof BookingStep;
14
+ var Header: typeof BookingHeader;
15
+ var PaxList: typeof BookingPaxList;
12
16
  }
13
17
  export default Booking;
@@ -9,4 +9,4 @@ export interface BookingDocketProps {
9
9
  dates: string[];
10
10
  resumes: BookingDocketItem[];
11
11
  }
12
- export declare const BookingDocket: React.FC<BookingDocketProps>;
12
+ export declare function BookingDocket(props: BookingDocketProps): import("react/jsx-runtime").JSX.Element;
@@ -19,7 +19,7 @@ import { Heading, Text } from '../../../atoms/Typography/Typography';
19
19
  import { BookingResume, } from '../../../molecules/BookingResume/index';
20
20
  import { DateDisplay } from '../../../molecules/DateDisplay/DateDisplay';
21
21
  import './BookingDocket.css';
22
- export var BookingDocket = function (props) {
22
+ export function BookingDocket(props) {
23
23
  var dates = props.dates, resumes = props.resumes;
24
24
  var _a = useState(false), isBookingOpen = _a[0], setIsBookingOpen = _a[1];
25
25
  var contentRef = useRef(null);
@@ -41,4 +41,4 @@ export var BookingDocket = function (props) {
41
41
  }
42
42
  }, [isBookingOpen, resumes, isDesktop]);
43
43
  return (_jsx(LazyMotion, { features: domAnimation, children: _jsxs("div", { className: "booking-docket__container", children: [!isDesktop && !isBookingOpen && (_jsx("div", { className: "flex justify-end mb-4", children: _jsxs(motion.button, { className: "booking-docket__mobile-button", onClick: handleBookingOpen, initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0 }, transition: { duration: 0.3 }, children: [_jsx(Icon, { name: "booking", size: "lg" }), _jsx(Text, { size: "lg", as: "span", variant: "bold", children: "Your booking" }), _jsx(Icon, { name: "eye", size: "lg" })] }, "booking-open") })), _jsx(AnimatePresence, { initial: false, children: isBookingOpen && (_jsx(motion.div, { className: "booking-docket", initial: { height: 0, opacity: 0 }, animate: { height: height, opacity: 1 }, exit: { height: 0 }, children: _jsxs("div", { ref: contentRef, children: [_jsxs("div", { className: "booking-docket__content", children: [_jsxs("div", { className: "space-y-3", children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsx(Heading, { level: 6, color: "accent", as: "h2", children: "Your Booking" }), _jsx("img", { src: "/images/mautourco-logo.png", alt: "Mautourco Logo", width: 150 })] }), _jsxs("div", { className: "flex gap-x-4 items-center", children: [_jsx(Text, { variant: "bold", size: "lg", children: "Booking file date range :" }), _jsx(DateDisplay, { dates: dates })] })] }), _jsx(BookingResume, { children: resumes.map(function (resume, index) { return (_jsxs("div", { children: [resume.type === 'accommodation' && (_jsx(BookingResume.Accommodation, __assign({}, resume.data))), resume.type === 'transfer' && (_jsx(BookingResume.Transfer, __assign({}, resume.data))), resume.type === 'excursion' && (_jsx(BookingResume.Excursion, __assign({}, resume.data))), resume.type === 'otherService' && (_jsx(BookingResume.OtherService, __assign({}, resume.data)))] }, index)); }) })] }), _jsx("img", { src: "/images/svg/resume-bottom-bg.svg", alt: "bottom background", className: "booking-docket__bg" })] }) }, "booking-docket")) }), !isDesktop && isBookingOpen && (_jsx("div", { className: "flex justify-end mt-10", children: _jsxs(motion.button, { className: "booking-docket__mobile-button", onClick: handleBookingOpen, initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0 }, transition: { duration: 0.3 }, children: [_jsx(Text, { size: "lg", as: "span", variant: "bold", children: "Close" }), _jsx(Icon, { name: "close-circle", size: "lg" })] }, "booking-close") }))] }) }));
44
- };
44
+ }
@@ -1,8 +1,7 @@
1
- import React from 'react';
2
1
  export interface BookingHeaderProps {
3
2
  fileNumber: string | number;
4
3
  reference: string | number;
5
4
  location: string;
6
5
  isBooking?: boolean;
7
6
  }
8
- export declare const BookingHeader: React.FC<BookingHeaderProps>;
7
+ export declare function BookingHeader(props: BookingHeaderProps): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Heading, Text } from '../../atoms/Typography/Typography';
3
- export var BookingHeader = function (props) {
3
+ export function BookingHeader(props) {
4
4
  var fileNumber = props.fileNumber, reference = props.reference, isBooking = props.isBooking, location = props.location;
5
5
  return (_jsxs("div", { className: "space-y-2", children: [_jsxs(Text, { color: "light", children: ["File number: ", fileNumber] }), _jsxs(Heading, { level: 6, as: "h1", color: "brand", children: [isBooking ? 'Booking' : 'Quotation', ": N\u00B0 ", reference] }), _jsx(Text, { color: "accent", size: "xl", children: location })] }));
6
- };
6
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { BookingPaxAccomProps, BookingPaxExcursionProps, BookingPaxTransferProps } from '../../molecules/BookingPax';
3
2
  import { BookingPaxClientInfo, BookingPaxClientOptions } from '../../molecules/BookingPax/BookingPaxClient/BookingPaxClient';
4
3
  export interface BookingPaxData {
@@ -86,4 +85,4 @@ export interface BookingPaxProps {
86
85
  * @param props - The props for the BookingPaxList component.
87
86
  * @returns The BookingPaxList component.
88
87
  */
89
- export declare const BookingPaxList: React.FC<BookingPaxProps>;
88
+ export declare function BookingPaxList(props: BookingPaxProps): import("react/jsx-runtime").JSX.Element;
@@ -50,7 +50,7 @@ var isTransferData = function (data) {
50
50
  * @param props - The props for the BookingPaxList component.
51
51
  * @returns The BookingPaxList component.
52
52
  */
53
- export var BookingPaxList = function (props) {
53
+ export function BookingPaxList(props) {
54
54
  var data = props.data, isSubmitted = props.isSubmitted, clientsInfo = props.clientsInfo, onPaxChange = props.onPaxChange, onRemarkChange = props.onRemarkChange, onError = props.onError, onTimeChange = props.onTimeChange, onFlightNumberChange = props.onFlightNumberChange, onAutoFilled = props.onAutoFilled;
55
55
  var _a = useState([]), autoFilledData = _a[0], setAutoFilledData = _a[1];
56
56
  // Memoized callback handlers to reduce re-renders
@@ -133,4 +133,4 @@ export var BookingPaxList = function (props) {
133
133
  }
134
134
  return null;
135
135
  }) }));
136
- };
136
+ }
@@ -1,5 +1,4 @@
1
1
  import { StepperTimelineItem } from '@/src/components/molecules/StepperTimeline/StepperTimeline';
2
- import React from 'react';
3
2
  import './BookingStep.css';
4
3
  export interface BookingStepProps {
5
4
  steps: StepperTimelineItem[];
@@ -9,4 +8,4 @@ export interface BookingStepProps {
9
8
  onStepChange?: (step: StepperTimelineItem, index: number) => void;
10
9
  onNextClick?: (step: StepperTimelineItem, index: number) => void;
11
10
  }
12
- export declare const BookingStep: React.FC<BookingStepProps>;
11
+ export declare function BookingStep(props: BookingStepProps): import("react/jsx-runtime").JSX.Element;
@@ -3,7 +3,7 @@ import Button from '../../../atoms/Button/Button';
3
3
  import { StepperTimeline, } from '../../../molecules/StepperTimeline/StepperTimeline';
4
4
  import { useEffect, useState } from 'react';
5
5
  import './BookingStep.css';
6
- export var BookingStep = function (props) {
6
+ export function BookingStep(props) {
7
7
  var steps = props.steps, className = props.className, nextDisabled = props.nextDisabled, currentStep = props.currentStep, onStepChange = props.onStepChange, onNextClick = props.onNextClick;
8
8
  var _a = useState(0), currentIndex = _a[0], setCurrentIndex = _a[1];
9
9
  var handleStepChange = function (step, index) {
@@ -19,4 +19,4 @@ export var BookingStep = function (props) {
19
19
  setCurrentIndex(currentStep ? currentStep - 1 : 0);
20
20
  }, [currentStep]);
21
21
  return (_jsxs("div", { className: "booking-step", children: [_jsx(StepperTimeline, { steps: steps, className: className, currentIndex: currentIndex, onChange: handleStepChange }), _jsx(Button, { trailingIcon: "arrow-right-outline", variant: "secondary", className: "w-[189px]", disabled: nextDisabled, onClick: handleNextClick, children: currentIndex === steps.length - 1 ? 'Confirm' : 'Next' })] }));
22
- };
22
+ }
@@ -13,4 +13,4 @@ export interface AddItemNewServiceProps {
13
13
  onNext: (payload: AddItemNewServicePayload) => void;
14
14
  onBack: () => void;
15
15
  }
16
- export declare const AddItemNewService: React.FC<AddItemNewServiceProps>;
16
+ export declare function AddItemNewService(props: AddItemNewServiceProps): import("react/jsx-runtime").JSX.Element;
@@ -14,7 +14,7 @@ import Checkbox from '../../atoms/Checkbox/Checkbox';
14
14
  import { Text } from '../../atoms/Typography/Typography';
15
15
  import ServiceSelector from '../../molecules/ServiceSelector';
16
16
  import DateTimePicker from '../DateTimePicker/DateTimePicker';
17
- export var AddItemNewService = function (props) {
17
+ export function AddItemNewService(props) {
18
18
  var date = props.date, options = props.options, clients = props.clients, onServiceChange = props.onServiceChange, onNext = props.onNext, onBack = props.onBack;
19
19
  var _a = useState('accommodation'), service = _a[0], setService = _a[1];
20
20
  var _b = useState([]), selectedClients = _b[0], setSelectedClients = _b[1];
@@ -46,4 +46,4 @@ export var AddItemNewService = function (props) {
46
46
  service: service,
47
47
  });
48
48
  }, disabled: selectedClients.length === 0, children: "Next" })] })] }));
49
- };
49
+ }
@@ -5,4 +5,4 @@ export declare enum AddItemType {
5
5
  export interface AddItemSelectorProps {
6
6
  onAddItem?: (type: AddItemType) => void;
7
7
  }
8
- export declare const AddItemSelector: React.FC<AddItemSelectorProps>;
8
+ export declare function AddItemSelector(props: AddItemSelectorProps): import("react/jsx-runtime").JSX.Element;
@@ -6,7 +6,7 @@ export var AddItemType;
6
6
  AddItemType["NEW"] = "NEW";
7
7
  AddItemType["EXISTING"] = "EXISTING";
8
8
  })(AddItemType || (AddItemType = {}));
9
- export var AddItemSelector = function (_a) {
10
- var onAddItem = _a.onAddItem;
9
+ export function AddItemSelector(props) {
10
+ var onAddItem = props.onAddItem;
11
11
  return (_jsxs("div", { className: "space-y-9", children: [_jsx(Text, { size: "sm", variant: "medium", children: "If you are sure you want to add this service, please confirm below. New prices and cancellation policies will apply to the added service." }), _jsxs("div", { className: "grid grid-cols-2 gap-4", children: [_jsx(AddItemButton, { label: _jsxs(_Fragment, { children: ["Add new service ", _jsx("br", {}), " and new pax"] }), onClick: function () { return onAddItem === null || onAddItem === void 0 ? void 0 : onAddItem(AddItemType.NEW); } }), _jsx(AddItemButton, { label: _jsxs(_Fragment, { children: ["Add new service ", _jsx("br", {}), " for your existing pax"] }), onClick: function () { return onAddItem === null || onAddItem === void 0 ? void 0 : onAddItem(AddItemType.EXISTING); } })] }), _jsx(Text, { size: "sm", variant: "medium", children: "Note: This action is irreversible and cannot be undone." })] }));
12
- };
12
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { BookingPaxClientInfo } from '../../molecules/BookingPax';
3
2
  import { ServiceOption, ServiceType } from '../../molecules/ServiceSelector';
4
3
  import { AddItemNewServicePayload } from './AddItemNewService';
@@ -14,4 +13,4 @@ export interface DialogBookingAddItemProps {
14
13
  onValidatePax?: (payload: AddItemNewServicePayload) => void;
15
14
  onBackToSelector?: () => void;
16
15
  }
17
- export declare const DialogBookingAddItem: React.FC<DialogBookingAddItemProps>;
16
+ export declare function DialogBookingAddItem(props: DialogBookingAddItemProps): import("react/jsx-runtime").JSX.Element;
@@ -17,7 +17,7 @@ import { DEFAULT_SERVICE_SELECTOR_OPTIONS } from '../../molecules/ServiceSelecto
17
17
  import Dialog from '../Dialog/Dialog';
18
18
  import { AddItemNewService } from './AddItemNewService';
19
19
  import { AddItemSelector, AddItemType } from './AddItemSelector';
20
- export var DialogBookingAddItem = function (props) {
20
+ export function DialogBookingAddItem(props) {
21
21
  var open = props.open, _a = props.serviceDate, serviceDate = _a === void 0 ? [] : _a, _b = props.serviceOptions, serviceOptions = _b === void 0 ? [] : _b, clients = props.clients, setOpen = props.setOpen, onAddItem = props.onAddItem, onServiceChange = props.onServiceChange, onValidatePax = props.onValidatePax, onBackToSelector = props.onBackToSelector;
22
22
  var _c = useState(null), selectedType = _c[0], setSelectedType = _c[1];
23
23
  var contentRef = useRef(null);
@@ -52,4 +52,4 @@ export var DialogBookingAddItem = function (props) {
52
52
  onBackToSelector === null || onBackToSelector === void 0 ? void 0 : onBackToSelector();
53
53
  setSelectedType(null);
54
54
  } }) }, "add-item-new-service")) : (_jsx(motion.div, { initial: { opacity: 0, y: 10 }, animate: { opacity: 1, y: 0 }, exit: { opacity: 0, y: 10 }, transition: { duration: 0.25, ease: 'easeInOut' }, children: _jsx(AddItemSelector, { onAddItem: handleAddItem }) }, "add-item-selector")) }) }) }) }) }));
55
- };
55
+ }
@@ -26,4 +26,4 @@ export interface BookingCancellationPolicyProps {
26
26
  * @param props - The props for the BookingCancellationPolicy component.
27
27
  * @returns The BookingCancellationPolicy component.
28
28
  */
29
- export declare const BookingCancellationPolicy: (props: BookingCancellationPolicyProps) => import("react/jsx-runtime").JSX.Element;
29
+ export declare function BookingCancellationPolicy(props: BookingCancellationPolicyProps): import("react/jsx-runtime").JSX.Element;
@@ -14,7 +14,7 @@ import { DialogBookingConfirm } from './DialogBookingConfirm';
14
14
  * @param props - The props for the BookingCancellationPolicy component.
15
15
  * @returns The BookingCancellationPolicy component.
16
16
  */
17
- export var BookingCancellationPolicy = function (props) {
17
+ export function BookingCancellationPolicy(props) {
18
18
  var open = props.open, setOpen = props.setOpen, cancellations = props.cancellations;
19
19
  return (_jsx(DialogBookingConfirm, { open: open, setOpen: setOpen, title: "Confirmation of Terms & Cancellation policy", className: "!max-w-[800px]", children: _jsx(DialogContentPolicy.List, { cancellations: cancellations }) }));
20
- };
20
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  export interface BookingMailSentProps {
3
2
  /**
4
3
  * Whether the dialog is open.
@@ -26,4 +25,4 @@ export interface BookingMailSentProps {
26
25
  * @param props - The props for the BookingMailSent component.
27
26
  * @returns
28
27
  */
29
- export declare const BookingMailSent: React.FC<BookingMailSentProps>;
28
+ export declare function BookingMailSent(props: BookingMailSentProps): import("react/jsx-runtime").JSX.Element;
@@ -14,7 +14,7 @@ import { DialogBookingConfirm } from './DialogBookingConfirm';
14
14
  * @param props - The props for the BookingMailSent component.
15
15
  * @returns
16
16
  */
17
- export var BookingMailSent = function (props) {
17
+ export function BookingMailSent(props) {
18
18
  var open = props.open, setOpen = props.setOpen, onNext = props.onNext;
19
19
  return (_jsx(DialogBookingConfirm, { open: open, setOpen: setOpen, className: "!max-w-[800px]", children: _jsxs("div", { className: "space-y-9", children: [_jsxs("div", { className: "space-y-8", children: [_jsx("img", { src: "/images/svg/booking-mail-sent.svg", alt: "Booking success", className: "mx-auto", width: 150, height: 150 }), _jsx(Heading, { as: "p", level: 6, variant: "medium", className: "text-center", children: "You will receive a copy of your booking in your mail inbox." })] }), _jsx(Button, { variant: "secondary", onClick: onNext, className: "w-full", children: "Go to booking grid" })] }) }));
20
- };
20
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  export interface BookingReferenceProps {
3
2
  /**
4
3
  * Whether the dialog is open.
@@ -32,4 +31,4 @@ export interface BookingReferenceProps {
32
31
  * @param props - The props for the BookingReference component.
33
32
  * @returns The BookingReference component.
34
33
  */
35
- export declare const BookingReference: React.FC<BookingReferenceProps>;
34
+ export declare function BookingReference(props: BookingReferenceProps): import("react/jsx-runtime").JSX.Element;
@@ -19,8 +19,8 @@ import { DialogBookingConfirm } from './DialogBookingConfirm';
19
19
  * @param props - The props for the BookingReference component.
20
20
  * @returns The BookingReference component.
21
21
  */
22
- export var BookingReference = function (props) {
22
+ export function BookingReference(props) {
23
23
  var open = props.open, setOpen = props.setOpen, onCancel = props.onCancel, onConfirm = props.onConfirm;
24
24
  var _a = useState(''), reference = _a[0], setReference = _a[1];
25
25
  return (_jsx(DialogBookingConfirm, { open: open, setOpen: setOpen, title: "Reference number", className: "!max-w-[500px]", children: _jsxs("div", { className: "space-y-9", children: [_jsxs("div", { className: "space-y-2", children: [_jsx("label", { children: _jsx(Text, { as: "span", size: "sm", children: "Reference number" }) }), _jsx(Input, { placeholder: "Please insert a reference number", value: reference, onChange: function (e) { return setReference(e.target.value); } })] }), _jsxs("div", { className: "grid grid-cols-2 gap-x-4", children: [_jsx(Button, { variant: "outline-secondary", onClick: onCancel, children: "Cancel" }), _jsx(Button, { variant: "secondary", onClick: function () { return onConfirm(reference); }, children: "Confirm booking" })] })] }) }));
26
- };
26
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  export interface BookingSuccessProps {
3
2
  /**
4
3
  * Whether the dialog is open.
@@ -32,4 +31,4 @@ export interface BookingSuccessProps {
32
31
  * @param props - The props for the BookingSuccess component.
33
32
  * @returns The BookingSuccess component.
34
33
  */
35
- export declare const BookingSuccess: React.FC<BookingSuccessProps>;
34
+ export declare function BookingSuccess(props: BookingSuccessProps): import("react/jsx-runtime").JSX.Element;
@@ -16,7 +16,7 @@ import { DialogBookingConfirm } from './DialogBookingConfirm';
16
16
  * @param props - The props for the BookingSuccess component.
17
17
  * @returns The BookingSuccess component.
18
18
  */
19
- export var BookingSuccess = function (props) {
19
+ export function BookingSuccess(props) {
20
20
  var open = props.open, bookingName = props.bookingName, setOpen = props.setOpen, onNext = props.onNext;
21
21
  return (_jsx(DialogBookingConfirm, { open: open, setOpen: setOpen, className: "!max-w-[800px]", children: _jsxs("div", { className: "space-y-9", children: [_jsxs("div", { className: "space-y-8", children: [_jsx("img", { src: "/images/svg/booking-confirm.svg", alt: "Booking success", className: "mx-auto", width: 150, height: 150 }), _jsxs("div", { className: "text-center", children: [_jsx(Heading, { as: "p", level: 6, variant: "medium", children: "Your booking has been successfully confirmed!" }), _jsxs(Text, { variant: "bold", size: "lg", children: ["\"", bookingName, "\""] })] })] }), _jsx(Button, { variant: "secondary", onClick: onNext, className: "w-full", children: "Confirm booking" })] }) }));
22
- };
22
+ }
@@ -1,4 +1,8 @@
1
1
  import React from 'react';
2
+ import { BookingCancellationPolicy } from './BookingCancellationPolicy';
3
+ import { BookingMailSent } from './BookingMailSent';
4
+ import { BookingReference } from './BookingReference';
5
+ import { BookingSuccess } from './BookingSuccess';
2
6
  interface DialogBookingConfirmProps {
3
7
  /**
4
8
  * Whether the dialog is open.
@@ -41,11 +45,11 @@ interface DialogBookingConfirmProps {
41
45
  * @param props - The props for the DialogBookingConfirm component.
42
46
  * @returns The DialogBookingConfirm component.
43
47
  */
44
- export declare const DialogBookingConfirm: {
45
- (props: DialogBookingConfirmProps): import("react/jsx-runtime").JSX.Element;
46
- Reference: React.FC<import("./BookingReference").BookingReferenceProps>;
47
- CancellationPolicy: (props: import("./BookingCancellationPolicy").BookingCancellationPolicyProps) => import("react/jsx-runtime").JSX.Element;
48
- Success: React.FC<import("./BookingSuccess").BookingSuccessProps>;
49
- MailSent: React.FC<import("./BookingMailSent").BookingMailSentProps>;
50
- };
48
+ export declare function DialogBookingConfirm(props: DialogBookingConfirmProps): import("react/jsx-runtime").JSX.Element;
49
+ export declare namespace DialogBookingConfirm {
50
+ var Reference: typeof BookingReference;
51
+ var CancellationPolicy: typeof BookingCancellationPolicy;
52
+ var Success: typeof BookingSuccess;
53
+ var MailSent: typeof BookingMailSent;
54
+ }
51
55
  export {};
@@ -20,10 +20,10 @@ import { BookingSuccess } from './BookingSuccess';
20
20
  * @param props - The props for the DialogBookingConfirm component.
21
21
  * @returns The DialogBookingConfirm component.
22
22
  */
23
- export var DialogBookingConfirm = function (props) {
23
+ export function DialogBookingConfirm(props) {
24
24
  var open = props.open, title = props.title, children = props.children, setOpen = props.setOpen, className = props.className, _a = props.closeOnOverlayClick, closeOnOverlayClick = _a === void 0 ? false : _a;
25
25
  return (_jsx(Dialog, { isOpen: open, onClose: function () { return setOpen(false); }, title: title, className: className, showFooter: false, closeOnOverlayClick: closeOnOverlayClick, children: children }));
26
- };
26
+ }
27
27
  DialogBookingConfirm.Reference = BookingReference;
28
28
  DialogBookingConfirm.CancellationPolicy = BookingCancellationPolicy;
29
29
  DialogBookingConfirm.Success = BookingSuccess;
@@ -1,6 +1,5 @@
1
1
  import { CancellationPolicyItem } from '@/src/components/molecules/DialogContentPolicy/DialogCancellationList';
2
2
  import { PaxCount } from '@/src/components/molecules/PaxChips/PaxChips';
3
- import React from 'react';
4
3
  import './CancelBooking.css';
5
4
  export interface CancelBookingProps {
6
5
  bookingNo: string;
@@ -13,4 +12,4 @@ export interface CancelBookingProps {
13
12
  cancellationPolicies: CancellationPolicyItem[];
14
13
  onSubmit: () => void;
15
14
  }
16
- export declare const CancelBooking: React.FC<CancelBookingProps>;
15
+ export declare function CancelBooking(props: CancelBookingProps): import("react/jsx-runtime").JSX.Element;
@@ -7,7 +7,7 @@ import { CancellationsList, } from '../../../molecules/DialogContentPolicy/Dialo
7
7
  import { PaxChips } from '../../../molecules/PaxChips/PaxChips';
8
8
  import { useState } from 'react';
9
9
  import './CancelBooking.css';
10
- export var CancelBooking = function (props) {
10
+ export function CancelBooking(props) {
11
11
  var bookingNo = props.bookingNo, cancellationPolicies = props.cancellationPolicies, pax = props.pax, bookingDetails = props.bookingDetails, onSubmit = props.onSubmit;
12
12
  var _a = useState(false), accepted = _a[0], setAccepted = _a[1];
13
13
  var bookingDetailsList = [
@@ -25,4 +25,4 @@ export var CancelBooking = function (props) {
25
25
  },
26
26
  ];
27
27
  return (_jsxs("div", { className: "cancel-booking", children: [_jsx(Text, { children: "This action is irreversible, and you won\u2019t be able to undo it. If you are certain you want to cancel you booking, please confirm below." }), _jsxs("div", { className: "cancel-booking__header", children: [_jsxs("div", { className: "cancel-booking__header-info", children: [_jsxs(Heading, { level: 6, as: "h3", color: "brand", children: ["Booking \u00B0", bookingNo] }), _jsx(Text, { children: "Booking cancellation" }), _jsx(PaxChips, { pax: pax })] }), _jsxs(CardServiceAccom, { className: "space-y-4", children: [_jsx(Text, { color: "accent", variant: "bold", children: "Documents details" }), _jsx("div", { className: "space-y-2", children: bookingDetailsList.map(function (detail) { return (_jsxs("div", { className: "grid grid-cols-2 gap-x-4", children: [_jsx(Text, { variant: "bold", size: "sm", leading: "4", as: "span", children: detail.label }), _jsx(Text, { size: "sm", leading: "4", as: "span", children: detail.value })] }, detail.label)); }) })] })] }), _jsx("div", { className: "cancel-booking__cancellations", children: _jsx(CancellationsList, { cancellations: cancellationPolicies }) }), _jsxs("div", { className: "cancel-booking__footer", 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: "Confirm cancellation" })] })] }));
28
- };
28
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { CancellationPolicyItem } from '../../molecules/DialogContentPolicy/DialogCancellationList';
3
2
  export interface CancelPolicyProps {
4
3
  /**
@@ -26,4 +25,4 @@ export interface CancelPolicyProps {
26
25
  */
27
26
  onProceedToPayment?: () => void;
28
27
  }
29
- export declare const CancelPolicy: React.FC<CancelPolicyProps>;
28
+ export declare function CancelPolicy(props: CancelPolicyProps): import("react/jsx-runtime").JSX.Element;
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import Button from '../../atoms/Button/Button';
3
3
  import { Text } from '../../atoms/Typography/Typography';
4
4
  import { CancellationsList, } from '../../molecules/DialogContentPolicy/DialogCancellationList';
5
- export var CancelPolicy = function (props) {
5
+ export function CancelPolicy(props) {
6
6
  var cancellations = props.cancellations, isPolicyTransgressed = props.isPolicyTransgressed, isProcessing = props.isProcessing, onProceedToPayment = props.onProceedToPayment;
7
7
  return (_jsxs("div", { children: [isPolicyTransgressed && (_jsx(Text, { color: "state-error", children: "It appears that removing this item violates one or more cancellation policies. Please settle the cancellation fee if you wish to proceed with this item\u2019s cancellation." })), _jsx("div", { className: "max-h-[400px] overflow-y-auto -mr-5 pr-2.5", children: _jsx(CancellationsList, { cancellations: cancellations }) }), _jsx("div", { className: "flex justify-end mt-9", children: _jsx(Button, { variant: "secondary", size: "sm", className: "w-[250px]", disabled: isProcessing, onClick: onProceedToPayment, children: "Proceed to payment" }) })] }));
8
- };
8
+ }
@@ -1,5 +1,4 @@
1
1
  import { ServiceType } from '@/src/types/table';
2
- import React from 'react';
3
2
  import './ConfirmDelete.css';
4
3
  export interface ConfirmDeleteProps {
5
4
  serviceType: ServiceType;
@@ -11,4 +10,4 @@ export interface ConfirmDeleteProps {
11
10
  onCancel: () => void;
12
11
  onDelete: () => void;
13
12
  }
14
- export declare const ConfirmDelete: React.FC<ConfirmDeleteProps>;
13
+ export declare function ConfirmDelete(props: ConfirmDeleteProps): import("react/jsx-runtime").JSX.Element;
@@ -18,7 +18,7 @@ var mappedServiceName = (_b = {},
18
18
  _b[ServiceType.TRANSFER] = 'Transfer',
19
19
  _b[ServiceType.OTHER_SERVICE] = 'Other Service',
20
20
  _b);
21
- export var ConfirmDelete = function (props) {
21
+ export function ConfirmDelete(props) {
22
22
  var serviceType = props.serviceType, serviceName = props.serviceName, transferData = props.transferData, onCancel = props.onCancel, onDelete = props.onDelete;
23
23
  return (_jsxs("div", { className: "confirm-delete", children: [_jsxs("div", { className: "space-y-6", children: [_jsx(Text, { size: "sm", children: "Are you sure you want to delete this service:" }), _jsxs("div", { className: "confirm-delete__service", children: [_jsx(TextWithIcon, { icon: mappedServiceIcon[serviceType], textSize: "sm", color: "accent", textVariant: "bold", children: mappedServiceName[serviceType] }), _jsx(Text, { size: "sm", variant: "bold", children: serviceName }), serviceType === ServiceType.TRANSFER && transferData && (_jsx(FromTo, { from: transferData.from, to: transferData.to }))] })] }), _jsxs("div", { className: "confirm-delete__actions", children: [_jsx(Button, { variant: "outline-secondary", onClick: onCancel, size: "sm", children: "Cancel" }), _jsx(Button, { variant: "destructive", onClick: onDelete, size: "sm", children: "Delete" })] })] }));
24
- };
24
+ }
@@ -1,4 +1,6 @@
1
1
  import React from 'react';
2
+ import { CancelBooking } from './CancelBooking/CancelBooking';
3
+ import { ConfirmDelete } from './ConfirmDelete/ConfirmDelete';
2
4
  export interface DialogCancelServiceProps {
3
5
  open: boolean;
4
6
  children?: React.ReactNode;
@@ -6,10 +8,10 @@ export interface DialogCancelServiceProps {
6
8
  className?: string;
7
9
  setOpen: (open: boolean) => void;
8
10
  }
9
- export declare const DialogCancelService: {
10
- (props: DialogCancelServiceProps): import("react/jsx-runtime").JSX.Element;
11
- FromList: <T extends import("../Table").TableRowData<T> = import("../../..").DetailResumeItem>(props: import("./FromList").FromListProps<T>) => import("react/jsx-runtime").JSX.Element;
12
- Confirm: React.FC<import("./ConfirmDelete/ConfirmDelete").ConfirmDeleteProps>;
13
- CancelPolicy: React.FC<import("./CancelPolicy").CancelPolicyProps>;
14
- Booking: React.FC<import("./CancelBooking/CancelBooking").CancelBookingProps>;
15
- };
11
+ export declare function DialogCancelService(props: DialogCancelServiceProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare namespace DialogCancelService {
13
+ var FromList: typeof import("./FromList").FromList;
14
+ var Confirm: typeof ConfirmDelete;
15
+ var CancelPolicy: typeof import("./CancelPolicy").CancelPolicy;
16
+ var Booking: typeof CancelBooking;
17
+ }
@@ -4,10 +4,10 @@ import { CancelBooking } from './CancelBooking/CancelBooking';
4
4
  import { CancelPolicy } from './CancelPolicy';
5
5
  import { ConfirmDelete } from './ConfirmDelete/ConfirmDelete';
6
6
  import { FromList } from './FromList';
7
- export var DialogCancelService = function (props) {
7
+ export function DialogCancelService(props) {
8
8
  var open = props.open, children = props.children, title = props.title, className = props.className, setOpen = props.setOpen;
9
9
  return (_jsx(DialogBookingConfirm, { title: title, open: open, setOpen: setOpen, className: className, children: children }));
10
- };
10
+ }
11
11
  DialogCancelService.FromList = FromList;
12
12
  DialogCancelService.Confirm = ConfirmDelete;
13
13
  DialogCancelService.CancelPolicy = CancelPolicy;