@everymatrix/cashier-page 1.98.7 → 1.98.9
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-CLl1dEO0.js → CashierCarousel-BzdUV7XF.js} +160 -136
- package/components/{CashierCarousel-jiScaw1m.js → CashierCarousel-FFsdS-lS.js} +166 -142
- package/components/CashierCarousel-zmZZjXPR.cjs +1 -0
- package/components/{CashierError-BgzGU74G.js → CashierError-DM9cHWYk.js} +282 -178
- package/components/{CashierError-nb2MHtLH.cjs → CashierError-DtmAFp4L.cjs} +1 -1
- package/components/{CashierError-ulLnVgQF.js → CashierError-R9QTGjHi.js} +282 -178
- package/components/{CashierHeader-DEksQqYQ.js → CashierHeader-BGa8_twf.js} +144 -130
- package/components/{CashierHeader-jQ2-E617.js → CashierHeader-BoWdCzOy.js} +144 -130
- package/components/CashierHeader-DL7CeVPX.cjs +1 -0
- package/components/{CashierIframeRedirect-BUy5m6fN.js → CashierIframeRedirect-BGDgKj5q.js} +38 -32
- package/components/{CashierIframeRedirect-CyY79191.js → CashierIframeRedirect-ByL4GN6L.js} +38 -32
- package/components/CashierIframeRedirect-DwOnILP1.cjs +1 -0
- package/components/{CashierMethodDetails-DmHKHr2M.cjs → CashierMethodDetails-CMadBp5s.cjs} +4 -4
- package/components/{CashierMethodDetails-BHGrCcE3.js → CashierMethodDetails-DgFi6GOg.js} +1345 -1149
- package/components/{CashierMethodDetails-B-klrcoA.js → CashierMethodDetails-DwAKidqM.js} +1500 -1304
- package/components/{CashierMethodsList-u11i0SYf.js → CashierMethodsList-B0Y7Ov2y.js} +136 -112
- package/components/CashierMethodsList-BKSWzfhx.cjs +1 -0
- package/components/{CashierMethodsList-KXr3hScy.js → CashierMethodsList-BttlgP8I.js} +152 -128
- package/components/{CashierModal-Ke9TZX5s.js → CashierModal-BAqyZ3yN.js} +2 -2
- package/components/{CashierModal-4iF9ylQT.js → CashierModal-CTEreymk.js} +2 -2
- package/components/{CashierModal-CcawnfUI.cjs → CashierModal-DYiiDdjF.cjs} +1 -1
- package/components/{CashierNotifications-DquKOU8w.js → CashierNotifications-5vMGexnB.js} +1 -1
- package/components/{CashierNotifications-CY2B13Wf.js → CashierNotifications-C9DAtUCd.js} +1 -1
- package/components/{CashierNotifications-wQG099OX.cjs → CashierNotifications-DeciL3hL.cjs} +1 -1
- package/components/{CashierPage-895aolw0.js → CashierPage-Cyh00U_t.js} +1216 -1118
- package/components/{CashierPage-DEYpTaJv.cjs → CashierPage-Datx6Ztd.cjs} +6 -6
- package/components/{CashierPage-Bz6JgmrH.js → CashierPage-DmSMSwFD.js} +712 -614
- package/components/{CashierReceiptPage-CGcmTBRp.js → CashierReceiptPage-2QLgzHKu.js} +486 -302
- package/components/{CashierReceiptPage-BCh5OfiT.cjs → CashierReceiptPage-CljAf_RX.cjs} +2 -2
- package/components/{CashierReceiptPage-DNsdCwQQ.js → CashierReceiptPage-zipsq7HA.js} +483 -299
- package/components/{CashierSessionExpirationModal-i5NfYzNE.js → CashierSessionExpirationModal-BHUuaz3G.js} +141 -125
- package/components/CashierSessionExpirationModal-BhdcM6-i.cjs +2 -0
- package/components/{CashierSessionExpirationModal-IfrOHdOp.js → CashierSessionExpirationModal-CPiyWnR6.js} +141 -125
- package/components/{CashierSpinner-bOYmQpsr.js → CashierSpinner-CfN6GP0k.js} +2 -2
- package/components/{CashierSpinner-CKdmXXKt.cjs → CashierSpinner-DK9MV_jW.cjs} +1 -1
- package/components/{CashierSpinner-C9Ra-0IT.js → CashierSpinner-DlmmgiCp.js} +2 -2
- package/components/{CashierStepUp-B3Ph1OSf.js → CashierStepUp-D4IutqnI.js} +397 -351
- package/components/{CashierStepUp-CKae09kD.js → CashierStepUp-DBkCHzU6.js} +371 -325
- package/components/CashierStepUp-f6d-L0Pv.cjs +1 -0
- package/components/{CashierTransactionHistory-_uQpfmaM.js → CashierTransactionHistory-Bfx6cEFg.js} +522 -472
- package/components/{CashierTransactionHistory-DkPMVofl.js → CashierTransactionHistory-BmgU4GU7.js} +494 -444
- package/components/CashierTransactionHistory-Bxd87eQt.cjs +1 -0
- package/components/CashierVerifications-B-u47VhR.cjs +1 -0
- package/components/{CashierVerifications-CA42knBf.js → CashierVerifications-Bi_7cW9r.js} +256 -210
- package/components/{CashierVerifications-C3vBxGTw.js → CashierVerifications-UTO3n0Ei.js} +245 -199
- package/components/{TxnStatusIcon-T3_oGTiJ.js → TxnStatusIcon-CDynHfdT.js} +1 -1
- package/components/{TxnStatusIcon-_ohfqibs.js → TxnStatusIcon-XWXNjZi6.js} +1 -1
- package/components/{TxnStatusIcon-ObLzHWKw.cjs → TxnStatusIcon-xNz_TX3o.cjs} +1 -1
- package/components/{TxnTypeIcons-DhQNGQt2.js → TxnTypeIcons-Bui9VGqk.js} +1 -1
- package/components/{TxnTypeIcons-gD4j8VCB.js → TxnTypeIcons-D0YhmAk8.js} +1 -1
- package/components/{TxnTypeIcons-mX1zqVBL.cjs → TxnTypeIcons-D3xjja9q.cjs} +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-Dh5Q3q4o.cjs +0 -1
- package/components/CashierHeader-DA_ReO25.cjs +0 -1
- package/components/CashierIframeRedirect-CB1_eaMN.cjs +0 -1
- package/components/CashierMethodsList-BvOniQPF.cjs +0 -1
- package/components/CashierSessionExpirationModal-CIrMZkSD.cjs +0 -2
- package/components/CashierStepUp-DIQ9DrxX.cjs +0 -1
- package/components/CashierTransactionHistory-Bkqw8dMT.cjs +0 -1
- package/components/CashierVerifications-BZPBsrmc.cjs +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { a as ee, i as te, $ as se, S as ne, b as ie, s as le, f as b, c as oe, d as S, e as p, t as B, g as L, u as v, h as H, j as T, k as C, l as M, m as y, n as F, o as k, p as ae, q as re, r as I, v as ce, w as ue, x as fe, y as q, z as G, A as he, B as de } from "./CashierPage-Cyh00U_t.js";
|
|
2
|
+
function O(s, e) {
|
|
3
|
+
ee(s, e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
6
|
-
|
|
5
|
+
function ge(s) {
|
|
6
|
+
te({
|
|
7
7
|
fallbackLocale: "en"
|
|
8
|
-
}),
|
|
8
|
+
}), se.set(s);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
10
|
+
const R = {
|
|
11
11
|
en: {
|
|
12
12
|
header: {
|
|
13
13
|
general: "Cashier",
|
|
@@ -49,53 +49,67 @@ const z = {
|
|
|
49
49
|
deposit: "Storting",
|
|
50
50
|
withdraw: "Opname"
|
|
51
51
|
}
|
|
52
|
+
},
|
|
53
|
+
ru: {
|
|
54
|
+
header: {
|
|
55
|
+
general: "Касса",
|
|
56
|
+
deposit: "Депозит",
|
|
57
|
+
withdraw: "Вывод"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
az: {
|
|
61
|
+
header: {
|
|
62
|
+
general: "Kassa",
|
|
63
|
+
deposit: "Depozit",
|
|
64
|
+
withdraw: "Çıxarış"
|
|
65
|
+
}
|
|
52
66
|
}
|
|
53
67
|
}, m = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
54
|
-
function
|
|
68
|
+
function we(s, e) {
|
|
55
69
|
if (s) {
|
|
56
|
-
const
|
|
57
|
-
|
|
70
|
+
const t = document.createElement("style");
|
|
71
|
+
t.innerHTML = e, s.appendChild(t);
|
|
58
72
|
}
|
|
59
73
|
}
|
|
60
|
-
function
|
|
61
|
-
if (!s || !
|
|
74
|
+
function _e(s, e) {
|
|
75
|
+
if (!s || !e)
|
|
62
76
|
return;
|
|
63
|
-
const
|
|
64
|
-
fetch(
|
|
77
|
+
const t = new URL(e);
|
|
78
|
+
fetch(t.href).then((i) => i.text()).then((i) => {
|
|
65
79
|
const n = document.createElement("style");
|
|
66
80
|
n.innerHTML = i, s && s.appendChild(n);
|
|
67
81
|
}).catch((i) => {
|
|
68
82
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
69
83
|
});
|
|
70
84
|
}
|
|
71
|
-
function
|
|
85
|
+
function be(s, e, t, i = !1) {
|
|
72
86
|
if (!window.emMessageBus)
|
|
73
87
|
return;
|
|
74
88
|
if (!("adoptedStyleSheets" in Document.prototype) || !i)
|
|
75
|
-
return
|
|
76
|
-
window[m] || (window[m] = {}),
|
|
77
|
-
const a =
|
|
78
|
-
if (window[m][
|
|
79
|
-
const r = window[m][
|
|
80
|
-
r.refCount > 1 ? r.refCount = r.refCount - 1 : delete window[m][
|
|
89
|
+
return t = me(s, e), t;
|
|
90
|
+
window[m] || (window[m] = {}), t = pe(s, e);
|
|
91
|
+
const a = t.unsubscribe.bind(t), h = () => {
|
|
92
|
+
if (window[m][e]) {
|
|
93
|
+
const r = window[m][e];
|
|
94
|
+
r.refCount > 1 ? r.refCount = r.refCount - 1 : delete window[m][e];
|
|
81
95
|
}
|
|
82
96
|
a();
|
|
83
97
|
};
|
|
84
|
-
return
|
|
98
|
+
return t.unsubscribe = h, t;
|
|
85
99
|
}
|
|
86
|
-
function
|
|
87
|
-
const
|
|
88
|
-
return window.emMessageBus.subscribe(
|
|
89
|
-
s && (
|
|
100
|
+
function me(s, e) {
|
|
101
|
+
const t = document.createElement("style");
|
|
102
|
+
return window.emMessageBus.subscribe(e, (i) => {
|
|
103
|
+
s && (t.innerHTML = i, s.appendChild(t));
|
|
90
104
|
});
|
|
91
105
|
}
|
|
92
|
-
function
|
|
93
|
-
return window.emMessageBus.subscribe(
|
|
106
|
+
function pe(s, e) {
|
|
107
|
+
return window.emMessageBus.subscribe(e, (t) => {
|
|
94
108
|
if (!s)
|
|
95
109
|
return;
|
|
96
110
|
const i = s.getRootNode(), n = window[m];
|
|
97
|
-
let a = n[
|
|
98
|
-
a ? n[
|
|
111
|
+
let a = n[e] && n[e].sheet;
|
|
112
|
+
a ? n[e].refCount = n[e].refCount + 1 : (a = new CSSStyleSheet(), a.replaceSync(t), n[e] = {
|
|
99
113
|
sheet: a,
|
|
100
114
|
refCount: 1
|
|
101
115
|
});
|
|
@@ -103,53 +117,53 @@ function pt(s, t) {
|
|
|
103
117
|
h.includes(a) || (i.adoptedStyleSheets = [...h, a]);
|
|
104
118
|
});
|
|
105
119
|
}
|
|
106
|
-
function
|
|
107
|
-
|
|
120
|
+
function Ce(s) {
|
|
121
|
+
oe(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
122
|
}
|
|
109
|
-
const
|
|
123
|
+
const ye = (s) => ({}), x = (s) => ({}), ke = (s) => ({}), N = (s) => ({}), Se = (s) => ({}), U = (s) => ({});
|
|
110
124
|
function D(s) {
|
|
111
|
-
let
|
|
125
|
+
let e, t, i;
|
|
112
126
|
return {
|
|
113
127
|
c() {
|
|
114
|
-
|
|
128
|
+
e = y("div"), e.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(e, "class", "CashierHeaderLeftButton");
|
|
115
129
|
},
|
|
116
130
|
m(n, a) {
|
|
117
|
-
C(n,
|
|
118
|
-
|
|
131
|
+
C(n, e, a), t || (i = G(
|
|
132
|
+
e,
|
|
119
133
|
"click",
|
|
120
134
|
/*back*/
|
|
121
135
|
s[6]
|
|
122
|
-
),
|
|
136
|
+
), t = !0);
|
|
123
137
|
},
|
|
124
138
|
p: q,
|
|
125
139
|
d(n) {
|
|
126
|
-
n && p(
|
|
140
|
+
n && p(e), t = !1, i();
|
|
127
141
|
}
|
|
128
142
|
};
|
|
129
143
|
}
|
|
130
|
-
function
|
|
131
|
-
let
|
|
144
|
+
function Be(s) {
|
|
145
|
+
let e, t = (
|
|
132
146
|
/*backButton*/
|
|
133
147
|
s[1] && D(s)
|
|
134
148
|
);
|
|
135
149
|
return {
|
|
136
150
|
c() {
|
|
137
|
-
|
|
151
|
+
t && t.c(), e = I();
|
|
138
152
|
},
|
|
139
153
|
m(i, n) {
|
|
140
|
-
|
|
154
|
+
t && t.m(i, n), C(i, e, n);
|
|
141
155
|
},
|
|
142
156
|
p(i, n) {
|
|
143
157
|
/*backButton*/
|
|
144
|
-
i[1] ?
|
|
158
|
+
i[1] ? t ? t.p(i, n) : (t = D(i), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
145
159
|
},
|
|
146
160
|
d(i) {
|
|
147
|
-
i && p(
|
|
161
|
+
i && p(e), t && t.d(i);
|
|
148
162
|
}
|
|
149
163
|
};
|
|
150
164
|
}
|
|
151
|
-
function
|
|
152
|
-
let
|
|
165
|
+
function Le(s) {
|
|
166
|
+
let e, t = (
|
|
153
167
|
/*$_*/
|
|
154
168
|
s[4](
|
|
155
169
|
/*titleText*/
|
|
@@ -158,67 +172,67 @@ function Lt(s) {
|
|
|
158
172
|
), i;
|
|
159
173
|
return {
|
|
160
174
|
c() {
|
|
161
|
-
|
|
175
|
+
e = y("span"), i = ue(t), k(e, "class", "CashierHeaderTitle");
|
|
162
176
|
},
|
|
163
177
|
m(n, a) {
|
|
164
|
-
C(n,
|
|
178
|
+
C(n, e, a), M(e, i);
|
|
165
179
|
},
|
|
166
180
|
p(n, a) {
|
|
167
181
|
a & /*$_, titleText*/
|
|
168
|
-
20 &&
|
|
182
|
+
20 && t !== (t = /*$_*/
|
|
169
183
|
n[4](
|
|
170
184
|
/*titleText*/
|
|
171
185
|
n[2]
|
|
172
|
-
) + "") &&
|
|
186
|
+
) + "") && ce(i, t);
|
|
173
187
|
},
|
|
174
188
|
d(n) {
|
|
175
|
-
n && p(
|
|
189
|
+
n && p(e);
|
|
176
190
|
}
|
|
177
191
|
};
|
|
178
192
|
}
|
|
179
193
|
function K(s) {
|
|
180
|
-
let
|
|
194
|
+
let e, t, i;
|
|
181
195
|
return {
|
|
182
196
|
c() {
|
|
183
|
-
|
|
197
|
+
e = y("span"), e.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(e, "class", "CashierHeaderRightButton");
|
|
184
198
|
},
|
|
185
199
|
m(n, a) {
|
|
186
|
-
C(n,
|
|
187
|
-
|
|
200
|
+
C(n, e, a), t || (i = G(
|
|
201
|
+
e,
|
|
188
202
|
"click",
|
|
189
203
|
/*close*/
|
|
190
204
|
s[5]
|
|
191
|
-
),
|
|
205
|
+
), t = !0);
|
|
192
206
|
},
|
|
193
207
|
p: q,
|
|
194
208
|
d(n) {
|
|
195
|
-
n && p(
|
|
209
|
+
n && p(e), t = !1, i();
|
|
196
210
|
}
|
|
197
211
|
};
|
|
198
212
|
}
|
|
199
|
-
function
|
|
200
|
-
let
|
|
213
|
+
function ve(s) {
|
|
214
|
+
let e, t = (
|
|
201
215
|
/*closeButton*/
|
|
202
216
|
s[3] && K(s)
|
|
203
217
|
);
|
|
204
218
|
return {
|
|
205
219
|
c() {
|
|
206
|
-
|
|
220
|
+
t && t.c(), e = I();
|
|
207
221
|
},
|
|
208
222
|
m(i, n) {
|
|
209
|
-
|
|
223
|
+
t && t.m(i, n), C(i, e, n);
|
|
210
224
|
},
|
|
211
225
|
p(i, n) {
|
|
212
226
|
/*closeButton*/
|
|
213
|
-
i[3] ?
|
|
227
|
+
i[3] ? t ? t.p(i, n) : (t = K(i), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
214
228
|
},
|
|
215
229
|
d(i) {
|
|
216
|
-
i && p(
|
|
230
|
+
i && p(e), t && t.d(i);
|
|
217
231
|
}
|
|
218
232
|
};
|
|
219
233
|
}
|
|
220
|
-
function
|
|
221
|
-
let
|
|
234
|
+
function He(s) {
|
|
235
|
+
let e, t, i, n;
|
|
222
236
|
const a = (
|
|
223
237
|
/*#slots*/
|
|
224
238
|
s[16].leftButton
|
|
@@ -227,8 +241,8 @@ function Ht(s) {
|
|
|
227
241
|
s,
|
|
228
242
|
/*$$scope*/
|
|
229
243
|
s[15],
|
|
230
|
-
|
|
231
|
-
), r = h ||
|
|
244
|
+
U
|
|
245
|
+
), r = h || Be(s), _ = (
|
|
232
246
|
/*#slots*/
|
|
233
247
|
s[16].title
|
|
234
248
|
), d = S(
|
|
@@ -236,8 +250,8 @@ function Ht(s) {
|
|
|
236
250
|
s,
|
|
237
251
|
/*$$scope*/
|
|
238
252
|
s[15],
|
|
239
|
-
|
|
240
|
-
), c = d ||
|
|
253
|
+
N
|
|
254
|
+
), c = d || Le(s), g = (
|
|
241
255
|
/*#slots*/
|
|
242
256
|
s[16].rightButton
|
|
243
257
|
), w = S(
|
|
@@ -245,14 +259,14 @@ function Ht(s) {
|
|
|
245
259
|
s,
|
|
246
260
|
/*$$scope*/
|
|
247
261
|
s[15],
|
|
248
|
-
|
|
249
|
-
), u = w ||
|
|
262
|
+
x
|
|
263
|
+
), u = w || ve(s);
|
|
250
264
|
return {
|
|
251
265
|
c() {
|
|
252
|
-
|
|
266
|
+
e = y("div"), r && r.c(), t = F(), c && c.c(), i = F(), u && u.c(), k(e, "class", "CashierHeader");
|
|
253
267
|
},
|
|
254
268
|
m(l, f) {
|
|
255
|
-
C(l,
|
|
269
|
+
C(l, e, f), r && r.m(e, null), M(e, t), c && c.m(e, null), M(e, i), u && u.m(e, null), s[17](e), n = !0;
|
|
256
270
|
},
|
|
257
271
|
p(l, [f]) {
|
|
258
272
|
h ? h.p && (!n || f & /*$$scope*/
|
|
@@ -267,12 +281,12 @@ function Ht(s) {
|
|
|
267
281
|
/*$$scope*/
|
|
268
282
|
l[15],
|
|
269
283
|
f,
|
|
270
|
-
|
|
284
|
+
Se
|
|
271
285
|
) : H(
|
|
272
286
|
/*$$scope*/
|
|
273
287
|
l[15]
|
|
274
288
|
),
|
|
275
|
-
|
|
289
|
+
U
|
|
276
290
|
) : r && r.p && (!n || f & /*backButton*/
|
|
277
291
|
2) && r.p(l, n ? f : -1), d ? d.p && (!n || f & /*$$scope*/
|
|
278
292
|
32768) && v(
|
|
@@ -286,12 +300,12 @@ function Ht(s) {
|
|
|
286
300
|
/*$$scope*/
|
|
287
301
|
l[15],
|
|
288
302
|
f,
|
|
289
|
-
|
|
303
|
+
ke
|
|
290
304
|
) : H(
|
|
291
305
|
/*$$scope*/
|
|
292
306
|
l[15]
|
|
293
307
|
),
|
|
294
|
-
|
|
308
|
+
N
|
|
295
309
|
) : c && c.p && (!n || f & /*$_, titleText*/
|
|
296
310
|
20) && c.p(l, n ? f : -1), w ? w.p && (!n || f & /*$$scope*/
|
|
297
311
|
32768) && v(
|
|
@@ -305,12 +319,12 @@ function Ht(s) {
|
|
|
305
319
|
/*$$scope*/
|
|
306
320
|
l[15],
|
|
307
321
|
f,
|
|
308
|
-
|
|
322
|
+
ye
|
|
309
323
|
) : H(
|
|
310
324
|
/*$$scope*/
|
|
311
325
|
l[15]
|
|
312
326
|
),
|
|
313
|
-
|
|
327
|
+
x
|
|
314
328
|
) : u && u.p && (!n || f & /*closeButton*/
|
|
315
329
|
8) && u.p(l, n ? f : -1);
|
|
316
330
|
},
|
|
@@ -321,63 +335,63 @@ function Ht(s) {
|
|
|
321
335
|
B(r, l), B(c, l), B(u, l), n = !1;
|
|
322
336
|
},
|
|
323
337
|
d(l) {
|
|
324
|
-
l && p(
|
|
338
|
+
l && p(e), r && r.d(l), c && c.d(l), u && u.d(l), s[17](null);
|
|
325
339
|
}
|
|
326
340
|
};
|
|
327
341
|
}
|
|
328
|
-
function
|
|
342
|
+
function Te(s, e, t) {
|
|
329
343
|
let i;
|
|
330
|
-
|
|
331
|
-
let { $$slots: n = {}, $$scope: a } =
|
|
344
|
+
ae(s, de, (o) => t(4, i = o));
|
|
345
|
+
let { $$slots: n = {}, $$scope: a } = e, { clientstyling: h = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: _ = "" } = e, { showbackbutton: d = "" } = e, { title: c = "header.general" } = e, { lang: g = "en" } = e, { showclosebutton: w = "" } = e, { mbsource: u = "" } = e, l, f, A = !1, z, j = !1;
|
|
332
346
|
const W = () => {
|
|
333
347
|
fetch(_).then((o) => o.json()).then((o) => {
|
|
334
|
-
Object.keys(o).forEach((
|
|
335
|
-
|
|
348
|
+
Object.keys(o).forEach((E) => {
|
|
349
|
+
O(E, o[E]);
|
|
336
350
|
});
|
|
337
351
|
}).catch((o) => {
|
|
338
352
|
console.log(o);
|
|
339
353
|
});
|
|
340
354
|
};
|
|
341
|
-
Object.keys(
|
|
342
|
-
|
|
355
|
+
Object.keys(R).forEach((o) => {
|
|
356
|
+
O(o, R[o]);
|
|
343
357
|
});
|
|
344
358
|
const Y = () => {
|
|
345
|
-
|
|
359
|
+
ge(g);
|
|
346
360
|
}, Z = () => {
|
|
347
361
|
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
348
362
|
}, J = () => {
|
|
349
363
|
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
350
364
|
}, Q = () => {
|
|
351
|
-
|
|
365
|
+
t(1, A = !!d && d !== "false");
|
|
352
366
|
}, V = () => {
|
|
353
|
-
|
|
367
|
+
t(3, j = !!w && w !== "false");
|
|
354
368
|
}, X = () => {
|
|
355
|
-
|
|
369
|
+
t(2, z = c || "header.general");
|
|
356
370
|
};
|
|
357
|
-
|
|
371
|
+
re(() => () => {
|
|
358
372
|
});
|
|
359
373
|
function $(o) {
|
|
360
|
-
|
|
361
|
-
l = o,
|
|
374
|
+
fe[o ? "unshift" : "push"](() => {
|
|
375
|
+
l = o, t(0, l);
|
|
362
376
|
});
|
|
363
377
|
}
|
|
364
378
|
return s.$$set = (o) => {
|
|
365
|
-
"clientstyling" in o &&
|
|
379
|
+
"clientstyling" in o && t(7, h = o.clientstyling), "clientstylingurl" in o && t(8, r = o.clientstylingurl), "translationurl" in o && t(9, _ = o.translationurl), "showbackbutton" in o && t(10, d = o.showbackbutton), "title" in o && t(11, c = o.title), "lang" in o && t(12, g = o.lang), "showclosebutton" in o && t(13, w = o.showclosebutton), "mbsource" in o && t(14, u = o.mbsource), "$$scope" in o && t(15, a = o.$$scope);
|
|
366
380
|
}, s.$$.update = () => {
|
|
367
381
|
s.$$.dirty & /*lang*/
|
|
368
382
|
4096 && g && Y(), s.$$.dirty & /*lang, title*/
|
|
369
383
|
6144 && g && c && X(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
370
|
-
129 && h && l &&
|
|
371
|
-
257 && r && l &&
|
|
372
|
-
16385 && u && l &&
|
|
384
|
+
129 && h && l && we(l, h), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
385
|
+
257 && r && l && _e(l, r), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
386
|
+
16385 && u && l && be(l, `${u}.Style`, f), s.$$.dirty & /*lang, translationurl*/
|
|
373
387
|
4608 && g && _ && W(), s.$$.dirty & /*showbackbutton*/
|
|
374
388
|
1024 && d && Q(), s.$$.dirty & /*showclosebutton*/
|
|
375
389
|
8192 && w && V();
|
|
376
390
|
}, [
|
|
377
391
|
l,
|
|
378
392
|
A,
|
|
393
|
+
z,
|
|
379
394
|
j,
|
|
380
|
-
E,
|
|
381
395
|
i,
|
|
382
396
|
Z,
|
|
383
397
|
J,
|
|
@@ -394,14 +408,14 @@ function Tt(s, t, e) {
|
|
|
394
408
|
$
|
|
395
409
|
];
|
|
396
410
|
}
|
|
397
|
-
class P extends
|
|
398
|
-
constructor(
|
|
399
|
-
super(),
|
|
411
|
+
class P extends ne {
|
|
412
|
+
constructor(e) {
|
|
413
|
+
super(), ie(
|
|
400
414
|
this,
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
415
|
+
e,
|
|
416
|
+
Te,
|
|
417
|
+
He,
|
|
418
|
+
le,
|
|
405
419
|
{
|
|
406
420
|
clientstyling: 7,
|
|
407
421
|
clientstylingurl: 8,
|
|
@@ -412,66 +426,66 @@ class P extends nt {
|
|
|
412
426
|
showclosebutton: 13,
|
|
413
427
|
mbsource: 14
|
|
414
428
|
},
|
|
415
|
-
|
|
429
|
+
Ce
|
|
416
430
|
);
|
|
417
431
|
}
|
|
418
432
|
get clientstyling() {
|
|
419
433
|
return this.$$.ctx[7];
|
|
420
434
|
}
|
|
421
|
-
set clientstyling(
|
|
422
|
-
this.$$set({ clientstyling:
|
|
435
|
+
set clientstyling(e) {
|
|
436
|
+
this.$$set({ clientstyling: e }), b();
|
|
423
437
|
}
|
|
424
438
|
get clientstylingurl() {
|
|
425
439
|
return this.$$.ctx[8];
|
|
426
440
|
}
|
|
427
|
-
set clientstylingurl(
|
|
428
|
-
this.$$set({ clientstylingurl:
|
|
441
|
+
set clientstylingurl(e) {
|
|
442
|
+
this.$$set({ clientstylingurl: e }), b();
|
|
429
443
|
}
|
|
430
444
|
get translationurl() {
|
|
431
445
|
return this.$$.ctx[9];
|
|
432
446
|
}
|
|
433
|
-
set translationurl(
|
|
434
|
-
this.$$set({ translationurl:
|
|
447
|
+
set translationurl(e) {
|
|
448
|
+
this.$$set({ translationurl: e }), b();
|
|
435
449
|
}
|
|
436
450
|
get showbackbutton() {
|
|
437
451
|
return this.$$.ctx[10];
|
|
438
452
|
}
|
|
439
|
-
set showbackbutton(
|
|
440
|
-
this.$$set({ showbackbutton:
|
|
453
|
+
set showbackbutton(e) {
|
|
454
|
+
this.$$set({ showbackbutton: e }), b();
|
|
441
455
|
}
|
|
442
456
|
get title() {
|
|
443
457
|
return this.$$.ctx[11];
|
|
444
458
|
}
|
|
445
|
-
set title(
|
|
446
|
-
this.$$set({ title:
|
|
459
|
+
set title(e) {
|
|
460
|
+
this.$$set({ title: e }), b();
|
|
447
461
|
}
|
|
448
462
|
get lang() {
|
|
449
463
|
return this.$$.ctx[12];
|
|
450
464
|
}
|
|
451
|
-
set lang(
|
|
452
|
-
this.$$set({ lang:
|
|
465
|
+
set lang(e) {
|
|
466
|
+
this.$$set({ lang: e }), b();
|
|
453
467
|
}
|
|
454
468
|
get showclosebutton() {
|
|
455
469
|
return this.$$.ctx[13];
|
|
456
470
|
}
|
|
457
|
-
set showclosebutton(
|
|
458
|
-
this.$$set({ showclosebutton:
|
|
471
|
+
set showclosebutton(e) {
|
|
472
|
+
this.$$set({ showclosebutton: e }), b();
|
|
459
473
|
}
|
|
460
474
|
get mbsource() {
|
|
461
475
|
return this.$$.ctx[14];
|
|
462
476
|
}
|
|
463
|
-
set mbsource(
|
|
464
|
-
this.$$set({ mbsource:
|
|
477
|
+
set mbsource(e) {
|
|
478
|
+
this.$$set({ mbsource: e }), b();
|
|
465
479
|
}
|
|
466
480
|
}
|
|
467
|
-
|
|
468
|
-
const
|
|
481
|
+
he(P, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
|
482
|
+
const Ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
469
483
|
__proto__: null,
|
|
470
484
|
default: P
|
|
471
485
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
472
486
|
export {
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
487
|
+
Ae as C,
|
|
488
|
+
_e as a,
|
|
489
|
+
be as b,
|
|
490
|
+
we as s
|
|
477
491
|
};
|