mautourco-components 0.2.30 → 0.2.32

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 (328) hide show
  1. package/README.md +54 -24
  2. package/dist/components/atoms/Avatar/Avatar.js +1 -12
  3. package/dist/components/atoms/Button/Button.js +1 -12
  4. package/dist/components/atoms/Checkbox/Checkbox.js +2 -13
  5. package/dist/components/atoms/Chip/Chip.js +1 -12
  6. package/dist/components/atoms/Icon/icons/AccomIcon.js +1 -12
  7. package/dist/components/atoms/Icon/icons/AirIcon.js +1 -12
  8. package/dist/components/atoms/Icon/icons/ArrivalIcon.js +1 -12
  9. package/dist/components/atoms/Icon/icons/ArrowDownOutlineIcon.js +1 -12
  10. package/dist/components/atoms/Icon/icons/ArrowRightOutlineIcon.js +1 -12
  11. package/dist/components/atoms/Icon/icons/BadgeAlertIcon.js +1 -12
  12. package/dist/components/atoms/Icon/icons/BikeIcon.js +1 -12
  13. package/dist/components/atoms/Icon/icons/BookingIcon.js +1 -12
  14. package/dist/components/atoms/Icon/icons/Building2OutlineIcon.js +1 -12
  15. package/dist/components/atoms/Icon/icons/BuildingIcon.js +1 -12
  16. package/dist/components/atoms/Icon/icons/BusIcon.js +1 -12
  17. package/dist/components/atoms/Icon/icons/Calendar2Icon.js +1 -12
  18. package/dist/components/atoms/Icon/icons/CalendarIcon.js +1 -12
  19. package/dist/components/atoms/Icon/icons/CalendarOutlineIcon.js +1 -12
  20. package/dist/components/atoms/Icon/icons/CalendarRangeOutlineIcon.js +1 -12
  21. package/dist/components/atoms/Icon/icons/CarFront.js +1 -12
  22. package/dist/components/atoms/Icon/icons/CarIcon.js +1 -12
  23. package/dist/components/atoms/Icon/icons/CatamaranIcon.js +1 -12
  24. package/dist/components/atoms/Icon/icons/Check.js +1 -12
  25. package/dist/components/atoms/Icon/icons/CheckCircleIcon.js +1 -12
  26. package/dist/components/atoms/Icon/icons/Chevron.js +1 -1
  27. package/dist/components/atoms/Icon/icons/ClockIcon.js +1 -12
  28. package/dist/components/atoms/Icon/icons/Close.js +1 -12
  29. package/dist/components/atoms/Icon/icons/CloseCircleIcon.js +1 -12
  30. package/dist/components/atoms/Icon/icons/DeleteIcon.js +1 -12
  31. package/dist/components/atoms/Icon/icons/DepartureIcon.js +1 -12
  32. package/dist/components/atoms/Icon/icons/EyeIcon.js +1 -12
  33. package/dist/components/atoms/Icon/icons/FacebookIcon.js +1 -12
  34. package/dist/components/atoms/Icon/icons/HomeIcon.js +1 -12
  35. package/dist/components/atoms/Icon/icons/Info2Icon.d.ts +4 -0
  36. package/dist/components/atoms/Icon/icons/Info2Icon.js +25 -0
  37. package/dist/components/atoms/Icon/icons/InfoIcon.js +1 -12
  38. package/dist/components/atoms/Icon/icons/Land.js +1 -12
  39. package/dist/components/atoms/Icon/icons/LineIcon.js +1 -12
  40. package/dist/components/atoms/Icon/icons/LinkedInIcon.js +1 -12
  41. package/dist/components/atoms/Icon/icons/LuggageIcon.js +1 -12
  42. package/dist/components/atoms/Icon/icons/MapIcon.js +1 -12
  43. package/dist/components/atoms/Icon/icons/MapPinIcon.js +1 -12
  44. package/dist/components/atoms/Icon/icons/MautoucoLogo.d.ts +0 -1
  45. package/dist/components/atoms/Icon/icons/MautoucoLogo.js +1 -12
  46. package/dist/components/atoms/Icon/icons/MenuIcon.d.ts +0 -1
  47. package/dist/components/atoms/Icon/icons/MenuIcon.js +1 -12
  48. package/dist/components/atoms/Icon/icons/MicroIcon.js +1 -12
  49. package/dist/components/atoms/Icon/icons/MinusIcon.js +1 -12
  50. package/dist/components/atoms/Icon/icons/MoreIcon.js +1 -12
  51. package/dist/components/atoms/Icon/icons/MoreVerticalIcon.js +1 -12
  52. package/dist/components/atoms/Icon/icons/NightIcon.js +1 -12
  53. package/dist/components/atoms/Icon/icons/PlaneIcon.js +1 -12
  54. package/dist/components/atoms/Icon/icons/PlaneLandingOutlineIcon.js +1 -12
  55. package/dist/components/atoms/Icon/icons/PlaneTakeoffOutlineIcon.js +1 -12
  56. package/dist/components/atoms/Icon/icons/PlusCircleIcon.js +1 -12
  57. package/dist/components/atoms/Icon/icons/PlusIcon.js +1 -12
  58. package/dist/components/atoms/Icon/icons/QuotationIcon.js +1 -12
  59. package/dist/components/atoms/Icon/icons/SeaIcon.js +1 -12
  60. package/dist/components/atoms/Icon/icons/Search.js +1 -12
  61. package/dist/components/atoms/Icon/icons/Settings.js +1 -12
  62. package/dist/components/atoms/Icon/icons/ShipIcon.js +1 -12
  63. package/dist/components/atoms/Icon/icons/StopWatchIcon.js +1 -12
  64. package/dist/components/atoms/Icon/icons/StrollerIcon.js +1 -12
  65. package/dist/components/atoms/Icon/icons/TwitterIcon.js +1 -12
  66. package/dist/components/atoms/Icon/icons/User.js +1 -12
  67. package/dist/components/atoms/Icon/icons/UserIcon.js +1 -12
  68. package/dist/components/atoms/Icon/icons/Utensils.js +1 -12
  69. package/dist/components/atoms/Icon/icons/WalletIcon.js +1 -12
  70. package/dist/components/atoms/Icon/icons/Youtube.js +1 -12
  71. package/dist/components/atoms/Icon/icons/registry.d.ts +1 -0
  72. package/dist/components/atoms/Icon/icons/registry.js +2 -0
  73. package/dist/components/atoms/Illustration/illustrations.js +4 -4
  74. package/dist/components/atoms/Inputs/DropdownInput/DropdownInput.js +1 -12
  75. package/dist/components/atoms/Inputs/Input/Input.d.ts +2 -1
  76. package/dist/components/atoms/Inputs/Input/Input.js +2 -13
  77. package/dist/components/atoms/Link/Link.js +4 -15
  78. package/dist/components/atoms/RatingStar/RatingStar.js +2 -13
  79. package/dist/components/atoms/SegmentedButton/SegmentedButton.js +3 -14
  80. package/dist/components/atoms/SelectedValue/SelectedValue.js +1 -12
  81. package/dist/components/atoms/Slider/Slider.js +1 -12
  82. package/dist/components/atoms/Spinner/Spinner.js +1 -12
  83. package/dist/components/atoms/Tab/Tab.js +1 -1
  84. package/dist/components/atoms/Typography/Typography.js +2 -13
  85. package/dist/components/molecules/AccomodationDocket/AccomodationDocket.js +3 -14
  86. package/dist/components/molecules/ActionDropdown/ActionDropdown.d.ts +0 -1
  87. package/dist/components/molecules/ActionDropdown/ActionDropdown.js +5 -16
  88. package/dist/components/molecules/AddItemButton/AddItemButton.js +1 -12
  89. package/dist/components/molecules/BookingPax/BookingPaxAccom.js +3 -14
  90. package/dist/components/molecules/BookingPax/BookingPaxClient/BookingPaxClient.d.ts +0 -1
  91. package/dist/components/molecules/BookingPax/BookingPaxClient/BookingPaxClient.js +5 -5
  92. package/dist/components/molecules/BookingPax/BookingPaxExcursion.js +1 -12
  93. package/dist/components/molecules/BookingPax/BookingPaxHeader.js +2 -2
  94. package/dist/components/molecules/BookingPax/BookingPaxLayout/BookingPaxLayout.d.ts +0 -1
  95. package/dist/components/molecules/BookingPax/BookingPaxLayout/BookingPaxLayout.js +1 -12
  96. package/dist/components/molecules/BookingPax/BookingPaxRemarks.js +1 -12
  97. package/dist/components/molecules/BookingPax/BookingPaxTransfer.js +1 -12
  98. package/dist/components/molecules/BookingResume/BookingResumeLayout/BookingResumeLayout.js +1 -12
  99. package/dist/components/molecules/BookingResume/ResumeAccom/ResumeAccom.js +1 -12
  100. package/dist/components/molecules/BookingResume/ResumeExcursion/ResumeExcursion.js +1 -12
  101. package/dist/components/molecules/BookingResume/ResumeOtherService.js +1 -12
  102. package/dist/components/molecules/BookingResume/ResumeTransfer.js +1 -12
  103. package/dist/components/molecules/Breadcrumbs/Breadcrumbs.js +1 -12
  104. package/dist/components/molecules/Calendar/CalendarInput.js +2 -13
  105. package/dist/components/molecules/Calendar/DateTime.d.ts +9 -9
  106. package/dist/components/molecules/Calendar/DateTime.js +3 -3
  107. package/dist/components/molecules/Calendar/TimePicker.js +1 -12
  108. package/dist/components/molecules/DateDisplay/DateDisplay.js +2 -13
  109. package/dist/components/molecules/DetailsInfo/DetailsAction.js +2 -13
  110. package/dist/components/molecules/DetailsInfo/DetailsAgency/DetailsAgency.js +1 -12
  111. package/dist/components/molecules/DetailsInfo/DetailsClient/DetailsClient.js +1 -12
  112. package/dist/components/molecules/DetailsInfo/DetailsFile.js +1 -12
  113. package/dist/components/molecules/DetailsInfo/DetailsInfo.d.ts +0 -1
  114. package/dist/components/molecules/DialogContentPolicy/CancellationLayout/CancellationLayout.js +1 -12
  115. package/dist/components/molecules/DialogContentPolicy/DialogCancellationAccom.d.ts +0 -1
  116. package/dist/components/molecules/DialogContentPolicy/DialogCancellationAccom.js +1 -12
  117. package/dist/components/molecules/DialogContentPolicy/DialogCancellationExcursion.d.ts +0 -1
  118. package/dist/components/molecules/DialogContentPolicy/DialogCancellationExcursion.js +1 -12
  119. package/dist/components/molecules/DialogContentPolicy/DialogCancellationList.d.ts +3 -3
  120. package/dist/components/molecules/DialogContentPolicy/DialogCancellationList.js +2 -2
  121. package/dist/components/molecules/DialogContentPolicy/DialogContentPolicy.js +1 -12
  122. package/dist/components/molecules/DocketPrices/DocketPrices.js +1 -12
  123. package/dist/components/molecules/ExcursionDocket/ExcursionDocket.js +1 -12
  124. package/dist/components/molecules/FeatureRow/FeatureRow.js +1 -12
  125. package/dist/components/molecules/FromTo/FromTo.d.ts +0 -1
  126. package/dist/components/molecules/FromTo/FromTo.js +1 -12
  127. package/dist/components/molecules/GlobalAmenities/GlobalAmenities.js +1 -12
  128. package/dist/components/molecules/LocationDropdown/LocationDropdown.js +6 -17
  129. package/dist/components/molecules/MultiSelectDropdown/MultiSelectDropdown.d.ts +1 -0
  130. package/dist/components/molecules/MultiSelectDropdown/MultiSelectDropdown.js +23 -28
  131. package/dist/components/molecules/OtherServiceDocket/OtherServiceDocket.js +1 -12
  132. package/dist/components/molecules/Pagination/Pagination.js +4 -15
  133. package/dist/components/molecules/PaxChips/PaxChips.d.ts +11 -0
  134. package/dist/components/molecules/PaxChips/PaxChips.js +9 -0
  135. package/dist/components/molecules/PaxDisplay/PaxDisplay.d.ts +0 -1
  136. package/dist/components/molecules/PaxDisplay/PaxDisplay.js +5 -16
  137. package/dist/components/molecules/PriceDisplay/PriceDisplay.js +1 -12
  138. package/dist/components/molecules/RatingTab/RatingTab.js +1 -12
  139. package/dist/components/molecules/SectionTitle/SectionTitle.js +1 -12
  140. package/dist/components/molecules/ServiceInfo/ServiceInfo.js +2 -13
  141. package/dist/components/molecules/ServiceLanguages/ServiceLanguages.js +1 -12
  142. package/dist/components/molecules/ServiceSelector/ServiceSelector.js +4 -15
  143. package/dist/components/molecules/ServiceTitle/ServiceTitle.js +1 -12
  144. package/dist/components/molecules/Stepper/Stepper.js +1 -12
  145. package/dist/components/molecules/StepperTimeline/StepperTimeline.js +6 -17
  146. package/dist/components/molecules/TabGroup/TabGroup.js +1 -12
  147. package/dist/components/molecules/TableServiceItem/DetailsCol.js +1 -12
  148. package/dist/components/molecules/TableServiceItem/ItemCol.d.ts +0 -1
  149. package/dist/components/molecules/TableServiceItem/ItemCol.js +2 -13
  150. package/dist/components/molecules/TableServiceItem/RowOtherServices.js +1 -12
  151. package/dist/components/molecules/TableServiceItem/RowTransfer.js +1 -12
  152. package/dist/components/molecules/TableServiceItem/index.d.ts +0 -1
  153. package/dist/components/molecules/TextWithBorderBottom/TextWithBorderBottom.js +1 -1
  154. package/dist/components/molecules/TextWithIcon/TextWithIcon.d.ts +0 -1
  155. package/dist/components/molecules/TextWithIcon/TextWithIcon.js +1 -12
  156. package/dist/components/molecules/TimelineItem/ServiceAccommodation.js +1 -12
  157. package/dist/components/molecules/TimelineItem/ServiceExcursion.js +1 -12
  158. package/dist/components/molecules/TimelineItem/ServiceTransfer.js +1 -12
  159. package/dist/components/molecules/TimelineItem/TimelineHeader.js +1 -12
  160. package/dist/components/molecules/TimelineItem/TimelineItem.d.ts +0 -1
  161. package/dist/components/molecules/TimelineItem/TimelineItem.js +1 -12
  162. package/dist/components/molecules/Toast/Toast.css +2107 -0
  163. package/dist/components/molecules/Toast/Toast.d.ts +2 -2
  164. package/dist/components/molecules/Toast/Toast.js +1 -12
  165. package/dist/components/molecules/TooltipDisplay/TooltipDisplay.js +1 -12
  166. package/dist/components/molecules/TransferDocket/TransferDocket.js +2 -13
  167. package/dist/components/molecules/UserCard/UserCard.js +3 -14
  168. package/dist/components/organisms/Booking/BookingDocket/BookingDocket.d.ts +0 -1
  169. package/dist/components/organisms/Booking/BookingDocket/BookingDocket.js +1 -1
  170. package/dist/components/organisms/Booking/BookingHeader.js +1 -12
  171. package/dist/components/organisms/Booking/BookingStep/BookingStep.js +1 -12
  172. package/dist/components/organisms/CarBookingCard/CarBookingCard.js +2 -2
  173. package/dist/components/organisms/CarBookingCard/CarBookingCardSkeleton.js +1 -12
  174. package/dist/components/organisms/CardContainer/CardContainer.js +1 -12
  175. package/dist/components/organisms/DateTimePicker/DateTimePicker.js +1 -12
  176. package/dist/components/organisms/Dialog/Dialog.js +3 -15
  177. package/dist/components/organisms/DialogBookingAddItem/AddItemNewService.d.ts +16 -0
  178. package/dist/components/organisms/DialogBookingAddItem/AddItemNewService.js +44 -0
  179. package/dist/components/organisms/DialogBookingAddItem/AddItemSelector.d.ts +8 -0
  180. package/dist/components/organisms/DialogBookingAddItem/AddItemSelector.js +12 -0
  181. package/dist/components/organisms/DialogBookingAddItem/DialogBookingAddItem.d.ts +17 -0
  182. package/dist/components/organisms/DialogBookingAddItem/DialogBookingAddItem.js +55 -0
  183. package/dist/components/organisms/DialogBookingAddItem/index.d.ts +3 -0
  184. package/dist/components/organisms/DialogBookingAddItem/index.js +3 -0
  185. package/dist/components/organisms/DialogBookingConfirm/BookingCancellationPolicy.d.ts +2 -2
  186. package/dist/components/organisms/DialogBookingConfirm/BookingCancellationPolicy.js +1 -12
  187. package/dist/components/organisms/DialogBookingConfirm/BookingMailSent.js +1 -12
  188. package/dist/components/organisms/DialogBookingConfirm/BookingReference.js +1 -12
  189. package/dist/components/organisms/DialogBookingConfirm/BookingSuccess.js +1 -12
  190. package/dist/components/organisms/DialogBookingConfirm/DialogBookingConfirm.d.ts +4 -0
  191. package/dist/components/organisms/DialogBookingConfirm/DialogBookingConfirm.js +2 -13
  192. package/dist/components/organisms/DialogCancelService/CancelBooking/CancelBooking.css +2117 -0
  193. package/dist/components/organisms/DialogCancelService/CancelBooking/CancelBooking.d.ts +16 -0
  194. package/dist/components/organisms/DialogCancelService/CancelBooking/CancelBooking.js +28 -0
  195. package/dist/components/organisms/{CancelService → DialogCancelService}/CancelPolicy.d.ts +2 -2
  196. package/dist/components/organisms/DialogCancelService/CancelPolicy.js +8 -0
  197. package/dist/components/organisms/DialogCancelService/ConfirmDelete/ConfirmDelete.js +24 -0
  198. package/dist/components/organisms/{CancelService/CancelService.d.ts → DialogCancelService/DialogCancelService.d.ts} +4 -3
  199. package/dist/components/organisms/DialogCancelService/DialogCancelService.js +14 -0
  200. package/dist/components/organisms/DialogCancelService/FromList.js +18 -0
  201. package/dist/components/organisms/DialogCancelService/index.d.ts +5 -0
  202. package/dist/components/organisms/DialogCancelService/index.js +1 -0
  203. package/dist/components/organisms/DialogComparison/DialogComparison.css +2116 -0
  204. package/dist/components/organisms/DialogComparison/DialogComparison.d.ts +24 -0
  205. package/dist/components/organisms/DialogComparison/DialogComparison.js +69 -0
  206. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirm.d.ts +14 -0
  207. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirm.js +11 -0
  208. package/dist/components/organisms/DialogSendingMail/DialogSendingMail.d.ts +11 -0
  209. package/dist/components/organisms/DialogSendingMail/DialogSendingMail.js +8 -0
  210. package/dist/components/organisms/DialogSendingMail/DialogSendingMailContent.d.ts +15 -0
  211. package/dist/components/organisms/DialogSendingMail/DialogSendingMailContent.js +49 -0
  212. package/dist/components/organisms/DialogSendingMail/index.d.ts +4 -0
  213. package/dist/components/organisms/DialogSendingMail/index.js +2 -0
  214. package/dist/components/organisms/DialogSendingMail/sending-mail-schema.d.ts +7 -0
  215. package/dist/components/organisms/DialogSendingMail/sending-mail-schema.js +16 -0
  216. package/dist/components/organisms/Docket/Docket.js +8 -19
  217. package/dist/components/organisms/Footer/Footer.js +3 -14
  218. package/dist/components/organisms/MultipleQuotationDocket/MultipleQuotationDocket.js +2 -13
  219. package/dist/components/organisms/PaxSelector/PaxSelector.js +22 -22
  220. package/dist/components/organisms/QuoteHeader/QuoteHeader.js +2 -13
  221. package/dist/components/organisms/RoundTrip/RoundTrip.js +1 -1
  222. package/dist/components/organisms/SearchBarTransfer/SearchBarTransfer.js +5 -5
  223. package/dist/components/organisms/TabCancellationPolicy/CancellationAccom.js +1 -12
  224. package/dist/components/organisms/TabCancellationPolicy/CancellationExcursion.js +1 -12
  225. package/dist/components/organisms/TabCancellationPolicy/CancellationHeader.d.ts +0 -1
  226. package/dist/components/organisms/TabCancellationPolicy/CancellationTransfer.js +1 -12
  227. package/dist/components/organisms/TabCancellationPolicy/HeaderAccom.js +1 -12
  228. package/dist/components/organisms/TabCancellationPolicy/HeaderExcursion/HeaderTransfer.js +1 -12
  229. package/dist/components/organisms/TabCancellationPolicy/PolicyAccom/PolicyAccom.js +1 -12
  230. package/dist/components/organisms/TabCancellationPolicy/PolicyExcursion.js +1 -12
  231. package/dist/components/organisms/TabCancellationPolicy/PolicyTransfer.js +1 -12
  232. package/dist/components/organisms/TabCancellationPolicy/TabCancellationPolicy.d.ts +0 -1
  233. package/dist/components/organisms/TabCancellationPolicy/TabCancellationPolicyLayout/TabCancellationPolicyLayout.js +1 -12
  234. package/dist/components/organisms/TabServiceDetails/Accommodation.js +1 -1
  235. package/dist/components/organisms/TabServiceDetails/DetailContentTransfer.js +1 -12
  236. package/dist/components/organisms/TabServiceDetails/DetailsContentAccom.js +2 -2
  237. package/dist/components/organisms/TabServiceDetails/DetailsContentExcursion.js +1 -12
  238. package/dist/components/organisms/TabServiceDetails/Excursion.js +1 -1
  239. package/dist/components/organisms/TabServiceDetails/TabServiceDetails.d.ts +0 -1
  240. package/dist/components/organisms/TabServiceDetails/TabServiceDetailsLayout/TabServiceDetailsLayout.js +1 -12
  241. package/dist/components/organisms/TabServiceDetails/Transfer.js +1 -1
  242. package/dist/components/organisms/Table/Table.css +48 -32
  243. package/dist/components/organisms/Table/Table.d.ts +4 -1
  244. package/dist/components/organisms/Table/Table.js +19 -16
  245. package/dist/components/organisms/Table/TableCell.d.ts +1 -1
  246. package/dist/components/organisms/Table/TableCell.js +1 -12
  247. package/dist/components/organisms/Table/columns/booking-cancel-service-columns.js +15 -31
  248. package/dist/components/organisms/Table/columns/booking-columns.js +7 -22
  249. package/dist/components/organisms/Table/columns/comparison-columns.d.ts +3 -0
  250. package/dist/components/organisms/Table/columns/comparison-columns.js +97 -0
  251. package/dist/components/organisms/Table/columns/detail-resume-columns.js +16 -31
  252. package/dist/components/organisms/Table/columns/index.d.ts +11 -7
  253. package/dist/components/organisms/Table/columns/index.js +2 -0
  254. package/dist/components/organisms/Table/columns/quotation-columns.d.ts +4 -1
  255. package/dist/components/organisms/Table/columns/quotation-columns.js +10 -19
  256. package/dist/components/organisms/Timeline/Timeline.js +1 -1
  257. package/dist/components/organisms/TopNavigation/DesktopNav.d.ts +0 -1
  258. package/dist/components/organisms/TopNavigation/DesktopNav.js +5 -16
  259. package/dist/components/organisms/TopNavigation/MobileNav.js +9 -20
  260. package/dist/components/organisms/TransferLine/TransferLine.js +1 -1
  261. package/dist/components/ui/button.d.ts +1 -1
  262. package/dist/components/ui/calendar.js +2 -2
  263. package/dist/components/ui/form.d.ts +24 -0
  264. package/dist/components/ui/form.js +79 -0
  265. package/dist/components/ui/label.d.ts +4 -0
  266. package/dist/components/ui/label.js +30 -0
  267. package/dist/hooks/useBookingPax.d.ts +1 -1
  268. package/dist/index.d.ts +26 -15
  269. package/dist/index.js +10 -2
  270. package/dist/lib/price-formatter.d.ts +1 -0
  271. package/dist/lib/price-formatter.js +13 -0
  272. package/dist/lib/shared-constant.d.ts +1 -0
  273. package/dist/lib/shared-constant.js +1 -0
  274. package/dist/lib/utils.d.ts +1 -2
  275. package/dist/lib/utils.js +1 -1
  276. package/dist/styles/mautourco.css +40 -0
  277. package/dist/styles/tokens/tokens.d.ts +464 -464
  278. package/package.json +7 -3
  279. package/src/components/atoms/Icon/icons/Info2Icon.tsx +42 -0
  280. package/src/components/atoms/Icon/icons/registry.tsx +2 -0
  281. package/src/components/atoms/Inputs/Input/Input.tsx +4 -2
  282. package/src/components/molecules/Calendar/DateTime.tsx +6 -4
  283. package/src/components/molecules/DialogContentPolicy/DialogCancellationList.tsx +6 -6
  284. package/src/components/molecules/DialogContentPolicy/DialogContentPolicy.tsx +1 -1
  285. package/src/components/molecules/MultiSelectDropdown/MultiSelectDropdown.tsx +117 -82
  286. package/src/components/molecules/PaxChips/PaxChips.tsx +30 -0
  287. package/src/components/molecules/TextWithIcon/TextWithIcon.tsx +2 -2
  288. package/src/components/molecules/Toast/Toast.css +27 -0
  289. package/src/components/molecules/Toast/Toast.tsx +9 -9
  290. package/src/components/organisms/Dialog/Dialog.tsx +85 -64
  291. package/src/components/organisms/{BookingAddItem → DialogBookingAddItem}/AddItemNewService.tsx +17 -2
  292. package/src/components/organisms/{BookingAddItem/BookingAddItem.tsx → DialogBookingAddItem/DialogBookingAddItem.tsx} +6 -6
  293. package/src/components/organisms/{BookingAddItem → DialogBookingAddItem}/index.ts +1 -1
  294. package/src/components/organisms/DialogBookingConfirm/BookingCancellationPolicy.tsx +2 -2
  295. package/src/components/organisms/DialogBookingConfirm/DialogBookingConfirm.tsx +14 -2
  296. package/src/components/organisms/DialogCancelService/CancelBooking/CancelBooking.css +24 -0
  297. package/src/components/organisms/DialogCancelService/CancelBooking/CancelBooking.tsx +98 -0
  298. package/src/components/organisms/{CancelService → DialogCancelService}/CancelPolicy.tsx +4 -4
  299. package/src/components/organisms/{CancelService/CancelService.tsx → DialogCancelService/DialogCancelService.tsx} +7 -5
  300. package/src/components/organisms/DialogCancelService/index.ts +6 -0
  301. package/src/components/organisms/DialogComparison/DialogComparison.css +23 -0
  302. package/src/components/organisms/DialogComparison/DialogComparison.tsx +157 -0
  303. package/src/components/organisms/DialogDeleteConfirm/DialogDeleteConfirm.tsx +57 -0
  304. package/src/components/organisms/DialogSendingMail/DialogSendingMail.tsx +27 -0
  305. package/src/components/organisms/DialogSendingMail/DialogSendingMailContent.tsx +115 -0
  306. package/src/components/organisms/DialogSendingMail/index.ts +5 -0
  307. package/src/components/organisms/DialogSendingMail/sending-mail-schema.ts +19 -0
  308. package/src/components/organisms/Table/Table.css +48 -32
  309. package/src/components/organisms/Table/Table.tsx +24 -5
  310. package/src/components/organisms/Table/columns/booking-cancel-service-columns.tsx +16 -32
  311. package/src/components/organisms/Table/columns/booking-columns.tsx +2 -19
  312. package/src/components/organisms/Table/columns/comparison-columns.tsx +140 -0
  313. package/src/components/organisms/Table/columns/detail-resume-columns.tsx +17 -33
  314. package/src/components/organisms/Table/columns/index.ts +2 -0
  315. package/src/components/organisms/Table/columns/quotation-columns.tsx +17 -9
  316. package/src/components/ui/form.tsx +160 -0
  317. package/src/components/ui/label.tsx +22 -0
  318. package/dist/components/organisms/CancelService/CancelPolicy.js +0 -19
  319. package/dist/components/organisms/CancelService/CancelService.js +0 -23
  320. package/dist/components/organisms/CancelService/ConfirmDelete/ConfirmDelete.js +0 -35
  321. package/dist/components/organisms/CancelService/FromList.js +0 -29
  322. /package/dist/components/organisms/{CancelService → DialogCancelService}/ConfirmDelete/ConfirmDelete.css +0 -0
  323. /package/dist/components/organisms/{CancelService → DialogCancelService}/ConfirmDelete/ConfirmDelete.d.ts +0 -0
  324. /package/dist/components/organisms/{CancelService → DialogCancelService}/FromList.d.ts +0 -0
  325. /package/src/components/organisms/{BookingAddItem → DialogBookingAddItem}/AddItemSelector.tsx +0 -0
  326. /package/src/components/organisms/{CancelService → DialogCancelService}/ConfirmDelete/ConfirmDelete.css +0 -0
  327. /package/src/components/organisms/{CancelService → DialogCancelService}/ConfirmDelete/ConfirmDelete.tsx +0 -0
  328. /package/src/components/organisms/{CancelService → DialogCancelService}/FromList.tsx +0 -0
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
2
  import { cn } from '../../../../lib/utils';
14
3
  import { ServiceTitle } from '../../ServiceTitle/ServiceTitle';
@@ -30,5 +19,5 @@ import './BookingPaxLayout.css';
30
19
  */
31
20
  export var BookingPaxLayout = function (props) {
32
21
  var title = props.title, icon = props.icon, header = props.header, children = props.children, className = props.className;
33
- return (_jsxs("div", __assign({ className: cn('booking-pax-layout', className) }, { children: [_jsxs("div", __assign({ className: "booking-pax-layout__header" }, { children: [_jsx(ServiceTitle, { title: title, icon: icon }), header] })), _jsx("div", __assign({ className: "booking-pax-layout__content" }, { children: children }))] })));
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 })] }));
34
23
  };
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
2
  import { useEffect, useRef, useState } from 'react';
14
3
  import Textarea from '../../atoms/Inputs/Textarea/Textarea';
@@ -44,5 +33,5 @@ export var BookingPaxRemarks = function (_a) {
44
33
  onChange === null || onChange === void 0 ? void 0 : onChange(value);
45
34
  adjustHeight();
46
35
  };
47
- return (_jsxs("div", __assign({ className: "space-y-2" }, { children: [_jsx(Text, __assign({ 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' } })] })));
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' } })] }));
48
37
  };
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
13
2
  import useBookingPax from '../../../hooks/useBookingPax';
14
3
  import { useCallback, useEffect, useMemo } from 'react';
@@ -53,5 +42,5 @@ export var BookingPaxTransfer = function (props) {
53
42
  useEffect(function () {
54
43
  onSelectedClients(clientsInfo, onPaxChange);
55
44
  }, [changeOptions, onPaxChange]);
56
- return (_jsxs(BookingPaxLayout, __assign({ title: _jsxs(_Fragment, { children: ["Transfer", ' ', _jsxs(Text, __assign({ 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 })] })));
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 })] }));
57
46
  };
@@ -1,19 +1,8 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
2
  import { cn } from '../../../../lib/utils';
14
3
  import TextWithIcon from '../../TextWithIcon/TextWithIcon';
15
4
  import './BookingResumeLayout.css';
16
5
  export var BookingResumeLayout = function (props) {
17
6
  var title = props.title, icon = props.icon, image = props.image, children = props.children, className = props.className;
18
- return (_jsxs("div", __assign({ className: cn('booking-resume-layout', className) }, { children: [_jsx(TextWithIcon, __assign({ icon: icon, color: "accent", textSize: "lg", textVariant: "bold", textLeading: "4" }, { children: title })), _jsxs("div", __assign({ className: "booking-resume-layout__flex" }, { children: [image && (_jsx("figure", __assign({ className: "booking-resume-layout__image" }, { children: _jsx("img", { src: image, alt: "Service image accom", width: 250, height: 200 }) }))), _jsx("div", __assign({ className: "booking-resume-layout__content" }, { children: children }))] }))] })));
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 })] })] }));
19
8
  };
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
2
  import useStays from '../../../../hooks/useStays';
14
3
  import { Text } from '../../../atoms/Typography/Typography';
@@ -22,5 +11,5 @@ import './ResumeAccom.css';
22
11
  export var ResumeAccom = function (props) {
23
12
  var image = props.image, dates = props.dates, clientType = props.clientType, pax = props.pax, rooms = props.rooms, hotelName = props.hotelName;
24
13
  var stay = useStays(dates);
25
- return (_jsxs(BookingResumeLayout, __assign({ title: "Accommodation", icon: "accom", image: image, className: "resume-accom" }, { children: [_jsx(ServiceTitle, { title: hotelName }), _jsxs("div", __assign({ className: "space-y-2 mt-4" }, { children: [_jsx(DateDisplay, { dates: dates, colorMode: "green" }), _jsxs(TextWithIcon, __assign({ icon: "night" }, { children: [stay, " Nights"] })), _jsxs(Text, __assign({ variant: "medium", size: "sm", leading: "4" }, { children: [_jsx("strong", { children: "Client types:" }), " ", clientType] })), _jsx(PaxDisplay, { pax: pax }), _jsx("div", { children: rooms.map(function (room, index) { return (_jsxs("div", __assign({ className: "space-y-1" }, { children: [_jsx(TextWithIcon, __assign({ icon: "accom", textSize: "sm", textVariant: "medium" }, { children: room.RoomName })), _jsx(ServiceInfo.Item, __assign({ icon: "utensils", iconSize: "sm", textSize: "sm", textLeading: "4", textVariant: "medium", label: "Meal-Plan" }, { children: room.MealPlan }))] }), "rm-".concat(index))); }) })] }))] })));
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))); }) })] })] }));
26
15
  };
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
2
  import { Text } from '../../../atoms/Typography/Typography';
14
3
  import { DateDisplay } from '../../DateDisplay/DateDisplay';
@@ -24,5 +13,5 @@ var mapType = {
24
13
  };
25
14
  export var ResumeExcursion = function (props) {
26
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;
27
- return (_jsx(BookingResumeLayout, __assign({ title: "Excursion", icon: "map", image: image, className: "resume-excursion" }, { children: _jsxs("div", __assign({ className: "space-y-3" }, { children: [_jsx(DateDisplay, { dates: [date], colorMode: "green" }), _jsxs("div", __assign({ className: "space-y-1" }, { children: [_jsx(TextWithIcon, __assign({ icon: type, textSize: "sm", textVariant: "medium" }, { children: mapType[type] })), _jsxs(Text, __assign({ variant: "medium", size: "sm", leading: "4" }, { children: [_jsx("strong", { children: "Pickup: " }), " ", pickUpPoint] }))] })), _jsx(PaxDisplay, { pax: pax }), _jsxs(ServiceInfo, __assign({ className: "space-y-1", contentTextVariant: "regular" }, { children: [_jsx(ServiceInfo.Item, __assign({ icon: "stopwatch", label: "Duration" }, { children: duration })), _jsx(ServiceInfo.Item, __assign({ icon: "utensils", label: "Meal" }, { children: meal })), _jsx(ServiceInfo.Item, __assign({ icon: "bike", label: "Difficulty" }, { children: accessibility })), _jsx(ServiceInfo.Item, __assign({ icon: "car", label: "Vehicle" }, { children: transferType }))] }))] })) })));
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 })] })] }) }));
28
17
  };
@@ -1,19 +1,8 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
2
  import { PaxDisplay } from '../PaxDisplay/PaxDisplay';
14
3
  import TextWithIcon from '../TextWithIcon/TextWithIcon';
15
4
  import { BookingResumeLayout } from './BookingResumeLayout/BookingResumeLayout';
16
5
  export var ResumeOtherService = function (props) {
17
6
  var pax = props.pax;
18
- return (_jsx(BookingResumeLayout, __assign({ title: "Other Services", icon: "more" }, { children: _jsxs("div", __assign({ className: "space-y-1" }, { children: [_jsx(TextWithIcon, __assign({ icon: "wallet" }, { children: "Handling Fee" })), _jsx(PaxDisplay, { pax: pax })] })) })));
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 })] }) }));
19
8
  };
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
13
2
  import { Text } from '../../atoms/Typography/Typography';
14
3
  import { DateDisplay } from '../DateDisplay/DateDisplay';
@@ -19,5 +8,5 @@ import { BookingResumeLayout } from './BookingResumeLayout/BookingResumeLayout';
19
8
  export var ResumeTransfer = function (props) {
20
9
  var type = props.type, pax = props.pax, date = props.date, location = props.location, carName = props.carName, image = props.image;
21
10
  var transferType = type === 'ARV' ? 'Arrival' : type === 'DEP' ? 'Departure' : 'Inter-Hotel';
22
- return (_jsx(BookingResumeLayout, __assign({ title: _jsxs(_Fragment, { children: ["Transfer", ' ', _jsx(Text, __assign({ color: "accent", as: "span", size: "lg" }, { children: transferType }))] }), icon: "car-front", image: image }, { children: _jsxs("div", __assign({ className: "space-y-3" }, { children: [_jsx(DateDisplay, { dates: [date], colorMode: "green" }), _jsx(FromTo, { from: location.from, to: location.to }), _jsxs("div", __assign({ className: "space-y-1" }, { children: [_jsx(PaxDisplay, { pax: pax }), _jsx(TextWithIcon, __assign({ icon: "car", textSize: "sm", textVariant: "medium" }, { children: carName }))] }))] })) })));
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 })] })] }) }));
23
12
  };
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
2
  import { cn } from '../../../lib/utils';
14
3
  import Icon from '../../atoms/Icon/Icon';
@@ -16,5 +5,5 @@ import { Text } from '../../atoms/Typography/Typography';
16
5
  import './Breadcrumbs.css';
17
6
  export var Breadcrumbs = function (props) {
18
7
  var items = props.items, onBack = props.onBack;
19
- return (_jsxs("ol", __assign({ className: "breadcrumbs" }, { children: [_jsxs(Text, __assign({ 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, __assign({ 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))); })] })));
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))); })] }));
20
9
  };
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
2
  import React, { useState } from 'react';
14
3
  import Icon from '../../atoms/Icon/Icon';
@@ -43,8 +32,8 @@ var CalendarInput = function (_a) {
43
32
  React.useEffect(function () {
44
33
  setLocalValue(value);
45
34
  }, [value]);
46
- var iconButton = (_jsx("button", __assign({ type: "button", className: "calendar-input__icon-button ".concat(iconBGFull ? ' calendar-input__icon-button--full-bg' : '', " calendar-input__icon-button--").concat(iconPosition), onClick: handleCalendarClick, disabled: disabled, "aria-label": "Open calendar picker", title: "Select date" }, { children: _jsx(Icon, { name: icon, size: "sm", className: "calendar-input__icon" }) })));
35
+ var iconButton = (_jsx("button", { type: "button", className: "calendar-input__icon-button ".concat(iconBGFull ? ' calendar-input__icon-button--full-bg' : '', " calendar-input__icon-button--").concat(iconPosition), onClick: handleCalendarClick, disabled: disabled, "aria-label": "Open calendar picker", title: "Select date", children: _jsx(Icon, { name: icon, size: "sm", className: "calendar-input__icon" }) }));
47
36
  var isEmpty = !localValue;
48
- return (_jsxs("div", __assign({ className: "calendar-input calendar-input--".concat(displayState, " calendar-input--icon-").concat(iconPosition, " ").concat(isEmpty ? 'calendar-input--empty' : '', " ").concat(className).trim(), "data-node-id": "3425:11289", onClick: onClick }, { children: [iconPosition === 'left' && iconButton, _jsxs("div", __assign({ className: "calendar-input__input-wrapper" }, { children: [_jsx("input", { type: "text", className: "calendar-input__field", placeholder: placeholder, value: localValue, disabled: disabled, onChange: handleInputChange, onFocus: handleFocus, onBlur: handleBlur, readOnly: true, "aria-label": 'Select date', "data-empty": !localValue }), iconPosition === 'left' && showChevron && (_jsx("div", __assign({ className: "calendar-input__chevron ".concat(isOpen ? 'calendar-input__chevron--open' : '') }, { children: _jsx(Icon, { name: 'chevron-down', size: "sm" }) })))] })), iconPosition === 'right' && iconButton] })));
37
+ return (_jsxs("div", { className: "calendar-input calendar-input--".concat(displayState, " calendar-input--icon-").concat(iconPosition, " ").concat(isEmpty ? 'calendar-input--empty' : '', " ").concat(className).trim(), "data-node-id": "3425:11289", onClick: onClick, children: [iconPosition === 'left' && iconButton, _jsxs("div", { className: "calendar-input__input-wrapper", children: [_jsx("input", { type: "text", className: "calendar-input__field", placeholder: placeholder, value: localValue, disabled: disabled, onChange: handleInputChange, onFocus: handleFocus, onBlur: handleBlur, readOnly: true, "aria-label": 'Select date', "data-empty": !localValue }), iconPosition === 'left' && showChevron && (_jsx("div", { className: "calendar-input__chevron ".concat(isOpen ? 'calendar-input__chevron--open' : ''), children: _jsx(Icon, { name: 'chevron-down', size: "sm" }) }))] }), iconPosition === 'right' && iconButton] }));
49
38
  };
50
39
  export default CalendarInput;
@@ -1,5 +1,12 @@
1
- /// <reference types="react" />
2
1
  import { DateRange } from 'react-day-picker';
2
+ export interface DateTimeOnChangePayload {
3
+ dateRange?: DateRange;
4
+ time?: {
5
+ hour: string;
6
+ minute: string;
7
+ meridiem: 'AM' | 'PM';
8
+ };
9
+ }
3
10
  export interface DateTimeProps {
4
11
  mode?: 'calendar' | 'time' | 'both';
5
12
  selectionMode?: 'single' | 'range';
@@ -12,14 +19,7 @@ export interface DateTimeProps {
12
19
  minute: string;
13
20
  meridiem: 'AM' | 'PM';
14
21
  };
15
- onChange?: (payload: {
16
- dateRange?: DateRange;
17
- time?: {
18
- hour: string;
19
- minute: string;
20
- meridiem: 'AM' | 'PM';
21
- };
22
- }) => void;
22
+ onChange?: (payload: DateTimeOnChangePayload) => void;
23
23
  }
24
24
  declare const DateTime: React.FC<DateTimeProps>;
25
25
  export default DateTime;
@@ -83,7 +83,7 @@ var DateTime = function (_a) {
83
83
  setMonth(defaultDateRange === null || defaultDateRange === void 0 ? void 0 : defaultDateRange.from);
84
84
  }
85
85
  }, [defaultDateRange]);
86
- return (_jsxs("div", __assign({ className: "calendar--dropdown" }, { children: [mode !== 'time' &&
86
+ return (_jsxs("div", { className: "calendar--dropdown", children: [mode !== 'time' &&
87
87
  (function () {
88
88
  var calendarProps = {
89
89
  mode: calendarMode,
@@ -106,12 +106,12 @@ var DateTime = function (_a) {
106
106
  },
107
107
  };
108
108
  return _jsx(Calendar, __assign({}, calendarProps));
109
- })(), mode !== 'calendar' && (_jsx("div", __assign({ className: "".concat(mode === 'both' ? 'calendar--time_container_separated' : '') }, { children: _jsx(TimePicker, { label: "Time", hour: hours, minute: minutes, meridiem: amPm, onChange: function (h, m, mm) {
109
+ })(), mode !== 'calendar' && (_jsx("div", { className: "".concat(mode === 'both' ? 'calendar--time_container_separated' : ''), children: _jsx(TimePicker, { label: "Time", hour: hours, minute: minutes, meridiem: amPm, onChange: function (h, m, mm) {
110
110
  var hh = String(Math.max(0, Math.min(12, Number(h || 0)))).padStart(2, '0');
111
111
  var mmn = String(Math.max(0, Math.min(59, Number(m || 0)))).padStart(2, '0');
112
112
  setHours(hh);
113
113
  setMinutes(mmn);
114
114
  setAmPm(mm);
115
- } }) }))), mode !== 'time' && (_jsxs("div", __assign({ className: "calendar--footer" }, { children: [_jsxs(Button, __assign({ variant: "ghost", size: "sm", onClick: selectToday, type: "button", className: "calendar--footer--button", disabled: disableToday }, { children: [_jsx(Icon, { name: "calendar-outline", size: "sm" }), "Today"] })), _jsx(Button, __assign({ variant: "ghost", size: "sm", onClick: clearSelection, type: "button", className: "calendar--footer--button" }, { children: "Clear" }))] })))] })));
115
+ } }) })), mode !== 'time' && (_jsxs("div", { className: "calendar--footer", children: [_jsxs(Button, { variant: "ghost", size: "sm", onClick: selectToday, type: "button", className: "calendar--footer--button", disabled: disableToday, children: [_jsx(Icon, { name: "calendar-outline", size: "sm" }), "Today"] }), _jsx(Button, { variant: "ghost", size: "sm", onClick: clearSelection, type: "button", className: "calendar--footer--button", children: "Clear" })] }))] }));
116
116
  };
117
117
  export default DateTime;
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
2
  import { useState, useEffect } from "react";
14
3
  var clampTwoDigits = function (val) {
@@ -86,6 +75,6 @@ var TimePicker = function (_a) {
86
75
  setIsTyping(false);
87
76
  onBlur === null || onBlur === void 0 ? void 0 : onBlur();
88
77
  };
89
- return (_jsxs("div", __assign({ className: "time-picker-wrapper", "data-state": displayState }, { children: [label && _jsx("div", __assign({ className: "time-picker__div" }, { children: label })), _jsxs("div", __assign({ className: "time-picker time-picker--".concat(displayState) }, { children: [_jsx("input", { className: "time-picker__input", type: "text", inputMode: "numeric", pattern: "[0-9]*", value: localHour, placeholder: "00", onChange: handleHourChange, onFocus: handleFocus, onBlur: handleBlur, disabled: disabled, "aria-label": "Hour", "data-unit": "hour" }), _jsx("div", __assign({ className: "time-picker__colon" }, { children: ":" })), _jsx("input", { className: "time-picker__input", type: "text", inputMode: "numeric", pattern: "[0-9]*", value: localMinute, placeholder: "00", onChange: handleMinuteChange, onFocus: handleFocus, onBlur: handleBlur, disabled: disabled, "aria-label": "Minute", "data-unit": "minute" }), _jsxs("div", __assign({ className: "time-picker__am-pm", role: "tablist", "aria-label": "AM/PM selector" }, { children: [_jsx("button", __assign({ type: "button", className: "time-picker__seg time-picker__seg--left ".concat(localMeridiem === "AM" ? "time-picker__seg--selected" : ""), onClick: function () { return handleMeridiemClick("AM"); }, disabled: disabled, "aria-pressed": localMeridiem === "AM" }, { children: "AM" })), _jsx("button", __assign({ type: "button", className: "time-picker__seg time-picker__seg--right ".concat(localMeridiem === "PM" ? "time-picker__seg--selected" : ""), onClick: function () { return handleMeridiemClick("PM"); }, disabled: disabled, "aria-pressed": localMeridiem === "PM" }, { children: "PM" }))] }))] }))] })));
78
+ return (_jsxs("div", { className: "time-picker-wrapper", "data-state": displayState, children: [label && _jsx("div", { className: "time-picker__div", children: label }), _jsxs("div", { className: "time-picker time-picker--".concat(displayState), children: [_jsx("input", { className: "time-picker__input", type: "text", inputMode: "numeric", pattern: "[0-9]*", value: localHour, placeholder: "00", onChange: handleHourChange, onFocus: handleFocus, onBlur: handleBlur, disabled: disabled, "aria-label": "Hour", "data-unit": "hour" }), _jsx("div", { className: "time-picker__colon", children: ":" }), _jsx("input", { className: "time-picker__input", type: "text", inputMode: "numeric", pattern: "[0-9]*", value: localMinute, placeholder: "00", onChange: handleMinuteChange, onFocus: handleFocus, onBlur: handleBlur, disabled: disabled, "aria-label": "Minute", "data-unit": "minute" }), _jsxs("div", { className: "time-picker__am-pm", role: "tablist", "aria-label": "AM/PM selector", children: [_jsx("button", { type: "button", className: "time-picker__seg time-picker__seg--left ".concat(localMeridiem === "AM" ? "time-picker__seg--selected" : ""), onClick: function () { return handleMeridiemClick("AM"); }, disabled: disabled, "aria-pressed": localMeridiem === "AM", children: "AM" }), _jsx("button", { type: "button", className: "time-picker__seg time-picker__seg--right ".concat(localMeridiem === "PM" ? "time-picker__seg--selected" : ""), onClick: function () { return handleMeridiemClick("PM"); }, disabled: disabled, "aria-pressed": localMeridiem === "PM", children: "PM" })] })] })] }));
90
79
  };
91
80
  export default TimePicker;
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
2
  import { format, isValid } from 'date-fns';
14
3
  import { Fragment, useMemo } from 'react';
@@ -44,8 +33,8 @@ export var DateDisplay = function (_a) {
44
33
  var textColor = colorMode === 'green' ? 'accent' : 'default';
45
34
  // Single date display (matching Figma design)
46
35
  if (formattedDates.length === 1) {
47
- return (_jsxs("div", __assign({ className: "date-display date-display--".concat(colorMode, " ").concat(className) }, { children: [_jsx(Icon, { name: "calendar", size: calendarSize, color: iconColor }), _jsx(Text, __assign({ variant: "medium", size: textSize, color: textColor }, { children: formattedDates[0] }))] })));
36
+ return (_jsxs("div", { className: "date-display date-display--".concat(colorMode, " ").concat(className), children: [_jsx(Icon, { name: "calendar", size: calendarSize, color: iconColor }), _jsx(Text, { variant: "medium", size: textSize, color: textColor, children: formattedDates[0] })] }));
48
37
  }
49
38
  // Multiple dates display (backward compatibility)
50
- return (_jsx("div", __assign({ className: "date-display date-display--range date-display--".concat(colorMode, " ").concat(className) }, { children: formattedDates.map(function (formattedDate, index) { return (_jsxs(Fragment, { children: [_jsxs("span", __assign({ className: "date-display__item" }, { children: [_jsx(Icon, { name: "calendar", size: calendarSize, color: iconColor }), _jsx(Text, __assign({ variant: "medium", size: textSize, color: textColor }, { children: formattedDate }))] })), formattedDates.length > 1 && index === 0 && (_jsx(Icon, { name: "arrow-right-outline", size: arrowSize }))] }, "dd-".concat(index))); }) })));
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))); }) }));
51
40
  };
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx } from "react/jsx-runtime";
13
2
  import { cn } from '../../../lib/utils';
14
3
  import { ActionDropdownType } from '../../../types/table/index';
@@ -16,7 +5,7 @@ import Button from '../../atoms/Button/Button';
16
5
  import { ActionDropdown } from '../ActionDropdown/ActionDropdown';
17
6
  export var DetailsAction = function (props) {
18
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;
19
- return (_jsx(ActionDropdown, __assign({ maxWidth: dropdownMaxWidth, data: data
8
+ return (_jsx(ActionDropdown, { maxWidth: dropdownMaxWidth, data: data
20
9
  ? data
21
10
  : [
22
11
  {
@@ -43,5 +32,5 @@ export var DetailsAction = function (props) {
43
32
  onAction === null || onAction === void 0 ? void 0 : onAction(ActionDropdownType.DELETE_QUOTE);
44
33
  },
45
34
  },
46
- ] }, { children: _jsx(Button, __assign({ variant: buttonVariant, trailingIcon: "chevron-down", size: "sm", className: cn('w-[144px] !justify-between !px-[14px]', buttonClassName) }, { children: buttonLabel })) })));
35
+ ], children: _jsx(Button, { variant: buttonVariant, trailingIcon: "chevron-down", size: "sm", className: cn('w-[144px] !justify-between !px-[14px]', buttonClassName), children: buttonLabel }) }));
47
36
  };
@@ -1,19 +1,8 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
2
  import Chip from '../../../atoms/Chip/Chip';
14
3
  import { Text } from '../../../atoms/Typography/Typography';
15
4
  import './DetailsAgency.css';
16
5
  export var DetailsAgency = function (props) {
17
6
  var name = props.name, clientType = props.clientType, isOnRequest = props.isOnRequest, children = props.children;
18
- return (_jsxs("div", __assign({ className: "flex flex-col gap-y-6 items-end" }, { children: [_jsx("img", { src: "/images/mautourco-logo.png", alt: "Mautourco Logo", width: 220 }), _jsxs("div", __assign({ className: "details-agency" }, { children: [_jsx(Text, __assign({ variant: "bold", color: "accent" }, { children: "Documents details:" })), _jsxs("div", __assign({ className: "details-agency__content" }, { children: [_jsxs("div", __assign({ className: "details-agency__content-item" }, { children: [_jsx(Text, __assign({ variant: "bold", size: "sm", leading: "4", className: "details-agency__content-item-name" }, { children: "Agency" })), _jsx(Text, __assign({ size: "sm", leading: "4" }, { children: name }))] })), ' ', _jsxs("div", __assign({ className: "details-agency__content-item" }, { children: [_jsx(Text, __assign({ variant: "bold", size: "sm", leading: "4", className: "details-agency__content-item-name" }, { children: "Client type" })), _jsx(Text, __assign({ size: "sm", leading: "4" }, { children: clientType }))] }))] }))] })), isOnRequest && _jsx(Chip, __assign({ color: "yellow" }, { children: "Waiting for confirmation" })), children] })));
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] }));
19
8
  };
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
2
  import Chip from '../../../atoms/Chip/Chip';
14
3
  import { Text } from '../../../atoms/Typography/Typography';
@@ -16,5 +5,5 @@ import { languagesMap } from '../../ServiceLanguages/constant';
16
5
  import './DetailsClient.css';
17
6
  export var DetailsClientInfo = function (props) {
18
7
  var language = props.language, clients = props.clients;
19
- return (_jsxs("div", __assign({ className: "details-client" }, { children: [_jsx(Text, __assign({ variant: "bold" }, { children: "1. Client's information" })), _jsxs("div", __assign({ className: "space-y-4" }, { children: [_jsx(Text, __assign({ variant: "medium", size: "lg" }, { children: "Language:" })), _jsxs(Chip, __assign({ color: "neutral", size: "md", className: "!px-4" }, { children: [_jsx("i", { className: "fi fi-".concat(languagesMap[language.toLowerCase()]) }), _jsx(Text, __assign({ variant: "medium", as: "span" }, { children: language }))] }))] })), _jsx("div", __assign({ className: "flex gap-x-8 flex-wrap" }, { children: clients.map(function (client, index) { return (_jsxs("div", __assign({ className: "space-y-4" }, { children: [_jsxs(Text, __assign({ variant: "medium", size: "lg" }, { children: [client.type, " No ", index + 1, ' ', client.age > 0 ? (_jsxs(Text, __assign({ variant: "regular", size: "lg", as: "span" }, { children: ["(", client.age, " yo)"] }))) : ('')] })), _jsxs(Chip, __assign({ color: "neutral", size: "md", className: "!px-4" }, { children: [client.firstName, " ", client.lastName] }))] }), "cl-".concat(index))); }) }))] })));
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))); }) })] }));
20
9
  };
@@ -1,17 +1,6 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
2
  import { Text } from '../../atoms/Typography/Typography';
14
3
  export var DetailsFile = function (props) {
15
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;
16
- return (_jsxs("div", __assign({ className: "grid gap-y-2" }, { children: [withTitle && (_jsx(Text, __assign({ variant: "bold", className: "text-2xl", color: "brand" }, { children: label }))), showRegularInfo && (_jsxs(Text, __assign({ variant: "regular", color: "default" }, { children: [label, " ", number] }))), _jsx(Text, __assign({ variant: "medium", color: "accent" }, { children: name }))] })));
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 })] }));
17
6
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface DetailsInfoProps {
3
2
  children: React.ReactNode;
4
3
  className?: string;
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
2
  import { Text } from '../../../atoms/Typography/Typography';
14
3
  import { cn } from '../../../../lib/utils';
@@ -16,5 +5,5 @@ import { ServiceTitle } from '../../ServiceTitle/ServiceTitle';
16
5
  import './CancellationLayout.css';
17
6
  export var CancellationLayout = function (props) {
18
7
  var title = props.title, icon = props.icon, children = props.children, className = props.className, image = props.image, cancellationFee = props.cancellationFee, currency = props.currency;
19
- return (_jsxs("div", __assign({ className: cn('cancellation-layout', className) }, { children: [_jsx(ServiceTitle, { title: title, icon: icon }), _jsxs("div", __assign({ className: "cancellation-layout__content" }, { children: [_jsx("div", __assign({ className: "cancellation-layout__content-left" }, { children: children })), _jsx("figure", __assign({ className: "cancellation-layout__content-right" }, { children: _jsx("img", { src: image, alt: (title === null || title === void 0 ? void 0 : title.toString()) || '', width: 150, height: 200 }) }))] })), cancellationFee && (_jsxs("div", __assign({ className: "cancellation-layout__fee" }, { children: [_jsx(Text, __assign({ variant: "medium" }, { children: "Cancellation fee (VAT Incl) :" })), _jsxs(Text, __assign({ variant: "bold" }, { children: [currency, " ", cancellationFee] }))] })))] })));
8
+ return (_jsxs("div", { className: cn('cancellation-layout', className), children: [_jsx(ServiceTitle, { title: title, icon: icon }), _jsxs("div", { className: "cancellation-layout__content", children: [_jsx("div", { className: "cancellation-layout__content-left", children: children }), _jsx("figure", { className: "cancellation-layout__content-right", children: _jsx("img", { src: image, alt: (title === null || title === void 0 ? void 0 : title.toString()) || '', width: 150, height: 200 }) })] }), cancellationFee && (_jsxs("div", { className: "cancellation-layout__fee", children: [_jsx(Text, { variant: "medium", children: "Cancellation fee (VAT Incl) :" }), _jsxs(Text, { variant: "bold", children: [currency, " ", cancellationFee] })] }))] }));
20
9
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { RoomItem } from '@/src/types/table';
3
2
  export interface DialogCancellationAccomProps {
4
3
  image: string;
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
2
  import useStays from '../../../hooks/useStays';
14
3
  import { Fragment } from 'react';
@@ -20,5 +9,5 @@ import { CancellationLayout } from './CancellationLayout/CancellationLayout';
20
9
  export var DialogCancellationAccom = function (props) {
21
10
  var image = props.image, hotelName = props.hotelName, dates = props.dates, rooms = props.rooms, cancellationFee = props.cancellationFee, currency = props.currency;
22
11
  var stay = useStays(dates);
23
- return (_jsx(CancellationLayout, __assign({ title: "Accommodation", icon: "accom", image: image, cancellationFee: cancellationFee, currency: currency }, { children: _jsxs("div", __assign({ className: "space-y-6" }, { children: [_jsxs("div", __assign({ className: "space-y-1" }, { children: [_jsx(Text, __assign({ variant: "bold" }, { children: hotelName })), _jsx(DateDisplay, { dates: dates }), _jsxs(TextWithIcon, __assign({ icon: "night", textLeading: "4" }, { children: [stay, " Nights"] }))] })), _jsx("div", __assign({ className: "" }, { children: rooms.map(function (room, index) { return (_jsxs("div", __assign({ className: "space-y-4" }, { children: [_jsxs("div", __assign({ className: "space-y-1" }, { children: [_jsxs(TextWithIcon, __assign({ icon: "accom", textLeading: "4" }, { children: [index + 1, " Room"] })), _jsx(Text, __assign({ size: "sm" }, { children: room.RoomName }))] })), room.cancellation_policy.map(function (policy) { return (_jsxs(Fragment, { children: [_jsxs(Chip, __assign({ type: "outline", color: "brand", isBlackText: true }, { children: ["Policy period applies", ' ', _jsx(DateDisplay, { dates: [policy.ValidFrom, policy.ValidTo], textSize: "xs" })] })), _jsxs(Text, __assign({ variant: "bold", size: "xs", leading: "4" }, { children: [policy.Value, " % of total price"] })), _jsx(Text, __assign({ size: "xs", leading: "4" }, { children: policy.Description }))] }, "policy-".concat(index))); })] }), "rm-".concat(index))); }) }))] })) })));
12
+ return (_jsx(CancellationLayout, { title: "Accommodation", icon: "accom", image: image, cancellationFee: cancellationFee, currency: currency, children: _jsxs("div", { className: "space-y-6", children: [_jsxs("div", { className: "space-y-1", children: [_jsx(Text, { variant: "bold", children: hotelName }), _jsx(DateDisplay, { dates: dates }), _jsxs(TextWithIcon, { icon: "night", textLeading: "4", children: [stay, " Nights"] })] }), _jsx("div", { className: "", children: rooms.map(function (room, index) { return (_jsxs("div", { className: "space-y-4", children: [_jsxs("div", { className: "space-y-1", children: [_jsxs(TextWithIcon, { icon: "accom", textLeading: "4", children: [index + 1, " Room"] }), _jsx(Text, { size: "sm", children: room.RoomName })] }), room.cancellation_policy.map(function (policy) { return (_jsxs(Fragment, { children: [_jsxs(Chip, { type: "outline", color: "brand", isBlackText: true, children: ["Policy period applies", ' ', _jsx(DateDisplay, { dates: [policy.ValidFrom, policy.ValidTo], textSize: "xs" })] }), _jsxs(Text, { variant: "bold", size: "xs", leading: "4", children: [policy.Value, " % of total price"] }), _jsx(Text, { size: "xs", leading: "4", children: policy.Description })] }, "policy-".concat(index))); })] }, "rm-".concat(index))); }) })] }) }));
24
13
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface DialogCancellationExcursionProps {
3
2
  image: string;
4
3
  excursionName: string;
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
2
  import { Text } from '../../atoms/Typography/Typography';
14
3
  import { DateDisplay } from '../DateDisplay/DateDisplay';
@@ -16,5 +5,5 @@ import { ServiceInfo } from '../ServiceInfo/ServiceInfo';
16
5
  import { CancellationLayout } from './CancellationLayout/CancellationLayout';
17
6
  export var DialogCancellationExcursion = function (props) {
18
7
  var image = props.image, excursionName = props.excursionName, date = props.date, details = props.details, policy = props.policy, cancellationFee = props.cancellationFee, currency = props.currency;
19
- return (_jsx(CancellationLayout, __assign({ title: "Excursion", icon: "map", image: image, cancellationFee: cancellationFee, currency: currency }, { children: _jsxs("div", __assign({ className: "space-y-6" }, { children: [_jsxs("div", __assign({ className: "space-y-1" }, { children: [_jsx(Text, __assign({ variant: "bold" }, { children: excursionName })), _jsx(DateDisplay, { dates: [date] })] })), _jsxs(ServiceInfo, { children: [_jsx(ServiceInfo.Item, __assign({ icon: "stopwatch", label: "Duration" }, { children: details.duration })), _jsx(ServiceInfo.Item, __assign({ icon: "utensils", label: "Meal" }, { children: details.meal })), _jsx(ServiceInfo.Item, __assign({ icon: "bike", label: "Difficulty" }, { children: details.accessibility })), _jsx(ServiceInfo.Item, __assign({ icon: "car", label: "Transfer Type" }, { children: details.transferType }))] }), _jsxs("div", __assign({ className: "" }, { children: [_jsx(Text, __assign({ variant: "bold", size: "xs", leading: "4" }, { children: policy.title })), _jsx(Text, __assign({ size: "xs", leading: "4" }, { children: policy.description }))] }))] })) })));
8
+ return (_jsx(CancellationLayout, { title: "Excursion", icon: "map", image: image, cancellationFee: cancellationFee, currency: currency, children: _jsxs("div", { className: "space-y-6", children: [_jsxs("div", { className: "space-y-1", children: [_jsx(Text, { variant: "bold", children: excursionName }), _jsx(DateDisplay, { dates: [date] })] }), _jsxs(ServiceInfo, { children: [_jsx(ServiceInfo.Item, { icon: "stopwatch", label: "Duration", children: details.duration }), _jsx(ServiceInfo.Item, { icon: "utensils", label: "Meal", children: details.meal }), _jsx(ServiceInfo.Item, { icon: "bike", label: "Difficulty", children: details.accessibility }), _jsx(ServiceInfo.Item, { icon: "car", label: "Transfer Type", children: details.transferType })] }), _jsxs("div", { className: "", children: [_jsx(Text, { variant: "bold", size: "xs", leading: "4", children: policy.title }), _jsx(Text, { size: "xs", leading: "4", children: policy.description })] })] }) }));
20
9
  };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { DialogCancellationAccomProps } from './DialogCancellationAccom';
3
3
  import { DialogCancellationExcursionProps } from './DialogCancellationExcursion';
4
- export interface CancellationItem {
4
+ export interface CancellationPolicyItem {
5
5
  /**
6
6
  * The type of the cancellation.
7
7
  */
@@ -15,9 +15,9 @@ export interface DialogCancellationListProps {
15
15
  /**
16
16
  * The cancellations to display.
17
17
  */
18
- cancellations: CancellationItem[];
18
+ cancellations: CancellationPolicyItem[];
19
19
  }
20
- export declare const DialogCancellations: (props: DialogCancellationListProps) => import("react/jsx-runtime").JSX.Element;
20
+ export declare const CancellationsList: (props: DialogCancellationListProps) => import("react/jsx-runtime").JSX.Element;
21
21
  /**
22
22
  * DialogCancellationList is a component that allows the user to display the cancellations.
23
23
  *