fantasy-ngzorro 2.1.50 → 2.1.52

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.
Files changed (43) hide show
  1. package/README.md +4 -2
  2. package/bundles/fantasy-ngzorro.umd.js +42 -18
  3. package/bundles/fantasy-ngzorro.umd.js.map +1 -1
  4. package/bundles/fantasy-ngzorro.umd.min.js +2 -2
  5. package/bundles/fantasy-ngzorro.umd.min.js.map +1 -1
  6. package/esm2015/hd-button/hd-button.component.js +1 -1
  7. package/esm2015/hd-button-group/hd-button-group.component.js +1 -1
  8. package/esm2015/hd-current-table/hd-current-table.component.js +1 -1
  9. package/esm2015/hd-detail-form/hd-detail-form.component.js +19 -6
  10. package/esm2015/hd-detail-lines/hd-detail-lines.component.js +1 -1
  11. package/esm2015/hd-detail-lines-page/hd-detail-lines-page.component.js +1 -1
  12. package/esm2015/hd-detail-tip/hd-detail-tip.component.js +1 -1
  13. package/esm2015/hd-filter/hd-filter.component.js +1 -1
  14. package/esm2015/hd-form/hd-form.component.js +1 -1
  15. package/esm2015/hd-form-lines/hd-form-lines.component.js +1 -1
  16. package/esm2015/hd-popconfirm/hd-popconfirm.component.js +1 -1
  17. package/esm2015/hd-status/hd-status.component.js +1 -1
  18. package/esm2015/hd-table/hd-table.component.js +1 -1
  19. package/esm2015/hd-tip/hd-tip.component.js +1 -1
  20. package/esm2015/model/common-type.js +6 -1
  21. package/esm5/hd-button/hd-button.component.js +1 -1
  22. package/esm5/hd-button-group/hd-button-group.component.js +1 -1
  23. package/esm5/hd-current-table/hd-current-table.component.js +1 -1
  24. package/esm5/hd-detail-form/hd-detail-form.component.js +25 -6
  25. package/esm5/hd-detail-lines/hd-detail-lines.component.js +1 -1
  26. package/esm5/hd-detail-lines-page/hd-detail-lines-page.component.js +1 -1
  27. package/esm5/hd-detail-tip/hd-detail-tip.component.js +1 -1
  28. package/esm5/hd-filter/hd-filter.component.js +1 -1
  29. package/esm5/hd-form/hd-form.component.js +1 -1
  30. package/esm5/hd-form-lines/hd-form-lines.component.js +1 -1
  31. package/esm5/hd-popconfirm/hd-popconfirm.component.js +1 -1
  32. package/esm5/hd-status/hd-status.component.js +1 -1
  33. package/esm5/hd-table/hd-table.component.js +1 -1
  34. package/esm5/hd-tip/hd-tip.component.js +1 -1
  35. package/esm5/model/common-type.js +6 -1
  36. package/fantasy-ngzorro.metadata.json +1 -1
  37. package/fesm2015/fantasy-ngzorro.js +36 -18
  38. package/fesm2015/fantasy-ngzorro.js.map +1 -1
  39. package/fesm5/fantasy-ngzorro.js +42 -18
  40. package/fesm5/fantasy-ngzorro.js.map +1 -1
  41. package/hd-detail-form/hd-detail-form.component.d.ts +3 -1
  42. package/model/common-type.d.ts +2 -0
  43. package/package.json +1 -1
package/README.md CHANGED
@@ -37,6 +37,7 @@
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-9-8 | hd-form 支持 `FormListType.RegionAddress`(省市区级联 + 详细地址,双 FormControl,固定占 2 列) |
40
+ | — | 2026-9-9 | hd-detail-form 默认固定一行 4 列;`HdOption.width` 支持占列(默认 1,最大 4) |
40
41
  | — | 2026-8-6 | hd-form-lines:`allowEmpty` + 仅删除按钮时初始化不补空行、可删至 0 行;分页页码删空校正;ViewDom 字号 14px |
41
42
  | — | 2026-8-26 | `hd-table` 默认开启虚拟滚动(`virtualScroll` / `virtualItemSize`);文档补齐 |
42
43
  | — | 2026-8-25 | hd-status:`statusToColor` 按 sunan-server 业务状态枚举全量去重补充(排除银行 / AGV / HTTP StatusCode) |
@@ -559,12 +560,12 @@ this.hdFormLines.batchFillSelected({ remark: '批量备注' }); // 批量填充
559
560
 
560
561
  ```html
561
562
  <hd-detail-form [formCols]="formCols"></hd-detail-form>
562
- <!-- 固定两列:<hd-detail-form [formCols]="formCols" [nzColumn]="2"></hd-detail-form> -->
563
563
  ```
564
564
 
565
565
  ```typescript
566
566
  formCols: HdOption[] = [
567
567
  { label: '收货单号', value: '202111030001' },
568
+ { label: '地址', value: '江苏/南京市/玄武区 某某路', width: 2 },
568
569
  { label: '备注', value: '...' }
569
570
  ];
570
571
  ```
@@ -572,7 +573,7 @@ formCols: HdOption[] = [
572
573
  | 参数 | 类型 | 默认值 | 说明 |
573
574
  | ---- | ---- | ------ | ---- |
574
575
  | formCols | HdOption[] | — | 展示字段,见 [HdOption](#hdoption键值展示项) |
575
- | nzColumn | number \| object | `{ xxl: 4, xl: 3, lg: 3, md: 3, sm: 2, xs: 1 }` | 列数;传数字为固定列数,传对象为响应式列数 |
576
+ | nzColumn | number \| object | `4` | 一行列数,默认固定 4 列 |
576
577
 
577
578
  ---
578
579
 
@@ -826,6 +827,7 @@ selectOption: {
826
827
  | ---- | ---- | ---- |
827
828
  | label | string | 标签 |
828
829
  | value | any | 值 |
830
+ | width | number | 占据列数,默认 1,最大 4;未传按 1 |
829
831
  | color | string | 文字颜色 |
830
832
  | hide | boolean | 是否隐藏 |
831
833
  | clickText | string | 可点击文案 |