mautourco-components 0.2.36 → 0.2.38

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 (242) hide show
  1. package/dist/components/molecules/ActionDropdown/ActionDropdown.d.ts +1 -1
  2. package/dist/components/molecules/ActionDropdown/ActionDropdown.js +4 -4
  3. package/dist/components/molecules/AddItemButton/AddItemButton.d.ts +1 -1
  4. package/dist/components/molecules/AddItemButton/AddItemButton.js +3 -3
  5. package/dist/components/molecules/BookingPax/BookingPax.d.ts +9 -6
  6. package/dist/components/molecules/BookingPax/BookingPax.js +2 -2
  7. package/dist/components/molecules/BookingPax/BookingPaxAccom.d.ts +1 -2
  8. package/dist/components/molecules/BookingPax/BookingPaxAccom.js +2 -2
  9. package/dist/components/molecules/BookingPax/BookingPaxClient/BookingPaxClient.d.ts +1 -1
  10. package/dist/components/molecules/BookingPax/BookingPaxClient/BookingPaxClient.js +2 -2
  11. package/dist/components/molecules/BookingPax/BookingPaxExcursion.d.ts +1 -2
  12. package/dist/components/molecules/BookingPax/BookingPaxExcursion.js +2 -2
  13. package/dist/components/molecules/BookingPax/BookingPaxHeader.d.ts +5 -5
  14. package/dist/components/molecules/BookingPax/BookingPaxHeader.js +2 -2
  15. package/dist/components/molecules/BookingPax/BookingPaxLayout/BookingPaxLayout.d.ts +1 -1
  16. package/dist/components/molecules/BookingPax/BookingPaxLayout/BookingPaxLayout.js +2 -2
  17. package/dist/components/molecules/BookingPax/BookingPaxRemarks.d.ts +1 -2
  18. package/dist/components/molecules/BookingPax/BookingPaxRemarks.js +4 -4
  19. package/dist/components/molecules/BookingPax/BookingPaxTransfer.d.ts +1 -2
  20. package/dist/components/molecules/BookingPax/BookingPaxTransfer.js +2 -2
  21. package/dist/components/molecules/BookingResume/BookingResume.d.ts +13 -8
  22. package/dist/components/molecules/BookingResume/BookingResume.js +2 -2
  23. package/dist/components/molecules/BookingResume/BookingResumeLayout/BookingResumeLayout.d.ts +1 -1
  24. package/dist/components/molecules/BookingResume/BookingResumeLayout/BookingResumeLayout.js +2 -2
  25. package/dist/components/molecules/BookingResume/ResumeAccom/ResumeAccom.d.ts +1 -2
  26. package/dist/components/molecules/BookingResume/ResumeAccom/ResumeAccom.js +2 -2
  27. package/dist/components/molecules/BookingResume/ResumeExcursion/ResumeExcursion.d.ts +1 -2
  28. package/dist/components/molecules/BookingResume/ResumeExcursion/ResumeExcursion.js +2 -2
  29. package/dist/components/molecules/BookingResume/ResumeOtherService.d.ts +1 -2
  30. package/dist/components/molecules/BookingResume/ResumeOtherService.js +2 -2
  31. package/dist/components/molecules/BookingResume/ResumeTransfer.d.ts +1 -2
  32. package/dist/components/molecules/BookingResume/ResumeTransfer.js +2 -2
  33. package/dist/components/molecules/Breadcrumbs/Breadcrumbs.d.ts +1 -2
  34. package/dist/components/molecules/Breadcrumbs/Breadcrumbs.js +2 -2
  35. package/dist/components/molecules/DateDisplay/DateDisplay.d.ts +1 -2
  36. package/dist/components/molecules/DateDisplay/DateDisplay.js +3 -3
  37. package/dist/components/molecules/DetailsInfo/DetailsAction.d.ts +1 -2
  38. package/dist/components/molecules/DetailsInfo/DetailsAction.js +2 -2
  39. package/dist/components/molecules/DetailsInfo/DetailsAgency/DetailsAgency.d.ts +1 -1
  40. package/dist/components/molecules/DetailsInfo/DetailsAgency/DetailsAgency.js +2 -2
  41. package/dist/components/molecules/DetailsInfo/DetailsClient/DetailsClient.d.ts +1 -2
  42. package/dist/components/molecules/DetailsInfo/DetailsClient/DetailsClient.js +2 -2
  43. package/dist/components/molecules/DetailsInfo/DetailsFile.d.ts +1 -2
  44. package/dist/components/molecules/DetailsInfo/DetailsFile.js +2 -2
  45. package/dist/components/molecules/DetailsInfo/DetailsInfo.d.ts +8 -4
  46. package/dist/components/molecules/DialogContentPolicy/CancellationLayout/CancellationLayout.d.ts +1 -1
  47. package/dist/components/molecules/DialogContentPolicy/CancellationLayout/CancellationLayout.js +2 -2
  48. package/dist/components/molecules/DialogContentPolicy/DialogCancellationAccom.d.ts +1 -1
  49. package/dist/components/molecules/DialogContentPolicy/DialogCancellationAccom.js +2 -2
  50. package/dist/components/molecules/DialogContentPolicy/DialogCancellationExcursion.d.ts +1 -1
  51. package/dist/components/molecules/DialogContentPolicy/DialogCancellationExcursion.js +2 -2
  52. package/dist/components/molecules/DialogContentPolicy/DialogCancellationList.d.ts +2 -3
  53. package/dist/components/molecules/DialogContentPolicy/DialogCancellationList.js +4 -4
  54. package/dist/components/molecules/DialogContentPolicy/DialogContentPolicy.d.ts +9 -6
  55. package/dist/components/molecules/DialogContentPolicy/DialogContentPolicy.js +2 -2
  56. package/dist/components/molecules/FromTo/FromTo.d.ts +1 -1
  57. package/dist/components/molecules/FromTo/FromTo.js +2 -2
  58. package/dist/components/molecules/GlobalAmenities/GlobalAmenities.d.ts +1 -2
  59. package/dist/components/molecules/GlobalAmenities/GlobalAmenities.js +2 -2
  60. package/dist/components/molecules/PaxChips/PaxChips.d.ts +1 -2
  61. package/dist/components/molecules/PaxChips/PaxChips.js +2 -2
  62. package/dist/components/molecules/PaxDisplay/PaxDisplay.d.ts +1 -1
  63. package/dist/components/molecules/PaxDisplay/PaxDisplay.js +2 -2
  64. package/dist/components/molecules/ServiceTitle/ServiceTitle.d.ts +1 -1
  65. package/dist/components/molecules/ServiceTitle/ServiceTitle.js +2 -2
  66. package/dist/components/molecules/StepperTimeline/StepperTimeline.d.ts +3 -2
  67. package/dist/components/molecules/StepperTimeline/StepperTimeline.js +2 -2
  68. package/dist/components/molecules/TableServiceItem/DetailsCol.d.ts +1 -1
  69. package/dist/components/molecules/TableServiceItem/DetailsCol.js +2 -2
  70. package/dist/components/molecules/TableServiceItem/ItemCol.d.ts +1 -1
  71. package/dist/components/molecules/TableServiceItem/ItemCol.js +2 -2
  72. package/dist/components/molecules/TableServiceItem/RowAccommodation.d.ts +2 -3
  73. package/dist/components/molecules/TableServiceItem/RowAccommodation.js +9 -6
  74. package/dist/components/molecules/TableServiceItem/RowExcursion.d.ts +3 -4
  75. package/dist/components/molecules/TableServiceItem/RowExcursion.js +5 -5
  76. package/dist/components/molecules/TableServiceItem/RowOtherServices.d.ts +3 -4
  77. package/dist/components/molecules/TableServiceItem/RowOtherServices.js +4 -4
  78. package/dist/components/molecules/TableServiceItem/RowTransfer.d.ts +3 -4
  79. package/dist/components/molecules/TableServiceItem/RowTransfer.js +4 -4
  80. package/dist/components/molecules/TableServiceItem/index.d.ts +4 -4
  81. package/dist/components/molecules/TextWithBorderBottom/TextWithBorderBottom.d.ts +1 -2
  82. package/dist/components/molecules/TextWithBorderBottom/TextWithBorderBottom.js +2 -2
  83. package/dist/components/molecules/TextWithIcon/TextWithIcon.d.ts +1 -1
  84. package/dist/components/molecules/TextWithIcon/TextWithIcon.js +2 -2
  85. package/dist/components/molecules/TimelineItem/ServiceAccommodation.d.ts +1 -2
  86. package/dist/components/molecules/TimelineItem/ServiceAccommodation.js +2 -2
  87. package/dist/components/molecules/TimelineItem/ServiceExcursion.d.ts +1 -2
  88. package/dist/components/molecules/TimelineItem/ServiceExcursion.js +2 -2
  89. package/dist/components/molecules/TimelineItem/ServiceTransfer.d.ts +1 -2
  90. package/dist/components/molecules/TimelineItem/ServiceTransfer.js +2 -2
  91. package/dist/components/molecules/TimelineItem/TimelineHeader.d.ts +1 -2
  92. package/dist/components/molecules/TimelineItem/TimelineHeader.js +2 -2
  93. package/dist/components/molecules/TimelineItem/TimelineItem.d.ts +6 -3
  94. package/dist/components/molecules/Toast/Toast.d.ts +1 -2
  95. package/dist/components/molecules/Toast/Toast.js +3 -3
  96. package/dist/components/molecules/TooltipDisplay/TooltipDisplay.d.ts +1 -1
  97. package/dist/components/molecules/TooltipDisplay/TooltipDisplay.js +2 -2
  98. package/dist/components/organisms/Booking/Booking.d.ts +8 -4
  99. package/dist/components/organisms/Booking/BookingDocket/BookingDocket.d.ts +1 -1
  100. package/dist/components/organisms/Booking/BookingDocket/BookingDocket.js +2 -2
  101. package/dist/components/organisms/Booking/BookingHeader.d.ts +1 -2
  102. package/dist/components/organisms/Booking/BookingHeader.js +2 -2
  103. package/dist/components/organisms/Booking/BookingPaxList.d.ts +1 -2
  104. package/dist/components/organisms/Booking/BookingPaxList.js +2 -2
  105. package/dist/components/organisms/Booking/BookingStep/BookingStep.d.ts +1 -2
  106. package/dist/components/organisms/Booking/BookingStep/BookingStep.js +2 -2
  107. package/dist/components/organisms/DialogBookingAddItem/AddItemNewService.d.ts +1 -1
  108. package/dist/components/organisms/DialogBookingAddItem/AddItemNewService.js +2 -2
  109. package/dist/components/organisms/DialogBookingAddItem/AddItemSelector.d.ts +1 -1
  110. package/dist/components/organisms/DialogBookingAddItem/AddItemSelector.js +3 -3
  111. package/dist/components/organisms/DialogBookingAddItem/DialogBookingAddItem.d.ts +1 -2
  112. package/dist/components/organisms/DialogBookingAddItem/DialogBookingAddItem.js +2 -2
  113. package/dist/components/organisms/DialogBookingConfirm/BookingCancellationPolicy.d.ts +1 -1
  114. package/dist/components/organisms/DialogBookingConfirm/BookingCancellationPolicy.js +2 -2
  115. package/dist/components/organisms/DialogBookingConfirm/BookingMailSent.d.ts +1 -2
  116. package/dist/components/organisms/DialogBookingConfirm/BookingMailSent.js +2 -2
  117. package/dist/components/organisms/DialogBookingConfirm/BookingReference.d.ts +1 -2
  118. package/dist/components/organisms/DialogBookingConfirm/BookingReference.js +2 -2
  119. package/dist/components/organisms/DialogBookingConfirm/BookingSuccess.d.ts +1 -2
  120. package/dist/components/organisms/DialogBookingConfirm/BookingSuccess.js +2 -2
  121. package/dist/components/organisms/DialogBookingConfirm/DialogBookingConfirm.d.ts +11 -7
  122. package/dist/components/organisms/DialogBookingConfirm/DialogBookingConfirm.js +2 -2
  123. package/dist/components/organisms/DialogCancelService/CancelBooking/CancelBooking.d.ts +1 -2
  124. package/dist/components/organisms/DialogCancelService/CancelBooking/CancelBooking.js +2 -2
  125. package/dist/components/organisms/DialogCancelService/CancelPolicy.d.ts +1 -2
  126. package/dist/components/organisms/DialogCancelService/CancelPolicy.js +2 -2
  127. package/dist/components/organisms/DialogCancelService/ConfirmDelete/ConfirmDelete.d.ts +1 -2
  128. package/dist/components/organisms/DialogCancelService/ConfirmDelete/ConfirmDelete.js +2 -2
  129. package/dist/components/organisms/DialogCancelService/DialogCancelService.d.ts +9 -7
  130. package/dist/components/organisms/DialogCancelService/DialogCancelService.js +2 -2
  131. package/dist/components/organisms/DialogCancelService/FromList.d.ts +1 -1
  132. package/dist/components/organisms/DialogCancelService/FromList.js +2 -2
  133. package/dist/components/organisms/DialogComparison/DialogComparison.d.ts +1 -1
  134. package/dist/components/organisms/DialogComparison/DialogComparison.js +2 -2
  135. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirm.d.ts +8 -6
  136. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirm.js +2 -2
  137. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmMultiple/DialogDeleteConfirmMultiple.d.ts +1 -2
  138. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmMultiple/DialogDeleteConfirmMultiple.js +2 -2
  139. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmWrapper.d.ts +1 -1
  140. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmWrapper.js +2 -2
  141. package/dist/components/organisms/DialogQuoteRename/DialogQuoteRename.d.ts +1 -1
  142. package/dist/components/organisms/DialogQuoteRename/DialogQuoteRename.js +2 -2
  143. package/dist/components/organisms/DialogSendingMail/DialogSendingMail.d.ts +7 -5
  144. package/dist/components/organisms/DialogSendingMail/DialogSendingMail.js +2 -2
  145. package/dist/components/organisms/DialogSendingMail/DialogSendingMailContent.d.ts +1 -2
  146. package/dist/components/organisms/DialogSendingMail/DialogSendingMailContent.js +2 -2
  147. package/dist/components/organisms/DialogSendingMail/DialogSendingMailMultiple/DialogSendingMailMultiple.d.ts +1 -2
  148. package/dist/components/organisms/DialogSendingMail/DialogSendingMailMultiple/DialogSendingMailMultiple.js +2 -2
  149. package/dist/components/organisms/QuoteHeader/QuoteHeader.css +72 -46
  150. package/dist/components/organisms/TabServiceDetails/Accommodation.d.ts +1 -2
  151. package/dist/components/organisms/TabServiceDetails/Accommodation.js +2 -2
  152. package/dist/components/organisms/TabServiceDetails/DetailContentTransfer.d.ts +1 -2
  153. package/dist/components/organisms/TabServiceDetails/DetailContentTransfer.js +2 -2
  154. package/dist/components/organisms/TabServiceDetails/DetailsContentAccom.d.ts +14 -1
  155. package/dist/components/organisms/TabServiceDetails/DetailsContentAccom.js +2 -2
  156. package/dist/components/organisms/TabServiceDetails/Excursion.d.ts +1 -2
  157. package/dist/components/organisms/TabServiceDetails/Excursion.js +2 -2
  158. package/dist/components/organisms/TabServiceDetails/TabServiceDetails.d.ts +3 -3
  159. package/dist/components/organisms/TabServiceDetails/Transfer.d.ts +1 -2
  160. package/dist/components/organisms/TabServiceDetails/Transfer.js +2 -2
  161. package/dist/components/organisms/Table/Table.d.ts +1 -1
  162. package/dist/components/organisms/Table/Table.js +2 -2
  163. package/package.json +1 -1
  164. package/src/components/molecules/ActionDropdown/ActionDropdown.tsx +3 -6
  165. package/src/components/molecules/AddItemButton/AddItemButton.tsx +3 -2
  166. package/src/components/molecules/BookingPax/BookingPax.tsx +2 -2
  167. package/src/components/molecules/BookingPax/BookingPaxAccom.tsx +3 -3
  168. package/src/components/molecules/BookingPax/BookingPaxClient/BookingPaxClient.tsx +2 -2
  169. package/src/components/molecules/BookingPax/BookingPaxExcursion.tsx +3 -3
  170. package/src/components/molecules/BookingPax/BookingPaxHeader.tsx +2 -2
  171. package/src/components/molecules/BookingPax/BookingPaxLayout/BookingPaxLayout.tsx +2 -2
  172. package/src/components/molecules/BookingPax/BookingPaxRemarks.tsx +3 -2
  173. package/src/components/molecules/BookingPax/BookingPaxTransfer.tsx +2 -2
  174. package/src/components/molecules/BookingResume/BookingResume.tsx +2 -2
  175. package/src/components/molecules/BookingResume/BookingResumeLayout/BookingResumeLayout.tsx +2 -2
  176. package/src/components/molecules/BookingResume/ResumeAccom/ResumeAccom.tsx +2 -3
  177. package/src/components/molecules/BookingResume/ResumeExcursion/ResumeExcursion.tsx +2 -3
  178. package/src/components/molecules/BookingResume/ResumeOtherService.tsx +2 -3
  179. package/src/components/molecules/BookingResume/ResumeTransfer.tsx +2 -3
  180. package/src/components/molecules/Breadcrumbs/Breadcrumbs.tsx +2 -3
  181. package/src/components/molecules/DateDisplay/DateDisplay.tsx +11 -10
  182. package/src/components/molecules/DetailsInfo/DetailsAction.tsx +2 -3
  183. package/src/components/molecules/DetailsInfo/DetailsAgency/DetailsAgency.tsx +2 -2
  184. package/src/components/molecules/DetailsInfo/DetailsClient/DetailsClient.tsx +2 -3
  185. package/src/components/molecules/DetailsInfo/DetailsFile.tsx +2 -3
  186. package/src/components/molecules/DialogContentPolicy/CancellationLayout/CancellationLayout.tsx +2 -2
  187. package/src/components/molecules/DialogContentPolicy/DialogCancellationAccom.tsx +2 -4
  188. package/src/components/molecules/DialogContentPolicy/DialogCancellationExcursion.tsx +2 -4
  189. package/src/components/molecules/DialogContentPolicy/DialogCancellationList.tsx +4 -5
  190. package/src/components/molecules/DialogContentPolicy/DialogContentPolicy.tsx +2 -2
  191. package/src/components/molecules/FromTo/FromTo.tsx +2 -2
  192. package/src/components/molecules/GlobalAmenities/GlobalAmenities.tsx +2 -3
  193. package/src/components/molecules/PaxChips/PaxChips.tsx +2 -3
  194. package/src/components/molecules/PaxDisplay/PaxDisplay.tsx +2 -2
  195. package/src/components/molecules/ServiceTitle/ServiceTitle.tsx +2 -2
  196. package/src/components/molecules/StepperTimeline/StepperTimeline.tsx +2 -2
  197. package/src/components/molecules/TableServiceItem/DetailsCol.tsx +2 -2
  198. package/src/components/molecules/TableServiceItem/ItemCol.tsx +2 -2
  199. package/src/components/molecules/TableServiceItem/RowAccommodation.tsx +17 -7
  200. package/src/components/molecules/TableServiceItem/RowExcursion.tsx +12 -6
  201. package/src/components/molecules/TableServiceItem/RowOtherServices.tsx +4 -5
  202. package/src/components/molecules/TableServiceItem/RowTransfer.tsx +4 -7
  203. package/src/components/molecules/TextWithBorderBottom/TextWithBorderBottom.tsx +2 -3
  204. package/src/components/molecules/TextWithIcon/TextWithIcon.tsx +2 -2
  205. package/src/components/molecules/TimelineItem/ServiceAccommodation.tsx +2 -3
  206. package/src/components/molecules/TimelineItem/ServiceExcursion.tsx +2 -3
  207. package/src/components/molecules/TimelineItem/ServiceTransfer.tsx +2 -3
  208. package/src/components/molecules/TimelineItem/TimelineHeader.tsx +2 -3
  209. package/src/components/molecules/Toast/Toast.tsx +9 -9
  210. package/src/components/molecules/TooltipDisplay/TooltipDisplay.tsx +2 -2
  211. package/src/components/organisms/Booking/BookingDocket/BookingDocket.tsx +2 -2
  212. package/src/components/organisms/Booking/BookingHeader.tsx +2 -3
  213. package/src/components/organisms/Booking/BookingPaxList.tsx +3 -3
  214. package/src/components/organisms/Booking/BookingStep/BookingStep.tsx +3 -3
  215. package/src/components/organisms/DialogBookingAddItem/AddItemNewService.tsx +2 -2
  216. package/src/components/organisms/DialogBookingAddItem/AddItemSelector.tsx +3 -2
  217. package/src/components/organisms/DialogBookingAddItem/DialogBookingAddItem.tsx +3 -3
  218. package/src/components/organisms/DialogBookingConfirm/BookingCancellationPolicy.tsx +2 -2
  219. package/src/components/organisms/DialogBookingConfirm/BookingMailSent.tsx +2 -3
  220. package/src/components/organisms/DialogBookingConfirm/BookingReference.tsx +3 -3
  221. package/src/components/organisms/DialogBookingConfirm/BookingSuccess.tsx +2 -3
  222. package/src/components/organisms/DialogBookingConfirm/DialogBookingConfirm.tsx +2 -2
  223. package/src/components/organisms/DialogCancelService/CancelBooking/CancelBooking.tsx +3 -3
  224. package/src/components/organisms/DialogCancelService/CancelPolicy.tsx +2 -3
  225. package/src/components/organisms/DialogCancelService/ConfirmDelete/ConfirmDelete.tsx +2 -3
  226. package/src/components/organisms/DialogCancelService/DialogCancelService.tsx +2 -2
  227. package/src/components/organisms/DialogCancelService/FromList.tsx +3 -3
  228. package/src/components/organisms/DialogComparison/DialogComparison.tsx +2 -2
  229. package/src/components/organisms/DialogDeleteConfirm/DialogDeleteConfirm.tsx +2 -2
  230. package/src/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmMultiple/DialogDeleteConfirmMultiple.tsx +3 -5
  231. package/src/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmWrapper.tsx +2 -2
  232. package/src/components/organisms/DialogQuoteRename/DialogQuoteRename.tsx +2 -2
  233. package/src/components/organisms/DialogSendingMail/DialogSendingMail.tsx +2 -2
  234. package/src/components/organisms/DialogSendingMail/DialogSendingMailContent.tsx +3 -5
  235. package/src/components/organisms/DialogSendingMail/DialogSendingMailMultiple/DialogSendingMailMultiple.tsx +3 -5
  236. package/src/components/organisms/QuoteHeader/QuoteHeader.css +26 -27
  237. package/src/components/organisms/TabServiceDetails/Accommodation.tsx +2 -3
  238. package/src/components/organisms/TabServiceDetails/DetailContentTransfer.tsx +2 -3
  239. package/src/components/organisms/TabServiceDetails/DetailsContentAccom.tsx +3 -3
  240. package/src/components/organisms/TabServiceDetails/Excursion.tsx +2 -3
  241. package/src/components/organisms/TabServiceDetails/Transfer.tsx +2 -3
  242. package/src/components/organisms/Table/Table.tsx +2 -2
@@ -13,9 +13,9 @@ export interface FromListProps<T extends TableRowData<T> = DetailResumeItem> {
13
13
  onSaveAndUpdate?: () => void;
14
14
  }
15
15
 
16
- export const FromList = <T extends TableRowData<T> = DetailResumeItem>(
16
+ export function FromList<T extends TableRowData<T> = DetailResumeItem>(
17
17
  props: FromListProps<T>
18
- ) => {
18
+ ) {
19
19
  const { data, columns, totalRows, onRemove, onCancel, onSaveAndUpdate } = props;
20
20
 
21
21
  // When using default columns, we need to ensure T is compatible with DetailResumeItem
@@ -47,4 +47,4 @@ export const FromList = <T extends TableRowData<T> = DetailResumeItem>(
47
47
  </div>
48
48
  </div>
49
49
  );
50
- };
50
+ }
@@ -62,7 +62,7 @@ export const isComparisonOtherService = (
62
62
  return data.Type === ServiceType.OTHER_SERVICE;
63
63
  };
64
64
 
65
- export const DialogComparison = (props: DialogComparisonProps) => {
65
+ export function DialogComparison(props: DialogComparisonProps) {
66
66
  const { open, data, columns, setOpen, onBookNow } = props;
67
67
  const [selectedValues, setSelectedValues] = useState<string[]>([]);
68
68
  const [filteredData, setFilteredData] = useState<MultiComparisonData[]>(data);
@@ -154,4 +154,4 @@ export const DialogComparison = (props: DialogComparisonProps) => {
154
154
  </div>
155
155
  </DialogBookingConfirm>
156
156
  );
157
- };
157
+ }
@@ -20,7 +20,7 @@ const DialogDeleteConfirmText = (props: { children: React.ReactNode }) => {
20
20
  );
21
21
  };
22
22
 
23
- export const DialogDeleteConfirm = (props: DialogDeleteConfirmProps) => {
23
+ export function DialogDeleteConfirm(props: DialogDeleteConfirmProps) {
24
24
  const { open, title, children, setOpen } = props;
25
25
  return (
26
26
  <DialogBookingConfirm
@@ -32,7 +32,7 @@ export const DialogDeleteConfirm = (props: DialogDeleteConfirmProps) => {
32
32
  {children}
33
33
  </DialogBookingConfirm>
34
34
  );
35
- };
35
+ }
36
36
 
37
37
  DialogDeleteConfirm.Text = DialogDeleteConfirmText;
38
38
  DialogDeleteConfirm.Wrapper = DialogDeleteConfirmWrapper;
@@ -1,5 +1,5 @@
1
1
  import Toast from '@/src/components/molecules/Toast';
2
- import React, { useEffect, useState } from 'react';
2
+ import { useEffect, useState } from 'react';
3
3
  import Checkbox from '../../../atoms/Checkbox/Checkbox';
4
4
  import { DialogDeleteConfirm } from '../DialogDeleteConfirm';
5
5
  import './DialogDeleteConfirmMultiple.css';
@@ -15,9 +15,7 @@ export interface DialogDeleteConfirmMultipleProps {
15
15
  quotes: AvailableQuote[];
16
16
  }
17
17
 
18
- export const DialogDeleteConfirmMultiple: React.FC<DialogDeleteConfirmMultipleProps> = (
19
- props
20
- ) => {
18
+ export function DialogDeleteConfirmMultiple(props: DialogDeleteConfirmMultipleProps) {
21
19
  const { quotes, onCancel, onDelete } = props;
22
20
 
23
21
  const [selectedQuotes, setSelectedQuotes] = useState<string[]>([]);
@@ -81,4 +79,4 @@ export const DialogDeleteConfirmMultiple: React.FC<DialogDeleteConfirmMultiplePr
81
79
  </div>
82
80
  </DialogDeleteConfirm.Wrapper>
83
81
  );
84
- };
82
+ }
@@ -9,7 +9,7 @@ export interface DialogDeleteConfirmWrapperProps {
9
9
  children: React.ReactNode;
10
10
  }
11
11
 
12
- export const DialogDeleteConfirmWrapper = (props: DialogDeleteConfirmWrapperProps) => {
12
+ export function DialogDeleteConfirmWrapper(props: DialogDeleteConfirmWrapperProps) {
13
13
  const {
14
14
  onCancel,
15
15
  cancelText = 'Cancel',
@@ -31,4 +31,4 @@ export const DialogDeleteConfirmWrapper = (props: DialogDeleteConfirmWrapperProp
31
31
  </div>
32
32
  </div>
33
33
  );
34
- };
34
+ }
@@ -11,7 +11,7 @@ export interface DialogQuoteRenameProps {
11
11
  onSubmit: (quoteName: string) => void;
12
12
  }
13
13
 
14
- export const DialogQuoteRename = (props: DialogQuoteRenameProps) => {
14
+ export function DialogQuoteRename(props: DialogQuoteRenameProps) {
15
15
  const { open, setOpen, quoteName, onSubmit } = props;
16
16
  const [value, setValue] = useState(quoteName);
17
17
 
@@ -45,4 +45,4 @@ export const DialogQuoteRename = (props: DialogQuoteRenameProps) => {
45
45
  </div>
46
46
  </DialogBookingConfirm>
47
47
  );
48
- };
48
+ }
@@ -10,7 +10,7 @@ export interface DialogSendingMailProps {
10
10
  type?: 'booking' | 'quotation';
11
11
  }
12
12
 
13
- export const DialogSendingMail = (props: DialogSendingMailProps) => {
13
+ export function DialogSendingMail(props: DialogSendingMailProps) {
14
14
  const { open, setOpen, children, type = 'booking' } = props;
15
15
 
16
16
  return (
@@ -23,7 +23,7 @@ export const DialogSendingMail = (props: DialogSendingMailProps) => {
23
23
  {children}
24
24
  </DialogBookingConfirm>
25
25
  );
26
- };
26
+ }
27
27
 
28
28
  DialogSendingMail.SingleQuote = DialogSendingMailContent;
29
29
  DialogSendingMail.MultipleQuotes = DialogSendingMailMultiple;
@@ -1,5 +1,5 @@
1
1
  import { zodResolver } from '@hookform/resolvers/zod';
2
- import React, { useEffect } from 'react';
2
+ import { useEffect } from 'react';
3
3
  import { useForm } from 'react-hook-form';
4
4
  import Button from '../../atoms/Button/Button';
5
5
  import Input from '../../atoms/Inputs/Input/Input';
@@ -21,9 +21,7 @@ export interface DialogSendingMailContentProps {
21
21
  onCancel?: () => void;
22
22
  }
23
23
 
24
- export const DialogSendingMailContent: React.FC<DialogSendingMailContentProps> = (
25
- props
26
- ) => {
24
+ export function DialogSendingMailContent(props: DialogSendingMailContentProps) {
27
25
  const { userInfo, subject, type, onSubmit, onPreviewAttachment, onCancel } = props;
28
26
 
29
27
  const messageText = () => {
@@ -113,4 +111,4 @@ export const DialogSendingMailContent: React.FC<DialogSendingMailContentProps> =
113
111
  </form>
114
112
  </Form>
115
113
  );
116
- };
114
+ }
@@ -1,6 +1,6 @@
1
1
  import Checkbox from '@/src/components/atoms/Checkbox/Checkbox';
2
2
  import SelectedValue from '@/src/components/atoms/SelectedValue/SelectedValue';
3
- import React, { useEffect, useMemo, useState } from 'react';
3
+ import { useEffect, useMemo, useState } from 'react';
4
4
  import {
5
5
  DialogSendingMailContent,
6
6
  DialogSendingMailContentProps,
@@ -57,9 +57,7 @@ export interface DialogSendingMailMultipleProps extends Omit<
57
57
  *
58
58
  * @param props - The props of the component
59
59
  */
60
- export const DialogSendingMailMultiple: React.FC<DialogSendingMailMultipleProps> = (
61
- props
62
- ) => {
60
+ export function DialogSendingMailMultiple(props: DialogSendingMailMultipleProps) {
63
61
  const { data, onSelected, onSubmit, onPreviewAttachment, ...rest } = props;
64
62
 
65
63
  const [isSelectAll, setIsSelectAll] = useState(false);
@@ -179,4 +177,4 @@ export const DialogSendingMailMultiple: React.FC<DialogSendingMailMultipleProps>
179
177
  />
180
178
  </div>
181
179
  );
182
- };
180
+ }
@@ -1,37 +1,36 @@
1
1
  .quote-header {
2
2
  @apply w-full;
3
- }
4
-
5
- .quote-header__button {
6
- width: 206px;
7
- }
3
+ .quote-header__button {
4
+ width: 206px;
5
+ }
8
6
 
9
- .quote-header__title {
10
- @apply px-2 relative mb-10;
11
- &::before {
12
- content: '';
13
- @apply absolute top-1/2 left-0 -translate-y-1/2;
14
- @apply w-1 h-8;
15
- background-color: var(--color-elevation-brand-subtle);
7
+ .quote-header__title {
8
+ @apply px-2 relative mb-10;
9
+ &::before {
10
+ content: '';
11
+ @apply absolute top-1/2 left-0 -translate-y-1/2;
12
+ @apply w-1 h-8;
13
+ background-color: var(--color-elevation-brand-subtle);
14
+ }
16
15
  }
17
- }
18
16
 
19
- .quote-header__search-container {
20
- @apply mt-12;
21
- @apply flex justify-between;
22
- > button {
23
- @apply gap-x-2.5;
24
- min-width: 129px;
17
+ .quote-header__search-container {
18
+ @apply mt-12;
19
+ @apply flex justify-between;
20
+ > button {
21
+ @apply gap-x-2.5;
22
+ min-width: 129px;
23
+ }
25
24
  }
26
- }
27
25
 
28
- .quote-header__search {
29
- width: 364px;
30
- }
26
+ .quote-header__search {
27
+ width: 364px;
28
+ }
31
29
 
32
- .quote-header__filters {
33
- @apply flex gap-3 my-8;
34
- .dropdown-container {
35
- width: 139px;
30
+ .quote-header__filters {
31
+ @apply flex gap-3 my-8;
32
+ .dropdown-container {
33
+ width: 139px;
34
+ }
36
35
  }
37
36
  }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { DetailsContentAccom, DetailsContentAccomProps } from './DetailsContentAccom';
3
2
  import TabServiceDetails from './TabServiceDetails';
4
3
 
@@ -26,7 +25,7 @@ export interface AccommodationProps extends DetailsContentAccomProps {
26
25
  * @param props - Props of the Accommodation component
27
26
  * @returns The Accommodation component
28
27
  */
29
- export const Accommodation: React.FC<AccommodationProps> = (props) => {
28
+ export function Accommodation(props: AccommodationProps) {
30
29
  const { images, isOnRequest, ...rest } = props;
31
30
  return (
32
31
  <TabServiceDetails.Layout
@@ -42,4 +41,4 @@ export const Accommodation: React.FC<AccommodationProps> = (props) => {
42
41
  <DetailsContentAccom {...rest} />
43
42
  </TabServiceDetails.Layout>
44
43
  );
45
- };
44
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import Chip from '../../atoms/Chip/Chip';
3
2
 
4
3
  export interface DetailContentTransferProps {
@@ -9,7 +8,7 @@ export interface DetailContentTransferProps {
9
8
  luggageTruck?: number;
10
9
  }
11
10
 
12
- export const DetailContentTransfer: React.FC<DetailContentTransferProps> = (props) => {
11
+ export function DetailContentTransfer(props: DetailContentTransferProps) {
13
12
  const { pax, clientType, carName, airConditioning, luggageTruck } = props;
14
13
  return (
15
14
  <div className="flex gap-4">
@@ -42,4 +41,4 @@ export const DetailContentTransfer: React.FC<DetailContentTransferProps> = (prop
42
41
  )}
43
42
  </div>
44
43
  );
45
- };
44
+ }
@@ -44,9 +44,9 @@ export interface DetailsContentAccomProps {
44
44
  * @param props - Props of the DetailsContentAccomBody component
45
45
  * @returns The DetailsContentAccomBody component
46
46
  */
47
- const DetailsContentAccomBody = (
47
+ function DetailsContentAccomBody(
48
48
  props: Omit<DetailsContentAccomProps, 'roomTitle' | 'roomDescription'>
49
- ) => {
49
+ ) {
50
50
  const { roomsInfo, globalAmenities } = props;
51
51
  return (
52
52
  <div className="space-y-4">
@@ -85,7 +85,7 @@ const DetailsContentAccomBody = (
85
85
  </div>
86
86
  </div>
87
87
  );
88
- };
88
+ }
89
89
 
90
90
  /**
91
91
  * Details content for the Accommodation component.
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import {
3
2
  DetailsContentExcursion,
4
3
  DetailsContentExcursionProps,
@@ -10,11 +9,11 @@ export interface ExcursionProps extends DetailsContentExcursionProps {
10
9
  images: string[];
11
10
  }
12
11
 
13
- export const Excursion: React.FC<ExcursionProps> = (props) => {
12
+ export function Excursion(props: ExcursionProps) {
14
13
  const { images, ...rest } = props;
15
14
  return (
16
15
  <TabServiceDetails.Layout title="Excursion" icon="map" images={images}>
17
16
  <DetailsContentExcursion {...rest} />
18
17
  </TabServiceDetails.Layout>
19
18
  );
20
- };
19
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import CancellationHeader from '../TabCancellationPolicy/CancellationHeader';
3
2
  import { TransferData } from '../TabCancellationPolicy/HeaderExcursion/HeaderTransfer';
4
3
  import TabCancellationPolicy from '../TabCancellationPolicy/TabCancellationPolicy';
@@ -16,7 +15,7 @@ export interface TransferProps {
16
15
  transferDetails: DetailContentTransferProps;
17
16
  }
18
17
 
19
- export const Transfer: React.FC<TransferProps> = (props) => {
18
+ export function Transfer(props: TransferProps) {
20
19
  const { image, transferData, transferDetails } = props;
21
20
  return (
22
21
  <TabCancellationPolicy.Layout
@@ -31,4 +30,4 @@ export const Transfer: React.FC<TransferProps> = (props) => {
31
30
  <DetailContentTransfer {...transferDetails} />
32
31
  </TabCancellationPolicy.Layout>
33
32
  );
34
- };
33
+ }
@@ -139,7 +139,7 @@ const NestedContent = <T extends TableRowData<T>>({
139
139
  * @returns React.ReactNode
140
140
  *
141
141
  */
142
- export const Table = <T extends TableRowData<T>>(props: TableProps<T>) => {
142
+ export function Table<T extends TableRowData<T>>(props: TableProps<T>) {
143
143
  const {
144
144
  columns,
145
145
  data,
@@ -309,4 +309,4 @@ export const Table = <T extends TableRowData<T>>(props: TableProps<T>) => {
309
309
  </div>
310
310
  </LazyMotion>
311
311
  );
312
- };
312
+ }