@everymatrix/cashier-page 1.98.28 → 1.98.30
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-CIrhQ1F1.js → CashierCarousel-3bBExAfX.js} +160 -136
- package/components/{CashierCarousel-CibDHVzx.js → CashierCarousel-C0iOhcfu.js} +166 -142
- package/components/CashierCarousel-DACE1tKH.cjs +1 -0
- package/components/{CashierError-ulLnVgQF.js → CashierError-C2laBAxm.js} +282 -178
- package/components/{CashierError-BgzGU74G.js → CashierError-CE7_mcoB.js} +282 -178
- package/components/{CashierError-DhQtatzN.cjs → CashierError-D5O8VRb7.cjs} +1 -1
- package/components/{CashierHeader-CnMNnCMA.js → CashierHeader-C1q5WV57.js} +144 -130
- package/components/CashierHeader-CHEzsRF0.cjs +1 -0
- package/components/{CashierHeader-CyXIVUoS.js → CashierHeader-Dm7TURe3.js} +144 -130
- package/components/{CashierIframeRedirect-BUy5m6fN.js → CashierIframeRedirect-C77nD3AG.js} +38 -32
- package/components/{CashierIframeRedirect-DOCts-eZ.js → CashierIframeRedirect-CbkM19jX.js} +38 -32
- package/components/CashierIframeRedirect-CnDLsDYN.cjs +1 -0
- package/components/{CashierMethodDetails-B-klrcoA.js → CashierMethodDetails-CmCUjtZZ.js} +1500 -1304
- package/components/{CashierMethodDetails-DmHKHr2M.cjs → CashierMethodDetails-DcHxycYB.cjs} +4 -4
- package/components/{CashierMethodDetails-BHGrCcE3.js → CashierMethodDetails-g-EHhr4t.js} +1345 -1149
- package/components/CashierMethodsList-BaUQBBIX.cjs +1 -0
- package/components/{CashierMethodsList-7ACO_YE6.js → CashierMethodsList-DgEtoxRa.js} +152 -128
- package/components/{CashierMethodsList-Cr1BX878.js → CashierMethodsList-kwzWzUdM.js} +136 -112
- package/components/{CashierModal-Ke9TZX5s.js → CashierModal-Bpf1W4TW.js} +2 -2
- package/components/{CashierModal-BdpiH2_j.cjs → CashierModal-D8_Y0ZU6.cjs} +1 -1
- package/components/{CashierModal-4iF9ylQT.js → CashierModal-DfBiGe-Y.js} +2 -2
- package/components/{CashierNotifications-DOZcnn7M.js → CashierNotifications-CXsZaMzr.js} +1 -1
- package/components/{CashierNotifications-BVJkJQAP.js → CashierNotifications-LH8DhGDl.js} +1 -1
- package/components/{CashierNotifications-B_kxAZOz.cjs → CashierNotifications-ZtPfOc6V.cjs} +1 -1
- package/components/CashierPage-BOWMSZ9v.cjs +23 -0
- package/components/{CashierPage-Bz6JgmrH.js → CashierPage-CiyPlHzj.js} +715 -616
- package/components/{CashierPage-DmYelgiN.js → CashierPage-DdCmt2zp.js} +972 -871
- package/components/{CashierReceiptPage-D5PB-1VI.js → CashierReceiptPage-A54bEgRe.js} +567 -381
- package/components/{CashierReceiptPage-CEQajL7m.js → CashierReceiptPage-BHkIMd6B.js} +470 -284
- package/components/{CashierReceiptPage-2-P4gA2W.cjs → CashierReceiptPage-CeVo2qP_.cjs} +2 -2
- package/components/{CashierSessionExpirationModal-CePJRUlu.js → CashierSessionExpirationModal-C8EUenjL.js} +141 -125
- package/components/CashierSessionExpirationModal-CT28y-Dy.cjs +2 -0
- package/components/{CashierSessionExpirationModal-BZyLc1_S.js → CashierSessionExpirationModal-DqUoBpXM.js} +141 -125
- package/components/{CashierSpinner-C9Ra-0IT.js → CashierSpinner-B3ab9--E.js} +2 -2
- package/components/{CashierSpinner-BF0PvrCl.cjs → CashierSpinner-DTiIwXJs.cjs} +1 -1
- package/components/{CashierSpinner-CB2IDF99.js → CashierSpinner-xkYSSmKN.js} +2 -2
- package/components/CashierStepUp-C4aK_vrD.cjs +1 -0
- package/components/{CashierStepUp-Ck0xq8Xm.js → CashierStepUp-CgG4aO_s.js} +371 -325
- package/components/{CashierStepUp-B3Ph1OSf.js → CashierStepUp-DNo6sy36.js} +397 -351
- package/components/CashierTransactionHistory-2O9iJlJI.cjs +1 -0
- package/components/{CashierTransactionHistory-D5wsFJEM.js → CashierTransactionHistory-Ca3FNiKJ.js} +522 -472
- package/components/{CashierTransactionHistory-CoTFYN7l.js → CashierTransactionHistory-oApbxEt2.js} +494 -444
- package/components/CashierVerifications-CcDH-3z5.cjs +1 -0
- package/components/{CashierVerifications-BEFmSXtj.js → CashierVerifications-CzTI2EZ4.js} +245 -199
- package/components/{CashierVerifications-CA42knBf.js → CashierVerifications-DR7dYjc4.js} +256 -210
- package/components/{TxnStatusIcon-Bw8L-eXX.js → TxnStatusIcon-Clv1k2Ma.js} +1 -1
- package/components/{TxnStatusIcon-8ewM4ccO.js → TxnStatusIcon-DPf3O_DU.js} +1 -1
- package/components/{TxnStatusIcon-CgTqMiw9.cjs → TxnStatusIcon-i-LsiwNC.cjs} +1 -1
- package/components/{TxnTypeIcons-DhQNGQt2.js → TxnTypeIcons-36d9TALW.js} +1 -1
- package/components/{TxnTypeIcons-2TqkD6dM.cjs → TxnTypeIcons-D4tuuQoe.cjs} +1 -1
- package/components/{TxnTypeIcons-5Ao_1BRX.js → TxnTypeIcons-DYUOz_RG.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-BSgX_-9d.cjs +0 -1
- package/components/CashierCarousel-BSxRIpNj.js +0 -708
- package/components/CashierCarousel-BnsrLQLz.cjs +0 -1
- package/components/CashierCarousel-BsryNC67.js +0 -711
- package/components/CashierCarousel-CLl1dEO0.js +0 -711
- package/components/CashierCarousel-D0dDvgaj.js +0 -708
- package/components/CashierCarousel-DVLQpSbh.js +0 -711
- package/components/CashierCarousel-Dh5Q3q4o.cjs +0 -1
- package/components/CashierCarousel-DucLdPiP.cjs +0 -1
- package/components/CashierCarousel-jiScaw1m.js +0 -708
- package/components/CashierError-B19WWS6q.js +0 -849
- package/components/CashierError-C9QJqSOU.cjs +0 -1
- package/components/CashierError-CJMwmI7N.js +0 -849
- package/components/CashierError-CL9tcScj.js +0 -849
- package/components/CashierError-CpI-ZvDt.js +0 -849
- package/components/CashierError-DY-spTTl.js +0 -849
- package/components/CashierError-f4ZqXuJH.js +0 -849
- package/components/CashierError-mFSpkELc.cjs +0 -1
- package/components/CashierError-nb2MHtLH.cjs +0 -1
- package/components/CashierHeader-9Jv4Zu9U.cjs +0 -1
- package/components/CashierHeader-CmmEk0QP.cjs +0 -1
- package/components/CashierHeader-DA_ReO25.cjs +0 -1
- package/components/CashierHeader-DEksQqYQ.js +0 -477
- package/components/CashierHeader-DwvRD5WU.js +0 -477
- package/components/CashierHeader-J44Qka8M.js +0 -477
- package/components/CashierHeader-SrIA_1me.cjs +0 -1
- package/components/CashierHeader-TK2-BiHl.js +0 -477
- package/components/CashierHeader-jQ2-E617.js +0 -477
- package/components/CashierHeader-vy8HyWPz.js +0 -477
- package/components/CashierIframeRedirect-5s9ZtG-5.cjs +0 -1
- package/components/CashierIframeRedirect-BseB9TAg.js +0 -387
- package/components/CashierIframeRedirect-C2UcYLWG.cjs +0 -1
- package/components/CashierIframeRedirect-CB1_eaMN.cjs +0 -1
- package/components/CashierIframeRedirect-CTHqad7Z.js +0 -387
- package/components/CashierIframeRedirect-CyY79191.js +0 -387
- package/components/CashierIframeRedirect-DdKFPBSa.js +0 -387
- package/components/CashierIframeRedirect-Dhu2OC9A.js +0 -387
- package/components/CashierIframeRedirect-N8QJeLeb.cjs +0 -1
- package/components/CashierIframeRedirect-lM7pHpa9.js +0 -387
- package/components/CashierMethodDetails-BWknB3e7.js +0 -11385
- package/components/CashierMethodDetails-C38oxecJ.js +0 -11821
- package/components/CashierMethodDetails-CEt1JRHd.js +0 -11758
- package/components/CashierMethodDetails-CR-B6W_o.js +0 -11758
- package/components/CashierMethodDetails-CoVztEid.cjs +0 -238
- package/components/CashierMethodDetails-D0FWPJ2H.js +0 -11336
- package/components/CashierMethodDetails-DT4GvTpz.cjs +0 -238
- package/components/CashierMethodDetails-DVnlD9Uk.cjs +0 -85
- package/components/CashierMethodDetails-jCkj4SrI.js +0 -11821
- package/components/CashierMethodsList-BvOniQPF.cjs +0 -1
- package/components/CashierMethodsList-BxvD9zAR.js +0 -969
- package/components/CashierMethodsList-BzQxrxu_.cjs +0 -1
- package/components/CashierMethodsList-CMaD5FXj.js +0 -955
- package/components/CashierMethodsList-C_ldRYq_.js +0 -969
- package/components/CashierMethodsList-Cy2Vsr78.js +0 -955
- package/components/CashierMethodsList-DR3WLcjt.cjs +0 -1
- package/components/CashierMethodsList-DYRS6KJx.cjs +0 -1
- package/components/CashierMethodsList-KXr3hScy.js +0 -955
- package/components/CashierMethodsList-u11i0SYf.js +0 -969
- package/components/CashierModal-B-UWvltM.js +0 -386
- package/components/CashierModal-BitlQX-o.cjs +0 -1
- package/components/CashierModal-C0Xof_AE.js +0 -402
- package/components/CashierModal-CcawnfUI.cjs +0 -1
- package/components/CashierModal-CevNAvJE.js +0 -386
- package/components/CashierModal-DJ3Q9obn.js +0 -402
- package/components/CashierModal-Dsi_oVHh.js +0 -402
- package/components/CashierModal-DwEKUjMK.cjs +0 -1
- package/components/CashierModal-aBGB4ejQ.js +0 -386
- package/components/CashierNotifications-BanZGIkE.js +0 -129
- package/components/CashierNotifications-C2ND2S-i.cjs +0 -1
- package/components/CashierNotifications-CY2B13Wf.js +0 -129
- package/components/CashierNotifications-CyCI6ksG.js +0 -129
- package/components/CashierNotifications-DnmlBB_Q.cjs +0 -1
- package/components/CashierNotifications-DquKOU8w.js +0 -129
- package/components/CashierNotifications-Du8trHf6.js +0 -129
- package/components/CashierNotifications-WS_5AwbR.js +0 -129
- package/components/CashierNotifications-wQG099OX.cjs +0 -1
- package/components/CashierPage-895aolw0.js +0 -10288
- package/components/CashierPage-BKglURO0.js +0 -10233
- package/components/CashierPage-BU42FSzD.js +0 -10307
- package/components/CashierPage-BkADSeGN.cjs +0 -23
- package/components/CashierPage-Bmy89dKm.cjs +0 -23
- package/components/CashierPage-Cdtyq0lf.js +0 -10307
- package/components/CashierPage-DEYpTaJv.cjs +0 -23
- package/components/CashierPage-DYXRnLVw.js +0 -10254
- package/components/CashierPage-TRzKwGkj.cjs +0 -23
- package/components/CashierPage-mGP6lkFv.js +0 -10254
- package/components/CashierReceiptPage-B3cqHXqT.js +0 -2043
- package/components/CashierReceiptPage-BCh5OfiT.cjs +0 -29
- package/components/CashierReceiptPage-BjTVzjuc.js +0 -2063
- package/components/CashierReceiptPage-BoZ2EpUX.cjs +0 -29
- package/components/CashierReceiptPage-CGcmTBRp.js +0 -2063
- package/components/CashierReceiptPage-DNsdCwQQ.js +0 -2043
- package/components/CashierReceiptPage-DWyirru6.js +0 -2063
- package/components/CashierReceiptPage-DkwFQrzl.cjs +0 -29
- package/components/CashierReceiptPage-mvS7a_9t.js +0 -2043
- package/components/CashierSessionExpirationModal-15tJe60J.cjs +0 -2
- package/components/CashierSessionExpirationModal-B0TYP3cY.cjs +0 -2
- package/components/CashierSessionExpirationModal-BrfbbbF-.js +0 -1212
- package/components/CashierSessionExpirationModal-BrhADqF1.js +0 -1212
- package/components/CashierSessionExpirationModal-CIrMZkSD.cjs +0 -2
- package/components/CashierSessionExpirationModal-CY385n9R.js +0 -1212
- package/components/CashierSessionExpirationModal-Cb456WpL.cjs +0 -2
- package/components/CashierSessionExpirationModal-DXVLX-Ja.js +0 -1212
- package/components/CashierSessionExpirationModal-IfrOHdOp.js +0 -1212
- package/components/CashierSessionExpirationModal-i5NfYzNE.js +0 -1212
- package/components/CashierSpinner-BQv2AMHG.js +0 -79
- package/components/CashierSpinner-Bpe0d0oQ.js +0 -79
- package/components/CashierSpinner-BvhJgDvg.js +0 -79
- package/components/CashierSpinner-CFUNSysS.js +0 -79
- package/components/CashierSpinner-CKdmXXKt.cjs +0 -1
- package/components/CashierSpinner-D6D1AmR0.cjs +0 -1
- package/components/CashierSpinner-DrZub22H.js +0 -79
- package/components/CashierSpinner-bOYmQpsr.js +0 -79
- package/components/CashierSpinner-mcvtpHVb.cjs +0 -1
- package/components/CashierStepUp-4fnHnyQH.cjs +0 -1
- package/components/CashierStepUp-CKae09kD.js +0 -1201
- package/components/CashierStepUp-CNHvoNU1.js +0 -1161
- package/components/CashierStepUp-CVfdA9uX.js +0 -1201
- package/components/CashierStepUp-ChUBdlnk.cjs +0 -1
- package/components/CashierStepUp-Cj8xEgHC.js +0 -1264
- package/components/CashierStepUp-DH4pCg7V.cjs +0 -1
- package/components/CashierStepUp-DIQ9DrxX.cjs +0 -1
- package/components/CashierStepUp-DfYWcQde.js +0 -1161
- package/components/CashierStepUp-iS4DfmUJ.js +0 -1304
- package/components/CashierTransactionHistory-B6FzMX9a.js +0 -1415
- package/components/CashierTransactionHistory-B9a9qQjo.js +0 -1415
- package/components/CashierTransactionHistory-BSRmZpn2.cjs +0 -1
- package/components/CashierTransactionHistory-Bkqw8dMT.cjs +0 -1
- package/components/CashierTransactionHistory-C8SSHcED.js +0 -1415
- package/components/CashierTransactionHistory-C9q1W_66.js +0 -1415
- package/components/CashierTransactionHistory-DkPMVofl.js +0 -1415
- package/components/CashierTransactionHistory-DrZj3C3r.cjs +0 -1
- package/components/CashierTransactionHistory-_uQpfmaM.js +0 -1415
- package/components/CashierTransactionHistory-veYBG-Kr.cjs +0 -1
- package/components/CashierVerifications-BI_yu8fO.js +0 -722
- package/components/CashierVerifications-BUuzc2KV.cjs +0 -1
- package/components/CashierVerifications-BZPBsrmc.cjs +0 -1
- package/components/CashierVerifications-Bu-KbeZF.cjs +0 -1
- package/components/CashierVerifications-Bu0ALHD1.js +0 -722
- package/components/CashierVerifications-C3vBxGTw.js +0 -726
- package/components/CashierVerifications-CBtYGTLV.js +0 -726
- package/components/CashierVerifications-CJjMkvTK.js +0 -722
- package/components/CashierVerifications-D692oxDO.js +0 -726
- package/components/CashierVerifications-nyuz_0L4.cjs +0 -1
- package/components/TxnStatusIcon-B6x0tb9z.js +0 -142
- package/components/TxnStatusIcon-B99-DjyY.js +0 -142
- package/components/TxnStatusIcon-BO-jJSDC.js +0 -142
- package/components/TxnStatusIcon-CspMEKjU.cjs +0 -1
- package/components/TxnStatusIcon-DKI_hVK8.cjs +0 -1
- package/components/TxnStatusIcon-ObLzHWKw.cjs +0 -1
- package/components/TxnStatusIcon-T3_oGTiJ.js +0 -142
- package/components/TxnStatusIcon-_ohfqibs.js +0 -142
- package/components/TxnStatusIcon-xhjNtEZS.js +0 -142
- package/components/TxnTypeIcons-BL543vM-.js +0 -101
- package/components/TxnTypeIcons-BxLbK2qP.cjs +0 -1
- package/components/TxnTypeIcons-CM9KOumw.js +0 -101
- package/components/TxnTypeIcons-Cv_QN0g3.js +0 -101
- package/components/TxnTypeIcons-DFX30GCY.js +0 -101
- package/components/TxnTypeIcons-Dv_tv357.js +0 -101
- package/components/TxnTypeIcons-SOn0rg4y.cjs +0 -1
- package/components/TxnTypeIcons-gD4j8VCB.js +0 -101
- package/components/TxnTypeIcons-mX1zqVBL.cjs +0 -1
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { S as C, b as v, s as _, f as d, d as N, z as b, g as k, w as p, l as z, m as f, A as S, n as h, x, o as E, p as L, y as M, c as T } from "./CashierPage-BKglURO0.js";
|
|
2
|
-
function H(n) {
|
|
3
|
-
N(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
|
|
4
|
-
}
|
|
5
|
-
function R(n) {
|
|
6
|
-
let t, s, r, u, l, a, i, m;
|
|
7
|
-
return {
|
|
8
|
-
c() {
|
|
9
|
-
t = h("div"), s = h("span"), r = x(
|
|
10
|
-
/*text*/
|
|
11
|
-
n[0]
|
|
12
|
-
), u = E(), l = h("button"), a = x(
|
|
13
|
-
/*button*/
|
|
14
|
-
n[1]
|
|
15
|
-
), L(t, "class", "CashierNotifications");
|
|
16
|
-
},
|
|
17
|
-
m(o, c) {
|
|
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
|
-
l,
|
|
20
|
-
"click",
|
|
21
|
-
/*notificationClick*/
|
|
22
|
-
n[3]
|
|
23
|
-
), i = !0);
|
|
24
|
-
},
|
|
25
|
-
p(o, [c]) {
|
|
26
|
-
c & /*text*/
|
|
27
|
-
1 && p(
|
|
28
|
-
r,
|
|
29
|
-
/*text*/
|
|
30
|
-
o[0]
|
|
31
|
-
), c & /*button*/
|
|
32
|
-
2 && p(
|
|
33
|
-
a,
|
|
34
|
-
/*button*/
|
|
35
|
-
o[1]
|
|
36
|
-
);
|
|
37
|
-
},
|
|
38
|
-
i: b,
|
|
39
|
-
o: b,
|
|
40
|
-
d(o) {
|
|
41
|
-
o && k(t), n[6](null), i = !1, m();
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function U(n, t, s) {
|
|
46
|
-
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
|
|
47
|
-
const m = () => {
|
|
48
|
-
window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
|
|
49
|
-
}, o = () => {
|
|
50
|
-
let e = document.createElement("style");
|
|
51
|
-
e.innerHTML = l, i.appendChild(e);
|
|
52
|
-
}, c = () => {
|
|
53
|
-
let e = new URL(a), y = document.createElement("style");
|
|
54
|
-
fetch(e.href).then((g) => g.text()).then((g) => {
|
|
55
|
-
y.innerHTML = g, setTimeout(
|
|
56
|
-
() => {
|
|
57
|
-
i.appendChild(y);
|
|
58
|
-
},
|
|
59
|
-
1
|
|
60
|
-
);
|
|
61
|
-
});
|
|
62
|
-
};
|
|
63
|
-
function w(e) {
|
|
64
|
-
M[e ? "unshift" : "push"](() => {
|
|
65
|
-
i = e, s(2, i);
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
return n.$$set = (e) => {
|
|
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
|
-
}, n.$$.update = () => {
|
|
71
|
-
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
72
|
-
20 && l && i && o(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
73
|
-
36 && a && i && c();
|
|
74
|
-
}, [
|
|
75
|
-
r,
|
|
76
|
-
u,
|
|
77
|
-
i,
|
|
78
|
-
m,
|
|
79
|
-
l,
|
|
80
|
-
a,
|
|
81
|
-
w
|
|
82
|
-
];
|
|
83
|
-
}
|
|
84
|
-
class q extends C {
|
|
85
|
-
constructor(t) {
|
|
86
|
-
super(), v(
|
|
87
|
-
this,
|
|
88
|
-
t,
|
|
89
|
-
U,
|
|
90
|
-
R,
|
|
91
|
-
_,
|
|
92
|
-
{
|
|
93
|
-
text: 0,
|
|
94
|
-
button: 1,
|
|
95
|
-
clientstyling: 4,
|
|
96
|
-
clientstylingurl: 5
|
|
97
|
-
},
|
|
98
|
-
H
|
|
99
|
-
);
|
|
100
|
-
}
|
|
101
|
-
get text() {
|
|
102
|
-
return this.$$.ctx[0];
|
|
103
|
-
}
|
|
104
|
-
set text(t) {
|
|
105
|
-
this.$$set({ text: t }), d();
|
|
106
|
-
}
|
|
107
|
-
get button() {
|
|
108
|
-
return this.$$.ctx[1];
|
|
109
|
-
}
|
|
110
|
-
set button(t) {
|
|
111
|
-
this.$$set({ button: t }), d();
|
|
112
|
-
}
|
|
113
|
-
get clientstyling() {
|
|
114
|
-
return this.$$.ctx[4];
|
|
115
|
-
}
|
|
116
|
-
set clientstyling(t) {
|
|
117
|
-
this.$$set({ clientstyling: t }), d();
|
|
118
|
-
}
|
|
119
|
-
get clientstylingurl() {
|
|
120
|
-
return this.$$.ctx[5];
|
|
121
|
-
}
|
|
122
|
-
set clientstylingurl(t) {
|
|
123
|
-
this.$$set({ clientstylingurl: t }), d();
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
|
-
export {
|
|
128
|
-
q as default
|
|
129
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierPage-BkADSeGN.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,a,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),a=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(r,u){t.insert(r,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,a),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(r,[u]){u&1&&t.set_data(c,r[0]),u&2&&t.set_data(a,r[1])},i:t.noop,o:t.noop,d(r){r&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},r=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(a),g=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{g.innerHTML=m,setTimeout(()=>{l.appendChild(g)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&r(),i.$$.dirty&36&&a&&l&&u()},[c,f,l,d,o,a,p]}class h extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(h,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=h;
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { S as C, b as v, s as _, f as d, c as k, y as b, e as N, v as p, k as z, l as f, z as S, m as h, w as x, n as E, o as L, x as M, A as T } from "./CashierPage-895aolw0.js";
|
|
2
|
-
function H(n) {
|
|
3
|
-
k(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
|
|
4
|
-
}
|
|
5
|
-
function R(n) {
|
|
6
|
-
let t, s, r, u, l, a, i, m;
|
|
7
|
-
return {
|
|
8
|
-
c() {
|
|
9
|
-
t = h("div"), s = h("span"), r = x(
|
|
10
|
-
/*text*/
|
|
11
|
-
n[0]
|
|
12
|
-
), u = E(), l = h("button"), a = x(
|
|
13
|
-
/*button*/
|
|
14
|
-
n[1]
|
|
15
|
-
), L(t, "class", "CashierNotifications");
|
|
16
|
-
},
|
|
17
|
-
m(o, c) {
|
|
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
|
-
l,
|
|
20
|
-
"click",
|
|
21
|
-
/*notificationClick*/
|
|
22
|
-
n[3]
|
|
23
|
-
), i = !0);
|
|
24
|
-
},
|
|
25
|
-
p(o, [c]) {
|
|
26
|
-
c & /*text*/
|
|
27
|
-
1 && p(
|
|
28
|
-
r,
|
|
29
|
-
/*text*/
|
|
30
|
-
o[0]
|
|
31
|
-
), c & /*button*/
|
|
32
|
-
2 && p(
|
|
33
|
-
a,
|
|
34
|
-
/*button*/
|
|
35
|
-
o[1]
|
|
36
|
-
);
|
|
37
|
-
},
|
|
38
|
-
i: b,
|
|
39
|
-
o: b,
|
|
40
|
-
d(o) {
|
|
41
|
-
o && N(t), n[6](null), i = !1, m();
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function U(n, t, s) {
|
|
46
|
-
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
|
|
47
|
-
const m = () => {
|
|
48
|
-
window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
|
|
49
|
-
}, o = () => {
|
|
50
|
-
let e = document.createElement("style");
|
|
51
|
-
e.innerHTML = l, i.appendChild(e);
|
|
52
|
-
}, c = () => {
|
|
53
|
-
let e = new URL(a), y = document.createElement("style");
|
|
54
|
-
fetch(e.href).then((g) => g.text()).then((g) => {
|
|
55
|
-
y.innerHTML = g, setTimeout(
|
|
56
|
-
() => {
|
|
57
|
-
i.appendChild(y);
|
|
58
|
-
},
|
|
59
|
-
1
|
|
60
|
-
);
|
|
61
|
-
});
|
|
62
|
-
};
|
|
63
|
-
function w(e) {
|
|
64
|
-
M[e ? "unshift" : "push"](() => {
|
|
65
|
-
i = e, s(2, i);
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
return n.$$set = (e) => {
|
|
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
|
-
}, n.$$.update = () => {
|
|
71
|
-
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
72
|
-
20 && l && i && o(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
73
|
-
36 && a && i && c();
|
|
74
|
-
}, [
|
|
75
|
-
r,
|
|
76
|
-
u,
|
|
77
|
-
i,
|
|
78
|
-
m,
|
|
79
|
-
l,
|
|
80
|
-
a,
|
|
81
|
-
w
|
|
82
|
-
];
|
|
83
|
-
}
|
|
84
|
-
class q extends C {
|
|
85
|
-
constructor(t) {
|
|
86
|
-
super(), v(
|
|
87
|
-
this,
|
|
88
|
-
t,
|
|
89
|
-
U,
|
|
90
|
-
R,
|
|
91
|
-
_,
|
|
92
|
-
{
|
|
93
|
-
text: 0,
|
|
94
|
-
button: 1,
|
|
95
|
-
clientstyling: 4,
|
|
96
|
-
clientstylingurl: 5
|
|
97
|
-
},
|
|
98
|
-
H
|
|
99
|
-
);
|
|
100
|
-
}
|
|
101
|
-
get text() {
|
|
102
|
-
return this.$$.ctx[0];
|
|
103
|
-
}
|
|
104
|
-
set text(t) {
|
|
105
|
-
this.$$set({ text: t }), d();
|
|
106
|
-
}
|
|
107
|
-
get button() {
|
|
108
|
-
return this.$$.ctx[1];
|
|
109
|
-
}
|
|
110
|
-
set button(t) {
|
|
111
|
-
this.$$set({ button: t }), d();
|
|
112
|
-
}
|
|
113
|
-
get clientstyling() {
|
|
114
|
-
return this.$$.ctx[4];
|
|
115
|
-
}
|
|
116
|
-
set clientstyling(t) {
|
|
117
|
-
this.$$set({ clientstyling: t }), d();
|
|
118
|
-
}
|
|
119
|
-
get clientstylingurl() {
|
|
120
|
-
return this.$$.ctx[5];
|
|
121
|
-
}
|
|
122
|
-
set clientstylingurl(t) {
|
|
123
|
-
this.$$set({ clientstylingurl: t }), d();
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
|
-
export {
|
|
128
|
-
q as default
|
|
129
|
-
};
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { S as C, b as v, s as _, f as d, c as k, y as b, e as N, v as p, k as z, l as f, z as S, m as h, w as x, n as E, o as L, x as M, A as T } from "./CashierPage-BU42FSzD.js";
|
|
2
|
-
function H(n) {
|
|
3
|
-
k(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
|
|
4
|
-
}
|
|
5
|
-
function R(n) {
|
|
6
|
-
let t, s, r, u, l, a, i, m;
|
|
7
|
-
return {
|
|
8
|
-
c() {
|
|
9
|
-
t = h("div"), s = h("span"), r = x(
|
|
10
|
-
/*text*/
|
|
11
|
-
n[0]
|
|
12
|
-
), u = E(), l = h("button"), a = x(
|
|
13
|
-
/*button*/
|
|
14
|
-
n[1]
|
|
15
|
-
), L(t, "class", "CashierNotifications");
|
|
16
|
-
},
|
|
17
|
-
m(o, c) {
|
|
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
|
-
l,
|
|
20
|
-
"click",
|
|
21
|
-
/*notificationClick*/
|
|
22
|
-
n[3]
|
|
23
|
-
), i = !0);
|
|
24
|
-
},
|
|
25
|
-
p(o, [c]) {
|
|
26
|
-
c & /*text*/
|
|
27
|
-
1 && p(
|
|
28
|
-
r,
|
|
29
|
-
/*text*/
|
|
30
|
-
o[0]
|
|
31
|
-
), c & /*button*/
|
|
32
|
-
2 && p(
|
|
33
|
-
a,
|
|
34
|
-
/*button*/
|
|
35
|
-
o[1]
|
|
36
|
-
);
|
|
37
|
-
},
|
|
38
|
-
i: b,
|
|
39
|
-
o: b,
|
|
40
|
-
d(o) {
|
|
41
|
-
o && N(t), n[6](null), i = !1, m();
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function U(n, t, s) {
|
|
46
|
-
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
|
|
47
|
-
const m = () => {
|
|
48
|
-
window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
|
|
49
|
-
}, o = () => {
|
|
50
|
-
let e = document.createElement("style");
|
|
51
|
-
e.innerHTML = l, i.appendChild(e);
|
|
52
|
-
}, c = () => {
|
|
53
|
-
let e = new URL(a), y = document.createElement("style");
|
|
54
|
-
fetch(e.href).then((g) => g.text()).then((g) => {
|
|
55
|
-
y.innerHTML = g, setTimeout(
|
|
56
|
-
() => {
|
|
57
|
-
i.appendChild(y);
|
|
58
|
-
},
|
|
59
|
-
1
|
|
60
|
-
);
|
|
61
|
-
});
|
|
62
|
-
};
|
|
63
|
-
function w(e) {
|
|
64
|
-
M[e ? "unshift" : "push"](() => {
|
|
65
|
-
i = e, s(2, i);
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
return n.$$set = (e) => {
|
|
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
|
-
}, n.$$.update = () => {
|
|
71
|
-
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
72
|
-
20 && l && i && o(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
73
|
-
36 && a && i && c();
|
|
74
|
-
}, [
|
|
75
|
-
r,
|
|
76
|
-
u,
|
|
77
|
-
i,
|
|
78
|
-
m,
|
|
79
|
-
l,
|
|
80
|
-
a,
|
|
81
|
-
w
|
|
82
|
-
];
|
|
83
|
-
}
|
|
84
|
-
class q extends C {
|
|
85
|
-
constructor(t) {
|
|
86
|
-
super(), v(
|
|
87
|
-
this,
|
|
88
|
-
t,
|
|
89
|
-
U,
|
|
90
|
-
R,
|
|
91
|
-
_,
|
|
92
|
-
{
|
|
93
|
-
text: 0,
|
|
94
|
-
button: 1,
|
|
95
|
-
clientstyling: 4,
|
|
96
|
-
clientstylingurl: 5
|
|
97
|
-
},
|
|
98
|
-
H
|
|
99
|
-
);
|
|
100
|
-
}
|
|
101
|
-
get text() {
|
|
102
|
-
return this.$$.ctx[0];
|
|
103
|
-
}
|
|
104
|
-
set text(t) {
|
|
105
|
-
this.$$set({ text: t }), d();
|
|
106
|
-
}
|
|
107
|
-
get button() {
|
|
108
|
-
return this.$$.ctx[1];
|
|
109
|
-
}
|
|
110
|
-
set button(t) {
|
|
111
|
-
this.$$set({ button: t }), d();
|
|
112
|
-
}
|
|
113
|
-
get clientstyling() {
|
|
114
|
-
return this.$$.ctx[4];
|
|
115
|
-
}
|
|
116
|
-
set clientstyling(t) {
|
|
117
|
-
this.$$set({ clientstyling: t }), d();
|
|
118
|
-
}
|
|
119
|
-
get clientstylingurl() {
|
|
120
|
-
return this.$$.ctx[5];
|
|
121
|
-
}
|
|
122
|
-
set clientstylingurl(t) {
|
|
123
|
-
this.$$set({ clientstylingurl: t }), d();
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
|
-
export {
|
|
128
|
-
q as default
|
|
129
|
-
};
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { S as C, b as v, s as _, f as d, d as N, z as b, g as k, w as p, l as z, m as f, A as S, n as h, x, o as E, p as L, y as M, c as T } from "./CashierPage-DYXRnLVw.js";
|
|
2
|
-
function H(n) {
|
|
3
|
-
N(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
|
|
4
|
-
}
|
|
5
|
-
function R(n) {
|
|
6
|
-
let t, s, r, u, l, a, i, m;
|
|
7
|
-
return {
|
|
8
|
-
c() {
|
|
9
|
-
t = h("div"), s = h("span"), r = x(
|
|
10
|
-
/*text*/
|
|
11
|
-
n[0]
|
|
12
|
-
), u = E(), l = h("button"), a = x(
|
|
13
|
-
/*button*/
|
|
14
|
-
n[1]
|
|
15
|
-
), L(t, "class", "CashierNotifications");
|
|
16
|
-
},
|
|
17
|
-
m(o, c) {
|
|
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
|
-
l,
|
|
20
|
-
"click",
|
|
21
|
-
/*notificationClick*/
|
|
22
|
-
n[3]
|
|
23
|
-
), i = !0);
|
|
24
|
-
},
|
|
25
|
-
p(o, [c]) {
|
|
26
|
-
c & /*text*/
|
|
27
|
-
1 && p(
|
|
28
|
-
r,
|
|
29
|
-
/*text*/
|
|
30
|
-
o[0]
|
|
31
|
-
), c & /*button*/
|
|
32
|
-
2 && p(
|
|
33
|
-
a,
|
|
34
|
-
/*button*/
|
|
35
|
-
o[1]
|
|
36
|
-
);
|
|
37
|
-
},
|
|
38
|
-
i: b,
|
|
39
|
-
o: b,
|
|
40
|
-
d(o) {
|
|
41
|
-
o && k(t), n[6](null), i = !1, m();
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function U(n, t, s) {
|
|
46
|
-
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
|
|
47
|
-
const m = () => {
|
|
48
|
-
window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
|
|
49
|
-
}, o = () => {
|
|
50
|
-
let e = document.createElement("style");
|
|
51
|
-
e.innerHTML = l, i.appendChild(e);
|
|
52
|
-
}, c = () => {
|
|
53
|
-
let e = new URL(a), y = document.createElement("style");
|
|
54
|
-
fetch(e.href).then((g) => g.text()).then((g) => {
|
|
55
|
-
y.innerHTML = g, setTimeout(
|
|
56
|
-
() => {
|
|
57
|
-
i.appendChild(y);
|
|
58
|
-
},
|
|
59
|
-
1
|
|
60
|
-
);
|
|
61
|
-
});
|
|
62
|
-
};
|
|
63
|
-
function w(e) {
|
|
64
|
-
M[e ? "unshift" : "push"](() => {
|
|
65
|
-
i = e, s(2, i);
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
return n.$$set = (e) => {
|
|
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
|
-
}, n.$$.update = () => {
|
|
71
|
-
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
72
|
-
20 && l && i && o(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
73
|
-
36 && a && i && c();
|
|
74
|
-
}, [
|
|
75
|
-
r,
|
|
76
|
-
u,
|
|
77
|
-
i,
|
|
78
|
-
m,
|
|
79
|
-
l,
|
|
80
|
-
a,
|
|
81
|
-
w
|
|
82
|
-
];
|
|
83
|
-
}
|
|
84
|
-
class q extends C {
|
|
85
|
-
constructor(t) {
|
|
86
|
-
super(), v(
|
|
87
|
-
this,
|
|
88
|
-
t,
|
|
89
|
-
U,
|
|
90
|
-
R,
|
|
91
|
-
_,
|
|
92
|
-
{
|
|
93
|
-
text: 0,
|
|
94
|
-
button: 1,
|
|
95
|
-
clientstyling: 4,
|
|
96
|
-
clientstylingurl: 5
|
|
97
|
-
},
|
|
98
|
-
H
|
|
99
|
-
);
|
|
100
|
-
}
|
|
101
|
-
get text() {
|
|
102
|
-
return this.$$.ctx[0];
|
|
103
|
-
}
|
|
104
|
-
set text(t) {
|
|
105
|
-
this.$$set({ text: t }), d();
|
|
106
|
-
}
|
|
107
|
-
get button() {
|
|
108
|
-
return this.$$.ctx[1];
|
|
109
|
-
}
|
|
110
|
-
set button(t) {
|
|
111
|
-
this.$$set({ button: t }), d();
|
|
112
|
-
}
|
|
113
|
-
get clientstyling() {
|
|
114
|
-
return this.$$.ctx[4];
|
|
115
|
-
}
|
|
116
|
-
set clientstyling(t) {
|
|
117
|
-
this.$$set({ clientstyling: t }), d();
|
|
118
|
-
}
|
|
119
|
-
get clientstylingurl() {
|
|
120
|
-
return this.$$.ctx[5];
|
|
121
|
-
}
|
|
122
|
-
set clientstylingurl(t) {
|
|
123
|
-
this.$$set({ clientstylingurl: t }), d();
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
|
-
export {
|
|
128
|
-
q as default
|
|
129
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierPage-DEYpTaJv.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,a,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),a=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(r,u){t.insert(r,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,a),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(r,[u]){u&1&&t.set_data(c,r[0]),u&2&&t.set_data(a,r[1])},i:t.noop,o:t.noop,d(r){r&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},r=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(a),g=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{g.innerHTML=m,setTimeout(()=>{l.appendChild(g)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&r(),i.$$.dirty&36&&a&&l&&u()},[c,f,l,d,o,a,p]}class h extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(h,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=h;
|