fantasy-ngzorro 1.3.6 → 1.3.8
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 +19 -4
- 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-form-lines/hd-form-lines.component.js +16 -5
- package/esm5/hd-form-lines/hd-form-lines.component.js +20 -5
- package/fantasy-ngzorro.metadata.json +1 -1
- package/fesm2015/fantasy-ngzorro.js +15 -4
- package/fesm2015/fantasy-ngzorro.js.map +1 -1
- package/fesm5/fantasy-ngzorro.js +19 -4
- package/fesm5/fantasy-ngzorro.js.map +1 -1
- package/hd-form-lines/hd-form-lines.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2591,6 +2591,21 @@
|
|
|
2591
2591
|
});
|
|
2592
2592
|
this.newLine = this.newLineItem();
|
|
2593
2593
|
};
|
|
2594
|
+
/**
|
|
2595
|
+
* @return {?}
|
|
2596
|
+
*/
|
|
2597
|
+
HdFormLinesComponent.prototype.delayJumpToNextInput = /**
|
|
2598
|
+
* @return {?}
|
|
2599
|
+
*/
|
|
2600
|
+
function () {
|
|
2601
|
+
var _this = this;
|
|
2602
|
+
setTimeout((/**
|
|
2603
|
+
* @return {?}
|
|
2604
|
+
*/
|
|
2605
|
+
function () {
|
|
2606
|
+
_this.jumpToNextInput(_this.activeDomX, _this.activeDomY);
|
|
2607
|
+
}), 0);
|
|
2608
|
+
};
|
|
2594
2609
|
/**
|
|
2595
2610
|
* 定义空的newLineItem 结构
|
|
2596
2611
|
*/
|
|
@@ -2636,7 +2651,7 @@
|
|
|
2636
2651
|
*/
|
|
2637
2652
|
function (value) {
|
|
2638
2653
|
if (item.type === FormLineType.Select && value !== null) {
|
|
2639
|
-
_this.
|
|
2654
|
+
_this.delayJumpToNextInput();
|
|
2640
2655
|
}
|
|
2641
2656
|
_this.triggerEvent(item.onChangeEvent, value, formGroupSubmit);
|
|
2642
2657
|
}));
|
|
@@ -2648,7 +2663,7 @@
|
|
|
2648
2663
|
*/
|
|
2649
2664
|
function (value) {
|
|
2650
2665
|
if (item.type === FormLineType.Select && value !== null) {
|
|
2651
|
-
_this.
|
|
2666
|
+
_this.delayJumpToNextInput();
|
|
2652
2667
|
}
|
|
2653
2668
|
_this.triggerEvent(item.onChangeEvent, value, formGroupSubmit);
|
|
2654
2669
|
}));
|
|
@@ -2725,7 +2740,7 @@
|
|
|
2725
2740
|
*/
|
|
2726
2741
|
function (value) {
|
|
2727
2742
|
if (item.type === FormLineType.Select && value !== null) {
|
|
2728
|
-
_this.
|
|
2743
|
+
_this.delayJumpToNextInput();
|
|
2729
2744
|
}
|
|
2730
2745
|
_this.triggerEvent(item.onChangeEvent, value, formGroupTmp);
|
|
2731
2746
|
}));
|
|
@@ -2737,7 +2752,7 @@
|
|
|
2737
2752
|
*/
|
|
2738
2753
|
function (value) {
|
|
2739
2754
|
if (item.type === FormLineType.Select && value !== null) {
|
|
2740
|
-
_this.
|
|
2755
|
+
_this.delayJumpToNextInput();
|
|
2741
2756
|
}
|
|
2742
2757
|
_this.triggerEvent(item.onChangeEvent, value, formGroupTmp);
|
|
2743
2758
|
}));
|