@everymatrix/cashier-method-details 1.74.5 → 1.74.7

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/CashierConfirmModal-CptRwG7E.cjs +1 -0
  2. package/components/CashierConfirmModal-DHQhXBLq.js +855 -0
  3. package/components/CashierConfirmModal-mBbcNR6k.js +892 -0
  4. package/components/{CashierError-BrhXjIFy.js → CashierError-CxC9JUxE.js} +978 -1582
  5. package/components/CashierError-DnIbQhz-.cjs +18 -0
  6. package/components/{CashierError-FFDY8Bjv.js → CashierError-F-JdF-yR.js} +968 -1609
  7. package/components/CashierMethodDetails-BYUtOrl-.cjs +86 -0
  8. package/components/{CashierMethodDetails-CwpKRG1_.js → CashierMethodDetails-CFo6ZuQl.js} +1625 -1578
  9. package/components/{CashierMethodDetails-qUOrY3-g.js → CashierMethodDetails-DLTg6RpP.js} +1608 -1561
  10. package/components/{CashierNotifications-B2kZUm6v.js → CashierNotifications-BdfHI3lV.js} +14 -14
  11. package/components/CashierNotifications-Dt9Itbd7.cjs +1 -0
  12. package/components/{CashierNotifications-CblRF1Eh.js → CashierNotifications-mhxDKO1J.js} +14 -14
  13. package/components/{CashierReceiptPage-rh2HHa6V.js → CashierReceiptPage-CfgCGXm-.js} +701 -568
  14. package/components/{CashierReceiptPage-C9Bm9X8L.js → CashierReceiptPage-CrP-r8ja.js} +697 -564
  15. package/components/CashierReceiptPage-L8-ZgSVM.cjs +1 -0
  16. package/components/{CashierSpinner-DH_zy27t.js → CashierSpinner-BjBxLMiY.js} +10 -10
  17. package/components/CashierSpinner-DBOsp-ou.cjs +1 -0
  18. package/components/{CashierSpinner-DU3_6EXm.js → CashierSpinner-Rar1657O.js} +10 -10
  19. package/es2015/cashier-method-details.cjs +1 -1
  20. package/es2015/cashier-method-details.js +1 -1
  21. package/esnext/cashier-method-details.js +1 -1
  22. package/package.json +1 -1
  23. package/components/CashierError-bGDEVexB.cjs +0 -18
  24. package/components/CashierMethodDetails-gp6s2P2P.cjs +0 -86
  25. package/components/CashierNotifications-uWkM_JBz.cjs +0 -1
  26. package/components/CashierReceiptPage-BURTbzBf.cjs +0 -1
  27. package/components/CashierSpinner-CWVXjWja.cjs +0 -1
@@ -1,21 +1,21 @@
1
- import { S as C, h as v, j as d, f as _, s as k, k as N, m as h, E as p, n as z, o as E, p as S, q as f, r as L, F as b, t as x, u as H, H as M } from "./CashierError-BrhXjIFy.js";
2
- function T(n) {
1
+ import { S as C, b as v, f as d, c as _, a as k, d as N, g as h, B as b, h as z, j as S, k as E, l as f, D as L, C as p, n as x, v as M, F as T } from "./CashierConfirmModal-mBbcNR6k.js";
2
+ function B(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
  }
5
- function q(n) {
5
+ function F(n) {
6
6
  let t, s, r, u, l, a, i, m;
7
7
  return {
8
8
  c() {
9
- t = h("div"), s = h("span"), r = p(
9
+ t = h("div"), s = h("span"), r = b(
10
10
  /*text*/
11
11
  n[0]
12
- ), u = z(), l = h("button"), a = p(
12
+ ), u = z(), l = h("button"), a = b(
13
13
  /*button*/
14
14
  n[1]
15
- ), E(t, "class", "CashierNotifications");
15
+ ), S(t, "class", "CashierNotifications");
16
16
  },
17
17
  m(o, c) {
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 = L(
18
+ E(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = L(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
@@ -24,12 +24,12 @@ function q(n) {
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]
@@ -38,11 +38,11 @@ function q(n) {
38
38
  i: x,
39
39
  o: x,
40
40
  d(o) {
41
- o && H(t), n[6](null), i = !1, m();
41
+ o && M(t), n[6](null), i = !1, m();
42
42
  }
43
43
  };
44
44
  }
45
- function F(n, t, s) {
45
+ function H(n, t, s) {
46
46
  let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
47
47
  const m = () => {
48
48
  window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
@@ -61,7 +61,7 @@ function F(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
  }
@@ -86,8 +86,8 @@ class R extends C {
86
86
  super(), v(
87
87
  this,
88
88
  t,
89
+ H,
89
90
  F,
90
- q,
91
91
  k,
92
92
  {
93
93
  text: 0,
@@ -95,7 +95,7 @@ class R extends C {
95
95
  clientstyling: 4,
96
96
  clientstylingurl: 5
97
97
  },
98
- T
98
+ B
99
99
  );
100
100
  }
101
101
  get text() {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-CptRwG7E.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,21 +1,21 @@
1
- import { S as C, f as v, h as d, j as _, s as k, k as N, m as h, E as p, n as z, o as E, p as S, q as f, r as L, F as b, t as x, u as H, H as M } from "./CashierError-FFDY8Bjv.js";
2
- function T(n) {
1
+ import { S as C, b as v, f as d, c as _, a as k, d as N, g as h, B as b, h as z, j as S, k as E, l as f, D as L, C as p, n as x, v as M, F as T } from "./CashierConfirmModal-DHQhXBLq.js";
2
+ function B(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
  }
5
- function q(n) {
5
+ function F(n) {
6
6
  let t, s, r, u, l, a, i, m;
7
7
  return {
8
8
  c() {
9
- t = h("div"), s = h("span"), r = p(
9
+ t = h("div"), s = h("span"), r = b(
10
10
  /*text*/
11
11
  n[0]
12
- ), u = z(), l = h("button"), a = p(
12
+ ), u = z(), l = h("button"), a = b(
13
13
  /*button*/
14
14
  n[1]
15
- ), E(t, "class", "CashierNotifications");
15
+ ), S(t, "class", "CashierNotifications");
16
16
  },
17
17
  m(o, c) {
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 = L(
18
+ E(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = L(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
@@ -24,12 +24,12 @@ function q(n) {
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]
@@ -38,11 +38,11 @@ function q(n) {
38
38
  i: x,
39
39
  o: x,
40
40
  d(o) {
41
- o && H(t), n[6](null), i = !1, m();
41
+ o && M(t), n[6](null), i = !1, m();
42
42
  }
43
43
  };
44
44
  }
45
- function F(n, t, s) {
45
+ function H(n, t, s) {
46
46
  let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
47
47
  const m = () => {
48
48
  window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
@@ -61,7 +61,7 @@ function F(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
  }
@@ -86,8 +86,8 @@ class R extends C {
86
86
  super(), v(
87
87
  this,
88
88
  t,
89
+ H,
89
90
  F,
90
- q,
91
91
  k,
92
92
  {
93
93
  text: 0,
@@ -95,7 +95,7 @@ class R extends C {
95
95
  clientstyling: 4,
96
96
  clientstylingurl: 5
97
97
  },
98
- T
98
+ B
99
99
  );
100
100
  }
101
101
  get text() {