@revolugo/elements 7.10.0 → 7.11.0-rc.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 (48) hide show
  1. package/dist/css/{revolugo.bookingpaymentform.bZwObBX3.css → revolugo.bookingpaymentform.CekI3oIR.css} +1 -1
  2. package/dist/css/{revolugo.revolugoelements.Y9cCezcf.css → revolugo.revolugoelements.D3jgSljg.css} +1 -1
  3. package/dist/css/{revolugo.ui.DcVVhCqH.css → revolugo.ui.sAxjrsi6.css} +1 -1
  4. package/dist/index.es.min.js +1 -1
  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.BfRU3j9S.min.js → revolugo.banktransferdetails.ql5QYmUR.min.js} +6 -6
  9. package/dist/{revolugo.bookingdetailssidebar.Dkv3aMNJ.min.js → revolugo.bookingdetailssidebar.CVi0BqUW.min.js} +7 -7
  10. package/dist/{revolugo.bookingmanager.CwA4W9UT.min.js → revolugo.bookingmanager.DP-s7JZu.min.js} +6 -6
  11. package/dist/{revolugo.bookingpaymentform.pDIkYjEJ.min.js → revolugo.bookingpaymentform.BJCfZ_Kk.min.js} +294 -291
  12. package/dist/{revolugo.cancellationpoliciesbadge.Cy2BGOv2.min.js → revolugo.cancellationpoliciesbadge.LvXxw6Uw.min.js} +5 -5
  13. package/dist/{revolugo.cancellationpolicieslist.pkIXEQlG.min.js → revolugo.cancellationpolicieslist.Dac8qxMA.min.js} +5 -5
  14. package/dist/{revolugo.creditcardstripeform.CQ2tTfRF.min.js → revolugo.creditcardstripeform.Ba6BWtYz.min.js} +54 -54
  15. package/dist/{revolugo.creditcardstripeform.DP2FmyLx.min.js → revolugo.creditcardstripeform.DCLuK09J.min.js} +6 -6
  16. package/dist/{revolugo.currencypickerbtn.DwYjNIVB.min.js → revolugo.currencypickerbtn.D5at0qzh.min.js} +7 -7
  17. package/dist/{revolugo.dist.Dvmu0CnY.min.js → revolugo.dist.CLV0MHMA.min.js} +2 -2
  18. package/dist/{revolugo.fastbookingflow.BReT8KfX.min.js → revolugo.fastbookingflow.BBcEUXA0.min.js} +6 -6
  19. package/dist/{revolugo.framework.Fsv8w1Xe.min.js → revolugo.framework.k0uaz58D.min.js} +2 -2
  20. package/dist/{revolugo.fullbookingflow.ChDvb7CW.min.js → revolugo.fullbookingflow.CbcxEJ_p.min.js} +6 -6
  21. package/dist/revolugo.hoteldescriptionview.BhOkhZrl.min.js +24 -0
  22. package/dist/{revolugo.hotelofferlist.lFsv8SvS.min.js → revolugo.hotelofferlist.DwP_q7sh.min.js} +5 -5
  23. package/dist/{revolugo.hoteloffersearchmenu.DtSIhXv3.min.js → revolugo.hoteloffersearchmenu.D2nQIXps.min.js} +6 -6
  24. package/dist/revolugo.hoteloffersmap.BzJXBIZu.min.js +24 -0
  25. package/dist/{revolugo.hoteloffersview.BImWajjk.min.js → revolugo.hoteloffersview.DbkrpmcL.min.js} +4 -4
  26. package/dist/revolugo.hotelroomofferlist.BDmMQUXg.min.js +24 -0
  27. package/dist/{revolugo.hotelroomoffersbookingflow.BLRTInnP.min.js → revolugo.hotelroomoffersbookingflow.BTX5vw3U.min.js} +6 -6
  28. package/dist/{revolugo.hotelroomoffersearchmenu.B5vlTMD6.min.js → revolugo.hotelroomoffersearchmenu.Byc3rzga.min.js} +6 -6
  29. package/dist/revolugo.hotelroomoffersview.DpCNFUpm.min.js +24 -0
  30. package/dist/{revolugo.langpickerbtn.ClQ8b-zq.min.js → revolugo.langpickerbtn.BYYCD3xg.min.js} +6 -6
  31. package/dist/revolugo.min.js +51 -51
  32. package/dist/{revolugo.prebookform.DwR_NG88.min.js → revolugo.prebookform.Buadq4bi.min.js} +5 -5
  33. package/dist/{revolugo.preferencesmenu.BMpQHT6I.min.js → revolugo.preferencesmenu.HRS1NoUW.min.js} +34 -34
  34. package/dist/{revolugo.revolugo-config.dB8Oiw_f.min.js → revolugo.revolugo-config.BhnbJkHY.min.js} +1849 -1779
  35. package/dist/{revolugo.revolugoelements.Mt1pO5B-.min.js → revolugo.revolugoelements.DqTSs2x-.min.js} +1151 -1148
  36. package/dist/{revolugo.roominglisteditor.BRLV6iVP.min.js → revolugo.roominglisteditor.C7NMBMQu.min.js} +5 -5
  37. package/dist/{revolugo.storybooktoolbar.C1IlJmT4.min.js → revolugo.storybooktoolbar.DuOgD1zs.min.js} +39 -39
  38. package/dist/{revolugo.termsandconditions.D2qmmY2e.min.js → revolugo.termsandconditions.Dhn9Gh19.min.js} +5 -5
  39. package/dist/{revolugo.theme.CbBeIYt7.min.js → revolugo.theme.CWCtKizJ.min.js} +5778 -5683
  40. package/dist/{revolugo.ui.2nawKtPk.min.js → revolugo.ui.CwfYE_fW.min.js} +2392 -2400
  41. package/dist/{revolugo.vtoolbar.BP2Ws09g.min.js → revolugo.vtoolbar.CrASDlFx.min.js} +19 -19
  42. package/dist/{revolugo.webcomponentwrapper.BRidxM-R.min.js → revolugo.webcomponentwrapper.DYBPZW1v.min.js} +10 -10
  43. package/dist/{revolugo2.preferencesmenu.CaHxOACP.min.js → revolugo2.preferencesmenu.B_DB1N90.min.js} +5 -5
  44. package/package.json +6 -6
  45. package/dist/revolugo.hoteldescriptionview._0NBgAXg.min.js +0 -24
  46. package/dist/revolugo.hoteloffersmap.D7w6UpJZ.min.js +0 -24
  47. package/dist/revolugo.hotelroomofferlist.DduNvigy.min.js +0 -24
  48. package/dist/revolugo.hotelroomoffersview.Bjz4gxwF.min.js +0 -24
@@ -1,7 +1,7 @@
1
- import { Dr as n, Si as p, Tr as a, Ur as i, br as s, kr as m, qr as o, ri as _ } from "./revolugo.theme.CbBeIYt7.min.js";
2
- import { Gt as d } from "./revolugo.ui.2nawKtPk.min.js";
3
- import { t as l } from "./revolugo.webcomponentwrapper.BRidxM-R.min.js";
4
- import { A as u, j as c } from "./revolugo.revolugoelements.Mt1pO5B-.min.js";
1
+ import { Dr as n, Si as p, Tr as a, Ur as i, br as s, kr as m, qr as o, ri as _ } from "./revolugo.theme.CWCtKizJ.min.js";
2
+ import { Wt as d } from "./revolugo.ui.CwfYE_fW.min.js";
3
+ import { t as l } from "./revolugo.webcomponentwrapper.DYBPZW1v.min.js";
4
+ import { A as u, j as c } from "./revolugo.revolugoelements.DqTSs2x-.min.js";
5
5
  var f = n({
6
6
  components: {
7
7
  RoomingListEditor: u,
@@ -21,4 +21,4 @@ export {
21
21
  k as default
22
22
  };
23
23
 
24
- //# sourceMappingURL=revolugo.roominglisteditor.BRLV6iVP.min.js.map
24
+ //# sourceMappingURL=revolugo.roominglisteditor.C7NMBMQu.min.js.map
@@ -1,8 +1,8 @@
1
- import { $t as ye, Br as Ee, Dn as be, Dr as $, It as _e, Kn as ke, Mn as ie, Mt as Se, Nr as ae, Qn as Ce, Sr as P, Tr as r, Ur as I, br as ne, fi as C, fn as G, fr as q, mr as J, pi as we, pn as Q, pr as oe, qr as D, ri as u, vi as V, vr as F, wi as Ae, wr as S, yr as Le, zt as xe } from "./revolugo.theme.CbBeIYt7.min.js";
2
- import { n as Oe } from "./revolugo.revolugo-config.dB8Oiw_f.min.js";
3
- import { D as B, F as re, Gt as H, N as Ke, T as se, en as le, et as de, ht as Ve, nn as ue, ot as ce, q as x, rn as Y, rt as pe, tn as N, zt as X } from "./revolugo.ui.2nawKtPk.min.js";
4
- import { t as Ie } from "./revolugo.webcomponentwrapper.BRidxM-R.min.js";
5
- import { t as Me } from "./revolugo.dist.Dvmu0CnY.min.js";
1
+ import { $n as ye, $t as Ee, Br as be, Dn as _e, Dr as $, It as ke, Kn as Se, Mn as ie, Mt as Ce, Nr as ae, Sr as U, Tr as r, Ur as I, br as ne, fi as C, fn as G, fr as q, mr as J, pi as we, pn as Q, pr as oe, qr as D, ri as u, vi as V, vr as F, wi as Ae, wr as S, yr as Le, zt as xe } from "./revolugo.theme.CWCtKizJ.min.js";
2
+ import { n as Oe } from "./revolugo.revolugo-config.BhnbJkHY.min.js";
3
+ import { $t as re, D as B, F as se, N as Ke, Rt as X, T as le, Wt as H, en as N, et as de, mt as Ve, nn as Y, ot as ue, q as x, rt as ce, tn as pe } from "./revolugo.ui.CwfYE_fW.min.js";
4
+ import { t as Ie } from "./revolugo.webcomponentwrapper.DYBPZW1v.min.js";
5
+ import { t as Me } from "./revolugo.dist.CLV0MHMA.min.js";
6
6
  function he(e) {
7
7
  try {
8
8
  if (typeof document < "u") {
@@ -159,8 +159,8 @@ function Te() {
159
159
  break;
160
160
  case "samesite":
161
161
  if (!b) break;
162
- const U = b.toLowerCase();
163
- (U === "lax" || U === "strict" || U === "none") && (d.sameSite = U);
162
+ const R = b.toLowerCase();
163
+ (R === "lax" || R === "strict" || R === "none") && (d.sameSite = R);
164
164
  break;
165
165
  }
166
166
  k = L + 1;
@@ -201,23 +201,23 @@ function Te() {
201
201
  }
202
202
  return _;
203
203
  }
204
- var R = /* @__PURE__ */ Te();
205
- function Ue() {
206
- const e = typeof global > "u" ? void 0 : global.TEST_HAS_DOCUMENT_COOKIE;
204
+ var P = /* @__PURE__ */ Te();
205
+ function Re() {
206
+ const e = typeof globalThis > "u" ? void 0 : globalThis.TEST_HAS_DOCUMENT_COOKIE;
207
207
  return typeof e == "boolean" ? e : typeof document == "object" && typeof document.cookie == "string";
208
208
  }
209
- function Pe(e) {
210
- return typeof e == "string" ? R.parse(e) : typeof e == "object" && e !== null ? e : {};
209
+ function Ue(e) {
210
+ return typeof e == "string" ? P.parse(e) : typeof e == "object" && e !== null ? e : {};
211
211
  }
212
212
  function z(e, t = {}) {
213
- const s = Re(e);
213
+ const s = Pe(e);
214
214
  if (!t.doNotParse) try {
215
215
  return JSON.parse(s);
216
216
  } catch {
217
217
  }
218
218
  return e;
219
219
  }
220
- function Re(e) {
220
+ function Pe(e) {
221
221
  return e && e[0] === "j" && e[1] === ":" ? e.substr(2) : e;
222
222
  }
223
223
  var De = class {
@@ -225,10 +225,10 @@ var De = class {
225
225
  this.changeListeners = [], this.HAS_DOCUMENT_COOKIE = !1, this.update = () => {
226
226
  if (!this.HAS_DOCUMENT_COOKIE) return;
227
227
  const n = this.cookies;
228
- this.cookies = R.parse(document.cookie), this._checkChanges(n);
228
+ this.cookies = P.parse(document.cookie), this._checkChanges(n);
229
229
  };
230
230
  const s = typeof document > "u" ? "" : document.cookie;
231
- this.cookies = Pe(e || s), this.defaultSetOptions = t, this.HAS_DOCUMENT_COOKIE = Ue();
231
+ this.cookies = Ue(e || s), this.defaultSetOptions = t, this.HAS_DOCUMENT_COOKIE = Re();
232
232
  }
233
233
  _emitChange(e) {
234
234
  for (let t = 0; t < this.changeListeners.length; ++t) this.changeListeners[t](e);
@@ -259,7 +259,7 @@ var De = class {
259
259
  set(e, t, s) {
260
260
  s ? s = Object.assign(Object.assign({}, this.defaultSetOptions), s) : s = this.defaultSetOptions;
261
261
  const n = typeof t == "string" ? t : JSON.stringify(t);
262
- this.cookies = Object.assign(Object.assign({}, this.cookies), { [e]: n }), this.HAS_DOCUMENT_COOKIE && (document.cookie = R.serialize(e, n, s)), this._emitChange({
262
+ this.cookies = Object.assign(Object.assign({}, this.cookies), { [e]: n }), this.HAS_DOCUMENT_COOKIE && (document.cookie = P.serialize(e, n, s)), this._emitChange({
263
263
  name: e,
264
264
  value: t,
265
265
  options: s
@@ -270,7 +270,7 @@ var De = class {
270
270
  expires: new Date(1970, 1, 1, 0, 0, 1),
271
271
  maxAge: 0
272
272
  });
273
- this.cookies = Object.assign({}, this.cookies), delete this.cookies[e], this.HAS_DOCUMENT_COOKIE && (document.cookie = R.serialize(e, "", s)), this._emitChange({
273
+ this.cookies = Object.assign({}, this.cookies), delete this.cookies[e], this.HAS_DOCUMENT_COOKIE && (document.cookie = P.serialize(e, "", s)), this._emitChange({
274
274
  name: e,
275
275
  value: void 0,
276
276
  options: t
@@ -324,10 +324,10 @@ var me = $({
324
324
  },
325
325
  async isValidApiKey() {
326
326
  if (!this.apiKey) return !1;
327
- const e = new Ce({
327
+ const e = new ye({
328
328
  apiEnvironment: window.RevolugoElements.config.apiEnvironment,
329
329
  apiKey: this.apiKey,
330
- apiVersion: ke.V1,
330
+ apiVersion: Se.V1,
331
331
  optionalHeaders: window.RevolugoElements.config.optionalHeaders
332
332
  });
333
333
  try {
@@ -357,7 +357,7 @@ var me = $({
357
357
  this.$refs.apiKeyEditorForm.validate();
358
358
  }
359
359
  },
360
- mixins: [_e(["config.apiEnvironment"], "updateApiKey", {
360
+ mixins: [ke(["config.apiEnvironment"], "updateApiKey", {
361
361
  deep: !0,
362
362
  immediate: !0
363
363
  }), xe],
@@ -566,7 +566,7 @@ function ee(e) {
566
566
  });
567
567
  }
568
568
  function $e(e, t, s, n, g, y) {
569
- return I(), P("div", null, [r(re, {
569
+ return I(), U("div", null, [r(se, {
570
570
  modelValue: e.dialog,
571
571
  "onUpdate:modelValue": t[2] || (t[2] = (f) => e.dialog = f),
572
572
  attach: e.$dialogAttach || void 0,
@@ -577,21 +577,21 @@ function $e(e, t, s, n, g, y) {
577
577
  elevation: "0",
578
578
  size: "x-small"
579
579
  }), {
580
- default: u(() => [e.cookies.get("apiKey") ? (I(), P(J, { key: 1 }, [r(X, { class: "mr-2" }, {
580
+ default: u(() => [e.cookies.get("apiKey") ? (I(), U(J, { key: 1 }, [r(X, { class: "mr-2" }, {
581
581
  default: u(() => [...t[5] || (t[5] = [S("fas fa-check", -1)])]),
582
582
  _: 1
583
- }), t[6] || (t[6] = S(" Valid API key ", -1))], 64)) : (I(), P(J, { key: 0 }, [r(X, { class: "mr-2" }, {
583
+ }), t[6] || (t[6] = S(" Valid API key ", -1))], 64)) : (I(), U(J, { key: 0 }, [r(X, { class: "mr-2" }, {
584
584
  default: u(() => [...t[3] || (t[3] = [S("fas fa-exclamation", -1)])]),
585
585
  _: 1
586
586
  }), t[4] || (t[4] = S(" No API key provided ", -1))], 64))]),
587
587
  _: 1
588
588
  }, 16, ["color"])]),
589
589
  default: u(() => [r(de, null, {
590
- default: u(() => [r(pe, { class: "pa-4" }, {
590
+ default: u(() => [r(ce, { class: "pa-4" }, {
591
591
  default: u(() => [r(Y, { class: "pa-0" }, {
592
592
  default: u(() => [r(N, { "no-gutters": "" }, {
593
- default: u(() => [r(ue, null, {
594
- default: u(() => [r(se, {
593
+ default: u(() => [r(pe, null, {
594
+ default: u(() => [r(le, {
595
595
  ref: "apiKeyEditorForm",
596
596
  modelValue: e.isFormValid,
597
597
  "onUpdate:modelValue": t[1] || (t[1] = (f) => e.isFormValid = f),
@@ -624,9 +624,9 @@ function $e(e, t, s, n, g, y) {
624
624
  _: 1
625
625
  })]),
626
626
  _: 1
627
- }), r(ce, null, {
627
+ }), r(ue, null, {
628
628
  default: u(() => [
629
- r(le),
629
+ r(re),
630
630
  r(x, {
631
631
  color: "blue-darken-1",
632
632
  size: "small",
@@ -664,7 +664,7 @@ typeof ee == "function" && ee(me);
664
664
  var je = /* @__PURE__ */ H(me, [["render", $e]]), ve = /* @__PURE__ */ $({
665
665
  __name: "EventMetadataEditor",
666
666
  setup(e) {
667
- const { config: t, updateConfig: s } = Oe(), n = fe(["eventMetadata"]), { isFetching: g } = be(ye()), { t: y } = ie(), f = C(null), { $dialogAttach: E } = Se(f), c = [(i) => {
667
+ const { config: t, updateConfig: s } = Oe(), n = fe(["eventMetadata"]), { isFetching: g } = _e(Ee()), { t: y } = ie(), f = C(null), { $dialogAttach: E } = Ce(f), c = [(i) => {
668
668
  if (!i) return !0;
669
669
  try {
670
670
  return !!new URL(i) || y("EventMetadataEditor.validation.imageURL");
@@ -704,15 +704,15 @@ var je = /* @__PURE__ */ H(me, [["render", $e]]), ve = /* @__PURE__ */ $({
704
704
  eventMetadata: {}
705
705
  }), A();
706
706
  }
707
- return Ee(() => {
707
+ return be(() => {
708
708
  n.get("eventMetadata") && s({
709
709
  ...t.value,
710
710
  eventMetadata: n.get("eventMetadata")
711
711
  });
712
- }), (i, o) => (I(), P("div", {
712
+ }), (i, o) => (I(), U("div", {
713
713
  ref_key: "root",
714
714
  ref: f
715
- }, [r(re, {
715
+ }, [r(se, {
716
716
  modelValue: w.value,
717
717
  "onUpdate:modelValue": o[4] || (o[4] = (l) => w.value = l),
718
718
  attach: V(E),
@@ -728,11 +728,11 @@ var je = /* @__PURE__ */ H(me, [["render", $e]]), ve = /* @__PURE__ */ $({
728
728
  _: 1
729
729
  }, 16, ["color"])]),
730
730
  default: u(() => [r(de, null, {
731
- default: u(() => [r(pe, { class: "pa-4" }, {
731
+ default: u(() => [r(ce, { class: "pa-4" }, {
732
732
  default: u(() => [r(Y, { class: "pa-0" }, {
733
733
  default: u(() => [r(N, { "no-gutters": "" }, {
734
- default: u(() => [r(ue, null, {
735
- default: u(() => [r(se, {
734
+ default: u(() => [r(pe, null, {
735
+ default: u(() => [r(le, {
736
736
  ref: "eventMetadataEditorForm",
737
737
  modelValue: K.value,
738
738
  "onUpdate:modelValue": o[3] || (o[3] = (l) => K.value = l),
@@ -778,9 +778,9 @@ var je = /* @__PURE__ */ H(me, [["render", $e]]), ve = /* @__PURE__ */ $({
778
778
  _: 1
779
779
  })]),
780
780
  _: 1
781
- }), r(ce, null, {
781
+ }), r(ue, null, {
782
782
  default: u(() => [
783
- r(le),
783
+ r(re),
784
784
  r(x, {
785
785
  color: "grey",
786
786
  size: "small",
@@ -993,4 +993,4 @@ export {
993
993
  et as default
994
994
  };
995
995
 
996
- //# sourceMappingURL=revolugo.storybooktoolbar.C1IlJmT4.min.js.map
996
+ //# sourceMappingURL=revolugo.storybooktoolbar.DuOgD1zs.min.js.map
@@ -1,7 +1,7 @@
1
- import { Dr as t, Si as s, Tr as p, Ur as a, br as i, kr as d, qr as e, ri as m } from "./revolugo.theme.CbBeIYt7.min.js";
2
- import { Gt as _ } from "./revolugo.ui.2nawKtPk.min.js";
3
- import { t as l } from "./revolugo.webcomponentwrapper.BRidxM-R.min.js";
4
- import { b as u, t as c } from "./revolugo.revolugoelements.Mt1pO5B-.min.js";
1
+ import { Dr as t, Si as s, Tr as p, Ur as a, br as i, kr as d, qr as e, ri as m } from "./revolugo.theme.CWCtKizJ.min.js";
2
+ import { Wt as _ } from "./revolugo.ui.CwfYE_fW.min.js";
3
+ import { t as l } from "./revolugo.webcomponentwrapper.DYBPZW1v.min.js";
4
+ import { b as u, t as c } from "./revolugo.revolugoelements.DqTSs2x-.min.js";
5
5
  var f = t({
6
6
  components: {
7
7
  TermsAndConditions: u,
@@ -21,4 +21,4 @@ export {
21
21
  x as default
22
22
  };
23
23
 
24
- //# sourceMappingURL=revolugo.termsandconditions.D2qmmY2e.min.js.map
24
+ //# sourceMappingURL=revolugo.termsandconditions.Dhn9Gh19.min.js.map