ps-toolkit-ui 1.14.77 → 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 +3 -8
- 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 +4 -9
- package/fesm2015/ps-toolkit-ui.js +3 -8
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -3080,21 +3080,16 @@
|
|
|
3080
3080
|
};
|
|
3081
3081
|
TablePaginationComponent.prototype.ngOnInit = function () {
|
|
3082
3082
|
var _this = this;
|
|
3083
|
-
var _a, _b
|
|
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
|
-
|
|
3086
|
-
|
|
3087
|
-
console.log((_a = this.table.verticalOption.Responsive.find(function (x) { return x.Size < window.innerWidth; })) === null || _a === void 0 ? void 0 : _a.PerPage, '3333');
|
|
3088
|
-
console.log((_c = (_b = this.table.verticalOption.Responsive.find(function (x) { return x.Size < window.innerWidth; })) === null || _b === void 0 ? void 0 : _b.PerPage) !== null && _c !== void 0 ? _c : 1, '44444');
|
|
3089
|
-
this.perPageSelect.value = this.table.verticalOption != null ?
|
|
3090
|
-
((_e = (_d = this.table.verticalOption.Responsive.find(function (x) { return x.Size < window.innerWidth; })) === null || _d === void 0 ? void 0 : _d.PerPage) !== null && _e !== void 0 ? _e : 1).toString() : this.table.perPage.toString();
|
|
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();
|
|
3091
3087
|
this.perPageSelect.options = [
|
|
3092
3088
|
new OptionClass('5', '5'),
|
|
3093
3089
|
new OptionClass('10', '10'),
|
|
3094
3090
|
new OptionClass('50', '50'),
|
|
3095
3091
|
new OptionClass('100', '100'),
|
|
3096
3092
|
];
|
|
3097
|
-
this.perPageSelect.value = this.perPageSelect.search = this.table.perPage.toString();
|
|
3098
3093
|
this.perPageSelect.displayLabel = false;
|
|
3099
3094
|
this.perPageSelect.onChange = function (v) {
|
|
3100
3095
|
_this.table.page = 1;
|