@everymatrix/cashier-method-details 1.53.0 → 1.53.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (23) hide show
  1. package/components/CashierConfirmModal-agjo7360.js +992 -0
  2. package/components/{CashierError-DHY1mLRH.js → CashierError-MwSUmltg.js} +413 -411
  3. package/components/{CashierHeader-Q8JuzuVk.js → CashierHeader-t-mKIY-_.js} +48 -48
  4. package/components/{CashierIframeRedirect-B4imEacT.js → CashierIframeRedirect-OvWRLGOx.js} +6 -6
  5. package/components/{CashierMethodDetails-BmZ39mKy.js → CashierMethodDetails-BcnSmVkq.js} +962 -980
  6. package/components/{CashierModal-DjGgvDJK.js → CashierModal-ClIRlRW4.js} +1 -1
  7. package/components/{CashierNotifications-BmUYtlED.js → CashierNotifications-Ip7CfQWs.js} +1 -1
  8. package/components/{CashierReceiptPage-oL_aBSik.js → CashierReceiptPage-CIlcvMvB.js} +108 -109
  9. package/components/{CashierSpinner-BhJd9GIb.js → CashierSpinner-DjTQcN-x.js} +1 -1
  10. package/esnext/cashier-method-details.js +14 -0
  11. package/package.json +12 -16
  12. package/components/CashierConfirmModal-BeEK5pGj.cjs +0 -4
  13. package/components/CashierConfirmModal-Ccz0Sdnq.js +0 -1029
  14. package/components/CashierError-CjbdWO_N.cjs +0 -5
  15. package/components/CashierHeader-BENTNpJ3.cjs +0 -1
  16. package/components/CashierIframeRedirect-i5PAPezc.cjs +0 -1
  17. package/components/CashierMethodDetails-B9LcGnur.cjs +0 -18
  18. package/components/CashierModal-Dh8HuQn-.cjs +0 -1
  19. package/components/CashierNotifications-C2D2LjK6.cjs +0 -1
  20. package/components/CashierReceiptPage-BMF8JyuJ.cjs +0 -1
  21. package/components/CashierSpinner-BYRAyXQ3.cjs +0 -1
  22. package/es2015/cashier-method-details.cjs +0 -1
  23. package/es2015/cashier-method-details.js +0 -16
@@ -1,12 +1,12 @@
1
- import { S as $, b as tt, f as b, c as et, a as nt, d as st, e as L, g as y, h as z, j as B, k as C, l as S, u as v, m as H, o as T, t as M, p as E, v as k, w as lt, x as W, y as it, z as ot, C as at, A as Z, n as q } from "./CashierConfirmModal-Ccz0Sdnq.js";
2
- import { a as rt, i as ct, $ as ft, b as ut } from "./CashierError-DHY1mLRH.js";
1
+ import { S as $, b as tt, f as b, c as et, a as nt, d as st, e as L, g as y, h as z, j as B, k as C, l as S, u as v, m as H, o as T, t as M, p as E, v as k, w as lt, x as W, y as it, z as ot, C as at, A as Z, n as q } from "./CashierConfirmModal-agjo7360.js";
2
+ import { a as rt, i as ct, $ as ut, b as ft } from "./CashierError-MwSUmltg.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
- }), ft.set(n);
9
+ }), ut.set(n);
10
10
  }
11
11
  const R = {
12
12
  en: {
@@ -41,8 +41,8 @@ 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, u) {
45
- C(s, t, u), e || (l = Z(
44
+ m(s, c) {
45
+ C(s, t, c), e || (l = Z(
46
46
  t,
47
47
  "click",
48
48
  /*back*/
@@ -88,11 +88,11 @@ function bt(n) {
88
88
  c() {
89
89
  t = y("span"), l = it(e), B(t, "class", "CashierHeaderTitle");
90
90
  },
91
- m(s, u) {
92
- C(s, t, u), S(t, l);
91
+ m(s, c) {
92
+ C(s, t, c), S(t, l);
93
93
  },
94
- p(s, u) {
95
- u & /*$_, titleText*/
94
+ p(s, c) {
95
+ c & /*$_, titleText*/
96
96
  20 && e !== (e = /*$_*/
97
97
  s[4](
98
98
  /*titleText*/
@@ -110,8 +110,8 @@ function D(n) {
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, u) {
114
- C(s, t, u), e || (l = Z(
113
+ m(s, c) {
114
+ C(s, t, c), e || (l = Z(
115
115
  t,
116
116
  "click",
117
117
  /*close*/
@@ -147,16 +147,16 @@ function pt(n) {
147
147
  }
148
148
  function Ct(n) {
149
149
  let t, e, l, s;
150
- const u = (
150
+ const c = (
151
151
  /*#slots*/
152
152
  n[15].leftButton
153
153
  ), _ = L(
154
- u,
154
+ c,
155
155
  n,
156
156
  /*$$scope*/
157
157
  n[14],
158
158
  O
159
- ), c = _ || wt(n), w = (
159
+ ), u = _ || wt(n), w = (
160
160
  /*#slots*/
161
161
  n[15].title
162
162
  ), h = L(
@@ -174,35 +174,35 @@ function Ct(n) {
174
174
  /*$$scope*/
175
175
  n[14],
176
176
  x
177
- ), a = d || pt(n);
177
+ ), r = d || pt(n);
178
178
  return {
179
179
  c() {
180
- t = y("div"), c && c.c(), e = z(), f && f.c(), l = z(), a && a.c(), B(t, "class", "CashierHeader");
180
+ t = y("div"), u.c(), e = z(), f.c(), l = z(), r.c(), B(t, "class", "CashierHeader");
181
181
  },
182
- m(i, r) {
183
- C(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;
182
+ m(i, a) {
183
+ C(i, t, a), u.m(t, null), S(t, e), f.m(t, null), S(t, l), r.m(t, null), n[16](t), s = !0;
184
184
  },
185
- p(i, [r]) {
186
- _ ? _.p && (!s || r & /*$$scope*/
185
+ p(i, [a]) {
186
+ _ ? _.p && (!s || a & /*$$scope*/
187
187
  16384) && v(
188
188
  _,
189
- u,
189
+ c,
190
190
  i,
191
191
  /*$$scope*/
192
192
  i[14],
193
193
  s ? T(
194
- u,
194
+ c,
195
195
  /*$$scope*/
196
196
  i[14],
197
- r,
197
+ a,
198
198
  mt
199
199
  ) : H(
200
200
  /*$$scope*/
201
201
  i[14]
202
202
  ),
203
203
  O
204
- ) : c && c.p && (!s || r & /*backButton*/
205
- 2) && c.p(i, s ? r : -1), h ? h.p && (!s || r & /*$$scope*/
204
+ ) : u.p && (!s || a & /*backButton*/
205
+ 2) && u.p(i, s ? a : -1), h ? h.p && (!s || a & /*$$scope*/
206
206
  16384) && v(
207
207
  h,
208
208
  w,
@@ -213,15 +213,15 @@ function Ct(n) {
213
213
  w,
214
214
  /*$$scope*/
215
215
  i[14],
216
- r,
216
+ a,
217
217
  _t
218
218
  ) : H(
219
219
  /*$$scope*/
220
220
  i[14]
221
221
  ),
222
222
  A
223
- ) : f && f.p && (!s || r & /*$_, titleText*/
224
- 20) && f.p(i, s ? r : -1), d ? d.p && (!s || r & /*$$scope*/
223
+ ) : f.p && (!s || a & /*$_, titleText*/
224
+ 20) && f.p(i, s ? a : -1), d ? d.p && (!s || a & /*$$scope*/
225
225
  16384) && v(
226
226
  d,
227
227
  g,
@@ -232,31 +232,31 @@ function Ct(n) {
232
232
  g,
233
233
  /*$$scope*/
234
234
  i[14],
235
- r,
235
+ a,
236
236
  dt
237
237
  ) : H(
238
238
  /*$$scope*/
239
239
  i[14]
240
240
  ),
241
241
  x
242
- ) : a && a.p && (!s || r & /*closeButton*/
243
- 8) && a.p(i, s ? r : -1);
242
+ ) : r.p && (!s || a & /*closeButton*/
243
+ 8) && r.p(i, s ? a : -1);
244
244
  },
245
245
  i(i) {
246
- s || (M(c, i), M(f, i), M(a, i), s = !0);
246
+ s || (M(u, i), M(f, i), M(r, i), s = !0);
247
247
  },
248
248
  o(i) {
249
- E(c, i), E(f, i), E(a, i), s = !1;
249
+ E(u, i), E(f, i), E(r, i), s = !1;
250
250
  },
251
251
  d(i) {
252
- i && k(t), c && c.d(i), f && f.d(i), a && a.d(i), n[16](null);
252
+ i && k(t), u.d(i), f.d(i), r.d(i), n[16](null);
253
253
  }
254
254
  };
255
255
  }
256
256
  function kt(n, t, e) {
257
257
  let l;
258
- lt(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;
258
+ lt(n, ft, (o) => e(4, l = o));
259
+ let { $$slots: s = {}, $$scope: c } = t, { clientstyling: _ = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: w = "" } = t, { showbackbutton: h = "" } = t, { title: f = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, r, i = !1, a, 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 = _, a.appendChild(o);
275
+ o.innerHTML = _, r.appendChild(o);
276
276
  }, P = () => {
277
- let o = new URL(c), m = document.createElement("style");
277
+ let o = new URL(u), m = document.createElement("style");
278
278
  fetch(o.href).then((p) => p.text()).then((p) => {
279
279
  m.innerHTML = p, setTimeout(
280
280
  () => {
281
- a.appendChild(m);
281
+ r.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, r = f || "header.general");
297
+ e(2, a = f || "header.general");
298
298
  };
299
299
  function X(o) {
300
300
  at[o ? "unshift" : "push"](() => {
301
- a = o, e(0, a);
301
+ r = o, e(0, r);
302
302
  });
303
303
  }
304
304
  return n.$$set = (o) => {
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);
305
+ "clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8, u = 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, c = 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 && _ && a && I(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
311
- 257 && c && a && P(), n.$$.dirty & /*lang, translationurl*/
310
+ 129 && _ && r && I(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
311
+ 257 && u && r && 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
- a,
317
- i,
318
316
  r,
317
+ i,
318
+ a,
319
319
  j,
320
320
  l,
321
321
  G,
322
322
  J,
323
323
  _,
324
- c,
324
+ u,
325
325
  w,
326
326
  h,
327
327
  f,
328
328
  g,
329
329
  d,
330
- u,
330
+ c,
331
331
  s,
332
332
  X
333
333
  ];
@@ -1,5 +1,5 @@
1
- import { S as U, b as q, f as C, c as Z, a as F, d as P, g as y, h as H, E as c, D as R, j as b, k, l as L, A as M, n as v, v as E, C as G } from "./CashierConfirmModal-Ccz0Sdnq.js";
2
- import { a as J, i as K, $ as Q } from "./CashierError-DHY1mLRH.js";
1
+ import { S as U, b as q, f as C, c as Z, a as F, d as P, g as y, h as H, E as c, D as R, j as b, k, l as L, A as M, n as v, v as E, C as G } from "./CashierConfirmModal-agjo7360.js";
2
+ import { a as J, i as K, $ as Q } from "./CashierError-MwSUmltg.js";
3
3
  function T(i, e) {
4
4
  J(i, e);
5
5
  }
@@ -25,7 +25,7 @@ const D = {
25
25
  redirectHeader: "Deposit redirect"
26
26
  }
27
27
  };
28
- if (typeof window != "undefined") {
28
+ if (typeof window < "u") {
29
29
  let i = function(e) {
30
30
  return function(...t) {
31
31
  try {
@@ -37,11 +37,11 @@ if (typeof window != "undefined") {
37
37
  }
38
38
  };
39
39
  };
40
- customElements.define = i(customElements.define), import("./CashierHeader-Q8JuzuVk.js").then(({ default: e }) => {
40
+ customElements.define = i(customElements.define), import("./CashierHeader-t-mKIY-_.js").then(({ default: e }) => {
41
41
  !customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
42
42
  });
43
43
  }
44
- if (typeof window != "undefined") {
44
+ if (typeof window < "u") {
45
45
  let i = function(e) {
46
46
  return function(...t) {
47
47
  try {
@@ -53,7 +53,7 @@ if (typeof window != "undefined") {
53
53
  }
54
54
  };
55
55
  };
56
- customElements.define = i(customElements.define), import("./CashierSpinner-BhJd9GIb.js").then(({ default: e }) => {
56
+ customElements.define = i(customElements.define), import("./CashierSpinner-DjTQcN-x.js").then(({ default: e }) => {
57
57
  !customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
58
58
  });
59
59
  }