@everymatrix/cashier-method-details 1.74.1 → 1.74.2

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 (37) hide show
  1. package/components/{CashierError-BkIxkY8F.js → CashierError-BrhXjIFy.js} +704 -672
  2. package/components/{CashierError-BYAm1Lbb.js → CashierError-FFDY8Bjv.js} +712 -680
  3. package/components/CashierError-bGDEVexB.cjs +18 -0
  4. package/components/{CashierMethodDetails-rDDw8Bc8.js → CashierMethodDetails-C9ptFW5t.js} +2722 -2720
  5. package/components/{CashierMethodDetails-CY-n5Xs3.js → CashierMethodDetails-gbRtHZjQ.js} +2755 -2750
  6. package/components/CashierMethodDetails-jSs7_rF2.cjs +86 -0
  7. package/components/{CashierNotifications-BQTvUy4u.js → CashierNotifications-B2kZUm6v.js} +19 -19
  8. package/components/{CashierNotifications-C24DSLai.js → CashierNotifications-CblRF1Eh.js} +19 -19
  9. package/components/{CashierNotifications-aQsycG0U.cjs → CashierNotifications-uWkM_JBz.cjs} +1 -1
  10. package/components/{CashierReceiptPage-8VIH-qGc.js → CashierReceiptPage-BuSCecvk.js} +470 -445
  11. package/components/CashierReceiptPage-DADuHiWW.cjs +1 -0
  12. package/components/{CashierReceiptPage-CeYO75Eu.js → CashierReceiptPage-dHEKyJCP.js} +432 -411
  13. package/components/{CashierSpinner-CqquE7s-.cjs → CashierSpinner-CWVXjWja.cjs} +1 -1
  14. package/components/{CashierSpinner-Bnvw5JOa.js → CashierSpinner-DH_zy27t.js} +18 -18
  15. package/components/{CashierSpinner-DBn8C2KN.js → CashierSpinner-DU3_6EXm.js} +18 -18
  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/stencil/index-97d17652-BD-QREJe.js +558 -0
  21. package/stencil/index-97d17652-DJqGt8q2.js +542 -0
  22. package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
  23. package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-BMiZteNE.cjs} +1 -1
  24. package/stencil/{ui-image-CHeV8e9p.js → ui-image-BW8AeEVd.js} +1 -1
  25. package/stencil/{ui-image-C7s6Uvn5.js → ui-image-CX3MBBZL.js} +1 -1
  26. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
  27. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
  28. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
  29. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
  30. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-Dh5Eqdlm.js} +2 -2
  31. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-_K8Pt3w9.js} +2 -2
  32. package/components/CashierError-YlxCi5wR.cjs +0 -5
  33. package/components/CashierMethodDetails-I4F3WmBh.cjs +0 -99
  34. package/components/CashierReceiptPage-CaNza_P-.cjs +0 -1
  35. package/stencil/index-97d17652--F7PvMq9.js +0 -542
  36. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  37. package/stencil/index-97d17652-CCFHkzJw.js +0 -558
@@ -1,21 +1,21 @@
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-BkIxkY8F.js";
2
- function q(n) {
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) {
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 B(n) {
5
+ function q(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 = x(
9
+ t = h("div"), s = h("span"), r = p(
10
10
  /*text*/
11
11
  n[0]
12
- ), u = L(), l = h("button"), a = x(
12
+ ), u = z(), l = h("button"), a = p(
13
13
  /*button*/
14
14
  n[1]
15
- ), M(t, "class", "CashierNotifications");
15
+ ), E(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 = 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 = L(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
@@ -24,25 +24,25 @@ function B(n) {
24
24
  },
25
25
  p(o, [c]) {
26
26
  c & /*text*/
27
- 1 && p(
27
+ 1 && b(
28
28
  r,
29
29
  /*text*/
30
30
  o[0]
31
31
  ), c & /*button*/
32
- 2 && p(
32
+ 2 && b(
33
33
  a,
34
34
  /*button*/
35
35
  o[1]
36
36
  );
37
37
  },
38
- i: b,
39
- o: b,
38
+ i: x,
39
+ o: x,
40
40
  d(o) {
41
- o && z(t), n[6](null), i = !1, m();
41
+ o && H(t), n[6](null), i = !1, m();
42
42
  }
43
43
  };
44
44
  }
45
- function H(n, t, s) {
45
+ function F(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 H(n, t, s) {
61
61
  });
62
62
  };
63
63
  function w(e) {
64
- T[e ? "unshift" : "push"](() => {
64
+ M[e ? "unshift" : "push"](() => {
65
65
  i = e, s(2, i);
66
66
  });
67
67
  }
@@ -86,16 +86,16 @@ class R extends C {
86
86
  super(), v(
87
87
  this,
88
88
  t,
89
- H,
90
- B,
91
- _,
89
+ F,
90
+ q,
91
+ k,
92
92
  {
93
93
  text: 0,
94
94
  button: 1,
95
95
  clientstyling: 4,
96
96
  clientstylingurl: 5
97
97
  },
98
- q
98
+ T
99
99
  );
100
100
  }
101
101
  get text() {
@@ -123,7 +123,7 @@ class R extends C {
123
123
  this.$$set({ clientstylingurl: t }), d();
124
124
  }
125
125
  }
126
- k(R, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
126
+ _(R, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
127
  export {
128
128
  R as default
129
129
  };
@@ -1,21 +1,21 @@
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-BYAm1Lbb.js";
2
- function q(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, 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) {
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 B(n) {
5
+ function q(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 = x(
9
+ t = h("div"), s = h("span"), r = p(
10
10
  /*text*/
11
11
  n[0]
12
- ), u = E(), l = h("button"), a = x(
12
+ ), u = z(), l = h("button"), a = p(
13
13
  /*button*/
14
14
  n[1]
15
- ), L(t, "class", "CashierNotifications");
15
+ ), E(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 = S(
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(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
@@ -24,25 +24,25 @@ function B(n) {
24
24
  },
25
25
  p(o, [c]) {
26
26
  c & /*text*/
27
- 1 && p(
27
+ 1 && b(
28
28
  r,
29
29
  /*text*/
30
30
  o[0]
31
31
  ), c & /*button*/
32
- 2 && p(
32
+ 2 && b(
33
33
  a,
34
34
  /*button*/
35
35
  o[1]
36
36
  );
37
37
  },
38
- i: b,
39
- o: b,
38
+ i: x,
39
+ o: x,
40
40
  d(o) {
41
- o && N(t), n[6](null), i = !1, m();
41
+ o && H(t), n[6](null), i = !1, m();
42
42
  }
43
43
  };
44
44
  }
45
- function H(n, t, s) {
45
+ function F(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);
@@ -86,16 +86,16 @@ class R extends C {
86
86
  super(), v(
87
87
  this,
88
88
  t,
89
- H,
90
- B,
91
- _,
89
+ F,
90
+ q,
91
+ k,
92
92
  {
93
93
  text: 0,
94
94
  button: 1,
95
95
  clientstyling: 4,
96
96
  clientstylingurl: 5
97
97
  },
98
- q
98
+ T
99
99
  );
100
100
  }
101
101
  get text() {
@@ -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
+ _(R, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
127
  export {
128
128
  R as default
129
129
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-YlxCi5wR.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
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-bGDEVexB.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;