@everymatrix/transaction-history-page 1.88.8 → 1.88.10
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/{CashierHeader-ChW_6JEO.js → CashierHeader-BgqP6o2n.js} +1 -1
- package/components/{CashierHeader-D7DsY90E.js → CashierHeader-C9skgg6K.js} +1 -1
- package/components/{CashierHeader-9FQX2wbm.cjs → CashierHeader-CMxGM5ne.cjs} +1 -1
- package/components/{CashierPagination-Dl2H6ipN.js → CashierPagination-BQ0zM1HT.js} +1 -1
- package/components/{CashierPagination-Dc5aEvoW.js → CashierPagination-Dpx1Uv8X.js} +1 -1
- package/components/{CashierPagination-B6xz0Ndu.cjs → CashierPagination-_CMWJxE9.cjs} +1 -1
- package/components/{CashierTransactionHistory-BYwneyRZ.js → CashierTransactionHistory-BhMvKM0C.js} +421 -410
- package/components/CashierTransactionHistory-CpHdCzwP.cjs +1 -0
- package/components/{CashierTransactionHistory-BFBdxh0A.js → CashierTransactionHistory-iVlcX-Nv.js} +428 -417
- package/components/{TransactionHistoryCalendar-Cd6tn4QD.cjs → TransactionHistoryCalendar-CNN73_d_.cjs} +1 -1
- package/components/{TransactionHistoryCalendar-B_0Le21N.js → TransactionHistoryCalendar-CVb20KqS.js} +1 -1
- package/components/{TransactionHistoryCalendar-C4K6GjFd.js → TransactionHistoryCalendar-CZNUV-hJ.js} +1 -1
- package/components/{TransactionHistoryPage-B-DNDyCl.cjs → TransactionHistoryPage-5Sgh8z1U.cjs} +1 -1
- package/components/{TransactionHistoryPage-ampEh9I3.js → TransactionHistoryPage-B39MIcDN.js} +4 -4
- package/components/{TransactionHistoryPage-BGDzuTeq.js → TransactionHistoryPage-B77vRMCe.js} +4 -4
- package/es2015/transaction-history-page.cjs +1 -1
- package/es2015/transaction-history-page.js +1 -1
- package/esnext/transaction-history-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierTransactionHistory-CSJD3Y7_.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
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
3
|
function N(s, t) {
|
|
4
4
|
rt(s, t);
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
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
3
|
function N(s, t) {
|
|
4
4
|
rt(s, t);
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Tooltip-gAGTORoD.cjs"),w=require("./TransactionHistoryPage-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Tooltip-gAGTORoD.cjs"),w=require("./TransactionHistoryPage-5Sgh8z1U.cjs");function B(i,t){w.addMessages(i,t)}function x(i){w.init({fallbackLocale:"en"}),w.$locale.set(i)}const v={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},fr:{header:{general:"Caisse",deposit:"Dépôt",withdraw:"Retrait"}}};function D(i){e.append_styles(i,"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)}")}const E=i=>({}),L=i=>({}),U=i=>({}),H=i=>({}),Z=i=>({}),S=i=>({});function T(i){let t,n,o;return{c(){t=e.element("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>',e.attr(t,"class","CashierHeaderLeftButton")},m(s,h){e.insert(s,t,h),n||(o=e.listen(t,"click",i[6]),n=!0)},p:e.noop,d(s){s&&e.detach(t),n=!1,o()}}}function I(i){let t,n=i[1]&&T(i);return{c(){n&&n.c(),t=e.empty()},m(o,s){n&&n.m(o,s),e.insert(o,t,s)},p(o,s){o[1]?n?n.p(o,s):(n=T(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(o){o&&e.detach(t),n&&n.d(o)}}}function W(i){let t,n=i[4](i[2])+"",o;return{c(){t=e.element("span"),o=e.text(n),e.attr(t,"class","CashierHeaderTitle")},m(s,h){e.insert(s,t,h),e.append(t,o)},p(s,h){h&20&&n!==(n=s[4](s[2])+"")&&e.set_data(o,n)},d(s){s&&e.detach(t)}}}function M(i){let t,n,o;return{c(){t=e.element("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>',e.attr(t,"class","CashierHeaderRightButton")},m(s,h){e.insert(s,t,h),n||(o=e.listen(t,"click",i[5]),n=!0)},p:e.noop,d(s){s&&e.detach(t),n=!1,o()}}}function Y(i){let t,n=i[3]&&M(i);return{c(){n&&n.c(),t=e.empty()},m(o,s){n&&n.m(o,s),e.insert(o,t,s)},p(o,s){o[3]?n?n.p(o,s):(n=M(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(o){o&&e.detach(t),n&&n.d(o)}}}function G(i){let t,n,o,s;const h=i[16].leftButton,m=e.create_slot(h,i,i[15],S),r=m||I(i),b=i[16].title,g=e.create_slot(b,i,i[15],H),c=g||W(i),_=i[16].rightButton,d=e.create_slot(_,i,i[15],L),u=d||Y(i);return{c(){t=e.element("div"),r&&r.c(),n=e.space(),c&&c.c(),o=e.space(),u&&u.c(),e.attr(t,"class","CashierHeader")},m(l,f){e.insert(l,t,f),r&&r.m(t,null),e.append(t,n),c&&c.m(t,null),e.append(t,o),u&&u.m(t,null),i[17](t),s=!0},p(l,[f]){m?m.p&&(!s||f&32768)&&e.update_slot_base(m,h,l,l[15],s?e.get_slot_changes(h,l[15],f,Z):e.get_all_dirty_from_scope(l[15]),S):r&&r.p&&(!s||f&2)&&r.p(l,s?f:-1),g?g.p&&(!s||f&32768)&&e.update_slot_base(g,b,l,l[15],s?e.get_slot_changes(b,l[15],f,U):e.get_all_dirty_from_scope(l[15]),H):c&&c.p&&(!s||f&20)&&c.p(l,s?f:-1),d?d.p&&(!s||f&32768)&&e.update_slot_base(d,_,l,l[15],s?e.get_slot_changes(_,l[15],f,E):e.get_all_dirty_from_scope(l[15]),L):u&&u.p&&(!s||f&8)&&u.p(l,s?f:-1)},i(l){s||(e.transition_in(r,l),e.transition_in(c,l),e.transition_in(u,l),s=!0)},o(l){e.transition_out(r,l),e.transition_out(c,l),e.transition_out(u,l),s=!1},d(l){l&&e.detach(t),r&&r.d(l),c&&c.d(l),u&&u.d(l),i[17](null)}}}function J(i,t,n){let o;e.component_subscribe(i,w.$format,a=>n(4,o=a));let{$$slots:s={},$$scope:h}=t,{clientstyling:m=""}=t,{clientstylingurl:r=""}=t,{translationurl:b=""}=t,{showbackbutton:g=""}=t,{title:c="header.general"}=t,{lang:_="en"}=t,{showclosebutton:d=""}=t,{mbsource:u=""}=t,l,f,p=!1,C,y=!1;const j=()=>{fetch(b).then(a=>a.json()).then(a=>{Object.keys(a).forEach(k=>{B(k,a[k])})}).catch(a=>{console.log(a)})};Object.keys(v).forEach(a=>{B(a,v[a])});const N=()=>{x(_)},R=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},z=()=>{window.postMessage({type:"BackCashier"},window.location.href)},A=()=>{n(1,p=!!g&&g!=="false")},O=()=>{n(3,y=!!d&&d!=="false")},q=()=>{n(2,C=c||"header.general")};e.onMount(()=>()=>{});function P(a){e.binding_callbacks[a?"unshift":"push"](()=>{l=a,n(0,l)})}return i.$$set=a=>{"clientstyling"in a&&n(7,m=a.clientstyling),"clientstylingurl"in a&&n(8,r=a.clientstylingurl),"translationurl"in a&&n(9,b=a.translationurl),"showbackbutton"in a&&n(10,g=a.showbackbutton),"title"in a&&n(11,c=a.title),"lang"in a&&n(12,_=a.lang),"showclosebutton"in a&&n(13,d=a.showclosebutton),"mbsource"in a&&n(14,u=a.mbsource),"$$scope"in a&&n(15,h=a.$$scope)},i.$$.update=()=>{i.$$.dirty&4096&&_&&N(),i.$$.dirty&6144&&_&&c&&q(),i.$$.dirty&129&&m&&l&&w.setClientStyling(l,m),i.$$.dirty&257&&r&&l&&w.setClientStylingURL(l,r),i.$$.dirty&16385&&u&&l&&w.setStreamStyling(l,`${u}.Style`,f),i.$$.dirty&4608&&_&&b&&j(),i.$$.dirty&1024&&g&&A(),i.$$.dirty&8192&&d&&O()},[l,p,C,y,o,R,z,m,r,b,g,c,_,d,u,h,s,P]}class F extends e.SvelteComponent{constructor(t){super(),e.init(this,t,J,G,e.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},D)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(t){this.$$set({showbackbutton:t}),e.flush()}get title(){return this.$$.ctx[11]}set title(t){this.$$set({title:t}),e.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),e.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(t){this.$$set({showclosebutton:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(F,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);exports.default=F;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as P, i as Q, s as W, j as z, k as X, L as T, n as N, d as B, M as Y, r as Z, a as j, b as m, C as V, v as C, e as L, w as q, f as a, z as x, A as O, N as U, B as D, D as $, c as ee } from "./Tooltip-iRopEMp5.js";
|
|
2
|
-
import { s as te, b as le, c as ne } from "./TransactionHistoryPage-
|
|
2
|
+
import { s as te, b as le, c as ne } from "./TransactionHistoryPage-B77vRMCe.js";
|
|
3
3
|
function ie(t) {
|
|
4
4
|
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)}");
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as P, i as Q, s as W, j as z, k as X, L as T, n as N, d as B, M as Y, r as Z, a as j, b as m, C as V, v as C, e as L, w as q, f as a, z as x, A as O, N as U, B as D, D as $, c as ee } from "./Tooltip-CicO5Q6_.js";
|
|
2
|
-
import { s as te, b as le, c as ne } from "./TransactionHistoryPage-
|
|
2
|
+
import { s as te, b as le, c as ne } from "./TransactionHistoryPage-B39MIcDN.js";
|
|
3
3
|
function ie(t) {
|
|
4
4
|
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)}");
|
|
5
5
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Tooltip-gAGTORoD.cjs"),B=require("./TransactionHistoryPage-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Tooltip-gAGTORoD.cjs"),B=require("./TransactionHistoryPage-5Sgh8z1U.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 q(n,t,l){const r=n.slice();return r[15]=t[l],r}function A(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 F(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,m){e.insert(c,t,m),e.append(t,r),i||(a=e.listen(t,"click",o),i=!0)},p(c,m){n=c,m&8&&l!==(l=n[15]+"")&&e.set_data(r,l),m&12&&e.toggle_class(t,"selected",n[15]===n[2])},d(c){c&&e.detach(t),i=!1,a()}}}function M(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,m=!n[3].includes(1),b,w,_=!n[3].includes(+n[0]),S,v,g,E,k,j,u,f=m&&A(n),C=e.ensure_array_like(n[3]),p=[];for(let s=0;s<C.length;s+=1)p[s]=F(q(n,C,s));let h=_&&M(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(),f&&f.c(),b=e.space();for(let s=0;s<p.length;s+=1)p[s].c();w=e.space(),h&&h.c(),S=e.space(),v=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(v,"class","nav-btn"),v.disabled=k=n[2]===n[0],e.attr(l,"class","pagination")},m(s,y){e.insert(s,t,y),e.append(t,l),e.append(l,r),e.append(r,i),e.append(i,a),e.append(l,c),f&&f.m(l,null),e.append(l,b);for(let d=0;d<p.length;d+=1)p[d]&&p[d].m(l,null);e.append(l,w),h&&h.m(l,null),e.append(l,S),e.append(l,v),e.append(v,g),e.append(g,E),n[13](t),j||(u=[e.listen(r,"click",n[8]),e.listen(v,"click",n[12])],j=!0)},p(s,[y]){if(y&4&&o!==(o=s[2]===1)&&(r.disabled=o),y&8&&(m=!s[3].includes(1)),m?f?f.p(s,y):(f=A(s),f.c(),f.m(l,b)):f&&(f.d(1),f=null),y&28){C=e.ensure_array_like(s[3]);let d;for(d=0;d<C.length;d+=1){const T=q(s,C,d);p[d]?p[d].p(T,y):(p[d]=F(T),p[d].c(),p[d].m(l,w))}for(;d<p.length;d+=1)p[d].d(1);p.length=C.length}y&9&&(_=!s[3].includes(+s[0])),_?h?h.p(s,y):(h=M(s),h.c(),h.m(l,S)):h&&(h.d(1),h=null),y&5&&k!==(k=s[2]===s[0])&&(v.disabled=k)},i:e.noop,o:e.noop,d(s){s&&e.detach(t),f&&f.d(),e.destroy_each(p,s),h&&h.d(),n[13](null),j=!1,e.run_all(u)}}}function V(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,m,b=1,w;w=V(b,o),e.onMount(()=>()=>{});function _(u){if(u>=1&&u<=o){l(2,b=u);const f=new CustomEvent("pageChange",{detail:{page:u},bubbles:!0,composed:!0});document.dispatchEvent(f)}}const S=()=>_(b-1),v=()=>_(1),g=u=>_(u),E=()=>_(+o),k=()=>_(b+1);function j(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,w=V(b,o)),n.$$.dirty&34&&r&&c&&B.setClientStyling(c,r),n.$$.dirty&66&&i&&c&&B.setClientStylingURL(c,i),n.$$.dirty&130&&a&&c&&B.setStreamStyling(c,`${a}.Style`,m)},[o,c,b,w,_,r,i,a,S,v,g,E,k,j]}class P 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(P,{clientstyling:{},clientstylingurl:{},mbsource:{},totalpages:{}},[],[],!0);exports.default=P;
|