@everymatrix/cashier-method-details 1.59.0 → 1.59.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 (27) hide show
  1. package/components/{CashierConfirmModal-ALYaSJFy.js → CashierConfirmModal-BzyMG3UR.js} +32 -32
  2. package/components/{CashierConfirmModal-BSYwX1Mc.js → CashierConfirmModal-_hdnB5XT.js} +32 -32
  3. package/components/{CashierError-Bz39VBRw.cjs → CashierError-DZjdr9Yb.cjs} +4 -4
  4. package/components/{CashierError-RU2gDBdI.js → CashierError-Tz0RLayt.js} +342 -340
  5. package/components/{CashierError-63NLaXLj.js → CashierError-vnxtaVVj.js} +342 -340
  6. package/components/{CashierHeader-QST18-TW.cjs → CashierHeader-BjxxHtz3.cjs} +1 -1
  7. package/components/{CashierHeader-heC_49zt.js → CashierHeader-CpSB5msg.js} +44 -44
  8. package/components/{CashierHeader-wmAgZmcS.js → CashierHeader-DhbF_qQk.js} +44 -44
  9. package/components/{CashierIframeRedirect-zEBOIc2Z.js → CashierIframeRedirect-BSAMAc8B.js} +32 -32
  10. package/components/{CashierIframeRedirect-BhM7Nyff.js → CashierIframeRedirect-DMA3FcSz.js} +30 -30
  11. package/components/{CashierIframeRedirect-bj13pJqz.cjs → CashierIframeRedirect-erxyxK0N.cjs} +1 -1
  12. package/components/{CashierMethodDetails-D_hM-1W4.js → CashierMethodDetails-BHxFMAtx.js} +54 -54
  13. package/components/{CashierMethodDetails-rCNzXfMT.js → CashierMethodDetails-C9XAbwwT.js} +54 -54
  14. package/components/{CashierMethodDetails-vqh02xQR.cjs → CashierMethodDetails-DebzpprM.cjs} +1 -1
  15. package/components/{CashierModal-5TpL-tXD.js → CashierModal-B2DUTbzl.js} +27 -27
  16. package/components/{CashierModal-DKQDPKh1.js → CashierModal-cAadEtV9.js} +27 -27
  17. package/components/{CashierNotifications-B6aSkDiY.js → CashierNotifications-BqrU3g7B.js} +19 -19
  18. package/components/{CashierNotifications-CQ6U8KNm.js → CashierNotifications-sCssNp8Z.js} +19 -19
  19. package/components/{CashierReceiptPage-BhKvh1YB.js → CashierReceiptPage-BL2PQN5z.js} +28 -28
  20. package/components/{CashierReceiptPage-jLHcYB12.cjs → CashierReceiptPage-B_XnKMeK.cjs} +1 -1
  21. package/components/{CashierReceiptPage-C2_6Xvxp.js → CashierReceiptPage-DB965lDo.js} +28 -28
  22. package/components/{CashierSpinner-BgDvVAMj.js → CashierSpinner-BMBhQseZ.js} +25 -25
  23. package/components/{CashierSpinner-C8rWBlGN.js → CashierSpinner-D3kcfOR-.js} +25 -25
  24. package/es2015/cashier-method-details.cjs +1 -1
  25. package/es2015/cashier-method-details.js +1 -1
  26. package/esnext/cashier-method-details.js +1 -1
  27. package/package.json +3 -2
@@ -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-BSYwX1Mc.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,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-ALYaSJFy.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-vqh02xQR.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-D_hM-1W4.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-rCNzXfMT.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,12 +1,13 @@
1
1
  {
2
2
  "name": "@everymatrix/cashier-method-details",
3
- "version": "1.59.0",
3
+ "version": "1.59.2",
4
4
  "type": "module",
5
5
  "main": "esnext/cashier-method-details.js",
6
6
  "module": "esnext/cashier-method-details.js",
7
7
  "exports": {
8
8
  ".": {
9
- "import": "./esnext/cashier-method-details.js"
9
+ "import": "./esnext/cashier-method-details.js",
10
+ "require": "./es2015/cashier-method-details.cjs"
10
11
  },
11
12
  "./es2015/cashier-method-details.cjs": "./es2015/cashier-method-details.cjs",
12
13
  "./es2015/cashier-method-details.js": "./es2015/cashier-method-details.js"