fantasy-ngzorro 2.1.22 → 2.1.23

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.
@@ -2511,6 +2511,10 @@
2511
2511
  // 操作列按钮:add / delete / copy
2512
2512
  this.scroll = { x: "1px" };
2513
2513
  this.changeEvent = new core.EventEmitter();
2514
+ /**
2515
+ * 新增空行后抛出该行 FormGroup(手动添加、键盘跳行自动补行等)
2516
+ */
2517
+ this.addLineEvent = new core.EventEmitter();
2514
2518
  /**
2515
2519
  * 勾选变化时抛出当前勾选行 FormGroup 列表
2516
2520
  */
@@ -4558,7 +4562,10 @@
4558
4562
  if (isFocus === void 0) { isFocus = true; }
4559
4563
  /** @type {?} */
4560
4564
  var insertAt = this.getInsertIndexAfter(afterLine);
4561
- this.linesFormArray.insert(insertAt, this.newLineItem());
4565
+ /** @type {?} */
4566
+ var newLine = this.newLineItem();
4567
+ this.linesFormArray.insert(insertAt, newLine);
4568
+ this.addLineEvent.emit(newLine);
4562
4569
  this.calculateLineNumber();
4563
4570
  // 跳到新增行所在页,避免页码异常时看不到数据
4564
4571
  this.paginationPageIndex =
@@ -5073,6 +5080,7 @@
5073
5080
  operateButtons: [{ type: core.Input }],
5074
5081
  scroll: [{ type: core.Input }],
5075
5082
  changeEvent: [{ type: core.Output }],
5083
+ addLineEvent: [{ type: core.Output }],
5076
5084
  selectionChange: [{ type: core.Output }],
5077
5085
  showDeleteConfirm: [{ type: core.Input }],
5078
5086
  showTotal: [{ type: core.Input }],
@@ -5147,6 +5155,11 @@
5147
5155
  HdFormLinesComponent.prototype.scroll;
5148
5156
  /** @type {?} */
5149
5157
  HdFormLinesComponent.prototype.changeEvent;
5158
+ /**
5159
+ * 新增空行后抛出该行 FormGroup(手动添加、键盘跳行自动补行等)
5160
+ * @type {?}
5161
+ */
5162
+ HdFormLinesComponent.prototype.addLineEvent;
5150
5163
  /**
5151
5164
  * 勾选变化时抛出当前勾选行 FormGroup 列表
5152
5165
  * @type {?}