@everymatrix/cashier-page 1.93.82 → 1.93.151
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/CashierCarousel-BSxG-xai.cjs +1 -0
- package/components/CashierCarousel-CaSLwSQZ.js +711 -0
- package/components/CashierCarousel-hhzygSIh.js +708 -0
- package/components/CashierError-8nBQ12Ro.cjs +1 -0
- package/components/{CashierError-Dl1PsAvl.js → CashierError-CUmyB5lN.js} +15 -14
- package/components/{CashierError-BtMqsFpr.js → CashierError-ChfgU3dy.js} +15 -14
- package/components/CashierHeader-Cxg2Bbwv.cjs +1 -0
- package/components/CashierHeader-CztzLdMZ.js +477 -0
- package/components/CashierHeader-LzICktCn.js +477 -0
- package/components/{CashierIframeRedirect-B_XLllRU.js → CashierIframeRedirect-Cmjb6V8k.js} +79 -94
- package/components/{CashierIframeRedirect-wYvtOAcP.js → CashierIframeRedirect-DPrxcEUI.js} +75 -90
- package/components/CashierIframeRedirect-DhxaD3C-.cjs +1 -0
- package/components/CashierMethodDetails-BtSiMmg9.cjs +85 -0
- package/components/{CashierMethodDetails-wGMBuOxy.js → CashierMethodDetails-DSPP4Q1p.js} +3188 -3495
- package/components/{CashierMethodDetails-DaD697V7.js → CashierMethodDetails-JcREkr2L.js} +3455 -3770
- package/components/{CashierMethodsList-B4UpzKsn.js → CashierMethodsList-0LyVXgQ0.js} +80 -88
- package/components/{CashierMethodsList-B_aSe6bW.js → CashierMethodsList-Cw44onHK.js} +89 -97
- package/components/CashierMethodsList-DDdnWCVs.cjs +1 -0
- package/components/{CashierModal-DmFWYYBv.js → CashierModal-BWJqiuUm.js} +35 -34
- package/components/CashierModal-CbW-aJRp.cjs +1 -0
- package/components/{CashierModal-Dbo2y6I0.js → CashierModal-Cx16xGm6.js} +53 -52
- package/components/{CashierNotifications-CCfHWtui.js → CashierNotifications-BNacIn3G.js} +27 -27
- package/components/{CashierNotifications-BF72AddE.js → CashierNotifications-CGPpJwPT.js} +29 -29
- package/components/CashierNotifications-COhg-R-t.cjs +1 -0
- package/components/CashierPage-BHPTJcjL.js +10233 -0
- package/components/CashierPage-CYk7P-lY.js +10286 -0
- package/components/CashierPage-DoQEkSE2.cjs +23 -0
- package/components/CashierReceiptPage-DQlDMGoG.cjs +29 -0
- package/components/{CashierReceiptPage-Dv62xfX7.js → CashierReceiptPage-DnxAMr9D.js} +56 -57
- package/components/{CashierReceiptPage-BrGb_Hvr.js → CashierReceiptPage-IKLG5tQV.js} +49 -50
- package/components/{CashierSessionExpirationModal-BGyMfsOA.js → CashierSessionExpirationModal-BubeLoKh.js} +58 -59
- package/components/{CashierSessionExpirationModal-93K5YDe6.js → CashierSessionExpirationModal-C_2xlICF.js} +58 -59
- package/components/CashierSessionExpirationModal-DmrmH2xx.cjs +2 -0
- package/components/{CashierSpinner-BJI9qezE.js → CashierSpinner-B_Ey78yx.js} +15 -14
- package/components/CashierSpinner-BlRqsMug.cjs +1 -0
- package/components/{CashierSpinner-DOUYOomg.js → CashierSpinner-CwcwkjeV.js} +19 -18
- package/components/{CashierStepUp-C3MjcoUT.js → CashierStepUp-CSBqoOrt.js} +7 -6
- package/components/CashierStepUp-DVXV10Vd.cjs +1 -0
- package/components/{CashierStepUp-NMJhP_y_.js → CashierStepUp-f4sFTU4l.js} +48 -47
- package/components/{CashierTransactionHistory-D-ILp63Z.js → CashierTransactionHistory-1SskkrpF.js} +53 -54
- package/components/{CashierTransactionHistory-CgTMpzNV.js → CashierTransactionHistory-BMYFeuL5.js} +53 -54
- package/components/CashierTransactionHistory-DlID7rkA.cjs +1 -0
- package/components/{CashierVerifications-G7kq70X5.js → CashierVerifications-BjpOrTTp.js} +148 -132
- package/components/{CashierVerifications-C0epXYG7.js → CashierVerifications-Dp5nS2oy.js} +155 -139
- package/components/CashierVerifications-truLPmcH.cjs +1 -0
- package/components/{TxnStatusIcon-DbrDCliI.js → TxnStatusIcon-BNxmTC8i.js} +12 -12
- package/components/TxnStatusIcon-CNarrbiO.cjs +1 -0
- package/components/{TxnStatusIcon-z17R4Qdy.js → TxnStatusIcon-DyCxSWXD.js} +1 -1
- package/components/{TxnTypeIcons-DA4xjdSc.js → TxnTypeIcons-D0Vb7S38.js} +1 -1
- package/components/TxnTypeIcons-DFWcjK5-.cjs +1 -0
- package/components/{TxnTypeIcons-_jm1frsR.js → TxnTypeIcons-Dtk3rc1Y.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-B0fVKMjP.js +0 -5871
- package/components/CashierCarousel-BekweMPA.cjs +0 -23
- package/components/CashierCarousel-BtKQtzdv.js +0 -5833
- package/components/CashierError-Co7r_Zm9.cjs +0 -1
- package/components/CashierHeader-BPxfHV7O.js +0 -418
- package/components/CashierHeader-BfBH2bp5.js +0 -418
- package/components/CashierHeader-CCqfqjfy.cjs +0 -1
- package/components/CashierIframeRedirect-BjtL1epU.cjs +0 -1
- package/components/CashierMethodDetails-Ctclpkim.cjs +0 -85
- package/components/CashierMethodsList-DW2EatO7.cjs +0 -1
- package/components/CashierModal-D_cTbvqs.cjs +0 -1
- package/components/CashierNotifications-O-t5pi8m.cjs +0 -1
- package/components/CashierPage-B6cpE8nZ.js +0 -4753
- package/components/CashierPage-Bt3cVEtH.js +0 -4787
- package/components/CashierPage-BySSrDh5.cjs +0 -1
- package/components/CashierReceiptPage-tMafTG-d.cjs +0 -29
- package/components/CashierSessionExpirationModal-VHFllEY0.cjs +0 -2
- package/components/CashierSpinner-BNkBVuft.cjs +0 -1
- package/components/CashierStepUp-BFJ7us6S.cjs +0 -1
- package/components/CashierTransactionHistory-D0_sooBa.cjs +0 -1
- package/components/CashierVerifications-BnMMvMfo.cjs +0 -1
- package/components/TxnStatusIcon-BcQgw6kQ.cjs +0 -1
- package/components/TxnTypeIcons-keA0IcNM.cjs +0 -1
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { S as C, b as v, s as _, f as d, c as k,
|
|
2
|
-
function
|
|
3
|
-
k(
|
|
1
|
+
import { S as C, b as v, s as _, f as d, c as k, y as b, e as N, v as p, k as z, l as f, z as S, m as h, w as x, n as E, o as L, x as M, A as T } from "./CashierPage-CYk7P-lY.js";
|
|
2
|
+
function H(n) {
|
|
3
|
+
k(n, "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
|
|
6
|
-
let t, s, r, u, l, a,
|
|
5
|
+
function R(n) {
|
|
6
|
+
let t, s, r, u, l, a, i, m;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
9
|
t = h("div"), s = h("span"), r = x(
|
|
10
10
|
/*text*/
|
|
11
|
-
|
|
11
|
+
n[0]
|
|
12
12
|
), u = E(), l = h("button"), a = x(
|
|
13
13
|
/*button*/
|
|
14
|
-
|
|
14
|
+
n[1]
|
|
15
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), n[6](t), i || (m = S(
|
|
19
19
|
l,
|
|
20
20
|
"click",
|
|
21
21
|
/*notificationClick*/
|
|
22
|
-
|
|
23
|
-
),
|
|
22
|
+
n[3]
|
|
23
|
+
), i = !0);
|
|
24
24
|
},
|
|
25
25
|
p(o, [c]) {
|
|
26
26
|
c & /*text*/
|
|
@@ -38,23 +38,23 @@ function H(i) {
|
|
|
38
38
|
i: b,
|
|
39
39
|
o: b,
|
|
40
40
|
d(o) {
|
|
41
|
-
o && N(t),
|
|
41
|
+
o && N(t), n[6](null), i = !1, m();
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
function
|
|
46
|
-
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t,
|
|
45
|
+
function U(n, t, s) {
|
|
46
|
+
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
|
|
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, i.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
|
+
i.appendChild(y);
|
|
58
58
|
},
|
|
59
59
|
1
|
|
60
60
|
);
|
|
@@ -62,32 +62,32 @@ function R(i, t, s) {
|
|
|
62
62
|
};
|
|
63
63
|
function w(e) {
|
|
64
64
|
M[e ? "unshift" : "push"](() => {
|
|
65
|
-
|
|
65
|
+
i = e, s(2, i);
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
return
|
|
68
|
+
return n.$$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
|
+
}, n.$$.update = () => {
|
|
71
|
+
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
72
|
+
20 && l && i && o(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
73
|
+
36 && a && i && c();
|
|
74
74
|
}, [
|
|
75
75
|
r,
|
|
76
76
|
u,
|
|
77
|
-
|
|
77
|
+
i,
|
|
78
78
|
m,
|
|
79
79
|
l,
|
|
80
80
|
a,
|
|
81
81
|
w
|
|
82
82
|
];
|
|
83
83
|
}
|
|
84
|
-
class
|
|
84
|
+
class q extends C {
|
|
85
85
|
constructor(t) {
|
|
86
86
|
super(), v(
|
|
87
87
|
this,
|
|
88
88
|
t,
|
|
89
|
+
U,
|
|
89
90
|
R,
|
|
90
|
-
H,
|
|
91
91
|
_,
|
|
92
92
|
{
|
|
93
93
|
text: 0,
|
|
@@ -95,7 +95,7 @@ class U extends C {
|
|
|
95
95
|
clientstyling: 4,
|
|
96
96
|
clientstylingurl: 5
|
|
97
97
|
},
|
|
98
|
-
|
|
98
|
+
H
|
|
99
99
|
);
|
|
100
100
|
}
|
|
101
101
|
get text() {
|
|
@@ -123,7 +123,7 @@ class U extends C {
|
|
|
123
123
|
this.$$set({ clientstylingurl: t }), d();
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
T(
|
|
126
|
+
T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
127
|
export {
|
|
128
|
-
|
|
128
|
+
q as default
|
|
129
129
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { S as C, b as v, s as _, f as d,
|
|
2
|
-
function H(
|
|
3
|
-
|
|
1
|
+
import { S as C, b as v, s as _, f as d, d as N, z as b, g as k, w as p, l as z, m as f, A as S, n as h, x, o as E, p as L, y as M, c as T } from "./CashierPage-BHPTJcjL.js";
|
|
2
|
+
function H(n) {
|
|
3
|
+
N(n, "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(n) {
|
|
6
|
+
let t, s, r, u, l, a, i, m;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
|
-
t = h("div"), s = h("span"), r =
|
|
9
|
+
t = h("div"), s = h("span"), r = x(
|
|
10
10
|
/*text*/
|
|
11
|
-
|
|
12
|
-
), u = E(), l = h("button"), a =
|
|
11
|
+
n[0]
|
|
12
|
+
), u = E(), l = h("button"), a = x(
|
|
13
13
|
/*button*/
|
|
14
|
-
|
|
14
|
+
n[1]
|
|
15
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), n[6](t), i || (m = S(
|
|
19
19
|
l,
|
|
20
20
|
"click",
|
|
21
21
|
/*notificationClick*/
|
|
22
|
-
|
|
23
|
-
),
|
|
22
|
+
n[3]
|
|
23
|
+
), i = !0);
|
|
24
24
|
},
|
|
25
25
|
p(o, [c]) {
|
|
26
26
|
c & /*text*/
|
|
@@ -38,50 +38,50 @@ function R(i) {
|
|
|
38
38
|
i: b,
|
|
39
39
|
o: b,
|
|
40
40
|
d(o) {
|
|
41
|
-
o &&
|
|
41
|
+
o && k(t), n[6](null), i = !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(n, t, s) {
|
|
46
|
+
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
|
|
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, i.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
|
+
i.appendChild(y);
|
|
58
58
|
},
|
|
59
59
|
1
|
|
60
60
|
);
|
|
61
61
|
});
|
|
62
62
|
};
|
|
63
|
-
function
|
|
63
|
+
function w(e) {
|
|
64
64
|
M[e ? "unshift" : "push"](() => {
|
|
65
|
-
|
|
65
|
+
i = e, s(2, i);
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
return
|
|
68
|
+
return n.$$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
|
+
}, n.$$.update = () => {
|
|
71
|
+
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
72
|
+
20 && l && i && o(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
73
|
+
36 && a && i && c();
|
|
74
74
|
}, [
|
|
75
75
|
r,
|
|
76
76
|
u,
|
|
77
|
-
|
|
77
|
+
i,
|
|
78
78
|
m,
|
|
79
79
|
l,
|
|
80
80
|
a,
|
|
81
|
-
|
|
81
|
+
w
|
|
82
82
|
];
|
|
83
83
|
}
|
|
84
|
-
class
|
|
84
|
+
class q extends C {
|
|
85
85
|
constructor(t) {
|
|
86
86
|
super(), v(
|
|
87
87
|
this,
|
|
@@ -123,7 +123,7 @@ class j extends C {
|
|
|
123
123
|
this.$$set({ clientstylingurl: t }), d();
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
T(
|
|
126
|
+
T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
127
|
export {
|
|
128
|
-
|
|
128
|
+
q as default
|
|
129
129
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierPage-DoQEkSE2.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),g=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{g.innerHTML=m,setTimeout(()=>{l.appendChild(g)},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 h extends t.SvelteComponent{constructor(e){super(),t.init$1(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(h,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=h;
|