fantasy-ngzorro 1.1.14 → 1.1.15
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 +11 -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 +9 -3
- package/esm2015/hd-table/hd-table.service.js +4 -1
- package/esm5/hd-table/hd-table.component.js +9 -3
- package/esm5/hd-table/hd-table.service.js +4 -1
- package/fesm2015/fantasy-ngzorro.js +11 -2
- package/fesm2015/fantasy-ngzorro.js.map +1 -1
- package/fesm5/fantasy-ngzorro.js +11 -2
- package/fesm5/fantasy-ngzorro.js.map +1 -1
- package/hd-table/hd-table.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3346,6 +3346,7 @@
|
|
|
3346
3346
|
var OperateBtn = /** @class */ (function () {
|
|
3347
3347
|
function OperateBtn() {
|
|
3348
3348
|
this.showConfirm = false;
|
|
3349
|
+
this.isRepeat = false; // 是否和别的按钮有显示冲突,譬如:开启,关闭需要再关闭按钮加一个这个属性
|
|
3349
3350
|
}
|
|
3350
3351
|
return OperateBtn;
|
|
3351
3352
|
}());
|
|
@@ -3355,6 +3356,8 @@
|
|
|
3355
3356
|
/** @type {?} */
|
|
3356
3357
|
OperateBtn.prototype.showConfirm;
|
|
3357
3358
|
/** @type {?} */
|
|
3359
|
+
OperateBtn.prototype.isRepeat;
|
|
3360
|
+
/** @type {?} */
|
|
3358
3361
|
OperateBtn.prototype.click;
|
|
3359
3362
|
/** @type {?} */
|
|
3360
3363
|
OperateBtn.prototype.permission;
|
|
@@ -4005,7 +4008,9 @@
|
|
|
4005
4008
|
* @return {?}
|
|
4006
4009
|
*/
|
|
4007
4010
|
function (btn) {
|
|
4008
|
-
|
|
4011
|
+
if (!btn.isRepeat) {
|
|
4012
|
+
textStr_1 += btn.name;
|
|
4013
|
+
}
|
|
4009
4014
|
}));
|
|
4010
4015
|
/** @type {?} */
|
|
4011
4016
|
var span = document.createElement('a');
|
|
@@ -4016,7 +4021,11 @@
|
|
|
4016
4021
|
span.style.display = 'inline-block'; // 将样式修改为 inline-block
|
|
4017
4022
|
span.innerText = textStr_1;
|
|
4018
4023
|
document.body.appendChild(span);
|
|
4019
|
-
operateCol.width = span.offsetWidth + (operateCol.btnList.
|
|
4024
|
+
operateCol.width = span.offsetWidth + (operateCol.btnList.filter((/**
|
|
4025
|
+
* @param {?} item
|
|
4026
|
+
* @return {?}
|
|
4027
|
+
*/
|
|
4028
|
+
function (item) { return !item.isRepeat; })).length - 1) * 4 + 16;
|
|
4020
4029
|
span.style.display = 'none';
|
|
4021
4030
|
document.body.removeChild(span);
|
|
4022
4031
|
}
|