@everymatrix/cashier-page 1.74.0 → 1.74.2
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-DiJy6WCC.js → CashierConfirmModal-B8OOtTE_.js} +38 -38
- package/components/{CashierConfirmModal-Bl65cs4j.js → CashierConfirmModal-IR_fdiwt.js} +37 -37
- package/components/{CashierError-DT8XXsZb.js → CashierError-DwFDMuO4.js} +538 -506
- package/components/{CashierError-sabBjpnx.js → CashierError-Lwv9a6Jn.js} +538 -506
- package/components/{CashierError-CUi7dlhw.cjs → CashierError-lygql-vp.cjs} +16 -3
- package/components/{CashierHeader-C87PEbuI.cjs → CashierHeader-BBFpE9tm.cjs} +1 -1
- package/components/{CashierHeader-B_TbzRzY.js → CashierHeader-Co4LH4OR.js} +62 -62
- package/components/{CashierHeader-CRNLSN-X.js → CashierHeader-DBbG_kCZ.js} +65 -65
- package/components/{CashierIframeRedirect-zBfOGfH0.js → CashierIframeRedirect-BifoYFS6.js} +43 -43
- package/components/{CashierIframeRedirect-DcI_fdtE.js → CashierIframeRedirect-DLWyFLbS.js} +43 -43
- package/components/{CashierIframeRedirect-q6Z4Yxd2.cjs → CashierIframeRedirect-O2R4PeFx.cjs} +1 -1
- package/components/CashierMethodDetails-BiDcofyV.cjs +86 -0
- package/components/{CashierMethodDetails-SkPBUxsi.js → CashierMethodDetails-Bv4pmeQb.js} +2752 -2747
- package/components/{CashierMethodDetails-CzQGZLT9.js → CashierMethodDetails-DzH-30k0.js} +2692 -2690
- package/components/{CashierMethodsList-BwQxzNhr.js → CashierMethodsList-B81lBh-i.js} +408 -405
- package/components/CashierMethodsList-CqDdABdG.cjs +1 -0
- package/components/{CashierMethodsList-CNZRTEmt.js → CashierMethodsList-SztGlaVA.js} +417 -414
- package/components/{CashierModal-C9DRbWKa.js → CashierModal-BGLiz1Q0.js} +30 -30
- package/components/{CashierModal-l0r5lSbV.js → CashierModal-DPdsjy2Y.js} +27 -27
- package/components/{CashierNotifications-BRaPHw0O.js → CashierNotifications-BVMqQF5E.js} +15 -15
- package/components/{CashierNotifications-C60PYJS0.js → CashierNotifications-zWfvVWp3.js} +15 -15
- package/components/{CashierPage-DcNLQxqw.js → CashierPage-C1gTiNOQ.js} +556 -477
- package/components/{CashierPage-El2u8C5N.js → CashierPage-DOm_w_Mb.js} +556 -477
- package/components/CashierPage-M5GWcvzG.cjs +1 -0
- package/components/{CashierReceiptPage-D-G8rB5N.js → CashierReceiptPage-8oBK9c-w.js} +445 -424
- package/components/{CashierReceiptPage-DfMEJsZx.js → CashierReceiptPage-BG1Sg3_U.js} +471 -446
- package/components/CashierReceiptPage-BKr9Y4z2.cjs +1 -0
- package/components/{CashierSessionExpirationModal-BfPvkDUo.cjs → CashierSessionExpirationModal-25t9wFGB.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-CwWstvB8.js → CashierSessionExpirationModal-DccW5Qt4.js} +58 -49
- package/components/{CashierSessionExpirationModal-BuUgCatI.js → CashierSessionExpirationModal-DctA8xGg.js} +58 -49
- package/components/{CashierSpinner-DGvxbV84.js → CashierSpinner-BJ0-pcso.js} +13 -13
- package/components/{CashierSpinner-CC_b-bLQ.js → CashierSpinner-DX6FQb5G.js} +15 -15
- package/components/{CashierTransactionHistory-D46VIVuo.js → CashierTransactionHistory-DEhh9fZY.js} +58 -58
- package/components/{CashierTransactionHistory-idoNMIZM.cjs → CashierTransactionHistory-DuaiwgJ8.cjs} +1 -1
- package/components/{CashierTransactionHistory-DTgDyhFg.js → CashierTransactionHistory-X005hbwU.js} +75 -75
- package/components/{CashierVerifications-C_StTRQe.cjs → CashierVerifications-BLDRWv6W.cjs} +1 -1
- package/components/{CashierVerifications-3Axu0Hzv.js → CashierVerifications-CHUaPoXN.js} +35 -35
- package/components/{CashierVerifications-xsgXX--M.js → CashierVerifications-DLLCf8wO.js} +36 -36
- package/components/{CashierVideoModal-CLzErDsi.js → CashierVideoModal-4ZsB8TZ-.js} +47 -47
- package/components/{CashierVideoModal-CnhHqo1M.cjs → CashierVideoModal-CBlMdTrM.cjs} +1 -1
- package/components/{CashierVideoModal-DJJAzqj3.js → CashierVideoModal-DOrEnX7J.js} +47 -47
- 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-BD-QREJe.js +558 -0
- package/stencil/index-97d17652-DJqGt8q2.js +542 -0
- package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
- package/stencil/index-b2193545-BhpttWPO.cjs +1 -0
- package/stencil/index-b2193545-DWKmtYUG.js +503 -0
- package/stencil/index-b2193545-Dfy4Cgny.js +519 -0
- package/stencil/{ui-image-BWJXFWH1.js → ui-image-4dZyD9yF.js} +1 -1
- package/stencil/{ui-image-DIEeZy5u.js → ui-image-6u7OR3Eo.js} +1 -1
- package/stencil/{ui-image-ByEXiBzx.cjs → ui-image-CER01gdl.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
- package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-Dh5Eqdlm.js} +2 -2
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-_K8Pt3w9.js} +2 -2
- package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-BTr272EW.js} +2 -2
- package/stencil/{ui-skeleton-9boHSjtG.js → ui-skeleton-P4PO_42z.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-8tYGV8SR.js → ui-skeleton-ae35c6f2-BIdXBK8D.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-IN_dPA5_.js → ui-skeleton-ae35c6f2-C7WHUwAT.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CKgUXOQC.cjs → ui-skeleton-ae35c6f2-D-MGUxCy.cjs} +1 -1
- package/stencil/{ui-skeleton-_yJvAdAL.cjs → ui-skeleton-gIFE_2eg.cjs} +1 -1
- package/components/CashierMethodDetails-DI5D_QCF.cjs +0 -99
- package/components/CashierMethodsList-BuJMDLdX.cjs +0 -1
- package/components/CashierPage-M26PQ4uv.cjs +0 -1
- package/components/CashierReceiptPage-qJvPvJga.cjs +0 -1
- package/stencil/index-97d17652--F7PvMq9.js +0 -542
- package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
- package/stencil/index-97d17652-CCFHkzJw.js +0 -558
- package/stencil/index-b2193545-B8kMF2bI.cjs +0 -1
- package/stencil/index-b2193545-BoSqyMpB.js +0 -519
- package/stencil/index-b2193545-D4dOaNlR.js +0 -503
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as O, S as U, b as
|
|
1
|
+
import { U as O, S as U, b as A, f as g, c as D, a as F, d as G, A as J, k as W, t as m, p as b, q as N, v as j, x as P, y as R, z as T, e as V, g as y, j as h, J as M, l as C, V as I, u as K, m as Q, o as X, W as S, E as Y, F as v, G as Z } from "./CashierConfirmModal-IR_fdiwt.js";
|
|
2
2
|
function k(i, { delay: t = 0, duration: e = 400, easing: n = O } = {}) {
|
|
3
3
|
const r = +getComputedStyle(i).opacity;
|
|
4
4
|
return {
|
|
@@ -17,7 +17,7 @@ function z(i) {
|
|
|
17
17
|
const f = (
|
|
18
18
|
/*#slots*/
|
|
19
19
|
i[10].content
|
|
20
|
-
), a =
|
|
20
|
+
), a = V(
|
|
21
21
|
f,
|
|
22
22
|
i,
|
|
23
23
|
/*$$scope*/
|
|
@@ -26,13 +26,13 @@ function z(i) {
|
|
|
26
26
|
);
|
|
27
27
|
return {
|
|
28
28
|
c() {
|
|
29
|
-
t = y("div"), e = y("div"), n = y("div"), a && a.c(), h(n, "class", "ModalContainer"), h(n, "part", "ModalContainer"), h(e, "class", "ModalWindow"), h(e, "part", "ModalWindow"), h(e, "id", "Modal"),
|
|
29
|
+
t = y("div"), e = y("div"), n = y("div"), a && a.c(), h(n, "class", "ModalContainer"), h(n, "part", "ModalContainer"), h(e, "class", "ModalWindow"), h(e, "part", "ModalWindow"), h(e, "id", "Modal"), M(() => (
|
|
30
30
|
/*div1_elementresize_handler*/
|
|
31
31
|
i[12].call(e)
|
|
32
32
|
)), h(t, "part", "CustomStylingContainer");
|
|
33
33
|
},
|
|
34
34
|
m(l, c) {
|
|
35
|
-
|
|
35
|
+
W(l, t, c), C(t, e), C(e, n), a && a.m(n, null), i[11](e), r = I(
|
|
36
36
|
e,
|
|
37
37
|
/*div1_elementresize_handler*/
|
|
38
38
|
i[12].bind(e)
|
|
@@ -40,19 +40,19 @@ function z(i) {
|
|
|
40
40
|
},
|
|
41
41
|
p(l, c) {
|
|
42
42
|
i = l, a && a.p && (!d || c & /*$$scope*/
|
|
43
|
-
512) &&
|
|
43
|
+
512) && K(
|
|
44
44
|
a,
|
|
45
45
|
f,
|
|
46
46
|
i,
|
|
47
47
|
/*$$scope*/
|
|
48
48
|
i[9],
|
|
49
|
-
d ?
|
|
49
|
+
d ? X(
|
|
50
50
|
f,
|
|
51
51
|
/*$$scope*/
|
|
52
52
|
i[9],
|
|
53
53
|
c,
|
|
54
54
|
tt
|
|
55
|
-
) :
|
|
55
|
+
) : Q(
|
|
56
56
|
/*$$scope*/
|
|
57
57
|
i[9]
|
|
58
58
|
),
|
|
@@ -60,8 +60,8 @@ function z(i) {
|
|
|
60
60
|
);
|
|
61
61
|
},
|
|
62
62
|
i(l) {
|
|
63
|
-
d || (m(a, l), l &&
|
|
64
|
-
d && (o || (o =
|
|
63
|
+
d || (m(a, l), l && M(() => {
|
|
64
|
+
d && (o || (o = S(
|
|
65
65
|
e,
|
|
66
66
|
k,
|
|
67
67
|
/*duration*/
|
|
@@ -71,7 +71,7 @@ function z(i) {
|
|
|
71
71
|
}), d = !0);
|
|
72
72
|
},
|
|
73
73
|
o(l) {
|
|
74
|
-
b(a, l), l && (o || (o =
|
|
74
|
+
b(a, l), l && (o || (o = S(
|
|
75
75
|
e,
|
|
76
76
|
k,
|
|
77
77
|
/*duration*/
|
|
@@ -80,7 +80,7 @@ function z(i) {
|
|
|
80
80
|
)), o.run(0)), d = !1;
|
|
81
81
|
},
|
|
82
82
|
d(l) {
|
|
83
|
-
l &&
|
|
83
|
+
l && j(t), a && a.d(l), i[11](null), r(), l && o && o.end(), i[13](null);
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
}
|
|
@@ -91,17 +91,17 @@ function et(i) {
|
|
|
91
91
|
);
|
|
92
92
|
return {
|
|
93
93
|
c() {
|
|
94
|
-
n && n.c(), t =
|
|
94
|
+
n && n.c(), t = J();
|
|
95
95
|
},
|
|
96
96
|
m(r, o) {
|
|
97
|
-
n && n.m(r, o),
|
|
97
|
+
n && n.m(r, o), W(r, t, o), e = !0;
|
|
98
98
|
},
|
|
99
99
|
p(r, [o]) {
|
|
100
100
|
/*show*/
|
|
101
101
|
r[5] ? n ? (n.p(r, o), o & /*show*/
|
|
102
|
-
32 && m(n, 1)) : (n = z(r), n.c(), m(n, 1), n.m(t.parentNode, t)) : n && (
|
|
102
|
+
32 && m(n, 1)) : (n = z(r), n.c(), m(n, 1), n.m(t.parentNode, t)) : n && (Y(), b(n, 1, 1, () => {
|
|
103
103
|
n = null;
|
|
104
|
-
}),
|
|
104
|
+
}), N());
|
|
105
105
|
},
|
|
106
106
|
i(r) {
|
|
107
107
|
e || (m(n), e = !0);
|
|
@@ -110,29 +110,29 @@ function et(i) {
|
|
|
110
110
|
b(n), e = !1;
|
|
111
111
|
},
|
|
112
112
|
d(r) {
|
|
113
|
-
r &&
|
|
113
|
+
r && j(t), n && n.d(r);
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
function it(i, t, e) {
|
|
118
118
|
let { $$slots: n = {}, $$scope: r } = t, { mbsource: o } = t, { clientstyling: d } = t, { clientstylingurl: f } = t, { duration: a = 200 } = t, { width: l } = t, { height: c } = t, _, u, w = !1;
|
|
119
|
-
const
|
|
119
|
+
const q = () => {
|
|
120
120
|
e(5, w = !1), window.postMessage({ type: "ClosedCashierModal" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
121
121
|
}, p = (s) => {
|
|
122
|
-
s.data.type == "ShowCashierModal" && (e(5, w = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), s.data.type == "HideCashierModal" &&
|
|
122
|
+
s.data.type == "ShowCashierModal" && (e(5, w = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), s.data.type == "HideCashierModal" && q();
|
|
123
123
|
};
|
|
124
124
|
P(() => (window.addEventListener("message", p, !1), () => {
|
|
125
125
|
window.removeEventListener("message", p);
|
|
126
126
|
}));
|
|
127
|
-
function
|
|
127
|
+
function B(s) {
|
|
128
128
|
v[s ? "unshift" : "push"](() => {
|
|
129
129
|
_ = s, e(4, _);
|
|
130
130
|
});
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function H() {
|
|
133
133
|
l = this.clientWidth, c = this.clientHeight, e(0, l), e(1, c);
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function L(s) {
|
|
136
136
|
v[s ? "unshift" : "push"](() => {
|
|
137
137
|
u = s, e(3, u);
|
|
138
138
|
});
|
|
@@ -141,9 +141,9 @@ function it(i, t, e) {
|
|
|
141
141
|
"mbsource" in s && e(6, o = s.mbsource), "clientstyling" in s && e(7, d = s.clientstyling), "clientstylingurl" in s && e(8, f = s.clientstylingurl), "duration" in s && e(2, a = s.duration), "width" in s && e(0, l = s.width), "height" in s && e(1, c = s.height), "$$scope" in s && e(9, r = s.$$scope);
|
|
142
142
|
}, i.$$.update = () => {
|
|
143
143
|
i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
144
|
-
136 && d && u &&
|
|
145
|
-
264 && f && u &&
|
|
146
|
-
72 && o && u &&
|
|
144
|
+
136 && d && u && Z(u, d), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
145
|
+
264 && f && u && R(u, f), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
146
|
+
72 && o && u && T(u, `${o}.Style`);
|
|
147
147
|
}, [
|
|
148
148
|
l,
|
|
149
149
|
c,
|
|
@@ -156,14 +156,14 @@ function it(i, t, e) {
|
|
|
156
156
|
f,
|
|
157
157
|
r,
|
|
158
158
|
n,
|
|
159
|
+
B,
|
|
159
160
|
H,
|
|
160
|
-
L
|
|
161
|
-
q
|
|
161
|
+
L
|
|
162
162
|
];
|
|
163
163
|
}
|
|
164
|
-
class
|
|
164
|
+
class E extends U {
|
|
165
165
|
constructor(t) {
|
|
166
|
-
super(),
|
|
166
|
+
super(), A(
|
|
167
167
|
this,
|
|
168
168
|
t,
|
|
169
169
|
it,
|
|
@@ -217,10 +217,10 @@ class B extends U {
|
|
|
217
217
|
this.$$set({ height: t }), g();
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
|
-
|
|
220
|
+
D(E, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
|
|
221
221
|
const st = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
222
222
|
__proto__: null,
|
|
223
|
-
default:
|
|
223
|
+
default: E
|
|
224
224
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
225
225
|
export {
|
|
226
226
|
st as C,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as O, S as U, b as A,
|
|
1
|
+
import { U as O, S as U, b as A, f as g, c as D, a as F, d as G, A as J, k as W, t as m, p as b, q as N, v as j, x as P, y as R, z as T, e as V, g as y, j as h, J as M, l as C, V as I, u as K, m as Q, o as X, W as S, E as Y, F as v, G as Z } from "./CashierConfirmModal-B8OOtTE_.js";
|
|
2
2
|
function k(i, { delay: t = 0, duration: e = 400, easing: n = O } = {}) {
|
|
3
3
|
const r = +getComputedStyle(i).opacity;
|
|
4
4
|
return {
|
|
@@ -9,7 +9,7 @@ function k(i, { delay: t = 0, duration: e = 400, easing: n = O } = {}) {
|
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
11
|
function $(i) {
|
|
12
|
-
|
|
12
|
+
G(i, "svelte-xb5pyq", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));container-type:inline-size;container-name:modal-window;border-radius:6px}.ModalContainer{background:var(--emw--color-white, #fff);border-radius:var(--emw--border-radius-medium, 4px);padding:var(--emw--spacing-large, 20px);width:400px}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 10px);border-radius:50%;color:var(--emw--color-white, #fff);background:var(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}@container modal-window (max-width:750px){.ModalWindow .ModalContainer{width:90%;max-width:400px}}");
|
|
13
13
|
}
|
|
14
14
|
const tt = (i) => ({}), x = (i) => ({});
|
|
15
15
|
function z(i) {
|
|
@@ -17,7 +17,7 @@ function z(i) {
|
|
|
17
17
|
const f = (
|
|
18
18
|
/*#slots*/
|
|
19
19
|
i[10].content
|
|
20
|
-
), a =
|
|
20
|
+
), a = V(
|
|
21
21
|
f,
|
|
22
22
|
i,
|
|
23
23
|
/*$$scope*/
|
|
@@ -26,13 +26,13 @@ function z(i) {
|
|
|
26
26
|
);
|
|
27
27
|
return {
|
|
28
28
|
c() {
|
|
29
|
-
t = y("div"), e = y("div"), n = y("div"), a && a.c(), h(n, "class", "ModalContainer"), h(n, "part", "ModalContainer"), h(e, "class", "ModalWindow"), h(e, "part", "ModalWindow"), h(e, "id", "Modal"),
|
|
29
|
+
t = y("div"), e = y("div"), n = y("div"), a && a.c(), h(n, "class", "ModalContainer"), h(n, "part", "ModalContainer"), h(e, "class", "ModalWindow"), h(e, "part", "ModalWindow"), h(e, "id", "Modal"), M(() => (
|
|
30
30
|
/*div1_elementresize_handler*/
|
|
31
31
|
i[12].call(e)
|
|
32
32
|
)), h(t, "part", "CustomStylingContainer");
|
|
33
33
|
},
|
|
34
34
|
m(l, c) {
|
|
35
|
-
|
|
35
|
+
W(l, t, c), C(t, e), C(e, n), a && a.m(n, null), i[11](e), r = I(
|
|
36
36
|
e,
|
|
37
37
|
/*div1_elementresize_handler*/
|
|
38
38
|
i[12].bind(e)
|
|
@@ -40,19 +40,19 @@ function z(i) {
|
|
|
40
40
|
},
|
|
41
41
|
p(l, c) {
|
|
42
42
|
i = l, a && a.p && (!d || c & /*$$scope*/
|
|
43
|
-
512) &&
|
|
43
|
+
512) && K(
|
|
44
44
|
a,
|
|
45
45
|
f,
|
|
46
46
|
i,
|
|
47
47
|
/*$$scope*/
|
|
48
48
|
i[9],
|
|
49
|
-
d ?
|
|
49
|
+
d ? X(
|
|
50
50
|
f,
|
|
51
51
|
/*$$scope*/
|
|
52
52
|
i[9],
|
|
53
53
|
c,
|
|
54
54
|
tt
|
|
55
|
-
) :
|
|
55
|
+
) : Q(
|
|
56
56
|
/*$$scope*/
|
|
57
57
|
i[9]
|
|
58
58
|
),
|
|
@@ -60,8 +60,8 @@ function z(i) {
|
|
|
60
60
|
);
|
|
61
61
|
},
|
|
62
62
|
i(l) {
|
|
63
|
-
d || (m(a, l), l &&
|
|
64
|
-
d && (o || (o =
|
|
63
|
+
d || (m(a, l), l && M(() => {
|
|
64
|
+
d && (o || (o = S(
|
|
65
65
|
e,
|
|
66
66
|
k,
|
|
67
67
|
/*duration*/
|
|
@@ -71,7 +71,7 @@ function z(i) {
|
|
|
71
71
|
}), d = !0);
|
|
72
72
|
},
|
|
73
73
|
o(l) {
|
|
74
|
-
b(a, l), l && (o || (o =
|
|
74
|
+
b(a, l), l && (o || (o = S(
|
|
75
75
|
e,
|
|
76
76
|
k,
|
|
77
77
|
/*duration*/
|
|
@@ -80,7 +80,7 @@ function z(i) {
|
|
|
80
80
|
)), o.run(0)), d = !1;
|
|
81
81
|
},
|
|
82
82
|
d(l) {
|
|
83
|
-
l &&
|
|
83
|
+
l && j(t), a && a.d(l), i[11](null), r(), l && o && o.end(), i[13](null);
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
}
|
|
@@ -94,14 +94,14 @@ function et(i) {
|
|
|
94
94
|
n && n.c(), t = J();
|
|
95
95
|
},
|
|
96
96
|
m(r, o) {
|
|
97
|
-
n && n.m(r, o),
|
|
97
|
+
n && n.m(r, o), W(r, t, o), e = !0;
|
|
98
98
|
},
|
|
99
99
|
p(r, [o]) {
|
|
100
100
|
/*show*/
|
|
101
101
|
r[5] ? n ? (n.p(r, o), o & /*show*/
|
|
102
|
-
32 && m(n, 1)) : (n = z(r), n.c(), m(n, 1), n.m(t.parentNode, t)) : n && (
|
|
102
|
+
32 && m(n, 1)) : (n = z(r), n.c(), m(n, 1), n.m(t.parentNode, t)) : n && (Y(), b(n, 1, 1, () => {
|
|
103
103
|
n = null;
|
|
104
|
-
}),
|
|
104
|
+
}), N());
|
|
105
105
|
},
|
|
106
106
|
i(r) {
|
|
107
107
|
e || (m(n), e = !0);
|
|
@@ -110,26 +110,26 @@ function et(i) {
|
|
|
110
110
|
b(n), e = !1;
|
|
111
111
|
},
|
|
112
112
|
d(r) {
|
|
113
|
-
r &&
|
|
113
|
+
r && j(t), n && n.d(r);
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
function it(i, t, e) {
|
|
118
118
|
let { $$slots: n = {}, $$scope: r } = t, { mbsource: o } = t, { clientstyling: d } = t, { clientstylingurl: f } = t, { duration: a = 200 } = t, { width: l } = t, { height: c } = t, _, u, w = !1;
|
|
119
|
-
const
|
|
119
|
+
const q = () => {
|
|
120
120
|
e(5, w = !1), window.postMessage({ type: "ClosedCashierModal" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
121
121
|
}, p = (s) => {
|
|
122
|
-
s.data.type == "ShowCashierModal" && (e(5, w = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), s.data.type == "HideCashierModal" &&
|
|
122
|
+
s.data.type == "ShowCashierModal" && (e(5, w = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), s.data.type == "HideCashierModal" && q();
|
|
123
123
|
};
|
|
124
|
-
|
|
124
|
+
P(() => (window.addEventListener("message", p, !1), () => {
|
|
125
125
|
window.removeEventListener("message", p);
|
|
126
126
|
}));
|
|
127
|
-
function
|
|
127
|
+
function B(s) {
|
|
128
128
|
v[s ? "unshift" : "push"](() => {
|
|
129
129
|
_ = s, e(4, _);
|
|
130
130
|
});
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function H() {
|
|
133
133
|
l = this.clientWidth, c = this.clientHeight, e(0, l), e(1, c);
|
|
134
134
|
}
|
|
135
135
|
function L(s) {
|
|
@@ -141,9 +141,9 @@ function it(i, t, e) {
|
|
|
141
141
|
"mbsource" in s && e(6, o = s.mbsource), "clientstyling" in s && e(7, d = s.clientstyling), "clientstylingurl" in s && e(8, f = s.clientstylingurl), "duration" in s && e(2, a = s.duration), "width" in s && e(0, l = s.width), "height" in s && e(1, c = s.height), "$$scope" in s && e(9, r = s.$$scope);
|
|
142
142
|
}, i.$$.update = () => {
|
|
143
143
|
i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
144
|
-
136 && d && u &&
|
|
145
|
-
264 && f && u &&
|
|
146
|
-
72 && o && u &&
|
|
144
|
+
136 && d && u && Z(u, d), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
145
|
+
264 && f && u && R(u, f), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
146
|
+
72 && o && u && T(u, `${o}.Style`);
|
|
147
147
|
}, [
|
|
148
148
|
l,
|
|
149
149
|
c,
|
|
@@ -156,8 +156,8 @@ function it(i, t, e) {
|
|
|
156
156
|
f,
|
|
157
157
|
r,
|
|
158
158
|
n,
|
|
159
|
-
q,
|
|
160
159
|
B,
|
|
160
|
+
H,
|
|
161
161
|
L
|
|
162
162
|
];
|
|
163
163
|
}
|
|
@@ -168,7 +168,7 @@ class E extends U {
|
|
|
168
168
|
t,
|
|
169
169
|
it,
|
|
170
170
|
et,
|
|
171
|
-
|
|
171
|
+
F,
|
|
172
172
|
{
|
|
173
173
|
mbsource: 6,
|
|
174
174
|
clientstyling: 7,
|
|
@@ -217,7 +217,7 @@ class E extends U {
|
|
|
217
217
|
this.$$set({ height: t }), g();
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
|
-
|
|
220
|
+
D(E, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
|
|
221
221
|
const st = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
222
222
|
__proto__: null,
|
|
223
223
|
default: E
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { S as C, b as v,
|
|
2
|
-
function
|
|
1
|
+
import { S as C, b as v, f as d, c as _, a as k, d as N, g as h, B as b, h as z, j as S, k as E, l as f, D as L, C as p, n as x, v as M, F as T } from "./CashierConfirmModal-B8OOtTE_.js";
|
|
2
|
+
function B(n) {
|
|
3
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
|
|
5
|
+
function F(n) {
|
|
6
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 = b(
|
|
10
10
|
/*text*/
|
|
11
11
|
n[0]
|
|
12
|
-
), u =
|
|
12
|
+
), u = z(), l = h("button"), a = b(
|
|
13
13
|
/*button*/
|
|
14
14
|
n[1]
|
|
15
|
-
),
|
|
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), n[6](t), i || (m = L(
|
|
19
19
|
l,
|
|
20
20
|
"click",
|
|
21
21
|
/*notificationClick*/
|
|
@@ -35,10 +35,10 @@ function B(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), n[6](null), i = !1, m();
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
}
|
|
@@ -61,7 +61,7 @@ function H(n, t, s) {
|
|
|
61
61
|
});
|
|
62
62
|
};
|
|
63
63
|
function w(e) {
|
|
64
|
-
|
|
64
|
+
T[e ? "unshift" : "push"](() => {
|
|
65
65
|
i = e, s(2, i);
|
|
66
66
|
});
|
|
67
67
|
}
|
|
@@ -87,15 +87,15 @@ class R extends C {
|
|
|
87
87
|
this,
|
|
88
88
|
t,
|
|
89
89
|
H,
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
F,
|
|
91
|
+
k,
|
|
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
|
+
_(R, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
127
|
export {
|
|
128
128
|
R as default
|
|
129
129
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { S as C, b as v,
|
|
2
|
-
function
|
|
1
|
+
import { S as C, b as v, f as d, c as _, a as k, d as N, g as h, B as b, h as z, j as S, k as E, l as f, D as L, C as p, n as x, v as M, F as T } from "./CashierConfirmModal-IR_fdiwt.js";
|
|
2
|
+
function B(n) {
|
|
3
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
|
|
5
|
+
function F(n) {
|
|
6
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 = b(
|
|
10
10
|
/*text*/
|
|
11
11
|
n[0]
|
|
12
|
-
), u =
|
|
12
|
+
), u = z(), l = h("button"), a = b(
|
|
13
13
|
/*button*/
|
|
14
14
|
n[1]
|
|
15
|
-
),
|
|
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), n[6](t), i || (m = L(
|
|
19
19
|
l,
|
|
20
20
|
"click",
|
|
21
21
|
/*notificationClick*/
|
|
@@ -35,10 +35,10 @@ function B(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), n[6](null), i = !1, m();
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
}
|
|
@@ -61,7 +61,7 @@ function H(n, t, s) {
|
|
|
61
61
|
});
|
|
62
62
|
};
|
|
63
63
|
function w(e) {
|
|
64
|
-
|
|
64
|
+
T[e ? "unshift" : "push"](() => {
|
|
65
65
|
i = e, s(2, i);
|
|
66
66
|
});
|
|
67
67
|
}
|
|
@@ -87,15 +87,15 @@ class R extends C {
|
|
|
87
87
|
this,
|
|
88
88
|
t,
|
|
89
89
|
H,
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
F,
|
|
91
|
+
k,
|
|
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
|
+
_(R, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
127
|
export {
|
|
128
128
|
R as default
|
|
129
129
|
};
|