fantasy-ngzorro 1.1.15 → 1.1.16
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/fantasy-ngzorro.umd.js +10 -2
- package/bundles/fantasy-ngzorro.umd.js.map +1 -1
- package/bundles/fantasy-ngzorro.umd.min.js +1 -1
- package/bundles/fantasy-ngzorro.umd.min.js.map +1 -1
- package/esm2015/hd-table/hd-table.component.js +13 -4
- package/esm5/hd-table/hd-table.component.js +12 -4
- package/fantasy-ngzorro.metadata.json +1 -1
- package/fesm2015/fantasy-ngzorro.js +12 -3
- package/fesm2015/fantasy-ngzorro.js.map +1 -1
- package/fesm5/fantasy-ngzorro.js +11 -3
- package/fesm5/fantasy-ngzorro.js.map +1 -1
- package/hd-table/hd-table.component.d.ts +3 -2
- package/package.json +1 -1
|
@@ -3425,8 +3425,9 @@
|
|
|
3425
3425
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3426
3426
|
*/
|
|
3427
3427
|
var HdTableComponent = /** @class */ (function () {
|
|
3428
|
-
function HdTableComponent(commonSessionService) {
|
|
3428
|
+
function HdTableComponent(cdr, commonSessionService) {
|
|
3429
3429
|
var _this = this;
|
|
3430
|
+
this.cdr = cdr;
|
|
3430
3431
|
this.commonSessionService = commonSessionService;
|
|
3431
3432
|
this.tableCols = [];
|
|
3432
3433
|
this.showSelected = false;
|
|
@@ -3561,7 +3562,6 @@
|
|
|
3561
3562
|
_this.tableCacheOption = value;
|
|
3562
3563
|
if (_this.tableCacheOption.pageSize && _this.tableCacheOption.pageSize > 10) {
|
|
3563
3564
|
_this.tablePageSize = _this.tableCacheOption.pageSize;
|
|
3564
|
-
_this.tablePageSizeChange.emit(_this.tablePageSize);
|
|
3565
3565
|
}
|
|
3566
3566
|
else {
|
|
3567
3567
|
_this.tablePageSize = _this.tableCacheOption.pageSize || 10;
|
|
@@ -3569,6 +3569,7 @@
|
|
|
3569
3569
|
if (!_this.tableCacheOption.colWidths) {
|
|
3570
3570
|
_this.tableCacheOption.colWidths = new Map();
|
|
3571
3571
|
}
|
|
3572
|
+
_this.tablePageSizeChange.emit(_this.tablePageSize);
|
|
3572
3573
|
_this.initTable();
|
|
3573
3574
|
})).catch((/**
|
|
3574
3575
|
* @param {?} err
|
|
@@ -3579,6 +3580,7 @@
|
|
|
3579
3580
|
_this.tablePageSize = 10;
|
|
3580
3581
|
_this.tableCacheOption.pageSize = 10;
|
|
3581
3582
|
_this.tableCacheOption.colWidths = new Map();
|
|
3583
|
+
_this.tablePageSizeChange.emit(_this.tablePageSize);
|
|
3582
3584
|
_this.initTable();
|
|
3583
3585
|
}));
|
|
3584
3586
|
};
|
|
@@ -4275,6 +4277,7 @@
|
|
|
4275
4277
|
];
|
|
4276
4278
|
/** @nocollapse */
|
|
4277
4279
|
HdTableComponent.ctorParameters = function () { return [
|
|
4280
|
+
{ type: core.ChangeDetectorRef },
|
|
4278
4281
|
{ type: CommonSessionService }
|
|
4279
4282
|
]; };
|
|
4280
4283
|
HdTableComponent.propDecorators = {
|
|
@@ -4401,6 +4404,11 @@
|
|
|
4401
4404
|
HdTableComponent.prototype.localforage;
|
|
4402
4405
|
/** @type {?} */
|
|
4403
4406
|
HdTableComponent.prototype.beforeDrop;
|
|
4407
|
+
/**
|
|
4408
|
+
* @type {?}
|
|
4409
|
+
* @private
|
|
4410
|
+
*/
|
|
4411
|
+
HdTableComponent.prototype.cdr;
|
|
4404
4412
|
/**
|
|
4405
4413
|
* @type {?}
|
|
4406
4414
|
* @private
|