@everymatrix/cashier-page 1.63.2 → 1.64.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/components/{CashierConfirmModal-sI8AKckC.js → CashierConfirmModal-4RYp7Eiq.js} +285 -304
- package/components/CashierConfirmModal-DMmJumcl.cjs +4 -0
- package/components/{CashierConfirmModal-D-5CwHBA.js → CashierConfirmModal-untxGhsx.js} +152 -171
- package/components/{CashierError-ChvIhij4.cjs → CashierError-BD3PpAT9.cjs} +3 -3
- package/components/{CashierError-7Ot8GFHL.js → CashierError-DHzuwwQu.js} +4 -3
- package/components/{CashierError-Dcf1i1i-.js → CashierError-bKWdh6zs.js} +4 -3
- package/components/{CashierHeader-DnmOCyY5.js → CashierHeader-BDMjFf0S.js} +2 -2
- package/components/{CashierHeader-Btl5G1aW.js → CashierHeader-C85_EOkn.js} +2 -2
- package/components/{CashierHeader-xBZmd3xD.cjs → CashierHeader-DUIiJ1ma.cjs} +1 -1
- package/components/{CashierIframeRedirect-iRpGhBuO.js → CashierIframeRedirect-BZxYVcmF.js} +4 -4
- package/components/{CashierIframeRedirect-lBzX1iUX.cjs → CashierIframeRedirect-C3fjCJfm.cjs} +1 -1
- package/components/{CashierIframeRedirect-_jhy32eh.js → CashierIframeRedirect-CptFS2B0.js} +4 -4
- package/components/{CashierMethodDetails-DatXAL1v.js → CashierMethodDetails-B8ZN94ja.js} +2548 -2559
- package/components/{CashierMethodDetails-jk5GNqET.js → CashierMethodDetails-L1ZnAwA1.js} +2015 -1998
- package/components/CashierMethodDetails-lGOSlmya.cjs +18 -0
- package/components/CashierMethodsList-BcBzNfKT.cjs +1 -0
- package/components/CashierMethodsList-CNCrMZ4g.js +882 -0
- package/components/CashierMethodsList-CmF_WTB-.js +871 -0
- package/components/{CashierModal-BoglqxPv.js → CashierModal-BrwIBn9a.js} +14 -14
- package/components/{CashierModal-BhCdxWcE.cjs → CashierModal-BuM2Yq-y.cjs} +1 -1
- package/components/{CashierModal-6CTryAQJ.js → CashierModal-ZfKvGxFq.js} +11 -11
- package/components/{CashierNotifications-BVAanyOB.cjs → CashierNotifications-BLJS7gpv.cjs} +1 -1
- package/components/{CashierNotifications-GwlCZVnm.js → CashierNotifications-C48iLynX.js} +1 -1
- package/components/{CashierNotifications-BFj3fQud.js → CashierNotifications-dn6rnyK_.js} +1 -1
- package/components/CashierPage-B453tZx8.cjs +1 -0
- package/components/{CashierPage-V2NAWvNg.js → CashierPage-ClJcMBDB.js} +1128 -1109
- package/components/{CashierPage-B1G7PQOG.js → CashierPage-D8D89xo-.js} +1128 -1109
- package/components/{CashierReceiptPage-BA00H-2d.cjs → CashierReceiptPage-BO4QXf-M.cjs} +1 -1
- package/components/{CashierReceiptPage-CG0IVSDJ.js → CashierReceiptPage-BPED3qt4.js} +21 -27
- package/components/{CashierReceiptPage-D4IgTNIg.js → CashierReceiptPage-otjaMyRe.js} +21 -27
- package/components/{CashierSessionExpirationModal-CHPU1aRa.js → CashierSessionExpirationModal-BQFyVDBj.js} +430 -428
- package/components/CashierSessionExpirationModal-Ckg5tH-9.cjs +2 -0
- package/components/{CashierSessionExpirationModal-DV8r-804.js → CashierSessionExpirationModal-DAWM1xQ6.js} +452 -450
- package/components/{CashierSpinner-DO1yLcR1.js → CashierSpinner-C-ubAde7.js} +1 -1
- package/components/{CashierSpinner-H763izjz.cjs → CashierSpinner-D-uP0nCc.cjs} +1 -1
- package/components/{CashierSpinner-bxbp3WK6.js → CashierSpinner-tLPMJx6q.js} +1 -1
- package/components/{CashierTransactionHistory-DyQIw9U2.cjs → CashierTransactionHistory-BiM02fXh.cjs} +1 -1
- package/components/{CashierTransactionHistory-Dxq24rfR.js → CashierTransactionHistory-Bugs_tmN.js} +13 -13
- package/components/{CashierTransactionHistory-DuD_IPSM.js → CashierTransactionHistory-Cd3pN70W.js} +13 -13
- package/components/{CashierVerifications-CLeYFnf-.cjs → CashierVerifications-4hUquQj9.cjs} +1 -1
- package/components/{CashierVerifications-BXoRLAWe.js → CashierVerifications-BL3E_m40.js} +191 -194
- package/components/{CashierVerifications-AI2HHaYS.js → CashierVerifications-Ckv8ml82.js} +208 -211
- package/components/CashierVideoModal-BZg_b6bd.cjs +1 -0
- package/components/{CashierVideoModal-CVEk7pqo.js → CashierVideoModal-CVDvqrcy.js} +17 -17
- package/components/{CashierVideoModal-BGKXfmt9.js → CashierVideoModal-DHNu0BQz.js} +17 -17
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-C616IYj2.js → index-97d17652-BEnqZAxL.js} +1 -1
- package/stencil/{index-97d17652-C9Ph2JiE.cjs → index-97d17652-D5_8Vwfn.cjs} +1 -1
- package/stencil/{index-97d17652-B8yQdy7J.js → index-97d17652-WK_DbPS4.js} +1 -1
- package/stencil/{ui-image-Bz0nQwNJ.cjs → ui-image-CMb1eK44.cjs} +1 -1
- package/stencil/{ui-image-DX8NqsyA.js → ui-image-CQQDA5b0.js} +1 -1
- package/stencil/{ui-image-o9dMcntc.js → ui-image-CmwNU-jf.js} +1 -1
- package/stencil/{ui-image-7da92f1f-26DzsVFt.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +6 -6
- package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
- package/stencil/{ui-image-7da92f1f-BAghvEDf.js → ui-image-b7b48fe5-V9vp4faA.js} +6 -6
- package/stencil/{ui-image_2-Cyqb4u7k.js → ui-image_2-B56t6kXT.js} +2 -2
- package/stencil/{ui-image_2-BXgptLvl.js → ui-image_2-BncuYpLi.js} +2 -2
- package/stencil/{ui-image_2-Cctik3aF.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
- package/components/CashierConfirmModal-BVT51ZOp.cjs +0 -4
- package/components/CashierMethodDetails-DLhEFjxf.cjs +0 -18
- package/components/CashierMethodsList-C0IZmP3U.js +0 -760
- package/components/CashierMethodsList-DfKVl2ns.js +0 -749
- package/components/CashierMethodsList-PDEbBRc7.cjs +0 -1
- package/components/CashierPage-DuVl1Vzu.cjs +0 -1
- package/components/CashierSessionExpirationModal-B3thCy2R.cjs +0 -2
- package/components/CashierVideoModal-CjR0Fzuu.cjs +0 -1
- package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as Be, b as we, s as Le, f as E, c as Ze, n as K, e as v, o as p, G as Me, m as d, p as z, q as B, C as G, v as a, w as Re, H as Qe, A as le, y as M, B as I, z as R, D as Z, K as ce, L as
|
|
2
|
-
import { d as oe, u as Ge } from "./CashierMethodDetails-
|
|
3
|
-
import { a as Ue, i as Ce, $ as Fe, b as Oe } from "./CashierError-
|
|
1
|
+
import { S as Be, b as we, s as Le, f as E, c as Ze, n as K, e as v, o as p, G as Me, m as d, p as z, q as B, C as G, v as a, w as Re, H as Qe, A as le, y as M, B as I, z as R, D as Z, K as ce, L as xe, x as Se, E as De } from "./CashierConfirmModal-4RYp7Eiq.js";
|
|
2
|
+
import { d as oe, u as Ge } from "./CashierMethodDetails-L1ZnAwA1.js";
|
|
3
|
+
import { a as Ue, i as Ce, $ as Fe, b as Oe } from "./CashierError-bKWdh6zs.js";
|
|
4
4
|
function re(A, e) {
|
|
5
5
|
Ue(A, e);
|
|
6
6
|
}
|
|
@@ -390,7 +390,7 @@ function nn(A) {
|
|
|
390
390
|
};
|
|
391
391
|
}
|
|
392
392
|
function tn(A) {
|
|
393
|
-
let e, n, t, f, l, c, u, o, s, J, w, b, P, H, Q,
|
|
393
|
+
let e, n, t, f, l, c, u, o, s, J, w, b, P, H, Q, x, S, U, T, D, C = (
|
|
394
394
|
/*$_*/
|
|
395
395
|
A[18]("close") + ""
|
|
396
396
|
), N, F, Y, j = (
|
|
@@ -416,14 +416,14 @@ function tn(A) {
|
|
|
416
416
|
), w = B(), b = z("div"), P = R(
|
|
417
417
|
/*subTitle*/
|
|
418
418
|
A[11]
|
|
419
|
-
), H = B(), Q = z("div"),
|
|
419
|
+
), H = B(), Q = z("div"), x = R(
|
|
420
420
|
/*text*/
|
|
421
421
|
A[13]
|
|
422
|
-
),
|
|
422
|
+
), S = B(), y && y.c(), U = B(), g && g.c(), T = B(), D = z("button"), N = R(C), a(e, "class", "HeaderButtonContainer"), G(l.src, c = /*statusImageUrl*/
|
|
423
423
|
A[14]) || a(l, "src", c), a(l, "class", "StatusLogo"), a(s, "class", "Title"), a(b, "class", "SubTitle"), a(o, "class", "TitleWrapper"), a(f, "class", "ReceiptWrapper"), a(Q, "class", "Text"), a(D, "class", "PrimaryButton");
|
|
424
424
|
},
|
|
425
425
|
m(r, m) {
|
|
426
|
-
d(r, e, m), j && j.m(e, null), p(e, n), h && h.m(e, null), d(r, t, m), d(r, f, m), p(f, l), p(f, u), p(f, o), p(o, s), p(s, J), p(o, w), p(o, b), p(b, P), d(r, H, m), d(r, Q, m), p(Q,
|
|
426
|
+
d(r, e, m), j && j.m(e, null), p(e, n), h && h.m(e, null), d(r, t, m), d(r, f, m), p(f, l), p(f, u), p(f, o), p(o, s), p(s, J), p(o, w), p(o, b), p(b, P), d(r, H, m), d(r, Q, m), p(Q, x), d(r, S, m), y && y.m(r, m), d(r, U, m), g && g.m(r, m), d(r, T, m), d(r, D, m), p(D, N), F || (Y = I(
|
|
427
427
|
D,
|
|
428
428
|
"click",
|
|
429
429
|
/*closeReceipt*/
|
|
@@ -449,7 +449,7 @@ function tn(A) {
|
|
|
449
449
|
r[11]
|
|
450
450
|
), m[0] & /*text*/
|
|
451
451
|
8192 && M(
|
|
452
|
-
|
|
452
|
+
x,
|
|
453
453
|
/*text*/
|
|
454
454
|
r[13]
|
|
455
455
|
), /*txnInfo*/
|
|
@@ -459,7 +459,7 @@ function tn(A) {
|
|
|
459
459
|
r[18]("close") + "") && M(N, C);
|
|
460
460
|
},
|
|
461
461
|
d(r) {
|
|
462
|
-
r && (v(e), v(t), v(f), v(H), v(Q), v(
|
|
462
|
+
r && (v(e), v(t), v(f), v(H), v(Q), v(S), v(U), v(T), v(D)), j && j.d(), h && h.d(), y && y.d(r), g && g.d(r), F = !1, Y();
|
|
463
463
|
}
|
|
464
464
|
};
|
|
465
465
|
}
|
|
@@ -615,7 +615,7 @@ function me(A) {
|
|
|
615
615
|
c() {
|
|
616
616
|
for (let f = 0; f < t.length; f += 1)
|
|
617
617
|
t[f].c();
|
|
618
|
-
e =
|
|
618
|
+
e = Se();
|
|
619
619
|
},
|
|
620
620
|
m(f, l) {
|
|
621
621
|
for (let c = 0; c < t.length; c += 1)
|
|
@@ -640,7 +640,7 @@ function me(A) {
|
|
|
640
640
|
}
|
|
641
641
|
},
|
|
642
642
|
d(f) {
|
|
643
|
-
f && v(e),
|
|
643
|
+
f && v(e), xe(t, f);
|
|
644
644
|
}
|
|
645
645
|
};
|
|
646
646
|
}
|
|
@@ -846,11 +846,11 @@ let un = "https://cdn.rawgit.com/davidshimjs/qrcodejs/gh-pages/qrcode.min.js", v
|
|
|
846
846
|
function dn(A, e, n) {
|
|
847
847
|
let t;
|
|
848
848
|
Re(A, Oe, (i) => n(18, t = i)), oe.extend(Ge);
|
|
849
|
-
let { endpoint: f } = e, { session: l } = e, { lang: c = "en" } = e, { local: u = "en-US" } = e, { showerrors: o = "true" } = e, { showclosebutton: s = "false" } = e, { showcontactbutton: J = "false" } = e, { translationurl: w } = e, { assetsurl: b = "" } = e, { customerid: P } = e, { transactionid: H } = e, { clientstyling: Q = "" } = e, { clientstylingurl:
|
|
850
|
-
var
|
|
849
|
+
let { endpoint: f } = e, { session: l } = e, { lang: c = "en" } = e, { local: u = "en-US" } = e, { showerrors: o = "true" } = e, { showclosebutton: s = "false" } = e, { showcontactbutton: J = "false" } = e, { translationurl: w } = e, { assetsurl: b = "" } = e, { customerid: P } = e, { transactionid: H } = e, { clientstyling: Q = "" } = e, { clientstylingurl: x = "" } = e;
|
|
850
|
+
var S;
|
|
851
851
|
(function(i) {
|
|
852
852
|
i.Success = "Success", i.Maintenance = "Maintenance";
|
|
853
|
-
})(
|
|
853
|
+
})(S || (S = {}));
|
|
854
854
|
const U = {
|
|
855
855
|
Success: se,
|
|
856
856
|
Voided: se,
|
|
@@ -922,7 +922,7 @@ function dn(A, e, n) {
|
|
|
922
922
|
let i = document.createElement("style");
|
|
923
923
|
i.innerHTML = Q, g.appendChild(i);
|
|
924
924
|
}, be = () => {
|
|
925
|
-
let i = new URL(
|
|
925
|
+
let i = new URL(x), X = document.createElement("style");
|
|
926
926
|
fetch(i.href).then((L) => L.text()).then((L) => {
|
|
927
927
|
X.innerHTML = L, setTimeout(
|
|
928
928
|
() => {
|
|
@@ -958,7 +958,7 @@ function dn(A, e, n) {
|
|
|
958
958
|
};
|
|
959
959
|
fetch(i, L).then((k) => k.json()).then((k) => {
|
|
960
960
|
var te, fe, Ae, ie;
|
|
961
|
-
if (k.ResponseCode !==
|
|
961
|
+
if (k.ResponseCode !== S.Success) {
|
|
962
962
|
n(16, m = k.ResponseCode), n(17, W = o.toLowerCase() === "false" || !o), Ne();
|
|
963
963
|
return;
|
|
964
964
|
}
|
|
@@ -981,13 +981,7 @@ function dn(A, e, n) {
|
|
|
981
981
|
amount: pe.format(Number(N.amount)),
|
|
982
982
|
currency: N.currency
|
|
983
983
|
}
|
|
984
|
-
})), n(11, Y = t(Ie(N.status, N.type))), n(13, h = t(We(N.status, N.type), { values: { errorText: N.message } })), b ? n(14, y = Ye(b, N.status)) : n(14, y = U[N.status])
|
|
985
|
-
{
|
|
986
|
-
type: "StartSessionCountdown",
|
|
987
|
-
xPaymentSessionToken: l
|
|
988
|
-
},
|
|
989
|
-
window.location.href
|
|
990
|
-
);
|
|
984
|
+
})), n(11, Y = t(Ie(N.status, N.type))), n(13, h = t(We(N.status, N.type), { values: { errorText: N.message } })), b ? n(14, y = Ye(b, N.status)) : n(14, y = U[N.status]);
|
|
991
985
|
});
|
|
992
986
|
}, ne = (i) => {
|
|
993
987
|
i && window.postMessage(
|
|
@@ -1014,23 +1008,23 @@ function dn(A, e, n) {
|
|
|
1014
1008
|
});
|
|
1015
1009
|
}
|
|
1016
1010
|
return A.$$set = (i) => {
|
|
1017
|
-
"endpoint" in i && n(22, f = i.endpoint), "session" in i && n(23, l = i.session), "lang" in i && n(24, c = i.lang), "local" in i && n(25, u = i.local), "showerrors" in i && n(26, o = i.showerrors), "showclosebutton" in i && n(0, s = i.showclosebutton), "showcontactbutton" in i && n(1, J = i.showcontactbutton), "translationurl" in i && n(2, w = i.translationurl), "assetsurl" in i && n(3, b = i.assetsurl), "customerid" in i && n(27, P = i.customerid), "transactionid" in i && n(28, H = i.transactionid), "clientstyling" in i && n(4, Q = i.clientstyling), "clientstylingurl" in i && n(5,
|
|
1011
|
+
"endpoint" in i && n(22, f = i.endpoint), "session" in i && n(23, l = i.session), "lang" in i && n(24, c = i.lang), "local" in i && n(25, u = i.local), "showerrors" in i && n(26, o = i.showerrors), "showclosebutton" in i && n(0, s = i.showclosebutton), "showcontactbutton" in i && n(1, J = i.showcontactbutton), "translationurl" in i && n(2, w = i.translationurl), "assetsurl" in i && n(3, b = i.assetsurl), "customerid" in i && n(27, P = i.customerid), "transactionid" in i && n(28, H = i.transactionid), "clientstyling" in i && n(4, Q = i.clientstyling), "clientstylingurl" in i && n(5, x = i.clientstylingurl);
|
|
1018
1012
|
}, A.$$.update = () => {
|
|
1019
1013
|
A.$$.dirty[0] & /*endpoint, session, customerid, transactionid, showerrors*/
|
|
1020
1014
|
482344960 && f && l && P && H && o && je(), A.$$.dirty[0] & /*lang*/
|
|
1021
1015
|
16777216 && c && ge(), A.$$.dirty[0] & /*lang, translationurl*/
|
|
1022
1016
|
16777220 && c && w && Je(), A.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1023
1017
|
80 && Q && g && Xe(), A.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1024
|
-
96 &&
|
|
1018
|
+
96 && x && g && be();
|
|
1025
1019
|
}, [
|
|
1026
1020
|
s,
|
|
1027
1021
|
J,
|
|
1028
1022
|
w,
|
|
1029
1023
|
b,
|
|
1030
1024
|
Q,
|
|
1031
|
-
S,
|
|
1032
|
-
g,
|
|
1033
1025
|
x,
|
|
1026
|
+
g,
|
|
1027
|
+
S,
|
|
1034
1028
|
T,
|
|
1035
1029
|
N,
|
|
1036
1030
|
F,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { S as je, b as he, s as ke, f as E, c as Ee, n as K, e as v, m as p, G as Be, l as d, o as z, p as B, B as G, q as a, v as we, H as Le, z as te, x as M, A as I, y as R, C as Z, K as fe, L as Ze, w as Me, E as Re } from "./CashierConfirmModal-
|
|
2
|
-
import { d as Ae, u as Qe } from "./CashierMethodDetails-
|
|
3
|
-
import { a as
|
|
1
|
+
import { S as je, b as he, s as ke, f as E, c as Ee, n as K, e as v, m as p, G as Be, l as d, o as z, p as B, B as G, q as a, v as we, H as Le, z as te, x as M, A as I, y as R, C as Z, K as fe, L as Ze, w as Me, E as Re } from "./CashierConfirmModal-untxGhsx.js";
|
|
2
|
+
import { d as Ae, u as Qe } from "./CashierMethodDetails-B8ZN94ja.js";
|
|
3
|
+
import { a as xe, i as Se, $ as De, b as Ge } from "./CashierError-DHzuwwQu.js";
|
|
4
4
|
function ie(A, e) {
|
|
5
|
-
|
|
5
|
+
xe(A, e);
|
|
6
6
|
}
|
|
7
7
|
function Ue(A) {
|
|
8
|
-
|
|
8
|
+
Se({
|
|
9
9
|
fallbackLocale: "en"
|
|
10
10
|
}), De.set(A);
|
|
11
11
|
}
|
|
@@ -390,7 +390,7 @@ function Ve(A) {
|
|
|
390
390
|
};
|
|
391
391
|
}
|
|
392
392
|
function _e(A) {
|
|
393
|
-
let e, n, t, f, l, c, u, o, s, J, w, X, P, b, Q,
|
|
393
|
+
let e, n, t, f, l, c, u, o, s, J, w, X, P, b, Q, x, S, U, T, D, C = (
|
|
394
394
|
/*$_*/
|
|
395
395
|
A[18]("close") + ""
|
|
396
396
|
), N, F, Y, j = (
|
|
@@ -416,14 +416,14 @@ function _e(A) {
|
|
|
416
416
|
), w = B(), X = z("div"), P = R(
|
|
417
417
|
/*subTitle*/
|
|
418
418
|
A[11]
|
|
419
|
-
), b = B(), Q = z("div"),
|
|
419
|
+
), b = B(), Q = z("div"), x = R(
|
|
420
420
|
/*text*/
|
|
421
421
|
A[13]
|
|
422
|
-
),
|
|
422
|
+
), S = B(), H && H.c(), U = B(), g && g.c(), T = B(), D = z("button"), N = R(C), a(e, "class", "HeaderButtonContainer"), G(l.src, c = /*statusImageUrl*/
|
|
423
423
|
A[14]) || a(l, "src", c), a(l, "class", "StatusLogo"), a(s, "class", "Title"), a(X, "class", "SubTitle"), a(o, "class", "TitleWrapper"), a(f, "class", "ReceiptWrapper"), a(Q, "class", "Text"), a(D, "class", "PrimaryButton");
|
|
424
424
|
},
|
|
425
425
|
m(r, m) {
|
|
426
|
-
d(r, e, m), j && j.m(e, null), p(e, n), h && h.m(e, null), d(r, t, m), d(r, f, m), p(f, l), p(f, u), p(f, o), p(o, s), p(s, J), p(o, w), p(o, X), p(X, P), d(r, b, m), d(r, Q, m), p(Q,
|
|
426
|
+
d(r, e, m), j && j.m(e, null), p(e, n), h && h.m(e, null), d(r, t, m), d(r, f, m), p(f, l), p(f, u), p(f, o), p(o, s), p(s, J), p(o, w), p(o, X), p(X, P), d(r, b, m), d(r, Q, m), p(Q, x), d(r, S, m), H && H.m(r, m), d(r, U, m), g && g.m(r, m), d(r, T, m), d(r, D, m), p(D, N), F || (Y = I(
|
|
427
427
|
D,
|
|
428
428
|
"click",
|
|
429
429
|
/*closeReceipt*/
|
|
@@ -449,7 +449,7 @@ function _e(A) {
|
|
|
449
449
|
r[11]
|
|
450
450
|
), m[0] & /*text*/
|
|
451
451
|
8192 && M(
|
|
452
|
-
|
|
452
|
+
x,
|
|
453
453
|
/*text*/
|
|
454
454
|
r[13]
|
|
455
455
|
), /*txnInfo*/
|
|
@@ -459,7 +459,7 @@ function _e(A) {
|
|
|
459
459
|
r[18]("close") + "") && M(N, C);
|
|
460
460
|
},
|
|
461
461
|
d(r) {
|
|
462
|
-
r && (v(e), v(t), v(f), v(b), v(Q), v(
|
|
462
|
+
r && (v(e), v(t), v(f), v(b), v(Q), v(S), v(U), v(T), v(D)), j && j.d(), h && h.d(), H && H.d(r), g && g.d(r), F = !1, Y();
|
|
463
463
|
}
|
|
464
464
|
};
|
|
465
465
|
}
|
|
@@ -846,11 +846,11 @@ let on = "https://cdn.rawgit.com/davidshimjs/qrcodejs/gh-pages/qrcode.min.js", r
|
|
|
846
846
|
function an(A, e, n) {
|
|
847
847
|
let t;
|
|
848
848
|
we(A, Ge, (i) => n(18, t = i)), Ae.extend(Qe);
|
|
849
|
-
let { endpoint: f } = e, { session: l } = e, { lang: c = "en" } = e, { local: u = "en-US" } = e, { showerrors: o = "true" } = e, { showclosebutton: s = "false" } = e, { showcontactbutton: J = "false" } = e, { translationurl: w } = e, { assetsurl: X = "" } = e, { customerid: P } = e, { transactionid: b } = e, { clientstyling: Q = "" } = e, { clientstylingurl:
|
|
850
|
-
var
|
|
849
|
+
let { endpoint: f } = e, { session: l } = e, { lang: c = "en" } = e, { local: u = "en-US" } = e, { showerrors: o = "true" } = e, { showclosebutton: s = "false" } = e, { showcontactbutton: J = "false" } = e, { translationurl: w } = e, { assetsurl: X = "" } = e, { customerid: P } = e, { transactionid: b } = e, { clientstyling: Q = "" } = e, { clientstylingurl: x = "" } = e;
|
|
850
|
+
var S;
|
|
851
851
|
(function(i) {
|
|
852
852
|
i.Success = "Success", i.Maintenance = "Maintenance";
|
|
853
|
-
})(
|
|
853
|
+
})(S || (S = {}));
|
|
854
854
|
const U = {
|
|
855
855
|
Success: ce,
|
|
856
856
|
Voided: ce,
|
|
@@ -921,7 +921,7 @@ function an(A, e, n) {
|
|
|
921
921
|
let i = document.createElement("style");
|
|
922
922
|
i.innerHTML = Q, g.appendChild(i);
|
|
923
923
|
}, pe = () => {
|
|
924
|
-
let i = new URL(
|
|
924
|
+
let i = new URL(x), y = document.createElement("style");
|
|
925
925
|
fetch(i.href).then((L) => L.text()).then((L) => {
|
|
926
926
|
y.innerHTML = L, setTimeout(
|
|
927
927
|
() => {
|
|
@@ -956,7 +956,7 @@ function an(A, e, n) {
|
|
|
956
956
|
body: JSON.stringify({ TransactionCode: b })
|
|
957
957
|
};
|
|
958
958
|
fetch(i, L).then((k) => k.json()).then((k) => {
|
|
959
|
-
if (k.ResponseCode !==
|
|
959
|
+
if (k.ResponseCode !== S.Success) {
|
|
960
960
|
n(16, m = k.ResponseCode), n(17, W = o.toLowerCase() === "false" || !o), Xe();
|
|
961
961
|
return;
|
|
962
962
|
}
|
|
@@ -979,13 +979,7 @@ function an(A, e, n) {
|
|
|
979
979
|
amount: ze.format(Number(N.amount)),
|
|
980
980
|
currency: N.currency
|
|
981
981
|
}
|
|
982
|
-
})), n(11, Y = t(Oe(N.status, N.type))), n(13, h = t(qe(N.status, N.type), { values: { errorText: N.message } })), X ? n(14, H = Ce(X, N.status)) : n(14, H = U[N.status])
|
|
983
|
-
{
|
|
984
|
-
type: "StartSessionCountdown",
|
|
985
|
-
xPaymentSessionToken: l
|
|
986
|
-
},
|
|
987
|
-
window.location.href
|
|
988
|
-
);
|
|
982
|
+
})), n(11, Y = t(Oe(N.status, N.type))), n(13, h = t(qe(N.status, N.type), { values: { errorText: N.message } })), X ? n(14, H = Ce(X, N.status)) : n(14, H = U[N.status]);
|
|
989
983
|
});
|
|
990
984
|
}, ne = (i) => {
|
|
991
985
|
i && window.postMessage(
|
|
@@ -1012,23 +1006,23 @@ function an(A, e, n) {
|
|
|
1012
1006
|
});
|
|
1013
1007
|
}
|
|
1014
1008
|
return A.$$set = (i) => {
|
|
1015
|
-
"endpoint" in i && n(22, f = i.endpoint), "session" in i && n(23, l = i.session), "lang" in i && n(24, c = i.lang), "local" in i && n(25, u = i.local), "showerrors" in i && n(26, o = i.showerrors), "showclosebutton" in i && n(0, s = i.showclosebutton), "showcontactbutton" in i && n(1, J = i.showcontactbutton), "translationurl" in i && n(2, w = i.translationurl), "assetsurl" in i && n(3, X = i.assetsurl), "customerid" in i && n(27, P = i.customerid), "transactionid" in i && n(28, b = i.transactionid), "clientstyling" in i && n(4, Q = i.clientstyling), "clientstylingurl" in i && n(5,
|
|
1009
|
+
"endpoint" in i && n(22, f = i.endpoint), "session" in i && n(23, l = i.session), "lang" in i && n(24, c = i.lang), "local" in i && n(25, u = i.local), "showerrors" in i && n(26, o = i.showerrors), "showclosebutton" in i && n(0, s = i.showclosebutton), "showcontactbutton" in i && n(1, J = i.showcontactbutton), "translationurl" in i && n(2, w = i.translationurl), "assetsurl" in i && n(3, X = i.assetsurl), "customerid" in i && n(27, P = i.customerid), "transactionid" in i && n(28, b = i.transactionid), "clientstyling" in i && n(4, Q = i.clientstyling), "clientstylingurl" in i && n(5, x = i.clientstylingurl);
|
|
1016
1010
|
}, A.$$.update = () => {
|
|
1017
1011
|
A.$$.dirty[0] & /*endpoint, session, customerid, transactionid, showerrors*/
|
|
1018
1012
|
482344960 && f && l && P && b && o && be(), A.$$.dirty[0] & /*lang*/
|
|
1019
1013
|
16777216 && c && Te(), A.$$.dirty[0] & /*lang, translationurl*/
|
|
1020
1014
|
16777220 && c && w && me(), A.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1021
1015
|
80 && Q && g && Pe(), A.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1022
|
-
96 &&
|
|
1016
|
+
96 && x && g && pe();
|
|
1023
1017
|
}, [
|
|
1024
1018
|
s,
|
|
1025
1019
|
J,
|
|
1026
1020
|
w,
|
|
1027
1021
|
X,
|
|
1028
1022
|
Q,
|
|
1029
|
-
S,
|
|
1030
|
-
g,
|
|
1031
1023
|
x,
|
|
1024
|
+
g,
|
|
1025
|
+
S,
|
|
1032
1026
|
T,
|
|
1033
1027
|
N,
|
|
1034
1028
|
F,
|