@everymatrix/cashier-page 1.74.1 → 1.74.2
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-DiJy6WCC.js → CashierConfirmModal-B8OOtTE_.js} +38 -38
- package/components/{CashierConfirmModal-Bl65cs4j.js → CashierConfirmModal-IR_fdiwt.js} +37 -37
- package/components/{CashierError-DT8XXsZb.js → CashierError-DwFDMuO4.js} +538 -506
- package/components/{CashierError-sabBjpnx.js → CashierError-Lwv9a6Jn.js} +538 -506
- package/components/{CashierError-CUi7dlhw.cjs → CashierError-lygql-vp.cjs} +16 -3
- package/components/{CashierHeader-C87PEbuI.cjs → CashierHeader-BBFpE9tm.cjs} +1 -1
- package/components/{CashierHeader-B_TbzRzY.js → CashierHeader-Co4LH4OR.js} +62 -62
- package/components/{CashierHeader-CRNLSN-X.js → CashierHeader-DBbG_kCZ.js} +65 -65
- package/components/{CashierIframeRedirect-zBfOGfH0.js → CashierIframeRedirect-BifoYFS6.js} +43 -43
- package/components/{CashierIframeRedirect-DcI_fdtE.js → CashierIframeRedirect-DLWyFLbS.js} +43 -43
- package/components/{CashierIframeRedirect-q6Z4Yxd2.cjs → CashierIframeRedirect-O2R4PeFx.cjs} +1 -1
- package/components/CashierMethodDetails-BiDcofyV.cjs +86 -0
- package/components/{CashierMethodDetails-SkPBUxsi.js → CashierMethodDetails-Bv4pmeQb.js} +2752 -2747
- package/components/{CashierMethodDetails-CzQGZLT9.js → CashierMethodDetails-DzH-30k0.js} +2692 -2690
- package/components/{CashierMethodsList-BwQxzNhr.js → CashierMethodsList-B81lBh-i.js} +408 -405
- package/components/CashierMethodsList-CqDdABdG.cjs +1 -0
- package/components/{CashierMethodsList-CNZRTEmt.js → CashierMethodsList-SztGlaVA.js} +417 -414
- package/components/{CashierModal-C9DRbWKa.js → CashierModal-BGLiz1Q0.js} +30 -30
- package/components/{CashierModal-l0r5lSbV.js → CashierModal-DPdsjy2Y.js} +27 -27
- package/components/{CashierNotifications-BRaPHw0O.js → CashierNotifications-BVMqQF5E.js} +15 -15
- package/components/{CashierNotifications-C60PYJS0.js → CashierNotifications-zWfvVWp3.js} +15 -15
- package/components/{CashierPage-DcNLQxqw.js → CashierPage-C1gTiNOQ.js} +556 -477
- package/components/{CashierPage-El2u8C5N.js → CashierPage-DOm_w_Mb.js} +556 -477
- package/components/CashierPage-M5GWcvzG.cjs +1 -0
- package/components/{CashierReceiptPage-D-G8rB5N.js → CashierReceiptPage-8oBK9c-w.js} +445 -424
- package/components/{CashierReceiptPage-DfMEJsZx.js → CashierReceiptPage-BG1Sg3_U.js} +471 -446
- package/components/CashierReceiptPage-BKr9Y4z2.cjs +1 -0
- package/components/{CashierSessionExpirationModal-BfPvkDUo.cjs → CashierSessionExpirationModal-25t9wFGB.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-CwWstvB8.js → CashierSessionExpirationModal-DccW5Qt4.js} +58 -49
- package/components/{CashierSessionExpirationModal-BuUgCatI.js → CashierSessionExpirationModal-DctA8xGg.js} +58 -49
- package/components/{CashierSpinner-DGvxbV84.js → CashierSpinner-BJ0-pcso.js} +13 -13
- package/components/{CashierSpinner-CC_b-bLQ.js → CashierSpinner-DX6FQb5G.js} +15 -15
- package/components/{CashierTransactionHistory-D46VIVuo.js → CashierTransactionHistory-DEhh9fZY.js} +58 -58
- package/components/{CashierTransactionHistory-idoNMIZM.cjs → CashierTransactionHistory-DuaiwgJ8.cjs} +1 -1
- package/components/{CashierTransactionHistory-DTgDyhFg.js → CashierTransactionHistory-X005hbwU.js} +75 -75
- package/components/{CashierVerifications-C_StTRQe.cjs → CashierVerifications-BLDRWv6W.cjs} +1 -1
- package/components/{CashierVerifications-3Axu0Hzv.js → CashierVerifications-CHUaPoXN.js} +35 -35
- package/components/{CashierVerifications-xsgXX--M.js → CashierVerifications-DLLCf8wO.js} +36 -36
- package/components/{CashierVideoModal-CLzErDsi.js → CashierVideoModal-4ZsB8TZ-.js} +47 -47
- package/components/{CashierVideoModal-CnhHqo1M.cjs → CashierVideoModal-CBlMdTrM.cjs} +1 -1
- package/components/{CashierVideoModal-DJJAzqj3.js → CashierVideoModal-DOrEnX7J.js} +47 -47
- 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-BD-QREJe.js +558 -0
- package/stencil/index-97d17652-DJqGt8q2.js +542 -0
- package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
- package/stencil/index-b2193545-BhpttWPO.cjs +1 -0
- package/stencil/index-b2193545-DWKmtYUG.js +503 -0
- package/stencil/index-b2193545-Dfy4Cgny.js +519 -0
- package/stencil/{ui-image-BWJXFWH1.js → ui-image-4dZyD9yF.js} +1 -1
- package/stencil/{ui-image-DIEeZy5u.js → ui-image-6u7OR3Eo.js} +1 -1
- package/stencil/{ui-image-ByEXiBzx.cjs → ui-image-CER01gdl.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
- package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-Dh5Eqdlm.js} +2 -2
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-_K8Pt3w9.js} +2 -2
- package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-BTr272EW.js} +2 -2
- package/stencil/{ui-skeleton-9boHSjtG.js → ui-skeleton-P4PO_42z.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-8tYGV8SR.js → ui-skeleton-ae35c6f2-BIdXBK8D.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-IN_dPA5_.js → ui-skeleton-ae35c6f2-C7WHUwAT.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CKgUXOQC.cjs → ui-skeleton-ae35c6f2-D-MGUxCy.cjs} +1 -1
- package/stencil/{ui-skeleton-_yJvAdAL.cjs → ui-skeleton-gIFE_2eg.cjs} +1 -1
- package/components/CashierMethodDetails-DI5D_QCF.cjs +0 -99
- package/components/CashierMethodsList-BuJMDLdX.cjs +0 -1
- package/components/CashierPage-M26PQ4uv.cjs +0 -1
- package/components/CashierReceiptPage-qJvPvJga.cjs +0 -1
- package/stencil/index-97d17652--F7PvMq9.js +0 -542
- package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
- package/stencil/index-97d17652-CCFHkzJw.js +0 -558
- package/stencil/index-b2193545-B8kMF2bI.cjs +0 -1
- package/stencil/index-b2193545-BoSqyMpB.js +0 -519
- package/stencil/index-b2193545-D4dOaNlR.js +0 -503
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as
|
|
2
|
-
import { a as V, i as W, $ as X } from "./CashierError-
|
|
1
|
+
import { S as N, b as q, f as b, c as U, a as Z, d as F, g as p, h as E, I as a, H as S, j as w, k as v, l as _, D as H, n as L, v as k, x as G, y as P, z as J, F as K, G as Q } from "./CashierConfirmModal-B8OOtTE_.js";
|
|
2
|
+
import { a as V, i as W, $ as X } from "./CashierError-DwFDMuO4.js";
|
|
3
3
|
if (typeof window < "u") {
|
|
4
4
|
let i = function(e) {
|
|
5
5
|
return function(...t) {
|
|
@@ -12,7 +12,7 @@ if (typeof window < "u") {
|
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
customElements.define = i(customElements.define), import("./CashierHeader-
|
|
15
|
+
customElements.define = i(customElements.define), import("./CashierHeader-DBbG_kCZ.js").then(({ default: e }) => {
|
|
16
16
|
!customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
|
|
17
17
|
});
|
|
18
18
|
}
|
|
@@ -28,7 +28,7 @@ if (typeof window < "u") {
|
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
|
-
customElements.define = i(customElements.define), import("./CashierSpinner-
|
|
31
|
+
customElements.define = i(customElements.define), import("./CashierSpinner-DX6FQb5G.js").then(({ default: e }) => {
|
|
32
32
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -58,7 +58,7 @@ const D = {
|
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
function x(i) {
|
|
61
|
-
|
|
61
|
+
F(i, "svelte-wuv80u", ".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--emw--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(--emw--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}");
|
|
62
62
|
}
|
|
63
63
|
function I(i) {
|
|
64
64
|
let e, t, n;
|
|
@@ -67,7 +67,7 @@ function I(i) {
|
|
|
67
67
|
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>', w(e, "slot", "leftButton"), w(e, "class", "CashierHeaderLeftButton");
|
|
68
68
|
},
|
|
69
69
|
m(f, h) {
|
|
70
|
-
|
|
70
|
+
v(f, e, h), t || (n = H(
|
|
71
71
|
e,
|
|
72
72
|
"click",
|
|
73
73
|
/*close*/
|
|
@@ -76,18 +76,18 @@ function I(i) {
|
|
|
76
76
|
},
|
|
77
77
|
p: L,
|
|
78
78
|
d(f) {
|
|
79
|
-
f &&
|
|
79
|
+
f && k(e), t = !1, n();
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function j(i) {
|
|
84
84
|
let e, t, n;
|
|
85
85
|
return {
|
|
86
86
|
c() {
|
|
87
87
|
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>', w(e, "slot", "rightButton"), w(e, "class", "CashierHeaderRightButton");
|
|
88
88
|
},
|
|
89
89
|
m(f, h) {
|
|
90
|
-
|
|
90
|
+
v(f, e, h), t || (n = H(
|
|
91
91
|
e,
|
|
92
92
|
"click",
|
|
93
93
|
/*close*/
|
|
@@ -96,11 +96,11 @@ function O(i) {
|
|
|
96
96
|
},
|
|
97
97
|
p: L,
|
|
98
98
|
d(f) {
|
|
99
|
-
f &&
|
|
99
|
+
f && k(e), t = !1, n();
|
|
100
100
|
}
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function O(i) {
|
|
104
104
|
let e;
|
|
105
105
|
return {
|
|
106
106
|
c() {
|
|
@@ -122,7 +122,7 @@ function T(i) {
|
|
|
122
122
|
);
|
|
123
123
|
},
|
|
124
124
|
m(t, n) {
|
|
125
|
-
|
|
125
|
+
v(t, e, n);
|
|
126
126
|
},
|
|
127
127
|
p(t, n) {
|
|
128
128
|
n & /*clientstylingurl*/
|
|
@@ -146,18 +146,18 @@ function T(i) {
|
|
|
146
146
|
);
|
|
147
147
|
},
|
|
148
148
|
d(t) {
|
|
149
|
-
t &&
|
|
149
|
+
t && k(e);
|
|
150
150
|
}
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
153
|
function $(i) {
|
|
154
|
-
let e, t, n, f, h, m, d, g,
|
|
154
|
+
let e, t, n, f, h, m, d, g, y, o = !!/*showbackbutton*/
|
|
155
155
|
i[3] && /*showbackbutton*/
|
|
156
156
|
i[3] !== "false" && I(i), r = (!/*showbackbutton*/
|
|
157
157
|
i[3] || /*showbackbutton*/
|
|
158
|
-
i[3] === "false") &&
|
|
158
|
+
i[3] === "false") && j(i), c = (
|
|
159
159
|
/*isLoading*/
|
|
160
|
-
i[9] &&
|
|
160
|
+
i[9] && O(i)
|
|
161
161
|
);
|
|
162
162
|
return {
|
|
163
163
|
c() {
|
|
@@ -200,7 +200,7 @@ function $(i) {
|
|
|
200
200
|
i[1]) || w(m, "src", d), w(m, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
|
|
201
201
|
},
|
|
202
202
|
m(l, u) {
|
|
203
|
-
|
|
203
|
+
v(l, e, u), _(e, t), o && o.m(t, null), _(t, n), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, h), _(e, m), i[13](e), g || (y = H(
|
|
204
204
|
m,
|
|
205
205
|
"load",
|
|
206
206
|
/*load_handler*/
|
|
@@ -212,7 +212,7 @@ function $(i) {
|
|
|
212
212
|
l[3] && /*showbackbutton*/
|
|
213
213
|
l[3] !== "false" ? o ? o.p(l, u) : (o = I(l), o.c(), o.m(t, n)) : o && (o.d(1), o = null), !/*showbackbutton*/
|
|
214
214
|
l[3] || /*showbackbutton*/
|
|
215
|
-
l[3] === "false" ? r ? r.p(l, u) : (r =
|
|
215
|
+
l[3] === "false" ? r ? r.p(l, u) : (r = j(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
|
|
216
216
|
1 && a(
|
|
217
217
|
t,
|
|
218
218
|
"lang",
|
|
@@ -255,28 +255,28 @@ function $(i) {
|
|
|
255
255
|
/*mbsource*/
|
|
256
256
|
l[4]
|
|
257
257
|
), /*isLoading*/
|
|
258
|
-
l[9] ? c ? c.p(l, u) : (c =
|
|
258
|
+
l[9] ? c ? c.p(l, u) : (c = O(l), c.c(), c.m(e, h)) : c && (c.d(1), c = null), u & /*iframeurl*/
|
|
259
259
|
2 && !S(m.src, d = /*iframeurl*/
|
|
260
260
|
l[1]) && w(m, "src", d);
|
|
261
261
|
},
|
|
262
262
|
i: L,
|
|
263
263
|
o: L,
|
|
264
264
|
d(l) {
|
|
265
|
-
l &&
|
|
265
|
+
l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), g = !1, y();
|
|
266
266
|
}
|
|
267
267
|
};
|
|
268
268
|
}
|
|
269
269
|
function ee(i, e, t) {
|
|
270
|
-
let { lang: n = "en" } = e, { iframeurl: f } = e, { translationurl: h = "" } = e, { showbackbutton: m = "" } = e, { mbsource: d } = e, { clientstyling: g } = e, { clientstylingurl:
|
|
270
|
+
let { lang: n = "en" } = e, { iframeurl: f } = e, { translationurl: h = "" } = e, { showbackbutton: m = "" } = e, { mbsource: d } = e, { clientstyling: g } = e, { clientstylingurl: y } = e, { title: o = "" } = e, r, c = !0;
|
|
271
271
|
const l = () => {
|
|
272
272
|
let s = h;
|
|
273
273
|
if (s)
|
|
274
|
-
return fetch(s).then((
|
|
275
|
-
Object.keys(
|
|
276
|
-
R(M,
|
|
274
|
+
return fetch(s).then((C) => C.json()).then((C) => {
|
|
275
|
+
Object.keys(C).forEach((M) => {
|
|
276
|
+
R(M, C[M]);
|
|
277
277
|
});
|
|
278
|
-
}).catch((
|
|
279
|
-
console.log(
|
|
278
|
+
}).catch((C) => {
|
|
279
|
+
console.log(C);
|
|
280
280
|
});
|
|
281
281
|
};
|
|
282
282
|
Object.keys(D).forEach((s) => {
|
|
@@ -284,28 +284,28 @@ function ee(i, e, t) {
|
|
|
284
284
|
});
|
|
285
285
|
const u = () => {
|
|
286
286
|
Y(n);
|
|
287
|
-
},
|
|
287
|
+
}, T = () => {
|
|
288
288
|
window.postMessage({ type: "CloseIframe" }, window.location.href);
|
|
289
289
|
}, B = (s) => {
|
|
290
290
|
s.target.src && t(9, c = !1);
|
|
291
291
|
};
|
|
292
|
-
|
|
292
|
+
G(() => () => {
|
|
293
293
|
});
|
|
294
|
-
const
|
|
295
|
-
function
|
|
296
|
-
|
|
294
|
+
const z = (s) => B(s);
|
|
295
|
+
function A(s) {
|
|
296
|
+
K[s ? "unshift" : "push"](() => {
|
|
297
297
|
r = s, t(8, r);
|
|
298
298
|
});
|
|
299
299
|
}
|
|
300
300
|
return i.$$set = (s) => {
|
|
301
|
-
"lang" in s && t(0, n = s.lang), "iframeurl" in s && t(1, f = s.iframeurl), "translationurl" in s && t(2, h = s.translationurl), "showbackbutton" in s && t(3, m = s.showbackbutton), "mbsource" in s && t(4, d = s.mbsource), "clientstyling" in s && t(5, g = s.clientstyling), "clientstylingurl" in s && t(6,
|
|
301
|
+
"lang" in s && t(0, n = s.lang), "iframeurl" in s && t(1, f = s.iframeurl), "translationurl" in s && t(2, h = s.translationurl), "showbackbutton" in s && t(3, m = s.showbackbutton), "mbsource" in s && t(4, d = s.mbsource), "clientstyling" in s && t(5, g = s.clientstyling), "clientstylingurl" in s && t(6, y = s.clientstylingurl), "title" in s && t(7, o = s.title);
|
|
302
302
|
}, i.$$.update = () => {
|
|
303
303
|
i.$$.dirty & /*lang*/
|
|
304
304
|
1 && n && u(), i.$$.dirty & /*translationurl*/
|
|
305
305
|
4 && h && l(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
306
|
-
288 && g && r &&
|
|
307
|
-
320 &&
|
|
308
|
-
272 && d && r &&
|
|
306
|
+
288 && g && r && Q(r, g), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
307
|
+
320 && y && r && P(r, y), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
308
|
+
272 && d && r && J(r, `${d}.Style`);
|
|
309
309
|
}, [
|
|
310
310
|
n,
|
|
311
311
|
f,
|
|
@@ -313,24 +313,24 @@ function ee(i, e, t) {
|
|
|
313
313
|
m,
|
|
314
314
|
d,
|
|
315
315
|
g,
|
|
316
|
-
|
|
316
|
+
y,
|
|
317
317
|
o,
|
|
318
318
|
r,
|
|
319
319
|
c,
|
|
320
|
-
|
|
320
|
+
T,
|
|
321
321
|
B,
|
|
322
|
-
|
|
323
|
-
|
|
322
|
+
z,
|
|
323
|
+
A
|
|
324
324
|
];
|
|
325
325
|
}
|
|
326
|
-
class te extends
|
|
326
|
+
class te extends N {
|
|
327
327
|
constructor(e) {
|
|
328
|
-
super(),
|
|
328
|
+
super(), q(
|
|
329
329
|
this,
|
|
330
330
|
e,
|
|
331
331
|
ee,
|
|
332
332
|
$,
|
|
333
|
-
|
|
333
|
+
Z,
|
|
334
334
|
{
|
|
335
335
|
lang: 0,
|
|
336
336
|
iframeurl: 1,
|
|
@@ -393,7 +393,7 @@ class te extends z {
|
|
|
393
393
|
this.$$set({ title: e }), b();
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
|
|
396
|
+
U(te, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
|
|
397
397
|
export {
|
|
398
398
|
te as default
|
|
399
399
|
};
|
package/components/{CashierIframeRedirect-q6Z4Yxd2.cjs → CashierIframeRedirect-O2R4PeFx.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-Dbth1Vwp.cjs"),w=require("./CashierError-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-Dbth1Vwp.cjs"),w=require("./CashierError-lygql-vp.cjs");if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierHeader-BBFpE9tm.cjs")).then(({default:t})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-Dek1XIlD.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function y(i,t){w.addMessages(i,t)}function R(i){w.init({fallbackLocale:"en"}),w.$locale.set(i)}const L={en:{redirectHeader:"Deposit redirect"},"pt-br":{redirectHeader:"Redirecionar depósito"},"es-mx":{redirectHeader:"Redirigir depósito"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},"en-us":{redirectHeader:"Deposit redirect"}};function q(i){e.append_styles(i,"svelte-wuv80u",".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--emw--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(--emw--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}")}function v(i){let t,n,s;return{c(){t=e.element("div"),t.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>',e.attr(t,"slot","leftButton"),e.attr(t,"class","CashierHeaderLeftButton")},m(f,m){e.insert(f,t,m),n||(s=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,s()}}}function k(i){let t,n,s;return{c(){t=e.element("div"),t.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>',e.attr(t,"slot","rightButton"),e.attr(t,"class","CashierHeaderRightButton")},m(f,m){e.insert(f,t,m),n||(s=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,s()}}}function E(i){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",i[6]),e.set_custom_element_data(t,"clientstyling",i[5]),e.set_custom_element_data(t,"mbsource",i[4])},m(n,s){e.insert(n,t,s)},p(n,s){s&64&&e.set_custom_element_data(t,"clientstylingurl",n[6]),s&32&&e.set_custom_element_data(t,"clientstyling",n[5]),s&16&&e.set_custom_element_data(t,"mbsource",n[4])},d(n){n&&e.detach(t)}}}function D(i){let t,n,s,f,m,d,h,g,_,o=!!i[3]&&i[3]!=="false"&&v(i),a=(!i[3]||i[3]==="false")&&k(i),u=i[9]&&E(i);return{c(){t=e.element("div"),n=e.element("cashier-header"),o&&o.c(),s=e.space(),a&&a.c(),f=e.space(),u&&u.c(),m=e.space(),d=e.element("iframe"),e.set_custom_element_data(n,"lang",i[0]),e.set_custom_element_data(n,"translationurl",i[2]),e.set_custom_element_data(n,"title",i[7]),e.set_custom_element_data(n,"showbackbutton",i[3]),e.set_custom_element_data(n,"clientstylingurl",i[6]),e.set_custom_element_data(n,"clientstyling",i[5]),e.set_custom_element_data(n,"mbsource",i[4]),e.src_url_equal(d.src,h=i[1])||e.attr(d,"src",h),e.attr(d,"frameborder","0"),e.attr(t,"class","CashierRedirectIframe")},m(r,c){e.insert(r,t,c),e.append(t,n),o&&o.m(n,null),e.append(n,s),a&&a.m(n,null),e.append(t,f),u&&u.m(t,null),e.append(t,m),e.append(t,d),i[13](t),g||(_=e.listen(d,"load",i[12]),g=!0)},p(r,[c]){r[3]&&r[3]!=="false"?o?o.p(r,c):(o=v(r),o.c(),o.m(n,s)):o&&(o.d(1),o=null),!r[3]||r[3]==="false"?a?a.p(r,c):(a=k(r),a.c(),a.m(n,null)):a&&(a.d(1),a=null),c&1&&e.set_custom_element_data(n,"lang",r[0]),c&4&&e.set_custom_element_data(n,"translationurl",r[2]),c&128&&e.set_custom_element_data(n,"title",r[7]),c&8&&e.set_custom_element_data(n,"showbackbutton",r[3]),c&64&&e.set_custom_element_data(n,"clientstylingurl",r[6]),c&32&&e.set_custom_element_data(n,"clientstyling",r[5]),c&16&&e.set_custom_element_data(n,"mbsource",r[4]),r[9]?u?u.p(r,c):(u=E(r),u.c(),u.m(t,m)):u&&(u.d(1),u=null),c&2&&!e.src_url_equal(d.src,h=r[1])&&e.attr(d,"src",h)},i:e.noop,o:e.noop,d(r){r&&e.detach(t),o&&o.d(),a&&a.d(),u&&u.d(),i[13](null),g=!1,_()}}}function O(i,t,n){let{lang:s="en"}=t,{iframeurl:f}=t,{translationurl:m=""}=t,{showbackbutton:d=""}=t,{mbsource:h}=t,{clientstyling:g}=t,{clientstylingurl:_}=t,{title:o=""}=t,a,u=!0;const r=()=>{let l=m;if(l)return fetch(l).then(b=>b.json()).then(b=>{Object.keys(b).forEach(p=>{y(p,b[p])})}).catch(b=>{console.log(b)})};Object.keys(L).forEach(l=>{y(l,L[l])});const c=()=>{R(s)},M=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},C=l=>{l.target.src&&n(9,u=!1)};e.onMount(()=>()=>{});const S=l=>C(l);function B(l){e.binding_callbacks[l?"unshift":"push"](()=>{a=l,n(8,a)})}return i.$$set=l=>{"lang"in l&&n(0,s=l.lang),"iframeurl"in l&&n(1,f=l.iframeurl),"translationurl"in l&&n(2,m=l.translationurl),"showbackbutton"in l&&n(3,d=l.showbackbutton),"mbsource"in l&&n(4,h=l.mbsource),"clientstyling"in l&&n(5,g=l.clientstyling),"clientstylingurl"in l&&n(6,_=l.clientstylingurl),"title"in l&&n(7,o=l.title)},i.$$.update=()=>{i.$$.dirty&1&&s&&c(),i.$$.dirty&4&&m&&r(),i.$$.dirty&288&&g&&a&&e.setClientStyling(a,g),i.$$.dirty&320&&_&&a&&e.setClientStylingURL(a,_),i.$$.dirty&272&&h&&a&&e.setStreamStyling(a,`${h}.Style`)},[s,f,m,d,h,g,_,o,a,u,M,C,S,B]}class H extends e.SvelteComponent{constructor(t){super(),e.init(this,t,O,D,e.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},q)}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(t){this.$$set({iframeurl:t}),e.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(t){this.$$set({showbackbutton:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get title(){return this.$$.ctx[7]}set title(t){this.$$set({title:t}),e.flush()}}e.create_custom_element(H,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=H;
|