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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/dist/css/fonts.css +1 -1
  2. package/dist/css/revolugo.cancellationpoliciesbadge.CcLw1eDZ.css +1 -0
  3. package/dist/css/{revolugo.webcomponentwrapper.cFJPP6Rp.css → revolugo.webcomponentwrapper.CmjarAgQ.css} +1 -1
  4. package/dist/revolugo.banktransferdetails.Cvzg5_Ic.min.js +36 -0
  5. package/dist/revolugo.bookingdetailssidebar.k46HDmg6.min.js +37 -0
  6. package/dist/revolugo.bookingmanager.Bp3Iq-CV.min.js +24 -0
  7. package/dist/revolugo.cancellationpoliciesbadge.D94ditk5.min.js +24 -0
  8. package/dist/revolugo.cancellationpoliciesbadge.props.BnLjFL5s.min.js +31712 -0
  9. package/dist/revolugo.cancellationpolicieslist.ofFI9Dx1.min.js +24 -0
  10. package/dist/revolugo.creditcardform.DNY-xKYV.min.js +24 -0
  11. package/dist/revolugo.creditcardpayment.DoH0pwLm.min.js +24 -0
  12. package/dist/revolugo.currencypickerbtn.DcoR1F1Y.min.js +24 -0
  13. package/dist/revolugo.fastbookingflow.DdfGwiWZ.min.js +34 -0
  14. package/dist/revolugo.fullbookingflow.BbqC4qQ1.min.js +24 -0
  15. package/dist/revolugo.hoteldescriptionview.CBhuNO9_.min.js +24 -0
  16. package/dist/revolugo.hotelofferlist.DgZhb92H.min.js +24 -0
  17. package/dist/{revolugo.hoteloffersearchmenu.CNQs7uf0.min.js → revolugo.hoteloffersearchmenu.Ojiuc5KP.min.js} +37 -39
  18. package/dist/revolugo.hoteloffersmap.95AMizbv.min.js +24 -0
  19. package/dist/revolugo.hoteloffersview.CUcJpz15.min.js +19 -0
  20. package/dist/revolugo.hotelroomofferlist.deuoRfWR.min.js +24 -0
  21. package/dist/revolugo.hotelroomoffersbookingflow.dTr1ET_n.min.js +24 -0
  22. package/dist/revolugo.hotelroomoffersearchmenu.DDi3cRLS.min.js +24 -0
  23. package/dist/revolugo.hotelroomoffersview.CFseu6Pj.min.js +24 -0
  24. package/dist/{revolugo.index.BK0e6ROR.min.js → revolugo.index.Bz-n9tuq.min.js} +6 -6
  25. package/dist/{revolugo.index.wc.jjeh0psC.min.js → revolugo.index.wc.DevpsraD.min.js} +267 -267
  26. package/dist/revolugo.langpickerbtn.B9byfQqd.min.js +29 -0
  27. package/dist/revolugo.min.js +1 -1
  28. package/dist/revolugo.prebookform.BDFY-Ks_.min.js +24 -0
  29. package/dist/revolugo.roominglisteditor.B_AOuHI_.min.js +24 -0
  30. package/dist/{revolugo.storybooktoolbar.ID2ZQ0P5.min.js → revolugo.storybooktoolbar.BamIltF8.min.js} +132 -146
  31. package/dist/revolugo.termsandconditions.Dfp652uY.min.js +23 -0
  32. package/dist/revolugo.webcomponentwrapper.CEjK8-cS.min.js +28682 -0
  33. package/package.json +1 -1
  34. package/dist/css/revolugo.bdaterangepicker.B6KA5TYs.css +0 -1
  35. package/dist/css/revolugo.bhoteloffersfilterbar.BP8bd417.css +0 -1
  36. package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +0 -1
  37. package/dist/css/revolugo.bimagecarousel.BxIL_xDV.css +0 -1
  38. package/dist/css/revolugo.bookingdetailssidebar.g_6Xwqnt.css +0 -1
  39. package/dist/css/revolugo.bstarrating.CPHKEfup.css +0 -1
  40. package/dist/css/revolugo.btag.T7X_iIkW.css +0 -1
  41. package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +0 -1
  42. package/dist/css/revolugo.creditcardform.BXv0c3zQ.css +0 -1
  43. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
  44. package/dist/css/revolugo.currencypicker.DO0IrmRK.css +0 -1
  45. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
  46. package/dist/css/revolugo.hoteldescriptionview.Dfi-84To.css +0 -1
  47. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
  48. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +0 -1
  49. package/dist/css/revolugo.hoteloffersmap.CdDZxzE3.css +0 -1
  50. package/dist/css/revolugo.hoteloffersview.Xw1flMYo.css +0 -1
  51. package/dist/css/revolugo.hotelroomofferlist.C1uw1vfC.css +0 -1
  52. package/dist/css/revolugo.hotelroomoffersbookingflow.nFiRmYyk.css +0 -1
  53. package/dist/css/revolugo.index.DK7d_h6O.css +0 -1
  54. package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +0 -1
  55. package/dist/css/revolugo.prebookform.BqSw27Yj.css +0 -1
  56. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +0 -1
  57. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
  58. package/dist/css/revolugo.vbadge.C45eZpxy.css +0 -1
  59. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +0 -1
  60. package/dist/css/revolugo.vcard.TERzfknI.css +0 -1
  61. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +0 -1
  62. package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
  63. package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
  64. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
  65. package/dist/css/revolugo.vicon.eIkh7vVK.css +0 -1
  66. package/dist/css/revolugo.vinput.BPiFMorL.css +0 -1
  67. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +0 -1
  68. package/dist/css/revolugo.vlist.-Y4qkukF.css +0 -1
  69. package/dist/css/revolugo.vmenu.DvKwEp1j.css +0 -1
  70. package/dist/css/revolugo.vselect.C5CKHFYB.css +0 -1
  71. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +0 -1
  72. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +0 -1
  73. package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +0 -1
  74. package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +0 -1
  75. package/dist/css/revolugo.vtextarea.BTR7f0gW.css +0 -1
  76. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
  77. package/dist/css/revolugo.vtoolbar.BZert82L.css +0 -1
  78. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +0 -1
  79. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
  80. package/dist/revolugo._baseiteratee.BhaL3Ihm.min.js +0 -247
  81. package/dist/revolugo.banktransferdetails.Ac8FSLVW.min.js +0 -358
  82. package/dist/revolugo.bdaterangepicker.hVwM6ipX.min.js +0 -8324
  83. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.BS1jYuno.min.js +0 -140
  84. package/dist/revolugo.bhoteloffersfilterbar.qDSKNDlZ.min.js +0 -4209
  85. package/dist/revolugo.bhotelroomsdetails.E0vCwuBV.min.js +0 -965
  86. package/dist/revolugo.bimagecarousel.DyzQUjzi.min.js +0 -480
  87. package/dist/revolugo.bookingdetailssidebar.4s_eSQg4.min.js +0 -37
  88. package/dist/revolugo.bookingdetailssidebar.vue_vue_type_script_setup_true_lang.JNe9c8M3.min.js +0 -811
  89. package/dist/revolugo.bookingmanager.6yPgoaWw.min.js +0 -1755
  90. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.BbtWMTnV.min.js +0 -91
  91. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.Csh7MNV1.min.js +0 -570
  92. package/dist/revolugo.btag.ySOeDeLw.min.js +0 -375
  93. package/dist/revolugo.cancellationpoliciesbadge.W3M5rQIz.min.js +0 -198
  94. package/dist/revolugo.cancellationpoliciesbadge.dr9YreJC.min.js +0 -28
  95. package/dist/revolugo.cancellationpolicieslist.BaZc434S.min.js +0 -25
  96. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +0 -21
  97. package/dist/revolugo.cancellationpolicieslist.pxTuDh2s.min.js +0 -148
  98. package/dist/revolugo.case-transformers.C_YgD3nA.min.js +0 -123
  99. package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
  100. package/dist/revolugo.creditcardform.BTlkvOgH.min.js +0 -2148
  101. package/dist/revolugo.creditcardform.DJe7Njnk.min.js +0 -24
  102. package/dist/revolugo.creditcardpayment.BEj51mBs.min.js +0 -24
  103. package/dist/revolugo.creditcardpayment.BfM_sNj1.min.js +0 -885
  104. package/dist/revolugo.currencypicker.CWG49Zhf.min.js +0 -330
  105. package/dist/revolugo.currencypickerbtn.D15jjm6y.min.js +0 -157
  106. package/dist/revolugo.currencypickerbtn.DpGFoemK.min.js +0 -24
  107. package/dist/revolugo.dates.BodUWcoy.min.js +0 -31
  108. package/dist/revolugo.defaultsdeep.BQVrU_I2.min.js +0 -104
  109. package/dist/revolugo.dialog-attach.DrmEgjzG.min.js +0 -27
  110. package/dist/revolugo.dialog-transition.x1E-leWE.min.js +0 -111
  111. package/dist/revolugo.fastbookingflow.Bu26X9eR.min.js +0 -34
  112. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +0 -70
  113. package/dist/revolugo.fullbookingflow.7eCzxgkm.min.js +0 -429
  114. package/dist/revolugo.hotel-offer-request.CS9yN6dC.min.js +0 -98
  115. package/dist/revolugo.hoteldescriptionview.BcGnT767.min.js +0 -24
  116. package/dist/revolugo.hoteldescriptionview.CpHXBzEy.min.js +0 -2960
  117. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.BR7jcumI.min.js +0 -241
  118. package/dist/revolugo.hotelofferlist.B9RDtc0D.min.js +0 -5624
  119. package/dist/revolugo.hotelofferlist.BeTc6Ypd.min.js +0 -24
  120. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +0 -44
  121. package/dist/revolugo.hoteloffersearchmenuui.D26rRLl9.min.js +0 -829
  122. package/dist/revolugo.hoteloffersmap.Ce0wWt8l.min.js +0 -9016
  123. package/dist/revolugo.hoteloffersmap.DWMFOwWt.min.js +0 -24
  124. package/dist/revolugo.hoteloffersview.BOdQbV-Z.min.js +0 -614
  125. package/dist/revolugo.hoteloffersview.pWsKhpam.min.js +0 -19
  126. package/dist/revolugo.hotelroomofferlist.BYjhiVd9.min.js +0 -2759
  127. package/dist/revolugo.hotelroomofferlist.FjLqM2qT.min.js +0 -24
  128. package/dist/revolugo.hotelroomofferrequestcreator.props.DaO-XF8o.min.js +0 -171
  129. package/dist/revolugo.hotelroomoffersbookingflow.BIhSA__v.min.js +0 -1281
  130. package/dist/revolugo.hotelroomoffersearchmenu.B4L9T_pD.min.js +0 -231
  131. package/dist/revolugo.hotelroomoffersearchmenu.DmxmMPap.min.js +0 -25
  132. package/dist/revolugo.hotelroomoffersview.BSuVaUYS.min.js +0 -290
  133. package/dist/revolugo.hotelroomoffersview.DikMXiku.min.js +0 -24
  134. package/dist/revolugo.index.CpbrPSdc.min.js +0 -1232
  135. package/dist/revolugo.langpicker.CfywWRmf.min.js +0 -99
  136. package/dist/revolugo.langpickerbtn.DOhtMneJ.min.js +0 -131
  137. package/dist/revolugo.langpickerbtn.Dj9tOUTP.min.js +0 -29
  138. package/dist/revolugo.parsed-props.DoxQeA2G.min.js +0 -39
  139. package/dist/revolugo.pathify.DyWzmaeA.min.js +0 -36
  140. package/dist/revolugo.prebookform.BhhN6y68.min.js +0 -24
  141. package/dist/revolugo.prebookform.P5zcfTNX.min.js +0 -3373
  142. package/dist/revolugo.roominglisteditor.Bxrs0KHA.min.js +0 -24
  143. package/dist/revolugo.roominglisteditor.CVYLzHRT.min.js +0 -377
  144. package/dist/revolugo.rounded.NtUKwXJe.min.js +0 -68
  145. package/dist/revolugo.ssrboot.CsFDZ3GY.min.js +0 -18
  146. package/dist/revolugo.termsandconditions.CRRHtizQ.min.js +0 -405
  147. package/dist/revolugo.termsandconditions.CbleG1D9.min.js +0 -23
  148. package/dist/revolugo.use-breakpoint-service.BPw7628u.min.js +0 -39
  149. package/dist/revolugo.use-dialog-attach.CHjkmbrv.min.js +0 -16
  150. package/dist/revolugo.use-html-element.CSI1N3ea.min.js +0 -11
  151. package/dist/revolugo.use-parsed-props.D5H5p3rX.min.js +0 -29
  152. package/dist/revolugo.vautocomplete.CPWUQuA8.min.js +0 -445
  153. package/dist/revolugo.vbadge.B41nGplL.min.js +0 -112
  154. package/dist/revolugo.vbtn.DU_4A0p_.min.js +0 -398
  155. package/dist/revolugo.vcard.gzoVNZt3.min.js +0 -313
  156. package/dist/revolugo.vcheckboxbtn.7vWER-xI.min.js +0 -478
  157. package/dist/revolugo.vdialog.CiTP3_6P.min.js +0 -133
  158. package/dist/revolugo.vdivider.BnYK7z-u.min.js +0 -77
  159. package/dist/revolugo.vexpansionpanels.Cwh53uEX.min.js +0 -262
  160. package/dist/revolugo.vform.DMmShcfR.min.js +0 -46
  161. package/dist/revolugo.vicon.WVuIv40M.min.js +0 -105
  162. package/dist/revolugo.vinput.C5btOxFW.min.js +0 -463
  163. package/dist/revolugo.vlabel.B3Ew8qSb.min.js +0 -48
  164. package/dist/revolugo.vlist.OYNsGaEP.min.js +0 -1299
  165. package/dist/revolugo.vmenu.CtthwTkl.min.js +0 -145
  166. package/dist/revolugo.vselect.Be8zaTpJ.min.js +0 -660
  167. package/dist/revolugo.vsheet.bokzfSqi.min.js +0 -72
  168. package/dist/revolugo.vskeletonloader.BmgnfVnz.min.js +0 -136
  169. package/dist/revolugo.vslidegroup.ChXAadfi.min.js +0 -325
  170. package/dist/revolugo.vsnackbar.pqrGnOMz.min.js +0 -198
  171. package/dist/revolugo.vspacer.Cat0A_Ek.min.js +0 -7
  172. package/dist/revolugo.vtextarea.DaPe8V7w.min.js +0 -240
  173. package/dist/revolugo.vtextfield.BxXOaS0D.min.js +0 -501
  174. package/dist/revolugo.vtoolbar.6Nyge05T.min.js +0 -180
  175. package/dist/revolugo.vtooltip.ckXYGzYH.min.js +0 -89
  176. package/dist/revolugo.vwindowitem.CbN0F8kL.min.js +0 -317
  177. package/dist/revolugo.watch-list.CGB3U4_b.min.js +0 -16
  178. package/dist/revolugo.webcomponentwrapper.Cl0TkD0k.min.js +0 -2088
@@ -1,24 +0,0 @@
1
- import { r as n, R as s } from "./revolugo.roominglisteditor.CVYLzHRT.min.js";
2
- import { W as p, _ as i } from "./revolugo.webcomponentwrapper.Cl0TkD0k.min.js";
3
- import { d as a, c as m, w as c, a as d, n as _, h as f, i as o, o as l } from "./revolugo.index.wc.jjeh0psC.min.js";
4
- const u = a({
5
- components: {
6
- RoomingListEditor: s,
7
- WebComponentWrapper: p
8
- },
9
- props: n
10
- });
11
- function g(t, R, W, C, E, L) {
12
- const r = o("RoomingListEditor", !0), e = o("WebComponentWrapper");
13
- return l(), m(e, null, {
14
- default: c(() => [
15
- d(r, _(f(t.$props)), null, 16)
16
- ]),
17
- _: 1
18
- });
19
- }
20
- const x = /* @__PURE__ */ i(u, [["render", g]]);
21
- export {
22
- x as default
23
- };
24
- //# sourceMappingURL=revolugo.roominglisteditor.Bxrs0KHA.min.js.map
@@ -1,377 +0,0 @@
1
- import { V as N } from "./revolugo.vcard.gzoVNZt3.min.js";
2
- import { V as v } from "./revolugo.vdivider.BnYK7z-u.min.js";
3
- import { V as c } from "./revolugo.vskeletonloader.BmgnfVnz.min.js";
4
- import { d as G, c as m, w as a, b as l, a as o, l as f, o as n, j as _, u as T, S as w, A as S, e as h, t as r, k as p, B as L, F as R, i as I, g as k } from "./revolugo.index.wc.jjeh0psC.min.js";
5
- import { _ as A } from "./revolugo.webcomponentwrapper.Cl0TkD0k.min.js";
6
- import { V as H, a as M, b as $, c as P } from "./revolugo.vexpansionpanels.Cwh53uEX.min.js";
7
- import { V as B } from "./revolugo.vsnackbar.pqrGnOMz.min.js";
8
- import { V as D } from "./revolugo.vtextfield.BxXOaS0D.min.js";
9
- const F = { class: "px-4 py-2 bg-grey-lighten-4" }, U = { class: "px-4 py-2 d-flex justify-center" }, j = { class: "px-4 py-2" }, q = /* @__PURE__ */ G({
10
- __name: "RoomingListEditorLayout",
11
- props: {
12
- boilerplate: { type: Boolean }
13
- },
14
- setup(t) {
15
- return (e, s) => (n(), m(N, { border: "" }, {
16
- default: a(() => [
17
- l("div", F, [
18
- l("div", U, [
19
- f(e.$slots, "rooming-title", {}, () => [
20
- o(c, {
21
- boilerplate: e.boilerplate,
22
- height: "22px",
23
- tile: "",
24
- type: "heading",
25
- width: "160px"
26
- }, null, 8, ["boilerplate"])
27
- ])
28
- ])
29
- ]),
30
- o(v),
31
- l("div", j, [
32
- f(e.$slots, "rooming-list", {}, () => [
33
- o(c, {
34
- boilerplate: e.boilerplate,
35
- class: "mb-2",
36
- height: "18px",
37
- tile: "",
38
- type: "heading",
39
- width: "120px"
40
- }, null, 8, ["boilerplate"]),
41
- o(c, {
42
- boilerplate: e.boilerplate,
43
- class: "mb-2",
44
- height: "18px",
45
- tile: "",
46
- type: "heading",
47
- width: "400px"
48
- }, null, 8, ["boilerplate"]),
49
- o(c, {
50
- boilerplate: e.boilerplate,
51
- height: "18px",
52
- tile: "",
53
- type: "heading",
54
- width: "400px"
55
- }, null, 8, ["boilerplate"])
56
- ])
57
- ])
58
- ]),
59
- _: 3
60
- }));
61
- }
62
- }), K = {
63
- token: {
64
- required: !0,
65
- type: String
66
- }
67
- }, x = G({
68
- components: {
69
- RoomingListEditorLayout: q
70
- },
71
- created() {
72
- this.updateRoomingListDebounced = w(
73
- (t) => this.updateRoomingList(t),
74
- 1e3
75
- );
76
- },
77
- data: () => ({
78
- hasError: !1,
79
- hotelRoomingLists: null,
80
- listToGuests: {},
81
- mappedHotelRoomingLists: [],
82
- showSnackbar: !1,
83
- snackbarColor: "",
84
- snackbarText: "",
85
- // eslint-disable-next-line @typescript-eslint/no-empty-function
86
- updateRoomingListDebounced: () => {
87
- }
88
- }),
89
- methods: {
90
- buildMappedLists() {
91
- return this.hotelRoomingLists ? this.hotelRoomingLists.map((t) => {
92
- if (this.listToGuests[t.id]) {
93
- if (t.hotelRoomingListGuests)
94
- for (const s of t.hotelRoomingListGuests)
95
- this.updateMappedGuest(t.id, s);
96
- return {
97
- ...t,
98
- hotelRoomingListGuests: this.listToGuests[t.id]
99
- };
100
- }
101
- const e = this.initMappedGuests(t);
102
- return {
103
- ...t,
104
- hotelRoomingListGuests: e
105
- };
106
- }) : [];
107
- },
108
- initMappedGuests(t) {
109
- const e = t.hotelRoom, s = t.hotelRoomingListGuests?.length && e?.occupancy ? e.occupancy - t.hotelRoomingListGuests.length : e?.occupancy || 0, u = Array.from(
110
- { length: s },
111
- () => ({
112
- fullname: "",
113
- id: ""
114
- })
115
- ), d = t.hotelRoomingListGuests ?? [];
116
- return d.push(...u), this.listToGuests[t.id] = d, d;
117
- },
118
- async retrieveHotelRoomingLists(t) {
119
- let e = null;
120
- this.hasError = !1;
121
- try {
122
- e = await this.bookingApiClient?.hotelRoomingLists.list(
123
- {
124
- token: t
125
- }
126
- );
127
- } catch (s) {
128
- this.hasError = !0, console.error(s);
129
- }
130
- return e;
131
- },
132
- updateMappedGuest(t, e) {
133
- const s = this.listToGuests[t].findIndex((u) => u.id === e.id);
134
- s !== -1 && (this.listToGuests[t][s] = {
135
- ...this.listToGuests[t][s],
136
- ...e
137
- });
138
- },
139
- async updateRoomingList(t) {
140
- this.showSnackbar = !1, this.snackbarText = "";
141
- try {
142
- if (t.guestId && t.fullName)
143
- await this.bookingApiClient?.hotelRoomingListGuests.update({
144
- hotelRoomingListGuestsUpdateApi: { fullname: t.fullName },
145
- id: t.guestId,
146
- token: this.token
147
- });
148
- else if (!t.guestId && t.fullName) {
149
- const e = await this.bookingApiClient?.hotelRoomingListGuests.create({
150
- hotelRoomingListGuestsCreateApi: {
151
- fullname: t.fullName,
152
- hotelRoomingListId: t.roomingListId
153
- },
154
- token: this.token
155
- }), s = this.listToGuests[t.roomingListId]?.[t.index];
156
- e && s && (s.id = e.id);
157
- } else if (t.guestId && !t.fullName) {
158
- await this.bookingApiClient?.hotelRoomingListGuests.delete({
159
- id: t.guestId,
160
- token: this.token
161
- });
162
- const e = this.listToGuests[t.roomingListId]?.[t.index];
163
- e && (e.id = "");
164
- }
165
- this.snackbarText = this.t(
166
- "RoomingListEditor.saveRoomingList.success"
167
- ), this.snackbarColor = "success", this.hotelRoomingLists = await this.retrieveHotelRoomingLists(
168
- this.token
169
- ), this.mappedHotelRoomingLists = this.buildMappedLists();
170
- } catch (e) {
171
- this.snackbarColor = "error", this.snackbarText = e.message;
172
- } finally {
173
- this.showSnackbar = !0;
174
- }
175
- }
176
- },
177
- mixins: [_],
178
- name: "RoomingListEditor",
179
- props: K,
180
- setup() {
181
- const { t } = T();
182
- return {
183
- t
184
- };
185
- },
186
- watch: {
187
- token: {
188
- async handler(t) {
189
- t && (this.listToGuests = {}, this.hotelRoomingLists = await this.retrieveHotelRoomingLists(t), this.mappedHotelRoomingLists = this.buildMappedLists());
190
- },
191
- immediate: !0
192
- }
193
- }
194
- });
195
- function y(t) {
196
- const e = t;
197
- e.__i18n = e.__i18n || [], e.__i18n.push({
198
- locale: "",
199
- resource: {
200
- "en-US": {
201
- RoomingListEditor: {
202
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Rooming list" } },
203
- guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Guest " }, { t: 4, k: "guestCount" }] } },
204
- occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Suitable for " }, { t: 4, k: "occupancy" }, { t: 3, v: " x 👤 max" }] } },
205
- fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "First name & Last name" } },
206
- saveRoomingList: {
207
- success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Rooming list saved!" } }
208
- }
209
- }
210
- },
211
- "fr-FR": {
212
- RoomingListEditor: {
213
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Rooming list" } },
214
- guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Participant " }, { t: 4, k: "guestCount" }] } },
215
- occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Convient pour " }, { t: 4, k: "occupancy" }, { t: 3, v: " x 👤 max" }] } },
216
- fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nom et prénom du participant" } },
217
- saveRoomingList: {
218
- success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Rooming list sauvegardée !" } }
219
- }
220
- }
221
- },
222
- "de-DE": {
223
- RoomingListEditor: {
224
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zimmerliste" } },
225
- guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Gast " }, { t: 4, k: "guestCount" }] } },
226
- occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Geeignet für " }, { t: 4, k: "occupancy" }, { t: 3, v: " x 👤 max" }] } },
227
- fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Vorname & Nachname" } },
228
- saveRoomingList: {
229
- success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zimmerliste gespeichert!" } }
230
- }
231
- }
232
- },
233
- "es-ES": {
234
- RoomingListEditor: {
235
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lista de habitaciones" } },
236
- guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Huésped " }, { t: 4, k: "guestCount" }] } },
237
- occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Adecuado para " }, { t: 4, k: "occupancy" }, { t: 3, v: " x 👤 max" }] } },
238
- fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nombre y apellido" } },
239
- saveRoomingList: {
240
- success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "¡Lista de habitaciones guardada!" } }
241
- }
242
- }
243
- },
244
- "it-IT": {
245
- RoomingListEditor: {
246
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lista delle camere" } },
247
- guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Ospite " }, { t: 4, k: "guestCount" }] } },
248
- occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Adatto per " }, { t: 4, k: "occupancy" }, { t: 3, v: " x 👤 max" }] } },
249
- fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nome e cognome" } },
250
- saveRoomingList: {
251
- success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lista delle camere salvata!" } }
252
- }
253
- }
254
- },
255
- "nl-NL": {
256
- RoomingListEditor: {
257
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kamerlijst" } },
258
- guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Gast " }, { t: 4, k: "guestCount" }] } },
259
- occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Geschikt voor " }, { t: 4, k: "occupancy" }, { t: 3, v: " x 👤 max" }] } },
260
- fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Voornaam & Achternaam" } },
261
- saveRoomingList: {
262
- success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kamerlijst opgeslagen!" } }
263
- }
264
- }
265
- },
266
- "pt-PT": {
267
- RoomingListEditor: {
268
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lista de quartos" } },
269
- guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Hóspede " }, { t: 4, k: "guestCount" }] } },
270
- occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Adequado para " }, { t: 4, k: "occupancy" }, { t: 3, v: " x 👤 max" }] } },
271
- fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nome próprio e apelido" } },
272
- saveRoomingList: {
273
- success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lista de quartos gravada!" } }
274
- }
275
- }
276
- }
277
- }
278
- });
279
- }
280
- const Z = {
281
- key: 0,
282
- class: "font-weight-bold mb-1"
283
- }, O = ["innerHTML"], z = { class: "text-body-2" };
284
- function J(t, e, s, u, d, Q) {
285
- const C = I("RoomingListEditorLayout");
286
- return n(), m(C, null, S({ _: 2 }, [
287
- t.hotelRoomingLists ? {
288
- name: "rooming-title",
289
- fn: a(() => [
290
- h(r(t.t("RoomingListEditor.title")), 1)
291
- ]),
292
- key: "0"
293
- } : void 0,
294
- t.hotelRoomingLists ? {
295
- name: "rooming-list",
296
- fn: a(() => [
297
- o(H, {
298
- variant: "accordion",
299
- flat: ""
300
- }, {
301
- default: a(() => [
302
- (n(!0), p(R, null, L(t.mappedHotelRoomingLists, (i, E) => (n(), m(M, {
303
- key: i.id
304
- }, {
305
- default: a(() => [
306
- o($, null, {
307
- default: a(() => [
308
- l("div", null, [
309
- i.hotelRoom?.description ? (n(), p("div", Z, r(i.hotelRoom?.description), 1)) : k("", !0),
310
- l("div", null, [
311
- h(r(i.hotelRoom?.bedsPretty) + " ", 1),
312
- l("span", {
313
- class: "ml-2 text-caption text--secondary",
314
- innerHTML: t.t("RoomingListEditor.occupancy", {
315
- occupancy: i.hotelRoom?.occupancy
316
- })
317
- }, null, 8, O)
318
- ])
319
- ])
320
- ]),
321
- _: 2
322
- }, 1024),
323
- o(P, null, {
324
- default: a(() => [
325
- (n(!0), p(R, null, L(i.hotelRoomingListGuests, (b, g) => (n(), p("div", { key: g }, [
326
- l("span", z, r(t.t("RoomingListEditor.guestCount", {
327
- guestCount: g + 1
328
- })), 1),
329
- o(D, {
330
- class: "w-sm-50",
331
- clearable: "",
332
- variant: "outlined",
333
- placeholder: t.t("RoomingListEditor.fullName"),
334
- "prepend-inner-icon": "fas fa-user",
335
- "model-value": b.fullname,
336
- "onUpdate:modelValue": (V) => t.updateRoomingListDebounced({
337
- roomingListId: i.id,
338
- guestId: b.id,
339
- fullName: V,
340
- index: g
341
- })
342
- }, null, 8, ["placeholder", "model-value", "onUpdate:modelValue"])
343
- ]))), 128))
344
- ]),
345
- _: 2
346
- }, 1024),
347
- E != t.mappedHotelRoomingLists.length - 1 ? (n(), m(v, { key: 0 })) : k("", !0)
348
- ]),
349
- _: 2
350
- }, 1024))), 128))
351
- ]),
352
- _: 1
353
- }),
354
- o(B, {
355
- modelValue: t.showSnackbar,
356
- "onUpdate:modelValue": e[0] || (e[0] = (i) => t.showSnackbar = i),
357
- color: t.snackbarColor,
358
- class: "elevation-24",
359
- location: "right top"
360
- }, {
361
- default: a(() => [
362
- h(r(t.snackbarText), 1)
363
- ]),
364
- _: 1
365
- }, 8, ["modelValue", "color"])
366
- ]),
367
- key: "1"
368
- } : void 0
369
- ]), 1024);
370
- }
371
- typeof y == "function" && y(x);
372
- const at = /* @__PURE__ */ A(x, [["render", J]]);
373
- export {
374
- at as R,
375
- K as r
376
- };
377
- //# sourceMappingURL=revolugo.roominglisteditor.CVYLzHRT.min.js.map
@@ -1,68 +0,0 @@
1
- import { a0 as u, cI as d, H as l, _ as a } from "./revolugo.index.wc.jjeh0psC.min.js";
2
- const f = u({
3
- border: [Boolean, Number, String]
4
- }, "border");
5
- function m(e) {
6
- let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : d();
7
- return {
8
- borderClasses: l(() => {
9
- const n = a(e) ? e.value : e.border, r = [];
10
- if (n === !0 || n === "")
11
- r.push(`${s}--border`);
12
- else if (typeof n == "string" || n === 0)
13
- for (const t of String(n).split(" "))
14
- r.push(`border-${t}`);
15
- return r;
16
- })
17
- };
18
- }
19
- const v = u({
20
- elevation: {
21
- type: [Number, String],
22
- validator(e) {
23
- const s = parseInt(e);
24
- return !isNaN(s) && s >= 0 && // Material Design has a maximum elevation of 24
25
- // https://material.io/design/environment/elevation.html#default-elevations
26
- s <= 24;
27
- }
28
- }
29
- }, "elevation");
30
- function g(e) {
31
- return {
32
- elevationClasses: l(() => {
33
- const o = a(e) ? e.value : e.elevation, n = [];
34
- return o == null || n.push(`elevation-${o}`), n;
35
- })
36
- };
37
- }
38
- const b = u({
39
- rounded: {
40
- type: [Boolean, Number, String],
41
- default: void 0
42
- },
43
- tile: Boolean
44
- }, "rounded");
45
- function h(e) {
46
- let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : d();
47
- return {
48
- roundedClasses: l(() => {
49
- const n = a(e) ? e.value : e.rounded, r = a(e) ? e.value : e.tile, t = [];
50
- if (n === !0 || n === "")
51
- t.push(`${s}--rounded`);
52
- else if (typeof n == "string" || n === 0)
53
- for (const i of String(n).split(" "))
54
- t.push(`rounded-${i}`);
55
- else (r || n === !1) && t.push("rounded-0");
56
- return t;
57
- })
58
- };
59
- }
60
- export {
61
- b as a,
62
- h as b,
63
- m as c,
64
- f as d,
65
- v as m,
66
- g as u
67
- };
68
- //# sourceMappingURL=revolugo.rounded.NtUKwXJe.min.js.map
@@ -1,18 +0,0 @@
1
- import { a7 as t, X as e, H as s, cq as n } from "./revolugo.index.wc.jjeh0psC.min.js";
2
- function i() {
3
- const o = t(!1);
4
- return e(() => {
5
- window.requestAnimationFrame(() => {
6
- o.value = !0;
7
- });
8
- }), {
9
- ssrBootStyles: s(() => o.value ? void 0 : {
10
- transition: "none !important"
11
- }),
12
- isBooted: n(o)
13
- };
14
- }
15
- export {
16
- i as u
17
- };
18
- //# sourceMappingURL=revolugo.ssrboot.CsFDZ3GY.min.js.map