@everymatrix/cashier-method-details 1.56.0 → 1.56.3

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 (32) hide show
  1. package/components/{CashierConfirmModal-DX30udCt.js → CashierConfirmModal-BzyMG3UR.js} +46 -39
  2. package/components/{CashierConfirmModal-BeEK5pGj.cjs → CashierConfirmModal-CiWxBakF.cjs} +1 -1
  3. package/components/{CashierConfirmModal-C4oTmnti.js → CashierConfirmModal-_hdnB5XT.js} +47 -40
  4. package/components/{CashierError-CHTIdJFG.cjs → CashierError-DZjdr9Yb.cjs} +16 -3
  5. package/components/{CashierError-DK-FE2t4.js → CashierError-Tz0RLayt.js} +524 -502
  6. package/components/{CashierError-dKzawjGf.js → CashierError-vnxtaVVj.js} +523 -501
  7. package/components/{CashierHeader-UXnGiPlG.cjs → CashierHeader-BjxxHtz3.cjs} +1 -1
  8. package/components/{CashierHeader-CcCfgKKj.js → CashierHeader-CpSB5msg.js} +44 -44
  9. package/components/{CashierHeader-cbMs-Ax4.js → CashierHeader-DhbF_qQk.js} +44 -44
  10. package/components/{CashierIframeRedirect-pJRalaIp.js → CashierIframeRedirect-BSAMAc8B.js} +32 -32
  11. package/components/{CashierIframeRedirect-9hpAaFQR.js → CashierIframeRedirect-DMA3FcSz.js} +30 -30
  12. package/components/{CashierIframeRedirect-OEVjAXWH.cjs → CashierIframeRedirect-erxyxK0N.cjs} +1 -1
  13. package/components/{CashierMethodDetails-DJLZFNMR.js → CashierMethodDetails-BHxFMAtx.js} +1868 -1831
  14. package/components/{CashierMethodDetails-DU7-35Hh.js → CashierMethodDetails-C9XAbwwT.js} +1807 -1770
  15. package/components/CashierMethodDetails-DebzpprM.cjs +18 -0
  16. package/components/{CashierModal-nl-2Ol6U.js → CashierModal-B2DUTbzl.js} +27 -27
  17. package/components/{CashierModal-DYzmydyY.js → CashierModal-cAadEtV9.js} +27 -27
  18. package/components/{CashierModal-Dh8HuQn-.cjs → CashierModal-yskXp9fE.cjs} +1 -1
  19. package/components/{CashierNotifications-DE6lzn06.js → CashierNotifications-BqrU3g7B.js} +19 -19
  20. package/components/{CashierNotifications-C2D2LjK6.cjs → CashierNotifications-C5Z_cNID.cjs} +1 -1
  21. package/components/{CashierNotifications-DH1lz02f.js → CashierNotifications-sCssNp8Z.js} +19 -19
  22. package/components/{CashierReceiptPage-Og0KIyx_.js → CashierReceiptPage-BL2PQN5z.js} +215 -202
  23. package/components/{CashierReceiptPage-DGzJcFot.cjs → CashierReceiptPage-B_XnKMeK.cjs} +1 -1
  24. package/components/{CashierReceiptPage-CbUcbfVA.js → CashierReceiptPage-DB965lDo.js} +191 -179
  25. package/components/{CashierSpinner-DG1S-dlx.js → CashierSpinner-BMBhQseZ.js} +25 -25
  26. package/components/{CashierSpinner-BYRAyXQ3.cjs → CashierSpinner-Cxbw-HyX.cjs} +1 -1
  27. package/components/{CashierSpinner-DRAwOlC0.js → CashierSpinner-D3kcfOR-.js} +25 -25
  28. package/es2015/cashier-method-details.cjs +1 -1
  29. package/es2015/cashier-method-details.js +1 -1
  30. package/esnext/cashier-method-details.js +1 -1
  31. package/package.json +1 -1
  32. package/components/CashierMethodDetails-DcFabdl_.cjs +0 -18
@@ -1,71 +1,71 @@
1
- import { S as y, b as g, s as m, f as h, c as p, n as c, e as k, m as C, p as x, v as S, A as _, D as v } from "./CashierConfirmModal-DX30udCt.js";
1
+ import { S as y, b as g, f as d, c as m, a as p, d as k, g as C, j as x, k as S, n as c, v as _, C as v } from "./CashierConfirmModal-BzyMG3UR.js";
2
2
  function b(n) {
3
- p(n, "svelte-fidj5e", ".CashierSpinner{display:block;width:80px;height:80px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke:var(--emw--color-primary, #7EC51E)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
3
+ k(n, "svelte-fidj5e", ".CashierSpinner{display:block;width:80px;height:80px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke:var(--emw--color-primary, #7EC51E)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
4
4
  }
5
5
  function w(n) {
6
6
  let t;
7
7
  return {
8
8
  c() {
9
- t = x("div"), t.innerHTML = '<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10"></circle></svg>', S(t, "class", "CashierSpinner");
9
+ t = C("div"), t.innerHTML = '<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10"></circle></svg>', x(t, "class", "CashierSpinner");
10
10
  },
11
- m(s, r) {
12
- C(s, t, r), n[3](t);
11
+ m(i, r) {
12
+ S(i, t, r), n[3](t);
13
13
  },
14
14
  p: c,
15
15
  i: c,
16
16
  o: c,
17
- d(s) {
18
- s && k(t), n[3](null);
17
+ d(i) {
18
+ i && _(t), n[3](null);
19
19
  }
20
20
  };
21
21
  }
22
- function L(n, t, s) {
23
- let { clientstyling: r = "" } = t, { clientstylingurl: l = "" } = t, i;
24
- const d = () => {
22
+ function L(n, t, i) {
23
+ let { clientstyling: r = "" } = t, { clientstylingurl: a = "" } = t, s;
24
+ const h = () => {
25
25
  let e = document.createElement("style");
26
- e.innerHTML = r, i.appendChild(e);
26
+ e.innerHTML = r, s.appendChild(e);
27
27
  }, f = () => {
28
- let e = new URL(l), o = document.createElement("style");
29
- fetch(e.href).then((a) => a.text()).then((a) => {
30
- o.innerHTML = a, setTimeout(
28
+ let e = new URL(a), o = document.createElement("style");
29
+ fetch(e.href).then((l) => l.text()).then((l) => {
30
+ o.innerHTML = l, setTimeout(
31
31
  () => {
32
- i.appendChild(o);
32
+ s.appendChild(o);
33
33
  },
34
34
  1
35
35
  );
36
36
  });
37
37
  };
38
38
  function u(e) {
39
- _[e ? "unshift" : "push"](() => {
40
- i = e, s(0, i);
39
+ v[e ? "unshift" : "push"](() => {
40
+ s = e, i(0, s);
41
41
  });
42
42
  }
43
43
  return n.$$set = (e) => {
44
- "clientstyling" in e && s(1, r = e.clientstyling), "clientstylingurl" in e && s(2, l = e.clientstylingurl);
44
+ "clientstyling" in e && i(1, r = e.clientstyling), "clientstylingurl" in e && i(2, a = e.clientstylingurl);
45
45
  }, n.$$.update = () => {
46
46
  n.$$.dirty & /*clientstyling, customStylingContainer*/
47
- 3 && r && i && d(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
48
- 5 && l && i && f();
49
- }, [i, r, l, u];
47
+ 3 && r && s && h(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
48
+ 5 && a && s && f();
49
+ }, [s, r, a, u];
50
50
  }
51
51
  class E extends y {
52
52
  constructor(t) {
53
- super(), g(this, t, L, w, m, { clientstyling: 1, clientstylingurl: 2 }, b);
53
+ super(), g(this, t, L, w, p, { clientstyling: 1, clientstylingurl: 2 }, b);
54
54
  }
55
55
  get clientstyling() {
56
56
  return this.$$.ctx[1];
57
57
  }
58
58
  set clientstyling(t) {
59
- this.$$set({ clientstyling: t }), h();
59
+ this.$$set({ clientstyling: t }), d();
60
60
  }
61
61
  get clientstylingurl() {
62
62
  return this.$$.ctx[2];
63
63
  }
64
64
  set clientstylingurl(t) {
65
- this.$$set({ clientstylingurl: t }), h();
65
+ this.$$set({ clientstylingurl: t }), d();
66
66
  }
67
67
  }
68
- v(E, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
68
+ m(E, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
69
69
  export {
70
70
  E as default
71
71
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-BeEK5pGj.cjs");function y(i){e.append_styles(i,"svelte-fidj5e",".CashierSpinner{display:block;width:80px;height:80px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke:var(--emw--color-primary, #7EC51E)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}")}function g(i){let t;return{c(){t=e.element("div"),t.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10"></circle></svg>',e.attr(t,"class","CashierSpinner")},m(s,l){e.insert(s,t,l),i[3](t)},p:e.noop,i:e.noop,o:e.noop,d(s){s&&e.detach(t),i[3](null)}}}function p(i,t,s){let{clientstyling:l=""}=t,{clientstylingurl:a=""}=t,r;const h=()=>{let n=document.createElement("style");n.innerHTML=l,r.appendChild(n)},u=()=>{let n=new URL(a),c=document.createElement("style");fetch(n.href).then(o=>o.text()).then(o=>{c.innerHTML=o,setTimeout(()=>{r.appendChild(c)},1)})};function f(n){e.binding_callbacks[n?"unshift":"push"](()=>{r=n,s(0,r)})}return i.$$set=n=>{"clientstyling"in n&&s(1,l=n.clientstyling),"clientstylingurl"in n&&s(2,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&3&&l&&r&&h(),i.$$.dirty&5&&a&&r&&u()},[r,l,a,f]}class d extends e.SvelteComponent{constructor(t){super(),e.init(this,t,p,g,e.safe_not_equal,{clientstyling:1,clientstylingurl:2},y)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}}e.create_custom_element(d,{clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-CiWxBakF.cjs");function y(i){e.append_styles(i,"svelte-fidj5e",".CashierSpinner{display:block;width:80px;height:80px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke:var(--emw--color-primary, #7EC51E)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}")}function g(i){let t;return{c(){t=e.element("div"),t.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10"></circle></svg>',e.attr(t,"class","CashierSpinner")},m(s,l){e.insert(s,t,l),i[3](t)},p:e.noop,i:e.noop,o:e.noop,d(s){s&&e.detach(t),i[3](null)}}}function p(i,t,s){let{clientstyling:l=""}=t,{clientstylingurl:a=""}=t,r;const h=()=>{let n=document.createElement("style");n.innerHTML=l,r.appendChild(n)},u=()=>{let n=new URL(a),c=document.createElement("style");fetch(n.href).then(o=>o.text()).then(o=>{c.innerHTML=o,setTimeout(()=>{r.appendChild(c)},1)})};function f(n){e.binding_callbacks[n?"unshift":"push"](()=>{r=n,s(0,r)})}return i.$$set=n=>{"clientstyling"in n&&s(1,l=n.clientstyling),"clientstylingurl"in n&&s(2,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&3&&l&&r&&h(),i.$$.dirty&5&&a&&r&&u()},[r,l,a,f]}class d extends e.SvelteComponent{constructor(t){super(),e.init(this,t,p,g,e.safe_not_equal,{clientstyling:1,clientstylingurl:2},y)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}}e.create_custom_element(d,{clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=d;
@@ -1,71 +1,71 @@
1
- import { S as y, b as g, s as m, f as h, c as p, n as c, e as k, m as C, p as x, v as S, A as _, D as v } from "./CashierConfirmModal-C4oTmnti.js";
1
+ import { S as y, b as g, f as d, c as m, a as p, d as k, g as C, j as x, k as S, n as c, v as _, C as v } from "./CashierConfirmModal-_hdnB5XT.js";
2
2
  function b(n) {
3
- p(n, "svelte-fidj5e", ".CashierSpinner{display:block;width:80px;height:80px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke:var(--emw--color-primary, #7EC51E)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
3
+ k(n, "svelte-fidj5e", ".CashierSpinner{display:block;width:80px;height:80px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke:var(--emw--color-primary, #7EC51E)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
4
4
  }
5
5
  function w(n) {
6
6
  let t;
7
7
  return {
8
8
  c() {
9
- t = x("div"), t.innerHTML = '<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10"></circle></svg>', S(t, "class", "CashierSpinner");
9
+ t = C("div"), t.innerHTML = '<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10"></circle></svg>', x(t, "class", "CashierSpinner");
10
10
  },
11
- m(s, r) {
12
- C(s, t, r), n[3](t);
11
+ m(i, r) {
12
+ S(i, t, r), n[3](t);
13
13
  },
14
14
  p: c,
15
15
  i: c,
16
16
  o: c,
17
- d(s) {
18
- s && k(t), n[3](null);
17
+ d(i) {
18
+ i && _(t), n[3](null);
19
19
  }
20
20
  };
21
21
  }
22
- function L(n, t, s) {
23
- let { clientstyling: r = "" } = t, { clientstylingurl: l = "" } = t, i;
24
- const d = () => {
22
+ function L(n, t, i) {
23
+ let { clientstyling: r = "" } = t, { clientstylingurl: a = "" } = t, s;
24
+ const h = () => {
25
25
  let e = document.createElement("style");
26
- e.innerHTML = r, i.appendChild(e);
26
+ e.innerHTML = r, s.appendChild(e);
27
27
  }, f = () => {
28
- let e = new URL(l), o = document.createElement("style");
29
- fetch(e.href).then((a) => a.text()).then((a) => {
30
- o.innerHTML = a, setTimeout(
28
+ let e = new URL(a), o = document.createElement("style");
29
+ fetch(e.href).then((l) => l.text()).then((l) => {
30
+ o.innerHTML = l, setTimeout(
31
31
  () => {
32
- i.appendChild(o);
32
+ s.appendChild(o);
33
33
  },
34
34
  1
35
35
  );
36
36
  });
37
37
  };
38
38
  function u(e) {
39
- _[e ? "unshift" : "push"](() => {
40
- i = e, s(0, i);
39
+ v[e ? "unshift" : "push"](() => {
40
+ s = e, i(0, s);
41
41
  });
42
42
  }
43
43
  return n.$$set = (e) => {
44
- "clientstyling" in e && s(1, r = e.clientstyling), "clientstylingurl" in e && s(2, l = e.clientstylingurl);
44
+ "clientstyling" in e && i(1, r = e.clientstyling), "clientstylingurl" in e && i(2, a = e.clientstylingurl);
45
45
  }, n.$$.update = () => {
46
46
  n.$$.dirty & /*clientstyling, customStylingContainer*/
47
- 3 && r && i && d(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
48
- 5 && l && i && f();
49
- }, [i, r, l, u];
47
+ 3 && r && s && h(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
48
+ 5 && a && s && f();
49
+ }, [s, r, a, u];
50
50
  }
51
51
  class E extends y {
52
52
  constructor(t) {
53
- super(), g(this, t, L, w, m, { clientstyling: 1, clientstylingurl: 2 }, b);
53
+ super(), g(this, t, L, w, p, { clientstyling: 1, clientstylingurl: 2 }, b);
54
54
  }
55
55
  get clientstyling() {
56
56
  return this.$$.ctx[1];
57
57
  }
58
58
  set clientstyling(t) {
59
- this.$$set({ clientstyling: t }), h();
59
+ this.$$set({ clientstyling: t }), d();
60
60
  }
61
61
  get clientstylingurl() {
62
62
  return this.$$.ctx[2];
63
63
  }
64
64
  set clientstylingurl(t) {
65
- this.$$set({ clientstylingurl: t }), h();
65
+ this.$$set({ clientstylingurl: t }), d();
66
66
  }
67
67
  }
68
- v(E, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
68
+ m(E, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
69
69
  export {
70
70
  E as default
71
71
  };
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let s=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("../components/CashierMethodDetails-DcFabdl_.cjs")).then(e=>e.CashierMethodDetails_ce).then(({default:e})=>{!customElements.get("cashier-method-details")&&customElements.define("cashier-method-details",e.element)})}
1
+ "use strict";if(typeof window!="undefined"){let s=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("../components/CashierMethodDetails-DebzpprM.cjs")).then(e=>e.CashierMethodDetails_ce).then(({default:e})=>{!customElements.get("cashier-method-details")&&customElements.define("cashier-method-details",e.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CashierMethodDetails-DJLZFNMR.js").then((e) => e.C).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CashierMethodDetails-BHxFMAtx.js").then((e) => e.C).then(({ default: e }) => {
14
14
  !customElements.get("cashier-method-details") && customElements.define("cashier-method-details", e.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as n } from "../components/CashierMethodDetails-DU7-35Hh.js";
1
+ import { C as n } from "../components/CashierMethodDetails-C9XAbwwT.js";
2
2
  function i(t) {
3
3
  return function(...s) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/cashier-method-details",
3
- "version": "1.56.0",
3
+ "version": "1.56.3",
4
4
  "type": "module",
5
5
  "main": "esnext/cashier-method-details.js",
6
6
  "module": "esnext/cashier-method-details.js",