fantasy-ngzorro 2.1.40 → 2.1.41
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 +20 -0
- package/bundles/fantasy-ngzorro.umd.js.map +1 -1
- package/bundles/fantasy-ngzorro.umd.min.js +2 -2
- package/bundles/fantasy-ngzorro.umd.min.js.map +1 -1
- package/esm2015/hd-form-lines/hd-form-lines.component.js +21 -1
- package/esm5/hd-form-lines/hd-form-lines.component.js +21 -1
- package/fantasy-ngzorro.metadata.json +1 -1
- package/fesm2015/fantasy-ngzorro.js +20 -0
- package/fesm2015/fantasy-ngzorro.js.map +1 -1
- package/fesm5/fantasy-ngzorro.js +20 -0
- package/fesm5/fantasy-ngzorro.js.map +1 -1
- package/hd-form-lines/hd-form-lines.component.d.ts +2 -0
- package/package.json +1 -1
|
@@ -2974,6 +2974,10 @@
|
|
|
2974
2974
|
this.allowEmpty = true;
|
|
2975
2975
|
this.deleteLastLineEvent = new core.EventEmitter();
|
|
2976
2976
|
this.showKeyboardOperateTip = false;
|
|
2977
|
+
/**
|
|
2978
|
+
* 是否启用键盘方向键/Enter 在单元格间跳转,默认开启
|
|
2979
|
+
*/
|
|
2980
|
+
this.enableKeyboardOperate = true;
|
|
2977
2981
|
this.tableLoading = false;
|
|
2978
2982
|
this.showSearch = false;
|
|
2979
2983
|
/**
|
|
@@ -3774,6 +3778,9 @@
|
|
|
3774
3778
|
* @return {?}
|
|
3775
3779
|
*/
|
|
3776
3780
|
function () {
|
|
3781
|
+
if (!this.enableKeyboardOperate) {
|
|
3782
|
+
return;
|
|
3783
|
+
}
|
|
3777
3784
|
for (var i = 0; i < this.collectDomList.length; i++) {
|
|
3778
3785
|
var _loop_1 = function (j) {
|
|
3779
3786
|
/** @type {?} */
|
|
@@ -4157,6 +4164,9 @@
|
|
|
4157
4164
|
*/
|
|
4158
4165
|
function (event) {
|
|
4159
4166
|
var _this = this;
|
|
4167
|
+
if (!this.enableKeyboardOperate) {
|
|
4168
|
+
return;
|
|
4169
|
+
}
|
|
4160
4170
|
if (this.activeDomX === null || this.activeDomY === null) {
|
|
4161
4171
|
return;
|
|
4162
4172
|
}
|
|
@@ -5538,6 +5548,7 @@
|
|
|
5538
5548
|
allowEmpty: [{ type: core.Input }],
|
|
5539
5549
|
deleteLastLineEvent: [{ type: core.Output }],
|
|
5540
5550
|
showKeyboardOperateTip: [{ type: core.Input }],
|
|
5551
|
+
enableKeyboardOperate: [{ type: core.Input }],
|
|
5541
5552
|
tableLoading: [{ type: core.Input }],
|
|
5542
5553
|
showSearch: [{ type: core.Input }],
|
|
5543
5554
|
showCheckbox: [{ type: core.Input }],
|
|
@@ -5568,6 +5579,10 @@
|
|
|
5568
5579
|
ngZorroAntd.InputBoolean(),
|
|
5569
5580
|
__metadata("design:type", Boolean)
|
|
5570
5581
|
], HdFormLinesComponent.prototype, "showKeyboardOperateTip", void 0);
|
|
5582
|
+
__decorate([
|
|
5583
|
+
ngZorroAntd.InputBoolean(),
|
|
5584
|
+
__metadata("design:type", Boolean)
|
|
5585
|
+
], HdFormLinesComponent.prototype, "enableKeyboardOperate", void 0);
|
|
5571
5586
|
__decorate([
|
|
5572
5587
|
ngZorroAntd.InputBoolean(),
|
|
5573
5588
|
__metadata("design:type", Boolean)
|
|
@@ -5601,6 +5616,11 @@
|
|
|
5601
5616
|
HdFormLinesComponent.prototype.deleteLastLineEvent;
|
|
5602
5617
|
/** @type {?} */
|
|
5603
5618
|
HdFormLinesComponent.prototype.showKeyboardOperateTip;
|
|
5619
|
+
/**
|
|
5620
|
+
* 是否启用键盘方向键/Enter 在单元格间跳转,默认开启
|
|
5621
|
+
* @type {?}
|
|
5622
|
+
*/
|
|
5623
|
+
HdFormLinesComponent.prototype.enableKeyboardOperate;
|
|
5604
5624
|
/** @type {?} */
|
|
5605
5625
|
HdFormLinesComponent.prototype.tableLoading;
|
|
5606
5626
|
/** @type {?} */
|