@everymatrix/cashier-method-details 1.72.2 → 1.73.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.
Files changed (40) hide show
  1. package/components/{CashierError-CJI_fDUM.js → CashierError-Bit8f2LG.js} +1588 -973
  2. package/components/CashierError-Cy523iJ1.cjs +5 -0
  3. package/components/{CashierError-CPGOzOzp.js → CashierError-On0Yj7rs.js} +1590 -1012
  4. package/components/{CashierMethodDetails-bR4697Hp.js → CashierMethodDetails-B-IKLc0g.js} +3510 -2934
  5. package/components/{CashierMethodDetails-Cud2au48.js → CashierMethodDetails-BS1lvFHC.js} +3409 -2833
  6. package/components/CashierMethodDetails-Qia4X2aa.cjs +99 -0
  7. package/components/CashierNotifications-DaPR4BsA.cjs +1 -0
  8. package/components/{CashierNotifications-Dy0g_QWG.js → CashierNotifications-DgGrwok5.js} +7 -7
  9. package/components/{CashierNotifications-BMYdcdkg.js → CashierNotifications-my4KF6OG.js} +5 -5
  10. package/components/CashierReceiptPage-BP_ar4j5.js +1467 -0
  11. package/components/CashierReceiptPage-CKIxkJeF.js +1465 -0
  12. package/components/CashierReceiptPage-DITKlFGY.cjs +1 -0
  13. package/components/CashierSpinner-B4gEHfEo.cjs +1 -0
  14. package/components/CashierSpinner-OwrZeTmW.js +79 -0
  15. package/components/CashierSpinner-yIUdBo6e.js +79 -0
  16. package/es2015/cashier-method-details.cjs +1 -1
  17. package/es2015/cashier-method-details.js +1 -1
  18. package/esnext/cashier-method-details.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CashierConfirmModal-3pkCHAVZ.js +0 -999
  21. package/components/CashierConfirmModal-CNzEOcOZ.js +0 -1036
  22. package/components/CashierConfirmModal-CiWxBakF.cjs +0 -4
  23. package/components/CashierError-D-9IR82V.cjs +0 -5
  24. package/components/CashierHeader-Bp179BpV.js +0 -401
  25. package/components/CashierHeader-CceiIvHp.cjs +0 -1
  26. package/components/CashierHeader-D9pTVEII.js +0 -401
  27. package/components/CashierIframeRedirect-CFJteA-4.cjs +0 -1
  28. package/components/CashierIframeRedirect-CWy3Vds1.js +0 -378
  29. package/components/CashierIframeRedirect-DWf55GjY.js +0 -378
  30. package/components/CashierMethodDetails-CAOKmfNb.cjs +0 -84
  31. package/components/CashierModal-Dv-7ZIuz.js +0 -227
  32. package/components/CashierModal-PGQGrAgY.js +0 -227
  33. package/components/CashierModal-yskXp9fE.cjs +0 -1
  34. package/components/CashierNotifications-C5Z_cNID.cjs +0 -1
  35. package/components/CashierReceiptPage-Ce0oTUA1.js +0 -1172
  36. package/components/CashierReceiptPage-DKbNRgs-.cjs +0 -1
  37. package/components/CashierReceiptPage-DQn4C5y6.js +0 -1174
  38. package/components/CashierSpinner-BdCzICuN.cjs +0 -1
  39. package/components/CashierSpinner-C6y-LmOW.js +0 -71
  40. package/components/CashierSpinner-Yt2VnUjd.js +0 -71
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-Cy523iJ1.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,r,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),r=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(a,u){t.insert(a,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,r),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(a,[u]){u&1&&t.set_data(c,a[0]),u&2&&t.set_data(r,a[1])},i:t.noop,o:t.noop,d(a){a&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:r=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},a=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(r),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,r=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&a(),i.$$.dirty&36&&r&&l&&u()},[c,f,l,d,o,r,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button: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()}}t.create_custom_element(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;
@@ -1,4 +1,4 @@
1
- import { S as C, b as v, s as _, f as d, c as N, n as b, e as k, y as p, m as z, o as f, B as E, p as h, z as x, q as S, v as L, A as M, E as T } from "./CashierConfirmModal-CNzEOcOZ.js";
1
+ import { S as C, d as v, f as d, s as _, b as k, e as N, n as b, j as z, y as p, k as S, l as f, m as E, p as h, z as x, q as L, r as M, B as T } from "./CashierError-On0Yj7rs.js";
2
2
  function q(n) {
3
3
  N(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
4
4
  }
@@ -9,13 +9,13 @@ function B(n) {
9
9
  t = h("div"), s = h("span"), r = x(
10
10
  /*text*/
11
11
  n[0]
12
- ), u = S(), l = h("button"), a = x(
12
+ ), u = L(), l = h("button"), a = x(
13
13
  /*button*/
14
14
  n[1]
15
- ), L(t, "class", "CashierNotifications");
15
+ ), M(t, "class", "CashierNotifications");
16
16
  },
17
17
  m(o, c) {
18
- z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = E(
18
+ S(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = E(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
@@ -38,7 +38,7 @@ function B(n) {
38
38
  i: b,
39
39
  o: b,
40
40
  d(o) {
41
- o && k(t), n[6](null), i = !1, m();
41
+ o && z(t), n[6](null), i = !1, m();
42
42
  }
43
43
  };
44
44
  }
@@ -61,7 +61,7 @@ function H(n, t, s) {
61
61
  });
62
62
  };
63
63
  function w(e) {
64
- M[e ? "unshift" : "push"](() => {
64
+ T[e ? "unshift" : "push"](() => {
65
65
  i = e, s(2, i);
66
66
  });
67
67
  }
@@ -123,7 +123,7 @@ class R extends C {
123
123
  this.$$set({ clientstylingurl: t }), d();
124
124
  }
125
125
  }
126
- T(R, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
126
+ k(R, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
127
  export {
128
128
  R as default
129
129
  };
@@ -1,6 +1,6 @@
1
- import { S as C, b as v, s as _, f as d, c as N, n as b, e as k, y as p, m as z, o as f, B as E, p as h, z as x, q as S, v as L, A as M, E as T } from "./CashierConfirmModal-3pkCHAVZ.js";
1
+ import { S as C, b as v, s as _, f as d, e as k, n as b, j as N, y as p, k as z, l as f, m as S, p as h, z as x, q as E, r as L, B as M, d as T } from "./CashierError-Bit8f2LG.js";
2
2
  function q(n) {
3
- N(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
3
+ k(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
4
4
  }
5
5
  function B(n) {
6
6
  let t, s, r, u, l, a, i, m;
@@ -9,13 +9,13 @@ function B(n) {
9
9
  t = h("div"), s = h("span"), r = x(
10
10
  /*text*/
11
11
  n[0]
12
- ), u = S(), l = h("button"), a = x(
12
+ ), u = E(), l = h("button"), a = x(
13
13
  /*button*/
14
14
  n[1]
15
15
  ), L(t, "class", "CashierNotifications");
16
16
  },
17
17
  m(o, c) {
18
- z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = E(
18
+ z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = S(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
@@ -38,7 +38,7 @@ function B(n) {
38
38
  i: b,
39
39
  o: b,
40
40
  d(o) {
41
- o && k(t), n[6](null), i = !1, m();
41
+ o && N(t), n[6](null), i = !1, m();
42
42
  }
43
43
  };
44
44
  }