fantasy-ngzorro 2.2.25 → 2.2.26

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.
@@ -43,6 +43,11 @@ export declare class HdTableColumn {
43
43
  * name 须为 string(函数型 name 不支持行内编辑)。
44
44
  */
45
45
  editType?: "input" | "inputNumber" | "select";
46
+ /**
47
+ * 行内编辑列是否必填。
48
+ * 仅 editType 为 input / inputNumber / select 时生效,列名前显示红色星号。
49
+ */
50
+ require?: boolean;
46
51
  /** 是否禁用行内编辑:true / 按行函数 */
47
52
  editDisabled?: boolean | ((line: any) => boolean);
48
53
  /** Select 配置(复用 SelectOption 子集) */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fantasy-ngzorro",
3
- "version": "2.2.25",
4
- "description": "fix:hd-status 补充已复核绿色",
3
+ "version": "2.2.26",
4
+ "description": "feat:hd-table 行内编辑列必填星号",
5
5
  "peerDependencies": {
6
6
  "moment": "^2.24.0",
7
7
  "ng-zorro-antd": "^8.5.2",