@bscjc/webui 1.4.1 → 1.5.0
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.
- package/dist/components/JcCascader/index.d.ts +25 -187
- package/dist/components/JcCascader/index.vue.d.ts +37 -100
- package/dist/components/JcColumnConfig/index.d.ts +7 -106
- package/dist/components/JcColumnConfig/index.vue.d.ts +23 -71
- package/dist/components/JcDatePicker/index.d.ts +24 -105
- package/dist/components/JcDatePicker/index.vue.d.ts +26 -58
- package/dist/components/JcImportButton/index.d.ts +14 -41
- package/dist/components/JcImportButton/index.vue.d.ts +19 -26
- package/dist/components/JcImportDialog/index.d.ts +14 -74
- package/dist/components/JcImportDialog/index.vue.d.ts +25 -48
- package/dist/components/JcInputComplex/index.d.ts +48 -90
- package/dist/components/JcInputComplex/index.vue.d.ts +32 -48
- package/dist/components/JcInputSwitch/index.d.ts +42 -90
- package/dist/components/JcInputSwitch/index.vue.d.ts +30 -48
- package/dist/components/JcMoreQueryContain/index.d.ts +14 -197
- package/dist/components/JcMoreQueryContain/index.vue.d.ts +23 -88
- package/dist/components/JcSelectQuery/index.d.ts +19 -178
- package/dist/components/JcSelectQuery/index.vue.d.ts +37 -106
- package/dist/components/JcTagQuery/index.d.ts +4 -19
- package/dist/components/JcTagQuery/index.vue.d.ts +7 -12
- package/dist/es/index.mjs +2102 -2172
- package/dist/index.css +2 -2
- package/dist/index.d.ts +7 -1
- package/dist/lib/index.cjs +8 -8
- package/dist/types/components/JcCascader/index.d.ts +25 -187
- package/dist/types/components/JcCascader/index.vue.d.ts +37 -100
- package/dist/types/components/JcColumnConfig/index.d.ts +7 -106
- package/dist/types/components/JcColumnConfig/index.vue.d.ts +23 -71
- package/dist/types/components/JcDatePicker/index.d.ts +24 -105
- package/dist/types/components/JcDatePicker/index.vue.d.ts +26 -58
- package/dist/types/components/JcImportButton/index.d.ts +14 -41
- package/dist/types/components/JcImportButton/index.vue.d.ts +19 -26
- package/dist/types/components/JcImportDialog/index.d.ts +14 -74
- package/dist/types/components/JcImportDialog/index.vue.d.ts +25 -48
- package/dist/types/components/JcInputComplex/index.d.ts +51 -93
- package/dist/types/components/JcInputComplex/index.vue.d.ts +126 -141
- package/dist/types/components/JcInputSwitch/index.d.ts +45 -93
- package/dist/types/components/JcInputSwitch/index.vue.d.ts +74 -91
- package/dist/types/components/JcMoreQueryContain/index.d.ts +14 -197
- package/dist/types/components/JcMoreQueryContain/index.vue.d.ts +108 -172
- package/dist/types/components/JcSelectQuery/index.d.ts +19 -178
- package/dist/types/components/JcSelectQuery/index.vue.d.ts +137 -206
- package/dist/types/components/JcTagQuery/index.d.ts +4 -19
- package/dist/types/components/JcTagQuery/index.vue.d.ts +7 -12
- package/dist/types/index.d.ts +7 -1
- package/package.json +2 -2
|
@@ -1,75 +1,21 @@
|
|
|
1
1
|
export declare const JcCascader: {
|
|
2
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
options: {
|
|
9
|
-
type: import('vue').PropType<Array<{
|
|
10
|
-
label: string;
|
|
11
|
-
value: string;
|
|
12
|
-
children?: Array<{
|
|
13
|
-
label: string;
|
|
14
|
-
value: string;
|
|
15
|
-
}>;
|
|
16
|
-
}>> | never[];
|
|
17
|
-
default: () => never[];
|
|
18
|
-
};
|
|
19
|
-
keyField: {
|
|
20
|
-
type: any;
|
|
21
|
-
default: () => string[];
|
|
22
|
-
};
|
|
23
|
-
width: {
|
|
24
|
-
type: StringConstructor;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
size: {
|
|
28
|
-
type: import('vue').PropType<"small" | "default" | "large">;
|
|
29
|
-
default: string;
|
|
30
|
-
validator: (value: string) => boolean;
|
|
31
|
-
};
|
|
32
|
-
footerBtnName: {
|
|
33
|
-
type: StringConstructor;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
isNeedFooter: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
isNeedHeader: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
default: boolean;
|
|
43
|
-
};
|
|
44
|
-
isNeedOnlySelect: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
injectionKey: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
default: string;
|
|
51
|
-
};
|
|
52
|
-
}>> & Readonly<{}>, {
|
|
53
|
-
[x: string]: any;
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./index.vue').Props> & Readonly<{}>, {
|
|
3
|
+
getCheckedNodes: (leafOnly?: boolean) => import('element-plus').CascaderNode[] | undefined;
|
|
4
|
+
togglePopperVisible: (visible?: boolean) => void | undefined;
|
|
5
|
+
cascaderPanelRef: import('element-plus').CascaderPanelInstance | null | undefined;
|
|
6
|
+
contentRef: HTMLElement | undefined;
|
|
7
|
+
presentText: string | undefined;
|
|
54
8
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
55
9
|
size: "small" | "default" | "large";
|
|
56
10
|
injectionKey: string;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
label: string;
|
|
60
|
-
value: string;
|
|
61
|
-
children?: Array<{
|
|
62
|
-
label: string;
|
|
63
|
-
value: string;
|
|
64
|
-
}>;
|
|
65
|
-
}[];
|
|
66
|
-
keyField: any;
|
|
11
|
+
options: import('./index.vue').CascaderItem[];
|
|
12
|
+
keyField: string[];
|
|
67
13
|
width: string;
|
|
68
14
|
footerBtnName: string;
|
|
69
15
|
isNeedFooter: boolean;
|
|
70
16
|
isNeedOnlySelect: boolean;
|
|
71
17
|
isNeedHeader: boolean;
|
|
72
|
-
},
|
|
18
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
73
19
|
cascaderRef: unknown;
|
|
74
20
|
}, any, import('vue').ComponentProvideOptions, {
|
|
75
21
|
P: {};
|
|
@@ -78,71 +24,17 @@ export declare const JcCascader: {
|
|
|
78
24
|
C: {};
|
|
79
25
|
M: {};
|
|
80
26
|
Defaults: {};
|
|
81
|
-
}, Readonly<import('vue').
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
options: {
|
|
88
|
-
type: import('vue').PropType<Array<{
|
|
89
|
-
label: string;
|
|
90
|
-
value: string;
|
|
91
|
-
children?: Array<{
|
|
92
|
-
label: string;
|
|
93
|
-
value: string;
|
|
94
|
-
}>;
|
|
95
|
-
}>> | never[];
|
|
96
|
-
default: () => never[];
|
|
97
|
-
};
|
|
98
|
-
keyField: {
|
|
99
|
-
type: any;
|
|
100
|
-
default: () => string[];
|
|
101
|
-
};
|
|
102
|
-
width: {
|
|
103
|
-
type: StringConstructor;
|
|
104
|
-
default: string;
|
|
105
|
-
};
|
|
106
|
-
size: {
|
|
107
|
-
type: import('vue').PropType<"small" | "default" | "large">;
|
|
108
|
-
default: string;
|
|
109
|
-
validator: (value: string) => boolean;
|
|
110
|
-
};
|
|
111
|
-
footerBtnName: {
|
|
112
|
-
type: StringConstructor;
|
|
113
|
-
default: string;
|
|
114
|
-
};
|
|
115
|
-
isNeedFooter: {
|
|
116
|
-
type: BooleanConstructor;
|
|
117
|
-
default: boolean;
|
|
118
|
-
};
|
|
119
|
-
isNeedHeader: {
|
|
120
|
-
type: BooleanConstructor;
|
|
121
|
-
default: boolean;
|
|
122
|
-
};
|
|
123
|
-
isNeedOnlySelect: {
|
|
124
|
-
type: BooleanConstructor;
|
|
125
|
-
default: boolean;
|
|
126
|
-
};
|
|
127
|
-
injectionKey: {
|
|
128
|
-
type: StringConstructor;
|
|
129
|
-
default: string;
|
|
130
|
-
};
|
|
131
|
-
}>> & Readonly<{}>, {
|
|
132
|
-
[x: string]: any;
|
|
27
|
+
}, Readonly<import('./index.vue').Props> & Readonly<{}>, {
|
|
28
|
+
getCheckedNodes: (leafOnly?: boolean) => import('element-plus').CascaderNode[] | undefined;
|
|
29
|
+
togglePopperVisible: (visible?: boolean) => void | undefined;
|
|
30
|
+
cascaderPanelRef: import('element-plus').CascaderPanelInstance | null | undefined;
|
|
31
|
+
contentRef: HTMLElement | undefined;
|
|
32
|
+
presentText: string | undefined;
|
|
133
33
|
}, {}, {}, {}, {
|
|
134
34
|
size: "small" | "default" | "large";
|
|
135
35
|
injectionKey: string;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
label: string;
|
|
139
|
-
value: string;
|
|
140
|
-
children?: Array<{
|
|
141
|
-
label: string;
|
|
142
|
-
value: string;
|
|
143
|
-
}>;
|
|
144
|
-
}[];
|
|
145
|
-
keyField: any;
|
|
36
|
+
options: import('./index.vue').CascaderItem[];
|
|
37
|
+
keyField: string[];
|
|
146
38
|
width: string;
|
|
147
39
|
footerBtnName: string;
|
|
148
40
|
isNeedFooter: boolean;
|
|
@@ -152,71 +44,17 @@ export declare const JcCascader: {
|
|
|
152
44
|
__isFragment?: never;
|
|
153
45
|
__isTeleport?: never;
|
|
154
46
|
__isSuspense?: never;
|
|
155
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('vue').
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
options: {
|
|
162
|
-
type: import('vue').PropType<Array<{
|
|
163
|
-
label: string;
|
|
164
|
-
value: string;
|
|
165
|
-
children?: Array<{
|
|
166
|
-
label: string;
|
|
167
|
-
value: string;
|
|
168
|
-
}>;
|
|
169
|
-
}>> | never[];
|
|
170
|
-
default: () => never[];
|
|
171
|
-
};
|
|
172
|
-
keyField: {
|
|
173
|
-
type: any;
|
|
174
|
-
default: () => string[];
|
|
175
|
-
};
|
|
176
|
-
width: {
|
|
177
|
-
type: StringConstructor;
|
|
178
|
-
default: string;
|
|
179
|
-
};
|
|
180
|
-
size: {
|
|
181
|
-
type: import('vue').PropType<"small" | "default" | "large">;
|
|
182
|
-
default: string;
|
|
183
|
-
validator: (value: string) => boolean;
|
|
184
|
-
};
|
|
185
|
-
footerBtnName: {
|
|
186
|
-
type: StringConstructor;
|
|
187
|
-
default: string;
|
|
188
|
-
};
|
|
189
|
-
isNeedFooter: {
|
|
190
|
-
type: BooleanConstructor;
|
|
191
|
-
default: boolean;
|
|
192
|
-
};
|
|
193
|
-
isNeedHeader: {
|
|
194
|
-
type: BooleanConstructor;
|
|
195
|
-
default: boolean;
|
|
196
|
-
};
|
|
197
|
-
isNeedOnlySelect: {
|
|
198
|
-
type: BooleanConstructor;
|
|
199
|
-
default: boolean;
|
|
200
|
-
};
|
|
201
|
-
injectionKey: {
|
|
202
|
-
type: StringConstructor;
|
|
203
|
-
default: string;
|
|
204
|
-
};
|
|
205
|
-
}>> & Readonly<{}>, {
|
|
206
|
-
[x: string]: any;
|
|
47
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./index.vue').Props> & Readonly<{}>, {
|
|
48
|
+
getCheckedNodes: (leafOnly?: boolean) => import('element-plus').CascaderNode[] | undefined;
|
|
49
|
+
togglePopperVisible: (visible?: boolean) => void | undefined;
|
|
50
|
+
cascaderPanelRef: import('element-plus').CascaderPanelInstance | null | undefined;
|
|
51
|
+
contentRef: HTMLElement | undefined;
|
|
52
|
+
presentText: string | undefined;
|
|
207
53
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
208
54
|
size: "small" | "default" | "large";
|
|
209
55
|
injectionKey: string;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
label: string;
|
|
213
|
-
value: string;
|
|
214
|
-
children?: Array<{
|
|
215
|
-
label: string;
|
|
216
|
-
value: string;
|
|
217
|
-
}>;
|
|
218
|
-
}[];
|
|
219
|
-
keyField: any;
|
|
56
|
+
options: import('./index.vue').CascaderItem[];
|
|
57
|
+
keyField: string[];
|
|
220
58
|
width: string;
|
|
221
59
|
footerBtnName: string;
|
|
222
60
|
isNeedFooter: boolean;
|
|
@@ -1,113 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/** 级联选项类型 */
|
|
2
|
+
export interface CascaderItem {
|
|
3
3
|
label: string;
|
|
4
4
|
value: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
isNeedFooter: {
|
|
39
|
-
type: BooleanConstructor;
|
|
40
|
-
default: boolean;
|
|
41
|
-
};
|
|
42
|
-
isNeedHeader: {
|
|
43
|
-
type: BooleanConstructor;
|
|
44
|
-
default: boolean;
|
|
45
|
-
};
|
|
46
|
-
isNeedOnlySelect: {
|
|
47
|
-
type: BooleanConstructor;
|
|
48
|
-
default: boolean;
|
|
49
|
-
};
|
|
50
|
-
injectionKey: {
|
|
51
|
-
type: StringConstructor;
|
|
52
|
-
default: string;
|
|
53
|
-
};
|
|
54
|
-
}>, {
|
|
55
|
-
[x: string]: any;
|
|
56
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
57
|
-
field: {
|
|
58
|
-
type: StringConstructor;
|
|
59
|
-
required: true;
|
|
60
|
-
default: string;
|
|
61
|
-
};
|
|
62
|
-
options: {
|
|
63
|
-
type: PropType<Array<CascaderItem>> | never[];
|
|
64
|
-
default: () => never[];
|
|
65
|
-
};
|
|
66
|
-
keyField: {
|
|
67
|
-
type: any;
|
|
68
|
-
default: () => string[];
|
|
69
|
-
};
|
|
70
|
-
width: {
|
|
71
|
-
type: StringConstructor;
|
|
72
|
-
default: string;
|
|
73
|
-
};
|
|
74
|
-
size: {
|
|
75
|
-
type: PropType<"small" | "default" | "large">;
|
|
76
|
-
default: string;
|
|
77
|
-
validator: (value: string) => boolean;
|
|
78
|
-
};
|
|
79
|
-
footerBtnName: {
|
|
80
|
-
type: StringConstructor;
|
|
81
|
-
default: string;
|
|
82
|
-
};
|
|
83
|
-
isNeedFooter: {
|
|
84
|
-
type: BooleanConstructor;
|
|
85
|
-
default: boolean;
|
|
86
|
-
};
|
|
87
|
-
isNeedHeader: {
|
|
88
|
-
type: BooleanConstructor;
|
|
89
|
-
default: boolean;
|
|
90
|
-
};
|
|
91
|
-
isNeedOnlySelect: {
|
|
92
|
-
type: BooleanConstructor;
|
|
93
|
-
default: boolean;
|
|
94
|
-
};
|
|
95
|
-
injectionKey: {
|
|
96
|
-
type: StringConstructor;
|
|
97
|
-
default: string;
|
|
98
|
-
};
|
|
99
|
-
}>> & Readonly<{}>, {
|
|
5
|
+
children?: CascaderItem[];
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
}
|
|
8
|
+
/** 组件 Props 类型 */
|
|
9
|
+
export interface Props {
|
|
10
|
+
/** 绑定的字段名 */
|
|
11
|
+
field: string;
|
|
12
|
+
/** 选项数据 */
|
|
13
|
+
options?: CascaderItem[];
|
|
14
|
+
/** 选项的键名配置 */
|
|
15
|
+
keyField?: string[];
|
|
16
|
+
/** 组件宽度 */
|
|
17
|
+
width?: string;
|
|
18
|
+
/** 组件尺寸 */
|
|
19
|
+
size?: "small" | "default" | "large";
|
|
20
|
+
/** 底部按钮文本 */
|
|
21
|
+
footerBtnName?: string;
|
|
22
|
+
/** 是否显示底部按钮区域 */
|
|
23
|
+
isNeedFooter?: boolean;
|
|
24
|
+
/** 是否显示头部全选区域 */
|
|
25
|
+
isNeedHeader?: boolean;
|
|
26
|
+
/** 是否显示仅筛选 */
|
|
27
|
+
isNeedOnlySelect?: boolean;
|
|
28
|
+
/** 自定义注入键值 */
|
|
29
|
+
injectionKey?: string;
|
|
30
|
+
}
|
|
31
|
+
declare const _default: import('vue').DefineComponent<Props, {
|
|
32
|
+
getCheckedNodes: (leafOnly?: boolean) => import('element-plus').CascaderNode[] | undefined;
|
|
33
|
+
togglePopperVisible: (visible?: boolean) => void | undefined;
|
|
34
|
+
cascaderPanelRef: import('element-plus').CascaderPanelInstance | null | undefined;
|
|
35
|
+
contentRef: HTMLElement | undefined;
|
|
36
|
+
presentText: string | undefined;
|
|
37
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
100
38
|
size: "small" | "default" | "large";
|
|
101
39
|
injectionKey: string;
|
|
102
|
-
field: string;
|
|
103
40
|
options: CascaderItem[];
|
|
104
|
-
keyField:
|
|
41
|
+
keyField: string[];
|
|
105
42
|
width: string;
|
|
106
43
|
footerBtnName: string;
|
|
107
44
|
isNeedFooter: boolean;
|
|
108
45
|
isNeedOnlySelect: boolean;
|
|
109
46
|
isNeedHeader: boolean;
|
|
110
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
47
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
111
48
|
cascaderRef: unknown;
|
|
112
49
|
}, any>;
|
|
113
50
|
export default _default;
|
|
@@ -1,38 +1,5 @@
|
|
|
1
1
|
export declare const JcColumnConfig: {
|
|
2
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').
|
|
3
|
-
table: {
|
|
4
|
-
type: import('vue').PropType<import('vxe-table').VxeTableInstance>;
|
|
5
|
-
default: null;
|
|
6
|
-
};
|
|
7
|
-
itemWidth: {
|
|
8
|
-
type: NumberConstructor;
|
|
9
|
-
default: number;
|
|
10
|
-
};
|
|
11
|
-
drawerWidth: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
maxFixedCount: {
|
|
16
|
-
type: NumberConstructor;
|
|
17
|
-
default: number;
|
|
18
|
-
};
|
|
19
|
-
lockFieldList: {
|
|
20
|
-
type: import('vue').PropType<string[]>;
|
|
21
|
-
default: () => never[];
|
|
22
|
-
};
|
|
23
|
-
storagePrefix: {
|
|
24
|
-
type: StringConstructor;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
columnGroups: {
|
|
28
|
-
type: import('vue').PropType<import('./types').ColumnGroupConfig[]>;
|
|
29
|
-
default: () => never[];
|
|
30
|
-
};
|
|
31
|
-
defaultVisibleFields: {
|
|
32
|
-
type: import('vue').PropType<string[]>;
|
|
33
|
-
default: () => never[];
|
|
34
|
-
};
|
|
35
|
-
}>> & Readonly<{
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./index.vue').Props> & Readonly<{
|
|
36
3
|
onChange?: ((config: import('./types').ColumnConfig[]) => any) | undefined;
|
|
37
4
|
onReset?: (() => any) | undefined;
|
|
38
5
|
onSaved?: ((config: import('./types').ColumnConfig[]) => any) | undefined;
|
|
@@ -57,7 +24,7 @@ export declare const JcColumnConfig: {
|
|
|
57
24
|
width: number;
|
|
58
25
|
}) => any;
|
|
59
26
|
}, import('vue').PublicProps, {
|
|
60
|
-
table: import('vxe-table').VxeTableInstance;
|
|
27
|
+
table: import('vxe-table').VxeTableInstance | null;
|
|
61
28
|
lockFieldList: string[];
|
|
62
29
|
maxFixedCount: number;
|
|
63
30
|
storagePrefix: string;
|
|
@@ -65,47 +32,14 @@ export declare const JcColumnConfig: {
|
|
|
65
32
|
itemWidth: number;
|
|
66
33
|
drawerWidth: string;
|
|
67
34
|
columnGroups: import('./types').ColumnGroupConfig[];
|
|
68
|
-
},
|
|
35
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
69
36
|
P: {};
|
|
70
37
|
B: {};
|
|
71
38
|
D: {};
|
|
72
39
|
C: {};
|
|
73
40
|
M: {};
|
|
74
41
|
Defaults: {};
|
|
75
|
-
}, Readonly<import('vue').
|
|
76
|
-
table: {
|
|
77
|
-
type: import('vue').PropType<import('vxe-table').VxeTableInstance>;
|
|
78
|
-
default: null;
|
|
79
|
-
};
|
|
80
|
-
itemWidth: {
|
|
81
|
-
type: NumberConstructor;
|
|
82
|
-
default: number;
|
|
83
|
-
};
|
|
84
|
-
drawerWidth: {
|
|
85
|
-
type: StringConstructor;
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
|
-
maxFixedCount: {
|
|
89
|
-
type: NumberConstructor;
|
|
90
|
-
default: number;
|
|
91
|
-
};
|
|
92
|
-
lockFieldList: {
|
|
93
|
-
type: import('vue').PropType<string[]>;
|
|
94
|
-
default: () => never[];
|
|
95
|
-
};
|
|
96
|
-
storagePrefix: {
|
|
97
|
-
type: StringConstructor;
|
|
98
|
-
default: string;
|
|
99
|
-
};
|
|
100
|
-
columnGroups: {
|
|
101
|
-
type: import('vue').PropType<import('./types').ColumnGroupConfig[]>;
|
|
102
|
-
default: () => never[];
|
|
103
|
-
};
|
|
104
|
-
defaultVisibleFields: {
|
|
105
|
-
type: import('vue').PropType<string[]>;
|
|
106
|
-
default: () => never[];
|
|
107
|
-
};
|
|
108
|
-
}>> & Readonly<{
|
|
42
|
+
}, Readonly<import('./index.vue').Props> & Readonly<{
|
|
109
43
|
onChange?: ((config: import('./types').ColumnConfig[]) => any) | undefined;
|
|
110
44
|
onReset?: (() => any) | undefined;
|
|
111
45
|
onSaved?: ((config: import('./types').ColumnConfig[]) => any) | undefined;
|
|
@@ -122,7 +56,7 @@ export declare const JcColumnConfig: {
|
|
|
122
56
|
onResizableChange: (params: import("vxe-table").VxeTableDefines.ResizableChangeEventParams) => void;
|
|
123
57
|
hasStoredConfig: () => boolean;
|
|
124
58
|
}, {}, {}, {}, {
|
|
125
|
-
table: import('vxe-table').VxeTableInstance;
|
|
59
|
+
table: import('vxe-table').VxeTableInstance | null;
|
|
126
60
|
lockFieldList: string[];
|
|
127
61
|
maxFixedCount: number;
|
|
128
62
|
storagePrefix: string;
|
|
@@ -134,40 +68,7 @@ export declare const JcColumnConfig: {
|
|
|
134
68
|
__isFragment?: never;
|
|
135
69
|
__isTeleport?: never;
|
|
136
70
|
__isSuspense?: never;
|
|
137
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('vue').
|
|
138
|
-
table: {
|
|
139
|
-
type: import('vue').PropType<import('vxe-table').VxeTableInstance>;
|
|
140
|
-
default: null;
|
|
141
|
-
};
|
|
142
|
-
itemWidth: {
|
|
143
|
-
type: NumberConstructor;
|
|
144
|
-
default: number;
|
|
145
|
-
};
|
|
146
|
-
drawerWidth: {
|
|
147
|
-
type: StringConstructor;
|
|
148
|
-
default: string;
|
|
149
|
-
};
|
|
150
|
-
maxFixedCount: {
|
|
151
|
-
type: NumberConstructor;
|
|
152
|
-
default: number;
|
|
153
|
-
};
|
|
154
|
-
lockFieldList: {
|
|
155
|
-
type: import('vue').PropType<string[]>;
|
|
156
|
-
default: () => never[];
|
|
157
|
-
};
|
|
158
|
-
storagePrefix: {
|
|
159
|
-
type: StringConstructor;
|
|
160
|
-
default: string;
|
|
161
|
-
};
|
|
162
|
-
columnGroups: {
|
|
163
|
-
type: import('vue').PropType<import('./types').ColumnGroupConfig[]>;
|
|
164
|
-
default: () => never[];
|
|
165
|
-
};
|
|
166
|
-
defaultVisibleFields: {
|
|
167
|
-
type: import('vue').PropType<string[]>;
|
|
168
|
-
default: () => never[];
|
|
169
|
-
};
|
|
170
|
-
}>> & Readonly<{
|
|
71
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./index.vue').Props> & Readonly<{
|
|
171
72
|
onChange?: ((config: import('./types').ColumnConfig[]) => any) | undefined;
|
|
172
73
|
onReset?: (() => any) | undefined;
|
|
173
74
|
onSaved?: ((config: import('./types').ColumnConfig[]) => any) | undefined;
|
|
@@ -192,7 +93,7 @@ export declare const JcColumnConfig: {
|
|
|
192
93
|
width: number;
|
|
193
94
|
}) => any;
|
|
194
95
|
}, string, {
|
|
195
|
-
table: import('vxe-table').VxeTableInstance;
|
|
96
|
+
table: import('vxe-table').VxeTableInstance | null;
|
|
196
97
|
lockFieldList: string[];
|
|
197
98
|
maxFixedCount: number;
|
|
198
99
|
storagePrefix: string;
|
|
@@ -1,40 +1,25 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
1
|
import { VxeTableInstance, VxeTableDefines } from 'vxe-table';
|
|
3
2
|
import { ColumnConfig, ColumnGroupConfig } from './types';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
itemWidth
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
25
|
-
storagePrefix: {
|
|
26
|
-
type: StringConstructor;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
columnGroups: {
|
|
30
|
-
type: PropType<ColumnGroupConfig[]>;
|
|
31
|
-
default: () => never[];
|
|
32
|
-
};
|
|
33
|
-
defaultVisibleFields: {
|
|
34
|
-
type: PropType<string[]>;
|
|
35
|
-
default: () => never[];
|
|
36
|
-
};
|
|
37
|
-
}>, {
|
|
3
|
+
/** 组件 Props 类型 */
|
|
4
|
+
export interface Props {
|
|
5
|
+
/** 表格实例 */
|
|
6
|
+
table?: VxeTableInstance | null;
|
|
7
|
+
/** 每个字段项的宽度 */
|
|
8
|
+
itemWidth?: number;
|
|
9
|
+
/** 抽屉宽度 */
|
|
10
|
+
drawerWidth?: string;
|
|
11
|
+
/** 最大固定列数 */
|
|
12
|
+
maxFixedCount?: number;
|
|
13
|
+
/** 锁定的字段列表,这些字段不能取消显示 */
|
|
14
|
+
lockFieldList?: string[];
|
|
15
|
+
/** 存储键前缀 */
|
|
16
|
+
storagePrefix?: string;
|
|
17
|
+
/** 列分组配置 */
|
|
18
|
+
columnGroups?: ColumnGroupConfig[];
|
|
19
|
+
/** 默认可见的字段列表(仅这些字段可见,其他隐藏) */
|
|
20
|
+
defaultVisibleFields?: string[];
|
|
21
|
+
}
|
|
22
|
+
declare const _default: import('vue').DefineComponent<Props, {
|
|
38
23
|
openDrawer: () => void;
|
|
39
24
|
closeDrawer: () => void;
|
|
40
25
|
loadStoredConfig: () => Promise<void>;
|
|
@@ -50,40 +35,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
50
35
|
field: string;
|
|
51
36
|
width: number;
|
|
52
37
|
}) => any;
|
|
53
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
54
|
-
table: {
|
|
55
|
-
type: PropType<VxeTableInstance>;
|
|
56
|
-
default: null;
|
|
57
|
-
};
|
|
58
|
-
itemWidth: {
|
|
59
|
-
type: NumberConstructor;
|
|
60
|
-
default: number;
|
|
61
|
-
};
|
|
62
|
-
drawerWidth: {
|
|
63
|
-
type: StringConstructor;
|
|
64
|
-
default: string;
|
|
65
|
-
};
|
|
66
|
-
maxFixedCount: {
|
|
67
|
-
type: NumberConstructor;
|
|
68
|
-
default: number;
|
|
69
|
-
};
|
|
70
|
-
lockFieldList: {
|
|
71
|
-
type: PropType<string[]>;
|
|
72
|
-
default: () => never[];
|
|
73
|
-
};
|
|
74
|
-
storagePrefix: {
|
|
75
|
-
type: StringConstructor;
|
|
76
|
-
default: string;
|
|
77
|
-
};
|
|
78
|
-
columnGroups: {
|
|
79
|
-
type: PropType<ColumnGroupConfig[]>;
|
|
80
|
-
default: () => never[];
|
|
81
|
-
};
|
|
82
|
-
defaultVisibleFields: {
|
|
83
|
-
type: PropType<string[]>;
|
|
84
|
-
default: () => never[];
|
|
85
|
-
};
|
|
86
|
-
}>> & Readonly<{
|
|
38
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
87
39
|
onChange?: ((config: ColumnConfig[]) => any) | undefined;
|
|
88
40
|
onReset?: (() => any) | undefined;
|
|
89
41
|
onSaved?: ((config: ColumnConfig[]) => any) | undefined;
|
|
@@ -92,7 +44,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
92
44
|
width: number;
|
|
93
45
|
}) => any) | undefined;
|
|
94
46
|
}>, {
|
|
95
|
-
table: VxeTableInstance;
|
|
47
|
+
table: VxeTableInstance | null;
|
|
96
48
|
lockFieldList: string[];
|
|
97
49
|
maxFixedCount: number;
|
|
98
50
|
storagePrefix: string;
|
|
@@ -100,5 +52,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
100
52
|
itemWidth: number;
|
|
101
53
|
drawerWidth: string;
|
|
102
54
|
columnGroups: ColumnGroupConfig[];
|
|
103
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
55
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
104
56
|
export default _default;
|