@revolugo/elements 6.8.3-beta.13 → 6.8.3-beta.15

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 (178) hide show
  1. package/dist/css/fonts.css +1 -1
  2. package/dist/css/revolugo.cancellationpoliciesbadge.CcLw1eDZ.css +1 -0
  3. package/dist/css/{revolugo.webcomponentwrapper.cFJPP6Rp.css → revolugo.webcomponentwrapper.CmjarAgQ.css} +1 -1
  4. package/dist/revolugo.banktransferdetails.Cvzg5_Ic.min.js +36 -0
  5. package/dist/revolugo.bookingdetailssidebar.k46HDmg6.min.js +37 -0
  6. package/dist/revolugo.bookingmanager.Bp3Iq-CV.min.js +24 -0
  7. package/dist/revolugo.cancellationpoliciesbadge.D94ditk5.min.js +24 -0
  8. package/dist/revolugo.cancellationpoliciesbadge.props.BnLjFL5s.min.js +31712 -0
  9. package/dist/revolugo.cancellationpolicieslist.ofFI9Dx1.min.js +24 -0
  10. package/dist/revolugo.creditcardform.DNY-xKYV.min.js +24 -0
  11. package/dist/revolugo.creditcardpayment.DoH0pwLm.min.js +24 -0
  12. package/dist/revolugo.currencypickerbtn.DcoR1F1Y.min.js +24 -0
  13. package/dist/revolugo.fastbookingflow.DdfGwiWZ.min.js +34 -0
  14. package/dist/revolugo.fullbookingflow.BbqC4qQ1.min.js +24 -0
  15. package/dist/revolugo.hoteldescriptionview.CBhuNO9_.min.js +24 -0
  16. package/dist/revolugo.hotelofferlist.DgZhb92H.min.js +24 -0
  17. package/dist/{revolugo.hoteloffersearchmenu.BJ-JtltU.min.js → revolugo.hoteloffersearchmenu.Ojiuc5KP.min.js} +37 -39
  18. package/dist/revolugo.hoteloffersmap.95AMizbv.min.js +24 -0
  19. package/dist/revolugo.hoteloffersview.CUcJpz15.min.js +19 -0
  20. package/dist/revolugo.hotelroomofferlist.deuoRfWR.min.js +24 -0
  21. package/dist/revolugo.hotelroomoffersbookingflow.dTr1ET_n.min.js +24 -0
  22. package/dist/revolugo.hotelroomoffersearchmenu.DDi3cRLS.min.js +24 -0
  23. package/dist/revolugo.hotelroomoffersview.CFseu6Pj.min.js +24 -0
  24. package/dist/{revolugo.index.DW0gTseB.min.js → revolugo.index.Bz-n9tuq.min.js} +6 -6
  25. package/dist/{revolugo.index.wc.ChJWkzSz.min.js → revolugo.index.wc.DevpsraD.min.js} +267 -267
  26. package/dist/revolugo.langpickerbtn.B9byfQqd.min.js +29 -0
  27. package/dist/revolugo.min.js +1 -1
  28. package/dist/revolugo.prebookform.BDFY-Ks_.min.js +24 -0
  29. package/dist/revolugo.roominglisteditor.B_AOuHI_.min.js +24 -0
  30. package/dist/{revolugo.storybooktoolbar.C-phKw4Y.min.js → revolugo.storybooktoolbar.BamIltF8.min.js} +132 -146
  31. package/dist/revolugo.termsandconditions.Dfp652uY.min.js +23 -0
  32. package/dist/revolugo.webcomponentwrapper.CEjK8-cS.min.js +28682 -0
  33. package/package.json +1 -1
  34. package/dist/css/revolugo.bdaterangepicker.B6KA5TYs.css +0 -1
  35. package/dist/css/revolugo.bhoteloffersfilterbar.BP8bd417.css +0 -1
  36. package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +0 -1
  37. package/dist/css/revolugo.bimagecarousel.BxIL_xDV.css +0 -1
  38. package/dist/css/revolugo.bookingdetailssidebar.g_6Xwqnt.css +0 -1
  39. package/dist/css/revolugo.bstarrating.CPHKEfup.css +0 -1
  40. package/dist/css/revolugo.btag.T7X_iIkW.css +0 -1
  41. package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +0 -1
  42. package/dist/css/revolugo.creditcardform.BXv0c3zQ.css +0 -1
  43. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
  44. package/dist/css/revolugo.currencypicker.DO0IrmRK.css +0 -1
  45. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
  46. package/dist/css/revolugo.hoteldescriptionview.Dfi-84To.css +0 -1
  47. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
  48. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +0 -1
  49. package/dist/css/revolugo.hoteloffersmap.CdDZxzE3.css +0 -1
  50. package/dist/css/revolugo.hoteloffersview.Xw1flMYo.css +0 -1
  51. package/dist/css/revolugo.hotelroomofferlist.C1uw1vfC.css +0 -1
  52. package/dist/css/revolugo.hotelroomoffersbookingflow.nFiRmYyk.css +0 -1
  53. package/dist/css/revolugo.index.DK7d_h6O.css +0 -1
  54. package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +0 -1
  55. package/dist/css/revolugo.prebookform.BqSw27Yj.css +0 -1
  56. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +0 -1
  57. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
  58. package/dist/css/revolugo.vbadge.C45eZpxy.css +0 -1
  59. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +0 -1
  60. package/dist/css/revolugo.vcard.TERzfknI.css +0 -1
  61. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +0 -1
  62. package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
  63. package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
  64. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
  65. package/dist/css/revolugo.vicon.eIkh7vVK.css +0 -1
  66. package/dist/css/revolugo.vinput.BPiFMorL.css +0 -1
  67. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +0 -1
  68. package/dist/css/revolugo.vlist.-Y4qkukF.css +0 -1
  69. package/dist/css/revolugo.vmenu.DvKwEp1j.css +0 -1
  70. package/dist/css/revolugo.vselect.C5CKHFYB.css +0 -1
  71. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +0 -1
  72. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +0 -1
  73. package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +0 -1
  74. package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +0 -1
  75. package/dist/css/revolugo.vtextarea.BTR7f0gW.css +0 -1
  76. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
  77. package/dist/css/revolugo.vtoolbar.BZert82L.css +0 -1
  78. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +0 -1
  79. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
  80. package/dist/revolugo._baseiteratee.cBR9c7y0.min.js +0 -247
  81. package/dist/revolugo.banktransferdetails.COKZxUgl.min.js +0 -358
  82. package/dist/revolugo.bdaterangepicker.DTHAdEo_.min.js +0 -8324
  83. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CSkPq_d5.min.js +0 -143
  84. package/dist/revolugo.bhoteloffersfilterbar.WV1ViyRw.min.js +0 -4209
  85. package/dist/revolugo.bhotelroomsdetails.Du1N0UAf.min.js +0 -965
  86. package/dist/revolugo.bimagecarousel.CBxDqlvz.min.js +0 -480
  87. package/dist/revolugo.bookingdetailssidebar.DPhWTa8q.min.js +0 -37
  88. package/dist/revolugo.bookingdetailssidebar.vue_vue_type_script_setup_true_lang.CFy72I3H.min.js +0 -811
  89. package/dist/revolugo.bookingmanager.DU11HnFM.min.js +0 -1755
  90. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.O_acR9ze.min.js +0 -91
  91. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CsJ-qnww.min.js +0 -570
  92. package/dist/revolugo.btag.C62gPpXY.min.js +0 -375
  93. package/dist/revolugo.cancellationpoliciesbadge.2POZ-HT5.min.js +0 -198
  94. package/dist/revolugo.cancellationpoliciesbadge.Ct0ngoDp.min.js +0 -28
  95. package/dist/revolugo.cancellationpolicieslist.B3anYVoy.min.js +0 -148
  96. package/dist/revolugo.cancellationpolicieslist.CXfbgIoX.min.js +0 -25
  97. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +0 -21
  98. package/dist/revolugo.case-transformers.BwQ_6ytS.min.js +0 -123
  99. package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
  100. package/dist/revolugo.creditcardform.Bk7yeZle.min.js +0 -2148
  101. package/dist/revolugo.creditcardform.CLPMa22X.min.js +0 -24
  102. package/dist/revolugo.creditcardpayment.16l0_Jf7.min.js +0 -885
  103. package/dist/revolugo.creditcardpayment.8uLeCSFY.min.js +0 -24
  104. package/dist/revolugo.currencypicker.C2vrmj29.min.js +0 -330
  105. package/dist/revolugo.currencypickerbtn.D-_ebAdx.min.js +0 -157
  106. package/dist/revolugo.currencypickerbtn.oOaJl4xV.min.js +0 -24
  107. package/dist/revolugo.dates.CjcXQ0GW.min.js +0 -31
  108. package/dist/revolugo.defaultsdeep.BeZIlIB3.min.js +0 -104
  109. package/dist/revolugo.dialog-attach.BhhnSZUl.min.js +0 -27
  110. package/dist/revolugo.dialog-transition.FTaI_Ytg.min.js +0 -111
  111. package/dist/revolugo.fastbookingflow.BEvuz8TE.min.js +0 -34
  112. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +0 -70
  113. package/dist/revolugo.fullbookingflow.Cqc7o02c.min.js +0 -429
  114. package/dist/revolugo.hotel-offer-request.aeZsBIhG.min.js +0 -98
  115. package/dist/revolugo.hoteldescriptionview.Cc34IdcB.min.js +0 -2956
  116. package/dist/revolugo.hoteldescriptionview.bwCbJ_Lc.min.js +0 -24
  117. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.CmUguFEO.min.js +0 -241
  118. package/dist/revolugo.hotelofferlist.BjxZDBqQ.min.js +0 -24
  119. package/dist/revolugo.hotelofferlist.BvbLSbsN.min.js +0 -5624
  120. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +0 -44
  121. package/dist/revolugo.hoteloffersearchmenuui.EO_TtRM1.min.js +0 -829
  122. package/dist/revolugo.hoteloffersmap.CXSkWGLL.min.js +0 -24
  123. package/dist/revolugo.hoteloffersmap.CwRdoBFO.min.js +0 -9016
  124. package/dist/revolugo.hoteloffersview.Bldot7ii.min.js +0 -19
  125. package/dist/revolugo.hoteloffersview.DmZBFwbi.min.js +0 -614
  126. package/dist/revolugo.hotelroomofferlist.BMzSnIk0.min.js +0 -2788
  127. package/dist/revolugo.hotelroomofferlist.BfIOXkSe.min.js +0 -24
  128. package/dist/revolugo.hotelroomofferrequestcreator.props.C6XfAEF1.min.js +0 -171
  129. package/dist/revolugo.hotelroomoffersbookingflow.NFAeeps4.min.js +0 -1281
  130. package/dist/revolugo.hotelroomoffersearchmenu.6fvMlU9I.min.js +0 -25
  131. package/dist/revolugo.hotelroomoffersearchmenu.DdtWQl8T.min.js +0 -231
  132. package/dist/revolugo.hotelroomoffersview.BYJ5V84k.min.js +0 -290
  133. package/dist/revolugo.hotelroomoffersview.CvL5egT6.min.js +0 -24
  134. package/dist/revolugo.index.BEuxTkkV.min.js +0 -1232
  135. package/dist/revolugo.langpicker.C3WkV6vL.min.js +0 -99
  136. package/dist/revolugo.langpickerbtn.Big2FR0-.min.js +0 -131
  137. package/dist/revolugo.langpickerbtn.BtNmwMy5.min.js +0 -29
  138. package/dist/revolugo.parsed-props.CKrOq6vN.min.js +0 -39
  139. package/dist/revolugo.pathify.BXdI-Fp4.min.js +0 -36
  140. package/dist/revolugo.prebookform.Bt4-Cptm.min.js +0 -24
  141. package/dist/revolugo.prebookform.DLNVSLoS.min.js +0 -3373
  142. package/dist/revolugo.roominglisteditor.CQzIDZtG.min.js +0 -24
  143. package/dist/revolugo.roominglisteditor.w3dcygO-.min.js +0 -377
  144. package/dist/revolugo.rounded.TLykrsW-.min.js +0 -68
  145. package/dist/revolugo.ssrboot.B7Rop2QP.min.js +0 -18
  146. package/dist/revolugo.termsandconditions.BT6qdQad.min.js +0 -23
  147. package/dist/revolugo.termsandconditions.Bo6ToP4B.min.js +0 -405
  148. package/dist/revolugo.use-breakpoint-service.CgKRPcVE.min.js +0 -39
  149. package/dist/revolugo.use-dialog-attach.EGF5pKTl.min.js +0 -16
  150. package/dist/revolugo.use-html-element.Bvmaeg1E.min.js +0 -11
  151. package/dist/revolugo.use-parsed-props.DL26tjRL.min.js +0 -29
  152. package/dist/revolugo.vautocomplete.C1ryjPoI.min.js +0 -445
  153. package/dist/revolugo.vbadge.BFTNHKkx.min.js +0 -112
  154. package/dist/revolugo.vbtn.Cw5eo1Xx.min.js +0 -398
  155. package/dist/revolugo.vcard.DlI6Moiv.min.js +0 -313
  156. package/dist/revolugo.vcheckboxbtn.Bc0xhmo2.min.js +0 -478
  157. package/dist/revolugo.vdialog.up-Y8p7U.min.js +0 -133
  158. package/dist/revolugo.vdivider.CaptbTLL.min.js +0 -77
  159. package/dist/revolugo.vexpansionpanels.DeQCpMrB.min.js +0 -262
  160. package/dist/revolugo.vform.Cix7vOUg.min.js +0 -46
  161. package/dist/revolugo.vicon.BebzkIu9.min.js +0 -105
  162. package/dist/revolugo.vinput.BP0DAwB4.min.js +0 -463
  163. package/dist/revolugo.vlabel.BLwMEYcT.min.js +0 -48
  164. package/dist/revolugo.vlist.BQB5ovkZ.min.js +0 -1299
  165. package/dist/revolugo.vmenu.Bkfr0AZ8.min.js +0 -145
  166. package/dist/revolugo.vselect.CnEh8cV1.min.js +0 -660
  167. package/dist/revolugo.vsheet.3Q2yGw6P.min.js +0 -72
  168. package/dist/revolugo.vskeletonloader.Duv2gHal.min.js +0 -136
  169. package/dist/revolugo.vslidegroup.DRWO8Opf.min.js +0 -325
  170. package/dist/revolugo.vsnackbar.IdM-bZTD.min.js +0 -198
  171. package/dist/revolugo.vspacer.C-OarNi7.min.js +0 -7
  172. package/dist/revolugo.vtextarea.Dm9Cp0hC.min.js +0 -240
  173. package/dist/revolugo.vtextfield.CJVqkfB9.min.js +0 -501
  174. package/dist/revolugo.vtoolbar.DvuDs2yB.min.js +0 -180
  175. package/dist/revolugo.vtooltip.64CgkEK4.min.js +0 -89
  176. package/dist/revolugo.vwindowitem.qKodFAHS.min.js +0 -317
  177. package/dist/revolugo.watch-list.0WSknWRu.min.js +0 -16
  178. package/dist/revolugo.webcomponentwrapper.BXqP9KYd.min.js +0 -2088
@@ -1,1281 +0,0 @@
1
- import { a as Ve, h as Ee, H as Be } from "./revolugo.hotelroomoffersview.BYJ5V84k.min.js";
2
- import { P as Oe, p as Ie, a as Te } from "./revolugo.prebookform.DLNVSLoS.min.js";
3
- import { a0 as V, $ as _, ae as Re, a as t, H as d, J as Ce, aG as _e, a1 as P, ap as Fe, a4 as Me, D as C, a8 as De, aL as $e, aY as Le, aZ as J, aM as He, a_ as Ae, aO as Ne, F as pe, G as ze, d as x, an as We, u as qe, E as S, c as g, w as i, k as Q, B as Ue, g as B, b as f, e as y, t as h, i as T, aP as Ge, o as p, n as xe, h as Ye } from "./revolugo.index.wc.ChJWkzSz.min.js";
4
- import { a as je } from "./revolugo.hotelroomoffersearchmenu.DdtWQl8T.min.js";
5
- import { C as Ke } from "./revolugo.creditcardpayment.16l0_Jf7.min.js";
6
- import { p as Ze } from "./revolugo.parsed-props.CKrOq6vN.min.js";
7
- import { s as X } from "./revolugo.common.D-l8b0V5.min.js";
8
- import { a as ee } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CSkPq_d5.min.js";
9
- import { u as F, _ as fe, V as O, a as w, W as Je } from "./revolugo.webcomponentwrapper.BXqP9KYd.min.js";
10
- import { V as I } from "./revolugo.vicon.BebzkIu9.min.js";
11
- import { a as z } from "./revolugo.vbtn.Cw5eo1Xx.min.js";
12
- import { V as te } from "./revolugo.vsnackbar.IdM-bZTD.min.js";
13
- import { a as oe, c as Qe, R as Xe, u as et, g as tt, h as ot, i as st, j as it, k as nt } from "./revolugo.index.BEuxTkkV.min.js";
14
- import { V as se, m as at, a as ie, b as rt } from "./revolugo.vwindowitem.qKodFAHS.min.js";
15
- import { V as ne, m as lt } from "./revolugo.vsheet.3Q2yGw6P.min.js";
16
- import { V as G } from "./revolugo.vdivider.CaptbTLL.min.js";
17
- import { V as ut } from "./revolugo.vcheckboxbtn.Bc0xhmo2.min.js";
18
- function Pe(e) {
19
- try {
20
- if (typeof document < "u") {
21
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
22
- sheets: [],
23
- components: []
24
- };
25
- const o = import.meta.url, s = o.slice(0, o.lastIndexOf("/") + 1) + e;
26
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(s);
27
- for (const n of REVOLUGO_ELEMENTS_STYLES.components)
28
- n(s);
29
- if (e.indexOf("fonts") >= 0) {
30
- const n = document.createElement("link");
31
- n.rel = "stylesheet", linK.href = s, document.head.appendChild(n);
32
- }
33
- }
34
- } catch (o) {
35
- console.error("[revolugo-elements] ", o);
36
- }
37
- }
38
- const Y = Symbol.for("vuetify:v-stepper"), he = V({
39
- color: String,
40
- disabled: {
41
- type: [Boolean, String],
42
- default: !1
43
- },
44
- prevText: {
45
- type: String,
46
- default: "$vuetify.stepper.prev"
47
- },
48
- nextText: {
49
- type: String,
50
- default: "$vuetify.stepper.next"
51
- }
52
- }, "VStepperActions"), ct = _()({
53
- name: "VStepperActions",
54
- props: he(),
55
- emits: {
56
- "click:prev": () => !0,
57
- "click:next": () => !0
58
- },
59
- setup(e, o) {
60
- let {
61
- emit: s,
62
- slots: n
63
- } = o;
64
- const {
65
- t: a
66
- } = Re();
67
- function r() {
68
- s("click:prev");
69
- }
70
- function u() {
71
- s("click:next");
72
- }
73
- return F(() => {
74
- const c = {
75
- onClick: r
76
- }, m = {
77
- onClick: u
78
- };
79
- return t("div", {
80
- class: "v-stepper-actions"
81
- }, [t(oe, {
82
- defaults: {
83
- VBtn: {
84
- disabled: ["prev", !0].includes(e.disabled),
85
- text: a(e.prevText),
86
- variant: "text"
87
- }
88
- }
89
- }, {
90
- default: () => [n.prev?.({
91
- props: c
92
- }) ?? t(z, c, null)]
93
- }), t(oe, {
94
- defaults: {
95
- VBtn: {
96
- color: e.color,
97
- disabled: ["next", !0].includes(e.disabled),
98
- text: a(e.nextText),
99
- variant: "tonal"
100
- }
101
- }
102
- }, {
103
- default: () => [n.next?.({
104
- props: m
105
- }) ?? t(z, m, null)]
106
- })]);
107
- }), {};
108
- }
109
- }), ve = Qe("v-stepper-header"), dt = V({
110
- color: String,
111
- title: String,
112
- subtitle: String,
113
- complete: Boolean,
114
- completeIcon: {
115
- type: P,
116
- default: "$complete"
117
- },
118
- editable: Boolean,
119
- editIcon: {
120
- type: P,
121
- default: "$edit"
122
- },
123
- error: Boolean,
124
- errorIcon: {
125
- type: P,
126
- default: "$error"
127
- },
128
- icon: P,
129
- ripple: {
130
- type: [Boolean, Object],
131
- default: !0
132
- },
133
- rules: {
134
- type: Array,
135
- default: () => []
136
- }
137
- }, "StepperItem"), mt = V({
138
- ...dt(),
139
- ...st()
140
- }, "VStepperItem"), L = _()({
141
- name: "VStepperItem",
142
- directives: {
143
- Ripple: Xe
144
- },
145
- props: mt(),
146
- emits: {
147
- "group:selected": (e) => !0
148
- },
149
- setup(e, o) {
150
- let {
151
- slots: s
152
- } = o;
153
- const n = et(e, Y, !0), a = d(() => n?.value.value ?? e.value), r = d(() => e.rules.every((R) => R() === !0)), u = d(() => !e.disabled && e.editable), c = d(() => !e.disabled && e.editable), m = d(() => e.error || !r.value), b = d(() => e.complete || e.rules.length > 0 && r.value), l = d(() => m.value ? e.errorIcon : b.value ? e.completeIcon : n.isSelected.value && e.editable ? e.editIcon : e.icon), v = d(() => ({
154
- canEdit: c.value,
155
- hasError: m.value,
156
- hasCompleted: b.value,
157
- title: e.title,
158
- subtitle: e.subtitle,
159
- step: a.value,
160
- value: e.value
161
- }));
162
- return F(() => {
163
- const R = (!n || n.isSelected.value || b.value || c.value) && !m.value && !e.disabled, W = !!(e.title != null || s.title), M = !!(e.subtitle != null || s.subtitle);
164
- function D() {
165
- n?.toggle();
166
- }
167
- return Ce(t("button", {
168
- class: ["v-stepper-item", {
169
- "v-stepper-item--complete": b.value,
170
- "v-stepper-item--disabled": e.disabled,
171
- "v-stepper-item--error": m.value
172
- }, n?.selectedClass.value],
173
- disabled: !e.editable,
174
- type: "button",
175
- onClick: D
176
- }, [u.value && tt(!0, "v-stepper-item"), t(ot, {
177
- key: "stepper-avatar",
178
- class: "v-stepper-item__avatar",
179
- color: R ? e.color : void 0,
180
- size: 24
181
- }, {
182
- default: () => [s.icon?.(v.value) ?? (l.value ? t(I, {
183
- icon: l.value
184
- }, null) : a.value)]
185
- }), t("div", {
186
- class: "v-stepper-item__content"
187
- }, [W && t("div", {
188
- key: "title",
189
- class: "v-stepper-item__title"
190
- }, [s.title?.(v.value) ?? e.title]), M && t("div", {
191
- key: "subtitle",
192
- class: "v-stepper-item__subtitle"
193
- }, [s.subtitle?.(v.value) ?? e.subtitle]), s.default?.(v.value)])]), [[_e("ripple"), e.ripple && e.editable, null]]);
194
- }), {};
195
- }
196
- }), pt = V({
197
- ...De(at(), ["continuous", "nextIcon", "prevIcon", "showArrows", "touch", "mandatory"])
198
- }, "VStepperWindow"), ft = _()({
199
- name: "VStepperWindow",
200
- props: pt(),
201
- emits: {
202
- "update:modelValue": (e) => !0
203
- },
204
- setup(e, o) {
205
- let {
206
- slots: s
207
- } = o;
208
- const n = Fe(Y, null), a = Me(e, "modelValue"), r = d({
209
- get() {
210
- return a.value != null || !n ? a.value : n.items.value.find((u) => n.selected.value.includes(u.id))?.value;
211
- },
212
- set(u) {
213
- a.value = u;
214
- }
215
- });
216
- return F(() => {
217
- const u = se.filterProps(e);
218
- return t(se, C({
219
- _as: "VStepperWindow"
220
- }, u, {
221
- modelValue: r.value,
222
- "onUpdate:modelValue": (c) => r.value = c,
223
- class: ["v-stepper-window", e.class],
224
- style: e.style,
225
- mandatory: !1,
226
- touch: !1
227
- }), s);
228
- }), {};
229
- }
230
- }), ht = V({
231
- ...rt()
232
- }, "VStepperWindowItem"), vt = _()({
233
- name: "VStepperWindowItem",
234
- props: ht(),
235
- setup(e, o) {
236
- let {
237
- slots: s
238
- } = o;
239
- return F(() => {
240
- const n = ie.filterProps(e);
241
- return t(ie, C({
242
- _as: "VStepperWindowItem"
243
- }, n, {
244
- class: ["v-stepper-window-item", e.class],
245
- style: e.style
246
- }), s);
247
- }), {};
248
- }
249
- }), gt = V({
250
- altLabels: Boolean,
251
- bgColor: String,
252
- completeIcon: P,
253
- editIcon: P,
254
- editable: Boolean,
255
- errorIcon: P,
256
- hideActions: Boolean,
257
- items: {
258
- type: Array,
259
- default: () => []
260
- },
261
- itemTitle: {
262
- type: String,
263
- default: "title"
264
- },
265
- itemValue: {
266
- type: String,
267
- default: "value"
268
- },
269
- nonLinear: Boolean,
270
- flat: Boolean,
271
- ...Ne()
272
- }, "Stepper"), bt = V({
273
- ...gt(),
274
- ...nt({
275
- mandatory: "force",
276
- selectedClass: "v-stepper-item--selected"
277
- }),
278
- ...lt(),
279
- ...Ae(he(), ["prevText", "nextText"])
280
- }, "VStepper"), kt = _()({
281
- name: "VStepper",
282
- props: bt(),
283
- emits: {
284
- "update:modelValue": (e) => !0
285
- },
286
- setup(e, o) {
287
- let {
288
- slots: s
289
- } = o;
290
- const {
291
- items: n,
292
- next: a,
293
- prev: r,
294
- selected: u
295
- } = it(e, Y), {
296
- displayClasses: c,
297
- mobile: m
298
- } = $e(e), {
299
- completeIcon: b,
300
- editIcon: l,
301
- errorIcon: v,
302
- color: R,
303
- editable: W,
304
- prevText: M,
305
- nextText: D
306
- } = Le(e), j = d(() => e.items.map((k, q) => {
307
- const $ = J(k, e.itemTitle, k), U = J(k, e.itemValue, q + 1);
308
- return {
309
- title: $,
310
- value: U,
311
- raw: k
312
- };
313
- })), K = d(() => n.value.findIndex((k) => u.value.includes(k.id))), ye = d(() => e.disabled ? e.disabled : K.value === 0 ? "prev" : K.value === n.value.length - 1 ? "next" : !1);
314
- return He({
315
- VStepperItem: {
316
- editable: W,
317
- errorIcon: v,
318
- completeIcon: b,
319
- editIcon: l,
320
- prevText: M,
321
- nextText: D
322
- },
323
- VStepperActions: {
324
- color: R,
325
- disabled: ye,
326
- prevText: M,
327
- nextText: D
328
- }
329
- }), F(() => {
330
- const k = ne.filterProps(e), q = !!(s.header || e.items.length), $ = e.items.length > 0, U = !e.hideActions && !!($ || s.actions);
331
- return t(ne, C(k, {
332
- color: e.bgColor,
333
- class: ["v-stepper", {
334
- "v-stepper--alt-labels": e.altLabels,
335
- "v-stepper--flat": e.flat,
336
- "v-stepper--non-linear": e.nonLinear,
337
- "v-stepper--mobile": m.value
338
- }, c.value, e.class],
339
- style: e.style
340
- }), {
341
- default: () => [q && t(ve, {
342
- key: "stepper-header"
343
- }, {
344
- default: () => [j.value.map((E, we) => {
345
- let {
346
- raw: Ft,
347
- ...Z
348
- } = E;
349
- return t(pe, null, [!!we && t(G, null, null), t(L, Z, {
350
- default: s[`header-item.${Z.value}`] ?? s.header,
351
- icon: s.icon,
352
- title: s.title,
353
- subtitle: s.subtitle
354
- })]);
355
- })]
356
- }), $ && t(ft, {
357
- key: "stepper-window"
358
- }, {
359
- default: () => [j.value.map((E) => t(vt, {
360
- value: E.value
361
- }, {
362
- default: () => s[`item.${E.value}`]?.(E) ?? s.item?.(E)
363
- }))]
364
- }), s.default?.({
365
- prev: r,
366
- next: a
367
- }), U && (s.actions?.({
368
- next: a,
369
- prev: r
370
- }) ?? t(ct, {
371
- key: "stepper-actions",
372
- "onClick:prev": r,
373
- "onClick:next": a
374
- }, s))]
375
- });
376
- }), {
377
- prev: r,
378
- next: a
379
- };
380
- }
381
- }), ge = {
382
- HotelRoomOffersView: Ve,
383
- PrebookForm: Oe
384
- }, be = {
385
- ...Ee,
386
- ...ze(Ie, ["bookingId", "bookingPolicyId", "hotelRoomOffer"]),
387
- features: {
388
- default: () => ge,
389
- type: [Object, String]
390
- }
391
- }, H = 1e3, A = 60 * H, N = 60 * A, ae = 24 * N, re = "abort", le = "end", ue = "progress", ce = "start", de = "visibilitychange", St = x({
392
- beforeUnmount() {
393
- document.removeEventListener(
394
- de,
395
- this.handleVisibilityChange
396
- ), this.pause();
397
- },
398
- computed: {
399
- /**
400
- * Remaining days.
401
- * @returns {number} The computed value.
402
- */
403
- days() {
404
- return Math.floor(this.totalMilliseconds / ae);
405
- },
406
- /**
407
- * Remaining hours.
408
- * @returns {number} The computed value.
409
- */
410
- hours() {
411
- return Math.floor(
412
- this.totalMilliseconds % ae / N
413
- );
414
- },
415
- /**
416
- * Remaining milliseconds.
417
- * @returns {number} The computed value.
418
- */
419
- milliseconds() {
420
- return Math.floor(this.totalMilliseconds % H);
421
- },
422
- /**
423
- * Remaining minutes.
424
- * @returns {number} The computed value.
425
- */
426
- minutes() {
427
- return Math.floor(
428
- this.totalMilliseconds % N / A
429
- );
430
- },
431
- /**
432
- * Remaining seconds.
433
- * @returns {number} The computed value.
434
- */
435
- seconds() {
436
- return Math.floor(
437
- this.totalMilliseconds % A / H
438
- );
439
- },
440
- /**
441
- * Total remaining days.
442
- * @returns {number} The computed value.
443
- */
444
- totalDays() {
445
- return this.days;
446
- },
447
- /**
448
- * Total remaining hours.
449
- * @returns {number} The computed value.
450
- */
451
- totalHours() {
452
- return Math.floor(this.totalMilliseconds / N);
453
- },
454
- /**
455
- * Total remaining minutes.
456
- * @returns {number} The computed value.
457
- */
458
- totalMinutes() {
459
- return Math.floor(this.totalMilliseconds / A);
460
- },
461
- /**
462
- * Total remaining seconds.
463
- * @returns {number} The computed value.
464
- */
465
- totalSeconds() {
466
- return Math.floor(this.totalMilliseconds / H);
467
- }
468
- },
469
- data() {
470
- return {
471
- /**
472
- * Automatically pause the countdown when the document is hidden.
473
- * @type {boolean}
474
- */
475
- autoPauseOnHide: !1,
476
- /**
477
- * It is counting down.
478
- * @type {boolean}
479
- */
480
- counting: !1,
481
- /**
482
- * The absolute end time.
483
- * @type {number}
484
- */
485
- endTime: 0,
486
- /**
487
- * The request ID of the requestAnimationFrame.
488
- * @type {number}
489
- */
490
- requestId: 0,
491
- /**
492
- * The remaining milliseconds.
493
- * @type {number}
494
- */
495
- totalMilliseconds: 0
496
- };
497
- },
498
- emits: [re, le, ue, ce],
499
- methods: {
500
- /**
501
- * Aborts the countdown.
502
- * @public
503
- * @emits Countdown#abort
504
- */
505
- abort() {
506
- this.counting && (this.pause(), this.counting = !1, this.emitEvents && this.$emit(re));
507
- },
508
- /**
509
- * Continues the countdown.
510
- * @private
511
- */
512
- continue() {
513
- if (!this.counting)
514
- return;
515
- const e = Math.min(this.totalMilliseconds, this.interval);
516
- if (e > 0) {
517
- let o, s;
518
- const n = (a) => {
519
- o || (o = a), s || (s = a);
520
- const r = a - o;
521
- r >= e || // Avoid losing time about one second per minute (now - prev ≈ 16ms) (#43)
522
- r + (a - s) / 2 >= e ? this.progress() : this.requestId = requestAnimationFrame(n), s = a;
523
- };
524
- this.requestId = requestAnimationFrame(n);
525
- } else
526
- this.end();
527
- },
528
- /**
529
- * Ends the countdown.
530
- * @public
531
- * @emits Countdown#end
532
- */
533
- end() {
534
- this.counting && (this.pause(), this.totalMilliseconds = 0, this.counting = !1, this.emitEvents && this.$emit(le));
535
- },
536
- /**
537
- * visibility change event handler.
538
- * @private
539
- */
540
- handleVisibilityChange() {
541
- switch (document.visibilityState) {
542
- case "visible":
543
- this.requestId === 0 && this.autoPauseOnHide && (this.update(), this.continue()), this.autoPauseOnHide = !1;
544
- break;
545
- case "hidden":
546
- this.requestId > 0 && (this.autoPauseOnHide = !0, this.pause());
547
- break;
548
- }
549
- },
550
- /**
551
- * Pauses the countdown.
552
- * @private
553
- */
554
- pause() {
555
- cancelAnimationFrame(this.requestId), this.requestId = 0;
556
- },
557
- /**
558
- * Progresses to countdown.
559
- * @private
560
- * @emits Countdown#progress
561
- */
562
- progress() {
563
- this.counting && (this.update(), this.emitEvents && this.totalMilliseconds > 0 && this.$emit(ue, {
564
- days: this.days,
565
- hours: this.hours,
566
- milliseconds: this.milliseconds,
567
- minutes: this.minutes,
568
- seconds: this.seconds,
569
- totalDays: this.totalDays,
570
- totalHours: this.totalHours,
571
- totalMilliseconds: this.totalMilliseconds,
572
- totalMinutes: this.totalMinutes,
573
- totalSeconds: this.totalSeconds
574
- }), this.continue());
575
- },
576
- /**
577
- * Restarts the count.
578
- * @public
579
- */
580
- restart() {
581
- this.pause(), this.totalMilliseconds = this.time, this.endTime = this.now() + this.time, this.counting = !1, this.start();
582
- },
583
- /**
584
- * Starts to countdown.
585
- * @public
586
- * @emits Countdown#start
587
- */
588
- start() {
589
- this.counting || (this.counting = !0, this.autoStart || (this.totalMilliseconds = this.time, this.endTime = this.now() + this.time), this.emitEvents && this.$emit(ce), document.visibilityState === "visible" && this.continue());
590
- },
591
- /**
592
- * Updates the count.
593
- * @private
594
- */
595
- update() {
596
- this.counting && (this.totalMilliseconds = Math.max(0, this.endTime - this.now()));
597
- }
598
- },
599
- mounted() {
600
- document.addEventListener(
601
- de,
602
- this.handleVisibilityChange
603
- );
604
- },
605
- name: "VueCountdown",
606
- props: {
607
- /**
608
- * Starts the countdown automatically when initialized.
609
- */
610
- autoStart: {
611
- default: !0,
612
- type: Boolean
613
- },
614
- /**
615
- * Emits the countdown events.
616
- */
617
- emitEvents: {
618
- default: !0,
619
- type: Boolean
620
- },
621
- /**
622
- * The interval time (in milliseconds) of the countdown progress.
623
- */
624
- interval: {
625
- default: 1e3,
626
- type: Number,
627
- validator: (e) => e >= 0
628
- },
629
- /**
630
- * Generate the current time of a specific time zone.
631
- */
632
- now: {
633
- default: () => Date.now(),
634
- type: Function
635
- },
636
- /**
637
- * The tag name of the component's root element.
638
- */
639
- tag: {
640
- default: "span",
641
- type: String
642
- },
643
- /**
644
- * The time (in milliseconds) to count down from.
645
- */
646
- time: {
647
- default: 0,
648
- type: Number,
649
- validator: (e) => e >= 0
650
- },
651
- /**
652
- * Transforms the output props before rendering.
653
- */
654
- transform: {
655
- default: (e) => e,
656
- type: Function
657
- }
658
- },
659
- render() {
660
- return We(
661
- this.tag,
662
- this.$slots.default ? [
663
- this.$slots.default(
664
- this.transform({
665
- days: this.days,
666
- hours: this.hours,
667
- milliseconds: this.milliseconds,
668
- minutes: this.minutes,
669
- seconds: this.seconds,
670
- totalDays: this.totalDays,
671
- totalHours: this.totalHours,
672
- totalMilliseconds: this.totalMilliseconds,
673
- totalMinutes: this.totalMinutes,
674
- totalSeconds: this.totalSeconds
675
- })
676
- )
677
- ] : void 0
678
- );
679
- },
680
- watch: {
681
- $props: {
682
- deep: !0,
683
- /**
684
- * Update the countdown when props changed.
685
- */
686
- handler() {
687
- this.totalMilliseconds = this.time, this.endTime = this.now() + this.time, this.autoStart && this.start();
688
- },
689
- immediate: !0
690
- }
691
- }
692
- });
693
- var ke = /* @__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))(ke || {});
694
- const Se = x({
695
- components: {
696
- CreditCardPayment: Ke,
697
- HotelRoomOffersView: Be,
698
- PrebookForm: Te,
699
- VueCountdown: St
700
- },
701
- computed: {
702
- backButtonLabel() {
703
- return [
704
- 2,
705
- 3
706
- /* Payment */
707
- ].includes(this.step) ? this.t("HotelRoomOffersBookingFlow.back") : this.t("HotelRoomOffersBookingFlow.makeNewBooking");
708
- },
709
- hotelRoomOffersViewProps() {
710
- const e = {
711
- ...this.lastRequest,
712
- ...this.$props,
713
- features: this.$props.features?.HotelRoomOffersView
714
- };
715
- return this.bookingPolicy && (e.adultCount = this.bookingPolicy.adultCount, e.children = this.bookingPolicy.children ?? null, e.checkInDate = this.bookingPolicy.checkInDate, e.checkOutDate = this.bookingPolicy.checkOutDate), e;
716
- },
717
- isWarningSnackarDisplayed() {
718
- return this.warningSnackbarMessages.length > 0;
719
- },
720
- prebookFormProps() {
721
- const e = {
722
- ...this.$props,
723
- ...this.lastRequest,
724
- ...this.formdata,
725
- features: this.$props.features?.PrebookForm
726
- };
727
- return this.bookingPolicy && (e.adultCount = this.bookingPolicy.adultCount, e.children = this.bookingPolicy.children ?? null, e.checkInDate = this.bookingPolicy.checkInDate, e.checkOutDate = this.bookingPolicy.checkOutDate), e;
728
- },
729
- transitionName() {
730
- return this.direction > 0 ? "slide-in" : "slide-out";
731
- }
732
- },
733
- created() {
734
- this.$eventBus.$on(
735
- S.BookingPolicyCreated,
736
- this.onBookingPolicyCreated
737
- ), this.$eventBus.$on(
738
- S.HotelRoomOffersPriceIncreased,
739
- ([e, o]) => {
740
- this.warningSnackbarMessages.push(
741
- this.t("HotelRoomOffersBookingFlow.warnings.price", {
742
- from: ee({
743
- amount: o.taxIncludedPrice,
744
- currency: this.config.currency,
745
- locale: this.$i18n.locale
746
- }),
747
- to: ee({
748
- amount: e.taxIncludedPrice,
749
- currency: this.config.currency,
750
- locale: this.$i18n.locale
751
- })
752
- }).toString()
753
- );
754
- }
755
- ), this.$eventBus.$on(S.CancellationPoliciesUpdated, () => {
756
- this.warningSnackbarMessages.push(
757
- this.t(
758
- "HotelRoomOffersBookingFlow.warnings.cancellationPolicies"
759
- ).toString()
760
- );
761
- }), this.$eventBus.$on(
762
- S.HotelRoomOfferRequestCreated,
763
- (e) => {
764
- this.lastRequest = e;
765
- }
766
- ), this.$eventBus.$on(S.CurrencyUpdated, () => this.cancelBooking()), this.$eventBus.$on(S.BookingCreated, this.onBookingCreated), this.$eventBus.$on(S.PaymentSuccess, this.onPaymentSuccess), this.$eventBus.$on(S.PrebookForm, (e) => {
767
- this.formdata = e;
768
- });
769
- },
770
- data: () => ({
771
- STEPS: ke,
772
- booking: void 0,
773
- bookingPolicy: void 0,
774
- countdownSnackbar: !1,
775
- direction: 1,
776
- formdata: void 0,
777
- lastRequest: void 0,
778
- step: 1,
779
- warningSnackbarMessages: []
780
- }),
781
- methods: {
782
- cancelBooking() {
783
- this.direction = -1, this.step = 1, this.bookingPolicy = void 0, this.booking = void 0, this.warningSnackbarMessages = [];
784
- },
785
- cancelPayment() {
786
- this.direction = -1, this.step = 2;
787
- },
788
- onAfterLeave() {
789
- this.direction = 1;
790
- },
791
- onBackButtonClick() {
792
- [
793
- 2,
794
- 5
795
- /* PaymentSuccessful */
796
- ].includes(this.step) ? this.cancelBooking() : this.step === 3 && this.cancelPayment();
797
- },
798
- onBookingCreated(e) {
799
- this.booking = e, e && (X(), this.direction = 1, this.step = 3);
800
- },
801
- onBookingPolicyCreated(e) {
802
- this.bookingPolicy = e, e && (X(), this.direction = 1, this.step = 2);
803
- },
804
- onCountdownEnd() {
805
- this.countdownSnackbar = !0, this.cancelBooking();
806
- },
807
- onPaymentSuccess() {
808
- this.direction = 1, this.step = 5;
809
- },
810
- transformCountdownTimer(e) {
811
- const o = {};
812
- for (const [s, n] of Object.entries(e)) {
813
- const a = n < 10 ? `0${n}` : n;
814
- o[s] = `${a}`;
815
- }
816
- return o;
817
- }
818
- },
819
- mixins: [
820
- je,
821
- Ze({
822
- fallbackValue: ge,
823
- propsName: "features"
824
- })
825
- ],
826
- props: be,
827
- setup() {
828
- const { t: e } = qe();
829
- return {
830
- t: e
831
- };
832
- }
833
- });
834
- function me(e) {
835
- const o = e;
836
- o.__i18n = o.__i18n || [], o.__i18n.push({
837
- locale: "",
838
- resource: {
839
- "en-US": {
840
- HotelRoomOffersBookingFlow: {
841
- back: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Go back" } },
842
- makeNewBooking: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Make a new reservation" } },
843
- steps: {
844
- yourSelection: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Your Selection" } },
845
- yourDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Your Details" } },
846
- finalStep: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Final Step" } }
847
- },
848
- timer1: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Please complete registration and payment within 15 minutes." } },
849
- timer2: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "After 15 minutes, the reservation we're holding will be released to others." } },
850
- timerEnd: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sorry, you took too long to complete your reservation. You can still choose an offer." } },
851
- warnings: {
852
- cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "The selected rate's cancellation policies have changed and are more restrictive than previously stated." } },
853
- price: { t: 0, b: { t: 2, i: [{ t: 3, v: "The selected rate's increased compared to the previous step from " }, { t: 4, k: "from" }, { t: 3, v: " to " }, { t: 4, k: "to" }, { t: 3, v: "." }] } }
854
- }
855
- }
856
- },
857
- "fr-FR": {
858
- HotelRoomOffersBookingFlow: {
859
- back: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Revenir en arrière" } },
860
- makeNewBooking: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Effectuer une nouvelle reservation" } },
861
- steps: {
862
- yourSelection: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Votre Sélection" } },
863
- yourDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Vos Informations" } },
864
- finalStep: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dernière Étape" } }
865
- },
866
- timer1: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Veuillez terminer votre réservation dans les 15 prochaines minutes." } },
867
- timer2: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Au-delà de 15 minutes, la réservation que nous retenons sera à nouveau disponible pour les autres." } },
868
- timerEnd: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Désolé, vous avez dépassé le délai pour finaliser votre réservation. Veuillez sélectionner de nouveau une offre." } },
869
- warnings: {
870
- cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Les conditions d'annulation de l'offre sélectionnée ont changées et sont plus contraignantes que celles de l'offre initialement sélectionnée." } },
871
- price: { t: 0, b: { t: 2, i: [{ t: 3, v: "Le prix de l'offre sélectionnée a augmenté par rapport à l'étape précédente de " }, { t: 4, k: "from" }, { t: 3, v: " à " }, { t: 4, k: "to" }, { t: 3, v: "." }] } }
872
- }
873
- }
874
- },
875
- "de-DE": {
876
- HotelRoomOffersBookingFlow: {
877
- back: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zurück" } },
878
- makeNewBooking: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Neue Reservierung erstellen" } },
879
- steps: {
880
- yourSelection: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ihre Auswahl" } },
881
- yourDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ihre Angaben" } },
882
- finalStep: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Letzter Schritt" } }
883
- },
884
- timer1: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bitte schließen Sie die Registrierung und Zahlung innerhalb von 15 Minuten ab." } },
885
- timer2: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nach 15 Minuten wird die Reservierung, die wir halten, für andere freigegeben." } },
886
- timerEnd: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Es tut uns leid, Sie haben zu lange gebraucht, um Ihre Reservierung abzuschließen. Sie können trotzdem noch ein Angebot auswählen." } },
887
- warnings: {
888
- cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Die Stornierungsbedingungen des ausgewählten Tarifs haben sich geändert und sind restriktiver als zuvor angegeben." } },
889
- price: { t: 0, b: { t: 2, i: [{ t: 3, v: "Der Preis des ausgewählten Tarifs hat sich im Vergleich zum vorherigen Schritt von " }, { t: 4, k: "from" }, { t: 3, v: " auf " }, { t: 4, k: "to" }, { t: 3, v: " erhöht." }] } }
890
- }
891
- }
892
- },
893
- "es-ES": {
894
- HotelRoomOffersBookingFlow: {
895
- back: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Volver atrás" } },
896
- makeNewBooking: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Hacer una nueva reserva" } },
897
- steps: {
898
- yourSelection: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Tu Selección" } },
899
- yourDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Tus Datos" } },
900
- finalStep: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Paso Final" } }
901
- },
902
- timer1: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, complete el registro y el pago en 15 minutos." } },
903
- timer2: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Después de 15 minutos, la reserva que estamos reteniendo se liberará para otros." } },
904
- timerEnd: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lo sentimos, tardaste demasiado en completar tu reserva. Aún puedes elegir una oferta." } },
905
- warnings: {
906
- cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Las políticas de cancelación de la tarifa seleccionada han cambiado y son más restrictivas de lo que se indicó anteriormente." } },
907
- price: { t: 0, b: { t: 2, i: [{ t: 3, v: "El precio de la tarifa seleccionada ha aumentado en comparación con el paso anterior de " }, { t: 4, k: "from" }, { t: 3, v: " a " }, { t: 4, k: "to" }, { t: 3, v: "." }] } }
908
- }
909
- }
910
- },
911
- "it-IT": {
912
- HotelRoomOffersBookingFlow: {
913
- back: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Torna indietro" } },
914
- makeNewBooking: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Effettua una nuova prenotazione" } },
915
- steps: {
916
- yourSelection: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La Tua Selezione" } },
917
- yourDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "I Tuoi Dettagli" } },
918
- finalStep: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Passaggio Finale" } }
919
- },
920
- timer1: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Si prega di completare la registrazione e il pagamento entro 15 minuti." } },
921
- timer2: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dopo 15 minuti, la prenotazione che stiamo trattenendo verrà rilasciata ad altri clienti." } },
922
- timerEnd: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Siamo spiacenti, hai impiegato troppo tempo per completare la prenotazione. Puoi comunque scegliere un'offerta." } },
923
- warnings: {
924
- cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Le politiche di cancellazione della tariffa selezionata sono cambiate e sono più restrittive di quanto dichiarato in precedenza." } },
925
- price: { t: 0, b: { t: 2, i: [{ t: 3, v: "Il prezzo della tariffa selezionata è aumentato rispetto al passaggio precedente da " }, { t: 4, k: "from" }, { t: 3, v: " a " }, { t: 4, k: "to" }, { t: 3, v: "." }] } }
926
- }
927
- }
928
- },
929
- "nl-NL": {
930
- HotelRoomOffersBookingFlow: {
931
- back: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ga terug" } },
932
- makeNewBooking: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Maak een nieuwe reservering" } },
933
- steps: {
934
- yourSelection: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Uw Selectie" } },
935
- yourDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Uw Gegevens" } },
936
- finalStep: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Laatste Stap" } }
937
- },
938
- timer1: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Voltooi de registratie en betaling binnen 15 minuten." } },
939
- timer2: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Na 15 minuten wordt de reservering die we vasthouden vrijgegeven aan anderen." } },
940
- timerEnd: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sorry, u hebt er te lang over gedaan om uw reservering te voltooien. U kunt nog steeds een aanbieding kiezen." } },
941
- warnings: {
942
- cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Het annuleringsbeleid van het geselecteerde tarief is gewijzigd en is restrictiever dan eerder vermeld." } },
943
- price: { t: 0, b: { t: 2, i: [{ t: 3, v: "De prijs van het geselecteerde tarief is verhoogd ten opzichte van de vorige stap van " }, { t: 4, k: "from" }, { t: 3, v: " naar " }, { t: 4, k: "to" }, { t: 3, v: "." }] } }
944
- }
945
- }
946
- },
947
- "pt-PT": {
948
- HotelRoomOffersBookingFlow: {
949
- back: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Voltar" } },
950
- makeNewBooking: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Fazer uma nova reserva" } },
951
- steps: {
952
- yourSelection: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "A Sua Seleção" } },
953
- yourDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Os Seus Dados" } },
954
- finalStep: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Passo Final" } }
955
- },
956
- timer1: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, complete o registo e o pagamento dentro de 15 minutos." } },
957
- timer2: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Após 15 minutos, a reserva que estamos a guardar será libertada para outros." } },
958
- timerEnd: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Desculpe, demorou demasiado tempo a concluir a sua reserva. Ainda pode escolher uma oferta." } },
959
- warnings: {
960
- cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "As políticas de cancelamento da tarifa selecionada foram alteradas e são mais restritivas do que o indicado anteriormente." } },
961
- price: { t: 0, b: { t: 2, i: [{ t: 3, v: "O preço da tarifa selecionada aumentou em comparação com o passo anterior de " }, { t: 4, k: "from" }, { t: 3, v: " para " }, { t: 4, k: "to" }, { t: 3, v: "." }] } }
962
- }
963
- }
964
- }
965
- }
966
- });
967
- }
968
- const yt = { class: "pl-3" }, wt = { class: "text-grey-darken-3 font-weight-bold" }, Pt = { class: "text-grey-darken-3 font-weight-bold" }, Vt = { class: "text-grey-darken-3 font-weight-bold" }, Et = { class: "text-h5 mx-sm-2 px-sm-2 mx-md-6 px-md-6 mx-lg-10 px-lg-10 mx-xl-16 px-xl-16" }, Bt = { class: "pl-5 ma-0" }, Ot = { class: "font-weight-bold" }, It = { class: "font-weight-bold" };
969
- function Tt(e, o, s, n, a, r) {
970
- const u = T("VueCountdown"), c = T("PrebookForm"), m = T("CreditCardPayment"), b = T("HotelRoomOffersView");
971
- return p(), g(O, { dense: "" }, {
972
- default: i(() => [
973
- t(te, {
974
- modelValue: e.isWarningSnackarDisplayed,
975
- "onUpdate:modelValue": o[0] || (o[0] = (l) => e.isWarningSnackarDisplayed = l),
976
- color: "warning",
977
- class: "elevation-0",
978
- "max-width": "1000px",
979
- timeout: -1,
980
- location: "top"
981
- }, {
982
- actions: i(({ isActive: l }) => [
983
- t(z, {
984
- color: "white",
985
- variant: "text",
986
- onClick: () => {
987
- l.value = !1, e.warningSnackbarMessages = [];
988
- }
989
- }, {
990
- default: i(() => [
991
- t(I, {
992
- color: "white",
993
- size: "16"
994
- }, {
995
- default: i(() => o[4] || (o[4] = [
996
- y(" fas fa-times ")
997
- ])),
998
- _: 1,
999
- __: [4]
1000
- })
1001
- ]),
1002
- _: 2
1003
- }, 1032, ["onClick"])
1004
- ]),
1005
- default: i(() => [
1006
- (p(!0), Q(pe, null, Ue(e.warningSnackbarMessages, (l, v) => (p(), Q("p", {
1007
- key: v,
1008
- class: "text-white ma-0"
1009
- }, [
1010
- v === 0 ? (p(), g(I, {
1011
- key: 0,
1012
- color: "white",
1013
- size: "20"
1014
- }, {
1015
- default: i(() => o[3] || (o[3] = [
1016
- y(" fas fa-triangle-exclamation ")
1017
- ])),
1018
- _: 1,
1019
- __: [3]
1020
- })) : B("", !0),
1021
- f("span", yt, h(l), 1)
1022
- ]))), 128))
1023
- ]),
1024
- _: 1
1025
- }, 8, ["modelValue"]),
1026
- t(w, null, {
1027
- default: i(() => [
1028
- [e.STEPS.PreBook, e.STEPS.Payment, e.STEPS.PaymentSuccessful].includes(e.step) ? (p(), g(O, {
1029
- key: 0,
1030
- dense: ""
1031
- }, {
1032
- default: i(() => [
1033
- t(w, {
1034
- "align-self": "center",
1035
- cols: "12",
1036
- sm: "3"
1037
- }, {
1038
- default: i(() => [
1039
- t(z, {
1040
- variant: "text",
1041
- size: "x-small",
1042
- onClick: e.onBackButtonClick
1043
- }, {
1044
- default: i(() => [
1045
- t(I, {
1046
- start: "",
1047
- size: "x-small"
1048
- }, {
1049
- default: i(() => o[5] || (o[5] = [
1050
- y(" fas fa-arrow-left ")
1051
- ])),
1052
- _: 1,
1053
- __: [5]
1054
- }),
1055
- y(" " + h(e.backButtonLabel), 1)
1056
- ]),
1057
- _: 1
1058
- }, 8, ["onClick"])
1059
- ]),
1060
- _: 1
1061
- }),
1062
- [e.STEPS.PreBook, e.STEPS.Payment, e.STEPS.PaymentSuccessful].includes(
1063
- e.step
1064
- ) ? (p(), g(w, {
1065
- key: 0,
1066
- cols: "12",
1067
- sm: "9"
1068
- }, {
1069
- default: i(() => [
1070
- t(kt, {
1071
- class: "bg-transparent",
1072
- modelValue: e.step,
1073
- "onUpdate:modelValue": o[1] || (o[1] = (l) => e.step = l),
1074
- elevation: "0"
1075
- }, {
1076
- default: i(() => [
1077
- t(ve, { color: "primary" }, {
1078
- default: i(() => [
1079
- t(L, {
1080
- color: "primary",
1081
- complete: "",
1082
- value: e.STEPS.Idle
1083
- }, {
1084
- default: i(() => [
1085
- f("small", wt, h(e.t("HotelRoomOffersBookingFlow.steps.yourSelection")), 1)
1086
- ]),
1087
- _: 1
1088
- }, 8, ["value"]),
1089
- t(G),
1090
- t(L, {
1091
- color: "primary",
1092
- complete: [e.STEPS.PaymentSuccessful, e.STEPS.Payment].includes(e.step),
1093
- value: e.STEPS.PreBook
1094
- }, {
1095
- default: i(() => [
1096
- f("small", Pt, h(e.t("HotelRoomOffersBookingFlow.steps.yourDetails")), 1)
1097
- ]),
1098
- _: 1
1099
- }, 8, ["complete", "value"]),
1100
- t(G),
1101
- t(L, {
1102
- color: "primary",
1103
- complete: e.step === e.STEPS.PaymentSuccessful,
1104
- value: e.STEPS.Payment
1105
- }, {
1106
- default: i(() => [
1107
- f("small", Vt, h(e.t("HotelRoomOffersBookingFlow.steps.finalStep")), 1)
1108
- ]),
1109
- _: 1
1110
- }, 8, ["complete", "value"])
1111
- ]),
1112
- _: 1
1113
- })
1114
- ]),
1115
- _: 1
1116
- }, 8, ["modelValue"])
1117
- ]),
1118
- _: 1
1119
- })) : B("", !0)
1120
- ]),
1121
- _: 1
1122
- })) : B("", !0),
1123
- [e.STEPS.PreBook, e.STEPS.Payment].includes(e.step) ? (p(), g(O, {
1124
- key: 1,
1125
- dense: ""
1126
- }, {
1127
- default: i(() => [
1128
- t(w, null, {
1129
- default: i(() => [
1130
- t(ut, {
1131
- color: "primary",
1132
- border: "start",
1133
- "border-color": "primary",
1134
- variant: "tonal",
1135
- prominent: "",
1136
- type: "info"
1137
- }, {
1138
- prepend: i(() => [
1139
- f("b", Et, [
1140
- t(I, {
1141
- class: "d-none d-md-inline-block mr-2 mb-1",
1142
- color: "primary",
1143
- size: "24px"
1144
- }, {
1145
- default: i(() => o[6] || (o[6] = [
1146
- y(" fas fa-stopwatch")
1147
- ])),
1148
- _: 1,
1149
- __: [6]
1150
- }),
1151
- t(u, {
1152
- time: 900 * 1e3,
1153
- transform: e.transformCountdownTimer,
1154
- onEnd: e.onCountdownEnd
1155
- }, {
1156
- default: i((l) => [
1157
- y(h(l.minutes) + ":" + h(l.seconds), 1)
1158
- ]),
1159
- _: 1
1160
- }, 8, ["transform", "onEnd"])
1161
- ])
1162
- ]),
1163
- default: i(() => [
1164
- f("p", Bt, [
1165
- f("span", Ot, h(e.t("HotelRoomOffersBookingFlow.timer1")), 1),
1166
- o[7] || (o[7] = f("br", null, null, -1)),
1167
- f("span", It, h(e.t("HotelRoomOffersBookingFlow.timer2")), 1)
1168
- ])
1169
- ]),
1170
- _: 1
1171
- })
1172
- ]),
1173
- _: 1
1174
- })
1175
- ]),
1176
- _: 1
1177
- })) : B("", !0),
1178
- t(te, {
1179
- modelValue: e.countdownSnackbar,
1180
- "onUpdate:modelValue": o[2] || (o[2] = (l) => e.countdownSnackbar = l),
1181
- color: "warning",
1182
- class: "elevation-0",
1183
- timeout: "10000",
1184
- location: "top"
1185
- }, {
1186
- default: i(() => [
1187
- t(I, { class: "px-4" }, {
1188
- default: i(() => o[8] || (o[8] = [
1189
- y(" fas fa-hourglass-end ")
1190
- ])),
1191
- _: 1,
1192
- __: [8]
1193
- }),
1194
- f("span", null, h(e.t("HotelRoomOffersBookingFlow.timerEnd")), 1)
1195
- ]),
1196
- _: 1
1197
- }, 8, ["modelValue"]),
1198
- t(Ge, {
1199
- name: e.transitionName,
1200
- onAfterLeave: e.onAfterLeave
1201
- }, {
1202
- default: i(() => [
1203
- t(O, { "no-gutters": "" }, {
1204
- default: i(() => [
1205
- t(w, null, {
1206
- default: i(() => [
1207
- e.step === e.STEPS.PreBook ? (p(), g(O, {
1208
- key: 0,
1209
- "no-gutters": ""
1210
- }, {
1211
- default: i(() => [
1212
- t(w, null, {
1213
- default: i(() => [
1214
- t(c, C(e.prebookFormProps, {
1215
- "booking-policy-id": e.bookingPolicy?.id,
1216
- features: e.parsedFeatures.PrebookForm,
1217
- "hotel-room-offer": e.bookingPolicy?.hotelRoomOffer
1218
- }), null, 16, ["booking-policy-id", "features", "hotel-room-offer"])
1219
- ]),
1220
- _: 1
1221
- })
1222
- ]),
1223
- _: 1
1224
- })) : B("", !0),
1225
- [e.STEPS.Payment, e.STEPS.PaymentSuccessful].includes(e.step) ? (p(), g(O, {
1226
- key: 1,
1227
- "no-gutters": ""
1228
- }, {
1229
- default: i(() => [
1230
- t(w, null, {
1231
- default: i(() => [
1232
- t(m, {
1233
- token: e.booking?.token
1234
- }, null, 8, ["token"])
1235
- ]),
1236
- _: 1
1237
- })
1238
- ]),
1239
- _: 1
1240
- })) : e.step === e.STEPS.Idle ? (p(), g(b, C({ key: 2 }, e.hotelRoomOffersViewProps, {
1241
- features: e.parsedFeatures.HotelRoomOffersView
1242
- }), null, 16, ["features"])) : B("", !0)
1243
- ]),
1244
- _: 1
1245
- })
1246
- ]),
1247
- _: 1
1248
- })
1249
- ]),
1250
- _: 1
1251
- }, 8, ["name", "onAfterLeave"])
1252
- ]),
1253
- _: 1
1254
- })
1255
- ]),
1256
- _: 1
1257
- });
1258
- }
1259
- typeof me == "function" && me(Se);
1260
- const Rt = /* @__PURE__ */ fe(Se, [["render", Tt], ["__scopeId", "data-v-17bd38d1"]]), Ct = x({
1261
- components: {
1262
- HotelRoomOffersBookingFlow: Rt,
1263
- WebComponentWrapper: Je
1264
- },
1265
- props: be
1266
- });
1267
- function _t(e, o, s, n, a, r) {
1268
- const u = T("HotelRoomOffersBookingFlow", !0), c = T("WebComponentWrapper");
1269
- return p(), g(c, null, {
1270
- default: i(() => [
1271
- t(u, xe(Ye(e.$props)), null, 16)
1272
- ]),
1273
- _: 1
1274
- });
1275
- }
1276
- const Jt = /* @__PURE__ */ fe(Ct, [["render", _t]]);
1277
- Pe("css/revolugo.hotelroomoffersbookingflow.nFiRmYyk.css");
1278
- export {
1279
- Jt as default
1280
- };
1281
- //# sourceMappingURL=revolugo.hotelroomoffersbookingflow.NFAeeps4.min.js.map