bkui-vue 0.0.1-beta.35 → 0.0.1-beta.38
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 +57 -0
- package/dist/{bkui-vue.esm.js → index.esm.js} +54 -41
- package/dist/index.umd.js +57 -0
- package/dist/style.css +1 -5865
- package/package.json +17 -29
- package/README_EN.md +0 -93
- package/dist/bkui-vue.cjs.js +0 -20339
- package/dist/bkui-vue.umd.js +0 -20342
- package/lib/alert/alert.css +0 -75
- package/lib/alert/alert.d.ts +0 -62
- package/lib/alert/alert.js +0 -1
- package/lib/alert/alert.less +0 -110
- package/lib/alert/alert.variable.css +0 -168
- package/lib/alert/index.d.ts +0 -180
- package/lib/animate-number/animate-number.d.ts +0 -27
- package/lib/animate-number/animate-number.js +0 -1
- package/lib/animate-number/index.d.ts +0 -97
- package/lib/backtop/backtop.css +0 -42
- package/lib/backtop/backtop.d.ts +0 -60
- package/lib/backtop/backtop.js +0 -1
- package/lib/backtop/backtop.less +0 -18
- package/lib/backtop/backtop.variable.css +0 -135
- package/lib/backtop/index.d.ts +0 -166
- package/lib/badge/badge.css +0 -121
- package/lib/badge/badge.d.ts +0 -91
- package/lib/badge/badge.js +0 -1
- package/lib/badge/badge.less +0 -137
- package/lib/badge/badge.variable.css +0 -214
- package/lib/badge/index.d.ts +0 -217
- package/lib/breadcrumb/breadcrumb-item.d.ts +0 -36
- package/lib/breadcrumb/breadcrumb.css +0 -68
- package/lib/breadcrumb/breadcrumb.d.ts +0 -54
- package/lib/breadcrumb/breadcrumb.js +0 -1
- package/lib/breadcrumb/breadcrumb.less +0 -65
- package/lib/breadcrumb/breadcrumb.variable.css +0 -161
- package/lib/breadcrumb/index.d.ts +0 -194
- package/lib/breadcrumb/props.d.ts +0 -4
- package/lib/button/button-group.d.ts +0 -6
- package/lib/button/button.css +0 -262
- package/lib/button/button.d.ts +0 -143
- package/lib/button/button.js +0 -1
- package/lib/button/button.less +0 -192
- package/lib/button/button.variable.css +0 -355
- package/lib/button/index.d.ts +0 -226
- package/lib/card/card.css +0 -63
- package/lib/card/card.d.ts +0 -69
- package/lib/card/card.js +0 -1
- package/lib/card/card.less +0 -44
- package/lib/card/card.variable.css +0 -156
- package/lib/card/index.d.ts +0 -187
- package/lib/checkbox/checkbox-group.d.ts +0 -48
- package/lib/checkbox/checkbox.css +0 -64
- package/lib/checkbox/checkbox.d.ts +0 -114
- package/lib/checkbox/checkbox.js +0 -1
- package/lib/checkbox/checkbox.less +0 -80
- package/lib/checkbox/checkbox.variable.css +0 -157
- package/lib/checkbox/common.d.ts +0 -13
- package/lib/checkbox/index.d.ts +0 -261
- package/lib/checkbox/type.d.ts +0 -19
- package/lib/code-diff/code-diff.css +0 -186
- package/lib/code-diff/code-diff.d.ts +0 -80
- package/lib/code-diff/code-diff.js +0 -1
- package/lib/code-diff/code-diff.less +0 -238
- package/lib/code-diff/code-diff.variable.css +0 -279
- package/lib/code-diff/index.d.ts +0 -154
- package/lib/collapse/collapse.css +0 -30
- package/lib/collapse/collapse.d.ts +0 -106
- package/lib/collapse/collapse.js +0 -1
- package/lib/collapse/collapse.less +0 -37
- package/lib/collapse/collapse.variable.css +0 -30
- package/lib/collapse/index.d.ts +0 -166
- package/lib/components.d.ts +0 -41
- package/lib/date-picker/date-picker.css +0 -407
- package/lib/date-picker/date-picker.d.ts +0 -294
- package/lib/date-picker/date-picker.js +0 -1
- package/lib/date-picker/date-picker.less +0 -526
- package/lib/date-picker/date-picker.variable.css +0 -500
- package/lib/date-picker/fecha.d.ts +0 -6
- package/lib/date-picker/index.d.ts +0 -713
- package/lib/date-picker/interface.d.ts +0 -22
- package/lib/date-picker/props.d.ts +0 -111
- package/lib/date-picker/utils.d.ts +0 -97
- package/lib/dialog/dialog.css +0 -68
- package/lib/dialog/dialog.d.ts +0 -113
- package/lib/dialog/dialog.js +0 -1
- package/lib/dialog/dialog.less +0 -80
- package/lib/dialog/dialog.variable.css +0 -68
- package/lib/dialog/index.d.ts +0 -286
- package/lib/directives/clickoutside.d.ts +0 -3
- package/lib/directives/directives.js +0 -2
- package/lib/directives/directives.js.LICENSE.txt +0 -14
- package/lib/directives/index.d.ts +0 -3
- package/lib/directives/mousewheel.d.ts +0 -3
- package/lib/directives/tooltips.d.ts +0 -17
- package/lib/divider/divider.css +0 -38
- package/lib/divider/divider.d.ts +0 -48
- package/lib/divider/divider.js +0 -1
- package/lib/divider/divider.less +0 -53
- package/lib/divider/divider.variable.css +0 -131
- package/lib/divider/index.d.ts +0 -142
- package/lib/divider/props.d.ts +0 -21
- package/lib/dropdown/dropdown-item.d.ts +0 -19
- package/lib/dropdown/dropdown-menu.d.ts +0 -16
- package/lib/dropdown/dropdown.css +0 -43
- package/lib/dropdown/dropdown.d.ts +0 -61
- package/lib/dropdown/dropdown.js +0 -1
- package/lib/dropdown/dropdown.less +0 -54
- package/lib/dropdown/dropdown.variable.css +0 -136
- package/lib/dropdown/index.d.ts +0 -192
- package/lib/exception/exception.css +0 -32
- package/lib/exception/exception.d.ts +0 -26
- package/lib/exception/exception.js +0 -1
- package/lib/exception/exception.less +0 -39
- package/lib/exception/exception.variable.css +0 -125
- package/lib/exception/index.d.ts +0 -96
- package/lib/fixed-navbar/fixed-navbar.css +0 -42
- package/lib/fixed-navbar/fixed-navbar.d.ts +0 -34
- package/lib/fixed-navbar/fixed-navbar.js +0 -1
- package/lib/fixed-navbar/fixed-navbar.less +0 -53
- package/lib/fixed-navbar/fixed-navbar.variable.css +0 -135
- package/lib/fixed-navbar/index.d.ts +0 -112
- package/lib/form/common.d.ts +0 -3
- package/lib/form/form-item.d.ts +0 -145
- package/lib/form/form.css +0 -48
- package/lib/form/form.d.ts +0 -64
- package/lib/form/form.js +0 -1
- package/lib/form/form.less +0 -63
- package/lib/form/form.variable.css +0 -48
- package/lib/form/index.d.ts +0 -246
- package/lib/form/type.d.ts +0 -21
- package/lib/form/validator.d.ts +0 -8
- package/lib/icon/angle-double-down-line.d.ts +0 -4
- package/lib/icon/angle-double-down-line.js +0 -1
- package/lib/icon/angle-double-left-line.d.ts +0 -4
- package/lib/icon/angle-double-left-line.js +0 -1
- package/lib/icon/angle-double-left.d.ts +0 -4
- package/lib/icon/angle-double-left.js +0 -1
- package/lib/icon/angle-double-right-line.d.ts +0 -4
- package/lib/icon/angle-double-right-line.js +0 -1
- package/lib/icon/angle-double-right.d.ts +0 -4
- package/lib/icon/angle-double-right.js +0 -1
- package/lib/icon/angle-double-up-line.d.ts +0 -4
- package/lib/icon/angle-double-up-line.js +0 -1
- package/lib/icon/angle-down-fill.d.ts +0 -4
- package/lib/icon/angle-down-fill.js +0 -1
- package/lib/icon/angle-down-line.d.ts +0 -4
- package/lib/icon/angle-down-line.js +0 -1
- package/lib/icon/angle-down.d.ts +0 -4
- package/lib/icon/angle-down.js +0 -1
- package/lib/icon/angle-left.d.ts +0 -4
- package/lib/icon/angle-left.js +0 -1
- package/lib/icon/angle-right.d.ts +0 -4
- package/lib/icon/angle-right.js +0 -1
- package/lib/icon/angle-up-fill.d.ts +0 -4
- package/lib/icon/angle-up-fill.js +0 -1
- package/lib/icon/angle-up.d.ts +0 -4
- package/lib/icon/angle-up.js +0 -1
- package/lib/icon/arrows-left.d.ts +0 -4
- package/lib/icon/arrows-left.js +0 -1
- package/lib/icon/arrows-right.d.ts +0 -4
- package/lib/icon/arrows-right.js +0 -1
- package/lib/icon/bk.d.ts +0 -4
- package/lib/icon/bk.js +0 -1
- package/lib/icon/circle.d.ts +0 -4
- package/lib/icon/circle.js +0 -1
- package/lib/icon/close.d.ts +0 -4
- package/lib/icon/close.js +0 -1
- package/lib/icon/code.d.ts +0 -4
- package/lib/icon/code.js +0 -1
- package/lib/icon/cog-shape.d.ts +0 -4
- package/lib/icon/cog-shape.js +0 -1
- package/lib/icon/collapse-left.d.ts +0 -4
- package/lib/icon/collapse-left.js +0 -1
- package/lib/icon/copy.d.ts +0 -4
- package/lib/icon/copy.js +0 -1
- package/lib/icon/done.d.ts +0 -4
- package/lib/icon/done.js +0 -1
- package/lib/icon/down-shape.d.ts +0 -4
- package/lib/icon/down-shape.js +0 -1
- package/lib/icon/down-small.d.ts +0 -4
- package/lib/icon/down-small.js +0 -1
- package/lib/icon/ellipsis.d.ts +0 -4
- package/lib/icon/ellipsis.js +0 -1
- package/lib/icon/error.d.ts +0 -4
- package/lib/icon/error.js +0 -1
- package/lib/icon/eye.d.ts +0 -4
- package/lib/icon/eye.js +0 -1
- package/lib/icon/folder-open.d.ts +0 -4
- package/lib/icon/folder-open.js +0 -1
- package/lib/icon/folder-shape-open.d.ts +0 -4
- package/lib/icon/folder-shape-open.js +0 -1
- package/lib/icon/folder-shape.d.ts +0 -4
- package/lib/icon/folder-shape.js +0 -1
- package/lib/icon/folder.d.ts +0 -4
- package/lib/icon/folder.js +0 -1
- package/lib/icon/help-document-fill.d.ts +0 -4
- package/lib/icon/help-document-fill.js +0 -1
- package/lib/icon/help-fill.d.ts +0 -4
- package/lib/icon/help-fill.js +0 -1
- package/lib/icon/help.d.ts +0 -4
- package/lib/icon/help.js +0 -1
- package/lib/icon/icon.d.ts +0 -12
- package/lib/icon/icon.js +0 -1
- package/lib/icon/index.d.ts +0 -53
- package/lib/icon/info-line.d.ts +0 -4
- package/lib/icon/info-line.js +0 -1
- package/lib/icon/info.d.ts +0 -4
- package/lib/icon/info.js +0 -1
- package/lib/icon/left-shape.d.ts +0 -4
- package/lib/icon/left-shape.js +0 -1
- package/lib/icon/play-shape.d.ts +0 -4
- package/lib/icon/play-shape.js +0 -1
- package/lib/icon/plus.d.ts +0 -4
- package/lib/icon/plus.js +0 -1
- package/lib/icon/qq.d.ts +0 -4
- package/lib/icon/qq.js +0 -1
- package/lib/icon/right-shape.d.ts +0 -4
- package/lib/icon/right-shape.js +0 -1
- package/lib/icon/search.d.ts +0 -4
- package/lib/icon/search.js +0 -1
- package/lib/icon/share.d.ts +0 -4
- package/lib/icon/share.js +0 -1
- package/lib/icon/spinner.d.ts +0 -4
- package/lib/icon/spinner.js +0 -1
- package/lib/icon/success.d.ts +0 -4
- package/lib/icon/success.js +0 -1
- package/lib/icon/switcher-loading.d.ts +0 -4
- package/lib/icon/switcher-loading.js +0 -1
- package/lib/icon/text-file.d.ts +0 -4
- package/lib/icon/text-file.js +0 -1
- package/lib/icon/tree-application-shape.d.ts +0 -4
- package/lib/icon/tree-application-shape.js +0 -1
- package/lib/icon/unvisible.d.ts +0 -4
- package/lib/icon/unvisible.js +0 -1
- package/lib/icon/up-shape.d.ts +0 -4
- package/lib/icon/up-shape.js +0 -1
- package/lib/icon/warn.d.ts +0 -4
- package/lib/icon/warn.js +0 -1
- package/lib/icon/weixin.d.ts +0 -4
- package/lib/icon/weixin.js +0 -1
- package/lib/index.d.ts +0 -4
- package/lib/input/index.d.ts +0 -417
- package/lib/input/input.css +0 -150
- package/lib/input/input.d.ts +0 -237
- package/lib/input/input.js +0 -1
- package/lib/input/input.less +0 -165
- package/lib/input/input.variable.css +0 -243
- package/lib/link/index.d.ts +0 -164
- package/lib/link/link.css +0 -55
- package/lib/link/link.d.ts +0 -58
- package/lib/link/link.js +0 -1
- package/lib/link/link.less +0 -74
- package/lib/link/link.variable.css +0 -148
- package/lib/loading/index.d.ts +0 -164
- package/lib/loading/loading.css +0 -261
- package/lib/loading/loading.d.ts +0 -94
- package/lib/loading/loading.js +0 -1
- package/lib/loading/loading.less +0 -197
- package/lib/loading/loading.variable.css +0 -354
- package/lib/menu/index.d.ts +0 -188
- package/lib/menu/menu-group.d.ts +0 -14
- package/lib/menu/menu-item.d.ts +0 -16
- package/lib/menu/menu.css +0 -182
- package/lib/menu/menu.d.ts +0 -64
- package/lib/menu/menu.js +0 -1
- package/lib/menu/menu.less +0 -180
- package/lib/menu/menu.variable.css +0 -275
- package/lib/menu/submenu.css +0 -3
- package/lib/menu/submenu.d.ts +0 -22
- package/lib/menu/submenu.less +0 -5
- package/lib/menu/submenu.variable.css +0 -96
- package/lib/menu/utils.d.ts +0 -41
- package/lib/message/index.d.ts +0 -2
- package/lib/message/message.css +0 -53
- package/lib/message/message.js +0 -1
- package/lib/message/message.less +0 -61
- package/lib/message/message.variable.css +0 -146
- package/lib/message/messageConstructor.d.ts +0 -73
- package/lib/modal/index.d.ts +0 -214
- package/lib/modal/modal.css +0 -11
- package/lib/modal/modal.d.ts +0 -65
- package/lib/modal/modal.js +0 -1
- package/lib/modal/modal.less +0 -12
- package/lib/modal/modal.variable.css +0 -11
- package/lib/modal/props.mixin.d.ts +0 -26
- package/lib/navigation/index.d.ts +0 -2
- package/lib/navigation/navigation-title.d.ts +0 -25
- package/lib/navigation/navigation.css +0 -184
- package/lib/navigation/navigation.d.ts +0 -111
- package/lib/navigation/navigation.js +0 -1
- package/lib/navigation/navigation.less +0 -210
- package/lib/navigation/navigation.variable.css +0 -277
- package/lib/notify/index.d.ts +0 -2
- package/lib/notify/notify.css +0 -49
- package/lib/notify/notify.js +0 -1
- package/lib/notify/notify.less +0 -58
- package/lib/notify/notify.variable.css +0 -142
- package/lib/notify/notifyConstructor.d.ts +0 -91
- package/lib/pagination/index.d.ts +0 -395
- package/lib/pagination/pagination.css +0 -179
- package/lib/pagination/pagination.d.ts +0 -220
- package/lib/pagination/pagination.js +0 -1
- package/lib/pagination/pagination.less +0 -201
- package/lib/pagination/pagination.variable.css +0 -272
- package/lib/pagination/type.d.ts +0 -6
- package/lib/pagination/use-limit.d.ts +0 -8
- package/lib/pagination/use-list.d.ts +0 -8
- package/lib/pagination/use-small-list.d.ts +0 -5
- package/lib/pagination/use-total.d.ts +0 -5
- package/lib/popover/index.d.ts +0 -287
- package/lib/popover/popover.css +0 -65
- package/lib/popover/popover.d.ts +0 -117
- package/lib/popover/popover.js +0 -1
- package/lib/popover/popover.less +0 -82
- package/lib/popover/popover.variable.css +0 -158
- package/lib/popover/props.d.ts +0 -77
- package/lib/preset.d.ts +0 -7
- package/lib/process/index.d.ts +0 -205
- package/lib/process/process.css +0 -138
- package/lib/process/process.d.ts +0 -131
- package/lib/process/process.js +0 -1
- package/lib/process/process.less +0 -178
- package/lib/process/process.variable.css +0 -231
- package/lib/progress/circle.d.ts +0 -6
- package/lib/progress/index.d.ts +0 -398
- package/lib/progress/line.d.ts +0 -6
- package/lib/progress/progress.css +0 -94
- package/lib/progress/progress.d.ts +0 -171
- package/lib/progress/progress.js +0 -1
- package/lib/progress/progress.less +0 -90
- package/lib/progress/progress.variable.css +0 -187
- package/lib/radio/common.d.ts +0 -13
- package/lib/radio/index.d.ts +0 -277
- package/lib/radio/radio-button.d.ts +0 -91
- package/lib/radio/radio-group.d.ts +0 -41
- package/lib/radio/radio.css +0 -138
- package/lib/radio/radio.d.ts +0 -87
- package/lib/radio/radio.js +0 -1
- package/lib/radio/radio.less +0 -173
- package/lib/radio/radio.variable.css +0 -231
- package/lib/radio/type.d.ts +0 -9
- package/lib/rate/index.d.ts +0 -113
- package/lib/rate/rate.css +0 -10
- package/lib/rate/rate.d.ts +0 -32
- package/lib/rate/rate.js +0 -1
- package/lib/rate/rate.less +0 -11
- package/lib/rate/rate.variable.css +0 -10
- package/lib/rate/star.css +0 -24
- package/lib/rate/star.d.ts +0 -74
- package/lib/rate/star.less +0 -29
- package/lib/rate/star.variable.css +0 -24
- package/lib/resize-layout/index.d.ts +0 -336
- package/lib/resize-layout/resize-layout.css +0 -189
- package/lib/resize-layout/resize-layout.d.ts +0 -127
- package/lib/resize-layout/resize-layout.js +0 -1
- package/lib/resize-layout/resize-layout.less +0 -233
- package/lib/resize-layout/resize-layout.variable.css +0 -282
- package/lib/select/common.d.ts +0 -33
- package/lib/select/index.d.ts +0 -1347
- package/lib/select/option.d.ts +0 -25
- package/lib/select/optionGroup.d.ts +0 -54
- package/lib/select/select.css +0 -325
- package/lib/select/select.d.ts +0 -395
- package/lib/select/select.js +0 -1
- package/lib/select/select.less +0 -324
- package/lib/select/select.variable.css +0 -418
- package/lib/select/type.d.ts +0 -31
- package/lib/shared/helper.d.ts +0 -92
- package/lib/shared/index.d.ts +0 -51
- package/lib/shared/mask-manager.d.ts +0 -76
- package/lib/shared/pop-manager.d.ts +0 -26
- package/lib/shared/popover.d.ts +0 -127
- package/lib/shared/scrollbar-width.d.ts +0 -1
- package/lib/shared/shared.js +0 -1
- package/lib/shared/utils.d.ts +0 -6
- package/lib/shared/vue-types.d.ts +0 -115
- package/lib/shared/z-index-manager.d.ts +0 -93
- package/lib/sideslider/index.d.ts +0 -206
- package/lib/sideslider/sideslider.css +0 -69
- package/lib/sideslider/sideslider.d.ts +0 -75
- package/lib/sideslider/sideslider.js +0 -1
- package/lib/sideslider/sideslider.less +0 -86
- package/lib/sideslider/sideslider.variable.css +0 -162
- package/lib/slider/index.d.ts +0 -27
- package/lib/slider/slider-button.d.ts +0 -80
- package/lib/slider/slider.css +0 -149
- package/lib/slider/slider.d.ts +0 -201
- package/lib/slider/slider.js +0 -1
- package/lib/slider/slider.less +0 -179
- package/lib/slider/slider.variable.css +0 -242
- package/lib/steps/index.d.ts +0 -250
- package/lib/steps/steps.css +0 -288
- package/lib/steps/steps.d.ts +0 -161
- package/lib/steps/steps.js +0 -1
- package/lib/steps/steps.less +0 -324
- package/lib/steps/steps.variable.css +0 -381
- package/lib/styles/index.d.ts +0 -47
- package/lib/styles/mixins/animate.css +0 -21
- package/lib/styles/mixins/animate.less +0 -27
- package/lib/styles/mixins/animate.variable.css +0 -21
- package/lib/styles/mixins/ellipsis.less +0 -8
- package/lib/styles/mixins/mixins.css +0 -21
- package/lib/styles/mixins/mixins.less +0 -3
- package/lib/styles/mixins/mixins.variable.css +0 -21
- package/lib/styles/mixins/popper.css +0 -43
- package/lib/styles/mixins/popper.less +0 -52
- package/lib/styles/mixins/popper.variable.css +0 -43
- package/lib/styles/mixins/size.less +0 -13
- package/lib/styles/reset.css +0 -273
- package/lib/styles/reset.less +0 -313
- package/lib/styles/reset.variable.css +0 -273
- package/lib/styles/themes/themes.less +0 -126
- package/lib/swiper/index.d.ts +0 -181
- package/lib/swiper/swiper.css +0 -91
- package/lib/swiper/swiper.d.ts +0 -65
- package/lib/swiper/swiper.js +0 -1
- package/lib/swiper/swiper.less +0 -107
- package/lib/swiper/swiper.variable.css +0 -91
- package/lib/switcher/index.d.ts +0 -286
- package/lib/switcher/switcher.css +0 -272
- package/lib/switcher/switcher.d.ts +0 -113
- package/lib/switcher/switcher.js +0 -1
- package/lib/switcher/switcher.less +0 -358
- package/lib/switcher/switcher.variable.css +0 -365
- package/lib/tab/index.d.ts +0 -443
- package/lib/tab/props.d.ts +0 -191
- package/lib/tab/tab-nav.d.ts +0 -165
- package/lib/tab/tab-panel.d.ts +0 -73
- package/lib/tab/tab.css +0 -148
- package/lib/tab/tab.d.ts +0 -140
- package/lib/tab/tab.js +0 -1
- package/lib/tab/tab.less +0 -222
- package/lib/tab/tab.variable.css +0 -241
- package/lib/table/const.d.ts +0 -4
- package/lib/table/index.d.ts +0 -302
- package/lib/table/props.d.ts +0 -117
- package/lib/table/render.d.ts +0 -81
- package/lib/table/table.css +0 -90
- package/lib/table/table.d.ts +0 -119
- package/lib/table/table.js +0 -1
- package/lib/table/table.less +0 -120
- package/lib/table/table.variable.css +0 -183
- package/lib/table/utils.d.ts +0 -69
- package/lib/tag/index.d.ts +0 -229
- package/lib/tag/tag.css +0 -97
- package/lib/tag/tag.d.ts +0 -84
- package/lib/tag/tag.js +0 -1
- package/lib/tag/tag.less +0 -113
- package/lib/tag/tag.variable.css +0 -190
- package/lib/tag-input/common.d.ts +0 -24
- package/lib/tag-input/index.d.ts +0 -2
- package/lib/tag-input/list-tag-render.d.ts +0 -47
- package/lib/tag-input/tag-input.css +0 -208
- package/lib/tag-input/tag-input.d.ts +0 -374
- package/lib/tag-input/tag-input.js +0 -1
- package/lib/tag-input/tag-input.less +0 -250
- package/lib/tag-input/tag-input.variable.css +0 -301
- package/lib/tag-input/tag-props.d.ts +0 -131
- package/lib/tag-input/tag-render.d.ts +0 -38
- package/lib/timeline/index.d.ts +0 -129
- package/lib/timeline/timeline.css +0 -235
- package/lib/timeline/timeline.d.ts +0 -81
- package/lib/timeline/timeline.js +0 -1
- package/lib/timeline/timeline.less +0 -239
- package/lib/timeline/timeline.variable.css +0 -328
- package/lib/transfer/index.d.ts +0 -351
- package/lib/transfer/transfer.css +0 -158
- package/lib/transfer/transfer.d.ts +0 -185
- package/lib/transfer/transfer.js +0 -1
- package/lib/transfer/transfer.less +0 -171
- package/lib/transfer/transfer.variable.css +0 -251
- package/lib/tree/index.d.ts +0 -287
- package/lib/tree/props.d.ts +0 -89
- package/lib/tree/tree.css +0 -50
- package/lib/tree/tree.d.ts +0 -111
- package/lib/tree/tree.js +0 -1
- package/lib/tree/tree.less +0 -63
- package/lib/tree/tree.variable.css +0 -143
- package/lib/tree/util.d.ts +0 -70
- package/lib/use-form.d.ts +0 -3
- package/lib/use-message.d.ts +0 -2
- package/lib/virtual-render/index.d.ts +0 -556
- package/lib/virtual-render/props.d.ts +0 -157
- package/lib/virtual-render/v-virtual-render.d.ts +0 -7
- package/lib/virtual-render/virtual-render.css +0 -40
- package/lib/virtual-render/virtual-render.d.ts +0 -244
- package/lib/virtual-render/virtual-render.js +0 -1
- package/lib/virtual-render/virtual-render.less +0 -51
- package/lib/virtual-render/virtual-render.variable.css +0 -40
package/lib/table/index.d.ts
DELETED
@@ -1,302 +0,0 @@
|
|
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;
|
package/lib/table/props.d.ts
DELETED
@@ -1,117 +0,0 @@
|
|
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
|
-
};
|
package/lib/table/render.d.ts
DELETED
@@ -1,81 +0,0 @@
|
|
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
|
-
plugins: TablePlugins;
|
9
|
-
constructor(props: any, ctx: any, reactiveProp: IReactiveProp, colgroups: GroupColumn[]);
|
10
|
-
get propActiveCols(): IColumnActive[];
|
11
|
-
/**
|
12
|
-
* 渲染Table Head
|
13
|
-
* @param activeColumns 当前选中的列
|
14
|
-
* @returns
|
15
|
-
*/
|
16
|
-
renderTableHeadSchema(): JSX.Element;
|
17
|
-
/**
|
18
|
-
* 渲染Table主体
|
19
|
-
* @param activeColumns 当前选中的列
|
20
|
-
* @returns
|
21
|
-
*/
|
22
|
-
renderTableBodySchema(rows: any[]): JSX.Element;
|
23
|
-
renderTableFooter(options: any): JSX.Element;
|
24
|
-
private handlePageLimitChange;
|
25
|
-
private hanlePageChange;
|
26
|
-
/**
|
27
|
-
* 指定列选中状态
|
28
|
-
* @param index 指定选中的列Index
|
29
|
-
* @param single 是否重置其他列,当只允许选中一列的情况下需要先重置
|
30
|
-
*/
|
31
|
-
private setColumnActive;
|
32
|
-
/**
|
33
|
-
* 点击选中一列事件
|
34
|
-
* @param index 当前选中列Index
|
35
|
-
*/
|
36
|
-
private handleColumnHeadClick;
|
37
|
-
/**
|
38
|
-
* 渲染Table Header
|
39
|
-
* @returns
|
40
|
-
*/
|
41
|
-
private renderHeader;
|
42
|
-
/**
|
43
|
-
* 渲染Table Body
|
44
|
-
* @returns
|
45
|
-
*/
|
46
|
-
private renderTBody;
|
47
|
-
/**
|
48
|
-
* table row click handle
|
49
|
-
* @param e
|
50
|
-
* @param row
|
51
|
-
* @param index
|
52
|
-
* @param rows
|
53
|
-
*/
|
54
|
-
private handleRowClick;
|
55
|
-
/**
|
56
|
-
* table row click handle
|
57
|
-
* @param e
|
58
|
-
* @param row
|
59
|
-
* @param index
|
60
|
-
* @param rows
|
61
|
-
*/
|
62
|
-
private handleRowDblClick;
|
63
|
-
/**
|
64
|
-
* 渲染表格Cell内容
|
65
|
-
* @param row 当前行
|
66
|
-
* @param column 当前列
|
67
|
-
* @returns
|
68
|
-
*/
|
69
|
-
private renderCell;
|
70
|
-
/**
|
71
|
-
* 判定指定列是否为选中状态
|
72
|
-
* @param colIndex 指定列Index
|
73
|
-
* @returns
|
74
|
-
*/
|
75
|
-
private isColActive;
|
76
|
-
/**
|
77
|
-
* 渲染表格Col分组
|
78
|
-
* @returns
|
79
|
-
*/
|
80
|
-
private renderColGroup;
|
81
|
-
}
|
package/lib/table/table.css
DELETED
@@ -1,90 +0,0 @@
|
|
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
|
-
}
|
19
|
-
.bk-table .bk-table-head table th,
|
20
|
-
.bk-table .bk-table-body table th,
|
21
|
-
.bk-table .bk-table-head table td,
|
22
|
-
.bk-table .bk-table-body table td {
|
23
|
-
min-width: 80px;
|
24
|
-
}
|
25
|
-
.bk-table .bk-table-head table th .cell,
|
26
|
-
.bk-table .bk-table-body table th .cell,
|
27
|
-
.bk-table .bk-table-head table td .cell,
|
28
|
-
.bk-table .bk-table-body table td .cell {
|
29
|
-
height: var(--row-height);
|
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 .cell {
|
60
|
-
border-bottom: 1px solid #dcdee5;
|
61
|
-
}
|
62
|
-
.bk-table.bordered-outer {
|
63
|
-
border-right: 1px solid #dcdee5;
|
64
|
-
border-left: 1px solid #dcdee5;
|
65
|
-
}
|
66
|
-
.bk-table.bordered-col th .cell,
|
67
|
-
.bk-table.bordered-col td .cell {
|
68
|
-
border-right: 1px solid #dcdee5;
|
69
|
-
}
|
70
|
-
.bk-table.bordered-col th:last-child .cell,
|
71
|
-
.bk-table.bordered-col td:last-child .cell {
|
72
|
-
border-right: none;
|
73
|
-
}
|
74
|
-
.bk-table.bordered-none th .cell,
|
75
|
-
.bk-table.bordered-none td .cell {
|
76
|
-
border-top: none;
|
77
|
-
border-right: none;
|
78
|
-
border-bottom: none;
|
79
|
-
border-left: none;
|
80
|
-
}
|
81
|
-
.bk-table .bk-table-fixed {
|
82
|
-
width: 100%;
|
83
|
-
}
|
84
|
-
.bk-table colgroup col {
|
85
|
-
background: white;
|
86
|
-
}
|
87
|
-
.bk-table colgroup col.active {
|
88
|
-
position: relative;
|
89
|
-
background: #f0f1f5;
|
90
|
-
}
|