@revolugo/elements 6.9.3-beta.5 → 6.9.3-beta.6
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.CXgSLFHg.css → revolugo.cancellationpoliciesbadge.BcePd3qd.css} +1 -1
- package/dist/css/{revolugo.creditcardstripeform.zWRVQ06X.css → revolugo.creditcardstripeform.BY2oOm4u.css} +1 -1
- package/dist/index.es.min.js +1129 -1372
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +6 -6
- package/dist/index.min.js.map +1 -1
- package/dist/{revolugo.banktransferdetails.D8ElUFyk.min.js → revolugo.banktransferdetails.CPJwGV-N.min.js} +6 -6
- package/dist/{revolugo.bookingdetailssidebar.B8zVuvu3.min.js → revolugo.bookingdetailssidebar.C_iI2NBe.min.js} +6 -6
- package/dist/{revolugo.bookingmanager.gVkgWGAl.min.js → revolugo.bookingmanager.Xd-B0luz.min.js} +6 -6
- package/dist/{revolugo.cancellationpoliciesbadge.DJYslP_j.min.js → revolugo.cancellationpoliciesbadge.DmSB0UnX.min.js} +6 -6
- package/dist/{revolugo.cancellationpoliciesbadge.props.BQj59fW6.min.js → revolugo.cancellationpoliciesbadge.props.CYnq5upS.min.js} +5914 -5814
- package/dist/{revolugo.cancellationpolicieslist.DTOIhqYb.min.js → revolugo.cancellationpolicieslist.DioBarUK.min.js} +6 -6
- package/dist/{revolugo.creditcardstripeform.Bqxzb7Ho.min.js → revolugo.creditcardstripeform.BmwetGGI.min.js} +5 -5
- package/dist/revolugo.creditcardstripeform.g8NCT3QI.min.js +622 -0
- package/dist/{revolugo.currencypickerbtn.Czcdk2Yj.min.js → revolugo.currencypickerbtn.B2NUAGe4.min.js} +6 -6
- package/dist/{revolugo.dialog-attach.UPwhAysf.min.js → revolugo.dialog-attach.qO9BzSOb.min.js} +2 -2
- package/dist/{revolugo.fastbookingflow.BmdW6OeD.min.js → revolugo.fastbookingflow.BDUBKCel.min.js} +6 -6
- package/dist/revolugo.fullbookingflow.Bemz-oVM.min.js +26 -0
- package/dist/{revolugo.hoteldescriptionview.DsE2fOJU.min.js → revolugo.hoteldescriptionview.CS2H6HbD.min.js} +6 -6
- package/dist/{revolugo.hotelofferlist.maNKHwj-.min.js → revolugo.hotelofferlist.BP3oCOUP.min.js} +6 -6
- package/dist/{revolugo.hoteloffersearchmenu.CdLKQq6Y.min.js → revolugo.hoteloffersearchmenu.CcPob-4Z.min.js} +7 -7
- package/dist/revolugo.hoteloffersmap.BJUv8xTk.min.js +26 -0
- package/dist/revolugo.hoteloffersview.DhXU_lwg.min.js +21 -0
- package/dist/revolugo.hotelroomofferlist.DUS8gV6f.min.js +26 -0
- package/dist/revolugo.hotelroomoffersbookingflow.DMtVoalu.min.js +26 -0
- package/dist/{revolugo.hotelroomoffersearchmenu.DWASGSzf.min.js → revolugo.hotelroomoffersearchmenu.C2fglRLf.min.js} +6 -6
- package/dist/revolugo.hotelroomoffersview.B9qXsauS.min.js +26 -0
- package/dist/{revolugo.index.5zErGW_G.min.js → revolugo.index.DRsS1sHK.min.js} +2 -2
- package/dist/{revolugo.index.wc.CaAu9vmp.min.js → revolugo.index.wc.CcGotrVW.min.js} +730 -740
- package/dist/{revolugo.langpickerbtn.C5-ebxRj.min.js → revolugo.langpickerbtn.DdVRJwh3.min.js} +6 -6
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.prebookform.q9TtY-ig.min.js → revolugo.prebookform.pTWIeCdk.min.js} +6 -6
- package/dist/{revolugo.preferencesmenu.CrRgxlnF.min.js → revolugo.preferencesmenu.BBzBRdxW.min.js} +4 -4
- package/dist/{revolugo.preferencesmenu.-lZCmv4e.min.js → revolugo.preferencesmenu.CY0rMZv2.min.js} +21 -21
- package/dist/{revolugo.roominglisteditor.Dh2_zFUS.min.js → revolugo.roominglisteditor.DgMuQXWj.min.js} +6 -6
- package/dist/{revolugo.storybooktoolbar.B_ZAawdz.min.js → revolugo.storybooktoolbar.Tv_r94ZY.min.js} +5 -5
- package/dist/{revolugo.termsandconditions.tLIcyY83.min.js → revolugo.termsandconditions.459mSIxa.min.js} +6 -6
- package/dist/{revolugo.vtoolbar.BMDv38l9.min.js → revolugo.vtoolbar.CuWB3YiP.min.js} +13 -13
- package/dist/{revolugo.webcomponentwrapper.BbfqyF09.min.js → revolugo.webcomponentwrapper.DtyZC6dL.min.js} +4072 -4069
- package/package.json +1 -1
- package/dist/revolugo.creditcardpayment.C2ElzSGy.min.js +0 -26
- package/dist/revolugo.creditcardstripeform.CMuII5tD.min.js +0 -2152
- package/dist/revolugo.fullbookingflow.BFyywxAK.min.js +0 -26
- package/dist/revolugo.hoteloffersmap.3BfwIwCx.min.js +0 -26
- package/dist/revolugo.hoteloffersview.CUUUCIhL.min.js +0 -21
- package/dist/revolugo.hotelroomofferlist.DFiYfEXQ.min.js +0 -26
- package/dist/revolugo.hotelroomoffersbookingflow.o4EA5h6u.min.js +0 -26
- package/dist/revolugo.hotelroomoffersview.o2Yfx5vn.min.js +0 -26
@@ -1,8 +1,8 @@
|
|
1
|
-
import { d as s } from "./revolugo.cancellationpoliciesbadge.props.
|
2
|
-
import { d as a, c as r, w as i, a as p, n as c, g as l, r as o, o as m } from "./revolugo.index.wc.
|
3
|
-
import { W as _, a as f, _ as d } from "./revolugo.webcomponentwrapper.
|
4
|
-
import "./revolugo.creditcardstripeform.
|
5
|
-
import "./revolugo.preferencesmenu
|
1
|
+
import { d as s } from "./revolugo.cancellationpoliciesbadge.props.CYnq5upS.min.js";
|
2
|
+
import { d as a, c as r, w as i, a as p, n as c, g as l, r as o, o as m } from "./revolugo.index.wc.CcGotrVW.min.js";
|
3
|
+
import { W as _, a as f, _ as d } from "./revolugo.webcomponentwrapper.DtyZC6dL.min.js";
|
4
|
+
import "./revolugo.creditcardstripeform.g8NCT3QI.min.js";
|
5
|
+
import "./revolugo.preferencesmenu.CY0rMZv2.min.js";
|
6
6
|
const C = a({
|
7
7
|
components: {
|
8
8
|
CancellationPoliciesList: f,
|
@@ -23,4 +23,4 @@ const w = /* @__PURE__ */ d(C, [["render", u]]);
|
|
23
23
|
export {
|
24
24
|
w as default
|
25
25
|
};
|
26
|
-
//# sourceMappingURL=revolugo.cancellationpolicieslist.
|
26
|
+
//# sourceMappingURL=revolugo.cancellationpolicieslist.DioBarUK.min.js.map
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { C as a } from "./revolugo.creditcardstripeform.
|
2
|
-
import { W as n, _ as p } from "./revolugo.webcomponentwrapper.
|
3
|
-
import { d as s, c as i, w as d, a as m, n as c, g as l, r as e, o as u } from "./revolugo.index.wc.
|
1
|
+
import { C as a } from "./revolugo.creditcardstripeform.g8NCT3QI.min.js";
|
2
|
+
import { W as n, _ as p } from "./revolugo.webcomponentwrapper.DtyZC6dL.min.js";
|
3
|
+
import { d as s, c as i, w as d, a as m, n as c, g as l, r as e, o as u } from "./revolugo.index.wc.CcGotrVW.min.js";
|
4
4
|
const f = {
|
5
5
|
amount: {
|
6
6
|
required: !0,
|
@@ -18,7 +18,7 @@ const f = {
|
|
18
18
|
default: !1,
|
19
19
|
type: Boolean
|
20
20
|
},
|
21
|
-
|
21
|
+
stripeToken: { required: !0, type: String },
|
22
22
|
withAction: {
|
23
23
|
default: !1,
|
24
24
|
type: Boolean
|
@@ -47,4 +47,4 @@ const h = /* @__PURE__ */ p(C, [["render", _]]);
|
|
47
47
|
export {
|
48
48
|
h as default
|
49
49
|
};
|
50
|
-
//# sourceMappingURL=revolugo.creditcardstripeform.
|
50
|
+
//# sourceMappingURL=revolugo.creditcardstripeform.BmwetGGI.min.js.map
|
@@ -0,0 +1,622 @@
|
|
1
|
+
import { U as rt, V as at, W as ot, bc as nt, b as W, aB as it, a as s, m as j, $ as st, d as lt, h as dt, i as z, aR as ct, x as ut, c as m, w as i, ak as mt, bd as P, z as v, p as R, y as f, u as p, f as U, j as I, k as pt, F as O, be as bt, P as vt, o as c } from "./revolugo.index.wc.CcGotrVW.min.js";
|
2
|
+
import { aB as ft, w as gt, aC as G, be as K, aF as yt, bf as ht, V as q, k as D, L as J, M as Ct, d as E, e as y, ba as wt, Q as V, af as St, j as _t, b as kt, _ as Pt } from "./revolugo.webcomponentwrapper.DtyZC6dL.min.js";
|
3
|
+
import { V as Et } from "./revolugo.vtoolbar.CuWB3YiP.min.js";
|
4
|
+
function et(r) {
|
5
|
+
try {
|
6
|
+
if (typeof document < "u") {
|
7
|
+
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
8
|
+
sheets: [],
|
9
|
+
components: []
|
10
|
+
};
|
11
|
+
const t = import.meta.url, e = t.slice(0, t.lastIndexOf("/") + 1) + r;
|
12
|
+
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(e);
|
13
|
+
for (const a of REVOLUGO_ELEMENTS_STYLES.components)
|
14
|
+
a(e);
|
15
|
+
if (r.indexOf("fonts") >= 0) {
|
16
|
+
const a = document.createElement("link");
|
17
|
+
a.rel = "stylesheet", linK.href = e, document.head.appendChild(a);
|
18
|
+
}
|
19
|
+
}
|
20
|
+
} catch (t) {
|
21
|
+
console.error("[revolugo-elements] ", t);
|
22
|
+
}
|
23
|
+
}
|
24
|
+
const Vt = at({
|
25
|
+
...yt(),
|
26
|
+
...st(ht(), ["inline"])
|
27
|
+
}, "VCheckbox"), xt = rt()({
|
28
|
+
name: "VCheckbox",
|
29
|
+
inheritAttrs: !1,
|
30
|
+
props: Vt(),
|
31
|
+
emits: {
|
32
|
+
"update:modelValue": (r) => !0,
|
33
|
+
"update:focused": (r) => !0
|
34
|
+
},
|
35
|
+
setup(r, t) {
|
36
|
+
let {
|
37
|
+
attrs: e,
|
38
|
+
slots: a
|
39
|
+
} = t;
|
40
|
+
const n = ot(r, "modelValue"), {
|
41
|
+
isFocused: l,
|
42
|
+
focus: u,
|
43
|
+
blur: b
|
44
|
+
} = ft(r), g = nt(), w = W(() => r.id || `checkbox-${g}`);
|
45
|
+
return gt(() => {
|
46
|
+
const [S, N] = it(e), M = G.filterProps(r), _ = K.filterProps(r);
|
47
|
+
return s(G, j({
|
48
|
+
class: ["v-checkbox", r.class]
|
49
|
+
}, S, M, {
|
50
|
+
modelValue: n.value,
|
51
|
+
"onUpdate:modelValue": (k) => n.value = k,
|
52
|
+
id: w.value,
|
53
|
+
focused: l.value,
|
54
|
+
style: r.style
|
55
|
+
}), {
|
56
|
+
...a,
|
57
|
+
default: (k) => {
|
58
|
+
let {
|
59
|
+
id: h,
|
60
|
+
messagesId: A,
|
61
|
+
isDisabled: T,
|
62
|
+
isReadonly: o,
|
63
|
+
isValid: d
|
64
|
+
} = k;
|
65
|
+
return s(K, j(_, {
|
66
|
+
id: h.value,
|
67
|
+
"aria-describedby": A.value,
|
68
|
+
disabled: T.value,
|
69
|
+
readonly: o.value
|
70
|
+
}, N, {
|
71
|
+
error: d.value === !1,
|
72
|
+
modelValue: n.value,
|
73
|
+
"onUpdate:modelValue": (C) => n.value = C,
|
74
|
+
onFocus: u,
|
75
|
+
onBlur: b
|
76
|
+
}), a);
|
77
|
+
}
|
78
|
+
});
|
79
|
+
}), {};
|
80
|
+
}
|
81
|
+
});
|
82
|
+
var Z = "basil", Lt = function(t) {
|
83
|
+
return t === 3 ? "v3" : t;
|
84
|
+
}, H = "https://js.stripe.com", Tt = "".concat(H, "/").concat(Z, "/stripe.js"), zt = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, Rt = /^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/;
|
85
|
+
var Ft = function(t) {
|
86
|
+
return zt.test(t) || Rt.test(t);
|
87
|
+
}, Bt = function() {
|
88
|
+
for (var t = document.querySelectorAll('script[src^="'.concat(H, '"]')), e = 0; e < t.length; e++) {
|
89
|
+
var a = t[e];
|
90
|
+
if (Ft(a.src))
|
91
|
+
return a;
|
92
|
+
}
|
93
|
+
return null;
|
94
|
+
}, Y = function(t) {
|
95
|
+
var e = "", a = document.createElement("script");
|
96
|
+
a.src = "".concat(Tt).concat(e);
|
97
|
+
var n = document.head || document.body;
|
98
|
+
if (!n)
|
99
|
+
throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");
|
100
|
+
return n.appendChild(a), a;
|
101
|
+
}, Nt = function(t, e) {
|
102
|
+
!t || !t._registerWrapper || t._registerWrapper({
|
103
|
+
name: "stripe-js",
|
104
|
+
version: "7.8.0",
|
105
|
+
startTime: e
|
106
|
+
});
|
107
|
+
}, x = null, F = null, B = null, Mt = function(t) {
|
108
|
+
return function(e) {
|
109
|
+
t(new Error("Failed to load Stripe.js", {
|
110
|
+
cause: e
|
111
|
+
}));
|
112
|
+
};
|
113
|
+
}, At = function(t, e) {
|
114
|
+
return function() {
|
115
|
+
window.Stripe ? t(window.Stripe) : e(new Error("Stripe.js not available"));
|
116
|
+
};
|
117
|
+
}, Ut = function(t) {
|
118
|
+
return x !== null ? x : (x = new Promise(function(e, a) {
|
119
|
+
if (typeof window > "u" || typeof document > "u") {
|
120
|
+
e(null);
|
121
|
+
return;
|
122
|
+
}
|
123
|
+
if (window.Stripe) {
|
124
|
+
e(window.Stripe);
|
125
|
+
return;
|
126
|
+
}
|
127
|
+
try {
|
128
|
+
var n = Bt();
|
129
|
+
if (!(n && t)) {
|
130
|
+
if (!n)
|
131
|
+
n = Y(t);
|
132
|
+
else if (n && B !== null && F !== null) {
|
133
|
+
var l;
|
134
|
+
n.removeEventListener("load", B), n.removeEventListener("error", F), (l = n.parentNode) === null || l === void 0 || l.removeChild(n), n = Y(t);
|
135
|
+
}
|
136
|
+
}
|
137
|
+
B = At(e, a), F = Mt(a), n.addEventListener("load", B), n.addEventListener("error", F);
|
138
|
+
} catch (u) {
|
139
|
+
a(u);
|
140
|
+
return;
|
141
|
+
}
|
142
|
+
}), x.catch(function(e) {
|
143
|
+
return x = null, Promise.reject(e);
|
144
|
+
}));
|
145
|
+
}, It = function(t, e, a) {
|
146
|
+
if (t === null)
|
147
|
+
return null;
|
148
|
+
var n = e[0], l = n.match(/^pk_test/), u = Lt(t.version), b = Z;
|
149
|
+
l && u !== b && console.warn("Stripe.js@".concat(u, " was loaded on the page, but @stripe/stripe-js@").concat("7.8.0", " expected Stripe.js@").concat(b, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
|
150
|
+
var g = t.apply(void 0, e);
|
151
|
+
return Nt(g, a), g;
|
152
|
+
}, L, X = !1, Q = function() {
|
153
|
+
return L || (L = Ut(null).catch(function(t) {
|
154
|
+
return L = null, Promise.reject(t);
|
155
|
+
}), L);
|
156
|
+
};
|
157
|
+
Promise.resolve().then(function() {
|
158
|
+
return Q();
|
159
|
+
}).catch(function(r) {
|
160
|
+
X || console.warn(r);
|
161
|
+
});
|
162
|
+
var Dt = function() {
|
163
|
+
for (var t = arguments.length, e = new Array(t), a = 0; a < t; a++)
|
164
|
+
e[a] = arguments[a];
|
165
|
+
X = !0;
|
166
|
+
var n = Date.now();
|
167
|
+
return Q().then(function(l) {
|
168
|
+
return It(l, e, n);
|
169
|
+
});
|
170
|
+
};
|
171
|
+
const jt = { class: "w-100 d-flex justify-space-between items-center" }, Ot = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, Gt = { class: "pr-3" }, Kt = ["disable", "locale", "publishable-key"], qt = ["innerHTML"], Jt = { class: "ml-1 text-caption" }, Yt = { class: "mr-1" }, tt = /* @__PURE__ */ lt({
|
172
|
+
__name: "CreditCardStripeForm",
|
173
|
+
props: {
|
174
|
+
amount: {},
|
175
|
+
currency: {},
|
176
|
+
disabled: { type: Boolean },
|
177
|
+
loading: { type: Boolean },
|
178
|
+
stripeToken: {},
|
179
|
+
withAction: { type: Boolean },
|
180
|
+
withTerms: { type: Boolean }
|
181
|
+
},
|
182
|
+
emits: ["change", "error", "payment:success"],
|
183
|
+
setup(r, { expose: t, emit: e }) {
|
184
|
+
const a = r, { locale: n, t: l } = dt(), u = z(null), b = z(!1), g = z(null), w = z(null), S = e, { config: N } = ct();
|
185
|
+
function M(o) {
|
186
|
+
switch (o) {
|
187
|
+
case P.Production:
|
188
|
+
return "pk_live_x99EPirYIsCyUsRvPAfyhnRp";
|
189
|
+
case P.Sandbox:
|
190
|
+
case P.Staging:
|
191
|
+
case P.CiCd:
|
192
|
+
case P.Local:
|
193
|
+
default:
|
194
|
+
return "pk_test_wXnn2RrefTiOHB0zzxqJr0s8";
|
195
|
+
}
|
196
|
+
}
|
197
|
+
const _ = W(
|
198
|
+
() => M(N.value.apiEnvironment)
|
199
|
+
);
|
200
|
+
function k(o) {
|
201
|
+
u.value = "", S("change", !!o.detail.complete);
|
202
|
+
}
|
203
|
+
function h(o) {
|
204
|
+
u.value = `${o?.error?.message} - ${l("CreditCardStripeForm.error")}`, S("error", u.value);
|
205
|
+
}
|
206
|
+
async function A(o) {
|
207
|
+
try {
|
208
|
+
if (!window.Stripe || a.disabled)
|
209
|
+
return;
|
210
|
+
const C = await window.Stripe(_.value, {
|
211
|
+
locale: bt(n.value)
|
212
|
+
}).confirmCardPayment(a.stripeToken, {
|
213
|
+
// eslint-disable-next-line camelcase
|
214
|
+
payment_method: o.detail.id
|
215
|
+
});
|
216
|
+
C.error ? h(C.error) : S(vt.PaymentSuccess);
|
217
|
+
} catch (d) {
|
218
|
+
h(d);
|
219
|
+
}
|
220
|
+
}
|
221
|
+
function T() {
|
222
|
+
try {
|
223
|
+
return !w.value || a.withTerms && !b.value ? null : w.value.submit();
|
224
|
+
} catch (o) {
|
225
|
+
return h(o), null;
|
226
|
+
}
|
227
|
+
}
|
228
|
+
return ut(async () => {
|
229
|
+
g.value = await Dt(_.value);
|
230
|
+
}), t({
|
231
|
+
pay: T
|
232
|
+
}), (o, d) => (c(), m(q, {
|
233
|
+
disabled: o.disabled,
|
234
|
+
elevation: "0",
|
235
|
+
border: "",
|
236
|
+
style: mt({
|
237
|
+
borderColor: o.disabled ? "" : "rgb(var(--v-theme-primary))"
|
238
|
+
})
|
239
|
+
}, {
|
240
|
+
default: i(() => [
|
241
|
+
s(Et, {
|
242
|
+
class: "text-white",
|
243
|
+
color: "primary",
|
244
|
+
density: "compact",
|
245
|
+
elevation: "0"
|
246
|
+
}, {
|
247
|
+
default: i(() => [
|
248
|
+
v("div", jt, [
|
249
|
+
v("h4", null, [
|
250
|
+
s(D, {
|
251
|
+
color: "white",
|
252
|
+
start: "",
|
253
|
+
size: "small"
|
254
|
+
}, {
|
255
|
+
default: i(() => d[2] || (d[2] = [
|
256
|
+
R(" fas fa-credit-card ", -1)
|
257
|
+
])),
|
258
|
+
_: 1,
|
259
|
+
__: [2]
|
260
|
+
}),
|
261
|
+
R(" " + f(p(l)("CreditCardStripeForm.title")) + ": ", 1),
|
262
|
+
o.loading ? (c(), m(Ct, {
|
263
|
+
key: 1,
|
264
|
+
class: "ml-2",
|
265
|
+
color: "primary",
|
266
|
+
indeterminate: "",
|
267
|
+
size: "20",
|
268
|
+
width: "1"
|
269
|
+
})) : (c(), m(J, {
|
270
|
+
key: 0,
|
271
|
+
amount: o.amount,
|
272
|
+
class: "font-weight-bold",
|
273
|
+
currency: o.currency
|
274
|
+
}, null, 8, ["amount", "currency"]))
|
275
|
+
]),
|
276
|
+
s(D, {
|
277
|
+
color: "white",
|
278
|
+
end: "",
|
279
|
+
size: "small"
|
280
|
+
}, {
|
281
|
+
default: i(() => d[3] || (d[3] = [
|
282
|
+
R(" fas fa-lock ", -1)
|
283
|
+
])),
|
284
|
+
_: 1,
|
285
|
+
__: [3]
|
286
|
+
})
|
287
|
+
])
|
288
|
+
]),
|
289
|
+
_: 1
|
290
|
+
}),
|
291
|
+
s(kt, null, {
|
292
|
+
default: i(() => [
|
293
|
+
s(E, null, {
|
294
|
+
default: i(() => [
|
295
|
+
s(y, null, {
|
296
|
+
default: i(() => [
|
297
|
+
u.value ? (c(), m(wt, {
|
298
|
+
key: 0,
|
299
|
+
color: "red",
|
300
|
+
density: "compact",
|
301
|
+
variant: "outlined"
|
302
|
+
}, {
|
303
|
+
default: i(() => [
|
304
|
+
v("p", Ot, f(p(l)("CreditCardStripeForm.paymentDeclined")) + ": " + f(u.value), 1)
|
305
|
+
]),
|
306
|
+
_: 1
|
307
|
+
})) : U("", !0)
|
308
|
+
]),
|
309
|
+
_: 1
|
310
|
+
})
|
311
|
+
]),
|
312
|
+
_: 1
|
313
|
+
}),
|
314
|
+
s(E, {
|
315
|
+
class: "d-none d-sm-flex",
|
316
|
+
"no-gutters": ""
|
317
|
+
}, {
|
318
|
+
default: i(() => [
|
319
|
+
s(y, { cols: "8" }, {
|
320
|
+
default: i(() => [
|
321
|
+
v("small", null, f(p(l)("CreditCardStripeForm.cardNumber")), 1)
|
322
|
+
]),
|
323
|
+
_: 1
|
324
|
+
}),
|
325
|
+
s(y, {
|
326
|
+
class: "text-right pr-6",
|
327
|
+
cols: "4"
|
328
|
+
}, {
|
329
|
+
default: i(() => [
|
330
|
+
v("small", Gt, f(p(l)("CreditCardStripeForm.expDate")), 1),
|
331
|
+
v("small", null, f(p(l)("CreditCardStripeForm.cvc")), 1)
|
332
|
+
]),
|
333
|
+
_: 1
|
334
|
+
})
|
335
|
+
]),
|
336
|
+
_: 1
|
337
|
+
}),
|
338
|
+
s(E, { "no-gutters": "" }, {
|
339
|
+
default: i(() => [
|
340
|
+
s(y, null, {
|
341
|
+
default: i(() => [
|
342
|
+
s(q, {
|
343
|
+
elevation: "0",
|
344
|
+
border: ""
|
345
|
+
}, {
|
346
|
+
default: i(() => [
|
347
|
+
g.value ? (c(), I("stripe-elements", {
|
348
|
+
key: 0,
|
349
|
+
disable: o.loading,
|
350
|
+
ref_key: "payment",
|
351
|
+
ref: w,
|
352
|
+
generate: "payment-method",
|
353
|
+
"hide-postal-code": "",
|
354
|
+
locale: p(n),
|
355
|
+
"publishable-key": _.value,
|
356
|
+
onChange: k,
|
357
|
+
onError: h,
|
358
|
+
onPaymentMethod: A
|
359
|
+
}, null, 40, Kt)) : (c(), m(V, {
|
360
|
+
key: 1,
|
361
|
+
class: "mx-auto",
|
362
|
+
height: "36.8px",
|
363
|
+
type: "image",
|
364
|
+
width: "100%"
|
365
|
+
}))
|
366
|
+
]),
|
367
|
+
_: 1
|
368
|
+
})
|
369
|
+
]),
|
370
|
+
_: 1
|
371
|
+
})
|
372
|
+
]),
|
373
|
+
_: 1
|
374
|
+
}),
|
375
|
+
o.withTerms ? (c(), m(E, {
|
376
|
+
key: 0,
|
377
|
+
class: "mt-2"
|
378
|
+
}, {
|
379
|
+
default: i(() => [
|
380
|
+
s(y, null, {
|
381
|
+
default: i(() => [
|
382
|
+
o.loading ? (c(), m(V, {
|
383
|
+
key: 1,
|
384
|
+
class: "mt-3",
|
385
|
+
height: "25px",
|
386
|
+
type: "image",
|
387
|
+
width: "50%"
|
388
|
+
})) : (c(), m(xt, {
|
389
|
+
key: 0,
|
390
|
+
ref: "testing",
|
391
|
+
modelValue: b.value,
|
392
|
+
"onUpdate:modelValue": d[1] || (d[1] = (C) => b.value = C)
|
393
|
+
}, {
|
394
|
+
label: i(() => [
|
395
|
+
v("span", {
|
396
|
+
onClick: d[0] || (d[0] = pt(() => {
|
397
|
+
}, ["stop"])),
|
398
|
+
innerHTML: p(l)("CreditCardStripeForm.termsAndConditions", {
|
399
|
+
url: p(l)("CreditCardStripeForm.termsURL")
|
400
|
+
})
|
401
|
+
}, null, 8, qt)
|
402
|
+
]),
|
403
|
+
_: 1
|
404
|
+
}, 8, ["modelValue"]))
|
405
|
+
]),
|
406
|
+
_: 1
|
407
|
+
})
|
408
|
+
]),
|
409
|
+
_: 1
|
410
|
+
})) : U("", !0),
|
411
|
+
s(E, null, {
|
412
|
+
default: i(() => [
|
413
|
+
s(y, { class: "v-col-12 v-col-sm-8 v-col-md-9" }, {
|
414
|
+
default: i(() => [
|
415
|
+
o.loading ? (c(), I(O, { key: 0 }, [
|
416
|
+
s(V, {
|
417
|
+
height: "10px",
|
418
|
+
type: "image",
|
419
|
+
width: "160px"
|
420
|
+
}),
|
421
|
+
s(V, {
|
422
|
+
height: "38px",
|
423
|
+
type: "image",
|
424
|
+
width: "240px"
|
425
|
+
})
|
426
|
+
], 64)) : (c(), I(O, { key: 1 }, [
|
427
|
+
v("small", Jt, f(p(l)("CreditCardStripeForm.acceptedPaymentMethods")), 1),
|
428
|
+
s(St, {
|
429
|
+
class: "mb-n1",
|
430
|
+
height: "45",
|
431
|
+
src: "https://revolugo.s3.eu-west-3.amazonaws.com/payment-methods.png",
|
432
|
+
width: "240"
|
433
|
+
})
|
434
|
+
], 64))
|
435
|
+
]),
|
436
|
+
_: 1
|
437
|
+
}),
|
438
|
+
o.withAction ? (c(), m(y, {
|
439
|
+
key: 0,
|
440
|
+
class: "v-col-12 v-col-sm-4 v-col-md-3 text-right align-self-end"
|
441
|
+
}, {
|
442
|
+
default: i(() => [
|
443
|
+
o.loading ? (c(), m(V, {
|
444
|
+
key: 0,
|
445
|
+
class: "w-100 align-self-end",
|
446
|
+
height: "36px",
|
447
|
+
type: "image",
|
448
|
+
width: "170px"
|
449
|
+
})) : (c(), m(_t, {
|
450
|
+
key: 1,
|
451
|
+
class: "w-100 w-sm-auto align-self-end",
|
452
|
+
color: "primary",
|
453
|
+
variant: "flat",
|
454
|
+
disabled: o.disabled || o.withTerms && !b.value,
|
455
|
+
onClick: T
|
456
|
+
}, {
|
457
|
+
default: i(() => [
|
458
|
+
s(D, { start: "" }, {
|
459
|
+
default: i(() => d[4] || (d[4] = [
|
460
|
+
R(" fas fa-lock ", -1)
|
461
|
+
])),
|
462
|
+
_: 1,
|
463
|
+
__: [4]
|
464
|
+
}),
|
465
|
+
v("span", Yt, f(p(l)("CreditCardStripeForm.payNow")), 1),
|
466
|
+
s(J, {
|
467
|
+
amount: o.amount,
|
468
|
+
class: "font-weight-bold",
|
469
|
+
currency: o.currency
|
470
|
+
}, null, 8, ["amount", "currency"])
|
471
|
+
]),
|
472
|
+
_: 1
|
473
|
+
}, 8, ["disabled"]))
|
474
|
+
]),
|
475
|
+
_: 1
|
476
|
+
})) : U("", !0)
|
477
|
+
]),
|
478
|
+
_: 1
|
479
|
+
})
|
480
|
+
]),
|
481
|
+
_: 1
|
482
|
+
})
|
483
|
+
]),
|
484
|
+
_: 1
|
485
|
+
}, 8, ["disabled", "style"]));
|
486
|
+
}
|
487
|
+
});
|
488
|
+
function $(r) {
|
489
|
+
const t = r;
|
490
|
+
t.__i18n = t.__i18n || [], t.__i18n.push({
|
491
|
+
locale: "",
|
492
|
+
resource: {
|
493
|
+
"en-US": {
|
494
|
+
CreditCardStripeForm: {
|
495
|
+
acceptedPaymentMethods: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Payment Methods Accepted:" } },
|
496
|
+
cardNumber: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Card number" } },
|
497
|
+
error: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Please, use another payment method" } },
|
498
|
+
or: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "or" } },
|
499
|
+
cvc: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "CVC" } },
|
500
|
+
expDate: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Exp. Date" } },
|
501
|
+
pay: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Total price to pay" } },
|
502
|
+
payByCard: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Amount to pay by card" } },
|
503
|
+
paymentDeclined: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Payment declined" } },
|
504
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Total to pay with your credit card" } },
|
505
|
+
payNow: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pay now" } },
|
506
|
+
termsURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" } },
|
507
|
+
termsAndConditions: { t: 0, b: { t: 2, i: [{ t: 3, v: 'By continuing with your reservation you agree to the terms and conditions: <b><a href="' }, { t: 4, k: "url" }, { t: 3, v: '" target="_blank">Click here to read it</a></b>' }] } }
|
508
|
+
}
|
509
|
+
},
|
510
|
+
"fr-FR": {
|
511
|
+
CreditCardStripeForm: {
|
512
|
+
acceptedPaymentMethods: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Moyens de Paiement Acceptés:" } },
|
513
|
+
cardNumber: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Numéro de carte bancaire" } },
|
514
|
+
error: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Veuillez utiliser un autre moyen de paiement." } },
|
515
|
+
or: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "ou" } },
|
516
|
+
cvc: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "CVC" } },
|
517
|
+
expDate: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Date d'exp." } },
|
518
|
+
pay: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Montant total à régler" } },
|
519
|
+
payByCard: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Montant à régler par carte bancaire" } },
|
520
|
+
paymentDeclined: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Paiement refusé" } },
|
521
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Montant total à payer par carte bancaire" } },
|
522
|
+
payNow: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Payer maintenant" } },
|
523
|
+
termsURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo_fr.pdf" } },
|
524
|
+
termsAndConditions: { t: 0, b: { t: 2, i: [{ t: 3, v: 'En poursuivant votre réservation, vous acceptez les conditions générales: <b><a href="' }, { t: 4, k: "url" }, { t: 3, v: '" target="_blank">Cliquez ici pour les consulter</a></b>' }] } }
|
525
|
+
}
|
526
|
+
},
|
527
|
+
"de-DE": {
|
528
|
+
CreditCardStripeForm: {
|
529
|
+
acceptedPaymentMethods: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zahlungsmethoden:" } },
|
530
|
+
cardNumber: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kartennummer" } },
|
531
|
+
error: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bitte verwenden Sie eine andere Zahlungsmethode" } },
|
532
|
+
or: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "oder" } },
|
533
|
+
cvc: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "CVC" } },
|
534
|
+
expDate: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ablaufdatum" } },
|
535
|
+
pay: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zu zahlender Gesamtpreis" } },
|
536
|
+
payByCard: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Betrag, der mit Karte zu zahlen ist" } },
|
537
|
+
paymentDeclined: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zahlung abgelehnt" } },
|
538
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Gesamtbetrag zur Zahlung mit Ihrer Kreditkarte" } },
|
539
|
+
payNow: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Jetzt bezahlen" } },
|
540
|
+
termsURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" } },
|
541
|
+
termsAndConditions: { t: 0, b: { t: 2, i: [{ t: 3, v: 'Indem Sie mit Ihrer Reservierung fortfahren, stimmen Sie den Allgemeinen Geschäftsbedingungen zu: <b><a href="' }, { t: 4, k: "url" }, { t: 3, v: '" target="_blank">Klicken Sie hier, um sie zu lesen</a></b>' }] } }
|
542
|
+
}
|
543
|
+
},
|
544
|
+
"es-ES": {
|
545
|
+
CreditCardStripeForm: {
|
546
|
+
acceptedPaymentMethods: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Métodos de Pago:" } },
|
547
|
+
cardNumber: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Número de tarjeta" } },
|
548
|
+
error: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, utilice otro método de pago" } },
|
549
|
+
or: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "o" } },
|
550
|
+
cvc: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "CVC" } },
|
551
|
+
expDate: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Fecha de vencimiento" } },
|
552
|
+
pay: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Precio total a pagar" } },
|
553
|
+
payByCard: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Importe a pagar con tarjeta" } },
|
554
|
+
paymentDeclined: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pago rechazado" } },
|
555
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Total a pagar con su tarjeta de crédito" } },
|
556
|
+
payNow: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pagar ahora" } },
|
557
|
+
termsURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" } },
|
558
|
+
termsAndConditions: { t: 0, b: { t: 2, i: [{ t: 3, v: 'Al continuar con su reserva, acepta los términos y condiciones: <b><a href="' }, { t: 4, k: "url" }, { t: 3, v: '" target="_blank">Haga clic aquí para leerlos</a></b>' }] } }
|
559
|
+
}
|
560
|
+
},
|
561
|
+
"it-IT": {
|
562
|
+
CreditCardStripeForm: {
|
563
|
+
acceptedPaymentMethods: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Metodi di Pagamento:" } },
|
564
|
+
cardNumber: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Numero di carta" } },
|
565
|
+
error: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Si prega di utilizzare un altro metodo di pagamento" } },
|
566
|
+
or: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "o" } },
|
567
|
+
cvc: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "CVC" } },
|
568
|
+
expDate: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Data di scadenza" } },
|
569
|
+
pay: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prezzo totale da pagare" } },
|
570
|
+
payByCard: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Importo da pagare con carta" } },
|
571
|
+
paymentDeclined: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pagamento rifiutato" } },
|
572
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Totale da pagare con la tua carta di credito" } },
|
573
|
+
payNow: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Paga adesso" } },
|
574
|
+
termsURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" } },
|
575
|
+
termsAndConditions: { t: 0, b: { t: 2, i: [{ t: 3, v: 'Continuando con la prenotazione, accetti i termini e le condizioni: <b><a href="' }, { t: 4, k: "url" }, { t: 3, v: '" target="_blank">Clicca qui per leggerli</a></b>' }] } }
|
576
|
+
}
|
577
|
+
},
|
578
|
+
"nl-NL": {
|
579
|
+
CreditCardStripeForm: {
|
580
|
+
acceptedPaymentMethods: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Betaalmethoden:" } },
|
581
|
+
cardNumber: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kaartnummer" } },
|
582
|
+
error: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Gebruik alstublieft een andere betaalmethode" } },
|
583
|
+
or: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "of" } },
|
584
|
+
cvc: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "CVC" } },
|
585
|
+
expDate: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Vervaldatum" } },
|
586
|
+
pay: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Totaal te betalen prijs" } },
|
587
|
+
payByCard: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bedrag te betalen met kaart" } },
|
588
|
+
paymentDeclined: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Betaling geweigerd" } },
|
589
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Totaal te betalen met uw creditcard" } },
|
590
|
+
payNow: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Betaal nu" } },
|
591
|
+
termsURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" } },
|
592
|
+
termsAndConditions: { t: 0, b: { t: 2, i: [{ t: 3, v: 'Door verder te gaan met uw reservering, gaat u akkoord met de algemene voorwaarden: <b><a href="' }, { t: 4, k: "url" }, { t: 3, v: '" target="_blank">Klik hier om ze te lezen</a></b>' }] } }
|
593
|
+
}
|
594
|
+
},
|
595
|
+
"pt-PT": {
|
596
|
+
CreditCardStripeForm: {
|
597
|
+
acceptedPaymentMethods: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Métodos de Pagamento:" } },
|
598
|
+
cardNumber: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Número do cartão" } },
|
599
|
+
error: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, utilize outro método de pagamento" } },
|
600
|
+
or: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "ou" } },
|
601
|
+
cvc: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "CVC" } },
|
602
|
+
expDate: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Data de validade" } },
|
603
|
+
pay: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preço total a pagar" } },
|
604
|
+
payByCard: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Montante a pagar com cartão" } },
|
605
|
+
paymentDeclined: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pagamento recusado" } },
|
606
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Total a pagar com o seu cartão de crédito" } },
|
607
|
+
payNow: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pagar agora" } },
|
608
|
+
termsURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" } },
|
609
|
+
termsAndConditions: { t: 0, b: { t: 2, i: [{ t: 3, v: 'Ao continuar com a sua reserva, concorda com os termos e condições: <b><a href="' }, { t: 4, k: "url" }, { t: 3, v: '" target="_blank">Clique aqui para os ler</a></b>' }] } }
|
610
|
+
}
|
611
|
+
}
|
612
|
+
}
|
613
|
+
});
|
614
|
+
}
|
615
|
+
typeof $ == "function" && $(tt);
|
616
|
+
const Ht = /* @__PURE__ */ Pt(tt, [["__scopeId", "data-v-eebc6241"]]);
|
617
|
+
et("css/revolugo.creditcardstripeform.BY2oOm4u.css");
|
618
|
+
export {
|
619
|
+
Ht as C,
|
620
|
+
xt as V
|
621
|
+
};
|
622
|
+
//# sourceMappingURL=revolugo.creditcardstripeform.g8NCT3QI.min.js.map
|