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
@@ -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,6 +19,7 @@ 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;
|
@@ -28,7 +29,6 @@ declare const BkSelect: {
|
|
28
29
|
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;
|
@@ -38,6 +38,7 @@ declare const BkSelect: {
|
|
38
38
|
customContent: boolean;
|
39
39
|
displayKey: string;
|
40
40
|
inputSearch: boolean;
|
41
|
+
enableVirtualRender: boolean;
|
41
42
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
42
43
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
43
44
|
multiple: import("vue-types").VueTypeValidableDef<boolean> & {
|
@@ -191,6 +192,11 @@ declare const BkSelect: {
|
|
191
192
|
} & {
|
192
193
|
default: boolean;
|
193
194
|
};
|
195
|
+
enableVirtualRender: import("vue-types").VueTypeValidableDef<boolean> & {
|
196
|
+
default: boolean;
|
197
|
+
} & {
|
198
|
+
default: boolean;
|
199
|
+
};
|
194
200
|
}>> & {
|
195
201
|
onFocus?: (...args: any[]) => any;
|
196
202
|
onBlur?: (...args: any[]) => any;
|
@@ -199,7 +205,7 @@ declare const BkSelect: {
|
|
199
205
|
onClear?: (...args: any[]) => any;
|
200
206
|
onToggle?: (...args: any[]) => any;
|
201
207
|
"onScroll-end"?: (...args: any[]) => any;
|
202
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "showOnInit" | "disabled" | "placeholder" | "list" | "size" | "multiple" | "loading" | "clearable" | "behavior" | "withValidate" | "showSelectedIcon" | "tagTheme" | "filterable" | "allowCreate" | "popoverMinWidth" | "idKey" | "remoteMethod" | "popoverOptions" | "scrollHeight" | "showSelectAll" | "multipleMode" | "
|
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" | "popoverOptions" | "scrollHeight" | "showSelectAll" | "multipleMode" | "noDataText" | "noMatchText" | "loadingText" | "searchPlaceholder" | "selectAllText" | "scrollLoading" | "customContent" | "displayKey" | "inputSearch" | "enableVirtualRender">;
|
203
209
|
$attrs: {
|
204
210
|
[x: string]: unknown;
|
205
211
|
};
|
@@ -366,6 +372,11 @@ declare const BkSelect: {
|
|
366
372
|
} & {
|
367
373
|
default: boolean;
|
368
374
|
};
|
375
|
+
enableVirtualRender: import("vue-types").VueTypeValidableDef<boolean> & {
|
376
|
+
default: boolean;
|
377
|
+
} & {
|
378
|
+
default: boolean;
|
379
|
+
};
|
369
380
|
}>> & {
|
370
381
|
onFocus?: (...args: any[]) => any;
|
371
382
|
onBlur?: (...args: any[]) => any;
|
@@ -394,11 +405,13 @@ declare const BkSelect: {
|
|
394
405
|
$: import("vue").ComponentInternalInstance;
|
395
406
|
$data: {};
|
396
407
|
$props: Partial<{
|
408
|
+
disabled: boolean;
|
397
409
|
placeholder: string;
|
398
410
|
selected: import("./type").ISelected[];
|
399
411
|
tagTheme: string;
|
400
412
|
filterable: boolean;
|
401
413
|
allowCreate: boolean;
|
414
|
+
collapseTags: boolean;
|
402
415
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
403
416
|
selected: {
|
404
417
|
type: import("vue-types/dist/types").PropType<import("./type").ISelected[]>;
|
@@ -422,12 +435,22 @@ declare const BkSelect: {
|
|
422
435
|
} & {
|
423
436
|
default: boolean;
|
424
437
|
};
|
438
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
439
|
+
default: boolean;
|
440
|
+
} & {
|
441
|
+
default: boolean;
|
442
|
+
};
|
425
443
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
444
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
445
|
+
default: boolean;
|
446
|
+
} & {
|
447
|
+
default: boolean;
|
448
|
+
};
|
426
449
|
}>> & {
|
427
450
|
onEnter?: (...args: any[]) => any;
|
428
451
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
429
452
|
onRemove?: (...args: any[]) => any;
|
430
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placeholder" | "selected" | "tagTheme" | "filterable" | "allowCreate">;
|
453
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "placeholder" | "selected" | "tagTheme" | "filterable" | "allowCreate" | "collapseTags">;
|
431
454
|
$attrs: {
|
432
455
|
[x: string]: unknown;
|
433
456
|
};
|
@@ -464,25 +487,37 @@ declare const BkSelect: {
|
|
464
487
|
} & {
|
465
488
|
default: boolean;
|
466
489
|
};
|
490
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
491
|
+
default: boolean;
|
492
|
+
} & {
|
493
|
+
default: boolean;
|
494
|
+
};
|
467
495
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
496
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
497
|
+
default: boolean;
|
498
|
+
} & {
|
499
|
+
default: boolean;
|
500
|
+
};
|
468
501
|
}>> & {
|
469
502
|
onEnter?: (...args: any[]) => any;
|
470
503
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
471
504
|
onRemove?: (...args: any[]) => any;
|
472
505
|
}, {
|
506
|
+
overflowTagIndex: import("vue").Ref<number>;
|
473
507
|
value: any;
|
474
508
|
inputRef: import("vue").Ref<HTMLElement>;
|
475
509
|
handleRemoveTag: (val: string) => void;
|
476
510
|
focus: () => void;
|
477
511
|
handleInput: (e: any) => void;
|
478
512
|
handleKeydown: (e: any) => void;
|
479
|
-
handleGetLabelByValue: (item: import("./type").ISelected) => string;
|
480
513
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "remove" | "enter")[], string, {
|
514
|
+
disabled: boolean;
|
481
515
|
placeholder: string;
|
482
516
|
selected: import("./type").ISelected[];
|
483
517
|
tagTheme: string;
|
484
518
|
filterable: boolean;
|
485
519
|
allowCreate: boolean;
|
520
|
+
collapseTags: boolean;
|
486
521
|
}> & {
|
487
522
|
beforeCreate?: (() => void) | (() => void)[];
|
488
523
|
created?: (() => void) | (() => void)[];
|
@@ -526,20 +561,31 @@ declare const BkSelect: {
|
|
526
561
|
} & {
|
527
562
|
default: boolean;
|
528
563
|
};
|
564
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
565
|
+
default: boolean;
|
566
|
+
} & {
|
567
|
+
default: boolean;
|
568
|
+
};
|
529
569
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
570
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
571
|
+
default: boolean;
|
572
|
+
} & {
|
573
|
+
default: boolean;
|
574
|
+
};
|
530
575
|
}>> & {
|
531
576
|
onEnter?: (...args: any[]) => any;
|
532
577
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
533
578
|
onRemove?: (...args: any[]) => any;
|
534
579
|
} & import("vue").ShallowUnwrapRef<{
|
580
|
+
overflowTagIndex: import("vue").Ref<number>;
|
535
581
|
value: any;
|
536
582
|
inputRef: import("vue").Ref<HTMLElement>;
|
537
583
|
handleRemoveTag: (val: string) => void;
|
538
584
|
focus: () => void;
|
539
585
|
handleInput: (e: any) => void;
|
540
586
|
handleKeydown: (e: any) => void;
|
541
|
-
handleGetLabelByValue: (item: import("./type").ISelected) => string;
|
542
587
|
}> & {} & {} & import("vue").ComponentCustomProperties>;
|
588
|
+
virtualRenderRef: import("vue").Ref<any>;
|
543
589
|
searchLoading: import("vue").Ref<boolean>;
|
544
590
|
isOptionsEmpty: import("vue").ComputedRef<boolean>;
|
545
591
|
isSearchEmpty: import("vue").ComputedRef<boolean>;
|
@@ -548,6 +594,9 @@ declare const BkSelect: {
|
|
548
594
|
curContentText: import("vue").ComputedRef<string>;
|
549
595
|
isGroup: import("vue").ComputedRef<boolean>;
|
550
596
|
searchKey: import("vue").Ref<string>;
|
597
|
+
isShowSelectAll: import("vue").ComputedRef<boolean>;
|
598
|
+
virtualHeight: import("vue").ComputedRef<number>;
|
599
|
+
filterList: import("vue").ComputedRef<unknown[]>;
|
551
600
|
setHover: () => void;
|
552
601
|
cancelHover: () => void;
|
553
602
|
handleFocus: () => void;
|
@@ -582,6 +631,7 @@ declare const BkSelect: {
|
|
582
631
|
tagTheme: string;
|
583
632
|
filterable: boolean;
|
584
633
|
allowCreate: boolean;
|
634
|
+
collapseTags: boolean;
|
585
635
|
popoverMinWidth: number;
|
586
636
|
idKey: string;
|
587
637
|
remoteMethod: (...args: any[]) => any;
|
@@ -591,7 +641,6 @@ declare const BkSelect: {
|
|
591
641
|
scrollHeight: number;
|
592
642
|
showSelectAll: boolean;
|
593
643
|
multipleMode: string;
|
594
|
-
collapseTags: boolean;
|
595
644
|
noDataText: string;
|
596
645
|
noMatchText: string;
|
597
646
|
loadingText: string;
|
@@ -601,6 +650,7 @@ declare const BkSelect: {
|
|
601
650
|
customContent: boolean;
|
602
651
|
displayKey: string;
|
603
652
|
inputSearch: boolean;
|
653
|
+
enableVirtualRender: boolean;
|
604
654
|
}> & {
|
605
655
|
beforeCreate?: (() => void) | (() => void)[];
|
606
656
|
created?: (() => void) | (() => void)[];
|
@@ -774,6 +824,11 @@ declare const BkSelect: {
|
|
774
824
|
} & {
|
775
825
|
default: boolean;
|
776
826
|
};
|
827
|
+
enableVirtualRender: import("vue-types").VueTypeValidableDef<boolean> & {
|
828
|
+
default: boolean;
|
829
|
+
} & {
|
830
|
+
default: boolean;
|
831
|
+
};
|
777
832
|
}>> & {
|
778
833
|
onFocus?: (...args: any[]) => any;
|
779
834
|
onBlur?: (...args: any[]) => any;
|
@@ -802,11 +857,13 @@ declare const BkSelect: {
|
|
802
857
|
$: import("vue").ComponentInternalInstance;
|
803
858
|
$data: {};
|
804
859
|
$props: Partial<{
|
860
|
+
disabled: boolean;
|
805
861
|
placeholder: string;
|
806
862
|
selected: import("./type").ISelected[];
|
807
863
|
tagTheme: string;
|
808
864
|
filterable: boolean;
|
809
865
|
allowCreate: boolean;
|
866
|
+
collapseTags: boolean;
|
810
867
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
811
868
|
selected: {
|
812
869
|
type: import("vue-types/dist/types").PropType<import("./type").ISelected[]>;
|
@@ -830,12 +887,22 @@ declare const BkSelect: {
|
|
830
887
|
} & {
|
831
888
|
default: boolean;
|
832
889
|
};
|
890
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
891
|
+
default: boolean;
|
892
|
+
} & {
|
893
|
+
default: boolean;
|
894
|
+
};
|
833
895
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
896
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
897
|
+
default: boolean;
|
898
|
+
} & {
|
899
|
+
default: boolean;
|
900
|
+
};
|
834
901
|
}>> & {
|
835
902
|
onEnter?: (...args: any[]) => any;
|
836
903
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
837
904
|
onRemove?: (...args: any[]) => any;
|
838
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placeholder" | "selected" | "tagTheme" | "filterable" | "allowCreate">;
|
905
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "placeholder" | "selected" | "tagTheme" | "filterable" | "allowCreate" | "collapseTags">;
|
839
906
|
$attrs: {
|
840
907
|
[x: string]: unknown;
|
841
908
|
};
|
@@ -872,25 +939,37 @@ declare const BkSelect: {
|
|
872
939
|
} & {
|
873
940
|
default: boolean;
|
874
941
|
};
|
942
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
943
|
+
default: boolean;
|
944
|
+
} & {
|
945
|
+
default: boolean;
|
946
|
+
};
|
875
947
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
948
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
949
|
+
default: boolean;
|
950
|
+
} & {
|
951
|
+
default: boolean;
|
952
|
+
};
|
876
953
|
}>> & {
|
877
954
|
onEnter?: (...args: any[]) => any;
|
878
955
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
879
956
|
onRemove?: (...args: any[]) => any;
|
880
957
|
}, {
|
958
|
+
overflowTagIndex: import("vue").Ref<number>;
|
881
959
|
value: any;
|
882
960
|
inputRef: import("vue").Ref<HTMLElement>;
|
883
961
|
handleRemoveTag: (val: string) => void;
|
884
962
|
focus: () => void;
|
885
963
|
handleInput: (e: any) => void;
|
886
964
|
handleKeydown: (e: any) => void;
|
887
|
-
handleGetLabelByValue: (item: import("./type").ISelected) => string;
|
888
965
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "remove" | "enter")[], string, {
|
966
|
+
disabled: boolean;
|
889
967
|
placeholder: string;
|
890
968
|
selected: import("./type").ISelected[];
|
891
969
|
tagTheme: string;
|
892
970
|
filterable: boolean;
|
893
971
|
allowCreate: boolean;
|
972
|
+
collapseTags: boolean;
|
894
973
|
}> & {
|
895
974
|
beforeCreate?: (() => void) | (() => void)[];
|
896
975
|
created?: (() => void) | (() => void)[];
|
@@ -934,20 +1013,31 @@ declare const BkSelect: {
|
|
934
1013
|
} & {
|
935
1014
|
default: boolean;
|
936
1015
|
};
|
1016
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1017
|
+
default: boolean;
|
1018
|
+
} & {
|
1019
|
+
default: boolean;
|
1020
|
+
};
|
937
1021
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
1022
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
1023
|
+
default: boolean;
|
1024
|
+
} & {
|
1025
|
+
default: boolean;
|
1026
|
+
};
|
938
1027
|
}>> & {
|
939
1028
|
onEnter?: (...args: any[]) => any;
|
940
1029
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
941
1030
|
onRemove?: (...args: any[]) => any;
|
942
1031
|
} & import("vue").ShallowUnwrapRef<{
|
1032
|
+
overflowTagIndex: import("vue").Ref<number>;
|
943
1033
|
value: any;
|
944
1034
|
inputRef: import("vue").Ref<HTMLElement>;
|
945
1035
|
handleRemoveTag: (val: string) => void;
|
946
1036
|
focus: () => void;
|
947
1037
|
handleInput: (e: any) => void;
|
948
1038
|
handleKeydown: (e: any) => void;
|
949
|
-
handleGetLabelByValue: (item: import("./type").ISelected) => string;
|
950
1039
|
}> & {} & {} & import("vue").ComponentCustomProperties>;
|
1040
|
+
virtualRenderRef: import("vue").Ref<any>;
|
951
1041
|
searchLoading: import("vue").Ref<boolean>;
|
952
1042
|
isOptionsEmpty: import("vue").ComputedRef<boolean>;
|
953
1043
|
isSearchEmpty: import("vue").ComputedRef<boolean>;
|
@@ -956,6 +1046,9 @@ declare const BkSelect: {
|
|
956
1046
|
curContentText: import("vue").ComputedRef<string>;
|
957
1047
|
isGroup: import("vue").ComputedRef<boolean>;
|
958
1048
|
searchKey: import("vue").Ref<string>;
|
1049
|
+
isShowSelectAll: import("vue").ComputedRef<boolean>;
|
1050
|
+
virtualHeight: import("vue").ComputedRef<number>;
|
1051
|
+
filterList: import("vue").ComputedRef<unknown[]>;
|
959
1052
|
setHover: () => void;
|
960
1053
|
cancelHover: () => void;
|
961
1054
|
handleFocus: () => void;
|
@@ -1132,6 +1225,11 @@ declare const BkSelect: {
|
|
1132
1225
|
} & {
|
1133
1226
|
default: boolean;
|
1134
1227
|
};
|
1228
|
+
enableVirtualRender: import("vue-types").VueTypeValidableDef<boolean> & {
|
1229
|
+
default: boolean;
|
1230
|
+
} & {
|
1231
|
+
default: boolean;
|
1232
|
+
};
|
1135
1233
|
}>> & {
|
1136
1234
|
onFocus?: (...args: any[]) => any;
|
1137
1235
|
onBlur?: (...args: any[]) => any;
|
@@ -1160,11 +1258,13 @@ declare const BkSelect: {
|
|
1160
1258
|
$: import("vue").ComponentInternalInstance;
|
1161
1259
|
$data: {};
|
1162
1260
|
$props: Partial<{
|
1261
|
+
disabled: boolean;
|
1163
1262
|
placeholder: string;
|
1164
1263
|
selected: import("./type").ISelected[];
|
1165
1264
|
tagTheme: string;
|
1166
1265
|
filterable: boolean;
|
1167
1266
|
allowCreate: boolean;
|
1267
|
+
collapseTags: boolean;
|
1168
1268
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
1169
1269
|
selected: {
|
1170
1270
|
type: import("vue-types/dist/types").PropType<import("./type").ISelected[]>;
|
@@ -1188,12 +1288,22 @@ declare const BkSelect: {
|
|
1188
1288
|
} & {
|
1189
1289
|
default: boolean;
|
1190
1290
|
};
|
1291
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1292
|
+
default: boolean;
|
1293
|
+
} & {
|
1294
|
+
default: boolean;
|
1295
|
+
};
|
1191
1296
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
1297
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
1298
|
+
default: boolean;
|
1299
|
+
} & {
|
1300
|
+
default: boolean;
|
1301
|
+
};
|
1192
1302
|
}>> & {
|
1193
1303
|
onEnter?: (...args: any[]) => any;
|
1194
1304
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
1195
1305
|
onRemove?: (...args: any[]) => any;
|
1196
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placeholder" | "selected" | "tagTheme" | "filterable" | "allowCreate">;
|
1306
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "placeholder" | "selected" | "tagTheme" | "filterable" | "allowCreate" | "collapseTags">;
|
1197
1307
|
$attrs: {
|
1198
1308
|
[x: string]: unknown;
|
1199
1309
|
};
|
@@ -1230,25 +1340,37 @@ declare const BkSelect: {
|
|
1230
1340
|
} & {
|
1231
1341
|
default: boolean;
|
1232
1342
|
};
|
1343
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1344
|
+
default: boolean;
|
1345
|
+
} & {
|
1346
|
+
default: boolean;
|
1347
|
+
};
|
1233
1348
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
1349
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
1350
|
+
default: boolean;
|
1351
|
+
} & {
|
1352
|
+
default: boolean;
|
1353
|
+
};
|
1234
1354
|
}>> & {
|
1235
1355
|
onEnter?: (...args: any[]) => any;
|
1236
1356
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
1237
1357
|
onRemove?: (...args: any[]) => any;
|
1238
1358
|
}, {
|
1359
|
+
overflowTagIndex: import("vue").Ref<number>;
|
1239
1360
|
value: any;
|
1240
1361
|
inputRef: import("vue").Ref<HTMLElement>;
|
1241
1362
|
handleRemoveTag: (val: string) => void;
|
1242
1363
|
focus: () => void;
|
1243
1364
|
handleInput: (e: any) => void;
|
1244
1365
|
handleKeydown: (e: any) => void;
|
1245
|
-
handleGetLabelByValue: (item: import("./type").ISelected) => string;
|
1246
1366
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "remove" | "enter")[], string, {
|
1367
|
+
disabled: boolean;
|
1247
1368
|
placeholder: string;
|
1248
1369
|
selected: import("./type").ISelected[];
|
1249
1370
|
tagTheme: string;
|
1250
1371
|
filterable: boolean;
|
1251
1372
|
allowCreate: boolean;
|
1373
|
+
collapseTags: boolean;
|
1252
1374
|
}> & {
|
1253
1375
|
beforeCreate?: (() => void) | (() => void)[];
|
1254
1376
|
created?: (() => void) | (() => void)[];
|
@@ -1292,20 +1414,31 @@ declare const BkSelect: {
|
|
1292
1414
|
} & {
|
1293
1415
|
default: boolean;
|
1294
1416
|
};
|
1417
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1418
|
+
default: boolean;
|
1419
|
+
} & {
|
1420
|
+
default: boolean;
|
1421
|
+
};
|
1295
1422
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
1423
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
1424
|
+
default: boolean;
|
1425
|
+
} & {
|
1426
|
+
default: boolean;
|
1427
|
+
};
|
1296
1428
|
}>> & {
|
1297
1429
|
onEnter?: (...args: any[]) => any;
|
1298
1430
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
1299
1431
|
onRemove?: (...args: any[]) => any;
|
1300
1432
|
} & import("vue").ShallowUnwrapRef<{
|
1433
|
+
overflowTagIndex: import("vue").Ref<number>;
|
1301
1434
|
value: any;
|
1302
1435
|
inputRef: import("vue").Ref<HTMLElement>;
|
1303
1436
|
handleRemoveTag: (val: string) => void;
|
1304
1437
|
focus: () => void;
|
1305
1438
|
handleInput: (e: any) => void;
|
1306
1439
|
handleKeydown: (e: any) => void;
|
1307
|
-
handleGetLabelByValue: (item: import("./type").ISelected) => string;
|
1308
1440
|
}> & {} & {} & import("vue").ComponentCustomProperties>;
|
1441
|
+
virtualRenderRef: import("vue").Ref<any>;
|
1309
1442
|
searchLoading: import("vue").Ref<boolean>;
|
1310
1443
|
isOptionsEmpty: import("vue").ComputedRef<boolean>;
|
1311
1444
|
isSearchEmpty: import("vue").ComputedRef<boolean>;
|
@@ -1314,6 +1447,9 @@ declare const BkSelect: {
|
|
1314
1447
|
curContentText: import("vue").ComputedRef<string>;
|
1315
1448
|
isGroup: import("vue").ComputedRef<boolean>;
|
1316
1449
|
searchKey: import("vue").Ref<string>;
|
1450
|
+
isShowSelectAll: import("vue").ComputedRef<boolean>;
|
1451
|
+
virtualHeight: import("vue").ComputedRef<number>;
|
1452
|
+
filterList: import("vue").ComputedRef<unknown[]>;
|
1317
1453
|
setHover: () => void;
|
1318
1454
|
cancelHover: () => void;
|
1319
1455
|
handleFocus: () => void;
|
@@ -1348,6 +1484,7 @@ declare const BkSelect: {
|
|
1348
1484
|
tagTheme: string;
|
1349
1485
|
filterable: boolean;
|
1350
1486
|
allowCreate: boolean;
|
1487
|
+
collapseTags: boolean;
|
1351
1488
|
popoverMinWidth: number;
|
1352
1489
|
idKey: string;
|
1353
1490
|
remoteMethod: (...args: any[]) => any;
|
@@ -1357,7 +1494,6 @@ declare const BkSelect: {
|
|
1357
1494
|
scrollHeight: number;
|
1358
1495
|
showSelectAll: boolean;
|
1359
1496
|
multipleMode: string;
|
1360
|
-
collapseTags: boolean;
|
1361
1497
|
noDataText: string;
|
1362
1498
|
noMatchText: string;
|
1363
1499
|
loadingText: string;
|
@@ -1367,6 +1503,7 @@ declare const BkSelect: {
|
|
1367
1503
|
customContent: boolean;
|
1368
1504
|
displayKey: string;
|
1369
1505
|
inputSearch: boolean;
|
1506
|
+
enableVirtualRender: boolean;
|
1370
1507
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
|
1371
1508
|
Option: import("vue").DefineComponent<{
|
1372
1509
|
value: import("vue-types").VueTypeValidableDef<any>;
|