fantasy-ngzorro 2.2.35 → 2.2.37

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.
@@ -91,7 +91,9 @@ export declare class HdFilterComponent implements OnInit, OnChanges, OnDestroy {
91
91
  private serializeFilterValue;
92
92
  private patchFilterValues;
93
93
  /**
94
- * 多选 / 日期范围空态用 [],避免 FormControl 为 null 时 nz-select multiple 不显示 placeholder。
94
+ * 多选空态用 [],避免 FormControl 为 null 时 nz-select multiple 不显示 placeholder。
95
+ * DateRange 必须保持 null(或把历史空数组归一为 null):业务侧大量用 !value 判断,
96
+ * 若规范成 [] 会因 truthy 走进 moment(value[0]),被解析成「今天」。
95
97
  */
96
98
  private normalizeFilterControlValue;
97
99
  private reviveFilterValue;
@@ -3,9 +3,9 @@ import { NzFormatBeforeDropEvent, NzFormatEmitEvent } from "ng-zorro-antd/core";
3
3
  import { NzResizeEvent } from "ng-zorro-antd/resizable";
4
4
  import { NzTableComponent } from "ng-zorro-antd/table";
5
5
  import { Observable } from "rxjs";
6
+ import { TotalOption } from "../hd-detail-lines/hd-detail-lines.service";
6
7
  import { Page } from "../model/common-type";
7
8
  import { CommonSessionService } from "../service/common-session.service";
8
- import { TotalOption } from "../hd-detail-lines/hd-detail-lines.service";
9
9
  import { HdTableCellChange, HdTableColumn, OperateBtn, TableCacheOption, TreeGrid } from "./hd-table.service";
10
10
  export declare class HdTableComponent implements OnInit, OnDestroy {
11
11
  private hostEl;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fantasy-ngzorro",
3
- "version": "2.2.35",
4
- "description": "fix:hd-table pageSize 变化时 virtualScroll=false 也重算 fluid",
3
+ "version": "2.2.37",
4
+ "description": "fix:hd-filter DateRange 空值保持 null;hd-table 空表也设 scroll.x 锁勾选列宽",
5
5
  "peerDependencies": {
6
6
  "moment": "^2.24.0",
7
7
  "ng-zorro-antd": "^8.5.2",