bkui-vue 0.0.2-table-refactor.9 → 0.0.3-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 +135 -161
- package/dist/index.esm.js +17178 -19445
- package/dist/index.umd.js +135 -161
- 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 +6 -2
- package/lib/affix/index.js +321 -1
- package/lib/alert/alert.variable.css +6 -2
- package/lib/alert/index.js +214 -1
- package/lib/animate-number/index.js +155 -1
- package/lib/backtop/backtop.variable.css +6 -2
- package/lib/backtop/index.js +188 -1
- package/lib/badge/badge.css +8 -2
- package/lib/badge/badge.less +8 -4
- package/lib/badge/badge.variable.css +14 -4
- package/lib/badge/index.js +235 -1
- package/lib/breadcrumb/breadcrumb.variable.css +6 -2
- package/lib/breadcrumb/index.js +309 -1
- package/lib/button/button-group.d.ts +2 -2
- package/lib/button/button.css +10 -7
- package/lib/button/button.d.ts +1 -1
- package/lib/button/button.less +98 -93
- package/lib/button/button.variable.css +24 -17
- package/lib/button/index.d.ts +5 -5
- package/lib/button/index.js +321 -1
- package/lib/card/card.css +7 -7
- package/lib/card/card.less +7 -7
- package/lib/card/card.variable.css +13 -9
- package/lib/card/index.js +285 -1
- package/lib/cascader/cascader-panel.d.ts +1 -0
- package/lib/cascader/cascader.css +3 -3
- package/lib/cascader/cascader.d.ts +1 -0
- package/lib/cascader/cascader.less +4 -6
- package/lib/cascader/cascader.variable.css +9 -5
- package/lib/cascader/index.d.ts +4 -0
- package/lib/cascader/index.js +2053 -2
- package/lib/checkbox/checkbox.css +13 -1
- package/lib/checkbox/checkbox.d.ts +13 -10
- package/lib/checkbox/checkbox.less +15 -1
- package/lib/checkbox/checkbox.variable.css +19 -3
- package/lib/checkbox/common.d.ts +1 -0
- package/lib/checkbox/index.d.ts +28 -19
- package/lib/checkbox/index.js +569 -1
- package/lib/code-diff/code-diff.variable.css +6 -2
- package/lib/code-diff/index.js +5501 -1
- package/lib/collapse/collapse.variable.css +6 -2
- package/lib/collapse/index.js +570 -1
- package/lib/collapse-transition/collapse-transition.variable.css +6 -2
- package/lib/collapse-transition/index.js +177 -1
- package/lib/color-picker/color-picker.variable.css +6 -2
- package/lib/color-picker/index.js +2665 -1
- package/lib/components.js +530 -1
- package/lib/config-provider/config-provider.d.ts +21 -0
- package/lib/config-provider/config-provider.variable.css +6 -2
- package/lib/config-provider/index.d.ts +28 -0
- package/lib/config-provider/index.js +365 -1
- package/lib/config-provider/token.d.ts +7 -0
- package/lib/container/container.variable.css +6 -2
- package/lib/container/index.js +391 -1
- package/lib/date-picker/common.d.ts +2 -0
- package/lib/date-picker/date-picker.d.ts +3 -1
- package/lib/date-picker/date-picker.variable.css +6 -2
- package/lib/date-picker/index.d.ts +9 -3
- package/lib/date-picker/index.js +5629 -1
- package/lib/date-picker/panel/date.d.ts +2 -2
- package/lib/date-picker/panel/time-range.d.ts +17 -0
- package/lib/date-picker/panel/time.d.ts +17 -1
- package/lib/date-picker/time-picker.d.ts +3 -1
- package/lib/dialog/dialog.css +7 -6
- package/lib/dialog/dialog.less +7 -6
- package/lib/dialog/dialog.variable.css +13 -8
- package/lib/dialog/index.js +971 -2
- package/lib/directives/index.js +1387 -2
- package/lib/dist.index.js +87 -1
- package/lib/divider/divider.variable.css +6 -2
- package/lib/divider/index.js +169 -1
- package/lib/dropdown/dropdown.css +1 -1
- package/lib/dropdown/dropdown.variable.css +7 -3
- package/lib/dropdown/index.js +369 -1
- package/lib/exception/exception.variable.css +6 -2
- package/lib/exception/index.js +385 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +6 -2
- package/lib/fixed-navbar/index.js +154 -1
- package/lib/form/form.css +2 -1
- package/lib/form/form.less +3 -2
- package/lib/form/form.variable.css +8 -3
- package/lib/form/index.js +952 -1
- package/lib/hooks.js +73 -1
- package/lib/icon/angle-double-down-line.js +191 -1
- package/lib/icon/angle-double-left-line.js +191 -1
- package/lib/icon/angle-double-left.js +191 -1
- package/lib/icon/angle-double-right-line.js +191 -1
- package/lib/icon/angle-double-right.js +191 -1
- package/lib/icon/angle-double-up-line.js +191 -1
- package/lib/icon/angle-down-fill.js +191 -1
- package/lib/icon/angle-down-line.js +191 -1
- package/lib/icon/angle-down.js +191 -1
- package/lib/icon/angle-left.js +191 -1
- package/lib/icon/angle-right.js +191 -1
- package/lib/icon/angle-up-fill.js +191 -1
- package/lib/icon/angle-up.js +191 -1
- package/lib/icon/archive-fill.js +191 -1
- package/lib/icon/arrows-left.js +191 -1
- package/lib/icon/arrows-right.js +191 -1
- package/lib/icon/assistant.js +191 -1
- package/lib/icon/audio-fill.js +191 -1
- package/lib/icon/bk.js +191 -1
- package/lib/icon/circle.js +191 -1
- package/lib/icon/close-line.js +191 -1
- package/lib/icon/close.js +191 -1
- package/lib/icon/code.js +191 -1
- package/lib/icon/cog-shape.js +191 -1
- package/lib/icon/collapse-left.js +191 -1
- package/lib/icon/copy-shape.js +191 -1
- package/lib/icon/copy.js +191 -1
- package/lib/icon/data-shape.js +191 -1
- package/lib/icon/del.js +191 -1
- package/lib/icon/doc-fill.js +191 -1
- package/lib/icon/done.js +191 -1
- package/lib/icon/down-shape.js +191 -1
- package/lib/icon/down-small.js +191 -1
- package/lib/icon/edit-line.js +191 -1
- package/lib/icon/ellipsis.js +191 -1
- package/lib/icon/enlarge-line.js +191 -1
- package/lib/icon/error.js +191 -1
- package/lib/icon/excel-fill.js +191 -1
- package/lib/icon/exclamation-circle-shape.js +191 -1
- package/lib/icon/eye.js +191 -1
- package/lib/icon/filliscreen-line.js +191 -1
- package/lib/icon/fix-line.js +191 -1
- package/lib/icon/fix-shape.js +191 -1
- package/lib/icon/folder-open.js +191 -1
- package/lib/icon/folder-shape-open.js +191 -1
- package/lib/icon/folder-shape.js +191 -1
- package/lib/icon/folder.js +191 -1
- package/lib/icon/funnel.js +191 -1
- package/lib/icon/grag-fill.d.ts +4 -0
- package/lib/icon/grag-fill.js +191 -0
- package/lib/icon/help-document-fill.js +191 -1
- package/lib/icon/help-fill.js +191 -1
- package/lib/icon/help.js +191 -1
- package/lib/icon/image-fill.js +276 -1
- package/lib/icon/img-error.js +276 -1
- package/lib/icon/img-placehoulder.js +276 -1
- package/lib/icon/index.d.ts +2 -0
- package/lib/icon/index.js +2452 -1
- package/lib/icon/info-line.js +276 -1
- package/lib/icon/info.js +276 -1
- package/lib/icon/left-shape.js +276 -1
- package/lib/icon/left-turn-line.js +276 -1
- package/lib/icon/loading.d.ts +4 -0
- package/lib/icon/loading.js +276 -0
- package/lib/icon/narrow-line.js +276 -1
- package/lib/icon/original.js +276 -1
- package/lib/icon/pdf-fill.js +276 -1
- package/lib/icon/play-shape.js +276 -1
- package/lib/icon/plus.js +276 -1
- package/lib/icon/ppt-fill.js +276 -1
- package/lib/icon/qq.js +276 -1
- package/lib/icon/right-shape.js +276 -1
- package/lib/icon/right-turn-line.js +276 -1
- package/lib/icon/search.js +276 -1
- package/lib/icon/share.js +276 -1
- package/lib/icon/spinner.js +276 -1
- package/lib/icon/success.js +276 -1
- package/lib/icon/switcher-loading.js +276 -1
- package/lib/icon/text-file.js +276 -1
- package/lib/icon/text-fill.js +276 -1
- package/lib/icon/transfer.js +276 -1
- package/lib/icon/tree-application-shape.js +276 -1
- package/lib/icon/unfull-screen.js +276 -1
- package/lib/icon/unvisible.js +276 -1
- package/lib/icon/up-shape.js +276 -1
- package/lib/icon/upload.js +276 -1
- package/lib/icon/video-fill.js +276 -1
- package/lib/icon/warn.js +276 -1
- package/lib/icon/weixin-pro.js +276 -1
- package/lib/icon/weixin.js +276 -1
- package/lib/image/image-viewer.variable.css +6 -2
- package/lib/image/image.variable.css +6 -2
- package/lib/image/index.js +641 -1
- package/lib/index.js +97 -1
- package/lib/info-box/index.js +1161 -2
- package/lib/info-box/info-box.d.ts +4 -0
- package/lib/info-box/info-box.variable.css +6 -2
- package/lib/input/index.d.ts +4 -4
- package/lib/input/index.js +1233 -2
- package/lib/input/input.css +21 -5
- package/lib/input/input.d.ts +3 -3
- package/lib/input/input.less +19 -0
- package/lib/input/input.variable.css +27 -7
- package/lib/link/index.js +160 -1
- package/lib/link/link.variable.css +6 -2
- package/lib/loading/index.d.ts +3 -3
- package/lib/loading/index.js +381 -1
- package/lib/loading/loading.css +9 -9
- package/lib/loading/loading.d.ts +1 -1
- package/lib/loading/loading.less +14 -9
- package/lib/loading/loading.variable.css +15 -11
- package/lib/locale/index.js +479 -1
- package/lib/locale/lang/en.d.ts +7 -0
- package/lib/menu/index.js +724 -1
- package/lib/menu/menu.variable.css +6 -2
- package/lib/menu/submenu.variable.css +6 -2
- package/lib/message/index.js +1795 -2
- package/lib/message/message.variable.css +6 -2
- package/lib/modal/index.js +396 -1
- package/lib/modal/modal.variable.css +6 -2
- package/lib/navigation/index.js +367 -1
- package/lib/navigation/navigation.variable.css +6 -2
- package/lib/notify/index.js +397 -1
- package/lib/notify/notify.css +6 -6
- package/lib/notify/notify.less +6 -6
- package/lib/notify/notify.variable.css +12 -8
- package/lib/overflow-title/components/overflow-title.d.ts +0 -1
- package/lib/overflow-title/index.js +285 -1
- package/lib/pagination/index.d.ts +4 -4
- package/lib/pagination/index.js +880 -1
- package/lib/pagination/pagination.css +1 -0
- package/lib/pagination/pagination.d.ts +3 -3
- package/lib/pagination/pagination.less +1 -0
- package/lib/pagination/pagination.variable.css +7 -2
- package/lib/plugin-popover/index.js +3833 -1
- package/lib/plugins/index.js +63 -1
- package/lib/pop-confirm/index.d.ts +42 -3
- package/lib/pop-confirm/index.js +281 -1
- package/lib/pop-confirm/pop-confirm.css +4 -4
- package/lib/pop-confirm/pop-confirm.d.ts +14 -1
- package/lib/pop-confirm/pop-confirm.less +4 -4
- package/lib/pop-confirm/pop-confirm.variable.css +10 -6
- package/lib/popover/index.js +3841 -1
- package/lib/popover/popover.css +1 -1
- package/lib/popover/popover.less +1 -1
- package/lib/popover/popover.variable.css +7 -3
- package/lib/popover2/index.js +107 -1
- package/lib/preset.d.ts +14 -0
- package/lib/preset.js +93 -1
- package/lib/process/index.js +759 -2
- package/lib/process/process.variable.css +6 -2
- package/lib/progress/index.d.ts +4 -4
- package/lib/progress/index.js +431 -1
- package/lib/progress/progress.css +7 -3
- package/lib/progress/progress.d.ts +3 -3
- package/lib/progress/progress.less +8 -3
- package/lib/progress/progress.variable.css +13 -5
- package/lib/radio/common.d.ts +1 -0
- package/lib/radio/index.d.ts +8 -2
- package/lib/radio/index.js +635 -1
- package/lib/radio/radio-button.d.ts +4 -3
- package/lib/radio/radio-group.d.ts +3 -0
- package/lib/radio/radio.css +26 -12
- package/lib/radio/radio.d.ts +1 -0
- package/lib/radio/radio.less +42 -8
- package/lib/radio/radio.variable.css +26 -8
- package/lib/rate/index.d.ts +4 -4
- package/lib/rate/index.js +354 -1
- package/lib/rate/rate.d.ts +2 -2
- package/lib/rate/rate.variable.css +6 -2
- package/lib/rate/star.css +3 -0
- package/lib/rate/star.less +3 -0
- package/lib/rate/star.variable.css +9 -2
- package/lib/resize-layout/index.js +429 -1
- package/lib/resize-layout/resize-layout.css +2 -2
- package/lib/resize-layout/resize-layout.less +2 -2
- package/lib/resize-layout/resize-layout.variable.css +8 -4
- package/lib/search-select/index.js +2729 -2
- package/lib/search-select/search-select.css +2 -4
- package/lib/search-select/search-select.less +10 -12
- package/lib/search-select/search-select.variable.css +8 -6
- package/lib/select/common.d.ts +3 -1
- package/lib/select/index.d.ts +96 -30
- package/lib/select/index.js +2384 -2
- package/lib/select/option.d.ts +1 -0
- package/lib/select/select.css +3 -0
- package/lib/select/select.d.ts +40 -14
- package/lib/select/select.less +3 -0
- package/lib/select/select.variable.css +9 -2
- package/lib/select/selectTagInput.d.ts +2 -0
- package/lib/select/type.d.ts +3 -0
- package/lib/shared/index.js +2690 -1
- package/lib/shared/vue-types.d.ts +1 -1
- package/lib/sideslider/index.js +704 -2
- package/lib/sideslider/sideslider.variable.css +6 -2
- package/lib/slider/index.js +1297 -2
- package/lib/slider/slider.css +2 -0
- package/lib/slider/slider.less +2 -0
- package/lib/slider/slider.variable.css +8 -2
- package/lib/steps/index.d.ts +4 -4
- package/lib/steps/index.js +825 -2
- package/lib/steps/steps.css +18 -6
- package/lib/steps/steps.d.ts +3 -3
- package/lib/steps/steps.less +26 -5
- package/lib/steps/steps.variable.css +24 -8
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/mixins/animate.variable.css +6 -2
- package/lib/styles/mixins/popper.variable.css +6 -2
- package/lib/styles/mixins/scroll.variable.css +6 -2
- package/lib/styles/reset.variable.css +6 -2
- package/lib/styles/themes/themes.less +7 -3
- package/lib/swiper/index.js +336 -1
- package/lib/swiper/swiper.variable.css +6 -2
- package/lib/switcher/index.d.ts +4 -4
- package/lib/switcher/index.js +277 -1
- package/lib/switcher/switcher.d.ts +3 -3
- package/lib/switcher/switcher.variable.css +6 -2
- package/lib/tab/index.js +914 -1
- package/lib/tab/tab.variable.css +6 -2
- package/lib/table/components/table-column.d.ts +6 -5
- package/lib/table/events.d.ts +10 -1
- package/lib/table/index.d.ts +96 -7
- package/lib/table/index.js +6655 -1
- package/lib/table/plugins/body-empty.d.ts +1 -1
- package/lib/table/plugins/head-filter.css +1 -28
- package/lib/table/plugins/head-filter.less +2 -34
- package/lib/table/plugins/head-filter.variable.css +7 -30
- package/lib/table/plugins/head-sort.variable.css +6 -2
- package/lib/table/plugins/settings.d.ts +0 -7
- package/lib/table/plugins/settings.variable.css +6 -2
- package/lib/table/plugins/use-column-resize.d.ts +1 -1
- package/lib/table/plugins/use-draggable.d.ts +17 -0
- package/lib/table/plugins/use-head-cell.d.ts +7 -0
- package/lib/table/plugins/use-pagination.d.ts +2 -1
- package/lib/table/props.d.ts +15 -1
- package/lib/table/table.css +75 -59
- package/lib/table/table.d.ts +16 -1
- package/lib/table/table.less +52 -22
- package/lib/table/table.variable.css +81 -61
- package/lib/table/use-attributes.d.ts +6 -1
- package/lib/table/use-column.d.ts +87 -0
- package/lib/table/use-common.d.ts +0 -1
- package/lib/table/use-render.d.ts +1 -1
- package/lib/table/utils.d.ts +6 -4
- package/lib/table-column/index.d.ts +160 -10
- package/lib/table-column/index.js +779 -1
- package/lib/tag/index.d.ts +4 -21
- package/lib/tag/index.js +229 -1
- package/lib/tag/tag.css +14 -10
- package/lib/tag/tag.d.ts +2 -12
- package/lib/tag/tag.less +31 -27
- package/lib/tag/tag.variable.css +20 -12
- package/lib/tag-input/index.d.ts +3 -0
- package/lib/tag-input/index.js +1674 -1
- package/lib/tag-input/list-tag-render.d.ts +11 -0
- package/lib/tag-input/tag-input.d.ts +1 -0
- package/lib/tag-input/tag-input.variable.css +6 -2
- package/lib/time-picker/index.d.ts +9 -3
- package/lib/time-picker/index.js +71 -1
- package/lib/time-picker/time-picker.css +4 -3
- package/lib/time-picker/time-picker.less +5 -9
- package/lib/time-picker/time-picker.variable.css +10 -5
- package/lib/timeline/index.js +241 -1
- package/lib/timeline/timeline.variable.css +6 -2
- package/lib/transfer/index.js +673 -1
- package/lib/transfer/transfer.css +2 -2
- package/lib/transfer/transfer.less +2 -2
- package/lib/transfer/transfer.variable.css +8 -4
- package/lib/tree/index.d.ts +21 -33
- package/lib/tree/index.js +2584 -1
- package/lib/tree/props.d.ts +4 -8
- package/lib/tree/tree.css +13 -1
- package/lib/tree/tree.d.ts +15 -19
- package/lib/tree/tree.variable.css +19 -3
- package/lib/tree/use-empty.d.ts +1 -3
- package/lib/tree/util.d.ts +1 -0
- package/lib/upload/index.js +2874 -2
- package/lib/upload/upload.type.d.ts +1 -1
- package/lib/upload/upload.variable.css +6 -2
- package/lib/upload/use-file-handler.d.ts +2 -2
- package/lib/virtual-render/index.js +901 -1
- package/lib/virtual-render/use-fix-top.d.ts +18 -0
- package/lib/virtual-render/v-virtual-render.d.ts +6 -1
- package/lib/virtual-render/virtual-render.variable.css +6 -2
- package/package.json +17 -4
- package/lib/cascader/index.js.LICENSE.txt +0 -1
- package/lib/dialog/index.js.LICENSE.txt +0 -1
- package/lib/directives/index.js.LICENSE.txt +0 -14
- package/lib/info-box/index.js.LICENSE.txt +0 -1
- package/lib/input/index.js.LICENSE.txt +0 -1
- package/lib/message/index.js.LICENSE.txt +0 -6
- package/lib/process/index.js.LICENSE.txt +0 -1
- package/lib/search-select/index.js.LICENSE.txt +0 -1
- package/lib/select/index.js.LICENSE.txt +0 -1
- package/lib/sideslider/index.js.LICENSE.txt +0 -1
- package/lib/slider/index.js.LICENSE.txt +0 -1
- package/lib/steps/index.js.LICENSE.txt +0 -1
- package/lib/table/render.d.ts +0 -130
- package/lib/upload/index.js.LICENSE.txt +0 -1
- /package/lib/overflow-title/{overflow.css → overflow-title.css} +0 -0
- /package/lib/overflow-title/{overflow.less → overflow-title.less} +0 -0
- /package/lib/overflow-title/{overflow.variable.css → overflow-title.variable.css} +0 -0
@@ -182,15 +182,13 @@
|
|
182
182
|
}
|
183
183
|
.bk-search-select-container .search-container-input {
|
184
184
|
position: relative;
|
185
|
-
display:
|
185
|
+
display: block;
|
186
186
|
height: 100%;
|
187
187
|
min-width: 40px;
|
188
188
|
padding: 0 10px;
|
189
189
|
margin-top: -4px;
|
190
190
|
color: #63656e;
|
191
191
|
border: none;
|
192
|
-
flex: 1 1 auto;
|
193
|
-
align-items: center;
|
194
192
|
}
|
195
193
|
.bk-search-select-container .search-container-input .input-before:before {
|
196
194
|
color: #c4c6cc;
|
@@ -443,5 +441,5 @@
|
|
443
441
|
background-color: white;
|
444
442
|
}
|
445
443
|
.bk-search-select-popover {
|
446
|
-
margin: -
|
444
|
+
margin: -12px;
|
447
445
|
}
|
@@ -11,7 +11,7 @@
|
|
11
11
|
z-index: 9;
|
12
12
|
height: @component-size-base;
|
13
13
|
overflow: inherit;
|
14
|
-
|
14
|
+
|
15
15
|
.focus {
|
16
16
|
color: @search-select-focus-color;
|
17
17
|
background: #fff !important;
|
@@ -24,7 +24,7 @@
|
|
24
24
|
line-height: 20px;
|
25
25
|
word-break: break-all;
|
26
26
|
flex: 1 1 auto;
|
27
|
-
|
27
|
+
|
28
28
|
&:focus {
|
29
29
|
outline: none;
|
30
30
|
}
|
@@ -132,15 +132,13 @@
|
|
132
132
|
|
133
133
|
&-input {
|
134
134
|
position: relative;
|
135
|
-
display:
|
135
|
+
display: block;
|
136
136
|
height: 100%;
|
137
137
|
min-width: 40px;
|
138
138
|
padding: 0 10px;
|
139
139
|
margin-top: -4px;
|
140
140
|
color: @search-select-font-color;
|
141
141
|
border: none;
|
142
|
-
flex: 1 1 auto;
|
143
|
-
align-items: center;
|
144
142
|
|
145
143
|
.input-before {
|
146
144
|
&:before {
|
@@ -254,7 +252,7 @@
|
|
254
252
|
display: flex;
|
255
253
|
flex-direction: column;
|
256
254
|
}
|
257
|
-
|
255
|
+
|
258
256
|
.menu-item-mixin {
|
259
257
|
display: flex;
|
260
258
|
align-items: center;
|
@@ -263,16 +261,16 @@
|
|
263
261
|
padding: 0 8px;
|
264
262
|
flex: 0 0 32px;
|
265
263
|
outline: none;
|
266
|
-
|
264
|
+
|
267
265
|
&:hover {
|
268
266
|
cursor: pointer;
|
269
267
|
background-color: #f5f7fa;
|
270
268
|
}
|
271
269
|
}
|
272
|
-
|
270
|
+
|
273
271
|
.menu-disabled-mixin {
|
274
272
|
color: @light-gray;
|
275
|
-
|
273
|
+
|
276
274
|
&:hover {
|
277
275
|
cursor: not-allowed;
|
278
276
|
background-color: white;
|
@@ -337,7 +335,7 @@
|
|
337
335
|
display: inline-flex;
|
338
336
|
color: @primary-color;
|
339
337
|
}
|
340
|
-
|
338
|
+
|
341
339
|
.is-selected {
|
342
340
|
display: flex;
|
343
341
|
width: 22px;
|
@@ -403,5 +401,5 @@
|
|
403
401
|
}
|
404
402
|
|
405
403
|
.@{search-select-name}-popover {
|
406
|
-
margin: -
|
407
|
-
}
|
404
|
+
margin: -12px;
|
405
|
+
}
|
@@ -12,6 +12,7 @@
|
|
12
12
|
--white-color: white;
|
13
13
|
--whitesmoke-color: #fafbfd;
|
14
14
|
--disable-color: #dcdee5;
|
15
|
+
--disable-bg-color: #f9fafd;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -21,6 +22,9 @@
|
|
21
22
|
--component-size-small: 26px;
|
22
23
|
--component-size-base: 32px;
|
23
24
|
--component-size-large: 40px;
|
25
|
+
--component-size-small-padding: 0 12px;
|
26
|
+
--component-size-base-padding: 0 14px;
|
27
|
+
--component-size-large-padding: 0 16px;
|
24
28
|
--border-width-base: 1px;
|
25
29
|
--border-style-base: solid;
|
26
30
|
--border-radius-base: 2px;
|
@@ -33,7 +37,7 @@
|
|
33
37
|
--input-border-color: var(--light-gray);
|
34
38
|
--input-broder-radius: 3px;
|
35
39
|
--input-shadow-color: #a3c5fd;
|
36
|
-
--input-horizontal-padding:
|
40
|
+
--input-horizontal-padding: 8px;
|
37
41
|
--input-block-color: #f5f7fa;
|
38
42
|
--input-block-hover-color: #eaebf0;
|
39
43
|
--input-icon-size: var(--font-size-medium);
|
@@ -50,7 +54,7 @@
|
|
50
54
|
--button-selected-bg-color: #e1ecff;
|
51
55
|
--button-disabled-selected-bg-color: #f0f1f5;
|
52
56
|
--radio-font-color: #63656e;
|
53
|
-
--radio-active-color: #
|
57
|
+
--radio-active-color: #3a84ff;
|
54
58
|
--radio-hover-border-color: #979ba5;
|
55
59
|
--radio-disabled-border: #dcdee5;
|
56
60
|
--radio-disabled-font-color: #c4c6cc;
|
@@ -304,15 +308,13 @@
|
|
304
308
|
}
|
305
309
|
.bk-search-select-container .search-container-input {
|
306
310
|
position: relative;
|
307
|
-
display:
|
311
|
+
display: block;
|
308
312
|
height: 100%;
|
309
313
|
min-width: 40px;
|
310
314
|
padding: 0 10px;
|
311
315
|
margin-top: -4px;
|
312
316
|
color: #63656e;
|
313
317
|
border: none;
|
314
|
-
flex: 1 1 auto;
|
315
|
-
align-items: center;
|
316
318
|
}
|
317
319
|
.bk-search-select-container .search-container-input .input-before:before {
|
318
320
|
color: #c4c6cc;
|
@@ -565,5 +567,5 @@
|
|
565
567
|
background-color: white;
|
566
568
|
}
|
567
569
|
.bk-search-select-popover {
|
568
|
-
margin: -
|
570
|
+
margin: -12px;
|
569
571
|
}
|
package/lib/select/common.d.ts
CHANGED
@@ -20,7 +20,9 @@ export declare function usePopover(config: IPopoverConfig, triggerRef: Ref<HTMLE
|
|
20
20
|
showPopover: () => void;
|
21
21
|
};
|
22
22
|
export declare function useRemoteSearch(method: Function, callBack?: Function): {
|
23
|
-
|
23
|
+
customOptionName: Ref<string>;
|
24
|
+
searchValue: Ref<string>;
|
25
|
+
curSearchValue: import("vue").ComputedRef<string>;
|
24
26
|
searchLoading: Ref<boolean>;
|
25
27
|
};
|
26
28
|
export declare function toLowerCase(value?: string): string;
|
package/lib/select/index.d.ts
CHANGED
@@ -7,15 +7,15 @@ declare const BkSelect: {
|
|
7
7
|
$props: {
|
8
8
|
prefix?: string;
|
9
9
|
disabled?: boolean;
|
10
|
-
size?: "default" | "small" | "large";
|
10
|
+
size?: "default" | "small" | "large" | "huge";
|
11
11
|
multiple?: boolean;
|
12
12
|
showOnInit?: boolean;
|
13
13
|
placeholder?: string;
|
14
14
|
list?: any[];
|
15
|
+
loading?: boolean;
|
15
16
|
tagTheme?: "" | "info" | "success" | "warning" | "danger";
|
16
17
|
behavior?: "normal" | "simplicity";
|
17
18
|
selectedStyle?: "checkbox" | "check";
|
18
|
-
loading?: boolean;
|
19
19
|
scrollHeight?: number;
|
20
20
|
clearable?: boolean;
|
21
21
|
withValidate?: boolean;
|
@@ -28,6 +28,7 @@ declare const BkSelect: {
|
|
28
28
|
displayKey?: string;
|
29
29
|
idKey?: string;
|
30
30
|
remoteMethod?: (...args: any[]) => any;
|
31
|
+
showAll?: boolean;
|
31
32
|
showSelectAll?: boolean;
|
32
33
|
multipleMode?: string;
|
33
34
|
autoHeight?: boolean;
|
@@ -42,7 +43,6 @@ declare const BkSelect: {
|
|
42
43
|
allowEmptyValues?: unknown[];
|
43
44
|
autoFocus?: boolean;
|
44
45
|
keepSearchValue?: boolean;
|
45
|
-
filterOption?: boolean | Function;
|
46
46
|
class?: unknown;
|
47
47
|
style?: unknown;
|
48
48
|
onFocus?: (...args: any[]) => any;
|
@@ -99,6 +99,8 @@ declare const BkSelect: {
|
|
99
99
|
"onScroll-end"?: (...args: any[]) => any;
|
100
100
|
"onTag-remove"?: (...args: any[]) => any;
|
101
101
|
onDeselect?: (...args: any[]) => any;
|
102
|
+
readonly allOptionId?: string | number;
|
103
|
+
readonly filterOption?: Function;
|
102
104
|
};
|
103
105
|
$attrs: {
|
104
106
|
[x: string]: unknown;
|
@@ -125,8 +127,8 @@ declare const BkSelect: {
|
|
125
127
|
} & {
|
126
128
|
default: boolean;
|
127
129
|
};
|
128
|
-
size: import("vue-types").VueTypeDef<"default" | "small" | "large"> & {
|
129
|
-
default: "default" | "small" | "large";
|
130
|
+
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge"> & {
|
131
|
+
default: "default" | "small" | "large" | "huge";
|
130
132
|
};
|
131
133
|
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
132
134
|
default: boolean;
|
@@ -151,6 +153,12 @@ declare const BkSelect: {
|
|
151
153
|
} & {
|
152
154
|
default: number;
|
153
155
|
};
|
156
|
+
showAll: import("vue-types").VueTypeValidableDef<boolean> & {
|
157
|
+
default: boolean;
|
158
|
+
} & {
|
159
|
+
default: boolean;
|
160
|
+
};
|
161
|
+
allOptionId: import("vue-types").VueTypeDef<string | number>;
|
154
162
|
showSelectAll: import("vue-types").VueTypeValidableDef<boolean> & {
|
155
163
|
default: boolean;
|
156
164
|
} & {
|
@@ -401,8 +409,7 @@ declare const BkSelect: {
|
|
401
409
|
default: "checkbox" | "check";
|
402
410
|
};
|
403
411
|
filterOption: {
|
404
|
-
type:
|
405
|
-
default: boolean;
|
412
|
+
type: FunctionConstructor;
|
406
413
|
};
|
407
414
|
}>> & {
|
408
415
|
onFocus?: (...args: any[]) => any;
|
@@ -416,6 +423,15 @@ declare const BkSelect: {
|
|
416
423
|
"onTag-remove"?: (...args: any[]) => any;
|
417
424
|
onDeselect?: (...args: any[]) => any;
|
418
425
|
}, {
|
426
|
+
t: import("vue").ComputedRef<{
|
427
|
+
noData: string;
|
428
|
+
noMatchedData: string;
|
429
|
+
loading: string;
|
430
|
+
pleaseSelect: string;
|
431
|
+
enterKeywords: string;
|
432
|
+
all: string;
|
433
|
+
selectAll: string;
|
434
|
+
}>;
|
419
435
|
selected: import("vue").Ref<{
|
420
436
|
value: string;
|
421
437
|
label: string | number;
|
@@ -552,8 +568,10 @@ declare const BkSelect: {
|
|
552
568
|
overflowTagIndex: import("vue").Ref<number>;
|
553
569
|
value: any;
|
554
570
|
inputRef: import("vue").Ref<HTMLElement>;
|
571
|
+
overflowContent: import("vue").ComputedRef<string>;
|
555
572
|
handleRemoveTag: (val: string) => void;
|
556
573
|
focus: () => void;
|
574
|
+
blur: () => void;
|
557
575
|
handleInput: (e: any) => void;
|
558
576
|
handleKeydown: (e: any) => void;
|
559
577
|
resolveClassName: (cls: string) => string;
|
@@ -632,8 +650,10 @@ declare const BkSelect: {
|
|
632
650
|
overflowTagIndex: import("vue").Ref<number>;
|
633
651
|
value: any;
|
634
652
|
inputRef: import("vue").Ref<HTMLElement>;
|
653
|
+
overflowContent: import("vue").ComputedRef<string>;
|
635
654
|
handleRemoveTag: (val: string) => void;
|
636
655
|
focus: () => void;
|
656
|
+
blur: () => void;
|
637
657
|
handleInput: (e: any) => void;
|
638
658
|
handleKeydown: (e: any) => void;
|
639
659
|
resolveClassName: (cls: string) => string;
|
@@ -647,7 +667,9 @@ declare const BkSelect: {
|
|
647
667
|
isShowSelectContent: import("vue").ComputedRef<boolean>;
|
648
668
|
curContentText: import("vue").ComputedRef<string>;
|
649
669
|
isGroup: import("vue").ComputedRef<boolean>;
|
650
|
-
|
670
|
+
searchValue: import("vue").Ref<string>;
|
671
|
+
customOptionName: import("vue").Ref<string>;
|
672
|
+
isShowAll: import("vue").ComputedRef<boolean>;
|
651
673
|
isShowSelectAll: import("vue").ComputedRef<boolean>;
|
652
674
|
virtualHeight: import("vue").ComputedRef<number>;
|
653
675
|
virtualList: import("vue").ComputedRef<any[]>;
|
@@ -780,6 +802,7 @@ declare const BkSelect: {
|
|
780
802
|
default: boolean;
|
781
803
|
};
|
782
804
|
}>>>>;
|
805
|
+
isAllSelected: import("vue").ComputedRef<boolean>;
|
783
806
|
focusInput: () => void;
|
784
807
|
setHover: () => void;
|
785
808
|
cancelHover: () => void;
|
@@ -789,7 +812,7 @@ declare const BkSelect: {
|
|
789
812
|
handleClear: (e: Event) => void;
|
790
813
|
hidePopover: () => void;
|
791
814
|
showPopover: () => void;
|
792
|
-
|
815
|
+
handleToggleSelectAll: () => void;
|
793
816
|
handleOptionSelected: (option: import("./type").OptionInstanceType) => void;
|
794
817
|
handleClickOutside: ({ event }: {
|
795
818
|
event: any;
|
@@ -804,19 +827,19 @@ declare const BkSelect: {
|
|
804
827
|
localSearchPlaceholder: import("vue").ComputedRef<string>;
|
805
828
|
localSelectAllText: import("vue").ComputedRef<string>;
|
806
829
|
resolveClassName: (cls: string) => string;
|
807
|
-
handleCreateCustomOption: (val: string | number) => void;
|
830
|
+
handleCreateCustomOption: (val: string | number, e: KeyboardEvent) => void;
|
808
831
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "select" | "toggle" | "clear" | "update:modelValue" | "scroll-end" | "tag-remove" | "deselect")[], string, {
|
809
832
|
prefix: string;
|
810
833
|
disabled: boolean;
|
811
|
-
size: "default" | "small" | "large";
|
834
|
+
size: "default" | "small" | "large" | "huge";
|
812
835
|
multiple: boolean;
|
813
836
|
showOnInit: boolean;
|
814
837
|
placeholder: string;
|
815
838
|
list: any[];
|
839
|
+
loading: boolean;
|
816
840
|
tagTheme: "" | "info" | "success" | "warning" | "danger";
|
817
841
|
behavior: "normal" | "simplicity";
|
818
842
|
selectedStyle: "checkbox" | "check";
|
819
|
-
loading: boolean;
|
820
843
|
scrollHeight: number;
|
821
844
|
clearable: boolean;
|
822
845
|
withValidate: boolean;
|
@@ -829,6 +852,7 @@ declare const BkSelect: {
|
|
829
852
|
displayKey: string;
|
830
853
|
idKey: string;
|
831
854
|
remoteMethod: (...args: any[]) => any;
|
855
|
+
showAll: boolean;
|
832
856
|
showSelectAll: boolean;
|
833
857
|
multipleMode: string;
|
834
858
|
autoHeight: boolean;
|
@@ -843,7 +867,6 @@ declare const BkSelect: {
|
|
843
867
|
allowEmptyValues: unknown[];
|
844
868
|
autoFocus: boolean;
|
845
869
|
keepSearchValue: boolean;
|
846
|
-
filterOption: boolean | Function;
|
847
870
|
}, {}, string, {}> & {
|
848
871
|
beforeCreate?: (() => void) | (() => void)[];
|
849
872
|
created?: (() => void) | (() => void)[];
|
@@ -876,8 +899,8 @@ declare const BkSelect: {
|
|
876
899
|
} & {
|
877
900
|
default: boolean;
|
878
901
|
};
|
879
|
-
size: import("vue-types").VueTypeDef<"default" | "small" | "large"> & {
|
880
|
-
default: "default" | "small" | "large";
|
902
|
+
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge"> & {
|
903
|
+
default: "default" | "small" | "large" | "huge";
|
881
904
|
};
|
882
905
|
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
883
906
|
default: boolean;
|
@@ -902,6 +925,12 @@ declare const BkSelect: {
|
|
902
925
|
} & {
|
903
926
|
default: number;
|
904
927
|
};
|
928
|
+
showAll: import("vue-types").VueTypeValidableDef<boolean> & {
|
929
|
+
default: boolean;
|
930
|
+
} & {
|
931
|
+
default: boolean;
|
932
|
+
};
|
933
|
+
allOptionId: import("vue-types").VueTypeDef<string | number>;
|
905
934
|
showSelectAll: import("vue-types").VueTypeValidableDef<boolean> & {
|
906
935
|
default: boolean;
|
907
936
|
} & {
|
@@ -1152,8 +1181,7 @@ declare const BkSelect: {
|
|
1152
1181
|
default: "checkbox" | "check";
|
1153
1182
|
};
|
1154
1183
|
filterOption: {
|
1155
|
-
type:
|
1156
|
-
default: boolean;
|
1184
|
+
type: FunctionConstructor;
|
1157
1185
|
};
|
1158
1186
|
}>> & {
|
1159
1187
|
onFocus?: (...args: any[]) => any;
|
@@ -1167,6 +1195,15 @@ declare const BkSelect: {
|
|
1167
1195
|
"onTag-remove"?: (...args: any[]) => any;
|
1168
1196
|
onDeselect?: (...args: any[]) => any;
|
1169
1197
|
} & import("vue").ShallowUnwrapRef<{
|
1198
|
+
t: import("vue").ComputedRef<{
|
1199
|
+
noData: string;
|
1200
|
+
noMatchedData: string;
|
1201
|
+
loading: string;
|
1202
|
+
pleaseSelect: string;
|
1203
|
+
enterKeywords: string;
|
1204
|
+
all: string;
|
1205
|
+
selectAll: string;
|
1206
|
+
}>;
|
1170
1207
|
selected: import("vue").Ref<{
|
1171
1208
|
value: string;
|
1172
1209
|
label: string | number;
|
@@ -1303,8 +1340,10 @@ declare const BkSelect: {
|
|
1303
1340
|
overflowTagIndex: import("vue").Ref<number>;
|
1304
1341
|
value: any;
|
1305
1342
|
inputRef: import("vue").Ref<HTMLElement>;
|
1343
|
+
overflowContent: import("vue").ComputedRef<string>;
|
1306
1344
|
handleRemoveTag: (val: string) => void;
|
1307
1345
|
focus: () => void;
|
1346
|
+
blur: () => void;
|
1308
1347
|
handleInput: (e: any) => void;
|
1309
1348
|
handleKeydown: (e: any) => void;
|
1310
1349
|
resolveClassName: (cls: string) => string;
|
@@ -1383,8 +1422,10 @@ declare const BkSelect: {
|
|
1383
1422
|
overflowTagIndex: import("vue").Ref<number>;
|
1384
1423
|
value: any;
|
1385
1424
|
inputRef: import("vue").Ref<HTMLElement>;
|
1425
|
+
overflowContent: import("vue").ComputedRef<string>;
|
1386
1426
|
handleRemoveTag: (val: string) => void;
|
1387
1427
|
focus: () => void;
|
1428
|
+
blur: () => void;
|
1388
1429
|
handleInput: (e: any) => void;
|
1389
1430
|
handleKeydown: (e: any) => void;
|
1390
1431
|
resolveClassName: (cls: string) => string;
|
@@ -1398,7 +1439,9 @@ declare const BkSelect: {
|
|
1398
1439
|
isShowSelectContent: import("vue").ComputedRef<boolean>;
|
1399
1440
|
curContentText: import("vue").ComputedRef<string>;
|
1400
1441
|
isGroup: import("vue").ComputedRef<boolean>;
|
1401
|
-
|
1442
|
+
searchValue: import("vue").Ref<string>;
|
1443
|
+
customOptionName: import("vue").Ref<string>;
|
1444
|
+
isShowAll: import("vue").ComputedRef<boolean>;
|
1402
1445
|
isShowSelectAll: import("vue").ComputedRef<boolean>;
|
1403
1446
|
virtualHeight: import("vue").ComputedRef<number>;
|
1404
1447
|
virtualList: import("vue").ComputedRef<any[]>;
|
@@ -1531,6 +1574,7 @@ declare const BkSelect: {
|
|
1531
1574
|
default: boolean;
|
1532
1575
|
};
|
1533
1576
|
}>>>>;
|
1577
|
+
isAllSelected: import("vue").ComputedRef<boolean>;
|
1534
1578
|
focusInput: () => void;
|
1535
1579
|
setHover: () => void;
|
1536
1580
|
cancelHover: () => void;
|
@@ -1540,7 +1584,7 @@ declare const BkSelect: {
|
|
1540
1584
|
handleClear: (e: Event) => void;
|
1541
1585
|
hidePopover: () => void;
|
1542
1586
|
showPopover: () => void;
|
1543
|
-
|
1587
|
+
handleToggleSelectAll: () => void;
|
1544
1588
|
handleOptionSelected: (option: import("./type").OptionInstanceType) => void;
|
1545
1589
|
handleClickOutside: ({ event }: {
|
1546
1590
|
event: any;
|
@@ -1555,7 +1599,7 @@ declare const BkSelect: {
|
|
1555
1599
|
localSearchPlaceholder: import("vue").ComputedRef<string>;
|
1556
1600
|
localSelectAllText: import("vue").ComputedRef<string>;
|
1557
1601
|
resolveClassName: (cls: string) => string;
|
1558
|
-
handleCreateCustomOption: (val: string | number) => void;
|
1602
|
+
handleCreateCustomOption: (val: string | number, e: KeyboardEvent) => void;
|
1559
1603
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
1560
1604
|
__isFragment?: never;
|
1561
1605
|
__isTeleport?: never;
|
@@ -1572,8 +1616,8 @@ declare const BkSelect: {
|
|
1572
1616
|
} & {
|
1573
1617
|
default: boolean;
|
1574
1618
|
};
|
1575
|
-
size: import("vue-types").VueTypeDef<"default" | "small" | "large"> & {
|
1576
|
-
default: "default" | "small" | "large";
|
1619
|
+
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge"> & {
|
1620
|
+
default: "default" | "small" | "large" | "huge";
|
1577
1621
|
};
|
1578
1622
|
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
1579
1623
|
default: boolean;
|
@@ -1598,6 +1642,12 @@ declare const BkSelect: {
|
|
1598
1642
|
} & {
|
1599
1643
|
default: number;
|
1600
1644
|
};
|
1645
|
+
showAll: import("vue-types").VueTypeValidableDef<boolean> & {
|
1646
|
+
default: boolean;
|
1647
|
+
} & {
|
1648
|
+
default: boolean;
|
1649
|
+
};
|
1650
|
+
allOptionId: import("vue-types").VueTypeDef<string | number>;
|
1601
1651
|
showSelectAll: import("vue-types").VueTypeValidableDef<boolean> & {
|
1602
1652
|
default: boolean;
|
1603
1653
|
} & {
|
@@ -1848,8 +1898,7 @@ declare const BkSelect: {
|
|
1848
1898
|
default: "checkbox" | "check";
|
1849
1899
|
};
|
1850
1900
|
filterOption: {
|
1851
|
-
type:
|
1852
|
-
default: boolean;
|
1901
|
+
type: FunctionConstructor;
|
1853
1902
|
};
|
1854
1903
|
}>> & {
|
1855
1904
|
onFocus?: (...args: any[]) => any;
|
@@ -1863,6 +1912,15 @@ declare const BkSelect: {
|
|
1863
1912
|
"onTag-remove"?: (...args: any[]) => any;
|
1864
1913
|
onDeselect?: (...args: any[]) => any;
|
1865
1914
|
}, {
|
1915
|
+
t: import("vue").ComputedRef<{
|
1916
|
+
noData: string;
|
1917
|
+
noMatchedData: string;
|
1918
|
+
loading: string;
|
1919
|
+
pleaseSelect: string;
|
1920
|
+
enterKeywords: string;
|
1921
|
+
all: string;
|
1922
|
+
selectAll: string;
|
1923
|
+
}>;
|
1866
1924
|
selected: import("vue").Ref<{
|
1867
1925
|
value: string;
|
1868
1926
|
label: string | number;
|
@@ -1999,8 +2057,10 @@ declare const BkSelect: {
|
|
1999
2057
|
overflowTagIndex: import("vue").Ref<number>;
|
2000
2058
|
value: any;
|
2001
2059
|
inputRef: import("vue").Ref<HTMLElement>;
|
2060
|
+
overflowContent: import("vue").ComputedRef<string>;
|
2002
2061
|
handleRemoveTag: (val: string) => void;
|
2003
2062
|
focus: () => void;
|
2063
|
+
blur: () => void;
|
2004
2064
|
handleInput: (e: any) => void;
|
2005
2065
|
handleKeydown: (e: any) => void;
|
2006
2066
|
resolveClassName: (cls: string) => string;
|
@@ -2079,8 +2139,10 @@ declare const BkSelect: {
|
|
2079
2139
|
overflowTagIndex: import("vue").Ref<number>;
|
2080
2140
|
value: any;
|
2081
2141
|
inputRef: import("vue").Ref<HTMLElement>;
|
2142
|
+
overflowContent: import("vue").ComputedRef<string>;
|
2082
2143
|
handleRemoveTag: (val: string) => void;
|
2083
2144
|
focus: () => void;
|
2145
|
+
blur: () => void;
|
2084
2146
|
handleInput: (e: any) => void;
|
2085
2147
|
handleKeydown: (e: any) => void;
|
2086
2148
|
resolveClassName: (cls: string) => string;
|
@@ -2094,7 +2156,9 @@ declare const BkSelect: {
|
|
2094
2156
|
isShowSelectContent: import("vue").ComputedRef<boolean>;
|
2095
2157
|
curContentText: import("vue").ComputedRef<string>;
|
2096
2158
|
isGroup: import("vue").ComputedRef<boolean>;
|
2097
|
-
|
2159
|
+
searchValue: import("vue").Ref<string>;
|
2160
|
+
customOptionName: import("vue").Ref<string>;
|
2161
|
+
isShowAll: import("vue").ComputedRef<boolean>;
|
2098
2162
|
isShowSelectAll: import("vue").ComputedRef<boolean>;
|
2099
2163
|
virtualHeight: import("vue").ComputedRef<number>;
|
2100
2164
|
virtualList: import("vue").ComputedRef<any[]>;
|
@@ -2227,6 +2291,7 @@ declare const BkSelect: {
|
|
2227
2291
|
default: boolean;
|
2228
2292
|
};
|
2229
2293
|
}>>>>;
|
2294
|
+
isAllSelected: import("vue").ComputedRef<boolean>;
|
2230
2295
|
focusInput: () => void;
|
2231
2296
|
setHover: () => void;
|
2232
2297
|
cancelHover: () => void;
|
@@ -2236,7 +2301,7 @@ declare const BkSelect: {
|
|
2236
2301
|
handleClear: (e: Event) => void;
|
2237
2302
|
hidePopover: () => void;
|
2238
2303
|
showPopover: () => void;
|
2239
|
-
|
2304
|
+
handleToggleSelectAll: () => void;
|
2240
2305
|
handleOptionSelected: (option: import("./type").OptionInstanceType) => void;
|
2241
2306
|
handleClickOutside: ({ event }: {
|
2242
2307
|
event: any;
|
@@ -2251,19 +2316,19 @@ declare const BkSelect: {
|
|
2251
2316
|
localSearchPlaceholder: import("vue").ComputedRef<string>;
|
2252
2317
|
localSelectAllText: import("vue").ComputedRef<string>;
|
2253
2318
|
resolveClassName: (cls: string) => string;
|
2254
|
-
handleCreateCustomOption: (val: string | number) => void;
|
2319
|
+
handleCreateCustomOption: (val: string | number, e: KeyboardEvent) => void;
|
2255
2320
|
}, 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", {
|
2256
2321
|
prefix: string;
|
2257
2322
|
disabled: boolean;
|
2258
|
-
size: "default" | "small" | "large";
|
2323
|
+
size: "default" | "small" | "large" | "huge";
|
2259
2324
|
multiple: boolean;
|
2260
2325
|
showOnInit: boolean;
|
2261
2326
|
placeholder: string;
|
2262
2327
|
list: any[];
|
2328
|
+
loading: boolean;
|
2263
2329
|
tagTheme: "" | "info" | "success" | "warning" | "danger";
|
2264
2330
|
behavior: "normal" | "simplicity";
|
2265
2331
|
selectedStyle: "checkbox" | "check";
|
2266
|
-
loading: boolean;
|
2267
2332
|
scrollHeight: number;
|
2268
2333
|
clearable: boolean;
|
2269
2334
|
withValidate: boolean;
|
@@ -2276,6 +2341,7 @@ declare const BkSelect: {
|
|
2276
2341
|
displayKey: string;
|
2277
2342
|
idKey: string;
|
2278
2343
|
remoteMethod: (...args: any[]) => any;
|
2344
|
+
showAll: boolean;
|
2279
2345
|
showSelectAll: boolean;
|
2280
2346
|
multipleMode: string;
|
2281
2347
|
autoHeight: boolean;
|
@@ -2290,7 +2356,6 @@ declare const BkSelect: {
|
|
2290
2356
|
allowEmptyValues: unknown[];
|
2291
2357
|
autoFocus: boolean;
|
2292
2358
|
keepSearchValue: boolean;
|
2293
|
-
filterOption: boolean | Function;
|
2294
2359
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Readonly<{
|
2295
2360
|
Option: import("vue").DefineComponent<{
|
2296
2361
|
id: {
|
@@ -2316,6 +2381,7 @@ declare const BkSelect: {
|
|
2316
2381
|
selectedStyle: import("vue").ComputedRef<import("../shared").SelectedTypeEnum>;
|
2317
2382
|
optionName: import("vue").ComputedRef<string | number>;
|
2318
2383
|
optionID: import("vue").ComputedRef<unknown>;
|
2384
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
2319
2385
|
handleOptionClick: () => void;
|
2320
2386
|
handleMouseEnter: () => void;
|
2321
2387
|
resolveClassName: (cls: string) => string;
|