@everymatrix/transaction-history-page 0.2.1 → 0.2.4

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 (47) hide show
  1. package/components/CashierHeader-BHRa04VL.cjs +8 -0
  2. package/components/{CashierHeader-qz_r8eKP.js → CashierHeader-D2AS2Agh.js} +1125 -1121
  3. package/components/{CashierHeader-Cd_IQ7mb.js → CashierHeader-O2SBlx9E.js} +1148 -1144
  4. package/components/{CashierPagination-Dy5h-yN8.cjs → CashierPagination-Bns0dhAx.cjs} +1 -1
  5. package/components/{CashierPagination-Dtn30JhD.js → CashierPagination-Diod1lF7.js} +17 -17
  6. package/components/{CashierPagination-DV3fcnSK.js → CashierPagination-n1Rdi6TE.js} +17 -17
  7. package/components/{CashierTransactionHistory-MlrB6EXC.js → CashierTransactionHistory-BzBY38xi.js} +71 -71
  8. package/components/{CashierTransactionHistory-CauO_L5w.js → CashierTransactionHistory-CpakWe7E.js} +71 -71
  9. package/components/{CashierTransactionHistory-B7sIQjnt.cjs → CashierTransactionHistory-DK_T0y3K.cjs} +1 -1
  10. package/components/{EmptyStateIcon-Q9-7CJOB.js → EmptyStateIcon-Bvkg_gUP.js} +6 -6
  11. package/components/{EmptyStateIcon-idY3pDBO.cjs → EmptyStateIcon-CG990aV4.cjs} +1 -1
  12. package/components/{EmptyStateIcon-jDakZhVG.js → EmptyStateIcon-Cnh2o5D9.js} +6 -6
  13. package/components/{Tooltip-DhUkqLNN.cjs → Tooltip-CMYgN8-J.cjs} +1 -1
  14. package/components/{Tooltip-DKtozLhD.js → Tooltip-D0aX_eaK.js} +15 -15
  15. package/components/{Tooltip-Dr1XhRao.js → Tooltip-DwUjXU5S.js} +15 -15
  16. package/components/{TransactionHistoryCalendar-Ctn_EFRl.js → TransactionHistoryCalendar-Bcq3t082.js} +85 -85
  17. package/components/{TransactionHistoryCalendar-Bio5MK29.cjs → TransactionHistoryCalendar-C4hh4GPW.cjs} +1 -1
  18. package/components/{TransactionHistoryCalendar-DTbqYy5a.js → TransactionHistoryCalendar-CKgc5oRI.js} +86 -86
  19. package/components/{TransactionHistoryPage-DhFOsjyi.cjs → TransactionHistoryPage-BXabEQ9K.cjs} +1 -1
  20. package/components/{TransactionHistoryPage-CGKaGI5y.js → TransactionHistoryPage-ByF3ZH_-.js} +72 -72
  21. package/components/{TransactionHistoryPage-BMs3Hr2J.js → TransactionHistoryPage-CkZ1QpWE.js} +71 -71
  22. package/components/{TxnStatusIcon-_G33oy6q.js → TxnStatusIcon-BhenBY5o.js} +19 -19
  23. package/components/{TxnStatusIcon-CmwEsXbv.js → TxnStatusIcon-CYWQkX_B.js} +19 -19
  24. package/components/{TxnStatusIcon-BM7Yn9hb.cjs → TxnStatusIcon-vTgFujrK.cjs} +1 -1
  25. package/components/{TxnTypeIcons-BwDBMPnO.js → TxnTypeIcons-D2uk1QXc.js} +14 -14
  26. package/components/{TxnTypeIcons-rLnLSUqr.js → TxnTypeIcons-k1qbeCHp.js} +14 -14
  27. package/components/{TxnTypeIcons-ClBY0FSw.cjs → TxnTypeIcons-waunbeLw.cjs} +1 -1
  28. package/es2015/transaction-history-page.cjs +1 -1
  29. package/es2015/transaction-history-page.js +1 -1
  30. package/esnext/transaction-history-page.js +1 -1
  31. package/package.json +1 -1
  32. package/stencil/index-97d17652--F7PvMq9.js +542 -0
  33. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  34. package/stencil/index-97d17652-CCFHkzJw.js +558 -0
  35. package/stencil/{ui-image-BMiZteNE.cjs → ui-image-BaHsVAxH.cjs} +1 -1
  36. package/stencil/{ui-image-CX3MBBZL.js → ui-image-C7s6Uvn5.js} +1 -1
  37. package/stencil/{ui-image-BW8AeEVd.js → ui-image-CHeV8e9p.js} +1 -1
  38. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  39. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  40. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  41. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-Bm97-wkj.js} +2 -2
  42. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  43. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-qO3reSlr.js} +2 -2
  44. package/components/CashierHeader-fdmNbczy.cjs +0 -21
  45. package/stencil/index-97d17652-BD-QREJe.js +0 -558
  46. package/stencil/index-97d17652-DJqGt8q2.js +0 -542
  47. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
@@ -1,3 +1,3 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierHeader-fdmNbczy.cjs");function z(n){e.append_styles(n,"svelte-1rkxa9f","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.pagination{display:flex;gap:4px;align-items:center;justify-content:center;flex-wrap:wrap}button{padding:6px;border:1px solid var(--emw--color-grey-10, #F8F8F8);background:transparent;cursor:pointer;border-radius:4px;color:var(--emw--color-grey-10, #111);min-width:30px}button:hover:not(:disabled):not(.selected){border-color:var(--emw--color-grey-105, #E8E9EB)}button:disabled{color:var(--emw--color-grey-105, #E8E9EB);cursor:not-allowed}.nav-btn{display:flex;align-items:center;gap:4px;font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-primary, #4A975C);height:30px;width:30px}.selected{color:var(--emw--color-primary, #4A975C);font-weight:var(--emw--font-weight-bold, 700);border-color:var(--emw--color-primary, #4A975C)}")}function A(n,t,l){const r=n.slice();return r[15]=t[l],r}function F(n){let t,l,r,i;return{c(){t=e.element("button"),t.textContent="1",l=e.text(`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierHeader-BHRa04VL.cjs");function z(n){e.append_styles(n,"svelte-1rkxa9f","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.pagination{display:flex;gap:4px;align-items:center;justify-content:center;flex-wrap:wrap}button{padding:6px;border:1px solid var(--emw--color-grey-10, #F8F8F8);background:transparent;cursor:pointer;border-radius:4px;color:var(--emw--color-grey-10, #111);min-width:30px}button:hover:not(:disabled):not(.selected){border-color:var(--emw--color-grey-105, #E8E9EB)}button:disabled{color:var(--emw--color-grey-105, #E8E9EB);cursor:not-allowed}.nav-btn{display:flex;align-items:center;gap:4px;font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-primary, #4A975C);height:30px;width:30px}.selected{color:var(--emw--color-primary, #4A975C);font-weight:var(--emw--font-weight-bold, 700);border-color:var(--emw--color-primary, #4A975C)}")}function A(n,t,l){const r=n.slice();return r[15]=t[l],r}function F(n){let t,l,r,i;return{c(){t=e.element("button"),t.textContent="1",l=e.text(`
2
2
  ...`)},m(a,o){e.insert(a,t,o),e.insert(a,l,o),r||(i=e.listen(t,"click",n[9]),r=!0)},p:e.noop,d(a){a&&(e.detach(t),e.detach(l)),r=!1,i()}}}function M(n){let t,l=n[15]+"",r,i,a;function o(){return n[10](n[15])}return{c(){t=e.element("button"),r=e.text(l),e.toggle_class(t,"selected",n[15]===n[2])},m(c,f){e.insert(c,t,f),e.append(t,r),i||(a=e.listen(t,"click",o),i=!0)},p(c,f){n=c,f&8&&l!==(l=n[15]+"")&&e.set_data(r,l),f&12&&e.toggle_class(t,"selected",n[15]===n[2])},d(c){c&&e.detach(t),i=!1,a()}}}function V(n){let t,l,r,i,a;return{c(){t=e.text(`...
3
3
  `),l=e.element("button"),r=e.text(n[0])},m(o,c){e.insert(o,t,c),e.insert(o,l,c),e.append(l,r),i||(a=e.listen(l,"click",n[11]),i=!0)},p(o,c){c&1&&e.set_data(r,o[0])},d(o){o&&(e.detach(t),e.detach(l)),i=!1,a()}}}function H(n){let t,l,r,i,a,o,c,f=!n[3].includes(1),v,b,C=!n[3].includes(+n[0]),S,y,g,E,w,u,j,h=f&&F(n),k=e.ensure_array_like(n[3]),p=[];for(let s=0;s<k.length;s+=1)p[s]=M(A(n,k,s));let m=C&&V(n);return{c(){t=e.element("div"),l=e.element("nav"),r=e.element("button"),i=e.svg_element("svg"),a=e.svg_element("polyline"),c=e.space(),h&&h.c(),v=e.space();for(let s=0;s<p.length;s+=1)p[s].c();b=e.space(),m&&m.c(),S=e.space(),y=e.element("button"),g=e.svg_element("svg"),E=e.svg_element("polyline"),e.attr(a,"points","15 18 9 12 15 6"),e.attr(i,"xmlns","http://www.w3.org/2000/svg"),e.attr(i,"width","24"),e.attr(i,"height","24"),e.attr(i,"viewBox","0 0 24 24"),e.attr(i,"fill","none"),e.attr(i,"stroke","currentColor"),e.attr(i,"stroke-width","2"),e.attr(i,"stroke-linecap","round"),e.attr(i,"stroke-linejoin","round"),e.attr(i,"class","feather feather-chevron-left"),e.attr(r,"class","nav-btn"),r.disabled=o=n[2]===1,e.attr(E,"points","9 18 15 12 9 6"),e.attr(g,"xmlns","http://www.w3.org/2000/svg"),e.attr(g,"width","24"),e.attr(g,"height","24"),e.attr(g,"viewBox","0 0 24 24"),e.attr(g,"fill","none"),e.attr(g,"stroke","currentColor"),e.attr(g,"stroke-width","2"),e.attr(g,"stroke-linecap","round"),e.attr(g,"stroke-linejoin","round"),e.attr(g,"class","feather feather-chevron-right"),e.attr(y,"class","nav-btn"),y.disabled=w=n[2]===n[0],e.attr(l,"class","pagination")},m(s,_){e.insert(s,t,_),e.append(t,l),e.append(l,r),e.append(r,i),e.append(i,a),e.append(l,c),h&&h.m(l,null),e.append(l,v);for(let d=0;d<p.length;d+=1)p[d]&&p[d].m(l,null);e.append(l,b),m&&m.m(l,null),e.append(l,S),e.append(l,y),e.append(y,g),e.append(g,E),n[13](t),u||(j=[e.listen(r,"click",n[8]),e.listen(y,"click",n[12])],u=!0)},p(s,[_]){if(_&4&&o!==(o=s[2]===1)&&(r.disabled=o),_&8&&(f=!s[3].includes(1)),f?h?h.p(s,_):(h=F(s),h.c(),h.m(l,v)):h&&(h.d(1),h=null),_&28){k=e.ensure_array_like(s[3]);let d;for(d=0;d<k.length;d+=1){const B=A(s,k,d);p[d]?p[d].p(B,_):(p[d]=M(B),p[d].c(),p[d].m(l,b))}for(;d<p.length;d+=1)p[d].d(1);p.length=k.length}_&9&&(C=!s[3].includes(+s[0])),C?m?m.p(s,_):(m=V(s),m.c(),m.m(l,S)):m&&(m.d(1),m=null),_&5&&w!==(w=s[2]===s[0])&&(y.disabled=w)},i:e.noop,o:e.noop,d(s){s&&e.detach(t),h&&h.d(),e.destroy_each(p,s),m&&m.d(),n[13](null),u=!1,e.run_all(j)}}}function q(n,t){const r=[];if(t<=5){for(let o=1;o<=t;o++)r.push(o);return r}let i=n-1,a=n+1;i<1&&(a+=1-i,i=1),a>t&&(i-=a-t,a=t),i=Math.max(1,i);for(let o=i;o<=a;o++)r.push(o);return r}function L(n,t,l){let{clientstyling:r=""}=t,{clientstylingurl:i=""}=t,{mbsource:a}=t,{totalpages:o=5}=t,c,f=1,v;v=q(f,o),e.onMount(()=>()=>{});function b(u){if(u>=1&&u<=o){l(2,f=u);const j=new CustomEvent("pageChange",{detail:{page:u},bubbles:!0,composed:!0});document.dispatchEvent(j)}}const C=()=>b(f-1),S=()=>b(1),y=u=>b(u),g=()=>b(+o),E=()=>b(f+1);function w(u){e.binding_callbacks[u?"unshift":"push"](()=>{c=u,l(1,c)})}return n.$$set=u=>{"clientstyling"in u&&l(5,r=u.clientstyling),"clientstylingurl"in u&&l(6,i=u.clientstylingurl),"mbsource"in u&&l(7,a=u.mbsource),"totalpages"in u&&l(0,o=u.totalpages)},n.$$.update=()=>{n.$$.dirty&5&&l(3,v=q(f,o)),n.$$.dirty&34&&r&&c&&e.setClientStyling(c,r),n.$$.dirty&66&&i&&c&&e.setClientStylingURL(c,i),n.$$.dirty&130&&a&&c&&e.setStreamStyling(c,`${a}.Style`)},[o,c,f,v,b,r,i,a,C,S,y,g,E,w]}class T extends e.SvelteComponent{constructor(t){super(),e.init(this,t,L,H,e.safe_not_equal,{clientstyling:5,clientstylingurl:6,mbsource:7,totalpages:0},z)}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[7]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get totalpages(){return this.$$.ctx[0]}set totalpages(t){this.$$set({totalpages:t}),e.flush()}}e.create_custom_element(T,{clientstyling:{},clientstylingurl:{},mbsource:{},totalpages:{}},[],[],!0);exports.default=T;
@@ -1,6 +1,6 @@
1
- import { S as P, i as Q, f as M, c as W, s as X, a as Y, e as D, b as k, d as z, g as L, h as a, j as S, k as _, l as V, n as T, m as j, o as Z, r as x, p as $, q as ee, t as te, u as R, v as G, w as O, x as le, y as ne } from "./CashierHeader-Cd_IQ7mb.js";
1
+ import { S as P, i as Q, s as W, f as M, a as X, e as D, n as T, d as S, b as Y, r as Z, c as j, g as _, l as V, h as k, j as z, k as L, m as a, o as x, p as O, t as G, q as R, u as $, v as ee, w as te, x as le, y as ne } from "./CashierHeader-O2SBlx9E.js";
2
2
  function ie(t) {
3
- Y(t, "svelte-1rkxa9f", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.pagination{display:flex;gap:4px;align-items:center;justify-content:center;flex-wrap:wrap}button{padding:6px;border:1px solid var(--emw--color-grey-10, #F8F8F8);background:transparent;cursor:pointer;border-radius:4px;color:var(--emw--color-grey-10, #111);min-width:30px}button:hover:not(:disabled):not(.selected){border-color:var(--emw--color-grey-105, #E8E9EB)}button:disabled{color:var(--emw--color-grey-105, #E8E9EB);cursor:not-allowed}.nav-btn{display:flex;align-items:center;gap:4px;font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-primary, #4A975C);height:30px;width:30px}.selected{color:var(--emw--color-primary, #4A975C);font-weight:var(--emw--font-weight-bold, 700);border-color:var(--emw--color-primary, #4A975C)}");
3
+ X(t, "svelte-1rkxa9f", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.pagination{display:flex;gap:4px;align-items:center;justify-content:center;flex-wrap:wrap}button{padding:6px;border:1px solid var(--emw--color-grey-10, #F8F8F8);background:transparent;cursor:pointer;border-radius:4px;color:var(--emw--color-grey-10, #111);min-width:30px}button:hover:not(:disabled):not(.selected){border-color:var(--emw--color-grey-105, #E8E9EB)}button:disabled{color:var(--emw--color-grey-105, #E8E9EB);cursor:not-allowed}.nav-btn{display:flex;align-items:center;gap:4px;font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-primary, #4A975C);height:30px;width:30px}.selected{color:var(--emw--color-primary, #4A975C);font-weight:var(--emw--font-weight-bold, 700);border-color:var(--emw--color-primary, #4A975C)}");
4
4
  }
5
5
  function H(t, e, l) {
6
6
  const i = t.slice();
@@ -14,7 +14,7 @@ function I(t) {
14
14
  ...`);
15
15
  },
16
16
  m(r, s) {
17
- S(r, e, s), S(r, l, s), i || (n = V(
17
+ j(r, e, s), j(r, l, s), i || (n = V(
18
18
  e,
19
19
  "click",
20
20
  /*click_handler_1*/
@@ -23,7 +23,7 @@ function I(t) {
23
23
  },
24
24
  p: T,
25
25
  d(r) {
26
- r && (j(e), j(l)), i = !1, n();
26
+ r && (S(e), S(l)), i = !1, n();
27
27
  }
28
28
  };
29
29
  }
@@ -52,7 +52,7 @@ function J(t) {
52
52
  );
53
53
  },
54
54
  m(c, d) {
55
- S(c, e, d), _(e, i), n || (r = V(e, "click", s), n = !0);
55
+ j(c, e, d), _(e, i), n || (r = V(e, "click", s), n = !0);
56
56
  },
57
57
  p(c, d) {
58
58
  t = c, d & /*visiblePages*/
@@ -67,7 +67,7 @@ function J(t) {
67
67
  );
68
68
  },
69
69
  d(c) {
70
- c && j(e), n = !1, r();
70
+ c && S(e), n = !1, r();
71
71
  }
72
72
  };
73
73
  }
@@ -82,7 +82,7 @@ function K(t) {
82
82
  );
83
83
  },
84
84
  m(s, c) {
85
- S(s, e, c), S(s, l, c), _(l, i), n || (r = V(
85
+ j(s, e, c), j(s, l, c), _(l, i), n || (r = V(
86
86
  l,
87
87
  "click",
88
88
  /*click_handler_3*/
@@ -98,7 +98,7 @@ function K(t) {
98
98
  );
99
99
  },
100
100
  d(s) {
101
- s && (j(e), j(l)), n = !1, r();
101
+ s && (S(e), S(l)), n = !1, r();
102
102
  }
103
103
  };
104
104
  }
@@ -124,7 +124,7 @@ function se(t) {
124
124
  t[0], a(l, "class", "pagination");
125
125
  },
126
126
  m(o, w) {
127
- S(o, e, w), _(e, l), _(l, i), _(i, n), _(n, r), _(l, c), b && b.m(l, null), _(l, v);
127
+ j(o, e, w), _(e, l), _(l, i), _(i, n), _(n, r), _(l, c), b && b.m(l, null), _(l, v);
128
128
  for (let f = 0; f < h.length; f += 1)
129
129
  h[f] && h[f].m(l, null);
130
130
  _(l, p), m && m.m(l, null), _(l, A), _(l, y), _(y, g), _(g, F), t[13](e), u || (q = [
@@ -173,7 +173,7 @@ function se(t) {
173
173
  i: T,
174
174
  o: T,
175
175
  d(o) {
176
- o && j(e), b && b.d(), Z(h, o), m && m.d(), t[13](null), u = !1, x(q);
176
+ o && S(e), b && b.d(), Y(h, o), m && m.d(), t[13](null), u = !1, Z(q);
177
177
  }
178
178
  };
179
179
  }
@@ -192,7 +192,7 @@ function N(t, e) {
192
192
  }
193
193
  function oe(t, e, l) {
194
194
  let { clientstyling: i = "" } = e, { clientstylingurl: n = "" } = e, { mbsource: r } = e, { totalpages: s = 5 } = e, c, d = 1, v;
195
- v = N(d, s), $(() => () => {
195
+ v = N(d, s), x(() => () => {
196
196
  });
197
197
  function p(u) {
198
198
  if (u >= 1 && u <= s) {
@@ -210,7 +210,7 @@ function oe(t, e, l) {
210
210
  }
211
211
  const B = () => p(d - 1), A = () => p(1), y = (u) => p(u), g = () => p(+s), F = () => p(d + 1);
212
212
  function C(u) {
213
- le[u ? "unshift" : "push"](() => {
213
+ $[u ? "unshift" : "push"](() => {
214
214
  c = u, l(1, c);
215
215
  });
216
216
  }
@@ -219,9 +219,9 @@ function oe(t, e, l) {
219
219
  }, t.$$.update = () => {
220
220
  t.$$.dirty & /*currentPage, totalpages*/
221
221
  5 && l(3, v = N(d, s)), t.$$.dirty & /*clientstyling, customStylingContainer*/
222
- 34 && i && c && ne(c, i), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
223
- 66 && n && c && ee(c, n), t.$$.dirty & /*mbsource, customStylingContainer*/
224
- 130 && r && c && te(c, `${r}.Style`);
222
+ 34 && i && c && ee(c, i), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
223
+ 66 && n && c && te(c, n), t.$$.dirty & /*mbsource, customStylingContainer*/
224
+ 130 && r && c && le(c, `${r}.Style`);
225
225
  }, [
226
226
  s,
227
227
  c,
@@ -246,7 +246,7 @@ class re extends P {
246
246
  e,
247
247
  oe,
248
248
  se,
249
- X,
249
+ W,
250
250
  {
251
251
  clientstyling: 5,
252
252
  clientstylingurl: 6,
@@ -281,7 +281,7 @@ class re extends P {
281
281
  this.$$set({ totalpages: e }), M();
282
282
  }
283
283
  }
284
- W(re, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, totalpages: {} }, [], [], !0);
284
+ ne(re, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, totalpages: {} }, [], [], !0);
285
285
  export {
286
286
  re as default
287
287
  };
@@ -1,6 +1,6 @@
1
- import { S as P, i as Q, f as M, c as W, s as X, a as Y, e as D, b as k, d as z, g as L, h as a, j as S, k as _, l as V, n as T, m as j, o as Z, r as x, p as $, q as ee, t as te, u as R, v as G, w as O, x as le, y as ne } from "./CashierHeader-qz_r8eKP.js";
1
+ import { S as P, i as Q, s as W, f as M, a as X, e as D, n as T, d as S, b as Y, r as Z, c as j, g as _, l as V, h as k, j as z, k as L, m as a, o as x, p as O, t as G, q as R, u as $, v as ee, w as te, x as le, y as ne } from "./CashierHeader-D2AS2Agh.js";
2
2
  function ie(t) {
3
- Y(t, "svelte-1rkxa9f", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.pagination{display:flex;gap:4px;align-items:center;justify-content:center;flex-wrap:wrap}button{padding:6px;border:1px solid var(--emw--color-grey-10, #F8F8F8);background:transparent;cursor:pointer;border-radius:4px;color:var(--emw--color-grey-10, #111);min-width:30px}button:hover:not(:disabled):not(.selected){border-color:var(--emw--color-grey-105, #E8E9EB)}button:disabled{color:var(--emw--color-grey-105, #E8E9EB);cursor:not-allowed}.nav-btn{display:flex;align-items:center;gap:4px;font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-primary, #4A975C);height:30px;width:30px}.selected{color:var(--emw--color-primary, #4A975C);font-weight:var(--emw--font-weight-bold, 700);border-color:var(--emw--color-primary, #4A975C)}");
3
+ X(t, "svelte-1rkxa9f", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.pagination{display:flex;gap:4px;align-items:center;justify-content:center;flex-wrap:wrap}button{padding:6px;border:1px solid var(--emw--color-grey-10, #F8F8F8);background:transparent;cursor:pointer;border-radius:4px;color:var(--emw--color-grey-10, #111);min-width:30px}button:hover:not(:disabled):not(.selected){border-color:var(--emw--color-grey-105, #E8E9EB)}button:disabled{color:var(--emw--color-grey-105, #E8E9EB);cursor:not-allowed}.nav-btn{display:flex;align-items:center;gap:4px;font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-primary, #4A975C);height:30px;width:30px}.selected{color:var(--emw--color-primary, #4A975C);font-weight:var(--emw--font-weight-bold, 700);border-color:var(--emw--color-primary, #4A975C)}");
4
4
  }
5
5
  function H(t, e, l) {
6
6
  const i = t.slice();
@@ -14,7 +14,7 @@ function I(t) {
14
14
  ...`);
15
15
  },
16
16
  m(r, s) {
17
- S(r, e, s), S(r, l, s), i || (n = V(
17
+ j(r, e, s), j(r, l, s), i || (n = V(
18
18
  e,
19
19
  "click",
20
20
  /*click_handler_1*/
@@ -23,7 +23,7 @@ function I(t) {
23
23
  },
24
24
  p: T,
25
25
  d(r) {
26
- r && (j(e), j(l)), i = !1, n();
26
+ r && (S(e), S(l)), i = !1, n();
27
27
  }
28
28
  };
29
29
  }
@@ -52,7 +52,7 @@ function J(t) {
52
52
  );
53
53
  },
54
54
  m(c, d) {
55
- S(c, e, d), _(e, i), n || (r = V(e, "click", s), n = !0);
55
+ j(c, e, d), _(e, i), n || (r = V(e, "click", s), n = !0);
56
56
  },
57
57
  p(c, d) {
58
58
  t = c, d & /*visiblePages*/
@@ -67,7 +67,7 @@ function J(t) {
67
67
  );
68
68
  },
69
69
  d(c) {
70
- c && j(e), n = !1, r();
70
+ c && S(e), n = !1, r();
71
71
  }
72
72
  };
73
73
  }
@@ -82,7 +82,7 @@ function K(t) {
82
82
  );
83
83
  },
84
84
  m(s, c) {
85
- S(s, e, c), S(s, l, c), _(l, i), n || (r = V(
85
+ j(s, e, c), j(s, l, c), _(l, i), n || (r = V(
86
86
  l,
87
87
  "click",
88
88
  /*click_handler_3*/
@@ -98,7 +98,7 @@ function K(t) {
98
98
  );
99
99
  },
100
100
  d(s) {
101
- s && (j(e), j(l)), n = !1, r();
101
+ s && (S(e), S(l)), n = !1, r();
102
102
  }
103
103
  };
104
104
  }
@@ -124,7 +124,7 @@ function se(t) {
124
124
  t[0], a(l, "class", "pagination");
125
125
  },
126
126
  m(o, w) {
127
- S(o, e, w), _(e, l), _(l, i), _(i, n), _(n, r), _(l, c), b && b.m(l, null), _(l, v);
127
+ j(o, e, w), _(e, l), _(l, i), _(i, n), _(n, r), _(l, c), b && b.m(l, null), _(l, v);
128
128
  for (let f = 0; f < h.length; f += 1)
129
129
  h[f] && h[f].m(l, null);
130
130
  _(l, p), m && m.m(l, null), _(l, A), _(l, y), _(y, g), _(g, F), t[13](e), u || (q = [
@@ -173,7 +173,7 @@ function se(t) {
173
173
  i: T,
174
174
  o: T,
175
175
  d(o) {
176
- o && j(e), b && b.d(), Z(h, o), m && m.d(), t[13](null), u = !1, x(q);
176
+ o && S(e), b && b.d(), Y(h, o), m && m.d(), t[13](null), u = !1, Z(q);
177
177
  }
178
178
  };
179
179
  }
@@ -192,7 +192,7 @@ function N(t, e) {
192
192
  }
193
193
  function oe(t, e, l) {
194
194
  let { clientstyling: i = "" } = e, { clientstylingurl: n = "" } = e, { mbsource: r } = e, { totalpages: s = 5 } = e, c, d = 1, v;
195
- v = N(d, s), $(() => () => {
195
+ v = N(d, s), x(() => () => {
196
196
  });
197
197
  function p(u) {
198
198
  if (u >= 1 && u <= s) {
@@ -210,7 +210,7 @@ function oe(t, e, l) {
210
210
  }
211
211
  const B = () => p(d - 1), A = () => p(1), y = (u) => p(u), g = () => p(+s), F = () => p(d + 1);
212
212
  function C(u) {
213
- le[u ? "unshift" : "push"](() => {
213
+ $[u ? "unshift" : "push"](() => {
214
214
  c = u, l(1, c);
215
215
  });
216
216
  }
@@ -219,9 +219,9 @@ function oe(t, e, l) {
219
219
  }, t.$$.update = () => {
220
220
  t.$$.dirty & /*currentPage, totalpages*/
221
221
  5 && l(3, v = N(d, s)), t.$$.dirty & /*clientstyling, customStylingContainer*/
222
- 34 && i && c && ne(c, i), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
223
- 66 && n && c && ee(c, n), t.$$.dirty & /*mbsource, customStylingContainer*/
224
- 130 && r && c && te(c, `${r}.Style`);
222
+ 34 && i && c && ee(c, i), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
223
+ 66 && n && c && te(c, n), t.$$.dirty & /*mbsource, customStylingContainer*/
224
+ 130 && r && c && le(c, `${r}.Style`);
225
225
  }, [
226
226
  s,
227
227
  c,
@@ -246,7 +246,7 @@ class re extends P {
246
246
  e,
247
247
  oe,
248
248
  se,
249
- X,
249
+ W,
250
250
  {
251
251
  clientstyling: 5,
252
252
  clientstylingurl: 6,
@@ -281,7 +281,7 @@ class re extends P {
281
281
  this.$$set({ totalpages: e }), M();
282
282
  }
283
283
  }
284
- W(re, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, totalpages: {} }, [], [], !0);
284
+ ne(re, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, totalpages: {} }, [], [], !0);
285
285
  export {
286
286
  re as default
287
287
  };