@everymatrix/cashier-page 1.76.12 → 1.76.14
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-BuW5dJfP.js → CashierError-BD6RqW_4.js} +767 -735
- package/components/CashierError-BVTgkQx8.cjs +21 -0
- package/components/{CashierError-BL7OTzSK.js → CashierError-_mJg7htJ.js} +744 -712
- package/components/{CashierHeader-CkyrZZ8s.js → CashierHeader-CLenwFLu.js} +35 -35
- package/components/{CashierHeader-FDYsDrpF.js → CashierHeader-DGMIDhtj.js} +37 -37
- package/components/{CashierHeader-D5eAmyvG.cjs → CashierHeader-s4ev8t3u.cjs} +1 -1
- package/components/{CashierIframeRedirect-wlE_YN39.js → CashierIframeRedirect-BVU6BJJW.js} +34 -34
- package/components/{CashierIframeRedirect-Db-zgjwP.cjs → CashierIframeRedirect-CVCo8t0b.cjs} +1 -1
- package/components/{CashierIframeRedirect-CmdPA_aZ.js → CashierIframeRedirect-i-bgiInf.js} +28 -28
- package/components/{CashierMethodDetails-B7K0CIlB.cjs → CashierMethodDetails-DNAJHYhK.cjs} +5 -18
- package/components/{CashierMethodDetails-BSBqkHNa.js → CashierMethodDetails-PPgUijPf.js} +694 -743
- package/components/{CashierMethodDetails-C7dG4t8m.js → CashierMethodDetails-Yh-raa4P.js} +835 -884
- package/components/{CashierMethodsList-gPmctW-Q.js → CashierMethodsList-Bq89MePx.js} +92 -92
- package/components/{CashierMethodsList-pakwpTY2.cjs → CashierMethodsList-GFY_3ABy.cjs} +1 -1
- package/components/{CashierMethodsList-FNgy0d7U.js → CashierMethodsList-odtc9D1r.js} +83 -83
- package/components/{CashierModal-vCh-dC6Q.cjs → CashierModal-Btsbp3nD.cjs} +1 -1
- package/components/{CashierModal-BAzO-8NU.js → CashierModal-DTVOjm1x.js} +40 -40
- package/components/{CashierModal-CIWk9EpH.js → CashierModal-wzdkmyre.js} +46 -46
- package/components/{CashierNotifications-BhA-DfA9.js → CashierNotifications-Ci6C686m.js} +32 -32
- package/components/{CashierNotifications-CfzNxd6q.js → CashierNotifications-CmEFRQ8z.js} +32 -32
- package/components/{CashierNotifications-Bgf97-ym.cjs → CashierNotifications-mcKpgb8B.cjs} +1 -1
- package/components/{CashierPage-DcwM8mwG.cjs → CashierPage-CfG1gBA4.cjs} +1 -1
- package/components/{CashierPage-DbHvX6nI.js → CashierPage-D8Py7RSY.js} +109 -109
- package/components/{CashierPage-D8YY3wAI.js → CashierPage-mgwXJuuN.js} +135 -135
- package/components/{CashierReceiptPage-CQyluI1J.cjs → CashierReceiptPage-BVPfyaQD.cjs} +1 -1
- package/components/{CashierReceiptPage-BzjCwk2b.js → CashierReceiptPage-DS7FVfNe.js} +76 -76
- package/components/{CashierReceiptPage-A1MYfWGW.js → CashierReceiptPage-DlVdltM6.js} +76 -76
- package/components/{CashierSessionExpirationModal-CtakjuI_.js → CashierSessionExpirationModal-CeThEk8x.js} +94 -85
- package/components/{CashierSessionExpirationModal-Bh3jmXl_.cjs → CashierSessionExpirationModal-Dj_Kbuv7.cjs} +2 -2
- package/components/{CashierSessionExpirationModal-YWIpKzje.js → CashierSessionExpirationModal-DvN0J2as.js} +94 -85
- package/components/{CashierSpinner-CAqB2_pw.js → CashierSpinner-BCIciib1.js} +19 -19
- package/components/{CashierSpinner-DTztqXMW.cjs → CashierSpinner-DFXOVOqQ.cjs} +1 -1
- package/components/{CashierSpinner-DXrTfpLq.js → CashierSpinner-yNXiNCOs.js} +19 -19
- package/components/{CashierTransactionHistory-c_0mTjNo.cjs → CashierTransactionHistory-BUPbSA6h.cjs} +1 -1
- package/components/{CashierTransactionHistory-Y1g5hagc.js → CashierTransactionHistory-CqwwMSVN.js} +76 -76
- package/components/{CashierTransactionHistory-U9Il8eZb.js → CashierTransactionHistory-pyelfuDA.js} +119 -119
- package/components/{CashierVerifications-BlWTY2gh.cjs → CashierVerifications-B5JCN--3.cjs} +1 -1
- package/components/{CashierVerifications-BA7PsePr.js → CashierVerifications-ChzwoJWn.js} +41 -41
- package/components/{CashierVerifications-BTvFySIg.js → CashierVerifications-DkzSmAn4.js} +30 -30
- package/components/{TxnStatusIcon-ClddwA7r.js → TxnStatusIcon-BogP6LJ2.js} +23 -23
- package/components/{TxnStatusIcon-Dapc6xhT.cjs → TxnStatusIcon-DCMCZZCQ.cjs} +1 -1
- package/components/{TxnStatusIcon-DPmmaKoK.js → TxnStatusIcon-DasCjrqn.js} +27 -27
- package/components/{TxnTypeIcons-w8LBVBiN.cjs → TxnTypeIcons-BByZ1nXT.cjs} +1 -1
- package/components/{TxnTypeIcons-CEcfPpqm.js → TxnTypeIcons-Bg5MfuGX.js} +14 -14
- package/components/{TxnTypeIcons-CWojIltL.js → TxnTypeIcons-DavAdp_P.js} +14 -14
- 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/stencil/index-242ac81a-Bl2OSy8h.js +538 -0
- package/stencil/index-242ac81a-Czg480dJ.js +554 -0
- package/stencil/index-242ac81a-DDPF_SYN.cjs +1 -0
- package/stencil/index-b2193545-ByMYc64n.cjs +1 -0
- package/stencil/index-b2193545-DWKmtYUG.js +503 -0
- package/stencil/index-b2193545-Dfy4Cgny.js +519 -0
- package/stencil/{ui-image-2ff23cd5-BHGIWJop.cjs → ui-image-2ff23cd5-BU5r6gJa.cjs} +1 -1
- package/stencil/{ui-image-2ff23cd5-DCLQ0SIO.js → ui-image-2ff23cd5-CBX1vdMZ.js} +1 -1
- package/stencil/{ui-image-2ff23cd5-D0rXudCW.js → ui-image-2ff23cd5-DZZYCsK1.js} +1 -1
- package/stencil/{ui-image-BRBJSkg1.js → ui-image-BGfwfp_F.js} +1 -1
- package/stencil/{ui-image-C0iABVS5.cjs → ui-image-CBGIeQyw.cjs} +1 -1
- package/stencil/{ui-image-e4W3SkhP.js → ui-image-Cgsi32kw.js} +1 -1
- package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-Bsl4RJfi.cjs} +1 -1
- package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-ID_1Oi3k.js} +2 -2
- package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-exO7RXKL.js} +2 -2
- package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-BTr272EW.js} +2 -2
- package/stencil/{ui-skeleton-DgAs7VA3.cjs → ui-skeleton-C4Ir1ffm.cjs} +1 -1
- package/stencil/{ui-skeleton-9boHSjtG.js → ui-skeleton-P4PO_42z.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-IN_dPA5_.js → ui-skeleton-ae35c6f2-BIdXBK8D.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-8tYGV8SR.js → ui-skeleton-ae35c6f2-C7WHUwAT.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-DLHrpWJM.cjs → ui-skeleton-ae35c6f2-jcrjm-Kl.cjs} +1 -1
- package/components/CashierError-BEEnpeVH.cjs +0 -8
- package/stencil/index-242ac81a-BqeIndhr.js +0 -554
- package/stencil/index-242ac81a-CI4JxPRf.js +0 -538
- package/stencil/index-242ac81a-CjjM4VND.cjs +0 -1
- package/stencil/index-b2193545-BoSqyMpB.js +0 -519
- package/stencil/index-b2193545-D4dOaNlR.js +0 -503
- package/stencil/index-b2193545-DGHOe8n4.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function z(e, { delay: t = 0, duration: i = 400, easing: n =
|
|
1
|
+
import { Z as D, S as H, b as P, f as _, c as R, s as T, d as U, x as W, k as v, t as b, o as p, a0 as X, p as k, r as F, v as G, w as I, e as J, g as C, h as K, j as d, N as L, l as w, a1 as Q, u as V, m as Y, n as $, a2 as x, X as M, C as tt, D as et, a3 as it, A as S, B as nt } from "./CashierError-_mJg7htJ.js";
|
|
2
|
+
function z(e, { delay: t = 0, duration: i = 400, easing: n = D } = {}) {
|
|
3
3
|
const l = +getComputedStyle(e).opacity;
|
|
4
4
|
return {
|
|
5
5
|
delay: t,
|
|
@@ -9,7 +9,7 @@ function z(e, { delay: t = 0, duration: i = 400, easing: n = A } = {}) {
|
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
11
|
function st(e) {
|
|
12
|
-
|
|
12
|
+
U(e, "svelte-16p7bax", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;left:0;top:0;margin:10px;z-index:20}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}");
|
|
13
13
|
}
|
|
14
14
|
const lt = (e) => ({}), j = (e) => ({});
|
|
15
15
|
function B(e) {
|
|
@@ -20,7 +20,7 @@ function B(e) {
|
|
|
20
20
|
const y = (
|
|
21
21
|
/*#slots*/
|
|
22
22
|
e[12].content
|
|
23
|
-
), u =
|
|
23
|
+
), u = J(
|
|
24
24
|
y,
|
|
25
25
|
e,
|
|
26
26
|
/*$$scope*/
|
|
@@ -29,14 +29,14 @@ function B(e) {
|
|
|
29
29
|
);
|
|
30
30
|
return {
|
|
31
31
|
c() {
|
|
32
|
-
t = C("div"), i = C("div"), n = C("div"), r && r.c(), l =
|
|
33
|
-
e[3] === "video" ? "height: 70%" : "height: auto"), d(i, "id", "Modal"),
|
|
32
|
+
t = C("div"), i = C("div"), n = C("div"), r && r.c(), l = K(), u && u.c(), d(n, "class", "ModalContainer"), d(n, "style", o = /*modaltype*/
|
|
33
|
+
e[3] === "video" ? "height: 70%" : "height: auto"), d(i, "id", "Modal"), L(() => (
|
|
34
34
|
/*div1_elementresize_handler*/
|
|
35
35
|
e[14].call(i)
|
|
36
36
|
));
|
|
37
37
|
},
|
|
38
38
|
m(a, f) {
|
|
39
|
-
|
|
39
|
+
v(a, t, f), w(t, i), w(i, n), r && r.m(n, null), w(n, l), u && u.m(n, null), e[13](i), g = Q(
|
|
40
40
|
i,
|
|
41
41
|
/*div1_elementresize_handler*/
|
|
42
42
|
e[14].bind(i)
|
|
@@ -45,19 +45,19 @@ function B(e) {
|
|
|
45
45
|
p(a, f) {
|
|
46
46
|
e = a, /*modaltype*/
|
|
47
47
|
e[3] !== "error" ? r ? r.p(e, f) : (r = E(e), r.c(), r.m(n, l)) : r && (r.d(1), r = null), u && u.p && (!h || f & /*$$scope*/
|
|
48
|
-
2048) &&
|
|
48
|
+
2048) && V(
|
|
49
49
|
u,
|
|
50
50
|
y,
|
|
51
51
|
e,
|
|
52
52
|
/*$$scope*/
|
|
53
53
|
e[11],
|
|
54
|
-
h ?
|
|
54
|
+
h ? $(
|
|
55
55
|
y,
|
|
56
56
|
/*$$scope*/
|
|
57
57
|
e[11],
|
|
58
58
|
f,
|
|
59
59
|
lt
|
|
60
|
-
) :
|
|
60
|
+
) : Y(
|
|
61
61
|
/*$$scope*/
|
|
62
62
|
e[11]
|
|
63
63
|
),
|
|
@@ -67,8 +67,8 @@ function B(e) {
|
|
|
67
67
|
e[3] === "video" ? "height: 70%" : "height: auto")) && d(n, "style", o);
|
|
68
68
|
},
|
|
69
69
|
i(a) {
|
|
70
|
-
h || (b(u, a), a &&
|
|
71
|
-
h && (c || (c =
|
|
70
|
+
h || (b(u, a), a && L(() => {
|
|
71
|
+
h && (c || (c = x(
|
|
72
72
|
i,
|
|
73
73
|
z,
|
|
74
74
|
/*duration*/
|
|
@@ -78,7 +78,7 @@ function B(e) {
|
|
|
78
78
|
}), h = !0);
|
|
79
79
|
},
|
|
80
80
|
o(a) {
|
|
81
|
-
p(u, a), a && (c || (c =
|
|
81
|
+
p(u, a), a && (c || (c = x(
|
|
82
82
|
i,
|
|
83
83
|
z,
|
|
84
84
|
/*duration*/
|
|
@@ -87,7 +87,7 @@ function B(e) {
|
|
|
87
87
|
)), c.run(0)), h = !1;
|
|
88
88
|
},
|
|
89
89
|
d(a) {
|
|
90
|
-
a &&
|
|
90
|
+
a && k(t), r && r.d(), u && u.d(a), e[13](null), g(), a && c && c.end(), e[15](null);
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
93
|
}
|
|
@@ -95,19 +95,19 @@ function E(e) {
|
|
|
95
95
|
let t, i, n, l;
|
|
96
96
|
return {
|
|
97
97
|
c() {
|
|
98
|
-
t =
|
|
98
|
+
t = M("svg"), i = M("path"), d(i, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), d(i, "fill", "#111111"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "13"), d(t, "height", "13"), d(t, "viewBox", "0 0 13 13"), d(t, "fill", "none"), d(t, "class", "CloseButton");
|
|
99
99
|
},
|
|
100
100
|
m(o, g) {
|
|
101
|
-
|
|
101
|
+
v(o, t, g), w(t, i), n || (l = tt(
|
|
102
102
|
t,
|
|
103
103
|
"click",
|
|
104
104
|
/*closeModal*/
|
|
105
105
|
e[7]
|
|
106
106
|
), n = !0);
|
|
107
107
|
},
|
|
108
|
-
p:
|
|
108
|
+
p: et,
|
|
109
109
|
d(o) {
|
|
110
|
-
o &&
|
|
110
|
+
o && k(t), n = !1, l();
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
}
|
|
@@ -118,17 +118,17 @@ function ot(e) {
|
|
|
118
118
|
);
|
|
119
119
|
return {
|
|
120
120
|
c() {
|
|
121
|
-
n && n.c(), t =
|
|
121
|
+
n && n.c(), t = W();
|
|
122
122
|
},
|
|
123
123
|
m(l, o) {
|
|
124
|
-
n && n.m(l, o),
|
|
124
|
+
n && n.m(l, o), v(l, t, o), i = !0;
|
|
125
125
|
},
|
|
126
126
|
p(l, [o]) {
|
|
127
127
|
/*show*/
|
|
128
128
|
l[2] === "true" ? n ? (n.p(l, o), o & /*show*/
|
|
129
|
-
4 && b(n, 1)) : (n = B(l), n.c(), b(n, 1), n.m(t.parentNode, t)) : n && (
|
|
129
|
+
4 && b(n, 1)) : (n = B(l), n.c(), b(n, 1), n.m(t.parentNode, t)) : n && (it(), p(n, 1, 1, () => {
|
|
130
130
|
n = null;
|
|
131
|
-
}),
|
|
131
|
+
}), X());
|
|
132
132
|
},
|
|
133
133
|
i(l) {
|
|
134
134
|
i || (b(n), i = !0);
|
|
@@ -137,7 +137,7 @@ function ot(e) {
|
|
|
137
137
|
p(n), i = !1;
|
|
138
138
|
},
|
|
139
139
|
d(l) {
|
|
140
|
-
l &&
|
|
140
|
+
l && k(t), n && n.d(l);
|
|
141
141
|
}
|
|
142
142
|
};
|
|
143
143
|
}
|
|
@@ -146,18 +146,18 @@ function at(e, t, i) {
|
|
|
146
146
|
const O = () => {
|
|
147
147
|
window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
|
|
148
148
|
};
|
|
149
|
-
|
|
149
|
+
F(() => () => {
|
|
150
150
|
});
|
|
151
|
-
function
|
|
152
|
-
|
|
151
|
+
function Z(s) {
|
|
152
|
+
S[s ? "unshift" : "push"](() => {
|
|
153
153
|
f = s, i(6, f);
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function q() {
|
|
157
157
|
u = this.clientWidth, a = this.clientHeight, i(0, u), i(1, a);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
160
|
-
|
|
159
|
+
function A(s) {
|
|
160
|
+
S[s ? "unshift" : "push"](() => {
|
|
161
161
|
m = s, i(5, m);
|
|
162
162
|
});
|
|
163
163
|
}
|
|
@@ -165,9 +165,9 @@ function at(e, t, i) {
|
|
|
165
165
|
"mbsource" in s && i(8, o = s.mbsource), "clientstyling" in s && i(9, g = s.clientstyling), "clientstylingurl" in s && i(10, c = s.clientstylingurl), "show" in s && i(2, h = s.show), "modaltype" in s && i(3, r = s.modaltype), "duration" in s && i(4, y = s.duration), "width" in s && i(0, u = s.width), "height" in s && i(1, a = s.height), "$$scope" in s && i(11, l = s.$$scope);
|
|
166
166
|
}, e.$$.update = () => {
|
|
167
167
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
168
|
-
544 && g && m &&
|
|
169
|
-
1056 && c && m &&
|
|
170
|
-
288 && o && m &&
|
|
168
|
+
544 && g && m && nt(m, g), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
169
|
+
1056 && c && m && G(m, c), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
170
|
+
288 && o && m && I(m, `${o}.Style`);
|
|
171
171
|
}, [
|
|
172
172
|
u,
|
|
173
173
|
a,
|
|
@@ -182,19 +182,19 @@ function at(e, t, i) {
|
|
|
182
182
|
c,
|
|
183
183
|
l,
|
|
184
184
|
n,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
185
|
+
Z,
|
|
186
|
+
q,
|
|
187
|
+
A
|
|
188
188
|
];
|
|
189
189
|
}
|
|
190
|
-
class
|
|
190
|
+
class N extends H {
|
|
191
191
|
constructor(t) {
|
|
192
|
-
super(),
|
|
192
|
+
super(), P(
|
|
193
193
|
this,
|
|
194
194
|
t,
|
|
195
195
|
at,
|
|
196
196
|
ot,
|
|
197
|
-
|
|
197
|
+
T,
|
|
198
198
|
{
|
|
199
199
|
mbsource: 8,
|
|
200
200
|
clientstyling: 9,
|
|
@@ -257,10 +257,10 @@ class q extends D {
|
|
|
257
257
|
this.$$set({ height: t }), _();
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
-
|
|
260
|
+
R(N, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
|
|
261
261
|
const ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
262
262
|
__proto__: null,
|
|
263
|
-
default:
|
|
263
|
+
default: N
|
|
264
264
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
265
265
|
export {
|
|
266
266
|
ut as C,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function z(e, { delay: t = 0, duration: i = 400, easing: n =
|
|
1
|
+
import { Z as D, S as H, b as P, f as _, c as R, s as T, d as U, x as W, k as v, t as b, o as p, a0 as X, p as k, r as F, v as G, w as I, e as J, g as C, h as K, j as d, N as L, l as w, a1 as Q, u as V, m as Y, n as $, a2 as x, X as M, C as tt, D as et, a3 as it, A as S, B as nt } from "./CashierError-BD6RqW_4.js";
|
|
2
|
+
function z(e, { delay: t = 0, duration: i = 400, easing: n = D } = {}) {
|
|
3
3
|
const l = +getComputedStyle(e).opacity;
|
|
4
4
|
return {
|
|
5
5
|
delay: t,
|
|
@@ -9,18 +9,18 @@ function z(e, { delay: t = 0, duration: i = 400, easing: n = A } = {}) {
|
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
11
|
function st(e) {
|
|
12
|
-
|
|
12
|
+
U(e, "svelte-16p7bax", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;left:0;top:0;margin:10px;z-index:20}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}");
|
|
13
13
|
}
|
|
14
14
|
const lt = (e) => ({}), j = (e) => ({});
|
|
15
|
-
function
|
|
15
|
+
function B(e) {
|
|
16
16
|
let t, i, n, l, o, g, c, h, r = (
|
|
17
17
|
/*modaltype*/
|
|
18
|
-
e[3] !== "error" &&
|
|
18
|
+
e[3] !== "error" && E(e)
|
|
19
19
|
);
|
|
20
20
|
const y = (
|
|
21
21
|
/*#slots*/
|
|
22
22
|
e[12].content
|
|
23
|
-
), u =
|
|
23
|
+
), u = J(
|
|
24
24
|
y,
|
|
25
25
|
e,
|
|
26
26
|
/*$$scope*/
|
|
@@ -29,14 +29,14 @@ function E(e) {
|
|
|
29
29
|
);
|
|
30
30
|
return {
|
|
31
31
|
c() {
|
|
32
|
-
t = C("div"), i = C("div"), n = C("div"), r && r.c(), l =
|
|
33
|
-
e[3] === "video" ? "height: 70%" : "height: auto"), d(i, "id", "Modal"),
|
|
32
|
+
t = C("div"), i = C("div"), n = C("div"), r && r.c(), l = K(), u && u.c(), d(n, "class", "ModalContainer"), d(n, "style", o = /*modaltype*/
|
|
33
|
+
e[3] === "video" ? "height: 70%" : "height: auto"), d(i, "id", "Modal"), L(() => (
|
|
34
34
|
/*div1_elementresize_handler*/
|
|
35
35
|
e[14].call(i)
|
|
36
36
|
));
|
|
37
37
|
},
|
|
38
38
|
m(a, f) {
|
|
39
|
-
|
|
39
|
+
v(a, t, f), w(t, i), w(i, n), r && r.m(n, null), w(n, l), u && u.m(n, null), e[13](i), g = Q(
|
|
40
40
|
i,
|
|
41
41
|
/*div1_elementresize_handler*/
|
|
42
42
|
e[14].bind(i)
|
|
@@ -44,20 +44,20 @@ function E(e) {
|
|
|
44
44
|
},
|
|
45
45
|
p(a, f) {
|
|
46
46
|
e = a, /*modaltype*/
|
|
47
|
-
e[3] !== "error" ? r ? r.p(e, f) : (r =
|
|
48
|
-
2048) &&
|
|
47
|
+
e[3] !== "error" ? r ? r.p(e, f) : (r = E(e), r.c(), r.m(n, l)) : r && (r.d(1), r = null), u && u.p && (!h || f & /*$$scope*/
|
|
48
|
+
2048) && V(
|
|
49
49
|
u,
|
|
50
50
|
y,
|
|
51
51
|
e,
|
|
52
52
|
/*$$scope*/
|
|
53
53
|
e[11],
|
|
54
|
-
h ?
|
|
54
|
+
h ? $(
|
|
55
55
|
y,
|
|
56
56
|
/*$$scope*/
|
|
57
57
|
e[11],
|
|
58
58
|
f,
|
|
59
59
|
lt
|
|
60
|
-
) :
|
|
60
|
+
) : Y(
|
|
61
61
|
/*$$scope*/
|
|
62
62
|
e[11]
|
|
63
63
|
),
|
|
@@ -67,8 +67,8 @@ function E(e) {
|
|
|
67
67
|
e[3] === "video" ? "height: 70%" : "height: auto")) && d(n, "style", o);
|
|
68
68
|
},
|
|
69
69
|
i(a) {
|
|
70
|
-
h || (b(u, a), a &&
|
|
71
|
-
h && (c || (c =
|
|
70
|
+
h || (b(u, a), a && L(() => {
|
|
71
|
+
h && (c || (c = x(
|
|
72
72
|
i,
|
|
73
73
|
z,
|
|
74
74
|
/*duration*/
|
|
@@ -78,7 +78,7 @@ function E(e) {
|
|
|
78
78
|
}), h = !0);
|
|
79
79
|
},
|
|
80
80
|
o(a) {
|
|
81
|
-
p(u, a), a && (c || (c =
|
|
81
|
+
p(u, a), a && (c || (c = x(
|
|
82
82
|
i,
|
|
83
83
|
z,
|
|
84
84
|
/*duration*/
|
|
@@ -87,48 +87,48 @@ function E(e) {
|
|
|
87
87
|
)), c.run(0)), h = !1;
|
|
88
88
|
},
|
|
89
89
|
d(a) {
|
|
90
|
-
a &&
|
|
90
|
+
a && k(t), r && r.d(), u && u.d(a), e[13](null), g(), a && c && c.end(), e[15](null);
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function E(e) {
|
|
95
95
|
let t, i, n, l;
|
|
96
96
|
return {
|
|
97
97
|
c() {
|
|
98
|
-
t =
|
|
98
|
+
t = M("svg"), i = M("path"), d(i, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), d(i, "fill", "#111111"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "13"), d(t, "height", "13"), d(t, "viewBox", "0 0 13 13"), d(t, "fill", "none"), d(t, "class", "CloseButton");
|
|
99
99
|
},
|
|
100
100
|
m(o, g) {
|
|
101
|
-
|
|
101
|
+
v(o, t, g), w(t, i), n || (l = tt(
|
|
102
102
|
t,
|
|
103
103
|
"click",
|
|
104
104
|
/*closeModal*/
|
|
105
105
|
e[7]
|
|
106
106
|
), n = !0);
|
|
107
107
|
},
|
|
108
|
-
p:
|
|
108
|
+
p: et,
|
|
109
109
|
d(o) {
|
|
110
|
-
o &&
|
|
110
|
+
o && k(t), n = !1, l();
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
function ot(e) {
|
|
115
115
|
let t, i, n = (
|
|
116
116
|
/*show*/
|
|
117
|
-
e[2] === "true" &&
|
|
117
|
+
e[2] === "true" && B(e)
|
|
118
118
|
);
|
|
119
119
|
return {
|
|
120
120
|
c() {
|
|
121
|
-
n && n.c(), t =
|
|
121
|
+
n && n.c(), t = W();
|
|
122
122
|
},
|
|
123
123
|
m(l, o) {
|
|
124
|
-
n && n.m(l, o),
|
|
124
|
+
n && n.m(l, o), v(l, t, o), i = !0;
|
|
125
125
|
},
|
|
126
126
|
p(l, [o]) {
|
|
127
127
|
/*show*/
|
|
128
128
|
l[2] === "true" ? n ? (n.p(l, o), o & /*show*/
|
|
129
|
-
4 && b(n, 1)) : (n =
|
|
129
|
+
4 && b(n, 1)) : (n = B(l), n.c(), b(n, 1), n.m(t.parentNode, t)) : n && (it(), p(n, 1, 1, () => {
|
|
130
130
|
n = null;
|
|
131
|
-
}),
|
|
131
|
+
}), X());
|
|
132
132
|
},
|
|
133
133
|
i(l) {
|
|
134
134
|
i || (b(n), i = !0);
|
|
@@ -137,27 +137,27 @@ function ot(e) {
|
|
|
137
137
|
p(n), i = !1;
|
|
138
138
|
},
|
|
139
139
|
d(l) {
|
|
140
|
-
l &&
|
|
140
|
+
l && k(t), n && n.d(l);
|
|
141
141
|
}
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
144
|
function at(e, t, i) {
|
|
145
145
|
let { $$slots: n = {}, $$scope: l } = t, { mbsource: o } = t, { clientstyling: g } = t, { clientstylingurl: c } = t, { show: h } = t, { modaltype: r = "" } = t, { duration: y = 200 } = t, { width: u } = t, { height: a } = t, f, m;
|
|
146
|
-
const
|
|
146
|
+
const O = () => {
|
|
147
147
|
window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
|
|
148
148
|
};
|
|
149
|
-
|
|
149
|
+
F(() => () => {
|
|
150
150
|
});
|
|
151
|
-
function
|
|
152
|
-
|
|
151
|
+
function Z(s) {
|
|
152
|
+
S[s ? "unshift" : "push"](() => {
|
|
153
153
|
f = s, i(6, f);
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function q() {
|
|
157
157
|
u = this.clientWidth, a = this.clientHeight, i(0, u), i(1, a);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
160
|
-
|
|
159
|
+
function A(s) {
|
|
160
|
+
S[s ? "unshift" : "push"](() => {
|
|
161
161
|
m = s, i(5, m);
|
|
162
162
|
});
|
|
163
163
|
}
|
|
@@ -165,9 +165,9 @@ function at(e, t, i) {
|
|
|
165
165
|
"mbsource" in s && i(8, o = s.mbsource), "clientstyling" in s && i(9, g = s.clientstyling), "clientstylingurl" in s && i(10, c = s.clientstylingurl), "show" in s && i(2, h = s.show), "modaltype" in s && i(3, r = s.modaltype), "duration" in s && i(4, y = s.duration), "width" in s && i(0, u = s.width), "height" in s && i(1, a = s.height), "$$scope" in s && i(11, l = s.$$scope);
|
|
166
166
|
}, e.$$.update = () => {
|
|
167
167
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
168
|
-
544 && g && m &&
|
|
169
|
-
1056 && c && m &&
|
|
170
|
-
288 && o && m &&
|
|
168
|
+
544 && g && m && nt(m, g), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
169
|
+
1056 && c && m && G(m, c), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
170
|
+
288 && o && m && I(m, `${o}.Style`);
|
|
171
171
|
}, [
|
|
172
172
|
u,
|
|
173
173
|
a,
|
|
@@ -176,25 +176,25 @@ function at(e, t, i) {
|
|
|
176
176
|
y,
|
|
177
177
|
m,
|
|
178
178
|
f,
|
|
179
|
-
|
|
179
|
+
O,
|
|
180
180
|
o,
|
|
181
181
|
g,
|
|
182
182
|
c,
|
|
183
183
|
l,
|
|
184
184
|
n,
|
|
185
|
-
W,
|
|
186
185
|
Z,
|
|
187
|
-
q
|
|
186
|
+
q,
|
|
187
|
+
A
|
|
188
188
|
];
|
|
189
189
|
}
|
|
190
|
-
class
|
|
190
|
+
class N extends H {
|
|
191
191
|
constructor(t) {
|
|
192
|
-
super(),
|
|
192
|
+
super(), P(
|
|
193
193
|
this,
|
|
194
194
|
t,
|
|
195
195
|
at,
|
|
196
196
|
ot,
|
|
197
|
-
|
|
197
|
+
T,
|
|
198
198
|
{
|
|
199
199
|
mbsource: 8,
|
|
200
200
|
clientstyling: 9,
|
|
@@ -257,10 +257,10 @@ class O extends D {
|
|
|
257
257
|
this.$$set({ height: t }), _();
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
-
|
|
260
|
+
R(N, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
|
|
261
261
|
const ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
262
262
|
__proto__: null,
|
|
263
|
-
default:
|
|
263
|
+
default: N
|
|
264
264
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
265
265
|
export {
|
|
266
266
|
ut as C,
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { S as C, b as v,
|
|
2
|
-
function H(
|
|
3
|
-
N(
|
|
1
|
+
import { S as C, b as v, f as d, c as _, s as k, d as N, g as h, y as b, h as z, j as S, k as E, l as f, C as L, z as p, D as x, p as M, A as T } from "./CashierError-_mJg7htJ.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
|
-
t = h("div"), s = h("span"), r =
|
|
9
|
+
t = h("div"), s = h("span"), r = b(
|
|
10
10
|
/*text*/
|
|
11
|
-
|
|
12
|
-
), u =
|
|
11
|
+
i[0]
|
|
12
|
+
), u = z(), l = h("button"), a = b(
|
|
13
13
|
/*button*/
|
|
14
|
-
|
|
15
|
-
),
|
|
14
|
+
i[1]
|
|
15
|
+
), S(t, "class", "CashierNotifications");
|
|
16
16
|
},
|
|
17
17
|
m(o, c) {
|
|
18
|
-
|
|
18
|
+
E(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), i[6](t), n || (m = L(
|
|
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*/
|
|
@@ -35,60 +35,60 @@ function R(n) {
|
|
|
35
35
|
o[1]
|
|
36
36
|
);
|
|
37
37
|
},
|
|
38
|
-
i:
|
|
39
|
-
o:
|
|
38
|
+
i: x,
|
|
39
|
+
o: x,
|
|
40
40
|
d(o) {
|
|
41
|
-
o &&
|
|
41
|
+
o && M(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
|
);
|
|
61
61
|
});
|
|
62
62
|
};
|
|
63
63
|
function w(e) {
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
T[e ? "unshift" : "push"](() => {
|
|
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,
|
|
81
81
|
w
|
|
82
82
|
];
|
|
83
83
|
}
|
|
84
|
-
class
|
|
84
|
+
class j extends C {
|
|
85
85
|
constructor(t) {
|
|
86
86
|
super(), v(
|
|
87
87
|
this,
|
|
88
88
|
t,
|
|
89
89
|
U,
|
|
90
90
|
R,
|
|
91
|
-
|
|
91
|
+
k,
|
|
92
92
|
{
|
|
93
93
|
text: 0,
|
|
94
94
|
button: 1,
|
|
@@ -123,7 +123,7 @@ class q extends C {
|
|
|
123
123
|
this.$$set({ clientstylingurl: t }), d();
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
|
|
126
|
+
_(j, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
127
|
export {
|
|
128
|
-
|
|
128
|
+
j as default
|
|
129
129
|
};
|