ps-toolkit-ui 1.14.76 → 1.14.78
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/bundles/ps-toolkit-ui.umd.js +2 -2
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/table/pagination/table.pagination.component.js +3 -3
- package/fesm2015/ps-toolkit-ui.js +2 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -3082,14 +3082,14 @@
|
|
|
3082
3082
|
var _this = this;
|
|
3083
3083
|
var _a, _b;
|
|
3084
3084
|
this.perPageSelect = new InputClass(this.table.environment, this.table.l, 'PerPage', '', exports.InputType.Select, 'h-25 p-0 w-80-p f-l');
|
|
3085
|
-
this.perPageSelect.value = this.
|
|
3085
|
+
this.perPageSelect.value = this.perPageSelect.search = this.table.verticalOption != null ?
|
|
3086
|
+
((_b = (_a = this.table.verticalOption.Responsive.find(function (x) { return x.Size < window.innerWidth; })) === null || _a === void 0 ? void 0 : _a.PerPage) !== null && _b !== void 0 ? _b : 1).toString() : this.table.perPage.toString();
|
|
3086
3087
|
this.perPageSelect.options = [
|
|
3087
3088
|
new OptionClass('5', '5'),
|
|
3088
3089
|
new OptionClass('10', '10'),
|
|
3089
3090
|
new OptionClass('50', '50'),
|
|
3090
3091
|
new OptionClass('100', '100'),
|
|
3091
3092
|
];
|
|
3092
|
-
this.perPageSelect.value = this.perPageSelect.search = this.table.perPage.toString();
|
|
3093
3093
|
this.perPageSelect.displayLabel = false;
|
|
3094
3094
|
this.perPageSelect.onChange = function (v) {
|
|
3095
3095
|
_this.table.page = 1;
|