@revolugo/elements 7.10.0 → 7.11.0-alpha.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.
- package/dist/css/{revolugo.bookingpaymentform.bZwObBX3.css → revolugo.bookingpaymentform.CekI3oIR.css} +1 -1
- package/dist/css/{revolugo.revolugoelements.Y9cCezcf.css → revolugo.revolugoelements.D3jgSljg.css} +1 -1
- package/dist/css/{revolugo.ui.DcVVhCqH.css → revolugo.ui.sAxjrsi6.css} +1 -1
- package/dist/index.es.min.js +1 -1
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/{revolugo.banktransferdetails.BfRU3j9S.min.js → revolugo.banktransferdetails.B4XzXzkq.min.js} +6 -6
- package/dist/{revolugo.bookingdetailssidebar.Dkv3aMNJ.min.js → revolugo.bookingdetailssidebar.QdwUvpIU.min.js} +7 -7
- package/dist/{revolugo.bookingmanager.CwA4W9UT.min.js → revolugo.bookingmanager.CNIdC33M.min.js} +6 -6
- package/dist/{revolugo.bookingpaymentform.pDIkYjEJ.min.js → revolugo.bookingpaymentform.ikZAMiX-.min.js} +294 -291
- package/dist/{revolugo.cancellationpoliciesbadge.Cy2BGOv2.min.js → revolugo.cancellationpoliciesbadge.C4CRi-wW.min.js} +5 -5
- package/dist/{revolugo.cancellationpolicieslist.pkIXEQlG.min.js → revolugo.cancellationpolicieslist.DmI0IdZa.min.js} +5 -5
- package/dist/{revolugo.creditcardstripeform.CQ2tTfRF.min.js → revolugo.creditcardstripeform.BXiLQL3-.min.js} +54 -54
- package/dist/{revolugo.creditcardstripeform.DP2FmyLx.min.js → revolugo.creditcardstripeform.DYmFj2Pv.min.js} +6 -6
- package/dist/{revolugo.currencypickerbtn.DwYjNIVB.min.js → revolugo.currencypickerbtn.DP0xgKIj.min.js} +7 -7
- package/dist/{revolugo.dist.Dvmu0CnY.min.js → revolugo.dist.DAUsz4Fo.min.js} +2 -2
- package/dist/{revolugo.fastbookingflow.BReT8KfX.min.js → revolugo.fastbookingflow.Bg5Iykrg.min.js} +6 -6
- package/dist/{revolugo.framework.Fsv8w1Xe.min.js → revolugo.framework.D3S4rpHX.min.js} +2 -2
- package/dist/{revolugo.fullbookingflow.ChDvb7CW.min.js → revolugo.fullbookingflow.DQmoiq0h.min.js} +6 -6
- package/dist/revolugo.hoteldescriptionview.SSBJViV_.min.js +24 -0
- package/dist/{revolugo.hotelofferlist.lFsv8SvS.min.js → revolugo.hotelofferlist.pcxXC9qv.min.js} +5 -5
- package/dist/{revolugo.hoteloffersearchmenu.DtSIhXv3.min.js → revolugo.hoteloffersearchmenu.Bgr9Ddbi.min.js} +6 -6
- package/dist/revolugo.hoteloffersmap.DwnEFMYT.min.js +24 -0
- package/dist/{revolugo.hoteloffersview.BImWajjk.min.js → revolugo.hoteloffersview.CW2hgGns.min.js} +4 -4
- package/dist/revolugo.hotelroomofferlist.Ci-WxLna.min.js +24 -0
- package/dist/{revolugo.hotelroomoffersbookingflow.BLRTInnP.min.js → revolugo.hotelroomoffersbookingflow.DveBzVj-.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersearchmenu.B5vlTMD6.min.js → revolugo.hotelroomoffersearchmenu.DkgMeNm4.min.js} +6 -6
- package/dist/revolugo.hotelroomoffersview.DZ06By_B.min.js +24 -0
- package/dist/{revolugo.langpickerbtn.ClQ8b-zq.min.js → revolugo.langpickerbtn.BzWCk9DS.min.js} +6 -6
- package/dist/{revolugo.leaflet-src.CtLpIV-y.min.js → revolugo.leaflet-src.5-yo9CNW.min.js} +33 -33
- package/dist/{revolugo.leaflet-src.esm.DzYPfo81.min.js → revolugo.leaflet-src.esm.PiBUHl3B.min.js} +63 -63
- package/dist/revolugo.min.js +51 -51
- package/dist/{revolugo.prebookform.DwR_NG88.min.js → revolugo.prebookform.BU-u0O-X.min.js} +5 -5
- package/dist/{revolugo.preferencesmenu.BMpQHT6I.min.js → revolugo.preferencesmenu.TDhRntw5.min.js} +34 -34
- package/dist/{revolugo.revolugo-config.dB8Oiw_f.min.js → revolugo.revolugo-config.0Ycse9HK.min.js} +1997 -1837
- package/dist/{revolugo.revolugoelements.Mt1pO5B-.min.js → revolugo.revolugoelements.DPGgrgo4.min.js} +1173 -1170
- package/dist/{revolugo.roominglisteditor.BRLV6iVP.min.js → revolugo.roominglisteditor.Cmu1kYWG.min.js} +5 -5
- package/dist/{revolugo.storybooktoolbar.C1IlJmT4.min.js → revolugo.storybooktoolbar.Dyt2F0Zc.min.js} +39 -39
- package/dist/{revolugo.termsandconditions.D2qmmY2e.min.js → revolugo.termsandconditions.D1IGmfJJ.min.js} +5 -5
- package/dist/{revolugo.theme.CbBeIYt7.min.js → revolugo.theme.D5jNLMuT.min.js} +5780 -5684
- package/dist/{revolugo.ui.2nawKtPk.min.js → revolugo.ui.g6F3wz67.min.js} +2394 -2403
- package/dist/{revolugo.vtoolbar.BP2Ws09g.min.js → revolugo.vtoolbar.CaarHOxa.min.js} +19 -19
- package/dist/{revolugo.webcomponentwrapper.BRidxM-R.min.js → revolugo.webcomponentwrapper.CVWQviIn.min.js} +10 -10
- package/dist/{revolugo2.preferencesmenu.CaHxOACP.min.js → revolugo2.preferencesmenu.CdLvBcfl.min.js} +5 -5
- package/package.json +6 -6
- package/dist/revolugo.hoteldescriptionview._0NBgAXg.min.js +0 -24
- package/dist/revolugo.hoteloffersmap.D7w6UpJZ.min.js +0 -24
- package/dist/revolugo.hotelroomofferlist.DduNvigy.min.js +0 -24
- 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.
|
|
2
|
-
import {
|
|
3
|
-
import { t as l } from "./revolugo.webcomponentwrapper.
|
|
4
|
-
import { A as u, j as c } from "./revolugo.revolugoelements.
|
|
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.D5jNLMuT.min.js";
|
|
2
|
+
import { Wt as d } from "./revolugo.ui.g6F3wz67.min.js";
|
|
3
|
+
import { t as l } from "./revolugo.webcomponentwrapper.CVWQviIn.min.js";
|
|
4
|
+
import { A as u, j as c } from "./revolugo.revolugoelements.DPGgrgo4.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.
|
|
24
|
+
//# sourceMappingURL=revolugo.roominglisteditor.Cmu1kYWG.min.js.map
|
package/dist/{revolugo.storybooktoolbar.C1IlJmT4.min.js → revolugo.storybooktoolbar.Dyt2F0Zc.min.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $
|
|
2
|
-
import { n as Oe } from "./revolugo.revolugo-config.
|
|
3
|
-
import { D as B, F as
|
|
4
|
-
import { t as Ie } from "./revolugo.webcomponentwrapper.
|
|
5
|
-
import { t as Me } from "./revolugo.dist.
|
|
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.D5jNLMuT.min.js";
|
|
2
|
+
import { n as Oe } from "./revolugo.revolugo-config.0Ycse9HK.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.g6F3wz67.min.js";
|
|
4
|
+
import { t as Ie } from "./revolugo.webcomponentwrapper.CVWQviIn.min.js";
|
|
5
|
+
import { t as Me } from "./revolugo.dist.DAUsz4Fo.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
|
|
163
|
-
(
|
|
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
|
|
205
|
-
function
|
|
206
|
-
const e = typeof
|
|
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
|
|
210
|
-
return typeof e == "string" ?
|
|
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 =
|
|
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
|
|
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 =
|
|
228
|
+
this.cookies = P.parse(document.cookie), this._checkChanges(n);
|
|
229
229
|
};
|
|
230
230
|
const s = typeof document > "u" ? "" : document.cookie;
|
|
231
|
-
this.cookies =
|
|
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 =
|
|
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 =
|
|
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
|
|
327
|
+
const e = new ye({
|
|
328
328
|
apiEnvironment: window.RevolugoElements.config.apiEnvironment,
|
|
329
329
|
apiKey: this.apiKey,
|
|
330
|
-
apiVersion:
|
|
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: [
|
|
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(),
|
|
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(),
|
|
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(),
|
|
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(
|
|
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(
|
|
594
|
-
default: u(() => [r(
|
|
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(
|
|
627
|
+
}), r(ue, null, {
|
|
628
628
|
default: u(() => [
|
|
629
|
-
r(
|
|
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 } =
|
|
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
|
|
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(),
|
|
712
|
+
}), (i, o) => (I(), U("div", {
|
|
713
713
|
ref_key: "root",
|
|
714
714
|
ref: f
|
|
715
|
-
}, [r(
|
|
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(
|
|
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(
|
|
735
|
-
default: u(() => [r(
|
|
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(
|
|
781
|
+
}), r(ue, null, {
|
|
782
782
|
default: u(() => [
|
|
783
|
-
r(
|
|
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.
|
|
996
|
+
//# sourceMappingURL=revolugo.storybooktoolbar.Dyt2F0Zc.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.
|
|
2
|
-
import {
|
|
3
|
-
import { t as l } from "./revolugo.webcomponentwrapper.
|
|
4
|
-
import { b as u, t as c } from "./revolugo.revolugoelements.
|
|
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.D5jNLMuT.min.js";
|
|
2
|
+
import { Wt as _ } from "./revolugo.ui.g6F3wz67.min.js";
|
|
3
|
+
import { t as l } from "./revolugo.webcomponentwrapper.CVWQviIn.min.js";
|
|
4
|
+
import { b as u, t as c } from "./revolugo.revolugoelements.DPGgrgo4.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.
|
|
24
|
+
//# sourceMappingURL=revolugo.termsandconditions.D1IGmfJJ.min.js.map
|