zhihao-ui 1.2.8 → 1.2.9

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.
@@ -1,11 +1,13 @@
1
1
  /** 自定义数据项 */
2
2
  export type DiyDataType = Record<string, string | number | undefined>;
3
- /** 列输入框类型 */
3
+ /** 列类型 */
4
4
  export declare enum DIY_DATA_TYPE {
5
5
  /** 自动补全输入框 */
6
6
  AUTOCOMPLETE = "autocomplete",
7
7
  /** 格式化文本 */
8
- FORMAT = "format"
8
+ FORMAT = "format",
9
+ /** 文本,初始化要传数据,配合isSameData使用 */
10
+ TEXT = "text"
9
11
  }
10
12
  /** 列配置 */
11
13
  export type DiyDataTableColumnItem = {
@@ -27,7 +29,7 @@ export type DiyDataTableColumnItem = {
27
29
  placeholder?: string;
28
30
  /** 是否必填 */
29
31
  required?: boolean;
30
- /** 是否固定标签 */
32
+ /** 是否是可编辑表头 */
31
33
  isEditHeader?: boolean;
32
34
  /** 是否相同数据 */
33
35
  isSameData?: boolean;