@everymatrix/cashier-page 1.77.26 → 1.77.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/{CashierCarousel-CTAl631F.js → CashierCarousel-C-jIotRi.js} +1162 -1141
- package/components/{CashierCarousel-8hy7C-Hc.js → CashierCarousel-D9RhCULN.js} +991 -970
- package/components/CashierCarousel-DXPbv83E.cjs +23 -0
- package/components/{CashierError-BpvGGYHk.js → CashierError-DFUpmwPW.js} +29 -29
- package/components/{CashierError-DXU0vohJ.cjs → CashierError-am916cR_.cjs} +1 -1
- package/components/{CashierError-B-mGufxN.js → CashierError-gMoSUhpw.js} +32 -32
- package/components/{CashierHeader-Ch27ai33.cjs → CashierHeader-B3IckLiD.cjs} +1 -1
- package/components/{CashierHeader-BbPVdDSy.js → CashierHeader-CK_NVBvX.js} +50 -50
- package/components/{CashierHeader-Dt53rt72.js → CashierHeader-Z4vR_fbH.js} +49 -49
- package/components/{CashierIframeRedirect-DDwa62_J.js → CashierIframeRedirect-Cae_sEXq.js} +32 -32
- package/components/{CashierIframeRedirect-C_lzvCiQ.cjs → CashierIframeRedirect-CdQkuIPa.cjs} +1 -1
- package/components/{CashierIframeRedirect-DFqk8jV8.js → CashierIframeRedirect-Cs3dAZqE.js} +42 -42
- package/components/{CashierMethodDetails-CGu0vT5f.js → CashierMethodDetails-DWh8sNEJ.js} +180 -180
- package/components/{CashierMethodDetails-DEqy0Axp.cjs → CashierMethodDetails-f2nVnAEu.cjs} +2 -2
- package/components/{CashierMethodDetails-BswSN85a.js → CashierMethodDetails-khwdIxvu.js} +522 -522
- package/components/{CashierMethodsList-wKjHJTnI.js → CashierMethodsList-CZkxXZST.js} +38 -38
- package/components/{CashierMethodsList-D9pQQPn8.js → CashierMethodsList-DXkNlgio.js} +39 -39
- package/components/{CashierMethodsList-DfTNLel1.cjs → CashierMethodsList-DeCIPW3N.cjs} +1 -1
- package/components/{CashierModal-C4wQBswd.js → CashierModal-By3PyyVz.js} +36 -36
- package/components/{CashierModal-Nya61zKi.cjs → CashierModal-D2cxw8Kv.cjs} +1 -1
- package/components/{CashierModal-DJYOMvm6.js → CashierModal-pKGYmx2d.js} +37 -37
- package/components/{CashierNotifications-D3DnlGgu.js → CashierNotifications-64xrf21d.js} +34 -34
- package/components/{CashierNotifications-CuIRG1fU.js → CashierNotifications-Cot8tKyV.js} +33 -33
- package/components/{CashierNotifications-U6wVwYzB.cjs → CashierNotifications-o1UTpxCw.cjs} +1 -1
- package/components/{CashierPage-CeQNpD59.js → CashierPage-CDVatUXZ.js} +138 -138
- package/components/{CashierPage-Cntnp_3f.cjs → CashierPage-CJxWyfnl.cjs} +1 -1
- package/components/{CashierPage-BRGPiScz.js → CashierPage-D537sTlX.js} +115 -115
- package/components/{CashierReceiptPage-ClJPgidb.js → CashierReceiptPage-DJVOcSy_.js} +88 -88
- package/components/{CashierReceiptPage-BJ33QbnV.js → CashierReceiptPage-ZjlpnjxZ.js} +85 -85
- package/components/{CashierReceiptPage-KWljug_9.cjs → CashierReceiptPage-vffilP0r.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-CvGVtyf5.js → CashierSessionExpirationModal-BCfqE6Qk.js} +109 -118
- package/components/{CashierSessionExpirationModal-BV2HUMWf.js → CashierSessionExpirationModal-BfRG-VY2.js} +50 -59
- package/components/{CashierSessionExpirationModal-DITljBPL.cjs → CashierSessionExpirationModal-BgZuMP6W.cjs} +2 -2
- package/components/{CashierSpinner-C175vtkA.js → CashierSpinner-CIpXwm9I.js} +16 -16
- package/components/{CashierSpinner-msj_XpO-.cjs → CashierSpinner-DOCzNsD8.cjs} +1 -1
- package/components/{CashierSpinner-BSlrvjni.js → CashierSpinner-fUvoz21a.js} +16 -16
- package/components/{CashierTransactionHistory-DFs4bnVj.js → CashierTransactionHistory-CHPwXvGA.js} +61 -61
- package/components/{CashierTransactionHistory-CfOZEGn-.cjs → CashierTransactionHistory-C_77nNRF.cjs} +1 -1
- package/components/{CashierTransactionHistory-Cv2FL_zi.js → CashierTransactionHistory-DLBclLcC.js} +104 -104
- package/components/{CashierVerifications-Bl-okfn_.js → CashierVerifications-B-e9bu7a.js} +75 -75
- package/components/{CashierVerifications-C7-keFiS.cjs → CashierVerifications-D1I7kgbX.cjs} +1 -1
- package/components/{CashierVerifications-DdisN2u9.js → CashierVerifications-DAfJTpBE.js} +36 -36
- package/components/{TxnStatusIcon-DLuaaRoA.js → TxnStatusIcon-C5YEVJGC.js} +19 -19
- package/components/{TxnStatusIcon-mzkkoROK.js → TxnStatusIcon-Cdbn57Qc.js} +19 -19
- package/components/{TxnStatusIcon-Dfxg1kzJ.cjs → TxnStatusIcon-Dx4SpBKR.cjs} +1 -1
- package/components/{TxnTypeIcons-DIvNxsdh.cjs → TxnTypeIcons-D-p9WLvQ.cjs} +1 -1
- package/components/{TxnTypeIcons-CHAbo_FI.js → TxnTypeIcons-DaYTcY0u.js} +14 -14
- package/components/{TxnTypeIcons-D3fc1OY6.js → TxnTypeIcons-Dl8aWDV4.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-97d17652--F7PvMq9.js +542 -0
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/index-97d17652-CCFHkzJw.js +558 -0
- package/stencil/index-b2193545-B8kMF2bI.cjs +1 -0
- package/stencil/index-b2193545-BoSqyMpB.js +519 -0
- package/stencil/index-b2193545-D4dOaNlR.js +503 -0
- package/stencil/{ui-image-4dZyD9yF.js → ui-image-BWJXFWH1.js} +1 -1
- package/stencil/{ui-image-CER01gdl.cjs → ui-image-ByEXiBzx.cjs} +1 -1
- package/stencil/{ui-image-6u7OR3Eo.js → ui-image-DIEeZy5u.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
- package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-qO3reSlr.js} +2 -2
- package/stencil/{ui-skeleton-BTr272EW.js → ui-skeleton-4-zrLsIW.js} +2 -2
- package/stencil/{ui-skeleton-P4PO_42z.js → ui-skeleton-9boHSjtG.js} +2 -2
- package/stencil/{ui-skeleton-gIFE_2eg.cjs → ui-skeleton-_yJvAdAL.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BIdXBK8D.js → ui-skeleton-ae35c6f2-8tYGV8SR.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-D-MGUxCy.cjs → ui-skeleton-ae35c6f2-CKgUXOQC.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-C7WHUwAT.js → ui-skeleton-ae35c6f2-IN_dPA5_.js} +1 -1
- package/components/CashierCarousel-CMHHOrjm.cjs +0 -23
- package/stencil/index-97d17652-BD-QREJe.js +0 -558
- package/stencil/index-97d17652-DJqGt8q2.js +0 -542
- package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
- package/stencil/index-b2193545-BhpttWPO.cjs +0 -1
- package/stencil/index-b2193545-DWKmtYUG.js +0 -503
- package/stencil/index-b2193545-Dfy4Cgny.js +0 -519
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a0 as D, S as
|
|
1
|
+
import { a0 as D, S as G, b as H, s as N, f as _, c as P, e as v, t as p, g as w, k as R, l as T, m as x, w as U, v as W, d as A, a1 as k, M, u as J, h as K, j as Q, q as u, n as b, a2 as V, o as C, p as X, z as L, I as Y, C as $, Z as S, D as tt, E as et, F as it, G as nt } from "./CashierCarousel-C-jIotRi.js";
|
|
2
2
|
function z(i, { delay: t = 0, duration: e = 400, easing: n = D } = {}) {
|
|
3
3
|
const s = +getComputedStyle(i).opacity;
|
|
4
4
|
return {
|
|
@@ -9,18 +9,18 @@ function z(i, { delay: t = 0, duration: e = 400, easing: n = D } = {}) {
|
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
11
|
function st(i) {
|
|
12
|
-
|
|
12
|
+
P(i, "svelte-10bl7y2", '*,*::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.4));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:#12191F;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.3)}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #F9C405) 5%, var(--emw--color-black, #12191F) 65%)}.ModalCloseIcon{background-color:rgba(255, 255, 255, 0.1);padding:5px;border-radius:10px;position:absolute;right:0;top:0;margin:20px;z-index:20}.CloseButton{stroke:white}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}');
|
|
13
13
|
}
|
|
14
14
|
const lt = (i) => ({}), j = (i) => ({});
|
|
15
|
-
function
|
|
15
|
+
function E(i) {
|
|
16
16
|
let t, e, n, s, o, h, c, g, r = (
|
|
17
17
|
/*modaltype*/
|
|
18
|
-
i[3] !== "error" &&
|
|
18
|
+
i[3] !== "error" && F(i)
|
|
19
19
|
);
|
|
20
20
|
const y = (
|
|
21
21
|
/*#slots*/
|
|
22
22
|
i[12].content
|
|
23
|
-
), d =
|
|
23
|
+
), d = A(
|
|
24
24
|
y,
|
|
25
25
|
i,
|
|
26
26
|
/*$$scope*/
|
|
@@ -29,14 +29,14 @@ function B(i) {
|
|
|
29
29
|
);
|
|
30
30
|
return {
|
|
31
31
|
c() {
|
|
32
|
-
t = C("div"), e = C("div"), n = C("div"), r && r.c(), s =
|
|
33
|
-
i[3] === "video" ? "height: 70%" : "height: auto"), u(e, "id", "Modal"),
|
|
32
|
+
t = C("div"), e = C("div"), n = C("div"), r && r.c(), s = X(), d && d.c(), u(n, "class", "ModalContainer"), u(n, "style", o = /*modaltype*/
|
|
33
|
+
i[3] === "video" ? "height: 70%" : "height: auto"), u(e, "id", "Modal"), M(() => (
|
|
34
34
|
/*div1_elementresize_handler*/
|
|
35
35
|
i[14].call(e)
|
|
36
36
|
));
|
|
37
37
|
},
|
|
38
38
|
m(a, f) {
|
|
39
|
-
|
|
39
|
+
x(a, t, f), b(t, e), b(e, n), r && r.m(n, null), b(n, s), d && d.m(n, null), i[13](e), h = V(
|
|
40
40
|
e,
|
|
41
41
|
/*div1_elementresize_handler*/
|
|
42
42
|
i[14].bind(e)
|
|
@@ -44,20 +44,20 @@ function B(i) {
|
|
|
44
44
|
},
|
|
45
45
|
p(a, f) {
|
|
46
46
|
i = a, /*modaltype*/
|
|
47
|
-
i[3] !== "error" ? r ? r.p(i, f) : (r =
|
|
48
|
-
2048) &&
|
|
47
|
+
i[3] !== "error" ? r ? r.p(i, f) : (r = F(i), r.c(), r.m(n, s)) : r && (r.d(1), r = null), d && d.p && (!g || f & /*$$scope*/
|
|
48
|
+
2048) && J(
|
|
49
49
|
d,
|
|
50
50
|
y,
|
|
51
51
|
i,
|
|
52
52
|
/*$$scope*/
|
|
53
53
|
i[11],
|
|
54
|
-
g ?
|
|
54
|
+
g ? Q(
|
|
55
55
|
y,
|
|
56
56
|
/*$$scope*/
|
|
57
57
|
i[11],
|
|
58
58
|
f,
|
|
59
59
|
lt
|
|
60
|
-
) :
|
|
60
|
+
) : K(
|
|
61
61
|
/*$$scope*/
|
|
62
62
|
i[11]
|
|
63
63
|
),
|
|
@@ -67,8 +67,8 @@ function B(i) {
|
|
|
67
67
|
i[3] === "video" ? "height: 70%" : "height: auto")) && u(n, "style", o);
|
|
68
68
|
},
|
|
69
69
|
i(a) {
|
|
70
|
-
g || (w(d, a), a &&
|
|
71
|
-
g && (c || (c =
|
|
70
|
+
g || (w(d, a), a && M(() => {
|
|
71
|
+
g && (c || (c = k(
|
|
72
72
|
e,
|
|
73
73
|
z,
|
|
74
74
|
/*duration*/
|
|
@@ -78,7 +78,7 @@ function B(i) {
|
|
|
78
78
|
}), g = !0);
|
|
79
79
|
},
|
|
80
80
|
o(a) {
|
|
81
|
-
p(d, a), a && (c || (c =
|
|
81
|
+
p(d, a), a && (c || (c = k(
|
|
82
82
|
e,
|
|
83
83
|
z,
|
|
84
84
|
/*duration*/
|
|
@@ -87,48 +87,48 @@ function B(i) {
|
|
|
87
87
|
)), c.run(0)), g = !1;
|
|
88
88
|
},
|
|
89
89
|
d(a) {
|
|
90
|
-
a &&
|
|
90
|
+
a && v(t), r && r.d(), d && d.d(a), i[13](null), h(), a && c && c.end(), i[15](null);
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function F(i) {
|
|
95
95
|
let t, e, n, s, o;
|
|
96
96
|
return {
|
|
97
97
|
c() {
|
|
98
|
-
t = C("div"), e =
|
|
98
|
+
t = C("div"), e = S("svg"), n = S("path"), u(n, "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"), u(n, "fill", "#111111"), u(e, "xmlns", "http://www.w3.org/2000/svg"), u(e, "width", "13"), u(e, "height", "13"), u(e, "viewBox", "0 0 13 13"), u(e, "fill", "none"), u(e, "class", "CloseButton"), u(t, "class", "ModalCloseIcon");
|
|
99
99
|
},
|
|
100
100
|
m(h, c) {
|
|
101
|
-
|
|
101
|
+
x(h, t, c), b(t, e), b(e, n), s || (o = $(
|
|
102
102
|
e,
|
|
103
103
|
"click",
|
|
104
104
|
/*closeModal*/
|
|
105
105
|
i[7]
|
|
106
106
|
), s = !0);
|
|
107
107
|
},
|
|
108
|
-
p:
|
|
108
|
+
p: Y,
|
|
109
109
|
d(h) {
|
|
110
|
-
h &&
|
|
110
|
+
h && v(t), s = !1, o();
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
function ot(i) {
|
|
115
115
|
let t, e, n = (
|
|
116
116
|
/*show*/
|
|
117
|
-
i[2] === "true" &&
|
|
117
|
+
i[2] === "true" && E(i)
|
|
118
118
|
);
|
|
119
119
|
return {
|
|
120
120
|
c() {
|
|
121
121
|
n && n.c(), t = U();
|
|
122
122
|
},
|
|
123
123
|
m(s, o) {
|
|
124
|
-
n && n.m(s, o),
|
|
124
|
+
n && n.m(s, o), x(s, t, o), e = !0;
|
|
125
125
|
},
|
|
126
126
|
p(s, [o]) {
|
|
127
127
|
/*show*/
|
|
128
128
|
s[2] === "true" ? n ? (n.p(s, o), o & /*show*/
|
|
129
|
-
4 && w(n, 1)) : (n =
|
|
129
|
+
4 && w(n, 1)) : (n = E(s), n.c(), w(n, 1), n.m(t.parentNode, t)) : n && (R(), p(n, 1, 1, () => {
|
|
130
130
|
n = null;
|
|
131
|
-
}),
|
|
131
|
+
}), T());
|
|
132
132
|
},
|
|
133
133
|
i(s) {
|
|
134
134
|
e || (w(n), e = !0);
|
|
@@ -137,7 +137,7 @@ function ot(i) {
|
|
|
137
137
|
p(n), e = !1;
|
|
138
138
|
},
|
|
139
139
|
d(s) {
|
|
140
|
-
s &&
|
|
140
|
+
s && v(t), n && n.d(s);
|
|
141
141
|
}
|
|
142
142
|
};
|
|
143
143
|
}
|
|
@@ -146,10 +146,10 @@ function at(i, t, e) {
|
|
|
146
146
|
const I = () => {
|
|
147
147
|
window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
|
|
148
148
|
};
|
|
149
|
-
|
|
149
|
+
W(() => () => {
|
|
150
150
|
});
|
|
151
151
|
function q(l) {
|
|
152
|
-
|
|
152
|
+
L[l ? "unshift" : "push"](() => {
|
|
153
153
|
f = l, e(6, f);
|
|
154
154
|
});
|
|
155
155
|
}
|
|
@@ -157,7 +157,7 @@ function at(i, t, e) {
|
|
|
157
157
|
d = this.clientWidth, a = this.clientHeight, e(0, d), e(1, a);
|
|
158
158
|
}
|
|
159
159
|
function Z(l) {
|
|
160
|
-
|
|
160
|
+
L[l ? "unshift" : "push"](() => {
|
|
161
161
|
m = l, e(5, m);
|
|
162
162
|
});
|
|
163
163
|
}
|
|
@@ -165,9 +165,9 @@ function at(i, t, e) {
|
|
|
165
165
|
"mbsource" in l && e(8, o = l.mbsource), "clientstyling" in l && e(9, h = l.clientstyling), "clientstylingurl" in l && e(10, c = l.clientstylingurl), "show" in l && e(2, g = l.show), "modaltype" in l && e(3, r = l.modaltype), "duration" in l && e(4, y = l.duration), "width" in l && e(0, d = l.width), "height" in l && e(1, a = l.height), "$$scope" in l && e(11, s = l.$$scope);
|
|
166
166
|
}, i.$$.update = () => {
|
|
167
167
|
i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
168
|
-
544 && h && m &&
|
|
169
|
-
1056 && c && m &&
|
|
170
|
-
288 && o && m &&
|
|
168
|
+
544 && h && m && tt(m, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
169
|
+
1056 && c && m && et(m, c), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
170
|
+
288 && o && m && it(m, `${o}.Style`);
|
|
171
171
|
}, [
|
|
172
172
|
d,
|
|
173
173
|
a,
|
|
@@ -187,14 +187,14 @@ function at(i, t, e) {
|
|
|
187
187
|
Z
|
|
188
188
|
];
|
|
189
189
|
}
|
|
190
|
-
class
|
|
190
|
+
class B extends G {
|
|
191
191
|
constructor(t) {
|
|
192
|
-
super(),
|
|
192
|
+
super(), H(
|
|
193
193
|
this,
|
|
194
194
|
t,
|
|
195
195
|
at,
|
|
196
196
|
ot,
|
|
197
|
-
|
|
197
|
+
N,
|
|
198
198
|
{
|
|
199
199
|
mbsource: 8,
|
|
200
200
|
clientstyling: 9,
|
|
@@ -257,10 +257,10 @@ class F extends H {
|
|
|
257
257
|
this.$$set({ height: t }), _();
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
-
|
|
260
|
+
nt(B, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
|
|
261
261
|
const dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
262
262
|
__proto__: null,
|
|
263
|
-
default:
|
|
263
|
+
default: B
|
|
264
264
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
265
265
|
export {
|
|
266
266
|
dt as C,
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { S as C, b as v,
|
|
2
|
-
function
|
|
3
|
-
N(
|
|
1
|
+
import { S as C, b as v, s as _, f as d, c as N, I as b, e as k, w as p, l as z, m as f, B as S, n as h, x, o as E, p as L, y as M, G as T } from "./CashierCarousel-D9RhCULN.js";
|
|
2
|
+
function B(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
|
|
6
|
-
let t, s, r, u, l, a,
|
|
5
|
+
function H(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 =
|
|
11
|
+
n[0]
|
|
12
|
+
), u = E(), l = h("button"), a = x(
|
|
13
13
|
/*button*/
|
|
14
|
-
|
|
15
|
-
),
|
|
14
|
+
n[1]
|
|
15
|
+
), L(t, "class", "CashierNotifications");
|
|
16
16
|
},
|
|
17
17
|
m(o, c) {
|
|
18
|
-
|
|
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*/
|
|
@@ -35,67 +35,67 @@ function B(i) {
|
|
|
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 && k(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 R(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
63
|
function w(e) {
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
M[e ? "unshift" : "push"](() => {
|
|
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 U extends C {
|
|
85
85
|
constructor(t) {
|
|
86
86
|
super(), v(
|
|
87
87
|
this,
|
|
88
88
|
t,
|
|
89
|
+
R,
|
|
89
90
|
H,
|
|
90
|
-
|
|
91
|
-
k,
|
|
91
|
+
_,
|
|
92
92
|
{
|
|
93
93
|
text: 0,
|
|
94
94
|
button: 1,
|
|
95
95
|
clientstyling: 4,
|
|
96
96
|
clientstylingurl: 5
|
|
97
97
|
},
|
|
98
|
-
|
|
98
|
+
B
|
|
99
99
|
);
|
|
100
100
|
}
|
|
101
101
|
get text() {
|
|
@@ -123,7 +123,7 @@ class R extends C {
|
|
|
123
123
|
this.$$set({ clientstylingurl: t }), d();
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
|
|
126
|
+
T(U, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
127
|
export {
|
|
128
|
-
|
|
128
|
+
U as default
|
|
129
129
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { S as C, b as v,
|
|
2
|
-
function q(
|
|
3
|
-
N(
|
|
1
|
+
import { S as C, b as v, s as _, f as d, c as N, I as b, e as k, x as p, m as z, n as f, C as S, o as h, y as x, p as E, q as L, z as M, G as T } from "./CashierCarousel-C-jIotRi.js";
|
|
2
|
+
function q(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
|
|
6
|
-
let t, s, r, u, l, a,
|
|
5
|
+
function H(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 =
|
|
11
|
+
n[0]
|
|
12
|
+
), u = E(), l = h("button"), a = x(
|
|
13
13
|
/*button*/
|
|
14
|
-
|
|
15
|
-
),
|
|
14
|
+
n[1]
|
|
15
|
+
), L(t, "class", "CashierNotifications");
|
|
16
16
|
},
|
|
17
17
|
m(o, c) {
|
|
18
|
-
|
|
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*/
|
|
@@ -35,60 +35,60 @@ function B(i) {
|
|
|
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 && k(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 R(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
63
|
function w(e) {
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
M[e ? "unshift" : "push"](() => {
|
|
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 U extends C {
|
|
85
85
|
constructor(t) {
|
|
86
86
|
super(), v(
|
|
87
87
|
this,
|
|
88
88
|
t,
|
|
89
|
+
R,
|
|
89
90
|
H,
|
|
90
|
-
|
|
91
|
-
k,
|
|
91
|
+
_,
|
|
92
92
|
{
|
|
93
93
|
text: 0,
|
|
94
94
|
button: 1,
|
|
@@ -123,7 +123,7 @@ class R extends C {
|
|
|
123
123
|
this.$$set({ clientstylingurl: t }), d();
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
|
|
126
|
+
T(U, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
127
|
export {
|
|
128
|
-
|
|
128
|
+
U as default
|
|
129
129
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-DXPbv83E.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$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(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;
|