@mirai/core 0.3.37 → 0.3.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (695) hide show
  1. package/build/Core.Notifications.js +50 -67
  2. package/build/Core.Notifications.js.map +1 -1
  3. package/build/Core.constants.js +11 -14
  4. package/build/Core.constants.js.map +1 -1
  5. package/build/Core.definition.js +3 -3
  6. package/build/Core.definition.js.map +1 -1
  7. package/build/Core.js +46 -73
  8. package/build/Core.js.map +1 -1
  9. package/build/Core.provider.js +41 -91
  10. package/build/Core.provider.js.map +1 -1
  11. package/build/components/Booking/Booking.constants.js +14 -14
  12. package/build/components/Booking/Booking.constants.js.map +1 -1
  13. package/build/components/Booking/Booking.js +100 -134
  14. package/build/components/Booking/Booking.js.map +1 -1
  15. package/build/components/Booking/Booking.l10n.js +37 -29
  16. package/build/components/Booking/Booking.l10n.js.map +1 -1
  17. package/build/components/Booking/Booking.skeleton.js +6 -4
  18. package/build/components/Booking/Booking.skeleton.js.map +1 -1
  19. package/build/components/Booking/components/Field/Field.js +23 -23
  20. package/build/components/Booking/components/Field/Field.js.map +1 -1
  21. package/build/components/Booking/components/Field/Field.l10n.js +1 -1
  22. package/build/components/Booking/components/Field/Field.l10n.js.map +1 -1
  23. package/build/components/Booking/components/Field/index.js +1 -1
  24. package/build/components/Booking/components/Field/index.js.map +1 -1
  25. package/build/components/Booking/components/index.js +1 -1
  26. package/build/components/Booking/components/index.js.map +1 -1
  27. package/build/components/Booking/helpers/getOccupationCaption.js +39 -44
  28. package/build/components/Booking/helpers/getOccupationCaption.js.map +1 -1
  29. package/build/components/Booking/helpers/index.js +2 -2
  30. package/build/components/Booking/helpers/index.js.map +1 -1
  31. package/build/components/Booking/helpers/trackStateChange.js +45 -41
  32. package/build/components/Booking/helpers/trackStateChange.js.map +1 -1
  33. package/build/components/Booking/index.js +2 -2
  34. package/build/components/Booking/index.js.map +1 -1
  35. package/build/components/Booking/partials/Booking.Details.js +56 -57
  36. package/build/components/Booking/partials/Booking.Details.js.map +1 -1
  37. package/build/components/Booking/partials/Booking.FormCancel.js +30 -32
  38. package/build/components/Booking/partials/Booking.FormCancel.js.map +1 -1
  39. package/build/components/Booking/partials/Booking.FormEdit.js +5 -3
  40. package/build/components/Booking/partials/Booking.FormEdit.js.map +1 -1
  41. package/build/components/Booking/partials/Booking.FormResend.js +16 -13
  42. package/build/components/Booking/partials/Booking.FormResend.js.map +1 -1
  43. package/build/components/Booking/partials/Booking.Menu.js +56 -79
  44. package/build/components/Booking/partials/Booking.Menu.js.map +1 -1
  45. package/build/components/Booking/partials/Booking.Modal.js +70 -107
  46. package/build/components/Booking/partials/Booking.Modal.js.map +1 -1
  47. package/build/components/Booking/partials/Booking.ModalAgency.js +17 -17
  48. package/build/components/Booking/partials/Booking.ModalAgency.js.map +1 -1
  49. package/build/components/Booking/partials/Booking.Others.js +31 -45
  50. package/build/components/Booking/partials/Booking.Others.js.map +1 -1
  51. package/build/components/Booking/partials/Booking.PriceBreakdown.js +62 -87
  52. package/build/components/Booking/partials/Booking.PriceBreakdown.js.map +1 -1
  53. package/build/components/Booking/partials/Booking.Summary.js +48 -63
  54. package/build/components/Booking/partials/Booking.Summary.js.map +1 -1
  55. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Details.test.js.snap +12 -12
  56. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Menu.test.js.snap +20 -20
  57. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Modal.test.js.snap +4 -4
  58. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Others.test.js.snap +4 -4
  59. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Summary.test.js.snap +4 -4
  60. package/build/components/Booking/partials/index.js +6 -6
  61. package/build/components/Booking/partials/index.js.map +1 -1
  62. package/build/components/BookingQuery/BookingQuery.constants.js +2 -2
  63. package/build/components/BookingQuery/BookingQuery.constants.js.map +1 -1
  64. package/build/components/BookingQuery/BookingQuery.js +53 -106
  65. package/build/components/BookingQuery/BookingQuery.js.map +1 -1
  66. package/build/components/BookingQuery/BookingQuery.l10n.js +1 -1
  67. package/build/components/BookingQuery/BookingQuery.l10n.js.map +1 -1
  68. package/build/components/BookingQuery/BookingQuery.skeleton.js +2 -3
  69. package/build/components/BookingQuery/BookingQuery.skeleton.js.map +1 -1
  70. package/build/components/BookingQuery/__tests__/__snapshots__/BookingQuery.test.js.snap +12 -12
  71. package/build/components/BookingQuery/helpers/getErrorText.js +2 -3
  72. package/build/components/BookingQuery/helpers/getErrorText.js.map +1 -1
  73. package/build/components/BookingQuery/helpers/index.js +1 -1
  74. package/build/components/BookingQuery/helpers/index.js.map +1 -1
  75. package/build/components/BookingQuery/index.js +2 -2
  76. package/build/components/BookingQuery/index.js.map +1 -1
  77. package/build/components/Checkout/Checkout.constants.js +12 -12
  78. package/build/components/Checkout/Checkout.constants.js.map +1 -1
  79. package/build/components/Checkout/Checkout.js +84 -118
  80. package/build/components/Checkout/Checkout.js.map +1 -1
  81. package/build/components/Checkout/Checkout.l10n.js +12 -13
  82. package/build/components/Checkout/Checkout.l10n.js.map +1 -1
  83. package/build/components/Checkout/Checkout.skeleton.js +6 -4
  84. package/build/components/Checkout/Checkout.skeleton.js.map +1 -1
  85. package/build/components/Checkout/components/InputRadio/InputRadio.js +24 -30
  86. package/build/components/Checkout/components/InputRadio/InputRadio.js.map +1 -1
  87. package/build/components/Checkout/components/InputRadio/index.js +1 -1
  88. package/build/components/Checkout/components/InputRadio/index.js.map +1 -1
  89. package/build/components/Checkout/components/index.js +1 -1
  90. package/build/components/Checkout/components/index.js.map +1 -1
  91. package/build/components/Checkout/helpers/generateId.js +6 -5
  92. package/build/components/Checkout/helpers/generateId.js.map +1 -1
  93. package/build/components/Checkout/helpers/getFieldProps.js +24 -31
  94. package/build/components/Checkout/helpers/getFieldProps.js.map +1 -1
  95. package/build/components/Checkout/helpers/getVariant.js +11 -17
  96. package/build/components/Checkout/helpers/getVariant.js.map +1 -1
  97. package/build/components/Checkout/helpers/index.js +5 -5
  98. package/build/components/Checkout/helpers/index.js.map +1 -1
  99. package/build/components/Checkout/helpers/testDNI.js +3 -2
  100. package/build/components/Checkout/helpers/testDNI.js.map +1 -1
  101. package/build/components/Checkout/helpers/trackDataSource.js +72 -72
  102. package/build/components/Checkout/helpers/trackDataSource.js.map +1 -1
  103. package/build/components/Checkout/helpers/trackForm.js +13 -11
  104. package/build/components/Checkout/helpers/trackForm.js.map +1 -1
  105. package/build/components/Checkout/index.js +2 -2
  106. package/build/components/Checkout/index.js.map +1 -1
  107. package/build/components/Checkout/partials/Checkout.Confirmation.js +123 -160
  108. package/build/components/Checkout/partials/Checkout.Confirmation.js.map +1 -1
  109. package/build/components/Checkout/partials/Checkout.Details.js +72 -82
  110. package/build/components/Checkout/partials/Checkout.Details.js.map +1 -1
  111. package/build/components/Checkout/partials/Checkout.Form.js +102 -146
  112. package/build/components/Checkout/partials/Checkout.Form.js.map +1 -1
  113. package/build/components/Checkout/partials/Checkout.Session.js +35 -43
  114. package/build/components/Checkout/partials/Checkout.Session.js.map +1 -1
  115. package/build/components/Checkout/partials/Checkout.Summary.Line.js +21 -20
  116. package/build/components/Checkout/partials/Checkout.Summary.Line.js.map +1 -1
  117. package/build/components/Checkout/partials/Checkout.Summary.js +86 -80
  118. package/build/components/Checkout/partials/Checkout.Summary.js.map +1 -1
  119. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Confirmation.test.js.snap +6 -6
  120. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Details.test.js.snap +6 -6
  121. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Form.test.js.snap +4 -4
  122. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Session.test.js.snap +8 -8
  123. package/build/components/Checkout/partials/index.js +5 -5
  124. package/build/components/Checkout/partials/index.js.map +1 -1
  125. package/build/components/Deals/Deals.Calendar.js +82 -97
  126. package/build/components/Deals/Deals.Calendar.js.map +1 -1
  127. package/build/components/Deals/Deals.constants.js +5 -5
  128. package/build/components/Deals/Deals.constants.js.map +1 -1
  129. package/build/components/Deals/Deals.js +111 -165
  130. package/build/components/Deals/Deals.js.map +1 -1
  131. package/build/components/Deals/Deals.l10n.js +11 -9
  132. package/build/components/Deals/Deals.l10n.js.map +1 -1
  133. package/build/components/Deals/Deals.skeleton.js +5 -3
  134. package/build/components/Deals/Deals.skeleton.js.map +1 -1
  135. package/build/components/Deals/__tests__/__snapshots__/Deals.Calendar.test.js.snap +3 -3
  136. package/build/components/Deals/__tests__/__snapshots__/Deals.test.js.snap +17 -17
  137. package/build/components/Deals/helpers/calcFromDate.js +7 -6
  138. package/build/components/Deals/helpers/calcFromDate.js.map +1 -1
  139. package/build/components/Deals/helpers/calcMinStay.js +6 -7
  140. package/build/components/Deals/helpers/calcMinStay.js.map +1 -1
  141. package/build/components/Deals/helpers/calcNightWithDeals.js +5 -4
  142. package/build/components/Deals/helpers/calcNightWithDeals.js.map +1 -1
  143. package/build/components/Deals/helpers/calcToDate.js +5 -10
  144. package/build/components/Deals/helpers/calcToDate.js.map +1 -1
  145. package/build/components/Deals/helpers/calcTooltips.js +15 -14
  146. package/build/components/Deals/helpers/calcTooltips.js.map +1 -1
  147. package/build/components/Deals/helpers/getCurrency.js +11 -9
  148. package/build/components/Deals/helpers/getCurrency.js.map +1 -1
  149. package/build/components/Deals/helpers/index.js +7 -7
  150. package/build/components/Deals/helpers/index.js.map +1 -1
  151. package/build/components/Deals/helpers/validate.js +15 -24
  152. package/build/components/Deals/helpers/validate.js.map +1 -1
  153. package/build/components/Deals/index.js +2 -2
  154. package/build/components/Deals/index.js.map +1 -1
  155. package/build/components/Environment/Environment.State.js +60 -68
  156. package/build/components/Environment/Environment.State.js.map +1 -1
  157. package/build/components/Environment/Environment.constants.js +1 -1
  158. package/build/components/Environment/Environment.constants.js.map +1 -1
  159. package/build/components/Environment/Environment.js +22 -25
  160. package/build/components/Environment/Environment.js.map +1 -1
  161. package/build/components/Environment/index.js +2 -2
  162. package/build/components/Environment/index.js.map +1 -1
  163. package/build/components/Finder/Finder.compact.js +54 -74
  164. package/build/components/Finder/Finder.compact.js.map +1 -1
  165. package/build/components/Finder/Finder.constants.js +9 -7
  166. package/build/components/Finder/Finder.constants.js.map +1 -1
  167. package/build/components/Finder/Finder.js +121 -152
  168. package/build/components/Finder/Finder.js.map +1 -1
  169. package/build/components/Finder/Finder.l10n.js +1 -1
  170. package/build/components/Finder/Finder.l10n.js.map +1 -1
  171. package/build/components/Finder/Finder.skeleton.js +24 -23
  172. package/build/components/Finder/Finder.skeleton.js.map +1 -1
  173. package/build/components/Finder/__tests__/__snapshots__/Finder.test.js.snap +44 -44
  174. package/build/components/Finder/components/Calendar/Calendar.constants.js +6 -6
  175. package/build/components/Finder/components/Calendar/Calendar.constants.js.map +1 -1
  176. package/build/components/Finder/components/Calendar/Calendar.js +77 -125
  177. package/build/components/Finder/components/Calendar/Calendar.js.map +1 -1
  178. package/build/components/Finder/components/Calendar/Calendar.l10n.js +13 -13
  179. package/build/components/Finder/components/Calendar/Calendar.l10n.js.map +1 -1
  180. package/build/components/Finder/components/Calendar/__tests__/__snapshots__/Calendar.test.js.snap +8 -8
  181. package/build/components/Finder/components/Calendar/helpers/fetchPrices.js +37 -74
  182. package/build/components/Finder/components/Calendar/helpers/fetchPrices.js.map +1 -1
  183. package/build/components/Finder/components/Calendar/helpers/getVisibleDate.js +4 -3
  184. package/build/components/Finder/components/Calendar/helpers/getVisibleDate.js.map +1 -1
  185. package/build/components/Finder/components/Calendar/helpers/index.js +2 -2
  186. package/build/components/Finder/components/Calendar/helpers/index.js.map +1 -1
  187. package/build/components/Finder/components/Calendar/index.js +1 -1
  188. package/build/components/Finder/components/Calendar/index.js.map +1 -1
  189. package/build/components/Finder/components/Places/Places.js +38 -46
  190. package/build/components/Finder/components/Places/Places.js.map +1 -1
  191. package/build/components/Finder/components/Places/Places.l10n.js +1 -1
  192. package/build/components/Finder/components/Places/Places.l10n.js.map +1 -1
  193. package/build/components/Finder/components/Places/helpers/calcColumns.js +27 -26
  194. package/build/components/Finder/components/Places/helpers/calcColumns.js.map +1 -1
  195. package/build/components/Finder/components/Places/helpers/index.js +1 -1
  196. package/build/components/Finder/components/Places/helpers/index.js.map +1 -1
  197. package/build/components/Finder/components/Places/index.js +1 -1
  198. package/build/components/Finder/components/Places/index.js.map +1 -1
  199. package/build/components/Finder/components/index.js +2 -2
  200. package/build/components/Finder/components/index.js.map +1 -1
  201. package/build/components/Finder/helpers/getDataSource.js +35 -42
  202. package/build/components/Finder/helpers/getDataSource.js.map +1 -1
  203. package/build/components/Finder/helpers/getForwarderUrl.js +37 -51
  204. package/build/components/Finder/helpers/getForwarderUrl.js.map +1 -1
  205. package/build/components/Finder/helpers/getHotels.js +17 -29
  206. package/build/components/Finder/helpers/getHotels.js.map +1 -1
  207. package/build/components/Finder/helpers/getOccupationDataSource.js +53 -67
  208. package/build/components/Finder/helpers/getOccupationDataSource.js.map +1 -1
  209. package/build/components/Finder/helpers/getPlaceCaption.js +6 -6
  210. package/build/components/Finder/helpers/getPlaceCaption.js.map +1 -1
  211. package/build/components/Finder/helpers/getPlacesOptions.js +24 -30
  212. package/build/components/Finder/helpers/getPlacesOptions.js.map +1 -1
  213. package/build/components/Finder/helpers/index.js +9 -9
  214. package/build/components/Finder/helpers/index.js.map +1 -1
  215. package/build/components/Finder/helpers/parseCalendarProps.js +13 -14
  216. package/build/components/Finder/helpers/parseCalendarProps.js.map +1 -1
  217. package/build/components/Finder/helpers/parseValue.js +12 -10
  218. package/build/components/Finder/helpers/parseValue.js.map +1 -1
  219. package/build/components/Finder/helpers/validate.js +5 -4
  220. package/build/components/Finder/helpers/validate.js.map +1 -1
  221. package/build/components/Finder/index.js +2 -2
  222. package/build/components/Finder/index.js.map +1 -1
  223. package/build/components/Profile/Profile.Account.js +59 -118
  224. package/build/components/Profile/Profile.Account.js.map +1 -1
  225. package/build/components/Profile/Profile.Password.js +55 -105
  226. package/build/components/Profile/Profile.Password.js.map +1 -1
  227. package/build/components/Profile/Profile.Signout.js +31 -68
  228. package/build/components/Profile/Profile.Signout.js.map +1 -1
  229. package/build/components/Profile/Profile.constants.js +3 -3
  230. package/build/components/Profile/Profile.constants.js.map +1 -1
  231. package/build/components/Profile/Profile.js +20 -30
  232. package/build/components/Profile/Profile.js.map +1 -1
  233. package/build/components/Profile/Profile.l10n.js +1 -1
  234. package/build/components/Profile/Profile.l10n.js.map +1 -1
  235. package/build/components/Profile/Profile.skeleton.js +108 -109
  236. package/build/components/Profile/Profile.skeleton.js.map +1 -1
  237. package/build/components/Profile/components/Bookings/Booking.constants.js +5 -5
  238. package/build/components/Profile/components/Bookings/Booking.constants.js.map +1 -1
  239. package/build/components/Profile/components/Bookings/Booking.l10n.js +1 -1
  240. package/build/components/Profile/components/Bookings/Booking.l10n.js.map +1 -1
  241. package/build/components/Profile/components/Bookings/Bookings.Item.js +36 -35
  242. package/build/components/Profile/components/Bookings/Bookings.Item.js.map +1 -1
  243. package/build/components/Profile/components/Bookings/Bookings.Search.js +23 -34
  244. package/build/components/Profile/components/Bookings/Bookings.Search.js.map +1 -1
  245. package/build/components/Profile/components/Bookings/Bookings.js +62 -92
  246. package/build/components/Profile/components/Bookings/Bookings.js.map +1 -1
  247. package/build/components/Profile/components/Bookings/helpers/groupDatasource.js +12 -18
  248. package/build/components/Profile/components/Bookings/helpers/groupDatasource.js.map +1 -1
  249. package/build/components/Profile/components/Bookings/helpers/index.js +1 -1
  250. package/build/components/Profile/components/Bookings/helpers/index.js.map +1 -1
  251. package/build/components/Profile/components/Bookings/index.js +1 -1
  252. package/build/components/Profile/components/Bookings/index.js.map +1 -1
  253. package/build/components/Profile/components/index.js +1 -1
  254. package/build/components/Profile/components/index.js.map +1 -1
  255. package/build/components/Profile/index.js +2 -2
  256. package/build/components/Profile/index.js.map +1 -1
  257. package/build/components/Rates/Rates.Filter.js +83 -96
  258. package/build/components/Rates/Rates.Filter.js.map +1 -1
  259. package/build/components/Rates/Rates.Footer.js +70 -87
  260. package/build/components/Rates/Rates.Footer.js.map +1 -1
  261. package/build/components/Rates/Rates.Skeleton.js +66 -66
  262. package/build/components/Rates/Rates.Skeleton.js.map +1 -1
  263. package/build/components/Rates/Rates.js +88 -191
  264. package/build/components/Rates/Rates.js.map +1 -1
  265. package/build/components/Rates/Rates.l10n.js +1 -1
  266. package/build/components/Rates/Rates.l10n.js.map +1 -1
  267. package/build/components/Rates/components/Item/Item.js +96 -131
  268. package/build/components/Rates/components/Item/Item.js.map +1 -1
  269. package/build/components/Rates/components/Item/Item.l10n.js +1 -1
  270. package/build/components/Rates/components/Item/Item.l10n.js.map +1 -1
  271. package/build/components/Rates/components/Item/components/Amenities/Amenities.js +15 -17
  272. package/build/components/Rates/components/Item/components/Amenities/Amenities.js.map +1 -1
  273. package/build/components/Rates/components/Item/components/Amenities/index.js +1 -1
  274. package/build/components/Rates/components/Item/components/Amenities/index.js.map +1 -1
  275. package/build/components/Rates/components/Item/components/Discount/Discount.js +48 -43
  276. package/build/components/Rates/components/Item/components/Discount/Discount.js.map +1 -1
  277. package/build/components/Rates/components/Item/components/Discount/index.js +1 -1
  278. package/build/components/Rates/components/Item/components/Discount/index.js.map +1 -1
  279. package/build/components/Rates/components/Item/components/Features/Features.js +21 -28
  280. package/build/components/Rates/components/Item/components/Features/Features.js.map +1 -1
  281. package/build/components/Rates/components/Item/components/Features/index.js +1 -1
  282. package/build/components/Rates/components/Item/components/Features/index.js.map +1 -1
  283. package/build/components/Rates/components/Item/components/ModalInfo/ModalInfo.js +23 -21
  284. package/build/components/Rates/components/Item/components/ModalInfo/ModalInfo.js.map +1 -1
  285. package/build/components/Rates/components/Item/components/ModalInfo/index.js +1 -1
  286. package/build/components/Rates/components/Item/components/ModalInfo/index.js.map +1 -1
  287. package/build/components/Rates/components/Item/components/ModalRateInfo/ModalRateInfo.js +16 -16
  288. package/build/components/Rates/components/Item/components/ModalRateInfo/ModalRateInfo.js.map +1 -1
  289. package/build/components/Rates/components/Item/components/ModalRateInfo/index.js +1 -1
  290. package/build/components/Rates/components/Item/components/ModalRateInfo/index.js.map +1 -1
  291. package/build/components/Rates/components/Item/components/index.js +5 -5
  292. package/build/components/Rates/components/Item/components/index.js.map +1 -1
  293. package/build/components/Rates/components/Item/index.js +3 -3
  294. package/build/components/Rates/components/Item/index.js.map +1 -1
  295. package/build/components/Rates/components/index.js +1 -1
  296. package/build/components/Rates/components/index.js.map +1 -1
  297. package/build/components/Rates/helpers/getForwarderUrl.js +39 -52
  298. package/build/components/Rates/helpers/getForwarderUrl.js.map +1 -1
  299. package/build/components/Rates/helpers/index.js +1 -1
  300. package/build/components/Rates/helpers/index.js.map +1 -1
  301. package/build/components/Rates/index.js +2 -2
  302. package/build/components/Rates/index.js.map +1 -1
  303. package/build/components/Session/Session.Account.js +51 -60
  304. package/build/components/Session/Session.Account.js.map +1 -1
  305. package/build/components/Session/Session.Login.Modal.js +104 -205
  306. package/build/components/Session/Session.Login.Modal.js.map +1 -1
  307. package/build/components/Session/Session.Login.js +27 -36
  308. package/build/components/Session/Session.Login.js.map +1 -1
  309. package/build/components/Session/Session.constants.js +5 -5
  310. package/build/components/Session/Session.constants.js.map +1 -1
  311. package/build/components/Session/Session.js +18 -31
  312. package/build/components/Session/Session.js.map +1 -1
  313. package/build/components/Session/Session.l10n.js +1 -1
  314. package/build/components/Session/Session.l10n.js.map +1 -1
  315. package/build/components/Session/Session.skeleton.js +7 -8
  316. package/build/components/Session/Session.skeleton.js.map +1 -1
  317. package/build/components/Session/__tests__/__snapshots__/Session.test.js.snap +15 -15
  318. package/build/components/Session/helpers/getDomain.js +4 -3
  319. package/build/components/Session/helpers/getDomain.js.map +1 -1
  320. package/build/components/Session/helpers/getSignupUrl.js +6 -4
  321. package/build/components/Session/helpers/getSignupUrl.js.map +1 -1
  322. package/build/components/Session/helpers/index.js +4 -4
  323. package/build/components/Session/helpers/index.js.map +1 -1
  324. package/build/components/Session/helpers/template.js +7 -9
  325. package/build/components/Session/helpers/template.js.map +1 -1
  326. package/build/components/Session/helpers/trackLogin.js +12 -9
  327. package/build/components/Session/helpers/trackLogin.js.map +1 -1
  328. package/build/components/Session/index.js +2 -2
  329. package/build/components/Session/index.js.map +1 -1
  330. package/build/components/Signup/Signup.constants.js +1 -1
  331. package/build/components/Signup/Signup.constants.js.map +1 -1
  332. package/build/components/Signup/Signup.js +54 -122
  333. package/build/components/Signup/Signup.js.map +1 -1
  334. package/build/components/Signup/Signup.l10n.js +1 -1
  335. package/build/components/Signup/Signup.l10n.js.map +1 -1
  336. package/build/components/Signup/Signup.skeleton.js +81 -82
  337. package/build/components/Signup/Signup.skeleton.js.map +1 -1
  338. package/build/components/Signup/__tests__/__snapshots__/Signup.test.js.snap +9 -9
  339. package/build/components/Signup/index.js +2 -2
  340. package/build/components/Signup/index.js.map +1 -1
  341. package/build/components/__shared__/BookingDates/BookingDates.constants.js +1 -1
  342. package/build/components/__shared__/BookingDates/BookingDates.constants.js.map +1 -1
  343. package/build/components/__shared__/BookingDates/BookingDates.js +29 -30
  344. package/build/components/__shared__/BookingDates/BookingDates.js.map +1 -1
  345. package/build/components/__shared__/BookingDates/BookingDates.l10n.js +1 -1
  346. package/build/components/__shared__/BookingDates/BookingDates.l10n.js.map +1 -1
  347. package/build/components/__shared__/BookingDates/index.js +1 -1
  348. package/build/components/__shared__/BookingDates/index.js.map +1 -1
  349. package/build/components/__shared__/BookingTable/BookingTable.Row.js +46 -53
  350. package/build/components/__shared__/BookingTable/BookingTable.Row.js.map +1 -1
  351. package/build/components/__shared__/BookingTable/BookingTable.constants.js +3 -3
  352. package/build/components/__shared__/BookingTable/BookingTable.constants.js.map +1 -1
  353. package/build/components/__shared__/BookingTable/BookingTable.js +34 -51
  354. package/build/components/__shared__/BookingTable/BookingTable.js.map +1 -1
  355. package/build/components/__shared__/BookingTable/BookingTable.l10n.js +1 -1
  356. package/build/components/__shared__/BookingTable/BookingTable.l10n.js.map +1 -1
  357. package/build/components/__shared__/BookingTable/index.js +1 -1
  358. package/build/components/__shared__/BookingTable/index.js.map +1 -1
  359. package/build/components/__shared__/ButtonMore/ButtonMore.js +16 -15
  360. package/build/components/__shared__/ButtonMore/ButtonMore.js.map +1 -1
  361. package/build/components/__shared__/ButtonMore/ButtonMore.l10n.js +1 -1
  362. package/build/components/__shared__/ButtonMore/ButtonMore.l10n.js.map +1 -1
  363. package/build/components/__shared__/ButtonMore/__tests__/__snapshots__/ButtonMore.test.js.snap +3 -3
  364. package/build/components/__shared__/ButtonMore/index.js +1 -1
  365. package/build/components/__shared__/ButtonMore/index.js.map +1 -1
  366. package/build/components/__shared__/ButtonPayment/ButtonPayment.constants.js +5 -5
  367. package/build/components/__shared__/ButtonPayment/ButtonPayment.constants.js.map +1 -1
  368. package/build/components/__shared__/ButtonPayment/ButtonPayment.js +132 -218
  369. package/build/components/__shared__/ButtonPayment/ButtonPayment.js.map +1 -1
  370. package/build/components/__shared__/ButtonPayment/ButtonPayment.l10n.js +1 -1
  371. package/build/components/__shared__/ButtonPayment/ButtonPayment.l10n.js.map +1 -1
  372. package/build/components/__shared__/ButtonPayment/__tests__/__snapshots__/ButtonPayment.test.js.snap +4 -4
  373. package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.js +30 -45
  374. package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.js.map +1 -1
  375. package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.l10n.js +1 -1
  376. package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.l10n.js.map +1 -1
  377. package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/getCtaKey.js +11 -8
  378. package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/getCtaKey.js.map +1 -1
  379. package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/index.js +1 -1
  380. package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/index.js.map +1 -1
  381. package/build/components/__shared__/ButtonPayment/components/FormAddon/index.js +1 -1
  382. package/build/components/__shared__/ButtonPayment/components/FormAddon/index.js.map +1 -1
  383. package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.constants.js +2 -2
  384. package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.constants.js.map +1 -1
  385. package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.js +74 -91
  386. package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.js.map +1 -1
  387. package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.l10n.js +1 -1
  388. package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.l10n.js.map +1 -1
  389. package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/getStyle.js +9 -7
  390. package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/getStyle.js.map +1 -1
  391. package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/index.js +1 -1
  392. package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/index.js.map +1 -1
  393. package/build/components/__shared__/ButtonPayment/components/FormCheckout/index.js +1 -1
  394. package/build/components/__shared__/ButtonPayment/components/FormCheckout/index.js.map +1 -1
  395. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.constants.js +1 -1
  396. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.constants.js.map +1 -1
  397. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.js +63 -83
  398. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.js.map +1 -1
  399. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.l10n.js +1 -1
  400. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.l10n.js.map +1 -1
  401. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/index.js +1 -1
  402. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/index.js.map +1 -1
  403. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/useMutationObserver.js +7 -8
  404. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/useMutationObserver.js.map +1 -1
  405. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/index.js +1 -1
  406. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/index.js.map +1 -1
  407. package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.constants.js +11 -9
  408. package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.constants.js.map +1 -1
  409. package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.js +49 -66
  410. package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.js.map +1 -1
  411. package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.l10n.js +1 -1
  412. package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.l10n.js.map +1 -1
  413. package/build/components/__shared__/ButtonPayment/components/FormSipay/__tests__/__snapshots__/FormSipay.test.js.snap +3 -3
  414. package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/getStyle.js +7 -5
  415. package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/getStyle.js.map +1 -1
  416. package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/index.js +1 -1
  417. package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/index.js.map +1 -1
  418. package/build/components/__shared__/ButtonPayment/components/FormSipay/index.js +1 -1
  419. package/build/components/__shared__/ButtonPayment/components/FormSipay/index.js.map +1 -1
  420. package/build/components/__shared__/ButtonPayment/components/InputField/InputField.js +13 -15
  421. package/build/components/__shared__/ButtonPayment/components/InputField/InputField.js.map +1 -1
  422. package/build/components/__shared__/ButtonPayment/components/InputField/index.js +1 -1
  423. package/build/components/__shared__/ButtonPayment/components/InputField/index.js.map +1 -1
  424. package/build/components/__shared__/ButtonPayment/components/index.js +4 -4
  425. package/build/components/__shared__/ButtonPayment/components/index.js.map +1 -1
  426. package/build/components/__shared__/ButtonPayment/helpers/getComponent.js +19 -14
  427. package/build/components/__shared__/ButtonPayment/helpers/getComponent.js.map +1 -1
  428. package/build/components/__shared__/ButtonPayment/helpers/getUrl.js +5 -16
  429. package/build/components/__shared__/ButtonPayment/helpers/getUrl.js.map +1 -1
  430. package/build/components/__shared__/ButtonPayment/helpers/getUrlBooking.js +24 -22
  431. package/build/components/__shared__/ButtonPayment/helpers/getUrlBooking.js.map +1 -1
  432. package/build/components/__shared__/ButtonPayment/helpers/getUrlCriptan.js +10 -7
  433. package/build/components/__shared__/ButtonPayment/helpers/getUrlCriptan.js.map +1 -1
  434. package/build/components/__shared__/ButtonPayment/helpers/getUrlTpv.js +23 -21
  435. package/build/components/__shared__/ButtonPayment/helpers/getUrlTpv.js.map +1 -1
  436. package/build/components/__shared__/ButtonPayment/helpers/index.js +3 -3
  437. package/build/components/__shared__/ButtonPayment/helpers/index.js.map +1 -1
  438. package/build/components/__shared__/ButtonPayment/helpers/loadScript.js +11 -9
  439. package/build/components/__shared__/ButtonPayment/helpers/loadScript.js.map +1 -1
  440. package/build/components/__shared__/ButtonPayment/helpers/toUrlParams.js +7 -9
  441. package/build/components/__shared__/ButtonPayment/helpers/toUrlParams.js.map +1 -1
  442. package/build/components/__shared__/ButtonPayment/index.js +1 -1
  443. package/build/components/__shared__/ButtonPayment/index.js.map +1 -1
  444. package/build/components/__shared__/Field/Field.js +32 -36
  445. package/build/components/__shared__/Field/Field.js.map +1 -1
  446. package/build/components/__shared__/Field/__tests__/__snapshots__/Field.test.js.snap +14 -14
  447. package/build/components/__shared__/Field/index.js +1 -1
  448. package/build/components/__shared__/Field/index.js.map +1 -1
  449. package/build/components/__shared__/FieldOccupation/FieldOccupation.js +34 -39
  450. package/build/components/__shared__/FieldOccupation/FieldOccupation.js.map +1 -1
  451. package/build/components/__shared__/FieldOccupation/FieldOccupation.l10n.js +1 -1
  452. package/build/components/__shared__/FieldOccupation/FieldOccupation.l10n.js.map +1 -1
  453. package/build/components/__shared__/FieldOccupation/__tests__/__snapshots__/FieldOccupation.test.js.snap +16 -16
  454. package/build/components/__shared__/FieldOccupation/helpers/getAccommodationType.js +21 -25
  455. package/build/components/__shared__/FieldOccupation/helpers/getAccommodationType.js.map +1 -1
  456. package/build/components/__shared__/FieldOccupation/helpers/getOccupationCaption.js +31 -29
  457. package/build/components/__shared__/FieldOccupation/helpers/getOccupationCaption.js.map +1 -1
  458. package/build/components/__shared__/FieldOccupation/helpers/index.js +2 -2
  459. package/build/components/__shared__/FieldOccupation/helpers/index.js.map +1 -1
  460. package/build/components/__shared__/FieldOccupation/index.js +1 -1
  461. package/build/components/__shared__/FieldOccupation/index.js.map +1 -1
  462. package/build/components/__shared__/FieldPromocode/FieldPromocode.js +12 -12
  463. package/build/components/__shared__/FieldPromocode/FieldPromocode.js.map +1 -1
  464. package/build/components/__shared__/FieldPromocode/FieldPromocode.l10n.js +1 -1
  465. package/build/components/__shared__/FieldPromocode/FieldPromocode.l10n.js.map +1 -1
  466. package/build/components/__shared__/FieldPromocode/index.js +1 -1
  467. package/build/components/__shared__/FieldPromocode/index.js.map +1 -1
  468. package/build/components/__shared__/Occupation/Occupation.Group.js +32 -36
  469. package/build/components/__shared__/Occupation/Occupation.Group.js.map +1 -1
  470. package/build/components/__shared__/Occupation/Occupation.constants.js +22 -19
  471. package/build/components/__shared__/Occupation/Occupation.constants.js.map +1 -1
  472. package/build/components/__shared__/Occupation/Occupation.js +71 -118
  473. package/build/components/__shared__/Occupation/Occupation.js.map +1 -1
  474. package/build/components/__shared__/Occupation/Occupation.l10n.js +18 -16
  475. package/build/components/__shared__/Occupation/Occupation.l10n.js.map +1 -1
  476. package/build/components/__shared__/Occupation/__tests__/__snapshots__/Occupation.test.js.snap +7 -7
  477. package/build/components/__shared__/Occupation/helpers/checkRoom.js +19 -19
  478. package/build/components/__shared__/Occupation/helpers/checkRoom.js.map +1 -1
  479. package/build/components/__shared__/Occupation/helpers/consolidateValue.js +47 -51
  480. package/build/components/__shared__/Occupation/helpers/consolidateValue.js.map +1 -1
  481. package/build/components/__shared__/Occupation/helpers/getAgeOptions.js +5 -16
  482. package/build/components/__shared__/Occupation/helpers/getAgeOptions.js.map +1 -1
  483. package/build/components/__shared__/Occupation/helpers/getGroupHint.js +7 -15
  484. package/build/components/__shared__/Occupation/helpers/getGroupHint.js.map +1 -1
  485. package/build/components/__shared__/Occupation/helpers/getScrollHeight.js +8 -9
  486. package/build/components/__shared__/Occupation/helpers/getScrollHeight.js.map +1 -1
  487. package/build/components/__shared__/Occupation/helpers/index.js +6 -6
  488. package/build/components/__shared__/Occupation/helpers/index.js.map +1 -1
  489. package/build/components/__shared__/Occupation/helpers/prepareRoom.js +17 -15
  490. package/build/components/__shared__/Occupation/helpers/prepareRoom.js.map +1 -1
  491. package/build/components/__shared__/Occupation/helpers/toParties.js +18 -19
  492. package/build/components/__shared__/Occupation/helpers/toParties.js.map +1 -1
  493. package/build/components/__shared__/Occupation/index.js +2 -2
  494. package/build/components/__shared__/Occupation/index.js.map +1 -1
  495. package/build/components/__shared__/Payment/Payment.constants.js +6 -6
  496. package/build/components/__shared__/Payment/Payment.constants.js.map +1 -1
  497. package/build/components/__shared__/Payment/Payment.js +78 -94
  498. package/build/components/__shared__/Payment/Payment.js.map +1 -1
  499. package/build/components/__shared__/Payment/Payment.l10n.js +1 -1
  500. package/build/components/__shared__/Payment/Payment.l10n.js.map +1 -1
  501. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.constants.js +10 -10
  502. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.constants.js.map +1 -1
  503. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.js +64 -85
  504. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.js.map +1 -1
  505. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.l10n.js +1 -1
  506. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.l10n.js.map +1 -1
  507. package/build/components/__shared__/Payment/components/AmazonPay/helpers/getScriptUrl.js +8 -5
  508. package/build/components/__shared__/Payment/components/AmazonPay/helpers/getScriptUrl.js.map +1 -1
  509. package/build/components/__shared__/Payment/components/AmazonPay/helpers/index.js +1 -1
  510. package/build/components/__shared__/Payment/components/AmazonPay/helpers/index.js.map +1 -1
  511. package/build/components/__shared__/Payment/components/AmazonPay/index.js +1 -1
  512. package/build/components/__shared__/Payment/components/AmazonPay/index.js.map +1 -1
  513. package/build/components/__shared__/Payment/components/Aplazame/Aplazame.js +29 -46
  514. package/build/components/__shared__/Payment/components/Aplazame/Aplazame.js.map +1 -1
  515. package/build/components/__shared__/Payment/components/Aplazame/Aplazame.l10n.js +1 -1
  516. package/build/components/__shared__/Payment/components/Aplazame/Aplazame.l10n.js.map +1 -1
  517. package/build/components/__shared__/Payment/components/Aplazame/index.js +1 -1
  518. package/build/components/__shared__/Payment/components/Aplazame/index.js.map +1 -1
  519. package/build/components/__shared__/Payment/components/Card/Card.constants.js +1 -1
  520. package/build/components/__shared__/Payment/components/Card/Card.constants.js.map +1 -1
  521. package/build/components/__shared__/Payment/components/Card/Card.js +34 -54
  522. package/build/components/__shared__/Payment/components/Card/Card.js.map +1 -1
  523. package/build/components/__shared__/Payment/components/Card/Card.l10n.js +1 -1
  524. package/build/components/__shared__/Payment/components/Card/Card.l10n.js.map +1 -1
  525. package/build/components/__shared__/Payment/components/Card/helpers/formatValues.js +23 -31
  526. package/build/components/__shared__/Payment/components/Card/helpers/formatValues.js.map +1 -1
  527. package/build/components/__shared__/Payment/components/Card/helpers/getCardConfig.js +3 -4
  528. package/build/components/__shared__/Payment/components/Card/helpers/getCardConfig.js.map +1 -1
  529. package/build/components/__shared__/Payment/components/Card/helpers/getCardType.js +17 -12
  530. package/build/components/__shared__/Payment/components/Card/helpers/getCardType.js.map +1 -1
  531. package/build/components/__shared__/Payment/components/Card/helpers/index.js +5 -5
  532. package/build/components/__shared__/Payment/components/Card/helpers/index.js.map +1 -1
  533. package/build/components/__shared__/Payment/components/Card/helpers/testCVV.js +2 -3
  534. package/build/components/__shared__/Payment/components/Card/helpers/testCVV.js.map +1 -1
  535. package/build/components/__shared__/Payment/components/Card/helpers/testCard.js +4 -5
  536. package/build/components/__shared__/Payment/components/Card/helpers/testCard.js.map +1 -1
  537. package/build/components/__shared__/Payment/components/Card/helpers/testExpire.js +3 -2
  538. package/build/components/__shared__/Payment/components/Card/helpers/testExpire.js.map +1 -1
  539. package/build/components/__shared__/Payment/components/Card/index.js +1 -1
  540. package/build/components/__shared__/Payment/components/Card/index.js.map +1 -1
  541. package/build/components/__shared__/Payment/components/PCI/PCI.constants.js +6 -6
  542. package/build/components/__shared__/Payment/components/PCI/PCI.constants.js.map +1 -1
  543. package/build/components/__shared__/Payment/components/PCI/PCI.js +136 -155
  544. package/build/components/__shared__/Payment/components/PCI/PCI.js.map +1 -1
  545. package/build/components/__shared__/Payment/components/PCI/PCI.l10n.js +1 -1
  546. package/build/components/__shared__/Payment/components/PCI/PCI.l10n.js.map +1 -1
  547. package/build/components/__shared__/Payment/components/PCI/helpers/formatValues.js +15 -15
  548. package/build/components/__shared__/Payment/components/PCI/helpers/formatValues.js.map +1 -1
  549. package/build/components/__shared__/Payment/components/PCI/helpers/getStyle.js +9 -7
  550. package/build/components/__shared__/Payment/components/PCI/helpers/getStyle.js.map +1 -1
  551. package/build/components/__shared__/Payment/components/PCI/helpers/index.js +2 -2
  552. package/build/components/__shared__/Payment/components/PCI/helpers/index.js.map +1 -1
  553. package/build/components/__shared__/Payment/components/PCI/index.js +1 -1
  554. package/build/components/__shared__/Payment/components/PCI/index.js.map +1 -1
  555. package/build/components/__shared__/Payment/components/Tpv/Tpv.js +19 -36
  556. package/build/components/__shared__/Payment/components/Tpv/Tpv.js.map +1 -1
  557. package/build/components/__shared__/Payment/components/Tpv/Tpv.l10n.js +1 -1
  558. package/build/components/__shared__/Payment/components/Tpv/Tpv.l10n.js.map +1 -1
  559. package/build/components/__shared__/Payment/components/Tpv/index.js +1 -1
  560. package/build/components/__shared__/Payment/components/Tpv/index.js.map +1 -1
  561. package/build/components/__shared__/Payment/components/index.js +5 -5
  562. package/build/components/__shared__/Payment/components/index.js.map +1 -1
  563. package/build/components/__shared__/Payment/helpers/getCaption.js +31 -25
  564. package/build/components/__shared__/Payment/helpers/getCaption.js.map +1 -1
  565. package/build/components/__shared__/Payment/helpers/getComponent.js +23 -17
  566. package/build/components/__shared__/Payment/helpers/getComponent.js.map +1 -1
  567. package/build/components/__shared__/Payment/helpers/getImage.js +6 -4
  568. package/build/components/__shared__/Payment/helpers/getImage.js.map +1 -1
  569. package/build/components/__shared__/Payment/helpers/index.js +3 -3
  570. package/build/components/__shared__/Payment/helpers/index.js.map +1 -1
  571. package/build/components/__shared__/Payment/index.js +5 -5
  572. package/build/components/__shared__/Payment/index.js.map +1 -1
  573. package/build/components/__shared__/PriceBreakdown/PriceBreakdown.Line.js +21 -20
  574. package/build/components/__shared__/PriceBreakdown/PriceBreakdown.Line.js.map +1 -1
  575. package/build/components/__shared__/PriceBreakdown/PriceBreakdown.js +63 -66
  576. package/build/components/__shared__/PriceBreakdown/PriceBreakdown.js.map +1 -1
  577. package/build/components/__shared__/PriceBreakdown/PriceBreakdown.l10n.js +1 -1
  578. package/build/components/__shared__/PriceBreakdown/PriceBreakdown.l10n.js.map +1 -1
  579. package/build/components/__shared__/PriceBreakdown/index.js +1 -1
  580. package/build/components/__shared__/PriceBreakdown/index.js.map +1 -1
  581. package/build/components/__shared__/Skeleton/Skeleton.js +13 -19
  582. package/build/components/__shared__/Skeleton/Skeleton.js.map +1 -1
  583. package/build/components/__shared__/Skeleton/index.js +1 -1
  584. package/build/components/__shared__/Skeleton/index.js.map +1 -1
  585. package/build/components/__shared__/TextRequiredFields/TextRequiredFields.js +10 -8
  586. package/build/components/__shared__/TextRequiredFields/TextRequiredFields.js.map +1 -1
  587. package/build/components/__shared__/TextRequiredFields/TextRequiredFields.l10n.js +1 -1
  588. package/build/components/__shared__/TextRequiredFields/TextRequiredFields.l10n.js.map +1 -1
  589. package/build/components/__shared__/TextRequiredFields/index.js +1 -1
  590. package/build/components/__shared__/TextRequiredFields/index.js.map +1 -1
  591. package/build/components/__shared__/index.js +12 -12
  592. package/build/components/__shared__/index.js.map +1 -1
  593. package/build/components/helpers/ICON.AMENITIES.js +123 -83
  594. package/build/components/helpers/ICON.AMENITIES.js.map +1 -1
  595. package/build/components/helpers/ICON.js +43 -29
  596. package/build/components/helpers/ICON.js.map +1 -1
  597. package/build/components/helpers/constants.js +15 -13
  598. package/build/components/helpers/constants.js.map +1 -1
  599. package/build/components/helpers/getButtonPaymentKey.js +17 -11
  600. package/build/components/helpers/getButtonPaymentKey.js.map +1 -1
  601. package/build/components/helpers/getButtonPaymentKey.l10n.js +1 -1
  602. package/build/components/helpers/getButtonPaymentKey.l10n.js.map +1 -1
  603. package/build/components/helpers/getCalendarCaption.js +13 -25
  604. package/build/components/helpers/getCalendarCaption.js.map +1 -1
  605. package/build/components/helpers/getCountryCode.js +3 -2
  606. package/build/components/helpers/getCountryCode.js.map +1 -1
  607. package/build/components/helpers/index.js +13 -13
  608. package/build/components/helpers/index.js.map +1 -1
  609. package/build/components/helpers/isJest.js +1 -1
  610. package/build/components/helpers/isJest.js.map +1 -1
  611. package/build/components/helpers/parseHtml.js +37 -38
  612. package/build/components/helpers/parseHtml.js.map +1 -1
  613. package/build/components/helpers/parseToParties.js +5 -4
  614. package/build/components/helpers/parseToParties.js.map +1 -1
  615. package/build/components/helpers/testPassword.js +3 -2
  616. package/build/components/helpers/testPassword.js.map +1 -1
  617. package/build/components/helpers/toQueryString.js +9 -12
  618. package/build/components/helpers/toQueryString.js.map +1 -1
  619. package/build/components/helpers/toUrlParams.js +7 -9
  620. package/build/components/helpers/toUrlParams.js.map +1 -1
  621. package/build/components/helpers/trace.js +8 -8
  622. package/build/components/helpers/trace.js.map +1 -1
  623. package/build/components/helpers/translate.js +11 -10
  624. package/build/components/helpers/translate.js.map +1 -1
  625. package/build/components/index.js +22 -80
  626. package/build/components/index.js.map +1 -1
  627. package/build/helpers/checkSession.js +20 -42
  628. package/build/helpers/checkSession.js.map +1 -1
  629. package/build/helpers/consolidateStore.js +148 -160
  630. package/build/helpers/consolidateStore.js.map +1 -1
  631. package/build/helpers/fetchConfig.js +16 -57
  632. package/build/helpers/fetchConfig.js.map +1 -1
  633. package/build/helpers/fetchCookies.js +12 -13
  634. package/build/helpers/fetchCookies.js.map +1 -1
  635. package/build/helpers/fetchSession.js +33 -30
  636. package/build/helpers/fetchSession.js.map +1 -1
  637. package/build/helpers/fetchUrlParams.js +3 -2
  638. package/build/helpers/fetchUrlParams.js.map +1 -1
  639. package/build/helpers/findComponents.js +20 -25
  640. package/build/helpers/findComponents.js.map +1 -1
  641. package/build/helpers/findDangerousCSSRules.js +21 -48
  642. package/build/helpers/findDangerousCSSRules.js.map +1 -1
  643. package/build/helpers/findInstance.js +20 -34
  644. package/build/helpers/findInstance.js.map +1 -1
  645. package/build/helpers/getAccommodationType.js +4 -4
  646. package/build/helpers/getAccommodationType.js.map +1 -1
  647. package/build/helpers/getGhost.js +6 -13
  648. package/build/helpers/getGhost.js.map +1 -1
  649. package/build/helpers/getLocale.js +12 -22
  650. package/build/helpers/getLocale.js.map +1 -1
  651. package/build/helpers/getTags.js +24 -30
  652. package/build/helpers/getTags.js.map +1 -1
  653. package/build/helpers/index.js +12 -12
  654. package/build/helpers/index.js.map +1 -1
  655. package/build/helpers/loadEnvironment.js +9 -8
  656. package/build/helpers/loadEnvironment.js.map +1 -1
  657. package/build/helpers/loadSentry.js +6 -7
  658. package/build/helpers/loadSentry.js.map +1 -1
  659. package/build/helpers/theme.js +17 -24
  660. package/build/helpers/theme.js.map +1 -1
  661. package/build/helpers/toOccupation.js +36 -48
  662. package/build/helpers/toOccupation.js.map +1 -1
  663. package/build/index.js +71 -120
  664. package/build/index.js.map +1 -1
  665. package/build/services/Club/constants.js +2 -2
  666. package/build/services/Club/constants.js.map +1 -1
  667. package/build/services/Club/get.js +21 -49
  668. package/build/services/Club/get.js.map +1 -1
  669. package/build/services/Club/index.js +1 -1
  670. package/build/services/Club/index.js.map +1 -1
  671. package/build/services/Engine/constants.js +2 -2
  672. package/build/services/Engine/constants.js.map +1 -1
  673. package/build/services/Engine/get.js +22 -54
  674. package/build/services/Engine/get.js.map +1 -1
  675. package/build/services/Engine/index.js +1 -1
  676. package/build/services/Engine/index.js.map +1 -1
  677. package/build/services/Rates/constants.js +8 -8
  678. package/build/services/Rates/constants.js.map +1 -1
  679. package/build/services/Rates/get.js +195 -227
  680. package/build/services/Rates/get.js.map +1 -1
  681. package/build/services/Rates/helpers/getPrice.js +9 -7
  682. package/build/services/Rates/helpers/getPrice.js.map +1 -1
  683. package/build/services/Rates/helpers/index.js +4 -4
  684. package/build/services/Rates/helpers/index.js.map +1 -1
  685. package/build/services/Rates/helpers/normalizePrice.js +4 -3
  686. package/build/services/Rates/helpers/normalizePrice.js.map +1 -1
  687. package/build/services/Rates/helpers/parseAmenities.js +67 -89
  688. package/build/services/Rates/helpers/parseAmenities.js.map +1 -1
  689. package/build/services/Rates/helpers/parseDiscount.js +21 -21
  690. package/build/services/Rates/helpers/parseDiscount.js.map +1 -1
  691. package/build/services/Rates/index.js +1 -1
  692. package/build/services/Rates/index.js.map +1 -1
  693. package/build/services/index.js +3 -3
  694. package/build/services/index.js.map +1 -1
  695. package/package.json +6 -6
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
@@ -16,142 +15,94 @@ var style = _interopRequireWildcard(require("./Calendar.module.css"));
16
15
  var _helpers = require("./helpers");
17
16
  var _shared__ = require("../../../__shared__");
18
17
  var _helpers2 = require("../../../helpers");
19
- var _excluded = ["currency", "locale", "pricesLegend", "rangeMaxDays", "rangeMinDays", "showPrices", "onChange", "onError", "onSubmit", "onValid"];
20
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
21
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
18
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
19
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
22
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
23
21
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
24
- function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
25
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
26
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
27
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
28
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
29
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
30
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
31
- function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
32
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
33
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
34
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
35
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
36
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
37
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
38
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
39
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
40
- var Calendar = exports.Calendar = function Calendar(_ref) {
41
- var currency = _ref.currency,
42
- locale = _ref.locale,
43
- pricesLegend = _ref.pricesLegend,
44
- _ref$rangeMaxDays = _ref.rangeMaxDays,
45
- rangeMaxDays = _ref$rangeMaxDays === void 0 ? _Calendar.RANGE_MAX_DAYS : _ref$rangeMaxDays,
46
- rangeMinDays = _ref.rangeMinDays,
47
- showPrices = _ref.showPrices,
48
- onChange = _ref.onChange,
49
- onError = _ref.onError,
50
- onSubmit = _ref.onSubmit,
51
- onValid = _ref.onValid,
52
- others = _objectWithoutProperties(_ref, _excluded);
53
- var _useDevice = (0, _ui.useDevice)(),
54
- isMobile = _useDevice.isMobile;
55
- var _useLocale = (0, _locale.useLocale)(),
56
- dateFormat = _useLocale.dateFormat,
57
- translate = _useLocale.translate;
58
- var _useStore = (0, _dataSources.useStore)(),
59
- _useStore$value$hotel = _useStore.value.hotel,
60
- _useStore$value$hotel2 = _useStore$value$hotel === void 0 ? {} : _useStore$value$hotel,
61
- id = _useStore$value$hotel2.id;
62
- var _useState = (0, _react.useState)(),
63
- _useState2 = _slicedToArray(_useState, 2),
64
- focus = _useState2[0],
65
- setFocus = _useState2[1];
66
- var _useState3 = (0, _react.useState)(),
67
- _useState4 = _slicedToArray(_useState3, 2),
68
- prices = _useState4[0],
69
- setPrices = _useState4[1];
70
- var _useState5 = (0, _react.useState)(others.value || []),
71
- _useState6 = _slicedToArray(_useState5, 2),
72
- value = _useState6[0],
73
- setValue = _useState6[1];
74
- (0, _react.useEffect)(function () {
22
+ const Calendar = _ref => {
23
+ let {
24
+ currency,
25
+ locale,
26
+ pricesLegend,
27
+ rangeMaxDays = _Calendar.RANGE_MAX_DAYS,
28
+ rangeMinDays,
29
+ showPrices,
30
+ onChange,
31
+ onError,
32
+ onSubmit,
33
+ onValid,
34
+ ...others
35
+ } = _ref;
36
+ const {
37
+ isMobile
38
+ } = (0, _ui.useDevice)();
39
+ const {
40
+ dateFormat,
41
+ translate
42
+ } = (0, _locale.useLocale)();
43
+ const {
44
+ value: {
45
+ hotel: {
46
+ id
47
+ } = {}
48
+ }
49
+ } = (0, _dataSources.useStore)();
50
+ const [focus, setFocus] = (0, _react.useState)();
51
+ const [prices, setPrices] = (0, _react.useState)();
52
+ const [value, setValue] = (0, _react.useState)(others.value || []);
53
+ (0, _react.useEffect)(() => {
75
54
  setPrices();
76
55
  showPrices && id && getPrices(value[0] || new Date());
77
56
  // eslint-disable-next-line react-hooks/exhaustive-deps
78
57
  }, [id]);
79
- (0, _react.useEffect)(function () {
80
- var _ref2 = value || [],
81
- _ref3 = _slicedToArray(_ref2, 2),
82
- from = _ref3[0],
83
- to = _ref3[1];
58
+ (0, _react.useEffect)(() => {
59
+ const [from, to] = value || [];
84
60
  if (onValid && from && to) onValid();else if (onError && (!from || !to)) onError(_Calendar.ERROR.NOT_FILLED);
85
61
  // eslint-disable-next-line react-hooks/exhaustive-deps
86
62
  }, [value]);
87
- var getPrices = /*#__PURE__*/function () {
88
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(from) {
89
- var rangeMonths,
90
- _args = arguments;
91
- return _regeneratorRuntime().wrap(function _callee$(_context) {
92
- while (1) switch (_context.prev = _context.next) {
93
- case 0:
94
- rangeMonths = _args.length > 1 && _args[1] !== undefined ? _args[1] : 2;
95
- if (!_helpers2.IS_JEST) {
96
- _context.next = 3;
97
- break;
98
- }
99
- return _context.abrupt("return");
100
- case 3:
101
- _context.t0 = setPrices;
102
- _context.t1 = _objectSpread;
103
- _context.t2 = _objectSpread({}, prices);
104
- _context.next = 8;
105
- return (0, _helpers.fetchPrices)({
106
- currency: currency,
107
- from: from,
108
- id: id,
109
- locale: locale,
110
- rangeMonths: rangeMonths
111
- });
112
- case 8:
113
- _context.t3 = _context.sent;
114
- _context.t4 = (0, _context.t1)(_context.t2, _context.t3);
115
- (0, _context.t0)(_context.t4);
116
- case 11:
117
- case "end":
118
- return _context.stop();
119
- }
120
- }, _callee);
121
- }));
122
- return function getPrices(_x) {
123
- return _ref4.apply(this, arguments);
124
- };
125
- }();
126
- var handleChange = function handleChange() {
127
- var next = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
128
- var event = arguments.length > 1 ? arguments[1] : undefined;
63
+ const getPrices = async function (from) {
64
+ let rangeMonths = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
65
+ if (_helpers2.IS_JEST) return;
66
+ setPrices({
67
+ ...prices,
68
+ ...(await (0, _helpers.fetchPrices)({
69
+ currency,
70
+ from,
71
+ id,
72
+ locale,
73
+ rangeMonths
74
+ }))
75
+ });
76
+ };
77
+ const handleChange = function () {
78
+ let next = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
79
+ let event = arguments.length > 1 ? arguments[1] : undefined;
129
80
  setFocus(undefined);
130
81
  setValue(next);
131
82
  onChange && onChange(next, event);
132
83
  };
133
- var handleNavigation = function handleNavigation(value) {
134
- return showPrices && getPrices(value);
135
- };
136
- var handleScroll = function handleScroll(_ref5) {
137
- var percentY = _ref5.percentY;
84
+ const handleNavigation = value => showPrices && getPrices(value);
85
+ const handleScroll = _ref2 => {
86
+ let {
87
+ percentY
88
+ } = _ref2;
138
89
  return showPrices && getPrices((0, _helpers.getVisibleDate)(percentY), 3);
139
90
  };
140
- var handleSubmit = function handleSubmit(event) {
141
- return onSubmit(value, event);
142
- };
143
- var testId = others.testId;
144
- var props = _objectSpread(_objectSpread({}, others), {}, {
145
- locale: locale,
91
+ const handleSubmit = event => onSubmit(value, event);
92
+ const {
93
+ testId
94
+ } = others;
95
+ const props = {
96
+ ...others,
97
+ locale,
146
98
  range: true,
147
- rangeMaxDays: rangeMaxDays,
148
- rangeMinDays: rangeMinDays
149
- });
150
- var _value = _slicedToArray(value, 2),
151
- from = _value[0],
152
- to = _value[1];
153
- var _dateDiff = (0, _locale.dateDiff)(from, to || focus),
154
- nights = _dateDiff.days;
99
+ rangeMaxDays,
100
+ rangeMinDays
101
+ };
102
+ const [from, to] = value;
103
+ const {
104
+ days: nights
105
+ } = (0, _locale.dateDiff)(from, to || focus);
155
106
  return /*#__PURE__*/_react.default.createElement(_ui.View, {
156
107
  role: "calendar",
157
108
  className: style.container
@@ -179,16 +130,17 @@ var Calendar = exports.Calendar = function Calendar(_ref) {
179
130
  row: true,
180
131
  className: style.footer
181
132
  }, /*#__PURE__*/_react.default.createElement(_shared__.BookingDates, {
182
- from: from,
183
- focus: focus,
184
- to: to,
185
- rangeMinDays: rangeMinDays
133
+ from,
134
+ focus,
135
+ to,
136
+ rangeMinDays
186
137
  }), onSubmit && /*#__PURE__*/_react.default.createElement(_ui.Button, {
187
138
  testId: testId ? "".concat(testId, "-submit") : undefined,
188
139
  disabled: !from || !to,
189
140
  onPress: handleSubmit
190
141
  }, translate(_Calendar2.L10N.ACTION_SEARCH))));
191
142
  };
143
+ exports.Calendar = Calendar;
192
144
  Calendar.displayName = 'Mirai:Finder:Calendar';
193
145
  Calendar.propTypes = {
194
146
  currency: _propTypes.default.oneOf(_locale.CURRENCIES),
@@ -1 +1 @@
1
- {"version":3,"file":"Calendar.js","names":["_dataSources","require","_locale","_ui","_propTypes","_interopRequireDefault","_react","_interopRequireWildcard","_Calendar","_Calendar2","style","_helpers","_shared__","_helpers2","_excluded","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_extends","assign","bind","target","i","arguments","length","source","apply","_regeneratorRuntime","e","t","r","n","o","value","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","_catch","delegateYield","ownKeys","getOwnPropertySymbols","filter","_objectSpread","_defineProperty","getOwnPropertyDescriptors","defineProperties","_toPropertyKey","_toPrimitive","String","input","hint","prim","toPrimitive","undefined","res","Number","asyncGeneratorStep","gen","reject","_next","_throw","info","error","_asyncToGenerator","fn","self","args","err","_slicedToArray","arr","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","minLen","_arrayLikeToArray","toString","Array","from","test","len","arr2","isArray","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","sourceSymbolKeys","indexOf","propertyIsEnumerable","sourceKeys","Calendar","exports","_ref","currency","locale","pricesLegend","_ref$rangeMaxDays","rangeMaxDays","RANGE_MAX_DAYS","rangeMinDays","showPrices","onChange","onError","onSubmit","onValid","others","_useDevice","useDevice","isMobile","_useLocale","useLocale","dateFormat","translate","_useStore","useStore","_useStore$value$hotel","hotel","_useStore$value$hotel2","id","_useState","useState","_useState2","focus","setFocus","_useState3","_useState4","prices","setPrices","_useState5","_useState6","setValue","useEffect","getPrices","Date","_ref2","_ref3","to","ERROR","NOT_FILLED","_ref4","_callee","rangeMonths","_args","_callee$","_context","IS_JEST","t0","t1","t2","fetchPrices","t3","t4","_x","handleChange","event","handleNavigation","handleScroll","_ref5","percentY","getVisibleDate","handleSubmit","testId","props","range","_value","_dateDiff","dateDiff","nights","days","createElement","View","role","className","container","captions","format","CALENDAR_FORMAT","months","MONTHS_IN_MOBILE","scrollEventThrottle","SCROLL_EVENT_MS","onFocus","onNavigation","onScroll","L10N","LABEL_TAX_TYPE","Notification","small","notification","row","footer","BookingDates","Button","concat","disabled","onPress","ACTION_SEARCH","propTypes","PropTypes","oneOf","CURRENCIES","string","number","bool","TAX","TAX_FREE","TAX_PARTIAL","arrayOf","instanceOf","func"],"sources":["../../../../../src/components/Finder/components/Calendar/Calendar.jsx"],"sourcesContent":["import { useStore } from '@mirai/data-sources';\nimport { CURRENCIES, dateDiff } from '@mirai/locale';\nimport { useLocale } from '@mirai/locale';\nimport { Button, Calendar as CalendarBase, Notification, useDevice, View } from '@mirai/ui';\nimport PropTypes from 'prop-types';\nimport React, { useEffect, useState } from 'react';\n\nimport { ERROR, RANGE_MAX_DAYS, SCROLL_EVENT_MS, TAX, TAX_FREE, TAX_PARTIAL } from './Calendar.constants';\nimport { L10N } from './Calendar.l10n';\nimport * as style from './Calendar.module.css';\nimport { fetchPrices, getVisibleDate } from './helpers';\nimport { BookingDates } from '../../../__shared__';\nimport { CALENDAR_FORMAT, IS_JEST, MONTHS_IN_MOBILE } from '../../../helpers';\n\nconst Calendar = ({\n currency,\n locale,\n pricesLegend,\n rangeMaxDays = RANGE_MAX_DAYS,\n rangeMinDays,\n showPrices,\n onChange,\n onError,\n onSubmit,\n onValid,\n ...others\n}) => {\n const { isMobile } = useDevice();\n const { dateFormat, translate } = useLocale();\n const {\n value: { hotel: { id } = {} },\n } = useStore();\n\n const [focus, setFocus] = useState();\n const [prices, setPrices] = useState();\n const [value, setValue] = useState(others.value || []);\n\n useEffect(() => {\n setPrices();\n showPrices && id && getPrices(value[0] || new Date());\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [id]);\n\n useEffect(() => {\n const [from, to] = value || [];\n\n if (onValid && from && to) onValid();\n else if (onError && (!from || !to)) onError(ERROR.NOT_FILLED);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [value]);\n\n const getPrices = async (from, rangeMonths = 2) => {\n if (IS_JEST) return;\n setPrices({ ...prices, ...(await fetchPrices({ currency, from, id, locale, rangeMonths })) });\n };\n\n const handleChange = (next = [], event) => {\n setFocus(undefined);\n setValue(next);\n onChange && onChange(next, event);\n };\n\n const handleNavigation = (value) => showPrices && getPrices(value);\n\n const handleScroll = ({ percentY }) => showPrices && getPrices(getVisibleDate(percentY), 3);\n\n const handleSubmit = (event) => onSubmit(value, event);\n\n const { testId } = others;\n const props = { ...others, locale, range: true, rangeMaxDays, rangeMinDays };\n const [from, to] = value;\n const { days: nights } = dateDiff(from, to || focus);\n\n return (\n <View role=\"calendar\" className={style.container}>\n <CalendarBase\n {...props}\n captions={prices?.values}\n format={CALENDAR_FORMAT}\n months={isMobile ? MONTHS_IN_MOBILE : undefined}\n scrollEventThrottle={SCROLL_EVENT_MS}\n value={[\n from ? dateFormat(from, { format: CALENDAR_FORMAT }) : undefined,\n to ? dateFormat(to, { format: CALENDAR_FORMAT }) : undefined,\n ]}\n onChange={handleChange}\n onFocus={setFocus}\n onNavigation={handleNavigation}\n onScroll={handleScroll}\n />\n\n {prices?.currency && L10N.LABEL_TAX_TYPE[pricesLegend] && (\n <Notification small className={style.notification}>\n {translate(L10N.LABEL_TAX_TYPE[pricesLegend], { currency: prices.currency, nights: nights || 1 })}\n </Notification>\n )}\n\n <View row className={style.footer}>\n <BookingDates {...{ from, focus, to, rangeMinDays }} />\n\n {onSubmit && (\n <Button testId={testId ? `${testId}-submit` : undefined} disabled={!from || !to} onPress={handleSubmit}>\n {translate(L10N.ACTION_SEARCH)}\n </Button>\n )}\n </View>\n </View>\n );\n};\n\nCalendar.displayName = 'Mirai:Finder:Calendar';\n\nCalendar.propTypes = {\n currency: PropTypes.oneOf(CURRENCIES),\n locale: PropTypes.string,\n rangeMaxDays: PropTypes.number,\n rangeMinDays: PropTypes.number,\n showPrices: PropTypes.bool,\n pricesLegend: PropTypes.oneOf([TAX, TAX_FREE, TAX_PARTIAL]),\n value: PropTypes.arrayOf(PropTypes.instanceOf(Date)),\n onChange: PropTypes.func,\n onError: PropTypes.func,\n onSubmit: PropTypes.func,\n onValid: PropTypes.func,\n};\n\nexport { Calendar };\n"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,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C9BtG,UAAU,EAAEkG,kBAAS,CAACK,IAAI;EAC1B5G,YAAY,EAAEuG,kBAAS,CAACC,KAAK,CAAC,CAACK,aAAG,EAAEC,kBAAQ,EAAEC,qBAAW,CAAC,CAAC;EAC3DlQ,KAAK,EAAE0P,kBAAS,CAACS,OAAO,CAACT,kBAAS,CAACU,UAAU,CAAC3E,IAAI,CAAC,CAAC;EACpDhC,QAAQ,EAAEiG,kBAAS,CAACW,IAAI;EACxB3G,OAAO,EAAEgG,kBAAS,CAACW,IAAI;EACvB1G,QAAQ,EAAE+F,kBAAS,CAACW,IAAI;EACxBzG,OAAO,EAAE8F,kBAAS,CAACW;AACrB,CAAC"}
1
+ {"version":3,"file":"Calendar.js","names":["_dataSources","require","_locale","_ui","_propTypes","_interopRequireDefault","_react","_interopRequireWildcard","_Calendar","_Calendar2","style","_helpers","_shared__","_helpers2","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","obj","_extends","assign","bind","target","arguments","length","source","key","apply","Calendar","_ref","currency","locale","pricesLegend","rangeMaxDays","RANGE_MAX_DAYS","rangeMinDays","showPrices","onChange","onError","onSubmit","onValid","others","isMobile","useDevice","dateFormat","translate","useLocale","value","hotel","id","useStore","focus","setFocus","useState","prices","setPrices","setValue","useEffect","getPrices","Date","from","to","ERROR","NOT_FILLED","rangeMonths","undefined","IS_JEST","fetchPrices","handleChange","next","event","handleNavigation","handleScroll","_ref2","percentY","getVisibleDate","handleSubmit","testId","props","range","days","nights","dateDiff","createElement","View","role","className","container","captions","values","format","CALENDAR_FORMAT","months","MONTHS_IN_MOBILE","scrollEventThrottle","SCROLL_EVENT_MS","onFocus","onNavigation","onScroll","L10N","LABEL_TAX_TYPE","Notification","small","notification","row","footer","BookingDates","Button","concat","disabled","onPress","ACTION_SEARCH","exports","displayName","propTypes","PropTypes","oneOf","CURRENCIES","string","number","bool","TAX","TAX_FREE","TAX_PARTIAL","arrayOf","instanceOf","func"],"sources":["../../../../../src/components/Finder/components/Calendar/Calendar.jsx"],"sourcesContent":["import { useStore } from '@mirai/data-sources';\nimport { CURRENCIES, dateDiff } from '@mirai/locale';\nimport { useLocale } from '@mirai/locale';\nimport { Button, Calendar as CalendarBase, Notification, useDevice, View } from '@mirai/ui';\nimport PropTypes from 'prop-types';\nimport React, { useEffect, useState } from 'react';\n\nimport { ERROR, RANGE_MAX_DAYS, SCROLL_EVENT_MS, TAX, TAX_FREE, TAX_PARTIAL } from './Calendar.constants';\nimport { L10N } from './Calendar.l10n';\nimport * as style from './Calendar.module.css';\nimport { fetchPrices, getVisibleDate } from './helpers';\nimport { BookingDates } from '../../../__shared__';\nimport { CALENDAR_FORMAT, IS_JEST, MONTHS_IN_MOBILE } from '../../../helpers';\n\nconst Calendar = ({\n currency,\n locale,\n pricesLegend,\n rangeMaxDays = RANGE_MAX_DAYS,\n rangeMinDays,\n showPrices,\n onChange,\n onError,\n onSubmit,\n onValid,\n ...others\n}) => {\n const { isMobile } = useDevice();\n const { dateFormat, translate } = useLocale();\n const {\n value: { hotel: { id } = {} },\n } = useStore();\n\n const [focus, setFocus] = useState();\n const [prices, setPrices] = useState();\n const [value, setValue] = useState(others.value || []);\n\n useEffect(() => {\n setPrices();\n showPrices && id && getPrices(value[0] || new Date());\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [id]);\n\n useEffect(() => {\n const [from, to] = value || [];\n\n if (onValid && from && to) onValid();\n else if (onError && (!from || !to)) onError(ERROR.NOT_FILLED);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [value]);\n\n const getPrices = async (from, rangeMonths = 2) => {\n if (IS_JEST) return;\n setPrices({ ...prices, ...(await fetchPrices({ currency, from, id, locale, rangeMonths })) });\n };\n\n const handleChange = (next = [], event) => {\n setFocus(undefined);\n setValue(next);\n onChange && onChange(next, event);\n };\n\n const handleNavigation = (value) => showPrices && getPrices(value);\n\n const handleScroll = ({ percentY }) => showPrices && getPrices(getVisibleDate(percentY), 3);\n\n const handleSubmit = (event) => onSubmit(value, event);\n\n const { testId } = others;\n const props = { ...others, locale, range: true, rangeMaxDays, rangeMinDays };\n const [from, to] = value;\n const { days: nights } = dateDiff(from, to || focus);\n\n return (\n <View role=\"calendar\" className={style.container}>\n <CalendarBase\n {...props}\n captions={prices?.values}\n format={CALENDAR_FORMAT}\n months={isMobile ? MONTHS_IN_MOBILE : undefined}\n scrollEventThrottle={SCROLL_EVENT_MS}\n value={[\n from ? dateFormat(from, { format: CALENDAR_FORMAT }) : undefined,\n to ? dateFormat(to, { format: CALENDAR_FORMAT }) : undefined,\n ]}\n onChange={handleChange}\n onFocus={setFocus}\n onNavigation={handleNavigation}\n onScroll={handleScroll}\n />\n\n {prices?.currency && L10N.LABEL_TAX_TYPE[pricesLegend] && (\n <Notification small className={style.notification}>\n {translate(L10N.LABEL_TAX_TYPE[pricesLegend], { currency: prices.currency, nights: nights || 1 })}\n </Notification>\n )}\n\n <View row className={style.footer}>\n <BookingDates {...{ from, focus, to, rangeMinDays }} />\n\n {onSubmit && (\n <Button testId={testId ? `${testId}-submit` : undefined} disabled={!from || !to} onPress={handleSubmit}>\n {translate(L10N.ACTION_SEARCH)}\n </Button>\n )}\n </View>\n </View>\n );\n};\n\nCalendar.displayName = 'Mirai:Finder:Calendar';\n\nCalendar.propTypes = {\n currency: PropTypes.oneOf(CURRENCIES),\n locale: PropTypes.string,\n rangeMaxDays: PropTypes.number,\n rangeMinDays: PropTypes.number,\n showPrices: PropTypes.bool,\n pricesLegend: PropTypes.oneOf([TAX, TAX_FREE, TAX_PARTIAL]),\n value: PropTypes.arrayOf(PropTypes.instanceOf(Date)),\n onChange: PropTypes.func,\n onError: PropTypes.func,\n onSubmit: PropTypes.func,\n onValid: PropTypes.func,\n};\n\nexport { Calendar };\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAEA,IAAAE,GAAA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,MAAA,CAAAc,OAAA,CAAAgF,aAAA,CAACjG,GAAA,CAAAyH,MAAM;IAAC9B,MAAM,EAAEA,MAAM,MAAA+B,MAAA,CAAM/B,MAAM,eAAYZ,SAAU;IAAC4C,QAAQ,EAAE,CAACjD,IAAI,IAAI,CAACC,EAAG;IAACiD,OAAO,EAAElC;EAAa,GACpG/B,SAAS,CAACsD,eAAI,CAACY,aAAa,CACvB,CAEN,CACF,CAAC;AAEX,CAAC;AAACC,OAAA,CAAApF,QAAA,GAAAA,QAAA;AAEFA,QAAQ,CAACqF,WAAW,GAAG,uBAAuB;AAE9CrF,QAAQ,CAACsF,SAAS,GAAG;EACnBpF,QAAQ,EAAEqF,kBAAS,CAACC,KAAK,CAACC,kBAAU,CAAC;EACrCtF,MAAM,EAAEoF,kBAAS,CAACG,MAAM;EACxBrF,YAAY,EAAEkF,kBAAS,CAACI,MAAM;EAC9BpF,YAAY,EAAEgF,kBAAS,CAACI,MAAM;EAC9BnF,UAAU,EAAE+E,kBAAS,CAACK,IAAI;EAC1BxF,YAAY,EAAEmF,kBAAS,CAACC,KAAK,CAAC,CAACK,aAAG,EAAEC,kBAAQ,EAAEC,qBAAW,CAAC,CAAC;EAC3D5E,KAAK,EAAEoE,kBAAS,CAACS,OAAO,CAACT,kBAAS,CAACU,UAAU,CAAClE,IAAI,CAAC,CAAC;EACpDtB,QAAQ,EAAE8E,kBAAS,CAACW,IAAI;EACxBxF,OAAO,EAAE6E,kBAAS,CAACW,IAAI;EACvBvF,QAAQ,EAAE4E,kBAAS,CAACW,IAAI;EACxBtF,OAAO,EAAE2E,kBAAS,CAACW;AACrB,CAAC"}
@@ -5,21 +5,21 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.L10N = void 0;
7
7
  var _Calendar = require("./Calendar.constants");
8
- var _LABEL_TAX_TYPE;
9
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
11
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
12
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
13
- var L10N = exports.L10N = {
8
+ const L10N = exports.L10N = {
14
9
  ACTION_SEARCH: {
15
10
  id: 'common.action.search'
16
11
  },
17
- LABEL_TAX_TYPE: (_LABEL_TAX_TYPE = {}, _defineProperty(_LABEL_TAX_TYPE, _Calendar.TAX, {
18
- id: 'DateRangePicker.datepicker_legend.Taxes'
19
- }), _defineProperty(_LABEL_TAX_TYPE, _Calendar.TAX_FREE, {
20
- id: 'DateRangePicker.datepicker_legend.NoTaxes'
21
- }), _defineProperty(_LABEL_TAX_TYPE, _Calendar.TAX_PARTIAL, {
22
- id: 'DateRangePicker.datepicker_legend.PartialTaxes'
23
- }), _LABEL_TAX_TYPE)
12
+ LABEL_TAX_TYPE: {
13
+ // ! TODO: Should bind type
14
+ [_Calendar.TAX]: {
15
+ id: 'DateRangePicker.datepicker_legend.Taxes'
16
+ },
17
+ [_Calendar.TAX_FREE]: {
18
+ id: 'DateRangePicker.datepicker_legend.NoTaxes'
19
+ },
20
+ [_Calendar.TAX_PARTIAL]: {
21
+ id: 'DateRangePicker.datepicker_legend.PartialTaxes'
22
+ }
23
+ }
24
24
  };
25
25
  //# sourceMappingURL=Calendar.l10n.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Calendar.l10n.js","names":["_Calendar","require","_LABEL_TAX_TYPE","_typeof","o","Symbol","iterator","constructor","prototype","_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","arg","_toPrimitive","String","input","hint","prim","toPrimitive","undefined","res","call","TypeError","Number","L10N","exports","ACTION_SEARCH","id","LABEL_TAX_TYPE","TAX","TAX_FREE","TAX_PARTIAL"],"sources":["../../../../../src/components/Finder/components/Calendar/Calendar.l10n.js"],"sourcesContent":["import { TAX, TAX_FREE, TAX_PARTIAL } from './Calendar.constants';\n\nexport const L10N = {\n ACTION_SEARCH: { id: 'common.action.search' },\n LABEL_TAX_TYPE: {\n // ! TODO: Should bind type\n [TAX]: { id: 'DateRangePicker.datepicker_legend.Taxes' },\n [TAX_FREE]: { id: 'DateRangePicker.datepicker_legend.NoTaxes' },\n [TAX_PARTIAL]: { id: 'DateRangePicker.datepicker_legend.PartialTaxes' },\n },\n};\n"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAAkE,IAAAC,eAAA;AAAA,SAAAC,QAAAC,CAAA,sCAAAD,OAAA,wBAAAE,MAAA,uBAAAA,MAAA,CAAAC,QAAA,aAAAF,CAAA,kBAAAA,CAAA,gBAAAA,CAAA,WAAAA,CAAA,yBAAAC,MAAA,IAAAD,CAAA,CAAAG,WAAA,KAAAF,MAAA,IAAAD,CAAA,KAAAC,MAAA,CAAAG,SAAA,qBAAAJ,CAAA,KAAAD,OAAA,CAAAC,CAAA;AAAA,SAAAK,gBAAAC,GAAA,EAAAC,GAAA,EAAAC,KAAA,IAAAD,GAAA,GAAAE,cAAA,CAAAF,GAAA,OAAAA,GAAA,IAAAD,GAAA,IAAAI,MAAA,CAAAC,cAAA,CAAAL,GAAA,EAAAC,GAAA,IAAAC,KAAA,EAAAA,KAAA,EAAAI,UAAA,QAAAC,YAAA,QAAAC,QAAA,oBAAAR,GAAA,CAAAC,GAAA,IAAAC,KAAA,WAAAF,GAAA;AAAA,SAAAG,eAAAM,GAAA,QAAAR,GAAA,GAAAS,YAAA,CAAAD,GAAA,oBAAAhB,OAAA,CAAAQ,GAAA,iBAAAA,GAAA,GAAAU,MAAA,CAAAV,GAAA;AAAA,SAAAS,aAAAE,KAAA,EAAAC,IAAA,QAAApB,OAAA,CAAAmB,KAAA,kBAAAA,KAAA,kBAAAA,KAAA,MAAAE,IAAA,GAAAF,KAAA,CAAAjB,MAAA,CAAAoB,WAAA,OAAAD,IAAA,KAAAE,SAAA,QAAAC,GAAA,GAAAH,IAAA,CAAAI,IAAA,CAAAN,KAAA,EAAAC,IAAA,oBAAApB,OAAA,CAAAwB,GAAA,uBAAAA,GAAA,YAAAE,SAAA,4DAAAN,IAAA,gBAAAF,MAAA,GAAAS,MAAA,EAAAR,KAAA;AAE3D,IAAMS,IAAI,GAAAC,OAAA,CAAAD,IAAA,GAAG;EAClBE,aAAa,EAAE;IAAEC,EAAE,EAAE;EAAuB,CAAC;EAC7CC,cAAc,GAAAjC,eAAA,OAAAO,eAAA,CAAAP,eAAA,EAEXkC,aAAG,EAAG;IAAEF,EAAE,EAAE;EAA0C,CAAC,GAAAzB,eAAA,CAAAP,eAAA,EACvDmC,kBAAQ,EAAG;IAAEH,EAAE,EAAE;EAA4C,CAAC,GAAAzB,eAAA,CAAAP,eAAA,EAC9DoC,qBAAW,EAAG;IAAEJ,EAAE,EAAE;EAAiD,CAAC,GAAAhC,eAAA;AAE3E,CAAC"}
1
+ {"version":3,"file":"Calendar.l10n.js","names":["_Calendar","require","L10N","exports","ACTION_SEARCH","id","LABEL_TAX_TYPE","TAX","TAX_FREE","TAX_PARTIAL"],"sources":["../../../../../src/components/Finder/components/Calendar/Calendar.l10n.js"],"sourcesContent":["import { TAX, TAX_FREE, TAX_PARTIAL } from './Calendar.constants';\n\nexport const L10N = {\n ACTION_SEARCH: { id: 'common.action.search' },\n LABEL_TAX_TYPE: {\n // ! TODO: Should bind type\n [TAX]: { id: 'DateRangePicker.datepicker_legend.Taxes' },\n [TAX_FREE]: { id: 'DateRangePicker.datepicker_legend.NoTaxes' },\n [TAX_PARTIAL]: { id: 'DateRangePicker.datepicker_legend.PartialTaxes' },\n },\n};\n"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAEO,MAAMC,IAAI,GAAAC,OAAA,CAAAD,IAAA,GAAG;EAClBE,aAAa,EAAE;IAAEC,EAAE,EAAE;EAAuB,CAAC;EAC7CC,cAAc,EAAE;IACd;IACA,CAACC,aAAG,GAAG;MAAEF,EAAE,EAAE;IAA0C,CAAC;IACxD,CAACG,kBAAQ,GAAG;MAAEH,EAAE,EAAE;IAA4C,CAAC;IAC/D,CAACI,qBAAW,GAAG;MAAEJ,EAAE,EAAE;IAAiD;EACxE;AACF,CAAC"}
@@ -643,7 +643,7 @@ exports[`component:<Calendar> inherit:className 1`] = `
643
643
  fill="none"
644
644
  />
645
645
  <path
646
- d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
646
+ d="m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
647
647
  />
648
648
  </svg>
649
649
  </span>
@@ -1914,7 +1914,7 @@ exports[`component:<Calendar> prop:locale 1`] = `
1914
1914
  fill="none"
1915
1915
  />
1916
1916
  <path
1917
- d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
1917
+ d="m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
1918
1918
  />
1919
1919
  </svg>
1920
1920
  </span>
@@ -3185,7 +3185,7 @@ exports[`component:<Calendar> prop:rangeMaxDays 1`] = `
3185
3185
  fill="none"
3186
3186
  />
3187
3187
  <path
3188
- d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
3188
+ d="m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
3189
3189
  />
3190
3190
  </svg>
3191
3191
  </span>
@@ -4453,7 +4453,7 @@ exports[`component:<Calendar> prop:rangeMinDays 1`] = `
4453
4453
  fill="none"
4454
4454
  />
4455
4455
  <path
4456
- d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
4456
+ d="m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
4457
4457
  />
4458
4458
  </svg>
4459
4459
  </span>
@@ -5719,7 +5719,7 @@ exports[`component:<Calendar> prop:showPrices 1`] = `
5719
5719
  fill="none"
5720
5720
  />
5721
5721
  <path
5722
- d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
5722
+ d="m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
5723
5723
  />
5724
5724
  </svg>
5725
5725
  </span>
@@ -6990,7 +6990,7 @@ exports[`component:<Calendar> prop:value 1`] = `
6990
6990
  fill="none"
6991
6991
  />
6992
6992
  <path
6993
- d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
6993
+ d="m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
6994
6994
  />
6995
6995
  </svg>
6996
6996
  </span>
@@ -8261,7 +8261,7 @@ exports[`component:<Calendar> renders 1`] = `
8261
8261
  fill="none"
8262
8262
  />
8263
8263
  <path
8264
- d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
8264
+ d="m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
8265
8265
  />
8266
8266
  </svg>
8267
8267
  </span>
@@ -9535,7 +9535,7 @@ exports[`component:<Calendar> testID 1`] = `
9535
9535
  fill="none"
9536
9536
  />
9537
9537
  <path
9538
- d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
9538
+ d="m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
9539
9539
  />
9540
9540
  </svg>
9541
9541
  </span>