@everymatrix/cashier-page 1.61.1 → 1.62.1
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/{CashierError-DxG_sfiC.js → CashierError-D36OIiII.js} +774 -768
- package/components/{CashierError-yvWn4Rrm.cjs → CashierError-DF5tyEuO.cjs} +3 -16
- package/components/{CashierError-CMvzpPvw.js → CashierError-IfMgUjSX.js} +773 -767
- package/components/{CashierHeader-CwLLWXNY.js → CashierHeader-Bqa_5pK8.js} +1 -1
- package/components/{CashierHeader-Bi1lAG0w.js → CashierHeader-D2jtkW66.js} +1 -1
- package/components/{CashierHeader-65_-6ha4.cjs → CashierHeader-DAvojbrw.cjs} +1 -1
- package/components/{CashierIframeRedirect-BaiG-Pfc.js → CashierIframeRedirect-BH5fIuvd.js} +2 -2
- package/components/{CashierIframeRedirect-TY4DGRu8.js → CashierIframeRedirect-CGFYGp7q.js} +2 -2
- package/components/{CashierIframeRedirect-DUw_YsXh.cjs → CashierIframeRedirect-Cvp1hZuX.cjs} +1 -1
- package/components/{CashierMethodDetails-B-r9Ig3J.js → CashierMethodDetails-C_t8u0vT.js} +26 -26
- package/components/{CashierMethodDetails-B7a0xUnu.js → CashierMethodDetails-CxeuIKbH.js} +29 -29
- package/components/{CashierMethodDetails-DCSscnEO.cjs → CashierMethodDetails-DYr-Xmf9.cjs} +3 -3
- package/components/{CashierMethodsList-D1A8PhkD.js → CashierMethodsList-CkUnfn3F.js} +2 -2
- package/components/{CashierMethodsList-CFWwntIr.cjs → CashierMethodsList-ClffYEcO.cjs} +1 -1
- package/components/{CashierMethodsList-0NisHAHn.js → CashierMethodsList-DnvAW5kY.js} +2 -2
- package/components/{CashierPage-Dj0zbO0E.cjs → CashierPage-iK6jK9C0.cjs} +1 -1
- package/components/{CashierPage-BrqHVjEo.js → CashierPage-j8OHei60.js} +47 -47
- package/components/{CashierPage-BZcZChsH.js → CashierPage-lhh4hvB-.js} +47 -47
- package/components/{CashierReceiptPage-s6fGCleK.js → CashierReceiptPage-6PehKJ1Q.js} +2 -2
- package/components/{CashierReceiptPage-D1pqLJ0U.cjs → CashierReceiptPage-BkrFcnYX.cjs} +1 -1
- package/components/{CashierReceiptPage-8Zj85gPN.js → CashierReceiptPage-tHR4TGVj.js} +2 -2
- package/components/{CashierSessionExpirationModal-By_rsR04.cjs → CashierSessionExpirationModal-BDeUEObo.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-DdHcfR-h.js → CashierSessionExpirationModal-C6oohyu6.js} +2 -2
- package/components/{CashierSessionExpirationModal-TGqUfe5V.js → CashierSessionExpirationModal-DDCB4sdy.js} +2 -2
- package/components/{CashierTransactionHistory-DYO3OXaR.js → CashierTransactionHistory-81elchNC.js} +2 -2
- package/components/{CashierTransactionHistory-C_Svrrcp.js → CashierTransactionHistory-By0H9LB9.js} +2 -2
- package/components/{CashierTransactionHistory-CYbYlycE.cjs → CashierTransactionHistory-DmuIKPTw.cjs} +1 -1
- package/components/{CashierVerifications-DUvGJeeG.js → CashierVerifications-Bf6hKMRe.js} +2 -2
- package/components/{CashierVerifications-CZwRcnKQ.cjs → CashierVerifications-BqZKNI75.cjs} +1 -1
- package/components/{CashierVerifications-D0UNVx7t.js → CashierVerifications-NJ9LN3pZ.js} +2 -2
- 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-CCalHFFZ.js +558 -0
- package/stencil/index-97d17652-CeszPuI-.cjs +1 -0
- package/stencil/index-97d17652-De_e2iwD.js +542 -0
- package/stencil/ui-image-3911756b-B-U8CxGn.cjs +1 -0
- package/stencil/ui-image-3911756b-C-PJ3oso.js +39 -0
- package/stencil/ui-image-3911756b-D1cmuQAe.js +39 -0
- package/stencil/ui-image-CxLeLi3r.cjs +1 -0
- package/stencil/ui-image-D12cpp7q.js +25 -0
- package/stencil/ui-image-jU_A8Cc1.js +7 -0
- package/stencil/ui-image_2-8wL-gGdE.cjs +73 -0
- package/stencil/ui-image_2-BcBI-Hq7.js +154 -0
- package/stencil/ui-image_2-CIsvIZfV.js +154 -0
- package/stencil/index-b7bbd57e-BBUBsGhp.js +0 -550
- package/stencil/index-b7bbd57e-SuDXAV6_.cjs +0 -1
- package/stencil/index-b7bbd57e-wJC_uAuk.js +0 -534
- package/stencil/ui-image-38c3c15f-ByZECnci.js +0 -39
- package/stencil/ui-image-38c3c15f-D_V48h1L.js +0 -39
- package/stencil/ui-image-38c3c15f-VguNkCIq.cjs +0 -1
- package/stencil/ui-image-BNrzgSpe.js +0 -11
- package/stencil/ui-image-CLghOqUz.cjs +0 -1
- package/stencil/ui-image-CPH6BqjQ.js +0 -29
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { E as ti, S as si, b as ni, s as oi, f as O, c as li, n as V, e as M, q as y, P as be, J as ye, l as k, m as H, U as ri, p as
|
|
2
|
-
import { a as mi, i as di, $ as wi, b as pi } from "./CashierError-
|
|
3
|
-
import "./CashierIframeRedirect-
|
|
4
|
-
import { d as He, u as gi } from "./CashierMethodDetails-
|
|
5
|
-
import "../stencil/ui-image-
|
|
1
|
+
import { E as ti, S as si, b as ni, s as oi, f as O, c as li, n as V, e as M, q as y, P as be, J as ye, l as k, m as H, U as ri, p as C, o as b, F as ai, v as ci, H as hi, C as s, w as ui, z as fi, x as S, A as Ke, y as Y, B as K } from "./CashierConfirmModal-D-5CwHBA.js";
|
|
2
|
+
import { a as mi, i as di, $ as wi, b as pi } from "./CashierError-IfMgUjSX.js";
|
|
3
|
+
import "./CashierIframeRedirect-CGFYGp7q.js";
|
|
4
|
+
import { d as He, u as gi } from "./CashierMethodDetails-CxeuIKbH.js";
|
|
5
|
+
import "../stencil/ui-image-jU_A8Cc1.js";
|
|
6
6
|
function Te(i, e) {
|
|
7
7
|
mi(i, e);
|
|
8
8
|
}
|
|
@@ -98,7 +98,7 @@ if (typeof window < "u") {
|
|
|
98
98
|
}
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
|
-
customElements.define = i(customElements.define), import("./CashierVerifications-
|
|
101
|
+
customElements.define = i(customElements.define), import("./CashierVerifications-Bf6hKMRe.js").then(({ default: e }) => {
|
|
102
102
|
!customElements.get("cashier-verifications") && customElements.define("cashier-verifications", e.element);
|
|
103
103
|
});
|
|
104
104
|
}
|
|
@@ -114,7 +114,7 @@ if (typeof window < "u") {
|
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
};
|
|
117
|
-
customElements.define = i(customElements.define), import("./CashierMethodsList-
|
|
117
|
+
customElements.define = i(customElements.define), import("./CashierMethodsList-CkUnfn3F.js").then(({ default: e }) => {
|
|
118
118
|
!customElements.get("cashier-methods-list") && customElements.define("cashier-methods-list", e.element);
|
|
119
119
|
});
|
|
120
120
|
}
|
|
@@ -130,7 +130,7 @@ if (typeof window < "u") {
|
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
132
|
};
|
|
133
|
-
customElements.define = i(customElements.define), import("./CashierMethodDetails-
|
|
133
|
+
customElements.define = i(customElements.define), import("./CashierMethodDetails-CxeuIKbH.js").then((e) => e.C).then(({ default: e }) => {
|
|
134
134
|
!customElements.get("cashier-method-details") && customElements.define("cashier-method-details", e.element);
|
|
135
135
|
});
|
|
136
136
|
}
|
|
@@ -146,7 +146,7 @@ if (typeof window < "u") {
|
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
148
|
};
|
|
149
|
-
customElements.define = i(customElements.define), import("./CashierSessionExpirationModal-
|
|
149
|
+
customElements.define = i(customElements.define), import("./CashierSessionExpirationModal-C6oohyu6.js").then(({ default: e }) => {
|
|
150
150
|
!customElements.get("cashier-session-expiration-modal") && customElements.define("cashier-session-expiration-modal", e.element);
|
|
151
151
|
});
|
|
152
152
|
}
|
|
@@ -162,12 +162,12 @@ if (typeof window < "u") {
|
|
|
162
162
|
}
|
|
163
163
|
};
|
|
164
164
|
};
|
|
165
|
-
customElements.define = i(customElements.define), import("./CashierTransactionHistory-
|
|
165
|
+
customElements.define = i(customElements.define), import("./CashierTransactionHistory-81elchNC.js").then(({ default: e }) => {
|
|
166
166
|
!customElements.get("cashier-transaction-history") && customElements.define("cashier-transaction-history", e.element);
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
169
|
function bi(i) {
|
|
170
|
-
li(i, "svelte-
|
|
170
|
+
li(i, "svelte-1dfmmfe", "@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.DisablePage{container-type:inline-size;container-name:confirm-modal;position:absolute;width:100%;height:100%;z-index:4;top:0;left:0;background-color:transparent}.CashierPageWidget{container-type:inline-size;container-name:deposit-page;height:100%;position:relative;box-sizing:border-box}.CashierPageWidget .CashierMethodDetailsWrapper{display:none}.CashierPageWidget:has(.Header){border-radius:6px;border:1px solid var(--mmw--color-grey-105, #E8E9EB);box-sizing:border-box}.CashierPageWidget:has(.Header) .IframeRedirect{border-radius:6px}.CashierPageWidget:has(.Header) .Content,.CashierPageWidget:has(.Header) .CashierPage,.CashierPageWidget:has(.Header) .DisablePage{height:calc(100% - var(--mmw--header-height, 40px))}.CashierPageWidget:has(.Header) .DisablePage{top:var(--mmw--header-height, 40px)}.CashierPageWidget:has(.Header) cashier-error{display:block;overflow-y:auto;scrollbar-gutter:stable both-edges;height:calc(100% - var(--mmw--header-height, 40px))}.CashierVerificationsMobile{display:none}.CashierVerificationsMethodList{display:block;border-radius:var(--mmw--border-radius-medium-plus, 6px)}.Content{height:100%;position:relative}.CashierMethodListWrapper{height:100%;overflow:auto;box-sizing:border-box;scrollbar-gutter:stable both-edges;padding:var(--emw--spacing-large, 20px) var(--emw--spacing-x-small, 10px) var(--emw--spacing-small, 12px) var(--emw--spacing-x-small, 10px);width:50%;display:flex;flex-direction:column}.CashierMethodListWrapper::-webkit-scrollbar{border-right:none}.CashierMethodListWrapper.WithoutScroll{overflow:hidden}.BothSections .CashierMethodDetailsWrapper{height:100%;overflow:auto;box-sizing:border-box;scrollbar-gutter:stable both-edges;padding:var(--emw--spacing-large, 20px) var(--emw--spacing-x-small, 10px) var(--emw--spacing-small, 12px) var(--emw--spacing-x-small, 10px);display:block;transition:all 1s;width:50%;justify-content:center;position:relative}.BothSections .CashierMethodListWrapper::-webkit-scrollbar{border-right:1px solid var(--emw--color-gray-100, #E0E0E0)}.CashierPage{position:relative;display:flex;flex-direction:row;justify-content:center;height:inherit}cashier-iframe-redirect{height:inherit;width:inherit}cashier-error{height:inherit}.IframeRedirect{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--emw--color-white, #FFF)}.CashierConfirmModalText{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px)}.CashierErrorText{color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorButtonWrapper{width:100%}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E)}.CashierErrorButton:hover{background:var(--mmw--color-main-button-hover, #71B11B)}.CashierErrorButton:active{background:var(--mmw--color-main-button-active, #5C950F)}.CashierErrorContent ui-image img,.CashierErrorIcon ui-image img{width:300px}.MobileView .CashierVerificationsMobile{display:block}.MobileView .CashierVerificationsMethodList{display:none}.MobileView.BothSections .CashierMethodListWrapper{display:none}@container deposit-page (max-width:750px){.CashierPage,.BothSections .CashierPage{flex-direction:column;justify-content:flex-start;gap:0}.CashierPage cashier-methods-list,.CashierPage cashier-method-details,.CashierPage .CashierMethodDetailsWrapper,.BothSections .CashierPage cashier-methods-list,.BothSections .CashierPage cashier-method-details,.BothSections .CashierPage .CashierMethodDetailsWrapper{width:100%;height:100%}cashier-method-details{display:none}.BothSections cashier-method-details{display:flex}.BothSections .CashierMethodListWrapper{display:none}.CashierMethodListWrapper{width:100%}}::-webkit-scrollbar{width:4px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--mmw--color-grey-105, #E8E9EB)}::-webkit-scrollbar-thumb:hover{background:var(--mmw--color-grey-290, #666)}");
|
|
171
171
|
}
|
|
172
172
|
function Ne(i) {
|
|
173
173
|
let e;
|
|
@@ -208,7 +208,7 @@ function Ne(i) {
|
|
|
208
208
|
}
|
|
209
209
|
};
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function Ce(i) {
|
|
212
212
|
let e;
|
|
213
213
|
return {
|
|
214
214
|
c() {
|
|
@@ -222,10 +222,10 @@ function Ze(i) {
|
|
|
222
222
|
}
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
function
|
|
225
|
+
function Ze(i) {
|
|
226
226
|
let e, t, n, r, g, c, f, m, u, h = !!/*showheader*/
|
|
227
227
|
i[10] && /*showheader*/
|
|
228
|
-
i[10] !== "false" &&
|
|
228
|
+
i[10] !== "false" && Je(i), E = (
|
|
229
229
|
/*redirectUrl*/
|
|
230
230
|
i[26] && /*redirectMode*/
|
|
231
231
|
i[34] === /*RedirectionModeStringEnum*/
|
|
@@ -243,7 +243,7 @@ function Je(i) {
|
|
|
243
243
|
);
|
|
244
244
|
return {
|
|
245
245
|
c() {
|
|
246
|
-
h && h.c(), e =
|
|
246
|
+
h && h.c(), e = C(), E && E.c(), t = C(), n = b("cashier-modal"), r = b("div"), g = b("cashier-error"), c = b("div"), w && w.c(), f = C(), a && a.c(), m = C(), p && p.c(), u = ui(), y(c, "slot", "button"), y(c, "class", "CashierErrorButtonWrapper"), s(
|
|
247
247
|
g,
|
|
248
248
|
"assetsurl",
|
|
249
249
|
/*assetsurl*/
|
|
@@ -291,7 +291,7 @@ function Je(i) {
|
|
|
291
291
|
p(l, d) {
|
|
292
292
|
/*showheader*/
|
|
293
293
|
l[10] && /*showheader*/
|
|
294
|
-
l[10] !== "false" ? h ? h.p(l, d) : (h =
|
|
294
|
+
l[10] !== "false" ? h ? h.p(l, d) : (h = Je(l), h.c(), h.m(e.parentNode, e)) : h && (h.d(1), h = null), /*redirectUrl*/
|
|
295
295
|
l[26] && /*redirectMode*/
|
|
296
296
|
l[34] === /*RedirectionModeStringEnum*/
|
|
297
297
|
l[22].Default && !/*errorMessage*/
|
|
@@ -355,7 +355,7 @@ function Je(i) {
|
|
|
355
355
|
}
|
|
356
356
|
};
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function Je(i) {
|
|
359
359
|
let e;
|
|
360
360
|
return {
|
|
361
361
|
c() {
|
|
@@ -723,7 +723,7 @@ function Se(i) {
|
|
|
723
723
|
), m;
|
|
724
724
|
return {
|
|
725
725
|
c() {
|
|
726
|
-
e = b("cashier-confirm-modal"), t = b("span"), r = Y(n), g =
|
|
726
|
+
e = b("cashier-confirm-modal"), t = b("span"), r = Y(n), g = C(), c = b("div"), m = Y(f), y(t, "class", "CashierConfirmModalText"), y(t, "slot", "text"), y(c, "slot", "confirm"), s(
|
|
727
727
|
e,
|
|
728
728
|
"clientstylingurl",
|
|
729
729
|
/*clientstylingurl*/
|
|
@@ -799,7 +799,7 @@ function yi(i) {
|
|
|
799
799
|
);
|
|
800
800
|
return {
|
|
801
801
|
c() {
|
|
802
|
-
e = b("cashier-error"), g && g.c(), t =
|
|
802
|
+
e = b("cashier-error"), g && g.c(), t = C(), c && c.c(), n = C(), f && f.c(), s(
|
|
803
803
|
e,
|
|
804
804
|
"lang",
|
|
805
805
|
/*lang*/
|
|
@@ -897,7 +897,7 @@ function Hi(i) {
|
|
|
897
897
|
i[39] && De(i);
|
|
898
898
|
return {
|
|
899
899
|
c() {
|
|
900
|
-
e = b("div"), w && w.c(), t =
|
|
900
|
+
e = b("div"), w && w.c(), t = C(), n = b("div"), a && a.c(), r = C(), p && p.c(), g = C(), c = b("cashier-methods-list"), m = C(), u = b("div"), h = b("cashier-method-details"), s(
|
|
901
901
|
c,
|
|
902
902
|
"lang",
|
|
903
903
|
/*lang*/
|
|
@@ -1247,36 +1247,36 @@ function ve(i) {
|
|
|
1247
1247
|
/*$_*/
|
|
1248
1248
|
i[41]("continueSession") + ""
|
|
1249
1249
|
), a, p, l;
|
|
1250
|
-
function d(T,
|
|
1250
|
+
function d(T, J) {
|
|
1251
1251
|
return (
|
|
1252
1252
|
/*assetsurl*/
|
|
1253
1253
|
T[8] ? Oi : Ti
|
|
1254
1254
|
);
|
|
1255
1255
|
}
|
|
1256
|
-
let L = d(i),
|
|
1256
|
+
let L = d(i), Z = L(i);
|
|
1257
1257
|
return {
|
|
1258
1258
|
c() {
|
|
1259
|
-
e = b("div"),
|
|
1259
|
+
e = b("div"), Z.c(), t = C(), n = b("span"), g = Y(r), c = C(), f = b("span"), u = Y(m), h = C(), E = b("button"), a = Y(w), y(e, "slot", "icon"), y(e, "class", "CashierErrorIcon"), y(n, "slot", "title"), y(n, "class", "CashierErrorTitle"), y(f, "slot", "text"), y(f, "class", "CashierErrorText"), y(E, "slot", "button"), y(E, "class", "CashierErrorButton");
|
|
1260
1260
|
},
|
|
1261
|
-
m(T,
|
|
1262
|
-
k(T, e,
|
|
1261
|
+
m(T, J) {
|
|
1262
|
+
k(T, e, J), Z.m(e, null), k(T, t, J), k(T, n, J), H(n, g), k(T, c, J), k(T, f, J), H(f, u), k(T, h, J), k(T, E, J), H(E, a), p || (l = Ke(
|
|
1263
1263
|
E,
|
|
1264
1264
|
"click",
|
|
1265
1265
|
/*renewSession*/
|
|
1266
1266
|
i[44]
|
|
1267
1267
|
), p = !0);
|
|
1268
1268
|
},
|
|
1269
|
-
p(T,
|
|
1270
|
-
L === (L = d(T)) &&
|
|
1269
|
+
p(T, J) {
|
|
1270
|
+
L === (L = d(T)) && Z ? Z.p(T, J) : (Z.d(1), Z = L(T), Z && (Z.c(), Z.m(e, null))), J[1] & /*$_*/
|
|
1271
1271
|
1024 && r !== (r = /*$_*/
|
|
1272
|
-
T[41]("sessionExpiredTitle") + "") && S(g, r),
|
|
1272
|
+
T[41]("sessionExpiredTitle") + "") && S(g, r), J[1] & /*$_*/
|
|
1273
1273
|
1024 && m !== (m = /*$_*/
|
|
1274
|
-
T[41]("sessionExpiredText") + "") && S(u, m),
|
|
1274
|
+
T[41]("sessionExpiredText") + "") && S(u, m), J[1] & /*$_*/
|
|
1275
1275
|
1024 && w !== (w = /*$_*/
|
|
1276
1276
|
T[41]("continueSession") + "") && S(a, w);
|
|
1277
1277
|
},
|
|
1278
1278
|
d(T) {
|
|
1279
|
-
T && (M(e), M(t), M(n), M(c), M(f), M(h), M(E)),
|
|
1279
|
+
T && (M(e), M(t), M(n), M(c), M(f), M(h), M(E)), Z.d(), p = !1, l();
|
|
1280
1280
|
}
|
|
1281
1281
|
};
|
|
1282
1282
|
}
|
|
@@ -1326,13 +1326,13 @@ function Le(i) {
|
|
|
1326
1326
|
function h(a, p) {
|
|
1327
1327
|
return (
|
|
1328
1328
|
/*assetsurl*/
|
|
1329
|
-
a[8] ?
|
|
1329
|
+
a[8] ? Ci : Ni
|
|
1330
1330
|
);
|
|
1331
1331
|
}
|
|
1332
1332
|
let E = h(i), w = E(i);
|
|
1333
1333
|
return {
|
|
1334
1334
|
c() {
|
|
1335
|
-
e = b("div"), w.c(), t =
|
|
1335
|
+
e = b("div"), w.c(), t = C(), n = b("span"), g = Y(r), c = C(), f = b("span"), u = Y(m), y(e, "slot", "icon"), y(e, "class", "CashierErrorIcon"), y(n, "slot", "title"), y(n, "class", "CashierErrorTitle"), y(f, "slot", "text"), y(f, "class", "CashierErrorText");
|
|
1336
1336
|
},
|
|
1337
1337
|
m(a, p) {
|
|
1338
1338
|
k(a, e, p), w.m(e, null), k(a, t, p), k(a, n, p), H(n, g), k(a, c, p), k(a, f, p), H(f, u);
|
|
@@ -1364,7 +1364,7 @@ function Ni(i) {
|
|
|
1364
1364
|
}
|
|
1365
1365
|
};
|
|
1366
1366
|
}
|
|
1367
|
-
function
|
|
1367
|
+
function Ci(i) {
|
|
1368
1368
|
let e, t;
|
|
1369
1369
|
return {
|
|
1370
1370
|
c() {
|
|
@@ -1699,17 +1699,17 @@ function De(i) {
|
|
|
1699
1699
|
}
|
|
1700
1700
|
};
|
|
1701
1701
|
}
|
|
1702
|
-
function
|
|
1702
|
+
function Zi(i) {
|
|
1703
1703
|
let e, t, n, r, g, c, f = (
|
|
1704
1704
|
/*showSpinner*/
|
|
1705
1705
|
i[38] && Ne(i)
|
|
1706
1706
|
), m = (
|
|
1707
1707
|
/*isProcessingTxn*/
|
|
1708
|
-
i[27] &&
|
|
1708
|
+
i[27] && Ce()
|
|
1709
1709
|
), u = (
|
|
1710
1710
|
/*lang*/
|
|
1711
1711
|
i[2] && /*isTranslationLoaded*/
|
|
1712
|
-
i[28] &&
|
|
1712
|
+
i[28] && Ze(i)
|
|
1713
1713
|
);
|
|
1714
1714
|
function h(a, p) {
|
|
1715
1715
|
return !/*errorMessage*/
|
|
@@ -1719,7 +1719,7 @@ function Ji(i) {
|
|
|
1719
1719
|
let E = h(i), w = E(i);
|
|
1720
1720
|
return {
|
|
1721
1721
|
c() {
|
|
1722
|
-
f && f.c(), e =
|
|
1722
|
+
f && f.c(), e = C(), t = b("div"), m && m.c(), n = C(), u && u.c(), r = C(), w.c(), y(t, "class", g = /*showMethodDetailsPage*/
|
|
1723
1723
|
i[29] ? "CashierPageWidget BothSections" : "CashierPageWidget"), be(
|
|
1724
1724
|
t,
|
|
1725
1725
|
"height",
|
|
@@ -1745,9 +1745,9 @@ function Ji(i) {
|
|
|
1745
1745
|
p(a, p) {
|
|
1746
1746
|
/*showSpinner*/
|
|
1747
1747
|
a[38] ? f ? f.p(a, p) : (f = Ne(a), f.c(), f.m(e.parentNode, e)) : f && (f.d(1), f = null), /*isProcessingTxn*/
|
|
1748
|
-
a[27] ? m || (m =
|
|
1748
|
+
a[27] ? m || (m = Ce(), m.c(), m.m(t, n)) : m && (m.d(1), m = null), /*lang*/
|
|
1749
1749
|
a[2] && /*isTranslationLoaded*/
|
|
1750
|
-
a[28] ? u ? u.p(a, p) : (u =
|
|
1750
|
+
a[28] ? u ? u.p(a, p) : (u = Ze(a), u.c(), u.m(t, r)) : u && (u.d(1), u = null), E === (E = h(a)) && w ? w.p(a, p) : (w.d(1), w = E(a), w && (w.c(), w.m(t, null))), p[0] & /*showMethodDetailsPage*/
|
|
1751
1751
|
536870912 && g !== (g = /*showMethodDetailsPage*/
|
|
1752
1752
|
a[29] ? "CashierPageWidget BothSections" : "CashierPageWidget") && y(t, "class", g), p[1] & /*dynamicHeight*/
|
|
1753
1753
|
512 && be(
|
|
@@ -1771,7 +1771,7 @@ function Ji(i) {
|
|
|
1771
1771
|
};
|
|
1772
1772
|
}
|
|
1773
1773
|
const X = "100%";
|
|
1774
|
-
function
|
|
1774
|
+
function Ji(i, e, t) {
|
|
1775
1775
|
let n;
|
|
1776
1776
|
ci(i, pi, (o) => t(41, n = o)), He.extend(gi);
|
|
1777
1777
|
var r;
|
|
@@ -1786,7 +1786,7 @@ function Ci(i, e, t) {
|
|
|
1786
1786
|
[["Default", 0], r.Default],
|
|
1787
1787
|
[["Redirect", 1], r.RedirectWithRetry]
|
|
1788
1788
|
].reduce(g, []));
|
|
1789
|
-
let { endpoint: c } = e, { session: f } = e, { lang: m = "en" } = e, { local: u = "en-US" } = e, { translationurl: h } = e, { successurl: E } = e, { failurl: w } = e, { cancelurl: a } = e, { customerid: p } = e, { currency: l } = e, { amount: d } = e, { assetsurl: L } = e, { type:
|
|
1789
|
+
let { endpoint: c } = e, { session: f } = e, { lang: m = "en" } = e, { local: u = "en-US" } = e, { translationurl: h } = e, { successurl: E } = e, { failurl: w } = e, { cancelurl: a } = e, { customerid: p } = e, { currency: l } = e, { amount: d } = e, { assetsurl: L } = e, { type: Z = Fe.Deposit } = e, { channel: T = qe.Desktop } = e, { showheader: J = "true" } = e, { numberofmethodsshown: se } = e, { clientstyling: G = "" } = e, { clientstylingurl: U = "" } = e, { showsessionexpirationmodal: ne = "true" } = e, { showverifications: oe = "true" } = e, { showtransactionhistory: le = "true" } = e, { showclosebutton: re = "false" } = e, { txncount: ae } = e, F, v = {}, Pe = new Intl.NumberFormat(u, { minimumFractionDigits: 2 }), B, q, ce, A = !1, Q, he, j, P = !1, x, I, ue, fe, me, de, _, $, ee = !0, we = !1, ie = X;
|
|
1790
1790
|
const Ge = () => {
|
|
1791
1791
|
Ei(m);
|
|
1792
1792
|
};
|
|
@@ -1815,7 +1815,7 @@ function Ci(i, e, t) {
|
|
|
1815
1815
|
headers: N,
|
|
1816
1816
|
body: JSON.stringify({
|
|
1817
1817
|
Channel: T,
|
|
1818
|
-
Type:
|
|
1818
|
+
Type: Z,
|
|
1819
1819
|
SuccessUrl: E,
|
|
1820
1820
|
CancelUrl: a,
|
|
1821
1821
|
FailUrl: w,
|
|
@@ -1844,7 +1844,7 @@ function Ci(i, e, t) {
|
|
|
1844
1844
|
);
|
|
1845
1845
|
}).catch((z) => console.log(z)).finally(() => t(38, ee = !1));
|
|
1846
1846
|
}, D = () => {
|
|
1847
|
-
P && ge() && !I ? (t(36, _ = v.Label || v.Name), t(37, $ = "true")) : (t(36, _ = `header.${
|
|
1847
|
+
P && ge() && !I ? (t(36, _ = v.Label || v.Name), t(37, $ = "true")) : (t(36, _ = `header.${Z.toLowerCase()}`), t(37, $ = "false"));
|
|
1848
1848
|
}, Ve = () => {
|
|
1849
1849
|
t(24, ce = ge().toString()), D();
|
|
1850
1850
|
}, ge = () => q < 750, Ee = (o) => {
|
|
@@ -1903,11 +1903,11 @@ function Ci(i, e, t) {
|
|
|
1903
1903
|
q = this.clientWidth, t(21, q);
|
|
1904
1904
|
}
|
|
1905
1905
|
return i.$$set = (o) => {
|
|
1906
|
-
"endpoint" in o && t(0, c = o.endpoint), "session" in o && t(1, f = o.session), "lang" in o && t(2, m = o.lang), "local" in o && t(3, u = o.local), "translationurl" in o && t(4, h = o.translationurl), "successurl" in o && t(45, E = o.successurl), "failurl" in o && t(46, w = o.failurl), "cancelurl" in o && t(47, a = o.cancelurl), "customerid" in o && t(5, p = o.customerid), "currency" in o && t(6, l = o.currency), "amount" in o && t(7, d = o.amount), "assetsurl" in o && t(8, L = o.assetsurl), "type" in o && t(9,
|
|
1906
|
+
"endpoint" in o && t(0, c = o.endpoint), "session" in o && t(1, f = o.session), "lang" in o && t(2, m = o.lang), "local" in o && t(3, u = o.local), "translationurl" in o && t(4, h = o.translationurl), "successurl" in o && t(45, E = o.successurl), "failurl" in o && t(46, w = o.failurl), "cancelurl" in o && t(47, a = o.cancelurl), "customerid" in o && t(5, p = o.customerid), "currency" in o && t(6, l = o.currency), "amount" in o && t(7, d = o.amount), "assetsurl" in o && t(8, L = o.assetsurl), "type" in o && t(9, Z = o.type), "channel" in o && t(48, T = o.channel), "showheader" in o && t(10, J = o.showheader), "numberofmethodsshown" in o && t(11, se = o.numberofmethodsshown), "clientstyling" in o && t(12, G = o.clientstyling), "clientstylingurl" in o && t(13, U = o.clientstylingurl), "showsessionexpirationmodal" in o && t(14, ne = o.showsessionexpirationmodal), "showverifications" in o && t(15, oe = o.showverifications), "showtransactionhistory" in o && t(16, le = o.showtransactionhistory), "showclosebutton" in o && t(17, re = o.showclosebutton), "txncount" in o && t(18, ae = o.txncount);
|
|
1907
1907
|
}, i.$$.update = () => {
|
|
1908
1908
|
i.$$.dirty[0] & /*endpoint, session, customerid, lang, type*/
|
|
1909
1909
|
551 | i.$$.dirty[1] & /*channel, successurl, failurl, cancelurl*/
|
|
1910
|
-
245760 && c && f && p && m && T &&
|
|
1910
|
+
245760 && c && f && p && m && T && Z && E && w && a && pe(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1911
1911
|
1052672 && G && B && Xe(), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1912
1912
|
1056768 && U && B && Ae(), i.$$.dirty[0] & /*lang*/
|
|
1913
1913
|
4 && m && Ge(), i.$$.dirty[0] & /*lang*/
|
|
@@ -1925,8 +1925,8 @@ function Ci(i, e, t) {
|
|
|
1925
1925
|
l,
|
|
1926
1926
|
d,
|
|
1927
1927
|
L,
|
|
1928
|
+
Z,
|
|
1928
1929
|
J,
|
|
1929
|
-
C,
|
|
1930
1930
|
se,
|
|
1931
1931
|
G,
|
|
1932
1932
|
U,
|
|
@@ -1974,8 +1974,8 @@ class Wi extends si {
|
|
|
1974
1974
|
super(), ni(
|
|
1975
1975
|
this,
|
|
1976
1976
|
e,
|
|
1977
|
-
Ci,
|
|
1978
1977
|
Ji,
|
|
1978
|
+
Zi,
|
|
1979
1979
|
oi,
|
|
1980
1980
|
{
|
|
1981
1981
|
endpoint: 0,
|