@everymatrix/cashier-method-details 1.87.26 → 1.87.28

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 (27) hide show
  1. package/components/CashierError-BNlZdLaf.cjs +1 -0
  2. package/components/CashierError-CxyFRah6.js +456 -0
  3. package/components/CashierError-DZ6Vwr-J.js +456 -0
  4. package/components/CashierMethodDetails-CEwwZo8I.cjs +107 -0
  5. package/components/CashierMethodDetails-CYyZV6Oh.js +15420 -0
  6. package/components/CashierMethodDetails-D1tlfKwv.js +15473 -0
  7. package/components/{CashierModal-BMHnCII1.js → CashierModal-CJonHmbf.js} +145 -145
  8. package/components/{CashierModal-BzNDQkzs.js → CashierModal-DIKUAzni.js} +129 -129
  9. package/components/CashierModal-cE_TGGNL.cjs +1 -0
  10. package/components/{CashierNotifications-BxRuN6EX.js → CashierNotifications-7dtOkQZs.js} +28 -28
  11. package/components/CashierNotifications-ChF2Ovc5.cjs +1 -0
  12. package/components/{CashierNotifications-De7de8Hg.js → CashierNotifications-DYGykdJC.js} +28 -28
  13. package/components/{CashierReceiptPage-FCPBrZm8.js → CashierReceiptPage-BuE1_0o4.js} +496 -497
  14. package/components/{CashierReceiptPage-BN4ghEfB.cjs → CashierReceiptPage-DCg8uf9s.cjs} +2 -2
  15. package/components/{CashierReceiptPage-CIxG9Oev.js → CashierReceiptPage-DhkC73fi.js} +496 -497
  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/CashierError-CGK1vujl.js +0 -4648
  21. package/components/CashierError-D6xl461v.cjs +0 -8
  22. package/components/CashierError-wi6a-II9.js +0 -4611
  23. package/components/CashierMethodDetails-CqrJLR8u.js +0 -11248
  24. package/components/CashierMethodDetails-D-fBBTyE.js +0 -11291
  25. package/components/CashierMethodDetails-tC7hUGh_.cjs +0 -100
  26. package/components/CashierModal-BAyFcb0s.cjs +0 -1
  27. package/components/CashierNotifications-BxbVuW3E.cjs +0 -1
@@ -1,60 +1,60 @@
1
- import { S as C, f as v, h as d, s as _, e as N, j as k, n as p, l as z, I as b, m as L, o as f, p as S, r as h, L as x, t as E, u as M, z as T } from "./CashierError-wi6a-II9.js";
2
- function H(n) {
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}");
1
+ import { S as C, i as v, f as d, s as _, c as k, a as N, n as b, d as z, b as p, e as S, g as f, l as E, h, t as x, j as L, k as M, m as T } from "./CashierMethodDetails-CYyZV6Oh.js";
2
+ function H(i) {
3
+ N(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}");
4
4
  }
5
- function R(n) {
6
- let t, s, r, u, l, a, i, m;
5
+ function R(i) {
6
+ let t, s, r, u, l, a, n, m;
7
7
  return {
8
8
  c() {
9
9
  t = h("div"), s = h("span"), r = x(
10
10
  /*text*/
11
- n[0]
12
- ), u = E(), l = h("button"), a = x(
11
+ i[0]
12
+ ), u = L(), l = h("button"), a = x(
13
13
  /*button*/
14
- n[1]
14
+ i[1]
15
15
  ), M(t, "class", "CashierNotifications");
16
16
  },
17
17
  m(o, c) {
18
- L(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = S(
18
+ S(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), i[6](t), n || (m = E(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
22
- n[3]
23
- ), i = !0);
22
+ i[3]
23
+ ), n = !0);
24
24
  },
25
25
  p(o, [c]) {
26
26
  c & /*text*/
27
- 1 && b(
27
+ 1 && p(
28
28
  r,
29
29
  /*text*/
30
30
  o[0]
31
31
  ), c & /*button*/
32
- 2 && b(
32
+ 2 && p(
33
33
  a,
34
34
  /*button*/
35
35
  o[1]
36
36
  );
37
37
  },
38
- i: p,
39
- o: p,
38
+ i: b,
39
+ o: b,
40
40
  d(o) {
41
- o && z(t), n[6](null), i = !1, m();
41
+ o && z(t), i[6](null), n = !1, m();
42
42
  }
43
43
  };
44
44
  }
45
- function U(n, t, s) {
46
- let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
45
+ function U(i, t, s) {
46
+ let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, n;
47
47
  const m = () => {
48
48
  window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
49
49
  }, o = () => {
50
50
  let e = document.createElement("style");
51
- e.innerHTML = l, i.appendChild(e);
51
+ e.innerHTML = l, n.appendChild(e);
52
52
  }, c = () => {
53
53
  let e = new URL(a), y = document.createElement("style");
54
54
  fetch(e.href).then((g) => g.text()).then((g) => {
55
55
  y.innerHTML = g, setTimeout(
56
56
  () => {
57
- i.appendChild(y);
57
+ n.appendChild(y);
58
58
  },
59
59
  1
60
60
  );
@@ -62,19 +62,19 @@ function U(n, t, s) {
62
62
  };
63
63
  function w(e) {
64
64
  T[e ? "unshift" : "push"](() => {
65
- i = e, s(2, i);
65
+ n = e, s(2, n);
66
66
  });
67
67
  }
68
- return n.$$set = (e) => {
68
+ return i.$$set = (e) => {
69
69
  "text" in e && s(0, r = e.text), "button" in e && s(1, u = e.button), "clientstyling" in e && s(4, l = e.clientstyling), "clientstylingurl" in e && s(5, a = e.clientstylingurl);
70
- }, n.$$.update = () => {
71
- n.$$.dirty & /*clientstyling, customStylingContainer*/
72
- 20 && l && i && o(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
73
- 36 && a && i && c();
70
+ }, i.$$.update = () => {
71
+ i.$$.dirty & /*clientstyling, customStylingContainer*/
72
+ 20 && l && n && o(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
73
+ 36 && a && n && c();
74
74
  }, [
75
75
  r,
76
76
  u,
77
- i,
77
+ n,
78
78
  m,
79
79
  l,
80
80
  a,
@@ -123,7 +123,7 @@ class j extends C {
123
123
  this.$$set({ clientstylingurl: t }), d();
124
124
  }
125
125
  }
126
- N(j, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
126
+ k(j, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
127
  export {
128
128
  j as default
129
129
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierMethodDetails-CEwwZo8I.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,a,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),a=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(r,u){t.insert(r,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,a),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(r,[u]){u&1&&t.set_data(c,r[0]),u&2&&t.set_data(a,r[1])},i:t.noop,o:t.noop,d(r){r&&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:a=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},r=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(a),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,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&r(),i.$$.dirty&36&&a&&l&&u()},[c,f,l,d,o,a,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init(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,60 +1,60 @@
1
- import { S as C, e as v, s as _, f as d, j as N, n as p, l as k, I as b, m as z, o as f, p as L, r as h, L as x, t as S, u as E, z as M, h as T } from "./CashierError-CGK1vujl.js";
2
- function H(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}");
1
+ import { S as C, i as v, s as _, f as d, a as k, n as b, d as N, b as p, c as z, e as f, l as S, g as h, t as x, h as E, j as L, k as M, m as T } from "./CashierMethodDetails-D1tlfKwv.js";
2
+ function H(i) {
3
+ k(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}");
4
4
  }
5
- function R(n) {
6
- let t, s, r, u, l, a, i, m;
5
+ function R(i) {
6
+ let t, s, r, u, l, a, n, m;
7
7
  return {
8
8
  c() {
9
9
  t = h("div"), s = h("span"), r = x(
10
10
  /*text*/
11
- n[0]
12
- ), u = S(), l = h("button"), a = x(
11
+ i[0]
12
+ ), u = E(), l = h("button"), a = x(
13
13
  /*button*/
14
- n[1]
15
- ), E(t, "class", "CashierNotifications");
14
+ i[1]
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 = L(
18
+ z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), i[6](t), n || (m = S(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
22
- n[3]
23
- ), i = !0);
22
+ i[3]
23
+ ), n = !0);
24
24
  },
25
25
  p(o, [c]) {
26
26
  c & /*text*/
27
- 1 && b(
27
+ 1 && p(
28
28
  r,
29
29
  /*text*/
30
30
  o[0]
31
31
  ), c & /*button*/
32
- 2 && b(
32
+ 2 && p(
33
33
  a,
34
34
  /*button*/
35
35
  o[1]
36
36
  );
37
37
  },
38
- i: p,
39
- o: p,
38
+ i: b,
39
+ o: b,
40
40
  d(o) {
41
- o && k(t), n[6](null), i = !1, m();
41
+ o && N(t), i[6](null), n = !1, m();
42
42
  }
43
43
  };
44
44
  }
45
- function U(n, t, s) {
46
- let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
45
+ function U(i, t, s) {
46
+ let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, n;
47
47
  const m = () => {
48
48
  window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
49
49
  }, o = () => {
50
50
  let e = document.createElement("style");
51
- e.innerHTML = l, i.appendChild(e);
51
+ e.innerHTML = l, n.appendChild(e);
52
52
  }, c = () => {
53
53
  let e = new URL(a), y = document.createElement("style");
54
54
  fetch(e.href).then((g) => g.text()).then((g) => {
55
55
  y.innerHTML = g, setTimeout(
56
56
  () => {
57
- i.appendChild(y);
57
+ n.appendChild(y);
58
58
  },
59
59
  1
60
60
  );
@@ -62,19 +62,19 @@ function U(n, t, s) {
62
62
  };
63
63
  function w(e) {
64
64
  M[e ? "unshift" : "push"](() => {
65
- i = e, s(2, i);
65
+ n = e, s(2, n);
66
66
  });
67
67
  }
68
- return n.$$set = (e) => {
68
+ return i.$$set = (e) => {
69
69
  "text" in e && s(0, r = e.text), "button" in e && s(1, u = e.button), "clientstyling" in e && s(4, l = e.clientstyling), "clientstylingurl" in e && s(5, a = e.clientstylingurl);
70
- }, n.$$.update = () => {
71
- n.$$.dirty & /*clientstyling, customStylingContainer*/
72
- 20 && l && i && o(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
73
- 36 && a && i && c();
70
+ }, i.$$.update = () => {
71
+ i.$$.dirty & /*clientstyling, customStylingContainer*/
72
+ 20 && l && n && o(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
73
+ 36 && a && n && c();
74
74
  }, [
75
75
  r,
76
76
  u,
77
- i,
77
+ n,
78
78
  m,
79
79
  l,
80
80
  a,