keli-ui 0.1.0 → 0.1.2
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.
|
@@ -46,8 +46,11 @@ export interface KeFormSelectAsync extends FormFrame {
|
|
|
46
46
|
|
|
47
47
|
/** 动态表格 */
|
|
48
48
|
export interface FormDynamicTable extends FormFrame {
|
|
49
|
-
width: number;
|
|
50
49
|
column: DynamicTableColumn[];
|
|
50
|
+
componentParams?: {
|
|
51
|
+
width?: number;
|
|
52
|
+
column: any[];
|
|
53
|
+
};
|
|
51
54
|
}
|
|
52
55
|
interface DynamicTableColumn {
|
|
53
56
|
field: string;
|
|
@@ -39,6 +39,10 @@ export interface TableConfigInterface {
|
|
|
39
39
|
* 允许粘贴
|
|
40
40
|
*/
|
|
41
41
|
paste?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* 删除按钮
|
|
44
|
+
*/
|
|
45
|
+
deleteBtn?: boolean;
|
|
42
46
|
}
|
|
43
47
|
|
|
44
48
|
type Fixed = 'left' | 'right';
|
|
@@ -56,6 +60,10 @@ export interface TableComponentFrame extends ComponentFrame {
|
|
|
56
60
|
* 允许拖拽
|
|
57
61
|
*/
|
|
58
62
|
sortable?: boolean,
|
|
63
|
+
/**
|
|
64
|
+
* 是否禁用
|
|
65
|
+
*/
|
|
66
|
+
disabled?: boolean,
|
|
59
67
|
slots?: {
|
|
60
68
|
default: Slots;
|
|
61
69
|
};
|