@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,24 +0,0 @@
1
- import { p, a as s } from "./revolugo.prebookform.DT2QXZUm.min.js";
2
- import { W as t, _ as a } from "./revolugo.webcomponentwrapper.DipHFVeJ.min.js";
3
- import { d as m, c, w as _, a as f, n as i, h as l, r as o, o as b } from "./revolugo.index.wc.BmAtoZjo.min.js";
4
- const d = m({
5
- components: {
6
- PrebookForm: s,
7
- WebComponentWrapper: t
8
- },
9
- props: p
10
- });
11
- function u(e, k, P, W, C, F) {
12
- const r = o("PrebookForm", !0), n = o("WebComponentWrapper");
13
- return b(), c(n, null, {
14
- default: _(() => [
15
- f(r, i(l(e.$props)), null, 16)
16
- ]),
17
- _: 1
18
- });
19
- }
20
- const v = /* @__PURE__ */ a(d, [["render", u]]);
21
- export {
22
- v as default
23
- };
24
- //# sourceMappingURL=revolugo.prebookform.Dk1v8qZ9.min.js.map
@@ -1,24 +0,0 @@
1
- import { p as s, P as p } from "./revolugo.preferencesmenu.DsDw7iXm.min.js";
2
- import { W as t, _ as a } from "./revolugo.webcomponentwrapper.DipHFVeJ.min.js";
3
- import { d as c, c as f, w as m, a as u, n as _, h as i, r as e, o as l } from "./revolugo.index.wc.BmAtoZjo.min.js";
4
- const d = c({
5
- components: {
6
- PreferencesMenu: p,
7
- WebComponentWrapper: t
8
- },
9
- props: s
10
- });
11
- function P(n, W, C, M, $, b) {
12
- const r = e("PreferencesMenu", !0), o = e("WebComponentWrapper");
13
- return l(), f(o, null, {
14
- default: m(() => [
15
- u(r, _(i(n.$props)), null, 16)
16
- ]),
17
- _: 1
18
- });
19
- }
20
- const v = /* @__PURE__ */ a(d, [["render", P]]);
21
- export {
22
- v as default
23
- };
24
- //# sourceMappingURL=revolugo.preferencesmenu.BhDjryBC.min.js.map
@@ -1,261 +0,0 @@
1
- import { d as h, u as E, c4 as L, c5 as v, c6 as S, i as u, a as t, w as n, r as i, D as V, e as p, t as M, o as f } from "./revolugo.index.wc.BmAtoZjo.min.js";
2
- import { a as _, C as b } from "./revolugo.currencypickerbtn.54OJeTC0.min.js";
3
- import { L as B } from "./revolugo.langpickerbtn.BS-VKFY1.min.js";
4
- import { p as w } from "./revolugo.parsed-props.z2aR0x9r.min.js";
5
- import { _ as O, V as m, a as g } from "./revolugo.webcomponentwrapper.DipHFVeJ.min.js";
6
- import { V as T, a as R } from "./revolugo.vcard.BhFz1a7-.min.js";
7
- import { a as U } from "./revolugo.vbtn.D-1pZWJQ.min.js";
8
- import { h as N, f as $ } from "./revolugo.index.q2k-tLa2.min.js";
9
- import { V as D } from "./revolugo.vmenu.C2Y9H_mH.min.js";
10
- function C(e) {
11
- try {
12
- if (typeof document < "u") {
13
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
14
- sheets: [],
15
- components: []
16
- };
17
- const o = import.meta.url, a = o.slice(0, o.lastIndexOf("/") + 1) + e;
18
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(a);
19
- for (const l of REVOLUGO_ELEMENTS_STYLES.components)
20
- l(a);
21
- if (e.indexOf("fonts") >= 0) {
22
- const l = document.createElement("link");
23
- l.rel = "stylesheet", linK.href = a, document.head.appendChild(l);
24
- }
25
- }
26
- } catch (o) {
27
- console.error("[revolugo-elements] ", o);
28
- }
29
- }
30
- var s = /* @__PURE__ */ ((e) => (e.Top = "top", e.Bottom = "bottom", e.Left = "left", e.Right = "right", e))(s || {});
31
- const I = {
32
- block: {
33
- default: !1,
34
- type: Boolean
35
- },
36
- color: {
37
- default: "secondary",
38
- type: String
39
- },
40
- compact: {
41
- default: !1,
42
- type: Boolean
43
- },
44
- direction: {
45
- default: "top",
46
- type: String
47
- }
48
- }, y = h({
49
- components: {
50
- CurrencyPickerBtn: b,
51
- CurrencyPickerDialog: _,
52
- LangPickerBtn: B
53
- },
54
- computed: {
55
- activeCurrency() {
56
- return S[this.config.currency];
57
- },
58
- langPickerModel: {
59
- get() {
60
- return this.$i18n.locale;
61
- },
62
- set(e) {
63
- v(this.config, e, this.$eventBus);
64
- }
65
- },
66
- transition() {
67
- switch (this.direction) {
68
- case s.Top:
69
- return "slide-y-reverse-transition";
70
- case s.Bottom:
71
- return "slide-y-transition";
72
- case s.Left:
73
- return "slide-x-reverse-transition";
74
- case s.Right:
75
- return "slide-x-transition";
76
- case void 0:
77
- default:
78
- return "slide-y-transition";
79
- }
80
- }
81
- },
82
- data() {
83
- return {
84
- LOCALES: L,
85
- currencyPickerDialog: !1
86
- };
87
- },
88
- methods: {
89
- onCurrencyPickerBtnClicked() {
90
- this.currencyPickerDialog = !0;
91
- }
92
- },
93
- mixins: [
94
- w({
95
- fallbackValue: !1,
96
- propsName: "compact"
97
- })
98
- ],
99
- name: "PreferencesMenu",
100
- props: I,
101
- setup() {
102
- const { t: e } = E();
103
- return {
104
- t: e
105
- };
106
- }
107
- });
108
- function k(e) {
109
- const o = e;
110
- o.__i18n = o.__i18n || [], o.__i18n.push({
111
- locale: "",
112
- resource: {
113
- "en-US": {
114
- PreferencesMenu: {
115
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pick your language and currency" } }
116
- }
117
- },
118
- "fr-FR": {
119
- PreferencesMenu: {
120
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Choisissez votre langue et votre devise" } }
121
- }
122
- },
123
- "de-DE": {
124
- PreferencesMenu: {
125
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Wähle deine Sprache und Währung" } }
126
- }
127
- },
128
- "es-ES": {
129
- PreferencesMenu: {
130
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Elige tu idioma y divisa" } }
131
- }
132
- },
133
- "it-IT": {
134
- PreferencesMenu: {
135
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Scegli la tua lingua e valuta" } }
136
- }
137
- },
138
- "nl-NL": {
139
- PreferencesMenu: {
140
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kies je taal en valuta" } }
141
- }
142
- },
143
- "pt-PT": {
144
- PreferencesMenu: {
145
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Escolha o seu idioma e moeda" } }
146
- }
147
- }
148
- }
149
- });
150
- }
151
- const A = { key: 0 }, j = { class: "pr-1" }, G = { key: 1 };
152
- function Y(e, o, a, l, z, K) {
153
- const c = i("CurrencyPickerBtn"), d = i("LangPickerBtn"), P = i("CurrencyPickerDialog");
154
- return e.parsedCompact ? (f(), u("div", A, [
155
- t(D, {
156
- "content-class": "elevation-0",
157
- elevation: "0",
158
- location: e.direction,
159
- transition: e.transition
160
- }, {
161
- activator: n(({ props: r }) => [
162
- t(U, V({
163
- block: e.block,
164
- class: "elevation-0 px-1",
165
- color: e.color,
166
- size: "small"
167
- }, r, { style: { "max-width": "62px", width: "62px" } }), {
168
- default: n(() => [
169
- p("small", j, M(e.activeCurrency.code) + " / ", 1),
170
- t(N, { size: "16" }, {
171
- default: n(() => [
172
- t($, {
173
- "max-height": "16",
174
- "max-width": "16",
175
- src: `https://flagcdn.com/h60/${e.LOCALES[e.langPickerModel].countryCode.toLowerCase()}.png`,
176
- srcset: `https://flagcdn.com/h80/${e.LOCALES[e.langPickerModel].countryCode.toLowerCase()}.png 2x,
177
- https://flagcdn.com/h120/${e.LOCALES[e.langPickerModel].countryCode.toLowerCase()}.png 3x`
178
- }, null, 8, ["src", "srcset"])
179
- ]),
180
- _: 1
181
- })
182
- ]),
183
- _: 2
184
- }, 1040, ["block", "color"])
185
- ]),
186
- default: n(() => [
187
- t(T, {
188
- elevation: "0",
189
- class: "bg-transparent"
190
- }, {
191
- default: n(() => [
192
- t(R, { class: "px-3" }, {
193
- default: n(() => [
194
- t(m, null, {
195
- default: n(() => [
196
- t(g, { class: "d-flex justify-center" }, {
197
- default: n(() => [
198
- t(c, {
199
- color: e.color,
200
- elevation: "7",
201
- onClick: e.onCurrencyPickerBtnClicked
202
- }, null, 8, ["color", "onClick"])
203
- ]),
204
- _: 1
205
- })
206
- ]),
207
- _: 1
208
- }),
209
- t(m, { dense: "" }, {
210
- default: n(() => [
211
- t(g, { class: "d-flex justify-center" }, {
212
- default: n(() => [
213
- t(d, {
214
- modelValue: e.langPickerModel,
215
- "onUpdate:modelValue": o[0] || (o[0] = (r) => e.langPickerModel = r),
216
- elevation: "7",
217
- locales: e.config.locales
218
- }, null, 8, ["modelValue", "locales"])
219
- ]),
220
- _: 1
221
- })
222
- ]),
223
- _: 1
224
- })
225
- ]),
226
- _: 1
227
- })
228
- ]),
229
- _: 1
230
- })
231
- ]),
232
- _: 1
233
- }, 8, ["location", "transition"]),
234
- t(P, {
235
- modelValue: e.currencyPickerDialog,
236
- "onUpdate:modelValue": o[1] || (o[1] = (r) => e.currencyPickerDialog = r)
237
- }, null, 8, ["modelValue"])
238
- ])) : (f(), u("div", G, [
239
- t(c, {
240
- class: "d-inline-block",
241
- color: e.color,
242
- dialog: ""
243
- }, null, 8, ["color"]),
244
- o[3] || (o[3] = p("span", { class: "pr-1" }, null, -1)),
245
- t(d, {
246
- modelValue: e.langPickerModel,
247
- "onUpdate:modelValue": o[2] || (o[2] = (r) => e.langPickerModel = r),
248
- class: "d-inline-block",
249
- locales: e.config.locales
250
- }, null, 8, ["modelValue", "locales"])
251
- ]));
252
- }
253
- typeof k == "function" && k(y);
254
- const ee = /* @__PURE__ */ O(y, [["render", Y], ["__scopeId", "data-v-dd3c6869"]]);
255
- C("css/revolugo.preferencesmenu.fPv_7j-1.css");
256
- export {
257
- ee as P,
258
- s as a,
259
- I as p
260
- };
261
- //# sourceMappingURL=revolugo.preferencesmenu.DsDw7iXm.min.js.map
@@ -1,385 +0,0 @@
1
- import { d as v, b as G, u as x, c as m, w as n, e as l, a as o, j as f, o as a, S, A as $, f as h, t as d, i as c, B as L, F as R, r as I, g as y } from "./revolugo.index.wc.BmAtoZjo.min.js";
2
- import { _ as C } from "./revolugo.webcomponentwrapper.DipHFVeJ.min.js";
3
- import { V as E } from "./revolugo.vdivider.Cw22Dcuf.min.js";
4
- import { V as A } from "./revolugo.vcard.BhFz1a7-.min.js";
5
- import { V as p } from "./revolugo.vskeletonloader.BUWqKsWc.min.js";
6
- import { V as H, a as M, b as P, c as B } from "./revolugo.vexpansionpanels.B6laIhZ5.min.js";
7
- import { V as D } from "./revolugo.vsnackbar.DGEvcXxN.min.js";
8
- import { V as F } from "./revolugo.vtextfield.CF6W_mmu.min.js";
9
- const U = v({
10
- mixins: [G],
11
- name: "RoomingListEditorLayout",
12
- props: {
13
- boilerplate: { type: Boolean }
14
- },
15
- setup() {
16
- const { t } = x();
17
- return {
18
- t
19
- };
20
- }
21
- }), j = { class: "px-4 py-2 bg-grey-lighten-4" }, q = { class: "px-4 py-2 d-flex justify-center" }, K = { class: "px-4 py-2" };
22
- function Z(t, e, s, r, u, N) {
23
- return a(), m(A, { border: "" }, {
24
- default: n(() => [
25
- l("div", j, [
26
- l("div", q, [
27
- f(t.$slots, "rooming-title", {}, () => [
28
- o(p, {
29
- boilerplate: t.boilerplate,
30
- height: "22px",
31
- tile: "",
32
- type: "heading",
33
- width: "160px"
34
- }, null, 8, ["boilerplate"])
35
- ])
36
- ])
37
- ]),
38
- o(E),
39
- l("div", K, [
40
- f(t.$slots, "rooming-list", {}, () => [
41
- o(p, {
42
- boilerplate: t.boilerplate,
43
- class: "mb-2",
44
- height: "18px",
45
- tile: "",
46
- type: "heading",
47
- width: "120px"
48
- }, null, 8, ["boilerplate"]),
49
- o(p, {
50
- boilerplate: t.boilerplate,
51
- class: "mb-2",
52
- height: "18px",
53
- tile: "",
54
- type: "heading",
55
- width: "400px"
56
- }, null, 8, ["boilerplate"]),
57
- o(p, {
58
- boilerplate: t.boilerplate,
59
- height: "18px",
60
- tile: "",
61
- type: "heading",
62
- width: "400px"
63
- }, null, 8, ["boilerplate"])
64
- ])
65
- ])
66
- ]),
67
- _: 3
68
- });
69
- }
70
- const O = /* @__PURE__ */ C(U, [["render", Z]]), z = {
71
- token: {
72
- required: !0,
73
- type: String
74
- }
75
- }, V = v({
76
- components: {
77
- RoomingListEditorLayout: O
78
- },
79
- created() {
80
- this.updateRoomingListDebounced = S(
81
- (t) => this.updateRoomingList(t),
82
- 1e3
83
- );
84
- },
85
- data: () => ({
86
- hasError: !1,
87
- hotelRoomingLists: null,
88
- listToGuests: {},
89
- mappedHotelRoomingLists: [],
90
- showSnackbar: !1,
91
- snackbarColor: "",
92
- snackbarText: "",
93
- // eslint-disable-next-line @typescript-eslint/no-empty-function
94
- updateRoomingListDebounced: () => {
95
- }
96
- }),
97
- methods: {
98
- buildMappedLists() {
99
- return this.hotelRoomingLists ? this.hotelRoomingLists.map((t) => {
100
- if (this.listToGuests[t.id]) {
101
- if (t.hotelRoomingListGuests)
102
- for (const s of t.hotelRoomingListGuests)
103
- this.updateMappedGuest(t.id, s);
104
- return {
105
- ...t,
106
- hotelRoomingListGuests: this.listToGuests[t.id]
107
- };
108
- }
109
- const e = this.initMappedGuests(t);
110
- return {
111
- ...t,
112
- hotelRoomingListGuests: e
113
- };
114
- }) : [];
115
- },
116
- initMappedGuests(t) {
117
- const e = t.hotelRoom, s = t.hotelRoomingListGuests?.length && e?.occupancy ? e.occupancy - t.hotelRoomingListGuests.length : e?.occupancy || 0, r = Array.from(
118
- { length: s },
119
- () => ({
120
- fullname: "",
121
- id: ""
122
- })
123
- ), u = t.hotelRoomingListGuests ?? [];
124
- return u.push(...r), this.listToGuests[t.id] = u, u;
125
- },
126
- async retrieveHotelRoomingLists(t) {
127
- let e = null;
128
- this.hasError = !1;
129
- try {
130
- e = await this.bookingApiClient?.hotelRoomingLists.list(
131
- {
132
- token: t
133
- }
134
- );
135
- } catch (s) {
136
- this.hasError = !0, console.error(s);
137
- }
138
- return e;
139
- },
140
- updateMappedGuest(t, e) {
141
- const s = this.listToGuests[t].findIndex((r) => r.id === e.id);
142
- s !== -1 && (this.listToGuests[t][s] = {
143
- ...this.listToGuests[t][s],
144
- ...e
145
- });
146
- },
147
- async updateRoomingList(t) {
148
- this.showSnackbar = !1, this.snackbarText = "";
149
- try {
150
- if (t.guestId && t.fullName)
151
- await this.bookingApiClient?.hotelRoomingListGuests.update({
152
- hotelRoomingListGuestsUpdateApi: { fullname: t.fullName },
153
- id: t.guestId,
154
- token: this.token
155
- });
156
- else if (!t.guestId && t.fullName) {
157
- const e = await this.bookingApiClient?.hotelRoomingListGuests.create({
158
- hotelRoomingListGuestsCreateApi: {
159
- fullname: t.fullName,
160
- hotelRoomingListId: t.roomingListId
161
- },
162
- token: this.token
163
- }), s = this.listToGuests[t.roomingListId]?.[t.index];
164
- e && s && (s.id = e.id);
165
- } else if (t.guestId && !t.fullName) {
166
- await this.bookingApiClient?.hotelRoomingListGuests.delete({
167
- id: t.guestId,
168
- token: this.token
169
- });
170
- const e = this.listToGuests[t.roomingListId]?.[t.index];
171
- e && (e.id = "");
172
- }
173
- this.snackbarText = this.t(
174
- "RoomingListEditor.saveRoomingList.success"
175
- ), this.snackbarColor = "success", this.hotelRoomingLists = await this.retrieveHotelRoomingLists(
176
- this.token
177
- ), this.mappedHotelRoomingLists = this.buildMappedLists();
178
- } catch (e) {
179
- this.snackbarColor = "error", this.snackbarText = e.message;
180
- } finally {
181
- this.showSnackbar = !0;
182
- }
183
- }
184
- },
185
- mixins: [G],
186
- name: "RoomingListEditor",
187
- props: z,
188
- setup() {
189
- const { t } = x();
190
- return {
191
- t
192
- };
193
- },
194
- watch: {
195
- token: {
196
- async handler(t) {
197
- t && (this.listToGuests = {}, this.hotelRoomingLists = await this.retrieveHotelRoomingLists(t), this.mappedHotelRoomingLists = this.buildMappedLists());
198
- },
199
- immediate: !0
200
- }
201
- }
202
- });
203
- function k(t) {
204
- const e = t;
205
- e.__i18n = e.__i18n || [], e.__i18n.push({
206
- locale: "",
207
- resource: {
208
- "en-US": {
209
- RoomingListEditor: {
210
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Rooming list" } },
211
- guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Guest " }, { t: 4, k: "guestCount" }] } },
212
- occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Suitable for " }, { t: 4, k: "occupancy" }, { t: 3, v: " x &#128100; max" }] } },
213
- fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "First name & Last name" } },
214
- saveRoomingList: {
215
- success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Rooming list saved!" } }
216
- }
217
- }
218
- },
219
- "fr-FR": {
220
- RoomingListEditor: {
221
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Rooming list" } },
222
- guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Participant " }, { t: 4, k: "guestCount" }] } },
223
- occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Convient pour " }, { t: 4, k: "occupancy" }, { t: 3, v: " x &#128100; max" }] } },
224
- fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nom et prénom du participant" } },
225
- saveRoomingList: {
226
- success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Rooming list sauvegardée !" } }
227
- }
228
- }
229
- },
230
- "de-DE": {
231
- RoomingListEditor: {
232
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zimmerliste" } },
233
- guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Gast " }, { t: 4, k: "guestCount" }] } },
234
- occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Geeignet für " }, { t: 4, k: "occupancy" }, { t: 3, v: " x &#128100; max" }] } },
235
- fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Vorname & Nachname" } },
236
- saveRoomingList: {
237
- success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zimmerliste gespeichert!" } }
238
- }
239
- }
240
- },
241
- "es-ES": {
242
- RoomingListEditor: {
243
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lista de habitaciones" } },
244
- guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Huésped " }, { t: 4, k: "guestCount" }] } },
245
- occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Adecuado para " }, { t: 4, k: "occupancy" }, { t: 3, v: " x &#128100; max" }] } },
246
- fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nombre y apellido" } },
247
- saveRoomingList: {
248
- success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "¡Lista de habitaciones guardada!" } }
249
- }
250
- }
251
- },
252
- "it-IT": {
253
- RoomingListEditor: {
254
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lista delle camere" } },
255
- guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Ospite " }, { t: 4, k: "guestCount" }] } },
256
- occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Adatto per " }, { t: 4, k: "occupancy" }, { t: 3, v: " x &#128100; max" }] } },
257
- fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nome e cognome" } },
258
- saveRoomingList: {
259
- success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lista delle camere salvata!" } }
260
- }
261
- }
262
- },
263
- "nl-NL": {
264
- RoomingListEditor: {
265
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kamerlijst" } },
266
- guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Gast " }, { t: 4, k: "guestCount" }] } },
267
- occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Geschikt voor " }, { t: 4, k: "occupancy" }, { t: 3, v: " x &#128100; max" }] } },
268
- fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Voornaam & Achternaam" } },
269
- saveRoomingList: {
270
- success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kamerlijst opgeslagen!" } }
271
- }
272
- }
273
- },
274
- "pt-PT": {
275
- RoomingListEditor: {
276
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lista de quartos" } },
277
- guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Hóspede " }, { t: 4, k: "guestCount" }] } },
278
- occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Adequado para " }, { t: 4, k: "occupancy" }, { t: 3, v: " x &#128100; max" }] } },
279
- fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nome próprio e apelido" } },
280
- saveRoomingList: {
281
- success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lista de quartos gravada!" } }
282
- }
283
- }
284
- }
285
- }
286
- });
287
- }
288
- const J = {
289
- key: 0,
290
- class: "font-weight-bold mb-1"
291
- }, Q = ["innerHTML"], W = { class: "text-body-2" };
292
- function X(t, e, s, r, u, N) {
293
- const T = I("RoomingListEditorLayout");
294
- return a(), m(T, null, $({ _: 2 }, [
295
- t.hotelRoomingLists ? {
296
- name: "rooming-title",
297
- fn: n(() => [
298
- h(d(t.t("RoomingListEditor.title")), 1)
299
- ]),
300
- key: "0"
301
- } : void 0,
302
- t.hotelRoomingLists ? {
303
- name: "rooming-list",
304
- fn: n(() => [
305
- o(H, {
306
- variant: "accordion",
307
- flat: ""
308
- }, {
309
- default: n(() => [
310
- (a(!0), c(R, null, L(t.mappedHotelRoomingLists, (i, _) => (a(), m(M, {
311
- key: i.id
312
- }, {
313
- default: n(() => [
314
- o(P, null, {
315
- default: n(() => [
316
- l("div", null, [
317
- i.hotelRoom?.description ? (a(), c("div", J, d(i.hotelRoom?.description), 1)) : y("", !0),
318
- l("div", null, [
319
- h(d(i.hotelRoom?.bedsPretty) + " ", 1),
320
- l("span", {
321
- class: "ml-2 text-caption text--secondary",
322
- innerHTML: t.t("RoomingListEditor.occupancy", {
323
- occupancy: i.hotelRoom?.occupancy
324
- })
325
- }, null, 8, Q)
326
- ])
327
- ])
328
- ]),
329
- _: 2
330
- }, 1024),
331
- o(B, null, {
332
- default: n(() => [
333
- (a(!0), c(R, null, L(i.hotelRoomingListGuests, (b, g) => (a(), c("div", { key: g }, [
334
- l("span", W, d(t.t("RoomingListEditor.guestCount", {
335
- guestCount: g + 1
336
- })), 1),
337
- o(F, {
338
- class: "w-sm-50",
339
- clearable: "",
340
- variant: "outlined",
341
- placeholder: t.t("RoomingListEditor.fullName"),
342
- "prepend-inner-icon": "fas fa-user",
343
- "model-value": b.fullname,
344
- "onUpdate:modelValue": (w) => t.updateRoomingListDebounced({
345
- roomingListId: i.id,
346
- guestId: b.id,
347
- fullName: w,
348
- index: g
349
- })
350
- }, null, 8, ["placeholder", "model-value", "onUpdate:modelValue"])
351
- ]))), 128))
352
- ]),
353
- _: 2
354
- }, 1024),
355
- _ != t.mappedHotelRoomingLists.length - 1 ? (a(), m(E, { key: 0 })) : y("", !0)
356
- ]),
357
- _: 2
358
- }, 1024))), 128))
359
- ]),
360
- _: 1
361
- }),
362
- o(D, {
363
- modelValue: t.showSnackbar,
364
- "onUpdate:modelValue": e[0] || (e[0] = (i) => t.showSnackbar = i),
365
- color: t.snackbarColor,
366
- class: "elevation-24",
367
- location: "right top"
368
- }, {
369
- default: n(() => [
370
- h(d(t.snackbarText), 1)
371
- ]),
372
- _: 1
373
- }, 8, ["modelValue", "color"])
374
- ]),
375
- key: "1"
376
- } : void 0
377
- ]), 1024);
378
- }
379
- typeof k == "function" && k(V);
380
- const lt = /* @__PURE__ */ C(V, [["render", X]]);
381
- export {
382
- lt as R,
383
- z as r
384
- };
385
- //# sourceMappingURL=revolugo.roominglisteditor.ChZhBnZ3.min.js.map