fantasy-ngzorro 1.1.29 → 1.1.30
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 +33 -18
- 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 +29 -15
- package/esm5/hd-table/hd-table.component.js +34 -19
- package/fantasy-ngzorro.metadata.json +1 -1
- package/fesm2015/fantasy-ngzorro.js +28 -14
- package/fesm2015/fantasy-ngzorro.js.map +1 -1
- package/fesm5/fantasy-ngzorro.js +33 -18
- package/fesm5/fantasy-ngzorro.js.map +1 -1
- package/hd-table/hd-table.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3569,6 +3569,39 @@
|
|
|
3569
3569
|
throw 'localforage加载异常';
|
|
3570
3570
|
}));
|
|
3571
3571
|
};
|
|
3572
|
+
/**
|
|
3573
|
+
* @param {?} changes
|
|
3574
|
+
* @return {?}
|
|
3575
|
+
*/
|
|
3576
|
+
HdTableComponent.prototype.ngOnChanges = /**
|
|
3577
|
+
* @param {?} changes
|
|
3578
|
+
* @return {?}
|
|
3579
|
+
*/
|
|
3580
|
+
function (changes) {
|
|
3581
|
+
var _this = this;
|
|
3582
|
+
// 数据改变时,重置勾选状态
|
|
3583
|
+
if (changes && changes['tableData'] && changes['tableData']['currentValue'] && changes['tableData']['previousValue']) {
|
|
3584
|
+
if (changes['tableData']['currentValue']['pageSize'] !== changes['tableData']['previousValue']['pageSize']
|
|
3585
|
+
|| changes['tableData']['currentValue']['pageNumber'] !== changes['tableData']['previousValue']['pageNumber']) {
|
|
3586
|
+
return;
|
|
3587
|
+
}
|
|
3588
|
+
this.resetStatus();
|
|
3589
|
+
}
|
|
3590
|
+
if (changes['tableCols'] && JSON.stringify(changes['tableCols'].currentValue) !== JSON.stringify(changes['tableCols'].previousValue)) {
|
|
3591
|
+
this.localforage.ready().then((/**
|
|
3592
|
+
* @return {?}
|
|
3593
|
+
*/
|
|
3594
|
+
function () {
|
|
3595
|
+
_this.getInitLocalforage();
|
|
3596
|
+
})).catch((/**
|
|
3597
|
+
* @param {?} e
|
|
3598
|
+
* @return {?}
|
|
3599
|
+
*/
|
|
3600
|
+
function (e) {
|
|
3601
|
+
throw 'localforage加载异常';
|
|
3602
|
+
}));
|
|
3603
|
+
}
|
|
3604
|
+
};
|
|
3572
3605
|
/**
|
|
3573
3606
|
* @param {?} sort
|
|
3574
3607
|
* @return {?}
|
|
@@ -4185,24 +4218,6 @@
|
|
|
4185
4218
|
document.body.removeChild(span);
|
|
4186
4219
|
return isOverflow;
|
|
4187
4220
|
};
|
|
4188
|
-
/**
|
|
4189
|
-
* @param {?} changes
|
|
4190
|
-
* @return {?}
|
|
4191
|
-
*/
|
|
4192
|
-
HdTableComponent.prototype.ngOnChanges = /**
|
|
4193
|
-
* @param {?} changes
|
|
4194
|
-
* @return {?}
|
|
4195
|
-
*/
|
|
4196
|
-
function (changes) {
|
|
4197
|
-
// 数据改变时,重置勾选状态
|
|
4198
|
-
if (changes && changes['tableData'] && changes['tableData']['currentValue'] && changes['tableData']['previousValue']) {
|
|
4199
|
-
if (changes['tableData']['currentValue']['pageSize'] !== changes['tableData']['previousValue']['pageSize']
|
|
4200
|
-
|| changes['tableData']['currentValue']['pageNumber'] !== changes['tableData']['previousValue']['pageNumber']) {
|
|
4201
|
-
return;
|
|
4202
|
-
}
|
|
4203
|
-
this.resetStatus();
|
|
4204
|
-
}
|
|
4205
|
-
};
|
|
4206
4221
|
// 表格勾选逻辑
|
|
4207
4222
|
// 表格勾选逻辑
|
|
4208
4223
|
/**
|