@everymatrix/cashier-method-details 1.87.26 → 1.87.27
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/CashierError-BpmuBmVP.cjs +1 -0
- package/components/CashierError-Mvxqp2ap.js +450 -0
- package/components/CashierError-O5ic9U7e.js +450 -0
- package/components/CashierMethodDetails-BBNnxVjz.cjs +107 -0
- package/components/CashierMethodDetails-CUEnJ8gY.js +15473 -0
- package/components/CashierMethodDetails-f1gSK7cf.js +15420 -0
- package/components/{CashierModal-BzNDQkzs.js → CashierModal-D6FPktz0.js} +129 -129
- package/components/{CashierModal-BMHnCII1.js → CashierModal-Dnp3eUbg.js} +145 -145
- package/components/CashierModal-laFwE1w3.cjs +1 -0
- package/components/{CashierNotifications-De7de8Hg.js → CashierNotifications-2GtjS3B9.js} +28 -28
- package/components/CashierNotifications-DCLdvxaG.cjs +1 -0
- package/components/{CashierNotifications-BxRuN6EX.js → CashierNotifications-DVdiX6d3.js} +28 -28
- package/components/{CashierReceiptPage-CIxG9Oev.js → CashierReceiptPage-Bz1JaXZG.js} +496 -497
- package/components/{CashierReceiptPage-BN4ghEfB.cjs → CashierReceiptPage-DHiSQNvk.cjs} +2 -2
- package/components/{CashierReceiptPage-FCPBrZm8.js → CashierReceiptPage-ThnfKN3f.js} +496 -497
- 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/CashierError-CGK1vujl.js +0 -4648
- package/components/CashierError-D6xl461v.cjs +0 -8
- package/components/CashierError-wi6a-II9.js +0 -4611
- package/components/CashierMethodDetails-CqrJLR8u.js +0 -11248
- package/components/CashierMethodDetails-D-fBBTyE.js +0 -11291
- package/components/CashierMethodDetails-tC7hUGh_.cjs +0 -100
- package/components/CashierModal-BAyFcb0s.cjs +0 -1
- package/components/CashierNotifications-BxbVuW3E.cjs +0 -1
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import { S as C,
|
|
2
|
-
function H(
|
|
3
|
-
|
|
1
|
+
import { S as C, i as v, s as _, f as d, a as k, n as b, d as N, b as p, c as z, e as f, l as S, g as h, t as x, h as E, j as L, k as M, m as T } from "./CashierMethodDetails-CUEnJ8gY.js";
|
|
2
|
+
function H(i) {
|
|
3
|
+
k(i, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
|
|
4
4
|
}
|
|
5
|
-
function R(
|
|
6
|
-
let t, s, r, u, l, a,
|
|
5
|
+
function R(i) {
|
|
6
|
+
let t, s, r, u, l, a, n, m;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
9
|
t = h("div"), s = h("span"), r = x(
|
|
10
10
|
/*text*/
|
|
11
|
-
|
|
12
|
-
), u =
|
|
11
|
+
i[0]
|
|
12
|
+
), u = E(), l = h("button"), a = x(
|
|
13
13
|
/*button*/
|
|
14
|
-
|
|
15
|
-
),
|
|
14
|
+
i[1]
|
|
15
|
+
), L(t, "class", "CashierNotifications");
|
|
16
16
|
},
|
|
17
17
|
m(o, c) {
|
|
18
|
-
z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a),
|
|
18
|
+
z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), i[6](t), n || (m = S(
|
|
19
19
|
l,
|
|
20
20
|
"click",
|
|
21
21
|
/*notificationClick*/
|
|
22
|
-
|
|
23
|
-
),
|
|
22
|
+
i[3]
|
|
23
|
+
), n = !0);
|
|
24
24
|
},
|
|
25
25
|
p(o, [c]) {
|
|
26
26
|
c & /*text*/
|
|
27
|
-
1 &&
|
|
27
|
+
1 && p(
|
|
28
28
|
r,
|
|
29
29
|
/*text*/
|
|
30
30
|
o[0]
|
|
31
31
|
), c & /*button*/
|
|
32
|
-
2 &&
|
|
32
|
+
2 && p(
|
|
33
33
|
a,
|
|
34
34
|
/*button*/
|
|
35
35
|
o[1]
|
|
36
36
|
);
|
|
37
37
|
},
|
|
38
|
-
i:
|
|
39
|
-
o:
|
|
38
|
+
i: b,
|
|
39
|
+
o: b,
|
|
40
40
|
d(o) {
|
|
41
|
-
o &&
|
|
41
|
+
o && N(t), i[6](null), n = !1, m();
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
function U(
|
|
46
|
-
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t,
|
|
45
|
+
function U(i, t, s) {
|
|
46
|
+
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, n;
|
|
47
47
|
const m = () => {
|
|
48
48
|
window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
|
|
49
49
|
}, o = () => {
|
|
50
50
|
let e = document.createElement("style");
|
|
51
|
-
e.innerHTML = l,
|
|
51
|
+
e.innerHTML = l, n.appendChild(e);
|
|
52
52
|
}, c = () => {
|
|
53
53
|
let e = new URL(a), y = document.createElement("style");
|
|
54
54
|
fetch(e.href).then((g) => g.text()).then((g) => {
|
|
55
55
|
y.innerHTML = g, setTimeout(
|
|
56
56
|
() => {
|
|
57
|
-
|
|
57
|
+
n.appendChild(y);
|
|
58
58
|
},
|
|
59
59
|
1
|
|
60
60
|
);
|
|
@@ -62,19 +62,19 @@ function U(n, t, s) {
|
|
|
62
62
|
};
|
|
63
63
|
function w(e) {
|
|
64
64
|
M[e ? "unshift" : "push"](() => {
|
|
65
|
-
|
|
65
|
+
n = e, s(2, n);
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
return
|
|
68
|
+
return i.$$set = (e) => {
|
|
69
69
|
"text" in e && s(0, r = e.text), "button" in e && s(1, u = e.button), "clientstyling" in e && s(4, l = e.clientstyling), "clientstylingurl" in e && s(5, a = e.clientstylingurl);
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
20 && l &&
|
|
73
|
-
36 && a &&
|
|
70
|
+
}, i.$$.update = () => {
|
|
71
|
+
i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
72
|
+
20 && l && n && o(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
73
|
+
36 && a && n && c();
|
|
74
74
|
}, [
|
|
75
75
|
r,
|
|
76
76
|
u,
|
|
77
|
-
|
|
77
|
+
n,
|
|
78
78
|
m,
|
|
79
79
|
l,
|
|
80
80
|
a,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierMethodDetails-BBNnxVjz.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,a,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),a=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(r,u){t.insert(r,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,a),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(r,[u]){u&1&&t.set_data(c,r[0]),u&2&&t.set_data(a,r[1])},i:t.noop,o:t.noop,d(r){r&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},r=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(a),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&r(),i.$$.dirty&36&&a&&l&&u()},[c,f,l,d,o,a,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import { S as C,
|
|
2
|
-
function H(
|
|
3
|
-
|
|
1
|
+
import { S as C, i as v, f as d, s as _, c as k, a as N, n as b, d as z, b as p, e as S, g as f, l as E, h, t as x, j as L, k as M, m as T } from "./CashierMethodDetails-f1gSK7cf.js";
|
|
2
|
+
function H(i) {
|
|
3
|
+
N(i, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
|
|
4
4
|
}
|
|
5
|
-
function R(
|
|
6
|
-
let t, s, r, u, l, a,
|
|
5
|
+
function R(i) {
|
|
6
|
+
let t, s, r, u, l, a, n, m;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
9
|
t = h("div"), s = h("span"), r = x(
|
|
10
10
|
/*text*/
|
|
11
|
-
|
|
12
|
-
), u =
|
|
11
|
+
i[0]
|
|
12
|
+
), u = L(), l = h("button"), a = x(
|
|
13
13
|
/*button*/
|
|
14
|
-
|
|
14
|
+
i[1]
|
|
15
15
|
), M(t, "class", "CashierNotifications");
|
|
16
16
|
},
|
|
17
17
|
m(o, c) {
|
|
18
|
-
|
|
18
|
+
S(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), i[6](t), n || (m = E(
|
|
19
19
|
l,
|
|
20
20
|
"click",
|
|
21
21
|
/*notificationClick*/
|
|
22
|
-
|
|
23
|
-
),
|
|
22
|
+
i[3]
|
|
23
|
+
), n = !0);
|
|
24
24
|
},
|
|
25
25
|
p(o, [c]) {
|
|
26
26
|
c & /*text*/
|
|
27
|
-
1 &&
|
|
27
|
+
1 && p(
|
|
28
28
|
r,
|
|
29
29
|
/*text*/
|
|
30
30
|
o[0]
|
|
31
31
|
), c & /*button*/
|
|
32
|
-
2 &&
|
|
32
|
+
2 && p(
|
|
33
33
|
a,
|
|
34
34
|
/*button*/
|
|
35
35
|
o[1]
|
|
36
36
|
);
|
|
37
37
|
},
|
|
38
|
-
i:
|
|
39
|
-
o:
|
|
38
|
+
i: b,
|
|
39
|
+
o: b,
|
|
40
40
|
d(o) {
|
|
41
|
-
o && z(t),
|
|
41
|
+
o && z(t), i[6](null), n = !1, m();
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
function U(
|
|
46
|
-
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t,
|
|
45
|
+
function U(i, t, s) {
|
|
46
|
+
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, n;
|
|
47
47
|
const m = () => {
|
|
48
48
|
window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
|
|
49
49
|
}, o = () => {
|
|
50
50
|
let e = document.createElement("style");
|
|
51
|
-
e.innerHTML = l,
|
|
51
|
+
e.innerHTML = l, n.appendChild(e);
|
|
52
52
|
}, c = () => {
|
|
53
53
|
let e = new URL(a), y = document.createElement("style");
|
|
54
54
|
fetch(e.href).then((g) => g.text()).then((g) => {
|
|
55
55
|
y.innerHTML = g, setTimeout(
|
|
56
56
|
() => {
|
|
57
|
-
|
|
57
|
+
n.appendChild(y);
|
|
58
58
|
},
|
|
59
59
|
1
|
|
60
60
|
);
|
|
@@ -62,19 +62,19 @@ function U(n, t, s) {
|
|
|
62
62
|
};
|
|
63
63
|
function w(e) {
|
|
64
64
|
T[e ? "unshift" : "push"](() => {
|
|
65
|
-
|
|
65
|
+
n = e, s(2, n);
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
return
|
|
68
|
+
return i.$$set = (e) => {
|
|
69
69
|
"text" in e && s(0, r = e.text), "button" in e && s(1, u = e.button), "clientstyling" in e && s(4, l = e.clientstyling), "clientstylingurl" in e && s(5, a = e.clientstylingurl);
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
20 && l &&
|
|
73
|
-
36 && a &&
|
|
70
|
+
}, i.$$.update = () => {
|
|
71
|
+
i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
72
|
+
20 && l && n && o(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
73
|
+
36 && a && n && c();
|
|
74
74
|
}, [
|
|
75
75
|
r,
|
|
76
76
|
u,
|
|
77
|
-
|
|
77
|
+
n,
|
|
78
78
|
m,
|
|
79
79
|
l,
|
|
80
80
|
a,
|
|
@@ -123,7 +123,7 @@ class j extends C {
|
|
|
123
123
|
this.$$set({ clientstylingurl: t }), d();
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
|
|
126
|
+
k(j, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
127
|
export {
|
|
128
128
|
j as default
|
|
129
129
|
};
|