fantasy-ngzorro 1.3.27 → 1.3.29

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.
@@ -928,7 +928,7 @@ var HdFilterComponent = /** @class */ (function () {
928
928
  function HdFilterComponent(fb) {
929
929
  this.fb = fb;
930
930
  this.searchEvent = new EventEmitter();
931
- this.resetEvent = null;
931
+ this.resetEvent = new EventEmitter();
932
932
  this.isShowMore = true;
933
933
  // 对filterList取模运算
934
934
  this.filterListModular = 0;
@@ -1069,10 +1069,12 @@ var HdFilterComponent = /** @class */ (function () {
1069
1069
  */
1070
1070
  function () {
1071
1071
  this.validateFilterForm.reset();
1072
- if (this.resetEvent) {
1072
+ if (this.resetEvent.observers.length > 0) {
1073
+ // 如果有父组件绑定了 resetEvent 的处理器
1073
1074
  this.resetEvent.emit(this.validateFilterForm.getRawValue());
1074
1075
  }
1075
1076
  else {
1077
+ // 如果没有绑定处理器,则触发 searchEvent
1076
1078
  this.searchEvent.emit(this.validateFilterForm.getRawValue());
1077
1079
  }
1078
1080
  };
@@ -4352,7 +4354,7 @@ var ColWidth = {
4352
4354
  // 操作列宽度
4353
4355
  numberColWidth: 100,
4354
4356
  // 数字列
4355
- remarkColwidth: 250,
4357
+ remarkColWidth: 250,
4356
4358
  // 备注列
4357
4359
  fixColWidth: 150,
4358
4360
  // 不属于以上内容的列统一使用该宽度,增加超长省略