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