@revolugo/elements 6.7.2 → 6.7.3-beta.1

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 (112) hide show
  1. package/dist/index.es.min.js +2618 -2553
  2. package/dist/index.es.min.js.map +1 -1
  3. package/dist/index.min.js +6 -6
  4. package/dist/index.min.js.map +1 -1
  5. package/dist/revolugo._basefor.CodrYJxd.min.js +15 -0
  6. package/dist/{revolugo.banktransferdetails.arP5j__o.min.js → revolugo.banktransferdetails.ES8H8TdX.min.js} +24 -23
  7. package/dist/{revolugo.bdaterangepicker.Ba26rd5I.min.js → revolugo.bdaterangepicker.FofU3mwm.min.js} +121 -6
  8. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.Er0BOzhm.min.js +61 -0
  9. package/dist/{revolugo.bhoteloffersfilterbar.CwCd9oox.min.js → revolugo.bhoteloffersfilterbar.o301OMGn.min.js} +173 -169
  10. package/dist/{revolugo.bpricesummaryskeleton.DH-Kuge7.min.js → revolugo.bhotelroomsdetails.V_1vhP4H.min.js} +169 -241
  11. package/dist/{revolugo.bhotelsearchbar.DaX-iQTB.min.js → revolugo.bhotelsearchbar.B9IrrAQm.min.js} +77 -76
  12. package/dist/{revolugo.bimagecarousel.CgrOcU1C.min.js → revolugo.bimagecarousel.BbOESSh5.min.js} +36 -36
  13. package/dist/{revolugo.bookingdetailssidebar.CXHn5MDn.min.js → revolugo.bookingdetailssidebar.DJCyHj6W.min.js} +184 -202
  14. package/dist/revolugo.bookingdetailssidebar.YExbkGzc.min.js +24 -0
  15. package/dist/{revolugo.bookingmanager.BIFir20P.min.js → revolugo.bookingmanager.dEjhzT2A.min.js} +51 -48
  16. package/dist/revolugo.bpricesummaryskeleton.t8bYETzP.min.js +79 -0
  17. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.ACZ7Rna9.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CmgO29ZN.min.js} +28 -27
  18. package/dist/{revolugo.btag.0ugEj-2W.min.js → revolugo.btag.HV2MY7n9.min.js} +70 -69
  19. package/dist/{revolugo.cancellationpoliciesbadge.BakDGPnx.min.js → revolugo.cancellationpoliciesbadge.BlxYDvQM.min.js} +51 -70
  20. package/dist/revolugo.cancellationpoliciesbadge.FhiHeLu9.min.js +24 -0
  21. package/dist/{revolugo.cancellationpolicieslist.C_FFhkUD.min.js → revolugo.cancellationpolicieslist.BMKPdB9z.min.js} +28 -47
  22. package/dist/revolugo.cancellationpolicieslist.C4GBKaw8.min.js +24 -0
  23. package/dist/revolugo.case-transformers.Ddd0DZeI.min.js +123 -0
  24. package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
  25. package/dist/revolugo.creditcardform.CJnUNQmx.min.js +24 -0
  26. package/dist/{revolugo.creditcardform.B5bfYD6z.min.js → revolugo.creditcardform.KPRkwSVZ.min.js} +650 -901
  27. package/dist/revolugo.creditcardpayment.DGWBaIYP.min.js +24 -0
  28. package/dist/{revolugo.creditcardpayment.DzD24_nR.min.js → revolugo.creditcardpayment.gPcfsEC5.min.js} +138 -154
  29. package/dist/{revolugo.currencypicker.LtjCHf9r.min.js → revolugo.currencypicker.CEQB4l-T.min.js} +19 -18
  30. package/dist/revolugo.currencypickerbtn.D3t6zODt.min.js +24 -0
  31. package/dist/revolugo.currencypickerbtn.drvXcNoD.min.js +163 -0
  32. package/dist/revolugo.dialog-attach.CEqY6W2u.min.js +28 -0
  33. package/dist/revolugo.dialog-transition.DjCJstCa.min.js +114 -0
  34. package/dist/revolugo.fastbookingflow.rfdQQDxx.min.js +34 -0
  35. package/dist/revolugo.forwardrefs.-bfQnFea.min.js +71 -0
  36. package/dist/{revolugo.fullbookingflow.CkMmSkIU.min.js → revolugo.fullbookingflow.rmAHR_IC.min.js} +77 -75
  37. package/dist/{revolugo.hoteldescriptionview.Cp5ZgFcV.min.js → revolugo.hoteldescriptionview.BU8Q37ZC.min.js} +363 -379
  38. package/dist/revolugo.hoteldescriptionview.Ctcmbxkx.min.js +24 -0
  39. package/dist/{revolugo.hotelofferitemlayout.Bhhi0sg3.min.js → revolugo.hotelofferitemlayout.yfMiZs8-.min.js} +9 -9
  40. package/dist/revolugo.hotelofferlist.Dt7FXhVI.min.js +24 -0
  41. package/dist/{revolugo.hotelofferlist.BTgDe-tp.min.js → revolugo.hotelofferlist.Il2LjMCL.min.js} +1005 -1053
  42. package/dist/{revolugo.hotelofferrequestcreator.B17qgpU2.min.js → revolugo.hotelofferrequestcreator.BpgknOPE.min.js} +7 -7
  43. package/dist/revolugo.hoteloffersearchmenu.MzJ49afx.min.js +46 -0
  44. package/dist/revolugo.hoteloffersmap.BMFBMh12.min.js +24 -0
  45. package/dist/revolugo.hoteloffersmap.CObm7hoD.min.js +8394 -0
  46. package/dist/{revolugo.hoteloffersview.D1-F8ONF.min.js → revolugo.hoteloffersview.Bpu61_EH.min.js} +161 -176
  47. package/dist/revolugo.hoteloffersview.Cn-wbBGn.min.js +19 -0
  48. package/dist/revolugo.hotelroomofferlist.Cvw5drkG.min.js +24 -0
  49. package/dist/{revolugo.hotelroomofferlist.BpTAFyMO.min.js → revolugo.hotelroomofferlist.DyMNPEmJ.min.js} +468 -485
  50. package/dist/revolugo.hotelroomofferrequestcreator.props.UhEzU-Eo.min.js +171 -0
  51. package/dist/{revolugo.hotelroomoffersbookingflow.BNm52u6c.min.js → revolugo.hotelroomoffersbookingflow.BhZHfo79.min.js} +40 -39
  52. package/dist/{revolugo.hotelroomoffersearchmenu.Bysb279d.min.js → revolugo.hotelroomoffersearchmenu.BDYUJlri.min.js} +29 -49
  53. package/dist/revolugo.hotelroomoffersearchmenu.D7QyRteS.min.js +25 -0
  54. package/dist/revolugo.hotelroomoffersview.BpiOqbeg.min.js +24 -0
  55. package/dist/{revolugo.hotelroomoffersview.BVbajWFv.min.js → revolugo.hotelroomoffersview.DI54bcEi.min.js} +71 -91
  56. package/dist/revolugo.index.CHVqFiWo.min.js +1037 -0
  57. package/dist/{revolugo.index.BX4WZjgg.min.js → revolugo.index.DlCArqY2.min.js} +6 -6
  58. package/dist/{revolugo.rounded.u4maswiM.min.js → revolugo.index.wc.U-Ds0Ud7.min.js} +7732 -7859
  59. package/dist/{revolugo.langpicker.BTmjf3Hy.min.js → revolugo.langpicker.Bfd4GXeG.min.js} +15 -15
  60. package/dist/{revolugo.langpickerbtn.DthGIqyz.min.js → revolugo.langpickerbtn.Bx3onVJO.min.js} +53 -71
  61. package/dist/revolugo.langpickerbtn.Dj9aqzUa.min.js +24 -0
  62. package/dist/revolugo.min.js +1 -1
  63. package/dist/{revolugo.position.CEExVEE8.min.js → revolugo.position.DG21FbXr.min.js} +45 -44
  64. package/dist/revolugo.prebookform.DZiQ5M3q.min.js +24 -0
  65. package/dist/{revolugo.prebookform.By-V1bl9.min.js → revolugo.prebookform.hUDmprdU.min.js} +94 -114
  66. package/dist/revolugo.roominglisteditor.CqHUrQ4g.min.js +24 -0
  67. package/dist/{revolugo.roominglisteditor.BTk6Ieu-.min.js → revolugo.roominglisteditor.meQaCKaE.min.js} +82 -101
  68. package/dist/revolugo.rounded.CDKzGlV8.min.js +68 -0
  69. package/dist/revolugo.ssrboot.me6E0cRY.min.js +18 -0
  70. package/dist/{revolugo.storybooktoolbar.CFuRMVxX.min.js → revolugo.storybooktoolbar.CmOqTdGz.min.js} +110 -108
  71. package/dist/revolugo.termsandconditions.CSbVW2DS.min.js +23 -0
  72. package/dist/{revolugo.termsandconditions.B1itHoql.min.js → revolugo.termsandconditions.CcWZ66ul.min.js} +90 -108
  73. package/dist/revolugo.use-breakpoint-service.DzP23XZi.min.js +106 -0
  74. package/dist/{revolugo.vautocomplete.bQzOaYWm.min.js → revolugo.vautocomplete.1eBdqerb.min.js} +133 -132
  75. package/dist/{revolugo.vbadge.Cm6IZIUx.min.js → revolugo.vbadge.3HWnFhqm.min.js} +33 -32
  76. package/dist/{revolugo.vbtn.D3Vm2ZlS.min.js → revolugo.vbtn.D5oMY_p5.min.js} +82 -81
  77. package/dist/{revolugo.vcard.D7M0YovD.min.js → revolugo.vcard.CLsvQwyI.min.js} +50 -49
  78. package/dist/{revolugo.vcheckboxbtn.DxJuZdU5.min.js → revolugo.vcheckboxbtn.BkLi1Y04.min.js} +72 -71
  79. package/dist/{revolugo.vdialog.B3aAN6LZ.min.js → revolugo.vdialog.8XLsV5dc.min.js} +26 -25
  80. package/dist/revolugo.vdivider.jj-AdUyd.min.js +77 -0
  81. package/dist/{revolugo.vexpansionpanels.Cio1oHcQ.min.js → revolugo.vexpansionpanels.Cc3RP1rh.min.js} +42 -41
  82. package/dist/{revolugo.vform.1YZ7pPUG.min.js → revolugo.vform.Db-PE5B0.min.js} +15 -15
  83. package/dist/{revolugo.vinput.8rjbvXX2.min.js → revolugo.vinput.86caOzy1.min.js} +91 -91
  84. package/dist/{revolugo.vlabel.DYs_A1Ji.min.js → revolugo.vlabel.CVuILaZ8.min.js} +5 -5
  85. package/dist/{revolugo.vlist.DCvg08Wu.min.js → revolugo.vlist.Dyah7BiI.min.js} +90 -88
  86. package/dist/revolugo.vmenu.CXAeU_qi.min.js +152 -0
  87. package/dist/{revolugo.vselect.C8g3avwV.min.js → revolugo.vselect.BsnagCGW.min.js} +133 -132
  88. package/dist/revolugo.vsheet.BG1meZTM.min.js +72 -0
  89. package/dist/{revolugo.vskeletonloader.lUzEuSvU.min.js → revolugo.vskeletonloader.BORzy4_m.min.js} +14 -13
  90. package/dist/{revolugo.vsnackbar.vZBrE3Q7.min.js → revolugo.vsnackbar.CxMxY-0P.min.js} +46 -44
  91. package/dist/revolugo.vspacer.BiUgatwg.min.js +7 -0
  92. package/dist/{revolugo.vtextarea.DQrxw1ua.min.js → revolugo.vtextarea.BkNy6mLm.min.js} +48 -39
  93. package/dist/{revolugo.vtextfield.DPMmhQ6a.min.js → revolugo.vtextfield.DlfEz4JN.min.js} +109 -107
  94. package/dist/{revolugo.vtoolbar.Bzh8TXIO.min.js → revolugo.vtoolbar.2imDjYnr.min.js} +21 -20
  95. package/dist/{revolugo.vtooltip.DMjpxOcA.min.js → revolugo.vtooltip.vIYDBJ4s.min.js} +118 -109
  96. package/dist/{revolugo.vwindowitem.yFpV6WTQ.min.js → revolugo.vwindowitem.CIEwtCBy.min.js} +41 -41
  97. package/dist/revolugo.watch-list.C39H03pK.min.js +16 -0
  98. package/dist/{revolugo.webcomponentwrapper.CfhsVy34.min.js → revolugo.webcomponentwrapper.BzrBNp7K.min.js} +484 -541
  99. package/package.json +5 -5
  100. package/dist/revolugo.currencypickerbtn.D02DHRmR.min.js +0 -181
  101. package/dist/revolugo.dialog-transition.DyO6FFbo.min.js +0 -216
  102. package/dist/revolugo.hoteloffersearchmenu.CQyxBtRu.min.js +0 -46
  103. package/dist/revolugo.hoteloffersmap.Bp9l3_9T.min.js +0 -8409
  104. package/dist/revolugo.hotelroomofferrequestcreator.props.Dj5-GfCx.min.js +0 -317
  105. package/dist/revolugo.index.Ds7GPsGI.min.js +0 -1127
  106. package/dist/revolugo.ssrboot.DrkbeeFe.min.js +0 -91
  107. package/dist/revolugo.vsheet.BeVVp2B7.min.js +0 -71
  108. package/dist/revolugo.vspacer.B9TRu3hb.min.js +0 -14
  109. /package/dist/css/{revolugo.bpricesummaryskeleton.ZHH0C1yQ.css → revolugo.bhotelroomsdetails.ZHH0C1yQ.css} +0 -0
  110. /package/dist/css/{revolugo.rounded.XNPQF1ia.css → revolugo.index.XNPQF1ia.css} +0 -0
  111. /package/dist/css/{revolugo.ssrboot.CTbbZwnv.css → revolugo.vdivider.CTbbZwnv.css} +0 -0
  112. /package/dist/css/{revolugo.hotelroomofferrequestcreator.DvKwEp1j.css → revolugo.vmenu.DvKwEp1j.css} +0 -0
@@ -0,0 +1,171 @@
1
+ import { ao as O, k as u, ap as R, E as i } from "./revolugo.index.wc.U-Ds0Ud7.min.js";
2
+ const E = O(
3
+ "hotelRoomOfferRequest",
4
+ {
5
+ actions: {
6
+ DELETE_HOTEL_ROOM_OFFER_REQUEST(e) {
7
+ this.hotelRoomOfferRequestByHotelId[e] && delete this.hotelRoomOfferRequestByHotelId[e];
8
+ },
9
+ RESET_HOTEL_ROOM_OFFER_REQUEST(e) {
10
+ this.hotelRoomOfferRequestByHotelId[e] = {
11
+ ...this.hotelRoomOfferRequestByHotelId[e],
12
+ hasError: !1,
13
+ id: void 0
14
+ };
15
+ },
16
+ RESET_HOTEL_ROOM_OFFER_REQUESTS() {
17
+ this.hotelRoomOfferRequestByHotelId = {};
18
+ },
19
+ SET_HOTEL_ROOM_OFFER_REQUEST(e) {
20
+ this.hotelRoomOfferRequestByHotelId[e.hotelId] = {
21
+ ...this.hotelRoomOfferRequestByHotelId[e.hotelId],
22
+ ...e
23
+ };
24
+ },
25
+ async createHotelRoomOfferRequest(e) {
26
+ const o = R();
27
+ if (o)
28
+ try {
29
+ this.SET_HOTEL_ROOM_OFFER_REQUEST({
30
+ hasError: !1,
31
+ hotelId: e.hotelId,
32
+ id: void 0,
33
+ isFetching: !0
34
+ });
35
+ const { eventMetadata: r } = window.RevolugoElements.config, s = {
36
+ hotelRoomOfferRequestCreateApi: {
37
+ adultCount: e.adultCount,
38
+ checkInDate: e.checkInDate,
39
+ checkOutDate: e.checkOutDate,
40
+ children: e.children || void 0,
41
+ eventMetadata: r,
42
+ hotelId: e.hotelId,
43
+ roomCount: e.roomCount,
44
+ sourceMarket: e.sourceMarket
45
+ }
46
+ }, t = await o.hotelRoomOfferRequests.create(
47
+ s
48
+ );
49
+ (t.adultCount !== e.adultCount || t.checkInDate !== e.checkInDate || t.checkOutDate !== e.checkOutDate || t.children !== e.children || t.sourceMarket !== e.sourceMarket) && console.warn(
50
+ `Hotel offer request params mismatch: adultCount: ${t.adultCount} : ${e.adultCount}, checkInDate: ${t.checkInDate} : ${e.checkInDate}, checkOutDate: ${t.checkOutDate} : ${e.checkOutDate}, children: ${t.children} : ${e.children}, roomCount: ${t.roomCount} : ${e.roomCount}, sourceMarket: ${t.sourceMarket} : ${e.sourceMarket}`
51
+ ), this.SET_HOTEL_ROOM_OFFER_REQUEST({
52
+ ...t,
53
+ hasError: !1,
54
+ isFetching: !1
55
+ }), window.RevolugoElements.eventBus.$emit(
56
+ i.HotelRoomOfferRequestCreated,
57
+ t
58
+ );
59
+ } catch (r) {
60
+ this.SET_HOTEL_ROOM_OFFER_REQUEST({
61
+ hasError: !0,
62
+ hotelId: e.hotelId
63
+ }), console.error("Cannot create hotel room offer request:", r);
64
+ }
65
+ },
66
+ deleteHotelRoomOfferRequest(e) {
67
+ this.DELETE_HOTEL_ROOM_OFFER_REQUEST(e);
68
+ },
69
+ resetHotelRoomOfferRequest(e) {
70
+ this.RESET_HOTEL_ROOM_OFFER_REQUEST(e);
71
+ },
72
+ resetHotelRoomOfferRequests() {
73
+ this.RESET_HOTEL_ROOM_OFFER_REQUESTS();
74
+ },
75
+ async retrieveHotelRoomOfferRequest({
76
+ hotelId: e,
77
+ hotelRoomOfferRequestId: o
78
+ }) {
79
+ try {
80
+ const r = R();
81
+ if (!r)
82
+ return;
83
+ this.SET_HOTEL_ROOM_OFFER_REQUEST({
84
+ hasError: !1,
85
+ hotelId: e,
86
+ id: void 0,
87
+ isFetching: !0
88
+ });
89
+ const s = await (r == null ? void 0 : r.hotelRoomOfferRequests.retrieve({
90
+ id: o
91
+ }));
92
+ if (s.hotelId !== e)
93
+ throw new Error(
94
+ "Hotel room offer request does not match provided hotel id"
95
+ );
96
+ if (s.id !== o)
97
+ throw new Error(
98
+ `Hotel room offer request id mismatch: requested: ${o}, retrieved: ${s.id}`
99
+ );
100
+ this.SET_HOTEL_ROOM_OFFER_REQUEST({
101
+ ...s,
102
+ isFetching: !1
103
+ }), window.RevolugoElements.eventBus.$emit(
104
+ i.HotelRoomOfferRequestRetrieved,
105
+ s
106
+ );
107
+ } catch (r) {
108
+ this.DELETE_HOTEL_ROOM_OFFER_REQUEST(e), console.error("Cannot retrieve hotel offer request:", r);
109
+ }
110
+ }
111
+ },
112
+ getters: {
113
+ hotelRoomOfferRequest: (e) => (o) => e.hotelRoomOfferRequestByHotelId[o],
114
+ nightCount(e) {
115
+ return (o) => {
116
+ if (e.hotelRoomOfferRequestByHotelId[o])
117
+ return u(
118
+ e.hotelRoomOfferRequestByHotelId[o].checkOutDate,
119
+ "YYYY-MM-DD"
120
+ ).diff(
121
+ u(
122
+ e.hotelRoomOfferRequestByHotelId[o].checkInDate,
123
+ "YYYY-MM-DD"
124
+ ),
125
+ "day"
126
+ );
127
+ };
128
+ }
129
+ },
130
+ state: () => ({
131
+ hotelRoomOfferRequestByHotelId: {}
132
+ })
133
+ }
134
+ ), f = {
135
+ adultCount: {
136
+ required: !0,
137
+ type: Number
138
+ },
139
+ checkInDate: {
140
+ required: !0,
141
+ type: String
142
+ },
143
+ checkOutDate: {
144
+ required: !0,
145
+ type: String
146
+ },
147
+ children: {
148
+ default: null,
149
+ type: String
150
+ },
151
+ hotelId: {
152
+ required: !0,
153
+ type: String
154
+ },
155
+ hotelRoomOfferRequestId: {
156
+ type: String
157
+ },
158
+ roomCount: {
159
+ required: !0,
160
+ type: Number
161
+ },
162
+ sourceMarket: {
163
+ required: !0,
164
+ type: String
165
+ }
166
+ };
167
+ export {
168
+ f as h,
169
+ E as u
170
+ };
171
+ //# sourceMappingURL=revolugo.hotelroomofferrequestcreator.props.UhEzU-Eo.min.js.map
@@ -1,19 +1,20 @@
1
- import { H as Be, h as Oe, a as Ie } from "./revolugo.hotelroomoffersview.BVbajWFv.min.js";
2
- import { P as Te, p as Re, a as Ce } from "./revolugo.prebookform.By-V1bl9.min.js";
3
- import { aF as _e, j as Z, ad as Fe, G as Me, aq as S, p as V, a as M, z as De, c as i, J as p, D as He, a9 as $e, I as P, a1 as Le, S as Ae, C as F, a5 as Ne, aC as ze, a_ as qe, aJ as oe, $ as We, ab as Ue, aE as Ge, Q as ge, n as k, w as n, K as ie, P as xe, q as B, M as b, ao as y, O as g, s as T, ah as je, v, x as Ye, y as Ke } from "./revolugo.rounded.u4maswiM.min.js";
4
- import { H as Je } from "./revolugo.hotelroomoffersearchmenu.Bysb279d.min.js";
5
- import { a as Ze } from "./revolugo.creditcardpayment.DzD24_nR.min.js";
6
- import { p as Qe } from "./revolugo.bstarrating.vue_vue_type_script_setup_true_lang.ACZ7Rna9.min.js";
7
- import { s as se } from "./revolugo.vspacer.B9TRu3hb.min.js";
8
- import { z as ne, u as D, _ as ke, q as O, r as w, W as Xe } from "./revolugo.webcomponentwrapper.CfhsVy34.min.js";
9
- import { b as ae, R as et, e as tt, g as ot, a as it, V as I, h as st, i as nt, j as at } from "./revolugo.index.Ds7GPsGI.min.js";
10
- import { V as G } from "./revolugo.vbtn.D3Vm2ZlS.min.js";
11
- import { V as re } from "./revolugo.vsnackbar.vZBrE3Q7.min.js";
12
- import { c as rt } from "./revolugo.position.CEExVEE8.min.js";
13
- import { V as le, m as lt, a as ue, b as ut } from "./revolugo.vwindowitem.yFpV6WTQ.min.js";
14
- import { V as ce, m as ct } from "./revolugo.vsheet.BeVVp2B7.min.js";
15
- import { V as J } from "./revolugo.ssrboot.DrkbeeFe.min.js";
16
- import { a as dt } from "./revolugo.vcheckboxbtn.DxJuZdU5.min.js";
1
+ import { a as Be, h as Oe, H as Ie } from "./revolugo.hotelroomoffersview.DI54bcEi.min.js";
2
+ import { P as Te, p as Re, a as Ce } from "./revolugo.prebookform.hUDmprdU.min.js";
3
+ import { z as _e, d as Q, ag as Fe, u as Me, E as S, _ as V, Z as M, ac as De, a as i, D as p, H as He, aA as $e, $ as P, ai as Le, a2 as Ae, y as F, a6 as Ne, aP as ze, aT as We, aU as oe, aQ as qe, aV as Ue, aS as Ge, F as ge, c as k, w as n, i as ie, v as xe, g as B, e as b, f as y, t as g, r as T, aR as je, o as v, n as Ye, h as Ke } from "./revolugo.index.wc.U-Ds0Ud7.min.js";
4
+ import { a as Ze } from "./revolugo.hotelroomoffersearchmenu.BDYUJlri.min.js";
5
+ import { C as Qe } from "./revolugo.creditcardpayment.gPcfsEC5.min.js";
6
+ import { p as Je } from "./revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CmgO29ZN.min.js";
7
+ import { s as se } from "./revolugo.common.D-l8b0V5.min.js";
8
+ import { f as ne } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.Er0BOzhm.min.js";
9
+ import { u as D, _ as ke, V as O, a as w, W as Xe } from "./revolugo.webcomponentwrapper.BzrBNp7K.min.js";
10
+ import { a as ae, R as et, u as tt, g as ot, h as it, V as I, i as st, j as nt, k as at } from "./revolugo.index.CHVqFiWo.min.js";
11
+ import { a as G } from "./revolugo.vbtn.D5oMY_p5.min.js";
12
+ import { V as re } from "./revolugo.vsnackbar.CxMxY-0P.min.js";
13
+ import { c as rt } from "./revolugo.position.DG21FbXr.min.js";
14
+ import { V as le, m as lt, a as ue, b as ut } from "./revolugo.vwindowitem.CIEwtCBy.min.js";
15
+ import { V as ce, m as ct } from "./revolugo.vsheet.BG1meZTM.min.js";
16
+ import { V as Z } from "./revolugo.vdivider.jj-AdUyd.min.js";
17
+ import { V as dt } from "./revolugo.vcheckboxbtn.BkLi1Y04.min.js";
17
18
  function Ee(e) {
18
19
  try {
19
20
  if (typeof document < "u") {
@@ -44,7 +45,7 @@ const mt = {
44
45
  default: () => mt,
45
46
  type: [Object, String]
46
47
  }
47
- }, z = 1e3, q = 60 * z, W = 60 * q, de = 24 * W, me = "abort", pe = "end", fe = "progress", he = "start", ve = "visibilitychange", pt = Z({
48
+ }, z = 1e3, W = 60 * z, q = 60 * W, de = 24 * q, me = "abort", pe = "end", fe = "progress", he = "start", ve = "visibilitychange", pt = Q({
48
49
  beforeUnmount() {
49
50
  document.removeEventListener(
50
51
  ve,
@@ -65,7 +66,7 @@ const mt = {
65
66
  */
66
67
  hours() {
67
68
  return Math.floor(
68
- this.totalMilliseconds % de / W
69
+ this.totalMilliseconds % de / q
69
70
  );
70
71
  },
71
72
  /**
@@ -81,7 +82,7 @@ const mt = {
81
82
  */
82
83
  minutes() {
83
84
  return Math.floor(
84
- this.totalMilliseconds % W / q
85
+ this.totalMilliseconds % q / W
85
86
  );
86
87
  },
87
88
  /**
@@ -90,7 +91,7 @@ const mt = {
90
91
  */
91
92
  seconds() {
92
93
  return Math.floor(
93
- this.totalMilliseconds % q / z
94
+ this.totalMilliseconds % W / z
94
95
  );
95
96
  },
96
97
  /**
@@ -105,14 +106,14 @@ const mt = {
105
106
  * @returns {number} The computed value.
106
107
  */
107
108
  totalHours() {
108
- return Math.floor(this.totalMilliseconds / W);
109
+ return Math.floor(this.totalMilliseconds / q);
109
110
  },
110
111
  /**
111
112
  * Total remaining minutes.
112
113
  * @returns {number} The computed value.
113
114
  */
114
115
  totalMinutes() {
115
- return Math.floor(this.totalMilliseconds / q);
116
+ return Math.floor(this.totalMilliseconds / W);
116
117
  },
117
118
  /**
118
119
  * Total remaining seconds.
@@ -347,9 +348,9 @@ const mt = {
347
348
  }
348
349
  });
349
350
  var ye = /* @__PURE__ */ ((e) => (e[e.Idle = 1] = "Idle", e[e.Payment = 3] = "Payment", e[e.PaymentRequested = 4] = "PaymentRequested", e[e.PaymentSuccessful = 5] = "PaymentSuccessful", e[e.PreBook = 2] = "PreBook", e))(ye || {});
350
- const we = Z({
351
+ const we = Q({
351
352
  components: {
352
- CreditCardPayment: Ze,
353
+ CreditCardPayment: Qe,
353
354
  HotelRoomOffersView: Ie,
354
355
  PrebookForm: Ce,
355
356
  VueCountdown: pt
@@ -475,8 +476,8 @@ const we = Z({
475
476
  }
476
477
  },
477
478
  mixins: [
478
- Je,
479
- Qe({
479
+ Ze,
480
+ Je({
480
481
  fallbackValue: {},
481
482
  propsName: "features"
482
483
  })
@@ -623,7 +624,7 @@ function be(e) {
623
624
  }
624
625
  });
625
626
  }
626
- const Q = Symbol.for("vuetify:v-stepper"), Pe = V({
627
+ const J = Symbol.for("vuetify:v-stepper"), Pe = V({
627
628
  color: String,
628
629
  disabled: {
629
630
  type: [Boolean, String],
@@ -744,7 +745,7 @@ const Q = Symbol.for("vuetify:v-stepper"), Pe = V({
744
745
  let {
745
746
  slots: t
746
747
  } = o;
747
- const s = tt(e, Q, !0), a = p(() => (s == null ? void 0 : s.value.value) ?? e.value), l = p(() => e.rules.every((R) => R() === !0)), u = p(() => !e.disabled && e.editable), c = p(() => !e.disabled && e.editable), f = p(() => e.error || !l.value), d = p(() => e.complete || e.rules.length > 0 && l.value), r = p(() => f.value ? e.errorIcon : d.value ? e.completeIcon : s.isSelected.value && e.editable ? e.editIcon : e.icon), m = p(() => ({
748
+ const s = tt(e, J, !0), a = p(() => (s == null ? void 0 : s.value.value) ?? e.value), l = p(() => e.rules.every((R) => R() === !0)), u = p(() => !e.disabled && e.editable), c = p(() => !e.disabled && e.editable), f = p(() => e.error || !l.value), d = p(() => e.complete || e.rules.length > 0 && l.value), r = p(() => f.value ? e.errorIcon : d.value ? e.completeIcon : s.isSelected.value && e.editable ? e.editIcon : e.icon), m = p(() => ({
748
749
  canEdit: c.value,
749
750
  hasError: f.value,
750
751
  hasCompleted: d.value,
@@ -803,7 +804,7 @@ const Q = Symbol.for("vuetify:v-stepper"), Pe = V({
803
804
  let {
804
805
  slots: t
805
806
  } = o;
806
- const s = Le(Q, null), a = Ae(e, "modelValue"), l = p({
807
+ const s = Le(J, null), a = Ae(e, "modelValue"), l = p({
807
808
  get() {
808
809
  var u;
809
810
  return a.value != null || !s ? a.value : (u = s.items.value.find((c) => s.selected.value.includes(c.id))) == null ? void 0 : u.value;
@@ -891,7 +892,7 @@ const Q = Symbol.for("vuetify:v-stepper"), Pe = V({
891
892
  next: a,
892
893
  prev: l,
893
894
  selected: u
894
- } = nt(e, Q), {
895
+ } = nt(e, J), {
895
896
  displayClasses: c,
896
897
  mobile: f
897
898
  } = ze(e), {
@@ -902,7 +903,7 @@ const Q = Symbol.for("vuetify:v-stepper"), Pe = V({
902
903
  editable: x,
903
904
  prevText: H,
904
905
  nextText: $
905
- } = qe(e), C = p(() => e.items.map((h, j) => {
906
+ } = We(e), C = p(() => e.items.map((h, j) => {
906
907
  const A = oe(h, e.itemTitle, h), Y = oe(h, e.itemValue, j + 1);
907
908
  return {
908
909
  title: A,
@@ -910,7 +911,7 @@ const Q = Symbol.for("vuetify:v-stepper"), Pe = V({
910
911
  raw: h
911
912
  };
912
913
  })), _ = p(() => s.value.findIndex((h) => u.value.includes(h.id))), L = p(() => e.disabled ? e.disabled : _.value === 0 ? "prev" : _.value === s.value.length - 1 ? "next" : !1);
913
- return We({
914
+ return qe({
914
915
  VStepperItem: {
915
916
  editable: x,
916
917
  errorIcon: m,
@@ -947,7 +948,7 @@ const Q = Symbol.for("vuetify:v-stepper"), Pe = V({
947
948
  raw: K,
948
949
  ...te
949
950
  } = E;
950
- return i(ge, null, [!!N && i(J, null, null), i(U, te, {
951
+ return i(ge, null, [!!N && i(Z, null, null), i(U, te, {
951
952
  default: t[`header-item.${te.value}`] ?? t.header,
952
953
  icon: t.icon,
953
954
  title: t.title,
@@ -1104,7 +1105,7 @@ function _t(e, o, t, s, a, l) {
1104
1105
  ]),
1105
1106
  _: 1
1106
1107
  }, 8, ["value"]),
1107
- i(J),
1108
+ i(Z),
1108
1109
  i(U, {
1109
1110
  color: "primary",
1110
1111
  complete: [e.STEPS.PaymentSuccessful, e.STEPS.Payment].includes(e.step),
@@ -1115,7 +1116,7 @@ function _t(e, o, t, s, a, l) {
1115
1116
  ]),
1116
1117
  _: 1
1117
1118
  }, 8, ["complete", "value"]),
1118
- i(J),
1119
+ i(Z),
1119
1120
  i(U, {
1120
1121
  color: "primary",
1121
1122
  complete: e.step === e.STEPS.PaymentSuccessful,
@@ -1281,7 +1282,7 @@ function _t(e, o, t, s, a, l) {
1281
1282
  });
1282
1283
  }
1283
1284
  typeof be == "function" && be(we);
1284
- const Ft = /* @__PURE__ */ ke(we, [["render", _t], ["__scopeId", "data-v-17bd38d1"]]), Mt = Z({
1285
+ const Ft = /* @__PURE__ */ ke(we, [["render", _t], ["__scopeId", "data-v-17bd38d1"]]), Mt = Q({
1285
1286
  components: {
1286
1287
  HotelRoomOffersBookingFlow: Ft,
1287
1288
  WebComponentWrapper: Xe
@@ -1297,9 +1298,9 @@ function Dt(e, o, t, s, a, l) {
1297
1298
  _: 1
1298
1299
  });
1299
1300
  }
1300
- const Qt = /* @__PURE__ */ ke(Mt, [["render", Dt]]);
1301
+ const Xt = /* @__PURE__ */ ke(Mt, [["render", Dt]]);
1301
1302
  Ee("css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css");
1302
1303
  export {
1303
- Qt as default
1304
+ Xt as default
1304
1305
  };
1305
- //# sourceMappingURL=revolugo.hotelroomoffersbookingflow.BNm52u6c.min.js.map
1306
+ //# sourceMappingURL=revolugo.hotelroomoffersbookingflow.BhZHfo79.min.js.map
@@ -1,15 +1,15 @@
1
- import { h as f, u as l } from "./revolugo.hotelroomofferrequestcreator.props.Dj5-GfCx.min.js";
2
- import { j as h, a7 as q, k as a, G as I, n as u, q as p, s as n, v as R, w as C, c as k, x as g, y as D } from "./revolugo.rounded.u4maswiM.min.js";
3
- import { p as i, s as H } from "./revolugo.dialog-transition.DyO6FFbo.min.js";
4
- import { w as $ } from "./revolugo.index.Ds7GPsGI.min.js";
5
- import { B as M } from "./revolugo.bhotelsearchbar.DaX-iQTB.min.js";
6
- import { _ as m, W as _ } from "./revolugo.webcomponentwrapper.CfhsVy34.min.js";
7
- function S(e, t) {
1
+ import { d as r, N as R, K as s, u, c as a, g as i, r as m, o as c } from "./revolugo.index.wc.U-Ds0Ud7.min.js";
2
+ import { p as h, s as O } from "./revolugo.use-breakpoint-service.DzP23XZi.min.js";
3
+ import { w as d } from "./revolugo.watch-list.C39H03pK.min.js";
4
+ import { h as q, u as f } from "./revolugo.hotelroomofferrequestcreator.props.UhEzU-Eo.min.js";
5
+ import { B as I } from "./revolugo.bhotelsearchbar.B9IrrAQm.min.js";
6
+ import { _ as k } from "./revolugo.webcomponentwrapper.BzrBNp7K.min.js";
7
+ function p(e, t) {
8
8
  return t ? e.adultCount === t.adultCount && e.checkInDate === t.checkInDate && e.checkOutDate === t.checkOutDate && e.children === t.children && e.hotelId === t.hotelId && e.roomCount === t.roomCount && e.sourceMarket === t.sourceMarket : !1;
9
9
  }
10
- const w = h({
10
+ const C = r({
11
11
  computed: {
12
- ...a(l)
12
+ ...s(f)
13
13
  },
14
14
  created() {
15
15
  this.$watch(
@@ -45,7 +45,7 @@ const w = h({
45
45
  );
46
46
  },
47
47
  data() {
48
- const e = H(
48
+ const e = O(
49
49
  this.checkInDate,
50
50
  this.checkOutDate
51
51
  );
@@ -70,7 +70,7 @@ const w = h({
70
70
  ), await this.onHotelRoomOfferRequestInternalChange();
71
71
  },
72
72
  // When used in conjunction with HotelRoomOfferSearchMenu, its children (BDateRangePickerMenu or BGuestInputMenu) are able to update the hotelRoomOfferRequestInternal then trigger multiple call to this watcher while we want to trigger the handler only once.
73
- onHotelRoomOfferRequestInternalChange: q(
73
+ onHotelRoomOfferRequestInternalChange: R(
74
74
  async function() {
75
75
  var t, o;
76
76
  this.hotelRoomOfferRequestInternal.hotelRoomOfferRequestId && this.hotelRoomOfferRequestInternal.hotelRoomOfferRequestId !== ((t = this.$store.get(
@@ -100,7 +100,7 @@ const w = h({
100
100
  ).id || this.$store.get(
101
101
  "hotelRoomOfferRequest/hotelRoomOfferRequest",
102
102
  this.hotelId
103
- ).hasError || !S(
103
+ ).hasError || !p(
104
104
  this.hotelRoomOfferRequestInternal,
105
105
  this.$store.get(
106
106
  "hotelRoomOfferRequest/hotelRoomOfferRequest",
@@ -115,14 +115,14 @@ const w = h({
115
115
  )
116
116
  },
117
117
  mixins: [
118
- i(),
119
- $(["bookingApiClient"], "onBookingApiClientChange", {
118
+ h(),
119
+ d(["bookingApiClient"], "onBookingApiClientChange", {
120
120
  immediate: !0,
121
121
  nextTick: !0
122
122
  })
123
123
  ],
124
124
  name: "HotelRoomOfferRequestCreator",
125
- props: f,
125
+ props: q,
126
126
  watch: {
127
127
  adultCount(e) {
128
128
  this.hotelRoomOfferRequestInternal = {
@@ -192,12 +192,12 @@ const w = h({
192
192
  };
193
193
  }
194
194
  }
195
- }), B = h({
195
+ }), g = r({
196
196
  components: {
197
- BHotelSearchBar: M
197
+ BHotelSearchBar: I
198
198
  },
199
199
  computed: {
200
- ...a(l),
200
+ ...s(f),
201
201
  isFetching() {
202
202
  var e;
203
203
  return (e = this.$store.get(
@@ -206,47 +206,27 @@ const w = h({
206
206
  )) == null ? void 0 : e.isFetching;
207
207
  }
208
208
  },
209
- mixins: [w, i()],
209
+ mixins: [C, h()],
210
210
  name: "HotelRoomOfferSearchMenu",
211
211
  setup() {
212
- const { t: e } = I();
212
+ const { t: e } = u();
213
213
  return {
214
214
  t: e
215
215
  };
216
216
  }
217
217
  });
218
- function v(e, t, o, c, O, d) {
219
- const r = n("BHotelSearchBar");
220
- return e.isBookingApiClientDefined ? (R(), u(r, {
218
+ function D(e, t, o, H, $, M) {
219
+ const n = m("BHotelSearchBar");
220
+ return e.isBookingApiClientDefined ? (c(), a(n, {
221
221
  key: 0,
222
222
  modelValue: e.hotelRoomOfferRequestInternal,
223
- "onUpdate:modelValue": t[0] || (t[0] = (s) => e.hotelRoomOfferRequestInternal = s),
223
+ "onUpdate:modelValue": t[0] || (t[0] = (l) => e.hotelRoomOfferRequestInternal = l),
224
224
  "is-fetching": e.isFetching
225
- }, null, 8, ["modelValue", "is-fetching"])) : p("", !0);
225
+ }, null, 8, ["modelValue", "is-fetching"])) : i("", !0);
226
226
  }
227
- const y = /* @__PURE__ */ m(B, [["render", v]]), W = h({
228
- components: {
229
- HotelRoomOfferSearchMenu: y,
230
- WebComponentWrapper: _
231
- },
232
- props: f
233
- });
234
- function x(e, t, o, c, O, d) {
235
- const r = n("HotelRoomOfferSearchMenu", !0), s = n("WebComponentWrapper");
236
- return R(), u(s, null, {
237
- default: C(() => [
238
- k(r, g(D(e.$props)), null, 16)
239
- ]),
240
- _: 1
241
- });
242
- }
243
- const P = /* @__PURE__ */ m(W, [["render", x]]), F = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
244
- __proto__: null,
245
- default: P
246
- }, Symbol.toStringTag, { value: "Module" }));
227
+ const A = /* @__PURE__ */ k(g, [["render", D]]);
247
228
  export {
248
- w as H,
249
- y as a,
250
- F as b
229
+ A as H,
230
+ C as a
251
231
  };
252
- //# sourceMappingURL=revolugo.hotelroomoffersearchmenu.Bysb279d.min.js.map
232
+ //# sourceMappingURL=revolugo.hotelroomoffersearchmenu.BDYUJlri.min.js.map
@@ -0,0 +1,25 @@
1
+ import { h as n } from "./revolugo.hotelroomofferrequestcreator.props.UhEzU-Eo.min.js";
2
+ import { H as a } from "./revolugo.hotelroomoffersearchmenu.BDYUJlri.min.js";
3
+ import { W as p, _ as s } from "./revolugo.webcomponentwrapper.BzrBNp7K.min.js";
4
+ import { d as c, c as m, w as f, a as l, n as u, h as _, r as o, o as i } from "./revolugo.index.wc.U-Ds0Ud7.min.js";
5
+ const h = c({
6
+ components: {
7
+ HotelRoomOfferSearchMenu: a,
8
+ WebComponentWrapper: p
9
+ },
10
+ props: n
11
+ });
12
+ function d(e, R, C, W, H, O) {
13
+ const r = o("HotelRoomOfferSearchMenu", !0), t = o("WebComponentWrapper");
14
+ return i(), m(t, null, {
15
+ default: f(() => [
16
+ l(r, u(_(e.$props)), null, 16)
17
+ ]),
18
+ _: 1
19
+ });
20
+ }
21
+ const x = /* @__PURE__ */ s(h, [["render", d]]);
22
+ export {
23
+ x as default
24
+ };
25
+ //# sourceMappingURL=revolugo.hotelroomoffersearchmenu.D7QyRteS.min.js.map
@@ -0,0 +1,24 @@
1
+ import { h as t, H as n } from "./revolugo.hotelroomoffersview.DI54bcEi.min.js";
2
+ import { W as p, _ as a } from "./revolugo.webcomponentwrapper.BzrBNp7K.min.js";
3
+ import { d as f, c as m, w as c, a as i, n as l, h as _, r as o, o as d } from "./revolugo.index.wc.U-Ds0Ud7.min.js";
4
+ const u = f({
5
+ components: {
6
+ HotelRoomOffersView: n,
7
+ WebComponentWrapper: p
8
+ },
9
+ props: t
10
+ });
11
+ function w(e, R, V, W, C, H) {
12
+ const r = o("HotelRoomOffersView", !0), s = o("WebComponentWrapper");
13
+ return d(), m(s, null, {
14
+ default: c(() => [
15
+ i(r, l(_(e.$props)), null, 16)
16
+ ]),
17
+ _: 1
18
+ });
19
+ }
20
+ const b = /* @__PURE__ */ a(u, [["render", w]]);
21
+ export {
22
+ b as default
23
+ };
24
+ //# sourceMappingURL=revolugo.hotelroomoffersview.BpiOqbeg.min.js.map