@everymatrix/cashier-method-details 1.57.0 → 1.58.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-BzyMG3UR.js → CashierConfirmModal-ALYaSJFy.js} +32 -32
- package/components/{CashierConfirmModal-_hdnB5XT.js → CashierConfirmModal-BSYwX1Mc.js} +32 -32
- package/components/{CashierError-vnxtaVVj.js → CashierError-63NLaXLj.js} +340 -342
- package/components/{CashierError-DZjdr9Yb.cjs → CashierError-Bz39VBRw.cjs} +4 -4
- package/components/{CashierError-Tz0RLayt.js → CashierError-RU2gDBdI.js} +340 -342
- package/components/{CashierHeader-BjxxHtz3.cjs → CashierHeader-QST18-TW.cjs} +1 -1
- package/components/{CashierHeader-CpSB5msg.js → CashierHeader-heC_49zt.js} +44 -44
- package/components/{CashierHeader-DhbF_qQk.js → CashierHeader-wmAgZmcS.js} +44 -44
- package/components/{CashierIframeRedirect-DMA3FcSz.js → CashierIframeRedirect-BhM7Nyff.js} +30 -30
- package/components/{CashierIframeRedirect-erxyxK0N.cjs → CashierIframeRedirect-bj13pJqz.cjs} +1 -1
- package/components/{CashierIframeRedirect-BSAMAc8B.js → CashierIframeRedirect-zEBOIc2Z.js} +32 -32
- package/components/{CashierMethodDetails-BHxFMAtx.js → CashierMethodDetails-D_hM-1W4.js} +54 -54
- package/components/{CashierMethodDetails-C9XAbwwT.js → CashierMethodDetails-rCNzXfMT.js} +54 -54
- package/components/{CashierMethodDetails-DebzpprM.cjs → CashierMethodDetails-vqh02xQR.cjs} +1 -1
- package/components/{CashierModal-cAadEtV9.js → CashierModal-5TpL-tXD.js} +27 -27
- package/components/{CashierModal-B2DUTbzl.js → CashierModal-DKQDPKh1.js} +27 -27
- package/components/{CashierNotifications-BqrU3g7B.js → CashierNotifications-B6aSkDiY.js} +19 -19
- package/components/{CashierNotifications-sCssNp8Z.js → CashierNotifications-CQ6U8KNm.js} +19 -19
- package/components/{CashierReceiptPage-BL2PQN5z.js → CashierReceiptPage-BhKvh1YB.js} +28 -28
- package/components/{CashierReceiptPage-DB965lDo.js → CashierReceiptPage-C2_6Xvxp.js} +28 -28
- package/components/{CashierReceiptPage-B_XnKMeK.cjs → CashierReceiptPage-jLHcYB12.cjs} +1 -1
- package/components/{CashierSpinner-BMBhQseZ.js → CashierSpinner-BgDvVAMj.js} +25 -25
- package/components/{CashierSpinner-D3kcfOR-.js → CashierSpinner-C8rWBlGN.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-BSYwX1Mc.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-ALYaSJFy.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-vqh02xQR.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-D_hM-1W4.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
|
}
|