@everymatrix/cashier-page-nd 1.69.80

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.
Files changed (75) hide show
  1. package/components/CashierCarousel-BRCPA28j.js +5469 -0
  2. package/components/CashierCarousel-BrO7Jjq7.cjs +23 -0
  3. package/components/CashierCarousel-DIW7ewty.js +5432 -0
  4. package/components/CashierError-2l9bXeE4.js +438 -0
  5. package/components/CashierError-CDQHYcyq.cjs +1 -0
  6. package/components/CashierError-CaZfsv_b.js +438 -0
  7. package/components/CashierHeader-BIvpeMbT.js +397 -0
  8. package/components/CashierHeader-CRdaTXXF.js +397 -0
  9. package/components/CashierHeader-CYloyBeJ.cjs +1 -0
  10. package/components/CashierIframeRedirect-CYbcbdD6.js +398 -0
  11. package/components/CashierIframeRedirect-Cdt_4X-f.js +398 -0
  12. package/components/CashierIframeRedirect-DHwRIV5D.cjs +1 -0
  13. package/components/CashierMethodDetails-CmHvEe-1.js +8998 -0
  14. package/components/CashierMethodDetails-Crc38ib5.js +8977 -0
  15. package/components/CashierMethodDetails-DdksHLNn.cjs +85 -0
  16. package/components/CashierMethodsList-BXhWqHwQ.js +733 -0
  17. package/components/CashierMethodsList-CXLOO8AC.cjs +1 -0
  18. package/components/CashierMethodsList-CiYrKrpc.js +745 -0
  19. package/components/CashierModal-8fVxVksu.cjs +1 -0
  20. package/components/CashierModal-Bf-5kofx.js +268 -0
  21. package/components/CashierModal-DYVVV-kg.js +268 -0
  22. package/components/CashierNotifications-BW_5BkiD.js +129 -0
  23. package/components/CashierNotifications-C3_w1GoO.js +129 -0
  24. package/components/CashierNotifications-DPPdTfhe.cjs +1 -0
  25. package/components/CashierPage-CD1jfPWY.js +2724 -0
  26. package/components/CashierPage-CwhswjBN.cjs +1 -0
  27. package/components/CashierPage-EE5oS0EE.js +2724 -0
  28. package/components/CashierReceiptPage-Cdpi_dhQ.js +1720 -0
  29. package/components/CashierReceiptPage-CtcB2_3R.cjs +26 -0
  30. package/components/CashierReceiptPage-DcrR4cFI.js +1724 -0
  31. package/components/CashierSessionExpirationModal-BAazKpCR.cjs +2 -0
  32. package/components/CashierSessionExpirationModal-BuRX5Ibg.js +1184 -0
  33. package/components/CashierSessionExpirationModal-DbZJRvvF.js +1184 -0
  34. package/components/CashierSpinner-CmkhBExd.cjs +1 -0
  35. package/components/CashierSpinner-DTePmdlJ.js +78 -0
  36. package/components/CashierSpinner-DsjTlCAT.js +78 -0
  37. package/components/CashierTransactionHistory-BW7qdJ8o.js +1305 -0
  38. package/components/CashierTransactionHistory-DGxSVtrZ.js +1305 -0
  39. package/components/CashierTransactionHistory-Dz-EIYCr.cjs +1 -0
  40. package/components/CashierVerifications-BPvYz1I1.js +597 -0
  41. package/components/CashierVerifications-CkX6-wMt.cjs +1 -0
  42. package/components/CashierVerifications-Dzg3GMUR.js +601 -0
  43. package/components/TxnStatusIcon-CacWIjyU.js +142 -0
  44. package/components/TxnStatusIcon-CluG8nB2.cjs +1 -0
  45. package/components/TxnStatusIcon-DEE4mf59.js +142 -0
  46. package/components/TxnTypeIcons-CCHGRfM4.js +101 -0
  47. package/components/TxnTypeIcons-Dwq4VQE8.js +101 -0
  48. package/components/TxnTypeIcons-DzkNiw5U.cjs +1 -0
  49. package/es2015/cashier-page.cjs +1 -0
  50. package/es2015/cashier-page.js +16 -0
  51. package/esnext/cashier-page.js +14 -0
  52. package/package.json +26 -0
  53. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
  54. package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
  55. package/stencil/index-97d17652--F7PvMq9.js +542 -0
  56. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  57. package/stencil/index-97d17652-CCFHkzJw.js +558 -0
  58. package/stencil/index-b2193545-B8kMF2bI.cjs +1 -0
  59. package/stencil/index-b2193545-BoSqyMpB.js +519 -0
  60. package/stencil/index-b2193545-D4dOaNlR.js +503 -0
  61. package/stencil/ui-image-BWJXFWH1.js +25 -0
  62. package/stencil/ui-image-ByEXiBzx.cjs +1 -0
  63. package/stencil/ui-image-DIEeZy5u.js +7 -0
  64. package/stencil/ui-image-b7b48fe5-ByRuJtdE.js +39 -0
  65. package/stencil/ui-image-b7b48fe5-D6iig_uN.js +39 -0
  66. package/stencil/ui-image-b7b48fe5-DG83WzAo.cjs +1 -0
  67. package/stencil/ui-image_2-Bm97-wkj.js +157 -0
  68. package/stencil/ui-image_2-DdFjzzNO.cjs +55 -0
  69. package/stencil/ui-image_2-qO3reSlr.js +157 -0
  70. package/stencil/ui-skeleton-4-zrLsIW.js +11 -0
  71. package/stencil/ui-skeleton-9boHSjtG.js +29 -0
  72. package/stencil/ui-skeleton-_yJvAdAL.cjs +1 -0
  73. package/stencil/ui-skeleton-ae35c6f2-8tYGV8SR.js +155 -0
  74. package/stencil/ui-skeleton-ae35c6f2-CKgUXOQC.cjs +55 -0
  75. package/stencil/ui-skeleton-ae35c6f2-IN_dPA5_.js +155 -0
@@ -0,0 +1,397 @@
1
+ import { a as V, i as X, $, S as tt, b as et, s as st, f as w, c as nt, d as y, e as b, t as B, g as v, u as L, h as H, j as S, k as C, l as F, m as p, n as N, o as k, p as it, q as lt, r as q, v as ot, w as at, y as rt, G as U, x as W, B as ct, C as ut, D as ft, E as ht, F as gt } from "./CashierCarousel-BRCPA28j.js";
2
+ function x(s, t) {
3
+ V(s, t);
4
+ }
5
+ function dt(s) {
6
+ X({
7
+ fallbackLocale: "en"
8
+ }), $.set(s);
9
+ }
10
+ const z = {
11
+ en: {
12
+ header: {
13
+ general: "Cashier",
14
+ deposit: "Deposit",
15
+ withdraw: "Withdraw"
16
+ }
17
+ },
18
+ tr: {
19
+ header: {
20
+ general: "Cashier",
21
+ deposit: "Para Yatır",
22
+ withdraw: "Çekim"
23
+ }
24
+ },
25
+ "en-us": {
26
+ header: {
27
+ general: "Cashier",
28
+ deposit: "Deposit",
29
+ withdraw: "Withdraw"
30
+ }
31
+ }
32
+ };
33
+ function _t(s) {
34
+ nt(s, "svelte-1hnrsdj", ".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;stroke:var(--emw--color-primary, #F9C405)}");
35
+ }
36
+ const mt = (s) => ({}), A = (s) => ({}), wt = (s) => ({}), R = (s) => ({}), bt = (s) => ({}), D = (s) => ({});
37
+ function E(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" 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
+ },
43
+ m(n, f) {
44
+ C(n, t, f), e || (l = W(
45
+ t,
46
+ "click",
47
+ /*back*/
48
+ s[6]
49
+ ), e = !0);
50
+ },
51
+ p: U,
52
+ d(n) {
53
+ n && b(t), e = !1, l();
54
+ }
55
+ };
56
+ }
57
+ function Ct(s) {
58
+ let t, e = (
59
+ /*backButton*/
60
+ s[1] && E(s)
61
+ );
62
+ return {
63
+ c() {
64
+ e && e.c(), t = q();
65
+ },
66
+ m(l, n) {
67
+ e && e.m(l, n), C(l, t, n);
68
+ },
69
+ p(l, n) {
70
+ /*backButton*/
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
+ },
73
+ d(l) {
74
+ l && b(t), e && e.d(l);
75
+ }
76
+ };
77
+ }
78
+ function pt(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 = at(e), k(t, "class", "CashierHeaderTitle");
89
+ },
90
+ m(n, f) {
91
+ C(n, t, f), F(t, l);
92
+ },
93
+ p(n, f) {
94
+ f & /*$_, titleText*/
95
+ 20 && e !== (e = /*$_*/
96
+ n[4](
97
+ /*titleText*/
98
+ n[2]
99
+ ) + "") && ot(l, e);
100
+ },
101
+ d(n) {
102
+ n && b(t);
103
+ }
104
+ };
105
+ }
106
+ function O(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" 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
+ },
112
+ m(n, f) {
113
+ C(n, t, f), e || (l = W(
114
+ t,
115
+ "click",
116
+ /*close*/
117
+ s[5]
118
+ ), e = !0);
119
+ },
120
+ p: U,
121
+ d(n) {
122
+ n && b(t), e = !1, l();
123
+ }
124
+ };
125
+ }
126
+ function kt(s) {
127
+ let t, e = (
128
+ /*closeButton*/
129
+ s[3] && O(s)
130
+ );
131
+ return {
132
+ c() {
133
+ e && e.c(), t = q();
134
+ },
135
+ m(l, n) {
136
+ e && e.m(l, n), C(l, t, n);
137
+ },
138
+ p(l, n) {
139
+ /*closeButton*/
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
+ },
142
+ d(l) {
143
+ l && b(t), e && e.d(l);
144
+ }
145
+ };
146
+ }
147
+ function yt(s) {
148
+ let t, e, l, n;
149
+ const f = (
150
+ /*#slots*/
151
+ s[16].leftButton
152
+ ), _ = y(
153
+ f,
154
+ s,
155
+ /*$$scope*/
156
+ s[15],
157
+ D
158
+ ), r = _ || Ct(s), m = (
159
+ /*#slots*/
160
+ s[16].title
161
+ ), h = y(
162
+ m,
163
+ s,
164
+ /*$$scope*/
165
+ s[15],
166
+ R
167
+ ), c = h || pt(s), g = (
168
+ /*#slots*/
169
+ s[16].rightButton
170
+ ), d = y(
171
+ g,
172
+ s,
173
+ /*$$scope*/
174
+ s[15],
175
+ A
176
+ ), u = d || kt(s);
177
+ return {
178
+ c() {
179
+ t = p("div"), r && r.c(), e = N(), c && c.c(), l = N(), u && u.c(), k(t, "class", "CashierHeader");
180
+ },
181
+ m(i, a) {
182
+ C(i, t, a), r && r.m(t, null), F(t, e), c && c.m(t, null), F(t, l), u && u.m(t, null), s[17](t), n = !0;
183
+ },
184
+ p(i, [a]) {
185
+ _ ? _.p && (!n || a & /*$$scope*/
186
+ 32768) && L(
187
+ _,
188
+ f,
189
+ i,
190
+ /*$$scope*/
191
+ i[15],
192
+ n ? S(
193
+ f,
194
+ /*$$scope*/
195
+ i[15],
196
+ a,
197
+ bt
198
+ ) : H(
199
+ /*$$scope*/
200
+ i[15]
201
+ ),
202
+ D
203
+ ) : r && r.p && (!n || a & /*backButton*/
204
+ 2) && r.p(i, n ? a : -1), h ? h.p && (!n || a & /*$$scope*/
205
+ 32768) && L(
206
+ h,
207
+ m,
208
+ i,
209
+ /*$$scope*/
210
+ i[15],
211
+ n ? S(
212
+ m,
213
+ /*$$scope*/
214
+ i[15],
215
+ a,
216
+ wt
217
+ ) : H(
218
+ /*$$scope*/
219
+ i[15]
220
+ ),
221
+ R
222
+ ) : c && c.p && (!n || a & /*$_, titleText*/
223
+ 20) && c.p(i, n ? a : -1), d ? d.p && (!n || a & /*$$scope*/
224
+ 32768) && L(
225
+ d,
226
+ g,
227
+ i,
228
+ /*$$scope*/
229
+ i[15],
230
+ n ? S(
231
+ g,
232
+ /*$$scope*/
233
+ i[15],
234
+ a,
235
+ mt
236
+ ) : H(
237
+ /*$$scope*/
238
+ i[15]
239
+ ),
240
+ A
241
+ ) : u && u.p && (!n || a & /*closeButton*/
242
+ 8) && u.p(i, n ? a : -1);
243
+ },
244
+ i(i) {
245
+ n || (v(r, i), v(c, i), v(u, i), n = !0);
246
+ },
247
+ o(i) {
248
+ B(r, i), B(c, i), B(u, i), n = !1;
249
+ },
250
+ d(i) {
251
+ i && b(t), r && r.d(i), c && c.d(i), u && u.d(i), s[17](null);
252
+ }
253
+ };
254
+ }
255
+ function Bt(s, t, e) {
256
+ let l;
257
+ it(s, gt, (o) => e(4, l = o));
258
+ let { $$slots: n = {}, $$scope: f } = 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: u = "" } = t, i, a = !1, M, T = !1;
259
+ const Z = () => {
260
+ fetch(m).then((o) => o.json()).then((o) => {
261
+ Object.keys(o).forEach((j) => {
262
+ x(j, o[j]);
263
+ });
264
+ }).catch((o) => {
265
+ console.log(o);
266
+ });
267
+ };
268
+ Object.keys(z).forEach((o) => {
269
+ x(o, z[o]);
270
+ });
271
+ const G = () => {
272
+ dt(g);
273
+ }, I = () => {
274
+ window.postMessage({ type: "CloseCashier" }, window.location.href);
275
+ }, P = () => {
276
+ window.postMessage({ type: "BackCashier" }, window.location.href);
277
+ }, Y = () => {
278
+ e(1, a = !!h && h !== "false");
279
+ }, J = () => {
280
+ e(3, T = !!d && d !== "false");
281
+ }, K = () => {
282
+ e(2, M = c || "header.general");
283
+ };
284
+ lt(() => () => {
285
+ });
286
+ function Q(o) {
287
+ rt[o ? "unshift" : "push"](() => {
288
+ i = o, e(0, i);
289
+ });
290
+ }
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, u = o.mbsource), "$$scope" in o && e(15, f = o.$$scope);
293
+ }, s.$$.update = () => {
294
+ s.$$.dirty & /*lang*/
295
+ 4096 && g && G(), s.$$.dirty & /*lang, title*/
296
+ 6144 && g && c && K(), s.$$.dirty & /*clientstyling, customStylingContainer*/
297
+ 129 && _ && i && ct(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
298
+ 257 && r && i && ut(i, r), s.$$.dirty & /*mbsource, customStylingContainer*/
299
+ 16385 && u && i && ft(i, `${u}.Style`), s.$$.dirty & /*lang, translationurl*/
300
+ 4608 && g && m && Z(), s.$$.dirty & /*showbackbutton*/
301
+ 1024 && h && Y(), s.$$.dirty & /*showclosebutton*/
302
+ 8192 && d && J();
303
+ }, [
304
+ i,
305
+ a,
306
+ M,
307
+ T,
308
+ l,
309
+ I,
310
+ P,
311
+ _,
312
+ r,
313
+ m,
314
+ h,
315
+ c,
316
+ g,
317
+ d,
318
+ u,
319
+ f,
320
+ n,
321
+ Q
322
+ ];
323
+ }
324
+ class vt extends tt {
325
+ constructor(t) {
326
+ super(), et(
327
+ this,
328
+ t,
329
+ Bt,
330
+ yt,
331
+ st,
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
+ _t
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
+ ht(vt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
395
+ export {
396
+ vt as default
397
+ };