@revolugo/elements 6.9.3-beta.6 → 6.9.3-beta.8

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 (37) hide show
  1. package/dist/css/{revolugo.cancellationpoliciesbadge.BcePd3qd.css → revolugo.cancellationpoliciesbadge.DM3Cgr8A.css} +1 -1
  2. package/dist/css/{revolugo.creditcardstripeform.BY2oOm4u.css → revolugo.creditcardstripeform.DN5YJSMj.css} +1 -1
  3. package/dist/{revolugo.banktransferdetails.CPJwGV-N.min.js → revolugo.banktransferdetails.DFskPIBN.min.js} +6 -6
  4. package/dist/{revolugo.bookingdetailssidebar.C_iI2NBe.min.js → revolugo.bookingdetailssidebar.BOs76Qod.min.js} +6 -6
  5. package/dist/{revolugo.bookingmanager.Xd-B0luz.min.js → revolugo.bookingmanager.DzzQLMr9.min.js} +6 -6
  6. package/dist/{revolugo.cancellationpoliciesbadge.DmSB0UnX.min.js → revolugo.cancellationpoliciesbadge.BRcM9UUl.min.js} +6 -6
  7. package/dist/{revolugo.cancellationpoliciesbadge.props.CYnq5upS.min.js → revolugo.cancellationpoliciesbadge.props.YZrc252e.min.js} +3242 -3237
  8. package/dist/{revolugo.cancellationpolicieslist.DioBarUK.min.js → revolugo.cancellationpolicieslist.B7Mf5bmE.min.js} +6 -6
  9. package/dist/revolugo.creditcardstripeform.B8KtVBUI.min.js +2150 -0
  10. package/dist/{revolugo.creditcardstripeform.BmwetGGI.min.js → revolugo.creditcardstripeform.DkNqhTcH.min.js} +4 -4
  11. package/dist/{revolugo.currencypickerbtn.B2NUAGe4.min.js → revolugo.currencypickerbtn.C1B6gpLV.min.js} +6 -6
  12. package/dist/{revolugo.dialog-attach.qO9BzSOb.min.js → revolugo.dialog-attach.e4eWyf04.min.js} +2 -2
  13. package/dist/{revolugo.fastbookingflow.BDUBKCel.min.js → revolugo.fastbookingflow.VfdAOD-j.min.js} +6 -6
  14. package/dist/{revolugo.fullbookingflow.Bemz-oVM.min.js → revolugo.fullbookingflow.CFl16ykj.min.js} +6 -6
  15. package/dist/{revolugo.hoteldescriptionview.CS2H6HbD.min.js → revolugo.hoteldescriptionview.DTByBiNZ.min.js} +6 -6
  16. package/dist/{revolugo.hotelofferlist.BP3oCOUP.min.js → revolugo.hotelofferlist.HS8rTNwv.min.js} +6 -6
  17. package/dist/{revolugo.hoteloffersearchmenu.CcPob-4Z.min.js → revolugo.hoteloffersearchmenu.DLC5yEDD.min.js} +7 -7
  18. package/dist/{revolugo.hoteloffersmap.BJUv8xTk.min.js → revolugo.hoteloffersmap.l4UaNpun.min.js} +6 -6
  19. package/dist/{revolugo.hoteloffersview.DhXU_lwg.min.js → revolugo.hoteloffersview.DxUc5TlW.min.js} +6 -6
  20. package/dist/{revolugo.hotelroomofferlist.DUS8gV6f.min.js → revolugo.hotelroomofferlist.ryYBtMFY.min.js} +6 -6
  21. package/dist/{revolugo.hotelroomoffersbookingflow.DMtVoalu.min.js → revolugo.hotelroomoffersbookingflow.BWIa87mZ.min.js} +6 -6
  22. package/dist/{revolugo.hotelroomoffersearchmenu.C2fglRLf.min.js → revolugo.hotelroomoffersearchmenu.4-HSRz_y.min.js} +6 -6
  23. package/dist/{revolugo.hotelroomoffersview.B9qXsauS.min.js → revolugo.hotelroomoffersview.Df2SYo4D.min.js} +6 -6
  24. package/dist/{revolugo.index.DRsS1sHK.min.js → revolugo.index.Qn3FvgFh.min.js} +2 -2
  25. package/dist/{revolugo.index.wc.CcGotrVW.min.js → revolugo.index.wc.CiJw1SpW.min.js} +26 -26
  26. package/dist/{revolugo.langpickerbtn.DdVRJwh3.min.js → revolugo.langpickerbtn.rFwls9XZ.min.js} +6 -6
  27. package/dist/revolugo.min.js +1 -1
  28. package/dist/{revolugo.prebookform.pTWIeCdk.min.js → revolugo.prebookform.D33OnpHn.min.js} +6 -6
  29. package/dist/{revolugo.preferencesmenu.BBzBRdxW.min.js → revolugo.preferencesmenu.BOWFkVY9.min.js} +4 -4
  30. package/dist/{revolugo.preferencesmenu.CY0rMZv2.min.js → revolugo.preferencesmenu.PVSL2fWE.min.js} +5 -5
  31. package/dist/{revolugo.roominglisteditor.DgMuQXWj.min.js → revolugo.roominglisteditor.gLjgOdGD.min.js} +6 -6
  32. package/dist/{revolugo.storybooktoolbar.Tv_r94ZY.min.js → revolugo.storybooktoolbar.DZrgGX1X.min.js} +5 -5
  33. package/dist/{revolugo.termsandconditions.459mSIxa.min.js → revolugo.termsandconditions.3W9GTrVc.min.js} +6 -6
  34. package/dist/{revolugo.vtoolbar.CuWB3YiP.min.js → revolugo.vtoolbar.Ctwu8OKs.min.js} +3 -3
  35. package/dist/{revolugo.webcomponentwrapper.DtyZC6dL.min.js → revolugo.webcomponentwrapper.PTHIHE3G.min.js} +2 -2
  36. package/package.json +1 -1
  37. package/dist/revolugo.creditcardstripeform.g8NCT3QI.min.js +0 -622
@@ -1,4 +1,4 @@
1
- import { bo as i0, bp as qi, E as Bi, bq as l0, br as r0, bs as wd, B as Qr, I as _d, bt as Xr, bu as o0, bv as Cd, bw as s0, K as Pd, bx as u0, by as d0, bz as c0, bA as v0, bB as f0, bC as as, bD as is, bE as m0, bF as ls, bG as gr, bH as pi, bI as Sd, C as Wa, bJ as pr, G as b0, H as Zr, bK as h0, bL as yr, bM as xd, D as g0, bN as p0, bO as Td, bP as y0, bQ as $0, bR as k0, bS as w0, bT as _0, bU as Ad, bV as dn, bd as ci, N as Bd, v as st, O as $r, P as Wi, bW as Ki, bX as Od, a_ as Zn, aV as rs, bY as C0, bZ as os, b_ as xt, b as y, i as Y, b$ as P0, e as pe, c0 as kr, a2 as Ke, c1 as Qi, c2 as Dd, c3 as Id, V as ve, U as Pe, aL as ml, b4 as Oa, c4 as Rd, c5 as Yt, au as wr, c6 as Pt, aA as en, c7 as Jr, a3 as Ut, bc as vn, s as xe, c8 as Md, c9 as S0, R as Et, ao as Oe, x as at, af as rn, ca as Nd, d as De, h as it, cb as x0, be as T0, cc as A0, j as q, o as D, cd as Gn, b7 as ia, ce as eo, cf as ss, cg as B0, ch as O0, ci as D0, u as $, a as d, F as ce, Y as kt, ag as sa, ah as ye, a0 as dt, W as et, cj as I0, ck as Hn, ar as Ht, m as fe, aw as R0, cl as M0, cm as N0, cn as V0, ae as je, co as to, a4 as Yn, am as tn, aC as Rn, bb as Jt, cp as Oi, cq as us, a1 as jt, az as Vd, cr as ds, ab as ft, y as ne, cs as no, ct as bl, ad as ua, ac as Qt, cu as hl, Z as Mn, cv as Ld, cw as L0, cx as Ka, av as gl, T as Tt, cy as Fd, cz as F0, ay as Ed, cA as Xi, an as da, ap as Xt, $ as Da, cB as ca, w, a6 as me, c as _e, f as ie, p as ke, z as X, a5 as He, ai as pl, a8 as Ve, aM as E0, aI as zd, aE as Hd, b3 as z0, aB as ao, cC as H0, aF as on, aG as Gt, aJ as cs, aH as ii, aj as Nt, n as Ct, g as Mt, b5 as vs, k as Qa, ak as Dt, bn as Y0, cD as U0, bm as j0, cE as G0, l as q0, cF as xa, cG as io, cH as W0, cI as Ui, cJ as K0, cK as Q0, cL as fs, at as Yd, cM as X0, cN as Z0, cO as J0, cP as em, cQ as Ud, ax as An, b0 as ms, cR as tm, b1 as nm, cS as am, a$ as im, cT as lm, cU as $a, cV as rm, cW as om, cX as sm, cY as um, cZ as Zi, c_ as jd, c$ as dm, b6 as Gd, ba as bs, aR as qd, aa as cm, d0 as vm, d1 as fm, r as hs } from "./revolugo.index.wc.CcGotrVW.min.js";
1
+ import { bo as i0, bp as qi, E as Bi, bq as l0, br as r0, bs as wd, B as Qr, I as _d, bt as Xr, bu as o0, bv as Cd, bw as s0, K as Pd, bx as u0, by as d0, bz as c0, bA as v0, bB as f0, bC as as, bD as is, bE as m0, bF as ls, bG as gr, bH as pi, bI as Sd, C as Wa, bJ as pr, G as b0, H as Zr, bK as h0, bL as yr, bM as xd, D as g0, bN as p0, bO as Td, bP as y0, bQ as $0, bR as k0, bS as w0, bT as _0, bU as Ad, bV as dn, bd as ci, N as Bd, v as st, O as $r, P as Wi, bW as Ki, bX as Od, a_ as Zn, aV as rs, bY as C0, bZ as os, b_ as xt, b as y, i as Y, b$ as P0, e as pe, c0 as kr, a2 as Ke, c1 as Qi, c2 as Dd, c3 as Id, V as ve, U as Pe, aL as ml, b4 as Oa, c4 as Rd, c5 as Yt, au as wr, c6 as Pt, aA as en, c7 as Jr, a3 as Ut, bc as vn, s as xe, c8 as Md, c9 as S0, R as Et, ao as Oe, x as at, af as rn, ca as Nd, d as De, h as it, cb as x0, be as T0, cc as A0, j as q, o as D, cd as Gn, b7 as ia, ce as eo, cf as ss, cg as B0, ch as O0, ci as D0, u as $, a as d, F as ce, Y as kt, ag as sa, ah as ye, a0 as dt, W as et, cj as I0, ck as Hn, ar as Ht, m as fe, aw as R0, cl as M0, cm as N0, cn as V0, ae as je, co as to, a4 as Yn, am as tn, aC as Rn, bb as Jt, cp as Oi, cq as us, a1 as jt, az as Vd, cr as ds, ab as ft, y as ne, cs as no, ct as bl, ad as ua, ac as Qt, cu as hl, Z as Mn, cv as Ld, cw as L0, cx as Ka, av as gl, T as Tt, cy as Fd, cz as F0, ay as Ed, cA as Xi, an as da, ap as Xt, $ as Da, cB as ca, w, a6 as me, c as _e, f as ie, p as ke, z as X, a5 as He, ai as pl, a8 as Ve, aM as E0, aI as zd, aE as Hd, b3 as z0, aB as ao, cC as H0, aF as on, aG as Gt, aJ as cs, aH as ii, aj as Nt, n as Ct, g as Mt, b5 as vs, k as Qa, ak as Dt, bn as Y0, cD as U0, bm as j0, cE as G0, l as q0, cF as xa, cG as io, cH as W0, cI as Ui, cJ as K0, cK as Q0, cL as fs, at as Yd, cM as X0, cN as Z0, cO as J0, cP as em, cQ as Ud, ax as An, b0 as ms, cR as tm, b1 as nm, cS as am, a$ as im, cT as lm, cU as $a, cV as rm, cW as om, cX as sm, cY as um, cZ as Zi, c_ as jd, c$ as dm, b6 as Gd, ba as bs, aR as qd, aa as cm, d0 as vm, d1 as fm, r as hs } from "./revolugo.index.wc.CiJw1SpW.min.js";
2
2
  /* empty css */
3
3
  function a0(e) {
4
4
  try {
@@ -28621,4 +28621,4 @@ export {
28621
28621
  qn as y,
28622
28622
  Lt as z
28623
28623
  };
28624
- //# sourceMappingURL=revolugo.webcomponentwrapper.DtyZC6dL.min.js.map
28624
+ //# sourceMappingURL=revolugo.webcomponentwrapper.PTHIHE3G.min.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revolugo/elements",
3
- "version": "6.9.3-beta.6",
3
+ "version": "6.9.3-beta.8",
4
4
  "private": false,
5
5
  "description": "Revolugo Elements UI library",
6
6
  "author": "Revolugo",
@@ -1,622 +0,0 @@
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