@everymatrix/cashier-page 1.93.82 → 1.93.151
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-BSxG-xai.cjs +1 -0
- package/components/CashierCarousel-CaSLwSQZ.js +711 -0
- package/components/CashierCarousel-hhzygSIh.js +708 -0
- package/components/CashierError-8nBQ12Ro.cjs +1 -0
- package/components/{CashierError-Dl1PsAvl.js → CashierError-CUmyB5lN.js} +15 -14
- package/components/{CashierError-BtMqsFpr.js → CashierError-ChfgU3dy.js} +15 -14
- package/components/CashierHeader-Cxg2Bbwv.cjs +1 -0
- package/components/CashierHeader-CztzLdMZ.js +477 -0
- package/components/CashierHeader-LzICktCn.js +477 -0
- package/components/{CashierIframeRedirect-B_XLllRU.js → CashierIframeRedirect-Cmjb6V8k.js} +79 -94
- package/components/{CashierIframeRedirect-wYvtOAcP.js → CashierIframeRedirect-DPrxcEUI.js} +75 -90
- package/components/CashierIframeRedirect-DhxaD3C-.cjs +1 -0
- package/components/CashierMethodDetails-BtSiMmg9.cjs +85 -0
- package/components/{CashierMethodDetails-wGMBuOxy.js → CashierMethodDetails-DSPP4Q1p.js} +3188 -3495
- package/components/{CashierMethodDetails-DaD697V7.js → CashierMethodDetails-JcREkr2L.js} +3455 -3770
- package/components/{CashierMethodsList-B4UpzKsn.js → CashierMethodsList-0LyVXgQ0.js} +80 -88
- package/components/{CashierMethodsList-B_aSe6bW.js → CashierMethodsList-Cw44onHK.js} +89 -97
- package/components/CashierMethodsList-DDdnWCVs.cjs +1 -0
- package/components/{CashierModal-DmFWYYBv.js → CashierModal-BWJqiuUm.js} +35 -34
- package/components/CashierModal-CbW-aJRp.cjs +1 -0
- package/components/{CashierModal-Dbo2y6I0.js → CashierModal-Cx16xGm6.js} +53 -52
- package/components/{CashierNotifications-CCfHWtui.js → CashierNotifications-BNacIn3G.js} +27 -27
- package/components/{CashierNotifications-BF72AddE.js → CashierNotifications-CGPpJwPT.js} +29 -29
- package/components/CashierNotifications-COhg-R-t.cjs +1 -0
- package/components/CashierPage-BHPTJcjL.js +10233 -0
- package/components/CashierPage-CYk7P-lY.js +10286 -0
- package/components/CashierPage-DoQEkSE2.cjs +23 -0
- package/components/CashierReceiptPage-DQlDMGoG.cjs +29 -0
- package/components/{CashierReceiptPage-Dv62xfX7.js → CashierReceiptPage-DnxAMr9D.js} +56 -57
- package/components/{CashierReceiptPage-BrGb_Hvr.js → CashierReceiptPage-IKLG5tQV.js} +49 -50
- package/components/{CashierSessionExpirationModal-BGyMfsOA.js → CashierSessionExpirationModal-BubeLoKh.js} +58 -59
- package/components/{CashierSessionExpirationModal-93K5YDe6.js → CashierSessionExpirationModal-C_2xlICF.js} +58 -59
- package/components/CashierSessionExpirationModal-DmrmH2xx.cjs +2 -0
- package/components/{CashierSpinner-BJI9qezE.js → CashierSpinner-B_Ey78yx.js} +15 -14
- package/components/CashierSpinner-BlRqsMug.cjs +1 -0
- package/components/{CashierSpinner-DOUYOomg.js → CashierSpinner-CwcwkjeV.js} +19 -18
- package/components/{CashierStepUp-C3MjcoUT.js → CashierStepUp-CSBqoOrt.js} +7 -6
- package/components/CashierStepUp-DVXV10Vd.cjs +1 -0
- package/components/{CashierStepUp-NMJhP_y_.js → CashierStepUp-f4sFTU4l.js} +48 -47
- package/components/{CashierTransactionHistory-D-ILp63Z.js → CashierTransactionHistory-1SskkrpF.js} +53 -54
- package/components/{CashierTransactionHistory-CgTMpzNV.js → CashierTransactionHistory-BMYFeuL5.js} +53 -54
- package/components/CashierTransactionHistory-DlID7rkA.cjs +1 -0
- package/components/{CashierVerifications-G7kq70X5.js → CashierVerifications-BjpOrTTp.js} +148 -132
- package/components/{CashierVerifications-C0epXYG7.js → CashierVerifications-Dp5nS2oy.js} +155 -139
- package/components/CashierVerifications-truLPmcH.cjs +1 -0
- package/components/{TxnStatusIcon-DbrDCliI.js → TxnStatusIcon-BNxmTC8i.js} +12 -12
- package/components/TxnStatusIcon-CNarrbiO.cjs +1 -0
- package/components/{TxnStatusIcon-z17R4Qdy.js → TxnStatusIcon-DyCxSWXD.js} +1 -1
- package/components/{TxnTypeIcons-DA4xjdSc.js → TxnTypeIcons-D0Vb7S38.js} +1 -1
- package/components/TxnTypeIcons-DFWcjK5-.cjs +1 -0
- package/components/{TxnTypeIcons-_jm1frsR.js → TxnTypeIcons-Dtk3rc1Y.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-B0fVKMjP.js +0 -5871
- package/components/CashierCarousel-BekweMPA.cjs +0 -23
- package/components/CashierCarousel-BtKQtzdv.js +0 -5833
- package/components/CashierError-Co7r_Zm9.cjs +0 -1
- package/components/CashierHeader-BPxfHV7O.js +0 -418
- package/components/CashierHeader-BfBH2bp5.js +0 -418
- package/components/CashierHeader-CCqfqjfy.cjs +0 -1
- package/components/CashierIframeRedirect-BjtL1epU.cjs +0 -1
- package/components/CashierMethodDetails-Ctclpkim.cjs +0 -85
- package/components/CashierMethodsList-DW2EatO7.cjs +0 -1
- package/components/CashierModal-D_cTbvqs.cjs +0 -1
- package/components/CashierNotifications-O-t5pi8m.cjs +0 -1
- package/components/CashierPage-B6cpE8nZ.js +0 -4753
- package/components/CashierPage-Bt3cVEtH.js +0 -4787
- package/components/CashierPage-BySSrDh5.cjs +0 -1
- package/components/CashierReceiptPage-tMafTG-d.cjs +0 -29
- package/components/CashierSessionExpirationModal-VHFllEY0.cjs +0 -2
- package/components/CashierSpinner-BNkBVuft.cjs +0 -1
- package/components/CashierStepUp-BFJ7us6S.cjs +0 -1
- package/components/CashierTransactionHistory-D0_sooBa.cjs +0 -1
- package/components/CashierVerifications-BnMMvMfo.cjs +0 -1
- package/components/TxnStatusIcon-BcQgw6kQ.cjs +0 -1
- package/components/TxnTypeIcons-keA0IcNM.cjs +0 -1
|
@@ -0,0 +1,477 @@
|
|
|
1
|
+
import { a as tt, i as et, $ as st, S as nt, b as it, f as b, s as lt, c as ot, d as at, e as S, g as p, t as B, h as L, u as v, j as H, k as T, l as C, m as M, n as y, o as O, p as k, q as rt, r as ct, v as I, w as ut, x as ft, y as ht, z as q, A as G, B as dt } from "./CashierPage-BHPTJcjL.js";
|
|
2
|
+
function R(s, t) {
|
|
3
|
+
tt(s, t);
|
|
4
|
+
}
|
|
5
|
+
function gt(s) {
|
|
6
|
+
et({
|
|
7
|
+
fallbackLocale: "en"
|
|
8
|
+
}), st.set(s);
|
|
9
|
+
}
|
|
10
|
+
const z = {
|
|
11
|
+
en: {
|
|
12
|
+
header: {
|
|
13
|
+
general: "Cashier",
|
|
14
|
+
deposit: "Deposit",
|
|
15
|
+
withdraw: "Withdraw"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
tr: {
|
|
19
|
+
header: {
|
|
20
|
+
general: "Cashier",
|
|
21
|
+
deposit: "Para Yatır",
|
|
22
|
+
withdraw: "Çekim"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
fr: {
|
|
26
|
+
header: {
|
|
27
|
+
general: "Caisse",
|
|
28
|
+
deposit: "Dépôt",
|
|
29
|
+
withdraw: "Retrait"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
da: {
|
|
33
|
+
header: {
|
|
34
|
+
general: "Kasse",
|
|
35
|
+
deposit: "Indbetaling",
|
|
36
|
+
withdraw: "Udbetaling"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
de: {
|
|
40
|
+
header: {
|
|
41
|
+
general: "Kasse",
|
|
42
|
+
deposit: "Einzahlung",
|
|
43
|
+
withdraw: "Auszahlung"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
nl: {
|
|
47
|
+
header: {
|
|
48
|
+
general: "Kassa",
|
|
49
|
+
deposit: "Storting",
|
|
50
|
+
withdraw: "Opname"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}, m = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
54
|
+
function wt(s, t) {
|
|
55
|
+
if (s) {
|
|
56
|
+
const e = document.createElement("style");
|
|
57
|
+
e.innerHTML = t, s.appendChild(e);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
function _t(s, t) {
|
|
61
|
+
if (!s || !t)
|
|
62
|
+
return;
|
|
63
|
+
const e = new URL(t);
|
|
64
|
+
fetch(e.href).then((i) => i.text()).then((i) => {
|
|
65
|
+
const n = document.createElement("style");
|
|
66
|
+
n.innerHTML = i, s && s.appendChild(n);
|
|
67
|
+
}).catch((i) => {
|
|
68
|
+
console.error("There was an error while trying to load client styling from URL", i);
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
function bt(s, t, e, i = !1) {
|
|
72
|
+
if (!window.emMessageBus)
|
|
73
|
+
return;
|
|
74
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !i)
|
|
75
|
+
return e = mt(s, t), e;
|
|
76
|
+
window[m] || (window[m] = {}), e = pt(s, t);
|
|
77
|
+
const a = e.unsubscribe.bind(e), h = () => {
|
|
78
|
+
if (window[m][t]) {
|
|
79
|
+
const r = window[m][t];
|
|
80
|
+
r.refCount > 1 ? r.refCount = r.refCount - 1 : delete window[m][t];
|
|
81
|
+
}
|
|
82
|
+
a();
|
|
83
|
+
};
|
|
84
|
+
return e.unsubscribe = h, e;
|
|
85
|
+
}
|
|
86
|
+
function mt(s, t) {
|
|
87
|
+
const e = document.createElement("style");
|
|
88
|
+
return window.emMessageBus.subscribe(t, (i) => {
|
|
89
|
+
s && (e.innerHTML = i, s.appendChild(e));
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
function pt(s, t) {
|
|
93
|
+
return window.emMessageBus.subscribe(t, (e) => {
|
|
94
|
+
if (!s)
|
|
95
|
+
return;
|
|
96
|
+
const i = s.getRootNode(), n = window[m];
|
|
97
|
+
let a = n[t] && n[t].sheet;
|
|
98
|
+
a ? n[t].refCount = n[t].refCount + 1 : (a = new CSSStyleSheet(), a.replaceSync(e), n[t] = {
|
|
99
|
+
sheet: a,
|
|
100
|
+
refCount: 1
|
|
101
|
+
});
|
|
102
|
+
const h = i.adoptedStyleSheets || [];
|
|
103
|
+
h.includes(a) || (i.adoptedStyleSheets = [...h, a]);
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
function Ct(s) {
|
|
107
|
+
at(s, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
|
|
108
|
+
}
|
|
109
|
+
const yt = (s) => ({}), N = (s) => ({}), kt = (s) => ({}), U = (s) => ({}), St = (s) => ({}), x = (s) => ({});
|
|
110
|
+
function D(s) {
|
|
111
|
+
let t, e, i;
|
|
112
|
+
return {
|
|
113
|
+
c() {
|
|
114
|
+
t = y("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>', k(t, "class", "CashierHeaderLeftButton");
|
|
115
|
+
},
|
|
116
|
+
m(n, a) {
|
|
117
|
+
C(n, t, a), e || (i = G(
|
|
118
|
+
t,
|
|
119
|
+
"click",
|
|
120
|
+
/*back*/
|
|
121
|
+
s[6]
|
|
122
|
+
), e = !0);
|
|
123
|
+
},
|
|
124
|
+
p: q,
|
|
125
|
+
d(n) {
|
|
126
|
+
n && p(t), e = !1, i();
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
function Bt(s) {
|
|
131
|
+
let t, e = (
|
|
132
|
+
/*backButton*/
|
|
133
|
+
s[1] && D(s)
|
|
134
|
+
);
|
|
135
|
+
return {
|
|
136
|
+
c() {
|
|
137
|
+
e && e.c(), t = I();
|
|
138
|
+
},
|
|
139
|
+
m(i, n) {
|
|
140
|
+
e && e.m(i, n), C(i, t, n);
|
|
141
|
+
},
|
|
142
|
+
p(i, n) {
|
|
143
|
+
/*backButton*/
|
|
144
|
+
i[1] ? e ? e.p(i, n) : (e = D(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
145
|
+
},
|
|
146
|
+
d(i) {
|
|
147
|
+
i && p(t), e && e.d(i);
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
function Lt(s) {
|
|
152
|
+
let t, e = (
|
|
153
|
+
/*$_*/
|
|
154
|
+
s[4](
|
|
155
|
+
/*titleText*/
|
|
156
|
+
s[2]
|
|
157
|
+
) + ""
|
|
158
|
+
), i;
|
|
159
|
+
return {
|
|
160
|
+
c() {
|
|
161
|
+
t = y("span"), i = ft(e), k(t, "class", "CashierHeaderTitle");
|
|
162
|
+
},
|
|
163
|
+
m(n, a) {
|
|
164
|
+
C(n, t, a), M(t, i);
|
|
165
|
+
},
|
|
166
|
+
p(n, a) {
|
|
167
|
+
a & /*$_, titleText*/
|
|
168
|
+
20 && e !== (e = /*$_*/
|
|
169
|
+
n[4](
|
|
170
|
+
/*titleText*/
|
|
171
|
+
n[2]
|
|
172
|
+
) + "") && ut(i, e);
|
|
173
|
+
},
|
|
174
|
+
d(n) {
|
|
175
|
+
n && p(t);
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
function K(s) {
|
|
180
|
+
let t, e, i;
|
|
181
|
+
return {
|
|
182
|
+
c() {
|
|
183
|
+
t = y("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path 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"></path></svg>', k(t, "class", "CashierHeaderRightButton");
|
|
184
|
+
},
|
|
185
|
+
m(n, a) {
|
|
186
|
+
C(n, t, a), e || (i = G(
|
|
187
|
+
t,
|
|
188
|
+
"click",
|
|
189
|
+
/*close*/
|
|
190
|
+
s[5]
|
|
191
|
+
), e = !0);
|
|
192
|
+
},
|
|
193
|
+
p: q,
|
|
194
|
+
d(n) {
|
|
195
|
+
n && p(t), e = !1, i();
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
function vt(s) {
|
|
200
|
+
let t, e = (
|
|
201
|
+
/*closeButton*/
|
|
202
|
+
s[3] && K(s)
|
|
203
|
+
);
|
|
204
|
+
return {
|
|
205
|
+
c() {
|
|
206
|
+
e && e.c(), t = I();
|
|
207
|
+
},
|
|
208
|
+
m(i, n) {
|
|
209
|
+
e && e.m(i, n), C(i, t, n);
|
|
210
|
+
},
|
|
211
|
+
p(i, n) {
|
|
212
|
+
/*closeButton*/
|
|
213
|
+
i[3] ? e ? e.p(i, n) : (e = K(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
214
|
+
},
|
|
215
|
+
d(i) {
|
|
216
|
+
i && p(t), e && e.d(i);
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
function Ht(s) {
|
|
221
|
+
let t, e, i, n;
|
|
222
|
+
const a = (
|
|
223
|
+
/*#slots*/
|
|
224
|
+
s[16].leftButton
|
|
225
|
+
), h = S(
|
|
226
|
+
a,
|
|
227
|
+
s,
|
|
228
|
+
/*$$scope*/
|
|
229
|
+
s[15],
|
|
230
|
+
x
|
|
231
|
+
), r = h || Bt(s), _ = (
|
|
232
|
+
/*#slots*/
|
|
233
|
+
s[16].title
|
|
234
|
+
), d = S(
|
|
235
|
+
_,
|
|
236
|
+
s,
|
|
237
|
+
/*$$scope*/
|
|
238
|
+
s[15],
|
|
239
|
+
U
|
|
240
|
+
), c = d || Lt(s), g = (
|
|
241
|
+
/*#slots*/
|
|
242
|
+
s[16].rightButton
|
|
243
|
+
), w = S(
|
|
244
|
+
g,
|
|
245
|
+
s,
|
|
246
|
+
/*$$scope*/
|
|
247
|
+
s[15],
|
|
248
|
+
N
|
|
249
|
+
), u = w || vt(s);
|
|
250
|
+
return {
|
|
251
|
+
c() {
|
|
252
|
+
t = y("div"), r && r.c(), e = O(), c && c.c(), i = O(), u && u.c(), k(t, "class", "CashierHeader");
|
|
253
|
+
},
|
|
254
|
+
m(l, f) {
|
|
255
|
+
C(l, t, f), r && r.m(t, null), M(t, e), c && c.m(t, null), M(t, i), u && u.m(t, null), s[17](t), n = !0;
|
|
256
|
+
},
|
|
257
|
+
p(l, [f]) {
|
|
258
|
+
h ? h.p && (!n || f & /*$$scope*/
|
|
259
|
+
32768) && v(
|
|
260
|
+
h,
|
|
261
|
+
a,
|
|
262
|
+
l,
|
|
263
|
+
/*$$scope*/
|
|
264
|
+
l[15],
|
|
265
|
+
n ? T(
|
|
266
|
+
a,
|
|
267
|
+
/*$$scope*/
|
|
268
|
+
l[15],
|
|
269
|
+
f,
|
|
270
|
+
St
|
|
271
|
+
) : H(
|
|
272
|
+
/*$$scope*/
|
|
273
|
+
l[15]
|
|
274
|
+
),
|
|
275
|
+
x
|
|
276
|
+
) : r && r.p && (!n || f & /*backButton*/
|
|
277
|
+
2) && r.p(l, n ? f : -1), d ? d.p && (!n || f & /*$$scope*/
|
|
278
|
+
32768) && v(
|
|
279
|
+
d,
|
|
280
|
+
_,
|
|
281
|
+
l,
|
|
282
|
+
/*$$scope*/
|
|
283
|
+
l[15],
|
|
284
|
+
n ? T(
|
|
285
|
+
_,
|
|
286
|
+
/*$$scope*/
|
|
287
|
+
l[15],
|
|
288
|
+
f,
|
|
289
|
+
kt
|
|
290
|
+
) : H(
|
|
291
|
+
/*$$scope*/
|
|
292
|
+
l[15]
|
|
293
|
+
),
|
|
294
|
+
U
|
|
295
|
+
) : c && c.p && (!n || f & /*$_, titleText*/
|
|
296
|
+
20) && c.p(l, n ? f : -1), w ? w.p && (!n || f & /*$$scope*/
|
|
297
|
+
32768) && v(
|
|
298
|
+
w,
|
|
299
|
+
g,
|
|
300
|
+
l,
|
|
301
|
+
/*$$scope*/
|
|
302
|
+
l[15],
|
|
303
|
+
n ? T(
|
|
304
|
+
g,
|
|
305
|
+
/*$$scope*/
|
|
306
|
+
l[15],
|
|
307
|
+
f,
|
|
308
|
+
yt
|
|
309
|
+
) : H(
|
|
310
|
+
/*$$scope*/
|
|
311
|
+
l[15]
|
|
312
|
+
),
|
|
313
|
+
N
|
|
314
|
+
) : u && u.p && (!n || f & /*closeButton*/
|
|
315
|
+
8) && u.p(l, n ? f : -1);
|
|
316
|
+
},
|
|
317
|
+
i(l) {
|
|
318
|
+
n || (L(r, l), L(c, l), L(u, l), n = !0);
|
|
319
|
+
},
|
|
320
|
+
o(l) {
|
|
321
|
+
B(r, l), B(c, l), B(u, l), n = !1;
|
|
322
|
+
},
|
|
323
|
+
d(l) {
|
|
324
|
+
l && p(t), r && r.d(l), c && c.d(l), u && u.d(l), s[17](null);
|
|
325
|
+
}
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
function Tt(s, t, e) {
|
|
329
|
+
let i;
|
|
330
|
+
rt(s, dt, (o) => e(4, i = o));
|
|
331
|
+
let { $$slots: n = {}, $$scope: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: _ = "" } = t, { showbackbutton: d = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: w = "" } = t, { mbsource: u = "" } = t, l, f, A = !1, j, E = !1;
|
|
332
|
+
const W = () => {
|
|
333
|
+
fetch(_).then((o) => o.json()).then((o) => {
|
|
334
|
+
Object.keys(o).forEach((F) => {
|
|
335
|
+
R(F, o[F]);
|
|
336
|
+
});
|
|
337
|
+
}).catch((o) => {
|
|
338
|
+
console.log(o);
|
|
339
|
+
});
|
|
340
|
+
};
|
|
341
|
+
Object.keys(z).forEach((o) => {
|
|
342
|
+
R(o, z[o]);
|
|
343
|
+
});
|
|
344
|
+
const Y = () => {
|
|
345
|
+
gt(g);
|
|
346
|
+
}, Z = () => {
|
|
347
|
+
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
348
|
+
}, J = () => {
|
|
349
|
+
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
350
|
+
}, Q = () => {
|
|
351
|
+
e(1, A = !!d && d !== "false");
|
|
352
|
+
}, V = () => {
|
|
353
|
+
e(3, E = !!w && w !== "false");
|
|
354
|
+
}, X = () => {
|
|
355
|
+
e(2, j = c || "header.general");
|
|
356
|
+
};
|
|
357
|
+
ct(() => () => {
|
|
358
|
+
});
|
|
359
|
+
function $(o) {
|
|
360
|
+
ht[o ? "unshift" : "push"](() => {
|
|
361
|
+
l = o, e(0, l);
|
|
362
|
+
});
|
|
363
|
+
}
|
|
364
|
+
return s.$$set = (o) => {
|
|
365
|
+
"clientstyling" in o && e(7, h = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, _ = o.translationurl), "showbackbutton" in o && e(10, d = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, w = o.showclosebutton), "mbsource" in o && e(14, u = o.mbsource), "$$scope" in o && e(15, a = o.$$scope);
|
|
366
|
+
}, s.$$.update = () => {
|
|
367
|
+
s.$$.dirty & /*lang*/
|
|
368
|
+
4096 && g && Y(), s.$$.dirty & /*lang, title*/
|
|
369
|
+
6144 && g && c && X(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
370
|
+
129 && h && l && wt(l, h), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
371
|
+
257 && r && l && _t(l, r), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
372
|
+
16385 && u && l && bt(l, `${u}.Style`, f), s.$$.dirty & /*lang, translationurl*/
|
|
373
|
+
4608 && g && _ && W(), s.$$.dirty & /*showbackbutton*/
|
|
374
|
+
1024 && d && Q(), s.$$.dirty & /*showclosebutton*/
|
|
375
|
+
8192 && w && V();
|
|
376
|
+
}, [
|
|
377
|
+
l,
|
|
378
|
+
A,
|
|
379
|
+
j,
|
|
380
|
+
E,
|
|
381
|
+
i,
|
|
382
|
+
Z,
|
|
383
|
+
J,
|
|
384
|
+
h,
|
|
385
|
+
r,
|
|
386
|
+
_,
|
|
387
|
+
d,
|
|
388
|
+
c,
|
|
389
|
+
g,
|
|
390
|
+
w,
|
|
391
|
+
u,
|
|
392
|
+
a,
|
|
393
|
+
n,
|
|
394
|
+
$
|
|
395
|
+
];
|
|
396
|
+
}
|
|
397
|
+
class P extends nt {
|
|
398
|
+
constructor(t) {
|
|
399
|
+
super(), it(
|
|
400
|
+
this,
|
|
401
|
+
t,
|
|
402
|
+
Tt,
|
|
403
|
+
Ht,
|
|
404
|
+
lt,
|
|
405
|
+
{
|
|
406
|
+
clientstyling: 7,
|
|
407
|
+
clientstylingurl: 8,
|
|
408
|
+
translationurl: 9,
|
|
409
|
+
showbackbutton: 10,
|
|
410
|
+
title: 11,
|
|
411
|
+
lang: 12,
|
|
412
|
+
showclosebutton: 13,
|
|
413
|
+
mbsource: 14
|
|
414
|
+
},
|
|
415
|
+
Ct
|
|
416
|
+
);
|
|
417
|
+
}
|
|
418
|
+
get clientstyling() {
|
|
419
|
+
return this.$$.ctx[7];
|
|
420
|
+
}
|
|
421
|
+
set clientstyling(t) {
|
|
422
|
+
this.$$set({ clientstyling: t }), b();
|
|
423
|
+
}
|
|
424
|
+
get clientstylingurl() {
|
|
425
|
+
return this.$$.ctx[8];
|
|
426
|
+
}
|
|
427
|
+
set clientstylingurl(t) {
|
|
428
|
+
this.$$set({ clientstylingurl: t }), b();
|
|
429
|
+
}
|
|
430
|
+
get translationurl() {
|
|
431
|
+
return this.$$.ctx[9];
|
|
432
|
+
}
|
|
433
|
+
set translationurl(t) {
|
|
434
|
+
this.$$set({ translationurl: t }), b();
|
|
435
|
+
}
|
|
436
|
+
get showbackbutton() {
|
|
437
|
+
return this.$$.ctx[10];
|
|
438
|
+
}
|
|
439
|
+
set showbackbutton(t) {
|
|
440
|
+
this.$$set({ showbackbutton: t }), b();
|
|
441
|
+
}
|
|
442
|
+
get title() {
|
|
443
|
+
return this.$$.ctx[11];
|
|
444
|
+
}
|
|
445
|
+
set title(t) {
|
|
446
|
+
this.$$set({ title: t }), b();
|
|
447
|
+
}
|
|
448
|
+
get lang() {
|
|
449
|
+
return this.$$.ctx[12];
|
|
450
|
+
}
|
|
451
|
+
set lang(t) {
|
|
452
|
+
this.$$set({ lang: t }), b();
|
|
453
|
+
}
|
|
454
|
+
get showclosebutton() {
|
|
455
|
+
return this.$$.ctx[13];
|
|
456
|
+
}
|
|
457
|
+
set showclosebutton(t) {
|
|
458
|
+
this.$$set({ showclosebutton: t }), b();
|
|
459
|
+
}
|
|
460
|
+
get mbsource() {
|
|
461
|
+
return this.$$.ctx[14];
|
|
462
|
+
}
|
|
463
|
+
set mbsource(t) {
|
|
464
|
+
this.$$set({ mbsource: t }), b();
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
ot(P, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
|
468
|
+
const At = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
469
|
+
__proto__: null,
|
|
470
|
+
default: P
|
|
471
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
472
|
+
export {
|
|
473
|
+
At as C,
|
|
474
|
+
_t as a,
|
|
475
|
+
bt as b,
|
|
476
|
+
wt as s
|
|
477
|
+
};
|