bkui-vue 0.0.1-beta.165 → 0.0.1-beta.168
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/index.cjs.js +29 -29
- package/dist/index.esm.js +203 -119
- package/dist/index.umd.js +30 -30
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/cascader/cascader-panel.d.ts +16 -0
- package/lib/cascader/cascader.css +3 -0
- package/lib/cascader/cascader.d.ts +14 -0
- package/lib/cascader/cascader.less +3 -0
- package/lib/cascader/cascader.variable.css +3 -0
- package/lib/cascader/index.d.ts +47 -1
- package/lib/cascader/index.js +1 -1
- package/lib/checkbox/checkbox.css +5 -0
- package/lib/checkbox/checkbox.less +4 -0
- package/lib/checkbox/checkbox.variable.css +5 -0
- package/lib/pagination/index.d.ts +16 -1
- package/lib/pagination/index.js +1 -1
- package/lib/pagination/pagination.css +54 -28
- package/lib/pagination/pagination.d.ts +10 -0
- package/lib/pagination/pagination.less +58 -31
- package/lib/pagination/pagination.variable.css +54 -28
- package/lib/select/index.d.ts +67 -10
- package/lib/select/index.js +1 -1
- package/lib/select/select.css +69 -54
- package/lib/select/select.d.ts +22 -3
- package/lib/select/select.less +44 -29
- package/lib/select/select.variable.css +69 -54
- package/lib/select/selectTagInput.d.ts +12 -0
- package/lib/sideslider/index.js +1 -1
- package/lib/styles/reset.css +36 -0
- package/lib/styles/reset.less +26 -0
- package/lib/styles/reset.variable.css +36 -0
- package/lib/table/table.css +59 -28
- package/lib/table/table.variable.css +59 -28
- package/lib/tree/tree.css +5 -0
- package/lib/tree/tree.variable.css +5 -0
- package/package.json +1 -1
@@ -56,6 +56,9 @@ export declare const paginationProps: {
|
|
56
56
|
} & {
|
57
57
|
default: boolean;
|
58
58
|
};
|
59
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
60
|
+
default: (...args: any[]) => any;
|
61
|
+
};
|
59
62
|
layout: import("vue-types").VueTypeDef<string[]> & {
|
60
63
|
default: () => string[];
|
61
64
|
};
|
@@ -118,6 +121,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
118
121
|
} & {
|
119
122
|
default: boolean;
|
120
123
|
};
|
124
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
125
|
+
default: (...args: any[]) => any;
|
126
|
+
};
|
121
127
|
layout: import("vue-types").VueTypeDef<string[]> & {
|
122
128
|
default: () => string[];
|
123
129
|
};
|
@@ -193,6 +199,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
193
199
|
} & {
|
194
200
|
default: boolean;
|
195
201
|
};
|
202
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
203
|
+
default: (...args: any[]) => any;
|
204
|
+
};
|
196
205
|
layout: import("vue-types").VueTypeDef<string[]> & {
|
197
206
|
default: () => string[];
|
198
207
|
};
|
@@ -209,6 +218,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
209
218
|
layout: string[];
|
210
219
|
count: number;
|
211
220
|
modelValue: number;
|
221
|
+
beforeChange: (...args: any[]) => any;
|
212
222
|
prevText: string;
|
213
223
|
nextText: string;
|
214
224
|
align: string;
|
@@ -36,7 +36,6 @@
|
|
36
36
|
margin-right: 0;
|
37
37
|
}
|
38
38
|
|
39
|
-
|
40
39
|
}
|
41
40
|
.@{bk-prefix}-pagination-total {
|
42
41
|
display: flex;
|
@@ -45,13 +44,14 @@
|
|
45
44
|
|
46
45
|
.@{bk-prefix}-pagination-total-num {
|
47
46
|
padding: 0 2px;
|
48
|
-
color: #3f4046;
|
49
47
|
}
|
50
48
|
|
51
49
|
.@{bk-prefix}-pagination-list {
|
52
50
|
display: flex;
|
53
51
|
}
|
54
52
|
|
53
|
+
.@{bk-prefix}-pagination-list-pre-batch,
|
54
|
+
.@{bk-prefix}-pagination-list-next-batch,
|
55
55
|
.@{bk-prefix}-pagination-list-pre,
|
56
56
|
.@{bk-prefix}-pagination-list-next,
|
57
57
|
.@{bk-prefix}-pagination-list-item {
|
@@ -66,14 +66,16 @@
|
|
66
66
|
color: #63656e;
|
67
67
|
cursor: pointer;
|
68
68
|
background: #fff;
|
69
|
-
border: 1px solid #c4c6cc;
|
70
69
|
border-radius: 2px;
|
71
70
|
user-select: none;
|
72
71
|
|
73
|
-
&:hover,
|
74
72
|
&.is-active {
|
75
73
|
color: #3a84ff;
|
76
|
-
|
74
|
+
background: #e1ecff;
|
75
|
+
}
|
76
|
+
|
77
|
+
&:hover {
|
78
|
+
background: #f0f1f5;
|
77
79
|
}
|
78
80
|
|
79
81
|
&.is-disabled {
|
@@ -84,28 +86,21 @@
|
|
84
86
|
}
|
85
87
|
}
|
86
88
|
|
87
|
-
.@{bk-prefix}-pagination-list-pre-batch,
|
88
|
-
.@{bk-prefix}-pagination-list-next-batch {
|
89
|
-
display: flex;
|
90
|
-
align-items: center;
|
91
|
-
justify-content: center;
|
92
|
-
height: 32px;
|
93
|
-
cursor: pointer;
|
94
|
-
user-select: none;
|
95
|
-
|
96
|
-
&:hover {
|
97
|
-
color: #3a84ff;
|
98
|
-
}
|
99
|
-
}
|
100
|
-
|
101
89
|
.@{bk-prefix}-pagination-list-pre,
|
102
90
|
.@{bk-prefix}-pagination-list-next {
|
103
|
-
font-size:
|
91
|
+
font-size: 20px;
|
92
|
+
color: #979ba5;
|
93
|
+
|
94
|
+
&.is-disabled {
|
95
|
+
color: #dcdee5;
|
96
|
+
cursor: not-allowed;
|
97
|
+
background-color: transparent;
|
98
|
+
}
|
104
99
|
}
|
105
100
|
|
106
101
|
.@{bk-prefix}-pagination-list-item {
|
107
|
-
margin-right:
|
108
|
-
margin-left:
|
102
|
+
margin-right: 2px;
|
103
|
+
margin-left: 2px;
|
109
104
|
}
|
110
105
|
|
111
106
|
.@{bk-prefix}-pagination-limit {
|
@@ -117,14 +112,42 @@
|
|
117
112
|
.@{bk-prefix}-pagination-limit-select {
|
118
113
|
width: 60px;
|
119
114
|
margin: 0 4px;
|
115
|
+
|
116
|
+
.bk-input {
|
117
|
+
border-color: #f0f1f5;
|
118
|
+
}
|
119
|
+
|
120
|
+
.bk-input--text {
|
121
|
+
background-color: #f0f1f5;
|
122
|
+
}
|
123
|
+
|
124
|
+
&:hover {
|
125
|
+
.bk-input {
|
126
|
+
border-color: #eaebf0;
|
127
|
+
}
|
128
|
+
|
129
|
+
.bk-input--text {
|
130
|
+
background-color: #eaebf0;
|
131
|
+
}
|
132
|
+
}
|
133
|
+
|
134
|
+
.bk-input {
|
135
|
+
&.is-focused {
|
136
|
+
border-color: #3a84ff;
|
137
|
+
|
138
|
+
.bk-input--text {
|
139
|
+
background-color: #fff;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
120
143
|
}
|
121
144
|
.@{bk-prefix}-pagination-small-list {
|
122
145
|
display: flex;
|
123
|
-
|
146
|
+
align-items: center;
|
124
147
|
.@{bk-prefix}-pagination-picker {
|
125
148
|
display: flex;
|
126
|
-
height:
|
127
|
-
|
149
|
+
height: 26px;
|
150
|
+
margin: 0 4px;
|
128
151
|
cursor: pointer;
|
129
152
|
background-color: #f0f1f5;
|
130
153
|
border: 1px solid #f0f1f5;
|
@@ -132,8 +155,8 @@
|
|
132
155
|
align-items: center;
|
133
156
|
|
134
157
|
&:hover {
|
135
|
-
background-color: #
|
136
|
-
border-color: #
|
158
|
+
background-color: #eaebf0;
|
159
|
+
border-color: #eaebf0;
|
137
160
|
}
|
138
161
|
|
139
162
|
&.is-focused {
|
@@ -146,7 +169,7 @@
|
|
146
169
|
|
147
170
|
.@{bk-prefix}-pagination-editor {
|
148
171
|
height: 16px;
|
149
|
-
min-width:
|
172
|
+
min-width: 23px;
|
150
173
|
padding-right: 4px;
|
151
174
|
padding-left: 8px;
|
152
175
|
line-height: 16px;
|
@@ -164,13 +187,17 @@
|
|
164
187
|
.@{bk-prefix}-pagination-btn-pre,
|
165
188
|
.@{bk-prefix}-pagination-btn-next {
|
166
189
|
display: flex;
|
190
|
+
width: 26px;
|
191
|
+
height: 26px;
|
192
|
+
font-size: 20px;
|
193
|
+
color: #979ba5;
|
194
|
+
cursor: pointer;
|
167
195
|
justify-content: center;
|
168
196
|
align-items: center;
|
169
|
-
width: 24px;
|
170
|
-
cursor: pointer;
|
171
197
|
|
172
198
|
&:hover {
|
173
|
-
color: #3a84ff
|
199
|
+
color: #3a84ff;
|
200
|
+
background: #f0f1f5;
|
174
201
|
}
|
175
202
|
|
176
203
|
&.is-disabled {
|
@@ -146,11 +146,12 @@
|
|
146
146
|
}
|
147
147
|
.bk-pagination-total-num {
|
148
148
|
padding: 0 2px;
|
149
|
-
color: #3f4046;
|
150
149
|
}
|
151
150
|
.bk-pagination-list {
|
152
151
|
display: flex;
|
153
152
|
}
|
153
|
+
.bk-pagination-list-pre-batch,
|
154
|
+
.bk-pagination-list-next-batch,
|
154
155
|
.bk-pagination-list-pre,
|
155
156
|
.bk-pagination-list-next,
|
156
157
|
.bk-pagination-list-item {
|
@@ -165,19 +166,26 @@
|
|
165
166
|
color: #63656e;
|
166
167
|
cursor: pointer;
|
167
168
|
background: #fff;
|
168
|
-
border: 1px solid #c4c6cc;
|
169
169
|
border-radius: 2px;
|
170
170
|
user-select: none;
|
171
171
|
}
|
172
|
-
.bk-pagination-list-pre
|
173
|
-
.bk-pagination-list-next
|
174
|
-
.bk-pagination-list-item:hover,
|
172
|
+
.bk-pagination-list-pre-batch.is-active,
|
173
|
+
.bk-pagination-list-next-batch.is-active,
|
175
174
|
.bk-pagination-list-pre.is-active,
|
176
175
|
.bk-pagination-list-next.is-active,
|
177
176
|
.bk-pagination-list-item.is-active {
|
178
177
|
color: #3a84ff;
|
179
|
-
|
178
|
+
background: #e1ecff;
|
179
|
+
}
|
180
|
+
.bk-pagination-list-pre-batch:hover,
|
181
|
+
.bk-pagination-list-next-batch:hover,
|
182
|
+
.bk-pagination-list-pre:hover,
|
183
|
+
.bk-pagination-list-next:hover,
|
184
|
+
.bk-pagination-list-item:hover {
|
185
|
+
background: #f0f1f5;
|
180
186
|
}
|
187
|
+
.bk-pagination-list-pre-batch.is-disabled,
|
188
|
+
.bk-pagination-list-next-batch.is-disabled,
|
181
189
|
.bk-pagination-list-pre.is-disabled,
|
182
190
|
.bk-pagination-list-next.is-disabled,
|
183
191
|
.bk-pagination-list-item.is-disabled {
|
@@ -186,26 +194,20 @@
|
|
186
194
|
background-color: #fafbfd;
|
187
195
|
border-color: #dcdee5;
|
188
196
|
}
|
189
|
-
.bk-pagination-list-pre-batch,
|
190
|
-
.bk-pagination-list-next-batch {
|
191
|
-
display: flex;
|
192
|
-
align-items: center;
|
193
|
-
justify-content: center;
|
194
|
-
height: 32px;
|
195
|
-
cursor: pointer;
|
196
|
-
user-select: none;
|
197
|
-
}
|
198
|
-
.bk-pagination-list-pre-batch:hover,
|
199
|
-
.bk-pagination-list-next-batch:hover {
|
200
|
-
color: #3a84ff;
|
201
|
-
}
|
202
197
|
.bk-pagination-list-pre,
|
203
198
|
.bk-pagination-list-next {
|
204
|
-
font-size:
|
199
|
+
font-size: 20px;
|
200
|
+
color: #979ba5;
|
201
|
+
}
|
202
|
+
.bk-pagination-list-pre.is-disabled,
|
203
|
+
.bk-pagination-list-next.is-disabled {
|
204
|
+
color: #dcdee5;
|
205
|
+
cursor: not-allowed;
|
206
|
+
background-color: transparent;
|
205
207
|
}
|
206
208
|
.bk-pagination-list-item {
|
207
|
-
margin-right:
|
208
|
-
margin-left:
|
209
|
+
margin-right: 2px;
|
210
|
+
margin-left: 2px;
|
209
211
|
}
|
210
212
|
.bk-pagination-limit {
|
211
213
|
display: flex;
|
@@ -216,12 +218,32 @@
|
|
216
218
|
width: 60px;
|
217
219
|
margin: 0 4px;
|
218
220
|
}
|
221
|
+
.bk-pagination-limit-select .bk-input {
|
222
|
+
border-color: #f0f1f5;
|
223
|
+
}
|
224
|
+
.bk-pagination-limit-select .bk-input--text {
|
225
|
+
background-color: #f0f1f5;
|
226
|
+
}
|
227
|
+
.bk-pagination-limit-select:hover .bk-input {
|
228
|
+
border-color: #eaebf0;
|
229
|
+
}
|
230
|
+
.bk-pagination-limit-select:hover .bk-input--text {
|
231
|
+
background-color: #eaebf0;
|
232
|
+
}
|
233
|
+
.bk-pagination-limit-select .bk-input.is-focused {
|
234
|
+
border-color: #3a84ff;
|
235
|
+
}
|
236
|
+
.bk-pagination-limit-select .bk-input.is-focused .bk-input--text {
|
237
|
+
background-color: #fff;
|
238
|
+
}
|
219
239
|
.bk-pagination-small-list {
|
220
240
|
display: flex;
|
241
|
+
align-items: center;
|
221
242
|
}
|
222
243
|
.bk-pagination-small-list .bk-pagination-picker {
|
223
244
|
display: flex;
|
224
|
-
height:
|
245
|
+
height: 26px;
|
246
|
+
margin: 0 4px;
|
225
247
|
cursor: pointer;
|
226
248
|
background-color: #f0f1f5;
|
227
249
|
border: 1px solid #f0f1f5;
|
@@ -229,8 +251,8 @@
|
|
229
251
|
align-items: center;
|
230
252
|
}
|
231
253
|
.bk-pagination-small-list .bk-pagination-picker:hover {
|
232
|
-
background-color: #
|
233
|
-
border-color: #
|
254
|
+
background-color: #eaebf0;
|
255
|
+
border-color: #eaebf0;
|
234
256
|
}
|
235
257
|
.bk-pagination-small-list .bk-pagination-picker.is-focused {
|
236
258
|
background-color: #fff;
|
@@ -239,7 +261,7 @@
|
|
239
261
|
}
|
240
262
|
.bk-pagination-editor {
|
241
263
|
height: 16px;
|
242
|
-
min-width:
|
264
|
+
min-width: 23px;
|
243
265
|
padding-right: 4px;
|
244
266
|
padding-left: 8px;
|
245
267
|
line-height: 16px;
|
@@ -257,14 +279,18 @@
|
|
257
279
|
.bk-pagination-btn-pre,
|
258
280
|
.bk-pagination-btn-next {
|
259
281
|
display: flex;
|
282
|
+
width: 26px;
|
283
|
+
height: 26px;
|
284
|
+
font-size: 20px;
|
285
|
+
color: #979ba5;
|
286
|
+
cursor: pointer;
|
260
287
|
justify-content: center;
|
261
288
|
align-items: center;
|
262
|
-
width: 24px;
|
263
|
-
cursor: pointer;
|
264
289
|
}
|
265
290
|
.bk-pagination-btn-pre:hover,
|
266
291
|
.bk-pagination-btn-next:hover {
|
267
292
|
color: #3a84ff;
|
293
|
+
background: #f0f1f5;
|
268
294
|
}
|
269
295
|
.bk-pagination-btn-pre.is-disabled,
|
270
296
|
.bk-pagination-btn-next.is-disabled {
|
package/lib/select/index.d.ts
CHANGED
@@ -19,16 +19,16 @@ declare const BkSelect: {
|
|
19
19
|
tagTheme: string;
|
20
20
|
filterable: boolean;
|
21
21
|
allowCreate: boolean;
|
22
|
+
collapseTags: boolean;
|
22
23
|
popoverMinWidth: number;
|
23
24
|
idKey: string;
|
24
25
|
remoteMethod: (...args: any[]) => any;
|
26
|
+
scrollHeight: number;
|
25
27
|
popoverOptions: {
|
26
28
|
[key: string]: any;
|
27
29
|
};
|
28
|
-
scrollHeight: number;
|
29
30
|
showSelectAll: boolean;
|
30
31
|
multipleMode: string;
|
31
|
-
collapseTags: boolean;
|
32
32
|
noDataText: string;
|
33
33
|
noMatchText: string;
|
34
34
|
loadingText: string;
|
@@ -205,7 +205,7 @@ declare const BkSelect: {
|
|
205
205
|
onClear?: (...args: any[]) => any;
|
206
206
|
onToggle?: (...args: any[]) => any;
|
207
207
|
"onScroll-end"?: (...args: any[]) => any;
|
208
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "showOnInit" | "disabled" | "placeholder" | "list" | "size" | "multiple" | "loading" | "clearable" | "behavior" | "withValidate" | "showSelectedIcon" | "tagTheme" | "filterable" | "allowCreate" | "
|
208
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "showOnInit" | "disabled" | "placeholder" | "list" | "size" | "multiple" | "loading" | "clearable" | "behavior" | "withValidate" | "showSelectedIcon" | "tagTheme" | "filterable" | "allowCreate" | "collapseTags" | "popoverMinWidth" | "idKey" | "remoteMethod" | "scrollHeight" | "popoverOptions" | "showSelectAll" | "multipleMode" | "noDataText" | "noMatchText" | "loadingText" | "searchPlaceholder" | "selectAllText" | "scrollLoading" | "customContent" | "displayKey" | "inputSearch" | "enableVirtualRender">;
|
209
209
|
$attrs: {
|
210
210
|
[x: string]: unknown;
|
211
211
|
};
|
@@ -411,6 +411,7 @@ declare const BkSelect: {
|
|
411
411
|
tagTheme: string;
|
412
412
|
filterable: boolean;
|
413
413
|
allowCreate: boolean;
|
414
|
+
collapseTags: boolean;
|
414
415
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
415
416
|
selected: {
|
416
417
|
type: import("vue-types/dist/types").PropType<import("./type").ISelected[]>;
|
@@ -440,11 +441,16 @@ declare const BkSelect: {
|
|
440
441
|
default: boolean;
|
441
442
|
};
|
442
443
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
444
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
445
|
+
default: boolean;
|
446
|
+
} & {
|
447
|
+
default: boolean;
|
448
|
+
};
|
443
449
|
}>> & {
|
444
450
|
onEnter?: (...args: any[]) => any;
|
445
451
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
446
452
|
onRemove?: (...args: any[]) => any;
|
447
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "placeholder" | "selected" | "tagTheme" | "filterable" | "allowCreate">;
|
453
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "placeholder" | "selected" | "tagTheme" | "filterable" | "allowCreate" | "collapseTags">;
|
448
454
|
$attrs: {
|
449
455
|
[x: string]: unknown;
|
450
456
|
};
|
@@ -487,11 +493,17 @@ declare const BkSelect: {
|
|
487
493
|
default: boolean;
|
488
494
|
};
|
489
495
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
496
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
497
|
+
default: boolean;
|
498
|
+
} & {
|
499
|
+
default: boolean;
|
500
|
+
};
|
490
501
|
}>> & {
|
491
502
|
onEnter?: (...args: any[]) => any;
|
492
503
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
493
504
|
onRemove?: (...args: any[]) => any;
|
494
505
|
}, {
|
506
|
+
overflowTagIndex: import("vue").Ref<number>;
|
495
507
|
value: any;
|
496
508
|
inputRef: import("vue").Ref<HTMLElement>;
|
497
509
|
handleRemoveTag: (val: string) => void;
|
@@ -505,6 +517,7 @@ declare const BkSelect: {
|
|
505
517
|
tagTheme: string;
|
506
518
|
filterable: boolean;
|
507
519
|
allowCreate: boolean;
|
520
|
+
collapseTags: boolean;
|
508
521
|
}> & {
|
509
522
|
beforeCreate?: (() => void) | (() => void)[];
|
510
523
|
created?: (() => void) | (() => void)[];
|
@@ -554,11 +567,17 @@ declare const BkSelect: {
|
|
554
567
|
default: boolean;
|
555
568
|
};
|
556
569
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
570
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
571
|
+
default: boolean;
|
572
|
+
} & {
|
573
|
+
default: boolean;
|
574
|
+
};
|
557
575
|
}>> & {
|
558
576
|
onEnter?: (...args: any[]) => any;
|
559
577
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
560
578
|
onRemove?: (...args: any[]) => any;
|
561
579
|
} & import("vue").ShallowUnwrapRef<{
|
580
|
+
overflowTagIndex: import("vue").Ref<number>;
|
562
581
|
value: any;
|
563
582
|
inputRef: import("vue").Ref<HTMLElement>;
|
564
583
|
handleRemoveTag: (val: string) => void;
|
@@ -612,16 +631,16 @@ declare const BkSelect: {
|
|
612
631
|
tagTheme: string;
|
613
632
|
filterable: boolean;
|
614
633
|
allowCreate: boolean;
|
634
|
+
collapseTags: boolean;
|
615
635
|
popoverMinWidth: number;
|
616
636
|
idKey: string;
|
617
637
|
remoteMethod: (...args: any[]) => any;
|
638
|
+
scrollHeight: number;
|
618
639
|
popoverOptions: {
|
619
640
|
[key: string]: any;
|
620
641
|
};
|
621
|
-
scrollHeight: number;
|
622
642
|
showSelectAll: boolean;
|
623
643
|
multipleMode: string;
|
624
|
-
collapseTags: boolean;
|
625
644
|
noDataText: string;
|
626
645
|
noMatchText: string;
|
627
646
|
loadingText: string;
|
@@ -844,6 +863,7 @@ declare const BkSelect: {
|
|
844
863
|
tagTheme: string;
|
845
864
|
filterable: boolean;
|
846
865
|
allowCreate: boolean;
|
866
|
+
collapseTags: boolean;
|
847
867
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
848
868
|
selected: {
|
849
869
|
type: import("vue-types/dist/types").PropType<import("./type").ISelected[]>;
|
@@ -873,11 +893,16 @@ declare const BkSelect: {
|
|
873
893
|
default: boolean;
|
874
894
|
};
|
875
895
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
896
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
897
|
+
default: boolean;
|
898
|
+
} & {
|
899
|
+
default: boolean;
|
900
|
+
};
|
876
901
|
}>> & {
|
877
902
|
onEnter?: (...args: any[]) => any;
|
878
903
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
879
904
|
onRemove?: (...args: any[]) => any;
|
880
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "placeholder" | "selected" | "tagTheme" | "filterable" | "allowCreate">;
|
905
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "placeholder" | "selected" | "tagTheme" | "filterable" | "allowCreate" | "collapseTags">;
|
881
906
|
$attrs: {
|
882
907
|
[x: string]: unknown;
|
883
908
|
};
|
@@ -920,11 +945,17 @@ declare const BkSelect: {
|
|
920
945
|
default: boolean;
|
921
946
|
};
|
922
947
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
948
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
949
|
+
default: boolean;
|
950
|
+
} & {
|
951
|
+
default: boolean;
|
952
|
+
};
|
923
953
|
}>> & {
|
924
954
|
onEnter?: (...args: any[]) => any;
|
925
955
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
926
956
|
onRemove?: (...args: any[]) => any;
|
927
957
|
}, {
|
958
|
+
overflowTagIndex: import("vue").Ref<number>;
|
928
959
|
value: any;
|
929
960
|
inputRef: import("vue").Ref<HTMLElement>;
|
930
961
|
handleRemoveTag: (val: string) => void;
|
@@ -938,6 +969,7 @@ declare const BkSelect: {
|
|
938
969
|
tagTheme: string;
|
939
970
|
filterable: boolean;
|
940
971
|
allowCreate: boolean;
|
972
|
+
collapseTags: boolean;
|
941
973
|
}> & {
|
942
974
|
beforeCreate?: (() => void) | (() => void)[];
|
943
975
|
created?: (() => void) | (() => void)[];
|
@@ -987,11 +1019,17 @@ declare const BkSelect: {
|
|
987
1019
|
default: boolean;
|
988
1020
|
};
|
989
1021
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
1022
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
1023
|
+
default: boolean;
|
1024
|
+
} & {
|
1025
|
+
default: boolean;
|
1026
|
+
};
|
990
1027
|
}>> & {
|
991
1028
|
onEnter?: (...args: any[]) => any;
|
992
1029
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
993
1030
|
onRemove?: (...args: any[]) => any;
|
994
1031
|
} & import("vue").ShallowUnwrapRef<{
|
1032
|
+
overflowTagIndex: import("vue").Ref<number>;
|
995
1033
|
value: any;
|
996
1034
|
inputRef: import("vue").Ref<HTMLElement>;
|
997
1035
|
handleRemoveTag: (val: string) => void;
|
@@ -1226,6 +1264,7 @@ declare const BkSelect: {
|
|
1226
1264
|
tagTheme: string;
|
1227
1265
|
filterable: boolean;
|
1228
1266
|
allowCreate: boolean;
|
1267
|
+
collapseTags: boolean;
|
1229
1268
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
1230
1269
|
selected: {
|
1231
1270
|
type: import("vue-types/dist/types").PropType<import("./type").ISelected[]>;
|
@@ -1255,11 +1294,16 @@ declare const BkSelect: {
|
|
1255
1294
|
default: boolean;
|
1256
1295
|
};
|
1257
1296
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
1297
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
1298
|
+
default: boolean;
|
1299
|
+
} & {
|
1300
|
+
default: boolean;
|
1301
|
+
};
|
1258
1302
|
}>> & {
|
1259
1303
|
onEnter?: (...args: any[]) => any;
|
1260
1304
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
1261
1305
|
onRemove?: (...args: any[]) => any;
|
1262
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "placeholder" | "selected" | "tagTheme" | "filterable" | "allowCreate">;
|
1306
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "placeholder" | "selected" | "tagTheme" | "filterable" | "allowCreate" | "collapseTags">;
|
1263
1307
|
$attrs: {
|
1264
1308
|
[x: string]: unknown;
|
1265
1309
|
};
|
@@ -1302,11 +1346,17 @@ declare const BkSelect: {
|
|
1302
1346
|
default: boolean;
|
1303
1347
|
};
|
1304
1348
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
1349
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
1350
|
+
default: boolean;
|
1351
|
+
} & {
|
1352
|
+
default: boolean;
|
1353
|
+
};
|
1305
1354
|
}>> & {
|
1306
1355
|
onEnter?: (...args: any[]) => any;
|
1307
1356
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
1308
1357
|
onRemove?: (...args: any[]) => any;
|
1309
1358
|
}, {
|
1359
|
+
overflowTagIndex: import("vue").Ref<number>;
|
1310
1360
|
value: any;
|
1311
1361
|
inputRef: import("vue").Ref<HTMLElement>;
|
1312
1362
|
handleRemoveTag: (val: string) => void;
|
@@ -1320,6 +1370,7 @@ declare const BkSelect: {
|
|
1320
1370
|
tagTheme: string;
|
1321
1371
|
filterable: boolean;
|
1322
1372
|
allowCreate: boolean;
|
1373
|
+
collapseTags: boolean;
|
1323
1374
|
}> & {
|
1324
1375
|
beforeCreate?: (() => void) | (() => void)[];
|
1325
1376
|
created?: (() => void) | (() => void)[];
|
@@ -1369,11 +1420,17 @@ declare const BkSelect: {
|
|
1369
1420
|
default: boolean;
|
1370
1421
|
};
|
1371
1422
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
1423
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
1424
|
+
default: boolean;
|
1425
|
+
} & {
|
1426
|
+
default: boolean;
|
1427
|
+
};
|
1372
1428
|
}>> & {
|
1373
1429
|
onEnter?: (...args: any[]) => any;
|
1374
1430
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
1375
1431
|
onRemove?: (...args: any[]) => any;
|
1376
1432
|
} & import("vue").ShallowUnwrapRef<{
|
1433
|
+
overflowTagIndex: import("vue").Ref<number>;
|
1377
1434
|
value: any;
|
1378
1435
|
inputRef: import("vue").Ref<HTMLElement>;
|
1379
1436
|
handleRemoveTag: (val: string) => void;
|
@@ -1427,16 +1484,16 @@ declare const BkSelect: {
|
|
1427
1484
|
tagTheme: string;
|
1428
1485
|
filterable: boolean;
|
1429
1486
|
allowCreate: boolean;
|
1487
|
+
collapseTags: boolean;
|
1430
1488
|
popoverMinWidth: number;
|
1431
1489
|
idKey: string;
|
1432
1490
|
remoteMethod: (...args: any[]) => any;
|
1491
|
+
scrollHeight: number;
|
1433
1492
|
popoverOptions: {
|
1434
1493
|
[key: string]: any;
|
1435
1494
|
};
|
1436
|
-
scrollHeight: number;
|
1437
1495
|
showSelectAll: boolean;
|
1438
1496
|
multipleMode: string;
|
1439
|
-
collapseTags: boolean;
|
1440
1497
|
noDataText: string;
|
1441
1498
|
noMatchText: string;
|
1442
1499
|
loadingText: string;
|