@revolugo/elements 6.10.10-rc.1 → 6.11.0-beta.0
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.cancellationpoliciesbadge.C7DM-7_E.css → revolugo.cancellationpoliciesbadge.Cni78qdV.css} +1 -1
- package/dist/css/revolugo.index.Cg8oJfEY.css +5 -0
- package/dist/css/{revolugo.webcomponentwrapper.BbyuqtN5.css → revolugo.webcomponentwrapper.B8_2hPEK.css} +1 -1
- package/dist/index.es.min.js +11 -11
- 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.CMtuJoJd.min.js → revolugo.banktransferdetails.CZHflI-0.min.js} +9 -9
- package/dist/{revolugo.bookingdetailssidebar.CARmgEqh.min.js → revolugo.bookingdetailssidebar.CfQUDfeh.min.js} +9 -9
- package/dist/{revolugo.bookingmanager.14rqCYEi.min.js → revolugo.bookingmanager.Cs1jdFt2.min.js} +9 -9
- package/dist/{revolugo.cancellationpoliciesbadge.CPG1mBzL.min.js → revolugo.cancellationpoliciesbadge.D_pVG70M.min.js} +9 -9
- package/dist/{revolugo.cancellationpoliciesbadge.props.C9Od7Emo.min.js → revolugo.cancellationpoliciesbadge.props.BdONYzBw.min.js} +13660 -13633
- package/dist/{revolugo.cancellationpolicieslist.DPY13KQM.min.js → revolugo.cancellationpolicieslist.T31bMCfO.min.js} +9 -9
- package/dist/{revolugo.creditcardstripeform.Cs2J4QEd.min.js → revolugo.creditcardstripeform.81LGTSQm.min.js} +7 -7
- package/dist/{revolugo.creditcardstripeform.ZX4irL5-.min.js → revolugo.creditcardstripeform.lSiNVwA6.min.js} +196 -196
- package/dist/revolugo.currencypickerbtn.DK89q61g.min.js +26 -0
- package/dist/{revolugo.dialog-attach.Cpzf6Qsv.min.js → revolugo.dialog-attach.WIuZmeH8.min.js} +2 -2
- package/dist/{revolugo.fastbookingflow.BxTEpNDx.min.js → revolugo.fastbookingflow.Dt960JxF.min.js} +9 -9
- package/dist/{revolugo.fullbookingflow.BEcT_mc4.min.js → revolugo.fullbookingflow.BZYUm-19.min.js} +9 -9
- package/dist/{revolugo.hoteldescriptionview.DL7LoBMJ.min.js → revolugo.hoteldescriptionview.DUhUweXJ.min.js} +9 -9
- package/dist/{revolugo.hotelofferlist.CL-aOULq.min.js → revolugo.hotelofferlist.Co2W09vr.min.js} +9 -9
- package/dist/{revolugo.hoteloffersearchmenu.BZDzq6_O.min.js → revolugo.hoteloffersearchmenu.CBVETt26.min.js} +19 -19
- package/dist/{revolugo.hoteloffersmap.DCvJjsVN.min.js → revolugo.hoteloffersmap.cvaTj62s.min.js} +9 -9
- package/dist/revolugo.hoteloffersview.Bwc7U7fA.min.js +21 -0
- package/dist/{revolugo.hotelroomofferlist.CeGLIY55.min.js → revolugo.hotelroomofferlist.neYAAXT8.min.js} +9 -9
- package/dist/{revolugo.hotelroomoffersbookingflow.D67noAIH.min.js → revolugo.hotelroomoffersbookingflow.B8BliW8W.min.js} +9 -9
- package/dist/{revolugo.hotelroomoffersearchmenu.jDsVy9Ud.min.js → revolugo.hotelroomoffersearchmenu.D_kG8uZ7.min.js} +9 -9
- package/dist/{revolugo.hotelroomoffersview.BsbTUmB5.min.js → revolugo.hotelroomoffersview.D_-gqySC.min.js} +9 -9
- package/dist/revolugo.index.BGL6_I-A.min.js +115 -0
- package/dist/{revolugo.index.wc.Cfe4KQDt.min.js → revolugo.index.wc.D4TSeLfS.min.js} +8133 -9060
- package/dist/revolugo.langpickerbtn.B8qE9nyG.min.js +31 -0
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.prebookform.C816qeyU.min.js +26 -0
- package/dist/{revolugo.preferencesmenu.lBEQwRrW.min.js → revolugo.preferencesmenu.BdMimA0V.min.js} +7 -7
- package/dist/{revolugo.preferencesmenu.9gEX6oER.min.js → revolugo.preferencesmenu.CgoRKgL4.min.js} +130 -133
- package/dist/{revolugo.roominglisteditor.T38KZaDz.min.js → revolugo.roominglisteditor.C7jt-5n5.min.js} +9 -9
- package/dist/{revolugo.storybooktoolbar.DKszoX-I.min.js → revolugo.storybooktoolbar.Cy2IOUMp.min.js} +9 -9
- package/dist/{revolugo.termsandconditions.B8ot6qwM.min.js → revolugo.termsandconditions.CG1khRI_.min.js} +8 -8
- package/dist/revolugo.vtoolbar.Clalk_gx.min.js +205 -0
- package/dist/{revolugo.webcomponentwrapper.CM3EFuyv.min.js → revolugo.webcomponentwrapper.CU3jeCU7.min.js} +5673 -5903
- package/package.json +5 -5
- package/dist/css/revolugo.index.BNlxBMG6.css +0 -5
- package/dist/revolugo.currencypickerbtn.ClKk1L3x.min.js +0 -26
- package/dist/revolugo.hoteloffersview.6DzC_Mz-.min.js +0 -21
- package/dist/revolugo.index.Bn5MchPw.min.js +0 -106
- package/dist/revolugo.langpickerbtn.B1e4WIXU.min.js +0 -31
- package/dist/revolugo.prebookform.5OD7qcXZ.min.js +0 -26
- package/dist/revolugo.vtoolbar.DZrBQWQ0.min.js +0 -187
package/dist/{revolugo.storybooktoolbar.DKszoX-I.min.js → revolugo.storybooktoolbar.Cy2IOUMp.min.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as pe, d as M, h as J, i as A, b as R, A as ve,
|
|
2
|
-
import { B as Ae, _ as $, V as ee, b as te, c as N, d as x, e as ie, f as ae, g as D, h as ne, i as oe, j as k, k as q, l as se, u as ke, m as Ce, n as we, W as _e } from "./revolugo.webcomponentwrapper.
|
|
3
|
-
import { d as Ve } from "./revolugo.dialog-attach.
|
|
4
|
-
import { t as Le, w as Oe, s as B } from "./revolugo.index.
|
|
1
|
+
import { s as pe, d as M, h as J, i as A, b as R, A as ve, O as ge, j as O, a as o, w as r, k as Q, l as T, p as S, m as X, F, o as _, q as he, t as ye, v as H, x as Ee, u as w, y as be, c as Z, z as Se, r as I } from "./revolugo.index.wc.D4TSeLfS.min.js";
|
|
2
|
+
import { B as Ae, _ as $, V as ee, b as te, c as N, d as x, e as ie, f as ae, g as D, h as ne, i as oe, j as k, k as q, l as se, u as ke, m as Ce, n as we, W as _e } from "./revolugo.webcomponentwrapper.CU3jeCU7.min.js";
|
|
3
|
+
import { d as Ve } from "./revolugo.dialog-attach.WIuZmeH8.min.js";
|
|
4
|
+
import { t as Le, w as Oe, s as B } from "./revolugo.index.BGL6_I-A.min.js";
|
|
5
5
|
function me(t) {
|
|
6
6
|
try {
|
|
7
7
|
if (typeof document < "u") {
|
|
@@ -400,7 +400,7 @@ function Re(t, e, a, i, c, g) {
|
|
|
400
400
|
"max-width": "600px"
|
|
401
401
|
}, {
|
|
402
402
|
activator: r(({ props: u }) => [
|
|
403
|
-
o(k,
|
|
403
|
+
o(k, X(u, {
|
|
404
404
|
color: t.cookies.get("apiKey") ? "success" : "warning",
|
|
405
405
|
elevation: "0",
|
|
406
406
|
size: "x-small"
|
|
@@ -443,7 +443,7 @@ function Re(t, e, a, i, c, g) {
|
|
|
443
443
|
modelValue: t.isFormValid,
|
|
444
444
|
"onUpdate:modelValue": e[1] || (e[1] = (u) => t.isFormValid = u),
|
|
445
445
|
class: "m-0",
|
|
446
|
-
onSubmit:
|
|
446
|
+
onSubmit: Q(t.onSubmit, ["prevent"])
|
|
447
447
|
}, {
|
|
448
448
|
default: r(() => [
|
|
449
449
|
o(D, {
|
|
@@ -588,7 +588,7 @@ const Te = /* @__PURE__ */ $(le, [["render", Re]]), de = /* @__PURE__ */ M({
|
|
|
588
588
|
"max-width": "600px"
|
|
589
589
|
}, {
|
|
590
590
|
activator: r(({ props: v }) => [
|
|
591
|
-
o(k,
|
|
591
|
+
o(k, X(v, {
|
|
592
592
|
color: w(i).get("eventMetadata") ? "success" : "warning",
|
|
593
593
|
elevation: "0",
|
|
594
594
|
size: "x-small"
|
|
@@ -615,7 +615,7 @@ const Te = /* @__PURE__ */ $(le, [["render", Re]]), de = /* @__PURE__ */ M({
|
|
|
615
615
|
modelValue: s.value,
|
|
616
616
|
"onUpdate:modelValue": f[3] || (f[3] = (v) => s.value = v),
|
|
617
617
|
class: "m-0",
|
|
618
|
-
onSubmit:
|
|
618
|
+
onSubmit: Q(l, ["prevent"])
|
|
619
619
|
}, {
|
|
620
620
|
default: r(() => [
|
|
621
621
|
o(D, {
|
|
@@ -828,4 +828,4 @@ me("css/revolugo.storybooktoolbar.d_cxquq9.css");
|
|
|
828
828
|
export {
|
|
829
829
|
We as default
|
|
830
830
|
};
|
|
831
|
-
//# sourceMappingURL=revolugo.storybooktoolbar.
|
|
831
|
+
//# sourceMappingURL=revolugo.storybooktoolbar.Cy2IOUMp.min.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { T as r } from "./revolugo.cancellationpoliciesbadge.props.
|
|
2
|
-
import { d as s, c as p,
|
|
3
|
-
import { W as _, _ as l } from "./revolugo.webcomponentwrapper.
|
|
4
|
-
import "./revolugo.creditcardstripeform.
|
|
5
|
-
import "./revolugo.preferencesmenu.
|
|
1
|
+
import { T as r } from "./revolugo.cancellationpoliciesbadge.props.BdONYzBw.min.js";
|
|
2
|
+
import { d as s, c as p, w as a, r as o, o as i, a as m, n as d, g as c } from "./revolugo.index.wc.D4TSeLfS.min.js";
|
|
3
|
+
import { W as _, _ as l } from "./revolugo.webcomponentwrapper.CU3jeCU7.min.js";
|
|
4
|
+
import "./revolugo.creditcardstripeform.lSiNVwA6.min.js";
|
|
5
|
+
import "./revolugo.preferencesmenu.CgoRKgL4.min.js";
|
|
6
6
|
const C = {
|
|
7
7
|
theme: {
|
|
8
8
|
default: "light",
|
|
@@ -17,8 +17,8 @@ const C = {
|
|
|
17
17
|
});
|
|
18
18
|
function u(n, W, A, T, $, g) {
|
|
19
19
|
const e = o("TermsAndConditions", !0), t = o("WebComponentWrapper");
|
|
20
|
-
return
|
|
21
|
-
default:
|
|
20
|
+
return i(), p(t, null, {
|
|
21
|
+
default: a(() => [
|
|
22
22
|
m(e, d(c(n.$props)), null, 16)
|
|
23
23
|
]),
|
|
24
24
|
_: 1
|
|
@@ -28,4 +28,4 @@ const v = /* @__PURE__ */ l(f, [["render", u]]);
|
|
|
28
28
|
export {
|
|
29
29
|
v as default
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=revolugo.termsandconditions.
|
|
31
|
+
//# sourceMappingURL=revolugo.termsandconditions.CG1khRI_.min.js.map
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { s as T, a6 as x, $ as E, a1 as O, af as C, a5 as w, r as N, w as R, a8 as B, ah as P, ad as I, G as v, Y as M } from "./revolugo.webcomponentwrapper.CU3jeCU7.min.js";
|
|
2
|
+
import { J as V, K as S, a, a5 as U, M as D, aa as G, s as H, b as y, a4 as Y, R as j, ac as m } from "./revolugo.index.wc.D4TSeLfS.min.js";
|
|
3
|
+
function L(e) {
|
|
4
|
+
try {
|
|
5
|
+
if (typeof document < "u") {
|
|
6
|
+
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
|
7
|
+
sheets: [],
|
|
8
|
+
components: []
|
|
9
|
+
};
|
|
10
|
+
const n = import.meta.url, t = n.slice(0, n.lastIndexOf("/") + 1) + e;
|
|
11
|
+
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(t);
|
|
12
|
+
for (const o of REVOLUGO_ELEMENTS_STYLES.components)
|
|
13
|
+
o(t);
|
|
14
|
+
if (e.indexOf("fonts") >= 0) {
|
|
15
|
+
const o = document.createElement("link");
|
|
16
|
+
o.rel = "stylesheet", linK.href = t, document.head.appendChild(o);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
} catch (n) {
|
|
20
|
+
console.error("[revolugo-elements] ", n);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
function b(e) {
|
|
24
|
+
return e !== null && typeof e == "object";
|
|
25
|
+
}
|
|
26
|
+
function Z(e, ...n) {
|
|
27
|
+
const t = e ?? {}, o = /* @__PURE__ */ new WeakMap();
|
|
28
|
+
function d(s, c) {
|
|
29
|
+
for (const i in c)
|
|
30
|
+
if (Object.hasOwn(c, i)) {
|
|
31
|
+
const l = c[i], u = s[i];
|
|
32
|
+
if (u === void 0)
|
|
33
|
+
if (b(l))
|
|
34
|
+
if (o.has(l))
|
|
35
|
+
s[i] = o.get(l);
|
|
36
|
+
else {
|
|
37
|
+
const r = Array.isArray(l) ? [] : {};
|
|
38
|
+
o.set(l, r), d(r, l), s[i] = r;
|
|
39
|
+
}
|
|
40
|
+
else
|
|
41
|
+
s[i] = l;
|
|
42
|
+
else b(u) && b(l) && d(u, l);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
for (const s of n)
|
|
46
|
+
s != null && d(t, s);
|
|
47
|
+
return t;
|
|
48
|
+
}
|
|
49
|
+
const A = S({
|
|
50
|
+
text: String,
|
|
51
|
+
...E(),
|
|
52
|
+
...x()
|
|
53
|
+
}, "VToolbarTitle"), K = V()({
|
|
54
|
+
name: "VToolbarTitle",
|
|
55
|
+
props: A(),
|
|
56
|
+
setup(e, n) {
|
|
57
|
+
let {
|
|
58
|
+
slots: t
|
|
59
|
+
} = n;
|
|
60
|
+
return T(() => {
|
|
61
|
+
const o = !!(t.default || t.text || e.text);
|
|
62
|
+
return a(e.tag, {
|
|
63
|
+
class: ["v-toolbar-title", e.class],
|
|
64
|
+
style: e.style
|
|
65
|
+
}, {
|
|
66
|
+
default: () => [o && a("div", {
|
|
67
|
+
class: "v-toolbar-title__placeholder"
|
|
68
|
+
}, [t.text ? t.text() : e.text, t.default?.()])]
|
|
69
|
+
});
|
|
70
|
+
}), {};
|
|
71
|
+
}
|
|
72
|
+
}), $ = [null, "prominent", "default", "comfortable", "compact"], F = S({
|
|
73
|
+
absolute: Boolean,
|
|
74
|
+
collapse: Boolean,
|
|
75
|
+
color: String,
|
|
76
|
+
density: {
|
|
77
|
+
type: String,
|
|
78
|
+
default: "default",
|
|
79
|
+
validator: (e) => $.includes(e)
|
|
80
|
+
},
|
|
81
|
+
extended: Boolean,
|
|
82
|
+
extensionHeight: {
|
|
83
|
+
type: [Number, String],
|
|
84
|
+
default: 48
|
|
85
|
+
},
|
|
86
|
+
flat: Boolean,
|
|
87
|
+
floating: Boolean,
|
|
88
|
+
height: {
|
|
89
|
+
type: [Number, String],
|
|
90
|
+
default: 64
|
|
91
|
+
},
|
|
92
|
+
image: String,
|
|
93
|
+
title: String,
|
|
94
|
+
...P(),
|
|
95
|
+
...E(),
|
|
96
|
+
...B(),
|
|
97
|
+
...R(),
|
|
98
|
+
...x({
|
|
99
|
+
tag: "header"
|
|
100
|
+
}),
|
|
101
|
+
...j()
|
|
102
|
+
}, "VToolbar"), q = V()({
|
|
103
|
+
name: "VToolbar",
|
|
104
|
+
props: F(),
|
|
105
|
+
setup(e, n) {
|
|
106
|
+
let {
|
|
107
|
+
slots: t
|
|
108
|
+
} = n;
|
|
109
|
+
const {
|
|
110
|
+
backgroundColorClasses: o,
|
|
111
|
+
backgroundColorStyles: d
|
|
112
|
+
} = O(U(e, "color")), {
|
|
113
|
+
borderClasses: s
|
|
114
|
+
} = C(e), {
|
|
115
|
+
elevationClasses: c
|
|
116
|
+
} = w(e), {
|
|
117
|
+
roundedClasses: i
|
|
118
|
+
} = N(e), {
|
|
119
|
+
themeClasses: l
|
|
120
|
+
} = D(e), {
|
|
121
|
+
rtlClasses: u
|
|
122
|
+
} = G(), r = H(!!(e.extended || t.extension?.())), f = y(() => parseInt(Number(e.height) + (e.density === "prominent" ? Number(e.height) : 0) - (e.density === "comfortable" ? 8 : 0) - (e.density === "compact" ? 16 : 0), 10)), g = y(() => r.value ? parseInt(Number(e.extensionHeight) + (e.density === "prominent" ? Number(e.extensionHeight) : 0) - (e.density === "comfortable" ? 4 : 0) - (e.density === "compact" ? 8 : 0), 10) : 0);
|
|
123
|
+
return Y({
|
|
124
|
+
VBtn: {
|
|
125
|
+
variant: "text"
|
|
126
|
+
}
|
|
127
|
+
}), T(() => {
|
|
128
|
+
const _ = !!(e.title || t.title), k = !!(t.image || e.image), h = t.extension?.();
|
|
129
|
+
return r.value = !!(e.extended || h), a(e.tag, {
|
|
130
|
+
class: ["v-toolbar", {
|
|
131
|
+
"v-toolbar--absolute": e.absolute,
|
|
132
|
+
"v-toolbar--collapse": e.collapse,
|
|
133
|
+
"v-toolbar--flat": e.flat,
|
|
134
|
+
"v-toolbar--floating": e.floating,
|
|
135
|
+
[`v-toolbar--density-${e.density}`]: !0
|
|
136
|
+
}, o.value, s.value, c.value, i.value, l.value, u.value, e.class],
|
|
137
|
+
style: [d.value, e.style]
|
|
138
|
+
}, {
|
|
139
|
+
default: () => [k && a("div", {
|
|
140
|
+
key: "image",
|
|
141
|
+
class: "v-toolbar__image"
|
|
142
|
+
}, [t.image ? a(v, {
|
|
143
|
+
key: "image-defaults",
|
|
144
|
+
disabled: !e.image,
|
|
145
|
+
defaults: {
|
|
146
|
+
VImg: {
|
|
147
|
+
cover: !0,
|
|
148
|
+
src: e.image
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}, t.image) : a(I, {
|
|
152
|
+
key: "image-img",
|
|
153
|
+
cover: !0,
|
|
154
|
+
src: e.image
|
|
155
|
+
}, null)]), a(v, {
|
|
156
|
+
defaults: {
|
|
157
|
+
VTabs: {
|
|
158
|
+
height: m(f.value)
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}, {
|
|
162
|
+
default: () => [a("div", {
|
|
163
|
+
class: "v-toolbar__content",
|
|
164
|
+
style: {
|
|
165
|
+
height: m(f.value)
|
|
166
|
+
}
|
|
167
|
+
}, [t.prepend && a("div", {
|
|
168
|
+
class: "v-toolbar__prepend"
|
|
169
|
+
}, [t.prepend?.()]), _ && a(K, {
|
|
170
|
+
key: "title",
|
|
171
|
+
text: e.title
|
|
172
|
+
}, {
|
|
173
|
+
text: t.title
|
|
174
|
+
}), t.default?.(), t.append && a("div", {
|
|
175
|
+
class: "v-toolbar__append"
|
|
176
|
+
}, [t.append?.()])])]
|
|
177
|
+
}), a(v, {
|
|
178
|
+
defaults: {
|
|
179
|
+
VTabs: {
|
|
180
|
+
height: m(g.value)
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}, {
|
|
184
|
+
default: () => [a(M, null, {
|
|
185
|
+
default: () => [r.value && a("div", {
|
|
186
|
+
class: "v-toolbar__extension",
|
|
187
|
+
style: {
|
|
188
|
+
height: m(g.value)
|
|
189
|
+
}
|
|
190
|
+
}, [h])]
|
|
191
|
+
})]
|
|
192
|
+
})]
|
|
193
|
+
});
|
|
194
|
+
}), {
|
|
195
|
+
contentHeight: f,
|
|
196
|
+
extensionHeight: g
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
L("css/revolugo.vtoolbar.BZert82L.css");
|
|
201
|
+
export {
|
|
202
|
+
q as V,
|
|
203
|
+
Z as d
|
|
204
|
+
};
|
|
205
|
+
//# sourceMappingURL=revolugo.vtoolbar.Clalk_gx.min.js.map
|