@everymatrix/transaction-history-page 1.94.4 → 1.94.5

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.
Files changed (21) hide show
  1. package/components/{CashierHeader-BgqP6o2n.js → CashierHeader-Dps45bvD.js} +55 -55
  2. package/components/{CashierHeader-C9skgg6K.js → CashierHeader-VqZlMcfQ.js} +55 -55
  3. package/components/{CashierPagination-BQ0zM1HT.js → CashierPagination-BYioBqtX.js} +62 -62
  4. package/components/{CashierPagination-Dpx1Uv8X.js → CashierPagination-Di8e36mu.js} +62 -62
  5. package/components/{CashierTransactionHistory-BhMvKM0C.js → CashierTransactionHistory-BiO97ypE.js} +47 -47
  6. package/components/{CashierTransactionHistory-iVlcX-Nv.js → CashierTransactionHistory-Dm01enLA.js} +47 -47
  7. package/components/{EmptyStateIcon-Dn2bi74b.js → EmptyStateIcon-BsSYyOsP.js} +9 -9
  8. package/components/{EmptyStateIcon-H4iJ6uD7.js → EmptyStateIcon-DqL4WP6H.js} +9 -9
  9. package/components/{Tooltip-CicO5Q6_.js → Tooltip-CFY6iS7-.js} +44 -44
  10. package/components/{Tooltip-iRopEMp5.js → Tooltip-DZhYNp1G.js} +44 -44
  11. package/components/{TransactionHistoryCalendar-CVb20KqS.js → TransactionHistoryCalendar-CzYQKXmO.js} +147 -147
  12. package/components/{TransactionHistoryCalendar-CZNUV-hJ.js → TransactionHistoryCalendar-D5Q2U7XO.js} +145 -145
  13. package/components/{TransactionHistoryPage-B39MIcDN.js → TransactionHistoryPage-DKucg38h.js} +13 -13
  14. package/components/{TransactionHistoryPage-B77vRMCe.js → TransactionHistoryPage-tlq1gO6r.js} +13 -13
  15. package/components/{TxnStatusIcon-CTkF3uAv.js → TxnStatusIcon-Bb5wsYIO.js} +14 -14
  16. package/components/{TxnStatusIcon-Dn0Hqt1J.js → TxnStatusIcon-BsZdm_Ye.js} +14 -14
  17. package/components/{TxnTypeIcons-BT0RQXu_.js → TxnTypeIcons-Bq5P9BSU.js} +4 -4
  18. package/components/{TxnTypeIcons-Cq8oOZVY.js → TxnTypeIcons-DIEqbi-_.js} +4 -4
  19. package/es2015/transaction-history-page.js +1 -1
  20. package/esnext/transaction-history-page.js +1 -1
  21. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { S as X, i as $, s as tt, j as w, k as et, E as y, d as b, t as B, m as v, F as L, G as H, H as S, a as C, b as F, v as p, w as A, f as k, y as st, z as it, I as U, A as nt, B as lt, D as ot, n as Z, C as q, c as at } from "./Tooltip-iRopEMp5.js";
2
- import { a as rt, i as ct, $ as ut, s as ft, b as ht, c as gt, d as dt } from "./TransactionHistoryPage-B77vRMCe.js";
3
- function N(s, t) {
1
+ import { S as X, x as $, G as tt, s as w, c as et, l as y, o as b, R as B, Q as L, U as v, t as H, u as S, y as C, b as M, p, J as A, d as k, g as st, E as it, q as D, I as nt, N as lt, e as ot, C as I, A as Z, i as at } from "./Tooltip-CFY6iS7-.js";
2
+ import { b as rt, i as ct, a as ut, s as ft, e as ht, f as gt, $ as dt } from "./TransactionHistoryPage-DKucg38h.js";
3
+ function j(s, t) {
4
4
  rt(s, t);
5
5
  }
6
6
  function _t(s) {
@@ -8,7 +8,7 @@ function _t(s) {
8
8
  fallbackLocale: "en"
9
9
  }), ut.set(s);
10
10
  }
11
- const R = {
11
+ const x = {
12
12
  en: {
13
13
  header: {
14
14
  general: "Cashier",
@@ -34,22 +34,22 @@ const R = {
34
34
  function mt(s) {
35
35
  et(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)}");
36
36
  }
37
- const wt = (s) => ({}), x = (s) => ({}), bt = (s) => ({}), D = (s) => ({}), Ct = (s) => ({}), E = (s) => ({});
38
- function O(s) {
37
+ const wt = (s) => ({}), z = (s) => ({}), bt = (s) => ({}), E = (s) => ({}), Ct = (s) => ({}), O = (s) => ({});
38
+ function U(s) {
39
39
  let t, e, l;
40
40
  return {
41
41
  c() {
42
42
  t = p("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");
43
43
  },
44
44
  m(i, f) {
45
- C(i, t, f), e || (l = q(
45
+ C(i, t, f), e || (l = Z(
46
46
  t,
47
47
  "click",
48
48
  /*back*/
49
49
  s[6]
50
50
  ), e = !0);
51
51
  },
52
- p: Z,
52
+ p: I,
53
53
  d(i) {
54
54
  i && b(t), e = !1, l();
55
55
  }
@@ -58,18 +58,18 @@ function O(s) {
58
58
  function pt(s) {
59
59
  let t, e = (
60
60
  /*backButton*/
61
- s[1] && O(s)
61
+ s[1] && U(s)
62
62
  );
63
63
  return {
64
64
  c() {
65
- e && e.c(), t = U();
65
+ e && e.c(), t = D();
66
66
  },
67
67
  m(l, i) {
68
68
  e && e.m(l, i), C(l, t, i);
69
69
  },
70
70
  p(l, i) {
71
71
  /*backButton*/
72
- l[1] ? e ? e.p(l, i) : (e = O(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
72
+ l[1] ? e ? e.p(l, i) : (e = U(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
73
73
  },
74
74
  d(l) {
75
75
  l && b(t), e && e.d(l);
@@ -89,7 +89,7 @@ function kt(s) {
89
89
  t = p("span"), l = lt(e), k(t, "class", "CashierHeaderTitle");
90
90
  },
91
91
  m(i, f) {
92
- C(i, t, f), F(t, l);
92
+ C(i, t, f), M(t, l);
93
93
  },
94
94
  p(i, f) {
95
95
  f & /*$_, titleText*/
@@ -104,21 +104,21 @@ function kt(s) {
104
104
  }
105
105
  };
106
106
  }
107
- function I(s) {
107
+ function q(s) {
108
108
  let t, e, l;
109
109
  return {
110
110
  c() {
111
111
  t = p("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");
112
112
  },
113
113
  m(i, f) {
114
- C(i, t, f), e || (l = q(
114
+ C(i, t, f), e || (l = Z(
115
115
  t,
116
116
  "click",
117
117
  /*close*/
118
118
  s[5]
119
119
  ), e = !0);
120
120
  },
121
- p: Z,
121
+ p: I,
122
122
  d(i) {
123
123
  i && b(t), e = !1, l();
124
124
  }
@@ -127,18 +127,18 @@ function I(s) {
127
127
  function yt(s) {
128
128
  let t, e = (
129
129
  /*closeButton*/
130
- s[3] && I(s)
130
+ s[3] && q(s)
131
131
  );
132
132
  return {
133
133
  c() {
134
- e && e.c(), t = U();
134
+ e && e.c(), t = D();
135
135
  },
136
136
  m(l, i) {
137
137
  e && e.m(l, i), C(l, t, i);
138
138
  },
139
139
  p(l, i) {
140
140
  /*closeButton*/
141
- l[3] ? e ? e.p(l, i) : (e = I(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
141
+ l[3] ? e ? e.p(l, i) : (e = q(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
142
142
  },
143
143
  d(l) {
144
144
  l && b(t), e && e.d(l);
@@ -155,7 +155,7 @@ function Bt(s) {
155
155
  s,
156
156
  /*$$scope*/
157
157
  s[15],
158
- E
158
+ O
159
159
  ), a = _ || pt(s), m = (
160
160
  /*#slots*/
161
161
  s[16].title
@@ -164,7 +164,7 @@ function Bt(s) {
164
164
  s,
165
165
  /*$$scope*/
166
166
  s[15],
167
- D
167
+ E
168
168
  ), r = h || kt(s), g = (
169
169
  /*#slots*/
170
170
  s[16].rightButton
@@ -173,18 +173,18 @@ function Bt(s) {
173
173
  s,
174
174
  /*$$scope*/
175
175
  s[15],
176
- x
176
+ z
177
177
  ), c = d || yt(s);
178
178
  return {
179
179
  c() {
180
180
  t = p("div"), a && a.c(), e = A(), r && r.c(), l = A(), c && c.c(), k(t, "class", "CashierHeader");
181
181
  },
182
182
  m(n, u) {
183
- C(n, t, u), a && a.m(t, null), F(t, e), r && r.m(t, null), F(t, l), c && c.m(t, null), s[17](t), i = !0;
183
+ C(n, t, u), a && a.m(t, null), M(t, e), r && r.m(t, null), M(t, l), c && c.m(t, null), s[17](t), i = !0;
184
184
  },
185
185
  p(n, [u]) {
186
186
  _ ? _.p && (!i || u & /*$$scope*/
187
- 32768) && L(
187
+ 32768) && v(
188
188
  _,
189
189
  f,
190
190
  n,
@@ -200,10 +200,10 @@ function Bt(s) {
200
200
  /*$$scope*/
201
201
  n[15]
202
202
  ),
203
- E
203
+ O
204
204
  ) : a && a.p && (!i || u & /*backButton*/
205
205
  2) && a.p(n, i ? u : -1), h ? h.p && (!i || u & /*$$scope*/
206
- 32768) && L(
206
+ 32768) && v(
207
207
  h,
208
208
  m,
209
209
  n,
@@ -219,10 +219,10 @@ function Bt(s) {
219
219
  /*$$scope*/
220
220
  n[15]
221
221
  ),
222
- D
222
+ E
223
223
  ) : r && r.p && (!i || u & /*$_, titleText*/
224
224
  20) && r.p(n, i ? u : -1), d ? d.p && (!i || u & /*$$scope*/
225
- 32768) && L(
225
+ 32768) && v(
226
226
  d,
227
227
  g,
228
228
  n,
@@ -238,12 +238,12 @@ function Bt(s) {
238
238
  /*$$scope*/
239
239
  n[15]
240
240
  ),
241
- x
241
+ z
242
242
  ) : c && c.p && (!i || u & /*closeButton*/
243
243
  8) && c.p(n, i ? u : -1);
244
244
  },
245
245
  i(n) {
246
- i || (v(a, n), v(r, n), v(c, n), i = !0);
246
+ i || (L(a, n), L(r, n), L(c, n), i = !0);
247
247
  },
248
248
  o(n) {
249
249
  B(a, n), B(r, n), B(c, n), i = !1;
@@ -253,34 +253,34 @@ function Bt(s) {
253
253
  }
254
254
  };
255
255
  }
256
- function vt(s, t, e) {
256
+ function Lt(s, t, e) {
257
257
  let l;
258
258
  st(s, dt, (o) => e(4, l = o));
259
- let { $$slots: i = {}, $$scope: f } = t, { clientstyling: _ = "" } = t, { clientstylingurl: a = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: r = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: c = "" } = t, n, u, M = !1, T, j = !1;
259
+ let { $$slots: i = {}, $$scope: f } = t, { clientstyling: _ = "" } = t, { clientstylingurl: a = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: r = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: c = "" } = t, n, u, T = !1, F, N = !1;
260
260
  const G = () => {
261
261
  fetch(m).then((o) => o.json()).then((o) => {
262
- Object.keys(o).forEach((z) => {
263
- N(z, o[z]);
262
+ Object.keys(o).forEach((R) => {
263
+ j(R, o[R]);
264
264
  });
265
265
  }).catch((o) => {
266
266
  console.log(o);
267
267
  });
268
268
  };
269
- Object.keys(R).forEach((o) => {
270
- N(o, R[o]);
269
+ Object.keys(x).forEach((o) => {
270
+ j(o, x[o]);
271
271
  });
272
- const P = () => {
272
+ const J = () => {
273
273
  _t(g);
274
- }, W = () => {
274
+ }, P = () => {
275
275
  window.postMessage({ type: "CloseCashier" }, window.location.href);
276
- }, Y = () => {
276
+ }, Q = () => {
277
277
  window.postMessage({ type: "BackCashier" }, window.location.href);
278
- }, J = () => {
279
- e(1, M = !!h && h !== "false");
278
+ }, W = () => {
279
+ e(1, T = !!h && h !== "false");
280
+ }, Y = () => {
281
+ e(3, N = !!d && d !== "false");
280
282
  }, K = () => {
281
- e(3, j = !!d && d !== "false");
282
- }, Q = () => {
283
- e(2, T = r || "header.general");
283
+ e(2, F = r || "header.general");
284
284
  };
285
285
  it(() => () => {
286
286
  });
@@ -293,22 +293,22 @@ function vt(s, t, e) {
293
293
  "clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8, a = o.clientstylingurl), "translationurl" in o && e(9, m = o.translationurl), "showbackbutton" in o && e(10, h = o.showbackbutton), "title" in o && e(11, r = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, d = o.showclosebutton), "mbsource" in o && e(14, c = o.mbsource), "$$scope" in o && e(15, f = o.$$scope);
294
294
  }, s.$$.update = () => {
295
295
  s.$$.dirty & /*lang*/
296
- 4096 && g && P(), s.$$.dirty & /*lang, title*/
297
- 6144 && g && r && Q(), s.$$.dirty & /*clientstyling, customStylingContainer*/
296
+ 4096 && g && J(), s.$$.dirty & /*lang, title*/
297
+ 6144 && g && r && K(), s.$$.dirty & /*clientstyling, customStylingContainer*/
298
298
  129 && _ && n && ft(n, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
299
299
  257 && a && n && ht(n, a), s.$$.dirty & /*mbsource, customStylingContainer*/
300
300
  16385 && c && n && gt(n, `${c}.Style`, u), s.$$.dirty & /*lang, translationurl*/
301
301
  4608 && g && m && G(), s.$$.dirty & /*showbackbutton*/
302
- 1024 && h && J(), s.$$.dirty & /*showclosebutton*/
303
- 8192 && d && K();
302
+ 1024 && h && W(), s.$$.dirty & /*showclosebutton*/
303
+ 8192 && d && Y();
304
304
  }, [
305
305
  n,
306
- M,
307
306
  T,
308
- j,
307
+ F,
308
+ N,
309
309
  l,
310
- W,
311
- Y,
310
+ P,
311
+ Q,
312
312
  _,
313
313
  a,
314
314
  m,
@@ -322,12 +322,12 @@ function vt(s, t, e) {
322
322
  V
323
323
  ];
324
324
  }
325
- class Lt extends X {
325
+ class vt extends X {
326
326
  constructor(t) {
327
327
  super(), $(
328
328
  this,
329
329
  t,
330
- vt,
330
+ Lt,
331
331
  Bt,
332
332
  tt,
333
333
  {
@@ -392,7 +392,7 @@ class Lt extends X {
392
392
  this.$$set({ mbsource: t }), w();
393
393
  }
394
394
  }
395
- at(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
395
+ at(vt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
396
396
  export {
397
- Lt as default
397
+ vt as default
398
398
  };
@@ -1,6 +1,6 @@
1
- import { S as X, i as $, s as tt, j as w, k as et, E as y, d as b, t as B, m as v, F as L, G as H, H as S, a as C, b as F, v as p, w as A, f as k, y as st, z as it, I as U, A as nt, B as lt, D as ot, n as Z, C as q, c as at } from "./Tooltip-CicO5Q6_.js";
2
- import { a as rt, i as ct, $ as ut, s as ft, b as ht, c as gt, d as dt } from "./TransactionHistoryPage-B39MIcDN.js";
3
- function N(s, t) {
1
+ import { S as X, x as $, G as tt, s as w, c as et, l as y, o as b, R as B, Q as L, U as v, t as H, u as S, y as C, b as M, p, J as A, d as k, g as st, E as it, q as D, I as nt, N as lt, e as ot, C as I, A as Z, i as at } from "./Tooltip-DZhYNp1G.js";
2
+ import { b as rt, i as ct, a as ut, s as ft, e as ht, f as gt, $ as dt } from "./TransactionHistoryPage-tlq1gO6r.js";
3
+ function j(s, t) {
4
4
  rt(s, t);
5
5
  }
6
6
  function _t(s) {
@@ -8,7 +8,7 @@ function _t(s) {
8
8
  fallbackLocale: "en"
9
9
  }), ut.set(s);
10
10
  }
11
- const R = {
11
+ const x = {
12
12
  en: {
13
13
  header: {
14
14
  general: "Cashier",
@@ -34,22 +34,22 @@ const R = {
34
34
  function mt(s) {
35
35
  et(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)}");
36
36
  }
37
- const wt = (s) => ({}), x = (s) => ({}), bt = (s) => ({}), D = (s) => ({}), Ct = (s) => ({}), E = (s) => ({});
38
- function O(s) {
37
+ const wt = (s) => ({}), z = (s) => ({}), bt = (s) => ({}), E = (s) => ({}), Ct = (s) => ({}), O = (s) => ({});
38
+ function U(s) {
39
39
  let t, e, l;
40
40
  return {
41
41
  c() {
42
42
  t = p("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");
43
43
  },
44
44
  m(i, f) {
45
- C(i, t, f), e || (l = q(
45
+ C(i, t, f), e || (l = Z(
46
46
  t,
47
47
  "click",
48
48
  /*back*/
49
49
  s[6]
50
50
  ), e = !0);
51
51
  },
52
- p: Z,
52
+ p: I,
53
53
  d(i) {
54
54
  i && b(t), e = !1, l();
55
55
  }
@@ -58,18 +58,18 @@ function O(s) {
58
58
  function pt(s) {
59
59
  let t, e = (
60
60
  /*backButton*/
61
- s[1] && O(s)
61
+ s[1] && U(s)
62
62
  );
63
63
  return {
64
64
  c() {
65
- e && e.c(), t = U();
65
+ e && e.c(), t = D();
66
66
  },
67
67
  m(l, i) {
68
68
  e && e.m(l, i), C(l, t, i);
69
69
  },
70
70
  p(l, i) {
71
71
  /*backButton*/
72
- l[1] ? e ? e.p(l, i) : (e = O(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
72
+ l[1] ? e ? e.p(l, i) : (e = U(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
73
73
  },
74
74
  d(l) {
75
75
  l && b(t), e && e.d(l);
@@ -89,7 +89,7 @@ function kt(s) {
89
89
  t = p("span"), l = lt(e), k(t, "class", "CashierHeaderTitle");
90
90
  },
91
91
  m(i, f) {
92
- C(i, t, f), F(t, l);
92
+ C(i, t, f), M(t, l);
93
93
  },
94
94
  p(i, f) {
95
95
  f & /*$_, titleText*/
@@ -104,21 +104,21 @@ function kt(s) {
104
104
  }
105
105
  };
106
106
  }
107
- function I(s) {
107
+ function q(s) {
108
108
  let t, e, l;
109
109
  return {
110
110
  c() {
111
111
  t = p("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");
112
112
  },
113
113
  m(i, f) {
114
- C(i, t, f), e || (l = q(
114
+ C(i, t, f), e || (l = Z(
115
115
  t,
116
116
  "click",
117
117
  /*close*/
118
118
  s[5]
119
119
  ), e = !0);
120
120
  },
121
- p: Z,
121
+ p: I,
122
122
  d(i) {
123
123
  i && b(t), e = !1, l();
124
124
  }
@@ -127,18 +127,18 @@ function I(s) {
127
127
  function yt(s) {
128
128
  let t, e = (
129
129
  /*closeButton*/
130
- s[3] && I(s)
130
+ s[3] && q(s)
131
131
  );
132
132
  return {
133
133
  c() {
134
- e && e.c(), t = U();
134
+ e && e.c(), t = D();
135
135
  },
136
136
  m(l, i) {
137
137
  e && e.m(l, i), C(l, t, i);
138
138
  },
139
139
  p(l, i) {
140
140
  /*closeButton*/
141
- l[3] ? e ? e.p(l, i) : (e = I(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
141
+ l[3] ? e ? e.p(l, i) : (e = q(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
142
142
  },
143
143
  d(l) {
144
144
  l && b(t), e && e.d(l);
@@ -155,7 +155,7 @@ function Bt(s) {
155
155
  s,
156
156
  /*$$scope*/
157
157
  s[15],
158
- E
158
+ O
159
159
  ), a = _ || pt(s), m = (
160
160
  /*#slots*/
161
161
  s[16].title
@@ -164,7 +164,7 @@ function Bt(s) {
164
164
  s,
165
165
  /*$$scope*/
166
166
  s[15],
167
- D
167
+ E
168
168
  ), r = h || kt(s), g = (
169
169
  /*#slots*/
170
170
  s[16].rightButton
@@ -173,18 +173,18 @@ function Bt(s) {
173
173
  s,
174
174
  /*$$scope*/
175
175
  s[15],
176
- x
176
+ z
177
177
  ), c = d || yt(s);
178
178
  return {
179
179
  c() {
180
180
  t = p("div"), a && a.c(), e = A(), r && r.c(), l = A(), c && c.c(), k(t, "class", "CashierHeader");
181
181
  },
182
182
  m(n, u) {
183
- C(n, t, u), a && a.m(t, null), F(t, e), r && r.m(t, null), F(t, l), c && c.m(t, null), s[17](t), i = !0;
183
+ C(n, t, u), a && a.m(t, null), M(t, e), r && r.m(t, null), M(t, l), c && c.m(t, null), s[17](t), i = !0;
184
184
  },
185
185
  p(n, [u]) {
186
186
  _ ? _.p && (!i || u & /*$$scope*/
187
- 32768) && L(
187
+ 32768) && v(
188
188
  _,
189
189
  f,
190
190
  n,
@@ -200,10 +200,10 @@ function Bt(s) {
200
200
  /*$$scope*/
201
201
  n[15]
202
202
  ),
203
- E
203
+ O
204
204
  ) : a && a.p && (!i || u & /*backButton*/
205
205
  2) && a.p(n, i ? u : -1), h ? h.p && (!i || u & /*$$scope*/
206
- 32768) && L(
206
+ 32768) && v(
207
207
  h,
208
208
  m,
209
209
  n,
@@ -219,10 +219,10 @@ function Bt(s) {
219
219
  /*$$scope*/
220
220
  n[15]
221
221
  ),
222
- D
222
+ E
223
223
  ) : r && r.p && (!i || u & /*$_, titleText*/
224
224
  20) && r.p(n, i ? u : -1), d ? d.p && (!i || u & /*$$scope*/
225
- 32768) && L(
225
+ 32768) && v(
226
226
  d,
227
227
  g,
228
228
  n,
@@ -238,12 +238,12 @@ function Bt(s) {
238
238
  /*$$scope*/
239
239
  n[15]
240
240
  ),
241
- x
241
+ z
242
242
  ) : c && c.p && (!i || u & /*closeButton*/
243
243
  8) && c.p(n, i ? u : -1);
244
244
  },
245
245
  i(n) {
246
- i || (v(a, n), v(r, n), v(c, n), i = !0);
246
+ i || (L(a, n), L(r, n), L(c, n), i = !0);
247
247
  },
248
248
  o(n) {
249
249
  B(a, n), B(r, n), B(c, n), i = !1;
@@ -253,34 +253,34 @@ function Bt(s) {
253
253
  }
254
254
  };
255
255
  }
256
- function vt(s, t, e) {
256
+ function Lt(s, t, e) {
257
257
  let l;
258
258
  st(s, dt, (o) => e(4, l = o));
259
- let { $$slots: i = {}, $$scope: f } = t, { clientstyling: _ = "" } = t, { clientstylingurl: a = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: r = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: c = "" } = t, n, u, M = !1, T, j = !1;
259
+ let { $$slots: i = {}, $$scope: f } = t, { clientstyling: _ = "" } = t, { clientstylingurl: a = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: r = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: c = "" } = t, n, u, T = !1, F, N = !1;
260
260
  const G = () => {
261
261
  fetch(m).then((o) => o.json()).then((o) => {
262
- Object.keys(o).forEach((z) => {
263
- N(z, o[z]);
262
+ Object.keys(o).forEach((R) => {
263
+ j(R, o[R]);
264
264
  });
265
265
  }).catch((o) => {
266
266
  console.log(o);
267
267
  });
268
268
  };
269
- Object.keys(R).forEach((o) => {
270
- N(o, R[o]);
269
+ Object.keys(x).forEach((o) => {
270
+ j(o, x[o]);
271
271
  });
272
- const P = () => {
272
+ const J = () => {
273
273
  _t(g);
274
- }, W = () => {
274
+ }, P = () => {
275
275
  window.postMessage({ type: "CloseCashier" }, window.location.href);
276
- }, Y = () => {
276
+ }, Q = () => {
277
277
  window.postMessage({ type: "BackCashier" }, window.location.href);
278
- }, J = () => {
279
- e(1, M = !!h && h !== "false");
278
+ }, W = () => {
279
+ e(1, T = !!h && h !== "false");
280
+ }, Y = () => {
281
+ e(3, N = !!d && d !== "false");
280
282
  }, K = () => {
281
- e(3, j = !!d && d !== "false");
282
- }, Q = () => {
283
- e(2, T = r || "header.general");
283
+ e(2, F = r || "header.general");
284
284
  };
285
285
  it(() => () => {
286
286
  });
@@ -293,22 +293,22 @@ function vt(s, t, e) {
293
293
  "clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8, a = o.clientstylingurl), "translationurl" in o && e(9, m = o.translationurl), "showbackbutton" in o && e(10, h = o.showbackbutton), "title" in o && e(11, r = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, d = o.showclosebutton), "mbsource" in o && e(14, c = o.mbsource), "$$scope" in o && e(15, f = o.$$scope);
294
294
  }, s.$$.update = () => {
295
295
  s.$$.dirty & /*lang*/
296
- 4096 && g && P(), s.$$.dirty & /*lang, title*/
297
- 6144 && g && r && Q(), s.$$.dirty & /*clientstyling, customStylingContainer*/
296
+ 4096 && g && J(), s.$$.dirty & /*lang, title*/
297
+ 6144 && g && r && K(), s.$$.dirty & /*clientstyling, customStylingContainer*/
298
298
  129 && _ && n && ft(n, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
299
299
  257 && a && n && ht(n, a), s.$$.dirty & /*mbsource, customStylingContainer*/
300
300
  16385 && c && n && gt(n, `${c}.Style`, u), s.$$.dirty & /*lang, translationurl*/
301
301
  4608 && g && m && G(), s.$$.dirty & /*showbackbutton*/
302
- 1024 && h && J(), s.$$.dirty & /*showclosebutton*/
303
- 8192 && d && K();
302
+ 1024 && h && W(), s.$$.dirty & /*showclosebutton*/
303
+ 8192 && d && Y();
304
304
  }, [
305
305
  n,
306
- M,
307
306
  T,
308
- j,
307
+ F,
308
+ N,
309
309
  l,
310
- W,
311
- Y,
310
+ P,
311
+ Q,
312
312
  _,
313
313
  a,
314
314
  m,
@@ -322,12 +322,12 @@ function vt(s, t, e) {
322
322
  V
323
323
  ];
324
324
  }
325
- class Lt extends X {
325
+ class vt extends X {
326
326
  constructor(t) {
327
327
  super(), $(
328
328
  this,
329
329
  t,
330
- vt,
330
+ Lt,
331
331
  Bt,
332
332
  tt,
333
333
  {
@@ -392,7 +392,7 @@ class Lt extends X {
392
392
  this.$$set({ mbsource: t }), w();
393
393
  }
394
394
  }
395
- at(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
395
+ at(vt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
396
396
  export {
397
- Lt as default
397
+ vt as default
398
398
  };