@revolugo/elements 6.9.7-rc.1 → 6.10.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/dist/css/fonts.css +1 -1
  2. package/dist/css/revolugo.cancellationpoliciesbadge.BHm9G8WA.css +1 -0
  3. package/dist/css/revolugo.creditcardstripeform.C4-vMajR.css +1 -0
  4. package/dist/css/revolugo.index.BNlxBMG6.css +5 -0
  5. package/dist/css/revolugo.preferencesmenu.DQaHGrad.css +1 -0
  6. package/dist/css/{revolugo.webcomponentwrapper.cFJPP6Rp.css → revolugo.webcomponentwrapper.8v7iva-a.css} +1 -1
  7. package/dist/index.es.min.js +23 -12530
  8. package/dist/index.es.min.js.map +1 -1
  9. package/dist/index.min.js +1 -19
  10. package/dist/index.min.js.map +1 -1
  11. package/dist/revolugo.banktransferdetails.x0v9ndfv.min.js +47 -0
  12. package/dist/revolugo.bookingdetailssidebar.B4EIlhFU.min.js +43 -0
  13. package/dist/revolugo.bookingmanager.YVuxlZbU.min.js +26 -0
  14. package/dist/revolugo.cancellationpoliciesbadge.DfpyKAT7.min.js +26 -0
  15. package/dist/revolugo.cancellationpoliciesbadge.props.Catwbml_.min.js +29243 -0
  16. package/dist/revolugo.cancellationpolicieslist.CqGBKCZe.min.js +26 -0
  17. package/dist/revolugo.creditcardstripeform.BWeGQuy4.min.js +50 -0
  18. package/dist/{revolugo.creditcardform.C1Y8cuiJ.min.js → revolugo.creditcardstripeform.DNfpUrZN.min.js} +932 -915
  19. package/dist/revolugo.currencypickerbtn.CPU1WxXE.min.js +26 -0
  20. package/dist/{revolugo.dialog-attach.blanCM_U.min.js → revolugo.dialog-attach.PVrub23o.min.js} +2 -2
  21. package/dist/revolugo.fastbookingflow.I7UL8jNX.min.js +36 -0
  22. package/dist/revolugo.fullbookingflow.CpNJrRcu.min.js +26 -0
  23. package/dist/revolugo.hoteldescriptionview.DWQa933m.min.js +26 -0
  24. package/dist/revolugo.hotelofferlist.DJzWMTLy.min.js +26 -0
  25. package/dist/revolugo.hoteloffersearchmenu.D7YNVTvi.min.js +115 -0
  26. package/dist/revolugo.hoteloffersmap.BYvYv0p6.min.js +26 -0
  27. package/dist/revolugo.hoteloffersview.DT5QVxLs.min.js +21 -0
  28. package/dist/revolugo.hotelroomofferlist.DA_3LSPI.min.js +26 -0
  29. package/dist/revolugo.hotelroomoffersbookingflow.Dkch3aYF.min.js +26 -0
  30. package/dist/revolugo.hotelroomoffersearchmenu.D4wOddbw.min.js +26 -0
  31. package/dist/revolugo.hotelroomoffersview.9FmcyDbV.min.js +26 -0
  32. package/dist/revolugo.index.OiMu9dAJ.min.js +106 -0
  33. package/dist/revolugo.index.wc.C2aj6lKv.min.js +26699 -0
  34. package/dist/revolugo.langpickerbtn.6Brb63yO.min.js +31 -0
  35. package/dist/{revolugo.leaflet-src.esm.DBQWLG1M.min.js → revolugo.leaflet-src.esm.BnEQV3J-.min.js} +16 -16
  36. package/dist/revolugo.min.js +1 -1
  37. package/dist/revolugo.prebookform.DVYHP3Yz.min.js +26 -0
  38. package/dist/revolugo.preferencesmenu.BloRxITX.min.js +24 -0
  39. package/dist/revolugo.preferencesmenu.r1vnr_RO.min.js +935 -0
  40. package/dist/revolugo.roominglisteditor.C-AGIJub.min.js +26 -0
  41. package/dist/revolugo.storybooktoolbar.B5oXaRze.min.js +831 -0
  42. package/dist/revolugo.termsandconditions.CNlXW52E.min.js +31 -0
  43. package/dist/revolugo.vtoolbar.BWqbzW1H.min.js +187 -0
  44. package/dist/revolugo.webcomponentwrapper.BMoMCE08.min.js +30962 -0
  45. package/package.json +6 -6
  46. package/dist/css/revolugo.bdaterangepicker.OLspTh_0.css +0 -1
  47. package/dist/css/revolugo.bhoteloffersfilterbar.BebBKpCh.css +0 -1
  48. package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +0 -1
  49. package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +0 -1
  50. package/dist/css/revolugo.bookingdetailssidebar.Cp4sLBjD.css +0 -1
  51. package/dist/css/revolugo.bstarrating.CPHKEfup.css +0 -1
  52. package/dist/css/revolugo.btag.T7X_iIkW.css +0 -1
  53. package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +0 -1
  54. package/dist/css/revolugo.creditcardform.fTmPR0fS.css +0 -1
  55. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
  56. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
  57. package/dist/css/revolugo.hoteldescriptionview.B-RiiuPY.css +0 -1
  58. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
  59. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +0 -1
  60. package/dist/css/revolugo.hoteloffersmap.Z5DFtK0_.css +0 -1
  61. package/dist/css/revolugo.hoteloffersview.CLbnSww6.css +0 -1
  62. package/dist/css/revolugo.hotelroomofferlist.D8JlZt_N.css +0 -1
  63. package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +0 -1
  64. package/dist/css/revolugo.index.DK7d_h6O.css +0 -1
  65. package/dist/css/revolugo.index.XNPQF1ia.css +0 -5
  66. package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +0 -1
  67. package/dist/css/revolugo.prebookform.DmCR7hLv.css +0 -1
  68. package/dist/css/revolugo.preferencesmenu.fPv_7j-1.css +0 -1
  69. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +0 -1
  70. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
  71. package/dist/css/revolugo.vbadge.C45eZpxy.css +0 -1
  72. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +0 -1
  73. package/dist/css/revolugo.vcard.TERzfknI.css +0 -1
  74. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +0 -1
  75. package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
  76. package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
  77. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
  78. package/dist/css/revolugo.vicon.eIkh7vVK.css +0 -1
  79. package/dist/css/revolugo.vinput.BPiFMorL.css +0 -1
  80. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +0 -1
  81. package/dist/css/revolugo.vlist.-Y4qkukF.css +0 -1
  82. package/dist/css/revolugo.vmenu.DvKwEp1j.css +0 -1
  83. package/dist/css/revolugo.vselect.C5CKHFYB.css +0 -1
  84. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +0 -1
  85. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +0 -1
  86. package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +0 -1
  87. package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +0 -1
  88. package/dist/css/revolugo.vtextarea.Dxy6uSvm.css +0 -1
  89. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
  90. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +0 -1
  91. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
  92. package/dist/revolugo._baseiteratee.Zjxh5X1S.min.js +0 -247
  93. package/dist/revolugo.banktransferdetails.BMe84dqg.min.js +0 -380
  94. package/dist/revolugo.bdaterangepicker.DzOGjDv0.min.js +0 -8327
  95. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DMP_pksf.min.js +0 -146
  96. package/dist/revolugo.bhoteloffersfilterbar.Duj0L2BC.min.js +0 -4901
  97. package/dist/revolugo.bhotelroomsdetails.A441NOYj.min.js +0 -965
  98. package/dist/revolugo.bimagecarousel.CeagkLxi.min.js +0 -566
  99. package/dist/revolugo.bookingdetailssidebar.BR9pOQ-A.min.js +0 -870
  100. package/dist/revolugo.bookingdetailssidebar.C_cVgvbV.min.js +0 -24
  101. package/dist/revolugo.bookingmanager.Tqklnltl.min.js +0 -1755
  102. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.N9x3mRNq.min.js +0 -66
  103. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.vPcVvCoJ.min.js +0 -570
  104. package/dist/revolugo.btag.6i9RpwY_.min.js +0 -375
  105. package/dist/revolugo.cancellationpoliciesbadge.CJhYlUuT.min.js +0 -198
  106. package/dist/revolugo.cancellationpoliciesbadge.Vi2j73X9.min.js +0 -28
  107. package/dist/revolugo.cancellationpolicieslist.BuNsG_i4.min.js +0 -25
  108. package/dist/revolugo.cancellationpolicieslist.CaiWZD9_.min.js +0 -148
  109. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +0 -21
  110. package/dist/revolugo.case-transformers.BGpZ9qjt.min.js +0 -123
  111. package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
  112. package/dist/revolugo.creditcardform.wbMwrte3.min.js +0 -24
  113. package/dist/revolugo.creditcardpayment.BsQwUNPu.min.js +0 -885
  114. package/dist/revolugo.creditcardpayment.v2TP6g1r.min.js +0 -24
  115. package/dist/revolugo.currencypicker.CCydQxvk.min.js +0 -328
  116. package/dist/revolugo.currencypickerbtn.54OJeTC0.min.js +0 -157
  117. package/dist/revolugo.currencypickerbtn.D0OyHd5Z.min.js +0 -24
  118. package/dist/revolugo.dates.Dma3i1u_.min.js +0 -31
  119. package/dist/revolugo.defaultsdeep.BlZWlkib.min.js +0 -104
  120. package/dist/revolugo.dialog-transition.JX-XGblk.min.js +0 -111
  121. package/dist/revolugo.fastbookingflow.kwlndDrp.min.js +0 -34
  122. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +0 -70
  123. package/dist/revolugo.fullbookingflow.Cm0oV-cR.min.js +0 -429
  124. package/dist/revolugo.hotel-offer-request.aMUhw0jC.min.js +0 -98
  125. package/dist/revolugo.hoteldescriptionview.Dng4hMzd.min.js +0 -2738
  126. package/dist/revolugo.hoteldescriptionview.ojwTutv4.min.js +0 -24
  127. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.olnYk_cF.min.js +0 -239
  128. package/dist/revolugo.hotelofferlist.BWC_k60T.min.js +0 -5640
  129. package/dist/revolugo.hotelofferlist.DacSdhyV.min.js +0 -24
  130. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +0 -44
  131. package/dist/revolugo.hoteloffersearchmenu.BRYJjrI7.min.js +0 -202
  132. package/dist/revolugo.hoteloffersearchmenuui.CjFznky7.min.js +0 -829
  133. package/dist/revolugo.hoteloffersmap.B4YsCUhB.min.js +0 -8330
  134. package/dist/revolugo.hoteloffersmap.BjCpSBW5.min.js +0 -24
  135. package/dist/revolugo.hoteloffersview.Df1RPsE2.min.js +0 -19
  136. package/dist/revolugo.hoteloffersview.VHsBhOKb.min.js +0 -616
  137. package/dist/revolugo.hotelroomofferlist.kttmW_p0.min.js +0 -24
  138. package/dist/revolugo.hotelroomofferlist.t-3U4Nu4.min.js +0 -2799
  139. package/dist/revolugo.hotelroomofferrequestcreator.props.vFsZDl1K.min.js +0 -171
  140. package/dist/revolugo.hotelroomoffersbookingflow.CcnFaLm4.min.js +0 -1281
  141. package/dist/revolugo.hotelroomoffersearchmenu.FTQxJ_n5.min.js +0 -25
  142. package/dist/revolugo.hotelroomoffersearchmenu.WM6bLEz9.min.js +0 -231
  143. package/dist/revolugo.hotelroomoffersview.4GP75oBd.min.js +0 -24
  144. package/dist/revolugo.hotelroomoffersview.C64pbpV0.min.js +0 -290
  145. package/dist/revolugo.index.CmfloZTT.min.js +0 -67
  146. package/dist/revolugo.index.q2k-tLa2.min.js +0 -1232
  147. package/dist/revolugo.index.wc.BmAtoZjo.min.js +0 -31558
  148. package/dist/revolugo.langpicker.BDDm2CzN.min.js +0 -99
  149. package/dist/revolugo.langpickerbtn.BS-VKFY1.min.js +0 -131
  150. package/dist/revolugo.langpickerbtn.C_Z35YuF.min.js +0 -29
  151. package/dist/revolugo.parsed-props.z2aR0x9r.min.js +0 -40
  152. package/dist/revolugo.pathify.DOgJK7nI.min.js +0 -36
  153. package/dist/revolugo.prebookform.DT2QXZUm.min.js +0 -1527
  154. package/dist/revolugo.prebookform.Dk1v8qZ9.min.js +0 -24
  155. package/dist/revolugo.preferencesmenu.BhDjryBC.min.js +0 -24
  156. package/dist/revolugo.preferencesmenu.DsDw7iXm.min.js +0 -261
  157. package/dist/revolugo.roominglisteditor.ChZhBnZ3.min.js +0 -385
  158. package/dist/revolugo.roominglisteditor.DaPP1NPv.min.js +0 -24
  159. package/dist/revolugo.rounded.BmZawp2x.min.js +0 -68
  160. package/dist/revolugo.ssrboot.CMusFTC5.min.js +0 -18
  161. package/dist/revolugo.storybooktoolbar.CLAq0fXx.min.js +0 -881
  162. package/dist/revolugo.termsandconditions.B8TrVOz1.min.js +0 -404
  163. package/dist/revolugo.termsandconditions.CI0t3pno.min.js +0 -23
  164. package/dist/revolugo.use-breakpoint-service.BmTXBw-9.min.js +0 -39
  165. package/dist/revolugo.use-dialog-attach.ByNAI0vu.min.js +0 -16
  166. package/dist/revolugo.use-html-element.BbD1LjYc.min.js +0 -11
  167. package/dist/revolugo.vautocomplete.D1yqzzar.min.js +0 -445
  168. package/dist/revolugo.vbadge.B1q1ebM4.min.js +0 -112
  169. package/dist/revolugo.vbtn.D-1pZWJQ.min.js +0 -398
  170. package/dist/revolugo.vcard.BhFz1a7-.min.js +0 -313
  171. package/dist/revolugo.vcheckboxbtn.BtTJE9k_.min.js +0 -478
  172. package/dist/revolugo.vdialog.Q1vj1S2Y.min.js +0 -133
  173. package/dist/revolugo.vdivider.Cw22Dcuf.min.js +0 -77
  174. package/dist/revolugo.vexpansionpanels.B6laIhZ5.min.js +0 -262
  175. package/dist/revolugo.vform.DKrc0wCb.min.js +0 -46
  176. package/dist/revolugo.vicon.OZg4Im8p.min.js +0 -105
  177. package/dist/revolugo.vinput.Bo6I7bO4.min.js +0 -463
  178. package/dist/revolugo.vlabel.CK1EiiGY.min.js +0 -48
  179. package/dist/revolugo.vlist.C2mV3Sh6.min.js +0 -1299
  180. package/dist/revolugo.vmenu.C2Y9H_mH.min.js +0 -145
  181. package/dist/revolugo.vselect.ukHPs1U9.min.js +0 -660
  182. package/dist/revolugo.vsheet.COT4-g6w.min.js +0 -72
  183. package/dist/revolugo.vskeletonloader.BUWqKsWc.min.js +0 -136
  184. package/dist/revolugo.vslidegroup.vYhKvZC2.min.js +0 -325
  185. package/dist/revolugo.vsnackbar.DGEvcXxN.min.js +0 -198
  186. package/dist/revolugo.vspacer.DKw4LWvz.min.js +0 -7
  187. package/dist/revolugo.vtextarea.JwpV0Q9q.min.js +0 -2092
  188. package/dist/revolugo.vtextfield.CF6W_mmu.min.js +0 -501
  189. package/dist/revolugo.vtoolbar.8GW_wkyp.min.js +0 -180
  190. package/dist/revolugo.vtooltip.D-CqFjzD.min.js +0 -89
  191. package/dist/revolugo.vwindowitem.DdXQiNtJ.min.js +0 -317
  192. package/dist/revolugo.watch-list.CqLXeMQh.min.js +0 -16
  193. package/dist/revolugo.webcomponentwrapper.DipHFVeJ.min.js +0 -2088
@@ -1,1527 +0,0 @@
1
- import { b2 as V, d as L, u as B, H as T, bR as R, E as h, bS as M, bT as $, c as g, w as a, g as z, a as o, r as c, e as p, t as r, f as n, D as l, n as v, h as C, o as f } from "./revolugo.index.wc.BmAtoZjo.min.js";
2
- import { B as w } from "./revolugo.bookingdetailssidebar.BR9pOQ-A.min.js";
3
- import { C as U } from "./revolugo.currencypicker.CCydQxvk.min.js";
4
- import { _ as Z } from "./revolugo.langpicker.BDDm2CzN.min.js";
5
- import { B as j, _ as G, a as s, V as u, l as H } from "./revolugo.webcomponentwrapper.DipHFVeJ.min.js";
6
- import { n as W, p as Y, w as K, B as Q, V as J } from "./revolugo.vtextarea.JwpV0Q9q.min.js";
7
- import { p as X } from "./revolugo.parsed-props.z2aR0x9r.min.js";
8
- import { V as x, c as _, a as tt } from "./revolugo.vcard.BhFz1a7-.min.js";
9
- import { V as et } from "./revolugo.vdivider.Cw22Dcuf.min.js";
10
- import { V as it } from "./revolugo.vform.DKrc0wCb.min.js";
11
- import { V as at } from "./revolugo.vcheckboxbtn.BtTJE9k_.min.js";
12
- import { V as ot } from "./revolugo.vselect.ukHPs1U9.min.js";
13
- import { V as m } from "./revolugo.vtextfield.CF6W_mmu.min.js";
14
- import { V as N } from "./revolugo.vautocomplete.D1yqzzar.min.js";
15
- import { V as k } from "./revolugo.vlist.C2mV3Sh6.min.js";
16
- import { a as q, V as rt } from "./revolugo.vbtn.D-1pZWJQ.min.js";
17
- import { V as st } from "./revolugo.vicon.OZg4Im8p.min.js";
18
- function I(t) {
19
- try {
20
- if (typeof document < "u") {
21
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
22
- sheets: [],
23
- components: []
24
- };
25
- const e = import.meta.url, d = e.slice(0, e.lastIndexOf("/") + 1) + t;
26
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(d);
27
- for (const b of REVOLUGO_ELEMENTS_STYLES.components)
28
- b(d);
29
- if (t.indexOf("fonts") >= 0) {
30
- const b = document.createElement("link");
31
- b.rel = "stylesheet", linK.href = d, document.head.appendChild(b);
32
- }
33
- }
34
- } catch (e) {
35
- console.error("[revolugo-elements] ", e);
36
- }
37
- }
38
- function nt() {
39
- var t = W(arguments), e = t.text, d = t.options, b = t.metadata;
40
- return Y(e, d, b);
41
- }
42
- function lt() {
43
- return K(nt, arguments);
44
- }
45
- const S = {
46
- BookingDetails: !0
47
- }, dt = {
48
- adultCount: { required: !0, type: Number },
49
- bookingId: { type: String },
50
- bookingPolicyId: { required: !0, type: String },
51
- checkInDate: { required: !0, type: String },
52
- checkOutDate: { required: !0, type: String },
53
- emailAddress: {
54
- default: "",
55
- type: String
56
- },
57
- features: {
58
- default: () => S,
59
- type: [Object, String]
60
- },
61
- firstName: {
62
- default: "",
63
- type: String
64
- },
65
- hotelRoomOffer: { type: Object },
66
- lastName: {
67
- default: "",
68
- type: String
69
- },
70
- nationality: {
71
- default: "",
72
- type: String
73
- },
74
- organizationAddress: {
75
- default: "",
76
- type: String
77
- },
78
- organizationCity: {
79
- default: "",
80
- type: String
81
- },
82
- organizationCountry: {
83
- default: "",
84
- type: String
85
- },
86
- organizationName: {
87
- default: "",
88
- type: String
89
- },
90
- organizationState: {
91
- default: "",
92
- type: String
93
- },
94
- organizationVatNumber: {
95
- default: "",
96
- type: String
97
- },
98
- organizationZipCode: {
99
- default: "",
100
- type: String
101
- },
102
- paymentMethods: {
103
- default: V.CreditCard,
104
- type: String
105
- },
106
- phoneCountry: {
107
- default: "FR",
108
- type: String
109
- },
110
- phoneNumber: {
111
- default: "",
112
- type: String
113
- },
114
- roomCount: { required: !0, type: Number },
115
- salutation: {
116
- default: "",
117
- type: String
118
- },
119
- specialRequests: {
120
- default: "",
121
- type: String
122
- }
123
- }, P = [
124
- "emailAddress",
125
- "firstName",
126
- "lastName",
127
- "nationality",
128
- "phoneCountry",
129
- "phoneNumber",
130
- "specialRequests",
131
- "salutation",
132
- "organizationName",
133
- "organizationVatNumber",
134
- "organizationAddress",
135
- "organizationCity",
136
- "organizationZipCode",
137
- "organizationCountry",
138
- "organizationState"
139
- ], O = L({
140
- components: {
141
- BErrorOverlay: j,
142
- BPhoneInput: Q,
143
- BookingDetailsSidebar: w,
144
- CurrencyPicker: U,
145
- LangPicker: Z
146
- },
147
- computed: {
148
- countryList() {
149
- return Object.values($).sort(
150
- (t, e) => t.name.localeCompare(e.name)
151
- );
152
- },
153
- hasOrganizationDetails() {
154
- return this.hasOrganization && Object.values(
155
- M(this.form, [
156
- "organizationName",
157
- "organizationAddress",
158
- "organizationCity",
159
- "organizationZipCode",
160
- "organizationCountry",
161
- "organizationState"
162
- ])
163
- ).some((t) => t.value);
164
- },
165
- paymentMethodsParsed() {
166
- return this.paymentMethods.split(",").filter(
167
- (t) => Object.values(V).includes(
168
- t
169
- )
170
- ).map((t) => ({
171
- name: t
172
- }));
173
- },
174
- // Form validation rules + error messages
175
- rules() {
176
- return {
177
- emailAddress: [
178
- (t) => !!t || "PrebookForm.rules.emailAddress.required",
179
- (t) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/u.test(t) || "PrebookForm.rules.emailAddress.format"
180
- ],
181
- emailAddressConfirmation: [
182
- (t) => !!t || "PrebookForm.rules.emailAddressConfirmation.required",
183
- (t) => t === this.form.emailAddress.value || "PrebookForm.rules.emailAddressConfirmation.match"
184
- ],
185
- firstName: [(t) => !!t || "PrebookForm.rules.firstName.required"],
186
- lastName: [(t) => !!t || "PrebookForm.rules.lastName.required"],
187
- nationality: [(t) => !!t || "PrebookForm.rules.nationality.required"],
188
- organizationAddress: [
189
- (t) => !this.hasOrganizationDetails || !!t || "PrebookForm.rules.organizationAddress.required"
190
- ],
191
- organizationCity: [
192
- (t) => !this.hasOrganizationDetails || !!t || "PrebookForm.rules.organizationCity.required"
193
- ],
194
- organizationCountry: [
195
- (t) => !this.hasOrganizationDetails || !!t || "PrebookForm.rules.organizationCountry.required"
196
- ],
197
- organizationName: [
198
- (t) => !this.hasOrganizationDetails || !!t || "PrebookForm.rules.organizationName.required"
199
- ],
200
- organizationZipCode: [
201
- (t) => !this.hasOrganizationDetails || !!t || "PrebookForm.rules.organizationZipCode.required"
202
- ]
203
- };
204
- }
205
- },
206
- created() {
207
- for (const t in this.$props)
208
- P.includes(t) && this.$watch(t, (e) => {
209
- this.form[t] = {
210
- readonly: !!e,
211
- value: e || void 0
212
- // SHITTY CODE
213
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
214
- }, t === "emailAddress" && (this.form.emailAddressConfirmation = { ...this.form.emailAddress });
215
- });
216
- },
217
- data() {
218
- const t = P.reduce((e, d) => (e[d] = {
219
- readonly: !1,
220
- value: this.$props[d] || void 0
221
- }, e), {});
222
- return {
223
- bookingIdLocal: this.$props.bookingId || "",
224
- form: Object.assign(t, {
225
- emailAddressConfirmation: {
226
- value: this.$props.emailAddress
227
- }
228
- }),
229
- hasError: !1,
230
- hasOrganization: !1,
231
- isFetching: !1,
232
- isValid: !1,
233
- phonePrefix: ""
234
- };
235
- },
236
- methods: {
237
- // Submit the form to create a booking
238
- createBooking(t) {
239
- return this.isFetching = !0, this.hasError = !1, this.bookingApiClient?.bookings.create({
240
- bookingCreateApi: {
241
- bookingPolicyId: this.bookingPolicyId,
242
- contactPerson: t,
243
- metadata: this.config.metadata,
244
- paymentMethods: [...this.paymentMethodsParsed],
245
- trackingId: this.config.trackingId
246
- }
247
- }).then((e) => {
248
- this.isFetching = !1, this.$eventBus.$emit(h.BookingCreated, e), this.bookingIdLocal = e.id;
249
- }).catch((e) => {
250
- console.error("Cannot create booking:", e), this.isFetching = !1, this.hasError = !0;
251
- }).finally(() => {
252
- this.$eventBus.$emit(h.PrebookForm, {
253
- emailAddress: t.email,
254
- firstName: t.firstName,
255
- lastName: t.lastName,
256
- nationality: t.nationality,
257
- phoneCountry: this.form.phoneCountry.value,
258
- phoneNumber: this.form.phoneNumber.value,
259
- salutation: t.salutation,
260
- specialRequests: t.remarks
261
- });
262
- });
263
- },
264
- edit(t) {
265
- this.form[t]?.readonly && (this.form[t].readonly = !1);
266
- },
267
- onSubmit() {
268
- if (this.$refs.form.validate(), !this.isValid)
269
- return;
270
- const t = {
271
- email: this.form.emailAddress.value,
272
- firstName: this.form.firstName.value,
273
- lang: this.$i18n.locale,
274
- lastName: this.form.lastName.value,
275
- nationality: this.form.nationality.value,
276
- // SHITTY CODE
277
- organization: this.hasOrganizationDetails ? {
278
- address: this.form.organizationAddress.value,
279
- city: this.form.organizationCity.value,
280
- country: this.form.organizationCountry.value,
281
- name: this.form.organizationName.value,
282
- state: this.form.organizationState.value,
283
- vatNumber: this.form.organizationVatNumber.value?.length ? this.form.organizationVatNumber.value : void 0,
284
- zipCode: this.form.organizationZipCode.value
285
- } : void 0,
286
- phone: lt(
287
- this.phonePrefix + this.form.phoneNumber.value
288
- ).format("E.164"),
289
- remarks: this.form.specialRequests.value ? this.form.specialRequests.value.trim() : void 0,
290
- salutation: this.form.salutation.value
291
- };
292
- if (this.bookingIdLocal) {
293
- this.updateBooking(
294
- /* contact */
295
- );
296
- return;
297
- }
298
- return this.createBooking(t);
299
- },
300
- readOnlyProps(t) {
301
- return {
302
- appendOuterIcon: this.form[t]?.readonly ? "fas fa-edit" : void 0,
303
- clearable: !this.form[t]?.readonly,
304
- readonly: this.form[t]?.readonly
305
- };
306
- },
307
- // Get booking and replace form with retrieved data
308
- retrieveBooking() {
309
- this.isFetching = !0, this.hasError = !1;
310
- },
311
- // Update booking with the data of the form
312
- // eslint-disable-next-line no-inline-comments
313
- updateBooking() {
314
- this.isFetching = !0, this.hasError = !1;
315
- },
316
- updatePhoneValue(t) {
317
- this.phonePrefix = t.phonePrefix, this.form.phoneNumber.value = t.phoneNumber, this.form.phoneCountry.value = t.phoneCountry;
318
- }
319
- },
320
- mixins: [
321
- X({
322
- fallbackValue: S,
323
- propsName: "features"
324
- })
325
- ],
326
- mounted() {
327
- this.$refs.form.resetValidation();
328
- },
329
- name: "PrebookForm",
330
- props: dt,
331
- setup() {
332
- const { t } = B();
333
- return {
334
- salutationOptions: T(
335
- () => Object.values(R).map((d) => ({
336
- text: t(`PrebookForm.salutations.${d}`),
337
- value: d
338
- }))
339
- ),
340
- t
341
- };
342
- },
343
- watch: {
344
- bookingId: {
345
- handler(t, e) {
346
- this.bookingIdLocal = t, t && t !== e && this.retrieveBooking();
347
- },
348
- immediate: !0
349
- }
350
- }
351
- });
352
- function A(t) {
353
- const e = t;
354
- e.__i18n = e.__i18n || [], e.__i18n.push({
355
- locale: "",
356
- resource: {
357
- "en-US": {
358
- PrebookForm: {
359
- heading: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Enter your details" } },
360
- emailAddress: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Email Address" } },
361
- emailAddressConfirmation: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Confirm Email Address" } },
362
- error: {
363
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Something went wrong..." } },
364
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Please try again later" } }
365
- },
366
- firstName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "First Name" } },
367
- lastName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Last Name" } },
368
- missingBookingPolicy: {
369
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "No booking policy found" } },
370
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "A valid booking policy ID is required to complete the booking. Please contact support." } }
371
- },
372
- nationality: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nationality" } },
373
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "No results found" } },
374
- organizationAddress: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Address" } },
375
- organizationCity: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "City" } },
376
- organizationCountry: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Country" } },
377
- organizationDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "My organization details (optional)" } },
378
- organizationName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Organization" } },
379
- organizationVatNumber: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "VAT Number" } },
380
- organizationState: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "State" } },
381
- organizationZipCode: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zip Code" } },
382
- rules: {
383
- emailAddress: {
384
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "An email address is required" } },
385
- format: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "The email address is not valid" } }
386
- },
387
- emailAddressConfirmation: {
388
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "You must confirm your email address" } },
389
- match: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "The email addresses do not match" } }
390
- },
391
- firstName: {
392
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "The first name is required" } }
393
- },
394
- lastName: {
395
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "The last name is required" } }
396
- },
397
- nationality: {
398
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "The nationality is required" } }
399
- },
400
- salutation: {
401
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "A title is required" } }
402
- },
403
- organizationName: {
404
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "The organization name is required" } }
405
- },
406
- organizationVatNumber: {
407
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "The organization VAT number is required" } }
408
- },
409
- organizationAddress: {
410
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "The organization address is required" } }
411
- },
412
- organizationZipCode: {
413
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "The organization zip code is required" } }
414
- },
415
- organizationCity: {
416
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "The organization city is required" } }
417
- },
418
- organizationCountry: {
419
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "The organization country is required" } }
420
- },
421
- organizationState: {
422
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "The organization state is required" } }
423
- }
424
- },
425
- salutations: {
426
- dr: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dr." } },
427
- miss: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Miss." } },
428
- mr: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mr." } },
429
- ms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ms." } },
430
- mrs: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mrs." } },
431
- notSpecified: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Not specified" } },
432
- prof: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prof." } }
433
- },
434
- specialRequests: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Special Requests" } },
435
- submit: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Next" } },
436
- salutation: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Title" } },
437
- update: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Update" } }
438
- }
439
- },
440
- "fr-FR": {
441
- PrebookForm: {
442
- heading: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Entrez vos informations" } },
443
- emailAddress: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Adresse e-mail" } },
444
- emailAddressConfirmation: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Confirmez l'adresse e-mail" } },
445
- error: {
446
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Il y a eu un problème..." } },
447
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Réessayez plus tard" } }
448
- },
449
- firstName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prénom" } },
450
- lastName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nom" } },
451
- missingBookingPolicy: {
452
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Booking Policy manquante" } },
453
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Un ID de Booking Policy est nécessaire pour continuer. Veuillez contacter le support." } }
454
- },
455
- nationality: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nationalité" } },
456
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aucun résultat" } },
457
- organizationAddress: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Adresse" } },
458
- organizationCity: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ville" } },
459
- organizationCountry: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pays" } },
460
- organizationDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Information de ma société (facultatif)" } },
461
- organizationName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Organisation" } },
462
- organizationState: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Région" } },
463
- organizationVatNumber: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Numéro de TVA" } },
464
- organizationZipCode: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Code postal" } },
465
- rules: {
466
- emailAddress: {
467
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "L'adresse e-mail est obligatoire" } },
468
- format: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "L'adresse e-mail n'est pas valide" } }
469
- },
470
- emailAddressConfirmation: {
471
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Vous devez confirmer votre adresse e-mail" } },
472
- match: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Les adresses e-mail ne correspondent pas" } }
473
- },
474
- firstName: {
475
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Le prénom est obligatoire" } }
476
- },
477
- lastName: {
478
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Le nom est obligatoire" } }
479
- },
480
- nationality: {
481
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La nationalité est obligatoire" } }
482
- },
483
- salutation: {
484
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Le titre est obligatoire" } }
485
- },
486
- organizationName: {
487
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Le nom de l'organisation est obligatoire" } }
488
- },
489
- organizationVatNumber: {
490
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Le numéro de TVA est obligatoire" } }
491
- },
492
- organizationAddress: {
493
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "L'adresse est obligatoire" } }
494
- },
495
- organizationZipCode: {
496
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Le code postal est obligatoire" } }
497
- },
498
- organizationCity: {
499
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La ville est obligatoire" } }
500
- },
501
- organizationCountry: {
502
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Le pays est obligatoire" } }
503
- },
504
- organizationState: {
505
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La région est obligatoire" } }
506
- }
507
- },
508
- salutations: {
509
- dr: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dr." } },
510
- miss: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mlle." } },
511
- mr: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "M." } },
512
- ms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mlle." } },
513
- mrs: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mme." } },
514
- notSpecified: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Non spécifié" } },
515
- prof: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prof." } }
516
- },
517
- specialRequests: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Requêtes particulières" } },
518
- submit: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Enregistrer" } },
519
- salutation: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Titre" } },
520
- update: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mettre à jour" } }
521
- }
522
- },
523
- "de-DE": {
524
- PrebookForm: {
525
- heading: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Geben Sie Ihre Daten ein" } },
526
- emailAddress: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "E-Mail-Adresse" } },
527
- emailAddressConfirmation: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "E-Mail-Adresse bestätigen" } },
528
- error: {
529
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Etwas ist schief gelaufen..." } },
530
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bitte versuchen Sie es später noch einmal" } }
531
- },
532
- firstName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Vorname" } },
533
- lastName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nachname" } },
534
- missingBookingPolicy: {
535
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Keine Buchungsrichtlinie gefunden" } },
536
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Eine gültige Buchungsrichtlinien-ID ist erforderlich, um die Buchung abzuschließen. Bitte wenden Sie sich an den Support." } }
537
- },
538
- nationality: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Staatsangehörigkeit" } },
539
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Keine Ergebnisse gefunden" } },
540
- organizationAddress: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Adresse" } },
541
- organizationCity: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Stadt" } },
542
- organizationCountry: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Land" } },
543
- organizationDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Meine Organisationsdetails (optional)" } },
544
- organizationName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Organisation" } },
545
- organizationVatNumber: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Umsatzsteuer-Identifikationsnummer" } },
546
- organizationState: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bundesland" } },
547
- organizationZipCode: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Postleitzahl" } },
548
- rules: {
549
- emailAddress: {
550
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Eine E-Mail-Adresse ist erforderlich" } },
551
- format: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Die E-Mail-Adresse ist ungültig" } }
552
- },
553
- emailAddressConfirmation: {
554
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sie müssen Ihre E-Mail-Adresse bestätigen" } },
555
- match: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Die E-Mail-Adressen stimmen nicht überein" } }
556
- },
557
- firstName: {
558
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Der Vorname ist erforderlich" } }
559
- },
560
- lastName: {
561
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Der Nachname ist erforderlich" } }
562
- },
563
- nationality: {
564
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Die Staatsangehörigkeit ist erforderlich" } }
565
- },
566
- salutation: {
567
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ein Titel ist erforderlich" } }
568
- },
569
- organizationName: {
570
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Der Name der Organisation ist erforderlich" } }
571
- },
572
- organizationVatNumber: {
573
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Die Umsatzsteuer-Identifikationsnummer der Organisation ist erforderlich" } }
574
- },
575
- organizationAddress: {
576
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Die Adresse der Organisation ist erforderlich" } }
577
- },
578
- organizationZipCode: {
579
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Die Postleitzahl der Organisation ist erforderlich" } }
580
- },
581
- organizationCity: {
582
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Die Stadt der Organisation ist erforderlich" } }
583
- },
584
- organizationCountry: {
585
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Das Land der Organisation ist erforderlich" } }
586
- },
587
- organizationState: {
588
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Das Bundesland der Organisation ist erforderlich" } }
589
- }
590
- },
591
- salutations: {
592
- dr: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dr." } },
593
- miss: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Fräulein" } },
594
- mr: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Herr" } },
595
- ms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Frau" } },
596
- mrs: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Frau" } },
597
- prof: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prof." } }
598
- },
599
- specialRequests: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Besondere Wünsche" } },
600
- submit: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Weiter" } },
601
- salutation: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Anrede" } },
602
- update: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aktualisieren" } }
603
- }
604
- },
605
- "es-ES": {
606
- PrebookForm: {
607
- heading: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Introduce tus datos" } },
608
- emailAddress: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dirección de correo electrónico" } },
609
- emailAddressConfirmation: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Confirmar dirección de correo electrónico" } },
610
- error: {
611
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Algo salió mal..." } },
612
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, inténtalo de nuevo más tarde" } }
613
- },
614
- firstName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nombre" } },
615
- lastName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Apellidos" } },
616
- missingBookingPolicy: {
617
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "No se encontró la política de reserva" } },
618
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Se requiere un ID de política de reserva válido para completar la reserva. Por favor, contacta con el soporte." } }
619
- },
620
- nationality: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nacionalidad" } },
621
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "No se encontraron resultados" } },
622
- organizationAddress: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dirección" } },
623
- organizationCity: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ciudad" } },
624
- organizationCountry: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "País" } },
625
- organizationDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Datos de mi organización (opcional)" } },
626
- organizationName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Organización" } },
627
- organizationVatNumber: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Número de IVA" } },
628
- organizationState: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Provincia" } },
629
- organizationZipCode: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Código Postal" } },
630
- rules: {
631
- emailAddress: {
632
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Se requiere una dirección de correo electrónico" } },
633
- format: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La dirección de correo electrónico no es válida" } }
634
- },
635
- emailAddressConfirmation: {
636
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Debes confirmar tu dirección de correo electrónico" } },
637
- match: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Las direcciones de correo electrónico no coinciden" } }
638
- },
639
- firstName: {
640
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "El nombre es obligatorio" } }
641
- },
642
- lastName: {
643
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Los apellidos son obligatorios" } }
644
- },
645
- nationality: {
646
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La nacionalidad es obligatoria" } }
647
- },
648
- salutation: {
649
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Se requiere un título" } }
650
- },
651
- organizationName: {
652
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "El nombre de la organización es obligatorio" } }
653
- },
654
- organizationVatNumber: {
655
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "El número de IVA de la organización es obligatorio" } }
656
- },
657
- organizationAddress: {
658
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La dirección de la organización es obligatoria" } }
659
- },
660
- organizationZipCode: {
661
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "El código postal de la organización es obligatorio" } }
662
- },
663
- organizationCity: {
664
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La ciudad de la organización es obligatoria" } }
665
- },
666
- organizationCountry: {
667
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "El país de la organización es obligatorio" } }
668
- },
669
- organizationState: {
670
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La provincia de la organización es obligatoria" } }
671
- }
672
- },
673
- salutations: {
674
- dr: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dr." } },
675
- miss: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Srta." } },
676
- mr: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sr." } },
677
- ms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Srta." } },
678
- mrs: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sra." } },
679
- prof: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prof." } }
680
- },
681
- specialRequests: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Peticiones especiales" } },
682
- submit: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Siguiente" } },
683
- salutation: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Título" } },
684
- update: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Actualizar" } }
685
- }
686
- },
687
- "it-IT": {
688
- PrebookForm: {
689
- heading: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Inserisci i tuoi dati" } },
690
- emailAddress: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Indirizzo email" } },
691
- emailAddressConfirmation: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Conferma indirizzo email" } },
692
- error: {
693
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Qualcosa è andato storto..." } },
694
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Riprova più tardi" } }
695
- },
696
- firstName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nome" } },
697
- lastName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cognome" } },
698
- missingBookingPolicy: {
699
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nessuna politica di prenotazione trovata" } },
700
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "È richiesto un ID politica di prenotazione valido per completare la prenotazione. Si prega di contattare il supporto." } }
701
- },
702
- nationality: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nazionalità" } },
703
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nessun risultato trovato" } },
704
- organizationAddress: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Indirizzo" } },
705
- organizationCity: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Città" } },
706
- organizationCountry: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Paese" } },
707
- organizationDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dettagli della mia azienda (facoltativo)" } },
708
- organizationName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Azienda" } },
709
- organizationVatNumber: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Partita IVA" } },
710
- organizationState: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Provincia" } },
711
- organizationZipCode: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "CAP" } },
712
- rules: {
713
- emailAddress: {
714
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "È richiesto un indirizzo email" } },
715
- format: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "L'indirizzo email non è valido" } }
716
- },
717
- emailAddressConfirmation: {
718
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Devi confermare il tuo indirizzo email" } },
719
- match: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Gli indirizzi email non corrispondono" } }
720
- },
721
- firstName: {
722
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Il nome è obbligatorio" } },
723
- maxlength: { t: 0, b: { t: 2, i: [{ t: 3, v: "Il nome non può superare i " }, { t: 4, k: "count" }, { t: 3, v: " caratteri" }] } }
724
- },
725
- lastName: {
726
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Il cognome è obbligatorio" } }
727
- },
728
- nationality: {
729
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La nazionalità è obbligatoria" } }
730
- },
731
- salutation: {
732
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "È richiesto un titolo" } }
733
- },
734
- organizationName: {
735
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Il nome dell'azienda è obbligatorio" } }
736
- },
737
- organizationVatNumber: {
738
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La partita IVA dell'azienda è obbligatoria" } }
739
- },
740
- organizationAddress: {
741
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "L'indirizzo dell'azienda è obbligatorio" } }
742
- },
743
- organizationZipCode: {
744
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Il CAP dell'azienda è obbligatorio" } }
745
- },
746
- organizationCity: {
747
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La città dell'azienda è obbligatoria" } }
748
- },
749
- organizationCountry: {
750
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Il paese dell'azienda è obbligatorio" } }
751
- },
752
- organizationState: {
753
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La provincia dell'azienda è obbligatoria" } }
754
- }
755
- },
756
- salutations: {
757
- dr: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dott." } },
758
- miss: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Signorina" } },
759
- mr: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sig." } },
760
- ms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Signorina" } },
761
- mrs: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sig.ra" } },
762
- prof: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prof." } }
763
- },
764
- specialRequests: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Richieste speciali" } },
765
- submit: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Avanti" } },
766
- salutation: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Titolo" } },
767
- update: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aggiorna" } }
768
- }
769
- },
770
- "nl-NL": {
771
- PrebookForm: {
772
- heading: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Vul uw gegevens in" } },
773
- emailAddress: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "E-mailadres" } },
774
- emailAddressConfirmation: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bevestig e-mailadres" } },
775
- error: {
776
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Er is iets misgegaan..." } },
777
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Probeer het later opnieuw" } }
778
- },
779
- firstName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Voornaam" } },
780
- lastName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Achternaam" } },
781
- missingBookingPolicy: {
782
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Geen boekingsbeleid gevonden" } },
783
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Een geldige boekingsbeleid-ID is vereist om de boeking te voltooien. Neem contact op met de klantenservice." } }
784
- },
785
- nationality: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nationaliteit" } },
786
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Geen resultaten gevonden" } },
787
- organizationAddress: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Adres" } },
788
- organizationCity: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Plaats" } },
789
- organizationCountry: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Land" } },
790
- organizationDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mijn organisatiegegevens (optioneel)" } },
791
- organizationName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Organisatie" } },
792
- organizationVatNumber: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Btw-nummer" } },
793
- organizationState: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Provincie" } },
794
- organizationZipCode: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Postcode" } },
795
- rules: {
796
- emailAddress: {
797
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Een e-mailadres is vereist" } },
798
- format: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Het e-mailadres is ongeldig" } }
799
- },
800
- emailAddressConfirmation: {
801
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "U moet uw e-mailadres bevestigen" } },
802
- match: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "De e-mailadressen komen niet overeen" } }
803
- },
804
- firstName: {
805
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "De voornaam is vereist" } }
806
- },
807
- lastName: {
808
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "De achternaam is vereist" } }
809
- },
810
- nationality: {
811
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "De nationaliteit is vereist" } }
812
- },
813
- salutation: {
814
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Een aanhef is vereist" } }
815
- },
816
- organizationName: {
817
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "De naam van de organisatie is vereist" } }
818
- },
819
- organizationVatNumber: {
820
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Het btw-nummer van de organisatie is vereist" } }
821
- },
822
- organizationAddress: {
823
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Het adres van de organisatie is vereist" } }
824
- },
825
- organizationZipCode: {
826
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "De postcode van de organisatie is vereist" } }
827
- },
828
- organizationCity: {
829
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "De plaats van de organisatie is vereist" } }
830
- },
831
- organizationCountry: {
832
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Het land van de organisatie is vereist" } }
833
- },
834
- organizationState: {
835
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "De provincie van de organisatie is vereist" } }
836
- }
837
- },
838
- salutations: {
839
- dr: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dr." } },
840
- miss: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mej." } },
841
- mr: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dhr." } },
842
- ms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mw." } },
843
- mrs: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mevr." } },
844
- prof: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prof." } }
845
- },
846
- specialRequests: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Speciale verzoeken" } },
847
- submit: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Volgende" } },
848
- salutation: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aanhef" } },
849
- update: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bijwerken" } }
850
- }
851
- },
852
- "pt-PT": {
853
- PrebookForm: {
854
- heading: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Introduza os seus dados" } },
855
- emailAddress: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Endereço de e-mail" } },
856
- emailAddressConfirmation: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Confirmar endereço de e-mail" } },
857
- error: {
858
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Algo correu mal..." } },
859
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, tente novamente mais tarde" } }
860
- },
861
- firstName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Primeiro Nome" } },
862
- lastName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Apelido" } },
863
- missingBookingPolicy: {
864
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Política de reserva não encontrada" } },
865
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "É necessário um ID de política de reserva válido para concluir a reserva. Por favor, contacte o suporte." } }
866
- },
867
- nationality: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nacionalidade" } },
868
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nenhum resultado encontrado" } },
869
- organizationAddress: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Morada" } },
870
- organizationCity: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cidade" } },
871
- organizationCountry: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "País" } },
872
- organizationDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Detalhes da minha organização (opcional)" } },
873
- organizationName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Organização" } },
874
- organizationVatNumber: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Número de IVA" } },
875
- organizationState: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Distrito" } },
876
- organizationZipCode: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Código Postal" } },
877
- rules: {
878
- emailAddress: {
879
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "É necessário um endereço de e-mail" } },
880
- format: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "O endereço de e-mail não é válido" } }
881
- },
882
- emailAddressConfirmation: {
883
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Tem de confirmar o seu endereço de e-mail" } },
884
- match: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Os endereços de e-mail não correspondem" } }
885
- },
886
- firstName: {
887
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "O primeiro nome é obrigatório" } }
888
- },
889
- lastName: {
890
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "O apelido é obrigatório" } }
891
- },
892
- nationality: {
893
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "A nacionalidade é obrigatória" } }
894
- },
895
- salutation: {
896
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "É necessário um título" } }
897
- },
898
- organizationName: {
899
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "O nome da organização é obrigatório" } }
900
- },
901
- organizationVatNumber: {
902
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "O número de IVA da organização é obrigatório" } }
903
- },
904
- organizationAddress: {
905
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "A morada da organização é obrigatória" } }
906
- },
907
- organizationZipCode: {
908
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "O código postal da organização é obrigatório" } }
909
- },
910
- organizationCity: {
911
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "A cidade da organização é obrigatória" } }
912
- },
913
- organizationCountry: {
914
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "O país da organização é obrigatório" } }
915
- },
916
- organizationState: {
917
- required: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "O distrito da organização é obrigatório" } }
918
- }
919
- },
920
- salutations: {
921
- dr: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dr." } },
922
- miss: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Menina" } },
923
- mr: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sr." } },
924
- ms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sra." } },
925
- mrs: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sra." } },
926
- prof: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prof." } }
927
- },
928
- specialRequests: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pedidos especiais" } },
929
- submit: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Seguinte" } },
930
- salutation: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Título" } },
931
- update: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Atualizar" } }
932
- }
933
- }
934
- }
935
- });
936
- }
937
- const ut = ["alt", "src"], mt = { class: "mx-2" }, bt = ["alt", "src"], gt = { class: "mx-2" };
938
- function pt(t, e, d, b, ft, zt) {
939
- const D = c("BookingDetailsSidebar"), E = c("BPhoneInput"), F = c("BErrorOverlay");
940
- return f(), g(u, {
941
- class: "justify-center",
942
- dense: ""
943
- }, {
944
- default: a(() => [
945
- t.parsedFeatures.BookingDetails && t.hotelRoomOffer ? (f(), g(s, {
946
- key: 0,
947
- cols: "12",
948
- lg: "4",
949
- sm: "5",
950
- xl: "4"
951
- }, {
952
- default: a(() => [
953
- o(D, {
954
- "adult-count": t.adultCount,
955
- "check-in-date": t.checkInDate,
956
- "check-out-date": t.checkOutDate,
957
- "hotel-room-offer": t.hotelRoomOffer
958
- }, null, 8, ["adult-count", "check-in-date", "check-out-date", "hotel-room-offer"])
959
- ]),
960
- _: 1
961
- })) : z("", !0),
962
- o(s, {
963
- cols: "12",
964
- lg: "8",
965
- sm: "7",
966
- xl: "8"
967
- }, {
968
- default: a(() => [
969
- o(x, {
970
- elevation: "0",
971
- border: ""
972
- }, {
973
- default: a(() => [
974
- o(_, { class: "pb-2" }, {
975
- default: a(() => [
976
- p("h5", null, r(t.t("PrebookForm.heading")), 1)
977
- ]),
978
- _: 1
979
- }),
980
- o(et),
981
- o(tt, null, {
982
- default: a(() => [
983
- o(it, {
984
- id: "prebook-form",
985
- ref: "form",
986
- modelValue: t.isValid,
987
- "onUpdate:modelValue": e[30] || (e[30] = (i) => t.isValid = i),
988
- class: "w-100"
989
- }, {
990
- default: a(() => [
991
- t.hasError ? (f(), g(u, { key: 0 }, {
992
- default: a(() => [
993
- o(s, null, {
994
- default: a(() => [
995
- o(at, {
996
- variant: "outlined",
997
- type: "error"
998
- }, {
999
- default: a(() => [
1000
- n(r(t.t("PrebookForm.error.title")) + " " + r(t.t("PrebookForm.error.description")), 1)
1001
- ]),
1002
- _: 1
1003
- })
1004
- ]),
1005
- _: 1
1006
- })
1007
- ]),
1008
- _: 1
1009
- })) : z("", !0),
1010
- o(u, { "no-gutters": "" }, {
1011
- default: a(() => [
1012
- o(s, {
1013
- cols: "12",
1014
- md: "4",
1015
- xl: "2"
1016
- }, {
1017
- default: a(() => [
1018
- o(ot, l({
1019
- modelValue: t.form.salutation.value,
1020
- "onUpdate:modelValue": e[0] || (e[0] = (i) => t.form.salutation.value = i)
1021
- }, t.readOnlyProps("salutation"), {
1022
- density: "compact",
1023
- items: t.salutationOptions,
1024
- label: t.t("PrebookForm.salutation"),
1025
- variant: "outlined",
1026
- "item-title": "text",
1027
- "onClick:append": e[1] || (e[1] = (i) => t.edit("salutation"))
1028
- }), {
1029
- message: a(({ message: i }) => [
1030
- n(r(t.t(i)), 1)
1031
- ]),
1032
- _: 1
1033
- }, 16, ["modelValue", "items", "label"])
1034
- ]),
1035
- _: 1
1036
- }),
1037
- o(s, {
1038
- class: "pl-md-1",
1039
- cols: "12",
1040
- md: "4",
1041
- xl: "5"
1042
- }, {
1043
- default: a(() => [
1044
- o(m, l({
1045
- modelValue: t.form.firstName.value,
1046
- "onUpdate:modelValue": e[2] || (e[2] = (i) => t.form.firstName.value = i)
1047
- }, t.readOnlyProps("firstName"), {
1048
- autocomplete: "",
1049
- density: "compact",
1050
- label: t.t("PrebookForm.firstName"),
1051
- name: "firstName",
1052
- variant: "outlined",
1053
- rules: t.rules.firstName,
1054
- "onClick:append": e[3] || (e[3] = (i) => t.edit("firstName"))
1055
- }), {
1056
- message: a(({ message: i }) => [
1057
- n(r(t.t(i)), 1)
1058
- ]),
1059
- _: 1
1060
- }, 16, ["modelValue", "label", "rules"])
1061
- ]),
1062
- _: 1
1063
- }),
1064
- o(s, {
1065
- class: "pl-md-1",
1066
- cols: "12",
1067
- md: "4",
1068
- xl: "5"
1069
- }, {
1070
- default: a(() => [
1071
- o(m, l({
1072
- modelValue: t.form.lastName.value,
1073
- "onUpdate:modelValue": e[4] || (e[4] = (i) => t.form.lastName.value = i),
1074
- autocomplete: ""
1075
- }, t.readOnlyProps("lastName"), {
1076
- density: "compact",
1077
- label: t.t("PrebookForm.lastName"),
1078
- name: "lastName",
1079
- variant: "outlined",
1080
- rules: t.rules.lastName,
1081
- "onClick:append": e[5] || (e[5] = (i) => t.edit("lastName"))
1082
- }), {
1083
- message: a(({ message: i }) => [
1084
- n(r(t.t(i)), 1)
1085
- ]),
1086
- _: 1
1087
- }, 16, ["modelValue", "label", "rules"])
1088
- ]),
1089
- _: 1
1090
- })
1091
- ]),
1092
- _: 1
1093
- }),
1094
- o(u, { "no-gutters": "" }, {
1095
- default: a(() => [
1096
- o(s, null, {
1097
- default: a(() => [
1098
- o(m, l({
1099
- modelValue: t.form.emailAddress.value,
1100
- "onUpdate:modelValue": e[6] || (e[6] = (i) => t.form.emailAddress.value = i),
1101
- autocomplete: "on",
1102
- autocompletetype: "email"
1103
- }, t.readOnlyProps("emailAddress"), {
1104
- density: "compact",
1105
- label: t.t("PrebookForm.emailAddress"),
1106
- name: "email",
1107
- variant: "outlined",
1108
- rules: t.rules.emailAddress,
1109
- "onClick:append": e[7] || (e[7] = (i) => t.edit("emailAddress"))
1110
- }), {
1111
- message: a(({ message: i }) => [
1112
- n(r(t.t(i)), 1)
1113
- ]),
1114
- _: 1
1115
- }, 16, ["modelValue", "label", "rules"])
1116
- ]),
1117
- _: 1
1118
- })
1119
- ]),
1120
- _: 1
1121
- }),
1122
- o(u, { "no-gutters": "" }, {
1123
- default: a(() => [
1124
- o(s, null, {
1125
- default: a(() => [
1126
- o(m, l({
1127
- ref: "email-confirmation",
1128
- modelValue: t.form.emailAddressConfirmation.value,
1129
- "onUpdate:modelValue": e[8] || (e[8] = (i) => t.form.emailAddressConfirmation.value = i)
1130
- }, t.readOnlyProps("emailAddress"), {
1131
- autocomplete: "on",
1132
- autocompletetype: "email",
1133
- density: "compact",
1134
- label: t.t("PrebookForm.emailAddressConfirmation"),
1135
- name: "verify-email",
1136
- variant: "outlined",
1137
- rules: t.rules.emailAddressConfirmation,
1138
- "onClick:append": e[9] || (e[9] = (i) => t.edit("emailAddress"))
1139
- }), {
1140
- message: a(({ message: i }) => [
1141
- n(r(t.t(i)), 1)
1142
- ]),
1143
- _: 1
1144
- }, 16, ["modelValue", "label", "rules"])
1145
- ]),
1146
- _: 1
1147
- })
1148
- ]),
1149
- _: 1
1150
- }),
1151
- o(u, { "no-gutters": "" }, {
1152
- default: a(() => [
1153
- o(s, null, {
1154
- default: a(() => [
1155
- o(E, {
1156
- "phone-country": t.form.phoneCountry.value,
1157
- "phone-number": t.form.phoneNumber.value,
1158
- readonly: t.form.phoneNumber.readonly,
1159
- onInput: e[10] || (e[10] = (i) => t.updatePhoneValue(i))
1160
- }, null, 8, ["phone-country", "phone-number", "readonly"])
1161
- ]),
1162
- _: 1
1163
- })
1164
- ]),
1165
- _: 1
1166
- }),
1167
- o(u, { "no-gutters": "" }, {
1168
- default: a(() => [
1169
- o(s, null, {
1170
- default: a(() => [
1171
- o(N, l({
1172
- ref: "nationality-menu",
1173
- modelValue: t.form.nationality.value,
1174
- "onUpdate:modelValue": e[11] || (e[11] = (i) => t.form.nationality.value = i)
1175
- }, t.readOnlyProps("nationality"), {
1176
- autocomplete: "on",
1177
- density: "compact",
1178
- "item-title": "name",
1179
- "item-value": "iso2",
1180
- items: t.countryList,
1181
- label: t.t("PrebookForm.nationality"),
1182
- name: "nationality",
1183
- "no-data-text": t.t("PrebookForm.noDataText"),
1184
- variant: "outlined",
1185
- rules: t.rules.nationality,
1186
- "onClick:append": e[12] || (e[12] = (i) => t.edit("nationality"))
1187
- }), {
1188
- message: a(({ message: i }) => [
1189
- n(r(t.t(i)), 1)
1190
- ]),
1191
- item: a(({ item: i, props: y }) => [
1192
- o(k, v(C(y)), {
1193
- title: a(() => [
1194
- p("img", {
1195
- alt: i.raw.iso2,
1196
- src: i.raw.icon,
1197
- width: "20"
1198
- }, null, 8, ut),
1199
- p("span", mt, r(i.raw.name), 1)
1200
- ]),
1201
- _: 2
1202
- }, 1040)
1203
- ]),
1204
- _: 1
1205
- }, 16, ["modelValue", "items", "label", "no-data-text", "rules"])
1206
- ]),
1207
- _: 1
1208
- })
1209
- ]),
1210
- _: 1
1211
- }),
1212
- o(u, { "no-gutters": "" }, {
1213
- default: a(() => [
1214
- o(s, null, {
1215
- default: a(() => [
1216
- o(J, l({
1217
- modelValue: t.form.specialRequests.value,
1218
- "onUpdate:modelValue": e[13] || (e[13] = (i) => t.form.specialRequests.value = i)
1219
- }, t.readOnlyProps("specialRequests"), {
1220
- density: "compact",
1221
- label: t.t("PrebookForm.specialRequests"),
1222
- variant: "outlined",
1223
- rows: "3",
1224
- "onClick:append": e[14] || (e[14] = (i) => t.edit("specialRequests"))
1225
- }), null, 16, ["modelValue", "label"])
1226
- ]),
1227
- _: 1
1228
- })
1229
- ]),
1230
- _: 1
1231
- }),
1232
- o(u, { "no-gutters": "" }, {
1233
- default: a(() => [
1234
- o(s, {
1235
- class: "d-flex justify-center",
1236
- cols: "12"
1237
- }, {
1238
- default: a(() => [
1239
- o(q, {
1240
- color: "primary",
1241
- elevation: "0",
1242
- variant: "plain",
1243
- size: "x-large",
1244
- onClick: e[15] || (e[15] = (i) => t.hasOrganization = !t.hasOrganization)
1245
- }, {
1246
- default: a(() => [
1247
- n(r(t.t("PrebookForm.organizationDetails")) + " ", 1),
1248
- o(st, {
1249
- class: "ml-2",
1250
- color: "primary"
1251
- }, {
1252
- default: a(() => [
1253
- n(r(t.hasOrganization ? "fas fa-chevron-up" : "fas fa-chevron-down"), 1)
1254
- ]),
1255
- _: 1
1256
- })
1257
- ]),
1258
- _: 1
1259
- })
1260
- ]),
1261
- _: 1
1262
- })
1263
- ]),
1264
- _: 1
1265
- }),
1266
- t.hasOrganization ? (f(), g(u, {
1267
- key: 1,
1268
- "no-gutters": ""
1269
- }, {
1270
- default: a(() => [
1271
- o(s, { cols: "12" }, {
1272
- default: a(() => [
1273
- o(m, l({
1274
- modelValue: t.form.organizationName.value,
1275
- "onUpdate:modelValue": e[16] || (e[16] = (i) => t.form.organizationName.value = i),
1276
- autocomplete: ""
1277
- }, t.readOnlyProps("organizationName"), {
1278
- density: "compact",
1279
- label: t.t("PrebookForm.organizationName"),
1280
- name: "organizationName",
1281
- variant: "outlined",
1282
- rules: t.rules.organizationName,
1283
- "onClick:append": e[17] || (e[17] = (i) => t.edit("organizationName"))
1284
- }), {
1285
- message: a(({ message: i }) => [
1286
- n(r(t.t(i)), 1)
1287
- ]),
1288
- _: 1
1289
- }, 16, ["modelValue", "label", "rules"])
1290
- ]),
1291
- _: 1
1292
- }),
1293
- o(s, { cols: "12" }, {
1294
- default: a(() => [
1295
- o(m, l({
1296
- modelValue: t.form.organizationVatNumber.value,
1297
- "onUpdate:modelValue": e[18] || (e[18] = (i) => t.form.organizationVatNumber.value = i),
1298
- autocomplete: ""
1299
- }, t.readOnlyProps("organizationVatNumber"), {
1300
- density: "compact",
1301
- label: t.t("PrebookForm.organizationVatNumber"),
1302
- name: "organizationVatNumber",
1303
- variant: "outlined",
1304
- "onClick:append": e[19] || (e[19] = (i) => t.edit("organizationVatNumber"))
1305
- }), {
1306
- message: a(({ message: i }) => [
1307
- n(r(t.t(i)), 1)
1308
- ]),
1309
- _: 1
1310
- }, 16, ["modelValue", "label"])
1311
- ]),
1312
- _: 1
1313
- }),
1314
- o(s, { cols: "12" }, {
1315
- default: a(() => [
1316
- o(m, l({
1317
- modelValue: t.form.organizationAddress.value,
1318
- "onUpdate:modelValue": e[20] || (e[20] = (i) => t.form.organizationAddress.value = i),
1319
- autocomplete: ""
1320
- }, t.readOnlyProps("organizationAddress"), {
1321
- density: "compact",
1322
- label: t.t("PrebookForm.organizationAddress"),
1323
- name: "organizationAddress",
1324
- variant: "outlined",
1325
- rules: t.rules.organizationAddress,
1326
- "onClick:append": e[21] || (e[21] = (i) => t.edit("organizationAddress"))
1327
- }), {
1328
- message: a(({ message: i }) => [
1329
- n(r(t.t(i)), 1)
1330
- ]),
1331
- _: 1
1332
- }, 16, ["modelValue", "label", "rules"])
1333
- ]),
1334
- _: 1
1335
- }),
1336
- o(s, {
1337
- cols: "12",
1338
- md: "4"
1339
- }, {
1340
- default: a(() => [
1341
- o(m, l({
1342
- modelValue: t.form.organizationCity.value,
1343
- "onUpdate:modelValue": e[22] || (e[22] = (i) => t.form.organizationCity.value = i),
1344
- autocomplete: ""
1345
- }, t.readOnlyProps("organizationCity"), {
1346
- density: "compact",
1347
- label: t.t("PrebookForm.organizationCity"),
1348
- name: "organizationCity",
1349
- variant: "outlined",
1350
- rules: t.rules.organizationCity,
1351
- "onClick:append": e[23] || (e[23] = (i) => t.edit("organizationCity"))
1352
- }), {
1353
- message: a(({ message: i }) => [
1354
- n(r(t.t(i)), 1)
1355
- ]),
1356
- _: 1
1357
- }, 16, ["modelValue", "label", "rules"])
1358
- ]),
1359
- _: 1
1360
- }),
1361
- o(s, {
1362
- class: "pl-md-1",
1363
- cols: "12",
1364
- md: "4"
1365
- }, {
1366
- default: a(() => [
1367
- o(m, l({
1368
- modelValue: t.form.organizationState.value,
1369
- "onUpdate:modelValue": e[24] || (e[24] = (i) => t.form.organizationState.value = i),
1370
- autocomplete: ""
1371
- }, t.readOnlyProps("organizationState"), {
1372
- density: "compact",
1373
- label: t.t("PrebookForm.organizationState"),
1374
- name: "organizationState",
1375
- variant: "outlined",
1376
- rules: t.rules.organizationState,
1377
- "onClick:append": e[25] || (e[25] = (i) => t.edit("organizationState"))
1378
- }), {
1379
- message: a(({ message: i }) => [
1380
- n(r(t.t(i)), 1)
1381
- ]),
1382
- _: 1
1383
- }, 16, ["modelValue", "label", "rules"])
1384
- ]),
1385
- _: 1
1386
- }),
1387
- o(s, {
1388
- class: "pl-md-1",
1389
- cols: "12",
1390
- md: "4"
1391
- }, {
1392
- default: a(() => [
1393
- o(m, l({
1394
- modelValue: t.form.organizationZipCode.value,
1395
- "onUpdate:modelValue": e[26] || (e[26] = (i) => t.form.organizationZipCode.value = i),
1396
- autocomplete: ""
1397
- }, t.readOnlyProps("organizationZipCode"), {
1398
- density: "compact",
1399
- label: t.t("PrebookForm.organizationZipCode"),
1400
- name: "organizationZipCode",
1401
- variant: "outlined",
1402
- rules: t.rules.organizationZipCode,
1403
- "onClick:append": e[27] || (e[27] = (i) => t.edit("organizationZipCode"))
1404
- }), {
1405
- message: a(({ message: i }) => [
1406
- n(r(t.t(i)), 1)
1407
- ]),
1408
- _: 1
1409
- }, 16, ["modelValue", "label", "rules"])
1410
- ]),
1411
- _: 1
1412
- }),
1413
- o(s, { cols: "12" }, {
1414
- default: a(() => [
1415
- o(N, l({
1416
- ref: "organization-country-menu",
1417
- modelValue: t.form.organizationCountry.value,
1418
- "onUpdate:modelValue": e[28] || (e[28] = (i) => t.form.organizationCountry.value = i)
1419
- }, t.readOnlyProps("organizationCountry"), {
1420
- autocomplete: "on",
1421
- density: "compact",
1422
- "item-title": "name",
1423
- "item-value": "iso2",
1424
- items: t.countryList,
1425
- label: t.t("PrebookForm.organizationCountry"),
1426
- name: "organizationCountry",
1427
- "no-data-text": t.t("PrebookForm.noDataText"),
1428
- variant: "outlined",
1429
- rules: t.rules.organizationCountry,
1430
- "onClick:append": e[29] || (e[29] = (i) => t.edit("organizationCountry"))
1431
- }), {
1432
- message: a(({ message: i }) => [
1433
- n(r(t.t(i)), 1)
1434
- ]),
1435
- item: a(({ item: i, props: y }) => [
1436
- o(k, v(C(y)), {
1437
- title: a(() => [
1438
- p("img", {
1439
- alt: i.raw.iso2,
1440
- src: i.raw.icon,
1441
- width: "20"
1442
- }, null, 8, bt),
1443
- p("span", gt, r(i.raw.name), 1)
1444
- ]),
1445
- _: 2
1446
- }, 1040)
1447
- ]),
1448
- _: 1
1449
- }, 16, ["modelValue", "items", "label", "no-data-text", "rules"])
1450
- ]),
1451
- _: 1
1452
- })
1453
- ]),
1454
- _: 1
1455
- })) : z("", !0),
1456
- o(u, { justify: "end" }, {
1457
- default: a(() => [
1458
- o(s, { cols: "auto" }, {
1459
- default: a(() => [
1460
- o(q, {
1461
- class: "text-none font-weight-bold",
1462
- color: "primary",
1463
- onClick: t.onSubmit
1464
- }, {
1465
- default: a(() => [
1466
- n(r(t.t(
1467
- t.bookingIdLocal ? "PrebookForm.update" : "PrebookForm.submit"
1468
- )), 1)
1469
- ]),
1470
- _: 1
1471
- }, 8, ["onClick"])
1472
- ]),
1473
- _: 1
1474
- })
1475
- ]),
1476
- _: 1
1477
- }),
1478
- o(H, {
1479
- class: "d-flex align-center justify-center",
1480
- absolute: "",
1481
- opacity: "0.2",
1482
- "model-value": t.isFetching,
1483
- contained: ""
1484
- }, {
1485
- default: a(() => [
1486
- o(rt, {
1487
- color: "primary",
1488
- indeterminate: "",
1489
- size: "64"
1490
- })
1491
- ]),
1492
- _: 1
1493
- }, 8, ["model-value"]),
1494
- t.bookingPolicyId ? z("", !0) : (f(), g(F, { key: 2 }, {
1495
- title: a(() => [
1496
- n(r(t.t("PrebookForm.missingBookingPolicy.title")), 1)
1497
- ]),
1498
- description: a(() => [
1499
- n(r(t.t("PrebookForm.missingBookingPolicy.description")), 1)
1500
- ]),
1501
- _: 1
1502
- }))
1503
- ]),
1504
- _: 1
1505
- }, 8, ["modelValue"])
1506
- ]),
1507
- _: 1
1508
- })
1509
- ]),
1510
- _: 1
1511
- })
1512
- ]),
1513
- _: 1
1514
- })
1515
- ]),
1516
- _: 1
1517
- });
1518
- }
1519
- typeof A == "function" && A(O);
1520
- const Lt = /* @__PURE__ */ G(O, [["render", pt], ["__scopeId", "data-v-1ea99340"]]);
1521
- I("css/revolugo.prebookform.DmCR7hLv.css");
1522
- export {
1523
- S as P,
1524
- Lt as a,
1525
- dt as p
1526
- };
1527
- //# sourceMappingURL=revolugo.prebookform.DT2QXZUm.min.js.map