fantasy-ngzorro 2.2.15 → 2.2.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 +5 -2
- package/bundles/fantasy-ngzorro.umd.js +130 -19
- package/bundles/fantasy-ngzorro.umd.js.map +1 -1
- package/bundles/fantasy-ngzorro.umd.min.js +2 -2
- package/bundles/fantasy-ngzorro.umd.min.js.map +1 -1
- package/esm2015/hd-accessory-list/hd-accessory-list.component.js +1 -1
- package/esm2015/hd-button/hd-button.component.js +1 -1
- package/esm2015/hd-button-group/hd-button-group.component.js +1 -1
- package/esm2015/hd-current-table/hd-current-table.component.js +1 -1
- package/esm2015/hd-detail-form/hd-detail-form.component.js +1 -1
- package/esm2015/hd-detail-lines/hd-detail-lines.component.js +1 -1
- package/esm2015/hd-detail-lines-page/hd-detail-lines-page.component.js +1 -1
- package/esm2015/hd-detail-tip/hd-detail-tip.component.js +1 -1
- package/esm2015/hd-filter/hd-filter.component.js +93 -3
- package/esm2015/hd-filter/hd-filter.service.js +5 -1
- package/esm2015/hd-form/hd-form.component.js +1 -1
- package/esm2015/hd-form-lines/hd-form-lines.component.js +5 -5
- package/esm2015/hd-popconfirm/hd-popconfirm.component.js +1 -1
- package/esm2015/hd-status/hd-status.component.js +1 -1
- package/esm2015/hd-table/hd-table.component.js +1 -1
- package/esm2015/hd-tip/hd-tip.component.js +1 -1
- package/esm5/hd-accessory-list/hd-accessory-list.component.js +1 -1
- package/esm5/hd-button/hd-button.component.js +1 -1
- package/esm5/hd-button-group/hd-button-group.component.js +1 -1
- package/esm5/hd-current-table/hd-current-table.component.js +1 -1
- package/esm5/hd-detail-form/hd-detail-form.component.js +1 -1
- package/esm5/hd-detail-lines/hd-detail-lines.component.js +1 -1
- package/esm5/hd-detail-lines-page/hd-detail-lines-page.component.js +1 -1
- package/esm5/hd-detail-tip/hd-detail-tip.component.js +1 -1
- package/esm5/hd-filter/hd-filter.component.js +110 -3
- package/esm5/hd-filter/hd-filter.service.js +5 -1
- package/esm5/hd-form/hd-form.component.js +1 -1
- package/esm5/hd-form-lines/hd-form-lines.component.js +5 -5
- package/esm5/hd-popconfirm/hd-popconfirm.component.js +1 -1
- package/esm5/hd-status/hd-status.component.js +1 -1
- package/esm5/hd-table/hd-table.component.js +1 -1
- package/esm5/hd-tip/hd-tip.component.js +1 -1
- package/fantasy-ngzorro.metadata.json +1 -1
- package/fesm2015/fantasy-ngzorro.js +113 -19
- package/fesm2015/fantasy-ngzorro.js.map +1 -1
- package/fesm5/fantasy-ngzorro.js +130 -19
- package/fesm5/fantasy-ngzorro.js.map +1 -1
- package/hd-filter/hd-filter.component.d.ts +6 -0
- package/hd-filter/hd-filter.service.d.ts +2 -0
- package/hd-form-lines/hd-form-lines.component.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
| 更新人 | 更新时间 | 更新内容 |
|
|
34
34
|
| ------ | -------- | -------- |
|
|
35
|
+
| — | 2026-10-8 | `hd-filter`:Select / MultipleSelect 支持 `onOpenChangeEvent`(展开先清空 selectList);多选空态光标与 placeholder 左对齐(2.2.16) |
|
|
35
36
|
| — | 2026-10-8 | `hd-table`:列能放下时不误开横滚;合计行仅在表体有竖滚条时预留右槽,窗口/容器缩放后自动重算对齐(2.2.15) |
|
|
36
37
|
| — | 2026-10-8 | `hd-table`:底部合计行走 `nzFooter`(分页之上、不进虚拟滚动);`tableTotalOption` 共用 `TotalOption`;列未撑满与横滚两套对齐;序号列固定宽(2.2.14) |
|
|
37
38
|
| — | 2026-10-3 | `hd-form-lines`:`enableKeyboardOperate=false` 时 Select 选中后不再自动聚焦下一个控件(2.2.13) |
|
|
@@ -44,7 +45,7 @@
|
|
|
44
45
|
| — | 2026-9-18 | `hd-form-lines` 选中回显(nzHide)认 `showLabelAndValue`,与下拉 `[value]label` 一致(对齐 `hd-form`) |
|
|
45
46
|
| — | 2026-9-18 | `hd-detail-lines-page` 对齐 `hd-table` 支持虚拟滚动(`virtualScroll` / `virtualItemSize`);千行勾选时减少 DOM 卡顿 |
|
|
46
47
|
| — | 2026-9-21 | hd-table 列支持 `rowNo`:字段值后竖线展示行号,前面字段仍可超链接 |
|
|
47
|
-
| — | 2026-9-22 | `hd-form-lines` 支持列设置(`showColSettings
|
|
48
|
+
| — | 2026-9-22 | `hd-form-lines` 支持列设置(`showColSettings`,默认关,需展示时手工传 true):仅非 hide 的 ViewDom 可显隐,禁止调序;可选 `uuid` 缓存 |
|
|
48
49
|
| — | 2026-9-22 | `hd-tip` 支持右侧展开/收起(`showCollapse` / `[(expanded)]`),暴露 `expand` / `collapse` / `toggle` 供父组件控制其它区块 |
|
|
49
50
|
| — | 2026-9-22 | `hd-form-lines` 勾选提示改为 `tableTotal` 插槽(同 hd-table),组件内不再默认渲染已选中块 |
|
|
50
51
|
| — | 2026-10-1 | `hd-table` 支持轻量行内编辑:`editType`(input / inputNumber / select)+ `(cellChange)`;Select 双写 value/label,事件带 `previous*` 供接口失败回滚 |
|
|
@@ -602,7 +603,7 @@ formChangeEvent(validateForm: FormGroup) {
|
|
|
602
603
|
| showDeleteConfirm | boolean | false | 删除前确认 |
|
|
603
604
|
| showSearch | boolean | false | 行内搜索 |
|
|
604
605
|
| showCheckbox | boolean | false | 行勾选列(用于批量操作) |
|
|
605
|
-
| showColSettings | boolean |
|
|
606
|
+
| showColSettings | boolean | false | 是否展示列设置(齿轮,位置同 hd-table);默认不展示,需要时页面手工 `[showColSettings]="true"`;仅 **非 hide 的 ViewDom** 可配置显示/隐藏,**不可拖拽调序** |
|
|
606
607
|
| uuid | string | — | 列设置缓存标识;有值时按用户+路由持久化到 IndexedDB |
|
|
607
608
|
| enableKeyboardOperate | boolean | true | 键盘操作(方向键 / 回车跳格、Select 选中后自动跳到下一个控件);为 `false` 时全部关闭 |
|
|
608
609
|
| showKeyboardOperateTip | boolean | false | 键盘操作提示 |
|
|
@@ -1058,9 +1059,11 @@ selectOption: {
|
|
|
1058
1059
|
| hdDisabledDate | Function | — | 不可选日期 `(date) => boolean` |
|
|
1059
1060
|
| onChangeEvent | Function | — | 值变化 |
|
|
1060
1061
|
| onSearchEvent | Function | — | 下拉搜索 |
|
|
1062
|
+
| onOpenChangeEvent | Function | — | 下拉展开/收起,回调 `(open)`;**展开时组件会先清空当前 `selectList`,再回调**,避免条件变化后请求返回前仍显示旧选项 |
|
|
1061
1063
|
| onBlurEvent | Function | — | 失焦 |
|
|
1062
1064
|
| onChangeEventDebounceTime | number | — | change 防抖(ms) |
|
|
1063
1065
|
| onSearchEventEventDebounceTime | number | — | search 防抖(ms) |
|
|
1066
|
+
| onOpenChangeEventDebounceTime | number | — | openChange 防抖(ms);未配置或为 0 时同步触发 |
|
|
1064
1067
|
|
|
1065
1068
|
#### FilterListType 枚举
|
|
1066
1069
|
|