@everymatrix/cashier-page 1.77.4 → 1.77.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CashierError-BEEnpeVH.cjs → CashierError-85r_lbiV.cjs} +4 -4
- package/components/{CashierError-BuW5dJfP.js → CashierError-CteHkwfB.js} +471 -489
- package/components/{CashierError-BL7OTzSK.js → CashierError-In4OzIIA.js} +623 -641
- package/components/{CashierHeader-FDYsDrpF.js → CashierHeader-BeeK80Nf.js} +73 -73
- package/components/{CashierHeader-CkyrZZ8s.js → CashierHeader-DGh4L4vF.js} +74 -74
- package/components/CashierHeader-bssm74cT.cjs +1 -0
- package/components/{CashierIframeRedirect-Db-zgjwP.cjs → CashierIframeRedirect-B2PCgM3_.cjs} +1 -1
- package/components/{CashierIframeRedirect-CmdPA_aZ.js → CashierIframeRedirect-CWs1zVlC.js} +3 -3
- package/components/{CashierIframeRedirect-wlE_YN39.js → CashierIframeRedirect-tRttmemn.js} +3 -3
- package/components/{CashierMethodDetails-B7K0CIlB.cjs → CashierMethodDetails-0UiFXxGB.cjs} +5 -5
- package/components/{CashierMethodDetails-BSBqkHNa.js → CashierMethodDetails-CXghdR2g.js} +127 -127
- package/components/{CashierMethodDetails-C7dG4t8m.js → CashierMethodDetails-tCy-EPwr.js} +127 -127
- package/components/{CashierMethodsList-FNgy0d7U.js → CashierMethodsList-CoALKisj.js} +239 -239
- package/components/{CashierMethodsList-gPmctW-Q.js → CashierMethodsList-D-nRx8wu.js} +256 -256
- package/components/CashierMethodsList-D5XG8usA.cjs +1 -0
- package/components/{CashierModal-BAzO-8NU.js → CashierModal-C49IE2Ol.js} +32 -32
- package/components/{CashierModal-vCh-dC6Q.cjs → CashierModal-CQu7VSLY.cjs} +1 -1
- package/components/{CashierModal-CIWk9EpH.js → CashierModal-CZVHRmZu.js} +36 -36
- package/components/{CashierNotifications-Bgf97-ym.cjs → CashierNotifications-CX0e5h0X.cjs} +1 -1
- package/components/{CashierNotifications-BhA-DfA9.js → CashierNotifications-Cdscp8qT.js} +1 -1
- package/components/{CashierNotifications-CfzNxd6q.js → CashierNotifications-DmdtMYZ2.js} +1 -1
- package/components/{CashierPage-D8YY3wAI.js → CashierPage-CGIvMHE7.js} +577 -595
- package/components/CashierPage-D9oKaypy.cjs +1 -0
- package/components/{CashierPage-DbHvX6nI.js → CashierPage-DlXd_cZV.js} +586 -604
- package/components/{CashierReceiptPage-BzjCwk2b.js → CashierReceiptPage-BlcpLLCo.js} +3 -3
- package/components/{CashierReceiptPage-A1MYfWGW.js → CashierReceiptPage-Bv6emon7.js} +3 -3
- package/components/{CashierReceiptPage-CQyluI1J.cjs → CashierReceiptPage-DE_LkOm4.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-CtakjuI_.js → CashierSessionExpirationModal-3Uya7xVh.js} +444 -462
- package/components/CashierSessionExpirationModal-5KkgklG1.cjs +2 -0
- package/components/{CashierSessionExpirationModal-YWIpKzje.js → CashierSessionExpirationModal-Dxm2K4pN.js} +402 -420
- package/components/{CashierSpinner-DXrTfpLq.js → CashierSpinner-Cz3Wh-IF.js} +1 -1
- package/components/{CashierSpinner-DTztqXMW.cjs → CashierSpinner-DWl8E_o4.cjs} +1 -1
- package/components/{CashierSpinner-CAqB2_pw.js → CashierSpinner-lg9LHAJP.js} +1 -1
- package/components/CashierTransactionHistory-B02OAEKa.js +1305 -0
- package/components/CashierTransactionHistory-BjR4_or_.cjs +1 -0
- package/components/CashierTransactionHistory-CXDAkYHG.js +1305 -0
- package/components/CashierVerifications-BaE9KdGs.js +612 -0
- package/components/CashierVerifications-M462VMAt.cjs +1 -0
- package/components/CashierVerifications-c1_MVNTC.js +608 -0
- package/components/{TxnStatusIcon-Dapc6xhT.cjs → TxnStatusIcon-CTlOyy_y.cjs} +1 -1
- package/components/{TxnStatusIcon-ClddwA7r.js → TxnStatusIcon-DAlixEXq.js} +1 -1
- package/components/{TxnStatusIcon-DPmmaKoK.js → TxnStatusIcon-rx3aknw5.js} +1 -1
- package/components/{TxnTypeIcons-w8LBVBiN.cjs → TxnTypeIcons-CBrT37yr.cjs} +1 -1
- package/components/{TxnTypeIcons-CEcfPpqm.js → TxnTypeIcons-Dvyjxf9B.js} +1 -1
- package/components/{TxnTypeIcons-CWojIltL.js → TxnTypeIcons-xUx3dWMd.js} +1 -1
- 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-256b7d4e-7jcaQ7rC.js +543 -0
- package/stencil/index-256b7d4e-BnoVkrXr.cjs +1 -0
- package/stencil/index-256b7d4e-CSg5Fmgt.js +559 -0
- package/stencil/ui-image-8975d115-BIwRmPA-.cjs +1 -0
- package/stencil/ui-image-8975d115-C8pJTCfZ.js +71 -0
- package/stencil/ui-image-8975d115-DxO6YS6C.js +71 -0
- package/stencil/{ui-image-e4W3SkhP.js → ui-image-B0TLi195.js} +1 -1
- package/stencil/{ui-image-C0iABVS5.cjs → ui-image-CLll1WRz.cjs} +1 -1
- package/stencil/{ui-image-BRBJSkg1.js → ui-image-CayMADxC.js} +1 -1
- package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-CXGY1IY3.cjs} +1 -1
- package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-DwuycSdC.js} +2 -2
- package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-rhY_9uoo.js} +2 -2
- package/components/CashierHeader-D5eAmyvG.cjs +0 -1
- package/components/CashierMethodsList-pakwpTY2.cjs +0 -1
- package/components/CashierPage-DcwM8mwG.cjs +0 -1
- package/components/CashierSessionExpirationModal-Bh3jmXl_.cjs +0 -2
- package/components/CashierTransactionHistory-U9Il8eZb.js +0 -1305
- package/components/CashierTransactionHistory-Y1g5hagc.js +0 -1305
- package/components/CashierTransactionHistory-c_0mTjNo.cjs +0 -1
- package/components/CashierVerifications-BA7PsePr.js +0 -608
- package/components/CashierVerifications-BTvFySIg.js +0 -604
- package/components/CashierVerifications-BlWTY2gh.cjs +0 -1
- package/stencil/index-242ac81a-BqeIndhr.js +0 -554
- package/stencil/index-242ac81a-CI4JxPRf.js +0 -538
- package/stencil/index-242ac81a-CjjM4VND.cjs +0 -1
- package/stencil/ui-image-2ff23cd5-BHGIWJop.cjs +0 -1
- package/stencil/ui-image-2ff23cd5-D0rXudCW.js +0 -86
- package/stencil/ui-image-2ff23cd5-DCLQ0SIO.js +0 -86
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as V, i as X, $, S as tt, b as et, f as
|
|
2
|
-
function
|
|
1
|
+
import { a as V, i as X, $, S as tt, b as et, f as w, s as st, c as nt, d as it, e as y, g as b, t as B, h as L, u as v, j as H, k as F, l as C, m as S, n as p, o as z, p as k, q as lt, r as ot, v as q, w as at, x as rt, y as ct, z as U, A as W, B as ft, C as ut, D as ht, E as gt } from "./CashierError-In4OzIIA.js";
|
|
2
|
+
function A(s, t) {
|
|
3
3
|
V(s, t);
|
|
4
4
|
}
|
|
5
5
|
function dt(s) {
|
|
@@ -7,7 +7,7 @@ function dt(s) {
|
|
|
7
7
|
fallbackLocale: "en"
|
|
8
8
|
}), $.set(s);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
10
|
+
const N = {
|
|
11
11
|
en: {
|
|
12
12
|
header: {
|
|
13
13
|
general: "Cashier",
|
|
@@ -31,47 +31,47 @@ const x = {
|
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
function _t(s) {
|
|
34
|
-
it(s, "svelte-
|
|
34
|
+
it(s, "svelte-brbf89", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);width:100%;padding:10px 0}.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, #3854FF)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #3854FF)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #3854FF);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;stroke:var(--emw--color-primary, #3854FF)}");
|
|
35
35
|
}
|
|
36
|
-
const mt = (s) => ({}),
|
|
37
|
-
function
|
|
36
|
+
const mt = (s) => ({}), x = (s) => ({}), wt = (s) => ({}), R = (s) => ({}), bt = (s) => ({}), D = (s) => ({});
|
|
37
|
+
function E(s) {
|
|
38
38
|
let t, e, l;
|
|
39
39
|
return {
|
|
40
40
|
c() {
|
|
41
41
|
t = p("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>', k(t, "class", "CashierHeaderLeftButton");
|
|
42
42
|
},
|
|
43
|
-
m(n,
|
|
44
|
-
C(n, t,
|
|
43
|
+
m(n, u) {
|
|
44
|
+
C(n, t, u), e || (l = W(
|
|
45
45
|
t,
|
|
46
46
|
"click",
|
|
47
47
|
/*back*/
|
|
48
48
|
s[6]
|
|
49
49
|
), e = !0);
|
|
50
50
|
},
|
|
51
|
-
p:
|
|
51
|
+
p: U,
|
|
52
52
|
d(n) {
|
|
53
|
-
n &&
|
|
53
|
+
n && b(t), e = !1, l();
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
function Ct(s) {
|
|
58
58
|
let t, e = (
|
|
59
59
|
/*backButton*/
|
|
60
|
-
s[1] &&
|
|
60
|
+
s[1] && E(s)
|
|
61
61
|
);
|
|
62
62
|
return {
|
|
63
63
|
c() {
|
|
64
|
-
e && e.c(), t =
|
|
64
|
+
e && e.c(), t = q();
|
|
65
65
|
},
|
|
66
66
|
m(l, n) {
|
|
67
67
|
e && e.m(l, n), C(l, t, n);
|
|
68
68
|
},
|
|
69
69
|
p(l, n) {
|
|
70
70
|
/*backButton*/
|
|
71
|
-
l[1] ? e ? e.p(l, n) : (e =
|
|
71
|
+
l[1] ? e ? e.p(l, n) : (e = E(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
72
72
|
},
|
|
73
73
|
d(l) {
|
|
74
|
-
l &&
|
|
74
|
+
l && b(t), e && e.d(l);
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
}
|
|
@@ -87,11 +87,11 @@ function pt(s) {
|
|
|
87
87
|
c() {
|
|
88
88
|
t = p("span"), l = rt(e), k(t, "class", "CashierHeaderTitle");
|
|
89
89
|
},
|
|
90
|
-
m(n,
|
|
91
|
-
C(n, t,
|
|
90
|
+
m(n, u) {
|
|
91
|
+
C(n, t, u), S(t, l);
|
|
92
92
|
},
|
|
93
|
-
p(n,
|
|
94
|
-
|
|
93
|
+
p(n, u) {
|
|
94
|
+
u & /*$_, titleText*/
|
|
95
95
|
20 && e !== (e = /*$_*/
|
|
96
96
|
n[4](
|
|
97
97
|
/*titleText*/
|
|
@@ -99,58 +99,58 @@ function pt(s) {
|
|
|
99
99
|
) + "") && at(l, e);
|
|
100
100
|
},
|
|
101
101
|
d(n) {
|
|
102
|
-
n &&
|
|
102
|
+
n && b(t);
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function O(s) {
|
|
107
107
|
let t, e, l;
|
|
108
108
|
return {
|
|
109
109
|
c() {
|
|
110
110
|
t = p("span"), 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>', k(t, "class", "CashierHeaderRightButton");
|
|
111
111
|
},
|
|
112
|
-
m(n,
|
|
113
|
-
C(n, t,
|
|
112
|
+
m(n, u) {
|
|
113
|
+
C(n, t, u), e || (l = W(
|
|
114
114
|
t,
|
|
115
115
|
"click",
|
|
116
116
|
/*close*/
|
|
117
117
|
s[5]
|
|
118
118
|
), e = !0);
|
|
119
119
|
},
|
|
120
|
-
p:
|
|
120
|
+
p: U,
|
|
121
121
|
d(n) {
|
|
122
|
-
n &&
|
|
122
|
+
n && b(t), e = !1, l();
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
126
|
function kt(s) {
|
|
127
127
|
let t, e = (
|
|
128
128
|
/*closeButton*/
|
|
129
|
-
s[3] &&
|
|
129
|
+
s[3] && O(s)
|
|
130
130
|
);
|
|
131
131
|
return {
|
|
132
132
|
c() {
|
|
133
|
-
e && e.c(), t =
|
|
133
|
+
e && e.c(), t = q();
|
|
134
134
|
},
|
|
135
135
|
m(l, n) {
|
|
136
136
|
e && e.m(l, n), C(l, t, n);
|
|
137
137
|
},
|
|
138
138
|
p(l, n) {
|
|
139
139
|
/*closeButton*/
|
|
140
|
-
l[3] ? e ? e.p(l, n) : (e =
|
|
140
|
+
l[3] ? e ? e.p(l, n) : (e = O(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
141
141
|
},
|
|
142
142
|
d(l) {
|
|
143
|
-
l &&
|
|
143
|
+
l && b(t), e && e.d(l);
|
|
144
144
|
}
|
|
145
145
|
};
|
|
146
146
|
}
|
|
147
147
|
function yt(s) {
|
|
148
148
|
let t, e, l, n;
|
|
149
|
-
const
|
|
149
|
+
const u = (
|
|
150
150
|
/*#slots*/
|
|
151
151
|
s[16].leftButton
|
|
152
152
|
), _ = y(
|
|
153
|
-
|
|
153
|
+
u,
|
|
154
154
|
s,
|
|
155
155
|
/*$$scope*/
|
|
156
156
|
s[15],
|
|
@@ -172,29 +172,29 @@ function yt(s) {
|
|
|
172
172
|
s,
|
|
173
173
|
/*$$scope*/
|
|
174
174
|
s[15],
|
|
175
|
-
|
|
176
|
-
),
|
|
175
|
+
x
|
|
176
|
+
), f = d || kt(s);
|
|
177
177
|
return {
|
|
178
178
|
c() {
|
|
179
|
-
t = p("div"), r && r.c(), e = z(), c && c.c(), l = z(),
|
|
179
|
+
t = p("div"), r && r.c(), e = z(), c && c.c(), l = z(), f && f.c(), k(t, "class", "CashierHeader");
|
|
180
180
|
},
|
|
181
181
|
m(i, a) {
|
|
182
|
-
C(i, t, a), r && r.m(t, null),
|
|
182
|
+
C(i, t, a), r && r.m(t, null), S(t, e), c && c.m(t, null), S(t, l), f && f.m(t, null), s[17](t), n = !0;
|
|
183
183
|
},
|
|
184
184
|
p(i, [a]) {
|
|
185
185
|
_ ? _.p && (!n || a & /*$$scope*/
|
|
186
186
|
32768) && v(
|
|
187
187
|
_,
|
|
188
|
-
|
|
188
|
+
u,
|
|
189
189
|
i,
|
|
190
190
|
/*$$scope*/
|
|
191
191
|
i[15],
|
|
192
|
-
n ?
|
|
193
|
-
|
|
192
|
+
n ? F(
|
|
193
|
+
u,
|
|
194
194
|
/*$$scope*/
|
|
195
195
|
i[15],
|
|
196
196
|
a,
|
|
197
|
-
|
|
197
|
+
bt
|
|
198
198
|
) : H(
|
|
199
199
|
/*$$scope*/
|
|
200
200
|
i[15]
|
|
@@ -208,12 +208,12 @@ function yt(s) {
|
|
|
208
208
|
i,
|
|
209
209
|
/*$$scope*/
|
|
210
210
|
i[15],
|
|
211
|
-
n ?
|
|
211
|
+
n ? F(
|
|
212
212
|
m,
|
|
213
213
|
/*$$scope*/
|
|
214
214
|
i[15],
|
|
215
215
|
a,
|
|
216
|
-
|
|
216
|
+
wt
|
|
217
217
|
) : H(
|
|
218
218
|
/*$$scope*/
|
|
219
219
|
i[15]
|
|
@@ -227,7 +227,7 @@ function yt(s) {
|
|
|
227
227
|
i,
|
|
228
228
|
/*$$scope*/
|
|
229
229
|
i[15],
|
|
230
|
-
n ?
|
|
230
|
+
n ? F(
|
|
231
231
|
g,
|
|
232
232
|
/*$$scope*/
|
|
233
233
|
i[15],
|
|
@@ -237,49 +237,49 @@ function yt(s) {
|
|
|
237
237
|
/*$$scope*/
|
|
238
238
|
i[15]
|
|
239
239
|
),
|
|
240
|
-
|
|
241
|
-
) :
|
|
242
|
-
8) &&
|
|
240
|
+
x
|
|
241
|
+
) : f && f.p && (!n || a & /*closeButton*/
|
|
242
|
+
8) && f.p(i, n ? a : -1);
|
|
243
243
|
},
|
|
244
244
|
i(i) {
|
|
245
|
-
n || (L(r, i), L(c, i), L(
|
|
245
|
+
n || (L(r, i), L(c, i), L(f, i), n = !0);
|
|
246
246
|
},
|
|
247
247
|
o(i) {
|
|
248
|
-
B(r, i), B(c, i), B(
|
|
248
|
+
B(r, i), B(c, i), B(f, i), n = !1;
|
|
249
249
|
},
|
|
250
250
|
d(i) {
|
|
251
|
-
i &&
|
|
251
|
+
i && b(t), r && r.d(i), c && c.d(i), f && f.d(i), s[17](null);
|
|
252
252
|
}
|
|
253
253
|
};
|
|
254
254
|
}
|
|
255
255
|
function Bt(s, t, e) {
|
|
256
256
|
let l;
|
|
257
|
-
lt(s,
|
|
258
|
-
let { $$slots: n = {}, $$scope:
|
|
259
|
-
const
|
|
257
|
+
lt(s, ft, (o) => e(4, l = o));
|
|
258
|
+
let { $$slots: n = {}, $$scope: u } = t, { clientstyling: _ = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: f = "" } = t, i, a = !1, M, T = !1;
|
|
259
|
+
const Z = () => {
|
|
260
260
|
fetch(m).then((o) => o.json()).then((o) => {
|
|
261
261
|
Object.keys(o).forEach((j) => {
|
|
262
|
-
|
|
262
|
+
A(j, o[j]);
|
|
263
263
|
});
|
|
264
264
|
}).catch((o) => {
|
|
265
265
|
console.log(o);
|
|
266
266
|
});
|
|
267
267
|
};
|
|
268
|
-
Object.keys(
|
|
269
|
-
|
|
268
|
+
Object.keys(N).forEach((o) => {
|
|
269
|
+
A(o, N[o]);
|
|
270
270
|
});
|
|
271
|
-
const
|
|
271
|
+
const I = () => {
|
|
272
272
|
dt(g);
|
|
273
|
-
},
|
|
273
|
+
}, P = () => {
|
|
274
274
|
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
275
|
-
},
|
|
275
|
+
}, Y = () => {
|
|
276
276
|
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
277
277
|
}, G = () => {
|
|
278
278
|
e(1, a = !!h && h !== "false");
|
|
279
279
|
}, J = () => {
|
|
280
|
-
e(3,
|
|
280
|
+
e(3, T = !!d && d !== "false");
|
|
281
281
|
}, K = () => {
|
|
282
|
-
e(2,
|
|
282
|
+
e(2, M = c || "header.general");
|
|
283
283
|
};
|
|
284
284
|
ot(() => () => {
|
|
285
285
|
});
|
|
@@ -289,25 +289,25 @@ function Bt(s, t, e) {
|
|
|
289
289
|
});
|
|
290
290
|
}
|
|
291
291
|
return s.$$set = (o) => {
|
|
292
|
-
"clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, m = o.translationurl), "showbackbutton" in o && e(10, h = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, d = o.showclosebutton), "mbsource" in o && e(14,
|
|
292
|
+
"clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, m = o.translationurl), "showbackbutton" in o && e(10, h = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, d = o.showclosebutton), "mbsource" in o && e(14, f = o.mbsource), "$$scope" in o && e(15, u = o.$$scope);
|
|
293
293
|
}, s.$$.update = () => {
|
|
294
294
|
s.$$.dirty & /*lang*/
|
|
295
|
-
4096 && g &&
|
|
295
|
+
4096 && g && I(), s.$$.dirty & /*lang, title*/
|
|
296
296
|
6144 && g && c && K(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
297
|
-
129 && _ && i &&
|
|
297
|
+
129 && _ && i && ut(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
298
298
|
257 && r && i && ht(i, r), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
299
|
-
16385 &&
|
|
300
|
-
4608 && g && m &&
|
|
299
|
+
16385 && f && i && gt(i, `${f}.Style`), s.$$.dirty & /*lang, translationurl*/
|
|
300
|
+
4608 && g && m && Z(), s.$$.dirty & /*showbackbutton*/
|
|
301
301
|
1024 && h && G(), s.$$.dirty & /*showclosebutton*/
|
|
302
302
|
8192 && d && J();
|
|
303
303
|
}, [
|
|
304
304
|
i,
|
|
305
305
|
a,
|
|
306
|
+
M,
|
|
306
307
|
T,
|
|
307
|
-
E,
|
|
308
308
|
l,
|
|
309
|
+
P,
|
|
309
310
|
Y,
|
|
310
|
-
F,
|
|
311
311
|
_,
|
|
312
312
|
r,
|
|
313
313
|
m,
|
|
@@ -315,8 +315,8 @@ function Bt(s, t, e) {
|
|
|
315
315
|
c,
|
|
316
316
|
g,
|
|
317
317
|
d,
|
|
318
|
-
u,
|
|
319
318
|
f,
|
|
319
|
+
u,
|
|
320
320
|
n,
|
|
321
321
|
Q
|
|
322
322
|
];
|
|
@@ -346,49 +346,49 @@ class Lt extends tt {
|
|
|
346
346
|
return this.$$.ctx[7];
|
|
347
347
|
}
|
|
348
348
|
set clientstyling(t) {
|
|
349
|
-
this.$$set({ clientstyling: t }),
|
|
349
|
+
this.$$set({ clientstyling: t }), w();
|
|
350
350
|
}
|
|
351
351
|
get clientstylingurl() {
|
|
352
352
|
return this.$$.ctx[8];
|
|
353
353
|
}
|
|
354
354
|
set clientstylingurl(t) {
|
|
355
|
-
this.$$set({ clientstylingurl: t }),
|
|
355
|
+
this.$$set({ clientstylingurl: t }), w();
|
|
356
356
|
}
|
|
357
357
|
get translationurl() {
|
|
358
358
|
return this.$$.ctx[9];
|
|
359
359
|
}
|
|
360
360
|
set translationurl(t) {
|
|
361
|
-
this.$$set({ translationurl: t }),
|
|
361
|
+
this.$$set({ translationurl: t }), w();
|
|
362
362
|
}
|
|
363
363
|
get showbackbutton() {
|
|
364
364
|
return this.$$.ctx[10];
|
|
365
365
|
}
|
|
366
366
|
set showbackbutton(t) {
|
|
367
|
-
this.$$set({ showbackbutton: t }),
|
|
367
|
+
this.$$set({ showbackbutton: t }), w();
|
|
368
368
|
}
|
|
369
369
|
get title() {
|
|
370
370
|
return this.$$.ctx[11];
|
|
371
371
|
}
|
|
372
372
|
set title(t) {
|
|
373
|
-
this.$$set({ title: t }),
|
|
373
|
+
this.$$set({ title: t }), w();
|
|
374
374
|
}
|
|
375
375
|
get lang() {
|
|
376
376
|
return this.$$.ctx[12];
|
|
377
377
|
}
|
|
378
378
|
set lang(t) {
|
|
379
|
-
this.$$set({ lang: t }),
|
|
379
|
+
this.$$set({ lang: t }), w();
|
|
380
380
|
}
|
|
381
381
|
get showclosebutton() {
|
|
382
382
|
return this.$$.ctx[13];
|
|
383
383
|
}
|
|
384
384
|
set showclosebutton(t) {
|
|
385
|
-
this.$$set({ showclosebutton: t }),
|
|
385
|
+
this.$$set({ showclosebutton: t }), w();
|
|
386
386
|
}
|
|
387
387
|
get mbsource() {
|
|
388
388
|
return this.$$.ctx[14];
|
|
389
389
|
}
|
|
390
390
|
set mbsource(t) {
|
|
391
|
-
this.$$set({ mbsource: t }),
|
|
391
|
+
this.$$set({ mbsource: t }), w();
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
394
|
nt(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-85r_lbiV.cjs");function y(i,e){t.addMessages(i,e)}function E(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"}},"en-us":{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}}};function q(i){t.append_styles(i,"svelte-brbf89",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);width:100%;padding:10px 0}.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, #3854FF)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #3854FF)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #3854FF);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;stroke:var(--emw--color-primary, #3854FF)}")}const x=i=>({}),B=i=>({}),D=i=>({}),L=i=>({}),P=i=>({}),v=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" 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>',t.attr(e,"class","CashierHeaderLeftButton")},m(l,h){t.insert(l,e,h),n||(o=t.listen(e,"click",i[6]),n=!0)},p:t.noop,d(l){l&&t.detach(e),n=!1,o()}}}function U(i){let e,n=i[1]&&H(i);return{c(){n&&n.c(),e=t.empty()},m(o,l){n&&n.m(o,l),t.insert(o,e,l)},p(o,l){o[1]?n?n.p(o,l):(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 W(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(l,h){t.insert(l,e,h),t.append(e,o)},p(l,h){h&20&&n!==(n=l[4](l[2])+"")&&t.set_data(o,n)},d(l){l&&t.detach(e)}}}function F(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" 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>',t.attr(e,"class","CashierHeaderRightButton")},m(l,h){t.insert(l,e,h),n||(o=t.listen(e,"click",i[5]),n=!0)},p:t.noop,d(l){l&&t.detach(e),n=!1,o()}}}function Z(i){let e,n=i[3]&&F(i);return{c(){n&&n.c(),e=t.empty()},m(o,l){n&&n.m(o,l),t.insert(o,e,l)},p(o,l){o[3]?n?n.p(o,l):(n=F(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 I(i){let e,n,o,l;const h=i[16].leftButton,m=t.create_slot(h,i,i[15],v),c=m||U(i),b=i[16].title,g=t.create_slot(b,i,i[15],L),u=g||W(i),_=i[16].rightButton,d=t.create_slot(_,i,i[15],B),f=d||Z(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(s,a){t.insert(s,e,a),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),l=!0},p(s,[a]){m?m.p&&(!l||a&32768)&&t.update_slot_base(m,h,s,s[15],l?t.get_slot_changes(h,s[15],a,P):t.get_all_dirty_from_scope(s[15]),v):c&&c.p&&(!l||a&2)&&c.p(s,l?a:-1),g?g.p&&(!l||a&32768)&&t.update_slot_base(g,b,s,s[15],l?t.get_slot_changes(b,s[15],a,D):t.get_all_dirty_from_scope(s[15]),L):u&&u.p&&(!l||a&20)&&u.p(s,l?a:-1),d?d.p&&(!l||a&32768)&&t.update_slot_base(d,_,s,s[15],l?t.get_slot_changes(_,s[15],a,x):t.get_all_dirty_from_scope(s[15]),B):f&&f.p&&(!l||a&8)&&f.p(s,l?a:-1)},i(s){l||(t.transition_in(c,s),t.transition_in(u,s),t.transition_in(f,s),l=!0)},o(s){t.transition_out(c,s),t.transition_out(u,s),t.transition_out(f,s),l=!1},d(s){s&&t.detach(e),c&&c.d(s),u&&u.d(s),f&&f.d(s),i[17](null)}}}function Y(i,e,n){let o;t.component_subscribe(i,t.$format,r=>n(4,o=r));let{$$slots:l={},$$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,s,a=!1,w,p=!1;const M=()=>{fetch(b).then(r=>r.json()).then(r=>{Object.keys(r).forEach(C=>{y(C,r[C])})}).catch(r=>{console.log(r)})};Object.keys(k).forEach(r=>{y(r,k[r])});const T=()=>{E(_)},j=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},N=()=>{window.postMessage({type:"BackCashier"},window.location.href)},z=()=>{n(1,a=!!g&&g!=="false")},A=()=>{n(3,p=!!d&&d!=="false")},O=()=>{n(2,w=u||"header.general")};t.onMount(()=>()=>{});function R(r){t.binding_callbacks[r?"unshift":"push"](()=>{s=r,n(0,s)})}return i.$$set=r=>{"clientstyling"in r&&n(7,m=r.clientstyling),"clientstylingurl"in r&&n(8,c=r.clientstylingurl),"translationurl"in r&&n(9,b=r.translationurl),"showbackbutton"in r&&n(10,g=r.showbackbutton),"title"in r&&n(11,u=r.title),"lang"in r&&n(12,_=r.lang),"showclosebutton"in r&&n(13,d=r.showclosebutton),"mbsource"in r&&n(14,f=r.mbsource),"$$scope"in r&&n(15,h=r.$$scope)},i.$$.update=()=>{i.$$.dirty&4096&&_&&T(),i.$$.dirty&6144&&_&&u&&O(),i.$$.dirty&129&&m&&s&&t.setClientStyling(s,m),i.$$.dirty&257&&c&&s&&t.setClientStylingURL(s,c),i.$$.dirty&16385&&f&&s&&t.setStreamStyling(s,`${f}.Style`),i.$$.dirty&4608&&_&&b&&M(),i.$$.dirty&1024&&g&&z(),i.$$.dirty&8192&&d&&A()},[s,a,w,p,o,j,N,m,c,b,g,u,_,d,f,h,l,R]}class S extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,Y,I,t.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},q)}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(S,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);exports.default=S;
|
package/components/{CashierIframeRedirect-Db-zgjwP.cjs → CashierIframeRedirect-B2PCgM3_.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierError-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierError-85r_lbiV.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-bssm74cT.cjs")).then(({default:t})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",t.element)})}function C(i,t){e.addMessages(i,t)}function B(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const p={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"}};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-DWl8E_o4.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function R(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 L(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 v(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 k(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 q(i){let t,n,s,f,m,d,h,g,_,o=!!i[3]&&i[3]!=="false"&&L(i),a=(!i[3]||i[3]==="false")&&v(i),u=i[9]&&k(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=L(r),o.c(),o.m(n,s)):o&&(o.d(1),o=null),!r[3]||r[3]==="false"?a?a.p(r,c):(a=v(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=k(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 D(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(y=>{C(y,b[y])})}).catch(b=>{console.log(b)})};Object.keys(p).forEach(l=>{C(l,p[l])});const c=()=>{B(s)},H=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},w=l=>{l.target.src&&n(9,u=!1)};e.onMount(()=>()=>{});const M=l=>w(l);function S(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,H,w,M,S]}class E extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,D,q,e.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},R)}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(E,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=E;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as q, i as N, $ as U, S as Z, b as F, s as G, f as b, c as P, y as L, e as k, F as a, G as S, o as w, k as v, l as _, z as H, m as p, n as E, q as J, x as K, A as Q, B as V, C as W, D as X } from "./CashierError-
|
|
1
|
+
import { a as q, i as N, $ as U, S as Z, b as F, s as G, f as b, c as P, y as L, e as k, F as a, G as S, o as w, k as v, l as _, z as H, m as p, n as E, q as J, x as K, A as Q, B as V, C as W, D as X } from "./CashierError-CteHkwfB.js";
|
|
2
2
|
if (typeof window != "undefined") {
|
|
3
3
|
let i = function(e) {
|
|
4
4
|
return function(...t) {
|
|
@@ -11,7 +11,7 @@ if (typeof window != "undefined") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define = i(customElements.define), import("./CashierHeader-
|
|
14
|
+
customElements.define = i(customElements.define), import("./CashierHeader-BeeK80Nf.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
|
@@ -52,7 +52,7 @@ if (typeof window != "undefined") {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
-
customElements.define = i(customElements.define), import("./CashierSpinner-
|
|
55
|
+
customElements.define = i(customElements.define), import("./CashierSpinner-lg9LHAJP.js").then(({ default: e }) => {
|
|
56
56
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
|
57
57
|
});
|
|
58
58
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as N, i as q, $ as U, S as Z, b as F, s as G, f as b, d as P, z as L, g as v, F as a, G as S, p as w, l as k, m as _, A as H, n as p, o as E, r as J, y as K, C as Q, D as V, E as W, c as X } from "./CashierError-
|
|
1
|
+
import { a as N, i as q, $ as U, S as Z, b as F, s as G, f as b, d as P, z as L, g as v, F as a, G as S, p as w, l as k, m as _, A as H, n as p, o as E, r as J, y as K, C as Q, D as V, E as W, c as X } from "./CashierError-In4OzIIA.js";
|
|
2
2
|
if (typeof window < "u") {
|
|
3
3
|
let i = function(e) {
|
|
4
4
|
return function(...t) {
|
|
@@ -11,7 +11,7 @@ if (typeof window < "u") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define = i(customElements.define), import("./CashierHeader-
|
|
14
|
+
customElements.define = i(customElements.define), import("./CashierHeader-DGh4L4vF.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
|
@@ -52,7 +52,7 @@ if (typeof window < "u") {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
-
customElements.define = i(customElements.define), import("./CashierSpinner-
|
|
55
|
+
customElements.define = i(customElements.define), import("./CashierSpinner-Cz3Wh-IF.js").then(({ default: e }) => {
|
|
56
56
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
|
57
57
|
});
|
|
58
58
|
}
|