@everymatrix/cashier-page 1.94.35 → 1.94.37
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-CWqhxf1D.cjs +1 -0
- package/components/{CashierCarousel-Z8XQiZtX.js → CashierCarousel-DFK922WR.js} +214 -178
- package/components/{CashierCarousel-BGfNxDz0.js → CashierCarousel-k7Y3Z9n1.js} +214 -178
- package/components/CashierError-C1W-9X8J.cjs +1 -0
- package/components/CashierError-C9gnnAyr.js +814 -0
- package/components/CashierError-WkiOBVs-.js +798 -0
- package/components/CashierHeader-BK500Xjw.cjs +1 -0
- package/components/{CashierHeader-DR5CIeYH.js → CashierHeader-Byz_chFz.js} +53 -32
- package/components/{CashierHeader-B0I8Hm9N.js → CashierHeader-COwiXVNs.js} +53 -32
- package/components/CashierIframeRedirect-BDGjUNum.cjs +1 -0
- package/components/{CashierIframeRedirect-Kfujv5Tu.js → CashierIframeRedirect-BoyUKotK.js} +69 -60
- package/components/{CashierIframeRedirect-noBV2Gno.js → CashierIframeRedirect-rUhN76X2.js} +69 -60
- package/components/{CashierMethodDetails-DU9_SyL9.js → CashierMethodDetails-CGdI_qop.js} +2487 -2190
- package/components/{CashierMethodDetails-DVwdpgu7.js → CashierMethodDetails-UYwG3pD4.js} +2327 -2030
- package/components/CashierMethodDetails-rXDr1XNZ.cjs +85 -0
- package/components/{CashierMethodsList-lymtCECM.js → CashierMethodsList-BJOLHbcD.js} +169 -133
- package/components/{CashierMethodsList-DV2mPScV.js → CashierMethodsList-BL0sUyuY.js} +182 -146
- package/components/CashierMethodsList-CZV52Zob.cjs +1 -0
- package/components/{CashierModal-4NvydeSM.js → CashierModal-B_7Q4iwq.js} +2 -2
- package/components/{CashierModal-DsSB35zK.cjs → CashierModal-BxI26VGr.cjs} +1 -1
- package/components/{CashierModal-D8XP3k-9.js → CashierModal-Dl0z5NVU.js} +2 -2
- package/components/{CashierNotifications-CWHWRGor.js → CashierNotifications-0c5qC2wE.js} +1 -1
- package/components/{CashierNotifications-70FEIrYI.js → CashierNotifications-BELBGieS.js} +1 -1
- package/components/{CashierNotifications-zBdBB9R9.cjs → CashierNotifications-IlgXqW4M.cjs} +1 -1
- package/components/CashierPage-56J3O0u0.cjs +23 -0
- package/components/{CashierPage-CbgFZrDS.js → CashierPage-D9p8Vv64.js} +1159 -1018
- package/components/{CashierPage-B-Pr7AZy.js → CashierPage-f3Bp0yQu.js} +1058 -917
- package/components/{CashierReceiptPage-j4UIA3mG.cjs → CashierReceiptPage-CiR_vfro.cjs} +2 -2
- package/components/{CashierReceiptPage-Crz_yaNo.js → CashierReceiptPage-D2QaqABB.js} +800 -524
- package/components/{CashierReceiptPage-BwOTRhHh.js → CashierReceiptPage-HHsf22Go.js} +759 -483
- package/components/CashierSessionExpirationModal-BGSdk_Mj.cjs +2 -0
- package/components/{CashierSessionExpirationModal-tMsnWVOO.js → CashierSessionExpirationModal-BgA16ICX.js} +366 -342
- package/components/{CashierSessionExpirationModal-D00ms5oV.js → CashierSessionExpirationModal-YD2SyMu-.js} +342 -318
- package/components/{CashierSpinner-Cwaz-whk.js → CashierSpinner-B1exigYR.js} +2 -2
- package/components/{CashierSpinner-CTU40q6c.js → CashierSpinner-WMxJlzPU.js} +2 -2
- package/components/{CashierSpinner-Bg78eSic.cjs → CashierSpinner-xDUg2Ia3.cjs} +1 -1
- package/components/CashierStepUp-BJcULKh3.cjs +1 -0
- package/components/CashierStepUp-BX4oMHdc.js +1200 -0
- package/components/CashierStepUp-C_ptl1y7.js +1161 -0
- package/components/{CashierTransactionHistory-Bx6vKU6C.js → CashierTransactionHistory-CHZesJO5.js} +563 -488
- package/components/{CashierTransactionHistory-DIIRHvDL.js → CashierTransactionHistory-CrflKpwN.js} +550 -475
- package/components/CashierTransactionHistory-TDbLeWcJ.cjs +1 -0
- package/components/{CashierVerifications-CnE6LY7Z.js → CashierVerifications-BDZn88UR.js} +310 -249
- package/components/{CashierVerifications-BY8szmZd.js → CashierVerifications-CoqfO6l6.js} +309 -256
- package/components/CashierVerifications-QKE-9H4t.cjs +1 -0
- package/components/{TxnStatusIcon-BDHXtxcG.cjs → TxnStatusIcon-BOdjGqDN.cjs} +1 -1
- package/components/{TxnStatusIcon-R_hiKqjU.js → TxnStatusIcon-CXbH_076.js} +1 -1
- package/components/{TxnStatusIcon-fhrjpTWy.js → TxnStatusIcon-Cvq52nxs.js} +1 -1
- package/components/{TxnTypeIcons-BPO0fSnO.js → TxnTypeIcons-BZnwBNqe.js} +1 -1
- package/components/{TxnTypeIcons-CE_BRkD7.js → TxnTypeIcons-D-qWVgkw.js} +1 -1
- package/components/{TxnTypeIcons-K5uY_QVF.cjs → TxnTypeIcons-DuRqxFjm.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-D9Zltcjf.cjs +0 -1
- package/components/CashierError-CcmTsh3c.js +0 -655
- package/components/CashierError-DUP__3RW.js +0 -639
- package/components/CashierError-DkictxN-.cjs +0 -1
- package/components/CashierHeader-CObNnavj.cjs +0 -1
- package/components/CashierIframeRedirect-BStzG_d5.cjs +0 -1
- package/components/CashierMethodDetails-DYvi8y1l.cjs +0 -85
- package/components/CashierMethodsList-hLtYtrwU.cjs +0 -1
- package/components/CashierPage-5r3a_HdD.cjs +0 -23
- package/components/CashierSessionExpirationModal-DxniesoC.cjs +0 -2
- package/components/CashierStepUp-B00j5Tes.js +0 -1092
- package/components/CashierStepUp-COmbMPwk.js +0 -1131
- package/components/CashierStepUp-eD1Dg1eX.cjs +0 -1
- package/components/CashierTransactionHistory-BbFTZ24M.cjs +0 -1
- package/components/CashierVerifications-BeAwmtS5.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as U, i as Z, $ as J, S as P, b as G, s as K, f as b, d as Q, z as L, g as k, O as a, J as
|
|
2
|
-
import { s as Y, a as x, b as $ } from "./CashierHeader-
|
|
1
|
+
import { a as U, i as Z, $ as J, S as P, b as G, s as K, f as b, d as Q, z as L, g as k, O as a, J as B, p as w, l as v, m as _, A as H, n as p, o as S, r as V, y as W, c as X } from "./CashierPage-f3Bp0yQu.js";
|
|
2
|
+
import { s as Y, a as x, b as $ } from "./CashierHeader-COwiXVNs.js";
|
|
3
3
|
function R(i, e) {
|
|
4
4
|
U(i, e);
|
|
5
5
|
}
|
|
@@ -17,6 +17,15 @@ const F = {
|
|
|
17
17
|
},
|
|
18
18
|
fr: {
|
|
19
19
|
redirectHeader: "Redirection du dépôt"
|
|
20
|
+
},
|
|
21
|
+
da: {
|
|
22
|
+
redirectHeader: "Indbetaling omdirigering"
|
|
23
|
+
},
|
|
24
|
+
de: {
|
|
25
|
+
redirectHeader: "Einzahlungsweiterleitung"
|
|
26
|
+
},
|
|
27
|
+
nl: {
|
|
28
|
+
redirectHeader: "Stortingsomleiding"
|
|
20
29
|
}
|
|
21
30
|
};
|
|
22
31
|
if (typeof window < "u") {
|
|
@@ -31,21 +40,21 @@ if (typeof window < "u") {
|
|
|
31
40
|
}
|
|
32
41
|
};
|
|
33
42
|
};
|
|
34
|
-
customElements.define = i(customElements.define), import("./CashierSpinner-
|
|
43
|
+
customElements.define = i(customElements.define), import("./CashierSpinner-B1exigYR.js").then(({ default: e }) => {
|
|
35
44
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
|
36
45
|
});
|
|
37
46
|
}
|
|
38
47
|
function te(i) {
|
|
39
48
|
Q(i, "svelte-14e65vo", ".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box;width:100%;height:100%;background-color:var(--emw--color-background, #F9FAFF)}.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)}.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)}");
|
|
40
49
|
}
|
|
41
|
-
function
|
|
50
|
+
function I(i) {
|
|
42
51
|
let e, t, s;
|
|
43
52
|
return {
|
|
44
53
|
c() {
|
|
45
54
|
e = p("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>', w(e, "slot", "leftButton"), w(e, "class", "CashierHeaderLeftButton");
|
|
46
55
|
},
|
|
47
|
-
m(
|
|
48
|
-
v(
|
|
56
|
+
m(f, d) {
|
|
57
|
+
v(f, e, d), t || (s = H(
|
|
49
58
|
e,
|
|
50
59
|
"click",
|
|
51
60
|
/*close*/
|
|
@@ -53,19 +62,19 @@ function j(i) {
|
|
|
53
62
|
), t = !0);
|
|
54
63
|
},
|
|
55
64
|
p: L,
|
|
56
|
-
d(
|
|
57
|
-
|
|
65
|
+
d(f) {
|
|
66
|
+
f && k(e), t = !1, s();
|
|
58
67
|
}
|
|
59
68
|
};
|
|
60
69
|
}
|
|
61
|
-
function
|
|
70
|
+
function j(i) {
|
|
62
71
|
let e, t, s;
|
|
63
72
|
return {
|
|
64
73
|
c() {
|
|
65
74
|
e = p("div"), 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>', w(e, "slot", "rightButton"), w(e, "class", "CashierHeaderRightButton");
|
|
66
75
|
},
|
|
67
|
-
m(
|
|
68
|
-
v(
|
|
76
|
+
m(f, d) {
|
|
77
|
+
v(f, e, d), t || (s = H(
|
|
69
78
|
e,
|
|
70
79
|
"click",
|
|
71
80
|
/*close*/
|
|
@@ -73,12 +82,12 @@ function A(i) {
|
|
|
73
82
|
), t = !0);
|
|
74
83
|
},
|
|
75
84
|
p: L,
|
|
76
|
-
d(
|
|
77
|
-
|
|
85
|
+
d(f) {
|
|
86
|
+
f && k(e), t = !1, s();
|
|
78
87
|
}
|
|
79
88
|
};
|
|
80
89
|
}
|
|
81
|
-
function
|
|
90
|
+
function z(i) {
|
|
82
91
|
let e;
|
|
83
92
|
return {
|
|
84
93
|
c() {
|
|
@@ -129,17 +138,17 @@ function I(i) {
|
|
|
129
138
|
};
|
|
130
139
|
}
|
|
131
140
|
function ie(i) {
|
|
132
|
-
let e, t, s,
|
|
141
|
+
let e, t, s, f, d, g, m, h, C, o = !!/*showbackbutton*/
|
|
133
142
|
i[3] && /*showbackbutton*/
|
|
134
|
-
i[3] !== "false" &&
|
|
143
|
+
i[3] !== "false" && I(i), r = (!/*showbackbutton*/
|
|
135
144
|
i[3] || /*showbackbutton*/
|
|
136
|
-
i[3] === "false") &&
|
|
145
|
+
i[3] === "false") && j(i), c = (
|
|
137
146
|
/*isLoading*/
|
|
138
|
-
i[9] &&
|
|
147
|
+
i[9] && z(i)
|
|
139
148
|
);
|
|
140
149
|
return {
|
|
141
150
|
c() {
|
|
142
|
-
e = p("div"), t = p("cashier-header"), o && o.c(), s = S(), r && r.c(),
|
|
151
|
+
e = p("div"), t = p("cashier-header"), o && o.c(), s = S(), r && r.c(), f = S(), c && c.c(), d = S(), g = p("iframe"), a(
|
|
143
152
|
t,
|
|
144
153
|
"lang",
|
|
145
154
|
/*lang*/
|
|
@@ -174,84 +183,84 @@ function ie(i) {
|
|
|
174
183
|
"mbsource",
|
|
175
184
|
/*mbsource*/
|
|
176
185
|
i[4]
|
|
177
|
-
),
|
|
178
|
-
i[1]) || w(
|
|
186
|
+
), B(g.src, m = /*iframeurl*/
|
|
187
|
+
i[1]) || w(g, "src", m), w(g, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
|
|
179
188
|
},
|
|
180
|
-
m(l,
|
|
181
|
-
v(l, e,
|
|
182
|
-
|
|
189
|
+
m(l, u) {
|
|
190
|
+
v(l, e, u), _(e, t), o && o.m(t, null), _(t, s), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, d), _(e, g), i[13](e), h || (C = H(
|
|
191
|
+
g,
|
|
183
192
|
"load",
|
|
184
193
|
/*load_handler*/
|
|
185
194
|
i[12]
|
|
186
|
-
),
|
|
195
|
+
), h = !0);
|
|
187
196
|
},
|
|
188
|
-
p(l, [
|
|
197
|
+
p(l, [u]) {
|
|
189
198
|
/*showbackbutton*/
|
|
190
199
|
l[3] && /*showbackbutton*/
|
|
191
|
-
l[3] !== "false" ? o ? o.p(l,
|
|
200
|
+
l[3] !== "false" ? o ? o.p(l, u) : (o = I(l), o.c(), o.m(t, s)) : o && (o.d(1), o = null), !/*showbackbutton*/
|
|
192
201
|
l[3] || /*showbackbutton*/
|
|
193
|
-
l[3] === "false" ? r ? r.p(l,
|
|
202
|
+
l[3] === "false" ? r ? r.p(l, u) : (r = j(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
|
|
194
203
|
1 && a(
|
|
195
204
|
t,
|
|
196
205
|
"lang",
|
|
197
206
|
/*lang*/
|
|
198
207
|
l[0]
|
|
199
|
-
),
|
|
208
|
+
), u & /*translationurl*/
|
|
200
209
|
4 && a(
|
|
201
210
|
t,
|
|
202
211
|
"translationurl",
|
|
203
212
|
/*translationurl*/
|
|
204
213
|
l[2]
|
|
205
|
-
),
|
|
214
|
+
), u & /*title*/
|
|
206
215
|
128 && a(
|
|
207
216
|
t,
|
|
208
217
|
"title",
|
|
209
218
|
/*title*/
|
|
210
219
|
l[7]
|
|
211
|
-
),
|
|
220
|
+
), u & /*showbackbutton*/
|
|
212
221
|
8 && a(
|
|
213
222
|
t,
|
|
214
223
|
"showbackbutton",
|
|
215
224
|
/*showbackbutton*/
|
|
216
225
|
l[3]
|
|
217
|
-
),
|
|
226
|
+
), u & /*clientstylingurl*/
|
|
218
227
|
64 && a(
|
|
219
228
|
t,
|
|
220
229
|
"clientstylingurl",
|
|
221
230
|
/*clientstylingurl*/
|
|
222
231
|
l[6]
|
|
223
|
-
),
|
|
232
|
+
), u & /*clientstyling*/
|
|
224
233
|
32 && a(
|
|
225
234
|
t,
|
|
226
235
|
"clientstyling",
|
|
227
236
|
/*clientstyling*/
|
|
228
237
|
l[5]
|
|
229
|
-
),
|
|
238
|
+
), u & /*mbsource*/
|
|
230
239
|
16 && a(
|
|
231
240
|
t,
|
|
232
241
|
"mbsource",
|
|
233
242
|
/*mbsource*/
|
|
234
243
|
l[4]
|
|
235
244
|
), /*isLoading*/
|
|
236
|
-
l[9] ? c ? c.p(l,
|
|
237
|
-
2 && !
|
|
238
|
-
l[1]) && w(
|
|
245
|
+
l[9] ? c ? c.p(l, u) : (c = z(l), c.c(), c.m(e, d)) : c && (c.d(1), c = null), u & /*iframeurl*/
|
|
246
|
+
2 && !B(g.src, m = /*iframeurl*/
|
|
247
|
+
l[1]) && w(g, "src", m);
|
|
239
248
|
},
|
|
240
249
|
i: L,
|
|
241
250
|
o: L,
|
|
242
251
|
d(l) {
|
|
243
|
-
l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null),
|
|
252
|
+
l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), h = !1, C();
|
|
244
253
|
}
|
|
245
254
|
};
|
|
246
255
|
}
|
|
247
256
|
function ne(i, e, t) {
|
|
248
|
-
let { lang: s = "en" } = e, { iframeurl:
|
|
249
|
-
const
|
|
250
|
-
let n =
|
|
257
|
+
let { lang: s = "en" } = e, { iframeurl: f } = e, { translationurl: d = "" } = e, { showbackbutton: g = "" } = e, { mbsource: m } = e, { clientstyling: h } = e, { clientstylingurl: C } = e, { title: o = "" } = e, r, c, l = !0;
|
|
258
|
+
const u = () => {
|
|
259
|
+
let n = d;
|
|
251
260
|
if (n)
|
|
252
261
|
return fetch(n).then((y) => y.json()).then((y) => {
|
|
253
|
-
Object.keys(y).forEach((
|
|
254
|
-
R(
|
|
262
|
+
Object.keys(y).forEach((M) => {
|
|
263
|
+
R(M, y[M]);
|
|
255
264
|
});
|
|
256
265
|
}).catch((y) => {
|
|
257
266
|
console.log(y);
|
|
@@ -260,44 +269,44 @@ function ne(i, e, t) {
|
|
|
260
269
|
Object.keys(F).forEach((n) => {
|
|
261
270
|
R(n, F[n]);
|
|
262
271
|
});
|
|
263
|
-
const
|
|
272
|
+
const A = () => {
|
|
264
273
|
ee(s);
|
|
265
|
-
},
|
|
274
|
+
}, O = () => {
|
|
266
275
|
window.postMessage({ type: "CloseIframe" }, window.location.href);
|
|
267
|
-
},
|
|
276
|
+
}, E = (n) => {
|
|
268
277
|
n.target.src && t(9, l = !1);
|
|
269
|
-
},
|
|
270
|
-
V(() => (
|
|
278
|
+
}, T = () => window.postMessage({ type: "DisableScroll" }, window.location.href), D = () => window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
279
|
+
V(() => (T(), () => {
|
|
271
280
|
D();
|
|
272
281
|
}));
|
|
273
|
-
const N = (n) =>
|
|
282
|
+
const N = (n) => E(n);
|
|
274
283
|
function q(n) {
|
|
275
284
|
W[n ? "unshift" : "push"](() => {
|
|
276
285
|
r = n, t(8, r);
|
|
277
286
|
});
|
|
278
287
|
}
|
|
279
288
|
return i.$$set = (n) => {
|
|
280
|
-
"lang" in n && t(0, s = n.lang), "iframeurl" in n && t(1,
|
|
289
|
+
"lang" in n && t(0, s = n.lang), "iframeurl" in n && t(1, f = n.iframeurl), "translationurl" in n && t(2, d = n.translationurl), "showbackbutton" in n && t(3, g = n.showbackbutton), "mbsource" in n && t(4, m = n.mbsource), "clientstyling" in n && t(5, h = n.clientstyling), "clientstylingurl" in n && t(6, C = n.clientstylingurl), "title" in n && t(7, o = n.title);
|
|
281
290
|
}, i.$$.update = () => {
|
|
282
291
|
i.$$.dirty & /*lang*/
|
|
283
|
-
1 && s &&
|
|
284
|
-
4 &&
|
|
285
|
-
288 &&
|
|
292
|
+
1 && s && A(), i.$$.dirty & /*translationurl*/
|
|
293
|
+
4 && d && u(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
294
|
+
288 && h && r && Y(r, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
286
295
|
320 && C && r && x(r, C), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
287
|
-
272 &&
|
|
296
|
+
272 && m && r && $(r, `${m}.Style`, c);
|
|
288
297
|
}, [
|
|
289
298
|
s,
|
|
290
|
-
|
|
291
|
-
h,
|
|
292
|
-
m,
|
|
293
|
-
g,
|
|
299
|
+
f,
|
|
294
300
|
d,
|
|
301
|
+
g,
|
|
302
|
+
m,
|
|
303
|
+
h,
|
|
295
304
|
C,
|
|
296
305
|
o,
|
|
297
306
|
r,
|
|
298
307
|
l,
|
|
299
|
-
|
|
300
|
-
|
|
308
|
+
O,
|
|
309
|
+
E,
|
|
301
310
|
N,
|
|
302
311
|
q
|
|
303
312
|
];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as U, i as Z, $ as J, S as P, b as G, s as K, f as b, c as Q, y as L, e as k, O as a, J as
|
|
2
|
-
import { s as Y, a as x, b as $ } from "./CashierHeader-
|
|
1
|
+
import { a as U, i as Z, $ as J, S as P, b as G, s as K, f as b, c as Q, y as L, e as k, O as a, J as B, o as w, k as v, l as _, z as H, m as p, n as S, q as V, x as W, A as X } from "./CashierPage-D9p8Vv64.js";
|
|
2
|
+
import { s as Y, a as x, b as $ } from "./CashierHeader-Byz_chFz.js";
|
|
3
3
|
function R(i, e) {
|
|
4
4
|
U(i, e);
|
|
5
5
|
}
|
|
@@ -17,6 +17,15 @@ const F = {
|
|
|
17
17
|
},
|
|
18
18
|
fr: {
|
|
19
19
|
redirectHeader: "Redirection du dépôt"
|
|
20
|
+
},
|
|
21
|
+
da: {
|
|
22
|
+
redirectHeader: "Indbetaling omdirigering"
|
|
23
|
+
},
|
|
24
|
+
de: {
|
|
25
|
+
redirectHeader: "Einzahlungsweiterleitung"
|
|
26
|
+
},
|
|
27
|
+
nl: {
|
|
28
|
+
redirectHeader: "Stortingsomleiding"
|
|
20
29
|
}
|
|
21
30
|
};
|
|
22
31
|
if (typeof window != "undefined") {
|
|
@@ -31,21 +40,21 @@ if (typeof window != "undefined") {
|
|
|
31
40
|
}
|
|
32
41
|
};
|
|
33
42
|
};
|
|
34
|
-
customElements.define = i(customElements.define), import("./CashierSpinner-
|
|
43
|
+
customElements.define = i(customElements.define), import("./CashierSpinner-WMxJlzPU.js").then(({ default: e }) => {
|
|
35
44
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
|
36
45
|
});
|
|
37
46
|
}
|
|
38
47
|
function te(i) {
|
|
39
48
|
Q(i, "svelte-14e65vo", ".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box;width:100%;height:100%;background-color:var(--emw--color-background, #F9FAFF)}.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)}.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)}");
|
|
40
49
|
}
|
|
41
|
-
function
|
|
50
|
+
function I(i) {
|
|
42
51
|
let e, t, s;
|
|
43
52
|
return {
|
|
44
53
|
c() {
|
|
45
54
|
e = p("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>', w(e, "slot", "leftButton"), w(e, "class", "CashierHeaderLeftButton");
|
|
46
55
|
},
|
|
47
|
-
m(
|
|
48
|
-
v(
|
|
56
|
+
m(f, d) {
|
|
57
|
+
v(f, e, d), t || (s = H(
|
|
49
58
|
e,
|
|
50
59
|
"click",
|
|
51
60
|
/*close*/
|
|
@@ -53,19 +62,19 @@ function j(i) {
|
|
|
53
62
|
), t = !0);
|
|
54
63
|
},
|
|
55
64
|
p: L,
|
|
56
|
-
d(
|
|
57
|
-
|
|
65
|
+
d(f) {
|
|
66
|
+
f && k(e), t = !1, s();
|
|
58
67
|
}
|
|
59
68
|
};
|
|
60
69
|
}
|
|
61
|
-
function
|
|
70
|
+
function j(i) {
|
|
62
71
|
let e, t, s;
|
|
63
72
|
return {
|
|
64
73
|
c() {
|
|
65
74
|
e = p("div"), 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>', w(e, "slot", "rightButton"), w(e, "class", "CashierHeaderRightButton");
|
|
66
75
|
},
|
|
67
|
-
m(
|
|
68
|
-
v(
|
|
76
|
+
m(f, d) {
|
|
77
|
+
v(f, e, d), t || (s = H(
|
|
69
78
|
e,
|
|
70
79
|
"click",
|
|
71
80
|
/*close*/
|
|
@@ -73,12 +82,12 @@ function A(i) {
|
|
|
73
82
|
), t = !0);
|
|
74
83
|
},
|
|
75
84
|
p: L,
|
|
76
|
-
d(
|
|
77
|
-
|
|
85
|
+
d(f) {
|
|
86
|
+
f && k(e), t = !1, s();
|
|
78
87
|
}
|
|
79
88
|
};
|
|
80
89
|
}
|
|
81
|
-
function
|
|
90
|
+
function z(i) {
|
|
82
91
|
let e;
|
|
83
92
|
return {
|
|
84
93
|
c() {
|
|
@@ -129,17 +138,17 @@ function I(i) {
|
|
|
129
138
|
};
|
|
130
139
|
}
|
|
131
140
|
function ie(i) {
|
|
132
|
-
let e, t, s,
|
|
141
|
+
let e, t, s, f, d, g, m, h, C, o = !!/*showbackbutton*/
|
|
133
142
|
i[3] && /*showbackbutton*/
|
|
134
|
-
i[3] !== "false" &&
|
|
143
|
+
i[3] !== "false" && I(i), r = (!/*showbackbutton*/
|
|
135
144
|
i[3] || /*showbackbutton*/
|
|
136
|
-
i[3] === "false") &&
|
|
145
|
+
i[3] === "false") && j(i), c = (
|
|
137
146
|
/*isLoading*/
|
|
138
|
-
i[9] &&
|
|
147
|
+
i[9] && z(i)
|
|
139
148
|
);
|
|
140
149
|
return {
|
|
141
150
|
c() {
|
|
142
|
-
e = p("div"), t = p("cashier-header"), o && o.c(), s = S(), r && r.c(),
|
|
151
|
+
e = p("div"), t = p("cashier-header"), o && o.c(), s = S(), r && r.c(), f = S(), c && c.c(), d = S(), g = p("iframe"), a(
|
|
143
152
|
t,
|
|
144
153
|
"lang",
|
|
145
154
|
/*lang*/
|
|
@@ -174,84 +183,84 @@ function ie(i) {
|
|
|
174
183
|
"mbsource",
|
|
175
184
|
/*mbsource*/
|
|
176
185
|
i[4]
|
|
177
|
-
),
|
|
178
|
-
i[1]) || w(
|
|
186
|
+
), B(g.src, m = /*iframeurl*/
|
|
187
|
+
i[1]) || w(g, "src", m), w(g, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
|
|
179
188
|
},
|
|
180
|
-
m(l,
|
|
181
|
-
v(l, e,
|
|
182
|
-
|
|
189
|
+
m(l, u) {
|
|
190
|
+
v(l, e, u), _(e, t), o && o.m(t, null), _(t, s), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, d), _(e, g), i[13](e), h || (C = H(
|
|
191
|
+
g,
|
|
183
192
|
"load",
|
|
184
193
|
/*load_handler*/
|
|
185
194
|
i[12]
|
|
186
|
-
),
|
|
195
|
+
), h = !0);
|
|
187
196
|
},
|
|
188
|
-
p(l, [
|
|
197
|
+
p(l, [u]) {
|
|
189
198
|
/*showbackbutton*/
|
|
190
199
|
l[3] && /*showbackbutton*/
|
|
191
|
-
l[3] !== "false" ? o ? o.p(l,
|
|
200
|
+
l[3] !== "false" ? o ? o.p(l, u) : (o = I(l), o.c(), o.m(t, s)) : o && (o.d(1), o = null), !/*showbackbutton*/
|
|
192
201
|
l[3] || /*showbackbutton*/
|
|
193
|
-
l[3] === "false" ? r ? r.p(l,
|
|
202
|
+
l[3] === "false" ? r ? r.p(l, u) : (r = j(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
|
|
194
203
|
1 && a(
|
|
195
204
|
t,
|
|
196
205
|
"lang",
|
|
197
206
|
/*lang*/
|
|
198
207
|
l[0]
|
|
199
|
-
),
|
|
208
|
+
), u & /*translationurl*/
|
|
200
209
|
4 && a(
|
|
201
210
|
t,
|
|
202
211
|
"translationurl",
|
|
203
212
|
/*translationurl*/
|
|
204
213
|
l[2]
|
|
205
|
-
),
|
|
214
|
+
), u & /*title*/
|
|
206
215
|
128 && a(
|
|
207
216
|
t,
|
|
208
217
|
"title",
|
|
209
218
|
/*title*/
|
|
210
219
|
l[7]
|
|
211
|
-
),
|
|
220
|
+
), u & /*showbackbutton*/
|
|
212
221
|
8 && a(
|
|
213
222
|
t,
|
|
214
223
|
"showbackbutton",
|
|
215
224
|
/*showbackbutton*/
|
|
216
225
|
l[3]
|
|
217
|
-
),
|
|
226
|
+
), u & /*clientstylingurl*/
|
|
218
227
|
64 && a(
|
|
219
228
|
t,
|
|
220
229
|
"clientstylingurl",
|
|
221
230
|
/*clientstylingurl*/
|
|
222
231
|
l[6]
|
|
223
|
-
),
|
|
232
|
+
), u & /*clientstyling*/
|
|
224
233
|
32 && a(
|
|
225
234
|
t,
|
|
226
235
|
"clientstyling",
|
|
227
236
|
/*clientstyling*/
|
|
228
237
|
l[5]
|
|
229
|
-
),
|
|
238
|
+
), u & /*mbsource*/
|
|
230
239
|
16 && a(
|
|
231
240
|
t,
|
|
232
241
|
"mbsource",
|
|
233
242
|
/*mbsource*/
|
|
234
243
|
l[4]
|
|
235
244
|
), /*isLoading*/
|
|
236
|
-
l[9] ? c ? c.p(l,
|
|
237
|
-
2 && !
|
|
238
|
-
l[1]) && w(
|
|
245
|
+
l[9] ? c ? c.p(l, u) : (c = z(l), c.c(), c.m(e, d)) : c && (c.d(1), c = null), u & /*iframeurl*/
|
|
246
|
+
2 && !B(g.src, m = /*iframeurl*/
|
|
247
|
+
l[1]) && w(g, "src", m);
|
|
239
248
|
},
|
|
240
249
|
i: L,
|
|
241
250
|
o: L,
|
|
242
251
|
d(l) {
|
|
243
|
-
l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null),
|
|
252
|
+
l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), h = !1, C();
|
|
244
253
|
}
|
|
245
254
|
};
|
|
246
255
|
}
|
|
247
256
|
function ne(i, e, t) {
|
|
248
|
-
let { lang: s = "en" } = e, { iframeurl:
|
|
249
|
-
const
|
|
250
|
-
let n =
|
|
257
|
+
let { lang: s = "en" } = e, { iframeurl: f } = e, { translationurl: d = "" } = e, { showbackbutton: g = "" } = e, { mbsource: m } = e, { clientstyling: h } = e, { clientstylingurl: C } = e, { title: o = "" } = e, r, c, l = !0;
|
|
258
|
+
const u = () => {
|
|
259
|
+
let n = d;
|
|
251
260
|
if (n)
|
|
252
261
|
return fetch(n).then((y) => y.json()).then((y) => {
|
|
253
|
-
Object.keys(y).forEach((
|
|
254
|
-
R(
|
|
262
|
+
Object.keys(y).forEach((M) => {
|
|
263
|
+
R(M, y[M]);
|
|
255
264
|
});
|
|
256
265
|
}).catch((y) => {
|
|
257
266
|
console.log(y);
|
|
@@ -260,44 +269,44 @@ function ne(i, e, t) {
|
|
|
260
269
|
Object.keys(F).forEach((n) => {
|
|
261
270
|
R(n, F[n]);
|
|
262
271
|
});
|
|
263
|
-
const
|
|
272
|
+
const A = () => {
|
|
264
273
|
ee(s);
|
|
265
|
-
},
|
|
274
|
+
}, O = () => {
|
|
266
275
|
window.postMessage({ type: "CloseIframe" }, window.location.href);
|
|
267
|
-
},
|
|
276
|
+
}, E = (n) => {
|
|
268
277
|
n.target.src && t(9, l = !1);
|
|
269
|
-
},
|
|
270
|
-
V(() => (
|
|
278
|
+
}, T = () => window.postMessage({ type: "DisableScroll" }, window.location.href), D = () => window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
279
|
+
V(() => (T(), () => {
|
|
271
280
|
D();
|
|
272
281
|
}));
|
|
273
|
-
const q = (n) =>
|
|
282
|
+
const q = (n) => E(n);
|
|
274
283
|
function N(n) {
|
|
275
284
|
W[n ? "unshift" : "push"](() => {
|
|
276
285
|
r = n, t(8, r);
|
|
277
286
|
});
|
|
278
287
|
}
|
|
279
288
|
return i.$$set = (n) => {
|
|
280
|
-
"lang" in n && t(0, s = n.lang), "iframeurl" in n && t(1,
|
|
289
|
+
"lang" in n && t(0, s = n.lang), "iframeurl" in n && t(1, f = n.iframeurl), "translationurl" in n && t(2, d = n.translationurl), "showbackbutton" in n && t(3, g = n.showbackbutton), "mbsource" in n && t(4, m = n.mbsource), "clientstyling" in n && t(5, h = n.clientstyling), "clientstylingurl" in n && t(6, C = n.clientstylingurl), "title" in n && t(7, o = n.title);
|
|
281
290
|
}, i.$$.update = () => {
|
|
282
291
|
i.$$.dirty & /*lang*/
|
|
283
|
-
1 && s &&
|
|
284
|
-
4 &&
|
|
285
|
-
288 &&
|
|
292
|
+
1 && s && A(), i.$$.dirty & /*translationurl*/
|
|
293
|
+
4 && d && u(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
294
|
+
288 && h && r && Y(r, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
286
295
|
320 && C && r && x(r, C), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
287
|
-
272 &&
|
|
296
|
+
272 && m && r && $(r, `${m}.Style`, c);
|
|
288
297
|
}, [
|
|
289
298
|
s,
|
|
290
|
-
|
|
291
|
-
h,
|
|
292
|
-
m,
|
|
293
|
-
g,
|
|
299
|
+
f,
|
|
294
300
|
d,
|
|
301
|
+
g,
|
|
302
|
+
m,
|
|
303
|
+
h,
|
|
295
304
|
C,
|
|
296
305
|
o,
|
|
297
306
|
r,
|
|
298
307
|
l,
|
|
299
|
-
|
|
300
|
-
|
|
308
|
+
O,
|
|
309
|
+
E,
|
|
301
310
|
q,
|
|
302
311
|
N
|
|
303
312
|
];
|