@nethserver/ns8-ui-lib 1.3.1 → 1.3.2
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/dist/ns8-ui-lib.esm.js
CHANGED
|
@@ -17596,6 +17596,7 @@ var script$9 = {
|
|
|
17596
17596
|
// workaround to detect click on clear search button; search is handled by filterRows() with debounce
|
|
17597
17597
|
if (!this.searchFilter) {
|
|
17598
17598
|
this.filteredRows = this.allRows;
|
|
17599
|
+
this.goToFirstPage();
|
|
17599
17600
|
this.focusElement("tableSearch");
|
|
17600
17601
|
}
|
|
17601
17602
|
},
|
|
@@ -17607,6 +17608,18 @@ var script$9 = {
|
|
|
17607
17608
|
} else {
|
|
17608
17609
|
this.filteredRows = this.defaultFilterRows();
|
|
17609
17610
|
}
|
|
17611
|
+
|
|
17612
|
+
this.goToFirstPage();
|
|
17613
|
+
},
|
|
17614
|
+
|
|
17615
|
+
goToFirstPage() {
|
|
17616
|
+
if (this.pageNumber !== 1) {
|
|
17617
|
+
this.paginateTable({
|
|
17618
|
+
start: 1,
|
|
17619
|
+
page: 1,
|
|
17620
|
+
length: this.pageLength
|
|
17621
|
+
});
|
|
17622
|
+
}
|
|
17610
17623
|
},
|
|
17611
17624
|
|
|
17612
17625
|
searchMatch(target, cleanRegex, queryText) {
|
|
@@ -17994,7 +18007,8 @@ var __vue_render__$i = function () {
|
|
|
17994
18007
|
"ofTotalPagesLabel": _vm.ofTotalPagesLabel,
|
|
17995
18008
|
"backwardText": _vm.backwardText,
|
|
17996
18009
|
"forwardText": _vm.forwardText,
|
|
17997
|
-
"pageNumberLabel": _vm.pageNumberLabel
|
|
18010
|
+
"pageNumberLabel": _vm.pageNumberLabel,
|
|
18011
|
+
"page": _vm.pageNumber
|
|
17998
18012
|
},
|
|
17999
18013
|
on: {
|
|
18000
18014
|
"change": function ($event) {
|