@everymatrix/cashier-page 1.71.0 → 1.72.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-DV0Fu11y.js → CashierConfirmModal-4RYp7Eiq.js} +35 -35
- package/components/{CashierConfirmModal-CV61pzu0.js → CashierConfirmModal-untxGhsx.js} +35 -35
- package/components/{CashierError-KyWXtIu0.cjs → CashierError-DfpdiheS.cjs} +3 -16
- package/components/{CashierError-BkScPj8N.js → CashierError-Zu3Whx-d.js} +677 -673
- package/components/{CashierError-ePGalbvr.js → CashierError-yts9rF-i.js} +678 -674
- package/components/{CashierHeader-Kzd3yvU8.cjs → CashierHeader-B9cdsOYh.cjs} +1 -1
- package/components/{CashierHeader-CmPaEysf.js → CashierHeader-BX6LLGb8.js} +36 -36
- package/components/{CashierHeader-Dg8-jl7B.js → CashierHeader-C9V5_NVw.js} +38 -38
- package/components/{CashierIframeRedirect-BQzmSTPm.js → CashierIframeRedirect-3Ttb1Wdk.js} +32 -32
- package/components/{CashierIframeRedirect-BZ1-wCfX.js → CashierIframeRedirect-BIMJNSib.js} +39 -39
- package/components/{CashierIframeRedirect-C4Kr5x_V.cjs → CashierIframeRedirect-NF0DKl7A.cjs} +1 -1
- package/components/{CashierMethodDetails-DrHlWgeS.js → CashierMethodDetails-BC_DBHGl.js} +66 -65
- package/components/{CashierMethodDetails-6bOPyfjr.cjs → CashierMethodDetails-BprYcCjn.cjs} +3 -2
- package/components/{CashierMethodDetails-Cjo-c1yL.js → CashierMethodDetails-ziDw_Jnc.js} +66 -65
- package/components/{CashierMethodsList-uJaCnNYb.js → CashierMethodsList-BSyNYqdF.js} +106 -106
- package/components/{CashierMethodsList-DUXUjETI.js → CashierMethodsList-B_95Nh79.js} +111 -111
- package/components/{CashierMethodsList-B06G4mDr.cjs → CashierMethodsList-DYPLv5X8.cjs} +1 -1
- package/components/{CashierModal-BfZMj1i-.js → CashierModal-BrwIBn9a.js} +35 -35
- package/components/{CashierModal-CYI7bxDr.js → CashierModal-ZfKvGxFq.js} +40 -40
- package/components/{CashierNotifications-DvJFewVg.js → CashierNotifications-C48iLynX.js} +19 -19
- package/components/{CashierNotifications-CpgeC0kF.js → CashierNotifications-dn6rnyK_.js} +18 -18
- package/components/{CashierPage-kGJubDte.cjs → CashierPage-CLnWIWI0.cjs} +1 -1
- package/components/{CashierPage-C4r1i50f.js → CashierPage-TiCjNJq3.js} +105 -105
- package/components/{CashierPage-BKWkbJW6.js → CashierPage-eEYSJ1Ow.js} +178 -178
- package/components/{CashierReceiptPage-DmuLKB8M.cjs → CashierReceiptPage-B_Pn8b0K.cjs} +1 -1
- package/components/{CashierReceiptPage-DWndIJa1.js → CashierReceiptPage-CCt-NEa3.js} +28 -28
- package/components/{CashierReceiptPage-DDMJsK6z.js → CashierReceiptPage-XKvPw6Kc.js} +28 -28
- package/components/{CashierSessionExpirationModal-BD4B34aW.js → CashierSessionExpirationModal-BTK1_Bln.js} +46 -55
- package/components/{CashierSessionExpirationModal-FGz_M2t-.js → CashierSessionExpirationModal-CH6Jq1b5.js} +46 -55
- package/components/{CashierSessionExpirationModal-CeGlJ6-1.cjs → CashierSessionExpirationModal-NsD2ZKK4.cjs} +2 -2
- package/components/{CashierSpinner-CnPYs9vs.js → CashierSpinner-BAfTKICK.js} +17 -17
- package/components/{CashierSpinner-CW0tb4Ek.js → CashierSpinner-y6HodxHT.js} +14 -14
- package/components/{CashierTransactionHistory-uaJLF9xZ.js → CashierTransactionHistory-CAZZIa-n.js} +95 -95
- package/components/{CashierTransactionHistory-O_qcBjOW.js → CashierTransactionHistory-CSbp2Y4-.js} +82 -82
- package/components/{CashierTransactionHistory-BlFQrW3i.cjs → CashierTransactionHistory-DeOc9EpW.cjs} +1 -1
- package/components/{CashierVerifications-ByXxafXw.js → CashierVerifications-7iTWQJHM.js} +47 -47
- package/components/{CashierVerifications-C1qMSpvx.cjs → CashierVerifications-CWGsoL5R.cjs} +1 -1
- package/components/{CashierVerifications-DP4ipiwr.js → CashierVerifications-DMXkMmMm.js} +137 -137
- package/components/{CashierVideoModal-D5QKr-_P.js → CashierVideoModal-CVDvqrcy.js} +39 -39
- package/components/{CashierVideoModal-onqH-Fiw.js → CashierVideoModal-DHNu0BQz.js} +38 -38
- 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/{ui-image-BMiZteNE.cjs → ui-image-BaHsVAxH.cjs} +1 -1
- package/stencil/{ui-image-CX3MBBZL.js → ui-image-C7s6Uvn5.js} +1 -1
- package/stencil/{ui-image-BW8AeEVd.js → ui-image-CHeV8e9p.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-_K8Pt3w9.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-Dh5Eqdlm.js → ui-image_2-qO3reSlr.js} +2 -2
- 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
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { S as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { S as T, b as N, s as R, f as p, c as U, n as m, e as v, l as _, w as Z, H as j, B as b, q as n, J as k, m as g, o as C, p as V, z as A, A as x, N as w, E as F } from "./CashierConfirmModal-untxGhsx.js";
|
|
2
|
+
function J(s) {
|
|
3
|
+
U(s, "svelte-1d17c9c", ".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
|
|
4
4
|
}
|
|
5
5
|
function M(s) {
|
|
6
6
|
let e, i, t, o, r, f, u, c = !/*desktopView*/
|
|
7
7
|
s[2] && S(s), l = (
|
|
8
8
|
/*desktopView*/
|
|
9
|
-
s[2] &&
|
|
9
|
+
s[2] && H(s)
|
|
10
10
|
);
|
|
11
11
|
return {
|
|
12
12
|
c() {
|
|
13
|
-
e = C("div"), c && c.c(), i =
|
|
14
|
-
s[0]) || n(f, "src", u), r.autoplay = !0, r.controls = !0, n(r, "controlslist", "nodownload"), n(r, "disablepictureinpicture", ""), n(t, "class", "CashierVideo"), n(e, "class", "CashierVideoWrapper"), n(e, "part", "CustomStylingContainer"),
|
|
13
|
+
e = C("div"), c && c.c(), i = V(), t = C("div"), l && l.c(), o = V(), r = C("video"), f = C("source"), b(f.src, u = /*videosrc*/
|
|
14
|
+
s[0]) || n(f, "src", u), r.autoplay = !0, r.controls = !0, n(r, "controlslist", "nodownload"), n(r, "disablepictureinpicture", ""), n(t, "class", "CashierVideo"), n(e, "class", "CashierVideoWrapper"), n(e, "part", "CustomStylingContainer"), k(
|
|
15
15
|
e,
|
|
16
16
|
"CashierVideoWrapperDesktop",
|
|
17
17
|
/*desktopView*/
|
|
@@ -19,15 +19,15 @@ function M(s) {
|
|
|
19
19
|
);
|
|
20
20
|
},
|
|
21
21
|
m(d, h) {
|
|
22
|
-
|
|
22
|
+
_(d, e, h), c && c.m(e, null), g(e, i), g(e, t), l && l.m(t, null), g(t, o), g(t, r), g(r, f), s[10](e);
|
|
23
23
|
},
|
|
24
24
|
p(d, h) {
|
|
25
25
|
/*desktopView*/
|
|
26
26
|
d[2] ? c && (c.d(1), c = null) : c ? c.p(d, h) : (c = S(d), c.c(), c.m(e, i)), /*desktopView*/
|
|
27
|
-
d[2] ? l ? l.p(d, h) : (l =
|
|
28
|
-
1 && !
|
|
27
|
+
d[2] ? l ? l.p(d, h) : (l = H(d), l.c(), l.m(t, o)) : l && (l.d(1), l = null), h & /*videosrc*/
|
|
28
|
+
1 && !b(f.src, u = /*videosrc*/
|
|
29
29
|
d[0]) && n(f, "src", u), h & /*desktopView*/
|
|
30
|
-
4 &&
|
|
30
|
+
4 && k(
|
|
31
31
|
e,
|
|
32
32
|
"CashierVideoWrapperDesktop",
|
|
33
33
|
/*desktopView*/
|
|
@@ -35,7 +35,7 @@ function M(s) {
|
|
|
35
35
|
);
|
|
36
36
|
},
|
|
37
37
|
d(d) {
|
|
38
|
-
d &&
|
|
38
|
+
d && v(e), c && c.d(), l && l.d(), s[10](null);
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
}
|
|
@@ -46,7 +46,7 @@ function S(s) {
|
|
|
46
46
|
e = C("div"), i = w("svg"), t = w("path"), n(t, "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"), n(t, "fill", "#111111"), n(i, "xmlns", "http://www.w3.org/2000/svg"), n(i, "width", "13"), n(i, "height", "13"), n(i, "viewBox", "0 0 13 13"), n(i, "fill", "none"), n(e, "class", "CashierVideoHeader");
|
|
47
47
|
},
|
|
48
48
|
m(f, u) {
|
|
49
|
-
|
|
49
|
+
_(f, e, u), g(e, i), g(i, t), o || (r = x(
|
|
50
50
|
i,
|
|
51
51
|
"click",
|
|
52
52
|
/*click_handler*/
|
|
@@ -55,18 +55,18 @@ function S(s) {
|
|
|
55
55
|
},
|
|
56
56
|
p: m,
|
|
57
57
|
d(f) {
|
|
58
|
-
f &&
|
|
58
|
+
f && v(e), o = !1, r();
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function H(s) {
|
|
63
63
|
let e, i, t, o;
|
|
64
64
|
return {
|
|
65
65
|
c() {
|
|
66
66
|
e = w("svg"), i = w("path"), n(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"), n(i, "fill", "#111111"), n(e, "xmlns", "http://www.w3.org/2000/svg"), n(e, "width", "13"), n(e, "height", "13"), n(e, "viewBox", "0 0 13 13"), n(e, "fill", "none");
|
|
67
67
|
},
|
|
68
68
|
m(r, f) {
|
|
69
|
-
|
|
69
|
+
_(r, e, f), g(e, i), t || (o = x(
|
|
70
70
|
e,
|
|
71
71
|
"click",
|
|
72
72
|
/*click_handler_1*/
|
|
@@ -75,21 +75,21 @@ function x(s) {
|
|
|
75
75
|
},
|
|
76
76
|
p: m,
|
|
77
77
|
d(r) {
|
|
78
|
-
r &&
|
|
78
|
+
r && v(e), t = !1, o();
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function G(s) {
|
|
83
83
|
let e, i = (
|
|
84
84
|
/*show*/
|
|
85
85
|
s[3] && M(s)
|
|
86
86
|
);
|
|
87
87
|
return {
|
|
88
88
|
c() {
|
|
89
|
-
i && i.c(), e =
|
|
89
|
+
i && i.c(), e = Z();
|
|
90
90
|
},
|
|
91
91
|
m(t, o) {
|
|
92
|
-
i && i.m(t, o),
|
|
92
|
+
i && i.m(t, o), _(t, e, o);
|
|
93
93
|
},
|
|
94
94
|
p(t, [o]) {
|
|
95
95
|
/*show*/
|
|
@@ -98,11 +98,11 @@ function N(s) {
|
|
|
98
98
|
i: m,
|
|
99
99
|
o: m,
|
|
100
100
|
d(t) {
|
|
101
|
-
t &&
|
|
101
|
+
t && v(e), i && i.d(t);
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function I(s, e, i) {
|
|
106
106
|
let { clientstyling: t = "" } = e, { clientstylingurl: o = "" } = e, { ismobileview: r } = e, { videosrc: f } = e, u = !0, c = !1, l;
|
|
107
107
|
const d = () => {
|
|
108
108
|
i(3, c = !1), window.postMessage({ type: "ClosedCashierVideoModal" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
@@ -110,10 +110,10 @@ function O(s, e, i) {
|
|
|
110
110
|
a.data.type == "ShowCashierVideoModal" && (i(3, c = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), a.data.type == "HideCashierVideoModal" && d();
|
|
111
111
|
}, z = () => {
|
|
112
112
|
i(2, u = r === "false");
|
|
113
|
-
},
|
|
113
|
+
}, E = () => {
|
|
114
114
|
let a = document.createElement("style");
|
|
115
115
|
a.innerHTML = t, l.appendChild(a);
|
|
116
|
-
},
|
|
116
|
+
}, D = () => {
|
|
117
117
|
let a = new URL(o), L = document.createElement("style");
|
|
118
118
|
fetch(a.href).then((y) => y.text()).then((y) => {
|
|
119
119
|
L.innerHTML = y, setTimeout(
|
|
@@ -124,12 +124,12 @@ function O(s, e, i) {
|
|
|
124
124
|
);
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
|
-
|
|
127
|
+
j(() => (window.addEventListener("message", h, !1), () => {
|
|
128
128
|
window.removeEventListener("message", h);
|
|
129
129
|
}));
|
|
130
|
-
const W = () => d(),
|
|
131
|
-
function
|
|
132
|
-
|
|
130
|
+
const W = () => d(), q = () => d();
|
|
131
|
+
function B(a) {
|
|
132
|
+
A[a ? "unshift" : "push"](() => {
|
|
133
133
|
l = a, i(1, l);
|
|
134
134
|
});
|
|
135
135
|
}
|
|
@@ -138,8 +138,8 @@ function O(s, e, i) {
|
|
|
138
138
|
}, s.$$.update = () => {
|
|
139
139
|
s.$$.dirty & /*ismobileview*/
|
|
140
140
|
128 && r && z(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
141
|
-
34 && t && l &&
|
|
142
|
-
66 && o && l &&
|
|
141
|
+
34 && t && l && E(), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
142
|
+
66 && o && l && D();
|
|
143
143
|
}, [
|
|
144
144
|
f,
|
|
145
145
|
l,
|
|
@@ -150,25 +150,25 @@ function O(s, e, i) {
|
|
|
150
150
|
o,
|
|
151
151
|
r,
|
|
152
152
|
W,
|
|
153
|
-
|
|
154
|
-
|
|
153
|
+
q,
|
|
154
|
+
B
|
|
155
155
|
];
|
|
156
156
|
}
|
|
157
|
-
class
|
|
157
|
+
class K extends T {
|
|
158
158
|
constructor(e) {
|
|
159
|
-
super(),
|
|
159
|
+
super(), N(
|
|
160
160
|
this,
|
|
161
161
|
e,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
I,
|
|
163
|
+
G,
|
|
164
|
+
R,
|
|
165
165
|
{
|
|
166
166
|
clientstyling: 5,
|
|
167
167
|
clientstylingurl: 6,
|
|
168
168
|
ismobileview: 7,
|
|
169
169
|
videosrc: 0
|
|
170
170
|
},
|
|
171
|
-
|
|
171
|
+
J
|
|
172
172
|
);
|
|
173
173
|
}
|
|
174
174
|
get clientstyling() {
|
|
@@ -196,7 +196,7 @@ class J extends q {
|
|
|
196
196
|
this.$$set({ videosrc: e }), p();
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
|
|
199
|
+
F(K, { clientstyling: {}, clientstylingurl: {}, ismobileview: {}, videosrc: {} }, [], [], !0);
|
|
200
200
|
export {
|
|
201
|
-
|
|
201
|
+
K as default
|
|
202
202
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { S as T, b as N, s as R, f as p, c as U, n as m, e as v, m as _, x as Z, H as j, C as b, v as n, J as k, o as g, p as C, q as V, A, B as H, N as w, E as F } from "./CashierConfirmModal-4RYp7Eiq.js";
|
|
2
|
+
function J(s) {
|
|
3
|
+
U(s, "svelte-1d17c9c", ".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
|
|
4
4
|
}
|
|
5
5
|
function M(s) {
|
|
6
6
|
let e, i, t, o, r, f, u, c = !/*desktopView*/
|
|
@@ -10,8 +10,8 @@ function M(s) {
|
|
|
10
10
|
);
|
|
11
11
|
return {
|
|
12
12
|
c() {
|
|
13
|
-
e = C("div"), c && c.c(), i =
|
|
14
|
-
s[0]) || n(f, "src", u), r.autoplay = !0, r.controls = !0, n(r, "controlslist", "nodownload"), n(r, "disablepictureinpicture", ""), n(t, "class", "CashierVideo"), n(e, "class", "CashierVideoWrapper"), n(e, "part", "CustomStylingContainer"),
|
|
13
|
+
e = C("div"), c && c.c(), i = V(), t = C("div"), l && l.c(), o = V(), r = C("video"), f = C("source"), b(f.src, u = /*videosrc*/
|
|
14
|
+
s[0]) || n(f, "src", u), r.autoplay = !0, r.controls = !0, n(r, "controlslist", "nodownload"), n(r, "disablepictureinpicture", ""), n(t, "class", "CashierVideo"), n(e, "class", "CashierVideoWrapper"), n(e, "part", "CustomStylingContainer"), k(
|
|
15
15
|
e,
|
|
16
16
|
"CashierVideoWrapperDesktop",
|
|
17
17
|
/*desktopView*/
|
|
@@ -19,15 +19,15 @@ function M(s) {
|
|
|
19
19
|
);
|
|
20
20
|
},
|
|
21
21
|
m(d, h) {
|
|
22
|
-
|
|
22
|
+
_(d, e, h), c && c.m(e, null), g(e, i), g(e, t), l && l.m(t, null), g(t, o), g(t, r), g(r, f), s[10](e);
|
|
23
23
|
},
|
|
24
24
|
p(d, h) {
|
|
25
25
|
/*desktopView*/
|
|
26
26
|
d[2] ? c && (c.d(1), c = null) : c ? c.p(d, h) : (c = S(d), c.c(), c.m(e, i)), /*desktopView*/
|
|
27
27
|
d[2] ? l ? l.p(d, h) : (l = x(d), l.c(), l.m(t, o)) : l && (l.d(1), l = null), h & /*videosrc*/
|
|
28
|
-
1 && !
|
|
28
|
+
1 && !b(f.src, u = /*videosrc*/
|
|
29
29
|
d[0]) && n(f, "src", u), h & /*desktopView*/
|
|
30
|
-
4 &&
|
|
30
|
+
4 && k(
|
|
31
31
|
e,
|
|
32
32
|
"CashierVideoWrapperDesktop",
|
|
33
33
|
/*desktopView*/
|
|
@@ -35,7 +35,7 @@ function M(s) {
|
|
|
35
35
|
);
|
|
36
36
|
},
|
|
37
37
|
d(d) {
|
|
38
|
-
d &&
|
|
38
|
+
d && v(e), c && c.d(), l && l.d(), s[10](null);
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
}
|
|
@@ -46,7 +46,7 @@ function S(s) {
|
|
|
46
46
|
e = C("div"), i = w("svg"), t = w("path"), n(t, "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"), n(t, "fill", "#111111"), n(i, "xmlns", "http://www.w3.org/2000/svg"), n(i, "width", "13"), n(i, "height", "13"), n(i, "viewBox", "0 0 13 13"), n(i, "fill", "none"), n(e, "class", "CashierVideoHeader");
|
|
47
47
|
},
|
|
48
48
|
m(f, u) {
|
|
49
|
-
|
|
49
|
+
_(f, e, u), g(e, i), g(i, t), o || (r = H(
|
|
50
50
|
i,
|
|
51
51
|
"click",
|
|
52
52
|
/*click_handler*/
|
|
@@ -55,7 +55,7 @@ function S(s) {
|
|
|
55
55
|
},
|
|
56
56
|
p: m,
|
|
57
57
|
d(f) {
|
|
58
|
-
f &&
|
|
58
|
+
f && v(e), o = !1, r();
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
}
|
|
@@ -66,7 +66,7 @@ function x(s) {
|
|
|
66
66
|
e = w("svg"), i = w("path"), n(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"), n(i, "fill", "#111111"), n(e, "xmlns", "http://www.w3.org/2000/svg"), n(e, "width", "13"), n(e, "height", "13"), n(e, "viewBox", "0 0 13 13"), n(e, "fill", "none");
|
|
67
67
|
},
|
|
68
68
|
m(r, f) {
|
|
69
|
-
|
|
69
|
+
_(r, e, f), g(e, i), t || (o = H(
|
|
70
70
|
e,
|
|
71
71
|
"click",
|
|
72
72
|
/*click_handler_1*/
|
|
@@ -75,21 +75,21 @@ function x(s) {
|
|
|
75
75
|
},
|
|
76
76
|
p: m,
|
|
77
77
|
d(r) {
|
|
78
|
-
r &&
|
|
78
|
+
r && v(e), t = !1, o();
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function G(s) {
|
|
83
83
|
let e, i = (
|
|
84
84
|
/*show*/
|
|
85
85
|
s[3] && M(s)
|
|
86
86
|
);
|
|
87
87
|
return {
|
|
88
88
|
c() {
|
|
89
|
-
i && i.c(), e =
|
|
89
|
+
i && i.c(), e = Z();
|
|
90
90
|
},
|
|
91
91
|
m(t, o) {
|
|
92
|
-
i && i.m(t, o),
|
|
92
|
+
i && i.m(t, o), _(t, e, o);
|
|
93
93
|
},
|
|
94
94
|
p(t, [o]) {
|
|
95
95
|
/*show*/
|
|
@@ -98,22 +98,22 @@ function N(s) {
|
|
|
98
98
|
i: m,
|
|
99
99
|
o: m,
|
|
100
100
|
d(t) {
|
|
101
|
-
t &&
|
|
101
|
+
t && v(e), i && i.d(t);
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function I(s, e, i) {
|
|
106
106
|
let { clientstyling: t = "" } = e, { clientstylingurl: o = "" } = e, { ismobileview: r } = e, { videosrc: f } = e, u = !0, c = !1, l;
|
|
107
107
|
const d = () => {
|
|
108
108
|
i(3, c = !1), window.postMessage({ type: "ClosedCashierVideoModal" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
109
109
|
}, h = (a) => {
|
|
110
110
|
a.data.type == "ShowCashierVideoModal" && (i(3, c = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), a.data.type == "HideCashierVideoModal" && d();
|
|
111
|
-
},
|
|
111
|
+
}, E = () => {
|
|
112
112
|
i(2, u = r === "false");
|
|
113
|
-
},
|
|
113
|
+
}, z = () => {
|
|
114
114
|
let a = document.createElement("style");
|
|
115
115
|
a.innerHTML = t, l.appendChild(a);
|
|
116
|
-
},
|
|
116
|
+
}, D = () => {
|
|
117
117
|
let a = new URL(o), L = document.createElement("style");
|
|
118
118
|
fetch(a.href).then((y) => y.text()).then((y) => {
|
|
119
119
|
L.innerHTML = y, setTimeout(
|
|
@@ -124,12 +124,12 @@ function O(s, e, i) {
|
|
|
124
124
|
);
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
|
-
|
|
127
|
+
j(() => (window.addEventListener("message", h, !1), () => {
|
|
128
128
|
window.removeEventListener("message", h);
|
|
129
129
|
}));
|
|
130
|
-
const W = () => d(),
|
|
131
|
-
function
|
|
132
|
-
|
|
130
|
+
const W = () => d(), q = () => d();
|
|
131
|
+
function B(a) {
|
|
132
|
+
A[a ? "unshift" : "push"](() => {
|
|
133
133
|
l = a, i(1, l);
|
|
134
134
|
});
|
|
135
135
|
}
|
|
@@ -137,9 +137,9 @@ function O(s, e, i) {
|
|
|
137
137
|
"clientstyling" in a && i(5, t = a.clientstyling), "clientstylingurl" in a && i(6, o = a.clientstylingurl), "ismobileview" in a && i(7, r = a.ismobileview), "videosrc" in a && i(0, f = a.videosrc);
|
|
138
138
|
}, s.$$.update = () => {
|
|
139
139
|
s.$$.dirty & /*ismobileview*/
|
|
140
|
-
128 && r &&
|
|
141
|
-
34 && t && l &&
|
|
142
|
-
66 && o && l &&
|
|
140
|
+
128 && r && E(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
141
|
+
34 && t && l && z(), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
142
|
+
66 && o && l && D();
|
|
143
143
|
}, [
|
|
144
144
|
f,
|
|
145
145
|
l,
|
|
@@ -150,25 +150,25 @@ function O(s, e, i) {
|
|
|
150
150
|
o,
|
|
151
151
|
r,
|
|
152
152
|
W,
|
|
153
|
-
|
|
154
|
-
|
|
153
|
+
q,
|
|
154
|
+
B
|
|
155
155
|
];
|
|
156
156
|
}
|
|
157
|
-
class
|
|
157
|
+
class K extends T {
|
|
158
158
|
constructor(e) {
|
|
159
|
-
super(),
|
|
159
|
+
super(), N(
|
|
160
160
|
this,
|
|
161
161
|
e,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
I,
|
|
163
|
+
G,
|
|
164
|
+
R,
|
|
165
165
|
{
|
|
166
166
|
clientstyling: 5,
|
|
167
167
|
clientstylingurl: 6,
|
|
168
168
|
ismobileview: 7,
|
|
169
169
|
videosrc: 0
|
|
170
170
|
},
|
|
171
|
-
|
|
171
|
+
J
|
|
172
172
|
);
|
|
173
173
|
}
|
|
174
174
|
get clientstyling() {
|
|
@@ -196,7 +196,7 @@ class J extends q {
|
|
|
196
196
|
this.$$set({ videosrc: e }), p();
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
|
|
199
|
+
F(K, { clientstyling: {}, clientstylingurl: {}, ismobileview: {}, videosrc: {} }, [], [], !0);
|
|
200
200
|
export {
|
|
201
|
-
|
|
201
|
+
K as default
|
|
202
202
|
};
|
package/es2015/cashier-page.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierPage-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierPage-CLnWIWI0.cjs")).then(({default:t})=>{!customElements.get("cashier-page")&&customElements.define("cashier-page",t.element)})}
|
package/es2015/cashier-page.js
CHANGED
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CashierPage-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CashierPage-eEYSJ1Ow.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("cashier-page") && customElements.define("cashier-page", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/esnext/cashier-page.js
CHANGED