@everymatrix/cashier-page 1.90.38 → 1.91.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/components/CashierCarousel-BNcnaN7U.js +672 -0
  2. package/components/CashierCarousel-CDhxtgjT.cjs +1 -0
  3. package/components/CashierCarousel-tfVH51fj.js +675 -0
  4. package/components/{CashierError-KbAGLdoj.js → CashierError-BBZp_vCz.js} +16 -15
  5. package/components/CashierError-BqvEnGrr.cjs +1 -0
  6. package/components/{CashierError-konEQwnP.js → CashierError-CJCuZ3gS.js} +16 -15
  7. package/components/CashierHeader-BGA-Qd-S.js +456 -0
  8. package/components/CashierHeader-BKL2lJFV.cjs +1 -0
  9. package/components/CashierHeader-Bt5aV48_.js +456 -0
  10. package/components/CashierIframeRedirect-BFSErhBp.cjs +1 -0
  11. package/components/{CashierIframeRedirect-C3muwYdO.js → CashierIframeRedirect-BmdHdE-5.js} +91 -106
  12. package/components/{CashierIframeRedirect-Ti9O6xV-.js → CashierIframeRedirect-pYzLGWrC.js} +93 -108
  13. package/components/CashierMethodDetails-DVZrNpfS.cjs +85 -0
  14. package/components/{CashierMethodDetails-B3kqjVcJ.js → CashierMethodDetails-DcSOxSSa.js} +2955 -3380
  15. package/components/{CashierMethodDetails-BuXvXCMn.js → CashierMethodDetails-pX-AJWAC.js} +2965 -3390
  16. package/components/{CashierMethodsList-Dz_ZPGDZ.js → CashierMethodsList-Bdv9g-e3.js} +56 -56
  17. package/components/CashierMethodsList-CKVmXdTC.cjs +1 -0
  18. package/components/{CashierMethodsList-DxIhgxEL.js → CashierMethodsList-D1cLe15i.js} +65 -65
  19. package/components/{CashierModal-BsrmgnKi.js → CashierModal-B3zx276E.js} +33 -32
  20. package/components/CashierModal-J_mZ6ODP.cjs +1 -0
  21. package/components/{CashierModal-B1pfSpCs.js → CashierModal-v3KI6AFW.js} +37 -36
  22. package/components/{CashierNotifications-DbJuswYZ.js → CashierNotifications-B2R2A9Ph.js} +5 -5
  23. package/components/{CashierNotifications-BXxNDzMM.js → CashierNotifications-CS6nM02T.js} +3 -3
  24. package/components/CashierNotifications-D-OhK4CJ.cjs +1 -0
  25. package/components/CashierPage-7d2gkNjC.js +9989 -0
  26. package/components/CashierPage-N8z4Zzox.js +9936 -0
  27. package/components/CashierPage-flG2gyRG.cjs +23 -0
  28. package/components/{CashierReceiptPage-DLZjvQui.js → CashierReceiptPage-BAvDYneB.js} +125 -138
  29. package/components/{CashierReceiptPage-DLp3xTRl.js → CashierReceiptPage-BHsVpacF.js} +125 -138
  30. package/components/CashierReceiptPage-BLOSwHFv.cjs +26 -0
  31. package/components/{CashierSessionExpirationModal-DnrJB7FX.js → CashierSessionExpirationModal-Bxct5zbr.js} +280 -267
  32. package/components/{CashierSessionExpirationModal-D9rAlcNI.js → CashierSessionExpirationModal-fN2A0ywt.js} +267 -254
  33. package/components/CashierSessionExpirationModal-vmiK0fHD.cjs +2 -0
  34. package/components/{CashierSpinner-DMrM0bGx.js → CashierSpinner-Ake8hCVD.js} +11 -10
  35. package/components/CashierSpinner-BUQIDK1i.cjs +1 -0
  36. package/components/{CashierSpinner-gJqeYU1n.js → CashierSpinner-DXjWZCDg.js} +13 -12
  37. package/components/CashierStepUp-BtrSk7D-.cjs +1 -0
  38. package/components/{CashierStepUp-BtmD9q4i.js → CashierStepUp-CcGk8qq_.js} +246 -245
  39. package/components/{CashierStepUp-B530YrSp.js → CashierStepUp-D2XsYRPV.js} +169 -168
  40. package/components/CashierTransactionHistory-0iCdtdJ1.cjs +1 -0
  41. package/components/{CashierTransactionHistory-DGGy4ffC.js → CashierTransactionHistory-C_yz5IP4.js} +71 -71
  42. package/components/{CashierTransactionHistory-DjJSyWXf.js → CashierTransactionHistory-Dr-rQ2Vi.js} +66 -66
  43. package/components/{CashierVerifications-CNMavkzY.js → CashierVerifications-DKRqica1.js} +158 -142
  44. package/components/{CashierVerifications-DWiOQPvm.js → CashierVerifications-dqSxyAIe.js} +118 -102
  45. package/components/CashierVerifications-v1QrnVcB.cjs +1 -0
  46. package/components/{TxnStatusIcon-DRFHs_0F.js → TxnStatusIcon-BBJGYEAU.js} +1 -1
  47. package/components/TxnStatusIcon-BWEAB3rw.cjs +1 -0
  48. package/components/{TxnStatusIcon-DCSCOAn2.js → TxnStatusIcon-BkGptsYx.js} +8 -8
  49. package/components/{TxnTypeIcons-Bg7QJKuH.js → TxnTypeIcons-BDTJpcOb.js} +1 -1
  50. package/components/TxnTypeIcons-Bjn-FpNT.cjs +1 -0
  51. package/components/{TxnTypeIcons-D37zQDwq.js → TxnTypeIcons-Bmdgcbf2.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +7 -7
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierCarousel-B-cM-nlR.js +0 -5797
  57. package/components/CashierCarousel-CXoovlrR.js +0 -5835
  58. package/components/CashierCarousel-DMrMmClP.cjs +0 -23
  59. package/components/CashierError-CHGdRh2_.cjs +0 -1
  60. package/components/CashierHeader-B7FnLv3f.js +0 -397
  61. package/components/CashierHeader-BbP0idUh.js +0 -397
  62. package/components/CashierHeader-PvXFHPzQ.cjs +0 -1
  63. package/components/CashierIframeRedirect-C0AQ3pLh.cjs +0 -1
  64. package/components/CashierMethodDetails-31NnDFlx.cjs +0 -85
  65. package/components/CashierMethodsList-Dpc1Qnt_.cjs +0 -1
  66. package/components/CashierModal-DF8meLAZ.cjs +0 -1
  67. package/components/CashierNotifications-B8bRZMac.cjs +0 -1
  68. package/components/CashierPage-CrLOKCt7.js +0 -4485
  69. package/components/CashierPage-DDNG9YBM.cjs +0 -1
  70. package/components/CashierPage-Ra2kFFdS.js +0 -4455
  71. package/components/CashierReceiptPage-CGntD3Ym.cjs +0 -26
  72. package/components/CashierSessionExpirationModal-BE-FRBRq.cjs +0 -2
  73. package/components/CashierSpinner-DKYO0FtD.cjs +0 -1
  74. package/components/CashierStepUp-DKytvkqu.cjs +0 -1
  75. package/components/CashierTransactionHistory-DK7tE0EW.cjs +0 -1
  76. package/components/CashierVerifications-8c9sENE2.cjs +0 -1
  77. package/components/TxnStatusIcon-CWkyVMIU.cjs +0 -1
  78. package/components/TxnTypeIcons-CTQXT_j5.cjs +0 -1
@@ -1,397 +0,0 @@
1
- import { a as X, i as $, $ as tt, S as et, b as st, f as w, s as it, E as nt, c as lt, 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 R, o as k, p as ot, q as at, r as U, v as rt, w as ct, y as ut, G as Z, x as G, F as ft, B as ht, C as gt, D as dt } from "./CashierCarousel-B-cM-nlR.js";
2
- function x(s, t) {
3
- X(s, t);
4
- }
5
- function _t(s) {
6
- $({
7
- fallbackLocale: "en"
8
- }), tt.set(s);
9
- }
10
- const z = {
11
- en: {
12
- header: {
13
- general: "Cashier",
14
- deposit: "Deposit",
15
- withdraw: "Withdraw"
16
- }
17
- },
18
- tr: {
19
- header: {
20
- general: "Cashier",
21
- deposit: "Para Yatır",
22
- withdraw: "Çekim"
23
- }
24
- },
25
- fr: {
26
- header: {
27
- general: "Caisse",
28
- deposit: "Dépôt",
29
- withdraw: "Retrait"
30
- }
31
- }
32
- };
33
- function mt(s) {
34
- lt(s, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
35
- }
36
- const wt = (s) => ({}), A = (s) => ({}), bt = (s) => ({}), D = (s) => ({}), Ct = (s) => ({}), E = (s) => ({});
37
- function O(s) {
38
- let t, e, l;
39
- return {
40
- c() {
41
- t = p("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>', k(t, "class", "CashierHeaderLeftButton");
42
- },
43
- m(i, f) {
44
- C(i, t, f), e || (l = G(
45
- t,
46
- "click",
47
- /*back*/
48
- s[6]
49
- ), e = !0);
50
- },
51
- p: Z,
52
- d(i) {
53
- i && b(t), e = !1, l();
54
- }
55
- };
56
- }
57
- function pt(s) {
58
- let t, e = (
59
- /*backButton*/
60
- s[1] && O(s)
61
- );
62
- return {
63
- c() {
64
- e && e.c(), t = U();
65
- },
66
- m(l, i) {
67
- e && e.m(l, i), C(l, t, i);
68
- },
69
- p(l, i) {
70
- /*backButton*/
71
- l[1] ? e ? e.p(l, i) : (e = O(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 kt(s) {
79
- let t, e = (
80
- /*$_*/
81
- s[4](
82
- /*titleText*/
83
- s[2]
84
- ) + ""
85
- ), l;
86
- return {
87
- c() {
88
- t = p("span"), l = ct(e), k(t, "class", "CashierHeaderTitle");
89
- },
90
- m(i, f) {
91
- C(i, t, f), F(t, l);
92
- },
93
- p(i, f) {
94
- f & /*$_, titleText*/
95
- 20 && e !== (e = /*$_*/
96
- i[4](
97
- /*titleText*/
98
- i[2]
99
- ) + "") && rt(l, e);
100
- },
101
- d(i) {
102
- i && b(t);
103
- }
104
- };
105
- }
106
- function q(s) {
107
- let t, e, l;
108
- return {
109
- c() {
110
- t = p("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"></path></svg>', k(t, "class", "CashierHeaderRightButton");
111
- },
112
- m(i, f) {
113
- C(i, t, f), e || (l = G(
114
- t,
115
- "click",
116
- /*close*/
117
- s[5]
118
- ), e = !0);
119
- },
120
- p: Z,
121
- d(i) {
122
- i && b(t), e = !1, l();
123
- }
124
- };
125
- }
126
- function yt(s) {
127
- let t, e = (
128
- /*closeButton*/
129
- s[3] && q(s)
130
- );
131
- return {
132
- c() {
133
- e && e.c(), t = U();
134
- },
135
- m(l, i) {
136
- e && e.m(l, i), C(l, t, i);
137
- },
138
- p(l, i) {
139
- /*closeButton*/
140
- l[3] ? e ? e.p(l, i) : (e = q(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 Bt(s) {
148
- let t, e, l, i;
149
- const f = (
150
- /*#slots*/
151
- s[16].leftButton
152
- ), _ = y(
153
- f,
154
- s,
155
- /*$$scope*/
156
- s[15],
157
- E
158
- ), a = _ || pt(s), m = (
159
- /*#slots*/
160
- s[16].title
161
- ), h = y(
162
- m,
163
- s,
164
- /*$$scope*/
165
- s[15],
166
- D
167
- ), r = h || kt(s), g = (
168
- /*#slots*/
169
- s[16].rightButton
170
- ), d = y(
171
- g,
172
- s,
173
- /*$$scope*/
174
- s[15],
175
- A
176
- ), c = d || yt(s);
177
- return {
178
- c() {
179
- t = p("div"), a && a.c(), e = R(), r && r.c(), l = R(), c && c.c(), k(t, "class", "CashierHeader");
180
- },
181
- m(n, u) {
182
- C(n, t, u), a && a.m(t, null), F(t, e), r && r.m(t, null), F(t, l), c && c.m(t, null), s[17](t), i = !0;
183
- },
184
- p(n, [u]) {
185
- _ ? _.p && (!i || u & /*$$scope*/
186
- 32768) && L(
187
- _,
188
- f,
189
- n,
190
- /*$$scope*/
191
- n[15],
192
- i ? S(
193
- f,
194
- /*$$scope*/
195
- n[15],
196
- u,
197
- Ct
198
- ) : H(
199
- /*$$scope*/
200
- n[15]
201
- ),
202
- E
203
- ) : a && a.p && (!i || u & /*backButton*/
204
- 2) && a.p(n, i ? u : -1), h ? h.p && (!i || u & /*$$scope*/
205
- 32768) && L(
206
- h,
207
- m,
208
- n,
209
- /*$$scope*/
210
- n[15],
211
- i ? S(
212
- m,
213
- /*$$scope*/
214
- n[15],
215
- u,
216
- bt
217
- ) : H(
218
- /*$$scope*/
219
- n[15]
220
- ),
221
- D
222
- ) : r && r.p && (!i || u & /*$_, titleText*/
223
- 20) && r.p(n, i ? u : -1), d ? d.p && (!i || u & /*$$scope*/
224
- 32768) && L(
225
- d,
226
- g,
227
- n,
228
- /*$$scope*/
229
- n[15],
230
- i ? S(
231
- g,
232
- /*$$scope*/
233
- n[15],
234
- u,
235
- wt
236
- ) : H(
237
- /*$$scope*/
238
- n[15]
239
- ),
240
- A
241
- ) : c && c.p && (!i || u & /*closeButton*/
242
- 8) && c.p(n, i ? u : -1);
243
- },
244
- i(n) {
245
- i || (v(a, n), v(r, n), v(c, n), i = !0);
246
- },
247
- o(n) {
248
- B(a, n), B(r, n), B(c, n), i = !1;
249
- },
250
- d(n) {
251
- n && b(t), a && a.d(n), r && r.d(n), c && c.d(n), s[17](null);
252
- }
253
- };
254
- }
255
- function vt(s, t, e) {
256
- let l;
257
- ot(s, ft, (o) => e(4, l = o));
258
- let { $$slots: i = {}, $$scope: f } = t, { clientstyling: _ = "" } = t, { clientstylingurl: a = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: r = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: c = "" } = t, n, u, M = !1, T, j = !1;
259
- const I = () => {
260
- fetch(m).then((o) => o.json()).then((o) => {
261
- Object.keys(o).forEach((N) => {
262
- x(N, o[N]);
263
- });
264
- }).catch((o) => {
265
- console.log(o);
266
- });
267
- };
268
- Object.keys(z).forEach((o) => {
269
- x(o, z[o]);
270
- });
271
- const P = () => {
272
- _t(g);
273
- }, W = () => {
274
- window.postMessage({ type: "CloseCashier" }, window.location.href);
275
- }, Y = () => {
276
- window.postMessage({ type: "BackCashier" }, window.location.href);
277
- }, J = () => {
278
- e(1, M = !!h && h !== "false");
279
- }, K = () => {
280
- e(3, j = !!d && d !== "false");
281
- }, Q = () => {
282
- e(2, T = r || "header.general");
283
- };
284
- at(() => () => {
285
- });
286
- function V(o) {
287
- ut[o ? "unshift" : "push"](() => {
288
- n = o, e(0, n);
289
- });
290
- }
291
- return s.$$set = (o) => {
292
- "clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8, a = o.clientstylingurl), "translationurl" in o && e(9, m = o.translationurl), "showbackbutton" in o && e(10, h = o.showbackbutton), "title" in o && e(11, r = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, d = o.showclosebutton), "mbsource" in o && e(14, c = o.mbsource), "$$scope" in o && e(15, f = o.$$scope);
293
- }, s.$$.update = () => {
294
- s.$$.dirty & /*lang*/
295
- 4096 && g && P(), s.$$.dirty & /*lang, title*/
296
- 6144 && g && r && Q(), s.$$.dirty & /*clientstyling, customStylingContainer*/
297
- 129 && _ && n && ht(n, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
298
- 257 && a && n && gt(n, a), s.$$.dirty & /*mbsource, customStylingContainer*/
299
- 16385 && c && n && dt(n, `${c}.Style`, u), s.$$.dirty & /*lang, translationurl*/
300
- 4608 && g && m && I(), s.$$.dirty & /*showbackbutton*/
301
- 1024 && h && J(), s.$$.dirty & /*showclosebutton*/
302
- 8192 && d && K();
303
- }, [
304
- n,
305
- M,
306
- T,
307
- j,
308
- l,
309
- W,
310
- Y,
311
- _,
312
- a,
313
- m,
314
- h,
315
- r,
316
- g,
317
- d,
318
- c,
319
- f,
320
- i,
321
- V
322
- ];
323
- }
324
- class Lt extends et {
325
- constructor(t) {
326
- super(), st(
327
- this,
328
- t,
329
- vt,
330
- Bt,
331
- it,
332
- {
333
- clientstyling: 7,
334
- clientstylingurl: 8,
335
- translationurl: 9,
336
- showbackbutton: 10,
337
- title: 11,
338
- lang: 12,
339
- showclosebutton: 13,
340
- mbsource: 14
341
- },
342
- mt
343
- );
344
- }
345
- get clientstyling() {
346
- return this.$$.ctx[7];
347
- }
348
- set clientstyling(t) {
349
- this.$$set({ clientstyling: t }), w();
350
- }
351
- get clientstylingurl() {
352
- return this.$$.ctx[8];
353
- }
354
- set clientstylingurl(t) {
355
- this.$$set({ clientstylingurl: t }), w();
356
- }
357
- get translationurl() {
358
- return this.$$.ctx[9];
359
- }
360
- set translationurl(t) {
361
- this.$$set({ translationurl: t }), w();
362
- }
363
- get showbackbutton() {
364
- return this.$$.ctx[10];
365
- }
366
- set showbackbutton(t) {
367
- this.$$set({ showbackbutton: t }), w();
368
- }
369
- get title() {
370
- return this.$$.ctx[11];
371
- }
372
- set title(t) {
373
- this.$$set({ title: t }), w();
374
- }
375
- get lang() {
376
- return this.$$.ctx[12];
377
- }
378
- set lang(t) {
379
- this.$$set({ lang: t }), w();
380
- }
381
- get showclosebutton() {
382
- return this.$$.ctx[13];
383
- }
384
- set showclosebutton(t) {
385
- this.$$set({ showclosebutton: t }), w();
386
- }
387
- get mbsource() {
388
- return this.$$.ctx[14];
389
- }
390
- set mbsource(t) {
391
- this.$$set({ mbsource: t }), w();
392
- }
393
- }
394
- nt(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
395
- export {
396
- Lt as default
397
- };