@everymatrix/cashier-page 1.76.0 → 1.76.3

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 (84) hide show
  1. package/components/CashierError-BEeh6TaY.cjs +21 -0
  2. package/components/{CashierError-C-zeMshr.js → CashierError-CyV-JySM.js} +960 -926
  3. package/components/{CashierError-DW5fJt8u.js → CashierError-Dc34a9CC.js} +945 -911
  4. package/components/{CashierHeader-DO8Jda8y.js → CashierHeader-BCdG7bez.js} +94 -94
  5. package/components/CashierHeader-DGEWiZlt.cjs +1 -0
  6. package/components/{CashierHeader-BvRhx3QL.js → CashierHeader-DLG8WfO6.js} +96 -96
  7. package/components/{CashierIframeRedirect-tAMQ7K0U.cjs → CashierIframeRedirect-CkRri0IY.cjs} +1 -1
  8. package/components/{CashierIframeRedirect-DaYR4ZSu.js → CashierIframeRedirect-CnEM1gDh.js} +32 -32
  9. package/components/{CashierIframeRedirect-BeOg9j9R.js → CashierIframeRedirect-Dk2xegfN.js} +22 -22
  10. package/components/{CashierMethodDetails-3jy1FDno.js → CashierMethodDetails-B7K0QBeJ.js} +2856 -2640
  11. package/components/{CashierMethodDetails-D1Rbykqx.js → CashierMethodDetails-BoS6MlUx.js} +2800 -2584
  12. package/components/CashierMethodDetails-bl4ScKF1.cjs +86 -0
  13. package/components/{CashierMethodsList-LrhQVCu_.js → CashierMethodsList-CRFPceug.js} +78 -78
  14. package/components/{CashierMethodsList-CscGn4Gv.cjs → CashierMethodsList-DY3MlNFY.cjs} +1 -1
  15. package/components/{CashierMethodsList-B2qR503A.js → CashierMethodsList-DhR3GOR6.js} +72 -72
  16. package/components/CashierModal-Cd446Ova.cjs +1 -0
  17. package/components/CashierModal-CzXlonwB.js +249 -0
  18. package/components/CashierModal-DO7QbZLa.js +249 -0
  19. package/components/{CashierNotifications-BD7efj1m.js → CashierNotifications-BJvuSaMv.js} +32 -32
  20. package/components/{CashierNotifications-BRJ9mXv_.cjs → CashierNotifications-BdzVIY--.cjs} +1 -1
  21. package/components/{CashierNotifications-CUz6gwXF.js → CashierNotifications-DVtcZTJB.js} +32 -32
  22. package/components/{CashierPage-Db8ZicVP.js → CashierPage-B0lu-4i9.js} +808 -1186
  23. package/components/{CashierPage-CW6lgArf.js → CashierPage-BrEwgGiY.js} +808 -1186
  24. package/components/{CashierPage-BbXHTH84.cjs → CashierPage-Cuva9Y9y.cjs} +1 -1
  25. package/components/{CashierReceiptPage-Cf5pCh8Z.cjs → CashierReceiptPage-D0NlK-Nf.cjs} +1 -1
  26. package/components/{CashierReceiptPage-Br9U1RfK.js → CashierReceiptPage-DZJjgSBw.js} +90 -90
  27. package/components/{CashierReceiptPage-CBbzq7O6.js → CashierReceiptPage-DvKEi_ba.js} +114 -114
  28. package/components/{CashierSessionExpirationModal-BZLQ4F3T.js → CashierSessionExpirationModal-B_Y3Xi95.js} +228 -219
  29. package/components/CashierSessionExpirationModal-CBFaRe-x.cjs +2 -0
  30. package/components/{CashierSessionExpirationModal-B8lZyvQF.js → CashierSessionExpirationModal-XdME6XUb.js} +229 -220
  31. package/components/{CashierSpinner-u67Lmpn1.js → CashierSpinner-DGvMA7TT.js} +15 -15
  32. package/components/{CashierSpinner-B3kDZ7DD.cjs → CashierSpinner-DtxnAuCX.cjs} +1 -1
  33. package/components/{CashierSpinner-CWDfPPKy.js → CashierSpinner-nxLopx6S.js} +16 -16
  34. package/components/{CashierTransactionHistory-C81J2b3z.js → CashierTransactionHistory-Bv4k6sdm.js} +116 -116
  35. package/components/{CashierTransactionHistory-BmG7XPkF.js → CashierTransactionHistory-D9cuJwNg.js} +73 -73
  36. package/components/{CashierTransactionHistory-DVJeMS7y.cjs → CashierTransactionHistory-tuj8kYsP.cjs} +1 -1
  37. package/components/CashierVerifications-3sSSv6ir.js +647 -0
  38. package/components/CashierVerifications-cWStjKKK.js +643 -0
  39. package/components/CashierVerifications-lbOEU8Wv.cjs +1 -0
  40. package/components/{TxnStatusIcon-DlBt7swO.cjs → TxnStatusIcon-BnYqfnba.cjs} +1 -1
  41. package/components/{TxnStatusIcon-Degz9oJQ.js → TxnStatusIcon-Cz9gvTZb.js} +23 -23
  42. package/components/{TxnStatusIcon-DK8gf5Ec.js → TxnStatusIcon-_w4gDvXk.js} +19 -19
  43. package/components/{TxnTypeIcons-Cjawm9IS.js → TxnTypeIcons-BoTS7N4H.js} +14 -14
  44. package/components/{TxnTypeIcons-DH1CxqvE.cjs → TxnTypeIcons-BpU4tRqc.cjs} +1 -1
  45. package/components/{TxnTypeIcons-DdfELKt3.js → TxnTypeIcons-UBC4VGlN.js} +14 -14
  46. package/es2015/cashier-page.cjs +1 -1
  47. package/es2015/cashier-page.js +1 -1
  48. package/esnext/cashier-page.js +1 -1
  49. package/package.json +1 -1
  50. package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
  51. package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-C7V2DWFg.js} +176 -176
  52. package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-DIpvPU9H.js} +187 -187
  53. package/stencil/index-b2193545-9IBTGq1X.cjs +1 -0
  54. package/stencil/index-b2193545-B5WVVmva.js +519 -0
  55. package/stencil/index-b2193545-CfiRkmy3.js +503 -0
  56. package/stencil/{ui-image-ByEXiBzx.cjs → ui-image-CNNeJmP0.cjs} +1 -1
  57. package/stencil/{ui-image-DIEeZy5u.js → ui-image-DCPAt25-.js} +1 -1
  58. package/stencil/{ui-image-BWJXFWH1.js → ui-image-am9MgSQ8.js} +1 -1
  59. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
  60. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
  61. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
  62. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-CzFe50WB.js} +2 -2
  63. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
  64. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-z5LhXZY2.js} +2 -2
  65. package/stencil/{ui-skeleton-9boHSjtG.js → ui-skeleton-D1L4lwNZ.js} +2 -2
  66. package/stencil/{ui-skeleton-DgAs7VA3.cjs → ui-skeleton-D6had8uT.cjs} +1 -1
  67. package/stencil/{ui-skeleton-ae35c6f2-8tYGV8SR.js → ui-skeleton-ae35c6f2-Biyf8F-y.js} +1 -1
  68. package/stencil/{ui-skeleton-ae35c6f2-IN_dPA5_.js → ui-skeleton-ae35c6f2-CzSGP5Of.js} +1 -1
  69. package/stencil/{ui-skeleton-ae35c6f2-DLHrpWJM.cjs → ui-skeleton-ae35c6f2-DSTcB-py.cjs} +1 -1
  70. package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-vQGsM2TX.js} +2 -2
  71. package/components/CashierError-Do2yNrqx.cjs +0 -8
  72. package/components/CashierHeader-b4lqjMMD.cjs +0 -1
  73. package/components/CashierMethodDetails-BccXMt8_.cjs +0 -99
  74. package/components/CashierModal-BU4NlVMY.js +0 -229
  75. package/components/CashierModal-CVXS5J4T.cjs +0 -1
  76. package/components/CashierModal-DvL5giYo.js +0 -229
  77. package/components/CashierSessionExpirationModal-CqZBSAuZ.cjs +0 -2
  78. package/components/CashierVerifications-BluIxyAW.js +0 -595
  79. package/components/CashierVerifications-DMMGPuTt.js +0 -599
  80. package/components/CashierVerifications-DbTUG014.cjs +0 -1
  81. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  82. package/stencil/index-b2193545-BoSqyMpB.js +0 -519
  83. package/stencil/index-b2193545-D4dOaNlR.js +0 -503
  84. package/stencil/index-b2193545-DGHOe8n4.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { a as V, i as X, $, S as tt, b as et, f as b, s as st, c as nt, d as it, e as y, g as w, t as B, h as L, u as v, j as H, k as S, l as C, m as M, n as p, o as z, p as k, q as lt, r as ot, v as U, w as at, x as rt, y as ct, z as W, A as Z, B as ut, C as ft, D as ht, E as gt } from "./CashierError-DW5fJt8u.js";
1
+ import { a as V, i as X, $, S as tt, b as et, f as b, c as st, s as nt, d as lt, e as y, g as p, h as z, j as k, k as w, l as M, u as B, m as L, n as v, t as H, o as S, p as C, q as it, r as ot, v as U, w as at, x as rt, y as ct, z as ut, A as ft, B as ht, C as W, D as Z, E as gt } from "./CashierError-Dc34a9CC.js";
2
2
  function N(s, t) {
3
3
  V(s, t);
4
4
  }
@@ -31,26 +31,26 @@ const x = {
31
31
  }
32
32
  };
33
33
  function _t(s) {
34
- it(s, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;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}");
34
+ lt(s, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;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}");
35
35
  }
36
36
  const mt = (s) => ({}), A = (s) => ({}), bt = (s) => ({}), R = (s) => ({}), wt = (s) => ({}), D = (s) => ({});
37
37
  function O(s) {
38
- let t, e, l;
38
+ let t, e, i;
39
39
  return {
40
40
  c() {
41
41
  t = p("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><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" fill="#111111"></path></svg>', k(t, "class", "CashierHeaderLeftButton");
42
42
  },
43
- m(n, f) {
44
- C(n, t, f), e || (l = Z(
43
+ m(n, r) {
44
+ w(n, t, r), e || (i = W(
45
45
  t,
46
46
  "click",
47
47
  /*back*/
48
48
  s[6]
49
49
  ), e = !0);
50
50
  },
51
- p: W,
51
+ p: Z,
52
52
  d(n) {
53
- n && w(t), e = !1, l();
53
+ n && C(t), e = !1, i();
54
54
  }
55
55
  };
56
56
  }
@@ -63,15 +63,15 @@ function Ct(s) {
63
63
  c() {
64
64
  e && e.c(), t = U();
65
65
  },
66
- m(l, n) {
67
- e && e.m(l, n), C(l, t, n);
66
+ m(i, n) {
67
+ e && e.m(i, n), w(i, t, n);
68
68
  },
69
- p(l, n) {
69
+ p(i, n) {
70
70
  /*backButton*/
71
- l[1] ? e ? e.p(l, n) : (e = O(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
71
+ i[1] ? e ? e.p(i, n) : (e = O(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
72
72
  },
73
- d(l) {
74
- l && w(t), e && e.d(l);
73
+ d(i) {
74
+ i && C(t), e && e.d(i);
75
75
  }
76
76
  };
77
77
  }
@@ -82,44 +82,44 @@ function pt(s) {
82
82
  /*titleText*/
83
83
  s[2]
84
84
  ) + ""
85
- ), l;
85
+ ), i;
86
86
  return {
87
87
  c() {
88
- t = p("span"), l = rt(e), k(t, "class", "CashierHeaderTitle");
88
+ t = p("span"), i = at(e), k(t, "class", "CashierHeaderTitle");
89
89
  },
90
- m(n, f) {
91
- C(n, t, f), M(t, l);
90
+ m(n, r) {
91
+ w(n, t, r), M(t, i);
92
92
  },
93
- p(n, f) {
94
- f & /*$_, titleText*/
93
+ p(n, r) {
94
+ r & /*$_, titleText*/
95
95
  20 && e !== (e = /*$_*/
96
96
  n[4](
97
97
  /*titleText*/
98
98
  n[2]
99
- ) + "") && at(l, e);
99
+ ) + "") && rt(i, e);
100
100
  },
101
101
  d(n) {
102
- n && w(t);
102
+ n && C(t);
103
103
  }
104
104
  };
105
105
  }
106
106
  function q(s) {
107
- let t, e, l;
107
+ let t, e, i;
108
108
  return {
109
109
  c() {
110
110
  t = p("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><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" fill="#111111"></path></svg>', k(t, "class", "CashierHeaderRightButton");
111
111
  },
112
- m(n, f) {
113
- C(n, t, f), e || (l = Z(
112
+ m(n, r) {
113
+ w(n, t, r), e || (i = W(
114
114
  t,
115
115
  "click",
116
116
  /*close*/
117
117
  s[5]
118
118
  ), e = !0);
119
119
  },
120
- p: W,
120
+ p: Z,
121
121
  d(n) {
122
- n && w(t), e = !1, l();
122
+ n && C(t), e = !1, i();
123
123
  }
124
124
  };
125
125
  }
@@ -132,30 +132,30 @@ function kt(s) {
132
132
  c() {
133
133
  e && e.c(), t = U();
134
134
  },
135
- m(l, n) {
136
- e && e.m(l, n), C(l, t, n);
135
+ m(i, n) {
136
+ e && e.m(i, n), w(i, t, n);
137
137
  },
138
- p(l, n) {
138
+ p(i, n) {
139
139
  /*closeButton*/
140
- l[3] ? e ? e.p(l, n) : (e = q(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
140
+ i[3] ? e ? e.p(i, n) : (e = q(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
141
141
  },
142
- d(l) {
143
- l && w(t), e && e.d(l);
142
+ d(i) {
143
+ i && C(t), e && e.d(i);
144
144
  }
145
145
  };
146
146
  }
147
147
  function yt(s) {
148
- let t, e, l, n;
149
- const f = (
148
+ let t, e, i, n;
149
+ const r = (
150
150
  /*#slots*/
151
151
  s[16].leftButton
152
152
  ), _ = y(
153
- f,
153
+ r,
154
154
  s,
155
155
  /*$$scope*/
156
156
  s[15],
157
157
  D
158
- ), r = _ || Ct(s), m = (
158
+ ), c = _ || Ct(s), m = (
159
159
  /*#slots*/
160
160
  s[16].title
161
161
  ), h = y(
@@ -164,7 +164,7 @@ function yt(s) {
164
164
  /*$$scope*/
165
165
  s[15],
166
166
  R
167
- ), c = h || pt(s), g = (
167
+ ), u = h || pt(s), g = (
168
168
  /*#slots*/
169
169
  s[16].rightButton
170
170
  ), d = y(
@@ -173,89 +173,89 @@ function yt(s) {
173
173
  /*$$scope*/
174
174
  s[15],
175
175
  A
176
- ), u = d || kt(s);
176
+ ), f = d || kt(s);
177
177
  return {
178
178
  c() {
179
- t = p("div"), r && r.c(), e = z(), c && c.c(), l = z(), u && u.c(), k(t, "class", "CashierHeader");
179
+ t = p("div"), c.c(), e = z(), u.c(), i = z(), f.c(), k(t, "class", "CashierHeader");
180
180
  },
181
- m(i, a) {
182
- C(i, t, a), r && r.m(t, null), M(t, e), c && c.m(t, null), M(t, l), u && u.m(t, null), s[17](t), n = !0;
181
+ m(l, a) {
182
+ w(l, t, a), c.m(t, null), M(t, e), u.m(t, null), M(t, i), f.m(t, null), s[17](t), n = !0;
183
183
  },
184
- p(i, [a]) {
184
+ p(l, [a]) {
185
185
  _ ? _.p && (!n || a & /*$$scope*/
186
- 32768) && v(
186
+ 32768) && B(
187
187
  _,
188
- f,
189
- i,
188
+ r,
189
+ l,
190
190
  /*$$scope*/
191
- i[15],
192
- n ? S(
193
- f,
191
+ l[15],
192
+ n ? v(
193
+ r,
194
194
  /*$$scope*/
195
- i[15],
195
+ l[15],
196
196
  a,
197
197
  wt
198
- ) : H(
198
+ ) : L(
199
199
  /*$$scope*/
200
- i[15]
200
+ l[15]
201
201
  ),
202
202
  D
203
- ) : r && r.p && (!n || a & /*backButton*/
204
- 2) && r.p(i, n ? a : -1), h ? h.p && (!n || a & /*$$scope*/
205
- 32768) && v(
203
+ ) : c.p && (!n || a & /*backButton*/
204
+ 2) && c.p(l, n ? a : -1), h ? h.p && (!n || a & /*$$scope*/
205
+ 32768) && B(
206
206
  h,
207
207
  m,
208
- i,
208
+ l,
209
209
  /*$$scope*/
210
- i[15],
211
- n ? S(
210
+ l[15],
211
+ n ? v(
212
212
  m,
213
213
  /*$$scope*/
214
- i[15],
214
+ l[15],
215
215
  a,
216
216
  bt
217
- ) : H(
217
+ ) : L(
218
218
  /*$$scope*/
219
- i[15]
219
+ l[15]
220
220
  ),
221
221
  R
222
- ) : c && c.p && (!n || a & /*$_, titleText*/
223
- 20) && c.p(i, n ? a : -1), d ? d.p && (!n || a & /*$$scope*/
224
- 32768) && v(
222
+ ) : u.p && (!n || a & /*$_, titleText*/
223
+ 20) && u.p(l, n ? a : -1), d ? d.p && (!n || a & /*$$scope*/
224
+ 32768) && B(
225
225
  d,
226
226
  g,
227
- i,
227
+ l,
228
228
  /*$$scope*/
229
- i[15],
230
- n ? S(
229
+ l[15],
230
+ n ? v(
231
231
  g,
232
232
  /*$$scope*/
233
- i[15],
233
+ l[15],
234
234
  a,
235
235
  mt
236
- ) : H(
236
+ ) : L(
237
237
  /*$$scope*/
238
- i[15]
238
+ l[15]
239
239
  ),
240
240
  A
241
- ) : u && u.p && (!n || a & /*closeButton*/
242
- 8) && u.p(i, n ? a : -1);
241
+ ) : f.p && (!n || a & /*closeButton*/
242
+ 8) && f.p(l, n ? a : -1);
243
243
  },
244
- i(i) {
245
- n || (L(r, i), L(c, i), L(u, i), n = !0);
244
+ i(l) {
245
+ n || (H(c, l), H(u, l), H(f, l), n = !0);
246
246
  },
247
- o(i) {
248
- B(r, i), B(c, i), B(u, i), n = !1;
247
+ o(l) {
248
+ S(c, l), S(u, l), S(f, l), n = !1;
249
249
  },
250
- d(i) {
251
- i && w(t), r && r.d(i), c && c.d(i), u && u.d(i), s[17](null);
250
+ d(l) {
251
+ l && C(t), c.d(l), u.d(l), f.d(l), s[17](null);
252
252
  }
253
253
  };
254
254
  }
255
255
  function Bt(s, t, e) {
256
- let l;
257
- lt(s, ut, (o) => e(4, l = o));
258
- let { $$slots: n = {}, $$scope: f } = t, { clientstyling: _ = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: u = "" } = t, i, a = !1, T, E = !1;
256
+ let i;
257
+ it(s, gt, (o) => e(4, i = o));
258
+ let { $$slots: n = {}, $$scope: r } = t, { clientstyling: _ = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: u = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: f = "" } = t, l, a = !1, T, E = !1;
259
259
  const I = () => {
260
260
  fetch(m).then((o) => o.json()).then((o) => {
261
261
  Object.keys(o).forEach((j) => {
@@ -279,44 +279,44 @@ function Bt(s, t, e) {
279
279
  }, J = () => {
280
280
  e(3, E = !!d && d !== "false");
281
281
  }, K = () => {
282
- e(2, T = c || "header.general");
282
+ e(2, T = u || "header.general");
283
283
  };
284
284
  ot(() => () => {
285
285
  });
286
286
  function Q(o) {
287
287
  ct[o ? "unshift" : "push"](() => {
288
- i = o, e(0, i);
288
+ l = o, e(0, l);
289
289
  });
290
290
  }
291
291
  return s.$$set = (o) => {
292
- "clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, m = o.translationurl), "showbackbutton" in o && e(10, h = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, d = o.showclosebutton), "mbsource" in o && e(14, u = o.mbsource), "$$scope" in o && e(15, f = o.$$scope);
292
+ "clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8, c = o.clientstylingurl), "translationurl" in o && e(9, m = o.translationurl), "showbackbutton" in o && e(10, h = o.showbackbutton), "title" in o && e(11, u = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, d = o.showclosebutton), "mbsource" in o && e(14, f = o.mbsource), "$$scope" in o && e(15, r = o.$$scope);
293
293
  }, s.$$.update = () => {
294
294
  s.$$.dirty & /*lang*/
295
295
  4096 && g && P(), s.$$.dirty & /*lang, title*/
296
- 6144 && g && c && K(), s.$$.dirty & /*clientstyling, customStylingContainer*/
297
- 129 && _ && i && ft(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
298
- 257 && r && i && ht(i, r), s.$$.dirty & /*mbsource, customStylingContainer*/
299
- 16385 && u && i && gt(i, `${u}.Style`), s.$$.dirty & /*lang, translationurl*/
296
+ 6144 && g && u && K(), s.$$.dirty & /*clientstyling, customStylingContainer*/
297
+ 129 && _ && l && ut(l, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
298
+ 257 && c && l && ft(l, c), s.$$.dirty & /*mbsource, customStylingContainer*/
299
+ 16385 && f && l && ht(l, `${f}.Style`), s.$$.dirty & /*lang, translationurl*/
300
300
  4608 && g && m && I(), s.$$.dirty & /*showbackbutton*/
301
301
  1024 && h && G(), s.$$.dirty & /*showclosebutton*/
302
302
  8192 && d && J();
303
303
  }, [
304
- i,
304
+ l,
305
305
  a,
306
306
  T,
307
307
  E,
308
- l,
308
+ i,
309
309
  Y,
310
310
  F,
311
311
  _,
312
- r,
312
+ c,
313
313
  m,
314
314
  h,
315
- c,
315
+ u,
316
316
  g,
317
317
  d,
318
- u,
319
318
  f,
319
+ r,
320
320
  n,
321
321
  Q
322
322
  ];
@@ -328,7 +328,7 @@ class Lt extends tt {
328
328
  t,
329
329
  Bt,
330
330
  yt,
331
- st,
331
+ nt,
332
332
  {
333
333
  clientstyling: 7,
334
334
  clientstylingurl: 8,
@@ -391,7 +391,7 @@ class Lt extends tt {
391
391
  this.$$set({ mbsource: t }), b();
392
392
  }
393
393
  }
394
- nt(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
394
+ st(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
395
395
  export {
396
396
  Lt as default
397
397
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-BEeh6TaY.cjs");function y(l,e){t.addMessages(l,e)}function q(l){t.init({fallbackLocale:"en"}),t.$locale.set(l)}const k={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},"en-us":{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}}};function x(l){t.append_styles(l,"svelte-bbilb",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;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}")}const D=l=>({}),B=l=>({}),P=l=>({}),L=l=>({}),U=l=>({}),v=l=>({});function H(l){let e,n,o;return{c(){e=t.element("div"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><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" fill="#111111"></path></svg>',t.attr(e,"class","CashierHeaderLeftButton")},m(s,c){t.insert(s,e,c),n||(o=t.listen(e,"click",l[6]),n=!0)},p:t.noop,d(s){s&&t.detach(e),n=!1,o()}}}function W(l){let e,n=l[1]&&H(l);return{c(){n&&n.c(),e=t.empty()},m(o,s){n&&n.m(o,s),t.insert(o,e,s)},p(o,s){o[1]?n?n.p(o,s):(n=H(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function Z(l){let e,n=l[4](l[2])+"",o;return{c(){e=t.element("span"),o=t.text(n),t.attr(e,"class","CashierHeaderTitle")},m(s,c){t.insert(s,e,c),t.append(e,o)},p(s,c){c&20&&n!==(n=s[4](s[2])+"")&&t.set_data(o,n)},d(s){s&&t.detach(e)}}}function S(l){let e,n,o;return{c(){e=t.element("span"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><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" fill="#111111"></path></svg>',t.attr(e,"class","CashierHeaderRightButton")},m(s,c){t.insert(s,e,c),n||(o=t.listen(e,"click",l[5]),n=!0)},p:t.noop,d(s){s&&t.detach(e),n=!1,o()}}}function I(l){let e,n=l[3]&&S(l);return{c(){n&&n.c(),e=t.empty()},m(o,s){n&&n.m(o,s),t.insert(o,e,s)},p(o,s){o[3]?n?n.p(o,s):(n=S(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function Y(l){let e,n,o,s;const c=l[16].leftButton,m=t.create_slot(c,l,l[15],v),u=m||W(l),b=l[16].title,g=t.create_slot(b,l,l[15],L),h=g||Z(l),_=l[16].rightButton,d=t.create_slot(_,l,l[15],B),f=d||I(l);return{c(){e=t.element("div"),u.c(),n=t.space(),h.c(),o=t.space(),f.c(),t.attr(e,"class","CashierHeader")},m(i,r){t.insert(i,e,r),u.m(e,null),t.append(e,n),h.m(e,null),t.append(e,o),f.m(e,null),l[17](e),s=!0},p(i,[r]){m?m.p&&(!s||r&32768)&&t.update_slot_base(m,c,i,i[15],s?t.get_slot_changes(c,i[15],r,U):t.get_all_dirty_from_scope(i[15]),v):u.p&&(!s||r&2)&&u.p(i,s?r:-1),g?g.p&&(!s||r&32768)&&t.update_slot_base(g,b,i,i[15],s?t.get_slot_changes(b,i[15],r,P):t.get_all_dirty_from_scope(i[15]),L):h.p&&(!s||r&20)&&h.p(i,s?r:-1),d?d.p&&(!s||r&32768)&&t.update_slot_base(d,_,i,i[15],s?t.get_slot_changes(_,i[15],r,D):t.get_all_dirty_from_scope(i[15]),B):f.p&&(!s||r&8)&&f.p(i,s?r:-1)},i(i){s||(t.transition_in(u,i),t.transition_in(h,i),t.transition_in(f,i),s=!0)},o(i){t.transition_out(u,i),t.transition_out(h,i),t.transition_out(f,i),s=!1},d(i){i&&t.detach(e),u.d(i),h.d(i),f.d(i),l[17](null)}}}function F(l,e,n){let o;t.component_subscribe(l,t.$format,a=>n(4,o=a));let{$$slots:s={},$$scope:c}=e,{clientstyling:m=""}=e,{clientstylingurl:u=""}=e,{translationurl:b=""}=e,{showbackbutton:g=""}=e,{title:h="header.general"}=e,{lang:_="en"}=e,{showclosebutton:d=""}=e,{mbsource:f=""}=e,i,r=!1,w,p=!1;const T=()=>{fetch(b).then(a=>a.json()).then(a=>{Object.keys(a).forEach(C=>{y(C,a[C])})}).catch(a=>{console.log(a)})};Object.keys(k).forEach(a=>{y(a,k[a])});const E=()=>{q(_)},j=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},N=()=>{window.postMessage({type:"BackCashier"},window.location.href)},z=()=>{n(1,r=!!g&&g!=="false")},O=()=>{n(3,p=!!d&&d!=="false")},R=()=>{n(2,w=h||"header.general")};t.onMount(()=>()=>{});function A(a){t.binding_callbacks[a?"unshift":"push"](()=>{i=a,n(0,i)})}return l.$$set=a=>{"clientstyling"in a&&n(7,m=a.clientstyling),"clientstylingurl"in a&&n(8,u=a.clientstylingurl),"translationurl"in a&&n(9,b=a.translationurl),"showbackbutton"in a&&n(10,g=a.showbackbutton),"title"in a&&n(11,h=a.title),"lang"in a&&n(12,_=a.lang),"showclosebutton"in a&&n(13,d=a.showclosebutton),"mbsource"in a&&n(14,f=a.mbsource),"$$scope"in a&&n(15,c=a.$$scope)},l.$$.update=()=>{l.$$.dirty&4096&&_&&E(),l.$$.dirty&6144&&_&&h&&R(),l.$$.dirty&129&&m&&i&&t.setClientStyling(i,m),l.$$.dirty&257&&u&&i&&t.setClientStylingURL(i,u),l.$$.dirty&16385&&f&&i&&t.setStreamStyling(i,`${f}.Style`),l.$$.dirty&4608&&_&&b&&T(),l.$$.dirty&1024&&g&&z(),l.$$.dirty&8192&&d&&O()},[i,r,w,p,o,j,N,m,u,b,g,h,_,d,f,c,s,A]}class M extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,F,Y,t.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},x)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(e){this.$$set({showbackbutton:e}),t.flush()}get title(){return this.$$.ctx[11]}set title(e){this.$$set({title:e}),t.flush()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),t.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(e){this.$$set({showclosebutton:e}),t.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(M,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);exports.default=M;