@revolugo/elements 6.0.3-rc.0 → 6.0.3-rc.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  import { w as d, o as b, V as m } from "./revolugo.i18n.B6flGapj.min.js";
2
2
  import { a as y, p as E, P as S } from "./revolugo.prebookform.D-gVA3Vj.min.js";
3
- import { a as F, h as O, H as v } from "./revolugo.hoteloffersview.CAKkOYx5.min.js";
3
+ import { a as F, h as O, H as v } from "./revolugo.hoteloffersview.DoHZJ8NZ.min.js";
4
4
  import { a as C, C as w } from "./revolugo.creditcardpayment.kQEw1Asw.min.js";
5
5
  import { H as p, a as r } from "./revolugo.parsed-height.CQxZYkiB.min.js";
6
6
  import { a as R, b as B } from "./revolugo.hoteloffersmap.DmJqrY-h.min.js";
@@ -244,4 +244,4 @@ P("css/revolugo.fullbookingflow.KXbZ_WgE.css");
244
244
  export {
245
245
  Pe as default
246
246
  };
247
- //# sourceMappingURL=revolugo.fullbookingflow.DkA3FHuy.min.js.map
247
+ //# sourceMappingURL=revolugo.fullbookingflow.KR5wrEXK.min.js.map
@@ -1,5 +1,5 @@
1
1
  import { V as o } from "./revolugo.i18n.B6flGapj.min.js";
2
- import { h as s, H as t } from "./revolugo.hoteloffersview.CAKkOYx5.min.js";
2
+ import { h as s, H as t } from "./revolugo.hoteloffersview.DoHZJ8NZ.min.js";
3
3
  import { W as n, n as f } from "./revolugo.webcomponentwrapper.DH5gJidB.min.js";
4
4
  const p = o.extend({
5
5
  components: {
@@ -23,4 +23,4 @@ const u = l.exports;
23
23
  export {
24
24
  u as default
25
25
  };
26
- //# sourceMappingURL=revolugo.hoteloffersview.DRMwdvJx.min.js.map
26
+ //# sourceMappingURL=revolugo.hoteloffersview.B8Dzg4Js.min.js.map
@@ -1,16 +1,16 @@
1
1
  import { g as i } from "./revolugo.store.BddEhMk8.min.js";
2
2
  import { H as d } from "./revolugo.hotelofferrequestcreator.CqmL7Ri3.min.js";
3
- import { a as c, h, H as m } from "./revolugo.hotelofferlist.BsAd2KHv.min.js";
3
+ import { a as c, h as m, H as h } from "./revolugo.hotelofferlist.BsAd2KHv.min.js";
4
4
  import { a as _, b as O, h as v, H as E } from "./revolugo.hoteloffersmap.DmJqrY-h.min.js";
5
5
  import { P as g } from "./revolugo.hoteldescriptionview.CmW8rQV3.min.js";
6
6
  import { l as H, B as w, n as M, _ as l, a as o } from "./revolugo.webcomponentwrapper.DH5gJidB.min.js";
7
7
  import { B as x } from "./revolugo.bhotelsearchbar.Dwm_kt7r.min.js";
8
8
  import { b as f } from "./revolugo.breakpoint-service.B0NCcaeu.min.js";
9
- import { p as y } from "./revolugo.parsed-height.CQxZYkiB.min.js";
10
- import { p as b } from "./revolugo.parsed-props.G7XTEHe3.min.js";
9
+ import { p as b } from "./revolugo.parsed-height.CQxZYkiB.min.js";
10
+ import { p as y } from "./revolugo.parsed-props.G7XTEHe3.min.js";
11
11
  import { t as S } from "./revolugo.typed-mixins.BJMIjm4p.min.js";
12
12
  import { _ as k } from "./revolugo.vcard.DVVPUcED.min.js";
13
- import { _ as L } from "./revolugo.index.DitkDDfA.min.js";
13
+ import { _ as B } from "./revolugo.index.DitkDDfA.min.js";
14
14
  import { _ as p } from "./revolugo.vbtn.CSrt4uoA.min.js";
15
15
  import { _ as n } from "./revolugo.index.BhcdkWVx.min.js";
16
16
  import { _ as $ } from "./revolugo.termsandconditions.CGYV801H.min.js";
@@ -41,12 +41,16 @@ const C = {
41
41
  ..._,
42
42
  [O.FiltersMenu]: !1
43
43
  }
44
- }, B = {
45
- ...h,
44
+ }, L = {
45
+ ...m,
46
46
  ...v,
47
47
  features: {
48
48
  default: () => C,
49
49
  type: [Object, String]
50
+ },
51
+ mapFirstOnMobile: {
52
+ default: !1,
53
+ type: Boolean
50
54
  }
51
55
  }, F = S(
52
56
  f,
@@ -57,22 +61,22 @@ const C = {
57
61
  BErrorOverlay: w,
58
62
  BHotelSearchBar: x,
59
63
  HotelOffersMap: E,
60
- HotelOfferList: m,
64
+ HotelOfferList: h,
61
65
  PreferencesMenu: g
62
66
  },
63
67
  mixins: [
64
- y,
68
+ b,
65
69
  f,
66
70
  H("components/RevolugoElements/HotelOffersView"),
67
- b({
71
+ y({
68
72
  fallbackValue: {},
69
73
  propsName: "features"
70
74
  })
71
75
  ],
72
- props: B,
76
+ props: L,
73
77
  data() {
74
78
  return {
75
- isMapDisplayed: !1,
79
+ isMapDisplayed: this.$isCurrentBreakpointBelowOrEqual("sm") && this.mapFirstOnMobile || !1,
76
80
  isMapExpanded: !1,
77
81
  currentHoveredHotel: "",
78
82
  hotelOffersViewCardHeight: void 0,
@@ -128,7 +132,7 @@ var R = function() {
128
132
  return [e.$isCurrentBreakpointAboveOrEqual("md") && e.parsedFeatures.PreferencesMenu ? [t("PreferencesMenu", { attrs: { compact: e.$isCurrentBreakpointBelow("lg"), direction: "bottom" } })] : e._e()];
129
133
  }, proxy: !0 }], null, !1, 2167739919), model: { value: e.hotelOfferRequestInternal, callback: function(r) {
130
134
  e.hotelOfferRequestInternal = r;
131
- }, expression: "hotelOfferRequestInternal" } }) : e._e(), t(k, { ref: "hotelOffersViewCard", staticClass: "mt-1 flex-grow-1 overflow-hidden", attrs: { elevation: "0", tile: "" } }, [e.displayLoadingBar ? t(L, { staticStyle: { "z-index": "2" }, attrs: { absolute: "", indeterminate: "" } }) : e._e(), t(l, { attrs: { "no-gutters": "" } }, [t(o, { class: e.isMapDisplayed ? "d-none d-md-block" : "d-block", style: {
135
+ }, expression: "hotelOfferRequestInternal" } }) : e._e(), t(k, { ref: "hotelOffersViewCard", staticClass: "mt-1 flex-grow-1 overflow-hidden", attrs: { elevation: "0", tile: "" } }, [e.displayLoadingBar ? t(B, { staticStyle: { "z-index": "2" }, attrs: { absolute: "", indeterminate: "" } }) : e._e(), t(l, { attrs: { "no-gutters": "" } }, [t(o, { class: e.isMapDisplayed ? "d-none d-md-block" : "d-block", style: {
132
136
  maxWidth: e.$isCurrentBreakpointBelowOrEqual("sm") ? "100%" : e.isMapExpanded ? "0" : "520px"
133
137
  }, attrs: { cols: "12", lg: "6", md: "7", xl: "5" } }, [t("HotelOfferList", e._b({ attrs: { features: e.parsedFeatures.HotelOfferList, "loading-bar-enabled": !1 }, on: { "hotel-offer-item-mouseleave": e.leaveHoverHotel, "hotel-offer-item-mouseover": e.hoverHotel } }, "HotelOfferList", { ...e.$props, height: e.hotelOffersViewCardHeight }, !1))], 1), t(o, { directives: [{ name: "show", rawName: "v-show", value: e.isMapDisplayed || e.$isCurrentBreakpointAboveOrEqual("sm"), expression: "isMapDisplayed || $isCurrentBreakpointAboveOrEqual('sm')" }] }, [t("HotelOffersMap", e._b({ attrs: { features: e.parsedFeatures.HotelOffersMap, "hovered-hotel": e.currentHoveredHotel, "loading-bar-enabled": !1, "max-height": "none" }, scopedSlots: e._u([{ key: "bottomleft", fn: function({ on: r }) {
134
138
  return [t(p, e._g({ directives: [{ name: "show", rawName: "v-show", value: e.$isCurrentBreakpointAboveOrEqual("md"), expression: "$isCurrentBreakpointAboveOrEqual('md')" }], staticClass: "px-2", staticStyle: { width: "30px" }, attrs: { block: "", color: "grey darken-3", small: "" }, on: { click: function(a) {
@@ -150,6 +154,6 @@ u("css/revolugo.hoteloffersview.Bmd3JNIw.css");
150
154
  export {
151
155
  Z as H,
152
156
  C as a,
153
- B as h
157
+ L as h
154
158
  };
155
- //# sourceMappingURL=revolugo.hoteloffersview.CAKkOYx5.min.js.map
159
+ //# sourceMappingURL=revolugo.hoteloffersview.DoHZJ8NZ.min.js.map
@@ -163,7 +163,7 @@ function E(e, o) {
163
163
  function V(e) {
164
164
  return e.replace(/([\da-z]|(?=[A-Z]))([A-Z])/gu, "$1-$2").toLowerCase().replace(/^-/u, "");
165
165
  }
166
- const A = /* @__PURE__ */ Object.assign({ "./components/web-components/BankTransferDetails/BankTransferDetails.vue": () => import("./revolugo.banktransferdetails.BtvPFacf.min.js"), "./components/web-components/BookingDetailsSidebar/BookingDetailsSidebar.vue": () => import("./revolugo.bookingdetailssidebar.GTjlA59L.min.js"), "./components/web-components/BookingManager/BookingManager.vue": () => import("./revolugo.bookingmanager.BlyCxo_g.min.js"), "./components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge.vue": () => import("./revolugo.cancellationpoliciesbadge.CK0oPFuW.min.js"), "./components/web-components/CancellationPoliciesList/CancellationPoliciesList.vue": () => import("./revolugo.cancellationpolicieslist.Ck1LZ23-.min.js"), "./components/web-components/CreditCardForm/CreditCardForm.vue": () => import("./revolugo.creditcardform.DuPahEBY.min.js"), "./components/web-components/CreditCardPayment/CreditCardPayment.vue": () => import("./revolugo.creditcardpayment.CY5Zwn7L.min.js"), "./components/web-components/CurrencyPickerBtn/CurrencyPickerBtn.vue": () => import("./revolugo.currencypickerbtn.BrYIAYqi.min.js"), "./components/web-components/FastBookingFlow/FastBookingFlow.vue": () => import("./revolugo.fastbookingflow.BmyOOO4I.min.js"), "./components/web-components/FullBookingFlow/FullBookingFlow.vue": () => import("./revolugo.fullbookingflow.DkA3FHuy.min.js"), "./components/web-components/HotelDescriptionView/HotelDescriptionView.vue": () => import("./revolugo.hoteldescriptionview.D3HHQL8V.min.js"), "./components/web-components/HotelOfferList/HotelOfferList.vue": () => import("./revolugo.hotelofferlist.Pc1wIR_A.min.js"), "./components/web-components/HotelOfferMap/HotelOffersMap.vue": () => import("./revolugo.hoteloffersmap.B0fVkUyn.min.js"), "./components/web-components/HotelOfferSearchMenu/HotelOfferSearchMenu.vue": () => import("./revolugo.hoteloffersearchmenu.DXdbXQ_1.min.js"), "./components/web-components/HotelOffersView/HotelOffersView.vue": () => import("./revolugo.hoteloffersview.DRMwdvJx.min.js"), "./components/web-components/HotelRoomOfferList/HotelRoomOfferList.vue": () => import("./revolugo.hotelroomofferlist.DbZ6hO7o.min.js"), "./components/web-components/HotelRoomOfferSearchMenu/HotelRoomOfferSearchMenu.vue": () => import("./revolugo.hotelroomoffersearchmenu.f7YK1470.min.js"), "./components/web-components/HotelRoomOffersBookingFlow/HotelRoomOffersBookingFlow.vue": () => import("./revolugo.hotelroomoffersbookingflow.CM6QOTqA.min.js"), "./components/web-components/HotelRoomOffersView/HotelRoomOffersView.vue": () => import("./revolugo.hotelroomoffersview.BBU-OQqa.min.js"), "./components/web-components/LangPickerBtn/LangPickerBtn.vue": () => import("./revolugo.langpickerbtn.BFBTHIJW.min.js"), "./components/web-components/PrebookForm/PrebookForm.vue": () => import("./revolugo.prebookform.DQzFtaid.min.js"), "./components/web-components/RoomingListEditor/RoomingListEditor.vue": () => import("./revolugo.roominglisteditor.CW1TYf6_.min.js"), "./components/web-components/StorybookToolbar/StorybookToolbar.vue": () => import("./revolugo.storybooktoolbar.BfCGLSYZ.min.js"), "./components/web-components/TermsAndConditions/TermsAndConditions.vue": () => import("./revolugo.termsandconditions.DPlV7611.min.js") });
166
+ const A = /* @__PURE__ */ Object.assign({ "./components/web-components/BankTransferDetails/BankTransferDetails.vue": () => import("./revolugo.banktransferdetails.BtvPFacf.min.js"), "./components/web-components/BookingDetailsSidebar/BookingDetailsSidebar.vue": () => import("./revolugo.bookingdetailssidebar.GTjlA59L.min.js"), "./components/web-components/BookingManager/BookingManager.vue": () => import("./revolugo.bookingmanager.BlyCxo_g.min.js"), "./components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge.vue": () => import("./revolugo.cancellationpoliciesbadge.CK0oPFuW.min.js"), "./components/web-components/CancellationPoliciesList/CancellationPoliciesList.vue": () => import("./revolugo.cancellationpolicieslist.Ck1LZ23-.min.js"), "./components/web-components/CreditCardForm/CreditCardForm.vue": () => import("./revolugo.creditcardform.DuPahEBY.min.js"), "./components/web-components/CreditCardPayment/CreditCardPayment.vue": () => import("./revolugo.creditcardpayment.CY5Zwn7L.min.js"), "./components/web-components/CurrencyPickerBtn/CurrencyPickerBtn.vue": () => import("./revolugo.currencypickerbtn.BrYIAYqi.min.js"), "./components/web-components/FastBookingFlow/FastBookingFlow.vue": () => import("./revolugo.fastbookingflow.BmyOOO4I.min.js"), "./components/web-components/FullBookingFlow/FullBookingFlow.vue": () => import("./revolugo.fullbookingflow.KR5wrEXK.min.js"), "./components/web-components/HotelDescriptionView/HotelDescriptionView.vue": () => import("./revolugo.hoteldescriptionview.D3HHQL8V.min.js"), "./components/web-components/HotelOfferList/HotelOfferList.vue": () => import("./revolugo.hotelofferlist.Pc1wIR_A.min.js"), "./components/web-components/HotelOfferMap/HotelOffersMap.vue": () => import("./revolugo.hoteloffersmap.B0fVkUyn.min.js"), "./components/web-components/HotelOfferSearchMenu/HotelOfferSearchMenu.vue": () => import("./revolugo.hoteloffersearchmenu.DXdbXQ_1.min.js"), "./components/web-components/HotelOffersView/HotelOffersView.vue": () => import("./revolugo.hoteloffersview.B8Dzg4Js.min.js"), "./components/web-components/HotelRoomOfferList/HotelRoomOfferList.vue": () => import("./revolugo.hotelroomofferlist.DbZ6hO7o.min.js"), "./components/web-components/HotelRoomOfferSearchMenu/HotelRoomOfferSearchMenu.vue": () => import("./revolugo.hotelroomoffersearchmenu.f7YK1470.min.js"), "./components/web-components/HotelRoomOffersBookingFlow/HotelRoomOffersBookingFlow.vue": () => import("./revolugo.hotelroomoffersbookingflow.CM6QOTqA.min.js"), "./components/web-components/HotelRoomOffersView/HotelRoomOffersView.vue": () => import("./revolugo.hotelroomoffersview.BBU-OQqa.min.js"), "./components/web-components/LangPickerBtn/LangPickerBtn.vue": () => import("./revolugo.langpickerbtn.BFBTHIJW.min.js"), "./components/web-components/PrebookForm/PrebookForm.vue": () => import("./revolugo.prebookform.DQzFtaid.min.js"), "./components/web-components/RoomingListEditor/RoomingListEditor.vue": () => import("./revolugo.roominglisteditor.CW1TYf6_.min.js"), "./components/web-components/StorybookToolbar/StorybookToolbar.vue": () => import("./revolugo.storybooktoolbar.BfCGLSYZ.min.js"), "./components/web-components/TermsAndConditions/TermsAndConditions.vue": () => import("./revolugo.termsandconditions.DPlV7611.min.js") });
167
167
  for (const [e] of Object.entries(A)) {
168
168
  const o = e.replace(/^.\/components\/web-components\/.*\//u, "").replace(/\.vue$/u, "");
169
169
  window.customElements.define(
@@ -205,7 +205,7 @@ function D(e) {
205
205
  return import("./revolugo.fastbookingflow.BmyOOO4I.min.js");
206
206
  case "./components/web-components/FullBookingFlow/FullBookingFlow":
207
207
  case "./components/web-components/FullBookingFlow/FullBookingFlow.vue":
208
- return import("./revolugo.fullbookingflow.DkA3FHuy.min.js");
208
+ return import("./revolugo.fullbookingflow.KR5wrEXK.min.js");
209
209
  case "./components/web-components/HotelDescriptionView/HotelDescriptionView":
210
210
  case "./components/web-components/HotelDescriptionView/HotelDescriptionView.vue":
211
211
  return import("./revolugo.hoteldescriptionview.D3HHQL8V.min.js");
@@ -220,7 +220,7 @@ function D(e) {
220
220
  return import("./revolugo.hoteloffersearchmenu.DXdbXQ_1.min.js");
221
221
  case "./components/web-components/HotelOffersView/HotelOffersView":
222
222
  case "./components/web-components/HotelOffersView/HotelOffersView.vue":
223
- return import("./revolugo.hoteloffersview.DRMwdvJx.min.js");
223
+ return import("./revolugo.hoteloffersview.B8Dzg4Js.min.js");
224
224
  case "./components/web-components/HotelRoomOfferList/HotelRoomOfferList":
225
225
  case "./components/web-components/HotelRoomOfferList/HotelRoomOfferList.vue":
226
226
  return import("./revolugo.hotelroomofferlist.DbZ6hO7o.min.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revolugo/elements",
3
- "version": "6.0.3-rc.0",
3
+ "version": "6.0.3-rc.2",
4
4
  "private": false,
5
5
  "description": "Revolugo Elements UI library",
6
6
  "author": "Revolugo",
@@ -24,8 +24,8 @@
24
24
  "mime-types": "2.1.35",
25
25
  "vite-multiple-assets": "2.2.5",
26
26
  "@revolugo/common": "6.0.3",
27
- "@revolugo/elements-core": "6.0.3",
28
- "@revolugo/elements-documentation": "6.0.3"
27
+ "@revolugo/elements-documentation": "6.0.3",
28
+ "@revolugo/elements-core": "6.0.3"
29
29
  },
30
30
  "engines": {
31
31
  "node": ">=20.18.1 <23"