bkui-vue 1.0.3-beta.9 → 2.0.1-beta.10
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 +162 -164
- package/dist/index.esm.js +31999 -29678
- package/dist/index.umd.js +162 -164
- 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/affix/index.js +7 -7
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/alert.variable.css +3 -0
- package/lib/alert/index.d.ts +11 -11
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/backtop.variable.css +3 -0
- package/lib/backtop/index.d.ts +3 -3
- package/lib/backtop/index.js +6 -6
- package/lib/badge/badge.variable.css +3 -0
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb.variable.css +3 -0
- package/lib/button/button.d.ts +7 -7
- package/lib/button/button.variable.css +3 -0
- package/lib/button/index.d.ts +8 -8
- package/lib/button/index.js +6 -6
- package/lib/card/card.variable.css +3 -0
- package/lib/cascader/cascader-panel.d.ts +1 -1
- package/lib/cascader/cascader.css +3 -3
- package/lib/cascader/cascader.d.ts +1 -1
- package/lib/cascader/cascader.less +4 -4
- package/lib/cascader/cascader.variable.css +6 -3
- package/lib/cascader/index.js +35 -36
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/checkbox.variable.css +3 -0
- package/lib/checkbox/index.js +7 -7
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/code-diff.variable.css +3 -0
- package/lib/code-diff/index.js +8 -8
- 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 +11 -3
- package/lib/collapse/props.d.ts +8 -0
- package/lib/collapse/utils.d.ts +2 -2
- package/lib/collapse-transition/collapse-transition.variable.css +3 -0
- package/lib/color-picker/color-picker.css +3 -3
- package/lib/color-picker/color-picker.less +3 -3
- package/lib/color-picker/color-picker.variable.css +6 -3
- package/lib/color-picker/index.js +45 -45
- package/lib/components.d.ts +32 -30
- package/lib/components.js +31 -29
- 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 +5 -1
- package/lib/config-provider/token.d.ts +1 -0
- package/lib/container/container.variable.css +3 -0
- package/lib/container/index.js +6 -6
- package/lib/date-picker/base/date-table.d.ts +1 -1
- package/lib/date-picker/base/month-table.d.ts +3 -3
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/year-table.d.ts +3 -3
- 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 +340 -224
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +2 -64
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +1 -1
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/props.d.ts +1 -1
- package/lib/date-picker/time-picker.d.ts +1 -0
- package/lib/date-picker/utils.d.ts +9 -1
- package/lib/dialog/dialog.css +172 -150
- package/lib/dialog/dialog.d.ts +55 -124
- package/lib/dialog/dialog.less +51 -124
- package/lib/dialog/dialog.variable.css +175 -150
- package/lib/dialog/index.d.ts +132 -296
- package/lib/dialog/index.js +244 -246
- package/lib/dialog/props.d.ts +16 -41
- package/lib/directives/index.d.ts +3 -3
- package/lib/directives/index.js +166 -167
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +2 -2
- package/lib/divider/divider.d.ts +5 -5
- package/lib/divider/divider.variable.css +3 -0
- package/lib/divider/index.d.ts +11 -11
- package/lib/divider/index.js +2 -2
- package/lib/divider/props.d.ts +2 -2
- package/lib/dropdown/dropdown.css +3 -1
- package/lib/dropdown/dropdown.d.ts +5 -5
- package/lib/dropdown/dropdown.variable.css +6 -1
- package/lib/dropdown/index.d.ts +11 -11
- package/lib/dropdown/index.js +7 -7
- package/lib/exception/exception.d.ts +9 -9
- package/lib/exception/exception.variable.css +3 -0
- package/lib/exception/index.d.ts +11 -11
- package/lib/exception/index.js +10 -10
- package/lib/exception/typings/index.d.ts +1 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +3 -0
- package/lib/fixed-navbar/index.js +2 -2
- package/lib/form/form.d.ts +2 -2
- package/lib/form/form.variable.css +3 -0
- package/lib/form/index.js +17 -15
- package/lib/form/type.d.ts +2 -2
- 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 +12 -11
- 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.d.ts +1 -1
- package/lib/image/image-viewer.variable.css +3 -0
- package/lib/image/image.variable.css +3 -0
- package/lib/image/index.js +25 -22
- package/lib/index.d.ts +3 -3
- package/lib/index.js +3 -3
- 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 +25 -23
- 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.d.ts +15 -15
- package/lib/input/index.js +23 -17
- package/lib/input/input.d.ts +15 -15
- package/lib/input/input.variable.css +3 -0
- package/lib/link/index.d.ts +11 -11
- package/lib/link/index.js +3 -3
- package/lib/link/link.d.ts +5 -5
- package/lib/link/link.variable.css +3 -0
- package/lib/loading/index.d.ts +4 -4
- package/lib/loading/index.js +6 -6
- package/lib/loading/loading.d.ts +6 -6
- package/lib/loading/loading.variable.css +3 -0
- package/lib/locale/index.d.ts +1 -1
- package/lib/locale/index.js +4 -2
- package/lib/locale/lang/en.d.ts +1 -0
- package/lib/menu/index.js +0 -1
- package/lib/menu/menu.variable.css +3 -0
- package/lib/menu/submenu.variable.css +3 -0
- package/lib/menu/utils.d.ts +3 -3
- package/lib/message/index.js +18 -18
- package/lib/message/message.variable.css +3 -0
- package/lib/message/messageConstructor.d.ts +11 -11
- package/lib/modal/hooks.d.ts +6 -0
- package/lib/modal/index.d.ts +44 -312
- package/lib/modal/index.js +286 -672
- package/lib/modal/mask.d.ts +6 -0
- package/lib/modal/modal.css +151 -76
- package/lib/modal/modal.d.ts +19 -117
- package/lib/modal/modal.less +103 -56
- package/lib/modal/modal.variable.css +154 -76
- package/lib/modal/props.mixin.d.ts +5 -41
- package/lib/navigation/index.js +20 -20
- package/lib/navigation/navigation.d.ts +1 -1
- package/lib/navigation/navigation.variable.css +3 -0
- package/lib/notify/index.js +4 -4
- package/lib/notify/notify.variable.css +3 -0
- package/lib/overflow-title/components/overflow-title.d.ts +9 -9
- package/lib/overflow-title/index.d.ts +19 -19
- package/lib/overflow-title/index.js +107 -63
- package/lib/overflow-title/props.d.ts +18 -18
- package/lib/pagination/index.js +16 -15
- package/lib/pagination/pagination.variable.css +3 -0
- package/lib/pagination/type.d.ts +1 -1
- package/lib/pagination/use-limit.d.ts +1 -1
- package/lib/pagination/use-total.d.ts +1 -1
- package/lib/plugin-popover/index.d.ts +1 -1
- package/lib/plugin-popover/index.js +62 -44
- package/lib/pop-confirm/index.js +17 -14
- package/lib/pop-confirm/pop-confirm.variable.css +3 -0
- package/lib/pop-confirm/props.d.ts +2 -2
- package/lib/popover/const.d.ts +3 -3
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +19 -19
- package/lib/popover/index.js +62 -44
- package/lib/popover/plugin-popover.d.ts +4 -1
- package/lib/popover/popover.css +3 -1
- package/lib/popover/popover.d.ts +7 -7
- package/lib/popover/popover.less +4 -1
- package/lib/popover/popover.variable.css +6 -1
- package/lib/popover/props.d.ts +4 -4
- package/lib/preset.d.ts +2 -0
- package/lib/process/index.js +3 -3
- package/lib/process/process.variable.css +3 -0
- package/lib/progress/index.d.ts +11 -11
- package/lib/progress/index.js +10 -10
- package/lib/progress/progress.d.ts +7 -7
- package/lib/progress/progress.variable.css +3 -0
- package/lib/radio/index.d.ts +29 -0
- package/lib/radio/index.js +49 -31
- 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/radio/type.d.ts +1 -1
- package/lib/rate/index.js +8 -8
- package/lib/rate/rate.css +27 -0
- package/lib/rate/rate.less +33 -0
- package/lib/rate/rate.variable.css +30 -0
- package/lib/resize-layout/index.d.ts +11 -11
- package/lib/resize-layout/index.js +8 -9
- package/lib/resize-layout/resize-layout.d.ts +5 -5
- package/lib/resize-layout/resize-layout.variable.css +3 -0
- package/lib/scrollbar/index.d.ts +15 -0
- package/lib/scrollbar/index.js +18762 -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/{rate/star.variable.css → scrollbar/scrollbar.variable.css} +70 -19
- package/lib/search-select/index.d.ts +375 -16
- package/lib/search-select/index.js +754 -419
- package/lib/search-select/input.d.ts +14 -5
- package/lib/search-select/menu.d.ts +1 -1
- 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 +117 -7
- package/lib/search-select/utils.d.ts +22 -9
- package/lib/select/index.d.ts +185 -67
- package/lib/select/index.js +1396 -136
- 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 +56 -14
- package/lib/select/select.d.ts +74 -26
- package/lib/select/select.less +70 -21
- package/lib/select/select.variable.css +59 -14
- package/lib/select/selectTagInput.d.ts +13 -6
- package/lib/select/type.d.ts +4 -5
- package/lib/shared/index.d.ts +1 -2
- package/lib/shared/index.js +108 -96
- package/lib/shared/popover.d.ts +3 -3
- package/lib/shared/token.d.ts +1 -1
- package/lib/shared/utils.d.ts +12 -0
- package/lib/shared/vue-types.d.ts +51 -46
- package/lib/shared/z-index-manager.d.ts +6 -6
- package/lib/sideslider/index.d.ts +58 -188
- package/lib/sideslider/index.js +83 -57
- package/lib/sideslider/sideslider.css +26 -90
- package/lib/sideslider/sideslider.d.ts +26 -88
- 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 +64 -26
- 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/index.d.ts +11 -11
- package/lib/steps/index.js +3 -3
- package/lib/steps/steps.d.ts +7 -7
- package/lib/steps/steps.variable.css +3 -0
- package/lib/styles/index.d.ts +0 -1
- 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/index.js +5 -5
- package/lib/swiper/swiper.variable.css +3 -0
- package/lib/switcher/index.js +2 -2
- package/lib/switcher/switcher.d.ts +2 -2
- package/lib/switcher/switcher.variable.css +3 -0
- package/lib/tab/index.d.ts +22 -22
- package/lib/tab/index.js +15 -15
- package/lib/tab/props.d.ts +15 -15
- package/lib/tab/tab-nav.d.ts +10 -10
- package/lib/tab/tab.d.ts +10 -10
- 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 +30 -100
- package/lib/table/const.d.ts +12 -12
- package/lib/table/events.d.ts +21 -21
- package/lib/table/index.d.ts +220 -305
- package/lib/table/index.js +18165 -688
- 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 +13 -0
- package/lib/table/props.d.ts +49 -39
- package/lib/table/table.css +112 -58
- package/lib/table/table.d.ts +58 -47
- package/lib/table/table.less +46 -58
- package/lib/table/table.variable.css +115 -58
- package/lib/table/use-attributes.d.ts +9 -46
- package/lib/table/use-column.d.ts +18 -139
- package/lib/table/use-common.d.ts +5 -5
- package/lib/table/use-render.d.ts +1 -1
- package/lib/table/utils.d.ts +6 -6
- package/lib/table-column/index.d.ts +127 -431
- package/lib/table-column/index.js +43 -117
- package/lib/tag/index.d.ts +11 -11
- package/lib/tag/index.js +2 -2
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag/tag.variable.css +3 -0
- package/lib/tag-input/common.d.ts +1 -1
- package/lib/tag-input/index.d.ts +12 -12
- package/lib/tag-input/index.js +30 -30
- package/lib/tag-input/tag-input.d.ts +6 -6
- package/lib/tag-input/tag-input.variable.css +3 -0
- package/lib/tag-input/tag-props.d.ts +3 -3
- 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 +56 -67
- package/lib/timeline/timeline.d.ts +46 -29
- package/lib/timeline/timeline.variable.css +3 -0
- package/lib/transfer/const.d.ts +2 -2
- package/lib/transfer/index.js +19 -19
- package/lib/transfer/transfer.css +9 -9
- package/lib/transfer/transfer.less +3 -3
- package/lib/transfer/transfer.variable.css +12 -9
- package/lib/tree/constant.d.ts +22 -20
- package/lib/tree/index.d.ts +64 -20
- package/lib/tree/index.js +17595 -72
- package/lib/tree/props.d.ts +24 -6
- package/lib/tree/tree.css +76 -2
- package/lib/tree/tree.d.ts +34 -8
- package/lib/tree/tree.less +1 -1
- package/lib/tree/tree.variable.css +79 -2
- package/lib/tree/use-empty.d.ts +1 -1
- package/lib/tree/use-intersection-observer.d.ts +27 -0
- package/lib/tree/use-node-action.d.ts +2 -2
- package/lib/tree/use-node-attribute.d.ts +9 -0
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/tree/util.d.ts +1 -1
- package/lib/upload/index.d.ts +12 -0
- package/lib/upload/index.js +62 -65
- package/lib/upload/props.d.ts +4 -1
- package/lib/upload/upload-trigger.d.ts +6 -0
- package/lib/upload/upload.d.ts +6 -0
- package/lib/upload/upload.type.d.ts +7 -7
- package/lib/upload/upload.variable.css +3 -0
- package/lib/upload/use-file-handler.d.ts +1 -1
- 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 +13 -49
- package/lib/rate/star.css +0 -27
- package/lib/rate/star.less +0 -34
- package/lib/shared/mask.d.ts +0 -11
@@ -4,7 +4,7 @@
|
|
4
4
|
align-items: center;
|
5
5
|
font-size: 14px;
|
6
6
|
}
|
7
|
-
.bk-transfer .transfer {
|
7
|
+
.bk-transfer .bk-transfer-icon {
|
8
8
|
margin: 0 8px;
|
9
9
|
font-size: 24px;
|
10
10
|
color: #c4c6cc;
|
@@ -95,8 +95,8 @@
|
|
95
95
|
.bk-transfer .target-list .transfer-search-input.is-focused {
|
96
96
|
box-shadow: none;
|
97
97
|
}
|
98
|
-
.bk-transfer .source-list .transfer-search-input .icon-search,
|
99
|
-
.bk-transfer .target-list .transfer-search-input .icon-search {
|
98
|
+
.bk-transfer .source-list .transfer-search-input .bk-icon-search,
|
99
|
+
.bk-transfer .target-list .transfer-search-input .bk-icon-search {
|
100
100
|
font-size: 18px;
|
101
101
|
line-height: 28px;
|
102
102
|
color: #c4c6cc;
|
@@ -184,12 +184,12 @@
|
|
184
184
|
display: flex;
|
185
185
|
font-size: 30px;
|
186
186
|
}
|
187
|
-
.bk-transfer .source-list .content li.custom-item .icon-wrapper .icon-delete,
|
188
|
-
.bk-transfer .target-list .content li.custom-item .icon-wrapper .icon-delete,
|
189
|
-
.bk-transfer .source-list .content li .item-content .icon-wrapper .icon-delete,
|
190
|
-
.bk-transfer .target-list .content li .item-content .icon-wrapper .icon-delete,
|
191
|
-
.bk-transfer .source-list .content .checkbox-item .icon-wrapper .icon-delete,
|
192
|
-
.bk-transfer .target-list .content .checkbox-item .icon-wrapper .icon-delete {
|
187
|
+
.bk-transfer .source-list .content li.custom-item .icon-wrapper .bk-icon-delete,
|
188
|
+
.bk-transfer .target-list .content li.custom-item .icon-wrapper .bk-icon-delete,
|
189
|
+
.bk-transfer .source-list .content li .item-content .icon-wrapper .bk-icon-delete,
|
190
|
+
.bk-transfer .target-list .content li .item-content .icon-wrapper .bk-icon-delete,
|
191
|
+
.bk-transfer .source-list .content .checkbox-item .icon-wrapper .bk-icon-delete,
|
192
|
+
.bk-transfer .target-list .content .checkbox-item .icon-wrapper .bk-icon-delete {
|
193
193
|
margin-right: 6px;
|
194
194
|
font-size: 16px;
|
195
195
|
}
|
@@ -8,7 +8,7 @@
|
|
8
8
|
align-items: center;
|
9
9
|
font-size: 14px;
|
10
10
|
|
11
|
-
|
11
|
+
.@{bk-prefix}-transfer-icon {
|
12
12
|
margin: 0 8px;
|
13
13
|
font-size: 24px;
|
14
14
|
color: @light-gray;
|
@@ -103,7 +103,7 @@
|
|
103
103
|
box-shadow: none;
|
104
104
|
}
|
105
105
|
|
106
|
-
|
106
|
+
.@{bk-prefix}-icon-search {
|
107
107
|
font-size: 18px;
|
108
108
|
line-height: 28px;
|
109
109
|
color: @light-gray;
|
@@ -168,7 +168,7 @@
|
|
168
168
|
font-size: 30px;
|
169
169
|
}
|
170
170
|
|
171
|
-
|
171
|
+
.@{bk-prefix}-icon-delete {
|
172
172
|
margin-right: 6px;
|
173
173
|
font-size: 16px;
|
174
174
|
}
|
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,6 +124,8 @@
|
|
123
124
|
--search-select-placeholder-color: var(--light-gray);
|
124
125
|
--search-select-message-color: var(--danger-color);
|
125
126
|
--search-select-menu-border-color: var(--disable-color);
|
127
|
+
--select-active-color: #e1ecff;
|
128
|
+
--select-hover-color: #f5f7fa;
|
126
129
|
}
|
127
130
|
.bk-transfer {
|
128
131
|
display: flex;
|
@@ -130,7 +133,7 @@
|
|
130
133
|
align-items: center;
|
131
134
|
font-size: 14px;
|
132
135
|
}
|
133
|
-
.bk-transfer .transfer {
|
136
|
+
.bk-transfer .bk-transfer-icon {
|
134
137
|
margin: 0 8px;
|
135
138
|
font-size: 24px;
|
136
139
|
color: var(--light-gray);
|
@@ -221,8 +224,8 @@
|
|
221
224
|
.bk-transfer .target-list .transfer-search-input.is-focused {
|
222
225
|
box-shadow: none;
|
223
226
|
}
|
224
|
-
.bk-transfer .source-list .transfer-search-input .icon-search,
|
225
|
-
.bk-transfer .target-list .transfer-search-input .icon-search {
|
227
|
+
.bk-transfer .source-list .transfer-search-input .bk-icon-search,
|
228
|
+
.bk-transfer .target-list .transfer-search-input .bk-icon-search {
|
226
229
|
font-size: 18px;
|
227
230
|
line-height: 28px;
|
228
231
|
color: var(--light-gray);
|
@@ -310,12 +313,12 @@
|
|
310
313
|
display: flex;
|
311
314
|
font-size: 30px;
|
312
315
|
}
|
313
|
-
.bk-transfer .source-list .content li.custom-item .icon-wrapper .icon-delete,
|
314
|
-
.bk-transfer .target-list .content li.custom-item .icon-wrapper .icon-delete,
|
315
|
-
.bk-transfer .source-list .content li .item-content .icon-wrapper .icon-delete,
|
316
|
-
.bk-transfer .target-list .content li .item-content .icon-wrapper .icon-delete,
|
317
|
-
.bk-transfer .source-list .content .checkbox-item .icon-wrapper .icon-delete,
|
318
|
-
.bk-transfer .target-list .content .checkbox-item .icon-wrapper .icon-delete {
|
316
|
+
.bk-transfer .source-list .content li.custom-item .icon-wrapper .bk-icon-delete,
|
317
|
+
.bk-transfer .target-list .content li.custom-item .icon-wrapper .bk-icon-delete,
|
318
|
+
.bk-transfer .source-list .content li .item-content .icon-wrapper .bk-icon-delete,
|
319
|
+
.bk-transfer .target-list .content li .item-content .icon-wrapper .bk-icon-delete,
|
320
|
+
.bk-transfer .source-list .content .checkbox-item .icon-wrapper .bk-icon-delete,
|
321
|
+
.bk-transfer .target-list .content .checkbox-item .icon-wrapper .bk-icon-delete {
|
319
322
|
margin-right: 6px;
|
320
323
|
font-size: 16px;
|
321
324
|
}
|
package/lib/tree/constant.d.ts
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
export declare enum EVENTS {
|
2
|
+
NODE_CHECKED = "nodeChecked",
|
2
3
|
NODE_CLICK = "nodeClick",
|
3
4
|
NODE_COLLAPSE = "nodeCollapse",
|
4
|
-
NODE_EXPAND = "nodeExpand",
|
5
|
-
NODE_CHECKED = "nodeChecked",
|
6
|
-
NODE_DRAG_START = "nodeDragStart",
|
7
|
-
NODE_DRAG_OVER = "nodeDragOver",
|
8
5
|
NODE_DRAG_LEAVE = "nodeDragLeave",
|
9
|
-
|
6
|
+
NODE_DRAG_OVER = "nodeDragOver",
|
7
|
+
NODE_DRAG_START = "nodeDragStart",
|
8
|
+
NODE_DROP = "nodeDrop",
|
9
|
+
NODE_ENTER_VIEW = "nodeEnterView",
|
10
|
+
NODE_EXPAND = "nodeExpand"
|
10
11
|
}
|
11
12
|
export declare const TreeEmitEventsType: {
|
12
13
|
nodeClick: (..._args: any[]) => boolean;
|
@@ -17,30 +18,31 @@ export declare const TreeEmitEventsType: {
|
|
17
18
|
nodeDragOver: (..._args: any[]) => boolean;
|
18
19
|
nodeDragLeave: (..._args: any[]) => boolean;
|
19
20
|
nodeDrop: (..._args: any[]) => boolean;
|
21
|
+
nodeEnterView: (..._args: any[]) => boolean;
|
20
22
|
};
|
21
23
|
/**
|
22
24
|
* 节点扩展属性
|
23
25
|
*/
|
24
26
|
export declare const enum NODE_ATTRIBUTES {
|
25
27
|
DEPTH = "__depth",
|
26
|
-
INDEX = "__index",
|
27
|
-
UUID = "__uuid",
|
28
|
-
PARENT = "__parent",
|
29
28
|
HAS_CHILD = "__has_child",
|
30
|
-
|
31
|
-
|
32
|
-
ORDER = "__order",
|
33
|
-
IS_OPEN = "__is_open",
|
34
|
-
IS_CHECKED = "__is_checked",
|
35
|
-
IS_SELECTED = "__is_selected",
|
29
|
+
INDEX = "__index",
|
30
|
+
IS_ASYNC = "__is_async",
|
36
31
|
IS_ASYNC_INIT = "__is_async_init",
|
37
|
-
IS_MATCH = "__is_match",
|
38
|
-
IS_NULL = "__IS_NULL",
|
39
32
|
IS_CACHED = "__is_cached",
|
40
|
-
|
33
|
+
IS_CHECKED = "__is_checked",
|
34
|
+
IS_INDETERMINATE = "__is_indeterminate",
|
41
35
|
IS_LOADING = "__is_loading",
|
36
|
+
IS_MATCH = "__is_match",
|
37
|
+
IS_NULL = "__IS_NULL",
|
38
|
+
IS_OPEN = "__is_open",
|
39
|
+
IS_ROOT = "__is_root",
|
40
|
+
IS_SELECTED = "__is_selected",
|
41
|
+
ORDER = "__order",
|
42
|
+
PARENT = "__parent",
|
43
|
+
PATH = "__path",
|
42
44
|
TREE_NODE_ATTR = "__attr__",
|
43
|
-
|
45
|
+
UUID = "__uuid"
|
44
46
|
}
|
45
47
|
export declare const NODE_SOURCE_ATTRS: {
|
46
48
|
__is_open: string;
|
@@ -57,7 +59,7 @@ export declare const NODE_SOURCE_ATTRS: {
|
|
57
59
|
*/
|
58
60
|
export declare enum NodeContentActionEnum {
|
59
61
|
CLICK = "click",
|
60
|
-
|
62
|
+
COLLAPSE = "collapse",
|
61
63
|
EXPAND = "expand",
|
62
|
-
|
64
|
+
SELECTED = "selected"
|
63
65
|
}
|
package/lib/tree/index.d.ts
CHANGED
@@ -40,7 +40,7 @@ declare const BkTree: {
|
|
40
40
|
};
|
41
41
|
async: import("vue-types").VueTypeShape<{
|
42
42
|
callback: (item: any, cb: any) => Promise<any>;
|
43
|
-
cache:
|
43
|
+
cache: boolean;
|
44
44
|
deepAutoOpen?: string;
|
45
45
|
}>;
|
46
46
|
offsetLeft: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -115,15 +115,24 @@ declare const BkTree: {
|
|
115
115
|
} & {
|
116
116
|
default: boolean;
|
117
117
|
};
|
118
|
+
checkStrictly: import("vue-types").VueTypeValidableDef<boolean> & {
|
119
|
+
default: boolean;
|
120
|
+
} & {
|
121
|
+
default: boolean;
|
122
|
+
};
|
123
|
+
intersectionObserver: import("vue-types").VueTypeDef<boolean | import("./props").IIntersectionObserver> & {
|
124
|
+
default: boolean | (() => import("./props").IIntersectionObserver);
|
125
|
+
};
|
118
126
|
}>> & {
|
127
|
+
onNodeChecked?: (...args: any[]) => any;
|
119
128
|
onNodeClick?: (...args: any[]) => any;
|
120
129
|
onNodeCollapse?: (...args: any[]) => any;
|
121
|
-
onNodeExpand?: (...args: any[]) => any;
|
122
|
-
onNodeChecked?: (...args: any[]) => any;
|
123
|
-
onNodeDragStart?: (...args: any[]) => any;
|
124
|
-
onNodeDragOver?: (...args: any[]) => any;
|
125
130
|
onNodeDragLeave?: (...args: any[]) => any;
|
131
|
+
onNodeDragOver?: (...args: any[]) => any;
|
132
|
+
onNodeDragStart?: (...args: any[]) => any;
|
126
133
|
onNodeDrop?: (...args: any[]) => any;
|
134
|
+
onNodeEnterView?: (...args: any[]) => any;
|
135
|
+
onNodeExpand?: (...args: any[]) => any;
|
127
136
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
128
137
|
nodeClick: (..._args: any[]) => boolean;
|
129
138
|
nodeCollapse: (..._args: any[]) => boolean;
|
@@ -133,6 +142,7 @@ declare const BkTree: {
|
|
133
142
|
nodeDragOver: (..._args: any[]) => boolean;
|
134
143
|
nodeDragLeave: (..._args: any[]) => boolean;
|
135
144
|
nodeDrop: (..._args: any[]) => boolean;
|
145
|
+
nodeEnterView: (..._args: any[]) => boolean;
|
136
146
|
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
137
147
|
data: import("vue-types").VueTypeDef<any[]> & {
|
138
148
|
default: () => any[];
|
@@ -174,7 +184,7 @@ declare const BkTree: {
|
|
174
184
|
};
|
175
185
|
async: import("vue-types").VueTypeShape<{
|
176
186
|
callback: (item: any, cb: any) => Promise<any>;
|
177
|
-
cache:
|
187
|
+
cache: boolean;
|
178
188
|
deepAutoOpen?: string;
|
179
189
|
}>;
|
180
190
|
offsetLeft: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -249,15 +259,24 @@ declare const BkTree: {
|
|
249
259
|
} & {
|
250
260
|
default: boolean;
|
251
261
|
};
|
262
|
+
checkStrictly: import("vue-types").VueTypeValidableDef<boolean> & {
|
263
|
+
default: boolean;
|
264
|
+
} & {
|
265
|
+
default: boolean;
|
266
|
+
};
|
267
|
+
intersectionObserver: import("vue-types").VueTypeDef<boolean | import("./props").IIntersectionObserver> & {
|
268
|
+
default: boolean | (() => import("./props").IIntersectionObserver);
|
269
|
+
};
|
252
270
|
}>> & {
|
271
|
+
onNodeChecked?: (...args: any[]) => any;
|
253
272
|
onNodeClick?: (...args: any[]) => any;
|
254
273
|
onNodeCollapse?: (...args: any[]) => any;
|
255
|
-
onNodeExpand?: (...args: any[]) => any;
|
256
|
-
onNodeChecked?: (...args: any[]) => any;
|
257
|
-
onNodeDragStart?: (...args: any[]) => any;
|
258
|
-
onNodeDragOver?: (...args: any[]) => any;
|
259
274
|
onNodeDragLeave?: (...args: any[]) => any;
|
275
|
+
onNodeDragOver?: (...args: any[]) => any;
|
276
|
+
onNodeDragStart?: (...args: any[]) => any;
|
260
277
|
onNodeDrop?: (...args: any[]) => any;
|
278
|
+
onNodeEnterView?: (...args: any[]) => any;
|
279
|
+
onNodeExpand?: (...args: any[]) => any;
|
261
280
|
}, {
|
262
281
|
data: any[];
|
263
282
|
height: number;
|
@@ -285,6 +304,8 @@ declare const BkTree: {
|
|
285
304
|
expandAll: boolean;
|
286
305
|
nodeContentAction: any;
|
287
306
|
keepSlotData: boolean;
|
307
|
+
checkStrictly: boolean;
|
308
|
+
intersectionObserver: boolean | import("./props").IIntersectionObserver;
|
288
309
|
}, true, {}, {}, {
|
289
310
|
P: {};
|
290
311
|
B: {};
|
@@ -333,7 +354,7 @@ declare const BkTree: {
|
|
333
354
|
};
|
334
355
|
async: import("vue-types").VueTypeShape<{
|
335
356
|
callback: (item: any, cb: any) => Promise<any>;
|
336
|
-
cache:
|
357
|
+
cache: boolean;
|
337
358
|
deepAutoOpen?: string;
|
338
359
|
}>;
|
339
360
|
offsetLeft: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -408,15 +429,24 @@ declare const BkTree: {
|
|
408
429
|
} & {
|
409
430
|
default: boolean;
|
410
431
|
};
|
432
|
+
checkStrictly: import("vue-types").VueTypeValidableDef<boolean> & {
|
433
|
+
default: boolean;
|
434
|
+
} & {
|
435
|
+
default: boolean;
|
436
|
+
};
|
437
|
+
intersectionObserver: import("vue-types").VueTypeDef<boolean | import("./props").IIntersectionObserver> & {
|
438
|
+
default: boolean | (() => import("./props").IIntersectionObserver);
|
439
|
+
};
|
411
440
|
}>> & {
|
441
|
+
onNodeChecked?: (...args: any[]) => any;
|
412
442
|
onNodeClick?: (...args: any[]) => any;
|
413
443
|
onNodeCollapse?: (...args: any[]) => any;
|
414
|
-
onNodeExpand?: (...args: any[]) => any;
|
415
|
-
onNodeChecked?: (...args: any[]) => any;
|
416
|
-
onNodeDragStart?: (...args: any[]) => any;
|
417
|
-
onNodeDragOver?: (...args: any[]) => any;
|
418
444
|
onNodeDragLeave?: (...args: any[]) => any;
|
445
|
+
onNodeDragOver?: (...args: any[]) => any;
|
446
|
+
onNodeDragStart?: (...args: any[]) => any;
|
419
447
|
onNodeDrop?: (...args: any[]) => any;
|
448
|
+
onNodeEnterView?: (...args: any[]) => any;
|
449
|
+
onNodeExpand?: (...args: any[]) => any;
|
420
450
|
}, () => JSX.Element, {}, {}, {}, {
|
421
451
|
data: any[];
|
422
452
|
height: number;
|
@@ -444,6 +474,8 @@ declare const BkTree: {
|
|
444
474
|
expandAll: boolean;
|
445
475
|
nodeContentAction: any;
|
446
476
|
keepSlotData: boolean;
|
477
|
+
checkStrictly: boolean;
|
478
|
+
intersectionObserver: boolean | import("./props").IIntersectionObserver;
|
447
479
|
}>;
|
448
480
|
__isFragment?: never;
|
449
481
|
__isTeleport?: never;
|
@@ -489,7 +521,7 @@ declare const BkTree: {
|
|
489
521
|
};
|
490
522
|
async: import("vue-types").VueTypeShape<{
|
491
523
|
callback: (item: any, cb: any) => Promise<any>;
|
492
|
-
cache:
|
524
|
+
cache: boolean;
|
493
525
|
deepAutoOpen?: string;
|
494
526
|
}>;
|
495
527
|
offsetLeft: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -564,15 +596,24 @@ declare const BkTree: {
|
|
564
596
|
} & {
|
565
597
|
default: boolean;
|
566
598
|
};
|
599
|
+
checkStrictly: import("vue-types").VueTypeValidableDef<boolean> & {
|
600
|
+
default: boolean;
|
601
|
+
} & {
|
602
|
+
default: boolean;
|
603
|
+
};
|
604
|
+
intersectionObserver: import("vue-types").VueTypeDef<boolean | import("./props").IIntersectionObserver> & {
|
605
|
+
default: boolean | (() => import("./props").IIntersectionObserver);
|
606
|
+
};
|
567
607
|
}>> & {
|
608
|
+
onNodeChecked?: (...args: any[]) => any;
|
568
609
|
onNodeClick?: (...args: any[]) => any;
|
569
610
|
onNodeCollapse?: (...args: any[]) => any;
|
570
|
-
onNodeExpand?: (...args: any[]) => any;
|
571
|
-
onNodeChecked?: (...args: any[]) => any;
|
572
|
-
onNodeDragStart?: (...args: any[]) => any;
|
573
|
-
onNodeDragOver?: (...args: any[]) => any;
|
574
611
|
onNodeDragLeave?: (...args: any[]) => any;
|
612
|
+
onNodeDragOver?: (...args: any[]) => any;
|
613
|
+
onNodeDragStart?: (...args: any[]) => any;
|
575
614
|
onNodeDrop?: (...args: any[]) => any;
|
615
|
+
onNodeEnterView?: (...args: any[]) => any;
|
616
|
+
onNodeExpand?: (...args: any[]) => any;
|
576
617
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
577
618
|
nodeClick: (..._args: any[]) => boolean;
|
578
619
|
nodeCollapse: (..._args: any[]) => boolean;
|
@@ -582,6 +623,7 @@ declare const BkTree: {
|
|
582
623
|
nodeDragOver: (..._args: any[]) => boolean;
|
583
624
|
nodeDragLeave: (..._args: any[]) => boolean;
|
584
625
|
nodeDrop: (..._args: any[]) => boolean;
|
626
|
+
nodeEnterView: (..._args: any[]) => boolean;
|
585
627
|
}, string, {
|
586
628
|
data: any[];
|
587
629
|
height: number;
|
@@ -609,5 +651,7 @@ declare const BkTree: {
|
|
609
651
|
expandAll: boolean;
|
610
652
|
nodeContentAction: any;
|
611
653
|
keepSlotData: boolean;
|
654
|
+
checkStrictly: boolean;
|
655
|
+
intersectionObserver: boolean | import("./props").IIntersectionObserver;
|
612
656
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
613
657
|
export default BkTree;
|