mautourco-components 0.2.36 → 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 (240) 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/TabServiceDetails/Accommodation.d.ts +1 -2
  150. package/dist/components/organisms/TabServiceDetails/Accommodation.js +2 -2
  151. package/dist/components/organisms/TabServiceDetails/DetailContentTransfer.d.ts +1 -2
  152. package/dist/components/organisms/TabServiceDetails/DetailContentTransfer.js +2 -2
  153. package/dist/components/organisms/TabServiceDetails/DetailsContentAccom.d.ts +14 -1
  154. package/dist/components/organisms/TabServiceDetails/DetailsContentAccom.js +2 -2
  155. package/dist/components/organisms/TabServiceDetails/Excursion.d.ts +1 -2
  156. package/dist/components/organisms/TabServiceDetails/Excursion.js +2 -2
  157. package/dist/components/organisms/TabServiceDetails/TabServiceDetails.d.ts +3 -3
  158. package/dist/components/organisms/TabServiceDetails/Transfer.d.ts +1 -2
  159. package/dist/components/organisms/TabServiceDetails/Transfer.js +2 -2
  160. package/dist/components/organisms/Table/Table.d.ts +1 -1
  161. package/dist/components/organisms/Table/Table.js +2 -2
  162. package/package.json +1 -1
  163. package/src/components/molecules/ActionDropdown/ActionDropdown.tsx +3 -6
  164. package/src/components/molecules/AddItemButton/AddItemButton.tsx +3 -2
  165. package/src/components/molecules/BookingPax/BookingPax.tsx +2 -2
  166. package/src/components/molecules/BookingPax/BookingPaxAccom.tsx +3 -3
  167. package/src/components/molecules/BookingPax/BookingPaxClient/BookingPaxClient.tsx +2 -2
  168. package/src/components/molecules/BookingPax/BookingPaxExcursion.tsx +3 -3
  169. package/src/components/molecules/BookingPax/BookingPaxHeader.tsx +2 -2
  170. package/src/components/molecules/BookingPax/BookingPaxLayout/BookingPaxLayout.tsx +2 -2
  171. package/src/components/molecules/BookingPax/BookingPaxRemarks.tsx +3 -2
  172. package/src/components/molecules/BookingPax/BookingPaxTransfer.tsx +2 -2
  173. package/src/components/molecules/BookingResume/BookingResume.tsx +2 -2
  174. package/src/components/molecules/BookingResume/BookingResumeLayout/BookingResumeLayout.tsx +2 -2
  175. package/src/components/molecules/BookingResume/ResumeAccom/ResumeAccom.tsx +2 -3
  176. package/src/components/molecules/BookingResume/ResumeExcursion/ResumeExcursion.tsx +2 -3
  177. package/src/components/molecules/BookingResume/ResumeOtherService.tsx +2 -3
  178. package/src/components/molecules/BookingResume/ResumeTransfer.tsx +2 -3
  179. package/src/components/molecules/Breadcrumbs/Breadcrumbs.tsx +2 -3
  180. package/src/components/molecules/DateDisplay/DateDisplay.tsx +11 -10
  181. package/src/components/molecules/DetailsInfo/DetailsAction.tsx +2 -3
  182. package/src/components/molecules/DetailsInfo/DetailsAgency/DetailsAgency.tsx +2 -2
  183. package/src/components/molecules/DetailsInfo/DetailsClient/DetailsClient.tsx +2 -3
  184. package/src/components/molecules/DetailsInfo/DetailsFile.tsx +2 -3
  185. package/src/components/molecules/DialogContentPolicy/CancellationLayout/CancellationLayout.tsx +2 -2
  186. package/src/components/molecules/DialogContentPolicy/DialogCancellationAccom.tsx +2 -4
  187. package/src/components/molecules/DialogContentPolicy/DialogCancellationExcursion.tsx +2 -4
  188. package/src/components/molecules/DialogContentPolicy/DialogCancellationList.tsx +4 -5
  189. package/src/components/molecules/DialogContentPolicy/DialogContentPolicy.tsx +2 -2
  190. package/src/components/molecules/FromTo/FromTo.tsx +2 -2
  191. package/src/components/molecules/GlobalAmenities/GlobalAmenities.tsx +2 -3
  192. package/src/components/molecules/PaxChips/PaxChips.tsx +2 -3
  193. package/src/components/molecules/PaxDisplay/PaxDisplay.tsx +2 -2
  194. package/src/components/molecules/ServiceTitle/ServiceTitle.tsx +2 -2
  195. package/src/components/molecules/StepperTimeline/StepperTimeline.tsx +2 -2
  196. package/src/components/molecules/TableServiceItem/DetailsCol.tsx +2 -2
  197. package/src/components/molecules/TableServiceItem/ItemCol.tsx +2 -2
  198. package/src/components/molecules/TableServiceItem/RowAccommodation.tsx +17 -7
  199. package/src/components/molecules/TableServiceItem/RowExcursion.tsx +12 -6
  200. package/src/components/molecules/TableServiceItem/RowOtherServices.tsx +4 -5
  201. package/src/components/molecules/TableServiceItem/RowTransfer.tsx +4 -7
  202. package/src/components/molecules/TextWithBorderBottom/TextWithBorderBottom.tsx +2 -3
  203. package/src/components/molecules/TextWithIcon/TextWithIcon.tsx +2 -2
  204. package/src/components/molecules/TimelineItem/ServiceAccommodation.tsx +2 -3
  205. package/src/components/molecules/TimelineItem/ServiceExcursion.tsx +2 -3
  206. package/src/components/molecules/TimelineItem/ServiceTransfer.tsx +2 -3
  207. package/src/components/molecules/TimelineItem/TimelineHeader.tsx +2 -3
  208. package/src/components/molecules/Toast/Toast.tsx +9 -9
  209. package/src/components/molecules/TooltipDisplay/TooltipDisplay.tsx +2 -2
  210. package/src/components/organisms/Booking/BookingDocket/BookingDocket.tsx +2 -2
  211. package/src/components/organisms/Booking/BookingHeader.tsx +2 -3
  212. package/src/components/organisms/Booking/BookingPaxList.tsx +3 -3
  213. package/src/components/organisms/Booking/BookingStep/BookingStep.tsx +3 -3
  214. package/src/components/organisms/DialogBookingAddItem/AddItemNewService.tsx +2 -2
  215. package/src/components/organisms/DialogBookingAddItem/AddItemSelector.tsx +3 -2
  216. package/src/components/organisms/DialogBookingAddItem/DialogBookingAddItem.tsx +3 -3
  217. package/src/components/organisms/DialogBookingConfirm/BookingCancellationPolicy.tsx +2 -2
  218. package/src/components/organisms/DialogBookingConfirm/BookingMailSent.tsx +2 -3
  219. package/src/components/organisms/DialogBookingConfirm/BookingReference.tsx +3 -3
  220. package/src/components/organisms/DialogBookingConfirm/BookingSuccess.tsx +2 -3
  221. package/src/components/organisms/DialogBookingConfirm/DialogBookingConfirm.tsx +2 -2
  222. package/src/components/organisms/DialogCancelService/CancelBooking/CancelBooking.tsx +3 -3
  223. package/src/components/organisms/DialogCancelService/CancelPolicy.tsx +2 -3
  224. package/src/components/organisms/DialogCancelService/ConfirmDelete/ConfirmDelete.tsx +2 -3
  225. package/src/components/organisms/DialogCancelService/DialogCancelService.tsx +2 -2
  226. package/src/components/organisms/DialogCancelService/FromList.tsx +3 -3
  227. package/src/components/organisms/DialogComparison/DialogComparison.tsx +2 -2
  228. package/src/components/organisms/DialogDeleteConfirm/DialogDeleteConfirm.tsx +2 -2
  229. package/src/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmMultiple/DialogDeleteConfirmMultiple.tsx +3 -5
  230. package/src/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmWrapper.tsx +2 -2
  231. package/src/components/organisms/DialogQuoteRename/DialogQuoteRename.tsx +2 -2
  232. package/src/components/organisms/DialogSendingMail/DialogSendingMail.tsx +2 -2
  233. package/src/components/organisms/DialogSendingMail/DialogSendingMailContent.tsx +3 -5
  234. package/src/components/organisms/DialogSendingMail/DialogSendingMailMultiple/DialogSendingMailMultiple.tsx +3 -5
  235. package/src/components/organisms/TabServiceDetails/Accommodation.tsx +2 -3
  236. package/src/components/organisms/TabServiceDetails/DetailContentTransfer.tsx +2 -3
  237. package/src/components/organisms/TabServiceDetails/DetailsContentAccom.tsx +3 -3
  238. package/src/components/organisms/TabServiceDetails/Excursion.tsx +2 -3
  239. package/src/components/organisms/TabServiceDetails/Transfer.tsx +2 -3
  240. package/src/components/organisms/Table/Table.tsx +2 -2
@@ -25,4 +25,4 @@ export interface ActionDropdownProps {
25
25
  * @param ActionDropdownProps
26
26
  * @returns
27
27
  */
28
- export declare const ActionDropdown: React.FC<ActionDropdownProps>;
28
+ export declare function ActionDropdown(props: ActionDropdownProps): import("react/jsx-runtime").JSX.Element;
@@ -14,9 +14,9 @@ import './ActionDropdown.css';
14
14
  * @param ActionDropdownProps
15
15
  * @returns
16
16
  */
17
- export var ActionDropdown = function (_a) {
18
- var data = _a.data, children = _a.children, _b = _a.maxWidth, maxWidth = _b === void 0 ? '153px' : _b;
19
- var _c = useState(false), open = _c[0], setOpen = _c[1];
17
+ export function ActionDropdown(props) {
18
+ var data = props.data, children = props.children, _a = props.maxWidth, maxWidth = _a === void 0 ? '153px' : _a;
19
+ var _b = useState(false), open = _b[0], setOpen = _b[1];
20
20
  return (_jsxs(Popover, { open: open, onOpenChange: setOpen, children: [_jsx(PopoverTrigger, { children: children !== null && children !== void 0 ? children : (_jsx("button", { className: "action-dropdown-trigger", children: _jsx(Icon, { name: "more-vertical" }) })) }), _jsx(PopoverContent, { className: "action-dropdown", style: { '--max-width': maxWidth }, align: "end", side: "bottom", avoidCollisions: false, children: data.map(function (item, index) {
21
21
  var defaultButton = (_jsx("button", { onClick: function () {
22
22
  var _a;
@@ -30,4 +30,4 @@ export var ActionDropdown = function (_a) {
30
30
  }), disabled: item.disabled, children: _jsx(Text, { variant: "medium", size: "sm", as: "span", children: item.label }) }));
31
31
  return (_jsx(Fragment, { children: item.disabled ? (_jsx(TooltipDisplay, { content: item.tooltip, side: "left", maxWidth: "290px", children: defaultButton })) : (defaultButton) }, "ad-".concat(index)));
32
32
  }) })] }));
33
- };
33
+ }
@@ -4,4 +4,4 @@ export interface AddItemButtonProps {
4
4
  label: React.ReactNode;
5
5
  onClick?: () => void;
6
6
  }
7
- export declare const AddItemButton: React.FC<AddItemButtonProps>;
7
+ export declare function AddItemButton(props: AddItemButtonProps): 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 './AddItemButton.css';
5
- export var AddItemButton = function (_a) {
6
- var label = _a.label, onClick = _a.onClick;
5
+ export function AddItemButton(props) {
6
+ var label = props.label, onClick = props.onClick;
7
7
  return (_jsxs("button", { className: "add-item-button", onClick: onClick, children: [_jsx(Icon, { name: "plus-circle", size: "lg" }), _jsx(Text, { variant: "medium", children: label })] }));
8
- };
8
+ }
@@ -1,4 +1,7 @@
1
1
  import React from 'react';
2
+ import { BookingPaxAccom } from './BookingPaxAccom';
3
+ import { BookingPaxExcursion } from './BookingPaxExcursion';
4
+ import { BookingPaxTransfer } from './BookingPaxTransfer';
2
5
  /**
3
6
  * BookingPax is a component that allows the user to display the booking pax.
4
7
  *
@@ -42,9 +45,9 @@ import React from 'react';
42
45
  * @param props - The props for the BookingPax component.
43
46
  * @returns The BookingPax component.
44
47
  */
45
- export declare const BookingPax: {
46
- (props: React.PropsWithChildren): import("react/jsx-runtime").JSX.Element;
47
- Accom: React.FC<import("./BookingPaxAccom").BookingPaxAccomProps>;
48
- Excursion: React.FC<import("./BookingPaxExcursion").BookingPaxExcursionProps>;
49
- Transfer: React.FC<import("./BookingPaxTransfer").BookingPaxTransferProps>;
50
- };
48
+ export declare function BookingPax(props: React.PropsWithChildren): import("react/jsx-runtime").JSX.Element;
49
+ export declare namespace BookingPax {
50
+ var Accom: typeof BookingPaxAccom;
51
+ var Excursion: typeof BookingPaxExcursion;
52
+ var Transfer: typeof BookingPaxTransfer;
53
+ }
@@ -56,9 +56,9 @@ import { BookingPaxTransfer } from './BookingPaxTransfer';
56
56
  * @param props - The props for the BookingPax component.
57
57
  * @returns The BookingPax component.
58
58
  */
59
- export var BookingPax = function (props) {
59
+ export function BookingPax(props) {
60
60
  return _jsx("div", __assign({ className: "booking-pax space-y-6" }, props));
61
- };
61
+ }
62
62
  BookingPax.Accom = BookingPaxAccom;
63
63
  BookingPax.Excursion = BookingPaxExcursion;
64
64
  BookingPax.Transfer = BookingPaxTransfer;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { BookingPaxClientInfo, BookingPaxClientProps } from './BookingPaxClient/BookingPaxClient';
3
2
  export interface BookingPaxAccomRoom {
4
3
  /**
@@ -53,4 +52,4 @@ export interface BookingPaxAccomProps extends Pick<BookingPaxClientProps, 'selec
53
52
  onRemarkChange?: (value: string) => void;
54
53
  onError?: (roomIndex: number, hasError: boolean) => void;
55
54
  }
56
- export declare const BookingPaxAccom: React.FC<BookingPaxAccomProps>;
55
+ export declare function BookingPaxAccom(props: BookingPaxAccomProps): import("react/jsx-runtime").JSX.Element;
@@ -6,7 +6,7 @@ import { BookingPaxClient, } from './BookingPaxClient/BookingPaxClient';
6
6
  import { BookingPaxHeader } from './BookingPaxHeader';
7
7
  import { BookingPaxLayout } from './BookingPaxLayout/BookingPaxLayout';
8
8
  import { BookingPaxRemarks } from './BookingPaxRemarks';
9
- export var BookingPaxAccom = function (props) {
9
+ export function BookingPaxAccom(props) {
10
10
  var rooms = props.rooms, _a = props.clientsInfo, clientsInfo = _a === void 0 ? [] : _a, hotelName = props.hotelName, roomName = props.roomName, selectedClientsInfoIds = props.selectedClientsInfoIds, isSubmitted = props.isSubmitted, onPaxChange = props.onPaxChange, onRemarkChange = props.onRemarkChange, onError = props.onError;
11
11
  var _b = useBookingPax(selectedClientsInfoIds), changeOptions = _b.changeOptions, isSelectedClient = _b.isSelectedClient, onPaxOptionsChange = _b.onPaxOptionsChange, onSelectedClients = _b.onSelectedClients;
12
12
  // Calculate selected pax count for each room
@@ -47,4 +47,4 @@ export var BookingPaxAccom = function (props) {
47
47
  var room = _a.room, roomIndex = _a.roomIndex;
48
48
  return (_jsxs("div", { className: "space-y-2", children: [_jsxs(TextWithIcon, { icon: "accom", children: ["Room ", roomIndex + 1] }), _jsx(BookingPaxClient, { id: "accommodation-".concat(roomIndex), clients: clientsInfo, selectedClientsInfoIds: selectedClientsInfoIds, selectedIndex: roomIndex, paxCount: room.paxCount, onPaxChange: onPaxOptionsChange, isSubmitted: isSubmitted })] }, "rm-".concat(roomIndex)));
49
49
  }), _jsx(BookingPaxRemarks, { onChange: onRemarkChange })] }));
50
- };
50
+ }
@@ -115,4 +115,4 @@ export interface BookingPaxClientProps {
115
115
  * @param props.onPaxChange - The callback function to call when the pax changes.
116
116
  * @returns The BookingPaxClient component.
117
117
  */
118
- export declare const BookingPaxClient: React.FC<BookingPaxClientProps>;
118
+ export declare function BookingPaxClient(props: BookingPaxClientProps): import("react/jsx-runtime").JSX.Element;
@@ -50,7 +50,7 @@ import './BookingPaxClient.css';
50
50
  * @param props.onPaxChange - The callback function to call when the pax changes.
51
51
  * @returns The BookingPaxClient component.
52
52
  */
53
- export var BookingPaxClient = function (props) {
53
+ export function BookingPaxClient(props) {
54
54
  var clients = props.clients, id = props.id, defaultSelectedClientsInfoIds = props.selectedClientsInfoIds, selectedIndex = props.selectedIndex, _a = props.paxCount, paxCount = _a === void 0 ? 0 : _a, isSubmitted = props.isSubmitted, onPaxChange = props.onPaxChange, onError = props.onError;
55
55
  var _b = useState({}), selectedClientsInfoIds = _b[0], setSelectedClientsInfoIds = _b[1];
56
56
  var isSelectedClient = useBookingPax(selectedClientsInfoIds).isSelectedClient;
@@ -116,4 +116,4 @@ export var BookingPaxClient = function (props) {
116
116
  });
117
117
  } }) }) }, client.clientId));
118
118
  }) })] }));
119
- };
119
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { BookingPaxClientInfo, BookingPaxClientProps } from './BookingPaxClient/BookingPaxClient';
3
2
  export type ExcursionType = 'sea' | 'land' | 'catamaran';
4
3
  export interface BookingPaxExcursionProps extends Pick<BookingPaxClientProps, 'selectedClientsInfoIds' | 'onPaxChange'> {
@@ -54,4 +53,4 @@ export interface BookingPaxExcursionProps extends Pick<BookingPaxClientProps, 's
54
53
  * @param props - The props for the BookingPaxExcursion component.
55
54
  * @returns The BookingPaxExcursion component.
56
55
  */
57
- export declare const BookingPaxExcursion: React.FC<BookingPaxExcursionProps>;
56
+ export declare function BookingPaxExcursion(props: BookingPaxExcursionProps): import("react/jsx-runtime").JSX.Element;
@@ -29,11 +29,11 @@ var mapType = {
29
29
  * @param props - The props for the BookingPaxExcursion component.
30
30
  * @returns The BookingPaxExcursion component.
31
31
  */
32
- export var BookingPaxExcursion = function (props) {
32
+ export function BookingPaxExcursion(props) {
33
33
  var name = props.name, type = props.type, clientsInfo = props.clientsInfo, paxCount = props.paxCount, selectedClientsInfoIds = props.selectedClientsInfoIds, isSubmitted = props.isSubmitted, onPaxChange = props.onPaxChange, onRemarkChange = props.onRemarkChange, onError = props.onError;
34
34
  var _a = useBookingPax(selectedClientsInfoIds), changeOptions = _a.changeOptions, onPaxOptionsChange = _a.onPaxOptionsChange, onSelectedClients = _a.onSelectedClients;
35
35
  useEffect(function () {
36
36
  onSelectedClients(clientsInfo, onPaxChange);
37
37
  }, [changeOptions, onPaxChange]);
38
38
  return (_jsxs(BookingPaxLayout, { title: "Excursion", icon: "map", className: "booking-pax-accom", header: _jsx(BookingPaxHeader, { children: _jsx(BookingPaxHeader.Name, { name: name, icon: type, location: mapType[type] }) }), children: [_jsx(BookingPaxClient, { id: "excursion", clients: clientsInfo, selectedClientsInfoIds: selectedClientsInfoIds, selectedIndex: 0, paxCount: paxCount, onPaxChange: onPaxOptionsChange, isSubmitted: isSubmitted, onError: onError }), _jsx(BookingPaxRemarks, { onChange: onRemarkChange })] }));
39
- };
39
+ }
@@ -24,8 +24,8 @@ export interface BookingPaxWithLocationProps {
24
24
  */
25
25
  to: string;
26
26
  }
27
- export declare const BookingPaxHeader: {
28
- (props: React.PropsWithChildren): import("react/jsx-runtime").JSX.Element;
29
- Name: React.FC<BookingPaxWithNameProps>;
30
- Location: React.FC<BookingPaxWithLocationProps>;
31
- };
27
+ export declare function BookingPaxHeader(props: React.PropsWithChildren): import("react/jsx-runtime").JSX.Element;
28
+ export declare namespace BookingPaxHeader {
29
+ var Name: React.FC<BookingPaxWithNameProps>;
30
+ var Location: React.FC<BookingPaxWithLocationProps>;
31
+ }
@@ -34,8 +34,8 @@ var BookingPaxWithLocation = function (props) {
34
34
  var from = props.from, to = props.to;
35
35
  return (_jsxs("div", { className: "flex items-center gap-x-1", children: [_jsx(Text, { size: "sm", children: from }), _jsx(Icon, { name: "arrow-right-outline", size: "sm" }), _jsx(Text, { size: "sm", children: to })] }));
36
36
  };
37
- export var BookingPaxHeader = function (props) {
37
+ export function BookingPaxHeader(props) {
38
38
  return _jsx("div", __assign({ className: "booking-pax-header" }, props));
39
- };
39
+ }
40
40
  BookingPaxHeader.Name = BookingPaxWithName;
41
41
  BookingPaxHeader.Location = BookingPaxWithLocation;
@@ -37,4 +37,4 @@ export interface BookingPaxLayoutProps {
37
37
  * @param props - The props for the BookingPaxLayout component.
38
38
  * @returns The BookingPaxLayout component.
39
39
  */
40
- export declare const BookingPaxLayout: React.FC<BookingPaxLayoutProps>;
40
+ export declare function BookingPaxLayout(props: BookingPaxLayoutProps): import("react/jsx-runtime").JSX.Element;
@@ -17,7 +17,7 @@ import './BookingPaxLayout.css';
17
17
  * @param props - The props for the BookingPaxLayout component.
18
18
  * @returns The BookingPaxLayout component.
19
19
  */
20
- export var BookingPaxLayout = function (props) {
20
+ export function BookingPaxLayout(props) {
21
21
  var title = props.title, icon = props.icon, header = props.header, children = props.children, className = props.className;
22
22
  return (_jsxs("div", { className: cn('booking-pax-layout', className), children: [_jsxs("div", { className: "booking-pax-layout__header", children: [_jsx(ServiceTitle, { title: title, icon: icon }), header] }), _jsx("div", { className: "booking-pax-layout__content", children: children })] }));
23
- };
23
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  export interface BookingPaxRemarksProps {
3
2
  /**
4
3
  * The callback function to call when the remarks changes.
@@ -16,4 +15,4 @@ export interface BookingPaxRemarksProps {
16
15
  * @param props - The props for the BookingPaxRemarks component.
17
16
  * @returns The BookingPaxRemarks component.
18
17
  */
19
- export declare const BookingPaxRemarks: React.FC<BookingPaxRemarksProps>;
18
+ export declare function BookingPaxRemarks(props: BookingPaxRemarksProps): import("react/jsx-runtime").JSX.Element;
@@ -13,9 +13,9 @@ import { Text } from '../../atoms/Typography/Typography';
13
13
  * @param props - The props for the BookingPaxRemarks component.
14
14
  * @returns The BookingPaxRemarks component.
15
15
  */
16
- export var BookingPaxRemarks = function (_a) {
17
- var onChange = _a.onChange;
18
- var _b = useState(''), remarks = _b[0], setRemarks = _b[1];
16
+ export function BookingPaxRemarks(props) {
17
+ var onChange = props.onChange;
18
+ var _a = useState(''), remarks = _a[0], setRemarks = _a[1];
19
19
  var textareaRef = useRef(null);
20
20
  var adjustHeight = function () {
21
21
  var textarea = textareaRef.current;
@@ -34,4 +34,4 @@ export var BookingPaxRemarks = function (_a) {
34
34
  adjustHeight();
35
35
  };
36
36
  return (_jsxs("div", { className: "space-y-2", children: [_jsx(Text, { size: "sm", children: "Remarks" }), _jsx(Textarea, { ref: textareaRef, placeholder: "Do you have any remarks?", onInput: handleChange, className: "resize-none overflow-hidden", rows: 1, style: { minHeight: '44px', height: '44px', lineHeight: '1.5' } })] }));
37
- };
37
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { DateTimePickerProps } from '../../organisms/DateTimePicker/DateTimePicker';
3
2
  import { BookingPaxClientInfo, BookingPaxClientProps } from './BookingPaxClient/BookingPaxClient';
4
3
  export type ExcursionType = 'sea' | 'land' | 'catamaran';
@@ -66,4 +65,4 @@ export declare const mapTransferType: Record<BookingPaxTransferProps['type'], st
66
65
  * @param props - The props for the BookingPaxTransfer component.
67
66
  * @returns The BookingPaxTransfer component.
68
67
  */
69
- export declare const BookingPaxTransfer: React.FC<BookingPaxTransferProps>;
68
+ export declare function BookingPaxTransfer(props: BookingPaxTransferProps): import("react/jsx-runtime").JSX.Element;
@@ -30,7 +30,7 @@ export var mapTransferType = {
30
30
  * @param props - The props for the BookingPaxTransfer component.
31
31
  * @returns The BookingPaxTransfer component.
32
32
  */
33
- export var BookingPaxTransfer = function (props) {
33
+ export function BookingPaxTransfer(props) {
34
34
  var from = props.from, to = props.to, type = props.type, clientsInfo = props.clientsInfo, paxCount = props.paxCount, selectedClientsInfoIds = props.selectedClientsInfoIds, isSubmitted = props.isSubmitted, onPaxChange = props.onPaxChange, onRemarkChange = props.onRemarkChange, onTimeChange = props.onTimeChange, onError = props.onError, onFlightNumberChange = props.onFlightNumberChange;
35
35
  var _a = useBookingPax(selectedClientsInfoIds), changeOptions = _a.changeOptions, onPaxOptionsChange = _a.onPaxOptionsChange, onSelectedClients = _a.onSelectedClients;
36
36
  var handleFlightNumberChange = useCallback(function (e) {
@@ -43,4 +43,4 @@ export var BookingPaxTransfer = function (props) {
43
43
  onSelectedClients(clientsInfo, onPaxChange);
44
44
  }, [changeOptions, onPaxChange]);
45
45
  return (_jsxs(BookingPaxLayout, { title: _jsxs(_Fragment, { children: ["Transfer", ' ', _jsxs(Text, { as: "span", color: "accent", variant: "bold", size: "xl", className: "italic", children: ["(", mapTransferType[type], ")"] })] }), icon: "car", className: "booking-pax-accom", header: _jsx(BookingPaxHeader, { children: _jsx(BookingPaxHeader.Location, { from: from, to: to }) }), children: [type === 'INH' ? (_jsx(DateTimePicker, { icon: "clock", mode: "time", onValueChange: onTimeChange, placeholder: "Time of Transfer" })) : (_jsx(Input, { icon: "arrival", iconPosition: "leading", placeholder: "Flight number", onChange: handleFlightNumberChange })), _jsx(BookingPaxClient, { id: id, clients: clientsInfo, selectedClientsInfoIds: selectedClientsInfoIds, selectedIndex: 0, paxCount: paxCount, isSubmitted: isSubmitted, onPaxChange: onPaxOptionsChange, onError: onError }), _jsx(BookingPaxRemarks, { onChange: onRemarkChange })] }));
46
- };
46
+ }
@@ -1,9 +1,14 @@
1
1
  import React from 'react';
2
- export declare const BookingResume: {
3
- (props: React.PropsWithChildren): import("react/jsx-runtime").JSX.Element;
4
- Layout: React.FC<import("./BookingResumeLayout/BookingResumeLayout").BookingResumeLayoutProps>;
5
- Accommodation: React.FC<import("./ResumeAccom/ResumeAccom").ResumeAccomProps>;
6
- Transfer: React.FC<import("./ResumeTransfer").ResumeTransferProps>;
7
- Excursion: React.FC<import("./ResumeExcursion/ResumeExcursion").ResumeExcursionProps>;
8
- OtherService: React.FC<import("./ResumeOtherService").ResumeOtherServiceProps>;
9
- };
2
+ import { BookingResumeLayout } from './BookingResumeLayout/BookingResumeLayout';
3
+ import { ResumeAccom } from './ResumeAccom/ResumeAccom';
4
+ import { ResumeExcursion } from './ResumeExcursion/ResumeExcursion';
5
+ import { ResumeOtherService } from './ResumeOtherService';
6
+ import { ResumeTransfer } from './ResumeTransfer';
7
+ export declare function BookingResume(props: React.PropsWithChildren): import("react/jsx-runtime").JSX.Element;
8
+ export declare namespace BookingResume {
9
+ var Layout: typeof BookingResumeLayout;
10
+ var Accommodation: typeof ResumeAccom;
11
+ var Transfer: typeof ResumeTransfer;
12
+ var Excursion: typeof ResumeExcursion;
13
+ var OtherService: typeof ResumeOtherService;
14
+ }
@@ -15,9 +15,9 @@ import { ResumeAccom } from './ResumeAccom/ResumeAccom';
15
15
  import { ResumeExcursion } from './ResumeExcursion/ResumeExcursion';
16
16
  import { ResumeOtherService } from './ResumeOtherService';
17
17
  import { ResumeTransfer } from './ResumeTransfer';
18
- export var BookingResume = function (props) {
18
+ export function BookingResume(props) {
19
19
  return _jsx("div", __assign({ className: "booking-resume space-y-8" }, props));
20
- };
20
+ }
21
21
  BookingResume.Layout = BookingResumeLayout;
22
22
  BookingResume.Accommodation = ResumeAccom;
23
23
  BookingResume.Transfer = ResumeTransfer;
@@ -8,4 +8,4 @@ export interface BookingResumeLayoutProps {
8
8
  children?: React.ReactNode;
9
9
  className?: string;
10
10
  }
11
- export declare const BookingResumeLayout: React.FC<BookingResumeLayoutProps>;
11
+ export declare function BookingResumeLayout(props: BookingResumeLayoutProps): import("react/jsx-runtime").JSX.Element;
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { cn } from '../../../../lib/utils';
3
3
  import TextWithIcon from '../../TextWithIcon/TextWithIcon';
4
4
  import './BookingResumeLayout.css';
5
- export var BookingResumeLayout = function (props) {
5
+ export function BookingResumeLayout(props) {
6
6
  var title = props.title, icon = props.icon, image = props.image, children = props.children, className = props.className;
7
7
  return (_jsxs("div", { className: cn('booking-resume-layout', className), children: [_jsx(TextWithIcon, { icon: icon, color: "accent", textSize: "lg", textVariant: "bold", textLeading: "4", children: title }), _jsxs("div", { className: "booking-resume-layout__flex", children: [image && (_jsx("figure", { className: "booking-resume-layout__image", children: _jsx("img", { src: image, alt: "Service image accom", width: 250, height: 200 }) })), _jsx("div", { className: "booking-resume-layout__content", children: children })] })] }));
8
- };
8
+ }
@@ -1,6 +1,5 @@
1
1
  import { RoomItem } from '@/src/types/table';
2
2
  import { BookingPax } from '@/src/types/table/booking.types';
3
- import React from 'react';
4
3
  import './ResumeAccom.css';
5
4
  export interface ResumeAccomProps {
6
5
  image: string;
@@ -10,4 +9,4 @@ export interface ResumeAccomProps {
10
9
  hotelName: string;
11
10
  rooms: Partial<RoomItem>[];
12
11
  }
13
- export declare const ResumeAccom: React.FC<ResumeAccomProps>;
12
+ export declare function ResumeAccom(props: ResumeAccomProps): import("react/jsx-runtime").JSX.Element;
@@ -8,8 +8,8 @@ import { ServiceTitle } from '../../ServiceTitle/ServiceTitle';
8
8
  import TextWithIcon from '../../TextWithIcon/TextWithIcon';
9
9
  import { BookingResumeLayout } from '../BookingResumeLayout/BookingResumeLayout';
10
10
  import './ResumeAccom.css';
11
- export var ResumeAccom = function (props) {
11
+ export function ResumeAccom(props) {
12
12
  var image = props.image, dates = props.dates, clientType = props.clientType, pax = props.pax, rooms = props.rooms, hotelName = props.hotelName;
13
13
  var stay = useStays(dates);
14
14
  return (_jsxs(BookingResumeLayout, { title: "Accommodation", icon: "accom", image: image, className: "resume-accom", children: [_jsx(ServiceTitle, { title: hotelName }), _jsxs("div", { className: "space-y-2 mt-4", children: [_jsx(DateDisplay, { dates: dates, colorMode: "green" }), _jsxs(TextWithIcon, { icon: "night", children: [stay, " Nights"] }), _jsxs(Text, { 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", { className: "space-y-1", children: [_jsx(TextWithIcon, { icon: "accom", textSize: "sm", textVariant: "medium", children: room.RoomName }), _jsx(ServiceInfo.Item, { icon: "utensils", iconSize: "sm", textSize: "sm", textLeading: "4", textVariant: "medium", label: "Meal-Plan", children: room.MealPlan })] }, "rm-".concat(index))); }) })] })] }));
15
- };
15
+ }
@@ -1,5 +1,4 @@
1
1
  import { BookingPax } from '@/src/types/table/booking.types';
2
- import React from 'react';
3
2
  import './ResumeExcursion.css';
4
3
  export interface ResumeExcursionProps {
5
4
  image: string;
@@ -12,4 +11,4 @@ export interface ResumeExcursionProps {
12
11
  transferType: string;
13
12
  type: 'sea' | 'land' | 'catamaran';
14
13
  }
15
- export declare const ResumeExcursion: React.FC<ResumeExcursionProps>;
14
+ export declare function ResumeExcursion(props: ResumeExcursionProps): import("react/jsx-runtime").JSX.Element;
@@ -11,7 +11,7 @@ var mapType = {
11
11
  land: 'Land excursion',
12
12
  catamaran: 'Cruise excursion',
13
13
  };
14
- export var ResumeExcursion = function (props) {
14
+ export function ResumeExcursion(props) {
15
15
  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;
16
16
  return (_jsx(BookingResumeLayout, { title: "Excursion", icon: "map", image: image, className: "resume-excursion", children: _jsxs("div", { className: "space-y-3", children: [_jsx(DateDisplay, { dates: [date], colorMode: "green" }), _jsxs("div", { className: "space-y-1", children: [_jsx(TextWithIcon, { icon: type, textSize: "sm", textVariant: "medium", children: mapType[type] }), _jsxs(Text, { variant: "medium", size: "sm", leading: "4", children: [_jsx("strong", { children: "Pickup: " }), " ", pickUpPoint] })] }), _jsx(PaxDisplay, { pax: pax }), _jsxs(ServiceInfo, { className: "space-y-1", contentTextVariant: "regular", children: [_jsx(ServiceInfo.Item, { icon: "stopwatch", label: "Duration", children: duration }), _jsx(ServiceInfo.Item, { icon: "utensils", label: "Meal", children: meal }), _jsx(ServiceInfo.Item, { icon: "bike", label: "Difficulty", children: accessibility }), _jsx(ServiceInfo.Item, { icon: "car", label: "Vehicle", children: transferType })] })] }) }));
17
- };
17
+ }
@@ -1,6 +1,5 @@
1
1
  import { BookingPax } from '@/src/types/table/booking.types';
2
- import React from 'react';
3
2
  export interface ResumeOtherServiceProps {
4
3
  pax: BookingPax;
5
4
  }
6
- export declare const ResumeOtherService: React.FC<ResumeOtherServiceProps>;
5
+ export declare function ResumeOtherService(props: ResumeOtherServiceProps): import("react/jsx-runtime").JSX.Element;
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { PaxDisplay } from '../PaxDisplay/PaxDisplay';
3
3
  import TextWithIcon from '../TextWithIcon/TextWithIcon';
4
4
  import { BookingResumeLayout } from './BookingResumeLayout/BookingResumeLayout';
5
- export var ResumeOtherService = function (props) {
5
+ export function ResumeOtherService(props) {
6
6
  var pax = props.pax;
7
7
  return (_jsx(BookingResumeLayout, { title: "Other Services", icon: "more", children: _jsxs("div", { className: "space-y-1", children: [_jsx(TextWithIcon, { icon: "wallet", children: "Handling Fee" }), _jsx(PaxDisplay, { pax: pax })] }) }));
8
- };
8
+ }
@@ -1,5 +1,4 @@
1
1
  import { BookingPax } from '@/src/types/table/booking.types';
2
- import React from 'react';
3
2
  import { FromToProps } from '../FromTo/FromTo';
4
3
  export interface ResumeTransferProps {
5
4
  type: 'ARV' | 'DEP' | 'INH';
@@ -9,4 +8,4 @@ export interface ResumeTransferProps {
9
8
  carName: string;
10
9
  image: string;
11
10
  }
12
- export declare const ResumeTransfer: React.FC<ResumeTransferProps>;
11
+ export declare function ResumeTransfer(props: ResumeTransferProps): import("react/jsx-runtime").JSX.Element;
@@ -5,8 +5,8 @@ import FromTo from '../FromTo/FromTo';
5
5
  import { PaxDisplay } from '../PaxDisplay/PaxDisplay';
6
6
  import TextWithIcon from '../TextWithIcon/TextWithIcon';
7
7
  import { BookingResumeLayout } from './BookingResumeLayout/BookingResumeLayout';
8
- export var ResumeTransfer = function (props) {
8
+ export function ResumeTransfer(props) {
9
9
  var type = props.type, pax = props.pax, date = props.date, location = props.location, carName = props.carName, image = props.image;
10
10
  var transferType = type === 'ARV' ? 'Arrival' : type === 'DEP' ? 'Departure' : 'Inter-Hotel';
11
11
  return (_jsx(BookingResumeLayout, { title: _jsxs(_Fragment, { children: ["Transfer", ' ', _jsx(Text, { color: "accent", as: "span", size: "lg", children: transferType })] }), icon: "car-front", image: image, children: _jsxs("div", { className: "space-y-3", children: [_jsx(DateDisplay, { dates: [date], colorMode: "green" }), _jsx(FromTo, { from: location.from, to: location.to }), _jsxs("div", { className: "space-y-1", children: [_jsx(PaxDisplay, { pax: pax }), _jsx(TextWithIcon, { icon: "car", textSize: "sm", textVariant: "medium", children: carName })] })] }) }));
12
- };
12
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './Breadcrumbs.css';
3
2
  export interface BreadcrumbsItem {
4
3
  label: string;
@@ -8,4 +7,4 @@ export interface BreadcrumbsProps {
8
7
  items: BreadcrumbsItem[];
9
8
  onBack?: () => void;
10
9
  }
11
- export declare const Breadcrumbs: React.FC<BreadcrumbsProps>;
10
+ export declare function Breadcrumbs(props: BreadcrumbsProps): import("react/jsx-runtime").JSX.Element;
@@ -3,7 +3,7 @@ import { cn } from '../../../lib/utils';
3
3
  import Icon from '../../atoms/Icon/Icon';
4
4
  import { Text } from '../../atoms/Typography/Typography';
5
5
  import './Breadcrumbs.css';
6
- export var Breadcrumbs = function (props) {
6
+ export function Breadcrumbs(props) {
7
7
  var items = props.items, onBack = props.onBack;
8
8
  return (_jsxs("ol", { className: "breadcrumbs", children: [_jsxs(Text, { variant: "medium", size: "sm", leading: "4", as: "li", className: "cursor-pointer", onClick: onBack, children: [_jsx(Icon, { name: "chevron-left", size: "sm" }), "Back"] }), items.map(function (item, index) { return (_jsx(Text, { as: "li", variant: "medium", size: "sm", onClick: item.onClick, color: index === items.length - 1 ? 'accent' : 'default', leading: "4", className: cn(index < items.length - 1 && 'cursor-pointer'), children: item.label }, "bc-".concat(index))); })] }));
9
- };
9
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { TextProps } from '../../atoms/Typography/Typography';
3
2
  import './DateDisplay.css';
4
3
  export interface DateDisplayProps {
@@ -31,4 +30,4 @@ export interface DateDisplayProps {
31
30
  * @param DateDisplayProps
32
31
  * @returns
33
32
  */
34
- export declare const DateDisplay: React.FC<DateDisplayProps>;
33
+ export declare function DateDisplay(props: DateDisplayProps): import("react/jsx-runtime").JSX.Element;
@@ -14,8 +14,8 @@ import './DateDisplay.css';
14
14
  * @param DateDisplayProps
15
15
  * @returns
16
16
  */
17
- export var DateDisplay = function (_a) {
18
- var _b = _a.dates, dates = _b === void 0 ? [] : _b, _c = _a.arrowSize, arrowSize = _c === void 0 ? 'sm' : _c, _d = _a.calendarSize, calendarSize = _d === void 0 ? 'sm' : _d, _e = _a.textSize, textSize = _e === void 0 ? 'sm' : _e, _f = _a.colorMode, colorMode = _f === void 0 ? 'black' : _f, _g = _a.className, className = _g === void 0 ? '' : _g;
17
+ export function DateDisplay(props) {
18
+ var _a = props.dates, dates = _a === void 0 ? [] : _a, _b = props.arrowSize, arrowSize = _b === void 0 ? 'sm' : _b, _c = props.calendarSize, calendarSize = _c === void 0 ? 'sm' : _c, _d = props.textSize, textSize = _d === void 0 ? 'sm' : _d, _e = props.colorMode, colorMode = _e === void 0 ? 'black' : _e, _f = props.className, className = _f === void 0 ? '' : _f;
19
19
  var formattedDates = useMemo(function () {
20
20
  return dates.map(function (d) {
21
21
  var dateObj = typeof d === 'string' ? new Date(d) : d;
@@ -37,4 +37,4 @@ export var DateDisplay = function (_a) {
37
37
  }
38
38
  // Multiple dates display (backward compatibility)
39
39
  return (_jsx("div", { className: "date-display date-display--range date-display--".concat(colorMode, " ").concat(className), children: formattedDates.map(function (formattedDate, index) { return (_jsxs(Fragment, { children: [_jsxs("span", { className: "date-display__item", children: [_jsx(Icon, { name: "calendar", size: calendarSize, color: iconColor }), _jsx(Text, { variant: "medium", size: textSize, color: textColor, children: formattedDate })] }), formattedDates.length > 1 && index === 0 && (_jsx(Icon, { name: "arrow-right-outline", size: arrowSize }))] }, "dd-".concat(index))); }) }));
40
- };
40
+ }
@@ -1,5 +1,4 @@
1
1
  import { ActionDropdownType } from '@/src/types/table';
2
- import React from 'react';
3
2
  import { ButtonProps } from '../../atoms/Button/Button';
4
3
  import { ActionDropdownItem } from '../ActionDropdown/ActionDropdown';
5
4
  export interface DetailsActionProps {
@@ -11,4 +10,4 @@ export interface DetailsActionProps {
11
10
  buttonLabel?: string;
12
11
  dropdownMaxWidth?: string;
13
12
  }
14
- export declare const DetailsAction: React.FC<DetailsActionProps>;
13
+ export declare function DetailsAction(props: DetailsActionProps): import("react/jsx-runtime").JSX.Element;
@@ -3,7 +3,7 @@ import { cn } from '../../../lib/utils';
3
3
  import { ActionDropdownType } from '../../../types/table/index';
4
4
  import Button from '../../atoms/Button/Button';
5
5
  import { ActionDropdown } from '../ActionDropdown/ActionDropdown';
6
- export var DetailsAction = function (props) {
6
+ export function DetailsAction(props) {
7
7
  var _a = props.data, data = _a === void 0 ? [] : _a, onAction = props.onAction, _b = props.buttonVariant, buttonVariant = _b === void 0 ? 'outline-secondary' : _b, _c = props.buttonClassName, buttonClassName = _c === void 0 ? '' : _c, _d = props.buttonLabel, buttonLabel = _d === void 0 ? 'More options' : _d, dropdownMaxWidth = props.dropdownMaxWidth;
8
8
  return (_jsx(ActionDropdown, { maxWidth: dropdownMaxWidth, data: data
9
9
  ? data
@@ -33,4 +33,4 @@ export var DetailsAction = function (props) {
33
33
  },
34
34
  },
35
35
  ], children: _jsx(Button, { variant: buttonVariant, trailingIcon: "chevron-down", size: "sm", className: cn('w-[144px] !justify-between !px-[14px]', buttonClassName), children: buttonLabel }) }));
36
- };
36
+ }
@@ -10,4 +10,4 @@ export interface DetailsAgencyProps {
10
10
  /** Children of the agency */
11
11
  children?: React.ReactNode;
12
12
  }
13
- export declare const DetailsAgency: React.FC<DetailsAgencyProps>;
13
+ export declare function DetailsAgency(props: DetailsAgencyProps): import("react/jsx-runtime").JSX.Element;
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import Chip from '../../../atoms/Chip/Chip';
3
3
  import { Text } from '../../../atoms/Typography/Typography';
4
4
  import './DetailsAgency.css';
5
- export var DetailsAgency = function (props) {
5
+ export function DetailsAgency(props) {
6
6
  var name = props.name, clientType = props.clientType, isOnRequest = props.isOnRequest, children = props.children;
7
7
  return (_jsxs("div", { className: "flex flex-col gap-y-6 items-end", children: [_jsx("img", { src: "/images/mautourco-logo.png", alt: "Mautourco Logo", width: 220 }), _jsxs("div", { className: "details-agency", children: [_jsx(Text, { variant: "bold", color: "accent", children: "Documents details:" }), _jsxs("div", { className: "details-agency__content", children: [_jsxs("div", { className: "details-agency__content-item", children: [_jsx(Text, { variant: "bold", size: "sm", leading: "4", className: "details-agency__content-item-name", children: "Agency" }), _jsx(Text, { size: "sm", leading: "4", children: name })] }), ' ', _jsxs("div", { className: "details-agency__content-item", children: [_jsx(Text, { variant: "bold", size: "sm", leading: "4", className: "details-agency__content-item-name", children: "Client type" }), _jsx(Text, { size: "sm", leading: "4", children: clientType })] })] })] }), isOnRequest && _jsx(Chip, { color: "yellow", children: "Waiting for confirmation" }), children] }));
8
- };
8
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './DetailsClient.css';
3
2
  export interface DetailsClientInfoItem {
4
3
  firstName: string;
@@ -10,4 +9,4 @@ export interface DetailsClientInfoProps {
10
9
  language: string;
11
10
  clients: DetailsClientInfoItem[];
12
11
  }
13
- export declare const DetailsClientInfo: React.FC<DetailsClientInfoProps>;
12
+ export declare function DetailsClientInfo(props: DetailsClientInfoProps): import("react/jsx-runtime").JSX.Element;
@@ -3,7 +3,7 @@ import Chip from '../../../atoms/Chip/Chip';
3
3
  import { Text } from '../../../atoms/Typography/Typography';
4
4
  import { languagesMap } from '../../ServiceLanguages/constant';
5
5
  import './DetailsClient.css';
6
- export var DetailsClientInfo = function (props) {
6
+ export function DetailsClientInfo(props) {
7
7
  var language = props.language, clients = props.clients;
8
8
  return (_jsxs("div", { className: "details-client", children: [_jsx(Text, { variant: "bold", children: "1. Client's information" }), _jsxs("div", { className: "space-y-4", children: [_jsx(Text, { variant: "medium", size: "lg", children: "Language:" }), _jsxs(Chip, { color: "neutral", size: "md", className: "!px-4", children: [_jsx("i", { className: "fi fi-".concat(languagesMap[language.toLowerCase()]) }), _jsx(Text, { variant: "medium", as: "span", children: language })] })] }), _jsx("div", { className: "flex gap-x-8 flex-wrap", children: clients.map(function (client, index) { return (_jsxs("div", { className: "space-y-4", children: [_jsxs(Text, { variant: "medium", size: "lg", children: [client.type, " No ", index + 1, ' ', client.age > 0 ? (_jsxs(Text, { variant: "regular", size: "lg", as: "span", children: ["(", client.age, " yo)"] })) : ('')] }), _jsxs(Chip, { color: "neutral", size: "md", className: "!px-4", children: [client.firstName, " ", client.lastName] })] }, "cl-".concat(index))); }) })] }));
9
- };
9
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  export interface DetailsFileProps {
3
2
  /** Number of the file */
4
3
  number: string;
@@ -11,4 +10,4 @@ export interface DetailsFileProps {
11
10
  /** Show the regular info of the file */
12
11
  showRegularInfo?: boolean;
13
12
  }
14
- export declare const DetailsFile: React.FC<DetailsFileProps>;
13
+ export declare function DetailsFile(props: DetailsFileProps): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Text } from '../../atoms/Typography/Typography';
3
- export var DetailsFile = function (props) {
3
+ export function DetailsFile(props) {
4
4
  var number = props.number, name = props.name, _a = props.label, label = _a === void 0 ? 'File number:' : _a, _b = props.withTitle, withTitle = _b === void 0 ? false : _b, _c = props.showRegularInfo, showRegularInfo = _c === void 0 ? true : _c;
5
5
  return (_jsxs("div", { className: "grid gap-y-2", children: [withTitle && (_jsx(Text, { variant: "bold", className: "text-2xl", color: "brand", children: label })), showRegularInfo && (_jsxs(Text, { variant: "regular", color: "default", children: [label, " ", number] })), _jsx(Text, { variant: "medium", color: "accent", children: name })] }));
6
- };
6
+ }