ps-toolkit-ui 1.14.76 → 1.14.77
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 +7 -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 +8 -3
- package/fesm2015/ps-toolkit-ui.js +7 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -3080,9 +3080,14 @@
|
|
|
3080
3080
|
};
|
|
3081
3081
|
TablePaginationComponent.prototype.ngOnInit = function () {
|
|
3082
3082
|
var _this = this;
|
|
3083
|
-
var _a, _b;
|
|
3083
|
+
var _a, _b, _c, _d, _e;
|
|
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
|
-
|
|
3085
|
+
console.log(this.table.verticalOption.Responsive, window.innerWidth, '11111');
|
|
3086
|
+
console.log(this.table.verticalOption.Responsive.find(function (x) { return x.Size < window.innerWidth; }), '2222');
|
|
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();
|
|
3086
3091
|
this.perPageSelect.options = [
|
|
3087
3092
|
new OptionClass('5', '5'),
|
|
3088
3093
|
new OptionClass('10', '10'),
|