bkui-vue 1.0.3-beta.9 → 2.0.1-beta.2
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 +71 -73
- package/dist/index.esm.js +21328 -19060
- package/dist/index.umd.js +71 -73
- 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.css +11 -0
- package/lib/collapse/collapse.d.ts +11 -0
- package/lib/collapse/collapse.less +15 -1
- package/lib/collapse/collapse.variable.css +14 -0
- package/lib/collapse/index.d.ts +23 -0
- package/lib/collapse/index.js +9 -1
- package/lib/collapse/props.d.ts +8 -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 +2 -0
- package/lib/components.js +3 -1
- 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 +176 -150
- package/lib/dialog/dialog.d.ts +40 -109
- package/lib/dialog/dialog.less +51 -124
- package/lib/dialog/dialog.variable.css +179 -150
- package/lib/dialog/index.d.ts +99 -263
- package/lib/dialog/index.js +244 -246
- package/lib/dialog/props.d.ts +10 -35
- package/lib/directives/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/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/info-box/index.d.ts +2 -2
- package/lib/info-box/index.js +257 -516
- package/lib/info-box/info-box.css +58 -28
- package/lib/info-box/info-box.d.ts +18 -16
- package/lib/info-box/info-box.less +82 -51
- package/lib/info-box/info-box.variable.css +61 -28
- package/lib/info-box/render-component.d.ts +4 -0
- package/lib/input/index.js +7 -1
- 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 +41 -309
- package/lib/modal/index.js +285 -671
- package/lib/modal/mask.d.ts +6 -0
- package/lib/modal/modal.css +155 -76
- package/lib/modal/modal.d.ts +18 -116
- package/lib/modal/modal.less +107 -55
- package/lib/modal/modal.variable.css +158 -76
- package/lib/modal/props.mixin.d.ts +5 -41
- package/lib/navigation/navigation.variable.css +3 -0
- package/lib/notify/notify.variable.css +3 -0
- package/lib/overflow-title/index.js +46 -52
- 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/process/process.variable.css +3 -0
- package/lib/progress/progress.variable.css +3 -0
- package/lib/radio/index.d.ts +29 -0
- package/lib/radio/index.js +39 -21
- package/lib/radio/radio-button.d.ts +10 -0
- package/lib/radio/radio-group.d.ts +10 -0
- package/lib/radio/radio.d.ts +10 -0
- 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/scrollbar/index.d.ts +15 -0
- package/lib/scrollbar/index.js +18763 -0
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +2 -0
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/index.d.ts +241 -0
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +1 -0
- package/lib/scrollbar/scrollbar.css +75 -0
- package/lib/scrollbar/scrollbar.less +94 -0
- package/lib/scrollbar/scrollbar.variable.css +204 -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 +124 -6
- package/lib/select/index.js +1336 -72
- 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 +50 -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.d.ts +0 -1
- package/lib/shared/index.js +70 -50
- package/lib/shared/utils.d.ts +12 -0
- package/lib/shared/vue-types.d.ts +5 -0
- package/lib/sideslider/index.d.ts +55 -185
- package/lib/sideslider/index.js +81 -55
- package/lib/sideslider/sideslider.css +26 -90
- package/lib/sideslider/sideslider.d.ts +25 -87
- package/lib/sideslider/sideslider.less +56 -132
- package/lib/sideslider/sideslider.variable.css +29 -90
- package/lib/slider/index.d.ts +19 -0
- package/lib/slider/index.js +45 -5
- package/lib/slider/slider.css +14 -0
- package/lib/slider/slider.d.ts +9 -0
- package/lib/slider/slider.less +15 -0
- package/lib/slider/slider.variable.css +17 -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-cell.d.ts +3 -2
- package/lib/table/components/table-column.d.ts +7 -17
- package/lib/table/const.d.ts +4 -4
- package/lib/table/index.d.ts +29 -64
- package/lib/table/index.js +18068 -613
- package/lib/table/plugins/head-filter.css +8 -4
- package/lib/table/plugins/head-filter.less +6 -3
- package/lib/table/plugins/head-filter.variable.css +11 -4
- package/lib/table/plugins/head-sort.variable.css +3 -0
- package/lib/table/plugins/settings.variable.css +3 -0
- package/lib/table/plugins/use-active-columns.d.ts +2 -2
- package/lib/table/plugins/use-column-template.d.ts +7 -0
- package/lib/table/plugins/use-draggable.d.ts +2 -2
- package/lib/table/plugins/use-fixed-column.d.ts +1 -1
- package/lib/table/plugins/use-observer-resize.d.ts +5 -0
- package/lib/table/plugins/use-pagination.d.ts +3 -1
- package/lib/table/plugins/use-shift-key.d.ts +11 -0
- package/lib/table/props.d.ts +17 -7
- package/lib/table/table.css +112 -58
- package/lib/table/table.d.ts +11 -0
- package/lib/table/table.less +46 -58
- package/lib/table/table.variable.css +115 -58
- package/lib/table/use-attributes.d.ts +6 -43
- package/lib/table/use-column.d.ts +9 -10
- package/lib/table/use-common.d.ts +1 -1
- package/lib/table/use-render.d.ts +1 -1
- package/lib/table/utils.d.ts +1 -1
- package/lib/table-column/index.d.ts +92 -266
- package/lib/table-column/index.js +24 -98
- 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/constant.d.ts +3 -1
- package/lib/tree/index.d.ts +44 -0
- package/lib/tree/index.js +17548 -25
- package/lib/tree/props.d.ts +18 -0
- package/lib/tree/tree.css +76 -2
- package/lib/tree/tree.d.ts +28 -2
- package/lib/tree/tree.variable.css +79 -2
- package/lib/tree/use-intersection-observer.d.ts +27 -0
- package/lib/tree/use-node-attribute.d.ts +9 -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 +36 -9
- package/lib/virtual-render/index.js +295 -80
- package/lib/virtual-render/props.d.ts +16 -0
- package/lib/virtual-render/use-fix-top.d.ts +2 -7
- package/lib/virtual-render/use-scrollbar.d.ts +24 -0
- package/lib/virtual-render/v-virtual-render.d.ts +2 -1
- package/lib/virtual-render/virtual-render.css +76 -2
- package/lib/virtual-render/virtual-render.d.ts +16 -3
- package/lib/virtual-render/virtual-render.less +3 -3
- package/lib/virtual-render/virtual-render.variable.css +79 -2
- package/package.json +1 -1
- package/lib/shared/mask.d.ts +0 -11
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,16 @@ 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
|
+
};
|
300
315
|
}>> & {
|
301
316
|
onFocus?: (...args: any[]) => any;
|
302
317
|
onBlur?: (...args: any[]) => any;
|
@@ -308,6 +323,7 @@ declare const BkSelect: {
|
|
308
323
|
"onScroll-end"?: (...args: any[]) => any;
|
309
324
|
"onTag-remove"?: (...args: any[]) => any;
|
310
325
|
onDeselect?: (...args: any[]) => any;
|
326
|
+
"onSearch-change"?: (...args: any[]) => any;
|
311
327
|
}, {
|
312
328
|
t: import("vue").ComputedRef<{
|
313
329
|
noData: string;
|
@@ -367,6 +383,9 @@ declare const BkSelect: {
|
|
367
383
|
} & {
|
368
384
|
default: boolean;
|
369
385
|
};
|
386
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
387
|
+
default: "normal" | "simplicity";
|
388
|
+
};
|
370
389
|
}>> & {
|
371
390
|
onKeydown?: (...args: any[]) => any;
|
372
391
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -421,6 +440,9 @@ declare const BkSelect: {
|
|
421
440
|
} & {
|
422
441
|
default: boolean;
|
423
442
|
};
|
443
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
444
|
+
default: "normal" | "simplicity";
|
445
|
+
};
|
424
446
|
}>> & {
|
425
447
|
onKeydown?: (...args: any[]) => any;
|
426
448
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -430,6 +452,7 @@ declare const BkSelect: {
|
|
430
452
|
disabled: boolean;
|
431
453
|
placeholder: string;
|
432
454
|
tagTheme: "" | "info" | "success" | "warning" | "danger";
|
455
|
+
behavior: "normal" | "simplicity";
|
433
456
|
selected: import("./type").ISelected[];
|
434
457
|
filterable: boolean;
|
435
458
|
allowCreate: boolean;
|
@@ -475,6 +498,9 @@ declare const BkSelect: {
|
|
475
498
|
} & {
|
476
499
|
default: boolean;
|
477
500
|
};
|
501
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
502
|
+
default: "normal" | "simplicity";
|
503
|
+
};
|
478
504
|
}>> & {
|
479
505
|
onKeydown?: (...args: any[]) => any;
|
480
506
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -499,6 +525,7 @@ declare const BkSelect: {
|
|
499
525
|
disabled: boolean;
|
500
526
|
placeholder: string;
|
501
527
|
tagTheme: "" | "info" | "success" | "warning" | "danger";
|
528
|
+
behavior: "normal" | "simplicity";
|
502
529
|
selected: import("./type").ISelected[];
|
503
530
|
filterable: boolean;
|
504
531
|
allowCreate: boolean;
|
@@ -514,6 +541,7 @@ declare const BkSelect: {
|
|
514
541
|
curContentText: import("vue").ComputedRef<string>;
|
515
542
|
isGroup: import("vue").ComputedRef<boolean>;
|
516
543
|
searchValue: import("vue").Ref<string>;
|
544
|
+
curSearchValue: import("vue").ComputedRef<string>;
|
517
545
|
customOptionName: import("vue").Ref<string>;
|
518
546
|
isShowAll: import("vue").ComputedRef<boolean>;
|
519
547
|
isShowSelectAll: import("vue").ComputedRef<boolean>;
|
@@ -649,6 +677,7 @@ declare const BkSelect: {
|
|
649
677
|
};
|
650
678
|
}>>>>;
|
651
679
|
isAllSelected: import("vue").ComputedRef<boolean>;
|
680
|
+
isAll: import("vue").ComputedRef<boolean>;
|
652
681
|
focusInput: () => void;
|
653
682
|
setHover: () => void;
|
654
683
|
cancelHover: () => void;
|
@@ -658,7 +687,8 @@ declare const BkSelect: {
|
|
658
687
|
handleClear: (e: Event) => void;
|
659
688
|
hidePopover: () => void;
|
660
689
|
showPopover: () => void;
|
661
|
-
|
690
|
+
toggleSelectAll: () => void;
|
691
|
+
toggleAll: () => void;
|
662
692
|
handleOptionSelected: (option: import("./type").OptionInstanceType) => void;
|
663
693
|
handleClickOutside: ({ event }: {
|
664
694
|
event: any;
|
@@ -674,7 +704,7 @@ declare const BkSelect: {
|
|
674
704
|
localSelectAllText: import("vue").ComputedRef<string>;
|
675
705
|
resolveClassName: (cls: string) => string;
|
676
706
|
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<{
|
707
|
+
}, 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
708
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
679
709
|
multiple: import("vue-types").VueTypeValidableDef<boolean> & {
|
680
710
|
default: boolean;
|
@@ -956,6 +986,11 @@ declare const BkSelect: {
|
|
956
986
|
} & {
|
957
987
|
default: boolean;
|
958
988
|
};
|
989
|
+
disableFocusBehavior: import("vue-types").VueTypeValidableDef<boolean> & {
|
990
|
+
default: boolean;
|
991
|
+
} & {
|
992
|
+
default: boolean;
|
993
|
+
};
|
959
994
|
keepSearchValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
960
995
|
default: boolean;
|
961
996
|
} & {
|
@@ -970,6 +1005,16 @@ declare const BkSelect: {
|
|
970
1005
|
filterOption: {
|
971
1006
|
type: FunctionConstructor;
|
972
1007
|
};
|
1008
|
+
searchWithPinyin: import("vue-types").VueTypeValidableDef<boolean> & {
|
1009
|
+
default: boolean;
|
1010
|
+
} & {
|
1011
|
+
default: boolean;
|
1012
|
+
};
|
1013
|
+
highlightKeyword: import("vue-types").VueTypeValidableDef<boolean> & {
|
1014
|
+
default: boolean;
|
1015
|
+
} & {
|
1016
|
+
default: boolean;
|
1017
|
+
};
|
973
1018
|
}>> & {
|
974
1019
|
onFocus?: (...args: any[]) => any;
|
975
1020
|
onBlur?: (...args: any[]) => any;
|
@@ -981,6 +1026,7 @@ declare const BkSelect: {
|
|
981
1026
|
"onScroll-end"?: (...args: any[]) => any;
|
982
1027
|
"onTag-remove"?: (...args: any[]) => any;
|
983
1028
|
onDeselect?: (...args: any[]) => any;
|
1029
|
+
"onSearch-change"?: (...args: any[]) => any;
|
984
1030
|
}, {
|
985
1031
|
prefix: string;
|
986
1032
|
size: "default" | "small" | "large" | "huge";
|
@@ -998,6 +1044,7 @@ declare const BkSelect: {
|
|
998
1044
|
withValidate: boolean;
|
999
1045
|
noDataText: string;
|
1000
1046
|
showSelectedIcon: boolean;
|
1047
|
+
highlightKeyword: boolean;
|
1001
1048
|
filterable: boolean;
|
1002
1049
|
allowCreate: boolean;
|
1003
1050
|
collapseTags: boolean;
|
@@ -1019,7 +1066,9 @@ declare const BkSelect: {
|
|
1019
1066
|
enableVirtualRender: boolean;
|
1020
1067
|
allowEmptyValues: unknown[];
|
1021
1068
|
autoFocus: boolean;
|
1069
|
+
disableFocusBehavior: boolean;
|
1022
1070
|
keepSearchValue: boolean;
|
1071
|
+
searchWithPinyin: boolean;
|
1023
1072
|
}, true, {}, {}, {
|
1024
1073
|
P: {};
|
1025
1074
|
B: {};
|
@@ -1309,6 +1358,11 @@ declare const BkSelect: {
|
|
1309
1358
|
} & {
|
1310
1359
|
default: boolean;
|
1311
1360
|
};
|
1361
|
+
disableFocusBehavior: import("vue-types").VueTypeValidableDef<boolean> & {
|
1362
|
+
default: boolean;
|
1363
|
+
} & {
|
1364
|
+
default: boolean;
|
1365
|
+
};
|
1312
1366
|
keepSearchValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
1313
1367
|
default: boolean;
|
1314
1368
|
} & {
|
@@ -1323,6 +1377,16 @@ declare const BkSelect: {
|
|
1323
1377
|
filterOption: {
|
1324
1378
|
type: FunctionConstructor;
|
1325
1379
|
};
|
1380
|
+
searchWithPinyin: import("vue-types").VueTypeValidableDef<boolean> & {
|
1381
|
+
default: boolean;
|
1382
|
+
} & {
|
1383
|
+
default: boolean;
|
1384
|
+
};
|
1385
|
+
highlightKeyword: import("vue-types").VueTypeValidableDef<boolean> & {
|
1386
|
+
default: boolean;
|
1387
|
+
} & {
|
1388
|
+
default: boolean;
|
1389
|
+
};
|
1326
1390
|
}>> & {
|
1327
1391
|
onFocus?: (...args: any[]) => any;
|
1328
1392
|
onBlur?: (...args: any[]) => any;
|
@@ -1334,6 +1398,7 @@ declare const BkSelect: {
|
|
1334
1398
|
"onScroll-end"?: (...args: any[]) => any;
|
1335
1399
|
"onTag-remove"?: (...args: any[]) => any;
|
1336
1400
|
onDeselect?: (...args: any[]) => any;
|
1401
|
+
"onSearch-change"?: (...args: any[]) => any;
|
1337
1402
|
}, {
|
1338
1403
|
t: import("vue").ComputedRef<{
|
1339
1404
|
noData: string;
|
@@ -1393,6 +1458,9 @@ declare const BkSelect: {
|
|
1393
1458
|
} & {
|
1394
1459
|
default: boolean;
|
1395
1460
|
};
|
1461
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
1462
|
+
default: "normal" | "simplicity";
|
1463
|
+
};
|
1396
1464
|
}>> & {
|
1397
1465
|
onKeydown?: (...args: any[]) => any;
|
1398
1466
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -1447,6 +1515,9 @@ declare const BkSelect: {
|
|
1447
1515
|
} & {
|
1448
1516
|
default: boolean;
|
1449
1517
|
};
|
1518
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
1519
|
+
default: "normal" | "simplicity";
|
1520
|
+
};
|
1450
1521
|
}>> & {
|
1451
1522
|
onKeydown?: (...args: any[]) => any;
|
1452
1523
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -1456,6 +1527,7 @@ declare const BkSelect: {
|
|
1456
1527
|
disabled: boolean;
|
1457
1528
|
placeholder: string;
|
1458
1529
|
tagTheme: "" | "info" | "success" | "warning" | "danger";
|
1530
|
+
behavior: "normal" | "simplicity";
|
1459
1531
|
selected: import("./type").ISelected[];
|
1460
1532
|
filterable: boolean;
|
1461
1533
|
allowCreate: boolean;
|
@@ -1501,6 +1573,9 @@ declare const BkSelect: {
|
|
1501
1573
|
} & {
|
1502
1574
|
default: boolean;
|
1503
1575
|
};
|
1576
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
1577
|
+
default: "normal" | "simplicity";
|
1578
|
+
};
|
1504
1579
|
}>> & {
|
1505
1580
|
onKeydown?: (...args: any[]) => any;
|
1506
1581
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -1525,6 +1600,7 @@ declare const BkSelect: {
|
|
1525
1600
|
disabled: boolean;
|
1526
1601
|
placeholder: string;
|
1527
1602
|
tagTheme: "" | "info" | "success" | "warning" | "danger";
|
1603
|
+
behavior: "normal" | "simplicity";
|
1528
1604
|
selected: import("./type").ISelected[];
|
1529
1605
|
filterable: boolean;
|
1530
1606
|
allowCreate: boolean;
|
@@ -1540,6 +1616,7 @@ declare const BkSelect: {
|
|
1540
1616
|
curContentText: import("vue").ComputedRef<string>;
|
1541
1617
|
isGroup: import("vue").ComputedRef<boolean>;
|
1542
1618
|
searchValue: import("vue").Ref<string>;
|
1619
|
+
curSearchValue: import("vue").ComputedRef<string>;
|
1543
1620
|
customOptionName: import("vue").Ref<string>;
|
1544
1621
|
isShowAll: import("vue").ComputedRef<boolean>;
|
1545
1622
|
isShowSelectAll: import("vue").ComputedRef<boolean>;
|
@@ -1675,6 +1752,7 @@ declare const BkSelect: {
|
|
1675
1752
|
};
|
1676
1753
|
}>>>>;
|
1677
1754
|
isAllSelected: import("vue").ComputedRef<boolean>;
|
1755
|
+
isAll: import("vue").ComputedRef<boolean>;
|
1678
1756
|
focusInput: () => void;
|
1679
1757
|
setHover: () => void;
|
1680
1758
|
cancelHover: () => void;
|
@@ -1684,7 +1762,8 @@ declare const BkSelect: {
|
|
1684
1762
|
handleClear: (e: Event) => void;
|
1685
1763
|
hidePopover: () => void;
|
1686
1764
|
showPopover: () => void;
|
1687
|
-
|
1765
|
+
toggleSelectAll: () => void;
|
1766
|
+
toggleAll: () => void;
|
1688
1767
|
handleOptionSelected: (option: import("./type").OptionInstanceType) => void;
|
1689
1768
|
handleClickOutside: ({ event }: {
|
1690
1769
|
event: any;
|
@@ -1717,6 +1796,7 @@ declare const BkSelect: {
|
|
1717
1796
|
withValidate: boolean;
|
1718
1797
|
noDataText: string;
|
1719
1798
|
showSelectedIcon: boolean;
|
1799
|
+
highlightKeyword: boolean;
|
1720
1800
|
filterable: boolean;
|
1721
1801
|
allowCreate: boolean;
|
1722
1802
|
collapseTags: boolean;
|
@@ -1738,7 +1818,9 @@ declare const BkSelect: {
|
|
1738
1818
|
enableVirtualRender: boolean;
|
1739
1819
|
allowEmptyValues: unknown[];
|
1740
1820
|
autoFocus: boolean;
|
1821
|
+
disableFocusBehavior: boolean;
|
1741
1822
|
keepSearchValue: boolean;
|
1823
|
+
searchWithPinyin: boolean;
|
1742
1824
|
}>;
|
1743
1825
|
__isFragment?: never;
|
1744
1826
|
__isTeleport?: never;
|
@@ -2025,6 +2107,11 @@ declare const BkSelect: {
|
|
2025
2107
|
} & {
|
2026
2108
|
default: boolean;
|
2027
2109
|
};
|
2110
|
+
disableFocusBehavior: import("vue-types").VueTypeValidableDef<boolean> & {
|
2111
|
+
default: boolean;
|
2112
|
+
} & {
|
2113
|
+
default: boolean;
|
2114
|
+
};
|
2028
2115
|
keepSearchValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
2029
2116
|
default: boolean;
|
2030
2117
|
} & {
|
@@ -2039,6 +2126,16 @@ declare const BkSelect: {
|
|
2039
2126
|
filterOption: {
|
2040
2127
|
type: FunctionConstructor;
|
2041
2128
|
};
|
2129
|
+
searchWithPinyin: import("vue-types").VueTypeValidableDef<boolean> & {
|
2130
|
+
default: boolean;
|
2131
|
+
} & {
|
2132
|
+
default: boolean;
|
2133
|
+
};
|
2134
|
+
highlightKeyword: import("vue-types").VueTypeValidableDef<boolean> & {
|
2135
|
+
default: boolean;
|
2136
|
+
} & {
|
2137
|
+
default: boolean;
|
2138
|
+
};
|
2042
2139
|
}>> & {
|
2043
2140
|
onFocus?: (...args: any[]) => any;
|
2044
2141
|
onBlur?: (...args: any[]) => any;
|
@@ -2050,6 +2147,7 @@ declare const BkSelect: {
|
|
2050
2147
|
"onScroll-end"?: (...args: any[]) => any;
|
2051
2148
|
"onTag-remove"?: (...args: any[]) => any;
|
2052
2149
|
onDeselect?: (...args: any[]) => any;
|
2150
|
+
"onSearch-change"?: (...args: any[]) => any;
|
2053
2151
|
}, {
|
2054
2152
|
t: import("vue").ComputedRef<{
|
2055
2153
|
noData: string;
|
@@ -2109,6 +2207,9 @@ declare const BkSelect: {
|
|
2109
2207
|
} & {
|
2110
2208
|
default: boolean;
|
2111
2209
|
};
|
2210
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
2211
|
+
default: "normal" | "simplicity";
|
2212
|
+
};
|
2112
2213
|
}>> & {
|
2113
2214
|
onKeydown?: (...args: any[]) => any;
|
2114
2215
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -2163,6 +2264,9 @@ declare const BkSelect: {
|
|
2163
2264
|
} & {
|
2164
2265
|
default: boolean;
|
2165
2266
|
};
|
2267
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
2268
|
+
default: "normal" | "simplicity";
|
2269
|
+
};
|
2166
2270
|
}>> & {
|
2167
2271
|
onKeydown?: (...args: any[]) => any;
|
2168
2272
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -2172,6 +2276,7 @@ declare const BkSelect: {
|
|
2172
2276
|
disabled: boolean;
|
2173
2277
|
placeholder: string;
|
2174
2278
|
tagTheme: "" | "info" | "success" | "warning" | "danger";
|
2279
|
+
behavior: "normal" | "simplicity";
|
2175
2280
|
selected: import("./type").ISelected[];
|
2176
2281
|
filterable: boolean;
|
2177
2282
|
allowCreate: boolean;
|
@@ -2217,6 +2322,9 @@ declare const BkSelect: {
|
|
2217
2322
|
} & {
|
2218
2323
|
default: boolean;
|
2219
2324
|
};
|
2325
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
2326
|
+
default: "normal" | "simplicity";
|
2327
|
+
};
|
2220
2328
|
}>> & {
|
2221
2329
|
onKeydown?: (...args: any[]) => any;
|
2222
2330
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -2241,6 +2349,7 @@ declare const BkSelect: {
|
|
2241
2349
|
disabled: boolean;
|
2242
2350
|
placeholder: string;
|
2243
2351
|
tagTheme: "" | "info" | "success" | "warning" | "danger";
|
2352
|
+
behavior: "normal" | "simplicity";
|
2244
2353
|
selected: import("./type").ISelected[];
|
2245
2354
|
filterable: boolean;
|
2246
2355
|
allowCreate: boolean;
|
@@ -2256,6 +2365,7 @@ declare const BkSelect: {
|
|
2256
2365
|
curContentText: import("vue").ComputedRef<string>;
|
2257
2366
|
isGroup: import("vue").ComputedRef<boolean>;
|
2258
2367
|
searchValue: import("vue").Ref<string>;
|
2368
|
+
curSearchValue: import("vue").ComputedRef<string>;
|
2259
2369
|
customOptionName: import("vue").Ref<string>;
|
2260
2370
|
isShowAll: import("vue").ComputedRef<boolean>;
|
2261
2371
|
isShowSelectAll: import("vue").ComputedRef<boolean>;
|
@@ -2391,6 +2501,7 @@ declare const BkSelect: {
|
|
2391
2501
|
};
|
2392
2502
|
}>>>>;
|
2393
2503
|
isAllSelected: import("vue").ComputedRef<boolean>;
|
2504
|
+
isAll: import("vue").ComputedRef<boolean>;
|
2394
2505
|
focusInput: () => void;
|
2395
2506
|
setHover: () => void;
|
2396
2507
|
cancelHover: () => void;
|
@@ -2400,7 +2511,8 @@ declare const BkSelect: {
|
|
2400
2511
|
handleClear: (e: Event) => void;
|
2401
2512
|
hidePopover: () => void;
|
2402
2513
|
showPopover: () => void;
|
2403
|
-
|
2514
|
+
toggleSelectAll: () => void;
|
2515
|
+
toggleAll: () => void;
|
2404
2516
|
handleOptionSelected: (option: import("./type").OptionInstanceType) => void;
|
2405
2517
|
handleClickOutside: ({ event }: {
|
2406
2518
|
event: any;
|
@@ -2416,7 +2528,7 @@ declare const BkSelect: {
|
|
2416
2528
|
localSelectAllText: import("vue").ComputedRef<string>;
|
2417
2529
|
resolveClassName: (cls: string) => string;
|
2418
2530
|
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", {
|
2531
|
+
}, 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
2532
|
prefix: string;
|
2421
2533
|
size: "default" | "small" | "large" | "huge";
|
2422
2534
|
disabled: boolean;
|
@@ -2433,6 +2545,7 @@ declare const BkSelect: {
|
|
2433
2545
|
withValidate: boolean;
|
2434
2546
|
noDataText: string;
|
2435
2547
|
showSelectedIcon: boolean;
|
2548
|
+
highlightKeyword: boolean;
|
2436
2549
|
filterable: boolean;
|
2437
2550
|
allowCreate: boolean;
|
2438
2551
|
collapseTags: boolean;
|
@@ -2454,7 +2567,9 @@ declare const BkSelect: {
|
|
2454
2567
|
enableVirtualRender: boolean;
|
2455
2568
|
allowEmptyValues: unknown[];
|
2456
2569
|
autoFocus: boolean;
|
2570
|
+
disableFocusBehavior: boolean;
|
2457
2571
|
keepSearchValue: boolean;
|
2572
|
+
searchWithPinyin: boolean;
|
2458
2573
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Readonly<{
|
2459
2574
|
Option: import("vue").DefineComponent<{
|
2460
2575
|
id: {
|
@@ -2480,10 +2595,13 @@ declare const BkSelect: {
|
|
2480
2595
|
selectedStyle: import("vue").ComputedRef<import("../shared").SelectedTypeEnum>;
|
2481
2596
|
optionName: import("vue").ComputedRef<string | number>;
|
2482
2597
|
optionID: import("vue").ComputedRef<unknown>;
|
2483
|
-
|
2598
|
+
highlightKeyword: import("vue").ComputedRef<boolean>;
|
2484
2599
|
handleOptionClick: () => void;
|
2485
2600
|
handleMouseEnter: () => void;
|
2486
2601
|
resolveClassName: (cls: string) => string;
|
2602
|
+
transformNode: (str: string) => string | (string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
2603
|
+
[key: string]: any;
|
2604
|
+
}>)[];
|
2487
2605
|
visible: import("vue").Ref<boolean>;
|
2488
2606
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
2489
2607
|
id: {
|