fantasy-ngzorro 2.1.15 → 2.1.17

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/README.md CHANGED
@@ -37,9 +37,9 @@
37
37
  | — | 2026-6-23 | hd-table 状态列支持 `stateField` 自定义取值字段、`isState` 按列名取值;hd-form Input 支持 `prefix` / `prefixIcon`;hd-detail-lines-page 支持 `isCrossPageSelect` 跨页勾选开关 |
38
38
  | — | 2026-7-6 | hd-form 支持 `FormListType.Checkbox`(单个复选框 / 复选框组)及 `CheckboxOption` 配置 |
39
39
  | — | 2026-8-6 | hd-form-lines:`allowEmpty` + 仅删除按钮时初始化不补空行、可删至 0 行;分页页码删空校正;ViewDom 字号 14px |
40
- | — | 2026-8-21 | 分页选项统一增加 500 / 1000;`hd-table` / `hd-detail-lines` / `hd-detail-lines-page` 默认 `tablePageSize` 改为 100 |
40
+ | — | 2026-8-26 | `hd-table` 默认开启虚拟滚动(`virtualScroll` / `virtualItemSize`);文档补齐 |
41
41
  | — | 2026-8-25 | hd-status:`statusToColor` 按 sunan-server 业务状态枚举全量去重补充(排除银行 / AGV / HTTP StatusCode) |
42
- | — | 2026-8-26 | 文档补齐:`hd-form-lines` 勾选/复制/插槽/暴露方法/`allowEmpty`;分页默认值与选项;`FormLine` 字段 |
42
+ | — | 2026-8-21 | 分页选项统一增加 500 / 1000;`hd-table` / `hd-detail-lines` / `hd-detail-lines-page` 默认 `tablePageSize` 改为 100 |
43
43
 
44
44
  ## 前言
45
45
 
@@ -342,6 +342,8 @@ tableCols: HdTableColumn[] = [{
342
342
  | showSelected | boolean | false | 勾选列 |
343
343
  | selectField | string | billNumber | 勾选主键字段 |
344
344
  | showOperateColWarpButton | boolean | false | 展开/缩略显示换行列 |
345
+ | virtualScroll | boolean | true | 虚拟滚动(需 `nzScroll.y`;仅渲染可视区行) |
346
+ | virtualItemSize | number | — | 虚拟滚动行高(px);**不传则首屏自动测量** |
345
347
  | showTableTotal | boolean | false | 底部合计行 |
346
348
  | tableTotalOption | HdTableTotalOption[] | — | 合计配置 |
347
349
  | isFirstEntrySearch | boolean | — | 首次进入是否自动查询 |