fantasy-ngzorro 2.1.44 → 2.1.45
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 +14 -1
- 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 +15 -2
- package/esm5/hd-form-lines/hd-form-lines.component.js +15 -2
- package/fantasy-ngzorro.metadata.json +1 -1
- package/fesm2015/fantasy-ngzorro.js +14 -1
- package/fesm2015/fantasy-ngzorro.js.map +1 -1
- package/fesm5/fantasy-ngzorro.js +14 -1
- 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
|
@@ -3062,6 +3062,10 @@
|
|
|
3062
3062
|
// 操作列按钮:add / delete / copy
|
|
3063
3063
|
this.scroll = { x: "1px" };
|
|
3064
3064
|
this.changeEvent = new core.EventEmitter();
|
|
3065
|
+
/**
|
|
3066
|
+
* 新增空行后抛出该行 FormGroup(手动添加、键盘跳行自动补行等)
|
|
3067
|
+
*/
|
|
3068
|
+
this.addLineEvent = new core.EventEmitter();
|
|
3065
3069
|
/**
|
|
3066
3070
|
* 勾选变化时抛出当前勾选行 FormGroup 列表
|
|
3067
3071
|
*/
|
|
@@ -5115,8 +5119,11 @@
|
|
|
5115
5119
|
if (isFocus === void 0) { isFocus = true; }
|
|
5116
5120
|
/** @type {?} */
|
|
5117
5121
|
var insertAt = this.getInsertIndexAfter(afterLine);
|
|
5118
|
-
|
|
5122
|
+
/** @type {?} */
|
|
5123
|
+
var newLine = this.newLineItem();
|
|
5124
|
+
this.linesFormArray.insert(insertAt, newLine);
|
|
5119
5125
|
this.calculateLineNumber();
|
|
5126
|
+
this.addLineEvent.emit(newLine);
|
|
5120
5127
|
// 跳到新增行所在页,避免页码异常时看不到数据
|
|
5121
5128
|
this.paginationPageIndex =
|
|
5122
5129
|
Math.floor(insertAt / this.paginationPageSize) + 1;
|
|
@@ -5631,6 +5638,7 @@
|
|
|
5631
5638
|
operateButtons: [{ type: core.Input }],
|
|
5632
5639
|
scroll: [{ type: core.Input }],
|
|
5633
5640
|
changeEvent: [{ type: core.Output }],
|
|
5641
|
+
addLineEvent: [{ type: core.Output }],
|
|
5634
5642
|
selectionChange: [{ type: core.Output }],
|
|
5635
5643
|
showDeleteConfirm: [{ type: core.Input }],
|
|
5636
5644
|
showTotal: [{ type: core.Input }],
|
|
@@ -5714,6 +5722,11 @@
|
|
|
5714
5722
|
HdFormLinesComponent.prototype.scroll;
|
|
5715
5723
|
/** @type {?} */
|
|
5716
5724
|
HdFormLinesComponent.prototype.changeEvent;
|
|
5725
|
+
/**
|
|
5726
|
+
* 新增空行后抛出该行 FormGroup(手动添加、键盘跳行自动补行等)
|
|
5727
|
+
* @type {?}
|
|
5728
|
+
*/
|
|
5729
|
+
HdFormLinesComponent.prototype.addLineEvent;
|
|
5717
5730
|
/**
|
|
5718
5731
|
* 勾选变化时抛出当前勾选行 FormGroup 列表
|
|
5719
5732
|
* @type {?}
|