@everymatrix/cashier-method-details 1.64.7 → 1.65.0

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 (46) hide show
  1. package/components/{CashierConfirmModal-3pkCHAVZ.js → CashierConfirmModal-BzyMG3UR.js} +33 -33
  2. package/components/{CashierConfirmModal-CNzEOcOZ.js → CashierConfirmModal-_hdnB5XT.js} +33 -33
  3. package/components/{CashierError-Bisyjt8z.js → CashierError-C1ZcvUYr.js} +618 -622
  4. package/components/{CashierError-DV-HLY8d.js → CashierError-CBebkrdZ.js} +617 -621
  5. package/components/{CashierError-GVInnLO0.cjs → CashierError-qXbd3T4d.cjs} +16 -3
  6. package/components/{CashierHeader-Dpm_m2-F.cjs → CashierHeader-BbnypQYS.cjs} +1 -1
  7. package/components/{CashierHeader-BmFLcvOn.js → CashierHeader-CXnHNYfs.js} +38 -38
  8. package/components/{CashierHeader-D5rWgCkR.js → CashierHeader-SSuALKdn.js} +38 -38
  9. package/components/{CashierIframeRedirect-BeJ3BjdP.js → CashierIframeRedirect-BPh132E4.js} +32 -32
  10. package/components/{CashierIframeRedirect-UyIC5nCY.js → CashierIframeRedirect-BeIzPkcY.js} +30 -30
  11. package/components/{CashierIframeRedirect-OIn1YaZR.cjs → CashierIframeRedirect-CiJvxeWK.cjs} +1 -1
  12. package/components/{CashierMethodDetails-CbIHNNA7.js → CashierMethodDetails-BdPcAVmB.js} +54 -54
  13. package/components/{CashierMethodDetails-rb98ADfQ.js → CashierMethodDetails-CJosBjV2.js} +54 -54
  14. package/components/{CashierMethodDetails-HB5kpaqd.cjs → CashierMethodDetails-CMWNeKZq.cjs} +1 -1
  15. package/components/{CashierModal-PGQGrAgY.js → CashierModal-B2DUTbzl.js} +34 -34
  16. package/components/{CashierModal-Dv-7ZIuz.js → CashierModal-cAadEtV9.js} +34 -34
  17. package/components/{CashierNotifications-BMYdcdkg.js → CashierNotifications-BqrU3g7B.js} +19 -19
  18. package/components/{CashierNotifications-Dy0g_QWG.js → CashierNotifications-sCssNp8Z.js} +19 -19
  19. package/components/{CashierReceiptPage-CEUHu1XU.js → CashierReceiptPage-24Lr_kLo.js} +28 -28
  20. package/components/{CashierReceiptPage-DQdoyQtR.cjs → CashierReceiptPage-BdonZ5wU.cjs} +1 -1
  21. package/components/{CashierReceiptPage-Cy6AVN3x.js → CashierReceiptPage-Ctdksnjs.js} +28 -28
  22. package/components/CashierSpinner-BdCzICuN.cjs +1 -0
  23. package/components/CashierSpinner-FjymFjBK.js +71 -0
  24. package/components/CashierSpinner-oZ2qOf5M.js +71 -0
  25. package/es2015/cashier-method-details.cjs +1 -1
  26. package/es2015/cashier-method-details.js +1 -1
  27. package/esnext/cashier-method-details.js +1 -1
  28. package/package.json +1 -1
  29. package/stencil/index-97d17652-BzQXAkmg.js +558 -0
  30. package/stencil/index-97d17652-DYGS0vqJ.cjs +1 -0
  31. package/stencil/index-97d17652-mbOyENH9.js +542 -0
  32. package/stencil/{ui-image-CQQDA5b0.js → ui-image-BmTbGz5h.js} +1 -1
  33. package/stencil/{ui-image-CmwNU-jf.js → ui-image-CFddgpOe.js} +1 -1
  34. package/stencil/{ui-image-CMb1eK44.cjs → ui-image-DzutkFSv.cjs} +1 -1
  35. package/stencil/{ui-image-b7b48fe5-Cf9Vq5pI.js → ui-image-b7b48fe5-7wF4sIlr.js} +1 -1
  36. package/stencil/{ui-image-b7b48fe5-DCck2kk1.cjs → ui-image-b7b48fe5-DQE3WxuL.cjs} +1 -1
  37. package/stencil/{ui-image-b7b48fe5-V9vp4faA.js → ui-image-b7b48fe5-kIlLPkYB.js} +1 -1
  38. package/stencil/{ui-image_2-YkYxLKu7.cjs → ui-image_2-CJHJWEhi.cjs} +1 -1
  39. package/stencil/{ui-image_2-B56t6kXT.js → ui-image_2-Db7N7hzA.js} +2 -2
  40. package/stencil/{ui-image_2-BncuYpLi.js → ui-image_2-oohpKuRS.js} +2 -2
  41. package/components/CashierSpinner-Cxbw-HyX.cjs +0 -1
  42. package/components/CashierSpinner-D30EfqMz.js +0 -71
  43. package/components/CashierSpinner-Dq2vgm_x.js +0 -71
  44. package/stencil/index-97d17652-BEnqZAxL.js +0 -558
  45. package/stencil/index-97d17652-D5_8Vwfn.cjs +0 -1
  46. package/stencil/index-97d17652-WK_DbPS4.js +0 -542
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-CiWxBakF.cjs");function f(i){t.append_styles(i,"svelte-sjjtuo",".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 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-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@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 y(i){let e;return{c(){e=t.element("div"),e.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>',t.attr(e,"class","CashierSpinner")},m(s,l){t.insert(s,e,l),i[3](e)},p:t.noop,i:t.noop,o:t.noop,d(s){s&&t.detach(e),i[3](null)}}}function m(i,e,s){let{clientstyling:l=""}=e,{clientstylingurl:a=""}=e,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 p(n){t.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,p]}class d extends t.SvelteComponent{constructor(e){super(),t.init(this,e,m,y,t.safe_not_equal,{clientstyling:1,clientstylingurl:2},f)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(d,{clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=d;
@@ -0,0 +1,71 @@
1
+ import { S as p, b as y, f as d, c as m, a as g, d as k, g as v, j as x, k as C, n as o, v as w, C as S } from "./CashierConfirmModal-_hdnB5XT.js";
2
+ function _(n) {
3
+ k(n, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 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-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@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
+ }
5
+ function b(n) {
6
+ let e;
7
+ return {
8
+ c() {
9
+ e = v("div"), e.innerHTML = '<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>', x(e, "class", "CashierSpinner");
10
+ },
11
+ m(s, r) {
12
+ C(s, e, r), n[3](e);
13
+ },
14
+ p: o,
15
+ i: o,
16
+ o,
17
+ d(s) {
18
+ s && w(e), n[3](null);
19
+ }
20
+ };
21
+ }
22
+ function L(n, e, s) {
23
+ let { clientstyling: r = "" } = e, { clientstylingurl: a = "" } = e, i;
24
+ const h = () => {
25
+ let t = document.createElement("style");
26
+ t.innerHTML = r, i.appendChild(t);
27
+ }, u = () => {
28
+ let t = new URL(a), c = document.createElement("style");
29
+ fetch(t.href).then((l) => l.text()).then((l) => {
30
+ c.innerHTML = l, setTimeout(
31
+ () => {
32
+ i.appendChild(c);
33
+ },
34
+ 1
35
+ );
36
+ });
37
+ };
38
+ function f(t) {
39
+ S[t ? "unshift" : "push"](() => {
40
+ i = t, s(0, i);
41
+ });
42
+ }
43
+ return n.$$set = (t) => {
44
+ "clientstyling" in t && s(1, r = t.clientstyling), "clientstylingurl" in t && s(2, a = t.clientstylingurl);
45
+ }, n.$$.update = () => {
46
+ n.$$.dirty & /*clientstyling, customStylingContainer*/
47
+ 3 && r && i && h(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
48
+ 5 && a && i && u();
49
+ }, [i, r, a, f];
50
+ }
51
+ class T extends p {
52
+ constructor(e) {
53
+ super(), y(this, e, L, b, g, { clientstyling: 1, clientstylingurl: 2 }, _);
54
+ }
55
+ get clientstyling() {
56
+ return this.$$.ctx[1];
57
+ }
58
+ set clientstyling(e) {
59
+ this.$$set({ clientstyling: e }), d();
60
+ }
61
+ get clientstylingurl() {
62
+ return this.$$.ctx[2];
63
+ }
64
+ set clientstylingurl(e) {
65
+ this.$$set({ clientstylingurl: e }), d();
66
+ }
67
+ }
68
+ m(T, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
69
+ export {
70
+ T as default
71
+ };
@@ -0,0 +1,71 @@
1
+ import { S as p, b as y, f as d, c as m, a as g, d as k, g as v, j as x, k as C, n as o, v as w, C as S } from "./CashierConfirmModal-BzyMG3UR.js";
2
+ function _(n) {
3
+ k(n, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 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-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@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
+ }
5
+ function b(n) {
6
+ let e;
7
+ return {
8
+ c() {
9
+ e = v("div"), e.innerHTML = '<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>', x(e, "class", "CashierSpinner");
10
+ },
11
+ m(s, r) {
12
+ C(s, e, r), n[3](e);
13
+ },
14
+ p: o,
15
+ i: o,
16
+ o,
17
+ d(s) {
18
+ s && w(e), n[3](null);
19
+ }
20
+ };
21
+ }
22
+ function L(n, e, s) {
23
+ let { clientstyling: r = "" } = e, { clientstylingurl: a = "" } = e, i;
24
+ const h = () => {
25
+ let t = document.createElement("style");
26
+ t.innerHTML = r, i.appendChild(t);
27
+ }, u = () => {
28
+ let t = new URL(a), c = document.createElement("style");
29
+ fetch(t.href).then((l) => l.text()).then((l) => {
30
+ c.innerHTML = l, setTimeout(
31
+ () => {
32
+ i.appendChild(c);
33
+ },
34
+ 1
35
+ );
36
+ });
37
+ };
38
+ function f(t) {
39
+ S[t ? "unshift" : "push"](() => {
40
+ i = t, s(0, i);
41
+ });
42
+ }
43
+ return n.$$set = (t) => {
44
+ "clientstyling" in t && s(1, r = t.clientstyling), "clientstylingurl" in t && s(2, a = t.clientstylingurl);
45
+ }, n.$$.update = () => {
46
+ n.$$.dirty & /*clientstyling, customStylingContainer*/
47
+ 3 && r && i && h(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
48
+ 5 && a && i && u();
49
+ }, [i, r, a, f];
50
+ }
51
+ class T extends p {
52
+ constructor(e) {
53
+ super(), y(this, e, L, b, g, { clientstyling: 1, clientstylingurl: 2 }, _);
54
+ }
55
+ get clientstyling() {
56
+ return this.$$.ctx[1];
57
+ }
58
+ set clientstyling(e) {
59
+ this.$$set({ clientstyling: e }), d();
60
+ }
61
+ get clientstylingurl() {
62
+ return this.$$.ctx[2];
63
+ }
64
+ set clientstylingurl(e) {
65
+ this.$$set({ clientstylingurl: e }), d();
66
+ }
67
+ }
68
+ m(T, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
69
+ export {
70
+ T as default
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-HB5kpaqd.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-CMWNeKZq.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-rb98ADfQ.js").then((e) => e.C).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CashierMethodDetails-CJosBjV2.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-CbIHNNA7.js";
1
+ import { C as n } from "../components/CashierMethodDetails-BdPcAVmB.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.64.7",
3
+ "version": "1.65.0",
4
4
  "type": "module",
5
5
  "main": "es2015/cashier-method-details.cjs",
6
6
  "module": "esnext/cashier-method-details.js",