@revolugo/elements 6.7.3 → 6.8.0-beta.1

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 (113) hide show
  1. package/dist/index.es.min.js +2622 -2554
  2. package/dist/index.es.min.js.map +1 -1
  3. package/dist/index.min.js +6 -6
  4. package/dist/index.min.js.map +1 -1
  5. package/dist/revolugo._basefor.CodrYJxd.min.js +15 -0
  6. package/dist/{revolugo.banktransferdetails.arP5j__o.min.js → revolugo.banktransferdetails.D70RTc43.min.js} +24 -23
  7. package/dist/{revolugo.bdaterangepicker.Ba26rd5I.min.js → revolugo.bdaterangepicker.B8BqSfrk.min.js} +121 -6
  8. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.TjFyJK3o.min.js +61 -0
  9. package/dist/{revolugo.bhoteloffersfilterbar.CwCd9oox.min.js → revolugo.bhoteloffersfilterbar.DeYwgC-X.min.js} +173 -169
  10. package/dist/{revolugo.bpricesummaryskeleton.DH-Kuge7.min.js → revolugo.bhotelroomsdetails.qOkb7bF4.min.js} +169 -241
  11. package/dist/{revolugo.bhotelsearchbar.DaX-iQTB.min.js → revolugo.bhotelsearchbar.DS8JMdFX.min.js} +77 -76
  12. package/dist/{revolugo.bimagecarousel.CgrOcU1C.min.js → revolugo.bimagecarousel.EmC1mHXe.min.js} +36 -36
  13. package/dist/{revolugo.bookingdetailssidebar.CXHn5MDn.min.js → revolugo.bookingdetailssidebar.OgMINhMq.min.js} +184 -202
  14. package/dist/revolugo.bookingdetailssidebar.lJaJEdFg.min.js +24 -0
  15. package/dist/{revolugo.bookingmanager.BIFir20P.min.js → revolugo.bookingmanager.m08SYP86.min.js} +51 -48
  16. package/dist/revolugo.bpricesummaryskeleton.T6fWvVKX.min.js +79 -0
  17. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.ACZ7Rna9.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.M46KdeWM.min.js} +28 -27
  18. package/dist/{revolugo.btag.0ugEj-2W.min.js → revolugo.btag.Cd9RL-Se.min.js} +70 -69
  19. package/dist/{revolugo.cancellationpoliciesbadge.BakDGPnx.min.js → revolugo.cancellationpoliciesbadge.BAWLhoFE.min.js} +51 -70
  20. package/dist/revolugo.cancellationpoliciesbadge.x9SgSKRO.min.js +24 -0
  21. package/dist/revolugo.cancellationpolicieslist.CXEi_O_B.min.js +24 -0
  22. package/dist/{revolugo.cancellationpolicieslist.C_FFhkUD.min.js → revolugo.cancellationpolicieslist.kh5sahhd.min.js} +28 -47
  23. package/dist/revolugo.case-transformers.DfCc1sKY.min.js +123 -0
  24. package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
  25. package/dist/revolugo.creditcardform.Cz_EExR3.min.js +24 -0
  26. package/dist/{revolugo.creditcardform.B5bfYD6z.min.js → revolugo.creditcardform.ZqPrv4K6.min.js} +652 -903
  27. package/dist/revolugo.creditcardpayment.C47xZXR4.min.js +24 -0
  28. package/dist/{revolugo.creditcardpayment.DzD24_nR.min.js → revolugo.creditcardpayment.olC2sHv8.min.js} +138 -154
  29. package/dist/{revolugo.currencypicker.LtjCHf9r.min.js → revolugo.currencypicker.D44ks2e0.min.js} +19 -18
  30. package/dist/revolugo.currencypickerbtn.C2gt2Wvi.min.js +24 -0
  31. package/dist/revolugo.currencypickerbtn.Da2NhlAu.min.js +163 -0
  32. package/dist/revolugo.dialog-attach.C_5QvJAn.min.js +28 -0
  33. package/dist/revolugo.dialog-transition.ksNwOfBf.min.js +114 -0
  34. package/dist/revolugo.fastbookingflow.BIb9TBpX.min.js +34 -0
  35. package/dist/revolugo.forwardrefs.-bfQnFea.min.js +71 -0
  36. package/dist/{revolugo.fullbookingflow.CkMmSkIU.min.js → revolugo.fullbookingflow.BVg0Q886.min.js} +77 -75
  37. package/dist/{revolugo.hoteldescriptionview.Cp5ZgFcV.min.js → revolugo.hoteldescriptionview.BoCEWA7i.min.js} +363 -379
  38. package/dist/revolugo.hoteldescriptionview.DflBNZtA.min.js +24 -0
  39. package/dist/{revolugo.hotelofferitemlayout.Bhhi0sg3.min.js → revolugo.hotelofferitemlayout.B954A8ZU.min.js} +9 -9
  40. package/dist/revolugo.hotelofferlist.DkUtJZ29.min.js +24 -0
  41. package/dist/{revolugo.hotelofferlist.BTgDe-tp.min.js → revolugo.hotelofferlist.VpDpWMAm.min.js} +1158 -1176
  42. package/dist/{revolugo.hotelofferrequestcreator.B17qgpU2.min.js → revolugo.hotelofferrequestcreator.CrrP-Mjf.min.js} +7 -7
  43. package/dist/revolugo.hoteloffersearchmenu.BD26Zl70.min.js +46 -0
  44. package/dist/revolugo.hoteloffersmap.599v6DtH.min.js +8394 -0
  45. package/dist/revolugo.hoteloffersmap.O73rRIrY.min.js +24 -0
  46. package/dist/{revolugo.hoteloffersview.D1-F8ONF.min.js → revolugo.hoteloffersview.BSuaPamT.min.js} +161 -176
  47. package/dist/revolugo.hoteloffersview.uFcA-Q8V.min.js +19 -0
  48. package/dist/revolugo.hotelroomofferlist.047wvmlm.min.js +24 -0
  49. package/dist/{revolugo.hotelroomofferlist.BpTAFyMO.min.js → revolugo.hotelroomofferlist.hNh95LPc.min.js} +468 -485
  50. package/dist/revolugo.hotelroomofferrequestcreator.props.Ch20MI-1.min.js +171 -0
  51. package/dist/{revolugo.hotelroomoffersbookingflow.BNm52u6c.min.js → revolugo.hotelroomoffersbookingflow.CIga3epB.min.js} +40 -39
  52. package/dist/revolugo.hotelroomoffersearchmenu.BqPoCOJV.min.js +25 -0
  53. package/dist/{revolugo.hotelroomoffersearchmenu.Bysb279d.min.js → revolugo.hotelroomoffersearchmenu.SXEmMWNu.min.js} +29 -49
  54. package/dist/{revolugo.hotelroomoffersview.BVbajWFv.min.js → revolugo.hotelroomoffersview.C29cidjz.min.js} +71 -91
  55. package/dist/revolugo.hotelroomoffersview.gzfKsSHa.min.js +24 -0
  56. package/dist/{revolugo.index.BX4WZjgg.min.js → revolugo.index.BaBMFwcZ.min.js} +6 -6
  57. package/dist/revolugo.index.MUWumuM5.min.js +1037 -0
  58. package/dist/{revolugo.rounded.u4maswiM.min.js → revolugo.index.wc.hcj2tBQa.min.js} +12976 -13227
  59. package/dist/{revolugo.langpicker.BTmjf3Hy.min.js → revolugo.langpicker.CTF21wTY.min.js} +15 -15
  60. package/dist/revolugo.langpickerbtn.DMWudtGn.min.js +24 -0
  61. package/dist/{revolugo.langpickerbtn.DthGIqyz.min.js → revolugo.langpickerbtn.E0CLTwCX.min.js} +53 -71
  62. package/dist/revolugo.min.js +1 -1
  63. package/dist/{revolugo.position.CEExVEE8.min.js → revolugo.position.mEwvDkCr.min.js} +45 -44
  64. package/dist/{revolugo.prebookform.By-V1bl9.min.js → revolugo.prebookform.BcktaxEc.min.js} +94 -114
  65. package/dist/revolugo.prebookform.Bi-sWZL0.min.js +24 -0
  66. package/dist/revolugo.roominglisteditor.BgDPCfkP.min.js +24 -0
  67. package/dist/{revolugo.roominglisteditor.BTk6Ieu-.min.js → revolugo.roominglisteditor.jO9FT_rG.min.js} +82 -101
  68. package/dist/revolugo.rounded.DGGd6U47.min.js +68 -0
  69. package/dist/revolugo.ssrboot.RImRxJU9.min.js +18 -0
  70. package/dist/{revolugo.storybooktoolbar.CFuRMVxX.min.js → revolugo.storybooktoolbar.cK-_oh_-.min.js} +110 -108
  71. package/dist/{revolugo.termsandconditions.B1itHoql.min.js → revolugo.termsandconditions.Bf8tOgI4.min.js} +90 -108
  72. package/dist/revolugo.termsandconditions.DrrQwLEt.min.js +23 -0
  73. package/dist/revolugo.use-breakpoint-service.C55UqJ8N.min.js +106 -0
  74. package/dist/{revolugo.vautocomplete.bQzOaYWm.min.js → revolugo.vautocomplete.X5OrrUPl.min.js} +133 -132
  75. package/dist/{revolugo.vbadge.Cm6IZIUx.min.js → revolugo.vbadge.BeCXlcev.min.js} +33 -32
  76. package/dist/{revolugo.vbtn.D3Vm2ZlS.min.js → revolugo.vbtn.DSYh8Plf.min.js} +82 -81
  77. package/dist/{revolugo.vcard.D7M0YovD.min.js → revolugo.vcard.DrUjDHZJ.min.js} +50 -49
  78. package/dist/{revolugo.vcheckboxbtn.DxJuZdU5.min.js → revolugo.vcheckboxbtn.-WD79m_3.min.js} +72 -71
  79. package/dist/{revolugo.vdialog.B3aAN6LZ.min.js → revolugo.vdialog.C40-fld0.min.js} +26 -25
  80. package/dist/revolugo.vdivider.C8qKKweh.min.js +77 -0
  81. package/dist/{revolugo.vexpansionpanels.Cio1oHcQ.min.js → revolugo.vexpansionpanels.CPfBybl9.min.js} +42 -41
  82. package/dist/{revolugo.vform.1YZ7pPUG.min.js → revolugo.vform.Bxkhj0tA.min.js} +15 -15
  83. package/dist/{revolugo.vinput.8rjbvXX2.min.js → revolugo.vinput.DkrPzK9V.min.js} +91 -91
  84. package/dist/{revolugo.vlabel.DYs_A1Ji.min.js → revolugo.vlabel.Ra8-PR0S.min.js} +5 -5
  85. package/dist/{revolugo.vlist.DCvg08Wu.min.js → revolugo.vlist.hjMTQUm_.min.js} +90 -88
  86. package/dist/revolugo.vmenu.Df9qQOg5.min.js +152 -0
  87. package/dist/{revolugo.vselect.C8g3avwV.min.js → revolugo.vselect.D58BjYst.min.js} +133 -132
  88. package/dist/revolugo.vsheet.Be5_uKvN.min.js +72 -0
  89. package/dist/{revolugo.vskeletonloader.lUzEuSvU.min.js → revolugo.vskeletonloader.DLz_sBeT.min.js} +14 -13
  90. package/dist/{revolugo.vsnackbar.vZBrE3Q7.min.js → revolugo.vsnackbar.DmI3K8dZ.min.js} +46 -44
  91. package/dist/revolugo.vspacer.D1ff4Ue6.min.js +7 -0
  92. package/dist/revolugo.vtextarea.CE2P777C.min.js +2102 -0
  93. package/dist/{revolugo.vtextfield.DPMmhQ6a.min.js → revolugo.vtextfield.B3H-uARB.min.js} +109 -107
  94. package/dist/{revolugo.vtoolbar.Bzh8TXIO.min.js → revolugo.vtoolbar.ZaD9QMMg.min.js} +21 -20
  95. package/dist/{revolugo.vtooltip.DMjpxOcA.min.js → revolugo.vtooltip.CiaW90fk.min.js} +118 -109
  96. package/dist/{revolugo.vwindowitem.yFpV6WTQ.min.js → revolugo.vwindowitem.BjNUE921.min.js} +41 -41
  97. package/dist/revolugo.watch-list.BLmFRUgU.min.js +16 -0
  98. package/dist/{revolugo.webcomponentwrapper.CfhsVy34.min.js → revolugo.webcomponentwrapper.D7s9Wt1u.min.js} +484 -541
  99. package/package.json +5 -5
  100. package/dist/revolugo.currencypickerbtn.D02DHRmR.min.js +0 -181
  101. package/dist/revolugo.dialog-transition.DyO6FFbo.min.js +0 -216
  102. package/dist/revolugo.hoteloffersearchmenu.CQyxBtRu.min.js +0 -46
  103. package/dist/revolugo.hoteloffersmap.Bp9l3_9T.min.js +0 -8409
  104. package/dist/revolugo.hotelroomofferrequestcreator.props.Dj5-GfCx.min.js +0 -317
  105. package/dist/revolugo.index.Ds7GPsGI.min.js +0 -1127
  106. package/dist/revolugo.ssrboot.DrkbeeFe.min.js +0 -91
  107. package/dist/revolugo.vsheet.BeVVp2B7.min.js +0 -71
  108. package/dist/revolugo.vspacer.B9TRu3hb.min.js +0 -14
  109. package/dist/revolugo.vtextarea.DQrxw1ua.min.js +0 -2093
  110. /package/dist/css/{revolugo.bpricesummaryskeleton.ZHH0C1yQ.css → revolugo.bhotelroomsdetails.ZHH0C1yQ.css} +0 -0
  111. /package/dist/css/{revolugo.rounded.XNPQF1ia.css → revolugo.index.XNPQF1ia.css} +0 -0
  112. /package/dist/css/{revolugo.ssrboot.CTbbZwnv.css → revolugo.vdivider.CTbbZwnv.css} +0 -0
  113. /package/dist/css/{revolugo.hotelroomofferrequestcreator.DvKwEp1j.css → revolugo.vmenu.DvKwEp1j.css} +0 -0
@@ -1,31 +1,31 @@
1
- import { j as k, aj as V, G as T, n as h, w as l, M as c, c as a, N as x, v as u, a7 as M, b4 as H, ao as R, O as g, K as f, P as C, Q as _, s as y, q as E, x as P, y as A } from "./revolugo.rounded.u4maswiM.min.js";
2
- import { _ as v, W as j } from "./revolugo.webcomponentwrapper.CfhsVy34.min.js";
3
- import { V as $ } from "./revolugo.ssrboot.DrkbeeFe.min.js";
4
- import { a as W } from "./revolugo.vcard.D7M0YovD.min.js";
5
- import { V as L } from "./revolugo.vskeletonloader.lUzEuSvU.min.js";
6
- import { V as D, a as q, b as B, c as U } from "./revolugo.vexpansionpanels.Cio1oHcQ.min.js";
7
- import { V as F } from "./revolugo.vsnackbar.vZBrE3Q7.min.js";
8
- import { V as O } from "./revolugo.vtextfield.DPMmhQ6a.min.js";
9
- const K = k({
1
+ import { d as E, b as V, u as N, c as L, w as r, e as c, a as n, j as k, o as u, N as $, q as I, f as R, t as g, i as b, v, F as G, r as H, g as x } from "./revolugo.index.wc.hcj2tBQa.min.js";
2
+ import { _ as T } from "./revolugo.webcomponentwrapper.D7s9Wt1u.min.js";
3
+ import { V as _ } from "./revolugo.vdivider.C8qKKweh.min.js";
4
+ import { V as A } from "./revolugo.vcard.DrUjDHZJ.min.js";
5
+ import { V as f } from "./revolugo.vskeletonloader.DLz_sBeT.min.js";
6
+ import { V as M, a as P, b as D, c as q } from "./revolugo.vexpansionpanels.CPfBybl9.min.js";
7
+ import { V as B } from "./revolugo.vsnackbar.DmI3K8dZ.min.js";
8
+ import { V as F } from "./revolugo.vtextfield.B3H-uARB.min.js";
9
+ const U = E({
10
10
  mixins: [V],
11
11
  name: "RoomingListEditorLayout",
12
12
  props: {
13
13
  boilerplate: { type: Boolean }
14
14
  },
15
15
  setup() {
16
- const { t } = T();
16
+ const { t } = N();
17
17
  return {
18
18
  t
19
19
  };
20
20
  }
21
- }), z = { class: "px-4 py-2 bg-grey-lighten-4" }, Z = { class: "px-4 py-2 d-flex justify-center" }, Q = { class: "px-4 py-2" };
22
- function J(t, e, s, i, r, d) {
23
- return u(), h(W, { border: "" }, {
24
- default: l(() => [
25
- c("div", z, [
26
- c("div", Z, [
27
- x(t.$slots, "rooming-title", {}, () => [
28
- a(L, {
21
+ }), j = { class: "px-4 py-2 bg-grey-lighten-4" }, K = { class: "px-4 py-2 d-flex justify-center" }, Z = { class: "px-4 py-2" };
22
+ function O(t, e, s, o, l, d) {
23
+ return u(), L(A, { border: "" }, {
24
+ default: r(() => [
25
+ c("div", j, [
26
+ c("div", K, [
27
+ k(t.$slots, "rooming-title", {}, () => [
28
+ n(f, {
29
29
  boilerplate: t.boilerplate,
30
30
  height: "22px",
31
31
  tile: "",
@@ -35,10 +35,10 @@ function J(t, e, s, i, r, d) {
35
35
  ])
36
36
  ])
37
37
  ]),
38
- a($),
39
- c("div", Q, [
40
- x(t.$slots, "rooming-list", {}, () => [
41
- a(L, {
38
+ n(_),
39
+ c("div", Z, [
40
+ k(t.$slots, "rooming-list", {}, () => [
41
+ n(f, {
42
42
  boilerplate: t.boilerplate,
43
43
  class: "mb-2",
44
44
  height: "18px",
@@ -46,7 +46,7 @@ function J(t, e, s, i, r, d) {
46
46
  type: "heading",
47
47
  width: "120px"
48
48
  }, null, 8, ["boilerplate"]),
49
- a(L, {
49
+ n(f, {
50
50
  boilerplate: t.boilerplate,
51
51
  class: "mb-2",
52
52
  height: "18px",
@@ -54,7 +54,7 @@ function J(t, e, s, i, r, d) {
54
54
  type: "heading",
55
55
  width: "400px"
56
56
  }, null, 8, ["boilerplate"]),
57
- a(L, {
57
+ n(f, {
58
58
  boilerplate: t.boilerplate,
59
59
  height: "18px",
60
60
  tile: "",
@@ -67,17 +67,17 @@ function J(t, e, s, i, r, d) {
67
67
  _: 3
68
68
  });
69
69
  }
70
- const X = /* @__PURE__ */ v(K, [["render", J]]), w = {
70
+ const z = /* @__PURE__ */ T(U, [["render", O]]), J = {
71
71
  token: {
72
72
  required: !0,
73
73
  type: String
74
74
  }
75
- }, S = k({
75
+ }, w = E({
76
76
  components: {
77
- RoomingListEditorLayout: X
77
+ RoomingListEditorLayout: z
78
78
  },
79
79
  created() {
80
- this.updateRoomingListDebounced = M(
80
+ this.updateRoomingListDebounced = $(
81
81
  (t) => this.updateRoomingList(t),
82
82
  1e3
83
83
  );
@@ -115,14 +115,14 @@ const X = /* @__PURE__ */ v(K, [["render", J]]), w = {
115
115
  },
116
116
  initMappedGuests(t) {
117
117
  var d;
118
- const e = t.hotelRoom, s = (d = t.hotelRoomingListGuests) != null && d.length && (e != null && e.occupancy) ? e.occupancy - t.hotelRoomingListGuests.length : (e == null ? void 0 : e.occupancy) || 0, i = Array.from(
118
+ const e = t.hotelRoom, s = (d = t.hotelRoomingListGuests) != null && d.length && (e != null && e.occupancy) ? e.occupancy - t.hotelRoomingListGuests.length : (e == null ? void 0 : e.occupancy) || 0, o = Array.from(
119
119
  { length: s },
120
120
  () => ({
121
121
  fullname: "",
122
122
  id: ""
123
123
  })
124
- ), r = t.hotelRoomingListGuests ?? [];
125
- return r.push(...i), this.listToGuests[t.id] = r, r;
124
+ ), l = t.hotelRoomingListGuests ?? [];
125
+ return l.push(...o), this.listToGuests[t.id] = l, l;
126
126
  },
127
127
  async retrieveHotelRoomingLists(t) {
128
128
  var s;
@@ -134,20 +134,20 @@ const X = /* @__PURE__ */ v(K, [["render", J]]), w = {
134
134
  token: t
135
135
  }
136
136
  ));
137
- } catch (i) {
138
- this.hasError = !0, console.error(i);
137
+ } catch (o) {
138
+ this.hasError = !0, console.error(o);
139
139
  }
140
140
  return e;
141
141
  },
142
142
  updateMappedGuest(t, e) {
143
- const s = this.listToGuests[t].findIndex((i) => i.id === e.id);
143
+ const s = this.listToGuests[t].findIndex((o) => o.id === e.id);
144
144
  s !== -1 && (this.listToGuests[t][s] = {
145
145
  ...this.listToGuests[t][s],
146
146
  ...e
147
147
  });
148
148
  },
149
149
  async updateRoomingList(t) {
150
- var e, s, i, r, d;
150
+ var e, s, o, l, d;
151
151
  this.showSnackbar = !1, this.snackbarText = "";
152
152
  try {
153
153
  if (t.guestId && t.fullName)
@@ -157,29 +157,29 @@ const X = /* @__PURE__ */ v(K, [["render", J]]), w = {
157
157
  token: this.token
158
158
  }));
159
159
  else if (!t.guestId && t.fullName) {
160
- const n = await ((s = this.bookingApiClient) == null ? void 0 : s.hotelRoomingListGuests.create({
160
+ const a = await ((s = this.bookingApiClient) == null ? void 0 : s.hotelRoomingListGuests.create({
161
161
  hotelRoomingListGuestsCreateApi: {
162
162
  fullname: t.fullName,
163
163
  hotelRoomingListId: t.roomingListId
164
164
  },
165
165
  token: this.token
166
- })), o = (i = this.listToGuests[t.roomingListId]) == null ? void 0 : i[t.index];
167
- n && o && (o.id = n.id);
166
+ })), i = (o = this.listToGuests[t.roomingListId]) == null ? void 0 : o[t.index];
167
+ a && i && (i.id = a.id);
168
168
  } else if (t.guestId && !t.fullName) {
169
- await ((r = this.bookingApiClient) == null ? void 0 : r.hotelRoomingListGuests.delete({
169
+ await ((l = this.bookingApiClient) == null ? void 0 : l.hotelRoomingListGuests.delete({
170
170
  id: t.guestId,
171
171
  token: this.token
172
172
  }));
173
- const n = (d = this.listToGuests[t.roomingListId]) == null ? void 0 : d[t.index];
174
- n && (n.id = "");
173
+ const a = (d = this.listToGuests[t.roomingListId]) == null ? void 0 : d[t.index];
174
+ a && (a.id = "");
175
175
  }
176
176
  this.snackbarText = this.t(
177
177
  "RoomingListEditor.saveRoomingList.success"
178
178
  ), this.snackbarColor = "success", this.hotelRoomingLists = await this.retrieveHotelRoomingLists(
179
179
  this.token
180
180
  ), this.mappedHotelRoomingLists = this.buildMappedLists();
181
- } catch (n) {
182
- this.snackbarColor = "error", this.snackbarText = n.message;
181
+ } catch (a) {
182
+ this.snackbarColor = "error", this.snackbarText = a.message;
183
183
  } finally {
184
184
  this.showSnackbar = !0;
185
185
  }
@@ -187,9 +187,9 @@ const X = /* @__PURE__ */ v(K, [["render", J]]), w = {
187
187
  },
188
188
  mixins: [V],
189
189
  name: "RoomingListEditor",
190
- props: w,
190
+ props: J,
191
191
  setup() {
192
- const { t } = T();
192
+ const { t } = N();
193
193
  return {
194
194
  t
195
195
  };
@@ -203,7 +203,7 @@ const X = /* @__PURE__ */ v(K, [["render", J]]), w = {
203
203
  }
204
204
  }
205
205
  });
206
- function N(t) {
206
+ function C(t) {
207
207
  const e = t;
208
208
  e.__i18n = e.__i18n || [], e.__i18n.push({
209
209
  locale: "",
@@ -288,69 +288,69 @@ function N(t) {
288
288
  }
289
289
  });
290
290
  }
291
- const Y = {
291
+ const Q = {
292
292
  key: 0,
293
293
  class: "font-weight-bold mb-1"
294
- }, tt = ["innerHTML"], et = { class: "text-body-2" };
295
- function st(t, e, s, i, r, d) {
296
- const n = y("RoomingListEditorLayout");
297
- return u(), h(n, null, H({ _: 2 }, [
294
+ }, W = ["innerHTML"], X = { class: "text-body-2" };
295
+ function Y(t, e, s, o, l, d) {
296
+ const a = H("RoomingListEditorLayout");
297
+ return u(), L(a, null, I({ _: 2 }, [
298
298
  t.hotelRoomingLists ? {
299
299
  name: "rooming-title",
300
- fn: l(() => [
300
+ fn: r(() => [
301
301
  R(g(t.t("RoomingListEditor.title")), 1)
302
302
  ]),
303
303
  key: "0"
304
304
  } : void 0,
305
305
  t.hotelRoomingLists ? {
306
306
  name: "rooming-list",
307
- fn: l(() => [
308
- a(D, {
307
+ fn: r(() => [
308
+ n(M, {
309
309
  variant: "accordion",
310
310
  flat: ""
311
311
  }, {
312
- default: l(() => [
313
- (u(!0), f(_, null, C(t.mappedHotelRoomingLists, (o, I) => (u(), h(q, {
314
- key: o.id
312
+ default: r(() => [
313
+ (u(!0), b(G, null, v(t.mappedHotelRoomingLists, (i, S) => (u(), L(P, {
314
+ key: i.id
315
315
  }, {
316
- default: l(() => [
317
- a(B, null, {
318
- default: l(() => {
319
- var m, p, b, G;
316
+ default: r(() => [
317
+ n(D, null, {
318
+ default: r(() => {
319
+ var m, p, h, y;
320
320
  return [
321
321
  c("div", null, [
322
- (m = o.hotelRoom) != null && m.description ? (u(), f("div", Y, g((p = o.hotelRoom) == null ? void 0 : p.description), 1)) : E("", !0),
322
+ (m = i.hotelRoom) != null && m.description ? (u(), b("div", Q, g((p = i.hotelRoom) == null ? void 0 : p.description), 1)) : x("", !0),
323
323
  c("div", null, [
324
- R(g((b = o.hotelRoom) == null ? void 0 : b.bedsPretty) + " ", 1),
324
+ R(g((h = i.hotelRoom) == null ? void 0 : h.bedsPretty) + " ", 1),
325
325
  c("span", {
326
326
  class: "ml-2 text-caption text--secondary",
327
327
  innerHTML: t.t("RoomingListEditor.occupancy", {
328
- occupancy: (G = o.hotelRoom) == null ? void 0 : G.occupancy
328
+ occupancy: (y = i.hotelRoom) == null ? void 0 : y.occupancy
329
329
  })
330
- }, null, 8, tt)
330
+ }, null, 8, W)
331
331
  ])
332
332
  ])
333
333
  ];
334
334
  }),
335
335
  _: 2
336
336
  }, 1024),
337
- a(U, null, {
338
- default: l(() => [
339
- (u(!0), f(_, null, C(o.hotelRoomingListGuests, (m, p) => (u(), f("div", { key: p }, [
340
- c("span", et, g(t.t("RoomingListEditor.guestCount", {
337
+ n(q, null, {
338
+ default: r(() => [
339
+ (u(!0), b(G, null, v(i.hotelRoomingListGuests, (m, p) => (u(), b("div", { key: p }, [
340
+ c("span", X, g(t.t("RoomingListEditor.guestCount", {
341
341
  guestCount: p + 1
342
342
  })), 1),
343
- a(O, {
343
+ n(F, {
344
344
  class: "w-sm-50",
345
345
  clearable: "",
346
346
  variant: "outlined",
347
347
  placeholder: t.t("RoomingListEditor.fullName"),
348
348
  "prepend-inner-icon": "fas fa-user",
349
349
  "model-value": m.fullname,
350
- "onUpdate:modelValue": (b) => t.updateRoomingListDebounced({
351
- roomingListId: o.id,
350
+ "onUpdate:modelValue": (h) => t.updateRoomingListDebounced({
351
+ roomingListId: i.id,
352
352
  guestId: m.id,
353
- fullName: b,
353
+ fullName: h,
354
354
  index: p
355
355
  })
356
356
  }, null, 8, ["placeholder", "model-value", "onUpdate:modelValue"])
@@ -358,21 +358,21 @@ function st(t, e, s, i, r, d) {
358
358
  ]),
359
359
  _: 2
360
360
  }, 1024),
361
- I != t.mappedHotelRoomingLists.length - 1 ? (u(), h($, { key: 0 })) : E("", !0)
361
+ S != t.mappedHotelRoomingLists.length - 1 ? (u(), L(_, { key: 0 })) : x("", !0)
362
362
  ]),
363
363
  _: 2
364
364
  }, 1024))), 128))
365
365
  ]),
366
366
  _: 1
367
367
  }),
368
- a(F, {
368
+ n(B, {
369
369
  modelValue: t.showSnackbar,
370
- "onUpdate:modelValue": e[0] || (e[0] = (o) => t.showSnackbar = o),
370
+ "onUpdate:modelValue": e[0] || (e[0] = (i) => t.showSnackbar = i),
371
371
  color: t.snackbarColor,
372
372
  class: "elevation-24",
373
373
  location: "right top"
374
374
  }, {
375
- default: l(() => [
375
+ default: r(() => [
376
376
  R(g(t.snackbarText), 1)
377
377
  ]),
378
378
  _: 1
@@ -382,29 +382,10 @@ function st(t, e, s, i, r, d) {
382
382
  } : void 0
383
383
  ]), 1024);
384
384
  }
385
- typeof N == "function" && N(S);
386
- const ot = /* @__PURE__ */ v(S, [["render", st]]), it = k({
387
- components: {
388
- RoomingListEditor: ot,
389
- WebComponentWrapper: j
390
- },
391
- props: w
392
- });
393
- function nt(t, e, s, i, r, d) {
394
- const n = y("RoomingListEditor", !0), o = y("WebComponentWrapper");
395
- return u(), h(o, null, {
396
- default: l(() => [
397
- a(n, P(A(t.$props)), null, 16)
398
- ]),
399
- _: 1
400
- });
401
- }
402
- const at = /* @__PURE__ */ v(it, [["render", nt]]), ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
403
- __proto__: null,
404
- default: at
405
- }, Symbol.toStringTag, { value: "Module" }));
385
+ typeof C == "function" && C(w);
386
+ const rt = /* @__PURE__ */ T(w, [["render", Y]]);
406
387
  export {
407
- ot as R,
408
- ht as a
388
+ rt as R,
389
+ J as r
409
390
  };
410
- //# sourceMappingURL=revolugo.roominglisteditor.BTk6Ieu-.min.js.map
391
+ //# sourceMappingURL=revolugo.roominglisteditor.jO9FT_rG.min.js.map
@@ -0,0 +1,68 @@
1
+ import { _ as u, ce as d, D as l, X as a } from "./revolugo.index.wc.hcj2tBQa.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.DGGd6U47.min.js.map
@@ -0,0 +1,18 @@
1
+ import { a5 as t, V as e, D as s, bZ as n } from "./revolugo.index.wc.hcj2tBQa.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.RImRxJU9.min.js.map