fantasy-ngzorro 1.1.15 → 1.1.17
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 -8
- 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 -10
- package/esm5/hd-table/hd-table.component.js +12 -10
- package/fantasy-ngzorro.metadata.json +1 -1
- package/fesm2015/fantasy-ngzorro.js +12 -9
- package/fesm2015/fantasy-ngzorro.js.map +1 -1
- package/fesm5/fantasy-ngzorro.js +11 -9
- 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
|
};
|
|
@@ -4161,12 +4163,6 @@
|
|
|
4161
4163
|
function (reset) {
|
|
4162
4164
|
this.tableCacheOption.pageSize = this.tablePageSize;
|
|
4163
4165
|
this.saveTableCacheOption();
|
|
4164
|
-
if (reset) {
|
|
4165
|
-
this.tablePageSizeChange.emit(this.tablePageSize);
|
|
4166
|
-
}
|
|
4167
|
-
else {
|
|
4168
|
-
this.tablePageIndexChange.emit(this.tablePageIndex);
|
|
4169
|
-
}
|
|
4170
4166
|
// 触发父组件查询事件
|
|
4171
4167
|
this.tableSearchEvent.emit(reset);
|
|
4172
4168
|
};
|
|
@@ -4275,6 +4271,7 @@
|
|
|
4275
4271
|
];
|
|
4276
4272
|
/** @nocollapse */
|
|
4277
4273
|
HdTableComponent.ctorParameters = function () { return [
|
|
4274
|
+
{ type: core.ChangeDetectorRef },
|
|
4278
4275
|
{ type: CommonSessionService }
|
|
4279
4276
|
]; };
|
|
4280
4277
|
HdTableComponent.propDecorators = {
|
|
@@ -4401,6 +4398,11 @@
|
|
|
4401
4398
|
HdTableComponent.prototype.localforage;
|
|
4402
4399
|
/** @type {?} */
|
|
4403
4400
|
HdTableComponent.prototype.beforeDrop;
|
|
4401
|
+
/**
|
|
4402
|
+
* @type {?}
|
|
4403
|
+
* @private
|
|
4404
|
+
*/
|
|
4405
|
+
HdTableComponent.prototype.cdr;
|
|
4404
4406
|
/**
|
|
4405
4407
|
* @type {?}
|
|
4406
4408
|
* @private
|