@everymatrix/cashier-page 1.87.26 → 1.87.102
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-DsekS1gS.js → CashierCarousel-BS_3salc.js} +1328 -1321
- package/components/CashierCarousel-BhLbwlL5.js +5736 -0
- package/components/CashierCarousel-Bwhda3Gl.js +5774 -0
- package/components/CashierCarousel-CfPrrhkY.cjs +23 -0
- package/components/{CashierCarousel-BJw_SNG2.js → CashierCarousel-CyAfjImL.js} +1172 -1166
- package/components/CashierCarousel-GM1WPyu3.cjs +23 -0
- package/components/CashierError-BN1XW0cs.cjs +1 -0
- package/components/{CashierError-B1WXlDdK.js → CashierError-CDBKwx0N.js} +212 -206
- package/components/{CashierError-40KPQU2s.js → CashierError-CV6Kq3fN.js} +212 -206
- package/components/CashierError-CXcO-Kju.js +415 -0
- package/components/CashierError-CXwvUOLy.js +415 -0
- package/components/CashierError-D4Au4WNB.cjs +1 -0
- package/components/{CashierHeader-BZvqRar_.js → CashierHeader-BgAqvq1Q.js} +74 -81
- package/components/CashierHeader-BhGRQhkm.cjs +1 -0
- package/components/CashierHeader-C_Mz7ISU.js +397 -0
- package/components/CashierHeader-CaV1gcjZ.js +397 -0
- package/components/CashierHeader-CmAjJv-w.cjs +1 -0
- package/components/{CashierHeader-BfpTyZmQ.js → CashierHeader-DRj1BUdj.js} +78 -85
- package/components/{CashierIframeRedirect-CyI4soMo.js → CashierIframeRedirect-7uZKKZOy.js} +68 -68
- package/components/CashierIframeRedirect-B76kjw0o.js +389 -0
- package/components/{CashierIframeRedirect-DBSuyK9E.cjs → CashierIframeRedirect-BU-0tKNo.cjs} +1 -1
- package/components/{CashierIframeRedirect-2CfxTUrh.js → CashierIframeRedirect-BkvkX6Ih.js} +68 -68
- package/components/CashierIframeRedirect-Ddt7NW02.cjs +1 -0
- package/components/CashierIframeRedirect-DmvuwOL2.js +389 -0
- package/components/{CashierMethodDetails-U6L33HpX.cjs → CashierMethodDetails-BEykktuA.cjs} +4 -4
- package/components/CashierMethodDetails-BX_W3rwH.js +9887 -0
- package/components/{CashierMethodDetails-CuQYMgbw.js → CashierMethodDetails-Bdko0TrB.js} +1574 -1574
- package/components/{CashierMethodDetails-DFXMp3df.js → CashierMethodDetails-C0EaNINa.js} +1611 -1611
- package/components/CashierMethodDetails-DmvyMFjk.cjs +85 -0
- package/components/CashierMethodDetails-i7grZPp4.js +9927 -0
- package/components/CashierMethodsList-B6tMxcnh.js +794 -0
- package/components/{CashierMethodsList-tRbJ56Bk.js → CashierMethodsList-CRWXDpa-.js} +263 -263
- package/components/{CashierMethodsList-CshlP6d7.js → CashierMethodsList-CVSYKCiY.js} +153 -153
- package/components/CashierMethodsList-DSq72RRw.js +809 -0
- package/components/CashierMethodsList-GOTxtR6r.cjs +1 -0
- package/components/CashierMethodsList-LHoZgwVR.cjs +1 -0
- package/components/{CashierModal-BCs-hvy-.js → CashierModal-B7N_nPHW.js} +162 -146
- package/components/CashierModal-C845c3D0.cjs +1 -0
- package/components/CashierModal-CTYxaPKG.js +366 -0
- package/components/{CashierModal-DdvNZLqY.cjs → CashierModal-Cd1uDEwu.cjs} +1 -1
- package/components/{CashierModal-Cyn1bRtX.js → CashierModal-KhxltwKt.js} +123 -139
- package/components/CashierModal-ndVMjksn.js +382 -0
- package/components/{CashierNotifications-CkRmBcgx.js → CashierNotifications-BmarDqdP.js} +34 -34
- package/components/{CashierNotifications-DfV8x-rA.js → CashierNotifications-Bp4KJnpm.js} +34 -34
- package/components/CashierNotifications-D4fUbROm.js +129 -0
- package/components/CashierNotifications-JNstA5Yb.js +129 -0
- package/components/{CashierNotifications-B93HkTiJ.cjs → CashierNotifications-bGhd7Jsw.cjs} +1 -1
- package/components/CashierNotifications-tfTPEiSk.cjs +1 -0
- package/components/CashierPage-4nTfbT_j.js +3994 -0
- package/components/{CashierPage--A8w0jWY.js → CashierPage-BSByd5RU.js} +79 -79
- package/components/CashierPage-Bd71Nhaq.js +4020 -0
- package/components/CashierPage-CHtYMgc0.cjs +1 -0
- package/components/{CashierPage-DJxPlCxY.js → CashierPage-CZ4TSJkx.js} +81 -81
- package/components/{CashierPage-kf1tVNZU.cjs → CashierPage-DfrmhWzm.cjs} +1 -1
- package/components/{CashierReceiptPage-CZbWQvvv.js → CashierReceiptPage-BD3aDt3T.js} +492 -492
- package/components/{CashierReceiptPage-Bp7jFvov.cjs → CashierReceiptPage-BQpEnTyU.cjs} +2 -2
- package/components/CashierReceiptPage-CnyLmUmL.js +1694 -0
- package/components/CashierReceiptPage-DV7Iz4wR.js +1690 -0
- package/components/{CashierReceiptPage-CofNGFj1.js → CashierReceiptPage-DgxlKvM2.js} +518 -518
- package/components/CashierReceiptPage-HRthn--H.cjs +28 -0
- package/components/CashierSessionExpirationModal-B98EEWed.js +1198 -0
- package/components/CashierSessionExpirationModal-CYcBByMT.cjs +2 -0
- package/components/CashierSessionExpirationModal-Ckhir3qN.cjs +2 -0
- package/components/{CashierSessionExpirationModal-Ckh0MnJn.js → CashierSessionExpirationModal-CvYI4jUg.js} +129 -128
- package/components/CashierSessionExpirationModal-D6FwiFE-.js +1198 -0
- package/components/{CashierSessionExpirationModal-CqqS70E7.js → CashierSessionExpirationModal-DM8-SPd3.js} +131 -130
- package/components/CashierSpinner-C0P8ZCtD.js +78 -0
- package/components/{CashierSpinner-BTDAq-Gk.js → CashierSpinner-CeX51xPH.js} +17 -17
- package/components/CashierSpinner-CikMZBzw.cjs +1 -0
- package/components/CashierSpinner-DJTUb5NI.js +78 -0
- package/components/{CashierSpinner-yhu6RHaO.cjs → CashierSpinner-ODmoTC6W.cjs} +1 -1
- package/components/{CashierSpinner-C8tFNM39.js → CashierSpinner-a2VW8q1r.js} +17 -17
- package/components/CashierStepUp-5um8gbUX.js +1068 -0
- package/components/{CashierStepUp-CHNRsm-i.js → CashierStepUp-Bk5fP7qd.js} +243 -243
- package/components/CashierStepUp-CjnvqYJo.cjs +1 -0
- package/components/CashierStepUp-CxawlCYf.cjs +1 -0
- package/components/CashierStepUp-CyO7gmgP.js +1107 -0
- package/components/{CashierStepUp-BTxHmTK2.js → CashierStepUp-DS-UsgrI.js} +294 -294
- package/components/CashierTransactionHistory-5JNtVHcj.js +1305 -0
- package/components/{CashierTransactionHistory-HclQq8wA.cjs → CashierTransactionHistory-Bwc0I09a.cjs} +1 -1
- package/components/CashierTransactionHistory-Cm3ikVPK.js +1305 -0
- package/components/CashierTransactionHistory-CmgO6bXN.cjs +1 -0
- package/components/{CashierTransactionHistory-DTAdYC2Y.js → CashierTransactionHistory-CoqckbJ2.js} +231 -231
- package/components/{CashierTransactionHistory-Bd7CEoaj.js → CashierTransactionHistory-DO6C0I1a.js} +420 -420
- package/components/{CashierVerifications-fPErTC9e.js → CashierVerifications-B8fkVYVD.js} +88 -88
- package/components/CashierVerifications-BmZYiJaN.js +578 -0
- package/components/{CashierVerifications-b9Eeag80.js → CashierVerifications-CuX4vrPf.js} +95 -95
- package/components/CashierVerifications-DkayuISY.cjs +1 -0
- package/components/CashierVerifications-hID6hjDs.js +582 -0
- package/components/{CashierVerifications--VdCm0A0.cjs → CashierVerifications-mSpdNrML.cjs} +1 -1
- package/components/{TxnStatusIcon-Dm5lj3fd.js → TxnStatusIcon-BDnNMhFD.js} +19 -19
- package/components/{TxnStatusIcon-DRLLqFXC.js → TxnStatusIcon-BZMSpoHv.js} +19 -19
- package/components/{TxnStatusIcon-C8lEFNJK.cjs → TxnStatusIcon-C8bPyggx.cjs} +1 -1
- package/components/TxnStatusIcon-HrmfQdAc.js +142 -0
- package/components/TxnStatusIcon-Le-TBKNh.cjs +1 -0
- package/components/TxnStatusIcon-VvYGYLio.js +142 -0
- package/components/{TxnTypeIcons-CFpm5fsz.cjs → TxnTypeIcons-Cc7Yt6gg.cjs} +1 -1
- package/components/{TxnTypeIcons-B32Qcanf.js → TxnTypeIcons-DZRNYWUy.js} +14 -14
- package/components/{TxnTypeIcons-Dwfdotxd.js → TxnTypeIcons-__im0AE_.js} +14 -14
- package/components/TxnTypeIcons-lKki7AUK.js +101 -0
- package/components/TxnTypeIcons-sZUo9qa8.cjs +1 -0
- package/components/TxnTypeIcons-zM86UKOx.js +101 -0
- 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-DvplcHtm.js +558 -0
- package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
- package/stencil/index-97d17652-p-iQtjus.js +542 -0
- package/stencil/index-b2193545-Bvpy7mp9.js +503 -0
- package/stencil/index-b2193545-DxDmFccl.js +519 -0
- package/stencil/index-b2193545-P1qvDl70.cjs +1 -0
- package/stencil/{ui-image-CNaRr0ax.js → ui-image-BIr_PDb-.js} +1 -1
- package/stencil/{ui-image-IJc7Zz_R.cjs → ui-image-CEbrFHSD.cjs} +1 -1
- package/stencil/{ui-image-BsYHwNhO.js → ui-image-D69wsX4B.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
- package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BESQEo1l.js} +2 -2
- package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BfZmduAK.js} +2 -2
- package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
- package/stencil/{ui-skeleton-UxIIZ8UD.cjs → ui-skeleton-CTOStr1f.cjs} +1 -1
- package/stencil/{ui-skeleton-CQ-FgYMx.js → ui-skeleton-UELn0TdO.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-BEwquWmd.cjs → ui-skeleton-ed169f8f-6tILWWI7.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BMrkXoR5.js → ui-skeleton-ed169f8f-DU5yFWqG.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BNn31z1X.js → ui-skeleton-ed169f8f-DmzkEnLt.js} +1 -1
- package/stencil/{ui-skeleton-B9YTz-WD.js → ui-skeleton-i8axfHXy.js} +2 -2
- package/components/CashierCarousel-Uqj8lOn9.cjs +0 -23
- package/components/CashierError-BOmVvy3N.cjs +0 -1
- package/components/CashierHeader-B7XYr24D.cjs +0 -1
- package/components/CashierMethodsList-DueBSlwx.cjs +0 -1
- package/components/CashierSessionExpirationModal-kLS8veZV.cjs +0 -2
- package/components/CashierStepUp-FR5Znqdo.cjs +0 -1
- package/stencil/index-97d17652-B6BYeRne.js +0 -542
- package/stencil/index-97d17652-BOr4KAqq.js +0 -558
- package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
- package/stencil/index-b2193545-B5Q7rnAU.cjs +0 -1
- package/stencil/index-b2193545-CF_fVoFe.js +0 -519
- package/stencil/index-b2193545-DfttkCgg.js +0 -503
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
import { a as X, i as $, $ as tt, S as et, b as st, f as w, c as it, s as nt, d as lt, e as y, g as p, h as A, j as k, k as b, l as M, u as B, m as v, n as L, t as H, o as S, p as C, q as ot, r as at, v as rt, w as U, x as ct, y as ut, A as ft, B as ht, C as gt, D as dt, z as Z, G } from "./CashierCarousel-BS_3salc.js";
|
|
2
|
+
function N(s, t) {
|
|
3
|
+
X(s, t);
|
|
4
|
+
}
|
|
5
|
+
function _t(s) {
|
|
6
|
+
$({
|
|
7
|
+
fallbackLocale: "en"
|
|
8
|
+
}), tt.set(s);
|
|
9
|
+
}
|
|
10
|
+
const R = {
|
|
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
|
+
};
|
|
33
|
+
function mt(s) {
|
|
34
|
+
lt(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)}");
|
|
35
|
+
}
|
|
36
|
+
const wt = (s) => ({}), x = (s) => ({}), bt = (s) => ({}), D = (s) => ({}), Ct = (s) => ({}), O = (s) => ({});
|
|
37
|
+
function q(s) {
|
|
38
|
+
let t, e, l;
|
|
39
|
+
return {
|
|
40
|
+
c() {
|
|
41
|
+
t = p("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");
|
|
42
|
+
},
|
|
43
|
+
m(i, f) {
|
|
44
|
+
b(i, t, f), e || (l = Z(
|
|
45
|
+
t,
|
|
46
|
+
"click",
|
|
47
|
+
/*back*/
|
|
48
|
+
s[6]
|
|
49
|
+
), e = !0);
|
|
50
|
+
},
|
|
51
|
+
p: G,
|
|
52
|
+
d(i) {
|
|
53
|
+
i && C(t), e = !1, l();
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function pt(s) {
|
|
58
|
+
let t, e = (
|
|
59
|
+
/*backButton*/
|
|
60
|
+
s[1] && q(s)
|
|
61
|
+
);
|
|
62
|
+
return {
|
|
63
|
+
c() {
|
|
64
|
+
e && e.c(), t = U();
|
|
65
|
+
},
|
|
66
|
+
m(l, i) {
|
|
67
|
+
e && e.m(l, i), b(l, t, i);
|
|
68
|
+
},
|
|
69
|
+
p(l, i) {
|
|
70
|
+
/*backButton*/
|
|
71
|
+
l[1] ? e ? e.p(l, i) : (e = q(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
72
|
+
},
|
|
73
|
+
d(l) {
|
|
74
|
+
l && C(t), e && e.d(l);
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
function kt(s) {
|
|
79
|
+
let t, e = (
|
|
80
|
+
/*$_*/
|
|
81
|
+
s[4](
|
|
82
|
+
/*titleText*/
|
|
83
|
+
s[2]
|
|
84
|
+
) + ""
|
|
85
|
+
), l;
|
|
86
|
+
return {
|
|
87
|
+
c() {
|
|
88
|
+
t = p("span"), l = ct(e), k(t, "class", "CashierHeaderTitle");
|
|
89
|
+
},
|
|
90
|
+
m(i, f) {
|
|
91
|
+
b(i, t, f), M(t, l);
|
|
92
|
+
},
|
|
93
|
+
p(i, f) {
|
|
94
|
+
f & /*$_, titleText*/
|
|
95
|
+
20 && e !== (e = /*$_*/
|
|
96
|
+
i[4](
|
|
97
|
+
/*titleText*/
|
|
98
|
+
i[2]
|
|
99
|
+
) + "") && ut(l, e);
|
|
100
|
+
},
|
|
101
|
+
d(i) {
|
|
102
|
+
i && C(t);
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
function E(s) {
|
|
107
|
+
let t, e, l;
|
|
108
|
+
return {
|
|
109
|
+
c() {
|
|
110
|
+
t = p("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");
|
|
111
|
+
},
|
|
112
|
+
m(i, f) {
|
|
113
|
+
b(i, t, f), e || (l = Z(
|
|
114
|
+
t,
|
|
115
|
+
"click",
|
|
116
|
+
/*close*/
|
|
117
|
+
s[5]
|
|
118
|
+
), e = !0);
|
|
119
|
+
},
|
|
120
|
+
p: G,
|
|
121
|
+
d(i) {
|
|
122
|
+
i && C(t), e = !1, l();
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
function yt(s) {
|
|
127
|
+
let t, e = (
|
|
128
|
+
/*closeButton*/
|
|
129
|
+
s[3] && E(s)
|
|
130
|
+
);
|
|
131
|
+
return {
|
|
132
|
+
c() {
|
|
133
|
+
e && e.c(), t = U();
|
|
134
|
+
},
|
|
135
|
+
m(l, i) {
|
|
136
|
+
e && e.m(l, i), b(l, t, i);
|
|
137
|
+
},
|
|
138
|
+
p(l, i) {
|
|
139
|
+
/*closeButton*/
|
|
140
|
+
l[3] ? e ? e.p(l, i) : (e = E(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
141
|
+
},
|
|
142
|
+
d(l) {
|
|
143
|
+
l && C(t), e && e.d(l);
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
function Bt(s) {
|
|
148
|
+
let t, e, l, i;
|
|
149
|
+
const f = (
|
|
150
|
+
/*#slots*/
|
|
151
|
+
s[16].leftButton
|
|
152
|
+
), _ = y(
|
|
153
|
+
f,
|
|
154
|
+
s,
|
|
155
|
+
/*$$scope*/
|
|
156
|
+
s[15],
|
|
157
|
+
O
|
|
158
|
+
), a = _ || pt(s), m = (
|
|
159
|
+
/*#slots*/
|
|
160
|
+
s[16].title
|
|
161
|
+
), h = y(
|
|
162
|
+
m,
|
|
163
|
+
s,
|
|
164
|
+
/*$$scope*/
|
|
165
|
+
s[15],
|
|
166
|
+
D
|
|
167
|
+
), r = h || kt(s), g = (
|
|
168
|
+
/*#slots*/
|
|
169
|
+
s[16].rightButton
|
|
170
|
+
), d = y(
|
|
171
|
+
g,
|
|
172
|
+
s,
|
|
173
|
+
/*$$scope*/
|
|
174
|
+
s[15],
|
|
175
|
+
x
|
|
176
|
+
), c = d || yt(s);
|
|
177
|
+
return {
|
|
178
|
+
c() {
|
|
179
|
+
t = p("div"), a && a.c(), e = A(), r && r.c(), l = A(), c && c.c(), k(t, "class", "CashierHeader");
|
|
180
|
+
},
|
|
181
|
+
m(n, u) {
|
|
182
|
+
b(n, t, u), a && a.m(t, null), M(t, e), r && r.m(t, null), M(t, l), c && c.m(t, null), s[17](t), i = !0;
|
|
183
|
+
},
|
|
184
|
+
p(n, [u]) {
|
|
185
|
+
_ ? _.p && (!i || u & /*$$scope*/
|
|
186
|
+
32768) && B(
|
|
187
|
+
_,
|
|
188
|
+
f,
|
|
189
|
+
n,
|
|
190
|
+
/*$$scope*/
|
|
191
|
+
n[15],
|
|
192
|
+
i ? L(
|
|
193
|
+
f,
|
|
194
|
+
/*$$scope*/
|
|
195
|
+
n[15],
|
|
196
|
+
u,
|
|
197
|
+
Ct
|
|
198
|
+
) : v(
|
|
199
|
+
/*$$scope*/
|
|
200
|
+
n[15]
|
|
201
|
+
),
|
|
202
|
+
O
|
|
203
|
+
) : a && a.p && (!i || u & /*backButton*/
|
|
204
|
+
2) && a.p(n, i ? u : -1), h ? h.p && (!i || u & /*$$scope*/
|
|
205
|
+
32768) && B(
|
|
206
|
+
h,
|
|
207
|
+
m,
|
|
208
|
+
n,
|
|
209
|
+
/*$$scope*/
|
|
210
|
+
n[15],
|
|
211
|
+
i ? L(
|
|
212
|
+
m,
|
|
213
|
+
/*$$scope*/
|
|
214
|
+
n[15],
|
|
215
|
+
u,
|
|
216
|
+
bt
|
|
217
|
+
) : v(
|
|
218
|
+
/*$$scope*/
|
|
219
|
+
n[15]
|
|
220
|
+
),
|
|
221
|
+
D
|
|
222
|
+
) : r && r.p && (!i || u & /*$_, titleText*/
|
|
223
|
+
20) && r.p(n, i ? u : -1), d ? d.p && (!i || u & /*$$scope*/
|
|
224
|
+
32768) && B(
|
|
225
|
+
d,
|
|
226
|
+
g,
|
|
227
|
+
n,
|
|
228
|
+
/*$$scope*/
|
|
229
|
+
n[15],
|
|
230
|
+
i ? L(
|
|
231
|
+
g,
|
|
232
|
+
/*$$scope*/
|
|
233
|
+
n[15],
|
|
234
|
+
u,
|
|
235
|
+
wt
|
|
236
|
+
) : v(
|
|
237
|
+
/*$$scope*/
|
|
238
|
+
n[15]
|
|
239
|
+
),
|
|
240
|
+
x
|
|
241
|
+
) : c && c.p && (!i || u & /*closeButton*/
|
|
242
|
+
8) && c.p(n, i ? u : -1);
|
|
243
|
+
},
|
|
244
|
+
i(n) {
|
|
245
|
+
i || (H(a, n), H(r, n), H(c, n), i = !0);
|
|
246
|
+
},
|
|
247
|
+
o(n) {
|
|
248
|
+
S(a, n), S(r, n), S(c, n), i = !1;
|
|
249
|
+
},
|
|
250
|
+
d(n) {
|
|
251
|
+
n && C(t), a && a.d(n), r && r.d(n), c && c.d(n), s[17](null);
|
|
252
|
+
}
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
function vt(s, t, e) {
|
|
256
|
+
let l;
|
|
257
|
+
ot(s, ft, (o) => e(4, l = o));
|
|
258
|
+
let { $$slots: i = {}, $$scope: f } = t, { clientstyling: _ = "" } = t, { clientstylingurl: a = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: r = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: c = "" } = t, n, u, T = !1, F, j = !1;
|
|
259
|
+
const I = () => {
|
|
260
|
+
fetch(m).then((o) => o.json()).then((o) => {
|
|
261
|
+
Object.keys(o).forEach((z) => {
|
|
262
|
+
N(z, o[z]);
|
|
263
|
+
});
|
|
264
|
+
}).catch((o) => {
|
|
265
|
+
console.log(o);
|
|
266
|
+
});
|
|
267
|
+
};
|
|
268
|
+
Object.keys(R).forEach((o) => {
|
|
269
|
+
N(o, R[o]);
|
|
270
|
+
});
|
|
271
|
+
const P = () => {
|
|
272
|
+
_t(g);
|
|
273
|
+
}, W = () => {
|
|
274
|
+
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
275
|
+
}, Y = () => {
|
|
276
|
+
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
277
|
+
}, J = () => {
|
|
278
|
+
e(1, T = !!h && h !== "false");
|
|
279
|
+
}, K = () => {
|
|
280
|
+
e(3, j = !!d && d !== "false");
|
|
281
|
+
}, Q = () => {
|
|
282
|
+
e(2, F = r || "header.general");
|
|
283
|
+
};
|
|
284
|
+
at(() => () => {
|
|
285
|
+
});
|
|
286
|
+
function V(o) {
|
|
287
|
+
ht[o ? "unshift" : "push"](() => {
|
|
288
|
+
n = o, e(0, n);
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
return s.$$set = (o) => {
|
|
292
|
+
"clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8, a = o.clientstylingurl), "translationurl" in o && e(9, m = o.translationurl), "showbackbutton" in o && e(10, h = o.showbackbutton), "title" in o && e(11, r = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, d = o.showclosebutton), "mbsource" in o && e(14, c = o.mbsource), "$$scope" in o && e(15, f = o.$$scope);
|
|
293
|
+
}, s.$$.update = () => {
|
|
294
|
+
s.$$.dirty & /*lang*/
|
|
295
|
+
4096 && g && P(), s.$$.dirty & /*lang, title*/
|
|
296
|
+
6144 && g && r && Q(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
297
|
+
129 && _ && n && gt(n, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
298
|
+
257 && a && n && dt(n, a), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
299
|
+
16385 && c && n && rt(n, `${c}.Style`, u), s.$$.dirty & /*lang, translationurl*/
|
|
300
|
+
4608 && g && m && I(), s.$$.dirty & /*showbackbutton*/
|
|
301
|
+
1024 && h && J(), s.$$.dirty & /*showclosebutton*/
|
|
302
|
+
8192 && d && K();
|
|
303
|
+
}, [
|
|
304
|
+
n,
|
|
305
|
+
T,
|
|
306
|
+
F,
|
|
307
|
+
j,
|
|
308
|
+
l,
|
|
309
|
+
W,
|
|
310
|
+
Y,
|
|
311
|
+
_,
|
|
312
|
+
a,
|
|
313
|
+
m,
|
|
314
|
+
h,
|
|
315
|
+
r,
|
|
316
|
+
g,
|
|
317
|
+
d,
|
|
318
|
+
c,
|
|
319
|
+
f,
|
|
320
|
+
i,
|
|
321
|
+
V
|
|
322
|
+
];
|
|
323
|
+
}
|
|
324
|
+
class Lt extends et {
|
|
325
|
+
constructor(t) {
|
|
326
|
+
super(), st(
|
|
327
|
+
this,
|
|
328
|
+
t,
|
|
329
|
+
vt,
|
|
330
|
+
Bt,
|
|
331
|
+
nt,
|
|
332
|
+
{
|
|
333
|
+
clientstyling: 7,
|
|
334
|
+
clientstylingurl: 8,
|
|
335
|
+
translationurl: 9,
|
|
336
|
+
showbackbutton: 10,
|
|
337
|
+
title: 11,
|
|
338
|
+
lang: 12,
|
|
339
|
+
showclosebutton: 13,
|
|
340
|
+
mbsource: 14
|
|
341
|
+
},
|
|
342
|
+
mt
|
|
343
|
+
);
|
|
344
|
+
}
|
|
345
|
+
get clientstyling() {
|
|
346
|
+
return this.$$.ctx[7];
|
|
347
|
+
}
|
|
348
|
+
set clientstyling(t) {
|
|
349
|
+
this.$$set({ clientstyling: t }), w();
|
|
350
|
+
}
|
|
351
|
+
get clientstylingurl() {
|
|
352
|
+
return this.$$.ctx[8];
|
|
353
|
+
}
|
|
354
|
+
set clientstylingurl(t) {
|
|
355
|
+
this.$$set({ clientstylingurl: t }), w();
|
|
356
|
+
}
|
|
357
|
+
get translationurl() {
|
|
358
|
+
return this.$$.ctx[9];
|
|
359
|
+
}
|
|
360
|
+
set translationurl(t) {
|
|
361
|
+
this.$$set({ translationurl: t }), w();
|
|
362
|
+
}
|
|
363
|
+
get showbackbutton() {
|
|
364
|
+
return this.$$.ctx[10];
|
|
365
|
+
}
|
|
366
|
+
set showbackbutton(t) {
|
|
367
|
+
this.$$set({ showbackbutton: t }), w();
|
|
368
|
+
}
|
|
369
|
+
get title() {
|
|
370
|
+
return this.$$.ctx[11];
|
|
371
|
+
}
|
|
372
|
+
set title(t) {
|
|
373
|
+
this.$$set({ title: t }), w();
|
|
374
|
+
}
|
|
375
|
+
get lang() {
|
|
376
|
+
return this.$$.ctx[12];
|
|
377
|
+
}
|
|
378
|
+
set lang(t) {
|
|
379
|
+
this.$$set({ lang: t }), w();
|
|
380
|
+
}
|
|
381
|
+
get showclosebutton() {
|
|
382
|
+
return this.$$.ctx[13];
|
|
383
|
+
}
|
|
384
|
+
set showclosebutton(t) {
|
|
385
|
+
this.$$set({ showclosebutton: t }), w();
|
|
386
|
+
}
|
|
387
|
+
get mbsource() {
|
|
388
|
+
return this.$$.ctx[14];
|
|
389
|
+
}
|
|
390
|
+
set mbsource(t) {
|
|
391
|
+
this.$$set({ mbsource: t }), w();
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
it(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
|
395
|
+
export {
|
|
396
|
+
Lt as default
|
|
397
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-CfPrrhkY.cjs");function y(i,e){t.addMessages(i,e)}function q(i){t.init({fallbackLocale:"en"}),t.$locale.set(i)}const k={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}}};function x(i){t.append_styles(i,"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)}")}const E=i=>({}),B=i=>({}),P=i=>({}),v=i=>({}),U=i=>({}),L=i=>({});function H(i){let e,n,o;return{c(){e=t.element("div"),e.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>',t.attr(e,"class","CashierHeaderLeftButton")},m(s,h){t.insert(s,e,h),n||(o=t.listen(e,"click",i[6]),n=!0)},p:t.noop,d(s){s&&t.detach(e),n=!1,o()}}}function Z(i){let e,n=i[1]&&H(i);return{c(){n&&n.c(),e=t.empty()},m(o,s){n&&n.m(o,s),t.insert(o,e,s)},p(o,s){o[1]?n?n.p(o,s):(n=H(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function D(i){let e,n=i[4](i[2])+"",o;return{c(){e=t.element("span"),o=t.text(n),t.attr(e,"class","CashierHeaderTitle")},m(s,h){t.insert(s,e,h),t.append(e,o)},p(s,h){h&20&&n!==(n=s[4](s[2])+"")&&t.set_data(o,n)},d(s){s&&t.detach(e)}}}function S(i){let e,n,o;return{c(){e=t.element("span"),e.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>',t.attr(e,"class","CashierHeaderRightButton")},m(s,h){t.insert(s,e,h),n||(o=t.listen(e,"click",i[5]),n=!0)},p:t.noop,d(s){s&&t.detach(e),n=!1,o()}}}function I(i){let e,n=i[3]&&S(i);return{c(){n&&n.c(),e=t.empty()},m(o,s){n&&n.m(o,s),t.insert(o,e,s)},p(o,s){o[3]?n?n.p(o,s):(n=S(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function W(i){let e,n,o,s;const h=i[16].leftButton,m=t.create_slot(h,i,i[15],L),c=m||Z(i),b=i[16].title,g=t.create_slot(b,i,i[15],v),u=g||D(i),_=i[16].rightButton,d=t.create_slot(_,i,i[15],B),f=d||I(i);return{c(){e=t.element("div"),c&&c.c(),n=t.space(),u&&u.c(),o=t.space(),f&&f.c(),t.attr(e,"class","CashierHeader")},m(l,r){t.insert(l,e,r),c&&c.m(e,null),t.append(e,n),u&&u.m(e,null),t.append(e,o),f&&f.m(e,null),i[17](e),s=!0},p(l,[r]){m?m.p&&(!s||r&32768)&&t.update_slot_base(m,h,l,l[15],s?t.get_slot_changes(h,l[15],r,U):t.get_all_dirty_from_scope(l[15]),L):c&&c.p&&(!s||r&2)&&c.p(l,s?r:-1),g?g.p&&(!s||r&32768)&&t.update_slot_base(g,b,l,l[15],s?t.get_slot_changes(b,l[15],r,P):t.get_all_dirty_from_scope(l[15]),v):u&&u.p&&(!s||r&20)&&u.p(l,s?r:-1),d?d.p&&(!s||r&32768)&&t.update_slot_base(d,_,l,l[15],s?t.get_slot_changes(_,l[15],r,E):t.get_all_dirty_from_scope(l[15]),B):f&&f.p&&(!s||r&8)&&f.p(l,s?r:-1)},i(l){s||(t.transition_in(c,l),t.transition_in(u,l),t.transition_in(f,l),s=!0)},o(l){t.transition_out(c,l),t.transition_out(u,l),t.transition_out(f,l),s=!1},d(l){l&&t.detach(e),c&&c.d(l),u&&u.d(l),f&&f.d(l),i[17](null)}}}function Y(i,e,n){let o;t.component_subscribe(i,t.$format,a=>n(4,o=a));let{$$slots:s={},$$scope:h}=e,{clientstyling:m=""}=e,{clientstylingurl:c=""}=e,{translationurl:b=""}=e,{showbackbutton:g=""}=e,{title:u="header.general"}=e,{lang:_="en"}=e,{showclosebutton:d=""}=e,{mbsource:f=""}=e,l,r=!1,w,p=!1;const T=()=>{fetch(b).then(a=>a.json()).then(a=>{Object.keys(a).forEach(C=>{y(C,a[C])})}).catch(a=>{console.log(a)})};Object.keys(k).forEach(a=>{y(a,k[a])});const F=()=>{q(_)},j=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},N=()=>{window.postMessage({type:"BackCashier"},window.location.href)},z=()=>{n(1,r=!!g&&g!=="false")},A=()=>{n(3,p=!!d&&d!=="false")},O=()=>{n(2,w=u||"header.general")};t.onMount(()=>()=>{});function R(a){t.binding_callbacks[a?"unshift":"push"](()=>{l=a,n(0,l)})}return i.$$set=a=>{"clientstyling"in a&&n(7,m=a.clientstyling),"clientstylingurl"in a&&n(8,c=a.clientstylingurl),"translationurl"in a&&n(9,b=a.translationurl),"showbackbutton"in a&&n(10,g=a.showbackbutton),"title"in a&&n(11,u=a.title),"lang"in a&&n(12,_=a.lang),"showclosebutton"in a&&n(13,d=a.showclosebutton),"mbsource"in a&&n(14,f=a.mbsource),"$$scope"in a&&n(15,h=a.$$scope)},i.$$.update=()=>{i.$$.dirty&4096&&_&&F(),i.$$.dirty&6144&&_&&u&&O(),i.$$.dirty&129&&m&&l&&t.setClientStyling(l,m),i.$$.dirty&257&&c&&l&&t.setClientStylingURL(l,c),i.$$.dirty&16385&&f&&l&&t.setStreamStyling(l,`${f}.Style`),i.$$.dirty&4608&&_&&b&&T(),i.$$.dirty&1024&&g&&z(),i.$$.dirty&8192&&d&&A()},[l,r,w,p,o,j,N,m,c,b,g,u,_,d,f,h,s,R]}class M extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,Y,W,t.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},x)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(e){this.$$set({showbackbutton:e}),t.flush()}get title(){return this.$$.ctx[11]}set title(e){this.$$set({title:e}),t.flush()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),t.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(e){this.$$set({showclosebutton:e}),t.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(M,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);exports.default=M;
|