@revolugo/elements 6.8.3-beta.10 → 6.8.3-beta.11

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 (117) hide show
  1. package/dist/css/revolugo.bookingdetailssidebar.g_6Xwqnt.css +1 -0
  2. package/dist/css/{revolugo.prebookform.DmCR7hLv.css → revolugo.prebookform.BAOv_-Iq.css} +1 -1
  3. package/dist/index.es.min.js.map +1 -1
  4. package/dist/index.min.js.map +1 -1
  5. package/dist/{revolugo._baseiteratee.BQAqIqmD.min.js → revolugo._baseiteratee.DP92zxle.min.js} +2 -2
  6. package/dist/revolugo.banktransferdetails.Clt6zoWY.min.js +358 -0
  7. package/dist/{revolugo.bdaterangepicker.CuXt5m8k.min.js → revolugo.bdaterangepicker.DIZJ8RP6.min.js} +5 -5
  8. package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.1LgvMIpZ.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CDRQwrv7.min.js} +2 -2
  9. package/dist/{revolugo.bhoteloffersfilterbar.JyThxTJT.min.js → revolugo.bhoteloffersfilterbar.B_jLAORy.min.js} +36 -36
  10. package/dist/{revolugo.bhotelroomsdetails.ziCA0uqt.min.js → revolugo.bhotelroomsdetails.CNHF038L.min.js} +7 -7
  11. package/dist/{revolugo.bimagecarousel.LON3YyDv.min.js → revolugo.bimagecarousel.BgFg06KV.min.js} +8 -8
  12. package/dist/revolugo.bookingdetailssidebar.BvjQVRA_.min.js +37 -0
  13. package/dist/{revolugo.bookingdetailssidebar.CQF8f2p5.min.js → revolugo.bookingdetailssidebar.vue_vue_type_script_setup_true_lang.B4RC_YAC.min.js} +395 -420
  14. package/dist/{revolugo.bookingmanager.BEFqmO93.min.js → revolugo.bookingmanager.CghMJdqz.min.js} +20 -20
  15. package/dist/{revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.k5o2Io4n.min.js → revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.Db_ACG1H.min.js} +3 -3
  16. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.BnT8lMCQ.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CT_6nJxo.min.js} +89 -123
  17. package/dist/{revolugo.btag.CZ9KR3bN.min.js → revolugo.btag.7A6HnkUR.min.js} +13 -13
  18. package/dist/{revolugo.cancellationpoliciesbadge.KxXb8ZYt.min.js → revolugo.cancellationpoliciesbadge.D6FHfa0I.min.js} +4 -4
  19. package/dist/{revolugo.cancellationpoliciesbadge.gXl0amBL.min.js → revolugo.cancellationpoliciesbadge.RmBkzruq.min.js} +14 -14
  20. package/dist/{revolugo.cancellationpolicieslist.CVTMLJs5.min.js → revolugo.cancellationpolicieslist.DfOXzNMU.min.js} +6 -6
  21. package/dist/{revolugo.cancellationpolicieslist.BYH8J8e1.min.js → revolugo.cancellationpolicieslist._M2P5eAM.min.js} +3 -3
  22. package/dist/{revolugo.case-transformers.Ca4kmzjy.min.js → revolugo.case-transformers.1_jOatQm.min.js} +2 -2
  23. package/dist/{revolugo.creditcardform.DawvObHo.min.js → revolugo.creditcardform.BBaq6YmN.min.js} +11 -11
  24. package/dist/revolugo.creditcardform.CTFNLH8J.min.js +24 -0
  25. package/dist/revolugo.creditcardpayment.BxrVjLuU.min.js +24 -0
  26. package/dist/{revolugo.creditcardpayment.-uEi7Rky.min.js → revolugo.creditcardpayment.D4RSffRi.min.js} +21 -21
  27. package/dist/{revolugo.currencypicker.sqbxVvvs.min.js → revolugo.currencypicker.CMJz4vqd.min.js} +13 -13
  28. package/dist/{revolugo.currencypickerbtn.BSUDuF7M.min.js → revolugo.currencypickerbtn.BY9oouTZ.min.js} +4 -4
  29. package/dist/{revolugo.currencypickerbtn.BoXjqXbM.min.js → revolugo.currencypickerbtn.cUc7CL2Y.min.js} +14 -14
  30. package/dist/{revolugo.dates.CE3ChILc.min.js → revolugo.dates.DPQNmLzk.min.js} +2 -2
  31. package/dist/{revolugo.defaultsdeep.ChES_MUh.min.js → revolugo.defaultsdeep.BVE67mfz.min.js} +2 -2
  32. package/dist/{revolugo.dialog-attach.BogqVGDT.min.js → revolugo.dialog-attach.YVQZM1DK.min.js} +2 -2
  33. package/dist/{revolugo.dialog-transition.EGNOTJLZ.min.js → revolugo.dialog-transition.oQAo2-et.min.js} +3 -3
  34. package/dist/{revolugo.fastbookingflow.Crr6eF_n.min.js → revolugo.fastbookingflow.CENJomA1.min.js} +4 -4
  35. package/dist/{revolugo.fullbookingflow.CzofWe_h.min.js → revolugo.fullbookingflow.CbLd9Lyf.min.js} +17 -17
  36. package/dist/{revolugo.hotel-offer-request.BrgYCPvB.min.js → revolugo.hotel-offer-request.C1AKWroC.min.js} +2 -2
  37. package/dist/{revolugo.hoteldescriptionview.BaN6Jn_K.min.js → revolugo.hoteldescriptionview.BMdDyGVt.min.js} +27 -26
  38. package/dist/{revolugo.hoteldescriptionview.BfUYrAbK.min.js → revolugo.hoteldescriptionview._OO7w9zd.min.js} +6 -6
  39. package/dist/{revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.B0aPs9nv.min.js → revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.DLrZACAp.min.js} +9 -9
  40. package/dist/{revolugo.hotelofferlist.CEtclWHx.min.js → revolugo.hotelofferlist.CFoAnyrB.min.js} +23 -23
  41. package/dist/{revolugo.hotelofferlist.DGO-YnB3.min.js → revolugo.hotelofferlist.Dh5vDJMe.min.js} +4 -4
  42. package/dist/{revolugo.hoteloffersearchmenu.9ePsLejx.min.js → revolugo.hoteloffersearchmenu.CiJQ2M0P.min.js} +6 -6
  43. package/dist/{revolugo.hoteloffersearchmenuui.Dq3SUHsn.min.js → revolugo.hoteloffersearchmenuui.BgvuHVW2.min.js} +24 -24
  44. package/dist/{revolugo.hoteloffersmap.DbfMieYw.min.js → revolugo.hoteloffersmap.BZKdMCGn.min.js} +4 -4
  45. package/dist/{revolugo.hoteloffersmap.DFUv89P-.min.js → revolugo.hoteloffersmap.COupnZUn.min.js} +13 -13
  46. package/dist/{revolugo.hoteloffersview.CMQC6sEW.min.js → revolugo.hoteloffersview.CqRz5ApR.min.js} +4 -4
  47. package/dist/{revolugo.hoteloffersview.DR-NQds9.min.js → revolugo.hoteloffersview.CuZN1LQf.min.js} +16 -16
  48. package/dist/{revolugo.hotelroomofferlist.VfQvHfAJ.min.js → revolugo.hotelroomofferlist.BYsGBpdF.min.js} +4 -4
  49. package/dist/{revolugo.hotelroomofferlist.BDmmTZzY.min.js → revolugo.hotelroomofferlist.CgSm4Pl8.min.js} +171 -194
  50. package/dist/{revolugo.hotelroomofferrequestcreator.props.BkEQaSSo.min.js → revolugo.hotelroomofferrequestcreator.props.C_C-Y_h9.min.js} +2 -2
  51. package/dist/{revolugo.hotelroomoffersbookingflow.BdI11kxD.min.js → revolugo.hotelroomoffersbookingflow.DFwr-egM.min.js} +17 -17
  52. package/dist/{revolugo.hotelroomoffersearchmenu.Be69MN7I.min.js → revolugo.hotelroomoffersearchmenu.BrzWEHwB.min.js} +8 -8
  53. package/dist/{revolugo.hotelroomoffersearchmenu.i97dxjV4.min.js → revolugo.hotelroomoffersearchmenu.X_iQ8R5P.min.js} +5 -5
  54. package/dist/{revolugo.hotelroomoffersview.CZRrXMrq.min.js → revolugo.hotelroomoffersview.Cxe-LHyu.min.js} +4 -4
  55. package/dist/{revolugo.hotelroomoffersview.QIikXLmz.min.js → revolugo.hotelroomoffersview.DQ2GcKPC.min.js} +12 -12
  56. package/dist/{revolugo.index.EVacDza9.min.js → revolugo.index.28pb9NJA.min.js} +41 -41
  57. package/dist/{revolugo.index.BkZCIWDs.min.js → revolugo.index.BehZHE-w.min.js} +2 -2
  58. package/dist/{revolugo.index.wc.B-VISNof.min.js → revolugo.index.wc.BHVSqGrC.min.js} +65 -65
  59. package/dist/{revolugo.langpicker.Dqh1HLSM.min.js → revolugo.langpicker.Ddak_l7M.min.js} +17 -17
  60. package/dist/revolugo.langpickerbtn.BzcFSIDj.min.js +29 -0
  61. package/dist/{revolugo.langpickerbtn.D2BROzmF.min.js → revolugo.langpickerbtn.CNBIiZHd.min.js} +10 -10
  62. package/dist/revolugo.min.js +1 -1
  63. package/dist/revolugo.parsed-props.CC-0bCLh.min.js +39 -0
  64. package/dist/{revolugo.pathify.Cj2pWNwI.min.js → revolugo.pathify.MnSO6lNi.min.js} +2 -2
  65. package/dist/revolugo.prebookform.Db-cKSs4.min.js +24 -0
  66. package/dist/{revolugo.prebookform.DJtQZk4h.min.js → revolugo.prebookform.Y0RZLTMq.min.js} +28 -28
  67. package/dist/revolugo.roominglisteditor.BQP7XwJk.min.js +24 -0
  68. package/dist/{revolugo.roominglisteditor.DOIoiZUZ.min.js → revolugo.roominglisteditor.CPYUR_4D.min.js} +13 -13
  69. package/dist/{revolugo.rounded.CuDW7ReX.min.js → revolugo.rounded.BQUpkgY5.min.js} +2 -2
  70. package/dist/{revolugo.ssrboot.BkAAdgIG.min.js → revolugo.ssrboot.oiwB_u4B.min.js} +2 -2
  71. package/dist/{revolugo.storybooktoolbar.BrYrYQ9u.min.js → revolugo.storybooktoolbar.pzZNLsbl.min.js} +18 -18
  72. package/dist/{revolugo.termsandconditions.DdFCvyY1.min.js → revolugo.termsandconditions.B3BUBkTZ.min.js} +4 -4
  73. package/dist/revolugo.termsandconditions.CVoc4wCL.min.js +23 -0
  74. package/dist/{revolugo.use-breakpoint-service.Bd-iL63O.min.js → revolugo.use-breakpoint-service.DCoxta_9.min.js} +6 -6
  75. package/dist/revolugo.use-dialog-attach.B2t5QnKl.min.js +16 -0
  76. package/dist/revolugo.use-html-element.3dud1iQV.min.js +11 -0
  77. package/dist/revolugo.use-parsed-props.DhDLqZ_E.min.js +29 -0
  78. package/dist/{revolugo.vautocomplete.3H62FFlI.min.js → revolugo.vautocomplete.DbuVpE77.min.js} +36 -36
  79. package/dist/{revolugo.vbadge.DIKTZfYf.min.js → revolugo.vbadge.BIU8KaMW.min.js} +9 -9
  80. package/dist/{revolugo.vbtn.ikEGbF2M.min.js → revolugo.vbtn.IUxF2ME5.min.js} +6 -6
  81. package/dist/{revolugo.vcard.k3F27b0_.min.js → revolugo.vcard.DAHM1t48.min.js} +6 -6
  82. package/dist/{revolugo.vcheckboxbtn.DUDck9Jj.min.js → revolugo.vcheckboxbtn.D5F58CoS.min.js} +17 -17
  83. package/dist/{revolugo.vdialog.I9viR6u_.min.js → revolugo.vdialog.BQTEd3ge.min.js} +9 -9
  84. package/dist/{revolugo.vdivider.BU_Qpn1Y.min.js → revolugo.vdivider.BQ1hnmkI.min.js} +3 -3
  85. package/dist/{revolugo.vexpansionpanels.BlsPrY5r.min.js → revolugo.vexpansionpanels.Dq2DJxg3.min.js} +6 -6
  86. package/dist/{revolugo.vform.BuY4c-jG.min.js → revolugo.vform.Dh0L7FRS.min.js} +12 -12
  87. package/dist/{revolugo.vicon.0oYbTzMR.min.js → revolugo.vicon.9kLwN_wf.min.js} +5 -5
  88. package/dist/{revolugo.vinput.BhulYzYM.min.js → revolugo.vinput.VG8tTs4n.min.js} +17 -17
  89. package/dist/{revolugo.vlabel.C7Tnm2IP.min.js → revolugo.vlabel.KHqsrczG.min.js} +3 -3
  90. package/dist/{revolugo.vlist.Ds4pFDgs.min.js → revolugo.vlist.BR2uF_Ge.min.js} +23 -23
  91. package/dist/{revolugo.vmenu.DQI1PK0w.min.js → revolugo.vmenu.BnCJVuKZ.min.js} +15 -15
  92. package/dist/{revolugo.vselect.rRp_6FBN.min.js → revolugo.vselect.gYsgWdrC.min.js} +38 -38
  93. package/dist/{revolugo.vsheet.n_e1sEwZ.min.js → revolugo.vsheet.B_wHziRR.min.js} +5 -5
  94. package/dist/{revolugo.vskeletonloader.nVyGxNEH.min.js → revolugo.vskeletonloader.CSovekwH.min.js} +4 -4
  95. package/dist/{revolugo.vslidegroup.CTyaEfLB.min.js → revolugo.vslidegroup.B4lxpAeu.min.js} +25 -25
  96. package/dist/{revolugo.vsnackbar.DTgtMyMg.min.js → revolugo.vsnackbar.Cg_I8qLG.min.js} +5 -5
  97. package/dist/revolugo.vspacer.WeQ8VCNg.min.js +7 -0
  98. package/dist/{revolugo.vtextarea.mqbZT0AH.min.js → revolugo.vtextarea.CpyjIdYe.min.js} +8 -8
  99. package/dist/{revolugo.vtextfield.C3PH47E4.min.js → revolugo.vtextfield.BFV9zA-d.min.js} +18 -18
  100. package/dist/{revolugo.vtoolbar.BTinlkeA.min.js → revolugo.vtoolbar.BUusfthT.min.js} +5 -5
  101. package/dist/{revolugo.vtooltip.CvIhH6aP.min.js → revolugo.vtooltip.TpoT-GCL.min.js} +7 -7
  102. package/dist/{revolugo.vwindowitem.Cf667i7i.min.js → revolugo.vwindowitem.ADlNaenF.min.js} +17 -17
  103. package/dist/{revolugo.watch-list.BVepdYEA.min.js → revolugo.watch-list.7eKmD-Cq.min.js} +2 -2
  104. package/dist/{revolugo.webcomponentwrapper.BZSwKZDU.min.js → revolugo.webcomponentwrapper.D9BPl-Pm.min.js} +17 -17
  105. package/package.json +1 -1
  106. package/dist/css/revolugo.bookingdetailssidebar.CNP_D5F3.css +0 -1
  107. package/dist/revolugo.banktransferdetails.0j9oc308.min.js +0 -373
  108. package/dist/revolugo.bookingdetailssidebar.CLb15O8T.min.js +0 -24
  109. package/dist/revolugo.creditcardform.8N0BWYbc.min.js +0 -24
  110. package/dist/revolugo.creditcardpayment.CYrmSY04.min.js +0 -24
  111. package/dist/revolugo.langpickerbtn.BHidyFm0.min.js +0 -29
  112. package/dist/revolugo.prebookform.BEoRLmXN.min.js +0 -24
  113. package/dist/revolugo.roominglisteditor.Bde6fZE4.min.js +0 -24
  114. package/dist/revolugo.termsandconditions.DsQqeMuQ.min.js +0 -23
  115. package/dist/revolugo.use-dialog-attach.CQ3SJvi2.min.js +0 -16
  116. package/dist/revolugo.use-html-element.DSBxvQwo.min.js +0 -11
  117. package/dist/revolugo.vspacer.0M0DbPqW.min.js +0 -7
@@ -1,86 +1,74 @@
1
- import { d as O, b as D, u as R, i as c, a as e, w as i, j as n, e as o, o as r, q as k, c as m, F as y, g as d, r as u, t as s, n as N, h as U } from "./revolugo.index.wc.B-VISNof.min.js";
2
- import { _ as w, V as v, a as b } from "./revolugo.webcomponentwrapper.BZSwKZDU.min.js";
3
- import { a as h, V as C, c as H, d as T } from "./revolugo.vcard.k3F27b0_.min.js";
4
- import { V as f } from "./revolugo.vdivider.BU_Qpn1Y.min.js";
5
- import { V as a } from "./revolugo.vskeletonloader.nVyGxNEH.min.js";
6
- import { _ as j } from "./revolugo.cancellationpolicieslist.BYH8J8e1.min.js";
7
- import { B as G, _ as M } from "./revolugo.bhotelroomsdetails.ziCA0uqt.min.js";
8
- import { _ as Y } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.1LgvMIpZ.min.js";
9
- import { _ as q, B as Q, a as W } from "./revolugo.bstarrating.vue_vue_type_script_setup_true_lang.BnT8lMCQ.min.js";
10
- import { V as Z } from "./revolugo.vtooltip.CvIhH6aP.min.js";
11
- function F(t) {
1
+ import { d as _, j as z, u as V, k as p, a as t, w as e, l as r, b as l, o as u, H as R, q as S, c as y, g as k, t as n, f as c, F as $, n as U, h as N, U as G, r as j, X as M } from "./revolugo.index.wc.BHVSqGrC.min.js";
2
+ import { p as F } from "./revolugo.use-parsed-props.DhDLqZ_E.min.js";
3
+ import { B as Y, _ as q } from "./revolugo.bhotelroomsdetails.CNHF038L.min.js";
4
+ import { _ as w } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CDRQwrv7.min.js";
5
+ import { _ as Q, B as W } from "./revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CT_6nJxo.min.js";
6
+ import { _ as A, V as O, a as f } from "./revolugo.webcomponentwrapper.D9BPl-Pm.min.js";
7
+ import { a as m, V as I, c as H, d as B } from "./revolugo.vcard.DAHM1t48.min.js";
8
+ import { V as T } from "./revolugo.vdivider.BQ1hnmkI.min.js";
9
+ import { V as s } from "./revolugo.vskeletonloader.CSovekwH.min.js";
10
+ import { _ as X } from "./revolugo.cancellationpolicieslist._M2P5eAM.min.js";
11
+ import { V as Z } from "./revolugo.vtooltip.TpoT-GCL.min.js";
12
+ function L(i) {
12
13
  try {
13
14
  if (typeof document < "u") {
14
15
  window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
15
16
  sheets: [],
16
17
  components: []
17
18
  };
18
- const l = import.meta.url, g = l.slice(0, l.lastIndexOf("/") + 1) + t;
19
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(g);
20
- for (const p of REVOLUGO_ELEMENTS_STYLES.components)
21
- p(g);
22
- if (t.indexOf("fonts") >= 0) {
23
- const p = document.createElement("link");
24
- p.rel = "stylesheet", linK.href = g, document.head.appendChild(p);
19
+ const h = import.meta.url, a = h.slice(0, h.lastIndexOf("/") + 1) + i;
20
+ window.REVOLUGO_ELEMENTS_STYLES.sheets.push(a);
21
+ for (const d of REVOLUGO_ELEMENTS_STYLES.components)
22
+ d(a);
23
+ if (i.indexOf("fonts") >= 0) {
24
+ const d = document.createElement("link");
25
+ d.rel = "stylesheet", linK.href = a, document.head.appendChild(d);
25
26
  }
26
27
  }
27
- } catch (l) {
28
- console.error("[revolugo-elements] ", l);
28
+ } catch (h) {
29
+ console.error("[revolugo-elements] ", h);
29
30
  }
30
31
  }
31
- const J = {
32
- adultCount: {
33
- type: Number
34
- },
35
- checkInDate: {
36
- type: String
37
- },
38
- checkOutDate: {
39
- type: String
40
- },
41
- hotelRoomOffer: {
42
- type: [Object]
43
- }
44
- }, K = O({
45
- mixins: [D],
32
+ const J = _({
33
+ mixins: [z],
46
34
  name: "BookingDetailsSidebarLayout",
47
35
  props: {
48
36
  boilerplate: { type: Boolean }
49
37
  },
50
38
  setup() {
51
- const { t } = R();
39
+ const { t: i } = V();
52
40
  return {
53
- t
41
+ t: i
54
42
  };
55
43
  }
56
- }), X = { class: "d-flex justify-space-between" }, tt = { class: "text-right" };
57
- function et(t, l, g, p, $, _) {
58
- return r(), c("div", null, [
59
- e(C, {
44
+ }), K = { class: "d-flex justify-space-between" }, tt = { class: "text-right" };
45
+ function et(i, h, a, d, g, b) {
46
+ return u(), p("div", null, [
47
+ t(I, {
60
48
  class: "mb-1",
61
49
  elevation: "0",
62
50
  variant: "outlined"
63
51
  }, {
64
- default: i(() => [
65
- e(h, { class: "pb-5" }, {
66
- default: i(() => [
67
- n(t.$slots, "hotel", {}, () => [
68
- e(a, {
69
- boilerplate: t.boilerplate,
52
+ default: e(() => [
53
+ t(m, { class: "pb-5" }, {
54
+ default: e(() => [
55
+ r(i.$slots, "hotel", {}, () => [
56
+ t(s, {
57
+ boilerplate: i.boilerplate,
70
58
  class: "my-2",
71
59
  height: "20px",
72
60
  type: "heading",
73
61
  width: "320px"
74
62
  }, null, 8, ["boilerplate"]),
75
- e(a, {
76
- boilerplate: t.boilerplate,
63
+ t(s, {
64
+ boilerplate: i.boilerplate,
77
65
  class: "my-2",
78
66
  height: "15px",
79
67
  type: "text",
80
68
  width: "220px"
81
69
  }, null, 8, ["boilerplate"]),
82
- e(a, {
83
- boilerplate: t.boilerplate,
70
+ t(s, {
71
+ boilerplate: i.boilerplate,
84
72
  class: "my-2",
85
73
  height: "15px",
86
74
  type: "text",
@@ -93,16 +81,16 @@ function et(t, l, g, p, $, _) {
93
81
  ]),
94
82
  _: 3
95
83
  }),
96
- e(C, {
84
+ t(I, {
97
85
  class: "mb-1",
98
86
  elevation: "0",
99
87
  variant: "outlined"
100
88
  }, {
101
- default: i(() => [
102
- e(H, { class: "pb-2" }, {
103
- default: i(() => [
104
- n(t.$slots, "booking-heading", {}, () => [
105
- e(a, {
89
+ default: e(() => [
90
+ t(H, { class: "pb-2" }, {
91
+ default: e(() => [
92
+ r(i.$slots, "booking-heading", {}, () => [
93
+ t(s, {
106
94
  height: "20",
107
95
  tile: "",
108
96
  type: "heading",
@@ -112,16 +100,16 @@ function et(t, l, g, p, $, _) {
112
100
  ]),
113
101
  _: 3
114
102
  }),
115
- e(f),
116
- e(h, { class: "pb-2" }, {
117
- default: i(() => [
118
- e(v, { class: "w-100 ma-0" }, {
119
- default: i(() => [
120
- e(b, { class: "py-0 pl-0" }, {
121
- default: i(() => [
122
- n(t.$slots, "check-in-title", {}, () => [
123
- e(a, {
124
- boilerplate: t.boilerplate,
103
+ t(T),
104
+ t(m, { class: "pb-2" }, {
105
+ default: e(() => [
106
+ t(O, { class: "w-100 ma-0" }, {
107
+ default: e(() => [
108
+ t(f, { class: "py-0 pl-0" }, {
109
+ default: e(() => [
110
+ r(i.$slots, "check-in-title", {}, () => [
111
+ t(s, {
112
+ boilerplate: i.boilerplate,
125
113
  class: "my-1",
126
114
  height: "20px",
127
115
  tile: "",
@@ -132,11 +120,11 @@ function et(t, l, g, p, $, _) {
132
120
  ]),
133
121
  _: 3
134
122
  }),
135
- e(b, { class: "py-0 ml-1" }, {
136
- default: i(() => [
137
- n(t.$slots, "check-out-title", {}, () => [
138
- e(a, {
139
- boilerplate: t.boilerplate,
123
+ t(f, { class: "py-0 ml-1" }, {
124
+ default: e(() => [
125
+ r(i.$slots, "check-out-title", {}, () => [
126
+ t(s, {
127
+ boilerplate: i.boilerplate,
140
128
  class: "my-1",
141
129
  height: "20px",
142
130
  tile: "",
@@ -150,13 +138,13 @@ function et(t, l, g, p, $, _) {
150
138
  ]),
151
139
  _: 3
152
140
  }),
153
- e(v, { class: "w-100 ma-0" }, {
154
- default: i(() => [
155
- e(b, { class: "pa-0" }, {
156
- default: i(() => [
157
- n(t.$slots, "check-in-date", {}, () => [
158
- e(a, {
159
- boilerplate: t.boilerplate,
141
+ t(O, { class: "w-100 ma-0" }, {
142
+ default: e(() => [
143
+ t(f, { class: "pa-0" }, {
144
+ default: e(() => [
145
+ r(i.$slots, "check-in-date", {}, () => [
146
+ t(s, {
147
+ boilerplate: i.boilerplate,
160
148
  class: "my-1",
161
149
  height: "20px",
162
150
  tile: "",
@@ -164,9 +152,9 @@ function et(t, l, g, p, $, _) {
164
152
  width: "100%"
165
153
  }, null, 8, ["boilerplate"])
166
154
  ]),
167
- n(t.$slots, "check-in-time", {}, () => [
168
- e(a, {
169
- boilerplate: t.boilerplate,
155
+ r(i.$slots, "check-in-time", {}, () => [
156
+ t(s, {
157
+ boilerplate: i.boilerplate,
170
158
  class: "my-1",
171
159
  height: "20px",
172
160
  tile: "",
@@ -177,15 +165,15 @@ function et(t, l, g, p, $, _) {
177
165
  ]),
178
166
  _: 3
179
167
  }),
180
- e(f, {
168
+ t(T, {
181
169
  class: "mx-2",
182
170
  vertical: ""
183
171
  }),
184
- e(b, { class: "pa-0" }, {
185
- default: i(() => [
186
- n(t.$slots, "check-out-date", {}, () => [
187
- e(a, {
188
- boilerplate: t.boilerplate,
172
+ t(f, { class: "pa-0" }, {
173
+ default: e(() => [
174
+ r(i.$slots, "check-out-date", {}, () => [
175
+ t(s, {
176
+ boilerplate: i.boilerplate,
189
177
  class: "my-1",
190
178
  height: "20px",
191
179
  tile: "",
@@ -193,9 +181,9 @@ function et(t, l, g, p, $, _) {
193
181
  width: "100%"
194
182
  }, null, 8, ["boilerplate"])
195
183
  ]),
196
- n(t.$slots, "check-out-time", {}, () => [
197
- e(a, {
198
- boilerplate: t.boilerplate,
184
+ r(i.$slots, "check-out-time", {}, () => [
185
+ t(s, {
186
+ boilerplate: i.boilerplate,
199
187
  class: "my-1",
200
188
  height: "20px",
201
189
  tile: "",
@@ -212,11 +200,11 @@ function et(t, l, g, p, $, _) {
212
200
  ]),
213
201
  _: 3
214
202
  }),
215
- e(h, { class: "pb-0" }, {
216
- default: i(() => [
217
- n(t.$slots, "length-of-stay-title", {}, () => [
218
- e(a, {
219
- boilerplate: t.boilerplate,
203
+ t(m, { class: "pb-0" }, {
204
+ default: e(() => [
205
+ r(i.$slots, "length-of-stay-title", {}, () => [
206
+ t(s, {
207
+ boilerplate: i.boilerplate,
220
208
  class: "my-1",
221
209
  height: "20px",
222
210
  tile: "",
@@ -227,11 +215,11 @@ function et(t, l, g, p, $, _) {
227
215
  ]),
228
216
  _: 3
229
217
  }),
230
- e(h, { class: "pt-0 pb-2" }, {
231
- default: i(() => [
232
- n(t.$slots, "length-of-stay-count", {}, () => [
233
- e(a, {
234
- boilerplate: t.boilerplate,
218
+ t(m, { class: "pt-0 pb-2" }, {
219
+ default: e(() => [
220
+ r(i.$slots, "length-of-stay-count", {}, () => [
221
+ t(s, {
222
+ boilerplate: i.boilerplate,
235
223
  class: "my-1",
236
224
  height: "20px",
237
225
  tile: "",
@@ -242,12 +230,12 @@ function et(t, l, g, p, $, _) {
242
230
  ]),
243
231
  _: 3
244
232
  }),
245
- e(f, { class: "mx-4" }),
246
- e(T, { class: "pb-2" }, {
247
- default: i(() => [
248
- n(t.$slots, "room-selected-heading", {}, () => [
249
- e(a, {
250
- boilerplate: t.boilerplate,
233
+ t(T, { class: "mx-4" }),
234
+ t(B, { class: "pb-2" }, {
235
+ default: e(() => [
236
+ r(i.$slots, "room-selected-heading", {}, () => [
237
+ t(s, {
238
+ boilerplate: i.boilerplate,
251
239
  class: "my-1",
252
240
  height: "20px",
253
241
  tile: "",
@@ -258,19 +246,19 @@ function et(t, l, g, p, $, _) {
258
246
  ]),
259
247
  _: 3
260
248
  }),
261
- e(h, { class: "pb-7" }, {
262
- default: i(() => [
263
- n(t.$slots, "room-selected-list", {}, () => [
264
- e(a, {
265
- boilerplate: t.boilerplate,
249
+ t(m, { class: "pb-7" }, {
250
+ default: e(() => [
251
+ r(i.$slots, "room-selected-list", {}, () => [
252
+ t(s, {
253
+ boilerplate: i.boilerplate,
266
254
  class: "my-1",
267
255
  height: "20px",
268
256
  tile: "",
269
257
  type: "text",
270
258
  width: "100%"
271
259
  }, null, 8, ["boilerplate"]),
272
- e(a, {
273
- boilerplate: t.boilerplate,
260
+ t(s, {
261
+ boilerplate: i.boilerplate,
274
262
  class: "my-1",
275
263
  height: "20px",
276
264
  tile: "",
@@ -284,16 +272,16 @@ function et(t, l, g, p, $, _) {
284
272
  ]),
285
273
  _: 3
286
274
  }),
287
- e(C, {
275
+ t(I, {
288
276
  class: "mb-1",
289
277
  elevation: "0",
290
278
  variant: "outlined"
291
279
  }, {
292
- default: i(() => [
293
- e(H, { class: "pb-2" }, {
294
- default: i(() => [
295
- n(t.$slots, "price-heading", {}, () => [
296
- e(a, {
280
+ default: e(() => [
281
+ t(H, { class: "pb-2" }, {
282
+ default: e(() => [
283
+ r(i.$slots, "price-heading", {}, () => [
284
+ t(s, {
297
285
  height: "20",
298
286
  tile: "",
299
287
  type: "heading",
@@ -303,12 +291,12 @@ function et(t, l, g, p, $, _) {
303
291
  ]),
304
292
  _: 3
305
293
  }),
306
- e(f),
307
- e(T, null, {
308
- default: i(() => [
309
- n(t.$slots, "price-info-base", {}, () => [
310
- e(a, {
311
- boilerplate: t.boilerplate,
294
+ t(T),
295
+ t(B, null, {
296
+ default: e(() => [
297
+ r(i.$slots, "price-info-base", {}, () => [
298
+ t(s, {
299
+ boilerplate: i.boilerplate,
312
300
  height: "20px",
313
301
  tile: "",
314
302
  type: "heading",
@@ -318,11 +306,11 @@ function et(t, l, g, p, $, _) {
318
306
  ]),
319
307
  _: 3
320
308
  }),
321
- e(T, { class: "py-0" }, {
322
- default: i(() => [
323
- n(t.$slots, "price-info-taxes", {}, () => [
324
- e(a, {
325
- boilerplate: t.boilerplate,
309
+ t(B, { class: "py-0" }, {
310
+ default: e(() => [
311
+ r(i.$slots, "price-info-taxes", {}, () => [
312
+ t(s, {
313
+ boilerplate: i.boilerplate,
326
314
  class: "mb-4",
327
315
  height: "20px",
328
316
  tile: "",
@@ -333,28 +321,28 @@ function et(t, l, g, p, $, _) {
333
321
  ]),
334
322
  _: 3
335
323
  }),
336
- e(h, { class: "py-3 bg-grey-lighten-3" }, {
337
- default: i(() => [
338
- o("div", X, [
339
- n(t.$slots, "total", {}, () => [
340
- e(a, {
324
+ t(m, { class: "py-3 bg-grey-lighten-3" }, {
325
+ default: e(() => [
326
+ l("div", K, [
327
+ r(i.$slots, "total", {}, () => [
328
+ t(s, {
341
329
  height: "20",
342
330
  tile: "",
343
331
  type: "heading",
344
332
  width: "50px"
345
333
  })
346
334
  ]),
347
- o("div", tt, [
348
- n(t.$slots, "total-count", {}, () => [
349
- e(a, {
335
+ l("div", tt, [
336
+ r(i.$slots, "total-count", {}, () => [
337
+ t(s, {
350
338
  height: "20",
351
339
  tile: "",
352
340
  type: "heading",
353
341
  width: "100px"
354
342
  })
355
343
  ]),
356
- n(t.$slots, "taxes", {}, () => [
357
- e(a, {
344
+ r(i.$slots, "taxes", {}, () => [
345
+ t(s, {
358
346
  class: "mt-2",
359
347
  height: "20",
360
348
  tile: "",
@@ -370,16 +358,16 @@ function et(t, l, g, p, $, _) {
370
358
  ]),
371
359
  _: 3
372
360
  }),
373
- e(C, {
361
+ t(I, {
374
362
  elevation: "0",
375
363
  variant: "outlined"
376
364
  }, {
377
- default: i(() => [
378
- e(H, { class: "pb-2" }, {
379
- default: i(() => [
380
- n(t.$slots, "cancellation-policies-heading", {}, () => [
381
- e(a, {
382
- boilerplate: t.boilerplate,
365
+ default: e(() => [
366
+ t(H, { class: "pb-2" }, {
367
+ default: e(() => [
368
+ r(i.$slots, "cancellation-policies-heading", {}, () => [
369
+ t(s, {
370
+ boilerplate: i.boilerplate,
383
371
  class: "my-1",
384
372
  height: "20px",
385
373
  tile: "",
@@ -390,12 +378,12 @@ function et(t, l, g, p, $, _) {
390
378
  ]),
391
379
  _: 3
392
380
  }),
393
- e(f),
394
- e(h, { class: "pb-5" }, {
395
- default: i(() => [
396
- n(t.$slots, "cancellation-policies-list", {}, () => [
397
- e(a, {
398
- boilerplate: t.boilerplate,
381
+ t(T),
382
+ t(m, { class: "pb-5" }, {
383
+ default: e(() => [
384
+ r(i.$slots, "cancellation-policies-list", {}, () => [
385
+ t(s, {
386
+ boilerplate: i.boilerplate,
399
387
  class: "my-1",
400
388
  height: "20px",
401
389
  tile: "",
@@ -411,72 +399,229 @@ function et(t, l, g, p, $, _) {
411
399
  })
412
400
  ]);
413
401
  }
414
- const it = /* @__PURE__ */ w(K, [["render", et]]), I = O({
415
- components: {
416
- BBreakfastOptionBadge: M,
417
- BFormattedAmount: Y,
418
- BHotelRoomsDetails: G,
419
- BReviewRating: Q,
420
- BStarRating: q,
421
- BookingDetailsSidebarLayout: it,
422
- CancellationPoliciesList: j
423
- },
424
- computed: {
425
- nightCount() {
426
- const { checkInDate: t } = this, { checkOutDate: l } = this;
427
- return !t || !l ? 0 : k(l).diff(k(t), "days");
428
- },
429
- parsedHotelRoomOffer() {
430
- return W(this.hotelRoomOffer, null);
431
- },
432
- roomCount() {
433
- return this.parsedHotelRoomOffer?.hotelRooms.reduce(
434
- (t, l) => t + l.count,
435
- 0
436
- ) || 0;
437
- },
438
- totalTaxesAmount() {
439
- return this.parsedHotelRoomOffer ? this.parsedHotelRoomOffer.taxIncludedPrice - this.parsedHotelRoomOffer.price : null;
440
- }
402
+ const it = /* @__PURE__ */ A(J, [["render", et]]), ot = { class: "text-h7 font-weight-bold text-grey-darken-4 ma-0 mr-2" }, at = { class: "text-h8 text-grey-darken-2" }, lt = { class: "mb-1 text-black text-body-2" }, st = { class: "mb-1 text-black text-body-2" }, nt = { class: "font-weight-bold mb-0 text-black text-body-2" }, rt = { class: "font-weight-bold mb-0 text-black text-body-2" }, ct = {
403
+ key: 0,
404
+ class: "mb-0 text-body-2 text-grey-darken-1"
405
+ }, ut = {
406
+ key: 0,
407
+ class: "mb-0 text-body-2 text-grey-darken-1"
408
+ }, dt = { key: 1 }, ht = { class: "mb-1 text-black" }, bt = { class: "font-weight-bold mb-0 text-black" }, pt = { class: "font-weight-bold mb-0 text-black" }, kt = { class: "caption font-weight-bold text-black" }, gt = { class: "text-black float-right" }, mt = {
409
+ key: 0,
410
+ class: "pb-4 pt-0"
411
+ }, ft = { class: "text-caption font-weight-bold text-black" }, vt = { class: "float-right text-black" }, yt = { key: 1 }, Ct = { class: "font-weight-black text-h6 text-black mb-0" }, St = {
412
+ key: 0,
413
+ class: "mb-0 text-caption text-black"
414
+ }, Tt = { class: "text-caption mb-0" }, P = /* @__PURE__ */ _({
415
+ __name: "BookingDetailsSidebarUI",
416
+ props: {
417
+ adultCount: {},
418
+ checkInDate: {},
419
+ checkOutDate: {},
420
+ hotelRoomOffer: {},
421
+ hotel: {}
441
422
  },
442
- created() {
443
- try {
444
- this.bookingApiClient?.hotels.retrieve({
445
- id: this.parsedHotelRoomOffer.hotelId
446
- }).then((t) => {
447
- this.hotel = t;
448
- });
449
- } catch (t) {
450
- console.error(t);
423
+ setup(i) {
424
+ const { locale: h, t: a } = V(), d = i;
425
+ function g(o) {
426
+ return o ? S(o).locale(h.value).format("ll") : null;
451
427
  }
452
- },
453
- data: () => ({
454
- errorMessage: null,
455
- hotel: void 0
456
- }),
457
- methods: {
458
- getFormattedDate(t) {
459
- const { locale: l } = this.$i18n;
460
- return t ? k(t).locale(l).format("ll") : null;
461
- },
462
- getFormattedTime(t) {
463
- const l = k(`1/1/1 ${t}`, "h:mm A");
464
- return t ? k(l).format("HH:mm") : null;
428
+ function b(o) {
429
+ const v = S(`1/1/1 ${o}`, "h:mm A");
430
+ return o ? S(v).format("HH:mm") : null;
465
431
  }
466
- },
467
- mixins: [D],
468
- name: "BookingDetailsSidebar",
469
- props: J,
470
- setup() {
471
- const { t } = R();
472
- return {
473
- t
474
- };
432
+ const C = R(() => !d.checkInDate || !d.checkOutDate ? 0 : S(d.checkOutDate).diff(S(d.checkInDate), "days")), x = R(
433
+ () => d.hotelRoomOffer.hotelRooms.reduce((o, v) => o + v.count, 0) || 0
434
+ );
435
+ return (o, v) => (u(), y(it, null, {
436
+ hotel: e(() => [
437
+ o.hotel ? (u(), p($, { key: 0 }, [
438
+ t(O, { "no-gutters": "" }, {
439
+ default: e(() => [
440
+ o.hotel.name ? (u(), y(f, { key: 0 }, {
441
+ default: e(() => [
442
+ l("span", ot, n(o.hotel.name), 1),
443
+ t(Z, {
444
+ attach: o.$parent?.$el,
445
+ location: "bottom"
446
+ }, {
447
+ activator: e(({ props: D }) => [
448
+ l("span", U(N(D)), [
449
+ t(Q, {
450
+ count: o.hotel.rating
451
+ }, null, 8, ["count"])
452
+ ], 16)
453
+ ]),
454
+ default: e(() => [
455
+ l("span", null, n(c(a)("BookingDetailsSidebar.hotel.starRating")), 1)
456
+ ]),
457
+ _: 1
458
+ }, 8, ["attach"])
459
+ ]),
460
+ _: 1
461
+ })) : k("", !0)
462
+ ]),
463
+ _: 1
464
+ }),
465
+ t(O, { "no-gutters": "" }, {
466
+ default: e(() => [
467
+ t(f, null, {
468
+ default: e(() => [
469
+ l("small", at, n(c(a)("BookingDetailsSidebar.hotel.fullAddress", {
470
+ address: o.hotel.address,
471
+ postalCode: o.hotel.postalCode,
472
+ city: o.hotel.city,
473
+ countryCode: o.hotel.countryCode
474
+ })), 1)
475
+ ]),
476
+ _: 1
477
+ })
478
+ ]),
479
+ _: 1
480
+ }),
481
+ t(O, { "no-gutters": "" }, {
482
+ default: e(() => [
483
+ t(f, null, {
484
+ default: e(() => [
485
+ t(W, {
486
+ features: {
487
+ ReviewRatingDetails: !1
488
+ },
489
+ hotel: o.hotel,
490
+ reverse: "",
491
+ "tooltip-position": "right"
492
+ }, null, 8, ["hotel"])
493
+ ]),
494
+ _: 1
495
+ })
496
+ ]),
497
+ _: 1
498
+ })
499
+ ], 64)) : k("", !0)
500
+ ]),
501
+ "booking-heading": e(() => [
502
+ l("h5", null, n(c(a)("BookingDetailsSidebar.bookingHeading")), 1)
503
+ ]),
504
+ "check-in-title": e(() => [
505
+ l("p", lt, n(c(a)("BookingDetailsSidebar.checkInTitle")), 1)
506
+ ]),
507
+ "check-out-title": e(() => [
508
+ l("p", st, n(c(a)("BookingDetailsSidebar.checkOutTitle")), 1)
509
+ ]),
510
+ "check-in-date": e(() => [
511
+ l("p", nt, n(g(o.checkInDate)), 1)
512
+ ]),
513
+ "check-out-date": e(() => [
514
+ l("p", rt, n(g(o.checkOutDate)), 1)
515
+ ]),
516
+ "check-in-time": e(() => [
517
+ o.hotel?.checkInTime ? (u(), p("p", ct, n(c(a)("BookingDetailsSidebar.checkInTime", {
518
+ value: b(o.hotel?.checkInTime)
519
+ })), 1)) : k("", !0),
520
+ v[0] || (v[0] = l("template", null, [
521
+ l("span")
522
+ ], -1))
523
+ ]),
524
+ "check-out-time": e(() => [
525
+ o.hotel?.checkOutTime ? (u(), p("p", ut, n(c(a)("BookingDetailsSidebar.checkOutTime", {
526
+ value: b(o.hotel?.checkOutTime)
527
+ })), 1)) : (u(), p("span", dt))
528
+ ]),
529
+ "length-of-stay-title": e(() => [
530
+ l("p", ht, n(c(a)("BookingDetailsSidebar.lengthOfStayTitle")), 1)
531
+ ]),
532
+ "length-of-stay-count": e(() => [
533
+ l("p", bt, n(c(a)("BookingDetailsSidebar.nightCount", {
534
+ n: C.value,
535
+ value: C.value
536
+ })), 1)
537
+ ]),
538
+ "room-selected-heading": e(() => [
539
+ l("p", pt, n(c(a)("BookingDetailsSidebar.roomSelectedHeading")), 1)
540
+ ]),
541
+ "room-selected-list": e(() => [
542
+ t(Y, {
543
+ "hotel-rooms": o.hotelRoomOffer.hotelRooms.map((D) => ({
544
+ ...D,
545
+ id: D.id
546
+ }))
547
+ }, null, 8, ["hotel-rooms"]),
548
+ o.hotelRoomOffer?.breakfastCount && o.hotelRoomOffer.breakfastCount > 0 ? (u(), y(q, {
549
+ key: 0,
550
+ breakfastCount: o.hotelRoomOffer?.breakfastCount,
551
+ "breakfast-option": "INCLUDED",
552
+ class: "mb-3"
553
+ }, null, 8, ["breakfastCount"])) : k("", !0)
554
+ ]),
555
+ "price-heading": e(() => [
556
+ l("h5", null, n(c(a)("BookingDetailsSidebar.priceHeading")), 1)
557
+ ]),
558
+ "price-info-base": e(() => [
559
+ o.hotelRoomOffer ? (u(), p($, { key: 0 }, [
560
+ l("span", kt, n(c(a)("BookingDetailsSidebar.roomCount", {
561
+ n: x.value,
562
+ value: x.value
563
+ })) + " x " + n(c(a)("BookingDetailsSidebar.nightCount", {
564
+ n: C.value,
565
+ value: C.value
566
+ })), 1),
567
+ l("span", gt, [
568
+ t(w, {
569
+ amount: o.hotelRoomOffer.price,
570
+ currency: o.hotelRoomOffer.currency
571
+ }, null, 8, ["amount", "currency"])
572
+ ])
573
+ ], 64)) : k("", !0)
574
+ ]),
575
+ "price-info-taxes": e(() => [
576
+ o.hotelRoomOffer && o.hotelRoomOffer.taxIncludedPrice !== o.hotelRoomOffer.price ? (u(), p("div", mt, [
577
+ l("span", ft, n(c(a)("BookingDetailsSidebar.taxesAmount")), 1),
578
+ l("span", vt, [
579
+ t(w, {
580
+ amount: o.hotelRoomOffer.taxIncludedPrice - o.hotelRoomOffer.price,
581
+ currency: o.hotelRoomOffer.currency
582
+ }, null, 8, ["amount", "currency"])
583
+ ])
584
+ ])) : (u(), p("span", yt))
585
+ ]),
586
+ total: e(() => [
587
+ l("div", null, [
588
+ l("p", Ct, n(c(a)("BookingDetailsSidebar.total")), 1),
589
+ o.adultCount ? (u(), p("p", St, n(c(a)("BookingDetailsSidebar.guestsCount", {
590
+ n: o.adultCount,
591
+ value: o.adultCount
592
+ })), 1)) : k("", !0)
593
+ ])
594
+ ]),
595
+ "total-count": e(() => [
596
+ o.hotelRoomOffer ? (u(), y(w, {
597
+ key: 0,
598
+ amount: o.hotelRoomOffer.taxIncludedPrice,
599
+ currency: o.hotelRoomOffer.currency,
600
+ class: "font-weight-black text-h6 text-black"
601
+ }, null, 8, ["amount", "currency"])) : k("", !0)
602
+ ]),
603
+ taxes: e(() => [
604
+ l("p", Tt, n(c(a)("BookingDetailsSidebar.taxes")), 1)
605
+ ]),
606
+ "cancellation-policies-heading": e(() => [
607
+ l("h5", null, n(c(a)("BookingDetailsSidebar.bookingPoliciesHeading")), 1)
608
+ ]),
609
+ "cancellation-policies-list": e(() => [
610
+ o.hotel && o.hotelRoomOffer ? (u(), y(X, {
611
+ key: 0,
612
+ "cancellation-policies": o.hotelRoomOffer.cancellationPolicies,
613
+ "check-in-date": o.checkInDate,
614
+ class: "text-body-2 text-black ml-n2",
615
+ timezone: o.hotel.timezone
616
+ }, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : k("", !0)
617
+ ]),
618
+ _: 1
619
+ }));
475
620
  }
476
621
  });
477
- function B(t) {
478
- const l = t;
479
- l.__i18n = l.__i18n || [], l.__i18n.push({
622
+ function E(i) {
623
+ const h = i;
624
+ h.__i18n = h.__i18n || [], h.__i18n.push({
480
625
  locale: "",
481
626
  resource: {
482
627
  "en-US": {
@@ -657,210 +802,40 @@ function B(t) {
657
802
  }
658
803
  });
659
804
  }
660
- const ot = { class: "text-h7 font-weight-bold text-grey-darken-4 ma-0 mr-2" }, at = { class: "text-h8 text-grey-darken-2" }, lt = { class: "mb-1 text-black text-body-2" }, st = { class: "mb-1 text-black text-body-2" }, nt = { class: "font-weight-bold mb-0 text-black text-body-2" }, rt = { class: "font-weight-bold mb-0 text-black text-body-2" }, ct = {
661
- key: 0,
662
- class: "mb-0 text-body-2 text-grey-darken-1"
663
- }, dt = {
664
- key: 0,
665
- class: "mb-0 text-body-2 text-grey-darken-1"
666
- }, ut = { key: 1 }, ht = { class: "mb-1 text-black" }, bt = { class: "font-weight-bold mb-0 text-black" }, pt = { class: "font-weight-bold mb-0 text-black" }, gt = { class: "font-weight-black text-h6 text-black mb-0" }, kt = {
667
- key: 0,
668
- class: "mb-0 text-caption text-black"
669
- }, mt = { class: "text-caption mb-0" }, ft = { class: "caption font-weight-bold text-black" }, vt = { class: "text-black float-right" }, yt = {
670
- key: 0,
671
- class: "pb-4 pt-0"
672
- }, Ct = { class: "text-caption font-weight-bold text-black" }, St = { class: "float-right text-black" }, Ht = { key: 1 };
673
- function Tt(t, l, g, p, $, _) {
674
- const A = u("BStarRating"), P = u("BReviewRating"), E = u("BHotelRoomsDetails"), V = u("BBreakfastOptionBadge"), S = u("BFormattedAmount"), L = u("CancellationPoliciesList"), x = u("BookingDetailsSidebarLayout");
675
- return r(), c("div", null, [
676
- t.isBookingApiClientDefined ? (r(), m(x, { key: 1 }, {
677
- hotel: i(() => [
678
- t.hotel ? (r(), c(y, { key: 0 }, [
679
- e(v, { "no-gutters": "" }, {
680
- default: i(() => [
681
- t.hotel.name ? (r(), m(b, { key: 0 }, {
682
- default: i(() => [
683
- o("span", ot, s(t.hotel.name), 1),
684
- e(Z, {
685
- attach: t.$parent?.$el,
686
- location: "bottom"
687
- }, {
688
- activator: i(({ props: z }) => [
689
- o("span", N(U(z)), [
690
- e(A, {
691
- count: t.hotel.rating
692
- }, null, 8, ["count"])
693
- ], 16)
694
- ]),
695
- default: i(() => [
696
- o("span", null, s(t.t("BookingDetailsSidebar.hotel.starRating")), 1)
697
- ]),
698
- _: 1
699
- }, 8, ["attach"])
700
- ]),
701
- _: 1
702
- })) : d("", !0)
703
- ]),
704
- _: 1
705
- }),
706
- e(v, { "no-gutters": "" }, {
707
- default: i(() => [
708
- e(b, null, {
709
- default: i(() => [
710
- o("small", at, s(t.t("BookingDetailsSidebar.hotel.fullAddress", {
711
- address: t.hotel.address,
712
- postalCode: t.hotel.postalCode,
713
- city: t.hotel.city,
714
- countryCode: t.hotel.countryCode
715
- })), 1)
716
- ]),
717
- _: 1
718
- })
719
- ]),
720
- _: 1
721
- }),
722
- e(v, { "no-gutters": "" }, {
723
- default: i(() => [
724
- e(b, null, {
725
- default: i(() => [
726
- e(P, {
727
- features: {
728
- ReviewRatingDetails: !1
729
- },
730
- hotel: t.hotel,
731
- reverse: "",
732
- "tooltip-position": "right"
733
- }, null, 8, ["hotel"])
734
- ]),
735
- _: 1
736
- })
737
- ]),
738
- _: 1
739
- })
740
- ], 64)) : d("", !0)
741
- ]),
742
- "booking-heading": i(() => [
743
- o("h5", null, s(t.t("BookingDetailsSidebar.bookingHeading")), 1)
744
- ]),
745
- "check-in-title": i(() => [
746
- o("p", lt, s(t.t("BookingDetailsSidebar.checkInTitle")), 1)
747
- ]),
748
- "check-out-title": i(() => [
749
- o("p", st, s(t.t("BookingDetailsSidebar.checkOutTitle")), 1)
750
- ]),
751
- "check-in-date": i(() => [
752
- o("p", nt, s(t.getFormattedDate(t.checkInDate)), 1)
753
- ]),
754
- "check-out-date": i(() => [
755
- o("p", rt, s(t.getFormattedDate(t.checkOutDate)), 1)
756
- ]),
757
- "check-in-time": i(() => [
758
- t.hotel?.checkInTime ? (r(), c("p", ct, s(t.t("BookingDetailsSidebar.checkInTime", {
759
- value: t.getFormattedTime(t.hotel?.checkInTime)
760
- })), 1)) : d("", !0),
761
- l[0] || (l[0] = o("template", null, [
762
- o("span")
763
- ], -1))
764
- ]),
765
- "check-out-time": i(() => [
766
- t.hotel?.checkOutTime ? (r(), c("p", dt, s(t.t("BookingDetailsSidebar.checkOutTime", {
767
- value: t.getFormattedTime(t.hotel?.checkOutTime)
768
- })), 1)) : (r(), c("span", ut))
769
- ]),
770
- "length-of-stay-title": i(() => [
771
- o("p", ht, s(t.t("BookingDetailsSidebar.lengthOfStayTitle")), 1)
772
- ]),
773
- "length-of-stay-count": i(() => [
774
- o("p", bt, s(t.t("BookingDetailsSidebar.nightCount", {
775
- n: t.nightCount,
776
- value: t.nightCount
777
- })), 1)
778
- ]),
779
- "room-selected-heading": i(() => [
780
- o("p", pt, s(t.t("BookingDetailsSidebar.roomSelectedHeading")), 1)
781
- ]),
782
- "room-selected-list": i(() => [
783
- t.parsedHotelRoomOffer ? (r(), c(y, { key: 0 }, [
784
- e(E, {
785
- "hotel-rooms": t.parsedHotelRoomOffer.hotelRooms
786
- }, null, 8, ["hotel-rooms"]),
787
- t.parsedHotelRoomOffer?.breakfastCount && t.parsedHotelRoomOffer.breakfastCount > 0 ? (r(), m(V, {
788
- key: 0,
789
- breakfastCount: t.parsedHotelRoomOffer?.breakfastCount,
790
- "breakfast-option": "INCLUDED",
791
- class: "mb-3"
792
- }, null, 8, ["breakfastCount"])) : d("", !0)
793
- ], 64)) : d("", !0)
794
- ]),
795
- "price-heading": i(() => [
796
- o("h5", null, s(t.t("BookingDetailsSidebar.priceHeading")), 1)
797
- ]),
798
- total: i(() => [
799
- o("div", null, [
800
- o("p", gt, s(t.t("BookingDetailsSidebar.total")), 1),
801
- t.adultCount ? (r(), c("p", kt, s(t.t("BookingDetailsSidebar.guestsCount", {
802
- n: t.adultCount,
803
- value: t.adultCount
804
- })), 1)) : d("", !0)
805
- ])
806
- ]),
807
- "total-count": i(() => [
808
- t.parsedHotelRoomOffer ? (r(), m(S, {
809
- key: 0,
810
- amount: t.parsedHotelRoomOffer.taxIncludedPrice,
811
- class: "font-weight-black text-h6 text-black"
812
- }, null, 8, ["amount"])) : d("", !0)
813
- ]),
814
- taxes: i(() => [
815
- o("p", mt, s(t.t("BookingDetailsSidebar.taxes")), 1)
816
- ]),
817
- "price-info-base": i(() => [
818
- t.parsedHotelRoomOffer ? (r(), c(y, { key: 0 }, [
819
- o("span", ft, s(t.t("BookingDetailsSidebar.roomCount", {
820
- n: t.roomCount,
821
- value: t.roomCount
822
- })) + " x " + s(t.t("BookingDetailsSidebar.nightCount", {
823
- n: t.nightCount,
824
- value: t.nightCount
825
- })), 1),
826
- o("span", vt, [
827
- e(S, {
828
- amount: t.parsedHotelRoomOffer.price
829
- }, null, 8, ["amount"])
830
- ])
831
- ], 64)) : d("", !0)
832
- ]),
833
- "price-info-taxes": i(() => [
834
- t.parsedHotelRoomOffer && t.parsedHotelRoomOffer.taxIncludedPrice !== t.parsedHotelRoomOffer.price ? (r(), c("div", yt, [
835
- o("span", Ct, s(t.t("BookingDetailsSidebar.taxesAmount")), 1),
836
- o("span", St, [
837
- e(S, {
838
- amount: t.parsedHotelRoomOffer.taxIncludedPrice - t.parsedHotelRoomOffer.price
839
- }, null, 8, ["amount"])
840
- ])
841
- ])) : (r(), c("span", Ht))
842
- ]),
843
- "cancellation-policies-heading": i(() => [
844
- o("h5", null, s(t.t("BookingDetailsSidebar.bookingPoliciesHeading")), 1)
845
- ]),
846
- "cancellation-policies-list": i(() => [
847
- t.hotel && t.parsedHotelRoomOffer ? (r(), m(L, {
848
- key: 0,
849
- "cancellation-policies": t.parsedHotelRoomOffer.cancellationPolicies,
850
- "check-in-date": t.checkInDate,
851
- class: "text-body-2 text-black ml-n2",
852
- timezone: t.hotel.timezone
853
- }, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : d("", !0)
854
- ]),
855
- _: 1
856
- })) : (r(), c(y, { key: 0 }, [], 64))
857
- ]);
858
- }
859
- typeof B == "function" && B(I);
860
- const Et = /* @__PURE__ */ w(I, [["render", Tt], ["__scopeId", "data-v-51281c9a"]]);
861
- F("css/revolugo.bookingdetailssidebar.CNP_D5F3.css");
805
+ typeof E == "function" && E(P);
806
+ const Ot = /* @__PURE__ */ A(P, [["__scopeId", "data-v-2291bc2a"]]), At = /* @__PURE__ */ _({
807
+ __name: "BookingDetailsSidebar",
808
+ props: {
809
+ adultCount: {},
810
+ checkInDate: {},
811
+ checkOutDate: {},
812
+ hotelRoomOffer: {}
813
+ },
814
+ setup(i) {
815
+ const h = i, { bookingApiClient: a } = G(), d = j(null), g = R(
816
+ () => F(h.hotelRoomOffer, null)
817
+ );
818
+ return M(() => {
819
+ try {
820
+ g.value && a.value.hotels.retrieve({
821
+ id: g.value.hotelId
822
+ }).then((b) => {
823
+ d.value = b;
824
+ });
825
+ } catch (b) {
826
+ console.error(b);
827
+ }
828
+ }), (b, C) => (u(), y(Ot, {
829
+ "adult-count": b.adultCount,
830
+ "check-in-date": b.checkInDate,
831
+ "check-out-date": b.checkOutDate,
832
+ "hotel-room-offer": g.value,
833
+ hotel: d.value
834
+ }, null, 8, ["adult-count", "check-in-date", "check-out-date", "hotel-room-offer", "hotel"]));
835
+ }
836
+ });
837
+ L("css/revolugo.bookingdetailssidebar.g_6Xwqnt.css");
862
838
  export {
863
- Et as B,
864
- J as b
839
+ At as _
865
840
  };
866
- //# sourceMappingURL=revolugo.bookingdetailssidebar.CQF8f2p5.min.js.map
841
+ //# sourceMappingURL=revolugo.bookingdetailssidebar.vue_vue_type_script_setup_true_lang.B4RC_YAC.min.js.map