bkui-vue 0.0.2-beta.13 → 0.0.2-beta.130
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 +143 -161
- package/dist/index.esm.js +21271 -23100
- package/dist/index.umd.js +143 -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.d.ts +1 -1
- package/lib/affix/affix.variable.css +6 -2
- package/lib/affix/index.d.ts +4 -4
- package/lib/affix/index.js +321 -1
- package/lib/alert/alert.css +7 -0
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/alert.less +16 -6
- package/lib/alert/alert.variable.css +13 -2
- package/lib/alert/index.d.ts +10 -10
- package/lib/alert/index.js +214 -1
- package/lib/animate-number/index.d.ts +1 -1
- package/lib/animate-number/index.js +155 -1
- package/lib/backtop/backtop.css +8 -8
- package/lib/backtop/backtop.less +3 -1
- package/lib/backtop/backtop.variable.css +17 -13
- package/lib/backtop/index.d.ts +1 -1
- package/lib/backtop/index.js +188 -1
- package/lib/badge/badge.css +8 -2
- package/lib/badge/badge.d.ts +2 -2
- package/lib/badge/badge.less +8 -4
- package/lib/badge/badge.variable.css +14 -4
- package/lib/badge/index.d.ts +7 -7
- package/lib/badge/index.js +235 -1
- package/lib/breadcrumb/breadcrumb.css +4 -4
- package/lib/breadcrumb/breadcrumb.variable.css +10 -6
- package/lib/breadcrumb/index.d.ts +2 -2
- package/lib/breadcrumb/index.js +309 -1
- package/lib/button/button-group.d.ts +2 -2
- package/lib/button/button.css +30 -7
- package/lib/button/button.less +29 -13
- package/lib/button/button.variable.css +44 -17
- package/lib/button/index.d.ts +4 -4
- package/lib/button/index.js +321 -1
- package/lib/card/card.css +11 -11
- package/lib/card/card.d.ts +1 -1
- package/lib/card/card.less +7 -7
- package/lib/card/card.variable.css +17 -13
- package/lib/card/index.d.ts +4 -4
- package/lib/card/index.js +285 -1
- package/lib/cascader/cascader-panel.d.ts +1 -0
- package/lib/cascader/cascader.css +6 -6
- package/lib/cascader/cascader.less +3 -5
- package/lib/cascader/cascader.variable.css +12 -8
- package/lib/cascader/index.d.ts +3 -2
- package/lib/cascader/index.js +2045 -2
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/checkbox-group.d.ts +6 -3
- package/lib/checkbox/checkbox.css +1 -1
- package/lib/checkbox/checkbox.d.ts +14 -12
- package/lib/checkbox/checkbox.less +1 -1
- package/lib/checkbox/checkbox.variable.css +7 -3
- package/lib/checkbox/index.d.ts +40 -31
- package/lib/checkbox/index.js +545 -1
- package/lib/code-diff/code-diff.variable.css +6 -2
- package/lib/code-diff/index.d.ts +1 -1
- package/lib/code-diff/index.js +5501 -1
- package/lib/collapse/collapse.variable.css +6 -2
- package/lib/collapse/index.d.ts +2 -2
- package/lib/collapse/index.js +570 -1
- package/lib/collapse-transition/collapse-transition.variable.css +6 -2
- package/lib/collapse-transition/index.d.ts +128 -2
- package/lib/collapse-transition/index.js +177 -1
- package/lib/color-picker/color-picker.d.ts +16 -0
- package/lib/color-picker/color-picker.variable.css +6 -2
- package/lib/color-picker/components/recommend-colors.d.ts +16 -0
- package/lib/color-picker/index.d.ts +19 -1
- 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 +29 -1
- package/lib/config-provider/index.js +365 -1
- package/lib/config-provider/token.d.ts +7 -0
- package/lib/config-provider/use-global-config.d.ts +2 -0
- package/lib/config-provider/use-prefix.d.ts +2 -0
- package/lib/container/container.css +4 -4
- package/lib/container/container.variable.css +10 -6
- package/lib/container/index.d.ts +2 -2
- package/lib/container/index.js +391 -1
- package/lib/date-picker/date-picker.d.ts +6 -2
- package/lib/date-picker/date-picker.variable.css +6 -2
- package/lib/date-picker/index.d.ts +21 -8
- package/lib/date-picker/index.js +5609 -1
- package/lib/date-picker/panel/date-range.d.ts +2 -1
- package/lib/date-picker/time-picker.d.ts +3 -1
- package/lib/dialog/dialog.css +9 -6
- package/lib/dialog/dialog.less +7 -6
- package/lib/dialog/dialog.variable.css +15 -8
- package/lib/dialog/index.d.ts +1 -1
- package/lib/dialog/index.js +975 -2
- package/lib/directives/index.js +1387 -2
- package/lib/directives/tooltips.d.ts +3 -2
- package/lib/dist.index.js +87 -1
- package/lib/divider/divider.variable.css +6 -2
- package/lib/divider/index.d.ts +1 -1
- package/lib/divider/index.js +169 -1
- package/lib/dropdown/dropdown.css +2 -1
- package/lib/dropdown/dropdown.variable.css +8 -3
- package/lib/dropdown/index.d.ts +2 -2
- package/lib/dropdown/index.js +369 -1
- package/lib/exception/exception.variable.css +6 -2
- package/lib/exception/index.d.ts +2 -2
- package/lib/exception/index.js +385 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +6 -2
- package/lib/fixed-navbar/index.d.ts +1 -1
- 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.d.ts +3 -3
- package/lib/form/index.js +952 -1
- package/lib/hooks.d.ts +1 -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.d.ts +4 -0
- package/lib/icon/assistant.js +191 -0
- 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/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 +1 -0
- package/lib/icon/index.js +2399 -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/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.d.ts +1 -1
- package/lib/image/index.js +641 -1
- package/lib/index.js +97 -1
- package/lib/info-box/index.js +1165 -2
- package/lib/info-box/info-box.css +2 -0
- package/lib/info-box/info-box.d.ts +4 -0
- package/lib/info-box/info-box.less +2 -1
- package/lib/info-box/info-box.variable.css +8 -2
- package/lib/input/index.d.ts +150 -54
- package/lib/input/index.js +1233 -1
- package/lib/input/input.css +59 -15
- package/lib/input/input.d.ts +103 -14
- package/lib/input/input.less +71 -13
- package/lib/input/input.variable.css +65 -17
- package/lib/input/util.d.ts +6 -0
- package/lib/link/index.d.ts +4 -4
- package/lib/link/index.js +160 -1
- package/lib/link/link.d.ts +1 -1
- package/lib/link/link.variable.css +6 -2
- package/lib/loading/index.d.ts +2 -2
- package/lib/loading/index.js +381 -1
- package/lib/loading/loading.css +13 -13
- package/lib/loading/loading.less +14 -9
- package/lib/loading/loading.variable.css +19 -15
- package/lib/locale/index.js +477 -1
- package/lib/locale/lang/en.d.ts +7 -0
- package/lib/menu/index.d.ts +2 -2
- package/lib/menu/index.js +724 -1
- package/lib/menu/menu.css +4 -4
- package/lib/menu/menu.variable.css +10 -6
- package/lib/menu/submenu.variable.css +6 -2
- package/lib/message/index.js +1795 -2
- package/lib/message/message.css +33 -9
- package/lib/message/message.less +78 -54
- package/lib/message/message.variable.css +39 -11
- package/lib/message/messageConstructor.d.ts +25 -4
- package/lib/modal/index.d.ts +2 -2
- package/lib/modal/index.js +396 -1
- package/lib/modal/modal.css +2 -0
- package/lib/modal/modal.variable.css +8 -2
- package/lib/navigation/index.d.ts +4 -1
- package/lib/navigation/index.js +367 -1
- package/lib/navigation/navigation.d.ts +1 -0
- 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/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/components/overflow-title.d.ts +257 -1
- package/lib/overflow-title/index.d.ts +387 -2
- package/lib/overflow-title/index.js +461 -1
- package/lib/overflow-title/props.d.ts +129 -0
- package/lib/pagination/index.d.ts +6 -6
- 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 +43 -4
- package/lib/pop-confirm/index.js +285 -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/content.d.ts +33 -0
- package/lib/popover/index.d.ts +74 -16
- package/lib/popover/index.js +3841 -1
- package/lib/popover/popover.css +2 -1
- package/lib/popover/popover.d.ts +40 -7
- package/lib/popover/popover.less +4 -3
- package/lib/popover/popover.variable.css +8 -3
- package/lib/popover/props.d.ts +25 -2
- package/lib/popover/use-floating.d.ts +1 -1
- package/lib/popover/use-popover-init.d.ts +2 -1
- package/lib/popover2/index.d.ts +1 -1
- package/lib/popover2/index.js +107 -1
- package/lib/preset.d.ts +14 -0
- package/lib/preset.js +93 -1
- package/lib/process/index.d.ts +1 -1
- package/lib/process/index.js +759 -2
- package/lib/process/process.variable.css +6 -2
- package/lib/progress/index.d.ts +5 -5
- package/lib/progress/index.js +431 -1
- package/lib/progress/progress.css +11 -7
- package/lib/progress/progress.d.ts +3 -3
- package/lib/progress/progress.less +8 -3
- package/lib/progress/progress.variable.css +17 -9
- package/lib/radio/common.d.ts +1 -0
- package/lib/radio/index.d.ts +31 -25
- package/lib/radio/index.js +635 -1
- package/lib/radio/radio-button.d.ts +8 -7
- package/lib/radio/radio-group.d.ts +7 -4
- package/lib/radio/radio.css +26 -12
- package/lib/radio/radio.d.ts +5 -4
- package/lib/radio/radio.less +42 -8
- package/lib/radio/radio.variable.css +26 -8
- package/lib/rate/index.d.ts +12 -8
- package/lib/rate/index.js +354 -1
- package/lib/rate/rate.d.ts +4 -3
- 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.d.ts +4 -4
- package/lib/resize-layout/index.js +429 -1
- package/lib/resize-layout/resize-layout.css +14 -2
- package/lib/resize-layout/resize-layout.d.ts +1 -1
- package/lib/resize-layout/resize-layout.less +14 -2
- package/lib/resize-layout/resize-layout.variable.css +20 -4
- package/lib/search-select/index.d.ts +62 -29
- package/lib/search-select/index.js +2729 -2
- package/lib/search-select/input.d.ts +5 -1
- package/lib/search-select/menu.d.ts +33 -2
- package/lib/search-select/search-select.css +39 -21
- package/lib/search-select/search-select.d.ts +23 -20
- package/lib/search-select/search-select.less +44 -23
- package/lib/search-select/search-select.variable.css +45 -23
- package/lib/search-select/selected.d.ts +5 -1
- package/lib/search-select/utils.d.ts +13 -5
- package/lib/select/common.d.ts +4 -1
- package/lib/select/index.d.ts +284 -87
- package/lib/select/index.js +2380 -2
- package/lib/select/option.d.ts +12 -0
- package/lib/select/select.css +16 -5
- package/lib/select/select.d.ts +119 -38
- package/lib/select/select.less +14 -1
- package/lib/select/select.variable.css +46 -31
- package/lib/select/selectTagInput.d.ts +10 -5
- package/lib/select/type.d.ts +3 -0
- package/lib/shared/helper.d.ts +1 -1
- package/lib/shared/index.js +2690 -1
- package/lib/shared/mask-manager.d.ts +3 -4
- package/lib/shared/pop-manager.d.ts +6 -2
- package/lib/shared/popover.d.ts +2 -2
- package/lib/shared/vue-types.d.ts +4 -3
- package/lib/sideslider/index.d.ts +1 -1
- package/lib/sideslider/index.js +714 -2
- package/lib/sideslider/sideslider.variable.css +6 -2
- package/lib/slider/index.d.ts +1 -1
- 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 +5 -5
- 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/mixins/animate.css +4 -4
- package/lib/styles/mixins/animate.less +10 -6
- package/lib/styles/mixins/animate.variable.css +130 -4
- package/lib/styles/mixins/mixins.css +4 -4
- package/lib/styles/mixins/mixins.variable.css +4 -4
- package/lib/styles/mixins/popper.less +6 -5
- 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.d.ts +1 -1
- package/lib/swiper/index.js +336 -1
- package/lib/swiper/swiper.css +0 -6
- package/lib/swiper/swiper.less +0 -8
- package/lib/swiper/swiper.variable.css +6 -8
- package/lib/switcher/index.d.ts +34 -20
- package/lib/switcher/index.js +277 -1
- package/lib/switcher/switcher.css +4 -4
- package/lib/switcher/switcher.d.ts +76 -7
- package/lib/switcher/switcher.variable.css +10 -6
- package/lib/tab/index.d.ts +3 -3
- package/lib/tab/index.js +914 -1
- package/lib/tab/tab-nav.d.ts +12 -2
- package/lib/tab/tab-panel.d.ts +1 -1
- package/lib/tab/tab.variable.css +6 -2
- package/lib/table/components/table-cell.d.ts +22 -24
- package/lib/table/components/table-column.d.ts +129 -85
- package/lib/table/const.d.ts +24 -2
- package/lib/table/events.d.ts +26 -26
- package/lib/table/index.d.ts +332 -296
- package/lib/table/index.js +6510 -1
- package/lib/table/plugins/body-empty.d.ts +1 -1
- package/lib/table/plugins/head-filter.css +4 -28
- package/lib/table/plugins/head-filter.less +5 -34
- package/lib/table/plugins/head-filter.variable.css +10 -30
- package/lib/table/plugins/head-sort.variable.css +6 -2
- package/lib/table/plugins/settings.d.ts +2 -19
- package/lib/table/plugins/settings.variable.css +6 -2
- package/lib/table/plugins/use-column-resize.d.ts +30 -10
- package/lib/table/plugins/use-fixed-column.d.ts +9 -9
- package/lib/table/plugins/use-head-cell.d.ts +7 -0
- package/lib/table/plugins/use-pagination.d.ts +8 -4
- package/lib/table/props.d.ts +120 -59
- package/lib/table/table.css +105 -53
- package/lib/table/table.d.ts +96 -73
- package/lib/table/table.less +70 -26
- package/lib/table/table.variable.css +111 -55
- package/lib/table/use-attributes.d.ts +59 -0
- package/lib/table/use-column.d.ts +264 -49
- package/lib/table/use-common.d.ts +1607 -88
- package/lib/table/use-render.d.ts +11 -0
- package/lib/table/utils.d.ts +34 -31
- package/lib/table-column/index.d.ts +384 -401
- package/lib/table-column/index.js +775 -1
- package/lib/tag/index.d.ts +10 -10
- package/lib/tag/index.js +233 -1
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag/tag.variable.css +6 -2
- package/lib/tag-input/index.d.ts +49 -7
- package/lib/tag-input/index.js +1664 -1
- package/lib/tag-input/list-tag-render.d.ts +11 -0
- package/lib/tag-input/tag-input.css +8 -0
- package/lib/tag-input/tag-input.d.ts +32 -4
- package/lib/tag-input/tag-input.less +9 -0
- package/lib/tag-input/tag-input.variable.css +14 -2
- package/lib/tag-input/tag-props.d.ts +16 -2
- package/lib/time-picker/index.d.ts +10 -4
- package/lib/time-picker/index.js +71 -1
- package/lib/time-picker/time-picker.css +3 -3
- package/lib/time-picker/time-picker.less +4 -9
- package/lib/time-picker/time-picker.variable.css +9 -5
- package/lib/timeline/index.d.ts +1 -1
- package/lib/timeline/index.js +241 -1
- package/lib/timeline/timeline.variable.css +6 -2
- package/lib/transfer/index.d.ts +1 -1
- 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/constant.d.ts +2 -2
- package/lib/tree/index.d.ts +70 -40
- package/lib/tree/index.js +2584 -1
- package/lib/tree/props.d.ts +20 -10
- package/lib/tree/tree.css +1 -1
- package/lib/tree/tree.d.ts +42 -21
- package/lib/tree/tree.variable.css +7 -3
- package/lib/tree/use-empty.d.ts +1 -3
- package/lib/tree/use-node-action.d.ts +5 -3
- package/lib/tree/use-node-attribute.d.ts +17 -8
- package/lib/tree/use-search.d.ts +2 -2
- package/lib/tree/use-tree-init.d.ts +1 -2
- package/lib/tree/util.d.ts +9 -3
- package/lib/upload/index.d.ts +1 -1
- package/lib/upload/index.js +2874 -2
- package/lib/upload/upload.css +4 -4
- package/lib/upload/upload.type.d.ts +1 -1
- package/lib/upload/upload.variable.css +10 -6
- package/lib/upload/use-file-handler.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +43 -1
- package/lib/virtual-render/index.js +901 -1
- package/lib/virtual-render/props.d.ts +15 -0
- package/lib/virtual-render/use-fix-top.d.ts +18 -0
- package/lib/virtual-render/v-virtual-render.d.ts +24 -1
- package/lib/virtual-render/virtual-render.d.ts +25 -0
- package/lib/virtual-render/virtual-render.variable.css +6 -2
- package/lib/volar.components.d.ts +24 -24
- package/package.json +33 -19
- package/dist/index.cjs.source.js +0 -45479
- package/dist/index.esm.source.js +0 -45479
- package/dist/index.umd.source.js +0 -45482
- 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/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 -140
- package/lib/upload/index.js.LICENSE.txt +0 -1
package/lib/tree/props.d.ts
CHANGED
@@ -61,6 +61,13 @@ export declare const treeProps: {
|
|
61
61
|
} & {
|
62
62
|
default: number;
|
63
63
|
};
|
64
|
+
/**
|
65
|
+
* 设置树形组件高度
|
66
|
+
* 在设置 virtualRender=true时,请指定高度,避免组件自动计算高度导致多次渲染
|
67
|
+
*/
|
68
|
+
height: import("vue-types").VueTypeValidableDef<number> & {
|
69
|
+
default: number;
|
70
|
+
};
|
64
71
|
/**
|
65
72
|
* 设置层级连线
|
66
73
|
*/
|
@@ -143,10 +150,11 @@ export declare const treeProps: {
|
|
143
150
|
/**
|
144
151
|
* 是否支持多选
|
145
152
|
*/
|
146
|
-
showCheckbox: import("vue-types").
|
147
|
-
default:
|
148
|
-
}
|
149
|
-
|
153
|
+
showCheckbox: import("vue-types").VueTypeDef<any> & {
|
154
|
+
default: any;
|
155
|
+
};
|
156
|
+
checked: import("vue-types").VueTypeDef<any[]> & {
|
157
|
+
default: () => any[];
|
150
158
|
};
|
151
159
|
/**
|
152
160
|
* 是否显示节点类型Icon
|
@@ -161,16 +169,18 @@ export declare const treeProps: {
|
|
161
169
|
*/
|
162
170
|
selected: import("vue-types").VueTypeDef<string | number | {
|
163
171
|
[key: string]: any;
|
164
|
-
}
|
172
|
+
}> & {
|
173
|
+
default: string | number | (() => {
|
174
|
+
[key: string]: any;
|
175
|
+
});
|
176
|
+
};
|
165
177
|
/**
|
166
178
|
* 是否自动检查当前节点是否有子节点
|
167
179
|
* 节点前面的展开收起Icon会根据判定值做改变
|
168
180
|
* 如果需要自已控制,请设置为false
|
169
181
|
*/
|
170
|
-
autoCheckChildren: import("vue-types").
|
171
|
-
default:
|
172
|
-
} & {
|
173
|
-
default: boolean;
|
182
|
+
autoCheckChildren: import("vue-types").VueTypeDef<any> & {
|
183
|
+
default: any;
|
174
184
|
};
|
175
185
|
/**
|
176
186
|
* 如果设置了某一个叶子节点状态为展开,是否自动展开所有父级节点
|
@@ -218,7 +228,7 @@ export type SearchOption = {
|
|
218
228
|
value: string | number | boolean;
|
219
229
|
match?: `${TreeSearchMatchEnum}` | Function;
|
220
230
|
resultType?: `${TreeSearchResultEnum}`;
|
221
|
-
|
231
|
+
showChildNodes?: boolean;
|
222
232
|
};
|
223
233
|
export type TreePropTypes = Readonly<ExtractPropTypes<typeof treeProps>>;
|
224
234
|
export {};
|
package/lib/tree/tree.css
CHANGED
package/lib/tree/tree.d.ts
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
import { TreePropTypes as defineTypes } from './props';
|
2
2
|
export type TreePropTypes = defineTypes;
|
3
|
+
export type ITreeScrollTopOption = {
|
4
|
+
id?: string;
|
5
|
+
index?: number;
|
6
|
+
};
|
3
7
|
declare const _default: import("vue").DefineComponent<{
|
4
8
|
data: import("vue-types").VueTypeDef<any[]> & {
|
5
9
|
default: () => any[];
|
@@ -25,6 +29,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
25
29
|
} & {
|
26
30
|
default: number;
|
27
31
|
};
|
32
|
+
height: import("vue-types").VueTypeValidableDef<number> & {
|
33
|
+
default: number;
|
34
|
+
};
|
28
35
|
levelLine: import("vue-types").VueTypeDef<any> & {
|
29
36
|
default: any;
|
30
37
|
};
|
@@ -78,10 +85,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
78
85
|
} & {
|
79
86
|
default: boolean;
|
80
87
|
};
|
81
|
-
showCheckbox: import("vue-types").
|
82
|
-
default:
|
83
|
-
}
|
84
|
-
|
88
|
+
showCheckbox: import("vue-types").VueTypeDef<any> & {
|
89
|
+
default: any;
|
90
|
+
};
|
91
|
+
checked: import("vue-types").VueTypeDef<any[]> & {
|
92
|
+
default: () => any[];
|
85
93
|
};
|
86
94
|
showNodeTypeIcon: import("vue-types").VueTypeValidableDef<boolean> & {
|
87
95
|
default: boolean;
|
@@ -90,11 +98,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
90
98
|
};
|
91
99
|
selected: import("vue-types").VueTypeDef<string | number | {
|
92
100
|
[key: string]: any;
|
93
|
-
}
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
101
|
+
}> & {
|
102
|
+
default: string | number | (() => {
|
103
|
+
[key: string]: any;
|
104
|
+
});
|
105
|
+
};
|
106
|
+
autoCheckChildren: import("vue-types").VueTypeDef<any> & {
|
107
|
+
default: any;
|
98
108
|
};
|
99
109
|
autoOpenParentNode: import("vue-types").VueTypeValidableDef<boolean> & {
|
100
110
|
default: boolean;
|
@@ -148,6 +158,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
148
158
|
} & {
|
149
159
|
default: number;
|
150
160
|
};
|
161
|
+
height: import("vue-types").VueTypeValidableDef<number> & {
|
162
|
+
default: number;
|
163
|
+
};
|
151
164
|
levelLine: import("vue-types").VueTypeDef<any> & {
|
152
165
|
default: any;
|
153
166
|
};
|
@@ -201,10 +214,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
201
214
|
} & {
|
202
215
|
default: boolean;
|
203
216
|
};
|
204
|
-
showCheckbox: import("vue-types").
|
205
|
-
default:
|
206
|
-
}
|
207
|
-
|
217
|
+
showCheckbox: import("vue-types").VueTypeDef<any> & {
|
218
|
+
default: any;
|
219
|
+
};
|
220
|
+
checked: import("vue-types").VueTypeDef<any[]> & {
|
221
|
+
default: () => any[];
|
208
222
|
};
|
209
223
|
showNodeTypeIcon: import("vue-types").VueTypeValidableDef<boolean> & {
|
210
224
|
default: boolean;
|
@@ -213,11 +227,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
213
227
|
};
|
214
228
|
selected: import("vue-types").VueTypeDef<string | number | {
|
215
229
|
[key: string]: any;
|
216
|
-
}
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
230
|
+
}> & {
|
231
|
+
default: string | number | (() => {
|
232
|
+
[key: string]: any;
|
233
|
+
});
|
234
|
+
};
|
235
|
+
autoCheckChildren: import("vue-types").VueTypeDef<any> & {
|
236
|
+
default: any;
|
221
237
|
};
|
222
238
|
autoOpenParentNode: import("vue-types").VueTypeValidableDef<boolean> & {
|
223
239
|
default: boolean;
|
@@ -248,13 +264,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
248
264
|
onNodeDrop?: (...args: any[]) => any;
|
249
265
|
}, {
|
250
266
|
data: any[];
|
267
|
+
height: number;
|
251
268
|
search: string | number | boolean | import("./props").SearchOption;
|
252
269
|
draggable: boolean;
|
253
270
|
lineHeight: number;
|
271
|
+
selected: string | number | {
|
272
|
+
[key: string]: any;
|
273
|
+
};
|
254
274
|
prefixIcon: any;
|
275
|
+
checked: any[];
|
276
|
+
emptyText: string;
|
255
277
|
children: string;
|
256
278
|
offsetLeft: number;
|
257
|
-
emptyText: string;
|
258
279
|
nodeKey: string;
|
259
280
|
indent: number;
|
260
281
|
levelLine: any;
|
@@ -264,9 +285,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
264
285
|
dragSort: boolean;
|
265
286
|
selectable: any;
|
266
287
|
disabledFolderSelectable: boolean;
|
267
|
-
showCheckbox:
|
288
|
+
showCheckbox: any;
|
268
289
|
showNodeTypeIcon: boolean;
|
269
|
-
autoCheckChildren:
|
290
|
+
autoCheckChildren: any;
|
270
291
|
autoOpenParentNode: boolean;
|
271
292
|
expandAll: boolean;
|
272
293
|
nodeContentAction: any;
|
@@ -11,6 +11,7 @@
|
|
11
11
|
--white-color: white;
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
|
+
--disable-bg-color: #f9fafd;
|
14
15
|
--font-size-base: 12px;
|
15
16
|
--font-size-medium: 14px;
|
16
17
|
--font-size-large: 16px;
|
@@ -20,6 +21,9 @@
|
|
20
21
|
--component-size-small: 26px;
|
21
22
|
--component-size-base: 32px;
|
22
23
|
--component-size-large: 40px;
|
24
|
+
--component-size-small-padding: var(--component-size-small-padding);
|
25
|
+
--component-size-base-padding: var(--component-size-base-padding);
|
26
|
+
--component-size-large-padding: var(--component-size-large-padding);
|
23
27
|
--border-width-base: 1px;
|
24
28
|
--border-style-base: solid;
|
25
29
|
--border-radius-base: 2px;
|
@@ -32,7 +36,7 @@
|
|
32
36
|
--input-border-color: var(--light-gray);
|
33
37
|
--input-broder-radius: 3px;
|
34
38
|
--input-shadow-color: #a3c5fd;
|
35
|
-
--input-horizontal-padding:
|
39
|
+
--input-horizontal-padding: 8px;
|
36
40
|
--input-block-color: #f5f7fa;
|
37
41
|
--input-block-hover-color: #eaebf0;
|
38
42
|
--input-icon-size: var(--font-size-medium);
|
@@ -49,7 +53,7 @@
|
|
49
53
|
--button-selected-bg-color: #e1ecff;
|
50
54
|
--button-disabled-selected-bg-color: #f0f1f5;
|
51
55
|
--radio-font-color: #63656e;
|
52
|
-
--radio-active-color: #
|
56
|
+
--radio-active-color: #3a84ff;
|
53
57
|
--radio-hover-border-color: #979ba5;
|
54
58
|
--radio-disabled-border: #dcdee5;
|
55
59
|
--radio-disabled-font-color: #c4c6cc;
|
@@ -168,7 +172,7 @@
|
|
168
172
|
user-select: none;
|
169
173
|
}
|
170
174
|
.bk-checkbox ~ .bk-checkbox {
|
171
|
-
margin-left:
|
175
|
+
margin-left: 24px;
|
172
176
|
}
|
173
177
|
.bk-checkbox.is-checked .bk-checkbox-input {
|
174
178
|
background: #3a84ff;
|
package/lib/tree/use-empty.d.ts
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
import { TreePropTypes } from './props';
|
2
|
-
|
3
|
-
|
2
|
+
import { IFlatData } from './util';
|
3
|
+
declare const _default: (props: TreePropTypes, ctx: any, flatData: IFlatData, _renderData: any, initOption: any) => {
|
4
|
+
renderTreeNode: (item: any, showTree?: boolean) => JSX.Element;
|
4
5
|
handleTreeNodeClick: (item: any, e: MouseEvent) => void;
|
5
6
|
deepAutoOpen: () => void;
|
6
7
|
asyncNodeClick: (item: any) => Promise<any>;
|
7
8
|
setNodeAction: (args: any | any[], action: string, value: any) => void;
|
8
9
|
setNodeOpened: (item: any, isOpen?: any, e?: MouseEvent, fireEmit?: boolean) => void;
|
9
|
-
setSelect: (
|
10
|
+
setSelect: (nodes: any, selected?: boolean, autoOpen?: boolean) => void;
|
10
11
|
setOpen: (item: any[] | any, isOpen?: boolean, autoOpenParents?: boolean) => void;
|
12
|
+
setNodeAttribute: (node: any, attrName: string | string[], value: string | number | boolean | (string | number | boolean)[], loopParent?: boolean) => void;
|
11
13
|
};
|
12
14
|
export default _default;
|
@@ -1,15 +1,22 @@
|
|
1
1
|
import { TreePropTypes } from './props';
|
2
|
-
declare const _default: (flatData:
|
3
|
-
|
2
|
+
declare const _default: (flatData: {
|
3
|
+
data: any[];
|
4
|
+
schema: WeakMap<Object, any>;
|
5
|
+
}, props?: TreePropTypes) => {
|
6
|
+
getSchemaVal: (node: any) => any;
|
4
7
|
getNodeAttr: (node: any, attr: string) => any;
|
5
8
|
getNodeId: (node: any) => any;
|
6
9
|
getNodeParentId: (node: any) => any;
|
10
|
+
getParentNodeData: (node: any) => any;
|
11
|
+
getNodePathById: (id: string) => any;
|
12
|
+
getNodeAttrById: (id: string, attr: string) => any;
|
7
13
|
getNodeParentIdById: (id: string) => any;
|
8
|
-
|
14
|
+
getParentNodeAttr: (node: any, attrName: string) => any;
|
9
15
|
getParentNode: (node: any) => any;
|
10
|
-
setNodeAttr: (node: any, attr: string, val: any) => void;
|
16
|
+
setNodeAttr: (node: any, attr: string, val: any, id?: any) => void;
|
17
|
+
setNodeAttrById: (id: any, attr: string, val: any) => void;
|
11
18
|
getNodePath: (node: any) => any;
|
12
|
-
isRootNode: (node: any) => any;
|
19
|
+
isRootNode: (node: any | string) => any;
|
13
20
|
isNodeOpened: (node: any) => any;
|
14
21
|
hasChildNode: (node: any) => any;
|
15
22
|
isItemOpen: (item: any) => any;
|
@@ -17,24 +24,26 @@ declare const _default: (flatData: any, props?: TreePropTypes) => {
|
|
17
24
|
isNodeMatched: (node: any) => any;
|
18
25
|
isNodeLoading: (node: any) => any;
|
19
26
|
checkNodeIsOpen: (node: any) => any;
|
20
|
-
getSourceNodeByPath: (path: string) => any;
|
27
|
+
getSourceNodeByPath: (path: string, uid?: string) => any;
|
21
28
|
getSourceNodeByUID: (uid: string) => any;
|
22
|
-
|
29
|
+
isMatchedNode: (node: any) => any;
|
23
30
|
resolveScopedSlotParam: (item: any) => {
|
24
31
|
[x: string]: any;
|
25
32
|
fullPath: any;
|
26
33
|
uuid: any;
|
34
|
+
parent: any;
|
27
35
|
parentId: any;
|
28
36
|
};
|
29
37
|
setTreeNodeLoading: (node: any, value: boolean) => void;
|
30
38
|
extendNodeAttr: (item: any) => any;
|
31
|
-
getChildNodes: (node: any) => any
|
39
|
+
getChildNodes: (node: any) => any;
|
32
40
|
extendNodeScopedData: (item: any) => {
|
33
41
|
data: any;
|
34
42
|
attributes: {
|
35
43
|
[x: string]: any;
|
36
44
|
fullPath: any;
|
37
45
|
uuid: any;
|
46
|
+
parent: any;
|
38
47
|
parentId: any;
|
39
48
|
};
|
40
49
|
};
|
package/lib/tree/use-search.d.ts
CHANGED
@@ -4,8 +4,8 @@ declare const _default: (props: TreePropTypes) => {
|
|
4
4
|
refSearch: import("vue").Ref<string | number | boolean | SearchOption>;
|
5
5
|
isSearchActive: import("vue").ComputedRef<boolean>;
|
6
6
|
isSearchDisabled: boolean;
|
7
|
-
openResultNode: boolean;
|
8
7
|
resultType: "list" | "tree";
|
9
|
-
isTreeUI: boolean
|
8
|
+
isTreeUI: import("vue").ComputedRef<boolean>;
|
9
|
+
showChildNodes: boolean;
|
10
10
|
};
|
11
11
|
export default _default;
|
@@ -2,10 +2,9 @@ import { TreePropTypes } from './props';
|
|
2
2
|
declare const _default: (props: TreePropTypes) => {
|
3
3
|
flatData: {
|
4
4
|
data: any[];
|
5
|
-
schema:
|
5
|
+
schema: WeakMap<Object, any>;
|
6
6
|
levelLineSchema: {};
|
7
7
|
};
|
8
|
-
schemaValues: import("vue").ComputedRef<any[]>;
|
9
8
|
asyncNodeClick: (item: any) => Promise<any>;
|
10
9
|
deepAutoOpen: () => void;
|
11
10
|
afterDataUpdate: (callFn: (d: any) => any) => void;
|
package/lib/tree/util.d.ts
CHANGED
@@ -1,4 +1,8 @@
|
|
1
1
|
import { TreePropTypes } from './props';
|
2
|
+
export type IFlatData = {
|
3
|
+
data: any[];
|
4
|
+
schema: WeakMap<Object, any>;
|
5
|
+
};
|
2
6
|
/**
|
3
7
|
* 获取当前节点显示Label
|
4
8
|
* @param item 当前节点
|
@@ -29,19 +33,19 @@ export declare const getNodeItemStyle: any;
|
|
29
33
|
* @param item
|
30
34
|
* @returns
|
31
35
|
*/
|
32
|
-
export declare const getNodeItemClass: (item: any, schema:
|
36
|
+
export declare const getNodeItemClass: (item: any, schema: WeakMap<Object, any>, props: TreePropTypes, showTree?: boolean) => {
|
33
37
|
'is-root': any;
|
34
38
|
'bk-tree-node': boolean;
|
35
39
|
'is-open': any;
|
36
40
|
'is-virtual-render': boolean;
|
37
|
-
'level-line':
|
41
|
+
'level-line': boolean;
|
38
42
|
};
|
39
43
|
/**
|
40
44
|
* 获取当前渲染节点Class List
|
41
45
|
* @param item
|
42
46
|
* @returns
|
43
47
|
*/
|
44
|
-
export declare const getNodeRowClass: (item: any, schema: any) => {
|
48
|
+
export declare const getNodeRowClass: (item: any, schema: WeakMap<Object, any>) => {
|
45
49
|
[x: string]: any;
|
46
50
|
'is-checked': any;
|
47
51
|
'is-selected': any;
|
@@ -66,3 +70,5 @@ export declare const updateTreeNode: (path: string, treeData: any[], childKey: s
|
|
66
70
|
*/
|
67
71
|
export declare const assignTreeNode: (path: string, treeData: any[], childKey: string, assignVal: any) => void;
|
68
72
|
export declare const resolveNodeItem: (node: any) => any;
|
73
|
+
export declare const resolvePropIsMatched: (node: any, prop: any, id: any) => any;
|
74
|
+
export declare const showCheckbox: (props: TreePropTypes, node?: any) => any;
|
package/lib/upload/index.d.ts
CHANGED
@@ -28,8 +28,8 @@ declare const Upload: {
|
|
28
28
|
style?: unknown;
|
29
29
|
onError?: (...args: any[]) => any;
|
30
30
|
onProgress?: (...args: any[]) => any;
|
31
|
-
key?: string | number | symbol;
|
32
31
|
ref?: import("vue").VNodeRef;
|
32
|
+
key?: string | number | symbol;
|
33
33
|
ref_for?: boolean;
|
34
34
|
ref_key?: string;
|
35
35
|
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|