@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.
- package/components/{CashierConfirmModal-DX30udCt.js → CashierConfirmModal-BzyMG3UR.js} +46 -39
- package/components/{CashierConfirmModal-BeEK5pGj.cjs → CashierConfirmModal-CiWxBakF.cjs} +1 -1
- package/components/{CashierConfirmModal-C4oTmnti.js → CashierConfirmModal-_hdnB5XT.js} +47 -40
- package/components/{CashierError-CHTIdJFG.cjs → CashierError-DZjdr9Yb.cjs} +16 -3
- package/components/{CashierError-DK-FE2t4.js → CashierError-Tz0RLayt.js} +524 -502
- package/components/{CashierError-dKzawjGf.js → CashierError-vnxtaVVj.js} +523 -501
- package/components/{CashierHeader-UXnGiPlG.cjs → CashierHeader-BjxxHtz3.cjs} +1 -1
- package/components/{CashierHeader-CcCfgKKj.js → CashierHeader-CpSB5msg.js} +44 -44
- package/components/{CashierHeader-cbMs-Ax4.js → CashierHeader-DhbF_qQk.js} +44 -44
- package/components/{CashierIframeRedirect-pJRalaIp.js → CashierIframeRedirect-BSAMAc8B.js} +32 -32
- package/components/{CashierIframeRedirect-9hpAaFQR.js → CashierIframeRedirect-DMA3FcSz.js} +30 -30
- package/components/{CashierIframeRedirect-OEVjAXWH.cjs → CashierIframeRedirect-erxyxK0N.cjs} +1 -1
- package/components/{CashierMethodDetails-DJLZFNMR.js → CashierMethodDetails-BHxFMAtx.js} +1868 -1831
- package/components/{CashierMethodDetails-DU7-35Hh.js → CashierMethodDetails-C9XAbwwT.js} +1807 -1770
- package/components/CashierMethodDetails-DebzpprM.cjs +18 -0
- package/components/{CashierModal-nl-2Ol6U.js → CashierModal-B2DUTbzl.js} +27 -27
- package/components/{CashierModal-DYzmydyY.js → CashierModal-cAadEtV9.js} +27 -27
- package/components/{CashierModal-Dh8HuQn-.cjs → CashierModal-yskXp9fE.cjs} +1 -1
- package/components/{CashierNotifications-DE6lzn06.js → CashierNotifications-BqrU3g7B.js} +19 -19
- package/components/{CashierNotifications-C2D2LjK6.cjs → CashierNotifications-C5Z_cNID.cjs} +1 -1
- package/components/{CashierNotifications-DH1lz02f.js → CashierNotifications-sCssNp8Z.js} +19 -19
- package/components/{CashierReceiptPage-Og0KIyx_.js → CashierReceiptPage-BL2PQN5z.js} +215 -202
- package/components/{CashierReceiptPage-DGzJcFot.cjs → CashierReceiptPage-B_XnKMeK.cjs} +1 -1
- package/components/{CashierReceiptPage-CbUcbfVA.js → CashierReceiptPage-DB965lDo.js} +191 -179
- package/components/{CashierSpinner-DG1S-dlx.js → CashierSpinner-BMBhQseZ.js} +25 -25
- package/components/{CashierSpinner-BYRAyXQ3.cjs → CashierSpinner-Cxbw-HyX.cjs} +1 -1
- package/components/{CashierSpinner-DRAwOlC0.js → CashierSpinner-D3kcfOR-.js} +25 -25
- package/es2015/cashier-method-details.cjs +1 -1
- package/es2015/cashier-method-details.js +1 -1
- package/esnext/cashier-method-details.js +1 -1
- package/package.json +1 -1
- package/components/CashierMethodDetails-DcFabdl_.cjs +0 -18
@@ -1,71 +1,71 @@
|
|
1
|
-
import { S as y, b as g,
|
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
|
-
|
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 =
|
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(
|
12
|
-
|
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(
|
18
|
-
|
17
|
+
d(i) {
|
18
|
+
i && _(t), n[3](null);
|
19
19
|
}
|
20
20
|
};
|
21
21
|
}
|
22
|
-
function L(n, t,
|
23
|
-
let { clientstyling: r = "" } = t, { clientstylingurl:
|
24
|
-
const
|
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,
|
26
|
+
e.innerHTML = r, s.appendChild(e);
|
27
27
|
}, f = () => {
|
28
|
-
let e = new URL(
|
29
|
-
fetch(e.href).then((
|
30
|
-
o.innerHTML =
|
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
|
-
|
32
|
+
s.appendChild(o);
|
33
33
|
},
|
34
34
|
1
|
35
35
|
);
|
36
36
|
});
|
37
37
|
};
|
38
38
|
function u(e) {
|
39
|
-
|
40
|
-
|
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 &&
|
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 &&
|
48
|
-
5 &&
|
49
|
-
}, [
|
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,
|
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 }),
|
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 }),
|
65
|
+
this.$$set({ clientstylingurl: t }), d();
|
66
66
|
}
|
67
67
|
}
|
68
|
-
|
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-
|
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,
|
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
|
-
|
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 =
|
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(
|
12
|
-
|
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(
|
18
|
-
|
17
|
+
d(i) {
|
18
|
+
i && _(t), n[3](null);
|
19
19
|
}
|
20
20
|
};
|
21
21
|
}
|
22
|
-
function L(n, t,
|
23
|
-
let { clientstyling: r = "" } = t, { clientstylingurl:
|
24
|
-
const
|
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,
|
26
|
+
e.innerHTML = r, s.appendChild(e);
|
27
27
|
}, f = () => {
|
28
|
-
let e = new URL(
|
29
|
-
fetch(e.href).then((
|
30
|
-
o.innerHTML =
|
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
|
-
|
32
|
+
s.appendChild(o);
|
33
33
|
},
|
34
34
|
1
|
35
35
|
);
|
36
36
|
});
|
37
37
|
};
|
38
38
|
function u(e) {
|
39
|
-
|
40
|
-
|
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 &&
|
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 &&
|
48
|
-
5 &&
|
49
|
-
}, [
|
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,
|
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 }),
|
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 }),
|
65
|
+
this.$$set({ clientstylingurl: t }), d();
|
66
66
|
}
|
67
67
|
}
|
68
|
-
|
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-
|
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-
|
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
|
}
|