bkui-vue 0.0.1-beta.29 → 0.0.1-beta.31
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/bkui-vue.cjs.js +141 -140
- package/dist/bkui-vue.esm.js +141 -140
- package/dist/bkui-vue.umd.js +141 -140
- package/dist/style.css +100 -5
- package/lib/code-diff/index.d.ts +139 -3
- package/lib/code-diff/index.js +15 -0
- package/lib/components.d.ts +1 -1
- package/lib/divider/index.js +1 -1
- package/lib/divider/props.d.ts +21 -0
- package/lib/loading/index.d.ts +27 -10
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +8 -2
- package/lib/loading/loading.d.ts +18 -4
- package/lib/loading/loading.less +10 -10
- package/lib/loading/loading.variable.css +8 -2
- package/lib/pagination/index.d.ts +7 -7
- package/lib/pagination/index.js +1 -1
- package/lib/pagination/pagination.d.ts +2 -2
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio.css +2 -2
- package/lib/radio/radio.less +2 -2
- package/lib/radio/radio.variable.css +2 -2
- package/lib/slider/index.js +2 -2
- package/lib/slider/slider-button.d.ts +5 -0
- package/lib/slider/slider.d.ts +12 -0
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/index.js +1 -1
- package/lib/tab/index.d.ts +96 -205
- package/lib/tab/index.js +1 -1
- package/lib/tab/props.d.ts +191 -0
- package/lib/tab/tab-nav.d.ts +59 -84
- package/lib/tab/tab-panel.d.ts +39 -14
- package/lib/tab/tab.css +2 -1
- package/lib/tab/tab.d.ts +14 -37
- package/lib/tab/tab.less +2 -1
- package/lib/tab/tab.variable.css +2 -1
- package/lib/table/index.d.ts +1 -5
- package/lib/table/index.js +2 -2
- package/lib/table/props.d.ts +0 -1
- package/lib/table/table.d.ts +1 -3
- package/package.json +1 -1
@@ -0,0 +1,191 @@
|
|
1
|
+
import { PropType, VNode } from 'vue';
|
2
|
+
export declare const tabNavEventProps: {
|
3
|
+
tabAdd: {
|
4
|
+
type: FunctionConstructor;
|
5
|
+
default: () => any;
|
6
|
+
};
|
7
|
+
tabChange: {
|
8
|
+
type: FunctionConstructor;
|
9
|
+
default: (name: string) => string;
|
10
|
+
};
|
11
|
+
tabRemove: {
|
12
|
+
type: FunctionConstructor;
|
13
|
+
default: (name: string) => string;
|
14
|
+
};
|
15
|
+
tabSort: {
|
16
|
+
type: FunctionConstructor;
|
17
|
+
default: () => any;
|
18
|
+
};
|
19
|
+
tabDrag: {
|
20
|
+
type: FunctionConstructor;
|
21
|
+
default: () => any;
|
22
|
+
};
|
23
|
+
};
|
24
|
+
export declare const tabEventProps: {
|
25
|
+
add: {
|
26
|
+
type: FunctionConstructor;
|
27
|
+
default: () => any;
|
28
|
+
};
|
29
|
+
change: {
|
30
|
+
type: FunctionConstructor;
|
31
|
+
default: () => any;
|
32
|
+
};
|
33
|
+
remove: {
|
34
|
+
type: FunctionConstructor;
|
35
|
+
default: () => any;
|
36
|
+
};
|
37
|
+
sort: {
|
38
|
+
type: FunctionConstructor;
|
39
|
+
default: () => any;
|
40
|
+
};
|
41
|
+
drag: {
|
42
|
+
type: FunctionConstructor;
|
43
|
+
default: () => any;
|
44
|
+
};
|
45
|
+
};
|
46
|
+
export declare const tabProps: {
|
47
|
+
active: import("vue-types").VueTypeDef<string | number> & {
|
48
|
+
default: string | number;
|
49
|
+
};
|
50
|
+
type: import("vue-types").VueTypeDef<string> & {
|
51
|
+
default: string;
|
52
|
+
};
|
53
|
+
tabPosition: import("vue-types").VueTypeDef<string> & {
|
54
|
+
default: string;
|
55
|
+
};
|
56
|
+
closable: BooleanConstructor;
|
57
|
+
addable: BooleanConstructor;
|
58
|
+
sortable: BooleanConstructor;
|
59
|
+
sortType: import("vue-types").VueTypeDef<string> & {
|
60
|
+
default: string;
|
61
|
+
};
|
62
|
+
labelHeight: import("vue-types").VueTypeValidableDef<number> & {
|
63
|
+
default: number;
|
64
|
+
} & {
|
65
|
+
default: number;
|
66
|
+
};
|
67
|
+
scrollStep: import("vue-types").VueTypeValidableDef<number> & {
|
68
|
+
default: number;
|
69
|
+
} & {
|
70
|
+
default: number;
|
71
|
+
};
|
72
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
73
|
+
default: string;
|
74
|
+
} & {
|
75
|
+
default: string;
|
76
|
+
};
|
77
|
+
validateActive: import("vue-types").VueTypeValidableDef<boolean> & {
|
78
|
+
default: boolean;
|
79
|
+
} & {
|
80
|
+
default: boolean;
|
81
|
+
};
|
82
|
+
showHeader: import("vue-types").VueTypeValidableDef<boolean> & {
|
83
|
+
default: boolean;
|
84
|
+
} & {
|
85
|
+
default: boolean;
|
86
|
+
};
|
87
|
+
changeOnHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
88
|
+
default: boolean;
|
89
|
+
} & {
|
90
|
+
default: boolean;
|
91
|
+
};
|
92
|
+
changeOnHoverDelay: import("vue-types").VueTypeValidableDef<number> & {
|
93
|
+
default: number;
|
94
|
+
} & {
|
95
|
+
default: number;
|
96
|
+
};
|
97
|
+
};
|
98
|
+
export declare const tabNavProps: {
|
99
|
+
tabAdd: {
|
100
|
+
type: FunctionConstructor;
|
101
|
+
default: () => any;
|
102
|
+
};
|
103
|
+
tabChange: {
|
104
|
+
type: FunctionConstructor;
|
105
|
+
default: (name: string) => string;
|
106
|
+
};
|
107
|
+
tabRemove: {
|
108
|
+
type: FunctionConstructor;
|
109
|
+
default: (name: string) => string;
|
110
|
+
};
|
111
|
+
tabSort: {
|
112
|
+
type: FunctionConstructor;
|
113
|
+
default: () => any;
|
114
|
+
};
|
115
|
+
tabDrag: {
|
116
|
+
type: FunctionConstructor;
|
117
|
+
default: () => any;
|
118
|
+
};
|
119
|
+
active: import("vue-types").VueTypeDef<string | number> & {
|
120
|
+
default: string | number;
|
121
|
+
};
|
122
|
+
panels: {
|
123
|
+
type: PropType<VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
124
|
+
[key: string]: any;
|
125
|
+
}>[]>;
|
126
|
+
default: () => any[];
|
127
|
+
};
|
128
|
+
closable: BooleanConstructor;
|
129
|
+
addable: BooleanConstructor;
|
130
|
+
sortable: BooleanConstructor;
|
131
|
+
sortType: import("vue-types").VueTypeDef<string> & {
|
132
|
+
default: string;
|
133
|
+
};
|
134
|
+
labelHeight: import("vue-types").VueTypeValidableDef<number> & {
|
135
|
+
default: number;
|
136
|
+
} & {
|
137
|
+
default: number;
|
138
|
+
};
|
139
|
+
scrollStep: import("vue-types").VueTypeValidableDef<number> & {
|
140
|
+
default: number;
|
141
|
+
} & {
|
142
|
+
default: number;
|
143
|
+
};
|
144
|
+
validateActive: import("vue-types").VueTypeValidableDef<boolean> & {
|
145
|
+
default: boolean;
|
146
|
+
} & {
|
147
|
+
default: boolean;
|
148
|
+
};
|
149
|
+
changeOnHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
150
|
+
default: boolean;
|
151
|
+
} & {
|
152
|
+
default: boolean;
|
153
|
+
};
|
154
|
+
changeOnHoverDelay: import("vue-types").VueTypeValidableDef<number> & {
|
155
|
+
default: number;
|
156
|
+
} & {
|
157
|
+
default: number;
|
158
|
+
};
|
159
|
+
};
|
160
|
+
export declare const tabPanelProps: {
|
161
|
+
name: import("vue-types").VueTypeDef<string | number> & {
|
162
|
+
default: string | number;
|
163
|
+
};
|
164
|
+
label: (import("vue-types").VueTypeValidableDef<string> & {
|
165
|
+
default: string;
|
166
|
+
}) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
167
|
+
default: (...args: any[]) => any;
|
168
|
+
});
|
169
|
+
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
170
|
+
default: boolean;
|
171
|
+
};
|
172
|
+
visible: import("vue-types").VueTypeValidableDef<boolean> & {
|
173
|
+
default: boolean;
|
174
|
+
} & {
|
175
|
+
default: boolean;
|
176
|
+
};
|
177
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
178
|
+
default: boolean;
|
179
|
+
};
|
180
|
+
sortable: import("vue-types").VueTypeValidableDef<boolean> & {
|
181
|
+
default: boolean;
|
182
|
+
};
|
183
|
+
renderDirective: import("vue-types").VueTypeDef<string> & {
|
184
|
+
default: string;
|
185
|
+
};
|
186
|
+
panel: (import("vue-types").VueTypeValidableDef<string> & {
|
187
|
+
default: string;
|
188
|
+
}) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
189
|
+
default: (...args: any[]) => any;
|
190
|
+
});
|
191
|
+
};
|
package/lib/tab/tab-nav.d.ts
CHANGED
@@ -1,29 +1,36 @@
|
|
1
|
-
import { PropType, VNode } from 'vue';
|
2
1
|
declare const _default: import("vue").DefineComponent<{
|
3
|
-
|
4
|
-
type:
|
2
|
+
tabAdd: {
|
3
|
+
type: FunctionConstructor;
|
4
|
+
default: () => any;
|
5
|
+
};
|
6
|
+
tabChange: {
|
7
|
+
type: FunctionConstructor;
|
8
|
+
default: (name: string) => string;
|
9
|
+
};
|
10
|
+
tabRemove: {
|
11
|
+
type: FunctionConstructor;
|
12
|
+
default: (name: string) => string;
|
13
|
+
};
|
14
|
+
tabSort: {
|
15
|
+
type: FunctionConstructor;
|
16
|
+
default: () => any;
|
17
|
+
};
|
18
|
+
tabDrag: {
|
19
|
+
type: FunctionConstructor;
|
20
|
+
default: () => any;
|
21
|
+
};
|
22
|
+
active: import("vue-types").VueTypeDef<string | number> & {
|
23
|
+
default: string | number;
|
5
24
|
};
|
6
25
|
panels: {
|
7
|
-
type: PropType<VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
26
|
+
type: import("vue").PropType<import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
8
27
|
[key: string]: any;
|
9
28
|
}>[]>;
|
10
29
|
default: () => any[];
|
11
30
|
};
|
12
|
-
closable:
|
13
|
-
|
14
|
-
|
15
|
-
default: boolean;
|
16
|
-
};
|
17
|
-
addable: import("vue-types").VueTypeValidableDef<boolean> & {
|
18
|
-
default: boolean;
|
19
|
-
} & {
|
20
|
-
default: boolean;
|
21
|
-
};
|
22
|
-
sortable: import("vue-types").VueTypeValidableDef<boolean> & {
|
23
|
-
default: boolean;
|
24
|
-
} & {
|
25
|
-
default: boolean;
|
26
|
-
};
|
31
|
+
closable: BooleanConstructor;
|
32
|
+
addable: BooleanConstructor;
|
33
|
+
sortable: BooleanConstructor;
|
27
34
|
sortType: import("vue-types").VueTypeDef<string> & {
|
28
35
|
default: string;
|
29
36
|
};
|
@@ -52,26 +59,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
52
59
|
} & {
|
53
60
|
default: number;
|
54
61
|
};
|
55
|
-
tabAdd: {
|
56
|
-
type: FunctionConstructor;
|
57
|
-
default: () => any;
|
58
|
-
};
|
59
|
-
tabChange: {
|
60
|
-
type: FunctionConstructor;
|
61
|
-
default: () => any;
|
62
|
-
};
|
63
|
-
tabRemove: {
|
64
|
-
type: FunctionConstructor;
|
65
|
-
default: () => any;
|
66
|
-
};
|
67
|
-
tabSort: {
|
68
|
-
type: FunctionConstructor;
|
69
|
-
default: () => any;
|
70
|
-
};
|
71
|
-
tabDrag: {
|
72
|
-
type: FunctionConstructor;
|
73
|
-
default: () => any;
|
74
|
-
};
|
75
62
|
}, {
|
76
63
|
navs: import("vue").ComputedRef<any[]>;
|
77
64
|
dragenterIndex: import("vue").Ref<number>;
|
@@ -87,7 +74,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
87
74
|
* @return {boolean}
|
88
75
|
*/
|
89
76
|
distinctRoots(el1: string, el2: string): boolean;
|
90
|
-
swapArr(arr: any[], a: number, b: number): void;
|
91
77
|
handleTabAdd(e: MouseEvent): void;
|
92
78
|
dragstart(index: number, $event: DragEvent): void;
|
93
79
|
dragenter(index: any): void;
|
@@ -96,30 +82,38 @@ declare const _default: import("vue").DefineComponent<{
|
|
96
82
|
handleTabChange(name: string): void;
|
97
83
|
handleTabRemove(index: number, panel: any): void;
|
98
84
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
99
|
-
|
100
|
-
type:
|
85
|
+
tabAdd: {
|
86
|
+
type: FunctionConstructor;
|
87
|
+
default: () => any;
|
88
|
+
};
|
89
|
+
tabChange: {
|
90
|
+
type: FunctionConstructor;
|
91
|
+
default: (name: string) => string;
|
92
|
+
};
|
93
|
+
tabRemove: {
|
94
|
+
type: FunctionConstructor;
|
95
|
+
default: (name: string) => string;
|
96
|
+
};
|
97
|
+
tabSort: {
|
98
|
+
type: FunctionConstructor;
|
99
|
+
default: () => any;
|
100
|
+
};
|
101
|
+
tabDrag: {
|
102
|
+
type: FunctionConstructor;
|
103
|
+
default: () => any;
|
104
|
+
};
|
105
|
+
active: import("vue-types").VueTypeDef<string | number> & {
|
106
|
+
default: string | number;
|
101
107
|
};
|
102
108
|
panels: {
|
103
|
-
type: PropType<VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
109
|
+
type: import("vue").PropType<import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
104
110
|
[key: string]: any;
|
105
111
|
}>[]>;
|
106
112
|
default: () => any[];
|
107
113
|
};
|
108
|
-
closable:
|
109
|
-
|
110
|
-
|
111
|
-
default: boolean;
|
112
|
-
};
|
113
|
-
addable: import("vue-types").VueTypeValidableDef<boolean> & {
|
114
|
-
default: boolean;
|
115
|
-
} & {
|
116
|
-
default: boolean;
|
117
|
-
};
|
118
|
-
sortable: import("vue-types").VueTypeValidableDef<boolean> & {
|
119
|
-
default: boolean;
|
120
|
-
} & {
|
121
|
-
default: boolean;
|
122
|
-
};
|
114
|
+
closable: BooleanConstructor;
|
115
|
+
addable: BooleanConstructor;
|
116
|
+
sortable: BooleanConstructor;
|
123
117
|
sortType: import("vue-types").VueTypeDef<string> & {
|
124
118
|
default: string;
|
125
119
|
};
|
@@ -148,30 +142,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
148
142
|
} & {
|
149
143
|
default: number;
|
150
144
|
};
|
151
|
-
tabAdd: {
|
152
|
-
type: FunctionConstructor;
|
153
|
-
default: () => any;
|
154
|
-
};
|
155
|
-
tabChange: {
|
156
|
-
type: FunctionConstructor;
|
157
|
-
default: () => any;
|
158
|
-
};
|
159
|
-
tabRemove: {
|
160
|
-
type: FunctionConstructor;
|
161
|
-
default: () => any;
|
162
|
-
};
|
163
|
-
tabSort: {
|
164
|
-
type: FunctionConstructor;
|
165
|
-
default: () => any;
|
166
|
-
};
|
167
|
-
tabDrag: {
|
168
|
-
type: FunctionConstructor;
|
169
|
-
default: () => any;
|
170
|
-
};
|
171
145
|
}>>, {
|
172
146
|
closable: boolean;
|
147
|
+
active: string | number;
|
173
148
|
sortType: string;
|
174
|
-
|
149
|
+
tabAdd: Function;
|
150
|
+
tabChange: Function;
|
151
|
+
tabRemove: Function;
|
152
|
+
tabSort: Function;
|
153
|
+
tabDrag: Function;
|
154
|
+
panels: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
175
155
|
[key: string]: any;
|
176
156
|
}>[];
|
177
157
|
addable: boolean;
|
@@ -181,10 +161,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
181
161
|
validateActive: boolean;
|
182
162
|
changeOnHover: boolean;
|
183
163
|
changeOnHoverDelay: number;
|
184
|
-
tabAdd: Function;
|
185
|
-
tabChange: Function;
|
186
|
-
tabRemove: Function;
|
187
|
-
tabSort: Function;
|
188
|
-
tabDrag: Function;
|
189
164
|
}>;
|
190
165
|
export default _default;
|
package/lib/tab/tab-panel.d.ts
CHANGED
@@ -1,9 +1,15 @@
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
2
|
-
name: {
|
3
|
-
|
2
|
+
name: import("vue-types").VueTypeDef<string | number> & {
|
3
|
+
default: string | number;
|
4
|
+
};
|
5
|
+
label: (import("vue-types").VueTypeValidableDef<string> & {
|
6
|
+
default: string;
|
7
|
+
}) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
8
|
+
default: (...args: any[]) => any;
|
9
|
+
});
|
10
|
+
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
11
|
+
default: boolean;
|
4
12
|
};
|
5
|
-
label: StringConstructor | FunctionConstructor;
|
6
|
-
closable: BooleanConstructor | FunctionConstructor;
|
7
13
|
visible: import("vue-types").VueTypeValidableDef<boolean> & {
|
8
14
|
default: boolean;
|
9
15
|
} & {
|
@@ -11,20 +17,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
11
17
|
};
|
12
18
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
13
19
|
default: boolean;
|
14
|
-
}
|
20
|
+
};
|
21
|
+
sortable: import("vue-types").VueTypeValidableDef<boolean> & {
|
15
22
|
default: boolean;
|
16
23
|
};
|
17
|
-
sortable: BooleanConstructor | FunctionConstructor;
|
18
24
|
renderDirective: import("vue-types").VueTypeDef<string> & {
|
19
25
|
default: string;
|
20
26
|
};
|
21
|
-
panel:
|
27
|
+
panel: (import("vue-types").VueTypeValidableDef<string> & {
|
28
|
+
default: string;
|
29
|
+
}) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
30
|
+
default: (...args: any[]) => any;
|
31
|
+
});
|
22
32
|
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
23
|
-
name: {
|
24
|
-
|
33
|
+
name: import("vue-types").VueTypeDef<string | number> & {
|
34
|
+
default: string | number;
|
35
|
+
};
|
36
|
+
label: (import("vue-types").VueTypeValidableDef<string> & {
|
37
|
+
default: string;
|
38
|
+
}) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
39
|
+
default: (...args: any[]) => any;
|
40
|
+
});
|
41
|
+
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
42
|
+
default: boolean;
|
25
43
|
};
|
26
|
-
label: StringConstructor | FunctionConstructor;
|
27
|
-
closable: BooleanConstructor | FunctionConstructor;
|
28
44
|
visible: import("vue-types").VueTypeValidableDef<boolean> & {
|
29
45
|
default: boolean;
|
30
46
|
} & {
|
@@ -32,17 +48,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
32
48
|
};
|
33
49
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
34
50
|
default: boolean;
|
35
|
-
}
|
51
|
+
};
|
52
|
+
sortable: import("vue-types").VueTypeValidableDef<boolean> & {
|
36
53
|
default: boolean;
|
37
54
|
};
|
38
|
-
sortable: BooleanConstructor | FunctionConstructor;
|
39
55
|
renderDirective: import("vue-types").VueTypeDef<string> & {
|
40
56
|
default: string;
|
41
57
|
};
|
42
|
-
panel:
|
58
|
+
panel: (import("vue-types").VueTypeValidableDef<string> & {
|
59
|
+
default: string;
|
60
|
+
}) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
61
|
+
default: (...args: any[]) => any;
|
62
|
+
});
|
43
63
|
}>>, {
|
64
|
+
name: string | number;
|
65
|
+
label: string | ((...args: any[]) => any);
|
66
|
+
closable: boolean;
|
44
67
|
visible: boolean;
|
45
68
|
disabled: boolean;
|
69
|
+
panel: string | ((...args: any[]) => any);
|
70
|
+
sortable: boolean;
|
46
71
|
renderDirective: string;
|
47
72
|
}>;
|
48
73
|
export default _default;
|
package/lib/tab/tab.css
CHANGED
@@ -80,7 +80,7 @@
|
|
80
80
|
}
|
81
81
|
.bk-tab-header-item:hover .bk-tab-header-item-close {
|
82
82
|
display: block;
|
83
|
-
margin-left:
|
83
|
+
margin-left: 5px;
|
84
84
|
color: #ea3636;
|
85
85
|
}
|
86
86
|
.bk-tab--top .bk-tab-header-item {
|
@@ -111,6 +111,7 @@
|
|
111
111
|
}
|
112
112
|
.bk-tab-header-item-close {
|
113
113
|
display: none;
|
114
|
+
font-size: 16px;
|
114
115
|
color: #c4c6cc;
|
115
116
|
}
|
116
117
|
.bk-tab-header--active {
|
package/lib/tab/tab.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
2
|
-
active: {
|
3
|
-
|
2
|
+
active: import("vue-types").VueTypeDef<string | number> & {
|
3
|
+
default: string | number;
|
4
4
|
};
|
5
5
|
type: import("vue-types").VueTypeDef<string> & {
|
6
6
|
default: string;
|
@@ -8,21 +8,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
8
8
|
tabPosition: import("vue-types").VueTypeDef<string> & {
|
9
9
|
default: string;
|
10
10
|
};
|
11
|
-
closable:
|
12
|
-
|
13
|
-
|
14
|
-
default: boolean;
|
15
|
-
};
|
16
|
-
addable: import("vue-types").VueTypeValidableDef<boolean> & {
|
17
|
-
default: boolean;
|
18
|
-
} & {
|
19
|
-
default: boolean;
|
20
|
-
};
|
21
|
-
sortable: import("vue-types").VueTypeValidableDef<boolean> & {
|
22
|
-
default: boolean;
|
23
|
-
} & {
|
24
|
-
default: boolean;
|
25
|
-
};
|
11
|
+
closable: BooleanConstructor;
|
12
|
+
addable: BooleanConstructor;
|
13
|
+
sortable: BooleanConstructor;
|
26
14
|
sortType: import("vue-types").VueTypeDef<string> & {
|
27
15
|
default: string;
|
28
16
|
};
|
@@ -68,11 +56,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
68
56
|
tabAdd(e: MouseEvent): void;
|
69
57
|
tabChange(name: string): void;
|
70
58
|
tabRemove(index: number, panel: any): void;
|
71
|
-
tabSort(dragTabIndex: number, dropTabIndex: number):
|
59
|
+
tabSort(dragTabIndex: number, dropTabIndex: number, sortType: string): false;
|
72
60
|
tabDrag(dragTabIndex: number, dragEvent: DragEvent): void;
|
73
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "drag" | "add" | "add-panel" | "tab-change" | "
|
74
|
-
active: {
|
75
|
-
|
61
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "drag" | "add" | "add-panel" | "tab-change" | "remove-panel" | "sort-change" | "on-drag-tab" | "remove" | "update:active" | "sort")[], "change" | "drag" | "sort" | "add" | "add-panel" | "tab-change" | "remove-panel" | "sort-change" | "on-drag-tab" | "remove" | "update:active", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
62
|
+
active: import("vue-types").VueTypeDef<string | number> & {
|
63
|
+
default: string | number;
|
76
64
|
};
|
77
65
|
type: import("vue-types").VueTypeDef<string> & {
|
78
66
|
default: string;
|
@@ -80,21 +68,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
80
68
|
tabPosition: import("vue-types").VueTypeDef<string> & {
|
81
69
|
default: string;
|
82
70
|
};
|
83
|
-
closable:
|
84
|
-
|
85
|
-
|
86
|
-
default: boolean;
|
87
|
-
};
|
88
|
-
addable: import("vue-types").VueTypeValidableDef<boolean> & {
|
89
|
-
default: boolean;
|
90
|
-
} & {
|
91
|
-
default: boolean;
|
92
|
-
};
|
93
|
-
sortable: import("vue-types").VueTypeValidableDef<boolean> & {
|
94
|
-
default: boolean;
|
95
|
-
} & {
|
96
|
-
default: boolean;
|
97
|
-
};
|
71
|
+
closable: BooleanConstructor;
|
72
|
+
addable: BooleanConstructor;
|
73
|
+
sortable: BooleanConstructor;
|
98
74
|
sortType: import("vue-types").VueTypeDef<string> & {
|
99
75
|
default: string;
|
100
76
|
};
|
@@ -139,7 +115,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
139
115
|
onAdd?: (...args: any[]) => any;
|
140
116
|
"onAdd-panel"?: (...args: any[]) => any;
|
141
117
|
"onTab-change"?: (...args: any[]) => any;
|
142
|
-
"
|
118
|
+
"onRemove-panel"?: (...args: any[]) => any;
|
143
119
|
"onSort-change"?: (...args: any[]) => any;
|
144
120
|
"onOn-drag-tab"?: (...args: any[]) => any;
|
145
121
|
onRemove?: (...args: any[]) => any;
|
@@ -149,6 +125,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
149
125
|
type: string;
|
150
126
|
closable: boolean;
|
151
127
|
extCls: string;
|
128
|
+
active: string | number;
|
152
129
|
showHeader: boolean;
|
153
130
|
sortType: string;
|
154
131
|
addable: boolean;
|
package/lib/tab/tab.less
CHANGED
@@ -127,7 +127,7 @@
|
|
127
127
|
|
128
128
|
.@{tab-prefix}-header-item-close {
|
129
129
|
display: block;
|
130
|
-
margin-left:
|
130
|
+
margin-left: 5px;
|
131
131
|
color: @danger-color;
|
132
132
|
}
|
133
133
|
}
|
@@ -166,6 +166,7 @@
|
|
166
166
|
|
167
167
|
&-close {
|
168
168
|
display: none;
|
169
|
+
font-size: 16px;
|
169
170
|
color: @tab-gray;
|
170
171
|
}
|
171
172
|
|
package/lib/tab/tab.variable.css
CHANGED
@@ -173,7 +173,7 @@
|
|
173
173
|
}
|
174
174
|
.bk-tab-header-item:hover .bk-tab-header-item-close {
|
175
175
|
display: block;
|
176
|
-
margin-left:
|
176
|
+
margin-left: 5px;
|
177
177
|
color: var(--danger-color);
|
178
178
|
}
|
179
179
|
.bk-tab--top .bk-tab-header-item {
|
@@ -204,6 +204,7 @@
|
|
204
204
|
}
|
205
205
|
.bk-tab-header-item-close {
|
206
206
|
display: none;
|
207
|
+
font-size: 16px;
|
207
208
|
color: var(--light-gray);
|
208
209
|
}
|
209
210
|
.bk-tab-header--active {
|
package/lib/table/index.d.ts
CHANGED
@@ -17,7 +17,6 @@ declare const BkTable: {
|
|
17
17
|
virtualEnabled: boolean;
|
18
18
|
remotePagination: boolean;
|
19
19
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
20
|
-
onRowClick: FunctionConstructor;
|
21
20
|
data: import("vue-types").VueTypeDef<any[]> & {
|
22
21
|
default: () => any[];
|
23
22
|
};
|
@@ -80,7 +79,6 @@ declare const BkTable: {
|
|
80
79
|
$emit: ((event: string, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
|
81
80
|
$el: any;
|
82
81
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
83
|
-
onRowClick: FunctionConstructor;
|
84
82
|
data: import("vue-types").VueTypeDef<any[]> & {
|
85
83
|
default: () => any[];
|
86
84
|
};
|
@@ -163,7 +161,6 @@ declare const BkTable: {
|
|
163
161
|
$nextTick: typeof import("vue").nextTick;
|
164
162
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
165
163
|
} & Readonly<import("vue").ExtractPropTypes<{
|
166
|
-
onRowClick: FunctionConstructor;
|
167
164
|
data: import("vue-types").VueTypeDef<any[]> & {
|
168
165
|
default: () => any[];
|
169
166
|
};
|
@@ -216,7 +213,6 @@ declare const BkTable: {
|
|
216
213
|
__isTeleport?: never;
|
217
214
|
__isSuspense?: never;
|
218
215
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
219
|
-
onRowClick: FunctionConstructor;
|
220
216
|
data: import("vue-types").VueTypeDef<any[]> & {
|
221
217
|
default: () => any[];
|
222
218
|
};
|
@@ -264,7 +260,7 @@ declare const BkTable: {
|
|
264
260
|
} & {
|
265
261
|
default: boolean;
|
266
262
|
};
|
267
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "
|
263
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "columnPick" | "pageLimitChange" | "pageValueChange" | "rowClick", {
|
268
264
|
height: string | number;
|
269
265
|
data: any[];
|
270
266
|
minHeight: string | number;
|