bkui-vue 1.0.3-beta.7 → 1.0.3-beta.70
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 +148 -150
- package/dist/index.esm.js +17965 -16537
- package/dist/index.umd.js +148 -150
- package/dist/locale/en.esm.js +1 -1
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +3 -0
- package/lib/alert/alert.variable.css +3 -0
- package/lib/backtop/backtop.variable.css +3 -0
- package/lib/badge/badge.variable.css +3 -0
- package/lib/breadcrumb/breadcrumb.variable.css +3 -0
- package/lib/button/button.variable.css +3 -0
- package/lib/card/card.variable.css +3 -0
- package/lib/cascader/cascader.variable.css +3 -0
- package/lib/checkbox/checkbox.variable.css +3 -0
- package/lib/checkbox/index.js +4 -4
- package/lib/code-diff/code-diff.variable.css +3 -0
- package/lib/collapse/collapse.variable.css +3 -0
- package/lib/collapse-transition/collapse-transition.variable.css +3 -0
- package/lib/color-picker/color-picker.variable.css +3 -0
- package/lib/components.d.ts +1 -0
- package/lib/components.js +2 -5
- package/lib/config-provider/config-provider.d.ts +3 -0
- package/lib/config-provider/config-provider.variable.css +3 -0
- package/lib/config-provider/index.d.ts +4 -0
- package/lib/config-provider/token.d.ts +1 -0
- package/lib/container/container.variable.css +3 -0
- package/lib/date-picker/base/month-table.d.ts +2 -2
- package/lib/date-picker/date-picker.d.ts +1 -0
- package/lib/date-picker/date-picker.variable.css +3 -0
- package/lib/date-picker/index.d.ts +3 -0
- package/lib/date-picker/index.js +70 -32
- package/lib/date-picker/interface.d.ts +1 -1
- package/lib/date-picker/time-picker.d.ts +1 -0
- package/lib/date-picker/utils.d.ts +4 -0
- package/lib/dialog/dialog.css +93 -122
- package/lib/dialog/dialog.d.ts +39 -14
- package/lib/dialog/dialog.less +92 -98
- package/lib/dialog/dialog.variable.css +96 -122
- package/lib/dialog/index.d.ts +81 -30
- package/lib/dialog/index.js +146 -124
- package/lib/dialog/props.d.ts +18 -6
- package/lib/directives/index.js +0 -1
- package/lib/dist.index.js +0 -1
- package/lib/divider/divider.variable.css +3 -0
- package/lib/dropdown/dropdown.css +3 -1
- package/lib/dropdown/dropdown.variable.css +6 -1
- package/lib/exception/exception.variable.css +3 -0
- package/lib/fixed-navbar/fixed-navbar.variable.css +3 -0
- package/lib/form/form.variable.css +3 -0
- package/lib/form/index.js +3 -1
- package/lib/hooks.js +1 -8
- package/lib/icon/image-fill.js +82 -167
- package/lib/icon/img-error.js +82 -167
- package/lib/icon/img-placehoulder.js +82 -167
- package/lib/icon/index.d.ts +1 -0
- package/lib/icon/index.js +87 -2427
- package/lib/icon/info-line.js +82 -167
- package/lib/icon/info.js +82 -167
- package/lib/icon/left-shape.js +82 -167
- package/lib/icon/left-turn-line.js +82 -167
- package/lib/icon/loading.js +82 -167
- package/lib/icon/narrow-line.js +82 -167
- package/lib/icon/original.js +82 -167
- package/lib/icon/pdf-fill.js +82 -167
- package/lib/icon/play-shape.js +82 -167
- package/lib/icon/plus.js +82 -167
- package/lib/icon/ppt-fill.js +82 -167
- package/lib/icon/qq.js +82 -167
- package/lib/icon/right-shape.js +82 -167
- package/lib/icon/right-turn-line.js +82 -167
- package/lib/icon/search.js +82 -167
- package/lib/icon/share.js +82 -167
- package/lib/icon/spinner.js +82 -167
- package/lib/icon/success.js +82 -167
- package/lib/icon/switcher-loading.js +82 -167
- package/lib/icon/text-all.d.ts +4 -0
- package/lib/icon/text-all.js +191 -0
- package/lib/icon/text-file.js +82 -167
- package/lib/icon/text-fill.js +82 -167
- package/lib/icon/transfer.js +82 -167
- package/lib/icon/tree-application-shape.js +82 -167
- package/lib/icon/unfull-screen.js +82 -167
- package/lib/icon/unvisible.js +82 -167
- package/lib/icon/up-shape.js +82 -167
- package/lib/icon/upload.js +82 -167
- package/lib/icon/video-fill.js +82 -167
- package/lib/icon/warn.js +82 -167
- package/lib/icon/weixin-pro.js +82 -167
- package/lib/icon/weixin.js +82 -167
- package/lib/image/image-viewer.variable.css +3 -0
- package/lib/image/image.variable.css +3 -0
- package/lib/image/index.js +5 -2
- package/lib/index.js +0 -1
- package/lib/info-box/index.js +41 -455
- package/lib/info-box/info-box.css +6 -32
- package/lib/info-box/info-box.d.ts +1 -1
- package/lib/info-box/info-box.less +16 -47
- package/lib/info-box/info-box.variable.css +9 -32
- package/lib/input/index.js +5 -0
- package/lib/input/input.variable.css +3 -0
- package/lib/link/link.variable.css +3 -0
- package/lib/loading/loading.variable.css +3 -0
- package/lib/locale/index.js +4 -2
- package/lib/locale/lang/en.d.ts +1 -0
- package/lib/menu/menu.variable.css +3 -0
- package/lib/menu/submenu.variable.css +3 -0
- package/lib/message/message.variable.css +3 -0
- package/lib/modal/hooks.d.ts +6 -0
- package/lib/modal/index.d.ts +100 -52
- package/lib/modal/index.js +173 -74
- package/lib/modal/modal.css +41 -65
- package/lib/modal/modal.d.ts +40 -17
- package/lib/modal/modal.less +50 -57
- package/lib/modal/modal.variable.css +44 -65
- package/lib/modal/props.mixin.d.ts +12 -0
- package/lib/navigation/navigation.variable.css +3 -0
- package/lib/notify/notify.variable.css +3 -0
- package/lib/pagination/index.js +2 -1
- package/lib/pagination/pagination.variable.css +3 -0
- package/lib/plugin-popover/index.d.ts +1 -1
- package/lib/plugin-popover/index.js +45 -26
- package/lib/pop-confirm/index.js +8 -5
- package/lib/pop-confirm/pop-confirm.variable.css +3 -0
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.js +45 -26
- package/lib/popover/plugin-popover.d.ts +4 -1
- package/lib/popover/popover.css +3 -1
- package/lib/popover/popover.less +4 -1
- package/lib/popover/popover.variable.css +6 -1
- package/lib/preset.d.ts +2 -0
- package/lib/preset.js +14 -20
- package/lib/process/process.variable.css +3 -0
- package/lib/progress/progress.variable.css +3 -0
- package/lib/radio/index.js +5 -5
- package/lib/radio/radio.variable.css +3 -0
- package/lib/rate/rate.variable.css +3 -0
- package/lib/rate/star.variable.css +3 -0
- package/lib/resize-layout/index.js +1 -1
- package/lib/resize-layout/resize-layout.variable.css +3 -0
- package/lib/search-select/index.d.ts +375 -16
- package/lib/search-select/index.js +701 -366
- package/lib/search-select/input.d.ts +14 -5
- package/lib/search-select/search-select.css +20 -6
- package/lib/search-select/search-select.d.ts +129 -7
- package/lib/search-select/search-select.less +16 -12
- package/lib/search-select/search-select.variable.css +23 -6
- package/lib/search-select/selected.d.ts +116 -6
- package/lib/search-select/utils.d.ts +19 -6
- package/lib/select/index.d.ts +143 -6
- package/lib/select/index.js +1355 -78
- package/lib/select/option.d.ts +3 -1
- package/lib/select/pinyin/core.d.ts +14 -0
- package/lib/select/pinyin/dict.d.ts +34 -0
- package/lib/select/pinyin/index.d.ts +2 -0
- package/lib/select/select.css +55 -12
- package/lib/select/select.d.ts +59 -2
- package/lib/select/select.less +69 -19
- package/lib/select/select.variable.css +58 -12
- package/lib/select/selectTagInput.d.ts +7 -0
- package/lib/select/type.d.ts +2 -3
- package/lib/shared/index.js +67 -3
- package/lib/shared/utils.d.ts +12 -0
- package/lib/shared/vue-types.d.ts +5 -0
- package/lib/sideslider/index.d.ts +55 -9
- package/lib/sideslider/index.js +26 -25
- package/lib/sideslider/sideslider.css +51 -46
- package/lib/sideslider/sideslider.d.ts +25 -3
- package/lib/sideslider/sideslider.less +108 -104
- package/lib/sideslider/sideslider.variable.css +54 -46
- package/lib/slider/slider.variable.css +3 -0
- package/lib/steps/steps.variable.css +3 -0
- package/lib/styles/mixins/animate.variable.css +3 -0
- package/lib/styles/mixins/popper.variable.css +3 -0
- package/lib/styles/mixins/scroll.variable.css +3 -0
- package/lib/styles/reset.css +1 -3
- package/lib/styles/reset.less +3 -6
- package/lib/styles/reset.variable.css +4 -3
- package/lib/styles/themes/themes.less +5 -0
- package/lib/swiper/swiper.variable.css +3 -0
- package/lib/switcher/switcher.variable.css +3 -0
- package/lib/tab/tab.variable.css +3 -0
- package/lib/table/cache.d.ts +11 -3
- package/lib/table/components/table-column.d.ts +111 -5
- package/lib/table/index.d.ts +51 -5
- package/lib/table/index.js +504 -261
- package/lib/table/plugins/head-filter.variable.css +3 -0
- package/lib/table/plugins/head-sort.variable.css +3 -0
- package/lib/table/plugins/settings.variable.css +3 -0
- package/lib/table/plugins/use-draggable.d.ts +2 -2
- package/lib/table/plugins/use-observer-resize.d.ts +5 -0
- package/lib/table/props.d.ts +6 -4
- package/lib/table/table.css +6 -12
- package/lib/table/table.less +12 -9
- package/lib/table/table.variable.css +9 -12
- package/lib/table/use-attributes.d.ts +4 -42
- package/lib/table/utils.d.ts +2 -2
- package/lib/table-column/index.d.ts +235 -119
- package/lib/table-column/index.js +217 -30
- package/lib/tag/tag.variable.css +3 -0
- package/lib/tag-input/index.d.ts +4 -4
- package/lib/tag-input/tag-input.d.ts +2 -2
- package/lib/tag-input/tag-input.variable.css +3 -0
- package/lib/tag-input/tag-props.d.ts +1 -1
- package/lib/tag-input/tag-render.d.ts +1 -1
- package/lib/time-picker/index.d.ts +38 -35
- package/lib/time-picker/time-picker.variable.css +3 -0
- package/lib/timeline/index.d.ts +80 -44
- package/lib/timeline/index.js +54 -65
- package/lib/timeline/timeline.d.ts +46 -29
- package/lib/timeline/timeline.variable.css +3 -0
- package/lib/transfer/transfer.variable.css +3 -0
- package/lib/tree/tree.variable.css +3 -0
- package/lib/upload/index.d.ts +12 -0
- package/lib/upload/index.js +21 -30
- package/lib/upload/props.d.ts +3 -0
- package/lib/upload/upload-trigger.d.ts +6 -0
- package/lib/upload/upload.d.ts +6 -0
- package/lib/upload/upload.variable.css +3 -0
- package/lib/virtual-render/index.d.ts +9 -9
- package/lib/virtual-render/virtual-render.d.ts +3 -3
- package/lib/virtual-render/virtual-render.variable.css +3 -0
- package/package.json +3 -2
package/lib/select/index.d.ts
CHANGED
@@ -283,6 +283,11 @@ declare const BkSelect: {
|
|
283
283
|
} & {
|
284
284
|
default: boolean;
|
285
285
|
};
|
286
|
+
disableFocusBehavior: import("vue-types").VueTypeValidableDef<boolean> & {
|
287
|
+
default: boolean;
|
288
|
+
} & {
|
289
|
+
default: boolean;
|
290
|
+
};
|
286
291
|
keepSearchValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
287
292
|
default: boolean;
|
288
293
|
} & {
|
@@ -297,6 +302,20 @@ declare const BkSelect: {
|
|
297
302
|
filterOption: {
|
298
303
|
type: FunctionConstructor;
|
299
304
|
};
|
305
|
+
searchWithPinyin: import("vue-types").VueTypeValidableDef<boolean> & {
|
306
|
+
default: boolean;
|
307
|
+
} & {
|
308
|
+
default: boolean;
|
309
|
+
};
|
310
|
+
highlightKeyword: import("vue-types").VueTypeValidableDef<boolean> & {
|
311
|
+
default: boolean;
|
312
|
+
} & {
|
313
|
+
default: boolean;
|
314
|
+
};
|
315
|
+
trigger: {
|
316
|
+
type: import("vue").PropType<"default" | "manual">;
|
317
|
+
default: string;
|
318
|
+
};
|
300
319
|
}>> & {
|
301
320
|
onFocus?: (...args: any[]) => any;
|
302
321
|
onBlur?: (...args: any[]) => any;
|
@@ -308,6 +327,7 @@ declare const BkSelect: {
|
|
308
327
|
"onScroll-end"?: (...args: any[]) => any;
|
309
328
|
"onTag-remove"?: (...args: any[]) => any;
|
310
329
|
onDeselect?: (...args: any[]) => any;
|
330
|
+
"onSearch-change"?: (...args: any[]) => any;
|
311
331
|
}, {
|
312
332
|
t: import("vue").ComputedRef<{
|
313
333
|
noData: string;
|
@@ -367,6 +387,9 @@ declare const BkSelect: {
|
|
367
387
|
} & {
|
368
388
|
default: boolean;
|
369
389
|
};
|
390
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
391
|
+
default: "normal" | "simplicity";
|
392
|
+
};
|
370
393
|
}>> & {
|
371
394
|
onKeydown?: (...args: any[]) => any;
|
372
395
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -421,6 +444,9 @@ declare const BkSelect: {
|
|
421
444
|
} & {
|
422
445
|
default: boolean;
|
423
446
|
};
|
447
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
448
|
+
default: "normal" | "simplicity";
|
449
|
+
};
|
424
450
|
}>> & {
|
425
451
|
onKeydown?: (...args: any[]) => any;
|
426
452
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -430,6 +456,7 @@ declare const BkSelect: {
|
|
430
456
|
disabled: boolean;
|
431
457
|
placeholder: string;
|
432
458
|
tagTheme: "" | "info" | "success" | "warning" | "danger";
|
459
|
+
behavior: "normal" | "simplicity";
|
433
460
|
selected: import("./type").ISelected[];
|
434
461
|
filterable: boolean;
|
435
462
|
allowCreate: boolean;
|
@@ -475,6 +502,9 @@ declare const BkSelect: {
|
|
475
502
|
} & {
|
476
503
|
default: boolean;
|
477
504
|
};
|
505
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
506
|
+
default: "normal" | "simplicity";
|
507
|
+
};
|
478
508
|
}>> & {
|
479
509
|
onKeydown?: (...args: any[]) => any;
|
480
510
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -499,6 +529,7 @@ declare const BkSelect: {
|
|
499
529
|
disabled: boolean;
|
500
530
|
placeholder: string;
|
501
531
|
tagTheme: "" | "info" | "success" | "warning" | "danger";
|
532
|
+
behavior: "normal" | "simplicity";
|
502
533
|
selected: import("./type").ISelected[];
|
503
534
|
filterable: boolean;
|
504
535
|
allowCreate: boolean;
|
@@ -514,6 +545,7 @@ declare const BkSelect: {
|
|
514
545
|
curContentText: import("vue").ComputedRef<string>;
|
515
546
|
isGroup: import("vue").ComputedRef<boolean>;
|
516
547
|
searchValue: import("vue").Ref<string>;
|
548
|
+
curSearchValue: import("vue").ComputedRef<string>;
|
517
549
|
customOptionName: import("vue").Ref<string>;
|
518
550
|
isShowAll: import("vue").ComputedRef<boolean>;
|
519
551
|
isShowSelectAll: import("vue").ComputedRef<boolean>;
|
@@ -649,6 +681,7 @@ declare const BkSelect: {
|
|
649
681
|
};
|
650
682
|
}>>>>;
|
651
683
|
isAllSelected: import("vue").ComputedRef<boolean>;
|
684
|
+
isAll: import("vue").ComputedRef<boolean>;
|
652
685
|
focusInput: () => void;
|
653
686
|
setHover: () => void;
|
654
687
|
cancelHover: () => void;
|
@@ -658,7 +691,8 @@ declare const BkSelect: {
|
|
658
691
|
handleClear: (e: Event) => void;
|
659
692
|
hidePopover: () => void;
|
660
693
|
showPopover: () => void;
|
661
|
-
|
694
|
+
toggleSelectAll: () => void;
|
695
|
+
toggleAll: () => void;
|
662
696
|
handleOptionSelected: (option: import("./type").OptionInstanceType) => void;
|
663
697
|
handleClickOutside: ({ event }: {
|
664
698
|
event: any;
|
@@ -674,7 +708,7 @@ declare const BkSelect: {
|
|
674
708
|
localSelectAllText: import("vue").ComputedRef<string>;
|
675
709
|
resolveClassName: (cls: string) => string;
|
676
710
|
handleCreateCustomOption: (val: string | number, e: KeyboardEvent) => void;
|
677
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "select" | "toggle" | "clear" | "update:modelValue" | "scroll-end" | "tag-remove" | "deselect")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
711
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "select" | "toggle" | "clear" | "update:modelValue" | "scroll-end" | "tag-remove" | "deselect" | "search-change")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
678
712
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
679
713
|
multiple: import("vue-types").VueTypeValidableDef<boolean> & {
|
680
714
|
default: boolean;
|
@@ -956,6 +990,11 @@ declare const BkSelect: {
|
|
956
990
|
} & {
|
957
991
|
default: boolean;
|
958
992
|
};
|
993
|
+
disableFocusBehavior: import("vue-types").VueTypeValidableDef<boolean> & {
|
994
|
+
default: boolean;
|
995
|
+
} & {
|
996
|
+
default: boolean;
|
997
|
+
};
|
959
998
|
keepSearchValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
960
999
|
default: boolean;
|
961
1000
|
} & {
|
@@ -970,6 +1009,20 @@ declare const BkSelect: {
|
|
970
1009
|
filterOption: {
|
971
1010
|
type: FunctionConstructor;
|
972
1011
|
};
|
1012
|
+
searchWithPinyin: import("vue-types").VueTypeValidableDef<boolean> & {
|
1013
|
+
default: boolean;
|
1014
|
+
} & {
|
1015
|
+
default: boolean;
|
1016
|
+
};
|
1017
|
+
highlightKeyword: import("vue-types").VueTypeValidableDef<boolean> & {
|
1018
|
+
default: boolean;
|
1019
|
+
} & {
|
1020
|
+
default: boolean;
|
1021
|
+
};
|
1022
|
+
trigger: {
|
1023
|
+
type: import("vue").PropType<"default" | "manual">;
|
1024
|
+
default: string;
|
1025
|
+
};
|
973
1026
|
}>> & {
|
974
1027
|
onFocus?: (...args: any[]) => any;
|
975
1028
|
onBlur?: (...args: any[]) => any;
|
@@ -981,10 +1034,12 @@ declare const BkSelect: {
|
|
981
1034
|
"onScroll-end"?: (...args: any[]) => any;
|
982
1035
|
"onTag-remove"?: (...args: any[]) => any;
|
983
1036
|
onDeselect?: (...args: any[]) => any;
|
1037
|
+
"onSearch-change"?: (...args: any[]) => any;
|
984
1038
|
}, {
|
985
1039
|
prefix: string;
|
986
1040
|
size: "default" | "small" | "large" | "huge";
|
987
1041
|
disabled: boolean;
|
1042
|
+
trigger: "default" | "manual";
|
988
1043
|
multiple: boolean;
|
989
1044
|
showOnInit: boolean;
|
990
1045
|
placeholder: string;
|
@@ -998,6 +1053,7 @@ declare const BkSelect: {
|
|
998
1053
|
withValidate: boolean;
|
999
1054
|
noDataText: string;
|
1000
1055
|
showSelectedIcon: boolean;
|
1056
|
+
highlightKeyword: boolean;
|
1001
1057
|
filterable: boolean;
|
1002
1058
|
allowCreate: boolean;
|
1003
1059
|
collapseTags: boolean;
|
@@ -1019,7 +1075,9 @@ declare const BkSelect: {
|
|
1019
1075
|
enableVirtualRender: boolean;
|
1020
1076
|
allowEmptyValues: unknown[];
|
1021
1077
|
autoFocus: boolean;
|
1078
|
+
disableFocusBehavior: boolean;
|
1022
1079
|
keepSearchValue: boolean;
|
1080
|
+
searchWithPinyin: boolean;
|
1023
1081
|
}, true, {}, {}, {
|
1024
1082
|
P: {};
|
1025
1083
|
B: {};
|
@@ -1309,6 +1367,11 @@ declare const BkSelect: {
|
|
1309
1367
|
} & {
|
1310
1368
|
default: boolean;
|
1311
1369
|
};
|
1370
|
+
disableFocusBehavior: import("vue-types").VueTypeValidableDef<boolean> & {
|
1371
|
+
default: boolean;
|
1372
|
+
} & {
|
1373
|
+
default: boolean;
|
1374
|
+
};
|
1312
1375
|
keepSearchValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
1313
1376
|
default: boolean;
|
1314
1377
|
} & {
|
@@ -1323,6 +1386,20 @@ declare const BkSelect: {
|
|
1323
1386
|
filterOption: {
|
1324
1387
|
type: FunctionConstructor;
|
1325
1388
|
};
|
1389
|
+
searchWithPinyin: import("vue-types").VueTypeValidableDef<boolean> & {
|
1390
|
+
default: boolean;
|
1391
|
+
} & {
|
1392
|
+
default: boolean;
|
1393
|
+
};
|
1394
|
+
highlightKeyword: import("vue-types").VueTypeValidableDef<boolean> & {
|
1395
|
+
default: boolean;
|
1396
|
+
} & {
|
1397
|
+
default: boolean;
|
1398
|
+
};
|
1399
|
+
trigger: {
|
1400
|
+
type: import("vue").PropType<"default" | "manual">;
|
1401
|
+
default: string;
|
1402
|
+
};
|
1326
1403
|
}>> & {
|
1327
1404
|
onFocus?: (...args: any[]) => any;
|
1328
1405
|
onBlur?: (...args: any[]) => any;
|
@@ -1334,6 +1411,7 @@ declare const BkSelect: {
|
|
1334
1411
|
"onScroll-end"?: (...args: any[]) => any;
|
1335
1412
|
"onTag-remove"?: (...args: any[]) => any;
|
1336
1413
|
onDeselect?: (...args: any[]) => any;
|
1414
|
+
"onSearch-change"?: (...args: any[]) => any;
|
1337
1415
|
}, {
|
1338
1416
|
t: import("vue").ComputedRef<{
|
1339
1417
|
noData: string;
|
@@ -1393,6 +1471,9 @@ declare const BkSelect: {
|
|
1393
1471
|
} & {
|
1394
1472
|
default: boolean;
|
1395
1473
|
};
|
1474
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
1475
|
+
default: "normal" | "simplicity";
|
1476
|
+
};
|
1396
1477
|
}>> & {
|
1397
1478
|
onKeydown?: (...args: any[]) => any;
|
1398
1479
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -1447,6 +1528,9 @@ declare const BkSelect: {
|
|
1447
1528
|
} & {
|
1448
1529
|
default: boolean;
|
1449
1530
|
};
|
1531
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
1532
|
+
default: "normal" | "simplicity";
|
1533
|
+
};
|
1450
1534
|
}>> & {
|
1451
1535
|
onKeydown?: (...args: any[]) => any;
|
1452
1536
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -1456,6 +1540,7 @@ declare const BkSelect: {
|
|
1456
1540
|
disabled: boolean;
|
1457
1541
|
placeholder: string;
|
1458
1542
|
tagTheme: "" | "info" | "success" | "warning" | "danger";
|
1543
|
+
behavior: "normal" | "simplicity";
|
1459
1544
|
selected: import("./type").ISelected[];
|
1460
1545
|
filterable: boolean;
|
1461
1546
|
allowCreate: boolean;
|
@@ -1501,6 +1586,9 @@ declare const BkSelect: {
|
|
1501
1586
|
} & {
|
1502
1587
|
default: boolean;
|
1503
1588
|
};
|
1589
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
1590
|
+
default: "normal" | "simplicity";
|
1591
|
+
};
|
1504
1592
|
}>> & {
|
1505
1593
|
onKeydown?: (...args: any[]) => any;
|
1506
1594
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -1525,6 +1613,7 @@ declare const BkSelect: {
|
|
1525
1613
|
disabled: boolean;
|
1526
1614
|
placeholder: string;
|
1527
1615
|
tagTheme: "" | "info" | "success" | "warning" | "danger";
|
1616
|
+
behavior: "normal" | "simplicity";
|
1528
1617
|
selected: import("./type").ISelected[];
|
1529
1618
|
filterable: boolean;
|
1530
1619
|
allowCreate: boolean;
|
@@ -1540,6 +1629,7 @@ declare const BkSelect: {
|
|
1540
1629
|
curContentText: import("vue").ComputedRef<string>;
|
1541
1630
|
isGroup: import("vue").ComputedRef<boolean>;
|
1542
1631
|
searchValue: import("vue").Ref<string>;
|
1632
|
+
curSearchValue: import("vue").ComputedRef<string>;
|
1543
1633
|
customOptionName: import("vue").Ref<string>;
|
1544
1634
|
isShowAll: import("vue").ComputedRef<boolean>;
|
1545
1635
|
isShowSelectAll: import("vue").ComputedRef<boolean>;
|
@@ -1675,6 +1765,7 @@ declare const BkSelect: {
|
|
1675
1765
|
};
|
1676
1766
|
}>>>>;
|
1677
1767
|
isAllSelected: import("vue").ComputedRef<boolean>;
|
1768
|
+
isAll: import("vue").ComputedRef<boolean>;
|
1678
1769
|
focusInput: () => void;
|
1679
1770
|
setHover: () => void;
|
1680
1771
|
cancelHover: () => void;
|
@@ -1684,7 +1775,8 @@ declare const BkSelect: {
|
|
1684
1775
|
handleClear: (e: Event) => void;
|
1685
1776
|
hidePopover: () => void;
|
1686
1777
|
showPopover: () => void;
|
1687
|
-
|
1778
|
+
toggleSelectAll: () => void;
|
1779
|
+
toggleAll: () => void;
|
1688
1780
|
handleOptionSelected: (option: import("./type").OptionInstanceType) => void;
|
1689
1781
|
handleClickOutside: ({ event }: {
|
1690
1782
|
event: any;
|
@@ -1704,6 +1796,7 @@ declare const BkSelect: {
|
|
1704
1796
|
prefix: string;
|
1705
1797
|
size: "default" | "small" | "large" | "huge";
|
1706
1798
|
disabled: boolean;
|
1799
|
+
trigger: "default" | "manual";
|
1707
1800
|
multiple: boolean;
|
1708
1801
|
showOnInit: boolean;
|
1709
1802
|
placeholder: string;
|
@@ -1717,6 +1810,7 @@ declare const BkSelect: {
|
|
1717
1810
|
withValidate: boolean;
|
1718
1811
|
noDataText: string;
|
1719
1812
|
showSelectedIcon: boolean;
|
1813
|
+
highlightKeyword: boolean;
|
1720
1814
|
filterable: boolean;
|
1721
1815
|
allowCreate: boolean;
|
1722
1816
|
collapseTags: boolean;
|
@@ -1738,7 +1832,9 @@ declare const BkSelect: {
|
|
1738
1832
|
enableVirtualRender: boolean;
|
1739
1833
|
allowEmptyValues: unknown[];
|
1740
1834
|
autoFocus: boolean;
|
1835
|
+
disableFocusBehavior: boolean;
|
1741
1836
|
keepSearchValue: boolean;
|
1837
|
+
searchWithPinyin: boolean;
|
1742
1838
|
}>;
|
1743
1839
|
__isFragment?: never;
|
1744
1840
|
__isTeleport?: never;
|
@@ -2025,6 +2121,11 @@ declare const BkSelect: {
|
|
2025
2121
|
} & {
|
2026
2122
|
default: boolean;
|
2027
2123
|
};
|
2124
|
+
disableFocusBehavior: import("vue-types").VueTypeValidableDef<boolean> & {
|
2125
|
+
default: boolean;
|
2126
|
+
} & {
|
2127
|
+
default: boolean;
|
2128
|
+
};
|
2028
2129
|
keepSearchValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
2029
2130
|
default: boolean;
|
2030
2131
|
} & {
|
@@ -2039,6 +2140,20 @@ declare const BkSelect: {
|
|
2039
2140
|
filterOption: {
|
2040
2141
|
type: FunctionConstructor;
|
2041
2142
|
};
|
2143
|
+
searchWithPinyin: import("vue-types").VueTypeValidableDef<boolean> & {
|
2144
|
+
default: boolean;
|
2145
|
+
} & {
|
2146
|
+
default: boolean;
|
2147
|
+
};
|
2148
|
+
highlightKeyword: import("vue-types").VueTypeValidableDef<boolean> & {
|
2149
|
+
default: boolean;
|
2150
|
+
} & {
|
2151
|
+
default: boolean;
|
2152
|
+
};
|
2153
|
+
trigger: {
|
2154
|
+
type: import("vue").PropType<"default" | "manual">;
|
2155
|
+
default: string;
|
2156
|
+
};
|
2042
2157
|
}>> & {
|
2043
2158
|
onFocus?: (...args: any[]) => any;
|
2044
2159
|
onBlur?: (...args: any[]) => any;
|
@@ -2050,6 +2165,7 @@ declare const BkSelect: {
|
|
2050
2165
|
"onScroll-end"?: (...args: any[]) => any;
|
2051
2166
|
"onTag-remove"?: (...args: any[]) => any;
|
2052
2167
|
onDeselect?: (...args: any[]) => any;
|
2168
|
+
"onSearch-change"?: (...args: any[]) => any;
|
2053
2169
|
}, {
|
2054
2170
|
t: import("vue").ComputedRef<{
|
2055
2171
|
noData: string;
|
@@ -2109,6 +2225,9 @@ declare const BkSelect: {
|
|
2109
2225
|
} & {
|
2110
2226
|
default: boolean;
|
2111
2227
|
};
|
2228
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
2229
|
+
default: "normal" | "simplicity";
|
2230
|
+
};
|
2112
2231
|
}>> & {
|
2113
2232
|
onKeydown?: (...args: any[]) => any;
|
2114
2233
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -2163,6 +2282,9 @@ declare const BkSelect: {
|
|
2163
2282
|
} & {
|
2164
2283
|
default: boolean;
|
2165
2284
|
};
|
2285
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
2286
|
+
default: "normal" | "simplicity";
|
2287
|
+
};
|
2166
2288
|
}>> & {
|
2167
2289
|
onKeydown?: (...args: any[]) => any;
|
2168
2290
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -2172,6 +2294,7 @@ declare const BkSelect: {
|
|
2172
2294
|
disabled: boolean;
|
2173
2295
|
placeholder: string;
|
2174
2296
|
tagTheme: "" | "info" | "success" | "warning" | "danger";
|
2297
|
+
behavior: "normal" | "simplicity";
|
2175
2298
|
selected: import("./type").ISelected[];
|
2176
2299
|
filterable: boolean;
|
2177
2300
|
allowCreate: boolean;
|
@@ -2217,6 +2340,9 @@ declare const BkSelect: {
|
|
2217
2340
|
} & {
|
2218
2341
|
default: boolean;
|
2219
2342
|
};
|
2343
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
2344
|
+
default: "normal" | "simplicity";
|
2345
|
+
};
|
2220
2346
|
}>> & {
|
2221
2347
|
onKeydown?: (...args: any[]) => any;
|
2222
2348
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -2241,6 +2367,7 @@ declare const BkSelect: {
|
|
2241
2367
|
disabled: boolean;
|
2242
2368
|
placeholder: string;
|
2243
2369
|
tagTheme: "" | "info" | "success" | "warning" | "danger";
|
2370
|
+
behavior: "normal" | "simplicity";
|
2244
2371
|
selected: import("./type").ISelected[];
|
2245
2372
|
filterable: boolean;
|
2246
2373
|
allowCreate: boolean;
|
@@ -2256,6 +2383,7 @@ declare const BkSelect: {
|
|
2256
2383
|
curContentText: import("vue").ComputedRef<string>;
|
2257
2384
|
isGroup: import("vue").ComputedRef<boolean>;
|
2258
2385
|
searchValue: import("vue").Ref<string>;
|
2386
|
+
curSearchValue: import("vue").ComputedRef<string>;
|
2259
2387
|
customOptionName: import("vue").Ref<string>;
|
2260
2388
|
isShowAll: import("vue").ComputedRef<boolean>;
|
2261
2389
|
isShowSelectAll: import("vue").ComputedRef<boolean>;
|
@@ -2391,6 +2519,7 @@ declare const BkSelect: {
|
|
2391
2519
|
};
|
2392
2520
|
}>>>>;
|
2393
2521
|
isAllSelected: import("vue").ComputedRef<boolean>;
|
2522
|
+
isAll: import("vue").ComputedRef<boolean>;
|
2394
2523
|
focusInput: () => void;
|
2395
2524
|
setHover: () => void;
|
2396
2525
|
cancelHover: () => void;
|
@@ -2400,7 +2529,8 @@ declare const BkSelect: {
|
|
2400
2529
|
handleClear: (e: Event) => void;
|
2401
2530
|
hidePopover: () => void;
|
2402
2531
|
showPopover: () => void;
|
2403
|
-
|
2532
|
+
toggleSelectAll: () => void;
|
2533
|
+
toggleAll: () => void;
|
2404
2534
|
handleOptionSelected: (option: import("./type").OptionInstanceType) => void;
|
2405
2535
|
handleClickOutside: ({ event }: {
|
2406
2536
|
event: any;
|
@@ -2416,10 +2546,11 @@ declare const BkSelect: {
|
|
2416
2546
|
localSelectAllText: import("vue").ComputedRef<string>;
|
2417
2547
|
resolveClassName: (cls: string) => string;
|
2418
2548
|
handleCreateCustomOption: (val: string | number, e: KeyboardEvent) => void;
|
2419
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "select" | "toggle" | "clear" | "update:modelValue" | "scroll-end" | "tag-remove" | "deselect")[], "blur" | "change" | "focus" | "select" | "toggle" | "clear" | "update:modelValue" | "scroll-end" | "tag-remove" | "deselect", {
|
2549
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "select" | "toggle" | "clear" | "update:modelValue" | "scroll-end" | "tag-remove" | "deselect" | "search-change")[], "blur" | "change" | "focus" | "select" | "toggle" | "clear" | "update:modelValue" | "scroll-end" | "tag-remove" | "deselect" | "search-change", {
|
2420
2550
|
prefix: string;
|
2421
2551
|
size: "default" | "small" | "large" | "huge";
|
2422
2552
|
disabled: boolean;
|
2553
|
+
trigger: "default" | "manual";
|
2423
2554
|
multiple: boolean;
|
2424
2555
|
showOnInit: boolean;
|
2425
2556
|
placeholder: string;
|
@@ -2433,6 +2564,7 @@ declare const BkSelect: {
|
|
2433
2564
|
withValidate: boolean;
|
2434
2565
|
noDataText: string;
|
2435
2566
|
showSelectedIcon: boolean;
|
2567
|
+
highlightKeyword: boolean;
|
2436
2568
|
filterable: boolean;
|
2437
2569
|
allowCreate: boolean;
|
2438
2570
|
collapseTags: boolean;
|
@@ -2454,7 +2586,9 @@ declare const BkSelect: {
|
|
2454
2586
|
enableVirtualRender: boolean;
|
2455
2587
|
allowEmptyValues: unknown[];
|
2456
2588
|
autoFocus: boolean;
|
2589
|
+
disableFocusBehavior: boolean;
|
2457
2590
|
keepSearchValue: boolean;
|
2591
|
+
searchWithPinyin: boolean;
|
2458
2592
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Readonly<{
|
2459
2593
|
Option: import("vue").DefineComponent<{
|
2460
2594
|
id: {
|
@@ -2480,10 +2614,13 @@ declare const BkSelect: {
|
|
2480
2614
|
selectedStyle: import("vue").ComputedRef<import("../shared").SelectedTypeEnum>;
|
2481
2615
|
optionName: import("vue").ComputedRef<string | number>;
|
2482
2616
|
optionID: import("vue").ComputedRef<unknown>;
|
2483
|
-
|
2617
|
+
highlightKeyword: import("vue").ComputedRef<boolean>;
|
2484
2618
|
handleOptionClick: () => void;
|
2485
2619
|
handleMouseEnter: () => void;
|
2486
2620
|
resolveClassName: (cls: string) => string;
|
2621
|
+
transformNode: (str: string) => string | (string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
2622
|
+
[key: string]: any;
|
2623
|
+
}>)[];
|
2487
2624
|
visible: import("vue").Ref<boolean>;
|
2488
2625
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
2489
2626
|
id: {
|