@everymatrix/cashier-method-details 1.45.4 → 1.45.6
Sign up to get free protection for your applications and to get access to all the features.
- package/components/{CashierConfirmModal-Dw8BnUfp.js → CashierConfirmModal-BMW4zSn1.js} +136 -170
- package/components/CashierConfirmModal-BihPvQBJ.cjs +4 -0
- package/components/{CashierError-ClzxZoH7.cjs → CashierError-D6oq8-CP.cjs} +1 -1
- package/components/{CashierError-B_iMgTfr.js → CashierError-gARTV8-m.js} +1 -1
- package/components/{CashierHeader-BU_vM2lH.cjs → CashierHeader-BsMg5hLV.cjs} +1 -1
- package/components/{CashierHeader-VE5z702l.js → CashierHeader-yroTHP8Z.js} +2 -2
- package/components/{CashierIframeRedirect-DSYHz0IC.cjs → CashierIframeRedirect-BVX_GPxi.cjs} +1 -1
- package/components/{CashierIframeRedirect-CUdjcENK.js → CashierIframeRedirect-J3YBaaqC.js} +57 -65
- package/components/{CashierMethodDetails-BYvlumgg.cjs → CashierMethodDetails-BA_zrJUt.cjs} +3 -3
- package/components/{CashierMethodDetails-CoLJgvjQ.js → CashierMethodDetails-CwK4FlNt.js} +585 -573
- package/components/{CashierModal-BInN_GEx.js → CashierModal-B8UzDwRR.js} +16 -16
- package/components/{CashierModal-9BGQdqOF.cjs → CashierModal-DhSF7r-z.cjs} +1 -1
- package/components/{CashierNotifications-DUaec3Zg.js → CashierNotifications-DKp7tXLX.js} +16 -23
- package/components/CashierNotifications-YYL3Z0mZ.cjs +1 -0
- package/components/{CashierReceiptPage-BbBZku3l.js → CashierReceiptPage--wA7aLAd.js} +23 -23
- package/components/{CashierReceiptPage-lw2wwZ2Y.cjs → CashierReceiptPage-Bb2A4Vm-.cjs} +1 -1
- package/components/{CashierSpinner-DUwdQyI3.cjs → CashierSpinner-CsQIAFM9.cjs} +1 -1
- package/components/{CashierSpinner-DREUPtXI.js → CashierSpinner-Lm8ZCB8I.js} +1 -1
- package/es2015/cashier-method-details.cjs +1 -1
- package/es2015/cashier-method-details.js +1 -1
- package/package.json +7 -7
- package/components/CashierConfirmModal-BsoB5fQM.cjs +0 -4
- package/components/CashierNotifications-CkuynzyL.cjs +0 -1
@@ -1,14 +1,14 @@
|
|
1
|
-
import { S as U, b as q, f as
|
2
|
-
import { a as
|
1
|
+
import { S as U, b as q, f as b, c as Z, a as F, d as P, g as p, h as H, E as c, D as R, j as C, k, l as L, A as M, n as v, v as E, C as G } from "./CashierConfirmModal-BMW4zSn1.js";
|
2
|
+
import { a as J, i as K, $ as Q } from "./CashierError-gARTV8-m.js";
|
3
3
|
function T(i, e) {
|
4
|
-
|
4
|
+
J(i, e);
|
5
5
|
}
|
6
|
-
function
|
7
|
-
|
6
|
+
function V(i) {
|
7
|
+
K({
|
8
8
|
fallbackLocale: "en"
|
9
|
-
}),
|
9
|
+
}), Q.set(i);
|
10
10
|
}
|
11
|
-
const
|
11
|
+
const S = {
|
12
12
|
en: {
|
13
13
|
redirectHeader: "Deposit redirect"
|
14
14
|
},
|
@@ -34,7 +34,7 @@ if (typeof window != "undefined") {
|
|
34
34
|
}
|
35
35
|
};
|
36
36
|
};
|
37
|
-
customElements.define = i(customElements.define), import("./CashierHeader-
|
37
|
+
customElements.define = i(customElements.define), import("./CashierHeader-yroTHP8Z.js").then(({ default: e }) => {
|
38
38
|
!customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
|
39
39
|
});
|
40
40
|
}
|
@@ -50,21 +50,21 @@ if (typeof window != "undefined") {
|
|
50
50
|
}
|
51
51
|
};
|
52
52
|
};
|
53
|
-
customElements.define = i(customElements.define), import("./CashierSpinner-
|
53
|
+
customElements.define = i(customElements.define), import("./CashierSpinner-Lm8ZCB8I.js").then(({ default: e }) => {
|
54
54
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
55
55
|
});
|
56
56
|
}
|
57
|
-
function
|
57
|
+
function W(i) {
|
58
58
|
P(i, "svelte-mxoveh", ".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--mmw--color-grey-105, #E8E9EB);height:calc(100% - var(--mmw--header-height, 32px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
|
59
59
|
}
|
60
|
-
function
|
60
|
+
function D(i) {
|
61
61
|
let e, t, l;
|
62
62
|
return {
|
63
63
|
c() {
|
64
|
-
e =
|
64
|
+
e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', C(e, "slot", "leftButton"), C(e, "class", "CashierHeaderLeftButton");
|
65
65
|
},
|
66
66
|
m(u, h) {
|
67
|
-
k(u, e, h), t || (l =
|
67
|
+
k(u, e, h), t || (l = M(
|
68
68
|
e,
|
69
69
|
"click",
|
70
70
|
/*close*/
|
@@ -81,10 +81,10 @@ function j(i) {
|
|
81
81
|
let e, t, l;
|
82
82
|
return {
|
83
83
|
c() {
|
84
|
-
e =
|
84
|
+
e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', C(e, "slot", "rightButton"), C(e, "class", "CashierHeaderRightButton");
|
85
85
|
},
|
86
86
|
m(u, h) {
|
87
|
-
k(u, e, h), t || (l =
|
87
|
+
k(u, e, h), t || (l = M(
|
88
88
|
e,
|
89
89
|
"click",
|
90
90
|
/*close*/
|
@@ -101,7 +101,7 @@ function I(i) {
|
|
101
101
|
let e;
|
102
102
|
return {
|
103
103
|
c() {
|
104
|
-
e =
|
104
|
+
e = p("cashier-spinner"), c(
|
105
105
|
e,
|
106
106
|
"clientstylingurl",
|
107
107
|
/*clientstylingurl*/
|
@@ -136,10 +136,10 @@ function I(i) {
|
|
136
136
|
}
|
137
137
|
};
|
138
138
|
}
|
139
|
-
function
|
140
|
-
let e, t, l, u, h, d, g,
|
139
|
+
function X(i) {
|
140
|
+
let e, t, l, u, h, d, g, w, _, a = !!/*showbackbutton*/
|
141
141
|
i[3] && /*showbackbutton*/
|
142
|
-
i[3] !== "false" &&
|
142
|
+
i[3] !== "false" && D(i), r = (!/*showbackbutton*/
|
143
143
|
i[3] || /*showbackbutton*/
|
144
144
|
i[3] === "false") && j(i), o = (
|
145
145
|
/*isLoading*/
|
@@ -147,7 +147,7 @@ function Y(i) {
|
|
147
147
|
);
|
148
148
|
return {
|
149
149
|
c() {
|
150
|
-
e =
|
150
|
+
e = p("div"), t = p("cashier-header"), a && a.c(), l = H(), r && r.c(), u = H(), o && o.c(), h = H(), d = p("iframe"), c(
|
151
151
|
t,
|
152
152
|
"lang",
|
153
153
|
/*lang*/
|
@@ -178,20 +178,20 @@ function Y(i) {
|
|
178
178
|
/*clientstyling*/
|
179
179
|
i[4]
|
180
180
|
), R(d.src, g = /*iframeurl*/
|
181
|
-
i[1]) ||
|
181
|
+
i[1]) || C(d, "src", g), C(d, "frameborder", "0"), C(e, "class", "CashierRedirectIframe");
|
182
182
|
},
|
183
183
|
m(s, f) {
|
184
|
-
k(s, e, f), L(e, t), a && a.m(t, null), L(t, l), r && r.m(t, null), L(e, u), o && o.m(e, null), L(e, h), L(e, d), i[12](e),
|
184
|
+
k(s, e, f), L(e, t), a && a.m(t, null), L(t, l), r && r.m(t, null), L(e, u), o && o.m(e, null), L(e, h), L(e, d), i[12](e), w || (_ = M(
|
185
185
|
d,
|
186
186
|
"load",
|
187
187
|
/*load_handler*/
|
188
188
|
i[11]
|
189
|
-
),
|
189
|
+
), w = !0);
|
190
190
|
},
|
191
191
|
p(s, [f]) {
|
192
192
|
/*showbackbutton*/
|
193
193
|
s[3] && /*showbackbutton*/
|
194
|
-
s[3] !== "false" ? a ? a.p(s, f) : (a =
|
194
|
+
s[3] !== "false" ? a ? a.p(s, f) : (a = D(s), a.c(), a.m(t, l)) : a && (a.d(1), a = null), !/*showbackbutton*/
|
195
195
|
s[3] || /*showbackbutton*/
|
196
196
|
s[3] === "false" ? r ? r.p(s, f) : (r = j(s), r.c(), r.m(t, null)) : r && (r.d(1), r = null), f & /*lang*/
|
197
197
|
1 && c(
|
@@ -232,41 +232,40 @@ function Y(i) {
|
|
232
232
|
), /*isLoading*/
|
233
233
|
s[8] ? o ? o.p(s, f) : (o = I(s), o.c(), o.m(e, h)) : o && (o.d(1), o = null), f & /*iframeurl*/
|
234
234
|
2 && !R(d.src, g = /*iframeurl*/
|
235
|
-
s[1]) &&
|
235
|
+
s[1]) && C(d, "src", g);
|
236
236
|
},
|
237
237
|
i: v,
|
238
238
|
o: v,
|
239
239
|
d(s) {
|
240
|
-
s && E(e), a && a.d(), r && r.d(), o && o.d(), i[12](null),
|
240
|
+
s && E(e), a && a.d(), r && r.d(), o && o.d(), i[12](null), w = !1, _();
|
241
241
|
}
|
242
242
|
};
|
243
243
|
}
|
244
|
-
function
|
245
|
-
let { lang: l = "en" } = e, { iframeurl: u } = e, { translationurl: h = "" } = e, { showbackbutton: d = "" } = e, { clientstyling: g = "" } = e, { clientstylingurl:
|
246
|
-
G();
|
244
|
+
function Y(i, e, t) {
|
245
|
+
let { lang: l = "en" } = e, { iframeurl: u } = e, { translationurl: h = "" } = e, { showbackbutton: d = "" } = e, { clientstyling: g = "" } = e, { clientstylingurl: w = "" } = e, { title: _ = "" } = e, a = !0, r;
|
247
246
|
const o = () => {
|
248
247
|
let n = h;
|
249
248
|
if (n)
|
250
249
|
return fetch(n).then((m) => m.json()).then((m) => {
|
251
|
-
Object.keys(m).forEach((
|
252
|
-
T(
|
250
|
+
Object.keys(m).forEach((y) => {
|
251
|
+
T(y, m[y]);
|
253
252
|
});
|
254
253
|
}).catch((m) => {
|
255
254
|
console.log(m);
|
256
255
|
});
|
257
256
|
};
|
258
|
-
Object.keys(
|
259
|
-
T(n,
|
257
|
+
Object.keys(S).forEach((n) => {
|
258
|
+
T(n, S[n]);
|
260
259
|
});
|
261
260
|
const s = () => {
|
262
|
-
|
261
|
+
V(l);
|
263
262
|
}, f = () => {
|
264
263
|
let n = document.createElement("style");
|
265
264
|
n.innerHTML = g, r.appendChild(n);
|
266
265
|
}, O = () => {
|
267
|
-
let n = new URL(
|
268
|
-
fetch(n.href).then((
|
269
|
-
m.innerHTML =
|
266
|
+
let n = new URL(w), m = document.createElement("style");
|
267
|
+
fetch(n.href).then((y) => y.text()).then((y) => {
|
268
|
+
m.innerHTML = y, setTimeout(
|
270
269
|
() => {
|
271
270
|
r.appendChild(m);
|
272
271
|
},
|
@@ -274,54 +273,47 @@ function x(i, e, t) {
|
|
274
273
|
);
|
275
274
|
});
|
276
275
|
}, A = () => {
|
277
|
-
|
278
|
-
|
279
|
-
{
|
280
|
-
bubbles: !0,
|
281
|
-
cancelable: !0,
|
282
|
-
composed: !0
|
283
|
-
}
|
284
|
-
));
|
285
|
-
}, M = (n) => {
|
276
|
+
window.postMessage({ type: "CloseIframe" }, window.location.href);
|
277
|
+
}, B = (n) => {
|
286
278
|
n.target.src && t(8, a = !1);
|
287
|
-
}, z = (n) =>
|
279
|
+
}, z = (n) => B(n);
|
288
280
|
function N(n) {
|
289
|
-
|
281
|
+
G[n ? "unshift" : "push"](() => {
|
290
282
|
r = n, t(7, r);
|
291
283
|
});
|
292
284
|
}
|
293
285
|
return i.$$set = (n) => {
|
294
|
-
"lang" in n && t(0, l = n.lang), "iframeurl" in n && t(1, u = n.iframeurl), "translationurl" in n && t(2, h = n.translationurl), "showbackbutton" in n && t(3, d = n.showbackbutton), "clientstyling" in n && t(4, g = n.clientstyling), "clientstylingurl" in n && t(5,
|
286
|
+
"lang" in n && t(0, l = n.lang), "iframeurl" in n && t(1, u = n.iframeurl), "translationurl" in n && t(2, h = n.translationurl), "showbackbutton" in n && t(3, d = n.showbackbutton), "clientstyling" in n && t(4, g = n.clientstyling), "clientstylingurl" in n && t(5, w = n.clientstylingurl), "title" in n && t(6, _ = n.title);
|
295
287
|
}, i.$$.update = () => {
|
296
288
|
i.$$.dirty & /*lang*/
|
297
289
|
1 && l && s(), i.$$.dirty & /*translationurl*/
|
298
290
|
4 && h && o(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
299
291
|
144 && g && r && f(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
300
|
-
160 &&
|
292
|
+
160 && w && r && O();
|
301
293
|
}, [
|
302
294
|
l,
|
303
295
|
u,
|
304
296
|
h,
|
305
297
|
d,
|
306
298
|
g,
|
307
|
-
|
299
|
+
w,
|
308
300
|
_,
|
309
301
|
r,
|
310
302
|
a,
|
311
303
|
A,
|
312
|
-
|
304
|
+
B,
|
313
305
|
z,
|
314
306
|
N
|
315
307
|
];
|
316
308
|
}
|
317
|
-
class
|
309
|
+
class x extends U {
|
318
310
|
constructor(e) {
|
319
311
|
super(), q(
|
320
312
|
this,
|
321
313
|
e,
|
322
|
-
x,
|
323
314
|
Y,
|
324
|
-
|
315
|
+
X,
|
316
|
+
F,
|
325
317
|
{
|
326
318
|
lang: 0,
|
327
319
|
iframeurl: 1,
|
@@ -331,53 +323,53 @@ class $ extends U {
|
|
331
323
|
clientstylingurl: 5,
|
332
324
|
title: 6
|
333
325
|
},
|
334
|
-
|
326
|
+
W
|
335
327
|
);
|
336
328
|
}
|
337
329
|
get lang() {
|
338
330
|
return this.$$.ctx[0];
|
339
331
|
}
|
340
332
|
set lang(e) {
|
341
|
-
this.$$set({ lang: e }),
|
333
|
+
this.$$set({ lang: e }), b();
|
342
334
|
}
|
343
335
|
get iframeurl() {
|
344
336
|
return this.$$.ctx[1];
|
345
337
|
}
|
346
338
|
set iframeurl(e) {
|
347
|
-
this.$$set({ iframeurl: e }),
|
339
|
+
this.$$set({ iframeurl: e }), b();
|
348
340
|
}
|
349
341
|
get translationurl() {
|
350
342
|
return this.$$.ctx[2];
|
351
343
|
}
|
352
344
|
set translationurl(e) {
|
353
|
-
this.$$set({ translationurl: e }),
|
345
|
+
this.$$set({ translationurl: e }), b();
|
354
346
|
}
|
355
347
|
get showbackbutton() {
|
356
348
|
return this.$$.ctx[3];
|
357
349
|
}
|
358
350
|
set showbackbutton(e) {
|
359
|
-
this.$$set({ showbackbutton: e }),
|
351
|
+
this.$$set({ showbackbutton: e }), b();
|
360
352
|
}
|
361
353
|
get clientstyling() {
|
362
354
|
return this.$$.ctx[4];
|
363
355
|
}
|
364
356
|
set clientstyling(e) {
|
365
|
-
this.$$set({ clientstyling: e }),
|
357
|
+
this.$$set({ clientstyling: e }), b();
|
366
358
|
}
|
367
359
|
get clientstylingurl() {
|
368
360
|
return this.$$.ctx[5];
|
369
361
|
}
|
370
362
|
set clientstylingurl(e) {
|
371
|
-
this.$$set({ clientstylingurl: e }),
|
363
|
+
this.$$set({ clientstylingurl: e }), b();
|
372
364
|
}
|
373
365
|
get title() {
|
374
366
|
return this.$$.ctx[6];
|
375
367
|
}
|
376
368
|
set title(e) {
|
377
|
-
this.$$set({ title: e }),
|
369
|
+
this.$$set({ title: e }), b();
|
378
370
|
}
|
379
371
|
}
|
380
|
-
|
372
|
+
Z(x, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
|
381
373
|
export {
|
382
|
-
|
374
|
+
x as default
|
383
375
|
};
|