@everymatrix/cashier-method-details 1.55.0 → 1.56.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.
- package/components/{CashierConfirmModal-Ccz0Sdnq.js → CashierConfirmModal-C4oTmnti.js} +32 -32
- package/components/{CashierConfirmModal-BQ2JtRMF.js → CashierConfirmModal-DX30udCt.js} +32 -32
- package/components/{CashierError-CjbdWO_N.cjs → CashierError-CHTIdJFG.cjs} +3 -3
- package/components/{CashierError-DHY1mLRH.js → CashierError-DK-FE2t4.js} +340 -342
- package/components/{CashierError-BTUcaCtA.js → CashierError-dKzawjGf.js} +340 -342
- package/components/{CashierHeader-BcBZUumf.js → CashierHeader-CcCfgKKj.js} +44 -44
- package/components/{CashierHeader-BENTNpJ3.cjs → CashierHeader-UXnGiPlG.cjs} +1 -1
- package/components/{CashierHeader-Q8JuzuVk.js → CashierHeader-cbMs-Ax4.js} +44 -44
- package/components/{CashierIframeRedirect-ANBMn733.js → CashierIframeRedirect-9hpAaFQR.js} +30 -30
- package/components/{CashierIframeRedirect-i5PAPezc.cjs → CashierIframeRedirect-OEVjAXWH.cjs} +1 -1
- package/components/{CashierIframeRedirect-B4imEacT.js → CashierIframeRedirect-pJRalaIp.js} +32 -32
- package/components/{CashierMethodDetails-C5VyNFo-.js → CashierMethodDetails-DJLZFNMR.js} +707 -703
- package/components/{CashierMethodDetails-C0LypOzl.js → CashierMethodDetails-DU7-35Hh.js} +691 -687
- package/components/{CashierMethodDetails-BU-sZFbt.cjs → CashierMethodDetails-DcFabdl_.cjs} +3 -3
- package/components/{CashierModal-B5mNPQ9l.js → CashierModal-DYzmydyY.js} +27 -27
- package/components/{CashierModal-DjGgvDJK.js → CashierModal-nl-2Ol6U.js} +27 -27
- package/components/{CashierNotifications-BmUYtlED.js → CashierNotifications-DE6lzn06.js} +19 -19
- package/components/{CashierNotifications-BqR8NI_I.js → CashierNotifications-DH1lz02f.js} +19 -19
- package/components/{CashierReceiptPage-dStnVYWC.js → CashierReceiptPage-CbUcbfVA.js} +76 -76
- package/components/{CashierReceiptPage-BIziznyy.cjs → CashierReceiptPage-DGzJcFot.cjs} +1 -1
- package/components/{CashierReceiptPage-CBkC7D8b.js → CashierReceiptPage-Og0KIyx_.js} +76 -76
- package/components/{CashierSpinner-BhJd9GIb.js → CashierSpinner-DG1S-dlx.js} +25 -25
- package/components/{CashierSpinner-CllqfvIy.js → CashierSpinner-DRAwOlC0.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
@@ -1,71 +1,71 @@
|
|
1
|
-
import { S as y, b as g, f as
|
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";
|
2
2
|
function b(n) {
|
3
|
-
|
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}}");
|
4
4
|
}
|
5
5
|
function w(n) {
|
6
6
|
let t;
|
7
7
|
return {
|
8
8
|
c() {
|
9
|
-
t =
|
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");
|
10
10
|
},
|
11
|
-
m(
|
12
|
-
|
11
|
+
m(s, r) {
|
12
|
+
C(s, t, r), n[3](t);
|
13
13
|
},
|
14
14
|
p: c,
|
15
15
|
i: c,
|
16
16
|
o: c,
|
17
|
-
d(
|
18
|
-
|
17
|
+
d(s) {
|
18
|
+
s && k(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, s) {
|
23
|
+
let { clientstyling: r = "" } = t, { clientstylingurl: l = "" } = t, i;
|
24
|
+
const d = () => {
|
25
25
|
let e = document.createElement("style");
|
26
|
-
e.innerHTML = r,
|
26
|
+
e.innerHTML = r, i.appendChild(e);
|
27
27
|
}, f = () => {
|
28
|
-
let e = new URL(
|
29
|
-
fetch(e.href).then((
|
30
|
-
o.innerHTML =
|
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(
|
31
31
|
() => {
|
32
|
-
|
32
|
+
i.appendChild(o);
|
33
33
|
},
|
34
34
|
1
|
35
35
|
);
|
36
36
|
});
|
37
37
|
};
|
38
38
|
function u(e) {
|
39
|
-
|
40
|
-
|
39
|
+
_[e ? "unshift" : "push"](() => {
|
40
|
+
i = e, s(0, i);
|
41
41
|
});
|
42
42
|
}
|
43
43
|
return n.$$set = (e) => {
|
44
|
-
"clientstyling" in e &&
|
44
|
+
"clientstyling" in e && s(1, r = e.clientstyling), "clientstylingurl" in e && s(2, l = e.clientstylingurl);
|
45
45
|
}, n.$$.update = () => {
|
46
46
|
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
47
|
-
3 && r &&
|
48
|
-
5 &&
|
49
|
-
}, [
|
47
|
+
3 && r && i && d(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
48
|
+
5 && l && i && f();
|
49
|
+
}, [i, r, l, 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, m, { 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 }), h();
|
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 }), h();
|
66
66
|
}
|
67
67
|
}
|
68
|
-
|
68
|
+
v(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, f as
|
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";
|
2
2
|
function b(n) {
|
3
|
-
|
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}}");
|
4
4
|
}
|
5
5
|
function w(n) {
|
6
6
|
let t;
|
7
7
|
return {
|
8
8
|
c() {
|
9
|
-
t =
|
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");
|
10
10
|
},
|
11
|
-
m(
|
12
|
-
|
11
|
+
m(s, r) {
|
12
|
+
C(s, t, r), n[3](t);
|
13
13
|
},
|
14
14
|
p: c,
|
15
15
|
i: c,
|
16
16
|
o: c,
|
17
|
-
d(
|
18
|
-
|
17
|
+
d(s) {
|
18
|
+
s && k(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, s) {
|
23
|
+
let { clientstyling: r = "" } = t, { clientstylingurl: l = "" } = t, i;
|
24
|
+
const d = () => {
|
25
25
|
let e = document.createElement("style");
|
26
|
-
e.innerHTML = r,
|
26
|
+
e.innerHTML = r, i.appendChild(e);
|
27
27
|
}, f = () => {
|
28
|
-
let e = new URL(
|
29
|
-
fetch(e.href).then((
|
30
|
-
o.innerHTML =
|
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(
|
31
31
|
() => {
|
32
|
-
|
32
|
+
i.appendChild(o);
|
33
33
|
},
|
34
34
|
1
|
35
35
|
);
|
36
36
|
});
|
37
37
|
};
|
38
38
|
function u(e) {
|
39
|
-
|
40
|
-
|
39
|
+
_[e ? "unshift" : "push"](() => {
|
40
|
+
i = e, s(0, i);
|
41
41
|
});
|
42
42
|
}
|
43
43
|
return n.$$set = (e) => {
|
44
|
-
"clientstyling" in e &&
|
44
|
+
"clientstyling" in e && s(1, r = e.clientstyling), "clientstylingurl" in e && s(2, l = e.clientstylingurl);
|
45
45
|
}, n.$$.update = () => {
|
46
46
|
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
47
|
-
3 && r &&
|
48
|
-
5 &&
|
49
|
-
}, [
|
47
|
+
3 && r && i && d(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
48
|
+
5 && l && i && f();
|
49
|
+
}, [i, r, l, 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, m, { 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 }), h();
|
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 }), h();
|
66
66
|
}
|
67
67
|
}
|
68
|
-
|
68
|
+
v(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-DcFabdl_.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-DJLZFNMR.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
|
}
|