@revolugo/elements 6.8.3-beta.2 → 6.8.3-beta.20

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 (182) hide show
  1. package/dist/css/fonts.css +1 -1
  2. package/dist/css/revolugo.cancellationpoliciesbadge.BF6W5Rkn.css +1 -0
  3. package/dist/css/{revolugo.webcomponentwrapper.cFJPP6Rp.css → revolugo.webcomponentwrapper.CLc1qFgq.css} +1 -1
  4. package/dist/index.es.min.js +1 -0
  5. package/dist/index.es.min.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist/revolugo.banktransferdetails.BySITPec.min.js +36 -0
  9. package/dist/revolugo.bookingdetailssidebar.BYzRYS22.min.js +37 -0
  10. package/dist/revolugo.bookingmanager.nw9gGNh_.min.js +24 -0
  11. package/dist/revolugo.cancellationpoliciesbadge.BeG993YZ.min.js +24 -0
  12. package/dist/revolugo.cancellationpoliciesbadge.props.Dr18g1D_.min.js +31886 -0
  13. package/dist/revolugo.cancellationpolicieslist.Ds8oi3Ea.min.js +24 -0
  14. package/dist/revolugo.creditcardform.By79p0Bj.min.js +24 -0
  15. package/dist/revolugo.creditcardpayment.DvO9zT4V.min.js +24 -0
  16. package/dist/revolugo.currencypickerbtn.CLC1mWT8.min.js +24 -0
  17. package/dist/revolugo.fastbookingflow.Di2jU8_z.min.js +34 -0
  18. package/dist/revolugo.fullbookingflow.DCtMc-R_.min.js +24 -0
  19. package/dist/revolugo.hoteldescriptionview.BjSUnjIh.min.js +24 -0
  20. package/dist/revolugo.hotelofferlist.DAIv1qMO.min.js +24 -0
  21. package/dist/revolugo.hoteloffersearchmenu.wFDKLBxy.min.js +71 -0
  22. package/dist/revolugo.hoteloffersmap.BKHy0T4U.min.js +24 -0
  23. package/dist/revolugo.hoteloffersview.V2L1odGh.min.js +19 -0
  24. package/dist/revolugo.hotelroomofferlist.Kxi2PaU-.min.js +24 -0
  25. package/dist/revolugo.hotelroomoffersbookingflow.DVwHWQoy.min.js +24 -0
  26. package/dist/revolugo.hotelroomoffersearchmenu.CzlGeOLh.min.js +24 -0
  27. package/dist/revolugo.hotelroomoffersview.b_5VDEUw.min.js +24 -0
  28. package/dist/{revolugo.index.wc.C1h_M397.min.js → revolugo.index.wc.CH4CMunP.min.js} +5866 -5933
  29. package/dist/revolugo.langpickerbtn.DMvledll.min.js +29 -0
  30. package/dist/revolugo.min.js +1 -1
  31. package/dist/revolugo.prebookform.Ct2YhDa5.min.js +24 -0
  32. package/dist/revolugo.roominglisteditor.BAH1K08N.min.js +24 -0
  33. package/dist/revolugo.storybooktoolbar.DRJbNUi1.min.js +845 -0
  34. package/dist/revolugo.termsandconditions.D7d-mv52.min.js +23 -0
  35. package/dist/revolugo.webcomponentwrapper.umNfPHAE.min.js +28713 -0
  36. package/package.json +1 -1
  37. package/dist/css/revolugo.bdaterangepicker.B6KA5TYs.css +0 -1
  38. package/dist/css/revolugo.bhoteloffersfilterbar.CekxoJmW.css +0 -1
  39. package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +0 -1
  40. package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +0 -1
  41. package/dist/css/revolugo.bookingdetailssidebar.CNP_D5F3.css +0 -1
  42. package/dist/css/revolugo.bstarrating.CPHKEfup.css +0 -1
  43. package/dist/css/revolugo.btag.T7X_iIkW.css +0 -1
  44. package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +0 -1
  45. package/dist/css/revolugo.creditcardform.DWne0Lnv.css +0 -1
  46. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
  47. package/dist/css/revolugo.currencypicker.DO0IrmRK.css +0 -1
  48. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
  49. package/dist/css/revolugo.hoteldescriptionview.Dfi-84To.css +0 -1
  50. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
  51. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +0 -1
  52. package/dist/css/revolugo.hoteloffersmap.Cp2vN-VQ.css +0 -1
  53. package/dist/css/revolugo.hoteloffersview.Xw1flMYo.css +0 -1
  54. package/dist/css/revolugo.hotelroomofferlist.BYvQZ5P2.css +0 -1
  55. package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +0 -1
  56. package/dist/css/revolugo.index.DK7d_h6O.css +0 -1
  57. package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +0 -1
  58. package/dist/css/revolugo.prebookform.DmCR7hLv.css +0 -1
  59. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +0 -1
  60. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
  61. package/dist/css/revolugo.vbadge.C45eZpxy.css +0 -1
  62. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +0 -1
  63. package/dist/css/revolugo.vcard.TERzfknI.css +0 -1
  64. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +0 -1
  65. package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
  66. package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
  67. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
  68. package/dist/css/revolugo.vicon.eIkh7vVK.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.-Y4qkukF.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.vslidegroup.ECiLCEE9.css +0 -1
  77. package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +0 -1
  78. package/dist/css/revolugo.vtextarea.Dxy6uSvm.css +0 -1
  79. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
  80. package/dist/css/revolugo.vtoolbar.BZert82L.css +0 -1
  81. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +0 -1
  82. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
  83. package/dist/revolugo._baseiteratee.Dil0w9e0.min.js +0 -247
  84. package/dist/revolugo.banktransferdetails.DiwVMsA1.min.js +0 -373
  85. package/dist/revolugo.bdaterangepicker.DDEGZVT0.min.js +0 -8324
  86. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CPnoXVaZ.min.js +0 -143
  87. package/dist/revolugo.bhoteloffersfilterbar.B_hcAZxX.min.js +0 -4896
  88. package/dist/revolugo.bhotelroomsdetails.DDHY2lbs.min.js +0 -965
  89. package/dist/revolugo.bimagecarousel.DpROkQNr.min.js +0 -566
  90. package/dist/revolugo.bookingdetailssidebar.5S5oPc1U.min.js +0 -24
  91. package/dist/revolugo.bookingdetailssidebar.l8IDCkox.min.js +0 -866
  92. package/dist/revolugo.bookingmanager.-BQEM4EN.min.js +0 -1755
  93. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.BzDggP5H.min.js +0 -91
  94. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CQgG-2B5.min.js +0 -604
  95. package/dist/revolugo.btag.yxmSLIpZ.min.js +0 -375
  96. package/dist/revolugo.cancellationpoliciesbadge.3dDx89si.min.js +0 -28
  97. package/dist/revolugo.cancellationpoliciesbadge.Bu_3zPF6.min.js +0 -198
  98. package/dist/revolugo.cancellationpolicieslist.D558ZjJj.min.js +0 -25
  99. package/dist/revolugo.cancellationpolicieslist.EOsSrPjA.min.js +0 -148
  100. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +0 -21
  101. package/dist/revolugo.case-transformers.DGnXS0Cp.min.js +0 -123
  102. package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
  103. package/dist/revolugo.creditcardform.DZXQZuRo.min.js +0 -2148
  104. package/dist/revolugo.creditcardform.DkLcGTUe.min.js +0 -24
  105. package/dist/revolugo.creditcardpayment.BCKTbLQO.min.js +0 -24
  106. package/dist/revolugo.creditcardpayment.DS5TEf7I.min.js +0 -885
  107. package/dist/revolugo.currencypicker.DzOZVdqj.min.js +0 -330
  108. package/dist/revolugo.currencypickerbtn.BFa4yMym.min.js +0 -24
  109. package/dist/revolugo.currencypickerbtn.XX3uUfVo.min.js +0 -157
  110. package/dist/revolugo.dates.BZrB2-ya.min.js +0 -31
  111. package/dist/revolugo.defaultsdeep.DkkJx-tU.min.js +0 -104
  112. package/dist/revolugo.dialog-attach.Cr22Se10.min.js +0 -27
  113. package/dist/revolugo.dialog-transition.D5NECTJF.min.js +0 -111
  114. package/dist/revolugo.fastbookingflow.BzBjZ3LE.min.js +0 -34
  115. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +0 -70
  116. package/dist/revolugo.fullbookingflow.DdY_jXGE.min.js +0 -429
  117. package/dist/revolugo.hotel-offer-request.D14Rm4x5.min.js +0 -98
  118. package/dist/revolugo.hoteldescriptionview.BgYZ2vmV.min.js +0 -24
  119. package/dist/revolugo.hoteldescriptionview.C_jOcLK_.min.js +0 -2955
  120. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.B7oYjB-Q.min.js +0 -241
  121. package/dist/revolugo.hotelofferlist.BYkJEK3j.min.js +0 -5639
  122. package/dist/revolugo.hotelofferlist.Dko1gIDn.min.js +0 -24
  123. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +0 -44
  124. package/dist/revolugo.hoteloffersearchmenu.B8ncJahc.min.js +0 -202
  125. package/dist/revolugo.hoteloffersearchmenuui.C1nrtxip.min.js +0 -829
  126. package/dist/revolugo.hoteloffersmap.CRI3Jttb.min.js +0 -8329
  127. package/dist/revolugo.hoteloffersmap.D_lQobL7.min.js +0 -24
  128. package/dist/revolugo.hoteloffersview.1h25yRqJ.min.js +0 -614
  129. package/dist/revolugo.hoteloffersview.DzB-e4H1.min.js +0 -19
  130. package/dist/revolugo.hotelroomofferlist.CDSzTTou.min.js +0 -24
  131. package/dist/revolugo.hotelroomofferlist.DdmwJDYN.min.js +0 -2811
  132. package/dist/revolugo.hotelroomofferrequestcreator.props.C_frxq0W.min.js +0 -171
  133. package/dist/revolugo.hotelroomoffersbookingflow.76yvftsv.min.js +0 -1281
  134. package/dist/revolugo.hotelroomoffersearchmenu.BJTJFnmG.min.js +0 -25
  135. package/dist/revolugo.hotelroomoffersearchmenu.D6Vyfjfp.min.js +0 -231
  136. package/dist/revolugo.hotelroomoffersview.CkGUZ5LE.min.js +0 -290
  137. package/dist/revolugo.hotelroomoffersview.CrexMnSs.min.js +0 -24
  138. package/dist/revolugo.index.3XJPtYDq.min.js +0 -67
  139. package/dist/revolugo.index.Cgeh5pQG.min.js +0 -1232
  140. package/dist/revolugo.langpicker.BEu5Dcmi.min.js +0 -99
  141. package/dist/revolugo.langpickerbtn.CIldopN_.min.js +0 -131
  142. package/dist/revolugo.langpickerbtn.PS3df2DW.min.js +0 -29
  143. package/dist/revolugo.pathify.DvfN0v8G.min.js +0 -36
  144. package/dist/revolugo.prebookform.CQkoP-VV.min.js +0 -1527
  145. package/dist/revolugo.prebookform.CV1s2FGH.min.js +0 -24
  146. package/dist/revolugo.roominglisteditor.8ernakg_.min.js +0 -385
  147. package/dist/revolugo.roominglisteditor.DxJ2OBqY.min.js +0 -24
  148. package/dist/revolugo.rounded.BOHYNseH.min.js +0 -68
  149. package/dist/revolugo.ssrboot.DElAuRmu.min.js +0 -18
  150. package/dist/revolugo.storybooktoolbar.CHfZ7EvT.min.js +0 -881
  151. package/dist/revolugo.termsandconditions.BvRlB7pE.min.js +0 -405
  152. package/dist/revolugo.termsandconditions.r61WJG2h.min.js +0 -23
  153. package/dist/revolugo.use-breakpoint-service.BXTJsL7a.min.js +0 -39
  154. package/dist/revolugo.use-dialog-attach._Ffb31mm.min.js +0 -16
  155. package/dist/revolugo.use-html-element.DTDLV1SN.min.js +0 -11
  156. package/dist/revolugo.vautocomplete.CQYvC8_q.min.js +0 -445
  157. package/dist/revolugo.vbadge.Dqf0g4rP.min.js +0 -112
  158. package/dist/revolugo.vbtn.1GlaUjid.min.js +0 -398
  159. package/dist/revolugo.vcard.BkeYpsDj.min.js +0 -313
  160. package/dist/revolugo.vcheckboxbtn.B-9q-Vt_.min.js +0 -478
  161. package/dist/revolugo.vdialog.BtJzWlDm.min.js +0 -133
  162. package/dist/revolugo.vdivider.DjAkTZXY.min.js +0 -77
  163. package/dist/revolugo.vexpansionpanels.ChRz3Vw3.min.js +0 -262
  164. package/dist/revolugo.vform.BfCyAbBX.min.js +0 -46
  165. package/dist/revolugo.vicon.0J-whoPd.min.js +0 -105
  166. package/dist/revolugo.vinput.DruJiU7m.min.js +0 -463
  167. package/dist/revolugo.vlabel.DrAIoL0X.min.js +0 -48
  168. package/dist/revolugo.vlist.DSr8wDRX.min.js +0 -1299
  169. package/dist/revolugo.vmenu.DnNDzmnm.min.js +0 -145
  170. package/dist/revolugo.vselect.V-p2AqIC.min.js +0 -660
  171. package/dist/revolugo.vsheet.Bq0fXKd0.min.js +0 -72
  172. package/dist/revolugo.vskeletonloader.CGHKwSZc.min.js +0 -136
  173. package/dist/revolugo.vslidegroup.CfQX__qs.min.js +0 -325
  174. package/dist/revolugo.vsnackbar.Dv0mQ14N.min.js +0 -198
  175. package/dist/revolugo.vspacer.DqyaaVSV.min.js +0 -7
  176. package/dist/revolugo.vtextarea.CYUE9_OL.min.js +0 -2092
  177. package/dist/revolugo.vtextfield.DVdqMySD.min.js +0 -501
  178. package/dist/revolugo.vtoolbar.CvvYVWAF.min.js +0 -180
  179. package/dist/revolugo.vtooltip.Cc-DGbrS.min.js +0 -89
  180. package/dist/revolugo.vwindowitem._RpClcFn.min.js +0 -317
  181. package/dist/revolugo.watch-list.Bg0Ch7_v.min.js +0 -16
  182. package/dist/revolugo.webcomponentwrapper.BMVPGxCQ.min.js +0 -2088
@@ -1,24 +0,0 @@
1
- import { p, a as s } from "./revolugo.prebookform.CQkoP-VV.min.js";
2
- import { W as t, _ as a } from "./revolugo.webcomponentwrapper.BMVPGxCQ.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.C1h_M397.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.CV1s2FGH.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.C1h_M397.min.js";
2
- import { _ as C } from "./revolugo.webcomponentwrapper.BMVPGxCQ.min.js";
3
- import { V as E } from "./revolugo.vdivider.DjAkTZXY.min.js";
4
- import { V as A } from "./revolugo.vcard.BkeYpsDj.min.js";
5
- import { V as p } from "./revolugo.vskeletonloader.CGHKwSZc.min.js";
6
- import { V as H, a as M, b as P, c as B } from "./revolugo.vexpansionpanels.ChRz3Vw3.min.js";
7
- import { V as D } from "./revolugo.vsnackbar.Dv0mQ14N.min.js";
8
- import { V as F } from "./revolugo.vtextfield.DVdqMySD.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 👤 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 👤 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 👤 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 👤 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 👤 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 👤 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 👤 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.8ernakg_.min.js.map
@@ -1,24 +0,0 @@
1
- import { r as n, R as s } from "./revolugo.roominglisteditor.8ernakg_.min.js";
2
- import { W as p, _ as a } from "./revolugo.webcomponentwrapper.BMVPGxCQ.min.js";
3
- import { d as i, c as m, w as c, a as d, n as _, h as f, r as o, o as l } from "./revolugo.index.wc.C1h_M397.min.js";
4
- const u = i({
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__ */ a(u, [["render", g]]);
21
- export {
22
- x as default
23
- };
24
- //# sourceMappingURL=revolugo.roominglisteditor.DxJ2OBqY.min.js.map
@@ -1,68 +0,0 @@
1
- import { a2 as u, cI as d, H as l, _ as a } from "./revolugo.index.wc.C1h_M397.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.BOHYNseH.min.js.map
@@ -1,18 +0,0 @@
1
- import { a9 as t, X as e, H as s, cq as n } from "./revolugo.index.wc.C1h_M397.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.DElAuRmu.min.js.map