@everymatrix/cashier-page 1.90.38 → 1.91.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/CashierCarousel-BNcnaN7U.js +672 -0
- package/components/CashierCarousel-CDhxtgjT.cjs +1 -0
- package/components/CashierCarousel-tfVH51fj.js +675 -0
- package/components/{CashierError-KbAGLdoj.js → CashierError-BBZp_vCz.js} +16 -15
- package/components/CashierError-BqvEnGrr.cjs +1 -0
- package/components/{CashierError-konEQwnP.js → CashierError-CJCuZ3gS.js} +16 -15
- package/components/CashierHeader-BGA-Qd-S.js +456 -0
- package/components/CashierHeader-BKL2lJFV.cjs +1 -0
- package/components/CashierHeader-Bt5aV48_.js +456 -0
- package/components/CashierIframeRedirect-BFSErhBp.cjs +1 -0
- package/components/{CashierIframeRedirect-C3muwYdO.js → CashierIframeRedirect-BmdHdE-5.js} +91 -106
- package/components/{CashierIframeRedirect-Ti9O6xV-.js → CashierIframeRedirect-pYzLGWrC.js} +93 -108
- package/components/CashierMethodDetails-DVZrNpfS.cjs +85 -0
- package/components/{CashierMethodDetails-B3kqjVcJ.js → CashierMethodDetails-DcSOxSSa.js} +2955 -3380
- package/components/{CashierMethodDetails-BuXvXCMn.js → CashierMethodDetails-pX-AJWAC.js} +2965 -3390
- package/components/{CashierMethodsList-Dz_ZPGDZ.js → CashierMethodsList-Bdv9g-e3.js} +56 -56
- package/components/CashierMethodsList-CKVmXdTC.cjs +1 -0
- package/components/{CashierMethodsList-DxIhgxEL.js → CashierMethodsList-D1cLe15i.js} +65 -65
- package/components/{CashierModal-BsrmgnKi.js → CashierModal-B3zx276E.js} +33 -32
- package/components/CashierModal-J_mZ6ODP.cjs +1 -0
- package/components/{CashierModal-B1pfSpCs.js → CashierModal-v3KI6AFW.js} +37 -36
- package/components/{CashierNotifications-DbJuswYZ.js → CashierNotifications-B2R2A9Ph.js} +5 -5
- package/components/{CashierNotifications-BXxNDzMM.js → CashierNotifications-CS6nM02T.js} +3 -3
- package/components/CashierNotifications-D-OhK4CJ.cjs +1 -0
- package/components/CashierPage-7d2gkNjC.js +9989 -0
- package/components/CashierPage-N8z4Zzox.js +9936 -0
- package/components/CashierPage-flG2gyRG.cjs +23 -0
- package/components/{CashierReceiptPage-DLZjvQui.js → CashierReceiptPage-BAvDYneB.js} +125 -138
- package/components/{CashierReceiptPage-DLp3xTRl.js → CashierReceiptPage-BHsVpacF.js} +125 -138
- package/components/CashierReceiptPage-BLOSwHFv.cjs +26 -0
- package/components/{CashierSessionExpirationModal-DnrJB7FX.js → CashierSessionExpirationModal-Bxct5zbr.js} +280 -267
- package/components/{CashierSessionExpirationModal-D9rAlcNI.js → CashierSessionExpirationModal-fN2A0ywt.js} +267 -254
- package/components/CashierSessionExpirationModal-vmiK0fHD.cjs +2 -0
- package/components/{CashierSpinner-DMrM0bGx.js → CashierSpinner-Ake8hCVD.js} +11 -10
- package/components/CashierSpinner-BUQIDK1i.cjs +1 -0
- package/components/{CashierSpinner-gJqeYU1n.js → CashierSpinner-DXjWZCDg.js} +13 -12
- package/components/CashierStepUp-BtrSk7D-.cjs +1 -0
- package/components/{CashierStepUp-BtmD9q4i.js → CashierStepUp-CcGk8qq_.js} +246 -245
- package/components/{CashierStepUp-B530YrSp.js → CashierStepUp-D2XsYRPV.js} +169 -168
- package/components/CashierTransactionHistory-0iCdtdJ1.cjs +1 -0
- package/components/{CashierTransactionHistory-DGGy4ffC.js → CashierTransactionHistory-C_yz5IP4.js} +71 -71
- package/components/{CashierTransactionHistory-DjJSyWXf.js → CashierTransactionHistory-Dr-rQ2Vi.js} +66 -66
- package/components/{CashierVerifications-CNMavkzY.js → CashierVerifications-DKRqica1.js} +158 -142
- package/components/{CashierVerifications-DWiOQPvm.js → CashierVerifications-dqSxyAIe.js} +118 -102
- package/components/CashierVerifications-v1QrnVcB.cjs +1 -0
- package/components/{TxnStatusIcon-DRFHs_0F.js → TxnStatusIcon-BBJGYEAU.js} +1 -1
- package/components/TxnStatusIcon-BWEAB3rw.cjs +1 -0
- package/components/{TxnStatusIcon-DCSCOAn2.js → TxnStatusIcon-BkGptsYx.js} +8 -8
- package/components/{TxnTypeIcons-Bg7QJKuH.js → TxnTypeIcons-BDTJpcOb.js} +1 -1
- package/components/TxnTypeIcons-Bjn-FpNT.cjs +1 -0
- package/components/{TxnTypeIcons-D37zQDwq.js → TxnTypeIcons-Bmdgcbf2.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +7 -7
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-B-cM-nlR.js +0 -5797
- package/components/CashierCarousel-CXoovlrR.js +0 -5835
- package/components/CashierCarousel-DMrMmClP.cjs +0 -23
- package/components/CashierError-CHGdRh2_.cjs +0 -1
- package/components/CashierHeader-B7FnLv3f.js +0 -397
- package/components/CashierHeader-BbP0idUh.js +0 -397
- package/components/CashierHeader-PvXFHPzQ.cjs +0 -1
- package/components/CashierIframeRedirect-C0AQ3pLh.cjs +0 -1
- package/components/CashierMethodDetails-31NnDFlx.cjs +0 -85
- package/components/CashierMethodsList-Dpc1Qnt_.cjs +0 -1
- package/components/CashierModal-DF8meLAZ.cjs +0 -1
- package/components/CashierNotifications-B8bRZMac.cjs +0 -1
- package/components/CashierPage-CrLOKCt7.js +0 -4485
- package/components/CashierPage-DDNG9YBM.cjs +0 -1
- package/components/CashierPage-Ra2kFFdS.js +0 -4455
- package/components/CashierReceiptPage-CGntD3Ym.cjs +0 -26
- package/components/CashierSessionExpirationModal-BE-FRBRq.cjs +0 -2
- package/components/CashierSpinner-DKYO0FtD.cjs +0 -1
- package/components/CashierStepUp-DKytvkqu.cjs +0 -1
- package/components/CashierTransactionHistory-DK7tE0EW.cjs +0 -1
- package/components/CashierVerifications-8c9sENE2.cjs +0 -1
- package/components/TxnStatusIcon-CWkyVMIU.cjs +0 -1
- package/components/TxnTypeIcons-CTQXT_j5.cjs +0 -1
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
import { a as tt, i as et, $ as st, S as nt, b as it, f as b, s as lt, c as ot, d as at, e as S, g as p, t as B, h as L, u as v, j as H, k as T, l as C, m as M, n as y, o as E, p as k, q as rt, r as ct, v as G, w as ut, x as ft, y as ht, z as I, A as P, B as dt } from "./CashierPage-N8z4Zzox.js";
|
|
2
|
+
function O(s, t) {
|
|
3
|
+
tt(s, t);
|
|
4
|
+
}
|
|
5
|
+
function gt(s) {
|
|
6
|
+
et({
|
|
7
|
+
fallbackLocale: "en"
|
|
8
|
+
}), st.set(s);
|
|
9
|
+
}
|
|
10
|
+
const z = {
|
|
11
|
+
en: {
|
|
12
|
+
header: {
|
|
13
|
+
general: "Cashier",
|
|
14
|
+
deposit: "Deposit",
|
|
15
|
+
withdraw: "Withdraw"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
tr: {
|
|
19
|
+
header: {
|
|
20
|
+
general: "Cashier",
|
|
21
|
+
deposit: "Para Yatır",
|
|
22
|
+
withdraw: "Çekim"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
fr: {
|
|
26
|
+
header: {
|
|
27
|
+
general: "Caisse",
|
|
28
|
+
deposit: "Dépôt",
|
|
29
|
+
withdraw: "Retrait"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}, m = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
33
|
+
function wt(s, t) {
|
|
34
|
+
if (s) {
|
|
35
|
+
const e = document.createElement("style");
|
|
36
|
+
e.innerHTML = t, s.appendChild(e);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
function _t(s, t) {
|
|
40
|
+
if (!s || !t)
|
|
41
|
+
return;
|
|
42
|
+
const e = new URL(t);
|
|
43
|
+
fetch(e.href).then((i) => i.text()).then((i) => {
|
|
44
|
+
const n = document.createElement("style");
|
|
45
|
+
n.innerHTML = i, s && s.appendChild(n);
|
|
46
|
+
}).catch((i) => {
|
|
47
|
+
console.error("There was an error while trying to load client styling from URL", i);
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
function bt(s, t, e, i = !1) {
|
|
51
|
+
if (!window.emMessageBus)
|
|
52
|
+
return;
|
|
53
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !i)
|
|
54
|
+
return e = mt(s, t), e;
|
|
55
|
+
window[m] || (window[m] = {}), e = pt(s, t);
|
|
56
|
+
const a = e.unsubscribe.bind(e), h = () => {
|
|
57
|
+
if (window[m][t]) {
|
|
58
|
+
const r = window[m][t];
|
|
59
|
+
r.refCount > 1 ? r.refCount = r.refCount - 1 : delete window[m][t];
|
|
60
|
+
}
|
|
61
|
+
a();
|
|
62
|
+
};
|
|
63
|
+
return e.unsubscribe = h, e;
|
|
64
|
+
}
|
|
65
|
+
function mt(s, t) {
|
|
66
|
+
const e = document.createElement("style");
|
|
67
|
+
return window.emMessageBus.subscribe(t, (i) => {
|
|
68
|
+
s && (e.innerHTML = i, s.appendChild(e));
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
function pt(s, t) {
|
|
72
|
+
return window.emMessageBus.subscribe(t, (e) => {
|
|
73
|
+
if (!s)
|
|
74
|
+
return;
|
|
75
|
+
const i = s.getRootNode(), n = window[m];
|
|
76
|
+
let a = n[t] && n[t].sheet;
|
|
77
|
+
a ? n[t].refCount = n[t].refCount + 1 : (a = new CSSStyleSheet(), a.replaceSync(e), n[t] = {
|
|
78
|
+
sheet: a,
|
|
79
|
+
refCount: 1
|
|
80
|
+
});
|
|
81
|
+
const h = i.adoptedStyleSheets || [];
|
|
82
|
+
h.includes(a) || (i.adoptedStyleSheets = [...h, a]);
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
function Ct(s) {
|
|
86
|
+
at(s, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.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;fill:var(--emw--color-primary, #F9C405)}");
|
|
87
|
+
}
|
|
88
|
+
const yt = (s) => ({}), N = (s) => ({}), kt = (s) => ({}), x = (s) => ({}), St = (s) => ({}), U = (s) => ({});
|
|
89
|
+
function D(s) {
|
|
90
|
+
let t, e, i;
|
|
91
|
+
return {
|
|
92
|
+
c() {
|
|
93
|
+
t = y("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><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"></path></svg>', k(t, "class", "CashierHeaderLeftButton");
|
|
94
|
+
},
|
|
95
|
+
m(n, a) {
|
|
96
|
+
C(n, t, a), e || (i = P(
|
|
97
|
+
t,
|
|
98
|
+
"click",
|
|
99
|
+
/*back*/
|
|
100
|
+
s[6]
|
|
101
|
+
), e = !0);
|
|
102
|
+
},
|
|
103
|
+
p: I,
|
|
104
|
+
d(n) {
|
|
105
|
+
n && p(t), e = !1, i();
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
function Bt(s) {
|
|
110
|
+
let t, e = (
|
|
111
|
+
/*backButton*/
|
|
112
|
+
s[1] && D(s)
|
|
113
|
+
);
|
|
114
|
+
return {
|
|
115
|
+
c() {
|
|
116
|
+
e && e.c(), t = G();
|
|
117
|
+
},
|
|
118
|
+
m(i, n) {
|
|
119
|
+
e && e.m(i, n), C(i, t, n);
|
|
120
|
+
},
|
|
121
|
+
p(i, n) {
|
|
122
|
+
/*backButton*/
|
|
123
|
+
i[1] ? e ? e.p(i, n) : (e = D(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
124
|
+
},
|
|
125
|
+
d(i) {
|
|
126
|
+
i && p(t), e && e.d(i);
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
function Lt(s) {
|
|
131
|
+
let t, e = (
|
|
132
|
+
/*$_*/
|
|
133
|
+
s[4](
|
|
134
|
+
/*titleText*/
|
|
135
|
+
s[2]
|
|
136
|
+
) + ""
|
|
137
|
+
), i;
|
|
138
|
+
return {
|
|
139
|
+
c() {
|
|
140
|
+
t = y("span"), i = ft(e), k(t, "class", "CashierHeaderTitle");
|
|
141
|
+
},
|
|
142
|
+
m(n, a) {
|
|
143
|
+
C(n, t, a), M(t, i);
|
|
144
|
+
},
|
|
145
|
+
p(n, a) {
|
|
146
|
+
a & /*$_, titleText*/
|
|
147
|
+
20 && e !== (e = /*$_*/
|
|
148
|
+
n[4](
|
|
149
|
+
/*titleText*/
|
|
150
|
+
n[2]
|
|
151
|
+
) + "") && ut(i, e);
|
|
152
|
+
},
|
|
153
|
+
d(n) {
|
|
154
|
+
n && p(t);
|
|
155
|
+
}
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
function q(s) {
|
|
159
|
+
let t, e, i;
|
|
160
|
+
return {
|
|
161
|
+
c() {
|
|
162
|
+
t = y("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><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"></path></svg>', k(t, "class", "CashierHeaderRightButton");
|
|
163
|
+
},
|
|
164
|
+
m(n, a) {
|
|
165
|
+
C(n, t, a), e || (i = P(
|
|
166
|
+
t,
|
|
167
|
+
"click",
|
|
168
|
+
/*close*/
|
|
169
|
+
s[5]
|
|
170
|
+
), e = !0);
|
|
171
|
+
},
|
|
172
|
+
p: I,
|
|
173
|
+
d(n) {
|
|
174
|
+
n && p(t), e = !1, i();
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
function vt(s) {
|
|
179
|
+
let t, e = (
|
|
180
|
+
/*closeButton*/
|
|
181
|
+
s[3] && q(s)
|
|
182
|
+
);
|
|
183
|
+
return {
|
|
184
|
+
c() {
|
|
185
|
+
e && e.c(), t = G();
|
|
186
|
+
},
|
|
187
|
+
m(i, n) {
|
|
188
|
+
e && e.m(i, n), C(i, t, n);
|
|
189
|
+
},
|
|
190
|
+
p(i, n) {
|
|
191
|
+
/*closeButton*/
|
|
192
|
+
i[3] ? e ? e.p(i, n) : (e = q(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
193
|
+
},
|
|
194
|
+
d(i) {
|
|
195
|
+
i && p(t), e && e.d(i);
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
function Ht(s) {
|
|
200
|
+
let t, e, i, n;
|
|
201
|
+
const a = (
|
|
202
|
+
/*#slots*/
|
|
203
|
+
s[16].leftButton
|
|
204
|
+
), h = S(
|
|
205
|
+
a,
|
|
206
|
+
s,
|
|
207
|
+
/*$$scope*/
|
|
208
|
+
s[15],
|
|
209
|
+
U
|
|
210
|
+
), r = h || Bt(s), _ = (
|
|
211
|
+
/*#slots*/
|
|
212
|
+
s[16].title
|
|
213
|
+
), d = S(
|
|
214
|
+
_,
|
|
215
|
+
s,
|
|
216
|
+
/*$$scope*/
|
|
217
|
+
s[15],
|
|
218
|
+
x
|
|
219
|
+
), c = d || Lt(s), g = (
|
|
220
|
+
/*#slots*/
|
|
221
|
+
s[16].rightButton
|
|
222
|
+
), w = S(
|
|
223
|
+
g,
|
|
224
|
+
s,
|
|
225
|
+
/*$$scope*/
|
|
226
|
+
s[15],
|
|
227
|
+
N
|
|
228
|
+
), u = w || vt(s);
|
|
229
|
+
return {
|
|
230
|
+
c() {
|
|
231
|
+
t = y("div"), r && r.c(), e = E(), c && c.c(), i = E(), u && u.c(), k(t, "class", "CashierHeader");
|
|
232
|
+
},
|
|
233
|
+
m(l, f) {
|
|
234
|
+
C(l, t, f), r && r.m(t, null), M(t, e), c && c.m(t, null), M(t, i), u && u.m(t, null), s[17](t), n = !0;
|
|
235
|
+
},
|
|
236
|
+
p(l, [f]) {
|
|
237
|
+
h ? h.p && (!n || f & /*$$scope*/
|
|
238
|
+
32768) && v(
|
|
239
|
+
h,
|
|
240
|
+
a,
|
|
241
|
+
l,
|
|
242
|
+
/*$$scope*/
|
|
243
|
+
l[15],
|
|
244
|
+
n ? T(
|
|
245
|
+
a,
|
|
246
|
+
/*$$scope*/
|
|
247
|
+
l[15],
|
|
248
|
+
f,
|
|
249
|
+
St
|
|
250
|
+
) : H(
|
|
251
|
+
/*$$scope*/
|
|
252
|
+
l[15]
|
|
253
|
+
),
|
|
254
|
+
U
|
|
255
|
+
) : r && r.p && (!n || f & /*backButton*/
|
|
256
|
+
2) && r.p(l, n ? f : -1), d ? d.p && (!n || f & /*$$scope*/
|
|
257
|
+
32768) && v(
|
|
258
|
+
d,
|
|
259
|
+
_,
|
|
260
|
+
l,
|
|
261
|
+
/*$$scope*/
|
|
262
|
+
l[15],
|
|
263
|
+
n ? T(
|
|
264
|
+
_,
|
|
265
|
+
/*$$scope*/
|
|
266
|
+
l[15],
|
|
267
|
+
f,
|
|
268
|
+
kt
|
|
269
|
+
) : H(
|
|
270
|
+
/*$$scope*/
|
|
271
|
+
l[15]
|
|
272
|
+
),
|
|
273
|
+
x
|
|
274
|
+
) : c && c.p && (!n || f & /*$_, titleText*/
|
|
275
|
+
20) && c.p(l, n ? f : -1), w ? w.p && (!n || f & /*$$scope*/
|
|
276
|
+
32768) && v(
|
|
277
|
+
w,
|
|
278
|
+
g,
|
|
279
|
+
l,
|
|
280
|
+
/*$$scope*/
|
|
281
|
+
l[15],
|
|
282
|
+
n ? T(
|
|
283
|
+
g,
|
|
284
|
+
/*$$scope*/
|
|
285
|
+
l[15],
|
|
286
|
+
f,
|
|
287
|
+
yt
|
|
288
|
+
) : H(
|
|
289
|
+
/*$$scope*/
|
|
290
|
+
l[15]
|
|
291
|
+
),
|
|
292
|
+
N
|
|
293
|
+
) : u && u.p && (!n || f & /*closeButton*/
|
|
294
|
+
8) && u.p(l, n ? f : -1);
|
|
295
|
+
},
|
|
296
|
+
i(l) {
|
|
297
|
+
n || (L(r, l), L(c, l), L(u, l), n = !0);
|
|
298
|
+
},
|
|
299
|
+
o(l) {
|
|
300
|
+
B(r, l), B(c, l), B(u, l), n = !1;
|
|
301
|
+
},
|
|
302
|
+
d(l) {
|
|
303
|
+
l && p(t), r && r.d(l), c && c.d(l), u && u.d(l), s[17](null);
|
|
304
|
+
}
|
|
305
|
+
};
|
|
306
|
+
}
|
|
307
|
+
function Tt(s, t, e) {
|
|
308
|
+
let i;
|
|
309
|
+
rt(s, dt, (o) => e(4, i = o));
|
|
310
|
+
let { $$slots: n = {}, $$scope: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: _ = "" } = t, { showbackbutton: d = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: w = "" } = t, { mbsource: u = "" } = t, l, f, A = !1, j, F = !1;
|
|
311
|
+
const Y = () => {
|
|
312
|
+
fetch(_).then((o) => o.json()).then((o) => {
|
|
313
|
+
Object.keys(o).forEach((R) => {
|
|
314
|
+
O(R, o[R]);
|
|
315
|
+
});
|
|
316
|
+
}).catch((o) => {
|
|
317
|
+
console.log(o);
|
|
318
|
+
});
|
|
319
|
+
};
|
|
320
|
+
Object.keys(z).forEach((o) => {
|
|
321
|
+
O(o, z[o]);
|
|
322
|
+
});
|
|
323
|
+
const Z = () => {
|
|
324
|
+
gt(g);
|
|
325
|
+
}, K = () => {
|
|
326
|
+
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
327
|
+
}, J = () => {
|
|
328
|
+
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
329
|
+
}, Q = () => {
|
|
330
|
+
e(1, A = !!d && d !== "false");
|
|
331
|
+
}, V = () => {
|
|
332
|
+
e(3, F = !!w && w !== "false");
|
|
333
|
+
}, X = () => {
|
|
334
|
+
e(2, j = c || "header.general");
|
|
335
|
+
};
|
|
336
|
+
ct(() => () => {
|
|
337
|
+
});
|
|
338
|
+
function $(o) {
|
|
339
|
+
ht[o ? "unshift" : "push"](() => {
|
|
340
|
+
l = o, e(0, l);
|
|
341
|
+
});
|
|
342
|
+
}
|
|
343
|
+
return s.$$set = (o) => {
|
|
344
|
+
"clientstyling" in o && e(7, h = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, _ = o.translationurl), "showbackbutton" in o && e(10, d = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, w = o.showclosebutton), "mbsource" in o && e(14, u = o.mbsource), "$$scope" in o && e(15, a = o.$$scope);
|
|
345
|
+
}, s.$$.update = () => {
|
|
346
|
+
s.$$.dirty & /*lang*/
|
|
347
|
+
4096 && g && Z(), s.$$.dirty & /*lang, title*/
|
|
348
|
+
6144 && g && c && X(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
349
|
+
129 && h && l && wt(l, h), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
350
|
+
257 && r && l && _t(l, r), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
351
|
+
16385 && u && l && bt(l, `${u}.Style`, f), s.$$.dirty & /*lang, translationurl*/
|
|
352
|
+
4608 && g && _ && Y(), s.$$.dirty & /*showbackbutton*/
|
|
353
|
+
1024 && d && Q(), s.$$.dirty & /*showclosebutton*/
|
|
354
|
+
8192 && w && V();
|
|
355
|
+
}, [
|
|
356
|
+
l,
|
|
357
|
+
A,
|
|
358
|
+
j,
|
|
359
|
+
F,
|
|
360
|
+
i,
|
|
361
|
+
K,
|
|
362
|
+
J,
|
|
363
|
+
h,
|
|
364
|
+
r,
|
|
365
|
+
_,
|
|
366
|
+
d,
|
|
367
|
+
c,
|
|
368
|
+
g,
|
|
369
|
+
w,
|
|
370
|
+
u,
|
|
371
|
+
a,
|
|
372
|
+
n,
|
|
373
|
+
$
|
|
374
|
+
];
|
|
375
|
+
}
|
|
376
|
+
class W extends nt {
|
|
377
|
+
constructor(t) {
|
|
378
|
+
super(), it(
|
|
379
|
+
this,
|
|
380
|
+
t,
|
|
381
|
+
Tt,
|
|
382
|
+
Ht,
|
|
383
|
+
lt,
|
|
384
|
+
{
|
|
385
|
+
clientstyling: 7,
|
|
386
|
+
clientstylingurl: 8,
|
|
387
|
+
translationurl: 9,
|
|
388
|
+
showbackbutton: 10,
|
|
389
|
+
title: 11,
|
|
390
|
+
lang: 12,
|
|
391
|
+
showclosebutton: 13,
|
|
392
|
+
mbsource: 14
|
|
393
|
+
},
|
|
394
|
+
Ct
|
|
395
|
+
);
|
|
396
|
+
}
|
|
397
|
+
get clientstyling() {
|
|
398
|
+
return this.$$.ctx[7];
|
|
399
|
+
}
|
|
400
|
+
set clientstyling(t) {
|
|
401
|
+
this.$$set({ clientstyling: t }), b();
|
|
402
|
+
}
|
|
403
|
+
get clientstylingurl() {
|
|
404
|
+
return this.$$.ctx[8];
|
|
405
|
+
}
|
|
406
|
+
set clientstylingurl(t) {
|
|
407
|
+
this.$$set({ clientstylingurl: t }), b();
|
|
408
|
+
}
|
|
409
|
+
get translationurl() {
|
|
410
|
+
return this.$$.ctx[9];
|
|
411
|
+
}
|
|
412
|
+
set translationurl(t) {
|
|
413
|
+
this.$$set({ translationurl: t }), b();
|
|
414
|
+
}
|
|
415
|
+
get showbackbutton() {
|
|
416
|
+
return this.$$.ctx[10];
|
|
417
|
+
}
|
|
418
|
+
set showbackbutton(t) {
|
|
419
|
+
this.$$set({ showbackbutton: t }), b();
|
|
420
|
+
}
|
|
421
|
+
get title() {
|
|
422
|
+
return this.$$.ctx[11];
|
|
423
|
+
}
|
|
424
|
+
set title(t) {
|
|
425
|
+
this.$$set({ title: t }), b();
|
|
426
|
+
}
|
|
427
|
+
get lang() {
|
|
428
|
+
return this.$$.ctx[12];
|
|
429
|
+
}
|
|
430
|
+
set lang(t) {
|
|
431
|
+
this.$$set({ lang: t }), b();
|
|
432
|
+
}
|
|
433
|
+
get showclosebutton() {
|
|
434
|
+
return this.$$.ctx[13];
|
|
435
|
+
}
|
|
436
|
+
set showclosebutton(t) {
|
|
437
|
+
this.$$set({ showclosebutton: t }), b();
|
|
438
|
+
}
|
|
439
|
+
get mbsource() {
|
|
440
|
+
return this.$$.ctx[14];
|
|
441
|
+
}
|
|
442
|
+
set mbsource(t) {
|
|
443
|
+
this.$$set({ mbsource: t }), b();
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
ot(W, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
|
447
|
+
const At = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
448
|
+
__proto__: null,
|
|
449
|
+
default: W
|
|
450
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
451
|
+
export {
|
|
452
|
+
At as C,
|
|
453
|
+
_t as a,
|
|
454
|
+
bt as b,
|
|
455
|
+
wt as s
|
|
456
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-flG2gyRG.cjs"),w=require("./CashierHeader-BKL2lJFV.cjs");function y(i,t){e.addMessages(i,t)}function q(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const v={en:{redirectHeader:"Deposit redirect"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},fr:{redirectHeader:"Redirection du dépôt"}};if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-BUQIDK1i.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function T(i){e.append_styles(i,"svelte-14e65vo",".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}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;width:100%;height:100%;background-color:var(--emw--color-background, #F9FAFF)}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.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;fill:var(--emw--color-primary, #F9C405)}")}function L(i){let t,n,a;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"><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"></path></svg>',e.attr(t,"slot","leftButton"),e.attr(t,"class","CashierHeaderLeftButton")},m(f,m){e.insert(f,t,m),n||(a=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,a()}}}function k(i){let t,n,a;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"><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"></path></svg>',e.attr(t,"slot","rightButton"),e.attr(t,"class","CashierHeaderRightButton")},m(f,m){e.insert(f,t,m),n||(a=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,a()}}}function S(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,a){e.insert(n,t,a)},p(n,a){a&64&&e.set_custom_element_data(t,"clientstylingurl",n[6]),a&32&&e.set_custom_element_data(t,"clientstyling",n[5]),a&16&&e.set_custom_element_data(t,"mbsource",n[4])},d(n){n&&e.detach(t)}}}function I(i){let t,n,a,f,m,d,h,g,_,o=!!i[3]&&i[3]!=="false"&&L(i),r=(!i[3]||i[3]==="false")&&k(i),c=i[9]&&S(i);return{c(){t=e.element("div"),n=e.element("cashier-header"),o&&o.c(),a=e.space(),r&&r.c(),f=e.space(),c&&c.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(s,u){e.insert(s,t,u),e.append(t,n),o&&o.m(n,null),e.append(n,a),r&&r.m(n,null),e.append(t,f),c&&c.m(t,null),e.append(t,m),e.append(t,d),i[13](t),g||(_=e.listen(d,"load",i[12]),g=!0)},p(s,[u]){s[3]&&s[3]!=="false"?o?o.p(s,u):(o=L(s),o.c(),o.m(n,a)):o&&(o.d(1),o=null),!s[3]||s[3]==="false"?r?r.p(s,u):(r=k(s),r.c(),r.m(n,null)):r&&(r.d(1),r=null),u&1&&e.set_custom_element_data(n,"lang",s[0]),u&4&&e.set_custom_element_data(n,"translationurl",s[2]),u&128&&e.set_custom_element_data(n,"title",s[7]),u&8&&e.set_custom_element_data(n,"showbackbutton",s[3]),u&64&&e.set_custom_element_data(n,"clientstylingurl",s[6]),u&32&&e.set_custom_element_data(n,"clientstyling",s[5]),u&16&&e.set_custom_element_data(n,"mbsource",s[4]),s[9]?c?c.p(s,u):(c=S(s),c.c(),c.m(t,m)):c&&(c.d(1),c=null),u&2&&!e.src_url_equal(d.src,h=s[1])&&e.attr(d,"src",h)},i:e.noop,o:e.noop,d(s){s&&e.detach(t),o&&o.d(),r&&r.d(),c&&c.d(),i[13](null),g=!1,_()}}}function O(i,t,n){let{lang:a="en"}=t,{iframeurl:f}=t,{translationurl:m=""}=t,{showbackbutton:d=""}=t,{mbsource:h}=t,{clientstyling:g}=t,{clientstylingurl:_}=t,{title:o=""}=t,r,c,s=!0;const u=()=>{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(v).forEach(l=>{y(l,v[l])});const E=()=>{q(a)},H=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},C=l=>{l.target.src&&n(9,s=!1)},B=()=>window.postMessage({type:"DisableScroll"},window.location.href),R=()=>window.postMessage({type:"EnableScroll"},window.location.href);e.onMount(()=>(B(),()=>{R()}));const F=l=>C(l);function j(l){e.binding_callbacks[l?"unshift":"push"](()=>{r=l,n(8,r)})}return i.$$set=l=>{"lang"in l&&n(0,a=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&&a&&E(),i.$$.dirty&4&&m&&u(),i.$$.dirty&288&&g&&r&&w.setClientStyling(r,g),i.$$.dirty&320&&_&&r&&w.setClientStylingURL(r,_),i.$$.dirty&272&&h&&r&&w.setStreamStyling(r,`${h}.Style`,c)},[a,f,m,d,h,g,_,o,r,s,H,C,F,j]}class M extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,O,I,e.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},T)}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(M,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=M;
|