@everymatrix/cashier-method-details 1.67.3 → 1.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CashierConfirmModal-TYfPeOH8.js → CashierConfirmModal-3pkCHAVZ.js} +58 -58
- package/components/{CashierConfirmModal-CtBIJQDU.js → CashierConfirmModal-CNzEOcOZ.js} +70 -70
- package/components/{CashierConfirmModal-DEzuo7Bg.cjs → CashierConfirmModal-CiWxBakF.cjs} +2 -2
- package/components/{CashierError-DAcaCTnh.js → CashierError-DUTIaWmP.js} +825 -823
- package/components/CashierError-DtaTjZ6C.cjs +5 -0
- package/components/{CashierError-EAFVY5qI.js → CashierError-SVNe4t75.js} +824 -822
- package/components/{CashierHeader-D9WCrAoz.js → CashierHeader-8k60mA2q.js} +76 -76
- package/components/{CashierHeader-Kw5fWmBz.js → CashierHeader-B4YRoHAG.js} +76 -76
- package/components/CashierHeader-Bq8B4uSb.cjs +1 -0
- package/components/{CashierIframeRedirect-BQAhlkaI.js → CashierIframeRedirect-DKHsdD8g.js} +30 -30
- package/components/{CashierIframeRedirect-Yv44DFZI.cjs → CashierIframeRedirect-DbV2tAtA.cjs} +1 -1
- package/components/{CashierIframeRedirect-7fOR1qxp.js → CashierIframeRedirect-ylBe6ICa.js} +32 -32
- package/components/{CashierMethodDetails-5690EN3D.cjs → CashierMethodDetails-B-I3u2Yv.cjs} +1 -1
- package/components/{CashierMethodDetails-CzFR99sw.js → CashierMethodDetails-ClB1W80Z.js} +262 -262
- package/components/{CashierMethodDetails-C7X4rcsK.js → CashierMethodDetails-DWnzcEZx.js} +264 -264
- package/components/{CashierModal-BQxHPHHb.js → CashierModal-Dv-7ZIuz.js} +34 -34
- package/components/{CashierModal-CLvDbc8q.js → CashierModal-PGQGrAgY.js} +34 -34
- package/components/{CashierModal-CdmVfVpE.cjs → CashierModal-yskXp9fE.cjs} +1 -1
- package/components/{CashierNotifications-BGYZu72b.js → CashierNotifications-BMYdcdkg.js} +19 -19
- package/components/{CashierNotifications-BukAUauv.cjs → CashierNotifications-C5Z_cNID.cjs} +1 -1
- package/components/{CashierNotifications-DEHoF_Sw.js → CashierNotifications-Dy0g_QWG.js} +19 -19
- package/components/{CashierReceiptPage-Drf4jWdb.cjs → CashierReceiptPage-B0VH4cLh.cjs} +1 -1
- package/components/{CashierReceiptPage-CVubZfF4.js → CashierReceiptPage-D8w-2Q8k.js} +28 -28
- package/components/{CashierReceiptPage-CBiJJaXe.js → CashierReceiptPage-DBTNKiQA.js} +28 -28
- package/components/{CashierSpinner-DQguiJs6.cjs → CashierSpinner-BdCzICuN.cjs} +1 -1
- package/components/{CashierSpinner-C5RZVcAb.js → CashierSpinner-C6y-LmOW.js} +17 -17
- package/components/{CashierSpinner-D8rNHX9t.js → CashierSpinner-Yt2VnUjd.js} +17 -17
- package/es2015/cashier-method-details.cjs +1 -1
- package/es2015/cashier-method-details.js +1 -1
- package/esnext/cashier-method-details.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-ChRvzjAp.js → index-97d17652-BEnqZAxL.js} +186 -186
- package/stencil/index-97d17652-D5_8Vwfn.cjs +1 -0
- package/stencil/{index-97d17652-DKsTmN3Z.js → index-97d17652-WK_DbPS4.js} +175 -175
- package/stencil/{ui-image-B2ynFkLT.cjs → ui-image-CMb1eK44.cjs} +1 -1
- package/stencil/{ui-image-D7A7MInC.js → ui-image-CQQDA5b0.js} +1 -1
- package/stencil/{ui-image-D_Js9Evk.js → ui-image-CmwNU-jf.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-B43lELFk.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CRQDt62Z.cjs → ui-image-b7b48fe5-DCck2kk1.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-DVcK_myk.js → ui-image-b7b48fe5-V9vp4faA.js} +1 -1
- package/stencil/{ui-image_2-EP2dwjfi.js → ui-image_2-B56t6kXT.js} +2 -2
- package/stencil/{ui-image_2-Df0q0jE8.js → ui-image_2-BncuYpLi.js} +2 -2
- package/stencil/{ui-image_2-CyHaM9Na.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
- package/components/CashierError-FggDiDx7.cjs +0 -18
- package/components/CashierHeader-Bq7mJnpK.cjs +0 -1
- package/stencil/index-97d17652-qWThG1U9.cjs +0 -1
@@ -1,12 +1,12 @@
|
|
1
|
-
import { S as $, b as tt,
|
2
|
-
import { a as rt, i as ct, $ as
|
1
|
+
import { S as $, b as tt, s as et, f as b, c as nt, d as L, e as C, t as v, g as H, u as T, h as M, j as E, m as k, o as S, p as y, q as z, v as B, w as st, x as D, y as lt, z as it, A as ot, n as W, B as Z, E as at } from "./CashierConfirmModal-3pkCHAVZ.js";
|
2
|
+
import { a as rt, i as ct, $ as ft, b as ut } from "./CashierError-SVNe4t75.js";
|
3
3
|
function N(n, t) {
|
4
4
|
rt(n, t);
|
5
5
|
}
|
6
6
|
function ht(n) {
|
7
7
|
ct({
|
8
8
|
fallbackLocale: "en"
|
9
|
-
}),
|
9
|
+
}), ft.set(n);
|
10
10
|
}
|
11
11
|
const R = {
|
12
12
|
en: {
|
@@ -32,7 +32,7 @@ const R = {
|
|
32
32
|
}
|
33
33
|
};
|
34
34
|
function gt(n) {
|
35
|
-
|
35
|
+
nt(n, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--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(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;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}");
|
36
36
|
}
|
37
37
|
const dt = (n) => ({}), x = (n) => ({}), _t = (n) => ({}), A = (n) => ({}), mt = (n) => ({}), O = (n) => ({});
|
38
38
|
function U(n) {
|
@@ -41,17 +41,17 @@ function U(n) {
|
|
41
41
|
c() {
|
42
42
|
t = y("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>', B(t, "class", "CashierHeaderLeftButton");
|
43
43
|
},
|
44
|
-
m(s,
|
45
|
-
|
44
|
+
m(s, u) {
|
45
|
+
k(s, t, u), e || (l = Z(
|
46
46
|
t,
|
47
47
|
"click",
|
48
48
|
/*back*/
|
49
49
|
n[6]
|
50
50
|
), e = !0);
|
51
51
|
},
|
52
|
-
p:
|
52
|
+
p: W,
|
53
53
|
d(s) {
|
54
|
-
s &&
|
54
|
+
s && C(t), e = !1, l();
|
55
55
|
}
|
56
56
|
};
|
57
57
|
}
|
@@ -62,17 +62,17 @@ function wt(n) {
|
|
62
62
|
);
|
63
63
|
return {
|
64
64
|
c() {
|
65
|
-
e && e.c(), t =
|
65
|
+
e && e.c(), t = D();
|
66
66
|
},
|
67
67
|
m(l, s) {
|
68
|
-
e && e.m(l, s),
|
68
|
+
e && e.m(l, s), k(l, t, s);
|
69
69
|
},
|
70
70
|
p(l, s) {
|
71
71
|
/*backButton*/
|
72
72
|
l[1] ? e ? e.p(l, s) : (e = U(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
73
73
|
},
|
74
74
|
d(l) {
|
75
|
-
l &&
|
75
|
+
l && C(t), e && e.d(l);
|
76
76
|
}
|
77
77
|
};
|
78
78
|
}
|
@@ -88,75 +88,75 @@ function bt(n) {
|
|
88
88
|
c() {
|
89
89
|
t = y("span"), l = it(e), B(t, "class", "CashierHeaderTitle");
|
90
90
|
},
|
91
|
-
m(s,
|
92
|
-
|
91
|
+
m(s, u) {
|
92
|
+
k(s, t, u), S(t, l);
|
93
93
|
},
|
94
|
-
p(s,
|
95
|
-
|
94
|
+
p(s, u) {
|
95
|
+
u & /*$_, titleText*/
|
96
96
|
20 && e !== (e = /*$_*/
|
97
97
|
s[4](
|
98
98
|
/*titleText*/
|
99
99
|
s[2]
|
100
|
-
) + "") &&
|
100
|
+
) + "") && lt(l, e);
|
101
101
|
},
|
102
102
|
d(s) {
|
103
|
-
s &&
|
103
|
+
s && C(t);
|
104
104
|
}
|
105
105
|
};
|
106
106
|
}
|
107
|
-
function
|
107
|
+
function q(n) {
|
108
108
|
let t, e, l;
|
109
109
|
return {
|
110
110
|
c() {
|
111
111
|
t = y("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>', B(t, "class", "CashierHeaderRightButton");
|
112
112
|
},
|
113
|
-
m(s,
|
114
|
-
|
113
|
+
m(s, u) {
|
114
|
+
k(s, t, u), e || (l = Z(
|
115
115
|
t,
|
116
116
|
"click",
|
117
117
|
/*close*/
|
118
118
|
n[5]
|
119
119
|
), e = !0);
|
120
120
|
},
|
121
|
-
p:
|
121
|
+
p: W,
|
122
122
|
d(s) {
|
123
|
-
s &&
|
123
|
+
s && C(t), e = !1, l();
|
124
124
|
}
|
125
125
|
};
|
126
126
|
}
|
127
127
|
function pt(n) {
|
128
128
|
let t, e = (
|
129
129
|
/*closeButton*/
|
130
|
-
n[3] &&
|
130
|
+
n[3] && q(n)
|
131
131
|
);
|
132
132
|
return {
|
133
133
|
c() {
|
134
|
-
e && e.c(), t =
|
134
|
+
e && e.c(), t = D();
|
135
135
|
},
|
136
136
|
m(l, s) {
|
137
|
-
e && e.m(l, s),
|
137
|
+
e && e.m(l, s), k(l, t, s);
|
138
138
|
},
|
139
139
|
p(l, s) {
|
140
140
|
/*closeButton*/
|
141
|
-
l[3] ? e ? e.p(l, s) : (e =
|
141
|
+
l[3] ? e ? e.p(l, s) : (e = q(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
142
142
|
},
|
143
143
|
d(l) {
|
144
|
-
l &&
|
144
|
+
l && C(t), e && e.d(l);
|
145
145
|
}
|
146
146
|
};
|
147
147
|
}
|
148
148
|
function Ct(n) {
|
149
149
|
let t, e, l, s;
|
150
|
-
const
|
150
|
+
const u = (
|
151
151
|
/*#slots*/
|
152
152
|
n[15].leftButton
|
153
153
|
), _ = L(
|
154
|
-
|
154
|
+
u,
|
155
155
|
n,
|
156
156
|
/*$$scope*/
|
157
157
|
n[14],
|
158
158
|
O
|
159
|
-
),
|
159
|
+
), c = _ || wt(n), w = (
|
160
160
|
/*#slots*/
|
161
161
|
n[15].title
|
162
162
|
), h = L(
|
@@ -174,89 +174,89 @@ function Ct(n) {
|
|
174
174
|
/*$$scope*/
|
175
175
|
n[14],
|
176
176
|
x
|
177
|
-
),
|
177
|
+
), a = d || pt(n);
|
178
178
|
return {
|
179
179
|
c() {
|
180
|
-
t = y("div"),
|
180
|
+
t = y("div"), c && c.c(), e = z(), f && f.c(), l = z(), a && a.c(), B(t, "class", "CashierHeader");
|
181
181
|
},
|
182
|
-
m(i,
|
183
|
-
|
182
|
+
m(i, r) {
|
183
|
+
k(i, t, r), c && c.m(t, null), S(t, e), f && f.m(t, null), S(t, l), a && a.m(t, null), n[16](t), s = !0;
|
184
184
|
},
|
185
|
-
p(i, [
|
186
|
-
_ ? _.p && (!s ||
|
187
|
-
16384) &&
|
185
|
+
p(i, [r]) {
|
186
|
+
_ ? _.p && (!s || r & /*$$scope*/
|
187
|
+
16384) && T(
|
188
188
|
_,
|
189
|
-
|
189
|
+
u,
|
190
190
|
i,
|
191
191
|
/*$$scope*/
|
192
192
|
i[14],
|
193
|
-
s ?
|
194
|
-
|
193
|
+
s ? E(
|
194
|
+
u,
|
195
195
|
/*$$scope*/
|
196
196
|
i[14],
|
197
|
-
|
197
|
+
r,
|
198
198
|
mt
|
199
|
-
) :
|
199
|
+
) : M(
|
200
200
|
/*$$scope*/
|
201
201
|
i[14]
|
202
202
|
),
|
203
203
|
O
|
204
|
-
) :
|
205
|
-
2) &&
|
206
|
-
16384) &&
|
204
|
+
) : c && c.p && (!s || r & /*backButton*/
|
205
|
+
2) && c.p(i, s ? r : -1), h ? h.p && (!s || r & /*$$scope*/
|
206
|
+
16384) && T(
|
207
207
|
h,
|
208
208
|
w,
|
209
209
|
i,
|
210
210
|
/*$$scope*/
|
211
211
|
i[14],
|
212
|
-
s ?
|
212
|
+
s ? E(
|
213
213
|
w,
|
214
214
|
/*$$scope*/
|
215
215
|
i[14],
|
216
|
-
|
216
|
+
r,
|
217
217
|
_t
|
218
|
-
) :
|
218
|
+
) : M(
|
219
219
|
/*$$scope*/
|
220
220
|
i[14]
|
221
221
|
),
|
222
222
|
A
|
223
|
-
) : f.p && (!s ||
|
224
|
-
20) && f.p(i, s ?
|
225
|
-
16384) &&
|
223
|
+
) : f && f.p && (!s || r & /*$_, titleText*/
|
224
|
+
20) && f.p(i, s ? r : -1), d ? d.p && (!s || r & /*$$scope*/
|
225
|
+
16384) && T(
|
226
226
|
d,
|
227
227
|
g,
|
228
228
|
i,
|
229
229
|
/*$$scope*/
|
230
230
|
i[14],
|
231
|
-
s ?
|
231
|
+
s ? E(
|
232
232
|
g,
|
233
233
|
/*$$scope*/
|
234
234
|
i[14],
|
235
|
-
|
235
|
+
r,
|
236
236
|
dt
|
237
|
-
) :
|
237
|
+
) : M(
|
238
238
|
/*$$scope*/
|
239
239
|
i[14]
|
240
240
|
),
|
241
241
|
x
|
242
|
-
) :
|
243
|
-
8) &&
|
242
|
+
) : a && a.p && (!s || r & /*closeButton*/
|
243
|
+
8) && a.p(i, s ? r : -1);
|
244
244
|
},
|
245
245
|
i(i) {
|
246
|
-
s || (
|
246
|
+
s || (H(c, i), H(f, i), H(a, i), s = !0);
|
247
247
|
},
|
248
248
|
o(i) {
|
249
|
-
|
249
|
+
v(c, i), v(f, i), v(a, i), s = !1;
|
250
250
|
},
|
251
251
|
d(i) {
|
252
|
-
i &&
|
252
|
+
i && C(t), c && c.d(i), f && f.d(i), a && a.d(i), n[16](null);
|
253
253
|
}
|
254
254
|
};
|
255
255
|
}
|
256
256
|
function kt(n, t, e) {
|
257
257
|
let l;
|
258
|
-
|
259
|
-
let { $$slots: s = {}, $$scope:
|
258
|
+
st(n, ut, (o) => e(4, l = o));
|
259
|
+
let { $$slots: s = {}, $$scope: u } = t, { clientstyling: _ = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: w = "" } = t, { showbackbutton: h = "" } = t, { title: f = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, a, i = !1, r, j = !1;
|
260
260
|
const F = () => {
|
261
261
|
let o = w;
|
262
262
|
o && fetch(o).then((m) => m.json()).then((m) => {
|
@@ -272,13 +272,13 @@ function kt(n, t, e) {
|
|
272
272
|
});
|
273
273
|
const I = () => {
|
274
274
|
let o = document.createElement("style");
|
275
|
-
o.innerHTML = _,
|
275
|
+
o.innerHTML = _, a.appendChild(o);
|
276
276
|
}, P = () => {
|
277
|
-
let o = new URL(
|
277
|
+
let o = new URL(c), m = document.createElement("style");
|
278
278
|
fetch(o.href).then((p) => p.text()).then((p) => {
|
279
279
|
m.innerHTML = p, setTimeout(
|
280
280
|
() => {
|
281
|
-
|
281
|
+
a.appendChild(m);
|
282
282
|
},
|
283
283
|
1
|
284
284
|
);
|
@@ -294,40 +294,40 @@ function kt(n, t, e) {
|
|
294
294
|
}, Q = () => {
|
295
295
|
e(3, j = !!d && d !== "false");
|
296
296
|
}, V = () => {
|
297
|
-
e(2,
|
297
|
+
e(2, r = f || "header.general");
|
298
298
|
};
|
299
299
|
function X(o) {
|
300
|
-
|
301
|
-
|
300
|
+
ot[o ? "unshift" : "push"](() => {
|
301
|
+
a = o, e(0, a);
|
302
302
|
});
|
303
303
|
}
|
304
304
|
return n.$$set = (o) => {
|
305
|
-
"clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8,
|
305
|
+
"clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8, c = o.clientstylingurl), "translationurl" in o && e(9, w = o.translationurl), "showbackbutton" in o && e(10, h = o.showbackbutton), "title" in o && e(11, f = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, d = o.showclosebutton), "$$scope" in o && e(14, u = o.$$scope);
|
306
306
|
}, n.$$.update = () => {
|
307
307
|
n.$$.dirty & /*lang*/
|
308
308
|
4096 && g && Y(), n.$$.dirty & /*lang, title*/
|
309
309
|
6144 && g && f && V(), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
310
|
-
129 && _ &&
|
311
|
-
257 &&
|
310
|
+
129 && _ && a && I(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
311
|
+
257 && c && a && P(), n.$$.dirty & /*lang, translationurl*/
|
312
312
|
4608 && g && w && F(), n.$$.dirty & /*showbackbutton*/
|
313
313
|
1024 && h && K(), n.$$.dirty & /*showclosebutton*/
|
314
314
|
8192 && d && Q();
|
315
315
|
}, [
|
316
|
-
r,
|
317
|
-
i,
|
318
316
|
a,
|
317
|
+
i,
|
318
|
+
r,
|
319
319
|
j,
|
320
320
|
l,
|
321
321
|
G,
|
322
322
|
J,
|
323
323
|
_,
|
324
|
-
|
324
|
+
c,
|
325
325
|
w,
|
326
326
|
h,
|
327
327
|
f,
|
328
328
|
g,
|
329
329
|
d,
|
330
|
-
|
330
|
+
u,
|
331
331
|
s,
|
332
332
|
X
|
333
333
|
];
|
@@ -339,7 +339,7 @@ class yt extends $ {
|
|
339
339
|
t,
|
340
340
|
kt,
|
341
341
|
Ct,
|
342
|
-
|
342
|
+
et,
|
343
343
|
{
|
344
344
|
clientstyling: 7,
|
345
345
|
clientstylingurl: 8,
|
@@ -395,7 +395,7 @@ class yt extends $ {
|
|
395
395
|
this.$$set({ showclosebutton: t }), b();
|
396
396
|
}
|
397
397
|
}
|
398
|
-
|
398
|
+
at(yt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
399
399
|
export {
|
400
400
|
yt as default
|
401
401
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-CiWxBakF.cjs"),C=require("./CashierError-DtaTjZ6C.cjs");function k(l,t){C.addMessages(l,t)}function D(l){C.init({fallbackLocale:"en"}),C.$locale.set(l)}const B={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 P(l){e.append_styles(l,"svelte-bbilb",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--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(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;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}")}const W=l=>({}),L=l=>({}),Z=l=>({}),v=l=>({}),F=l=>({}),H=l=>({});function T(l){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,"class","CashierHeaderLeftButton")},m(i,h){e.insert(i,t,h),n||(s=e.listen(t,"click",l[6]),n=!0)},p:e.noop,d(i){i&&e.detach(t),n=!1,s()}}}function I(l){let t,n=l[1]&&T(l);return{c(){n&&n.c(),t=e.empty()},m(s,i){n&&n.m(s,i),e.insert(s,t,i)},p(s,i){s[1]?n?n.p(s,i):(n=T(s),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(s){s&&e.detach(t),n&&n.d(s)}}}function Y(l){let t,n=l[4](l[2])+"",s;return{c(){t=e.element("span"),s=e.text(n),e.attr(t,"class","CashierHeaderTitle")},m(i,h){e.insert(i,t,h),e.append(t,s)},p(i,h){h&20&&n!==(n=i[4](i[2])+"")&&e.set_data(s,n)},d(i){i&&e.detach(t)}}}function M(l){let t,n,s;return{c(){t=e.element("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>',e.attr(t,"class","CashierHeaderRightButton")},m(i,h){e.insert(i,t,h),n||(s=e.listen(t,"click",l[5]),n=!0)},p:e.noop,d(i){i&&e.detach(t),n=!1,s()}}}function G(l){let t,n=l[3]&&M(l);return{c(){n&&n.c(),t=e.empty()},m(s,i){n&&n.m(s,i),e.insert(s,t,i)},p(s,i){s[3]?n?n.p(s,i):(n=M(s),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(s){s&&e.detach(t),n&&n.d(s)}}}function J(l){let t,n,s,i;const h=l[15].leftButton,m=e.create_slot(h,l,l[14],H),u=m||I(l),p=l[15].title,g=e.create_slot(p,l,l[14],v),f=g||Y(l),_=l[15].rightButton,d=e.create_slot(_,l,l[14],L),r=d||G(l);return{c(){t=e.element("div"),u&&u.c(),n=e.space(),f&&f.c(),s=e.space(),r&&r.c(),e.attr(t,"class","CashierHeader")},m(o,c){e.insert(o,t,c),u&&u.m(t,null),e.append(t,n),f&&f.m(t,null),e.append(t,s),r&&r.m(t,null),l[16](t),i=!0},p(o,[c]){m?m.p&&(!i||c&16384)&&e.update_slot_base(m,h,o,o[14],i?e.get_slot_changes(h,o[14],c,F):e.get_all_dirty_from_scope(o[14]),H):u&&u.p&&(!i||c&2)&&u.p(o,i?c:-1),g?g.p&&(!i||c&16384)&&e.update_slot_base(g,p,o,o[14],i?e.get_slot_changes(p,o[14],c,Z):e.get_all_dirty_from_scope(o[14]),v):f&&f.p&&(!i||c&20)&&f.p(o,i?c:-1),d?d.p&&(!i||c&16384)&&e.update_slot_base(d,_,o,o[14],i?e.get_slot_changes(_,o[14],c,W):e.get_all_dirty_from_scope(o[14]),L):r&&r.p&&(!i||c&8)&&r.p(o,i?c:-1)},i(o){i||(e.transition_in(u,o),e.transition_in(f,o),e.transition_in(r,o),i=!0)},o(o){e.transition_out(u,o),e.transition_out(f,o),e.transition_out(r,o),i=!1},d(o){o&&e.detach(t),u&&u.d(o),f&&f.d(o),r&&r.d(o),l[16](null)}}}function K(l,t,n){let s;e.component_subscribe(l,C.$format,a=>n(4,s=a));let{$$slots:i={},$$scope:h}=t,{clientstyling:m=""}=t,{clientstylingurl:u=""}=t,{translationurl:p=""}=t,{showbackbutton:g=""}=t,{title:f="header.general"}=t,{lang:_="en"}=t,{showclosebutton:d=""}=t,r,o=!1,c,y=!1;const S=()=>{let a=p;a&&fetch(a).then(w=>w.json()).then(w=>{Object.keys(w).forEach(b=>{k(b,w[b])})}).catch(w=>{console.log(w)})};Object.keys(B).forEach(a=>{k(a,B[a])});const j=()=>{let a=document.createElement("style");a.innerHTML=m,r.appendChild(a)},N=()=>{let a=new URL(u),w=document.createElement("style");fetch(a.href).then(b=>b.text()).then(b=>{w.innerHTML=b,setTimeout(()=>{r.appendChild(w)},1)})},R=()=>{D(_)},z=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},O=()=>{window.postMessage({type:"BackCashier"},window.location.href)},q=()=>{n(1,o=!!g&&g!=="false")},A=()=>{n(3,y=!!d&&d!=="false")},U=()=>{n(2,c=f||"header.general")};function x(a){e.binding_callbacks[a?"unshift":"push"](()=>{r=a,n(0,r)})}return l.$$set=a=>{"clientstyling"in a&&n(7,m=a.clientstyling),"clientstylingurl"in a&&n(8,u=a.clientstylingurl),"translationurl"in a&&n(9,p=a.translationurl),"showbackbutton"in a&&n(10,g=a.showbackbutton),"title"in a&&n(11,f=a.title),"lang"in a&&n(12,_=a.lang),"showclosebutton"in a&&n(13,d=a.showclosebutton),"$$scope"in a&&n(14,h=a.$$scope)},l.$$.update=()=>{l.$$.dirty&4096&&_&&R(),l.$$.dirty&6144&&_&&f&&U(),l.$$.dirty&129&&m&&r&&j(),l.$$.dirty&257&&u&&r&&N(),l.$$.dirty&4608&&_&&p&&S(),l.$$.dirty&1024&&g&&q(),l.$$.dirty&8192&&d&&A()},[r,o,c,y,s,z,O,m,u,p,g,f,_,d,h,i,x]}class E extends e.SvelteComponent{constructor(t){super(),e.init(this,t,K,J,e.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13},P)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(t){this.$$set({showbackbutton:t}),e.flush()}get title(){return this.$$.ctx[11]}set title(t){this.$$set({title:t}),e.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),e.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(t){this.$$set({showclosebutton:t}),e.flush()}}e.create_custom_element(E,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{}},["leftButton","title","rightButton"],[],!0);exports.default=E;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { S as
|
2
|
-
import { a as J, i as K, $ as Q } from "./CashierError-
|
1
|
+
import { S as N, b as U, f as C, s as Z, E as F, c as P, n as v, e as k, D as c, C as R, v as b, m as E, o as L, B, p as y, q as H, A as G } from "./CashierConfirmModal-3pkCHAVZ.js";
|
2
|
+
import { a as J, i as K, $ as Q } from "./CashierError-SVNe4t75.js";
|
3
3
|
function T(i, e) {
|
4
4
|
J(i, e);
|
5
5
|
}
|
@@ -37,7 +37,7 @@ if (typeof window < "u") {
|
|
37
37
|
}
|
38
38
|
};
|
39
39
|
};
|
40
|
-
customElements.define = i(customElements.define), import("./CashierHeader-
|
40
|
+
customElements.define = i(customElements.define), import("./CashierHeader-B4YRoHAG.js").then(({ default: e }) => {
|
41
41
|
!customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
|
42
42
|
});
|
43
43
|
}
|
@@ -53,7 +53,7 @@ if (typeof window < "u") {
|
|
53
53
|
}
|
54
54
|
};
|
55
55
|
};
|
56
|
-
customElements.define = i(customElements.define), import("./CashierSpinner-
|
56
|
+
customElements.define = i(customElements.define), import("./CashierSpinner-Yt2VnUjd.js").then(({ default: e }) => {
|
57
57
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
58
58
|
});
|
59
59
|
}
|
@@ -67,7 +67,7 @@ function S(i) {
|
|
67
67
|
e = y("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>', b(e, "slot", "leftButton"), b(e, "class", "CashierHeaderLeftButton");
|
68
68
|
},
|
69
69
|
m(u, h) {
|
70
|
-
|
70
|
+
E(u, e, h), t || (l = B(
|
71
71
|
e,
|
72
72
|
"click",
|
73
73
|
/*close*/
|
@@ -76,18 +76,18 @@ function S(i) {
|
|
76
76
|
},
|
77
77
|
p: v,
|
78
78
|
d(u) {
|
79
|
-
u &&
|
79
|
+
u && k(e), t = !1, l();
|
80
80
|
}
|
81
81
|
};
|
82
82
|
}
|
83
|
-
function
|
83
|
+
function I(i) {
|
84
84
|
let e, t, l;
|
85
85
|
return {
|
86
86
|
c() {
|
87
87
|
e = y("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', b(e, "slot", "rightButton"), b(e, "class", "CashierHeaderRightButton");
|
88
88
|
},
|
89
89
|
m(u, h) {
|
90
|
-
|
90
|
+
E(u, e, h), t || (l = B(
|
91
91
|
e,
|
92
92
|
"click",
|
93
93
|
/*close*/
|
@@ -96,11 +96,11 @@ function j(i) {
|
|
96
96
|
},
|
97
97
|
p: v,
|
98
98
|
d(u) {
|
99
|
-
u &&
|
99
|
+
u && k(e), t = !1, l();
|
100
100
|
}
|
101
101
|
};
|
102
102
|
}
|
103
|
-
function
|
103
|
+
function O(i) {
|
104
104
|
let e;
|
105
105
|
return {
|
106
106
|
c() {
|
@@ -117,7 +117,7 @@ function I(i) {
|
|
117
117
|
);
|
118
118
|
},
|
119
119
|
m(t, l) {
|
120
|
-
|
120
|
+
E(t, e, l);
|
121
121
|
},
|
122
122
|
p(t, l) {
|
123
123
|
l & /*clientstylingurl*/
|
@@ -135,7 +135,7 @@ function I(i) {
|
|
135
135
|
);
|
136
136
|
},
|
137
137
|
d(t) {
|
138
|
-
t &&
|
138
|
+
t && k(e);
|
139
139
|
}
|
140
140
|
};
|
141
141
|
}
|
@@ -144,9 +144,9 @@ function X(i) {
|
|
144
144
|
i[3] && /*showbackbutton*/
|
145
145
|
i[3] !== "false" && S(i), r = (!/*showbackbutton*/
|
146
146
|
i[3] || /*showbackbutton*/
|
147
|
-
i[3] === "false") &&
|
147
|
+
i[3] === "false") && I(i), o = (
|
148
148
|
/*isLoading*/
|
149
|
-
i[8] &&
|
149
|
+
i[8] && O(i)
|
150
150
|
);
|
151
151
|
return {
|
152
152
|
c() {
|
@@ -184,7 +184,7 @@ function X(i) {
|
|
184
184
|
i[1]) || b(d, "src", g), b(d, "frameborder", "0"), b(e, "class", "CashierRedirectIframe");
|
185
185
|
},
|
186
186
|
m(s, f) {
|
187
|
-
|
187
|
+
E(s, e, f), L(e, t), a && a.m(t, null), L(t, l), r && r.m(t, null), L(e, u), o && o.m(e, null), L(e, h), L(e, d), i[12](e), w || (_ = B(
|
188
188
|
d,
|
189
189
|
"load",
|
190
190
|
/*load_handler*/
|
@@ -196,7 +196,7 @@ function X(i) {
|
|
196
196
|
s[3] && /*showbackbutton*/
|
197
197
|
s[3] !== "false" ? a ? a.p(s, f) : (a = S(s), a.c(), a.m(t, l)) : a && (a.d(1), a = null), !/*showbackbutton*/
|
198
198
|
s[3] || /*showbackbutton*/
|
199
|
-
s[3] === "false" ? r ? r.p(s, f) : (r =
|
199
|
+
s[3] === "false" ? r ? r.p(s, f) : (r = I(s), r.c(), r.m(t, null)) : r && (r.d(1), r = null), f & /*lang*/
|
200
200
|
1 && c(
|
201
201
|
t,
|
202
202
|
"lang",
|
@@ -233,14 +233,14 @@ function X(i) {
|
|
233
233
|
/*clientstyling*/
|
234
234
|
s[4]
|
235
235
|
), /*isLoading*/
|
236
|
-
s[8] ? o ? o.p(s, f) : (o =
|
236
|
+
s[8] ? o ? o.p(s, f) : (o = O(s), o.c(), o.m(e, h)) : o && (o.d(1), o = null), f & /*iframeurl*/
|
237
237
|
2 && !R(d.src, g = /*iframeurl*/
|
238
238
|
s[1]) && b(d, "src", g);
|
239
239
|
},
|
240
240
|
i: v,
|
241
241
|
o: v,
|
242
242
|
d(s) {
|
243
|
-
s &&
|
243
|
+
s && k(e), a && a.d(), r && r.d(), o && o.d(), i[12](null), w = !1, _();
|
244
244
|
}
|
245
245
|
};
|
246
246
|
}
|
@@ -265,7 +265,7 @@ function Y(i, e, t) {
|
|
265
265
|
}, f = () => {
|
266
266
|
let n = document.createElement("style");
|
267
267
|
n.innerHTML = g, r.appendChild(n);
|
268
|
-
},
|
268
|
+
}, j = () => {
|
269
269
|
let n = new URL(w), m = document.createElement("style");
|
270
270
|
fetch(n.href).then((p) => p.text()).then((p) => {
|
271
271
|
m.innerHTML = p, setTimeout(
|
@@ -277,10 +277,10 @@ function Y(i, e, t) {
|
|
277
277
|
});
|
278
278
|
}, A = () => {
|
279
279
|
window.postMessage({ type: "CloseIframe" }, window.location.href);
|
280
|
-
},
|
280
|
+
}, M = (n) => {
|
281
281
|
n.target.src && t(8, a = !1);
|
282
|
-
},
|
283
|
-
function
|
282
|
+
}, q = (n) => M(n);
|
283
|
+
function z(n) {
|
284
284
|
G[n ? "unshift" : "push"](() => {
|
285
285
|
r = n, t(7, r);
|
286
286
|
});
|
@@ -292,7 +292,7 @@ function Y(i, e, t) {
|
|
292
292
|
1 && l && s(), i.$$.dirty & /*translationurl*/
|
293
293
|
4 && h && o(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
294
294
|
144 && g && r && f(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
295
|
-
160 && w && r &&
|
295
|
+
160 && w && r && j();
|
296
296
|
}, [
|
297
297
|
l,
|
298
298
|
u,
|
@@ -304,19 +304,19 @@ function Y(i, e, t) {
|
|
304
304
|
r,
|
305
305
|
a,
|
306
306
|
A,
|
307
|
-
|
308
|
-
|
309
|
-
|
307
|
+
M,
|
308
|
+
q,
|
309
|
+
z
|
310
310
|
];
|
311
311
|
}
|
312
|
-
class x extends
|
312
|
+
class x extends N {
|
313
313
|
constructor(e) {
|
314
|
-
super(),
|
314
|
+
super(), U(
|
315
315
|
this,
|
316
316
|
e,
|
317
317
|
Y,
|
318
318
|
X,
|
319
|
-
|
319
|
+
Z,
|
320
320
|
{
|
321
321
|
lang: 0,
|
322
322
|
iframeurl: 1,
|
@@ -372,7 +372,7 @@ class x extends U {
|
|
372
372
|
this.$$set({ title: e }), C();
|
373
373
|
}
|
374
374
|
}
|
375
|
-
|
375
|
+
F(x, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
|
376
376
|
export {
|
377
377
|
x as default
|
378
378
|
};
|
package/components/{CashierIframeRedirect-Yv44DFZI.cjs → CashierIframeRedirect-DbV2tAtA.cjs}
RENAMED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-CiWxBakF.cjs"),C=require("./CashierError-DtaTjZ6C.cjs");function y(i,e){C.addMessages(i,e)}function S(i){C.init({fallbackLocale:"en"}),C.$locale.set(i)}const L={en:{redirectHeader:"Deposit redirect"},"pt-br":{redirectHeader:"Redirecionar depósito"},"es-mx":{redirectHeader:"Redirigir depósito"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},"en-us":{redirectHeader:"Deposit redirect"}};if(typeof window!="undefined"){let i=function(e){return function(...n){try{return e.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-Bq8B4uSb.cjs")).then(({default:e})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",e.element)})}if(typeof window!="undefined"){let i=function(e){return function(...n){try{return e.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-BdCzICuN.cjs")).then(({default:e})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",e.element)})}function q(i){t.append_styles(i,"svelte-10xutbi",".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--mmw--color-grey-105, #E8E9EB);height:calc(100% - var(--mmw--header-height, 40px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--mmw--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(--mmw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}")}function v(i){let e,n,s;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,"slot","leftButton"),t.attr(e,"class","CashierHeaderLeftButton")},m(f,m){t.insert(f,e,m),n||(s=t.listen(e,"click",i[9]),n=!0)},p:t.noop,d(f){f&&t.detach(e),n=!1,s()}}}function k(i){let e,n,s;return{c(){e=t.element("div"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>',t.attr(e,"slot","rightButton"),t.attr(e,"class","CashierHeaderRightButton")},m(f,m){t.insert(f,e,m),n||(s=t.listen(e,"click",i[9]),n=!0)},p:t.noop,d(f){f&&t.detach(e),n=!1,s()}}}function E(i){let e;return{c(){e=t.element("cashier-spinner"),t.set_custom_element_data(e,"clientstylingurl",i[5]),t.set_custom_element_data(e,"clientstyling",i[4])},m(n,s){t.insert(n,e,s)},p(n,s){s&32&&t.set_custom_element_data(e,"clientstylingurl",n[5]),s&16&&t.set_custom_element_data(e,"clientstyling",n[4])},d(n){n&&t.detach(e)}}}function D(i){let e,n,s,f,m,d,g,_,w,o=!!i[3]&&i[3]!=="false"&&v(i),a=(!i[3]||i[3]==="false")&&k(i),c=i[8]&&E(i);return{c(){e=t.element("div"),n=t.element("cashier-header"),o&&o.c(),s=t.space(),a&&a.c(),f=t.space(),c&&c.c(),m=t.space(),d=t.element("iframe"),t.set_custom_element_data(n,"lang",i[0]),t.set_custom_element_data(n,"translationurl",i[2]),t.set_custom_element_data(n,"title",i[6]),t.set_custom_element_data(n,"showbackbutton",i[3]),t.set_custom_element_data(n,"clientstylingurl",i[5]),t.set_custom_element_data(n,"clientstyling",i[4]),t.src_url_equal(d.src,g=i[1])||t.attr(d,"src",g),t.attr(d,"frameborder","0"),t.attr(e,"class","CashierRedirectIframe")},m(r,u){t.insert(r,e,u),t.append(e,n),o&&o.m(n,null),t.append(n,s),a&&a.m(n,null),t.append(e,f),c&&c.m(e,null),t.append(e,m),t.append(e,d),i[12](e),_||(w=t.listen(d,"load",i[11]),_=!0)},p(r,[u]){r[3]&&r[3]!=="false"?o?o.p(r,u):(o=v(r),o.c(),o.m(n,s)):o&&(o.d(1),o=null),!r[3]||r[3]==="false"?a?a.p(r,u):(a=k(r),a.c(),a.m(n,null)):a&&(a.d(1),a=null),u&1&&t.set_custom_element_data(n,"lang",r[0]),u&4&&t.set_custom_element_data(n,"translationurl",r[2]),u&64&&t.set_custom_element_data(n,"title",r[6]),u&8&&t.set_custom_element_data(n,"showbackbutton",r[3]),u&32&&t.set_custom_element_data(n,"clientstylingurl",r[5]),u&16&&t.set_custom_element_data(n,"clientstyling",r[4]),r[8]?c?c.p(r,u):(c=E(r),c.c(),c.m(e,m)):c&&(c.d(1),c=null),u&2&&!t.src_url_equal(d.src,g=r[1])&&t.attr(d,"src",g)},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o&&o.d(),a&&a.d(),c&&c.d(),i[12](null),_=!1,w()}}}function O(i,e,n){let{lang:s="en"}=e,{iframeurl:f}=e,{translationurl:m=""}=e,{showbackbutton:d=""}=e,{clientstyling:g=""}=e,{clientstylingurl:_=""}=e,{title:w=""}=e,o=!0,a;const c=()=>{let l=m;if(l)return fetch(l).then(h=>h.json()).then(h=>{Object.keys(h).forEach(p=>{y(p,h[p])})}).catch(h=>{console.log(h)})};Object.keys(L).forEach(l=>{y(l,L[l])});const r=()=>{S(s)},u=()=>{let l=document.createElement("style");l.innerHTML=g,a.appendChild(l)},M=()=>{let l=new URL(_),h=document.createElement("style");fetch(l.href).then(p=>p.text()).then(p=>{h.innerHTML=p,setTimeout(()=>{a.appendChild(h)},1)})},B=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},b=l=>{l.target.src&&n(8,o=!1)},R=l=>b(l);function T(l){t.binding_callbacks[l?"unshift":"push"](()=>{a=l,n(7,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),"clientstyling"in l&&n(4,g=l.clientstyling),"clientstylingurl"in l&&n(5,_=l.clientstylingurl),"title"in l&&n(6,w=l.title)},i.$$.update=()=>{i.$$.dirty&1&&s&&r(),i.$$.dirty&4&&m&&c(),i.$$.dirty&144&&g&&a&&u(),i.$$.dirty&160&&_&&a&&M()},[s,f,m,d,g,_,w,a,o,B,b,R,T]}class H extends t.SvelteComponent{constructor(e){super(),t.init(this,e,O,D,t.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,clientstyling:4,clientstylingurl:5,title:6},q)}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),t.flush()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(e){this.$$set({iframeurl:e}),t.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(e){this.$$set({showbackbutton:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get title(){return this.$$.ctx[6]}set title(e){this.$$set({title:e}),t.flush()}}t.create_custom_element(H,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=H;
|