@a2simcode/ui 0.0.74 → 0.0.76

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,13 +1,5 @@
1
1
  import { BaseSchemaConfig, BaseCompConfig } from '../../comp/src/interface';
2
- export interface FormSchemaConfig extends BaseSchemaConfig {
3
- /**
4
- * @zh id
5
- */
6
- id?: string;
7
- /**
8
- * @zh 组件类型
9
- */
10
- type?: string;
2
+ export interface FormSchemaCompConfig extends BaseSchemaConfig {
11
3
  /**
12
4
  * @zh 配置信息
13
5
  */
@@ -24,59 +16,21 @@ export interface FormSchemaConfig extends BaseSchemaConfig {
24
16
  * @zh 父级表格ID
25
17
  */
26
18
  parentTableId?: string;
27
- /**
28
- * @zh 数据类型
29
- */
30
- dataType?: string;
31
- /**
32
- * @zh 数据编码
33
- */
34
- dataCode?: string;
35
- /**
36
- * @zh 数据
37
- */
38
- options?: Record<string, any>;
39
- /**
40
- * @zh 过滤数据id
41
- */
42
- dataFilterIds?: string[];
43
- /**
44
- * @zh 值键值
45
- */
46
- valueKey?: string;
47
- /**
48
- * @zh 显示键值
49
- */
50
- labelKey?: string;
51
- /**
52
- * @zh id键值
53
- */
54
- idKey?: string;
55
- /**
56
- * @zh 父级键值
57
- */
58
- pidKey?: string;
59
- /**
60
- * @zh 上级参数别名
61
- */
62
- upKeys?: string;
63
- /**
64
- * @zh 数据源参数
65
- */
66
- params?: Record<string, any>;
67
- /**
68
- * @zh 默认数据
69
- */
70
- defaultValue?: any;
71
- /**
72
- * @zh 赋值字段名,实现不同组件使用同一个字段的值
73
- */
74
- inputValueKey?: string;
75
19
  /**
76
20
  * @zh 校验规则
77
21
  */
78
22
  rule?: RuleType[];
79
23
  } & BaseCompConfig;
24
+ }
25
+ export interface FormSchemaConfig extends FormSchemaCompConfig {
26
+ /**
27
+ * @zh id
28
+ */
29
+ id?: string;
30
+ /**
31
+ * @zh 组件类型
32
+ */
33
+ type?: string;
80
34
  /**
81
35
  * @zh 子集
82
36
  */
@@ -91,7 +91,7 @@ export type { TreeSelectProps } from './tree-select/src/tree-select.vue';
91
91
  export type { ButtonCompActionType, ButtonCompType, ButtonClickScope, } from './buttons/src/interface';
92
92
  export type { LayerParamType } from './dynamic-layer/src/interface';
93
93
  export type { SchemaConfig } from './comp/src/interface';
94
- export type { FormSchemaConfig, RuleType } from './form/src/interface';
94
+ export type { FormSchemaCompConfig, FormSchemaConfig, RuleType } from './form/src/interface';
95
95
  export type { PageSchemaConfig } from './page/src/interface';
96
96
  export type { ColumnSchemaConfig } from './table/src/interface';
97
97
  export type { TableColumnCompConfig } from './table/src/interface';