bkui-vue 0.0.1-beta.38 → 0.0.1-beta.40
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/lib/alert/alert.css +75 -0
- package/lib/alert/alert.d.ts +62 -0
- package/lib/alert/alert.js +1 -0
- package/lib/alert/alert.less +110 -0
- package/lib/alert/alert.variable.css +168 -0
- package/lib/alert/index.d.ts +180 -0
- package/lib/animate-number/animate-number.d.ts +27 -0
- package/lib/animate-number/animate-number.js +1 -0
- package/lib/animate-number/index.d.ts +97 -0
- package/lib/backtop/backtop.css +42 -0
- package/lib/backtop/backtop.d.ts +60 -0
- package/lib/backtop/backtop.js +1 -0
- package/lib/backtop/backtop.less +18 -0
- package/lib/backtop/backtop.variable.css +135 -0
- package/lib/backtop/index.d.ts +166 -0
- package/lib/badge/badge.css +121 -0
- package/lib/badge/badge.d.ts +91 -0
- package/lib/badge/badge.js +1 -0
- package/lib/badge/badge.less +137 -0
- package/lib/badge/badge.variable.css +214 -0
- package/lib/badge/index.d.ts +217 -0
- package/lib/breadcrumb/breadcrumb-item.d.ts +36 -0
- package/lib/breadcrumb/breadcrumb.css +68 -0
- package/lib/breadcrumb/breadcrumb.d.ts +54 -0
- package/lib/breadcrumb/breadcrumb.js +1 -0
- package/lib/breadcrumb/breadcrumb.less +65 -0
- package/lib/breadcrumb/breadcrumb.variable.css +161 -0
- package/lib/breadcrumb/index.d.ts +194 -0
- package/lib/breadcrumb/props.d.ts +4 -0
- package/lib/button/button-group.d.ts +6 -0
- package/lib/button/button.css +265 -0
- package/lib/button/button.d.ts +143 -0
- package/lib/button/button.js +1 -0
- package/lib/button/button.less +195 -0
- package/lib/button/button.variable.css +358 -0
- package/lib/button/index.d.ts +226 -0
- package/lib/card/card.css +63 -0
- package/lib/card/card.d.ts +69 -0
- package/lib/card/card.js +1 -0
- package/lib/card/card.less +44 -0
- package/lib/card/card.variable.css +156 -0
- package/lib/card/index.d.ts +187 -0
- package/lib/checkbox/checkbox-group.d.ts +48 -0
- package/lib/checkbox/checkbox.css +64 -0
- package/lib/checkbox/checkbox.d.ts +114 -0
- package/lib/checkbox/checkbox.js +1 -0
- package/lib/checkbox/checkbox.less +80 -0
- package/lib/checkbox/checkbox.variable.css +157 -0
- package/lib/checkbox/common.d.ts +13 -0
- package/lib/checkbox/index.d.ts +261 -0
- package/lib/checkbox/type.d.ts +19 -0
- package/lib/code-diff/code-diff.css +186 -0
- package/lib/code-diff/code-diff.d.ts +80 -0
- package/lib/code-diff/code-diff.js +1 -0
- package/lib/code-diff/code-diff.less +238 -0
- package/lib/code-diff/code-diff.variable.css +279 -0
- package/lib/code-diff/index.d.ts +154 -0
- package/lib/collapse/collapse.css +30 -0
- package/lib/collapse/collapse.d.ts +106 -0
- package/lib/collapse/collapse.js +1 -0
- package/lib/collapse/collapse.less +37 -0
- package/lib/collapse/collapse.variable.css +30 -0
- package/lib/collapse/index.d.ts +166 -0
- package/lib/components.d.ts +41 -0
- package/lib/date-picker/date-picker.css +407 -0
- package/lib/date-picker/date-picker.d.ts +294 -0
- package/lib/date-picker/date-picker.js +1 -0
- package/lib/date-picker/date-picker.less +526 -0
- package/lib/date-picker/date-picker.variable.css +500 -0
- package/lib/date-picker/fecha.d.ts +6 -0
- package/lib/date-picker/index.d.ts +713 -0
- package/lib/date-picker/interface.d.ts +22 -0
- package/lib/date-picker/props.d.ts +111 -0
- package/lib/date-picker/utils.d.ts +97 -0
- package/lib/dialog/dialog.css +68 -0
- package/lib/dialog/dialog.d.ts +113 -0
- package/lib/dialog/dialog.js +1 -0
- package/lib/dialog/dialog.less +80 -0
- package/lib/dialog/dialog.variable.css +68 -0
- package/lib/dialog/index.d.ts +286 -0
- package/lib/directives/clickoutside.d.ts +3 -0
- package/lib/directives/directives.js +2 -0
- package/lib/directives/directives.js.LICENSE.txt +14 -0
- package/lib/directives/index.d.ts +3 -0
- package/lib/directives/mousewheel.d.ts +3 -0
- package/lib/directives/tooltips.d.ts +17 -0
- package/lib/divider/divider.css +38 -0
- package/lib/divider/divider.d.ts +48 -0
- package/lib/divider/divider.js +1 -0
- package/lib/divider/divider.less +53 -0
- package/lib/divider/divider.variable.css +131 -0
- package/lib/divider/index.d.ts +142 -0
- package/lib/divider/props.d.ts +21 -0
- package/lib/dropdown/dropdown-item.d.ts +19 -0
- package/lib/dropdown/dropdown-menu.d.ts +16 -0
- package/lib/dropdown/dropdown.css +43 -0
- package/lib/dropdown/dropdown.d.ts +61 -0
- package/lib/dropdown/dropdown.js +1 -0
- package/lib/dropdown/dropdown.less +54 -0
- package/lib/dropdown/dropdown.variable.css +136 -0
- package/lib/dropdown/index.d.ts +192 -0
- package/lib/exception/exception.css +32 -0
- package/lib/exception/exception.d.ts +26 -0
- package/lib/exception/exception.js +1 -0
- package/lib/exception/exception.less +39 -0
- package/lib/exception/exception.variable.css +125 -0
- package/lib/exception/index.d.ts +96 -0
- package/lib/fixed-navbar/fixed-navbar.css +42 -0
- package/lib/fixed-navbar/fixed-navbar.d.ts +34 -0
- package/lib/fixed-navbar/fixed-navbar.js +1 -0
- package/lib/fixed-navbar/fixed-navbar.less +53 -0
- package/lib/fixed-navbar/fixed-navbar.variable.css +135 -0
- package/lib/fixed-navbar/index.d.ts +112 -0
- package/lib/form/common.d.ts +3 -0
- package/lib/form/form-item.d.ts +145 -0
- package/lib/form/form.css +48 -0
- package/lib/form/form.d.ts +64 -0
- package/lib/form/form.js +1 -0
- package/lib/form/form.less +63 -0
- package/lib/form/form.variable.css +48 -0
- package/lib/form/index.d.ts +246 -0
- package/lib/form/type.d.ts +21 -0
- package/lib/form/validator.d.ts +8 -0
- package/lib/icon/angle-double-down-line.d.ts +4 -0
- package/lib/icon/angle-double-down-line.js +1 -0
- package/lib/icon/angle-double-left-line.d.ts +4 -0
- package/lib/icon/angle-double-left-line.js +1 -0
- package/lib/icon/angle-double-left.d.ts +4 -0
- package/lib/icon/angle-double-left.js +1 -0
- package/lib/icon/angle-double-right-line.d.ts +4 -0
- package/lib/icon/angle-double-right-line.js +1 -0
- package/lib/icon/angle-double-right.d.ts +4 -0
- package/lib/icon/angle-double-right.js +1 -0
- package/lib/icon/angle-double-up-line.d.ts +4 -0
- package/lib/icon/angle-double-up-line.js +1 -0
- package/lib/icon/angle-down-fill.d.ts +4 -0
- package/lib/icon/angle-down-fill.js +1 -0
- package/lib/icon/angle-down-line.d.ts +4 -0
- package/lib/icon/angle-down-line.js +1 -0
- package/lib/icon/angle-down.d.ts +4 -0
- package/lib/icon/angle-down.js +1 -0
- package/lib/icon/angle-left.d.ts +4 -0
- package/lib/icon/angle-left.js +1 -0
- package/lib/icon/angle-right.d.ts +4 -0
- package/lib/icon/angle-right.js +1 -0
- package/lib/icon/angle-up-fill.d.ts +4 -0
- package/lib/icon/angle-up-fill.js +1 -0
- package/lib/icon/angle-up.d.ts +4 -0
- package/lib/icon/angle-up.js +1 -0
- package/lib/icon/arrows-left.d.ts +4 -0
- package/lib/icon/arrows-left.js +1 -0
- package/lib/icon/arrows-right.d.ts +4 -0
- package/lib/icon/arrows-right.js +1 -0
- package/lib/icon/bk.d.ts +4 -0
- package/lib/icon/bk.js +1 -0
- package/lib/icon/circle.d.ts +4 -0
- package/lib/icon/circle.js +1 -0
- package/lib/icon/close.d.ts +4 -0
- package/lib/icon/close.js +1 -0
- package/lib/icon/code.d.ts +4 -0
- package/lib/icon/code.js +1 -0
- package/lib/icon/cog-shape.d.ts +4 -0
- package/lib/icon/cog-shape.js +1 -0
- package/lib/icon/collapse-left.d.ts +4 -0
- package/lib/icon/collapse-left.js +1 -0
- package/lib/icon/copy.d.ts +4 -0
- package/lib/icon/copy.js +1 -0
- package/lib/icon/done.d.ts +4 -0
- package/lib/icon/done.js +1 -0
- package/lib/icon/down-shape.d.ts +4 -0
- package/lib/icon/down-shape.js +1 -0
- package/lib/icon/down-small.d.ts +4 -0
- package/lib/icon/down-small.js +1 -0
- package/lib/icon/ellipsis.d.ts +4 -0
- package/lib/icon/ellipsis.js +1 -0
- package/lib/icon/error.d.ts +4 -0
- package/lib/icon/error.js +1 -0
- package/lib/icon/eye.d.ts +4 -0
- package/lib/icon/eye.js +1 -0
- package/lib/icon/folder-open.d.ts +4 -0
- package/lib/icon/folder-open.js +1 -0
- package/lib/icon/folder-shape-open.d.ts +4 -0
- package/lib/icon/folder-shape-open.js +1 -0
- package/lib/icon/folder-shape.d.ts +4 -0
- package/lib/icon/folder-shape.js +1 -0
- package/lib/icon/folder.d.ts +4 -0
- package/lib/icon/folder.js +1 -0
- package/lib/icon/help-document-fill.d.ts +4 -0
- package/lib/icon/help-document-fill.js +1 -0
- package/lib/icon/help-fill.d.ts +4 -0
- package/lib/icon/help-fill.js +1 -0
- package/lib/icon/help.d.ts +4 -0
- package/lib/icon/help.js +1 -0
- package/lib/icon/icon.d.ts +12 -0
- package/lib/icon/icon.js +1 -0
- package/lib/icon/index.d.ts +53 -0
- package/lib/icon/info-line.d.ts +4 -0
- package/lib/icon/info-line.js +1 -0
- package/lib/icon/info.d.ts +4 -0
- package/lib/icon/info.js +1 -0
- package/lib/icon/left-shape.d.ts +4 -0
- package/lib/icon/left-shape.js +1 -0
- package/lib/icon/play-shape.d.ts +4 -0
- package/lib/icon/play-shape.js +1 -0
- package/lib/icon/plus.d.ts +4 -0
- package/lib/icon/plus.js +1 -0
- package/lib/icon/qq.d.ts +4 -0
- package/lib/icon/qq.js +1 -0
- package/lib/icon/right-shape.d.ts +4 -0
- package/lib/icon/right-shape.js +1 -0
- package/lib/icon/search.d.ts +4 -0
- package/lib/icon/search.js +1 -0
- package/lib/icon/share.d.ts +4 -0
- package/lib/icon/share.js +1 -0
- package/lib/icon/spinner.d.ts +4 -0
- package/lib/icon/spinner.js +1 -0
- package/lib/icon/success.d.ts +4 -0
- package/lib/icon/success.js +1 -0
- package/lib/icon/switcher-loading.d.ts +4 -0
- package/lib/icon/switcher-loading.js +1 -0
- package/lib/icon/text-file.d.ts +4 -0
- package/lib/icon/text-file.js +1 -0
- package/lib/icon/tree-application-shape.d.ts +4 -0
- package/lib/icon/tree-application-shape.js +1 -0
- package/lib/icon/unvisible.d.ts +4 -0
- package/lib/icon/unvisible.js +1 -0
- package/lib/icon/up-shape.d.ts +4 -0
- package/lib/icon/up-shape.js +1 -0
- package/lib/icon/warn.d.ts +4 -0
- package/lib/icon/warn.js +1 -0
- package/lib/icon/weixin.d.ts +4 -0
- package/lib/icon/weixin.js +1 -0
- package/lib/index.d.ts +4 -0
- package/lib/input/index.d.ts +443 -0
- package/lib/input/input.css +190 -0
- package/lib/input/input.d.ts +254 -0
- package/lib/input/input.js +1 -0
- package/lib/input/input.less +214 -0
- package/lib/input/input.variable.css +284 -0
- package/lib/link/index.d.ts +164 -0
- package/lib/link/link.css +55 -0
- package/lib/link/link.d.ts +58 -0
- package/lib/link/link.js +1 -0
- package/lib/link/link.less +74 -0
- package/lib/link/link.variable.css +148 -0
- package/lib/loading/index.d.ts +164 -0
- package/lib/loading/loading.css +261 -0
- package/lib/loading/loading.d.ts +94 -0
- package/lib/loading/loading.js +1 -0
- package/lib/loading/loading.less +197 -0
- package/lib/loading/loading.variable.css +354 -0
- package/lib/menu/index.d.ts +188 -0
- package/lib/menu/menu-group.d.ts +14 -0
- package/lib/menu/menu-item.d.ts +16 -0
- package/lib/menu/menu.css +182 -0
- package/lib/menu/menu.d.ts +64 -0
- package/lib/menu/menu.js +1 -0
- package/lib/menu/menu.less +180 -0
- package/lib/menu/menu.variable.css +275 -0
- package/lib/menu/submenu.css +3 -0
- package/lib/menu/submenu.d.ts +22 -0
- package/lib/menu/submenu.less +5 -0
- package/lib/menu/submenu.variable.css +96 -0
- package/lib/menu/utils.d.ts +41 -0
- package/lib/message/index.d.ts +2 -0
- package/lib/message/message.css +53 -0
- package/lib/message/message.js +1 -0
- package/lib/message/message.less +61 -0
- package/lib/message/message.variable.css +146 -0
- package/lib/message/messageConstructor.d.ts +73 -0
- package/lib/modal/index.d.ts +214 -0
- package/lib/modal/modal.css +11 -0
- package/lib/modal/modal.d.ts +65 -0
- package/lib/modal/modal.js +1 -0
- package/lib/modal/modal.less +12 -0
- package/lib/modal/modal.variable.css +11 -0
- package/lib/modal/props.mixin.d.ts +26 -0
- package/lib/navigation/index.d.ts +2 -0
- package/lib/navigation/navigation-title.d.ts +25 -0
- package/lib/navigation/navigation.css +184 -0
- package/lib/navigation/navigation.d.ts +111 -0
- package/lib/navigation/navigation.js +1 -0
- package/lib/navigation/navigation.less +210 -0
- package/lib/navigation/navigation.variable.css +277 -0
- package/lib/notify/index.d.ts +2 -0
- package/lib/notify/notify.css +49 -0
- package/lib/notify/notify.js +1 -0
- package/lib/notify/notify.less +58 -0
- package/lib/notify/notify.variable.css +142 -0
- package/lib/notify/notifyConstructor.d.ts +91 -0
- package/lib/pagination/index.d.ts +395 -0
- package/lib/pagination/pagination.css +179 -0
- package/lib/pagination/pagination.d.ts +220 -0
- package/lib/pagination/pagination.js +1 -0
- package/lib/pagination/pagination.less +201 -0
- package/lib/pagination/pagination.variable.css +272 -0
- package/lib/pagination/type.d.ts +6 -0
- package/lib/pagination/use-limit.d.ts +8 -0
- package/lib/pagination/use-list.d.ts +8 -0
- package/lib/pagination/use-small-list.d.ts +5 -0
- package/lib/pagination/use-total.d.ts +5 -0
- package/lib/popover/index.d.ts +287 -0
- package/lib/popover/popover.css +65 -0
- package/lib/popover/popover.d.ts +117 -0
- package/lib/popover/popover.js +1 -0
- package/lib/popover/popover.less +82 -0
- package/lib/popover/popover.variable.css +158 -0
- package/lib/popover/props.d.ts +77 -0
- package/lib/preset.d.ts +7 -0
- package/lib/process/index.d.ts +205 -0
- package/lib/process/process.css +138 -0
- package/lib/process/process.d.ts +131 -0
- package/lib/process/process.js +1 -0
- package/lib/process/process.less +178 -0
- package/lib/process/process.variable.css +231 -0
- package/lib/progress/circle.d.ts +6 -0
- package/lib/progress/index.d.ts +398 -0
- package/lib/progress/line.d.ts +6 -0
- package/lib/progress/progress.css +94 -0
- package/lib/progress/progress.d.ts +171 -0
- package/lib/progress/progress.js +1 -0
- package/lib/progress/progress.less +90 -0
- package/lib/progress/progress.variable.css +187 -0
- package/lib/radio/common.d.ts +13 -0
- package/lib/radio/index.d.ts +277 -0
- package/lib/radio/radio-button.d.ts +91 -0
- package/lib/radio/radio-group.d.ts +41 -0
- package/lib/radio/radio.css +138 -0
- package/lib/radio/radio.d.ts +87 -0
- package/lib/radio/radio.js +1 -0
- package/lib/radio/radio.less +173 -0
- package/lib/radio/radio.variable.css +231 -0
- package/lib/radio/type.d.ts +9 -0
- package/lib/rate/index.d.ts +113 -0
- package/lib/rate/rate.css +10 -0
- package/lib/rate/rate.d.ts +32 -0
- package/lib/rate/rate.js +1 -0
- package/lib/rate/rate.less +11 -0
- package/lib/rate/rate.variable.css +10 -0
- package/lib/rate/star.css +24 -0
- package/lib/rate/star.d.ts +74 -0
- package/lib/rate/star.less +29 -0
- package/lib/rate/star.variable.css +24 -0
- package/lib/resize-layout/index.d.ts +336 -0
- package/lib/resize-layout/resize-layout.css +189 -0
- package/lib/resize-layout/resize-layout.d.ts +127 -0
- package/lib/resize-layout/resize-layout.js +1 -0
- package/lib/resize-layout/resize-layout.less +233 -0
- package/lib/resize-layout/resize-layout.variable.css +282 -0
- package/lib/select/common.d.ts +33 -0
- package/lib/select/index.d.ts +1347 -0
- package/lib/select/option.d.ts +25 -0
- package/lib/select/optionGroup.d.ts +54 -0
- package/lib/select/select.css +325 -0
- package/lib/select/select.d.ts +395 -0
- package/lib/select/select.js +1 -0
- package/lib/select/select.less +324 -0
- package/lib/select/select.variable.css +418 -0
- package/lib/select/type.d.ts +31 -0
- package/lib/shared/helper.d.ts +92 -0
- package/lib/shared/index.d.ts +52 -0
- package/lib/shared/mask-manager.d.ts +76 -0
- package/lib/shared/pop-manager.d.ts +26 -0
- package/lib/shared/popover.d.ts +127 -0
- package/lib/shared/scrollbar-width.d.ts +1 -0
- package/lib/shared/shared.js +1 -0
- package/lib/shared/utils.d.ts +6 -0
- package/lib/shared/vue-types.d.ts +115 -0
- package/lib/shared/z-index-manager.d.ts +93 -0
- package/lib/sideslider/index.d.ts +206 -0
- package/lib/sideslider/sideslider.css +69 -0
- package/lib/sideslider/sideslider.d.ts +75 -0
- package/lib/sideslider/sideslider.js +1 -0
- package/lib/sideslider/sideslider.less +86 -0
- package/lib/sideslider/sideslider.variable.css +162 -0
- package/lib/slider/index.d.ts +27 -0
- package/lib/slider/slider-button.d.ts +80 -0
- package/lib/slider/slider.css +149 -0
- package/lib/slider/slider.d.ts +201 -0
- package/lib/slider/slider.js +1 -0
- package/lib/slider/slider.less +179 -0
- package/lib/slider/slider.variable.css +242 -0
- package/lib/steps/index.d.ts +250 -0
- package/lib/steps/steps.css +288 -0
- package/lib/steps/steps.d.ts +161 -0
- package/lib/steps/steps.js +1 -0
- package/lib/steps/steps.less +324 -0
- package/lib/steps/steps.variable.css +381 -0
- package/lib/styles/index.d.ts +47 -0
- package/lib/styles/mixins/animate.css +21 -0
- package/lib/styles/mixins/animate.less +27 -0
- package/lib/styles/mixins/animate.variable.css +21 -0
- package/lib/styles/mixins/ellipsis.less +8 -0
- package/lib/styles/mixins/mixins.css +21 -0
- package/lib/styles/mixins/mixins.less +3 -0
- package/lib/styles/mixins/mixins.variable.css +21 -0
- package/lib/styles/mixins/popper.css +43 -0
- package/lib/styles/mixins/popper.less +52 -0
- package/lib/styles/mixins/popper.variable.css +43 -0
- package/lib/styles/mixins/size.less +13 -0
- package/lib/styles/reset.css +273 -0
- package/lib/styles/reset.less +313 -0
- package/lib/styles/reset.variable.css +273 -0
- package/lib/styles/themes/themes.less +126 -0
- package/lib/swiper/index.d.ts +181 -0
- package/lib/swiper/swiper.css +91 -0
- package/lib/swiper/swiper.d.ts +65 -0
- package/lib/swiper/swiper.js +1 -0
- package/lib/swiper/swiper.less +107 -0
- package/lib/swiper/swiper.variable.css +91 -0
- package/lib/switcher/index.d.ts +286 -0
- package/lib/switcher/switcher.css +272 -0
- package/lib/switcher/switcher.d.ts +113 -0
- package/lib/switcher/switcher.js +1 -0
- package/lib/switcher/switcher.less +358 -0
- package/lib/switcher/switcher.variable.css +365 -0
- package/lib/tab/index.d.ts +443 -0
- package/lib/tab/props.d.ts +191 -0
- package/lib/tab/tab-nav.d.ts +165 -0
- package/lib/tab/tab-panel.d.ts +73 -0
- package/lib/tab/tab.css +148 -0
- package/lib/tab/tab.d.ts +140 -0
- package/lib/tab/tab.js +1 -0
- package/lib/tab/tab.less +222 -0
- package/lib/tab/tab.variable.css +241 -0
- package/lib/table/const.d.ts +4 -0
- package/lib/table/index.d.ts +302 -0
- package/lib/table/props.d.ts +117 -0
- package/lib/table/render.d.ts +83 -0
- package/lib/table/table.css +91 -0
- package/lib/table/table.d.ts +119 -0
- package/lib/table/table.js +1 -0
- package/lib/table/table.less +115 -0
- package/lib/table/table.variable.css +184 -0
- package/lib/table/utils.d.ts +69 -0
- package/lib/tag/index.d.ts +229 -0
- package/lib/tag/tag.css +97 -0
- package/lib/tag/tag.d.ts +84 -0
- package/lib/tag/tag.js +1 -0
- package/lib/tag/tag.less +113 -0
- package/lib/tag/tag.variable.css +190 -0
- package/lib/tag-input/common.d.ts +24 -0
- package/lib/tag-input/index.d.ts +2 -0
- package/lib/tag-input/list-tag-render.d.ts +47 -0
- package/lib/tag-input/tag-input.css +208 -0
- package/lib/tag-input/tag-input.d.ts +374 -0
- package/lib/tag-input/tag-input.js +1 -0
- package/lib/tag-input/tag-input.less +250 -0
- package/lib/tag-input/tag-input.variable.css +301 -0
- package/lib/tag-input/tag-props.d.ts +131 -0
- package/lib/tag-input/tag-render.d.ts +38 -0
- package/lib/timeline/index.d.ts +129 -0
- package/lib/timeline/timeline.css +235 -0
- package/lib/timeline/timeline.d.ts +81 -0
- package/lib/timeline/timeline.js +1 -0
- package/lib/timeline/timeline.less +239 -0
- package/lib/timeline/timeline.variable.css +328 -0
- package/lib/transfer/index.d.ts +351 -0
- package/lib/transfer/transfer.css +158 -0
- package/lib/transfer/transfer.d.ts +185 -0
- package/lib/transfer/transfer.js +1 -0
- package/lib/transfer/transfer.less +171 -0
- package/lib/transfer/transfer.variable.css +251 -0
- package/lib/tree/index.d.ts +287 -0
- package/lib/tree/props.d.ts +89 -0
- package/lib/tree/tree.css +50 -0
- package/lib/tree/tree.d.ts +111 -0
- package/lib/tree/tree.js +1 -0
- package/lib/tree/tree.less +63 -0
- package/lib/tree/tree.variable.css +143 -0
- package/lib/tree/util.d.ts +70 -0
- package/lib/use-form.d.ts +3 -0
- package/lib/use-message.d.ts +2 -0
- package/lib/virtual-render/index.d.ts +556 -0
- package/lib/virtual-render/props.d.ts +157 -0
- package/lib/virtual-render/v-virtual-render.d.ts +7 -0
- package/lib/virtual-render/virtual-render.css +33 -0
- package/lib/virtual-render/virtual-render.d.ts +244 -0
- package/lib/virtual-render/virtual-render.js +1 -0
- package/lib/virtual-render/virtual-render.less +43 -0
- package/lib/virtual-render/virtual-render.variable.css +33 -0
- package/package.json +12 -11
@@ -0,0 +1,302 @@
|
|
1
|
+
declare const BkTable: {
|
2
|
+
new (...args: any[]): {
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
4
|
+
$data: {};
|
5
|
+
$props: Partial<{
|
6
|
+
height: string | number;
|
7
|
+
data: any[];
|
8
|
+
minHeight: string | number;
|
9
|
+
border: string[];
|
10
|
+
headHeight: number;
|
11
|
+
pagination: boolean | {
|
12
|
+
[key: string]: any;
|
13
|
+
};
|
14
|
+
columnPick: string;
|
15
|
+
rowHeight: any;
|
16
|
+
showHead: boolean;
|
17
|
+
virtualEnabled: boolean;
|
18
|
+
remotePagination: boolean;
|
19
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
20
|
+
data: import("vue-types").VueTypeDef<any[]> & {
|
21
|
+
default: () => any[];
|
22
|
+
};
|
23
|
+
columns: import("vue-types").VueTypeDef<import("./props").Column[]>;
|
24
|
+
activeColumn: import("vue-types").VueTypeDef<number | number[]>;
|
25
|
+
columnPick: import("vue-types").VueTypeDef<string> & {
|
26
|
+
default: string;
|
27
|
+
};
|
28
|
+
height: import("vue-types").VueTypeDef<string | number> & {
|
29
|
+
default: string | number;
|
30
|
+
};
|
31
|
+
minHeight: import("vue-types").VueTypeDef<string | number> & {
|
32
|
+
default: string | number;
|
33
|
+
};
|
34
|
+
rowHeight: import("vue-types").VueTypeDef<any> & {
|
35
|
+
default: any;
|
36
|
+
};
|
37
|
+
headHeight: import("vue-types").VueTypeValidableDef<number> & {
|
38
|
+
default: number;
|
39
|
+
} & {
|
40
|
+
default: number;
|
41
|
+
};
|
42
|
+
showHead: import("vue-types").VueTypeValidableDef<boolean> & {
|
43
|
+
default: boolean;
|
44
|
+
} & {
|
45
|
+
default: boolean;
|
46
|
+
};
|
47
|
+
virtualEnabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
48
|
+
default: boolean;
|
49
|
+
} & {
|
50
|
+
default: boolean;
|
51
|
+
};
|
52
|
+
border: import("vue-types").VueTypeDef<string[]> & {
|
53
|
+
default: () => string[];
|
54
|
+
};
|
55
|
+
pagination: import("vue-types").VueTypeDef<boolean | {
|
56
|
+
[key: string]: any;
|
57
|
+
}> & {
|
58
|
+
default: boolean | (() => {
|
59
|
+
[key: string]: any;
|
60
|
+
});
|
61
|
+
};
|
62
|
+
remotePagination: import("vue-types").VueTypeValidableDef<boolean> & {
|
63
|
+
default: boolean;
|
64
|
+
} & {
|
65
|
+
default: boolean;
|
66
|
+
};
|
67
|
+
}>> & {
|
68
|
+
onColumnPick?: (...args: any[]) => any;
|
69
|
+
onPageLimitChange?: (...args: any[]) => any;
|
70
|
+
onPageValueChange?: (...args: any[]) => any;
|
71
|
+
onRowClick?: (...args: any[]) => any;
|
72
|
+
onRowDblClick?: (...args: any[]) => any;
|
73
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "height" | "data" | "minHeight" | "border" | "headHeight" | "pagination" | "columnPick" | "rowHeight" | "showHead" | "virtualEnabled" | "remotePagination">;
|
74
|
+
$attrs: {
|
75
|
+
[x: string]: unknown;
|
76
|
+
};
|
77
|
+
$refs: {
|
78
|
+
[x: string]: unknown;
|
79
|
+
};
|
80
|
+
$slots: Readonly<{
|
81
|
+
[name: string]: import("vue").Slot;
|
82
|
+
}>;
|
83
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
84
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
85
|
+
$emit: (event: "columnPick" | "pageLimitChange" | "pageValueChange" | "rowClick" | "rowDblClick", ...args: any[]) => void;
|
86
|
+
$el: any;
|
87
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
88
|
+
data: import("vue-types").VueTypeDef<any[]> & {
|
89
|
+
default: () => any[];
|
90
|
+
};
|
91
|
+
columns: import("vue-types").VueTypeDef<import("./props").Column[]>;
|
92
|
+
activeColumn: import("vue-types").VueTypeDef<number | number[]>;
|
93
|
+
columnPick: import("vue-types").VueTypeDef<string> & {
|
94
|
+
default: string;
|
95
|
+
};
|
96
|
+
height: import("vue-types").VueTypeDef<string | number> & {
|
97
|
+
default: string | number;
|
98
|
+
};
|
99
|
+
minHeight: import("vue-types").VueTypeDef<string | number> & {
|
100
|
+
default: string | number;
|
101
|
+
};
|
102
|
+
rowHeight: import("vue-types").VueTypeDef<any> & {
|
103
|
+
default: any;
|
104
|
+
};
|
105
|
+
headHeight: import("vue-types").VueTypeValidableDef<number> & {
|
106
|
+
default: number;
|
107
|
+
} & {
|
108
|
+
default: number;
|
109
|
+
};
|
110
|
+
showHead: import("vue-types").VueTypeValidableDef<boolean> & {
|
111
|
+
default: boolean;
|
112
|
+
} & {
|
113
|
+
default: boolean;
|
114
|
+
};
|
115
|
+
virtualEnabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
116
|
+
default: boolean;
|
117
|
+
} & {
|
118
|
+
default: boolean;
|
119
|
+
};
|
120
|
+
border: import("vue-types").VueTypeDef<string[]> & {
|
121
|
+
default: () => string[];
|
122
|
+
};
|
123
|
+
pagination: import("vue-types").VueTypeDef<boolean | {
|
124
|
+
[key: string]: any;
|
125
|
+
}> & {
|
126
|
+
default: boolean | (() => {
|
127
|
+
[key: string]: any;
|
128
|
+
});
|
129
|
+
};
|
130
|
+
remotePagination: import("vue-types").VueTypeValidableDef<boolean> & {
|
131
|
+
default: boolean;
|
132
|
+
} & {
|
133
|
+
default: boolean;
|
134
|
+
};
|
135
|
+
}>> & {
|
136
|
+
onColumnPick?: (...args: any[]) => any;
|
137
|
+
onPageLimitChange?: (...args: any[]) => any;
|
138
|
+
onPageValueChange?: (...args: any[]) => any;
|
139
|
+
onRowClick?: (...args: any[]) => any;
|
140
|
+
onRowDblClick?: (...args: any[]) => any;
|
141
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("columnPick" | "pageLimitChange" | "pageValueChange" | "rowClick" | "rowDblClick")[], string, {
|
142
|
+
height: string | number;
|
143
|
+
data: any[];
|
144
|
+
minHeight: string | number;
|
145
|
+
border: string[];
|
146
|
+
headHeight: number;
|
147
|
+
pagination: boolean | {
|
148
|
+
[key: string]: any;
|
149
|
+
};
|
150
|
+
columnPick: string;
|
151
|
+
rowHeight: any;
|
152
|
+
showHead: boolean;
|
153
|
+
virtualEnabled: boolean;
|
154
|
+
remotePagination: boolean;
|
155
|
+
}> & {
|
156
|
+
beforeCreate?: (() => void) | (() => void)[];
|
157
|
+
created?: (() => void) | (() => void)[];
|
158
|
+
beforeMount?: (() => void) | (() => void)[];
|
159
|
+
mounted?: (() => void) | (() => void)[];
|
160
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
161
|
+
updated?: (() => void) | (() => void)[];
|
162
|
+
activated?: (() => void) | (() => void)[];
|
163
|
+
deactivated?: (() => void) | (() => void)[];
|
164
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
165
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
166
|
+
destroyed?: (() => void) | (() => void)[];
|
167
|
+
unmounted?: (() => void) | (() => void)[];
|
168
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
169
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
170
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
171
|
+
};
|
172
|
+
$forceUpdate: () => void;
|
173
|
+
$nextTick: typeof import("vue").nextTick;
|
174
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
175
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
176
|
+
data: import("vue-types").VueTypeDef<any[]> & {
|
177
|
+
default: () => any[];
|
178
|
+
};
|
179
|
+
columns: import("vue-types").VueTypeDef<import("./props").Column[]>;
|
180
|
+
activeColumn: import("vue-types").VueTypeDef<number | number[]>;
|
181
|
+
columnPick: import("vue-types").VueTypeDef<string> & {
|
182
|
+
default: string;
|
183
|
+
};
|
184
|
+
height: import("vue-types").VueTypeDef<string | number> & {
|
185
|
+
default: string | number;
|
186
|
+
};
|
187
|
+
minHeight: import("vue-types").VueTypeDef<string | number> & {
|
188
|
+
default: string | number;
|
189
|
+
};
|
190
|
+
rowHeight: import("vue-types").VueTypeDef<any> & {
|
191
|
+
default: any;
|
192
|
+
};
|
193
|
+
headHeight: import("vue-types").VueTypeValidableDef<number> & {
|
194
|
+
default: number;
|
195
|
+
} & {
|
196
|
+
default: number;
|
197
|
+
};
|
198
|
+
showHead: import("vue-types").VueTypeValidableDef<boolean> & {
|
199
|
+
default: boolean;
|
200
|
+
} & {
|
201
|
+
default: boolean;
|
202
|
+
};
|
203
|
+
virtualEnabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
204
|
+
default: boolean;
|
205
|
+
} & {
|
206
|
+
default: boolean;
|
207
|
+
};
|
208
|
+
border: import("vue-types").VueTypeDef<string[]> & {
|
209
|
+
default: () => string[];
|
210
|
+
};
|
211
|
+
pagination: import("vue-types").VueTypeDef<boolean | {
|
212
|
+
[key: string]: any;
|
213
|
+
}> & {
|
214
|
+
default: boolean | (() => {
|
215
|
+
[key: string]: any;
|
216
|
+
});
|
217
|
+
};
|
218
|
+
remotePagination: import("vue-types").VueTypeValidableDef<boolean> & {
|
219
|
+
default: boolean;
|
220
|
+
} & {
|
221
|
+
default: boolean;
|
222
|
+
};
|
223
|
+
}>> & {
|
224
|
+
onColumnPick?: (...args: any[]) => any;
|
225
|
+
onPageLimitChange?: (...args: any[]) => any;
|
226
|
+
onPageValueChange?: (...args: any[]) => any;
|
227
|
+
onRowClick?: (...args: any[]) => any;
|
228
|
+
onRowDblClick?: (...args: any[]) => any;
|
229
|
+
} & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
230
|
+
__isFragment?: never;
|
231
|
+
__isTeleport?: never;
|
232
|
+
__isSuspense?: never;
|
233
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
234
|
+
data: import("vue-types").VueTypeDef<any[]> & {
|
235
|
+
default: () => any[];
|
236
|
+
};
|
237
|
+
columns: import("vue-types").VueTypeDef<import("./props").Column[]>;
|
238
|
+
activeColumn: import("vue-types").VueTypeDef<number | number[]>;
|
239
|
+
columnPick: import("vue-types").VueTypeDef<string> & {
|
240
|
+
default: string;
|
241
|
+
};
|
242
|
+
height: import("vue-types").VueTypeDef<string | number> & {
|
243
|
+
default: string | number;
|
244
|
+
};
|
245
|
+
minHeight: import("vue-types").VueTypeDef<string | number> & {
|
246
|
+
default: string | number;
|
247
|
+
};
|
248
|
+
rowHeight: import("vue-types").VueTypeDef<any> & {
|
249
|
+
default: any;
|
250
|
+
};
|
251
|
+
headHeight: import("vue-types").VueTypeValidableDef<number> & {
|
252
|
+
default: number;
|
253
|
+
} & {
|
254
|
+
default: number;
|
255
|
+
};
|
256
|
+
showHead: import("vue-types").VueTypeValidableDef<boolean> & {
|
257
|
+
default: boolean;
|
258
|
+
} & {
|
259
|
+
default: boolean;
|
260
|
+
};
|
261
|
+
virtualEnabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
262
|
+
default: boolean;
|
263
|
+
} & {
|
264
|
+
default: boolean;
|
265
|
+
};
|
266
|
+
border: import("vue-types").VueTypeDef<string[]> & {
|
267
|
+
default: () => string[];
|
268
|
+
};
|
269
|
+
pagination: import("vue-types").VueTypeDef<boolean | {
|
270
|
+
[key: string]: any;
|
271
|
+
}> & {
|
272
|
+
default: boolean | (() => {
|
273
|
+
[key: string]: any;
|
274
|
+
});
|
275
|
+
};
|
276
|
+
remotePagination: import("vue-types").VueTypeValidableDef<boolean> & {
|
277
|
+
default: boolean;
|
278
|
+
} & {
|
279
|
+
default: boolean;
|
280
|
+
};
|
281
|
+
}>> & {
|
282
|
+
onColumnPick?: (...args: any[]) => any;
|
283
|
+
onPageLimitChange?: (...args: any[]) => any;
|
284
|
+
onPageValueChange?: (...args: any[]) => any;
|
285
|
+
onRowClick?: (...args: any[]) => any;
|
286
|
+
onRowDblClick?: (...args: any[]) => any;
|
287
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("columnPick" | "pageLimitChange" | "pageValueChange" | "rowClick" | "rowDblClick")[], "columnPick" | "pageLimitChange" | "pageValueChange" | "rowClick" | "rowDblClick", {
|
288
|
+
height: string | number;
|
289
|
+
data: any[];
|
290
|
+
minHeight: string | number;
|
291
|
+
border: string[];
|
292
|
+
headHeight: number;
|
293
|
+
pagination: boolean | {
|
294
|
+
[key: string]: any;
|
295
|
+
};
|
296
|
+
columnPick: string;
|
297
|
+
rowHeight: any;
|
298
|
+
showHead: boolean;
|
299
|
+
virtualEnabled: boolean;
|
300
|
+
remotePagination: boolean;
|
301
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
302
|
+
export default BkTable;
|
@@ -0,0 +1,117 @@
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
2
|
+
export declare const tableProps: {
|
3
|
+
/**
|
4
|
+
* 渲染列表
|
5
|
+
*/
|
6
|
+
data: import("vue-types").VueTypeDef<any[]> & {
|
7
|
+
default: () => any[];
|
8
|
+
};
|
9
|
+
/**
|
10
|
+
* Table 列渲染
|
11
|
+
*/
|
12
|
+
columns: import("vue-types").VueTypeDef<Column[]>;
|
13
|
+
/**
|
14
|
+
* 当前选中列
|
15
|
+
* 当设置选中多列时(columnPick = multi),配置为数组[index1, index2, index3],只能选中单列时,可以为数值或者数组[index]
|
16
|
+
*/
|
17
|
+
activeColumn: import("vue-types").VueTypeDef<number | number[]>;
|
18
|
+
/**
|
19
|
+
* 表格列选中方式
|
20
|
+
* 支持:单列(single),多列(multi),禁用(disabled)
|
21
|
+
* 默认:disabled
|
22
|
+
*/
|
23
|
+
columnPick: import("vue-types").VueTypeDef<string> & {
|
24
|
+
default: string;
|
25
|
+
};
|
26
|
+
/**
|
27
|
+
* 设置表格高度
|
28
|
+
* 默认:auto,依赖外层高度
|
29
|
+
*/
|
30
|
+
height: import("vue-types").VueTypeDef<string | number> & {
|
31
|
+
default: string | number;
|
32
|
+
};
|
33
|
+
/**
|
34
|
+
* 设置表格最小高度
|
35
|
+
* 默认:auto,依赖外层高度
|
36
|
+
*/
|
37
|
+
minHeight: import("vue-types").VueTypeDef<string | number> & {
|
38
|
+
default: string | number;
|
39
|
+
};
|
40
|
+
/**
|
41
|
+
* 行高,可以为固定数值类型
|
42
|
+
* 可以是函数,返回当前行的高度,返回值为数值类型
|
43
|
+
*/
|
44
|
+
rowHeight: import("vue-types").VueTypeDef<any> & {
|
45
|
+
default: any;
|
46
|
+
};
|
47
|
+
/**
|
48
|
+
* Thead行高,可以为固定数值类型
|
49
|
+
*/
|
50
|
+
headHeight: import("vue-types").VueTypeValidableDef<number> & {
|
51
|
+
default: number;
|
52
|
+
} & {
|
53
|
+
default: number;
|
54
|
+
};
|
55
|
+
/**
|
56
|
+
* 是否显示Head
|
57
|
+
*/
|
58
|
+
showHead: import("vue-types").VueTypeValidableDef<boolean> & {
|
59
|
+
default: boolean;
|
60
|
+
} & {
|
61
|
+
default: boolean;
|
62
|
+
};
|
63
|
+
/**
|
64
|
+
* 是否启用虚拟渲染 & 滚动
|
65
|
+
* 当数据量很大时,启用虚拟渲染可以解决压面卡顿问题
|
66
|
+
*/
|
67
|
+
virtualEnabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
68
|
+
default: boolean;
|
69
|
+
} & {
|
70
|
+
default: boolean;
|
71
|
+
};
|
72
|
+
/**
|
73
|
+
* 表格边框显示设置,可以是一个组合
|
74
|
+
* 生效规则: 除非单独设置 none,否则会追加每个设置
|
75
|
+
*/
|
76
|
+
border: import("vue-types").VueTypeDef<string[]> & {
|
77
|
+
default: () => string[];
|
78
|
+
};
|
79
|
+
/**
|
80
|
+
* 分页配置
|
81
|
+
* 默认值为false,不启用分页
|
82
|
+
* 设置为 true,启用分页功能,默认值参考分页组件 Pagination
|
83
|
+
*/
|
84
|
+
pagination: import("vue-types").VueTypeDef<boolean | {
|
85
|
+
[key: string]: any;
|
86
|
+
}> & {
|
87
|
+
default: boolean | (() => {
|
88
|
+
[key: string]: any;
|
89
|
+
});
|
90
|
+
};
|
91
|
+
/**
|
92
|
+
* 是否启用远程分页
|
93
|
+
*/
|
94
|
+
remotePagination: import("vue-types").VueTypeValidableDef<boolean> & {
|
95
|
+
default: boolean;
|
96
|
+
} & {
|
97
|
+
default: boolean;
|
98
|
+
};
|
99
|
+
};
|
100
|
+
export declare type Column = {
|
101
|
+
label: Function | string;
|
102
|
+
field: Function | string;
|
103
|
+
render?: Function | string;
|
104
|
+
width?: number | string;
|
105
|
+
};
|
106
|
+
export declare type GroupColumn = {
|
107
|
+
calcWidth?: number;
|
108
|
+
} & Column;
|
109
|
+
export declare type Columns = ReadonlyArray<Column>;
|
110
|
+
export declare type TablePropTypes = Readonly<ExtractPropTypes<typeof tableProps>>;
|
111
|
+
export declare type IColumnActive = {
|
112
|
+
index: number;
|
113
|
+
active: boolean;
|
114
|
+
};
|
115
|
+
export declare type IReactiveProp = {
|
116
|
+
activeColumns: IColumnActive[];
|
117
|
+
};
|
@@ -0,0 +1,83 @@
|
|
1
|
+
import { TablePlugins } from './plugins/index';
|
2
|
+
import { GroupColumn, IColumnActive, IReactiveProp, TablePropTypes } from './props';
|
3
|
+
export default class TableRender {
|
4
|
+
props: TablePropTypes;
|
5
|
+
context: any;
|
6
|
+
reactiveProp: any;
|
7
|
+
colgroups: GroupColumn[];
|
8
|
+
uuid: string;
|
9
|
+
plugins: TablePlugins;
|
10
|
+
constructor(props: any, ctx: any, reactiveProp: IReactiveProp, colgroups: GroupColumn[]);
|
11
|
+
get propActiveCols(): IColumnActive[];
|
12
|
+
/**
|
13
|
+
* 渲染Table Head
|
14
|
+
* @param activeColumns 当前选中的列
|
15
|
+
* @returns
|
16
|
+
*/
|
17
|
+
renderTableHeadSchema(): JSX.Element;
|
18
|
+
/**
|
19
|
+
* 渲染Table主体
|
20
|
+
* @param activeColumns 当前选中的列
|
21
|
+
* @returns
|
22
|
+
*/
|
23
|
+
renderTableBodySchema(rows: any[]): JSX.Element;
|
24
|
+
renderTableFooter(options: any): JSX.Element;
|
25
|
+
private handlePageLimitChange;
|
26
|
+
private hanlePageChange;
|
27
|
+
/**
|
28
|
+
* 指定列选中状态
|
29
|
+
* @param index 指定选中的列Index
|
30
|
+
* @param single 是否重置其他列,当只允许选中一列的情况下需要先重置
|
31
|
+
*/
|
32
|
+
private setColumnActive;
|
33
|
+
/**
|
34
|
+
* 点击选中一列事件
|
35
|
+
* @param index 当前选中列Index
|
36
|
+
*/
|
37
|
+
private handleColumnHeadClick;
|
38
|
+
/**
|
39
|
+
* 渲染Table Header
|
40
|
+
* @returns
|
41
|
+
*/
|
42
|
+
private renderHeader;
|
43
|
+
/**
|
44
|
+
* 渲染Table Body
|
45
|
+
* @returns
|
46
|
+
*/
|
47
|
+
private renderTBody;
|
48
|
+
private getColumnClass;
|
49
|
+
/**
|
50
|
+
* table row click handle
|
51
|
+
* @param e
|
52
|
+
* @param row
|
53
|
+
* @param index
|
54
|
+
* @param rows
|
55
|
+
*/
|
56
|
+
private handleRowClick;
|
57
|
+
/**
|
58
|
+
* table row click handle
|
59
|
+
* @param e
|
60
|
+
* @param row
|
61
|
+
* @param index
|
62
|
+
* @param rows
|
63
|
+
*/
|
64
|
+
private handleRowDblClick;
|
65
|
+
/**
|
66
|
+
* 渲染表格Cell内容
|
67
|
+
* @param row 当前行
|
68
|
+
* @param column 当前列
|
69
|
+
* @returns
|
70
|
+
*/
|
71
|
+
private renderCell;
|
72
|
+
/**
|
73
|
+
* 判定指定列是否为选中状态
|
74
|
+
* @param colIndex 指定列Index
|
75
|
+
* @returns
|
76
|
+
*/
|
77
|
+
private isColActive;
|
78
|
+
/**
|
79
|
+
* 渲染表格Col分组
|
80
|
+
* @returns
|
81
|
+
*/
|
82
|
+
private renderColGroup;
|
83
|
+
}
|
@@ -0,0 +1,91 @@
|
|
1
|
+
.bk-table {
|
2
|
+
height: 100%;
|
3
|
+
overflow: hidden;
|
4
|
+
border-top: 1px solid #dcdee5;
|
5
|
+
border-bottom: 1px solid #dcdee5;
|
6
|
+
}
|
7
|
+
.bk-table .bk-table-body {
|
8
|
+
overflow: auto;
|
9
|
+
}
|
10
|
+
.bk-table .bk-table-head,
|
11
|
+
.bk-table .bk-table-body {
|
12
|
+
background: white;
|
13
|
+
}
|
14
|
+
.bk-table .bk-table-head table,
|
15
|
+
.bk-table .bk-table-body table {
|
16
|
+
width: 100%;
|
17
|
+
border-collapse: collapse;
|
18
|
+
table-layout: fixed;
|
19
|
+
}
|
20
|
+
.bk-table .bk-table-head table th,
|
21
|
+
.bk-table .bk-table-body table th,
|
22
|
+
.bk-table .bk-table-head table td,
|
23
|
+
.bk-table .bk-table-body table td {
|
24
|
+
min-width: 80px;
|
25
|
+
}
|
26
|
+
.bk-table .bk-table-head table th .cell,
|
27
|
+
.bk-table .bk-table-body table th .cell,
|
28
|
+
.bk-table .bk-table-head table td .cell,
|
29
|
+
.bk-table .bk-table-body table td .cell {
|
30
|
+
padding: 0 15px;
|
31
|
+
overflow: hidden;
|
32
|
+
line-height: var(--row-height);
|
33
|
+
color: #575961;
|
34
|
+
text-align: left;
|
35
|
+
text-overflow: ellipsis;
|
36
|
+
white-space: nowrap;
|
37
|
+
}
|
38
|
+
.bk-table .bk-table-head table thead th,
|
39
|
+
.bk-table .bk-table-body table thead th {
|
40
|
+
position: sticky;
|
41
|
+
top: 0;
|
42
|
+
z-index: 1;
|
43
|
+
color: #313238;
|
44
|
+
background-color: #fafbfd;
|
45
|
+
}
|
46
|
+
.bk-table .bk-table-head table thead th.active,
|
47
|
+
.bk-table .bk-table-body table thead th.active,
|
48
|
+
.bk-table .bk-table-head table thead th:hover,
|
49
|
+
.bk-table .bk-table-body table thead th:hover {
|
50
|
+
background: #f0f1f5;
|
51
|
+
}
|
52
|
+
.bk-table .bk-table-head table tbody tr:hover td,
|
53
|
+
.bk-table .bk-table-body table tbody tr:hover td {
|
54
|
+
background: #f5f7fa;
|
55
|
+
}
|
56
|
+
.bk-table .bk-table-footer {
|
57
|
+
line-height: 40px;
|
58
|
+
}
|
59
|
+
.bk-table.bordered-row td,
|
60
|
+
.bk-table.bordered-row th {
|
61
|
+
border-bottom: 1px solid #dcdee5;
|
62
|
+
}
|
63
|
+
.bk-table.bordered-outer {
|
64
|
+
border-right: 1px solid #dcdee5;
|
65
|
+
border-left: 1px solid #dcdee5;
|
66
|
+
}
|
67
|
+
.bk-table.bordered-col th,
|
68
|
+
.bk-table.bordered-col td {
|
69
|
+
border-right: 1px solid #dcdee5;
|
70
|
+
}
|
71
|
+
.bk-table.bordered-col th:last-child,
|
72
|
+
.bk-table.bordered-col td:last-child {
|
73
|
+
border-right: none;
|
74
|
+
}
|
75
|
+
.bk-table.bordered-none th,
|
76
|
+
.bk-table.bordered-none td {
|
77
|
+
border-top: none;
|
78
|
+
border-right: none;
|
79
|
+
border-bottom: none;
|
80
|
+
border-left: none;
|
81
|
+
}
|
82
|
+
.bk-table .bk-table-fixed {
|
83
|
+
width: 100%;
|
84
|
+
}
|
85
|
+
.bk-table colgroup col {
|
86
|
+
background: white;
|
87
|
+
}
|
88
|
+
.bk-table colgroup col.active {
|
89
|
+
position: relative;
|
90
|
+
background: #f0f1f5;
|
91
|
+
}
|