@osovitny/anatoly 2.14.75 → 2.14.76
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/esm2020/lib/ui/components/base/base.list.mjs +5 -1
- package/fesm2015/osovitny-anatoly.mjs +4 -0
- package/fesm2015/osovitny-anatoly.mjs.map +1 -1
- package/fesm2020/osovitny-anatoly.mjs +4 -0
- package/fesm2020/osovitny-anatoly.mjs.map +1 -1
- package/lib/ui/components/base/base.list.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3482,6 +3482,10 @@ class BaseList extends BaseComponent {
|
|
|
3482
3482
|
this.currentFilter = filter;
|
|
3483
3483
|
this.loadPageOne();
|
|
3484
3484
|
}
|
|
3485
|
+
//Tos
|
|
3486
|
+
toIndex(index) {
|
|
3487
|
+
return ((this.currentPage - 1) * this.pageSize) + index + 1;
|
|
3488
|
+
}
|
|
3485
3489
|
//Events
|
|
3486
3490
|
onPageChange(e) {
|
|
3487
3491
|
this.pageSize = e.take;
|