fantasy-ngzorro 2.2.19 → 2.2.21
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 +4 -0
- package/bundles/fantasy-ngzorro.umd.js +70 -9
- 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-detail-lines/hd-detail-lines.component.js +3 -3
- package/esm2015/hd-filter/hd-filter.component.js +42 -5
- package/esm2015/hd-form-lines/hd-form-lines.component.js +3 -3
- package/esm2015/hd-table/hd-table.component.js +16 -2
- package/esm5/hd-detail-lines/hd-detail-lines.component.js +3 -3
- package/esm5/hd-filter/hd-filter.component.js +52 -5
- package/esm5/hd-form-lines/hd-form-lines.component.js +3 -3
- package/esm5/hd-table/hd-table.component.js +16 -2
- package/fantasy-ngzorro.metadata.json +1 -1
- package/fesm2015/fantasy-ngzorro.js +60 -9
- package/fesm2015/fantasy-ngzorro.js.map +1 -1
- package/fesm5/fantasy-ngzorro.js +70 -9
- package/fesm5/fantasy-ngzorro.js.map +1 -1
- package/hd-filter/hd-filter.component.d.ts +4 -0
- package/hd-table/hd-table.component.d.ts +2 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -32,6 +32,8 @@
|
|
|
32
32
|
|
|
33
33
|
| 更新人 | 更新时间 | 更新内容 |
|
|
34
34
|
| ------ | -------- | -------- |
|
|
35
|
+
| — | 2026-10-13 | `hd-table`:`showColSettings`(默认 true)可关闭列设置;`hd-filter`:可见条件 ≤2 自动加宽且整行占满 100%;`hd-form-lines`:全局搜索时左侧按钮紧挨搜索框(2.2.21) |
|
|
36
|
+
| — | 2026-10-12 | `hd-form-lines` / `hd-detail-lines`:全局搜索框 `width` 改挂 `nz-input-group`,修复放大镜贴到最右侧(2.2.20) |
|
|
35
37
|
| — | 2026-10-9 | `hd-button-group`:左侧区域 `flex:1`,`tableLeftButton` 等内容可占满右侧按钮前的剩余宽度(2.2.19) |
|
|
36
38
|
| — | 2026-10-9 | `hd-filter`:新增 `hidePadding`,为 true 时去掉 `.hd-filter-container` 的 padding(2.2.18) |
|
|
37
39
|
| — | 2026-10-8 | `hd-filter`:Select / MultipleSelect 支持 `onOpenChangeEvent`(展开先清空 selectList);多选空态光标与 placeholder 左对齐(2.2.16) |
|
|
@@ -283,6 +285,7 @@
|
|
|
283
285
|
| enableFilterScheme | boolean | 是否启用筛选组,默认 `false` |
|
|
284
286
|
| filterSchemeKey | string | 筛选器标识;开启筛选组时必传 |
|
|
285
287
|
| hidePadding | boolean | 去掉 `.hd-filter-container` 的 padding,默认 `false` |
|
|
288
|
+
| (布局) | — | 可见筛选项 ≤2 个时自动加宽字段列(1 个 → `nzSpan=18`,2 个 → `nzSpan=9`),查询/重置仍占 6;≥3 个与现网一致(`nzSpan=6` + `computeOffset`) |
|
|
286
289
|
| searchEvent | EventEmitter | 查询,带回筛选数据 |
|
|
287
290
|
| resetEvent | EventEmitter | 重置 |
|
|
288
291
|
|
|
@@ -437,6 +440,7 @@ tableCols: HdTableColumn[] = [{
|
|
|
437
440
|
| selectDisabledField | string | — | 行勾选禁用字段名;行数据该字段为 `true` 时禁用勾选(全选也会跳过) |
|
|
438
441
|
| rowInvalidField | string | — | 行失效字段名;为 `true` 时整行背景 `#F7F8FA`、普通文字 `#868A9C`(操作按钮/超链接颜色不变) |
|
|
439
442
|
| showOperateColWarpButton | boolean | false | 展开/缩略显示换行列 |
|
|
443
|
+
| showColSettings | boolean | true | 是否展示列设置(齿轮);弹窗等场景可传 `false` 关闭 |
|
|
440
444
|
| virtualScroll | boolean | true | 行数多自动虚拟滚动;横向滚动条按**列总宽是否超出容器**决定 |
|
|
441
445
|
| virtualItemSize | number | — | 虚拟滚动行高(px);**不传则首屏自动测量** |
|
|
442
446
|
| showTableTotal | boolean | false | 底部合计行(`nzFooter`,固定在表体下方、分页上方,不进虚拟滚动数据);开启后表内**强制展示序号列**,「合计」对齐序号列 |
|