bkui-vue 0.0.1-beta.163 → 0.0.1-beta.166
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 +39 -39
- package/dist/index.esm.js +573 -477
- package/dist/index.umd.js +39 -39
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/cascader/cascader.d.ts +1 -1
- package/lib/cascader/index.d.ts +3 -3
- 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 +150 -13
- package/lib/select/index.js +1 -1
- package/lib/select/select.css +88 -53
- package/lib/select/select.d.ts +53 -4
- package/lib/select/select.less +70 -29
- package/lib/select/select.variable.css +88 -53
- package/lib/select/selectTagInput.d.ts +23 -1
- package/lib/select/type.d.ts +0 -1
- package/lib/table/index.d.ts +7 -7
- package/lib/table/table.css +59 -28
- package/lib/table/table.d.ts +2 -2
- 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
package/lib/select/select.less
CHANGED
@@ -91,13 +91,13 @@
|
|
91
91
|
}
|
92
92
|
|
93
93
|
&.large {
|
94
|
-
.bk-select-content {
|
94
|
+
.bk-select-content-wrapper {
|
95
95
|
font-size: 14px;
|
96
96
|
}
|
97
97
|
}
|
98
98
|
|
99
99
|
&.is-focus.normal {
|
100
|
-
.bk-select-trigger .bk-select-tag {
|
100
|
+
.bk-select-trigger .bk-select-tag.bk-select-tag--default {
|
101
101
|
border-color: @primary-color;
|
102
102
|
box-shadow: 0px 0px 3px 0px #a3c5fd;
|
103
103
|
}
|
@@ -125,56 +125,97 @@
|
|
125
125
|
}
|
126
126
|
|
127
127
|
&.is-disabled {
|
128
|
-
.bk-
|
128
|
+
.bk-input--text {
|
129
129
|
cursor: not-allowed;
|
130
130
|
background-color: #fafbfd;
|
131
131
|
}
|
132
132
|
}
|
133
133
|
|
134
|
-
.bk-
|
135
|
-
|
134
|
+
.bk-input {
|
135
|
+
&.is-focused {
|
136
|
+
.active();
|
136
137
|
|
137
|
-
|
138
|
-
|
138
|
+
&.is-simplicity {
|
139
|
+
border-color: transparent;
|
140
|
+
border-bottom-color: @primary-color;
|
141
|
+
box-shadow: none;
|
142
|
+
}
|
139
143
|
}
|
144
|
+
}
|
140
145
|
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
146
|
+
.bk-input--text {
|
147
|
+
.ellipsis();
|
148
|
+
padding-right: 24px;
|
149
|
+
cursor: pointer;
|
150
|
+
background-color: @white-color;
|
151
|
+
}
|
147
152
|
|
148
|
-
|
149
|
-
|
153
|
+
.bk-select-trigger {
|
154
|
+
position: relative;
|
150
155
|
|
151
|
-
|
152
|
-
|
153
|
-
border-bottom-color: @primary-color;
|
154
|
-
box-shadow: none;
|
155
|
-
}
|
156
|
-
}
|
156
|
+
.bk-tag-input .bk-tag-input-trigger .clear-icon {
|
157
|
+
margin-right: 0;
|
157
158
|
}
|
158
159
|
|
159
160
|
.bk-select-tag {
|
160
161
|
.input();
|
161
162
|
display: flex;
|
162
163
|
width: auto;
|
163
|
-
height: auto;
|
164
|
-
min-height: 32px;
|
165
164
|
align-items: center;
|
166
|
-
|
165
|
+
|
166
|
+
&.collapse-tag .bk-select-tag-wrapper {
|
167
|
+
height: 30px;
|
168
|
+
}
|
169
|
+
|
170
|
+
&:not(.collapse-tag) {
|
171
|
+
height: auto;
|
172
|
+
min-height: 32px;
|
173
|
+
flex-wrap: wrap;
|
174
|
+
}
|
175
|
+
|
176
|
+
&-wrapper {
|
177
|
+
display: flex;
|
178
|
+
align-items: center;
|
179
|
+
flex-wrap: wrap;
|
180
|
+
padding: 2px 0;
|
181
|
+
overflow: hidden;
|
182
|
+
}
|
183
|
+
|
184
|
+
&:not(.is-disabled):hover {
|
185
|
+
border-color: #979ba5;
|
186
|
+
}
|
187
|
+
|
188
|
+
&.is-disabled {
|
189
|
+
cursor: not-allowed;
|
190
|
+
background-color: #fafbfd;
|
191
|
+
border-color: #dcdee5;
|
192
|
+
|
193
|
+
input {
|
194
|
+
cursor: not-allowed;
|
195
|
+
}
|
196
|
+
|
197
|
+
.bk-tag {
|
198
|
+
cursor: not-allowed;
|
199
|
+
|
200
|
+
&:hover {
|
201
|
+
background-color: #f0f1f5;
|
202
|
+
}
|
203
|
+
|
204
|
+
.bk-tag-close {
|
205
|
+
cursor: not-allowed;
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
167
209
|
|
168
210
|
&-input {
|
169
211
|
.input();
|
212
|
+
.ellipsis();
|
170
213
|
width: 1%;
|
171
214
|
height: 22px;
|
172
|
-
max-width: 190px;
|
173
215
|
padding: 0;
|
174
|
-
margin:
|
175
|
-
|
216
|
+
margin: 2px 5px 4px 0;
|
217
|
+
background-color: transparent;
|
176
218
|
border: none;
|
177
|
-
outline: none;
|
178
219
|
flex-grow: 1;
|
179
220
|
}
|
180
221
|
|
@@ -219,7 +260,7 @@
|
|
219
260
|
border-radius: 2px;
|
220
261
|
box-shadow: 0 2px 6px 0 rgba(0,0,0,.10);
|
221
262
|
|
222
|
-
.bk-select-content {
|
263
|
+
.bk-select-content-wrapper {
|
223
264
|
.bk-select-empty {
|
224
265
|
.flex-center();
|
225
266
|
height: 56px;
|
@@ -144,10 +144,10 @@
|
|
144
144
|
font-weight: normal;
|
145
145
|
list-style: none;
|
146
146
|
}
|
147
|
-
.bk-select.large .bk-select-content {
|
147
|
+
.bk-select.large .bk-select-content-wrapper {
|
148
148
|
font-size: 14px;
|
149
149
|
}
|
150
|
-
.bk-select.is-focus.normal .bk-select-trigger .bk-select-tag {
|
150
|
+
.bk-select.is-focus.normal .bk-select-trigger .bk-select-tag.bk-select-tag--default {
|
151
151
|
border-color: var(--primary-color);
|
152
152
|
box-shadow: 0px 0px 3px 0px #a3c5fd;
|
153
153
|
}
|
@@ -167,31 +167,34 @@
|
|
167
167
|
.bk-select.popover-show .bk-select-trigger .angle-up {
|
168
168
|
transform: rotate(0);
|
169
169
|
}
|
170
|
-
.bk-select.is-disabled .bk-
|
170
|
+
.bk-select.is-disabled .bk-input--text {
|
171
171
|
cursor: not-allowed;
|
172
172
|
background-color: #fafbfd;
|
173
173
|
}
|
174
|
-
.bk-select .bk-
|
175
|
-
position: relative;
|
176
|
-
}
|
177
|
-
.bk-select .bk-select-trigger .bk-tag-input .bk-tag-input-trigger .clear-icon {
|
178
|
-
margin-right: 0;
|
179
|
-
}
|
180
|
-
.bk-select .bk-select-trigger .bk-input input {
|
181
|
-
padding-right: 24px;
|
182
|
-
cursor: pointer;
|
183
|
-
background-color: var(--white-color);
|
184
|
-
}
|
185
|
-
.bk-select .bk-select-trigger .bk-input.is-focused {
|
174
|
+
.bk-select .bk-input.is-focused {
|
186
175
|
border-color: var(--primary-color);
|
187
176
|
outline: 0;
|
188
177
|
box-shadow: 0px 0px 3px 0px var(--input-shadow-color);
|
189
178
|
}
|
190
|
-
.bk-select .bk-
|
179
|
+
.bk-select .bk-input.is-focused.is-simplicity {
|
191
180
|
border-color: transparent;
|
192
181
|
border-bottom-color: var(--primary-color);
|
193
182
|
box-shadow: none;
|
194
183
|
}
|
184
|
+
.bk-select .bk-input--text {
|
185
|
+
overflow: hidden;
|
186
|
+
text-overflow: ellipsis;
|
187
|
+
white-space: nowrap;
|
188
|
+
padding-right: 24px;
|
189
|
+
cursor: pointer;
|
190
|
+
background-color: var(--white-color);
|
191
|
+
}
|
192
|
+
.bk-select .bk-select-trigger {
|
193
|
+
position: relative;
|
194
|
+
}
|
195
|
+
.bk-select .bk-select-trigger .bk-tag-input .bk-tag-input-trigger .clear-icon {
|
196
|
+
margin-right: 0;
|
197
|
+
}
|
195
198
|
.bk-select .bk-select-trigger .bk-select-tag {
|
196
199
|
width: 100%;
|
197
200
|
height: 32px;
|
@@ -213,13 +216,45 @@
|
|
213
216
|
white-space: nowrap;
|
214
217
|
display: flex;
|
215
218
|
width: auto;
|
219
|
+
align-items: center;
|
220
|
+
}
|
221
|
+
.bk-select .bk-select-trigger .bk-select-tag::placeholder {
|
222
|
+
color: var(--light-gray);
|
223
|
+
}
|
224
|
+
.bk-select .bk-select-trigger .bk-select-tag.collapse-tag .bk-select-tag-wrapper {
|
225
|
+
height: 30px;
|
226
|
+
}
|
227
|
+
.bk-select .bk-select-trigger .bk-select-tag:not(.collapse-tag) {
|
216
228
|
height: auto;
|
217
229
|
min-height: 32px;
|
230
|
+
flex-wrap: wrap;
|
231
|
+
}
|
232
|
+
.bk-select .bk-select-trigger .bk-select-tag-wrapper {
|
233
|
+
display: flex;
|
218
234
|
align-items: center;
|
219
235
|
flex-wrap: wrap;
|
236
|
+
padding: 2px 0;
|
237
|
+
overflow: hidden;
|
220
238
|
}
|
221
|
-
.bk-select .bk-select-trigger .bk-select-tag
|
222
|
-
color:
|
239
|
+
.bk-select .bk-select-trigger .bk-select-tag:not(.is-disabled):hover {
|
240
|
+
border-color: #979ba5;
|
241
|
+
}
|
242
|
+
.bk-select .bk-select-trigger .bk-select-tag.is-disabled {
|
243
|
+
cursor: not-allowed;
|
244
|
+
background-color: #fafbfd;
|
245
|
+
border-color: #dcdee5;
|
246
|
+
}
|
247
|
+
.bk-select .bk-select-trigger .bk-select-tag.is-disabled input {
|
248
|
+
cursor: not-allowed;
|
249
|
+
}
|
250
|
+
.bk-select .bk-select-trigger .bk-select-tag.is-disabled .bk-tag {
|
251
|
+
cursor: not-allowed;
|
252
|
+
}
|
253
|
+
.bk-select .bk-select-trigger .bk-select-tag.is-disabled .bk-tag:hover {
|
254
|
+
background-color: #f0f1f5;
|
255
|
+
}
|
256
|
+
.bk-select .bk-select-trigger .bk-select-tag.is-disabled .bk-tag .bk-tag-close {
|
257
|
+
cursor: not-allowed;
|
223
258
|
}
|
224
259
|
.bk-select .bk-select-trigger .bk-select-tag-input {
|
225
260
|
width: 100%;
|
@@ -233,19 +268,19 @@
|
|
233
268
|
background-color: var(--white-color);
|
234
269
|
border: 1px solid var(--light-gray);
|
235
270
|
border-radius: 2px;
|
271
|
+
outline: none;
|
236
272
|
box-sizing: border-box;
|
237
273
|
transition: all 0.1s;
|
238
274
|
resize: none;
|
275
|
+
overflow: hidden;
|
239
276
|
text-overflow: ellipsis;
|
240
277
|
white-space: nowrap;
|
241
278
|
width: 1%;
|
242
279
|
height: 22px;
|
243
|
-
max-width: 190px;
|
244
280
|
padding: 0;
|
245
|
-
margin:
|
246
|
-
|
281
|
+
margin: 2px 5px 4px 0;
|
282
|
+
background-color: transparent;
|
247
283
|
border: none;
|
248
|
-
outline: none;
|
249
284
|
flex-grow: 1;
|
250
285
|
}
|
251
286
|
.bk-select .bk-select-trigger .bk-select-tag-input::placeholder {
|
@@ -305,14 +340,14 @@
|
|
305
340
|
border-radius: 2px;
|
306
341
|
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
|
307
342
|
}
|
308
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-empty {
|
343
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-empty {
|
309
344
|
display: flex;
|
310
345
|
align-items: center;
|
311
346
|
justify-content: center;
|
312
347
|
height: 56px;
|
313
348
|
color: #63656e;
|
314
349
|
}
|
315
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-empty .spinner {
|
350
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-empty .spinner {
|
316
351
|
display: flex;
|
317
352
|
width: 14px;
|
318
353
|
height: 14px;
|
@@ -322,14 +357,14 @@
|
|
322
357
|
align-items: center;
|
323
358
|
justify-content: center;
|
324
359
|
}
|
325
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-empty span {
|
360
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-empty span {
|
326
361
|
margin-left: 4px;
|
327
362
|
line-height: 18px;
|
328
363
|
}
|
329
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-dropdown {
|
364
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-dropdown {
|
330
365
|
overflow: auto;
|
331
366
|
}
|
332
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-extension {
|
367
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-extension {
|
333
368
|
display: flex;
|
334
369
|
height: 40px;
|
335
370
|
background-color: #fafbfd;
|
@@ -337,10 +372,10 @@
|
|
337
372
|
border-top: 1px solid #dcdee5;
|
338
373
|
border-radius: 0 0 2px 2px;
|
339
374
|
}
|
340
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-options {
|
375
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-options {
|
341
376
|
padding: 4px 0;
|
342
377
|
}
|
343
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option {
|
378
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-option {
|
344
379
|
position: relative;
|
345
380
|
height: 32px;
|
346
381
|
padding: 0 12px;
|
@@ -353,76 +388,76 @@
|
|
353
388
|
text-overflow: ellipsis;
|
354
389
|
white-space: nowrap;
|
355
390
|
}
|
356
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option .bk-select-selected-icon {
|
391
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-option .bk-select-selected-icon {
|
357
392
|
position: absolute;
|
358
393
|
right: 10px;
|
359
394
|
}
|
360
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option-item {
|
395
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-option-item {
|
361
396
|
overflow: hidden;
|
362
397
|
text-overflow: ellipsis;
|
363
398
|
white-space: nowrap;
|
364
399
|
}
|
365
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option.is-hover {
|
400
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-option.is-hover {
|
366
401
|
color: #3a84ff;
|
367
402
|
background-color: #f5f7fa;
|
368
403
|
}
|
369
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option:hover {
|
404
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-option:hover {
|
370
405
|
color: #63656e;
|
371
406
|
background-color: #f5f7fa;
|
372
407
|
}
|
373
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option.is-selected {
|
408
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-option.is-selected {
|
374
409
|
color: #3a84ff;
|
375
410
|
background-color: #e1ecff;
|
376
411
|
}
|
377
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option.is-disabled {
|
412
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-option.is-disabled {
|
378
413
|
color: #c4c6cc;
|
379
414
|
cursor: not-allowed;
|
380
415
|
background-color: transparent;
|
381
416
|
}
|
382
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option.is-multiple {
|
417
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-option.is-multiple {
|
383
418
|
padding-right: 32px;
|
384
419
|
}
|
385
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option.is-multiple.is-selected {
|
420
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-option.is-multiple.is-selected {
|
386
421
|
background-color: #fff;
|
387
422
|
}
|
388
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option.is-multiple.is-hover {
|
423
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-option.is-multiple.is-hover {
|
389
424
|
background-color: #f5f7fa;
|
390
425
|
}
|
391
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option.is-multiple:hover {
|
426
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-option.is-multiple:hover {
|
392
427
|
background-color: #f5f7fa;
|
393
428
|
}
|
394
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-options-loading {
|
429
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-options-loading {
|
395
430
|
display: flex;
|
396
431
|
align-items: center;
|
397
432
|
justify-content: center;
|
398
433
|
}
|
399
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-options-loading span {
|
434
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-options-loading span {
|
400
435
|
margin-left: 4px;
|
401
436
|
line-height: 18px;
|
402
437
|
}
|
403
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-option-group-label {
|
438
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-option-group-label {
|
404
439
|
height: 32px;
|
405
440
|
padding: 0 8px;
|
406
441
|
line-height: 32px;
|
407
442
|
color: #979ba5;
|
408
443
|
text-align: left;
|
409
444
|
}
|
410
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-option-group-label.collapsible {
|
445
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-option-group-label.collapsible {
|
411
446
|
cursor: pointer;
|
412
447
|
}
|
413
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-option-group.collapsible .bk-select-option {
|
448
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-option-group.collapsible .bk-select-option {
|
414
449
|
padding-left: 40px;
|
415
450
|
}
|
416
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-option-group.disabled .default-group-label {
|
451
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-option-group.disabled .default-group-label {
|
417
452
|
color: #c4c6cc;
|
418
453
|
cursor: not-allowed;
|
419
454
|
}
|
420
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-option-group .default-group-label {
|
455
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-option-group .default-group-label {
|
421
456
|
display: flex;
|
422
457
|
user-select: none;
|
423
458
|
align-items: center;
|
424
459
|
}
|
425
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-option-group .default-group-label-icon {
|
460
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-option-group .default-group-label-icon {
|
426
461
|
display: flex;
|
427
462
|
width: 12px;
|
428
463
|
height: 12px;
|
@@ -431,24 +466,24 @@
|
|
431
466
|
align-items: center;
|
432
467
|
justify-content: center;
|
433
468
|
}
|
434
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-option-group .default-group-label-icon.collapse {
|
469
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-option-group .default-group-label-icon.collapse {
|
435
470
|
transform: rotate(-90deg);
|
436
471
|
}
|
437
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-option-group .bk-select-option {
|
472
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-option-group .bk-select-option {
|
438
473
|
padding-left: 24px;
|
439
474
|
}
|
440
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-search-wrapper {
|
475
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-search-wrapper {
|
441
476
|
display: flex;
|
442
477
|
margin: 4px 8px 0 8px;
|
443
478
|
margin-top: 4px;
|
444
479
|
border-bottom: 1px solid var(--input-block-hover-color);
|
445
480
|
align-items: center;
|
446
481
|
}
|
447
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-search-wrapper .icon-search {
|
482
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-search-wrapper .icon-search {
|
448
483
|
margin-left: 2px;
|
449
484
|
color: var(--gray-color);
|
450
485
|
}
|
451
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-search-wrapper .bk-select-search-input {
|
486
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-search-wrapper .bk-select-search-input {
|
452
487
|
width: 100%;
|
453
488
|
height: 32px;
|
454
489
|
padding: 0 28px 0 10px;
|
@@ -471,6 +506,6 @@
|
|
471
506
|
cursor: text;
|
472
507
|
border: none;
|
473
508
|
}
|
474
|
-
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-search-wrapper .bk-select-search-input::placeholder {
|
509
|
+
.bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-search-wrapper .bk-select-search-input::placeholder {
|
475
510
|
color: var(--light-gray);
|
476
511
|
}
|
@@ -23,15 +23,25 @@ declare const _default: import("vue").DefineComponent<{
|
|
23
23
|
} & {
|
24
24
|
default: boolean;
|
25
25
|
};
|
26
|
+
disabled: import("vue-types/dist/types").VueTypeValidableDef<boolean> & {
|
27
|
+
default: boolean;
|
28
|
+
} & {
|
29
|
+
default: boolean;
|
30
|
+
};
|
26
31
|
modelValue: import("vue-types/dist/types").VueTypeValidableDef<any>;
|
32
|
+
collapseTags: import("vue-types/dist/types").VueTypeValidableDef<boolean> & {
|
33
|
+
default: boolean;
|
34
|
+
} & {
|
35
|
+
default: boolean;
|
36
|
+
};
|
27
37
|
}, {
|
38
|
+
overflowTagIndex: import("vue").Ref<number>;
|
28
39
|
value: any;
|
29
40
|
inputRef: import("vue").Ref<HTMLElement>;
|
30
41
|
handleRemoveTag: (val: string) => void;
|
31
42
|
focus: () => void;
|
32
43
|
handleInput: (e: any) => void;
|
33
44
|
handleKeydown: (e: any) => void;
|
34
|
-
handleGetLabelByValue: (item: ISelected) => string;
|
35
45
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "remove" | "enter")[], "update:modelValue" | "remove" | "enter", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
36
46
|
selected: {
|
37
47
|
type: PropType<ISelected[]>;
|
@@ -55,16 +65,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
55
65
|
} & {
|
56
66
|
default: boolean;
|
57
67
|
};
|
68
|
+
disabled: import("vue-types/dist/types").VueTypeValidableDef<boolean> & {
|
69
|
+
default: boolean;
|
70
|
+
} & {
|
71
|
+
default: boolean;
|
72
|
+
};
|
58
73
|
modelValue: import("vue-types/dist/types").VueTypeValidableDef<any>;
|
74
|
+
collapseTags: import("vue-types/dist/types").VueTypeValidableDef<boolean> & {
|
75
|
+
default: boolean;
|
76
|
+
} & {
|
77
|
+
default: boolean;
|
78
|
+
};
|
59
79
|
}>> & {
|
60
80
|
onEnter?: (...args: any[]) => any;
|
61
81
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
62
82
|
onRemove?: (...args: any[]) => any;
|
63
83
|
}, {
|
84
|
+
disabled: boolean;
|
64
85
|
placeholder: string;
|
65
86
|
selected: ISelected[];
|
66
87
|
tagTheme: string;
|
67
88
|
filterable: boolean;
|
68
89
|
allowCreate: boolean;
|
90
|
+
collapseTags: boolean;
|
69
91
|
}>;
|
70
92
|
export default _default;
|
package/lib/select/type.d.ts
CHANGED
@@ -18,7 +18,6 @@ export interface ISelectContext {
|
|
18
18
|
registerGroup(key: any, option: GroupInstanceType): any;
|
19
19
|
unregisterGroup(key: any): any;
|
20
20
|
handleOptionSelected(option: OptionInstanceType): void;
|
21
|
-
handleGetLabelByValue(item: ISelected): string;
|
22
21
|
}
|
23
22
|
export interface IOptionGroupContext {
|
24
23
|
disabled: boolean;
|
package/lib/table/index.d.ts
CHANGED
@@ -10,10 +10,10 @@ declare const BkTable: {
|
|
10
10
|
border: string[];
|
11
11
|
columns: import("./props").Column[];
|
12
12
|
headHeight: number;
|
13
|
-
|
13
|
+
pagination: boolean | {
|
14
14
|
[key: string]: any;
|
15
15
|
};
|
16
|
-
|
16
|
+
scrollLoading: boolean | {
|
17
17
|
[key: string]: any;
|
18
18
|
};
|
19
19
|
columnPick: string;
|
@@ -129,7 +129,7 @@ declare const BkTable: {
|
|
129
129
|
onPageValueChange?: (...args: any[]) => any;
|
130
130
|
onSettingChange?: (...args: any[]) => any;
|
131
131
|
onScrollBottom?: (...args: any[]) => any;
|
132
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "height" | "maxHeight" | "minHeight" | "border" | "columns" | "headHeight" | "
|
132
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "height" | "maxHeight" | "minHeight" | "border" | "columns" | "headHeight" | "pagination" | "scrollLoading" | "columnPick" | "rowHeight" | "showHead" | "virtualEnabled" | "remotePagination" | "emptyText" | "settings" | "rowClass" | "rowStyle" | "cellStyle" | "cellClass" | "reserveExpand" | "rowKey">;
|
133
133
|
$attrs: {
|
134
134
|
[x: string]: unknown;
|
135
135
|
};
|
@@ -262,10 +262,10 @@ declare const BkTable: {
|
|
262
262
|
border: string[];
|
263
263
|
columns: import("./props").Column[];
|
264
264
|
headHeight: number;
|
265
|
-
|
265
|
+
pagination: boolean | {
|
266
266
|
[key: string]: any;
|
267
267
|
};
|
268
|
-
|
268
|
+
scrollLoading: boolean | {
|
269
269
|
[key: string]: any;
|
270
270
|
};
|
271
271
|
columnPick: string;
|
@@ -524,10 +524,10 @@ declare const BkTable: {
|
|
524
524
|
border: string[];
|
525
525
|
columns: import("./props").Column[];
|
526
526
|
headHeight: number;
|
527
|
-
|
527
|
+
pagination: boolean | {
|
528
528
|
[key: string]: any;
|
529
529
|
};
|
530
|
-
|
530
|
+
scrollLoading: boolean | {
|
531
531
|
[key: string]: any;
|
532
532
|
};
|
533
533
|
columnPick: string;
|