fantasy-ngzorro 1.3.1 → 1.3.2
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 +13 -0
- 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 +14 -1
- package/esm5/hd-form-lines/hd-form-lines.component.js +14 -1
- package/fesm2015/fantasy-ngzorro.js +13 -0
- package/fesm2015/fantasy-ngzorro.js.map +1 -1
- package/fesm5/fantasy-ngzorro.js +13 -0
- package/fesm5/fantasy-ngzorro.js.map +1 -1
- package/package.json +1 -1
package/fesm5/fantasy-ngzorro.js
CHANGED
|
@@ -1559,10 +1559,12 @@ var HdFormLinesComponent = /** @class */ (function () {
|
|
|
1559
1559
|
}
|
|
1560
1560
|
else {
|
|
1561
1561
|
if (y === this.collectDomList[0].length - 1) {
|
|
1562
|
+
console.log('执行过程1');
|
|
1562
1563
|
// 如果是最后一列,则跳转到下一行第一个输入框
|
|
1563
1564
|
this.focusDom(x + 1, 0, 'right');
|
|
1564
1565
|
}
|
|
1565
1566
|
else {
|
|
1567
|
+
console.log('执行过程2');
|
|
1566
1568
|
// 如果不是最后一列,则跳转到当前行下一个输入框
|
|
1567
1569
|
this.focusDom(x, y + 1, 'right');
|
|
1568
1570
|
}
|
|
@@ -1597,6 +1599,7 @@ var HdFormLinesComponent = /** @class */ (function () {
|
|
|
1597
1599
|
*/
|
|
1598
1600
|
function () {
|
|
1599
1601
|
_this.collectDomData();
|
|
1602
|
+
console.log('执行过程3');
|
|
1600
1603
|
_this.focusDom(0, 0, 'right');
|
|
1601
1604
|
}), 0);
|
|
1602
1605
|
}
|
|
@@ -1609,6 +1612,7 @@ var HdFormLinesComponent = /** @class */ (function () {
|
|
|
1609
1612
|
*/
|
|
1610
1613
|
function () {
|
|
1611
1614
|
_this.collectDomData();
|
|
1615
|
+
console.log('执行过程4');
|
|
1612
1616
|
_this.focusDom(0, 0);
|
|
1613
1617
|
}), 0);
|
|
1614
1618
|
}
|
|
@@ -1646,6 +1650,7 @@ var HdFormLinesComponent = /** @class */ (function () {
|
|
|
1646
1650
|
*/
|
|
1647
1651
|
function () {
|
|
1648
1652
|
_this.collectDomData();
|
|
1653
|
+
console.log('执行过程5');
|
|
1649
1654
|
_this.focusDom(_this.collectDomList.length - 1, _this.collectDomList[0].length - 1);
|
|
1650
1655
|
}), 0);
|
|
1651
1656
|
}
|
|
@@ -1653,10 +1658,12 @@ var HdFormLinesComponent = /** @class */ (function () {
|
|
|
1653
1658
|
}
|
|
1654
1659
|
else {
|
|
1655
1660
|
if (y === 0) {
|
|
1661
|
+
console.log('执行过程6');
|
|
1656
1662
|
// 如果是第一列,则跳转到上一行最后一个输入框
|
|
1657
1663
|
this.focusDom(x - 1, this.collectDomList[0].length - 1, 'left');
|
|
1658
1664
|
}
|
|
1659
1665
|
else {
|
|
1666
|
+
console.log('执行过程7');
|
|
1660
1667
|
// 如果不是第一列,则跳转到当前行上一个输入框
|
|
1661
1668
|
this.focusDom(x, y - 1, 'left');
|
|
1662
1669
|
}
|
|
@@ -1870,6 +1877,7 @@ var HdFormLinesComponent = /** @class */ (function () {
|
|
|
1870
1877
|
return;
|
|
1871
1878
|
}
|
|
1872
1879
|
if (this.activeDomX !== 0) {
|
|
1880
|
+
console.log('执行过程8');
|
|
1873
1881
|
this.focusDom(this.activeDomX - 1, this.activeDomY);
|
|
1874
1882
|
}
|
|
1875
1883
|
break;
|
|
@@ -1879,6 +1887,7 @@ var HdFormLinesComponent = /** @class */ (function () {
|
|
|
1879
1887
|
return;
|
|
1880
1888
|
}
|
|
1881
1889
|
if (this.activeDomX !== this.collectDomList.length - 1) {
|
|
1890
|
+
console.log('执行过程9');
|
|
1882
1891
|
this.focusDom(this.activeDomX + 1, this.activeDomY);
|
|
1883
1892
|
}
|
|
1884
1893
|
break;
|
|
@@ -1892,6 +1901,7 @@ var HdFormLinesComponent = /** @class */ (function () {
|
|
|
1892
1901
|
if (this.activeDom instanceof NzSelectComponent) {
|
|
1893
1902
|
this.activeSelectedComponentOpen = this.activeDom.open;
|
|
1894
1903
|
if (this.activeSelectedComponentOpen === false) {
|
|
1904
|
+
console.log('执行过程10');
|
|
1895
1905
|
this.focusDom(this.activeDomX, this.activeDomY);
|
|
1896
1906
|
}
|
|
1897
1907
|
break;
|
|
@@ -1915,10 +1925,12 @@ var HdFormLinesComponent = /** @class */ (function () {
|
|
|
1915
1925
|
* @return {?}
|
|
1916
1926
|
*/
|
|
1917
1927
|
function () {
|
|
1928
|
+
console.log('执行过程11');
|
|
1918
1929
|
_this.focusDom(_this.activeDomX, _this.activeDomY);
|
|
1919
1930
|
}), 0);
|
|
1920
1931
|
}
|
|
1921
1932
|
else {
|
|
1933
|
+
console.log('执行过程12');
|
|
1922
1934
|
_this.focusDom(_this.activeDomX, _this.activeDomY);
|
|
1923
1935
|
}
|
|
1924
1936
|
}
|
|
@@ -2555,6 +2567,7 @@ var HdFormLinesComponent = /** @class */ (function () {
|
|
|
2555
2567
|
_this.activeDomX = _this.collectDomList.length - 1;
|
|
2556
2568
|
}
|
|
2557
2569
|
_this.activeDomY = 0;
|
|
2570
|
+
console.log('执行过程13');
|
|
2558
2571
|
_this.focusDom(_this.activeDomX, _this.activeDomY);
|
|
2559
2572
|
}), 0);
|
|
2560
2573
|
};
|