@roomstay/frontend 1.3.0

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 (941) hide show
  1. package/README.md +0 -0
  2. package/dist/src/animations/AutoAutoHeight.d.ts +8 -0
  3. package/dist/src/animations/AutoAutoHeight.js +48 -0
  4. package/dist/src/animations/AutoAutoHeight.js.map +1 -0
  5. package/dist/src/animations/Fade.d.ts +9 -0
  6. package/dist/src/animations/Fade.js +35 -0
  7. package/dist/src/animations/Fade.js.map +1 -0
  8. package/dist/src/api/AddonAPI.d.ts +7 -0
  9. package/dist/src/api/AddonAPI.js +68 -0
  10. package/dist/src/api/AddonAPI.js.map +1 -0
  11. package/dist/src/api/AvailabilityAPI.d.ts +40 -0
  12. package/dist/src/api/AvailabilityAPI.js +362 -0
  13. package/dist/src/api/AvailabilityAPI.js.map +1 -0
  14. package/dist/src/api/BaseAPI.d.ts +32 -0
  15. package/dist/src/api/BaseAPI.js +111 -0
  16. package/dist/src/api/BaseAPI.js.map +1 -0
  17. package/dist/src/api/BookingAPI.d.ts +17 -0
  18. package/dist/src/api/BookingAPI.js +22 -0
  19. package/dist/src/api/BookingAPI.js.map +1 -0
  20. package/dist/src/api/ExchangeRateAPI.d.ts +5 -0
  21. package/dist/src/api/ExchangeRateAPI.js +23 -0
  22. package/dist/src/api/ExchangeRateAPI.js.map +1 -0
  23. package/dist/src/api/HotelAPI.d.ts +12 -0
  24. package/dist/src/api/HotelAPI.js +47 -0
  25. package/dist/src/api/HotelAPI.js.map +1 -0
  26. package/dist/src/api/MemberAPI.d.ts +4 -0
  27. package/dist/src/api/MemberAPI.js +28 -0
  28. package/dist/src/api/MemberAPI.js.map +1 -0
  29. package/dist/src/api/ReservationAPI.d.ts +14 -0
  30. package/dist/src/api/ReservationAPI.js +113 -0
  31. package/dist/src/api/ReservationAPI.js.map +1 -0
  32. package/dist/src/components/generic/Alert.d.ts +21 -0
  33. package/dist/src/components/generic/Alert.js +31 -0
  34. package/dist/src/components/generic/Alert.js.map +1 -0
  35. package/dist/src/components/generic/BEButton.d.ts +24 -0
  36. package/dist/src/components/generic/BEButton.js +60 -0
  37. package/dist/src/components/generic/BEButton.js.map +1 -0
  38. package/dist/src/components/generic/BESelect.d.ts +13 -0
  39. package/dist/src/components/generic/BESelect.js +47 -0
  40. package/dist/src/components/generic/BESelect.js.map +1 -0
  41. package/dist/src/components/generic/BETooltip.d.ts +7 -0
  42. package/dist/src/components/generic/BETooltip.js +44 -0
  43. package/dist/src/components/generic/BETooltip.js.map +1 -0
  44. package/dist/src/components/generic/BackButton.d.ts +6 -0
  45. package/dist/src/components/generic/BackButton.js +14 -0
  46. package/dist/src/components/generic/BackButton.js.map +1 -0
  47. package/dist/src/components/generic/BookNowPayLaterInfoBlock.d.ts +2 -0
  48. package/dist/src/components/generic/BookNowPayLaterInfoBlock.js +32 -0
  49. package/dist/src/components/generic/BookNowPayLaterInfoBlock.js.map +1 -0
  50. package/dist/src/components/generic/Checkbox.d.ts +8 -0
  51. package/dist/src/components/generic/Checkbox.js +22 -0
  52. package/dist/src/components/generic/Checkbox.js.map +1 -0
  53. package/dist/src/components/generic/Countdown.d.ts +8 -0
  54. package/dist/src/components/generic/Countdown.js +35 -0
  55. package/dist/src/components/generic/Countdown.js.map +1 -0
  56. package/dist/src/components/generic/Currency.d.ts +12 -0
  57. package/dist/src/components/generic/Currency.js +71 -0
  58. package/dist/src/components/generic/Currency.js.map +1 -0
  59. package/dist/src/components/generic/Distance.d.ts +6 -0
  60. package/dist/src/components/generic/Distance.js +22 -0
  61. package/dist/src/components/generic/Distance.js.map +1 -0
  62. package/dist/src/components/generic/Headline.d.ts +13 -0
  63. package/dist/src/components/generic/Headline.js +28 -0
  64. package/dist/src/components/generic/Headline.js.map +1 -0
  65. package/dist/src/components/generic/Icon.d.ts +79 -0
  66. package/dist/src/components/generic/Icon.js +105 -0
  67. package/dist/src/components/generic/Icon.js.map +1 -0
  68. package/dist/src/components/generic/InputGroup/InputGroup.d.ts +7 -0
  69. package/dist/src/components/generic/InputGroup/InputGroup.js +26 -0
  70. package/dist/src/components/generic/InputGroup/InputGroup.js.map +1 -0
  71. package/dist/src/components/generic/InputGroup/InputGroup.types.d.ts +1 -0
  72. package/dist/src/components/generic/InputGroup/InputGroup.types.js +3 -0
  73. package/dist/src/components/generic/InputGroup/InputGroup.types.js.map +1 -0
  74. package/dist/src/components/generic/LineBreak.d.ts +7 -0
  75. package/dist/src/components/generic/LineBreak.js +14 -0
  76. package/dist/src/components/generic/LineBreak.js.map +1 -0
  77. package/dist/src/components/generic/Notification.d.ts +14 -0
  78. package/dist/src/components/generic/Notification.js +44 -0
  79. package/dist/src/components/generic/Notification.js.map +1 -0
  80. package/dist/src/components/generic/NumberIncrement.d.ts +8 -0
  81. package/dist/src/components/generic/NumberIncrement.js +45 -0
  82. package/dist/src/components/generic/NumberIncrement.js.map +1 -0
  83. package/dist/src/components/generic/Pill.d.ts +18 -0
  84. package/dist/src/components/generic/Pill.js +29 -0
  85. package/dist/src/components/generic/Pill.js.map +1 -0
  86. package/dist/src/components/generic/Placeholder.d.ts +13 -0
  87. package/dist/src/components/generic/Placeholder.js +23 -0
  88. package/dist/src/components/generic/Placeholder.js.map +1 -0
  89. package/dist/src/components/generic/PromoCodeInput.d.ts +9 -0
  90. package/dist/src/components/generic/PromoCodeInput.js +113 -0
  91. package/dist/src/components/generic/PromoCodeInput.js.map +1 -0
  92. package/dist/src/components/generic/RecentSearchesCard.d.ts +9 -0
  93. package/dist/src/components/generic/RecentSearchesCard.js +47 -0
  94. package/dist/src/components/generic/RecentSearchesCard.js.map +1 -0
  95. package/dist/src/components/generic/ScrollToTop.d.ts +4 -0
  96. package/dist/src/components/generic/ScrollToTop.js +18 -0
  97. package/dist/src/components/generic/ScrollToTop.js.map +1 -0
  98. package/dist/src/components/generic/Select.d.ts +12 -0
  99. package/dist/src/components/generic/Select.js +18 -0
  100. package/dist/src/components/generic/Select.js.map +1 -0
  101. package/dist/src/components/generic/Text.d.ts +25 -0
  102. package/dist/src/components/generic/Text.js +37 -0
  103. package/dist/src/components/generic/Text.js.map +1 -0
  104. package/dist/src/components/generic/TextArea.d.ts +3 -0
  105. package/dist/src/components/generic/TextArea.js +9 -0
  106. package/dist/src/components/generic/TextArea.js.map +1 -0
  107. package/dist/src/components/generic/TextBox.d.ts +16 -0
  108. package/dist/src/components/generic/TextBox.js +50 -0
  109. package/dist/src/components/generic/TextBox.js.map +1 -0
  110. package/dist/src/components/generic/badging/SSLSecureBadge.d.ts +2 -0
  111. package/dist/src/components/generic/badging/SSLSecureBadge.js +11 -0
  112. package/dist/src/components/generic/badging/SSLSecureBadge.js.map +1 -0
  113. package/dist/src/components/generic/buttons/NextStepButton.d.ts +13 -0
  114. package/dist/src/components/generic/buttons/NextStepButton.js +30 -0
  115. package/dist/src/components/generic/buttons/NextStepButton.js.map +1 -0
  116. package/dist/src/components/generic/custom/EnhancedPhoneNumberField/EnhancedPhoneNumberField.d.ts +10 -0
  117. package/dist/src/components/generic/custom/EnhancedPhoneNumberField/EnhancedPhoneNumberField.js +120 -0
  118. package/dist/src/components/generic/custom/EnhancedPhoneNumberField/EnhancedPhoneNumberField.js.map +1 -0
  119. package/dist/src/components/generic/date/DatePicker.d.ts +18 -0
  120. package/dist/src/components/generic/date/DatePicker.js +200 -0
  121. package/dist/src/components/generic/date/DatePicker.js.map +1 -0
  122. package/dist/src/components/generic/date/DatePickerDay.d.ts +21 -0
  123. package/dist/src/components/generic/date/DatePickerDay.js +188 -0
  124. package/dist/src/components/generic/date/DatePickerDay.js.map +1 -0
  125. package/dist/src/components/generic/date/DatePickerDays.d.ts +7 -0
  126. package/dist/src/components/generic/date/DatePickerDays.js +21 -0
  127. package/dist/src/components/generic/date/DatePickerDays.js.map +1 -0
  128. package/dist/src/components/generic/date/DatePickerMonth.d.ts +8 -0
  129. package/dist/src/components/generic/date/DatePickerMonth.js +28 -0
  130. package/dist/src/components/generic/date/DatePickerMonth.js.map +1 -0
  131. package/dist/src/components/generic/date/DatePickerWeek.d.ts +2 -0
  132. package/dist/src/components/generic/date/DatePickerWeek.js +161 -0
  133. package/dist/src/components/generic/date/DatePickerWeek.js.map +1 -0
  134. package/dist/src/components/generic/date/FloatingDatePicker.d.ts +10 -0
  135. package/dist/src/components/generic/date/FloatingDatePicker.js +68 -0
  136. package/dist/src/components/generic/date/FloatingDatePicker.js.map +1 -0
  137. package/dist/src/components/generic/loader/ImageLoader.d.ts +11 -0
  138. package/dist/src/components/generic/loader/ImageLoader.js +37 -0
  139. package/dist/src/components/generic/loader/ImageLoader.js.map +1 -0
  140. package/dist/src/components/generic/loader/LargeLoader.d.ts +2 -0
  141. package/dist/src/components/generic/loader/LargeLoader.js +50 -0
  142. package/dist/src/components/generic/loader/LargeLoader.js.map +1 -0
  143. package/dist/src/components/generic/loader/SmallSpinner.d.ts +3 -0
  144. package/dist/src/components/generic/loader/SmallSpinner.js +11 -0
  145. package/dist/src/components/generic/loader/SmallSpinner.js.map +1 -0
  146. package/dist/src/components/generic/map/HotelLocationMap.d.ts +2 -0
  147. package/dist/src/components/generic/map/HotelLocationMap.js +11 -0
  148. package/dist/src/components/generic/map/HotelLocationMap.js.map +1 -0
  149. package/dist/src/components/generic/modal/ConfirmationModal.d.ts +9 -0
  150. package/dist/src/components/generic/modal/ConfirmationModal.js +27 -0
  151. package/dist/src/components/generic/modal/ConfirmationModal.js.map +1 -0
  152. package/dist/src/components/generic/modal/ErrorModal.d.ts +10 -0
  153. package/dist/src/components/generic/modal/ErrorModal.js +15 -0
  154. package/dist/src/components/generic/modal/ErrorModal.js.map +1 -0
  155. package/dist/src/components/generic/modal/SimpleModal.d.ts +21 -0
  156. package/dist/src/components/generic/modal/SimpleModal.js +82 -0
  157. package/dist/src/components/generic/modal/SimpleModal.js.map +1 -0
  158. package/dist/src/components/generic/modal/TabbedModal.d.ts +16 -0
  159. package/dist/src/components/generic/modal/TabbedModal.js +33 -0
  160. package/dist/src/components/generic/modal/TabbedModal.js.map +1 -0
  161. package/dist/src/components/generic/radio/RadioFields.d.ts +14 -0
  162. package/dist/src/components/generic/radio/RadioFields.js +34 -0
  163. package/dist/src/components/generic/radio/RadioFields.js.map +1 -0
  164. package/dist/src/components/iconComponents/BookNowPayLaterIcon.d.ts +7 -0
  165. package/dist/src/components/iconComponents/BookNowPayLaterIcon.js +20 -0
  166. package/dist/src/components/iconComponents/BookNowPayLaterIcon.js.map +1 -0
  167. package/dist/src/components/navigation/Header.d.ts +2 -0
  168. package/dist/src/components/navigation/Header.js +124 -0
  169. package/dist/src/components/navigation/Header.js.map +1 -0
  170. package/dist/src/components/navigation/StepSelector.d.ts +2 -0
  171. package/dist/src/components/navigation/StepSelector.js +75 -0
  172. package/dist/src/components/navigation/StepSelector.js.map +1 -0
  173. package/dist/src/components/navigation/StepSelectorModal.d.ts +6 -0
  174. package/dist/src/components/navigation/StepSelectorModal.js +63 -0
  175. package/dist/src/components/navigation/StepSelectorModal.js.map +1 -0
  176. package/dist/src/components/steps/DaysSelectedInformer.d.ts +2 -0
  177. package/dist/src/components/steps/DaysSelectedInformer.js +25 -0
  178. package/dist/src/components/steps/DaysSelectedInformer.js.map +1 -0
  179. package/dist/src/components/steps/MinimumNightStayPill.d.ts +2 -0
  180. package/dist/src/components/steps/MinimumNightStayPill.js +62 -0
  181. package/dist/src/components/steps/MinimumNightStayPill.js.map +1 -0
  182. package/dist/src/components/steps/addons/AddonCard.d.ts +8 -0
  183. package/dist/src/components/steps/addons/AddonCard.js +194 -0
  184. package/dist/src/components/steps/addons/AddonCard.js.map +1 -0
  185. package/dist/src/components/steps/addons/AddonList.d.ts +3 -0
  186. package/dist/src/components/steps/addons/AddonList.js +38 -0
  187. package/dist/src/components/steps/addons/AddonList.js.map +1 -0
  188. package/dist/src/components/steps/addons/AddonsNotFound.d.ts +2 -0
  189. package/dist/src/components/steps/addons/AddonsNotFound.js +50 -0
  190. package/dist/src/components/steps/addons/AddonsNotFound.js.map +1 -0
  191. package/dist/src/components/steps/common/CommonAddonSummary/CommonAddonSummary.d.ts +7 -0
  192. package/dist/src/components/steps/common/CommonAddonSummary/CommonAddonSummary.js +42 -0
  193. package/dist/src/components/steps/common/CommonAddonSummary/CommonAddonSummary.js.map +1 -0
  194. package/dist/src/components/steps/confirmation/AccountDetails.d.ts +2 -0
  195. package/dist/src/components/steps/confirmation/AccountDetails.js +31 -0
  196. package/dist/src/components/steps/confirmation/AccountDetails.js.map +1 -0
  197. package/dist/src/components/steps/confirmation/RoomContactDetails.d.ts +9 -0
  198. package/dist/src/components/steps/confirmation/RoomContactDetails.js +224 -0
  199. package/dist/src/components/steps/confirmation/RoomContactDetails.js.map +1 -0
  200. package/dist/src/components/steps/confirmation/StepConfirmationAcknowledgement.d.ts +6 -0
  201. package/dist/src/components/steps/confirmation/StepConfirmationAcknowledgement.js +33 -0
  202. package/dist/src/components/steps/confirmation/StepConfirmationAcknowledgement.js.map +1 -0
  203. package/dist/src/components/steps/confirmation/StepConfirmationCheckoutDifferencesModal.d.ts +11 -0
  204. package/dist/src/components/steps/confirmation/StepConfirmationCheckoutDifferencesModal.js +76 -0
  205. package/dist/src/components/steps/confirmation/StepConfirmationCheckoutDifferencesModal.js.map +1 -0
  206. package/dist/src/components/steps/confirmation/StepConfirmationCommentsComponent.d.ts +6 -0
  207. package/dist/src/components/steps/confirmation/StepConfirmationCommentsComponent.js +25 -0
  208. package/dist/src/components/steps/confirmation/StepConfirmationCommentsComponent.js.map +1 -0
  209. package/dist/src/components/steps/confirmation/StepConfirmationCountrySelector.d.ts +10 -0
  210. package/dist/src/components/steps/confirmation/StepConfirmationCountrySelector.js +65 -0
  211. package/dist/src/components/steps/confirmation/StepConfirmationCountrySelector.js.map +1 -0
  212. package/dist/src/components/steps/confirmation/StepConfirmationForm.d.ts +2 -0
  213. package/dist/src/components/steps/confirmation/StepConfirmationForm.js +343 -0
  214. package/dist/src/components/steps/confirmation/StepConfirmationForm.js.map +1 -0
  215. package/dist/src/components/steps/confirmation/StepConfirmationLimitedOffer.d.ts +7 -0
  216. package/dist/src/components/steps/confirmation/StepConfirmationLimitedOffer.js +29 -0
  217. package/dist/src/components/steps/confirmation/StepConfirmationLimitedOffer.js.map +1 -0
  218. package/dist/src/components/steps/confirmation/StepConfirmationPaymentDetails.d.ts +8 -0
  219. package/dist/src/components/steps/confirmation/StepConfirmationPaymentDetails.js +244 -0
  220. package/dist/src/components/steps/confirmation/StepConfirmationPaymentDetails.js.map +1 -0
  221. package/dist/src/components/steps/confirmation/StepConfirmationPoliciesSection.d.ts +2 -0
  222. package/dist/src/components/steps/confirmation/StepConfirmationPoliciesSection.js +33 -0
  223. package/dist/src/components/steps/confirmation/StepConfirmationPoliciesSection.js.map +1 -0
  224. package/dist/src/components/steps/confirmation/StepConfirmationPolicyBlock.d.ts +2 -0
  225. package/dist/src/components/steps/confirmation/StepConfirmationPolicyBlock.js +56 -0
  226. package/dist/src/components/steps/confirmation/StepConfirmationPolicyBlock.js.map +1 -0
  227. package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffers.d.ts +2 -0
  228. package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffers.js +117 -0
  229. package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffers.js.map +1 -0
  230. package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersColumn.d.ts +8 -0
  231. package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersColumn.js +21 -0
  232. package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersColumn.js.map +1 -0
  233. package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersModal.d.ts +10 -0
  234. package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersModal.js +145 -0
  235. package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersModal.js.map +1 -0
  236. package/dist/src/components/steps/date/PeoplePicker.d.ts +2 -0
  237. package/dist/src/components/steps/date/PeoplePicker.js +69 -0
  238. package/dist/src/components/steps/date/PeoplePicker.js.map +1 -0
  239. package/dist/src/components/steps/date/PeoplePickerRow.d.ts +13 -0
  240. package/dist/src/components/steps/date/PeoplePickerRow.js +69 -0
  241. package/dist/src/components/steps/date/PeoplePickerRow.js.map +1 -0
  242. package/dist/src/components/steps/date/StepDatePricePerRoom.d.ts +6 -0
  243. package/dist/src/components/steps/date/StepDatePricePerRoom.js +68 -0
  244. package/dist/src/components/steps/date/StepDatePricePerRoom.js.map +1 -0
  245. package/dist/src/components/steps/date/StepOneDateRange.d.ts +2 -0
  246. package/dist/src/components/steps/date/StepOneDateRange.js +24 -0
  247. package/dist/src/components/steps/date/StepOneDateRange.js.map +1 -0
  248. package/dist/src/components/steps/date/StepOneDateRangePicker.d.ts +2 -0
  249. package/dist/src/components/steps/date/StepOneDateRangePicker.js +25 -0
  250. package/dist/src/components/steps/date/StepOneDateRangePicker.js.map +1 -0
  251. package/dist/src/components/steps/date/StepOneDateRangePickerLegend.d.ts +2 -0
  252. package/dist/src/components/steps/date/StepOneDateRangePickerLegend.js +37 -0
  253. package/dist/src/components/steps/date/StepOneDateRangePickerLegend.js.map +1 -0
  254. package/dist/src/components/steps/date/StepOneNextStepButton.d.ts +2 -0
  255. package/dist/src/components/steps/date/StepOneNextStepButton.js +51 -0
  256. package/dist/src/components/steps/date/StepOneNextStepButton.js.map +1 -0
  257. package/dist/src/components/steps/date/StepOneStatusPeople.d.ts +2 -0
  258. package/dist/src/components/steps/date/StepOneStatusPeople.js +17 -0
  259. package/dist/src/components/steps/date/StepOneStatusPeople.js.map +1 -0
  260. package/dist/src/components/steps/hotel/HotelCard.d.ts +7 -0
  261. package/dist/src/components/steps/hotel/HotelCard.js +145 -0
  262. package/dist/src/components/steps/hotel/HotelCard.js.map +1 -0
  263. package/dist/src/components/steps/hotel/HotelCardList.d.ts +6 -0
  264. package/dist/src/components/steps/hotel/HotelCardList.js +13 -0
  265. package/dist/src/components/steps/hotel/HotelCardList.js.map +1 -0
  266. package/dist/src/components/steps/hotel/HotelCardModal.d.ts +10 -0
  267. package/dist/src/components/steps/hotel/HotelCardModal.js +90 -0
  268. package/dist/src/components/steps/hotel/HotelCardModal.js.map +1 -0
  269. package/dist/src/components/steps/hotel/HotelSearchParameters.d.ts +3 -0
  270. package/dist/src/components/steps/hotel/HotelSearchParameters.js +149 -0
  271. package/dist/src/components/steps/hotel/HotelSearchParameters.js.map +1 -0
  272. package/dist/src/components/steps/hotel/NoHotelsAvailable.d.ts +2 -0
  273. package/dist/src/components/steps/hotel/NoHotelsAvailable.js +68 -0
  274. package/dist/src/components/steps/hotel/NoHotelsAvailable.js.map +1 -0
  275. package/dist/src/components/steps/room/AvailableUpgradesModal.d.ts +3 -0
  276. package/dist/src/components/steps/room/AvailableUpgradesModal.js +148 -0
  277. package/dist/src/components/steps/room/AvailableUpgradesModal.js.map +1 -0
  278. package/dist/src/components/steps/room/ImageGallerySlider.d.ts +9 -0
  279. package/dist/src/components/steps/room/ImageGallerySlider.js +126 -0
  280. package/dist/src/components/steps/room/ImageGallerySlider.js.map +1 -0
  281. package/dist/src/components/steps/room/InactivityWindow.d.ts +3 -0
  282. package/dist/src/components/steps/room/InactivityWindow.js +80 -0
  283. package/dist/src/components/steps/room/InactivityWindow.js.map +1 -0
  284. package/dist/src/components/steps/room/LargeRoomCard.d.ts +9 -0
  285. package/dist/src/components/steps/room/LargeRoomCard.js +82 -0
  286. package/dist/src/components/steps/room/LargeRoomCard.js.map +1 -0
  287. package/dist/src/components/steps/room/MemberSignInModal/MemberSignInModal.d.ts +7 -0
  288. package/dist/src/components/steps/room/MemberSignInModal/MemberSignInModal.js +260 -0
  289. package/dist/src/components/steps/room/MemberSignInModal/MemberSignInModal.js.map +1 -0
  290. package/dist/src/components/steps/room/MemberSignInModal/MemberSignInModal.types.d.ts +13 -0
  291. package/dist/src/components/steps/room/MemberSignInModal/MemberSignInModal.types.js +3 -0
  292. package/dist/src/components/steps/room/MemberSignInModal/MemberSignInModal.types.js.map +1 -0
  293. package/dist/src/components/steps/room/RatesNotFound.d.ts +2 -0
  294. package/dist/src/components/steps/room/RatesNotFound.js +48 -0
  295. package/dist/src/components/steps/room/RatesNotFound.js.map +1 -0
  296. package/dist/src/components/steps/room/RoomList.d.ts +2 -0
  297. package/dist/src/components/steps/room/RoomList.js +84 -0
  298. package/dist/src/components/steps/room/RoomList.js.map +1 -0
  299. package/dist/src/components/steps/room/RoomListCrossSellBlock.d.ts +5 -0
  300. package/dist/src/components/steps/room/RoomListCrossSellBlock.js +124 -0
  301. package/dist/src/components/steps/room/RoomListCrossSellBlock.js.map +1 -0
  302. package/dist/src/components/steps/room/RoomModal.d.ts +12 -0
  303. package/dist/src/components/steps/room/RoomModal.js +63 -0
  304. package/dist/src/components/steps/room/RoomModal.js.map +1 -0
  305. package/dist/src/components/steps/room/RoomNotFound.d.ts +3 -0
  306. package/dist/src/components/steps/room/RoomNotFound.js +108 -0
  307. package/dist/src/components/steps/room/RoomNotFound.js.map +1 -0
  308. package/dist/src/components/steps/room/StepRoomAlertBlocks.d.ts +2 -0
  309. package/dist/src/components/steps/room/StepRoomAlertBlocks.js +27 -0
  310. package/dist/src/components/steps/room/StepRoomAlertBlocks.js.map +1 -0
  311. package/dist/src/components/steps/room/StepRoomBestRateAlert.d.ts +3 -0
  312. package/dist/src/components/steps/room/StepRoomBestRateAlert.js +29 -0
  313. package/dist/src/components/steps/room/StepRoomBestRateAlert.js.map +1 -0
  314. package/dist/src/components/steps/room/StepRoomHotelDetails.d.ts +2 -0
  315. package/dist/src/components/steps/room/StepRoomHotelDetails.js +43 -0
  316. package/dist/src/components/steps/room/StepRoomHotelDetails.js.map +1 -0
  317. package/dist/src/components/steps/room/StepRoomNextStepButton.d.ts +2 -0
  318. package/dist/src/components/steps/room/StepRoomNextStepButton.js +21 -0
  319. package/dist/src/components/steps/room/StepRoomNextStepButton.js.map +1 -0
  320. package/dist/src/components/steps/room/StepRoomSortBy.d.ts +2 -0
  321. package/dist/src/components/steps/room/StepRoomSortBy.js +26 -0
  322. package/dist/src/components/steps/room/StepRoomSortBy.js.map +1 -0
  323. package/dist/src/components/steps/room/StepRoomSummaryAndButton.d.ts +2 -0
  324. package/dist/src/components/steps/room/StepRoomSummaryAndButton.js +40 -0
  325. package/dist/src/components/steps/room/StepRoomSummaryAndButton.js.map +1 -0
  326. package/dist/src/components/steps/room/roomBuilderProgress/NumberOfAdultsPicker.d.ts +8 -0
  327. package/dist/src/components/steps/room/roomBuilderProgress/NumberOfAdultsPicker.js +29 -0
  328. package/dist/src/components/steps/room/roomBuilderProgress/NumberOfAdultsPicker.js.map +1 -0
  329. package/dist/src/components/steps/room/roomBuilderProgress/NumberOfChildrenPicker.d.ts +8 -0
  330. package/dist/src/components/steps/room/roomBuilderProgress/NumberOfChildrenPicker.js +28 -0
  331. package/dist/src/components/steps/room/roomBuilderProgress/NumberOfChildrenPicker.js.map +1 -0
  332. package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgress.d.ts +2 -0
  333. package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgress.js +39 -0
  334. package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgress.js.map +1 -0
  335. package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgressRow.d.ts +7 -0
  336. package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgressRow.js +211 -0
  337. package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgressRow.js.map +1 -0
  338. package/dist/src/components/steps/room/roomDetails/RoomDetails.d.ts +7 -0
  339. package/dist/src/components/steps/room/roomDetails/RoomDetails.js +151 -0
  340. package/dist/src/components/steps/room/roomDetails/RoomDetails.js.map +1 -0
  341. package/dist/src/components/steps/room/roomDetails/RoomDetailsBedsBlock.d.ts +7 -0
  342. package/dist/src/components/steps/room/roomDetails/RoomDetailsBedsBlock.js +34 -0
  343. package/dist/src/components/steps/room/roomDetails/RoomDetailsBedsBlock.js.map +1 -0
  344. package/dist/src/components/steps/room/roomDetails/RoomDetailsPerkBlock.d.ts +7 -0
  345. package/dist/src/components/steps/room/roomDetails/RoomDetailsPerkBlock.js +33 -0
  346. package/dist/src/components/steps/room/roomDetails/RoomDetailsPerkBlock.js.map +1 -0
  347. package/dist/src/components/steps/room/roomDetails/RoomDetailsPriceBlock.d.ts +10 -0
  348. package/dist/src/components/steps/room/roomDetails/RoomDetailsPriceBlock.js +44 -0
  349. package/dist/src/components/steps/room/roomDetails/RoomDetailsPriceBlock.js.map +1 -0
  350. package/dist/src/components/steps/room/roomDetails/roomRates/BookNowButton.d.ts +10 -0
  351. package/dist/src/components/steps/room/roomDetails/roomRates/BookNowButton.js +28 -0
  352. package/dist/src/components/steps/room/roomDetails/roomRates/BookNowButton.js.map +1 -0
  353. package/dist/src/components/steps/room/roomDetails/roomRates/MembersOnlyRow.d.ts +2 -0
  354. package/dist/src/components/steps/room/roomDetails/roomRates/MembersOnlyRow.js +57 -0
  355. package/dist/src/components/steps/room/roomDetails/roomRates/MembersOnlyRow.js.map +1 -0
  356. package/dist/src/components/steps/room/roomDetails/roomRates/PriceBreakdownBlock.d.ts +15 -0
  357. package/dist/src/components/steps/room/roomDetails/roomRates/PriceBreakdownBlock.js +120 -0
  358. package/dist/src/components/steps/room/roomDetails/roomRates/PriceBreakdownBlock.js.map +1 -0
  359. package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDescriptionTab.d.ts +14 -0
  360. package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDescriptionTab.js +76 -0
  361. package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDescriptionTab.js.map +1 -0
  362. package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDetailsAndPriceBreakdownModal.d.ts +16 -0
  363. package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDetailsAndPriceBreakdownModal.js +34 -0
  364. package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDetailsAndPriceBreakdownModal.js.map +1 -0
  365. package/dist/src/components/steps/room/roomDetails/roomRates/RoomRatePills.d.ts +11 -0
  366. package/dist/src/components/steps/room/roomDetails/roomRates/RoomRatePills.js +86 -0
  367. package/dist/src/components/steps/room/roomDetails/roomRates/RoomRatePills.js.map +1 -0
  368. package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateRow.d.ts +9 -0
  369. package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateRow.js +119 -0
  370. package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateRow.js.map +1 -0
  371. package/dist/src/components/steps/room/roomDetails/roomRates/RoomRates.d.ts +12 -0
  372. package/dist/src/components/steps/room/roomDetails/roomRates/RoomRates.js +103 -0
  373. package/dist/src/components/steps/room/roomDetails/roomRates/RoomRates.js.map +1 -0
  374. package/dist/src/components/steps/room/roomFilter/AppliedFiltersBlock.d.ts +2 -0
  375. package/dist/src/components/steps/room/roomFilter/AppliedFiltersBlock.js +42 -0
  376. package/dist/src/components/steps/room/roomFilter/AppliedFiltersBlock.js.map +1 -0
  377. package/dist/src/components/steps/room/roomFilter/RoomFilterOverlay.d.ts +9 -0
  378. package/dist/src/components/steps/room/roomFilter/RoomFilterOverlay.js +106 -0
  379. package/dist/src/components/steps/room/roomFilter/RoomFilterOverlay.js.map +1 -0
  380. package/dist/src/components/steps/room/roomFilter/RoomFilterPriceSlider.d.ts +10 -0
  381. package/dist/src/components/steps/room/roomFilter/RoomFilterPriceSlider.js +99 -0
  382. package/dist/src/components/steps/room/roomFilter/RoomFilterPriceSlider.js.map +1 -0
  383. package/dist/src/components/steps/room/roomFilter/RoomFilterRateType.d.ts +10 -0
  384. package/dist/src/components/steps/room/roomFilter/RoomFilterRateType.js +65 -0
  385. package/dist/src/components/steps/room/roomFilter/RoomFilterRateType.js.map +1 -0
  386. package/dist/src/components/steps/room/roomFilter/RoomFilterRoomType.d.ts +10 -0
  387. package/dist/src/components/steps/room/roomFilter/RoomFilterRoomType.js +63 -0
  388. package/dist/src/components/steps/room/roomFilter/RoomFilterRoomType.js.map +1 -0
  389. package/dist/src/components/summary/BEMapWidget.d.ts +12 -0
  390. package/dist/src/components/summary/BEMapWidget.js +50 -0
  391. package/dist/src/components/summary/BEMapWidget.js.map +1 -0
  392. package/dist/src/components/summary/BEMobileSummary.d.ts +2 -0
  393. package/dist/src/components/summary/BEMobileSummary.js +55 -0
  394. package/dist/src/components/summary/BEMobileSummary.js.map +1 -0
  395. package/dist/src/components/summary/BEMobileSummaryModal.d.ts +7 -0
  396. package/dist/src/components/summary/BEMobileSummaryModal.js +142 -0
  397. package/dist/src/components/summary/BEMobileSummaryModal.js.map +1 -0
  398. package/dist/src/components/summary/BESummary.d.ts +7 -0
  399. package/dist/src/components/summary/BESummary.js +106 -0
  400. package/dist/src/components/summary/BESummary.js.map +1 -0
  401. package/dist/src/components/summary/BESummaryAddonRow.d.ts +8 -0
  402. package/dist/src/components/summary/BESummaryAddonRow.js +88 -0
  403. package/dist/src/components/summary/BESummaryAddonRow.js.map +1 -0
  404. package/dist/src/components/summary/BESummaryPerkBlock.d.ts +6 -0
  405. package/dist/src/components/summary/BESummaryPerkBlock.js +34 -0
  406. package/dist/src/components/summary/BESummaryPerkBlock.js.map +1 -0
  407. package/dist/src/components/summary/BESummaryPrivacyPolicy.d.ts +2 -0
  408. package/dist/src/components/summary/BESummaryPrivacyPolicy.js +24 -0
  409. package/dist/src/components/summary/BESummaryPrivacyPolicy.js.map +1 -0
  410. package/dist/src/components/summary/BESummaryRoomRow.d.ts +10 -0
  411. package/dist/src/components/summary/BESummaryRoomRow.js +113 -0
  412. package/dist/src/components/summary/BESummaryRoomRow.js.map +1 -0
  413. package/dist/src/components/summary/TransportDistanceFromHotelBlock.d.ts +10 -0
  414. package/dist/src/components/summary/TransportDistanceFromHotelBlock.js +48 -0
  415. package/dist/src/components/summary/TransportDistanceFromHotelBlock.js.map +1 -0
  416. package/dist/src/contexts/BasketContext/BasketContext.d.ts +3 -0
  417. package/dist/src/contexts/BasketContext/BasketContext.js +6 -0
  418. package/dist/src/contexts/BasketContext/BasketContext.js.map +1 -0
  419. package/dist/src/contexts/BasketContext/BasketContextType.d.ts +39 -0
  420. package/dist/src/contexts/BasketContext/BasketContextType.js +3 -0
  421. package/dist/src/contexts/BasketContext/BasketContextType.js.map +1 -0
  422. package/dist/src/contexts/BasketContext/BasketContextWrapper.d.ts +5 -0
  423. package/dist/src/contexts/BasketContext/BasketContextWrapper.js +383 -0
  424. package/dist/src/contexts/BasketContext/BasketContextWrapper.js.map +1 -0
  425. package/dist/src/contexts/BookingEngineContext/BookingEngineContext.d.ts +3 -0
  426. package/dist/src/contexts/BookingEngineContext/BookingEngineContext.js +6 -0
  427. package/dist/src/contexts/BookingEngineContext/BookingEngineContext.js.map +1 -0
  428. package/dist/src/contexts/BookingEngineContext/BookingEngineContextType.types.d.ts +17 -0
  429. package/dist/src/contexts/BookingEngineContext/BookingEngineContextType.types.js +3 -0
  430. package/dist/src/contexts/BookingEngineContext/BookingEngineContextType.types.js.map +1 -0
  431. package/dist/src/contexts/BookingEngineContext/BookingEngineContextWrapper.d.ts +7 -0
  432. package/dist/src/contexts/BookingEngineContext/BookingEngineContextWrapper.js +46 -0
  433. package/dist/src/contexts/BookingEngineContext/BookingEngineContextWrapper.js.map +1 -0
  434. package/dist/src/contexts/CompanyContext/CompanyContext.d.ts +3 -0
  435. package/dist/src/contexts/CompanyContext/CompanyContext.js +6 -0
  436. package/dist/src/contexts/CompanyContext/CompanyContext.js.map +1 -0
  437. package/dist/src/contexts/CompanyContext/CompanyContextType.type.d.ts +19 -0
  438. package/dist/src/contexts/CompanyContext/CompanyContextType.type.js +3 -0
  439. package/dist/src/contexts/CompanyContext/CompanyContextType.type.js.map +1 -0
  440. package/dist/src/contexts/CompanyContext/CompanyContextWrapper.d.ts +8 -0
  441. package/dist/src/contexts/CompanyContext/CompanyContextWrapper.js +270 -0
  442. package/dist/src/contexts/CompanyContext/CompanyContextWrapper.js.map +1 -0
  443. package/dist/src/contexts/ConfirmationFormContext.d.ts +16 -0
  444. package/dist/src/contexts/ConfirmationFormContext.js +33 -0
  445. package/dist/src/contexts/ConfirmationFormContext.js.map +1 -0
  446. package/dist/src/contexts/DatePickerContext.d.ts +14 -0
  447. package/dist/src/contexts/DatePickerContext.js +23 -0
  448. package/dist/src/contexts/DatePickerContext.js.map +1 -0
  449. package/dist/src/contexts/ErrorContext.d.ts +19 -0
  450. package/dist/src/contexts/ErrorContext.js +43 -0
  451. package/dist/src/contexts/ErrorContext.js.map +1 -0
  452. package/dist/src/contexts/FullPageEngineContext/FullPageEngineContext.d.ts +3 -0
  453. package/dist/src/contexts/FullPageEngineContext/FullPageEngineContext.js +6 -0
  454. package/dist/src/contexts/FullPageEngineContext/FullPageEngineContext.js.map +1 -0
  455. package/dist/src/contexts/FullPageEngineContext/FullPageEngineContextTypes.d.ts +19 -0
  456. package/dist/src/contexts/FullPageEngineContext/FullPageEngineContextTypes.js +3 -0
  457. package/dist/src/contexts/FullPageEngineContext/FullPageEngineContextTypes.js.map +1 -0
  458. package/dist/src/contexts/FullPageEngineContext/FullPageEngineContextWrapper.d.ts +6 -0
  459. package/dist/src/contexts/FullPageEngineContext/FullPageEngineContextWrapper.js +204 -0
  460. package/dist/src/contexts/FullPageEngineContext/FullPageEngineContextWrapper.js.map +1 -0
  461. package/dist/src/contexts/HotelOverridesContext.d.ts +10 -0
  462. package/dist/src/contexts/HotelOverridesContext.js +63 -0
  463. package/dist/src/contexts/HotelOverridesContext.js.map +1 -0
  464. package/dist/src/contexts/ModalContext.d.ts +14 -0
  465. package/dist/src/contexts/ModalContext.js +34 -0
  466. package/dist/src/contexts/ModalContext.js.map +1 -0
  467. package/dist/src/contexts/NotificationContext.d.ts +14 -0
  468. package/dist/src/contexts/NotificationContext.js +34 -0
  469. package/dist/src/contexts/NotificationContext.js.map +1 -0
  470. package/dist/src/contexts/index.d.ts +19 -0
  471. package/dist/src/contexts/index.js +32 -0
  472. package/dist/src/contexts/index.js.map +1 -0
  473. package/dist/src/engines/BaseEngine.d.ts +20 -0
  474. package/dist/src/engines/BaseEngine.js +62 -0
  475. package/dist/src/engines/BaseEngine.js.map +1 -0
  476. package/dist/src/engines/CustomEngine/CustomEngine.d.ts +4 -0
  477. package/dist/src/engines/CustomEngine/CustomEngine.js +23 -0
  478. package/dist/src/engines/CustomEngine/CustomEngine.js.map +1 -0
  479. package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngine.d.ts +5 -0
  480. package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngine.js +31 -0
  481. package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngine.js.map +1 -0
  482. package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngineElement.d.ts +8 -0
  483. package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngineElement.js +34 -0
  484. package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngineElement.js.map +1 -0
  485. package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngineElementEvents.d.ts +3 -0
  486. package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngineElementEvents.js +9 -0
  487. package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngineElementEvents.js.map +1 -0
  488. package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngine.d.ts +7 -0
  489. package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngine.js +32 -0
  490. package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngine.js.map +1 -0
  491. package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngineElement.d.ts +7 -0
  492. package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngineElement.js +246 -0
  493. package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngineElement.js.map +1 -0
  494. package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngine.d.ts +7 -0
  495. package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngine.js +31 -0
  496. package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngine.js.map +1 -0
  497. package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngineElement.d.ts +7 -0
  498. package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngineElement.js +112 -0
  499. package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngineElement.js.map +1 -0
  500. package/dist/src/errors/GetAvailabilityError.d.ts +7 -0
  501. package/dist/src/errors/GetAvailabilityError.js +21 -0
  502. package/dist/src/errors/GetAvailabilityError.js.map +1 -0
  503. package/dist/src/errors/NoCompanyContextError.d.ts +4 -0
  504. package/dist/src/errors/NoCompanyContextError.js +11 -0
  505. package/dist/src/errors/NoCompanyContextError.js.map +1 -0
  506. package/dist/src/errors/NoHotelSelectedError.d.ts +4 -0
  507. package/dist/src/errors/NoHotelSelectedError.js +11 -0
  508. package/dist/src/errors/NoHotelSelectedError.js.map +1 -0
  509. package/dist/src/errors/RoomstayError.d.ts +3 -0
  510. package/dist/src/errors/RoomstayError.js +10 -0
  511. package/dist/src/errors/RoomstayError.js.map +1 -0
  512. package/dist/src/events/RoomstayEvent.d.ts +4 -0
  513. package/dist/src/events/RoomstayEvent.js +11 -0
  514. package/dist/src/events/RoomstayEvent.js.map +1 -0
  515. package/dist/src/events/RoomstayEventManager.d.ts +13 -0
  516. package/dist/src/events/RoomstayEventManager.js +72 -0
  517. package/dist/src/events/RoomstayEventManager.js.map +1 -0
  518. package/dist/src/events/actions/AddToCartEvent.d.ts +8 -0
  519. package/dist/src/events/actions/AddToCartEvent.js +16 -0
  520. package/dist/src/events/actions/AddToCartEvent.js.map +1 -0
  521. package/dist/src/events/actions/RemoveFromCartEvent.d.ts +8 -0
  522. package/dist/src/events/actions/RemoveFromCartEvent.js +16 -0
  523. package/dist/src/events/actions/RemoveFromCartEvent.js.map +1 -0
  524. package/dist/src/events/index.d.ts +3 -0
  525. package/dist/src/events/index.js +16 -0
  526. package/dist/src/events/index.js.map +1 -0
  527. package/dist/src/events/views/StepCheckoutViewEvent.d.ts +7 -0
  528. package/dist/src/events/views/StepCheckoutViewEvent.js +15 -0
  529. package/dist/src/events/views/StepCheckoutViewEvent.js.map +1 -0
  530. package/dist/src/handlers/BasketContextErrorHandler.d.ts +4 -0
  531. package/dist/src/handlers/BasketContextErrorHandler.js +5 -0
  532. package/dist/src/handlers/BasketContextErrorHandler.js.map +1 -0
  533. package/dist/src/handlers/HotelContextEventHandler.d.ts +3 -0
  534. package/dist/src/handlers/HotelContextEventHandler.js +9 -0
  535. package/dist/src/handlers/HotelContextEventHandler.js.map +1 -0
  536. package/dist/src/hooks/CurrentHotelHook.d.ts +4 -0
  537. package/dist/src/hooks/CurrentHotelHook.js +26 -0
  538. package/dist/src/hooks/CurrentHotelHook.js.map +1 -0
  539. package/dist/src/hooks/ElementSortHook.d.ts +11 -0
  540. package/dist/src/hooks/ElementSortHook.js +20 -0
  541. package/dist/src/hooks/ElementSortHook.js.map +1 -0
  542. package/dist/src/hooks/EventHook.d.ts +6 -0
  543. package/dist/src/hooks/EventHook.js +16 -0
  544. package/dist/src/hooks/EventHook.js.map +1 -0
  545. package/dist/src/hooks/ScrollFocusHook.d.ts +3 -0
  546. package/dist/src/hooks/ScrollFocusHook.js +14 -0
  547. package/dist/src/hooks/ScrollFocusHook.js.map +1 -0
  548. package/dist/src/hooks/ScrollLock.d.ts +1 -0
  549. package/dist/src/hooks/ScrollLock.js +17 -0
  550. package/dist/src/hooks/ScrollLock.js.map +1 -0
  551. package/dist/src/hooks/index.d.ts +5 -0
  552. package/dist/src/hooks/index.js +18 -0
  553. package/dist/src/hooks/index.js.map +1 -0
  554. package/dist/src/icons/Check.d.ts +6 -0
  555. package/dist/src/icons/Check.js +12 -0
  556. package/dist/src/icons/Check.js.map +1 -0
  557. package/dist/src/index.d.ts +71 -0
  558. package/dist/src/index.js +152 -0
  559. package/dist/src/index.js.map +1 -0
  560. package/dist/src/mockApi/AddonAPI.d.ts +7 -0
  561. package/dist/src/mockApi/AddonAPI.js +78 -0
  562. package/dist/src/mockApi/AddonAPI.js.map +1 -0
  563. package/dist/src/mockApi/BookingAPI.d.ts +15 -0
  564. package/dist/src/mockApi/BookingAPI.js +18 -0
  565. package/dist/src/mockApi/BookingAPI.js.map +1 -0
  566. package/dist/src/mockApi/ExchangeRateAPI.d.ts +5 -0
  567. package/dist/src/mockApi/ExchangeRateAPI.js +23 -0
  568. package/dist/src/mockApi/ExchangeRateAPI.js.map +1 -0
  569. package/dist/src/mockApi/HotelAPI.d.ts +6 -0
  570. package/dist/src/mockApi/HotelAPI.js +23 -0
  571. package/dist/src/mockApi/HotelAPI.js.map +1 -0
  572. package/dist/src/mockApi/MemberAPI.d.ts +4 -0
  573. package/dist/src/mockApi/MemberAPI.js +26 -0
  574. package/dist/src/mockApi/MemberAPI.js.map +1 -0
  575. package/dist/src/mockApi/MockAPI.d.ts +31 -0
  576. package/dist/src/mockApi/MockAPI.js +110 -0
  577. package/dist/src/mockApi/MockAPI.js.map +1 -0
  578. package/dist/src/mockApi/ReservationAPI.d.ts +14 -0
  579. package/dist/src/mockApi/ReservationAPI.js +109 -0
  580. package/dist/src/mockApi/ReservationAPI.js.map +1 -0
  581. package/dist/src/models/Addon/Addon.d.ts +131 -0
  582. package/dist/src/models/Addon/Addon.js +76 -0
  583. package/dist/src/models/Addon/Addon.js.map +1 -0
  584. package/dist/src/models/Api/ExchangeRateDTO.d.ts +3 -0
  585. package/dist/src/models/Api/ExchangeRateDTO.js +3 -0
  586. package/dist/src/models/Api/ExchangeRateDTO.js.map +1 -0
  587. package/dist/src/models/Api/HotelDTO.d.ts +68 -0
  588. package/dist/src/models/Api/HotelDTO.js +13 -0
  589. package/dist/src/models/Api/HotelDTO.js.map +1 -0
  590. package/dist/src/models/Api/HotelOverrideDTO.d.ts +18 -0
  591. package/dist/src/models/Api/HotelOverrideDTO.js +3 -0
  592. package/dist/src/models/Api/HotelOverrideDTO.js.map +1 -0
  593. package/dist/src/models/Api/RatePlanDTO.d.ts +8 -0
  594. package/dist/src/models/Api/RatePlanDTO.js +3 -0
  595. package/dist/src/models/Api/RatePlanDTO.js.map +1 -0
  596. package/dist/src/models/Api/ReservationsDTO.d.ts +66 -0
  597. package/dist/src/models/Api/ReservationsDTO.js +3 -0
  598. package/dist/src/models/Api/ReservationsDTO.js.map +1 -0
  599. package/dist/src/models/Api/RoomNightDTO.d.ts +11 -0
  600. package/dist/src/models/Api/RoomNightDTO.js +3 -0
  601. package/dist/src/models/Api/RoomNightDTO.js.map +1 -0
  602. package/dist/src/models/Api/RoomNightRateDTO.d.ts +8 -0
  603. package/dist/src/models/Api/RoomNightRateDTO.js +3 -0
  604. package/dist/src/models/Api/RoomNightRateDTO.js.map +1 -0
  605. package/dist/src/models/Api/RoomTypeDTO.d.ts +8 -0
  606. package/dist/src/models/Api/RoomTypeDTO.js +3 -0
  607. package/dist/src/models/Api/RoomTypeDTO.js.map +1 -0
  608. package/dist/src/models/BasketAddonRow.d.ts +36 -0
  609. package/dist/src/models/BasketAddonRow.js +125 -0
  610. package/dist/src/models/BasketAddonRow.js.map +1 -0
  611. package/dist/src/models/BasketRow.d.ts +49 -0
  612. package/dist/src/models/BasketRow.js +155 -0
  613. package/dist/src/models/BasketRow.js.map +1 -0
  614. package/dist/src/models/BasketRowDifferences.d.ts +9 -0
  615. package/dist/src/models/BasketRowDifferences.js +3 -0
  616. package/dist/src/models/BasketRowDifferences.js.map +1 -0
  617. package/dist/src/models/Client/Client.d.ts +4 -0
  618. package/dist/src/models/Client/Client.js +7 -0
  619. package/dist/src/models/Client/Client.js.map +1 -0
  620. package/dist/src/models/Client/Hotel/ColorProfile.d.ts +12 -0
  621. package/dist/src/models/Client/Hotel/ColorProfile.js +3 -0
  622. package/dist/src/models/Client/Hotel/ColorProfile.js.map +1 -0
  623. package/dist/src/models/Client/Hotel/Company.d.ts +25 -0
  624. package/dist/src/models/Client/Hotel/Company.js +3 -0
  625. package/dist/src/models/Client/Hotel/Company.js.map +1 -0
  626. package/dist/src/models/Client/Hotel/DistanceUnitType.types.d.ts +5 -0
  627. package/dist/src/models/Client/Hotel/DistanceUnitType.types.js +10 -0
  628. package/dist/src/models/Client/Hotel/DistanceUnitType.types.js.map +1 -0
  629. package/dist/src/models/Client/Hotel/Hotel.d.ts +89 -0
  630. package/dist/src/models/Client/Hotel/Hotel.js +3 -0
  631. package/dist/src/models/Client/Hotel/Hotel.js.map +1 -0
  632. package/dist/src/models/Client/Hotel/HotelAddress.d.ts +10 -0
  633. package/dist/src/models/Client/Hotel/HotelAddress.js +3 -0
  634. package/dist/src/models/Client/Hotel/HotelAddress.js.map +1 -0
  635. package/dist/src/models/Client/Hotel/HotelDataSource.types.d.ts +4 -0
  636. package/dist/src/models/Client/Hotel/HotelDataSource.types.js +9 -0
  637. package/dist/src/models/Client/Hotel/HotelDataSource.types.js.map +1 -0
  638. package/dist/src/models/Client/Hotel/HotelPerk.d.ts +9 -0
  639. package/dist/src/models/Client/Hotel/HotelPerk.js +3 -0
  640. package/dist/src/models/Client/Hotel/HotelPerk.js.map +1 -0
  641. package/dist/src/models/Client/Hotel/HotelRoomOverwrite.d.ts +3 -0
  642. package/dist/src/models/Client/Hotel/HotelRoomOverwrite.js +3 -0
  643. package/dist/src/models/Client/Hotel/HotelRoomOverwrite.js.map +1 -0
  644. package/dist/src/models/Client/Hotel/WeekdayStartsOn.types.d.ts +4 -0
  645. package/dist/src/models/Client/Hotel/WeekdayStartsOn.types.js +9 -0
  646. package/dist/src/models/Client/Hotel/WeekdayStartsOn.types.js.map +1 -0
  647. package/dist/src/models/CountryCodesAndNumbers.d.ts +8 -0
  648. package/dist/src/models/CountryCodesAndNumbers.js +259 -0
  649. package/dist/src/models/CountryCodesAndNumbers.js.map +1 -0
  650. package/dist/src/models/Currency.d.ts +11 -0
  651. package/dist/src/models/Currency.js +13 -0
  652. package/dist/src/models/Currency.js.map +1 -0
  653. package/dist/src/models/PaymentCard.d.ts +8 -0
  654. package/dist/src/models/PaymentCard.js +3 -0
  655. package/dist/src/models/PaymentCard.js.map +1 -0
  656. package/dist/src/models/Room/Filters/BudgetFilter.d.ts +11 -0
  657. package/dist/src/models/Room/Filters/BudgetFilter.js +35 -0
  658. package/dist/src/models/Room/Filters/BudgetFilter.js.map +1 -0
  659. package/dist/src/models/Room/Filters/Filter.d.ts +5 -0
  660. package/dist/src/models/Room/Filters/Filter.js +6 -0
  661. package/dist/src/models/Room/Filters/Filter.js.map +1 -0
  662. package/dist/src/models/Room/Filters/RateTypeFilter.d.ts +9 -0
  663. package/dist/src/models/Room/Filters/RateTypeFilter.js +21 -0
  664. package/dist/src/models/Room/Filters/RateTypeFilter.js.map +1 -0
  665. package/dist/src/models/Room/Filters/RoomTypeFilter.d.ts +9 -0
  666. package/dist/src/models/Room/Filters/RoomTypeFilter.js +23 -0
  667. package/dist/src/models/Room/Filters/RoomTypeFilter.js.map +1 -0
  668. package/dist/src/models/Room/Room.d.ts +40 -0
  669. package/dist/src/models/Room/Room.js +117 -0
  670. package/dist/src/models/Room/Room.js.map +1 -0
  671. package/dist/src/models/Room/RoomRate.d.ts +72 -0
  672. package/dist/src/models/Room/RoomRate.js +179 -0
  673. package/dist/src/models/Room/RoomRate.js.map +1 -0
  674. package/dist/src/models/Room/RoomRateNight.d.ts +22 -0
  675. package/dist/src/models/Room/RoomRateNight.js +31 -0
  676. package/dist/src/models/Room/RoomRateNight.js.map +1 -0
  677. package/dist/src/models/Room/RoomRateSortable.d.ts +3 -0
  678. package/dist/src/models/Room/RoomRateSortable.js +3 -0
  679. package/dist/src/models/Room/RoomRateSortable.js.map +1 -0
  680. package/dist/src/models/RoomstaySession.d.ts +37 -0
  681. package/dist/src/models/RoomstaySession.js +5 -0
  682. package/dist/src/models/RoomstaySession.js.map +1 -0
  683. package/dist/src/models/Serializable.d.ts +4 -0
  684. package/dist/src/models/Serializable.js +3 -0
  685. package/dist/src/models/Serializable.js.map +1 -0
  686. package/dist/src/models/UserProfile.d.ts +20 -0
  687. package/dist/src/models/UserProfile.js +3 -0
  688. package/dist/src/models/UserProfile.js.map +1 -0
  689. package/dist/src/pages/findReservation/FindReservation.d.ts +2 -0
  690. package/dist/src/pages/findReservation/FindReservation.js +142 -0
  691. package/dist/src/pages/findReservation/FindReservation.js.map +1 -0
  692. package/dist/src/pages/findReservation/FindReservationResults.d.ts +2 -0
  693. package/dist/src/pages/findReservation/FindReservationResults.js +102 -0
  694. package/dist/src/pages/findReservation/FindReservationResults.js.map +1 -0
  695. package/dist/src/pages/findReservation/ReservationRow.d.ts +8 -0
  696. package/dist/src/pages/findReservation/ReservationRow.js +147 -0
  697. package/dist/src/pages/findReservation/ReservationRow.js.map +1 -0
  698. package/dist/src/pages/findReservation/ReservationRowModal.d.ts +10 -0
  699. package/dist/src/pages/findReservation/ReservationRowModal.js +101 -0
  700. package/dist/src/pages/findReservation/ReservationRowModal.js.map +1 -0
  701. package/dist/src/pages/hotel/HotelInfo.d.ts +2 -0
  702. package/dist/src/pages/hotel/HotelInfo.js +164 -0
  703. package/dist/src/pages/hotel/HotelInfo.js.map +1 -0
  704. package/dist/src/pages/hotel/HotelInfoPlaceholder.d.ts +2 -0
  705. package/dist/src/pages/hotel/HotelInfoPlaceholder.js +11 -0
  706. package/dist/src/pages/hotel/HotelInfoPlaceholder.js.map +1 -0
  707. package/dist/src/pages/steps/Step.d.ts +22 -0
  708. package/dist/src/pages/steps/Step.js +32 -0
  709. package/dist/src/pages/steps/Step.js.map +1 -0
  710. package/dist/src/pages/steps/StepAddon/StepAddon.d.ts +15 -0
  711. package/dist/src/pages/steps/StepAddon/StepAddon.js +27 -0
  712. package/dist/src/pages/steps/StepAddon/StepAddon.js.map +1 -0
  713. package/dist/src/pages/steps/StepAddon/StepAddonComponent.d.ts +2 -0
  714. package/dist/src/pages/steps/StepAddon/StepAddonComponent.js +35 -0
  715. package/dist/src/pages/steps/StepAddon/StepAddonComponent.js.map +1 -0
  716. package/dist/src/pages/steps/StepAddon/StepAddonLoader.d.ts +2 -0
  717. package/dist/src/pages/steps/StepAddon/StepAddonLoader.js +60 -0
  718. package/dist/src/pages/steps/StepAddon/StepAddonLoader.js.map +1 -0
  719. package/dist/src/pages/steps/StepAddon/StepAddonValidator.d.ts +5 -0
  720. package/dist/src/pages/steps/StepAddon/StepAddonValidator.js +10 -0
  721. package/dist/src/pages/steps/StepAddon/StepAddonValidator.js.map +1 -0
  722. package/dist/src/pages/steps/StepConfirmation/StepConfirmation.d.ts +15 -0
  723. package/dist/src/pages/steps/StepConfirmation/StepConfirmation.js +27 -0
  724. package/dist/src/pages/steps/StepConfirmation/StepConfirmation.js.map +1 -0
  725. package/dist/src/pages/steps/StepConfirmation/StepConfirmationComponent.d.ts +3 -0
  726. package/dist/src/pages/steps/StepConfirmation/StepConfirmationComponent.js +62 -0
  727. package/dist/src/pages/steps/StepConfirmation/StepConfirmationComponent.js.map +1 -0
  728. package/dist/src/pages/steps/StepConfirmation/StepConfirmationLoader.d.ts +2 -0
  729. package/dist/src/pages/steps/StepConfirmation/StepConfirmationLoader.js +81 -0
  730. package/dist/src/pages/steps/StepConfirmation/StepConfirmationLoader.js.map +1 -0
  731. package/dist/src/pages/steps/StepConfirmation/StepConfirmationValidator.d.ts +5 -0
  732. package/dist/src/pages/steps/StepConfirmation/StepConfirmationValidator.js +14 -0
  733. package/dist/src/pages/steps/StepConfirmation/StepConfirmationValidator.js.map +1 -0
  734. package/dist/src/pages/steps/StepDate/StepDate.d.ts +15 -0
  735. package/dist/src/pages/steps/StepDate/StepDate.js +27 -0
  736. package/dist/src/pages/steps/StepDate/StepDate.js.map +1 -0
  737. package/dist/src/pages/steps/StepDate/StepDateComponent.d.ts +3 -0
  738. package/dist/src/pages/steps/StepDate/StepDateComponent.js +78 -0
  739. package/dist/src/pages/steps/StepDate/StepDateComponent.js.map +1 -0
  740. package/dist/src/pages/steps/StepDate/StepDateValidator.d.ts +5 -0
  741. package/dist/src/pages/steps/StepDate/StepDateValidator.js +10 -0
  742. package/dist/src/pages/steps/StepDate/StepDateValidator.js.map +1 -0
  743. package/dist/src/pages/steps/StepGuide.d.ts +7 -0
  744. package/dist/src/pages/steps/StepGuide.js +35 -0
  745. package/dist/src/pages/steps/StepGuide.js.map +1 -0
  746. package/dist/src/pages/steps/StepHotel/StepHotel.d.ts +14 -0
  747. package/dist/src/pages/steps/StepHotel/StepHotel.js +25 -0
  748. package/dist/src/pages/steps/StepHotel/StepHotel.js.map +1 -0
  749. package/dist/src/pages/steps/StepHotel/StepHotelComponent.d.ts +3 -0
  750. package/dist/src/pages/steps/StepHotel/StepHotelComponent.js +128 -0
  751. package/dist/src/pages/steps/StepHotel/StepHotelComponent.js.map +1 -0
  752. package/dist/src/pages/steps/StepHotel/StepHotelLoader.d.ts +2 -0
  753. package/dist/src/pages/steps/StepHotel/StepHotelLoader.js +56 -0
  754. package/dist/src/pages/steps/StepHotel/StepHotelLoader.js.map +1 -0
  755. package/dist/src/pages/steps/StepHotel/StepHotelValidator.d.ts +4 -0
  756. package/dist/src/pages/steps/StepHotel/StepHotelValidator.js +10 -0
  757. package/dist/src/pages/steps/StepHotel/StepHotelValidator.js.map +1 -0
  758. package/dist/src/pages/steps/StepRoom/StepRoom.d.ts +15 -0
  759. package/dist/src/pages/steps/StepRoom/StepRoom.js +27 -0
  760. package/dist/src/pages/steps/StepRoom/StepRoom.js.map +1 -0
  761. package/dist/src/pages/steps/StepRoom/StepRoomComponent.d.ts +2 -0
  762. package/dist/src/pages/steps/StepRoom/StepRoomComponent.js +81 -0
  763. package/dist/src/pages/steps/StepRoom/StepRoomComponent.js.map +1 -0
  764. package/dist/src/pages/steps/StepRoom/StepRoomLoader.d.ts +2 -0
  765. package/dist/src/pages/steps/StepRoom/StepRoomLoader.js +83 -0
  766. package/dist/src/pages/steps/StepRoom/StepRoomLoader.js.map +1 -0
  767. package/dist/src/pages/steps/StepRoom/StepRoomValidator.d.ts +5 -0
  768. package/dist/src/pages/steps/StepRoom/StepRoomValidator.js +13 -0
  769. package/dist/src/pages/steps/StepRoom/StepRoomValidator.js.map +1 -0
  770. package/dist/src/pages/steps/StepThanks/StepThanks.d.ts +16 -0
  771. package/dist/src/pages/steps/StepThanks/StepThanks.js +32 -0
  772. package/dist/src/pages/steps/StepThanks/StepThanks.js.map +1 -0
  773. package/dist/src/pages/steps/StepThanks/StepThanksComponent.d.ts +2 -0
  774. package/dist/src/pages/steps/StepThanks/StepThanksComponent.js +92 -0
  775. package/dist/src/pages/steps/StepThanks/StepThanksComponent.js.map +1 -0
  776. package/dist/src/pages/steps/StepThanks/StepThanksValidator.d.ts +5 -0
  777. package/dist/src/pages/steps/StepThanks/StepThanksValidator.js +13 -0
  778. package/dist/src/pages/steps/StepThanks/StepThanksValidator.js.map +1 -0
  779. package/dist/src/pages/steps/StepValidator.d.ts +4 -0
  780. package/dist/src/pages/steps/StepValidator.js +6 -0
  781. package/dist/src/pages/steps/StepValidator.js.map +1 -0
  782. package/dist/src/providers/CurrencyProvider.d.ts +22 -0
  783. package/dist/src/providers/CurrencyProvider.js +180 -0
  784. package/dist/src/providers/CurrencyProvider.js.map +1 -0
  785. package/dist/src/providers/DIProvider.d.ts +3 -0
  786. package/dist/src/providers/DIProvider.js +20 -0
  787. package/dist/src/providers/DIProvider.js.map +1 -0
  788. package/dist/src/providers/DistanceProvider.d.ts +13 -0
  789. package/dist/src/providers/DistanceProvider.js +32 -0
  790. package/dist/src/providers/DistanceProvider.js.map +1 -0
  791. package/dist/src/providers/FeatureProvider.d.ts +5 -0
  792. package/dist/src/providers/FeatureProvider.js +36 -0
  793. package/dist/src/providers/FeatureProvider.js.map +1 -0
  794. package/dist/src/providers/FilterProvider.d.ts +8 -0
  795. package/dist/src/providers/FilterProvider.js +40 -0
  796. package/dist/src/providers/FilterProvider.js.map +1 -0
  797. package/dist/src/providers/ImageProvider.d.ts +31 -0
  798. package/dist/src/providers/ImageProvider.js +65 -0
  799. package/dist/src/providers/ImageProvider.js.map +1 -0
  800. package/dist/src/providers/LanguageProvider.d.ts +26 -0
  801. package/dist/src/providers/LanguageProvider.js +105 -0
  802. package/dist/src/providers/LanguageProvider.js.map +1 -0
  803. package/dist/src/providers/RatePillProvider.d.ts +33 -0
  804. package/dist/src/providers/RatePillProvider.js +68 -0
  805. package/dist/src/providers/RatePillProvider.js.map +1 -0
  806. package/dist/src/providers/RoomSortProvider.d.ts +9 -0
  807. package/dist/src/providers/RoomSortProvider.js +28 -0
  808. package/dist/src/providers/RoomSortProvider.js.map +1 -0
  809. package/dist/src/providers/RoomstayThemeEngine.d.ts +46 -0
  810. package/dist/src/providers/RoomstayThemeEngine.js +184 -0
  811. package/dist/src/providers/RoomstayThemeEngine.js.map +1 -0
  812. package/dist/src/providers/SessionProvider.d.ts +55 -0
  813. package/dist/src/providers/SessionProvider.js +245 -0
  814. package/dist/src/providers/SessionProvider.js.map +1 -0
  815. package/dist/src/providers/StaticContextProvider.d.ts +5 -0
  816. package/dist/src/providers/StaticContextProvider.js +11 -0
  817. package/dist/src/providers/StaticContextProvider.js.map +1 -0
  818. package/dist/src/providers/feature/ConfirmationVerifyFeature.d.ts +10 -0
  819. package/dist/src/providers/feature/ConfirmationVerifyFeature.js +16 -0
  820. package/dist/src/providers/feature/ConfirmationVerifyFeature.js.map +1 -0
  821. package/dist/src/providers/feature/DatePickerTypeFeature.d.ts +7 -0
  822. package/dist/src/providers/feature/DatePickerTypeFeature.js +18 -0
  823. package/dist/src/providers/feature/DatePickerTypeFeature.js.map +1 -0
  824. package/dist/src/providers/feature/E164PhoneNumberFieldFeature.d.ts +7 -0
  825. package/dist/src/providers/feature/E164PhoneNumberFieldFeature.js +13 -0
  826. package/dist/src/providers/feature/E164PhoneNumberFieldFeature.js.map +1 -0
  827. package/dist/src/providers/feature/Feature.d.ts +11 -0
  828. package/dist/src/providers/feature/Feature.js +26 -0
  829. package/dist/src/providers/feature/Feature.js.map +1 -0
  830. package/dist/src/providers/feature/FeaturedPromoFeature.d.ts +7 -0
  831. package/dist/src/providers/feature/FeaturedPromoFeature.js +14 -0
  832. package/dist/src/providers/feature/FeaturedPromoFeature.js.map +1 -0
  833. package/dist/src/providers/feature/InlineAddonStepFeature.d.ts +9 -0
  834. package/dist/src/providers/feature/InlineAddonStepFeature.js +26 -0
  835. package/dist/src/providers/feature/InlineAddonStepFeature.js.map +1 -0
  836. package/dist/src/providers/feature/RoomUpsellFeature.d.ts +7 -0
  837. package/dist/src/providers/feature/RoomUpsellFeature.js +13 -0
  838. package/dist/src/providers/feature/RoomUpsellFeature.js.map +1 -0
  839. package/dist/src/providers/feature/ShowIATANumberOnCheckoutFeature.d.ts +7 -0
  840. package/dist/src/providers/feature/ShowIATANumberOnCheckoutFeature.js +13 -0
  841. package/dist/src/providers/feature/ShowIATANumberOnCheckoutFeature.js.map +1 -0
  842. package/dist/src/providers/storage/LocalStorageProvider.d.ts +16 -0
  843. package/dist/src/providers/storage/LocalStorageProvider.js +95 -0
  844. package/dist/src/providers/storage/LocalStorageProvider.js.map +1 -0
  845. package/dist/src/providers/storage/StorageProvider.d.ts +9 -0
  846. package/dist/src/providers/storage/StorageProvider.js +13 -0
  847. package/dist/src/providers/storage/StorageProvider.js.map +1 -0
  848. package/dist/src/reducers/BasketReducer.d.ts +8 -0
  849. package/dist/src/reducers/BasketReducer.js +76 -0
  850. package/dist/src/reducers/BasketReducer.js.map +1 -0
  851. package/dist/src/routes/NaturallyProgressedStepRoute.d.ts +7 -0
  852. package/dist/src/routes/NaturallyProgressedStepRoute.js +17 -0
  853. package/dist/src/routes/NaturallyProgressedStepRoute.js.map +1 -0
  854. package/dist/src/translations/Translation.d.ts +301 -0
  855. package/dist/src/translations/Translation.js +305 -0
  856. package/dist/src/translations/Translation.js.map +1 -0
  857. package/dist/src/translations/languages/en-gb.d.ts +3 -0
  858. package/dist/src/translations/languages/en-gb.js +305 -0
  859. package/dist/src/translations/languages/en-gb.js.map +1 -0
  860. package/dist/src/translations/languages/es.d.ts +2 -0
  861. package/dist/src/translations/languages/es.js +5 -0
  862. package/dist/src/translations/languages/es.js.map +1 -0
  863. package/dist/src/translations/languages/fr.d.ts +2 -0
  864. package/dist/src/translations/languages/fr.js +5 -0
  865. package/dist/src/translations/languages/fr.js.map +1 -0
  866. package/dist/src/translations/languages/template.d.ts +2 -0
  867. package/dist/src/translations/languages/template.js +5 -0
  868. package/dist/src/translations/languages/template.js.map +1 -0
  869. package/dist/src/translations/languages/zh-cn.d.ts +2 -0
  870. package/dist/src/translations/languages/zh-cn.js +5 -0
  871. package/dist/src/translations/languages/zh-cn.js.map +1 -0
  872. package/dist/src/translations/languages/zh-tw.d.ts +2 -0
  873. package/dist/src/translations/languages/zh-tw.js +5 -0
  874. package/dist/src/translations/languages/zh-tw.js.map +1 -0
  875. package/dist/src/util/CalendarHelper.d.ts +16 -0
  876. package/dist/src/util/CalendarHelper.js +81 -0
  877. package/dist/src/util/CalendarHelper.js.map +1 -0
  878. package/dist/src/util/Color.d.ts +16 -0
  879. package/dist/src/util/Color.js +21 -0
  880. package/dist/src/util/Color.js.map +1 -0
  881. package/dist/src/util/CurrencyHelper.d.ts +3 -0
  882. package/dist/src/util/CurrencyHelper.js +9 -0
  883. package/dist/src/util/CurrencyHelper.js.map +1 -0
  884. package/dist/src/util/DataLayer.d.ts +65 -0
  885. package/dist/src/util/DataLayer.js +322 -0
  886. package/dist/src/util/DataLayer.js.map +1 -0
  887. package/dist/src/util/ScreenSize.d.ts +9 -0
  888. package/dist/src/util/ScreenSize.js +13 -0
  889. package/dist/src/util/ScreenSize.js.map +1 -0
  890. package/dist/src/util/StepManager.d.ts +19 -0
  891. package/dist/src/util/StepManager.js +67 -0
  892. package/dist/src/util/StepManager.js.map +1 -0
  893. package/dist/src/util/StringHelper.d.ts +7 -0
  894. package/dist/src/util/StringHelper.js +30 -0
  895. package/dist/src/util/StringHelper.js.map +1 -0
  896. package/dist/src/util/TextAlignment.d.ts +4 -0
  897. package/dist/src/util/TextAlignment.js +9 -0
  898. package/dist/src/util/TextAlignment.js.map +1 -0
  899. package/dist/src/util/TimeHelper.d.ts +3 -0
  900. package/dist/src/util/TimeHelper.js +16 -0
  901. package/dist/src/util/TimeHelper.js.map +1 -0
  902. package/dist/src/util/TotalCalculator.d.ts +9 -0
  903. package/dist/src/util/TotalCalculator.js +57 -0
  904. package/dist/src/util/TotalCalculator.js.map +1 -0
  905. package/dist/tests/jest/engines/RoomstayThemeEngine.test.d.ts +1 -0
  906. package/dist/tests/jest/engines/RoomstayThemeEngine.test.js +36 -0
  907. package/dist/tests/jest/engines/RoomstayThemeEngine.test.js.map +1 -0
  908. package/dist/tests/jest/events/EventManager.test.d.ts +1 -0
  909. package/dist/tests/jest/events/EventManager.test.js +99 -0
  910. package/dist/tests/jest/events/EventManager.test.js.map +1 -0
  911. package/dist/tests/jest/models/RoomRate.test.d.ts +1 -0
  912. package/dist/tests/jest/models/RoomRate.test.js +130 -0
  913. package/dist/tests/jest/models/RoomRate.test.js.map +1 -0
  914. package/dist/tests/jest/providers/LanguageProvider.test.d.ts +1 -0
  915. package/dist/tests/jest/providers/LanguageProvider.test.js +20 -0
  916. package/dist/tests/jest/providers/LanguageProvider.test.js.map +1 -0
  917. package/dist/tests/jest/providers/SessionProvider.test.d.ts +1 -0
  918. package/dist/tests/jest/providers/SessionProvider.test.js +217 -0
  919. package/dist/tests/jest/providers/SessionProvider.test.js.map +1 -0
  920. package/dist/tests/jest/providers/storage/LocalStorageProvider.test.d.ts +1 -0
  921. package/dist/tests/jest/providers/storage/LocalStorageProvider.test.js +126 -0
  922. package/dist/tests/jest/providers/storage/LocalStorageProvider.test.js.map +1 -0
  923. package/dist/tests/jest/reducers/BasketReducer.test.d.ts +1 -0
  924. package/dist/tests/jest/reducers/BasketReducer.test.js +99 -0
  925. package/dist/tests/jest/reducers/BasketReducer.test.js.map +1 -0
  926. package/dist/tests/offline/RoomstayBestRateAlert.d.ts +2 -0
  927. package/dist/tests/offline/RoomstayBestRateAlert.js +22 -0
  928. package/dist/tests/offline/RoomstayBestRateAlert.js.map +1 -0
  929. package/dist/tests/offline/entry/RSCompany.d.ts +2 -0
  930. package/dist/tests/offline/entry/RSCompany.js +111 -0
  931. package/dist/tests/offline/entry/RSCompany.js.map +1 -0
  932. package/dist/tests/offline/entry/ReactWrapper.d.ts +2 -0
  933. package/dist/tests/offline/entry/ReactWrapper.js +59 -0
  934. package/dist/tests/offline/entry/ReactWrapper.js.map +1 -0
  935. package/dist/tests/offline/entry/allEngines.d.ts +1 -0
  936. package/dist/tests/offline/entry/allEngines.js +24 -0
  937. package/dist/tests/offline/entry/allEngines.js.map +1 -0
  938. package/dist/tests/offline/entry/components/TestPicker.d.ts +2 -0
  939. package/dist/tests/offline/entry/components/TestPicker.js +99 -0
  940. package/dist/tests/offline/entry/components/TestPicker.js.map +1 -0
  941. package/package.json +180 -0
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const React = require("react");
4
+ const react_1 = require("react");
5
+ const Headline_1 = require("../../../components/generic/Headline");
6
+ const StepManager_1 = require("../../../util/StepManager");
7
+ const BESummary_1 = require("../../../components/summary/BESummary");
8
+ const react_router_dom_1 = require("react-router-dom");
9
+ const LineBreak_1 = require("../../../components/generic/LineBreak");
10
+ const BackButton_1 = require("../../../components/generic/BackButton");
11
+ const Translation_1 = require("../../../translations/Translation");
12
+ const BEMobileSummary_1 = require("../../../components/summary/BEMobileSummary");
13
+ const ScreenSize_1 = require("../../../util/ScreenSize");
14
+ const StepRoomHotelDetails_1 = require("../../../components/steps/room/StepRoomHotelDetails");
15
+ const StepConfirmationForm_1 = require("../../../components/steps/confirmation/StepConfirmationForm");
16
+ const react_i18next_1 = require("react-i18next");
17
+ const AdditionalOffers_1 = require("../../../components/steps/confirmation/additionalOffers/AdditionalOffers");
18
+ const StepConfirmationLimitedOffer_1 = require("../../../components/steps/confirmation/StepConfirmationLimitedOffer");
19
+ const dayjs = require("dayjs");
20
+ const StepRoomBestRateAlert_1 = require("../../../components/steps/room/StepRoomBestRateAlert");
21
+ const InlineAddonStepFeature_1 = require("../../../providers/feature/InlineAddonStepFeature");
22
+ const ConfirmationFormContext_1 = require("../../../contexts/ConfirmationFormContext");
23
+ const EventHook_1 = require("../../../hooks/EventHook");
24
+ const events_1 = require("../../../events");
25
+ const contexts_1 = require("@frontend/contexts");
26
+ const contexts_2 = require("@frontend/contexts");
27
+ function StepConfirmationComponent() {
28
+ const context = react_1.useContext(contexts_1.BookingEngineContext);
29
+ const { currentStep } = react_1.useContext(contexts_2.FullPageEngineContext);
30
+ const { currentBasketRows } = react_1.useContext(contexts_1.BasketContext);
31
+ const { t } = react_i18next_1.useTranslation();
32
+ const { raise } = EventHook_1.useEvent();
33
+ react_1.useEffect(() => {
34
+ const event = new events_1.StepCheckoutViewEvent(currentBasketRows);
35
+ raise(event);
36
+ }, []);
37
+ return (React.createElement("div", { className: "container" },
38
+ React.createElement(BEMobileSummary_1.default, null),
39
+ React.createElement("div", { className: 'row' + (context.screenSize > ScreenSize_1.default.ExtraLarge ? ' no-gutters' : '') },
40
+ React.createElement("div", { className: "col-md-7 col-xl-8" },
41
+ context.screenSize > ScreenSize_1.default.Medium && (React.createElement(React.Fragment, null,
42
+ React.createElement(react_router_dom_1.Link, { to: StepManager_1.default.getPreviousStepUrl(currentStep) },
43
+ React.createElement(BackButton_1.default, null)),
44
+ React.createElement("div", { className: "u-marg-top--light u-marg-bottom--heavy" },
45
+ React.createElement(Headline_1.default, { bold: true }, t(Translation_1.Translation.Navigation.Steps.Confirmation))))),
46
+ React.createElement("div", { className: "u-marg-top@m-" },
47
+ React.createElement(StepRoomBestRateAlert_1.default, null))),
48
+ context.screenSize > ScreenSize_1.default.Medium && (React.createElement("div", { className: "offset-xl-1 col-md-4 col-xl-3 align-self-end" },
49
+ React.createElement(StepRoomHotelDetails_1.default, null)))),
50
+ React.createElement(LineBreak_1.default, null),
51
+ React.createElement("div", { className: 'row' + (context.screenSize > ScreenSize_1.default.ExtraLarge ? ' no-gutters' : '') },
52
+ React.createElement("div", { className: "col-md-7 col-xl-8 d-table" },
53
+ React.createElement("div", { className: "block-container" },
54
+ !InlineAddonStepFeature_1.default.isActive() && React.createElement(AdditionalOffers_1.default, null),
55
+ React.createElement(ConfirmationFormContext_1.ConfirmationFormContextWrapper, null,
56
+ React.createElement(StepConfirmationForm_1.default, null)))),
57
+ context.screenSize > ScreenSize_1.default.Medium && (React.createElement("div", { className: "col-xl-3 col-md-5 offset-xl-1" },
58
+ React.createElement(StepConfirmationLimitedOffer_1.default, { endDate: dayjs().add(10, 'minute') }),
59
+ React.createElement(BESummary_1.BESummary, { showImages: true }))))));
60
+ }
61
+ exports.default = StepConfirmationComponent;
62
+ //# sourceMappingURL=StepConfirmationComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepConfirmationComponent.js","sourceRoot":"/","sources":["src/pages/steps/StepConfirmation/StepConfirmationComponent.tsx"],"names":[],"mappings":";;AAAA,+BAA+B;AAC/B,iCAA8C;AAC9C,mEAA4D;AAC5D,2DAAoD;AACpD,qEAAkE;AAClE,uDAAwC;AACxC,qEAA8D;AAC9D,uEAAgE;AAChE,mEAAgE;AAChE,iFAA0E;AAE1E,yDAAkD;AAElD,8FAAuF;AACvF,sGAA+F;AAC/F,iDAA+C;AAC/C,+GAAwG;AACxG,sHAA+G;AAC/G,+BAA+B;AAC/B,gGAAyF;AACzF,8FAAuF;AACvF,uFAA2F;AAC3F,wDAAoD;AACpD,4CAAwD;AACxD,iDAAyE;AACzE,iDAA2D;AAE3D,SAAS,yBAAyB;IAC9B,MAAM,OAAO,GAAG,kBAAU,CAAC,+BAAoB,CAAC,CAAC;IACjD,MAAM,EAAE,WAAW,EAAE,GAAG,kBAAU,CAAC,gCAAqB,CAAC,CAAC;IAC1D,MAAM,EAAE,iBAAiB,EAAE,GAAG,kBAAU,CAAC,wBAAa,CAAC,CAAC;IAExD,MAAM,EAAE,CAAC,EAAE,GAAG,8BAAc,EAAE,CAAC;IAE/B,MAAM,EAAE,KAAK,EAAE,GAAG,oBAAQ,EAAE,CAAC;IAE7B,iBAAS,CAAC,GAAG,EAAE;QACX,MAAM,KAAK,GAAG,IAAI,8BAAqB,CAAC,iBAAiB,CAAC,CAAC;QAC3D,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACH,6BAAK,SAAS,EAAC,WAAW;QACtB,oBAAC,y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OAAO,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,EAAE,EAAE,QAAQ,CAAC,GAAI;gBACpE,oBAAC,qBAAS,IAAC,UAAU,EAAE,IAAI,GAAI,CAC7B,CACT,CACC,CACJ,CACT,CAAC;AACN,CAAC;AAED,kBAAe,yBAAyB,CAAC","sourcesContent":["import * as React from 'react';\nimport { useContext, useEffect } from 'react';\nimport Headline from '../../../components/generic/Headline';\nimport StepManager from '../../../util/StepManager';\nimport { BESummary } from '../../../components/summary/BESummary';\nimport { Link } from 'react-router-dom';\nimport LineBreak from '../../../components/generic/LineBreak';\nimport BackButton from '../../../components/generic/BackButton';\nimport { Translation } from '../../../translations/Translation';\nimport BEMobileSummary from '../../../components/summary/BEMobileSummary';\n\nimport ScreenSize from '../../../util/ScreenSize';\n\nimport StepRoomHotelDetails from '../../../components/steps/room/StepRoomHotelDetails';\nimport StepConfirmationForm from '../../../components/steps/confirmation/StepConfirmationForm';\nimport { useTranslation } from 'react-i18next';\nimport AdditionalOffers from '../../../components/steps/confirmation/additionalOffers/AdditionalOffers';\nimport StepConfirmationLimitedOffer from '../../../components/steps/confirmation/StepConfirmationLimitedOffer';\nimport * as dayjs from 'dayjs';\nimport StepRoomBestRateAlert from '../../../components/steps/room/StepRoomBestRateAlert';\nimport InlineAddonStepFeature from '../../../providers/feature/InlineAddonStepFeature';\nimport { ConfirmationFormContextWrapper } from '../../../contexts/ConfirmationFormContext';\nimport { useEvent } from '../../../hooks/EventHook';\nimport { StepCheckoutViewEvent } from '../../../events';\nimport { BasketContext, BookingEngineContext } from '@frontend/contexts';\nimport { FullPageEngineContext } from '@frontend/contexts';\n\nfunction StepConfirmationComponent() {\n const context = useContext(BookingEngineContext);\n const { currentStep } = useContext(FullPageEngineContext);\n const { currentBasketRows } = useContext(BasketContext);\n\n const { t } = useTranslation();\n\n const { raise } = useEvent();\n\n useEffect(() => {\n const event = new StepCheckoutViewEvent(currentBasketRows);\n raise(event);\n }, []);\n\n return (\n <div className=\"container\">\n <BEMobileSummary />\n <div className={'row' + (context.screenSize > ScreenSize.ExtraLarge ? ' no-gutters' : '')}>\n <div className=\"col-md-7 col-xl-8\">\n {context.screenSize > ScreenSize.Medium && (\n <>\n <Link to={StepManager.getPreviousStepUrl(currentStep)}>\n <BackButton />\n </Link>\n <div className=\"u-marg-top--light u-marg-bottom--heavy\">\n <Headline bold={true}>{t(Translation.Navigation.Steps.Confirmation)}</Headline>\n </div>\n </>\n )}\n\n <div className=\"u-marg-top@m-\">\n <StepRoomBestRateAlert />\n </div>\n </div>\n {context.screenSize > ScreenSize.Medium && (\n <div className=\"offset-xl-1 col-md-4 col-xl-3 align-self-end\">\n <StepRoomHotelDetails />\n </div>\n )}\n </div>\n <LineBreak />\n <div className={'row' + (context.screenSize > ScreenSize.ExtraLarge ? ' no-gutters' : '')}>\n <div className=\"col-md-7 col-xl-8 d-table\">\n <div className=\"block-container\">\n {!InlineAddonStepFeature.isActive() && <AdditionalOffers />}\n <ConfirmationFormContextWrapper>\n <StepConfirmationForm />\n </ConfirmationFormContextWrapper>\n </div>\n </div>\n\n {context.screenSize > ScreenSize.Medium && (\n <div className=\"col-xl-3 col-md-5 offset-xl-1\">\n <StepConfirmationLimitedOffer endDate={dayjs().add(10, 'minute')} />\n <BESummary showImages={true} />\n </div>\n )}\n </div>\n </div>\n );\n}\n\nexport default StepConfirmationComponent;\n"]}
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export default function StepConfirmationLoader(): JSX.Element;
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const React = require("react");
4
+ const react_1 = require("react");
5
+ const Placeholder_1 = require("../../../components/generic/Placeholder");
6
+ const StepConfirmationComponent = react_1.lazy(() => Promise.resolve().then(() => require('./StepConfirmationComponent')));
7
+ function StepConfirmationPlaceholder() {
8
+ return (React.createElement("div", { className: "container" },
9
+ React.createElement("div", { className: "row no-gutters" },
10
+ React.createElement("div", { className: "col-md-8" },
11
+ React.createElement("div", { className: "u-marg-top--light u-marg-bottom--heavy" },
12
+ React.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "md", blink: true }))),
13
+ React.createElement("div", { className: "col-xl-3 col-md-4 offset-xl-1 align-self-end" },
14
+ React.createElement("div", { className: "u-marg-bottom" },
15
+ React.createElement(Placeholder_1.default, { type: "text", w: "md", h: "md", blink: true }),
16
+ React.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "sm", blink: true })),
17
+ React.createElement("div", { className: "row" },
18
+ React.createElement("div", { className: "col-6" },
19
+ React.createElement(Placeholder_1.default, { type: "text", w: "lg", h: "md", blink: true })),
20
+ React.createElement("div", { className: "col-6" },
21
+ React.createElement(Placeholder_1.default, { type: "text", w: "lg", h: "md", blink: true }))))),
22
+ React.createElement("div", { className: "line-break" }),
23
+ React.createElement("div", { className: "row no-gutters" },
24
+ React.createElement("div", { className: "col-md-7 col-lg-8" },
25
+ React.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "md", blink: true }),
26
+ React.createElement("div", { className: "additional-offers u-flex" },
27
+ React.createElement(Placeholder_1.default, { type: "block", rounded: "lg", blockSize: "sm", blink: true }),
28
+ React.createElement(Placeholder_1.default, { type: "block", rounded: "lg", blockSize: "sm", blink: true }),
29
+ React.createElement(Placeholder_1.default, { type: "block", rounded: "lg", blockSize: "sm", blink: true })),
30
+ React.createElement("div", { className: "u-marg-bottom--heavy" },
31
+ React.createElement(Placeholder_1.default, { type: "text", w: "xs", h: "md", blink: true }),
32
+ React.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "xs", blink: true })),
33
+ React.createElement(Placeholder_1.default, { type: "text", w: "xs", h: "md", blink: true }),
34
+ React.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "sm", blink: true }),
35
+ React.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "xs", blink: true }),
36
+ React.createElement(Placeholder_1.default, { type: "text", w: "xs", h: "xs", blink: true }),
37
+ React.createElement("div", { className: "u-flex" },
38
+ React.createElement(Placeholder_1.default, { type: "text", w: "xl", h: "md", blink: true }),
39
+ React.createElement(Placeholder_1.default, { type: "text", w: "xl", h: "md", blink: true })),
40
+ React.createElement("div", { className: "u-flex" },
41
+ React.createElement(Placeholder_1.default, { type: "text", w: "xl", h: "md", blink: true }),
42
+ React.createElement(Placeholder_1.default, { type: "text", w: "xl", h: "md", blink: true })),
43
+ React.createElement(Placeholder_1.default, { type: "text", w: "xs", h: "xs", blink: true }),
44
+ React.createElement("div", { className: "u-flex" },
45
+ React.createElement(Placeholder_1.default, { type: "text", w: "xl", h: "md", blink: true }),
46
+ React.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "md", blink: true })),
47
+ React.createElement("div", { className: "u-flex" },
48
+ React.createElement(Placeholder_1.default, { type: "text", w: "xl", h: "md", blink: true }),
49
+ React.createElement(Placeholder_1.default, { type: "text", w: "xl", h: "md", blink: true })),
50
+ React.createElement("div", { className: "line-break" }),
51
+ React.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "md", blink: true }),
52
+ React.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "md", blink: true }),
53
+ React.createElement("div", { className: "u-flex" },
54
+ React.createElement(Placeholder_1.default, { type: "text", w: "xl", h: "md", blink: true }),
55
+ React.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "md", blink: true }),
56
+ React.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "md", blink: true })),
57
+ React.createElement(Placeholder_1.default, { type: "text", w: "xl", h: "md", blink: true }),
58
+ React.createElement("div", { className: "line-break" }),
59
+ React.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "md", blink: true }),
60
+ React.createElement(Placeholder_1.default, { type: "text", w: "xl", h: "lg", blink: true }),
61
+ React.createElement("div", { className: "line-break" }),
62
+ React.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "md", blink: true }),
63
+ React.createElement("div", { className: "u-flex u-flex-flex-start" },
64
+ React.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "md", blink: true }),
65
+ React.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "md", blink: true })),
66
+ React.createElement(Placeholder_1.default, { type: "text", w: "md", h: "xs", blink: true }),
67
+ React.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "xs", blink: true }),
68
+ React.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "xs", blink: true })),
69
+ React.createElement("div", { className: "col-xl-3 col-md-5 col-lg-4 offset-xl-1 u-pad" },
70
+ React.createElement("div", null,
71
+ React.createElement("div", null,
72
+ React.createElement(Placeholder_1.default, { type: "text", w: "xl", h: "lg", blink: true })),
73
+ React.createElement("div", null,
74
+ React.createElement(Placeholder_1.default, { type: "block", blockSize: "lg", rounded: "lg", blink: true })))))));
75
+ }
76
+ function StepConfirmationLoader() {
77
+ return (React.createElement(react_1.Suspense, { fallback: React.createElement(StepConfirmationPlaceholder, null) },
78
+ React.createElement(StepConfirmationComponent, null)));
79
+ }
80
+ exports.default = StepConfirmationLoader;
81
+ //# sourceMappingURL=StepConfirmationLoader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepConfirmationLoader.js","sourceRoot":"/","sources":["src/pages/steps/StepConfirmation/StepConfirmationLoader.tsx"],"names":[],"mappings":";;AAAA,+BAA+B;AAC/B,iCAAuC;AAEvC,yEAAkE;AAElE,MAAM,yBAAyB,GAAG,YAAI,CAAC,GAAG,EAAE,sCAAQ,6BAA6B,EAAC,CAAC,CAAC;AAEpF,SAAS,2BAA2B;IAChC,OAAO,CACH,6BAAK,SAAS,EAAC,WAAW;QACtB,6BAAK,SAAS,EAAC,gBAAgB;YAC3B,6BAAK,SAAS,EAAC,UAAU;gBACrB,6BAAK,SAAS,EAAC,wCAAwC;oBACnD,oBAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI,CACpD,CACJ;YACN,6BAAK,SAAS,EAAC,8CAA8C;gBACzD,6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,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI;gBACtD,oBAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI;gBACtD,oBAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI,CACpD;YACN,6BAAK,SAAS,EAAC,8CAA8C;gBACzD;oBACI;wBACI,oBAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI,CACpD;oBACN;wBACI,oBAAC,qBAAW,IAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI,CACnE,CACJ,CACJ,CACJ,CACJ,CACT,CAAC;AACN,CAAC;AAED,SAAwB,sBAAsB;IAC1C,OAAO,CACH,oBAAC,gBAAQ,IAAC,QAAQ,EAAE,oBAAC,2BAA2B,OAAG;QAC/C,oBAAC,yBAAyB,OAAG,CACtB,CACd,CAAC;AACN,CAAC;AAND,yCAMC","sourcesContent":["import * as React from 'react';\nimport { lazy, Suspense } from 'react';\n\nimport Placeholder from '../../../components/generic/Placeholder';\n\nconst StepConfirmationComponent = lazy(() => import('./StepConfirmationComponent'));\n\nfunction StepConfirmationPlaceholder() {\n return (\n <div className=\"container\">\n <div className=\"row no-gutters\">\n <div className=\"col-md-8\">\n <div className=\"u-marg-top--light u-marg-bottom--heavy\">\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n </div>\n </div>\n <div className=\"col-xl-3 col-md-4 offset-xl-1 align-self-end\">\n <div className=\"u-marg-bottom\">\n <Placeholder type=\"text\" w=\"md\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink={true} />\n </div>\n <div className=\"row\">\n <div className=\"col-6\">\n <Placeholder type=\"text\" w=\"lg\" h=\"md\" blink={true} />\n </div>\n <div className=\"col-6\">\n <Placeholder type=\"text\" w=\"lg\" h=\"md\" blink={true} />\n </div>\n </div>\n </div>\n </div>\n <div className=\"line-break\" />\n <div className=\"row no-gutters\">\n <div className=\"col-md-7 col-lg-8\">\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <div className=\"additional-offers u-flex\">\n <Placeholder type=\"block\" rounded=\"lg\" blockSize=\"sm\" blink={true} />\n <Placeholder type=\"block\" rounded=\"lg\" blockSize=\"sm\" blink={true} />\n <Placeholder type=\"block\" rounded=\"lg\" blockSize=\"sm\" blink={true} />\n </div>\n <div className=\"u-marg-bottom--heavy\">\n <Placeholder type=\"text\" w=\"xs\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink={true} />\n </div>\n <Placeholder type=\"text\" w=\"xs\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink={true} />\n <Placeholder type=\"text\" w=\"xs\" h=\"xs\" blink={true} />\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n </div>\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n </div>\n <Placeholder type=\"text\" w=\"xs\" h=\"xs\" blink={true} />\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n </div>\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n </div>\n <div className=\"line-break\" />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n </div>\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n <div className=\"line-break\" />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"xl\" h=\"lg\" blink={true} />\n <div className=\"line-break\" />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <div className=\"u-flex u-flex-flex-start\">\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n </div>\n <Placeholder type=\"text\" w=\"md\" h=\"xs\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink={true} />\n </div>\n <div className=\"col-xl-3 col-md-5 col-lg-4 offset-xl-1 u-pad\">\n <div>\n <div>\n <Placeholder type=\"text\" w=\"xl\" h=\"lg\" blink={true} />\n </div>\n <div>\n <Placeholder type=\"block\" blockSize=\"lg\" rounded=\"lg\" blink={true} />\n </div>\n </div>\n </div>\n </div>\n </div>\n );\n}\n\nexport default function StepConfirmationLoader() {\n return (\n <Suspense fallback={<StepConfirmationPlaceholder />}>\n <StepConfirmationComponent />\n </Suspense>\n );\n}\n"]}
@@ -0,0 +1,5 @@
1
+ import type { BasketContextType } from '@frontend/contexts';
2
+ import StepValidator from '../StepValidator';
3
+ export default class StepConfirmationValidator extends StepValidator {
4
+ isValid(context: BasketContextType): boolean;
5
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const StepValidator_1 = require("../StepValidator");
4
+ class StepConfirmationValidator extends StepValidator_1.default {
5
+ isValid(context) {
6
+ var _a;
7
+ if (context && context.startDate && context.endDate && ((_a = context.getAllValidRows()) === null || _a === void 0 ? void 0 : _a.length)) {
8
+ return true;
9
+ }
10
+ return false;
11
+ }
12
+ }
13
+ exports.default = StepConfirmationValidator;
14
+ //# sourceMappingURL=StepConfirmationValidator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepConfirmationValidator.js","sourceRoot":"/","sources":["src/pages/steps/StepConfirmation/StepConfirmationValidator.ts"],"names":[],"mappings":";;AACA,oDAA6C;AAE7C,MAAqB,yBAA0B,SAAQ,uBAAa;IACzD,OAAO,CAAC,OAA0B;;QACrC,IAAI,OAAO,IAAI,OAAO,CAAC,SAAS,IAAI,OAAO,CAAC,OAAO,WAAI,OAAO,CAAC,eAAe,EAAE,0CAAE,MAAM,CAAA,EAAE;YACtF,OAAO,IAAI,CAAC;SACf;QACD,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ;AAPD,4CAOC","sourcesContent":["import type { BasketContextType } from '@frontend/contexts';\nimport StepValidator from '../StepValidator';\n\nexport default class StepConfirmationValidator extends StepValidator {\n public isValid(context: BasketContextType) {\n if (context && context.startDate && context.endDate && context.getAllValidRows()?.length) {\n return true;\n }\n return false;\n }\n}\n"]}
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import ColorProfile from '../../../models/Client/Hotel/ColorProfile';
3
+ import { Company } from '../../../models/Client/Hotel/Company';
4
+ import { Hotel } from '../../../models/Client/Hotel/Hotel';
5
+ import Step from '../Step';
6
+ import StepDateValidator from './StepDateValidator';
7
+ declare class StepDate extends Step {
8
+ constructor();
9
+ getComponent(): import("react").ComponentClass<Pick<any, string | number | symbol>, any> & import("react-router").WithRouterStatics<(props: any) => JSX.Element>;
10
+ getValidator(): StepDateValidator;
11
+ getStepTranslation(): string;
12
+ getColorProfile(company: Company, hotel?: Hotel): ColorProfile;
13
+ }
14
+ declare const _default: StepDate;
15
+ export default _default;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Translation_1 = require("../../../translations/Translation");
4
+ const Step_1 = require("../Step");
5
+ const StepDateComponent_1 = require("./StepDateComponent");
6
+ const StepDateValidator_1 = require("./StepDateValidator");
7
+ class StepDate extends Step_1.default {
8
+ constructor() {
9
+ super('Date');
10
+ }
11
+ getComponent() {
12
+ return StepDateComponent_1.default;
13
+ }
14
+ getValidator() {
15
+ return new StepDateValidator_1.default();
16
+ }
17
+ getStepTranslation() {
18
+ return Translation_1.Translation.Navigation.Steps.Date;
19
+ }
20
+ getColorProfile(company, hotel) {
21
+ if (hotel) {
22
+ return hotel.colors;
23
+ }
24
+ }
25
+ }
26
+ exports.default = new StepDate();
27
+ //# sourceMappingURL=StepDate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepDate.js","sourceRoot":"/","sources":["src/pages/steps/StepDate/StepDate.ts"],"names":[],"mappings":";;AAGA,mEAAgE;AAChE,kCAA2B;AAC3B,2DAAoD;AACpD,2DAAoD;AAEpD,MAAM,QAAS,SAAQ,cAAI;IACvB;QACI,KAAK,CAAC,MAAM,CAAC,CAAC;IAClB,CAAC;IAEM,YAAY;QACf,OAAO,2BAAiB,CAAC;IAC7B,CAAC;IAEM,YAAY;QACf,OAAO,IAAI,2BAAiB,EAAE,CAAC;IACnC,CAAC;IAEM,kBAAkB;QACrB,OAAO,yBAAW,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC;IAC7C,CAAC;IAEM,eAAe,CAAC,OAAgB,EAAE,KAAa;QAClD,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC,MAAM,CAAC;SACvB;IACL,CAAC;CACJ;AAED,kBAAe,IAAI,QAAQ,EAAE,CAAC","sourcesContent":["import ColorProfile from '../../../models/Client/Hotel/ColorProfile';\nimport { Company } from '../../../models/Client/Hotel/Company';\nimport { Hotel } from '../../../models/Client/Hotel/Hotel';\nimport { Translation } from '../../../translations/Translation';\nimport Step from '../Step';\nimport StepDateComponent from './StepDateComponent';\nimport StepDateValidator from './StepDateValidator';\n\nclass StepDate extends Step {\n public constructor() {\n super('Date');\n }\n\n public getComponent() {\n return StepDateComponent;\n }\n\n public getValidator() {\n return new StepDateValidator();\n }\n\n public getStepTranslation() {\n return Translation.Navigation.Steps.Date;\n }\n\n public getColorProfile(company: Company, hotel?: Hotel): ColorProfile {\n if (hotel) {\n return hotel.colors;\n }\n }\n}\n\nexport default new StepDate();\n"]}
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare const _default: React.ComponentClass<Pick<any, string | number | symbol>, any> & import("react-router").WithRouterStatics<(props: any) => JSX.Element>;
3
+ export default _default;
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const React = require("react");
4
+ const Headline_1 = require("../../../components/generic/Headline");
5
+ const Text_1 = require("../../../components/generic/Text");
6
+ const Color_1 = require("../../../util/Color");
7
+ const react_router_1 = require("react-router");
8
+ const react_i18next_1 = require("react-i18next");
9
+ const Translation_1 = require("../../../translations/Translation");
10
+ const ScreenSize_1 = require("../../../util/ScreenSize");
11
+ const StepOneStatusPeople_1 = require("../../../components/steps/date/StepOneStatusPeople");
12
+ const StepOneDateRange_1 = require("../../../components/steps/date/StepOneDateRange");
13
+ const StepOneNextStepButton_1 = require("../../../components/steps/date/StepOneNextStepButton");
14
+ const react_1 = require("react");
15
+ const StepOneDateRangePickerLegend_1 = require("../../../components/steps/date/StepOneDateRangePickerLegend");
16
+ const StepDatePricePerRoom_1 = require("../../../components/steps/date/StepDatePricePerRoom");
17
+ const contexts_1 = require("@frontend/contexts");
18
+ const LineBreak_1 = require("../../../components/generic/LineBreak");
19
+ const PeoplePicker_1 = require("../../../components/steps/date/PeoplePicker");
20
+ const StepOneDateRangePicker_1 = require("../../../components/steps/date/StepOneDateRangePicker");
21
+ const hooks_1 = require("@frontend/hooks");
22
+ const contexts_2 = require("@frontend/contexts");
23
+ const HotelOverridesContext_1 = require("../../../contexts/HotelOverridesContext");
24
+ const BEMobileSummary = react_1.lazy(() => Promise.resolve().then(() => require('../../../components/summary/BEMobileSummary')));
25
+ const StepDate = (props) => {
26
+ const context = react_1.useContext(contexts_1.BookingEngineContext);
27
+ const basketContext = react_1.useContext(contexts_1.BasketContext);
28
+ const ccx = react_1.useContext(contexts_2.CompanyContext);
29
+ const { hideByLine } = react_1.useContext(HotelOverridesContext_1.HotelOverridesContext);
30
+ const { hotel } = hooks_1.useCurrentHotel();
31
+ const { t } = react_i18next_1.useTranslation();
32
+ const peopleRef = react_1.useRef(null);
33
+ react_1.useEffect(() => {
34
+ if (context.screenSize <= ScreenSize_1.default.Medium && basketContext.endDate) {
35
+ if (peopleRef) {
36
+ setTimeout(() => {
37
+ var _a;
38
+ (_a = peopleRef.current) === null || _a === void 0 ? void 0 : _a.scrollIntoView({ behavior: 'smooth', block: 'center', inline: 'nearest' });
39
+ }, 50);
40
+ }
41
+ }
42
+ }, [basketContext.endDate]);
43
+ return (React.createElement("div", { className: "container" },
44
+ context.screenSize <= ScreenSize_1.default.Medium && React.createElement(BEMobileSummary, null),
45
+ context.screenSize >= ScreenSize_1.default.Large && (React.createElement(React.Fragment, null,
46
+ React.createElement("div", { className: "row" },
47
+ React.createElement("div", { className: "col-md-4 col-lg-3" },
48
+ React.createElement("div", { className: "u-marg-bottom--heavy" },
49
+ React.createElement(Headline_1.default, { bold: true }, t(Translation_1.Translation.Step.Date.Reservation))),
50
+ React.createElement(Headline_1.default, { color: Color_1.Color.Navy }, hotel.name),
51
+ !hideByLine && (React.createElement(Text_1.default, { color: Color_1.Color.DarkGrey },
52
+ t(Translation_1.Translation.Misc.By),
53
+ " ",
54
+ ccx.name))),
55
+ React.createElement("div", { className: "col-md-8 col-lg-9" },
56
+ React.createElement("div", { className: "row justify-content-between" },
57
+ React.createElement("div", { className: "col-md-6" },
58
+ React.createElement("div", { className: "u-marg-bottom--heavy" },
59
+ React.createElement(Headline_1.default, { bold: true }, t(Translation_1.Translation.Step.Date.SelectYourDate))),
60
+ React.createElement("div", { className: "step-one-status" },
61
+ React.createElement(StepOneDateRange_1.default, null),
62
+ React.createElement(StepOneStatusPeople_1.default, null))),
63
+ React.createElement("div", { className: "col-md-4" },
64
+ React.createElement(StepDatePricePerRoom_1.default, { isMobile: false }))))),
65
+ React.createElement(LineBreak_1.default, null))),
66
+ React.createElement("div", { className: "row flex-column-reverse flex-md-row align-items-center align-items-md-start" },
67
+ React.createElement("div", { ref: peopleRef, className: "col-md-4 col-xl-3" },
68
+ React.createElement(PeoplePicker_1.default, null)),
69
+ React.createElement("div", { className: "col-md-8 col-xl-9" },
70
+ React.createElement("div", { className: "w-100 u-flex justify-content-center flex-column align-items-center" },
71
+ React.createElement(react_1.Suspense, { fallback: "loading...." },
72
+ React.createElement(StepOneDateRangePicker_1.default, null))),
73
+ context.screenSize >= ScreenSize_1.default.Large ? React.createElement(StepOneDateRangePickerLegend_1.default, null) : React.createElement(LineBreak_1.default, null))),
74
+ React.createElement("div", { className: "u-flex justify-content-end" },
75
+ React.createElement(StepOneNextStepButton_1.default, { history: props.history }))));
76
+ };
77
+ exports.default = react_router_1.withRouter(StepDate);
78
+ //# sourceMappingURL=StepDateComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepDateComponent.js","sourceRoot":"/","sources":["src/pages/steps/StepDate/StepDateComponent.tsx"],"names":[],"mappings":";;AAAA,+BAA+B;AAC/B,mEAA4D;AAC5D,2DAAoD;AAEpD,+CAA4C;AAC5C,+CAA0C;AAE1C,iDAA+C;AAE/C,mEAAgE;AAChE,yDAAkD;AAClD,4FAAqF;AACrF,sFAA+E;AAC/E,gGAAyF;AACzF,iCAAsE;AAEtE,8GAAuG;AACvG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/E,oBAAC,gBAAQ,IAAC,QAAQ,EAAC,aAAa;wBAC5B,oBAAC,gCAAsB,OAAG,CACnB,CACT;gBACL,OAAO,CAAC,UAAU,IAAI,oBAAU,CAAC,KAAK,CAAC,CAAC,CAAC,oBAAC,sCAA4B,OAAG,CAAC,CAAC,CAAC,oBAAC,mBAAS,OAAG,CACxF,CACJ;QACN,6BAAK,SAAS,EAAC,4BAA4B;YACvC,oBAAC,+BAAqB,IAAC,OAAO,EAAE,KAAK,CAAC,OAAO,GAAI,CAC/C,CACJ,CACT,CAAC;AACN,CAAC,CAAC;AAEF,kBAAe,yBAAU,CAAC,QAAQ,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport Headline from '../../../components/generic/Headline';\nimport Text from '../../../components/generic/Text';\n\nimport { Color } from '../../../util/Color';\nimport { withRouter } from 'react-router';\n\nimport { useTranslation } from 'react-i18next';\n\nimport { Translation } from '../../../translations/Translation';\nimport ScreenSize from '../../../util/ScreenSize';\nimport StepOneStatusPeople from '../../../components/steps/date/StepOneStatusPeople';\nimport StepOneDateRange from '../../../components/steps/date/StepOneDateRange';\nimport StepOneNextStepButton from '../../../components/steps/date/StepOneNextStepButton';\nimport { useContext, useRef, useEffect, Suspense, lazy } from 'react';\n\nimport StepOneDateRangePickerLegend from '../../../components/steps/date/StepOneDateRangePickerLegend';\nimport StepDatePricePerRoom from '../../../components/steps/date/StepDatePricePerRoom';\nimport { BasketContext, BookingEngineContext } from '@frontend/contexts';\n\nimport LineBreak from '../../../components/generic/LineBreak';\nimport PeoplePicker from '../../../components/steps/date/PeoplePicker';\nimport StepOneDateRangePicker from '../../../components/steps/date/StepOneDateRangePicker';\nimport { useCurrentHotel } from '@frontend/hooks';\nimport { CompanyContext } from '@frontend/contexts';\nimport { HotelOverridesContext } from '../../../contexts/HotelOverridesContext';\n\nconst BEMobileSummary = lazy(() => import('../../../components/summary/BEMobileSummary'));\n\nconst StepDate = (props: any) => {\n const context = useContext(BookingEngineContext);\n const basketContext = useContext(BasketContext);\n const ccx = useContext(CompanyContext);\n const { hideByLine } = useContext(HotelOverridesContext);\n\n const { hotel } = useCurrentHotel();\n\n const { t } = useTranslation();\n const peopleRef = useRef(null);\n\n useEffect(() => {\n if (context.screenSize <= ScreenSize.Medium && basketContext.endDate) {\n if (peopleRef) {\n setTimeout(() => {\n peopleRef.current?.scrollIntoView({ behavior: 'smooth', block: 'center', inline: 'nearest' });\n }, 50);\n }\n }\n }, [basketContext.endDate]);\n\n return (\n <div className=\"container\">\n {context.screenSize <= ScreenSize.Medium && <BEMobileSummary />}\n {context.screenSize >= ScreenSize.Large && (\n <>\n <div className=\"row\">\n <div className=\"col-md-4 col-lg-3\">\n <div className=\"u-marg-bottom--heavy\">\n <Headline bold={true}>{t(Translation.Step.Date.Reservation)}</Headline>\n </div>\n <Headline color={Color.Navy}>{hotel.name}</Headline>\n {!hideByLine && (\n <Text color={Color.DarkGrey}>\n {t(Translation.Misc.By)} {ccx.name}\n </Text>\n )}\n </div>\n <div className=\"col-md-8 col-lg-9\">\n <div className=\"row justify-content-between\">\n <div className=\"col-md-6\">\n <div className=\"u-marg-bottom--heavy\">\n <Headline bold={true}>{t(Translation.Step.Date.SelectYourDate)}</Headline>\n </div>\n <div className=\"step-one-status\">\n <StepOneDateRange />\n <StepOneStatusPeople />\n </div>\n </div>\n <div className=\"col-md-4\">\n <StepDatePricePerRoom isMobile={false} />\n </div>\n </div>\n </div>\n </div>\n <LineBreak />\n </>\n )}\n\n <div className=\"row flex-column-reverse flex-md-row align-items-center align-items-md-start\">\n <div ref={peopleRef} className=\"col-md-4 col-xl-3\">\n <PeoplePicker />\n </div>\n <div className=\"col-md-8 col-xl-9\">\n <div className=\"w-100 u-flex justify-content-center flex-column align-items-center\">\n <Suspense fallback=\"loading....\">\n <StepOneDateRangePicker />\n </Suspense>\n </div>\n {context.screenSize >= ScreenSize.Large ? <StepOneDateRangePickerLegend /> : <LineBreak />}\n </div>\n </div>\n <div className=\"u-flex justify-content-end\">\n <StepOneNextStepButton history={props.history} />\n </div>\n </div>\n );\n};\n\nexport default withRouter(StepDate);\n"]}
@@ -0,0 +1,5 @@
1
+ import type { BasketContextType } from '@frontend/contexts';
2
+ import StepValidator from '../StepValidator';
3
+ export default class StepDateValidator extends StepValidator {
4
+ isValid(context: BasketContextType): boolean;
5
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const StepValidator_1 = require("../StepValidator");
4
+ class StepDateValidator extends StepValidator_1.default {
5
+ isValid(context) {
6
+ return true;
7
+ }
8
+ }
9
+ exports.default = StepDateValidator;
10
+ //# sourceMappingURL=StepDateValidator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepDateValidator.js","sourceRoot":"/","sources":["src/pages/steps/StepDate/StepDateValidator.ts"],"names":[],"mappings":";;AACA,oDAA6C;AAE7C,MAAqB,iBAAkB,SAAQ,uBAAa;IACjD,OAAO,CAAC,OAA0B;QACrC,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAJD,oCAIC","sourcesContent":["import type { BasketContextType } from '@frontend/contexts';\nimport StepValidator from '../StepValidator';\n\nexport default class StepDateValidator extends StepValidator {\n public isValid(context: BasketContextType): boolean {\n return true;\n }\n}\n"]}
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import Step from './Step';
3
+ export interface StepGuideProps {
4
+ step: Step;
5
+ children: React.ReactNode;
6
+ }
7
+ export default function StepGuide(props: StepGuideProps): JSX.Element;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const react_1 = require("react");
4
+ const contexts_1 = require("@frontend/contexts");
5
+ const react_router_dom_1 = require("react-router-dom");
6
+ const React = require("react");
7
+ const StepManager_1 = require("../../util/StepManager");
8
+ const contexts_2 = require("@frontend/contexts");
9
+ const hooks_1 = require("@frontend/hooks");
10
+ const contexts_3 = require("@frontend/contexts");
11
+ const RoomstayThemeEngine_1 = require("../../providers/RoomstayThemeEngine");
12
+ function StepGuide(props) {
13
+ const { setCurrentStep } = react_1.useContext(contexts_3.FullPageEngineContext);
14
+ const basketContext = react_1.useContext(contexts_1.BasketContext);
15
+ const ccx = react_1.useContext(contexts_2.CompanyContext);
16
+ const { hotel } = hooks_1.useCurrentHotel();
17
+ react_1.useEffect(() => {
18
+ setCurrentStep(props.step);
19
+ const colorProfile = props.step.getColorProfile(ccx, hotel);
20
+ if (colorProfile) {
21
+ RoomstayThemeEngine_1.default.changeTheme(colorProfile);
22
+ }
23
+ }, [props.step.getColorProfile(ccx, hotel)]);
24
+ return react_1.useMemo(() => {
25
+ const validator = props.step.getValidator();
26
+ if (validator === null || validator === void 0 ? void 0 : validator.isValid(basketContext)) {
27
+ return React.createElement(React.Fragment, null, props.children);
28
+ }
29
+ else {
30
+ return React.createElement(react_router_dom_1.Redirect, { to: StepManager_1.default.getPreviousStepUrl(props.step) });
31
+ }
32
+ }, [basketContext]);
33
+ }
34
+ exports.default = StepGuide;
35
+ //# sourceMappingURL=StepGuide.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepGuide.js","sourceRoot":"/","sources":["src/pages/steps/StepGuide.tsx"],"names":[],"mappings":";;AAAA,iCAAuD;AACvD,iDAAmD;AACnD,uDAA4C;AAC5C,+BAA+B;AAE/B,wDAAiD;AACjD,iDAAoD;AAEpD,2CAAkD;AAClD,iDAA2D;AAC3D,6EAAsE;AAOtE,SAAwB,SAAS,CAAC,KAAqB;IACnD,MAAM,EAAE,cAAc,EAAE,GAAG,kBAAU,CAAC,gCAAqB,CAAC,CAAC;IAC7D,MAAM,aAAa,GAAG,kBAAU,CAAC,wBAAa,CAAC,CAAC;IAEhD,MAAM,GAAG,GAAG,kBAAU,CAAC,yBAAc,CAAC,CAAC;IACvC,MAAM,EAAE,KAAK,EAAE,GAAG,uBAAe,EAAE,CAAC;IAEpC,iBAAS,CAAC,GAAG,EAAE;QACX,cAAc,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAE3B,MAAM,YAAY,GAAG,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;QAE5D,IAAI,YAAY,EAAE;YACd,6BAAmB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;SACjD;IACL,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IAE7C,OAAO,eAAO,CAAC,GAAG,EAAE;QAChB,MAAM,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;QAE5C,IAAI,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,OAAO,CAAC,aAAa,GAAG;YACnC,OAAO,0CAAG,KAAK,CAAC,QAAQ,CAAI,CAAC;SAChC;aAAM;YACH,OAAO,oBAAC,2BAAQ,IAAC,EAAE,EAAE,qBAAW,CAAC,kBAAkB,CAAC,KAAK,CAAC,IAAI,CAAC,GAAI,CAAC;SACvE;IACL,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC;AACxB,CAAC;AA1BD,4BA0BC","sourcesContent":["import { useContext, useEffect, useMemo } from 'react';\nimport { BasketContext } from '@frontend/contexts';\nimport { Redirect } from 'react-router-dom';\nimport * as React from 'react';\nimport Step from './Step';\nimport StepManager from '../../util/StepManager';\nimport { CompanyContext } from '@frontend/contexts';\n\nimport { useCurrentHotel } from '@frontend/hooks';\nimport { FullPageEngineContext } from '@frontend/contexts';\nimport RoomstayThemeEngine from '../../providers/RoomstayThemeEngine';\n\nexport interface StepGuideProps {\n step: Step;\n children: React.ReactNode;\n}\n\nexport default function StepGuide(props: StepGuideProps) {\n const { setCurrentStep } = useContext(FullPageEngineContext);\n const basketContext = useContext(BasketContext);\n\n const ccx = useContext(CompanyContext);\n const { hotel } = useCurrentHotel();\n\n useEffect(() => {\n setCurrentStep(props.step);\n\n const colorProfile = props.step.getColorProfile(ccx, hotel);\n\n if (colorProfile) {\n RoomstayThemeEngine.changeTheme(colorProfile);\n }\n }, [props.step.getColorProfile(ccx, hotel)]);\n\n return useMemo(() => {\n const validator = props.step.getValidator();\n\n if (validator?.isValid(basketContext)) {\n return <>{props.children}</>;\n } else {\n return <Redirect to={StepManager.getPreviousStepUrl(props.step)} />;\n }\n }, [basketContext]);\n}\n"]}
@@ -0,0 +1,14 @@
1
+ import ColorProfile from '../../../models/Client/Hotel/ColorProfile';
2
+ import { Company } from '../../../models/Client/Hotel/Company';
3
+ import Step from '../Step';
4
+ import StepHotelLoader from './StepHotelLoader';
5
+ import StepHotelValidator from './StepHotelValidator';
6
+ declare class StepHotel extends Step {
7
+ constructor();
8
+ getComponent(): typeof StepHotelLoader;
9
+ getValidator(): StepHotelValidator;
10
+ getStepTranslation(): string;
11
+ getColorProfile(company: Company): ColorProfile;
12
+ }
13
+ declare const _default: StepHotel;
14
+ export default _default;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Translation_1 = require("../../../translations/Translation");
4
+ const Step_1 = require("../Step");
5
+ const StepHotelLoader_1 = require("./StepHotelLoader");
6
+ const StepHotelValidator_1 = require("./StepHotelValidator");
7
+ class StepHotel extends Step_1.default {
8
+ constructor() {
9
+ super('Hotel');
10
+ }
11
+ getComponent() {
12
+ return StepHotelLoader_1.default;
13
+ }
14
+ getValidator() {
15
+ return new StepHotelValidator_1.default();
16
+ }
17
+ getStepTranslation() {
18
+ return Translation_1.Translation.Navigation.Steps.Hotel;
19
+ }
20
+ getColorProfile(company) {
21
+ return company.colors;
22
+ }
23
+ }
24
+ exports.default = new StepHotel();
25
+ //# sourceMappingURL=StepHotel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepHotel.js","sourceRoot":"/","sources":["src/pages/steps/StepHotel/StepHotel.ts"],"names":[],"mappings":";;AAEA,mEAAgE;AAChE,kCAA2B;AAC3B,uDAAgD;AAChD,6DAAsD;AAEtD,MAAM,SAAU,SAAQ,cAAI;IACxB;QACI,KAAK,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAEM,YAAY;QACf,OAAO,yBAAe,CAAC;IAC3B,CAAC;IAEM,YAAY;QACf,OAAO,IAAI,4BAAkB,EAAE,CAAC;IACpC,CAAC;IAEM,kBAAkB;QACrB,OAAO,yBAAW,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC;IAC9C,CAAC;IAEM,eAAe,CAAC,OAAgB;QACnC,OAAO,OAAO,CAAC,MAAM,CAAC;IAC1B,CAAC;CACJ;AAED,kBAAe,IAAI,SAAS,EAAE,CAAC","sourcesContent":["import ColorProfile from '../../../models/Client/Hotel/ColorProfile';\nimport { Company } from '../../../models/Client/Hotel/Company';\nimport { Translation } from '../../../translations/Translation';\nimport Step from '../Step';\nimport StepHotelLoader from './StepHotelLoader';\nimport StepHotelValidator from './StepHotelValidator';\n\nclass StepHotel extends Step {\n public constructor() {\n super('Hotel');\n }\n\n public getComponent() {\n return StepHotelLoader;\n }\n\n public getValidator() {\n return new StepHotelValidator();\n }\n\n public getStepTranslation() {\n return Translation.Navigation.Steps.Hotel;\n }\n\n public getColorProfile(company: Company): ColorProfile {\n return company.colors;\n }\n}\n\nexport default new StepHotel();\n"]}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const StepHotelComponent: () => JSX.Element;
3
+ export default StepHotelComponent;