@everymatrix/cashier-page 1.94.4 → 1.94.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/components/{CashierCarousel-BLSsdI8N.js → CashierCarousel-CTD4ADEl.js} +79 -79
- package/components/{CashierCarousel-D92KGNvD.js → CashierCarousel-D6SuMcQ1.js} +64 -64
- package/components/{CashierError-D6h70alS.js → CashierError-C0W34998.js} +22 -22
- package/components/{CashierError-BioxJD3d.js → CashierError-Dg834slb.js} +23 -23
- package/components/{CashierHeader-DldQQGAU.js → CashierHeader-DafDx_3j.js} +37 -37
- package/components/{CashierHeader-Di0dH8Ch.js → CashierHeader-YhgwXeCk.js} +37 -37
- package/components/{CashierIframeRedirect-1MymL4-w.js → CashierIframeRedirect-DWa2IM1a.js} +25 -25
- package/components/{CashierIframeRedirect-BvHGxm2j.js → CashierIframeRedirect-M5hsugC-.js} +21 -21
- package/components/{CashierMethodDetails-gGaSXhnd.js → CashierMethodDetails-C9lU-1Od.js} +5 -5
- package/components/{CashierMethodDetails-CJyvwSPZ.js → CashierMethodDetails-CXSI2Ftt.js} +5 -5
- package/components/{CashierMethodsList-B51H80eX.js → CashierMethodsList-D5gWM-5x.js} +69 -69
- package/components/{CashierMethodsList-Bn7TgrUA.js → CashierMethodsList-GlL1YNei.js} +40 -40
- package/components/{CashierModal-Ck7dIF1h.js → CashierModal-BL_3_v5C.js} +43 -43
- package/components/{CashierModal-BTxh5964.js → CashierModal-BxhVa9nJ.js} +35 -35
- package/components/{CashierNotifications-Bni-Zo-O.js → CashierNotifications-D7pEjC9e.js} +31 -31
- package/components/{CashierNotifications-DgA6o4pi.js → CashierNotifications-DumJSi6H.js} +31 -31
- package/components/{CashierPage-_PJq9teT.js → CashierPage-CyVP1RTq.js} +82 -82
- package/components/{CashierPage-Bi4eFJ59.js → CashierPage-Yklnwu-d.js} +82 -82
- package/components/{CashierReceiptPage-vsCixPJi.js → CashierReceiptPage-Cz47umjb.js} +107 -107
- package/components/{CashierReceiptPage-CIjEPaeD.js → CashierReceiptPage-DfwtOyaZ.js} +120 -120
- package/components/{CashierSessionExpirationModal-DfcoFbz3.js → CashierSessionExpirationModal-BfLsDfD2.js} +101 -101
- package/components/{CashierSessionExpirationModal-Dbknu3z5.js → CashierSessionExpirationModal-h3rhYNkG.js} +126 -126
- package/components/{CashierSpinner-CNjbjUJb.js → CashierSpinner-BFMZw2tU.js} +6 -6
- package/components/{CashierSpinner-B1Snzdbq.js → CashierSpinner-D8ZX1N7Y.js} +10 -10
- package/components/{CashierStepUp-DLx4ZhqR.js → CashierStepUp-CUavQfr0.js} +132 -132
- package/components/{CashierStepUp-DTRMNDxI.js → CashierStepUp-Nzn5RFP5.js} +49 -49
- package/components/{CashierTransactionHistory-CBHJVCjw.js → CashierTransactionHistory-ByF437F5.js} +110 -110
- package/components/{CashierTransactionHistory-tRzzuMzy.js → CashierTransactionHistory-GtXsIggF.js} +110 -110
- package/components/{CashierVerifications-2v6SzakW.js → CashierVerifications-CuD13Li5.js} +60 -60
- package/components/{CashierVerifications-CNVn8Koy.js → CashierVerifications-sG9Xn_xc.js} +43 -43
- package/components/{TxnStatusIcon-BMW53lVy.js → TxnStatusIcon-B0-RrZPH.js} +23 -23
- package/components/{TxnStatusIcon-BGoL7geL.js → TxnStatusIcon-DYgNkITO.js} +28 -28
- package/components/{TxnTypeIcons-DkN5cVT-.js → TxnTypeIcons-BnO0cks2.js} +1 -1
- package/components/{TxnTypeIcons-QCBLyb31.js → TxnTypeIcons-DPmJegXP.js} +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as ye, a as ve, b as _e } from "./CashierHeader-
|
|
3
|
-
function
|
|
1
|
+
import { b as $1, N as ee, a as te, S as ne, O as ie, a1 as ae, E as L, f as oe, V as d1, x as h, Q as w, z as C, g as l, l as se, t as D1, ah as re, Y as le, P as ce, F as ue, y as W1, h as H1, R as I1, ad as z1, L as pe, ae as de, j as fe, e as c, a6 as k, q as me, D as A1, d as Ce, p as ge, a3 as R, a9 as x, a2 as T, _ as he, T as x1, A as P1, B as L1, w as X1, a8 as N, a7 as j1, o as we, $ as be } from "./CashierPage-CyVP1RTq.js";
|
|
2
|
+
import { s as ye, a as ve, b as _e } from "./CashierHeader-DafDx_3j.js";
|
|
3
|
+
function V1(i, e) {
|
|
4
4
|
$1(i, e);
|
|
5
5
|
}
|
|
6
6
|
function ke(i) {
|
|
@@ -8,7 +8,7 @@ function ke(i) {
|
|
|
8
8
|
fallbackLocale: "en"
|
|
9
9
|
}), te.set(i);
|
|
10
10
|
}
|
|
11
|
-
const
|
|
11
|
+
const Z1 = {
|
|
12
12
|
en: {
|
|
13
13
|
amount: "Amount",
|
|
14
14
|
status: "Status",
|
|
@@ -285,7 +285,7 @@ const V1 = {
|
|
|
285
285
|
uploadDocuments: "Télécharger des documents",
|
|
286
286
|
goToHomepage: "Aller à la page d’accueil"
|
|
287
287
|
}
|
|
288
|
-
}, Te = (i, e) => `${i +
|
|
288
|
+
}, Te = (i, e) => `${i + Me[e]}`, Re = (i, e) => `${Se[e]}.${J1[i]}.text`, xe = (i) => `${J1[`${i}`]}`, Me = {
|
|
289
289
|
Success: "/txn-success.png",
|
|
290
290
|
Voided: "/txn-success.png",
|
|
291
291
|
Rejected: "/txn-failed.png",
|
|
@@ -374,7 +374,7 @@ function Le(i) {
|
|
|
374
374
|
u[19] && !/*showErrorOutsideReceiptPage*/
|
|
375
375
|
u[20]
|
|
376
376
|
)
|
|
377
|
-
return
|
|
377
|
+
return Be;
|
|
378
378
|
}
|
|
379
379
|
let d = p(i), f = d && d(i);
|
|
380
380
|
return {
|
|
@@ -402,7 +402,7 @@ function Le(i) {
|
|
|
402
402
|
}
|
|
403
403
|
};
|
|
404
404
|
}
|
|
405
|
-
function
|
|
405
|
+
function Pe(i) {
|
|
406
406
|
let e;
|
|
407
407
|
return {
|
|
408
408
|
c() {
|
|
@@ -424,7 +424,7 @@ function K1(i) {
|
|
|
424
424
|
), n, a, s, o;
|
|
425
425
|
return {
|
|
426
426
|
c() {
|
|
427
|
-
e = C("div"), n =
|
|
427
|
+
e = C("div"), n = x(t), l(e, "class", "CopyTooltip");
|
|
428
428
|
},
|
|
429
429
|
m(p, d) {
|
|
430
430
|
w(p, e, d), c(e, n), o = !0;
|
|
@@ -541,7 +541,7 @@ function U1(i) {
|
|
|
541
541
|
}
|
|
542
542
|
};
|
|
543
543
|
}
|
|
544
|
-
function
|
|
544
|
+
function Be(i) {
|
|
545
545
|
let e, t = (
|
|
546
546
|
/*errorResponseCode*/
|
|
547
547
|
i[19] === /*ResponseCode*/
|
|
@@ -637,7 +637,7 @@ function We(i) {
|
|
|
637
637
|
), p, d, f, u, g, y, b, v = (
|
|
638
638
|
/*$_*/
|
|
639
639
|
i[24]("status") + ""
|
|
640
|
-
),
|
|
640
|
+
), B, U, V, Z = (
|
|
641
641
|
/*$_*/
|
|
642
642
|
i[24](`${/*txnStatus*/
|
|
643
643
|
i[21]}`) + ""
|
|
@@ -647,10 +647,10 @@ function We(i) {
|
|
|
647
647
|
), o1, f1, F, s1 = (
|
|
648
648
|
/*txnInfo*/
|
|
649
649
|
i[15].referenceId + ""
|
|
650
|
-
), m1, C1, Q, $,
|
|
650
|
+
), m1, C1, Q, $, M = (
|
|
651
651
|
/*$_*/
|
|
652
652
|
i[24]("payemntMethod") + ""
|
|
653
|
-
), y1,
|
|
653
|
+
), y1, M1, S, r1, v1, A, e1, t1 = (
|
|
654
654
|
/*$_*/
|
|
655
655
|
i[24]("paymentTime") + ""
|
|
656
656
|
), l1, c1, _1, u1 = D1(
|
|
@@ -692,24 +692,24 @@ function We(i) {
|
|
|
692
692
|
);
|
|
693
693
|
return {
|
|
694
694
|
c() {
|
|
695
|
-
e = C("div"), I && I.c(), t = k(), n = C("div"), a = C("div"), s = C("p"), p =
|
|
695
|
+
e = C("div"), I && I.c(), t = k(), n = C("div"), a = C("div"), s = C("p"), p = x(o), d = k(), f = C("span"), u = x(
|
|
696
696
|
/*amount*/
|
|
697
697
|
i[17]
|
|
698
|
-
), g = k(), y = C("div"), b = C("p"),
|
|
698
|
+
), g = k(), y = C("div"), b = C("p"), B = x(v), U = k(), V = C("span"), E = x(Z), a1 = k(), D = C("div"), H = C("p"), o1 = x(J), f1 = k(), F = C("span"), m1 = x(s1), C1 = k(), Q = C("div"), $ = C("p"), y1 = x(M), M1 = k(), S = C("span"), r1 = x(
|
|
699
699
|
/*paymentmethod*/
|
|
700
700
|
i[0]
|
|
701
|
-
), v1 = k(), A = C("div"), e1 = C("p"), l1 =
|
|
701
|
+
), v1 = k(), A = C("div"), e1 = C("p"), l1 = x(t1), c1 = k(), _1 = C("span"), g1 = x(u1), n1 = k(), i1 = C("div"), z && z.c(), h1 = k(), X = C("button"), K.c(), k1 = k(), j && j.c(), p1 = P1(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(y, "class", Y = `Status ${/*txnStatus*/
|
|
702
702
|
i[21]}`), l(F, "class", "TxnIdText"), l(D, "class", "TxnId"), l(Q, "class", "PaymentMethod"), l(A, "class", "PaymentTime"), l(n, "class", "ReceiptDetailsWrapper"), l(i1, "class", "ReceiptButtonsWrapper"), l(X, "class", "DefaultButton");
|
|
703
703
|
},
|
|
704
704
|
m(m, _) {
|
|
705
|
-
w(m, e, _), I && I.m(e, null), w(m, t, _), w(m, n, _), c(n, a), c(a, s), c(s, p), c(a, d), c(a, f), c(f, u), c(n, g), c(n, y), c(y, b), c(b,
|
|
706
|
-
|
|
705
|
+
w(m, e, _), I && I.m(e, null), w(m, t, _), w(m, n, _), c(n, a), c(a, s), c(s, p), c(a, d), c(a, f), c(f, u), c(n, g), c(n, y), c(y, b), c(b, B), c(y, U), c(y, V), c(V, E), c(n, a1), c(n, D), c(D, H), c(H, o1), c(D, f1), c(D, F), c(F, m1), c(n, C1), c(n, Q), c(Q, $), c($, y1), c(Q, M1), c(Q, S), c(S, r1), c(n, v1), c(n, A), c(A, e1), c(e1, l1), c(A, c1), c(A, _1), c(_1, g1), w(m, n1, _), w(m, i1, _), z && z.m(i1, null), w(m, h1, _), w(m, X, _), K.m(X, null), w(m, k1, _), j && j.m(m, _), w(m, p1, _), w1 || (T1 = [
|
|
706
|
+
x1(
|
|
707
707
|
F,
|
|
708
708
|
"click",
|
|
709
709
|
/*click_handler*/
|
|
710
710
|
i[45]
|
|
711
711
|
),
|
|
712
|
-
|
|
712
|
+
x1(
|
|
713
713
|
X,
|
|
714
714
|
"click",
|
|
715
715
|
/*closeReceipt*/
|
|
@@ -727,18 +727,18 @@ function We(i) {
|
|
|
727
727
|
m[17]
|
|
728
728
|
), _[0] & /*$_*/
|
|
729
729
|
16777216 && v !== (v = /*$_*/
|
|
730
|
-
m[24]("status") + "") && R(
|
|
731
|
-
18874368 &&
|
|
730
|
+
m[24]("status") + "") && R(B, v), _[0] & /*$_, txnStatus*/
|
|
731
|
+
18874368 && Z !== (Z = /*$_*/
|
|
732
732
|
m[24](`${/*txnStatus*/
|
|
733
|
-
m[21]}`) + "") && R(E,
|
|
733
|
+
m[21]}`) + "") && R(E, Z), _[0] & /*txnStatus*/
|
|
734
734
|
2097152 && Y !== (Y = `Status ${/*txnStatus*/
|
|
735
735
|
m[21]}`) && l(y, "class", Y), _[0] & /*$_*/
|
|
736
736
|
16777216 && J !== (J = /*$_*/
|
|
737
737
|
m[24]("transactionId") + "") && R(o1, J), _[0] & /*txnInfo*/
|
|
738
738
|
32768 && s1 !== (s1 = /*txnInfo*/
|
|
739
739
|
m[15].referenceId + "") && R(m1, s1), _[0] & /*$_*/
|
|
740
|
-
16777216 &&
|
|
741
|
-
m[24]("payemntMethod") + "") && R(y1,
|
|
740
|
+
16777216 && M !== (M = /*$_*/
|
|
741
|
+
m[24]("payemntMethod") + "") && R(y1, M), _[0] & /*paymentmethod*/
|
|
742
742
|
1 && R(
|
|
743
743
|
r1,
|
|
744
744
|
/*paymentmethod*/
|
|
@@ -768,7 +768,7 @@ function F1(i) {
|
|
|
768
768
|
), f;
|
|
769
769
|
return {
|
|
770
770
|
c() {
|
|
771
|
-
e = C("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = k(), n = C("span"), s =
|
|
771
|
+
e = C("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = k(), n = C("span"), s = x(a), o = k(), p = C("span"), f = x(d), l(e, "slot", "icon"), l(n, "slot", "title"), l(n, "class", "CashierErrorTitle"), l(p, "slot", "text"), l(p, "class", "CashierErrorText");
|
|
772
772
|
},
|
|
773
773
|
m(u, g) {
|
|
774
774
|
w(u, e, g), w(u, t, g), w(u, n, g), c(n, s), w(u, o, g), w(u, p, g), c(p, f);
|
|
@@ -797,16 +797,16 @@ function He(i) {
|
|
|
797
797
|
), b;
|
|
798
798
|
return {
|
|
799
799
|
c() {
|
|
800
|
-
e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = k(), o = C("div"), p = C("h3"), f =
|
|
800
|
+
e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = k(), o = C("div"), p = C("h3"), f = x(d), u = k(), g = C("p"), b = x(y), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D14141"), l(t, "fill-opacity", "0.12"), l(n, "x", "19.335"), l(n, "y", "19"), l(n, "width", "33.33"), l(n, "height", "33.33"), l(n, "rx", "16.665"), l(n, "fill", "#FF3636"), l(a, "d", "M29.085 41.915L41.585 29.415M41.585 41.915L29.085 29.415"), l(a, "stroke", "black"), l(a, "stroke-width", "2.09016"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon failed"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(o, "class", "ReceiptStatusText");
|
|
801
801
|
},
|
|
802
|
-
m(v,
|
|
803
|
-
w(v, e,
|
|
802
|
+
m(v, B) {
|
|
803
|
+
w(v, e, B), c(e, t), c(e, n), c(e, a), w(v, s, B), w(v, o, B), c(o, p), c(p, f), c(o, u), c(o, g), c(g, b);
|
|
804
804
|
},
|
|
805
|
-
p(v,
|
|
806
|
-
|
|
805
|
+
p(v, B) {
|
|
806
|
+
B[0] & /*$_, txnInfo*/
|
|
807
807
|
16809984 && d !== (d = /*$_*/
|
|
808
808
|
v[24](`${/*txnInfo*/
|
|
809
|
-
v[15].type.toLowerCase()}.fail.title`) + "") && R(f, d),
|
|
809
|
+
v[15].type.toLowerCase()}.fail.title`) + "") && R(f, d), B[0] & /*$_, txnInfo*/
|
|
810
810
|
16809984 && y !== (y = /*$_*/
|
|
811
811
|
v[24](`${/*txnInfo*/
|
|
812
812
|
v[15].type.toLowerCase()}.fail.text`) + "") && R(b, y);
|
|
@@ -825,17 +825,17 @@ function Ie(i) {
|
|
|
825
825
|
/*$_*/
|
|
826
826
|
i[24](`${/*txnInfo*/
|
|
827
827
|
i[15].type.toLowerCase()}.pending.text`) + ""
|
|
828
|
-
),
|
|
828
|
+
), B, U, V, Z = (
|
|
829
829
|
/*$_*/
|
|
830
830
|
i[24]("refreshButton") + ""
|
|
831
831
|
), E, Y, a1;
|
|
832
832
|
return {
|
|
833
833
|
c() {
|
|
834
|
-
e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = N("path"), o = N("path"), p = k(), d = C("div"), f = C("h3"), g =
|
|
834
|
+
e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = N("path"), o = N("path"), p = k(), d = C("div"), f = C("h3"), g = x(u), y = k(), b = C("p"), B = x(v), U = k(), V = C("button"), E = x(Z), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D19A41"), l(t, "fill-opacity", "0.12"), l(n, "x", "19"), l(n, "y", "19"), l(n, "width", "34"), l(n, "height", "34"), l(n, "rx", "17"), l(n, "fill", "#FF6836"), l(a, "d", "M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"), l(a, "stroke", "black"), l(a, "stroke-width", "1.5"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(s, "d", "M36 32V36L38 38"), l(s, "stroke", "black"), l(s, "stroke-width", "1.5"), l(s, "stroke-linecap", "round"), l(s, "stroke-linejoin", "round"), l(o, "d", "M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"), l(o, "stroke", "black"), l(o, "stroke-width", "1.5"), l(o, "stroke-linecap", "round"), l(o, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon pending"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(d, "class", "ReceiptStatusText"), l(V, "class", "RefreshButton");
|
|
835
835
|
},
|
|
836
836
|
m(D, H) {
|
|
837
|
-
w(D, e, H), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), w(D, p, H), w(D, d, H), c(d, f), c(f, g), c(d, y), c(d, b), c(b,
|
|
838
|
-
|
|
837
|
+
w(D, e, H), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), w(D, p, H), w(D, d, H), c(d, f), c(f, g), c(d, y), c(d, b), c(b, B), w(D, U, H), w(D, V, H), c(V, E), Y || (a1 = x1(
|
|
838
|
+
V,
|
|
839
839
|
"click",
|
|
840
840
|
/*getPaymentInfo*/
|
|
841
841
|
i[27]
|
|
@@ -848,12 +848,12 @@ function Ie(i) {
|
|
|
848
848
|
D[15].type.toLowerCase()}.pending.title`) + "") && R(g, u), H[0] & /*$_, txnInfo*/
|
|
849
849
|
16809984 && v !== (v = /*$_*/
|
|
850
850
|
D[24](`${/*txnInfo*/
|
|
851
|
-
D[15].type.toLowerCase()}.pending.text`) + "") && R(
|
|
852
|
-
16777216 &&
|
|
853
|
-
D[24]("refreshButton") + "") && R(E,
|
|
851
|
+
D[15].type.toLowerCase()}.pending.text`) + "") && R(B, v), H[0] & /*$_*/
|
|
852
|
+
16777216 && Z !== (Z = /*$_*/
|
|
853
|
+
D[24]("refreshButton") + "") && R(E, Z);
|
|
854
854
|
},
|
|
855
855
|
d(D) {
|
|
856
|
-
D && (h(e), h(p), h(d), h(U), h(
|
|
856
|
+
D && (h(e), h(p), h(d), h(U), h(V)), Y = !1, a1();
|
|
857
857
|
}
|
|
858
858
|
};
|
|
859
859
|
}
|
|
@@ -869,7 +869,7 @@ function ze(i) {
|
|
|
869
869
|
), y;
|
|
870
870
|
return {
|
|
871
871
|
c() {
|
|
872
|
-
e = N("svg"), t = N("circle"), n = N("path"), a = k(), s = C("div"), o = C("h3"), d =
|
|
872
|
+
e = N("svg"), t = N("circle"), n = N("path"), a = k(), s = C("div"), o = C("h3"), d = x(p), f = k(), u = C("p"), y = x(g), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#F9C408"), l(t, "fill-opacity", "0.12"), l(n, "d", "M36.5 19.3333C27.3167 19.3333 19.8333 26.8166 19.8333 36C19.8333 45.1833 27.3167 52.6666 36.5 52.6666C45.6833 52.6666 53.1667 45.1833 53.1667 36C53.1667 26.8166 45.6833 19.3333 36.5 19.3333ZM44.4667 32.1666L35.0167 41.6166C34.7833 41.85 34.4667 41.9833 34.1333 41.9833C33.8 41.9833 33.4833 41.85 33.25 41.6166L28.5333 36.9C28.05 36.4166 28.05 35.6166 28.5333 35.1333C29.0167 34.65 29.8167 34.65 30.3 35.1333L34.1333 38.9666L42.7 30.4C43.1833 29.9166 43.9833 29.9166 44.4667 30.4C44.95 30.8833 44.95 31.6666 44.4667 32.1666Z"), l(n, "fill", "#F9C408"), l(e, "class", "ReceiptStatusIcon success"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(s, "class", "ReceiptStatusText");
|
|
873
873
|
},
|
|
874
874
|
m(b, v) {
|
|
875
875
|
w(b, e, v), c(e, t), c(e, n), w(b, a, v), w(b, s, v), c(s, o), c(o, d), c(s, f), c(s, u), c(u, y);
|
|
@@ -899,7 +899,7 @@ function O1(i) {
|
|
|
899
899
|
c() {
|
|
900
900
|
for (let a = 0; a < n.length; a += 1)
|
|
901
901
|
n[a].c();
|
|
902
|
-
e =
|
|
902
|
+
e = P1();
|
|
903
903
|
},
|
|
904
904
|
m(a, s) {
|
|
905
905
|
for (let o = 0; o < n.length; o += 1)
|
|
@@ -946,11 +946,11 @@ function G1(i) {
|
|
|
946
946
|
}
|
|
947
947
|
return {
|
|
948
948
|
c() {
|
|
949
|
-
e = C("button"), t = C("div"), a = k(), o =
|
|
949
|
+
e = C("button"), t = C("div"), a = k(), o = x(s), p = k(), l(t, "class", "CustomButtonSvg"), l(e, "class", d = `${/*btn*/
|
|
950
950
|
i[73].type} GoToButton`);
|
|
951
951
|
},
|
|
952
952
|
m(y, b) {
|
|
953
|
-
w(y, e, b), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, p), f || (u =
|
|
953
|
+
w(y, e, b), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, p), f || (u = x1(e, "click", g), f = !0);
|
|
954
954
|
},
|
|
955
955
|
p(y, b) {
|
|
956
956
|
i = y, b[0] & /*displayedButtons*/
|
|
@@ -974,7 +974,7 @@ function Ae(i) {
|
|
|
974
974
|
), t;
|
|
975
975
|
return {
|
|
976
976
|
c() {
|
|
977
|
-
t =
|
|
977
|
+
t = x(e);
|
|
978
978
|
},
|
|
979
979
|
m(n, a) {
|
|
980
980
|
w(n, t, a);
|
|
@@ -997,7 +997,7 @@ function je(i) {
|
|
|
997
997
|
), t;
|
|
998
998
|
return {
|
|
999
999
|
c() {
|
|
1000
|
-
t =
|
|
1000
|
+
t = x(e);
|
|
1001
1001
|
},
|
|
1002
1002
|
m(n, a) {
|
|
1003
1003
|
w(n, t, a);
|
|
@@ -1024,7 +1024,7 @@ function q1(i) {
|
|
|
1024
1024
|
c() {
|
|
1025
1025
|
for (let a = 0; a < n.length; a += 1)
|
|
1026
1026
|
n[a].c();
|
|
1027
|
-
e =
|
|
1027
|
+
e = P1();
|
|
1028
1028
|
},
|
|
1029
1029
|
m(a, s) {
|
|
1030
1030
|
for (let o = 0; o < n.length; o += 1)
|
|
@@ -1053,14 +1053,14 @@ function q1(i) {
|
|
|
1053
1053
|
}
|
|
1054
1054
|
};
|
|
1055
1055
|
}
|
|
1056
|
-
function
|
|
1056
|
+
function Ve(i) {
|
|
1057
1057
|
let e, t = (
|
|
1058
1058
|
/*field*/
|
|
1059
1059
|
i[70].defaultValue + ""
|
|
1060
1060
|
), n;
|
|
1061
1061
|
return {
|
|
1062
1062
|
c() {
|
|
1063
|
-
e = C("span"), n =
|
|
1063
|
+
e = C("span"), n = x(t), l(e, "class", "Label");
|
|
1064
1064
|
},
|
|
1065
1065
|
m(a, s) {
|
|
1066
1066
|
w(a, e, s), c(e, n);
|
|
@@ -1075,7 +1075,7 @@ function Ze(i) {
|
|
|
1075
1075
|
}
|
|
1076
1076
|
};
|
|
1077
1077
|
}
|
|
1078
|
-
function
|
|
1078
|
+
function Ze(i) {
|
|
1079
1079
|
return { c: d1, m: d1, p: d1, d: d1 };
|
|
1080
1080
|
}
|
|
1081
1081
|
function Ee(i) {
|
|
@@ -1088,7 +1088,7 @@ function Ee(i) {
|
|
|
1088
1088
|
), p, d;
|
|
1089
1089
|
return {
|
|
1090
1090
|
c() {
|
|
1091
|
-
e = C("span"), n =
|
|
1091
|
+
e = C("span"), n = x(t), a = k(), s = C("a"), p = x(o), l(s, "href", d = /*field*/
|
|
1092
1092
|
i[70].defaultValue), l(s, "target", "_blank"), l(s, "rel", "noopener noreferrer");
|
|
1093
1093
|
},
|
|
1094
1094
|
m(f, u) {
|
|
@@ -1169,10 +1169,10 @@ function Ke(i) {
|
|
|
1169
1169
|
}
|
|
1170
1170
|
return {
|
|
1171
1171
|
c() {
|
|
1172
|
-
e = C("div"), t = C("div"), a =
|
|
1172
|
+
e = C("div"), t = C("div"), a = x(n), l(e, "class", "QRCode");
|
|
1173
1173
|
},
|
|
1174
1174
|
m(d, f) {
|
|
1175
|
-
w(d, e, f), c(e, t), c(t, a), i[47](t), s || (o =
|
|
1175
|
+
w(d, e, f), c(e, t), c(t, a), i[47](t), s || (o = x1(e, "click", p), s = !0);
|
|
1176
1176
|
},
|
|
1177
1177
|
p(d, f) {
|
|
1178
1178
|
i = d, f[0] & /*receiptFields*/
|
|
@@ -1202,7 +1202,7 @@ function Q1(i) {
|
|
|
1202
1202
|
o[14].Link ? Ee : (
|
|
1203
1203
|
/*field*/
|
|
1204
1204
|
o[70].type === /*FieldTypes*/
|
|
1205
|
-
o[14].Hidden ?
|
|
1205
|
+
o[14].Hidden ? Ze : Ve
|
|
1206
1206
|
)
|
|
1207
1207
|
)
|
|
1208
1208
|
)
|
|
@@ -1230,7 +1230,7 @@ function Ue(i) {
|
|
|
1230
1230
|
function t(s, o) {
|
|
1231
1231
|
return (
|
|
1232
1232
|
/*isLoading*/
|
|
1233
|
-
s[11] ?
|
|
1233
|
+
s[11] ? Pe : Le
|
|
1234
1234
|
);
|
|
1235
1235
|
}
|
|
1236
1236
|
let n = t(i), a = n(i);
|
|
@@ -1255,37 +1255,37 @@ let Fe = "_blank";
|
|
|
1255
1255
|
function Oe(i, e, t) {
|
|
1256
1256
|
let n;
|
|
1257
1257
|
se(i, be, (r) => t(24, n = r)), D1.extend(re);
|
|
1258
|
-
let { endpoint: a } = e, { session: s } = e, { lang: o = "en" } = e, { local: p = "en-US" } = e, { showerrors: d = "true" } = e, { translationurl: f } = e, { assetsurl: u = "" } = e, { customerid: g } = e, { transactionid: y } = e, { currencydecimals: b = "0" } = e, { type: v } = e, { clientstyling:
|
|
1258
|
+
let { endpoint: a } = e, { session: s } = e, { lang: o = "en" } = e, { local: p = "en-US" } = e, { showerrors: d = "true" } = e, { translationurl: f } = e, { assetsurl: u = "" } = e, { customerid: g } = e, { transactionid: y } = e, { currencydecimals: b = "0" } = e, { type: v } = e, { clientstyling: B = "" } = e, { clientstylingurl: U = "" } = e, { mbsource: V = "" } = e, { showverifications: Z = "true" } = e, { paymentmethod: E = "" } = e, Y = !1, a1, { customsucceessbuttons: D = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: J = "" } = e, { currencysymbol: o1 = "" } = e, { currencyposition: f1 = "" } = e, { userroles: F = "" } = e, { windowsize: s1 } = e, { p2p: m1 = "false" } = e, C1 = [], Q = [];
|
|
1259
1259
|
var $;
|
|
1260
1260
|
(function(r) {
|
|
1261
1261
|
r.Success = "Success", r.Maintenance = "Maintenance";
|
|
1262
1262
|
})($ || ($ = {}));
|
|
1263
|
-
var
|
|
1263
|
+
var M;
|
|
1264
1264
|
(function(r) {
|
|
1265
1265
|
r.Unknown = "Unknown", r.Text = "Text", r.Boolean = "Boolean", r.Number = "Number", r.Money = "Money", r.DateTime = "DateTime", r.Lookup = "Lookup", r.IpAddress = "IpAddress", r.Date = "Date", r.Time = "Time", r.LookupCollection = "LookupCollection", r.Hidden = "Hidden", r.Label = "Label", r.Password = "Password", r.Link = "Link", r.Image = "Image", r.Html = "Html", r.QRCode = "QR";
|
|
1266
|
-
})(
|
|
1266
|
+
})(M || (M = {}));
|
|
1267
1267
|
const y1 = (r, [W, O]) => [
|
|
1268
1268
|
...r,
|
|
1269
|
-
...Array.isArray(W) ? [...W.map((
|
|
1270
|
-
],
|
|
1271
|
-
[["Unknown", 0],
|
|
1272
|
-
[["Text", 1],
|
|
1273
|
-
[["Boolean", 2],
|
|
1274
|
-
[["Number", 3],
|
|
1275
|
-
[["Money", 4],
|
|
1276
|
-
[["DateTime", 5],
|
|
1277
|
-
[["Lookup", 6],
|
|
1278
|
-
[["IpAddress", 7],
|
|
1279
|
-
[["Date", 8],
|
|
1280
|
-
[["Time", 9],
|
|
1281
|
-
[["LookupCollection", 10],
|
|
1282
|
-
[["Hidden", 11],
|
|
1283
|
-
[["Label", 12],
|
|
1284
|
-
[["Password", 13],
|
|
1285
|
-
[["Link", 14],
|
|
1286
|
-
[["Image", 15],
|
|
1287
|
-
[["Html", 19],
|
|
1288
|
-
[["QR", 20],
|
|
1269
|
+
...Array.isArray(W) ? [...W.map((P) => [P, O])] : [[W, O]]
|
|
1270
|
+
], M1 = new Map([
|
|
1271
|
+
[["Unknown", 0], M.Unknown],
|
|
1272
|
+
[["Text", 1], M.Text],
|
|
1273
|
+
[["Boolean", 2], M.Boolean],
|
|
1274
|
+
[["Number", 3], M.Number],
|
|
1275
|
+
[["Money", 4], M.Money],
|
|
1276
|
+
[["DateTime", 5], M.DateTime],
|
|
1277
|
+
[["Lookup", 6], M.Lookup],
|
|
1278
|
+
[["IpAddress", 7], M.IpAddress],
|
|
1279
|
+
[["Date", 8], M.Date],
|
|
1280
|
+
[["Time", 9], M.Time],
|
|
1281
|
+
[["LookupCollection", 10], M.LookupCollection],
|
|
1282
|
+
[["Hidden", 11], M.Hidden],
|
|
1283
|
+
[["Label", 12], M.Label],
|
|
1284
|
+
[["Password", 13], M.Password],
|
|
1285
|
+
[["Link", 14], M.Link],
|
|
1286
|
+
[["Image", 15], M.Image],
|
|
1287
|
+
[["Html", 19], M.Html],
|
|
1288
|
+
[["QR", 20], M.QRCode]
|
|
1289
1289
|
].reduce(y1, []));
|
|
1290
1290
|
let S, r1 = [], v1, A, e1 = [], t1, l1, c1 = "", _1 = window.navigator.userAgent, u1 = !1;
|
|
1291
1291
|
const g1 = {
|
|
@@ -1365,13 +1365,13 @@ function Oe(i, e, t) {
|
|
|
1365
1365
|
if (r)
|
|
1366
1366
|
return fetch(r).then((W) => W.json()).then((W) => {
|
|
1367
1367
|
Object.keys(W).forEach((O) => {
|
|
1368
|
-
|
|
1368
|
+
V1(O, W[O]);
|
|
1369
1369
|
});
|
|
1370
1370
|
}).catch(() => {
|
|
1371
1371
|
});
|
|
1372
1372
|
};
|
|
1373
|
-
Object.keys(
|
|
1374
|
-
|
|
1373
|
+
Object.keys(Z1).forEach((r) => {
|
|
1374
|
+
V1(r, Z1[r]);
|
|
1375
1375
|
});
|
|
1376
1376
|
const k1 = () => {
|
|
1377
1377
|
window.postMessage({ type: "CloseCashierReceiptPage" }, window.location.href);
|
|
@@ -1392,39 +1392,39 @@ function Oe(i, e, t) {
|
|
|
1392
1392
|
headers: W,
|
|
1393
1393
|
body: JSON.stringify({ TransactionCode: y })
|
|
1394
1394
|
};
|
|
1395
|
-
t(11, Y = !0), fetch(r, O).then((
|
|
1396
|
-
if (
|
|
1397
|
-
t(19, t1 =
|
|
1395
|
+
t(11, Y = !0), fetch(r, O).then((P) => P.json()).then((P) => {
|
|
1396
|
+
if (P.ResponseCode !== $.Success) {
|
|
1397
|
+
t(19, t1 = P.ResponseCode), t(20, l1 = d.toLowerCase() === "false" || !d), p1();
|
|
1398
1398
|
return;
|
|
1399
1399
|
}
|
|
1400
1400
|
switch (t(15, S = {
|
|
1401
|
-
type:
|
|
1402
|
-
referenceId:
|
|
1403
|
-
status:
|
|
1404
|
-
message:
|
|
1405
|
-
amount:
|
|
1406
|
-
currency:
|
|
1407
|
-
time:
|
|
1408
|
-
}), t(16, r1 =
|
|
1409
|
-
type:
|
|
1401
|
+
type: P.Transaction.Type,
|
|
1402
|
+
referenceId: P.Transaction.Code,
|
|
1403
|
+
status: P.Transaction.Status?.Status,
|
|
1404
|
+
message: P.Transaction.Status?.Message,
|
|
1405
|
+
amount: P.Transaction.Amounts[0]?.Amount,
|
|
1406
|
+
currency: P.Transaction.Amounts[0]?.Currency,
|
|
1407
|
+
time: P.Transaction.Status.Created
|
|
1408
|
+
}), t(16, r1 = P.ReceiptInfo && P.ReceiptInfo.ReceiptFields ? P.ReceiptInfo.ReceiptFields.map((q) => ({
|
|
1409
|
+
type: M1.get(q.Type),
|
|
1410
1410
|
name: q.Name,
|
|
1411
1411
|
description: q.Description,
|
|
1412
1412
|
defaultValue: q.DefaultValue,
|
|
1413
1413
|
useCopyButton: q.UseCopyButton,
|
|
1414
1414
|
usePrintButton: q.UsePrintButton
|
|
1415
|
-
})) : []),
|
|
1415
|
+
})) : []), P.ReceiptInfo && P.ReceiptInfo.ReceiptFields && !E && t(0, E = r1[0].defaultValue), n(Re(S.status, S.type), { values: { errorText: S.message } }), t(17, v1 = ue(Number(S.amount), S.currency)), S.status) {
|
|
1416
1416
|
case "Voided":
|
|
1417
1417
|
case "Success":
|
|
1418
1418
|
if (n1(D || "casino, livecasino, tournaments"), t(21, c1 = "success"), S.type === "Deposit") {
|
|
1419
|
-
const q =
|
|
1419
|
+
const q = P.Transaction?.Flags?.NewDepositCustomer, B1 = P?.Transaction?.Payloads;
|
|
1420
1420
|
window.postMessage(
|
|
1421
1421
|
{
|
|
1422
1422
|
type: q === "True" ? "FirstDeposit" : "ConfirmedDeposit",
|
|
1423
1423
|
method: E,
|
|
1424
1424
|
amount: S.amount,
|
|
1425
1425
|
currency: S.currency,
|
|
1426
|
-
depositType:
|
|
1427
|
-
publicPaymentId:
|
|
1426
|
+
depositType: B1?.TagManagerDepositType ?? "",
|
|
1427
|
+
publicPaymentId: B1?.TagManagerCode ?? ""
|
|
1428
1428
|
},
|
|
1429
1429
|
window.location.href
|
|
1430
1430
|
);
|
|
@@ -1458,12 +1458,12 @@ function Oe(i, e, t) {
|
|
|
1458
1458
|
currency: S.currency,
|
|
1459
1459
|
failureReason: S.message
|
|
1460
1460
|
}
|
|
1461
|
-
),
|
|
1461
|
+
), Z === "true" && t(22, u1 = !0);
|
|
1462
1462
|
break;
|
|
1463
1463
|
default:
|
|
1464
1464
|
n1("close");
|
|
1465
1465
|
}
|
|
1466
|
-
u ? Te(u, S.status) :
|
|
1466
|
+
u ? Te(u, S.status) : xe(S.status);
|
|
1467
1467
|
}).finally(() => t(11, Y = !1));
|
|
1468
1468
|
}, T1 = (r) => {
|
|
1469
1469
|
window.postMessage({ type: r }, window.location.href);
|
|
@@ -1480,10 +1480,10 @@ function Oe(i, e, t) {
|
|
|
1480
1480
|
};
|
|
1481
1481
|
let G, I;
|
|
1482
1482
|
const z = async (r, W = !0) => {
|
|
1483
|
-
const
|
|
1484
|
-
if (
|
|
1483
|
+
const P = r.currentTarget.innerHTML;
|
|
1484
|
+
if (P && navigator.clipboard && navigator.clipboard.writeText)
|
|
1485
1485
|
try {
|
|
1486
|
-
await navigator.clipboard.writeText(
|
|
1486
|
+
await navigator.clipboard.writeText(P), W && (t(23, G = !0), clearTimeout(I), I = setTimeout(
|
|
1487
1487
|
() => {
|
|
1488
1488
|
t(23, G = !1);
|
|
1489
1489
|
},
|
|
@@ -1509,7 +1509,7 @@ function Oe(i, e, t) {
|
|
|
1509
1509
|
});
|
|
1510
1510
|
}
|
|
1511
1511
|
return i.$$set = (r) => {
|
|
1512
|
-
"endpoint" in r && t(1, a = r.endpoint), "session" in r && t(2, s = r.session), "lang" in r && t(3, o = r.lang), "local" in r && t(31, p = r.local), "showerrors" in r && t(32, d = r.showerrors), "translationurl" in r && t(4, f = r.translationurl), "assetsurl" in r && t(5, u = r.assetsurl), "customerid" in r && t(6, g = r.customerid), "transactionid" in r && t(33, y = r.transactionid), "currencydecimals" in r && t(34, b = r.currencydecimals), "type" in r && t(35, v = r.type), "clientstyling" in r && t(7,
|
|
1512
|
+
"endpoint" in r && t(1, a = r.endpoint), "session" in r && t(2, s = r.session), "lang" in r && t(3, o = r.lang), "local" in r && t(31, p = r.local), "showerrors" in r && t(32, d = r.showerrors), "translationurl" in r && t(4, f = r.translationurl), "assetsurl" in r && t(5, u = r.assetsurl), "customerid" in r && t(6, g = r.customerid), "transactionid" in r && t(33, y = r.transactionid), "currencydecimals" in r && t(34, b = r.currencydecimals), "type" in r && t(35, v = r.type), "clientstyling" in r && t(7, B = r.clientstyling), "clientstylingurl" in r && t(8, U = r.clientstylingurl), "mbsource" in r && t(36, V = r.mbsource), "showverifications" in r && t(9, Z = r.showverifications), "paymentmethod" in r && t(0, E = r.paymentmethod), "customsucceessbuttons" in r && t(37, D = r.customsucceessbuttons), "custompendingbuttons" in r && t(38, H = r.custompendingbuttons), "customfailedbuttons" in r && t(39, J = r.customfailedbuttons), "currencysymbol" in r && t(40, o1 = r.currencysymbol), "currencyposition" in r && t(41, f1 = r.currencyposition), "userroles" in r && t(42, F = r.userroles), "windowsize" in r && t(43, s1 = r.windowsize), "p2p" in r && t(44, m1 = r.p2p);
|
|
1513
1513
|
}, i.$$.update = () => {
|
|
1514
1514
|
i.$$.dirty[1] & /*userroles*/
|
|
1515
1515
|
2048 && F && S1(), i.$$.dirty[0] & /*endpoint, session, customerid*/
|
|
@@ -1517,10 +1517,10 @@ function Oe(i, e, t) {
|
|
|
1517
1517
|
6 && a && s && g && y && d && w1(), i.$$.dirty[0] & /*lang*/
|
|
1518
1518
|
8 && o && i1(), i.$$.dirty[0] & /*lang, translationurl*/
|
|
1519
1519
|
24 && o && f && X(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1520
|
-
1152 &&
|
|
1520
|
+
1152 && B && A && ye(A, B), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1521
1521
|
1280 && U && A && ve(A, U), i.$$.dirty[0] & /*customStylingContainer*/
|
|
1522
1522
|
1024 | i.$$.dirty[1] & /*mbsource*/
|
|
1523
|
-
32 &&
|
|
1523
|
+
32 && V && A && _e(A, `${V}.Style`, a1);
|
|
1524
1524
|
}, [
|
|
1525
1525
|
E,
|
|
1526
1526
|
a,
|
|
@@ -1529,14 +1529,14 @@ function Oe(i, e, t) {
|
|
|
1529
1529
|
f,
|
|
1530
1530
|
u,
|
|
1531
1531
|
g,
|
|
1532
|
-
|
|
1532
|
+
B,
|
|
1533
1533
|
U,
|
|
1534
|
-
|
|
1534
|
+
Z,
|
|
1535
1535
|
A,
|
|
1536
1536
|
Y,
|
|
1537
1537
|
C1,
|
|
1538
1538
|
$,
|
|
1539
|
-
|
|
1539
|
+
M,
|
|
1540
1540
|
S,
|
|
1541
1541
|
r1,
|
|
1542
1542
|
v1,
|
|
@@ -1558,7 +1558,7 @@ function Oe(i, e, t) {
|
|
|
1558
1558
|
y,
|
|
1559
1559
|
b,
|
|
1560
1560
|
v,
|
|
1561
|
-
|
|
1561
|
+
V,
|
|
1562
1562
|
D,
|
|
1563
1563
|
H,
|
|
1564
1564
|
J,
|