bkui-vue 0.0.1-beta.37 → 0.0.1-beta.370
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/License.txt +14 -0
- package/dist/index.cjs.js +179 -0
- package/dist/index.esm.js +39365 -0
- package/dist/index.umd.js +179 -0
- package/dist/style.css +1 -5902
- package/dist/style.variable.css +1 -0
- package/lib/affix/affix.css +3 -0
- package/lib/affix/affix.d.ts +47 -0
- package/lib/affix/affix.less +5 -0
- package/lib/affix/affix.variable.css +123 -0
- package/lib/affix/index.d.ts +143 -0
- package/lib/affix/index.js +1 -0
- package/lib/alert/alert.css +9 -3
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/alert.less +29 -20
- package/lib/alert/alert.variable.css +39 -6
- package/lib/alert/index.d.ts +11 -11
- package/lib/alert/index.js +1 -0
- package/lib/animate-number/animate-number.d.ts +1 -1
- package/lib/animate-number/index.d.ts +4 -4
- package/lib/animate-number/{animate-number.js → index.js} +1 -1
- package/lib/backtop/backtop.css +8 -0
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/backtop.less +8 -0
- package/lib/backtop/backtop.variable.css +38 -3
- package/lib/backtop/index.d.ts +4 -4
- package/lib/backtop/index.js +1 -0
- package/lib/badge/badge.css +5 -5
- package/lib/badge/badge.d.ts +28 -7
- package/lib/badge/badge.less +5 -6
- package/lib/badge/badge.variable.css +35 -8
- package/lib/badge/index.d.ts +68 -18
- package/lib/badge/index.js +1 -0
- package/lib/breadcrumb/breadcrumb.css +51 -0
- package/lib/breadcrumb/breadcrumb.variable.css +86 -8
- package/lib/breadcrumb/index.js +1 -0
- package/lib/button/button-group.d.ts +2 -2
- package/lib/button/button.css +85 -50
- package/lib/button/button.d.ts +44 -24
- package/lib/button/button.less +72 -42
- package/lib/button/button.variable.css +115 -53
- package/lib/button/index.d.ts +70 -40
- package/lib/button/index.js +1 -0
- package/lib/card/card.css +96 -1
- package/lib/card/card.d.ts +47 -6
- package/lib/card/card.less +50 -2
- package/lib/card/card.variable.css +130 -8
- package/lib/card/index.d.ts +113 -17
- package/lib/card/index.js +1 -0
- package/lib/cascader/cascader-panel.d.ts +100 -0
- package/lib/cascader/cascader.css +173 -0
- package/lib/cascader/cascader.d.ts +303 -0
- package/lib/cascader/cascader.less +196 -0
- package/lib/cascader/cascader.variable.css +293 -0
- package/lib/cascader/index.d.ts +868 -0
- package/lib/cascader/index.js +1 -0
- package/lib/cascader/interface.d.ts +51 -0
- package/lib/cascader/node.d.ts +31 -0
- package/lib/cascader/store.d.ts +23 -0
- package/lib/checkbox/checkbox-group.d.ts +16 -0
- package/lib/checkbox/checkbox.css +46 -10
- package/lib/checkbox/checkbox.d.ts +36 -24
- package/lib/checkbox/checkbox.less +79 -31
- package/lib/checkbox/checkbox.variable.css +76 -13
- package/lib/checkbox/common.d.ts +4 -3
- package/lib/checkbox/index.d.ts +70 -38
- package/lib/checkbox/index.js +1 -0
- package/lib/checkbox/type.d.ts +2 -6
- package/lib/code-diff/code-diff.css +27 -7
- package/lib/code-diff/code-diff.d.ts +1 -1
- package/lib/code-diff/code-diff.less +42 -7
- package/lib/code-diff/code-diff.variable.css +57 -10
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse-panel.d.ts +67 -0
- package/lib/collapse/collapse.css +28 -12
- package/lib/collapse/collapse.d.ts +11 -52
- package/lib/collapse/collapse.less +54 -29
- package/lib/collapse/collapse.variable.css +148 -12
- package/lib/collapse/index.d.ts +108 -16
- package/lib/collapse/index.js +1 -0
- package/lib/collapse/props.d.ts +79 -0
- package/lib/collapse/utils.d.ts +11 -0
- package/lib/color-picker/color-picker.css +275 -0
- package/lib/color-picker/color-picker.d.ts +144 -0
- package/lib/color-picker/color-picker.less +325 -0
- package/lib/color-picker/color-picker.variable.css +395 -0
- package/lib/color-picker/components/color-input.d.ts +42 -0
- package/lib/color-picker/components/hue-slider.d.ts +41 -0
- package/lib/color-picker/components/input-container.d.ts +42 -0
- package/lib/color-picker/components/recommend-colors.d.ts +51 -0
- package/lib/color-picker/components/saturation-panel.d.ts +41 -0
- package/lib/color-picker/index.d.ts +254 -0
- package/lib/color-picker/index.js +1 -0
- package/lib/color-picker/utils.d.ts +37 -0
- package/lib/components.d.ts +25 -8
- package/lib/components.js +1 -0
- package/lib/container/col.d.ts +51 -0
- package/lib/container/container.css +91 -0
- package/lib/container/container.d.ts +83 -0
- package/lib/container/container.less +20 -0
- package/lib/container/container.variable.css +211 -0
- package/lib/container/index.d.ts +223 -0
- package/lib/container/index.js +1 -0
- package/lib/container/row.d.ts +4 -0
- package/lib/date-picker/base/confirm.d.ts +74 -0
- package/lib/date-picker/base/date-table.d.ts +96 -0
- package/lib/date-picker/base/picker-dropdown.d.ts +74 -0
- package/lib/date-picker/base/time-spinner.d.ts +151 -0
- package/lib/date-picker/date-picker.css +28 -1
- package/lib/date-picker/date-picker.d.ts +49 -20
- package/lib/date-picker/date-picker.less +106 -74
- package/lib/date-picker/date-picker.variable.css +58 -4
- package/lib/date-picker/index.d.ts +121 -54
- package/lib/date-picker/index.js +1 -0
- package/lib/date-picker/interface.d.ts +11 -1
- package/lib/date-picker/panel/date-range.d.ts +309 -0
- package/lib/date-picker/panel/date.d.ts +206 -0
- package/lib/date-picker/panel/time-range.d.ts +489 -0
- package/lib/date-picker/panel/time.d.ts +448 -0
- package/lib/date-picker/props.d.ts +55 -5
- package/lib/date-picker/time-picker.d.ts +381 -0
- package/lib/date-picker/utils.d.ts +22 -2
- package/lib/dialog/dialog.css +144 -22
- package/lib/dialog/dialog.d.ts +256 -58
- package/lib/dialog/dialog.less +105 -32
- package/lib/dialog/dialog.variable.css +264 -22
- package/lib/dialog/index.d.ts +562 -126
- package/lib/dialog/index.js +1 -0
- package/lib/dialog/props.d.ts +130 -0
- package/lib/directives/ellipsis.d.ts +7 -0
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/index.js +2 -0
- package/lib/directives/tooltips.d.ts +2 -1
- package/lib/dist.index.js +1 -0
- package/lib/divider/divider.d.ts +15 -15
- package/lib/divider/divider.variable.css +30 -3
- package/lib/divider/index.d.ts +34 -34
- package/lib/divider/index.js +1 -0
- package/lib/divider/props.d.ts +6 -6
- package/lib/dropdown/dropdown.css +13 -7
- package/lib/dropdown/dropdown.d.ts +45 -13
- package/lib/dropdown/dropdown.less +47 -34
- package/lib/dropdown/dropdown.variable.css +43 -10
- package/lib/dropdown/index.d.ts +96 -32
- package/lib/dropdown/index.js +1 -0
- package/lib/exception/exception.css +40 -14
- package/lib/exception/exception.d.ts +18 -11
- package/lib/exception/exception.less +59 -22
- package/lib/exception/exception.variable.css +70 -17
- package/lib/exception/index.d.ts +41 -26
- package/lib/exception/index.js +1 -0
- package/lib/exception/typings/index.d.ts +4 -0
- package/lib/fixed-navbar/fixed-navbar.d.ts +16 -2
- package/lib/fixed-navbar/fixed-navbar.variable.css +30 -3
- package/lib/fixed-navbar/index.d.ts +40 -5
- package/lib/fixed-navbar/{fixed-navbar.js → index.js} +1 -1
- package/lib/form/compose-form-item.d.ts +16 -0
- package/lib/form/form-item.d.ts +20 -5
- package/lib/form/form.css +104 -15
- package/lib/form/form.d.ts +38 -14
- package/lib/form/form.less +152 -45
- package/lib/form/form.variable.css +224 -15
- package/lib/form/index.d.ts +107 -34
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +8 -7
- package/lib/form/utils.d.ts +2 -0
- package/lib/form/validator.d.ts +1 -0
- package/lib/icon/angle-double-down-line.js +1 -1
- package/lib/icon/angle-double-left-line.js +1 -1
- package/lib/icon/angle-double-left.js +1 -1
- package/lib/icon/angle-double-right-line.js +1 -1
- package/lib/icon/angle-double-right.js +1 -1
- package/lib/icon/angle-double-up-line.js +1 -1
- package/lib/icon/angle-down-fill.js +1 -1
- package/lib/icon/angle-down-line.js +1 -1
- package/lib/icon/angle-down.js +1 -1
- package/lib/icon/angle-left.js +1 -1
- package/lib/icon/angle-right.js +1 -1
- package/lib/icon/angle-up-fill.js +1 -1
- package/lib/icon/angle-up.js +1 -1
- package/lib/icon/archive-fill.d.ts +4 -0
- package/lib/icon/archive-fill.js +1 -0
- package/lib/icon/arrows-left.js +1 -1
- package/lib/icon/arrows-right.js +1 -1
- package/lib/icon/audio-fill.d.ts +4 -0
- package/lib/icon/audio-fill.js +1 -0
- package/lib/icon/bk.js +1 -1
- package/lib/icon/circle.js +1 -1
- package/lib/icon/close-line.d.ts +4 -0
- package/lib/icon/close-line.js +1 -0
- package/lib/icon/close.js +1 -1
- package/lib/icon/code.js +1 -1
- package/lib/icon/cog-shape.js +1 -1
- package/lib/icon/collapse-left.js +1 -1
- package/lib/icon/copy.js +1 -1
- package/lib/icon/data-shape.d.ts +4 -0
- package/lib/icon/data-shape.js +1 -0
- package/lib/icon/del.d.ts +4 -0
- package/lib/icon/del.js +1 -0
- package/lib/icon/doc-fill.d.ts +4 -0
- package/lib/icon/doc-fill.js +1 -0
- package/lib/icon/done.js +1 -1
- package/lib/icon/down-shape.js +1 -1
- package/lib/icon/down-small.js +1 -1
- package/lib/icon/edit-line.d.ts +4 -0
- package/lib/icon/edit-line.js +1 -0
- package/lib/icon/ellipsis.js +1 -1
- package/lib/icon/enlarge-line.d.ts +4 -0
- package/lib/icon/enlarge-line.js +1 -0
- package/lib/icon/error.js +1 -1
- package/lib/icon/excel-fill.d.ts +4 -0
- package/lib/icon/excel-fill.js +1 -0
- package/lib/icon/exclamation-circle-shape.d.ts +4 -0
- package/lib/icon/exclamation-circle-shape.js +1 -0
- package/lib/icon/eye.js +1 -1
- package/lib/icon/filliscreen-line.d.ts +4 -0
- package/lib/icon/filliscreen-line.js +1 -0
- package/lib/icon/folder-open.js +1 -1
- package/lib/icon/folder-shape-open.js +1 -1
- package/lib/icon/folder-shape.js +1 -1
- package/lib/icon/folder.js +1 -1
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/funnel.js +1 -0
- package/lib/icon/help-document-fill.js +1 -1
- package/lib/icon/help-fill.js +1 -1
- package/lib/icon/help.js +1 -1
- package/lib/icon/image-fill.d.ts +4 -0
- package/lib/icon/img-error.d.ts +4 -0
- package/lib/icon/img-error.js +1 -0
- package/lib/icon/img-placehoulder.d.ts +4 -0
- package/lib/icon/img-placehoulder.js +1 -0
- package/lib/icon/index.d.ts +27 -1
- package/lib/icon/index.js +1 -0
- package/lib/icon/info-line.js +1 -1
- package/lib/icon/info.js +1 -1
- package/lib/icon/left-shape.js +1 -1
- package/lib/icon/left-turn-line.d.ts +4 -0
- package/lib/icon/left-turn-line.js +1 -0
- package/lib/icon/narrow-line.d.ts +4 -0
- package/lib/icon/narrow-line.js +1 -0
- package/lib/icon/original.d.ts +4 -0
- package/lib/icon/original.js +1 -0
- package/lib/icon/pdf-fill.d.ts +4 -0
- package/lib/icon/pdf-fill.js +1 -0
- package/lib/icon/play-shape.js +1 -1
- package/lib/icon/plus.js +1 -1
- package/lib/icon/ppt-fill.d.ts +4 -0
- package/lib/icon/ppt-fill.js +1 -0
- package/lib/icon/qq.js +1 -1
- package/lib/icon/right-shape.js +1 -1
- package/lib/icon/right-turn-line.d.ts +4 -0
- package/lib/icon/right-turn-line.js +1 -0
- package/lib/icon/search.js +1 -1
- package/lib/icon/share.js +1 -1
- package/lib/icon/spinner.js +1 -1
- package/lib/icon/success.js +1 -1
- package/lib/icon/switcher-loading.js +1 -1
- package/lib/icon/text-file.js +1 -1
- package/lib/icon/text-fill.d.ts +4 -0
- package/lib/icon/text-fill.js +1 -0
- package/lib/icon/transfer.d.ts +4 -0
- package/lib/icon/transfer.js +1 -0
- package/lib/icon/tree-application-shape.js +1 -1
- package/lib/icon/unfull-screen.d.ts +4 -0
- package/lib/icon/unfull-screen.js +1 -0
- package/lib/icon/unvisible.js +1 -1
- package/lib/icon/up-shape.js +1 -1
- package/lib/icon/upload.d.ts +4 -0
- package/lib/icon/upload.js +1 -0
- package/lib/icon/video-fill.d.ts +4 -0
- package/lib/icon/video-fill.js +1 -0
- package/lib/icon/warn.js +1 -1
- package/lib/icon/weixin.js +1 -1
- package/lib/image/image-viewer.css +142 -0
- package/lib/image/image-viewer.d.ts +73 -0
- package/lib/image/image-viewer.less +168 -0
- package/lib/image/image-viewer.variable.css +142 -0
- package/lib/image/image.css +37 -0
- package/lib/image/image.d.ts +93 -0
- package/lib/image/image.less +44 -0
- package/lib/image/image.variable.css +37 -0
- package/lib/image/index.d.ts +246 -0
- package/lib/image/index.js +1 -0
- package/lib/image/props.d.ts +71 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -0
- package/lib/info-box/index.d.ts +6 -0
- package/lib/info-box/index.js +1 -0
- package/lib/info-box/info-box.css +37 -0
- package/lib/info-box/info-box.d.ts +26 -0
- package/lib/info-box/info-box.less +51 -0
- package/lib/info-box/info-box.variable.css +157 -0
- package/lib/input/index.d.ts +172 -87
- package/lib/input/index.js +1 -0
- package/lib/input/input.css +183 -22
- package/lib/input/input.d.ts +118 -35
- package/lib/input/input.less +112 -20
- package/lib/input/input.variable.css +244 -57
- package/lib/link/index.d.ts +29 -21
- package/lib/link/index.js +1 -0
- package/lib/link/link.css +12 -12
- package/lib/link/link.d.ts +10 -8
- package/lib/link/link.less +16 -14
- package/lib/link/link.variable.css +42 -15
- package/lib/loading/index.d.ts +112 -19
- package/lib/loading/index.js +1 -0
- package/lib/loading/loading.css +77 -34
- package/lib/loading/loading.d.ts +78 -12
- package/lib/loading/loading.less +17 -22
- package/lib/loading/loading.variable.css +123 -53
- package/lib/menu/index.d.ts +16 -24
- package/lib/menu/index.js +1 -0
- package/lib/menu/menu.css +51 -0
- package/lib/menu/menu.d.ts +7 -16
- package/lib/menu/menu.variable.css +99 -21
- package/lib/menu/submenu.variable.css +30 -3
- package/lib/message/index.js +1 -0
- package/lib/message/message.css +25 -4
- package/lib/message/message.less +30 -4
- package/lib/message/message.variable.css +55 -7
- package/lib/message/messageConstructor.d.ts +47 -11
- package/lib/modal/index.d.ts +456 -78
- package/lib/modal/index.js +1 -0
- package/lib/modal/modal.css +63 -1
- package/lib/modal/modal.d.ts +174 -30
- package/lib/modal/modal.less +39 -3
- package/lib/modal/modal.variable.css +183 -1
- package/lib/modal/props.mixin.d.ts +74 -13
- package/lib/navigation/index.d.ts +310 -1
- package/lib/navigation/index.js +1 -0
- package/lib/navigation/navigation.css +1 -1
- package/lib/navigation/navigation.d.ts +10 -1
- package/lib/navigation/navigation.less +1 -1
- package/lib/navigation/navigation.variable.css +31 -4
- package/lib/notify/index.js +1 -0
- package/lib/notify/notify.css +24 -4
- package/lib/notify/notify.less +27 -4
- package/lib/notify/notify.variable.css +54 -7
- package/lib/notify/notifyConstructor.d.ts +62 -21
- package/lib/pagination/index.d.ts +35 -20
- package/lib/pagination/index.js +1 -0
- package/lib/pagination/pagination.css +54 -28
- package/lib/pagination/pagination.d.ts +18 -8
- package/lib/pagination/pagination.less +59 -30
- package/lib/pagination/pagination.variable.css +84 -31
- package/lib/plugin-popover/index.d.ts +27 -0
- package/lib/plugin-popover/index.js +1 -0
- package/lib/plugins/index.d.ts +1 -0
- package/lib/plugins/index.js +1 -0
- package/lib/popover/arrow.d.ts +2 -0
- package/lib/popover/const.d.ts +16 -0
- package/lib/popover/content.d.ts +32 -0
- package/lib/popover/index.d.ts +463 -97
- package/lib/popover/index.js +1 -0
- package/lib/popover/plugin-popover.d.ts +12 -0
- package/lib/popover/popover.css +10 -50
- package/lib/popover/popover.d.ts +203 -43
- package/lib/popover/popover.less +19 -66
- package/lib/popover/popover.variable.css +40 -53
- package/lib/popover/props.d.ts +100 -31
- package/lib/popover/reference.d.ts +2 -0
- package/lib/popover/root.d.ts +16 -0
- package/lib/popover/use-floating.d.ts +34 -0
- package/lib/popover/use-platform.d.ts +30 -0
- package/lib/popover/use-popover-init.d.ts +23 -0
- package/lib/popover/use-popper-id.d.ts +6 -0
- package/lib/popover/utils.d.ts +2 -0
- package/lib/popover2/index.d.ts +44 -0
- package/lib/popover2/index.js +1 -0
- package/lib/popover2/popover.d.ts +2 -0
- package/lib/preset.js +1 -0
- package/lib/process/index.d.ts +9 -9
- package/lib/process/index.js +1 -0
- package/lib/process/process.css +13 -0
- package/lib/process/process.d.ts +2 -2
- package/lib/process/process.less +17 -0
- package/lib/process/process.variable.css +43 -3
- package/lib/progress/index.d.ts +25 -25
- package/lib/progress/index.js +1 -0
- package/lib/progress/progress.css +51 -0
- package/lib/progress/progress.d.ts +10 -10
- package/lib/progress/progress.variable.css +85 -7
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +29 -18
- package/lib/radio/index.js +1 -0
- package/lib/radio/radio-button.d.ts +7 -8
- package/lib/radio/radio-group.d.ts +16 -0
- package/lib/radio/radio.css +47 -46
- package/lib/radio/radio.d.ts +4 -4
- package/lib/radio/radio.less +177 -173
- package/lib/radio/radio.variable.css +81 -53
- package/lib/radio/type.d.ts +9 -4
- package/lib/rate/index.d.ts +28 -5
- package/lib/rate/index.js +1 -0
- package/lib/rate/rate.d.ts +13 -2
- package/lib/rate/star.d.ts +1 -1
- package/lib/resize-layout/index.d.ts +18 -18
- package/lib/resize-layout/index.js +1 -0
- package/lib/resize-layout/resize-layout.css +3 -15
- package/lib/resize-layout/resize-layout.d.ts +7 -7
- package/lib/resize-layout/resize-layout.less +3 -19
- package/lib/resize-layout/resize-layout.variable.css +33 -18
- package/lib/search-select/index.d.ts +823 -0
- package/lib/search-select/index.js +1 -0
- package/lib/search-select/input.d.ts +89 -0
- package/lib/search-select/menu.d.ts +83 -0
- package/lib/search-select/search-select.css +424 -0
- package/lib/search-select/search-select.d.ts +342 -0
- package/lib/search-select/search-select.less +380 -0
- package/lib/search-select/search-select.variable.css +544 -0
- package/lib/search-select/selected.d.ts +143 -0
- package/lib/search-select/utils.d.ts +88 -0
- package/lib/select/common.d.ts +5 -12
- package/lib/select/index.d.ts +1284 -592
- package/lib/select/index.js +1 -0
- package/lib/select/option.d.ts +16 -4
- package/lib/select/optionGroup.d.ts +1 -1
- package/lib/select/select.css +186 -112
- package/lib/select/select.d.ts +487 -129
- package/lib/select/select.less +321 -202
- package/lib/select/select.variable.css +216 -115
- package/lib/select/selectTagInput.d.ts +93 -0
- package/lib/select/type.d.ts +21 -13
- package/lib/shared/dom.d.ts +3 -0
- package/lib/shared/helper.d.ts +9 -0
- package/lib/shared/hooks/use-form-item.d.ts +2 -0
- package/lib/shared/hooks/use-form.d.ts +2 -0
- package/lib/shared/index.d.ts +22 -0
- package/lib/shared/index.js +1 -0
- package/lib/shared/mask-manager.d.ts +6 -2
- package/lib/shared/pop-manager.d.ts +16 -4
- package/lib/shared/popover.d.ts +6 -2
- package/lib/shared/token.d.ts +4 -0
- package/lib/shared/utils.d.ts +19 -0
- package/lib/shared/vue-types.d.ts +106 -8
- package/lib/sideslider/index.d.ts +343 -72
- package/lib/sideslider/index.js +1 -0
- package/lib/sideslider/sideslider.css +55 -10
- package/lib/sideslider/sideslider.d.ts +160 -32
- package/lib/sideslider/sideslider.less +72 -13
- package/lib/sideslider/sideslider.variable.css +85 -13
- package/lib/slider/index.d.ts +414 -1
- package/lib/slider/index.js +1 -0
- package/lib/slider/slider-button.d.ts +2 -1
- package/lib/slider/slider.d.ts +4 -4
- package/lib/slider/slider.variable.css +30 -3
- package/lib/steps/index.d.ts +52 -52
- package/lib/steps/index.js +1 -0
- package/lib/steps/steps.css +15 -3
- package/lib/steps/steps.d.ts +32 -32
- package/lib/steps/steps.less +24 -3
- package/lib/steps/steps.variable.css +45 -6
- package/lib/styles/index.d.ts +7 -1
- package/lib/styles/mixins/clearfix.css +8 -0
- package/lib/styles/mixins/clearfix.less +10 -0
- package/lib/styles/mixins/clearfix.variable.css +8 -0
- package/lib/styles/mixins/mixins.css +51 -0
- package/lib/styles/mixins/mixins.less +2 -0
- package/lib/styles/mixins/mixins.variable.css +51 -0
- package/lib/styles/mixins/popper.css +1 -1
- package/lib/styles/mixins/popper.less +12 -11
- package/lib/styles/mixins/popper.variable.css +121 -1
- package/lib/styles/mixins/scroll.css +17 -0
- package/lib/styles/mixins/scroll.less +22 -0
- package/lib/styles/mixins/scroll.variable.css +137 -0
- package/lib/styles/reset.css +36 -0
- package/lib/styles/reset.less +26 -0
- package/lib/styles/reset.variable.css +36 -0
- package/lib/styles/themes/themes.less +39 -3
- package/lib/swiper/index.js +1 -0
- package/lib/switcher/index.d.ts +42 -30
- package/lib/switcher/index.js +1 -0
- package/lib/switcher/switcher.css +57 -6
- package/lib/switcher/switcher.d.ts +19 -13
- package/lib/switcher/switcher.less +5 -26
- package/lib/switcher/switcher.variable.css +104 -26
- package/lib/tab/index.d.ts +53 -61
- package/lib/tab/index.js +1 -0
- package/lib/tab/props.d.ts +27 -11
- package/lib/tab/tab-nav.d.ts +17 -13
- package/lib/tab/tab-panel.d.ts +5 -10
- package/lib/tab/tab.css +87 -12
- package/lib/tab/tab.d.ts +19 -20
- package/lib/tab/tab.less +112 -49
- package/lib/tab/tab.variable.css +117 -15
- package/lib/table/components/index.d.ts +3 -0
- package/lib/table/components/table-cell.d.ts +38 -0
- package/lib/table/components/table-column.d.ts +137 -0
- package/lib/table/components/table-row.d.ts +2 -0
- package/lib/table/const.d.ts +109 -1
- package/lib/table/index.d.ts +845 -41
- package/lib/table/index.js +1 -0
- package/lib/table/plugins/body-empty.d.ts +40 -0
- package/lib/table/plugins/col-group.d.ts +38 -0
- package/lib/table/plugins/common.d.ts +6 -0
- package/lib/table/plugins/head-filter.css +84 -0
- package/lib/table/plugins/head-filter.d.ts +26 -0
- package/lib/table/plugins/head-filter.less +110 -0
- package/lib/table/plugins/head-filter.variable.css +204 -0
- package/lib/table/plugins/head-sort.css +25 -0
- package/lib/table/plugins/head-sort.d.ts +22 -0
- package/lib/table/plugins/head-sort.less +31 -0
- package/lib/table/plugins/head-sort.variable.css +145 -0
- package/lib/table/plugins/index.d.ts +5 -0
- package/lib/table/plugins/settings.css +145 -0
- package/lib/table/plugins/settings.d.ts +37 -0
- package/lib/table/plugins/settings.less +179 -0
- package/lib/table/plugins/settings.variable.css +265 -0
- package/lib/table/plugins/use-active-columns.d.ts +16 -0
- package/lib/table/plugins/use-column-resize.d.ts +15 -0
- package/lib/table/plugins/use-fixed-column.d.ts +12 -0
- package/lib/table/plugins/use-pagination.d.ts +16 -0
- package/lib/table/plugins/use-scroll-loading.d.ts +5 -0
- package/lib/table/props.d.ts +314 -8
- package/lib/table/render.d.ts +41 -3
- package/lib/table/table.css +1189 -9
- package/lib/table/table.d.ts +233 -17
- package/lib/table/table.less +261 -13
- package/lib/table/table.variable.css +1229 -22
- package/lib/table/use-column.d.ts +11 -0
- package/lib/table/use-common.d.ts +97 -0
- package/lib/table/utils.d.ts +69 -11
- package/lib/table-column/index.d.ts +325 -0
- package/lib/table-column/index.js +1 -0
- package/lib/tag/index.d.ts +29 -29
- package/lib/tag/index.js +1 -0
- package/lib/tag/tag.css +46 -13
- package/lib/tag/tag.d.ts +12 -12
- package/lib/tag/tag.less +46 -10
- package/lib/tag/tag.variable.css +76 -16
- package/lib/tag-input/common.d.ts +13 -1
- package/lib/tag-input/index.d.ts +1344 -1
- package/lib/tag-input/index.js +1 -0
- package/lib/tag-input/list-tag-render.d.ts +0 -3
- package/lib/tag-input/tag-input.css +23 -26
- package/lib/tag-input/tag-input.d.ts +271 -41
- package/lib/tag-input/tag-input.less +102 -104
- package/lib/tag-input/tag-input.variable.css +53 -29
- package/lib/tag-input/tag-props.d.ts +128 -7
- package/lib/tag-input/tag-render.d.ts +30 -4
- package/lib/time-picker/index.d.ts +904 -0
- package/lib/time-picker/index.js +1 -0
- package/lib/time-picker/time-picker.css +215 -0
- package/lib/time-picker/time-picker.less +260 -0
- package/lib/time-picker/time-picker.variable.css +335 -0
- package/lib/timeline/index.d.ts +6 -6
- package/lib/timeline/index.js +1 -0
- package/lib/timeline/timeline.css +16 -9
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/timeline/timeline.less +22 -9
- package/lib/timeline/timeline.variable.css +46 -12
- package/lib/transfer/const.d.ts +5 -0
- package/lib/transfer/index.d.ts +164 -150
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/props.d.ts +54 -0
- package/lib/transfer/transfer.css +89 -86
- package/lib/transfer/transfer.d.ts +70 -95
- package/lib/transfer/transfer.less +93 -113
- package/lib/transfer/transfer.variable.css +124 -94
- package/lib/tree/constant.d.ts +62 -0
- package/lib/tree/index.d.ts +417 -57
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +124 -0
- package/lib/tree/tree.css +177 -9
- package/lib/tree/tree.d.ts +190 -18
- package/lib/tree/tree.less +54 -3
- package/lib/tree/tree.variable.css +207 -12
- package/lib/tree/use-empty.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +12 -0
- package/lib/tree/use-node-async.d.ts +5 -0
- package/lib/tree/use-node-attribute.d.ts +33 -0
- package/lib/tree/use-node-drag.d.ts +3 -0
- package/lib/tree/use-search.d.ts +11 -0
- package/lib/tree/use-tree-init.d.ts +15 -0
- package/lib/tree/util.d.ts +4 -6
- package/lib/upload/index.d.ts +566 -0
- package/lib/upload/index.js +1 -0
- package/lib/upload/props.d.ts +111 -0
- package/lib/upload/upload-list.d.ts +47 -0
- package/lib/upload/upload-trigger.d.ts +51 -0
- package/lib/upload/upload.css +425 -0
- package/lib/upload/upload.d.ts +246 -0
- package/lib/upload/upload.less +464 -0
- package/lib/upload/upload.type.d.ts +78 -0
- package/lib/upload/upload.variable.css +545 -0
- package/lib/upload/use-ajax-upload.d.ts +3 -0
- package/lib/upload/use-file-handler.d.ts +44 -0
- package/lib/virtual-render/index.d.ts +50 -4
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +15 -0
- package/lib/virtual-render/use-tag-render.d.ts +7 -0
- package/lib/virtual-render/v-virtual-render.d.ts +0 -1
- package/lib/virtual-render/virtual-render.css +17 -17
- package/lib/virtual-render/virtual-render.d.ts +23 -1
- package/lib/virtual-render/virtual-render.less +2 -23
- package/lib/virtual-render/virtual-render.variable.css +137 -17
- package/lib/volar.components.d.ts +101 -0
- package/package.json +61 -42
- package/LICENSE.txt +0 -22
- package/README_EN.md +0 -93
- package/dist/bkui-vue.cjs.js +0 -20346
- package/dist/bkui-vue.esm.js +0 -20289
- package/dist/bkui-vue.umd.js +0 -20349
- package/lib/alert/alert.js +0 -1
- package/lib/backtop/backtop.js +0 -1
- package/lib/badge/badge.js +0 -1
- package/lib/breadcrumb/breadcrumb.js +0 -1
- package/lib/button/button.js +0 -1
- package/lib/card/card.js +0 -1
- package/lib/checkbox/checkbox.js +0 -1
- package/lib/code-diff/code-diff.js +0 -1
- package/lib/collapse/collapse.js +0 -1
- package/lib/date-picker/date-picker.js +0 -1
- package/lib/dialog/dialog.js +0 -1
- package/lib/directives/directives.js +0 -2
- package/lib/divider/divider.js +0 -1
- package/lib/dropdown/dropdown.js +0 -1
- package/lib/exception/exception.js +0 -1
- package/lib/form/common.d.ts +0 -3
- package/lib/form/form.js +0 -1
- package/lib/icon/icon.js +0 -1
- package/lib/input/input.js +0 -1
- package/lib/link/link.js +0 -1
- package/lib/loading/loading.js +0 -1
- package/lib/menu/menu.js +0 -1
- package/lib/message/message.js +0 -1
- package/lib/modal/modal.js +0 -1
- package/lib/navigation/navigation.js +0 -1
- package/lib/notify/notify.js +0 -1
- package/lib/pagination/pagination.js +0 -1
- package/lib/popover/popover.js +0 -1
- package/lib/process/process.js +0 -1
- package/lib/progress/progress.js +0 -1
- package/lib/radio/radio.js +0 -1
- package/lib/rate/rate.js +0 -1
- package/lib/resize-layout/resize-layout.js +0 -1
- package/lib/select/select.js +0 -1
- package/lib/shared/shared.js +0 -1
- package/lib/sideslider/sideslider.js +0 -1
- package/lib/slider/slider.js +0 -1
- package/lib/steps/steps.js +0 -1
- package/lib/swiper/swiper.js +0 -1
- package/lib/switcher/switcher.js +0 -1
- package/lib/tab/tab.js +0 -1
- package/lib/table/table.js +0 -1
- package/lib/tag/tag.js +0 -1
- package/lib/tag-input/tag-input.js +0 -1
- package/lib/timeline/timeline.js +0 -1
- package/lib/transfer/transfer.js +0 -1
- package/lib/tree/tree.js +0 -1
- package/lib/use-form.d.ts +0 -3
- package/lib/virtual-render/virtual-render.js +0 -1
- /package/lib/directives/{directives.js.LICENSE.txt → index.js.LICENSE.txt} +0 -0
@@ -9,6 +9,7 @@
|
|
9
9
|
--gray-color: #979ba5;
|
10
10
|
--light-gray: #c4c6cc;
|
11
11
|
--white-color: white;
|
12
|
+
--whitesmoke-color: #fafbfd;
|
12
13
|
--disable-color: #dcdee5;
|
13
14
|
--font-size-base: 12px;
|
14
15
|
--font-size-medium: 14px;
|
@@ -18,10 +19,11 @@
|
|
18
19
|
--line-height-large: 18px;
|
19
20
|
--component-size-small: 26px;
|
20
21
|
--component-size-base: 32px;
|
21
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
22
23
|
--border-width-base: 1px;
|
23
24
|
--border-style-base: solid;
|
24
25
|
--border-radius-base: 2px;
|
26
|
+
--border-style-color: var(--light-gray);
|
25
27
|
--input-disabled-bg: #fafbfd;
|
26
28
|
--input-disabled-border: var(--disable-color);
|
27
29
|
--input-height-base: var(--component-size-base);
|
@@ -31,8 +33,9 @@
|
|
31
33
|
--input-broder-radius: 3px;
|
32
34
|
--input-shadow-color: #a3c5fd;
|
33
35
|
--input-horizontal-padding: 10px;
|
34
|
-
--input-block-color: #
|
35
|
-
--input-
|
36
|
+
--input-block-color: #f5f7fa;
|
37
|
+
--input-block-hover-color: #eaebf0;
|
38
|
+
--input-icon-size: var(--font-size-medium);
|
36
39
|
--input-maxlength-color: #979ba5;
|
37
40
|
--button-primary-hover-color: #5594fa;
|
38
41
|
--button-danger-hover-color: #ff5656;
|
@@ -43,6 +46,15 @@
|
|
43
46
|
--button-danger-active-color: #db2626;
|
44
47
|
--button-success-active-color: #1ab943;
|
45
48
|
--button-warning-active-color: #eb9000;
|
49
|
+
--button-selected-bg-color: #e1ecff;
|
50
|
+
--button-disabled-selected-bg-color: #f0f1f5;
|
51
|
+
--radio-font-color: #63656e;
|
52
|
+
--radio-active-color: #5594fa;
|
53
|
+
--radio-hover-border-color: #979ba5;
|
54
|
+
--radio-disabled-border: #dcdee5;
|
55
|
+
--radio-disabled-font-color: #c4c6cc;
|
56
|
+
--radio-distable-checked-bg: #fafbfd;
|
57
|
+
--radio-button-checked-bg: #e1ecff;
|
46
58
|
--fixed-navbar-background: #fff;
|
47
59
|
--fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
|
48
60
|
--switch-default-color: #fff;
|
@@ -63,12 +75,16 @@
|
|
63
75
|
--message-color: var(--default-color);
|
64
76
|
--message-primary-bg-color: #f0f8ff;
|
65
77
|
--message-primary-border-color: #e1ecff;
|
78
|
+
--message-primary-shadow-color: #e1e8f4;
|
66
79
|
--message-warning-bg-color: #fff4e2;
|
67
80
|
--message-warning-border-color: #ffe8c3;
|
81
|
+
--message-warning-shadow-color: #ede6db;
|
68
82
|
--message-success-bg-color: #f2fff4;
|
69
83
|
--message-success-border-color: #dcffe2;
|
84
|
+
--message-success-shadow-color: #cef0d7;
|
70
85
|
--message-danger-bg-color: #ffeded;
|
71
86
|
--message-danger-border-color: #ffdddd;
|
87
|
+
--message-danger-shadow-color: #f6dada;
|
72
88
|
--slider-default-bg: #dcdee5;
|
73
89
|
--slider-disable-bar-bg: #979ba5;
|
74
90
|
--menu-bg-color: #182132;
|
@@ -90,6 +106,17 @@
|
|
90
106
|
--table-head-font-color: #313238;
|
91
107
|
--table-body-font-color: #575961;
|
92
108
|
--table-row-hover-bg-color: #f5f7fa;
|
109
|
+
--table-row-active-bg-color: #f0f1f5;
|
110
|
+
--cascader-panel-border-color: #dcdee5;
|
111
|
+
--cascader-panel-hover: #f5f7fa;
|
112
|
+
--cascader-panel-active: #e1ecff;
|
113
|
+
--cascader-panel-disabled-bg: #fff;
|
114
|
+
--search-select-focus-border-color: var(--primary-color);
|
115
|
+
--search-select-focus-color: #3c96ff;
|
116
|
+
--search-select-font-color: var(--default-color);
|
117
|
+
--search-select-placeholder-color: var(--light-gray);
|
118
|
+
--search-select-message-color: var(--danger-color);
|
119
|
+
--search-select-menu-border-color: var(--disable-color);
|
93
120
|
}
|
94
121
|
.bk-notify {
|
95
122
|
position: fixed;
|
@@ -117,7 +144,7 @@
|
|
117
144
|
.bk-notify.bk-notify-success .bk-notify-icon {
|
118
145
|
color: var(--success-color);
|
119
146
|
}
|
120
|
-
.bk-notify.bk-notify-
|
147
|
+
.bk-notify.bk-notify-error .bk-notify-icon {
|
121
148
|
color: var(--danger-color);
|
122
149
|
}
|
123
150
|
.bk-notify .bk-notify-icon.bk-notify-close {
|
@@ -125,18 +152,38 @@
|
|
125
152
|
right: 12px;
|
126
153
|
margin-right: 0;
|
127
154
|
font-size: 18px;
|
128
|
-
color: var(--gray
|
155
|
+
color: var(--light-gray);
|
129
156
|
cursor: pointer;
|
130
157
|
}
|
158
|
+
.bk-notify .bk-notify-icon.bk-notify-close:hover {
|
159
|
+
color: var(--gray-color);
|
160
|
+
}
|
131
161
|
.bk-notify .bk-notify-content-header {
|
132
162
|
display: inline-block;
|
133
163
|
padding-left: 23px;
|
134
164
|
margin-top: 0;
|
135
|
-
margin-bottom:
|
136
|
-
font-size:
|
165
|
+
margin-bottom: 7px;
|
166
|
+
font-size: 16px;
|
137
167
|
font-weight: 700;
|
168
|
+
color: #313238;
|
138
169
|
}
|
139
170
|
.bk-notify .bk-notify-content-text {
|
140
171
|
display: inline-block;
|
141
172
|
padding-left: 23px;
|
142
173
|
}
|
174
|
+
.bk-notify-fade-enter-active,
|
175
|
+
.bk-notify-fade-leave-active {
|
176
|
+
transition: transform 0.3s linear, opacity 0.2s linear;
|
177
|
+
}
|
178
|
+
.bk-notify-fade-enter-from,
|
179
|
+
.bk-notify-fade-leave-to {
|
180
|
+
opacity: 0;
|
181
|
+
}
|
182
|
+
.bk-notify-fade-enter-from.right,
|
183
|
+
.bk-notify-fade-leave-to.right {
|
184
|
+
transform: translateX(100%);
|
185
|
+
}
|
186
|
+
.bk-notify-fade-enter-from.left,
|
187
|
+
.bk-notify-fade-leave-to.left {
|
188
|
+
transform: translateX(-100%);
|
189
|
+
}
|
@@ -9,13 +9,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
9
9
|
} & {
|
10
10
|
default: string;
|
11
11
|
};
|
12
|
-
message: import("vue-types").
|
13
|
-
default:
|
14
|
-
} & {
|
15
|
-
default: string;
|
12
|
+
message: import("vue-types").VueTypeDef<any> & {
|
13
|
+
default: any;
|
16
14
|
};
|
17
|
-
theme: import("vue-types").VueTypeDef<
|
18
|
-
default:
|
15
|
+
theme: import("vue-types").VueTypeDef<"error" | "success" | "warning" | "primary"> & {
|
16
|
+
default: "error" | "success" | "warning" | "primary";
|
19
17
|
};
|
20
18
|
position: import("vue-types").VueTypeDef<string> & {
|
21
19
|
default: string;
|
@@ -25,11 +23,31 @@ declare const _default: import("vue").DefineComponent<{
|
|
25
23
|
} & {
|
26
24
|
default: number;
|
27
25
|
};
|
28
|
-
|
26
|
+
dismissable: import("vue-types").VueTypeValidableDef<boolean> & {
|
27
|
+
default: boolean;
|
28
|
+
} & {
|
29
|
+
default: boolean;
|
30
|
+
};
|
31
|
+
offsetX: import("vue-types").VueTypeValidableDef<number> & {
|
32
|
+
default: number;
|
33
|
+
} & {
|
34
|
+
default: number;
|
35
|
+
};
|
36
|
+
offsetY: import("vue-types").VueTypeValidableDef<number> & {
|
29
37
|
default: number;
|
30
38
|
} & {
|
31
39
|
default: number;
|
32
40
|
};
|
41
|
+
spacing: import("vue-types").VueTypeValidableDef<number> & {
|
42
|
+
default: number;
|
43
|
+
} & {
|
44
|
+
default: number;
|
45
|
+
};
|
46
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
47
|
+
default: string;
|
48
|
+
} & {
|
49
|
+
default: string;
|
50
|
+
};
|
33
51
|
onClose: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
34
52
|
default: (...args: any[]) => any;
|
35
53
|
};
|
@@ -40,8 +58,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
40
58
|
zIndex: number;
|
41
59
|
}>;
|
42
60
|
visible: import("vue").Ref<boolean>;
|
61
|
+
renderMessage: import("vue").ComputedRef<any>;
|
43
62
|
handleClose: () => void;
|
44
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "
|
63
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "destroy"[], "destroy", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
45
64
|
id: import("vue-types").VueTypeValidableDef<string> & {
|
46
65
|
default: string;
|
47
66
|
} & {
|
@@ -52,13 +71,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
52
71
|
} & {
|
53
72
|
default: string;
|
54
73
|
};
|
55
|
-
message: import("vue-types").
|
56
|
-
default:
|
57
|
-
} & {
|
58
|
-
default: string;
|
74
|
+
message: import("vue-types").VueTypeDef<any> & {
|
75
|
+
default: any;
|
59
76
|
};
|
60
|
-
theme: import("vue-types").VueTypeDef<
|
61
|
-
default:
|
77
|
+
theme: import("vue-types").VueTypeDef<"error" | "success" | "warning" | "primary"> & {
|
78
|
+
default: "error" | "success" | "warning" | "primary";
|
62
79
|
};
|
63
80
|
position: import("vue-types").VueTypeDef<string> & {
|
64
81
|
default: string;
|
@@ -68,24 +85,48 @@ declare const _default: import("vue").DefineComponent<{
|
|
68
85
|
} & {
|
69
86
|
default: number;
|
70
87
|
};
|
71
|
-
|
88
|
+
dismissable: import("vue-types").VueTypeValidableDef<boolean> & {
|
89
|
+
default: boolean;
|
90
|
+
} & {
|
91
|
+
default: boolean;
|
92
|
+
};
|
93
|
+
offsetX: import("vue-types").VueTypeValidableDef<number> & {
|
94
|
+
default: number;
|
95
|
+
} & {
|
96
|
+
default: number;
|
97
|
+
};
|
98
|
+
offsetY: import("vue-types").VueTypeValidableDef<number> & {
|
99
|
+
default: number;
|
100
|
+
} & {
|
101
|
+
default: number;
|
102
|
+
};
|
103
|
+
spacing: import("vue-types").VueTypeValidableDef<number> & {
|
72
104
|
default: number;
|
73
105
|
} & {
|
74
106
|
default: number;
|
75
107
|
};
|
108
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
109
|
+
default: string;
|
110
|
+
} & {
|
111
|
+
default: string;
|
112
|
+
};
|
76
113
|
onClose: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
77
114
|
default: (...args: any[]) => any;
|
78
115
|
};
|
79
116
|
}>> & {
|
80
|
-
|
117
|
+
onDestroy?: (...args: any[]) => any;
|
81
118
|
}, {
|
82
|
-
id: string;
|
83
119
|
title: string;
|
84
|
-
|
85
|
-
|
86
|
-
|
120
|
+
id: string;
|
121
|
+
theme: "error" | "success" | "warning" | "primary";
|
122
|
+
extCls: string;
|
87
123
|
position: string;
|
88
|
-
|
124
|
+
onClose: (...args: any[]) => any;
|
125
|
+
message: any;
|
126
|
+
offsetX: number;
|
127
|
+
offsetY: number;
|
128
|
+
spacing: number;
|
89
129
|
delay: number;
|
130
|
+
dismissable: boolean;
|
90
131
|
}>;
|
91
132
|
export default _default;
|
@@ -3,20 +3,21 @@ declare const BkPagination: {
|
|
3
3
|
$: import("vue").ComponentInternalInstance;
|
4
4
|
$data: {};
|
5
5
|
$props: Partial<{
|
6
|
+
small: boolean;
|
7
|
+
align: string;
|
6
8
|
type: string;
|
9
|
+
disabled: boolean;
|
7
10
|
location: string;
|
8
|
-
small: boolean;
|
9
11
|
layout: string[];
|
10
|
-
disabled: boolean;
|
11
12
|
count: number;
|
12
13
|
modelValue: number;
|
13
|
-
|
14
|
+
beforeChange: (...args: any[]) => any;
|
15
|
+
prevText: string;
|
16
|
+
nextText: string;
|
14
17
|
limit: number;
|
15
18
|
limitList: number[];
|
16
19
|
showLimit: boolean;
|
17
20
|
showTotalCount: boolean;
|
18
|
-
prevText: string;
|
19
|
-
nextText: string;
|
20
21
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
21
22
|
modelValue: import("vue-types").VueTypeValidableDef<number> & {
|
22
23
|
default: number;
|
@@ -52,7 +53,7 @@ declare const BkPagination: {
|
|
52
53
|
align: import("vue-types").VueTypeDef<string> & {
|
53
54
|
default: string;
|
54
55
|
};
|
55
|
-
size: import("vue-types").VueTypeDef<
|
56
|
+
size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
|
56
57
|
small: import("vue-types").VueTypeValidableDef<boolean> & {
|
57
58
|
default: boolean;
|
58
59
|
} & {
|
@@ -74,6 +75,9 @@ declare const BkPagination: {
|
|
74
75
|
} & {
|
75
76
|
default: boolean;
|
76
77
|
};
|
78
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
79
|
+
default: (...args: any[]) => any;
|
80
|
+
};
|
77
81
|
layout: import("vue-types").VueTypeDef<string[]> & {
|
78
82
|
default: () => string[];
|
79
83
|
};
|
@@ -82,7 +86,7 @@ declare const BkPagination: {
|
|
82
86
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
83
87
|
"onUpdate:limit"?: (...args: any[]) => any;
|
84
88
|
onLimitChange?: (...args: any[]) => any;
|
85
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
89
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "small" | "align" | "type" | "disabled" | "location" | "layout" | "count" | "modelValue" | "beforeChange" | "prevText" | "nextText" | "limit" | "limitList" | "showLimit" | "showTotalCount">;
|
86
90
|
$attrs: {
|
87
91
|
[x: string]: unknown;
|
88
92
|
};
|
@@ -131,7 +135,7 @@ declare const BkPagination: {
|
|
131
135
|
align: import("vue-types").VueTypeDef<string> & {
|
132
136
|
default: string;
|
133
137
|
};
|
134
|
-
size: import("vue-types").VueTypeDef<
|
138
|
+
size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
|
135
139
|
small: import("vue-types").VueTypeValidableDef<boolean> & {
|
136
140
|
default: boolean;
|
137
141
|
} & {
|
@@ -153,6 +157,9 @@ declare const BkPagination: {
|
|
153
157
|
} & {
|
154
158
|
default: boolean;
|
155
159
|
};
|
160
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
161
|
+
default: (...args: any[]) => any;
|
162
|
+
};
|
156
163
|
layout: import("vue-types").VueTypeDef<string[]> & {
|
157
164
|
default: () => string[];
|
158
165
|
};
|
@@ -177,20 +184,21 @@ declare const BkPagination: {
|
|
177
184
|
}) => JSX.Element;
|
178
185
|
renderSmallList: () => JSX.Element;
|
179
186
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:limit" | "limitChange")[], string, {
|
187
|
+
small: boolean;
|
188
|
+
align: string;
|
180
189
|
type: string;
|
190
|
+
disabled: boolean;
|
181
191
|
location: string;
|
182
|
-
small: boolean;
|
183
192
|
layout: string[];
|
184
|
-
disabled: boolean;
|
185
193
|
count: number;
|
186
194
|
modelValue: number;
|
187
|
-
|
195
|
+
beforeChange: (...args: any[]) => any;
|
196
|
+
prevText: string;
|
197
|
+
nextText: string;
|
188
198
|
limit: number;
|
189
199
|
limitList: number[];
|
190
200
|
showLimit: boolean;
|
191
201
|
showTotalCount: boolean;
|
192
|
-
prevText: string;
|
193
|
-
nextText: string;
|
194
202
|
}> & {
|
195
203
|
beforeCreate?: (() => void) | (() => void)[];
|
196
204
|
created?: (() => void) | (() => void)[];
|
@@ -246,7 +254,7 @@ declare const BkPagination: {
|
|
246
254
|
align: import("vue-types").VueTypeDef<string> & {
|
247
255
|
default: string;
|
248
256
|
};
|
249
|
-
size: import("vue-types").VueTypeDef<
|
257
|
+
size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
|
250
258
|
small: import("vue-types").VueTypeValidableDef<boolean> & {
|
251
259
|
default: boolean;
|
252
260
|
} & {
|
@@ -268,6 +276,9 @@ declare const BkPagination: {
|
|
268
276
|
} & {
|
269
277
|
default: boolean;
|
270
278
|
};
|
279
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
280
|
+
default: (...args: any[]) => any;
|
281
|
+
};
|
271
282
|
layout: import("vue-types").VueTypeDef<string[]> & {
|
272
283
|
default: () => string[];
|
273
284
|
};
|
@@ -330,7 +341,7 @@ declare const BkPagination: {
|
|
330
341
|
align: import("vue-types").VueTypeDef<string> & {
|
331
342
|
default: string;
|
332
343
|
};
|
333
|
-
size: import("vue-types").VueTypeDef<
|
344
|
+
size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
|
334
345
|
small: import("vue-types").VueTypeValidableDef<boolean> & {
|
335
346
|
default: boolean;
|
336
347
|
} & {
|
@@ -352,6 +363,9 @@ declare const BkPagination: {
|
|
352
363
|
} & {
|
353
364
|
default: boolean;
|
354
365
|
};
|
366
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
367
|
+
default: (...args: any[]) => any;
|
368
|
+
};
|
355
369
|
layout: import("vue-types").VueTypeDef<string[]> & {
|
356
370
|
default: () => string[];
|
357
371
|
};
|
@@ -376,20 +390,21 @@ declare const BkPagination: {
|
|
376
390
|
}) => JSX.Element;
|
377
391
|
renderSmallList: () => JSX.Element;
|
378
392
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:limit" | "limitChange")[], "change" | "update:modelValue" | "update:limit" | "limitChange", {
|
393
|
+
small: boolean;
|
394
|
+
align: string;
|
379
395
|
type: string;
|
396
|
+
disabled: boolean;
|
380
397
|
location: string;
|
381
|
-
small: boolean;
|
382
398
|
layout: string[];
|
383
|
-
disabled: boolean;
|
384
399
|
count: number;
|
385
400
|
modelValue: number;
|
386
|
-
|
401
|
+
beforeChange: (...args: any[]) => any;
|
402
|
+
prevText: string;
|
403
|
+
nextText: string;
|
387
404
|
limit: number;
|
388
405
|
limitList: number[];
|
389
406
|
showLimit: boolean;
|
390
407
|
showTotalCount: boolean;
|
391
|
-
prevText: string;
|
392
|
-
nextText: string;
|
393
408
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
394
409
|
export default BkPagination;
|
395
410
|
export { BkPagination, };
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../select"),require("../icon"),require("../popover"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../select","../icon","../popover"],t);else{var n="object"==typeof exports?t(require("../shared"),require("vue"),require("../select"),require("../icon"),require("../popover")):t(e["../shared"],e.vue,e["../select"],e["../icon"],e["../popover"]);for(var a in n)("object"==typeof exports?exports:e)[a]=n[a]}}(self,((e,t,n,a,r)=>(()=>{"use strict";var i={6870:e=>{e.exports=a},5537:e=>{e.exports=r},6422:e=>{e.exports=n},4212:t=>{t.exports=e},748:e=>{e.exports=t}},o={};function l(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return i[e](n,n.exports,l),n.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return(()=>{l.r(u),l.d(u,{BkPagination:()=>v,default:()=>m});var e=l(4212);function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(i.push(a.value),!t||i.length!==t);o=!0);}catch(e){l=!0,r=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var r=l(748),i=l(6422),o=l.n(i),c=l(6870),s=l(5537),d=l.n(s);var f={modelValue:e.PropTypes.number.def(1),count:e.PropTypes.number.def(0).isRequired,limit:e.PropTypes.number.def(10),limitList:e.PropTypes.arrayOf(Number).def([10,20,50,100]),showLimit:e.PropTypes.bool.def(!0),type:e.PropTypes.oneOf(["default","compact"]).def("default"),location:e.PropTypes.oneOf(["left","right"]).def("right"),align:e.PropTypes.oneOf(["left","center","right"]).def("left"),size:e.PropTypes.size(),small:e.PropTypes.bool.def(!1),showTotalCount:e.PropTypes.bool.def(!0),prevText:e.PropTypes.string,nextText:e.PropTypes.string,disabled:e.PropTypes.bool.def(!1),beforeChange:e.PropTypes.func,layout:e.PropTypes.custom((function(e){var t={total:!0,list:!0,limit:!0};return e.some((function(e){return t[e]}))}),"layout 的值只支持 * total、list、limit *").def(["total","list","limit"])};const p=(0,r.defineComponent)({name:"Pagination",props:f,emits:["update:modelValue","change","update:limit","limitChange"],setup:function(e,t){var n=(0,r.ref)(0),l=(0,r.toRefs)(e),u=l.count,s=l.limit,f=function(){var e=(0,r.getCurrentInstance)().proxy,t=(0,r.ref)(1),n=(0,r.computed)((function(){return 1===t.value})),a=(0,r.computed)((function(){return t.value===e.totalPageNum})),i=(0,r.ref)(!1),o=(0,r.ref)(!1),l=(0,r.computed)((function(){i.value=!1,o.value=!1;var n=[];if(e.totalPageNum<=7){for(var a=2;a<=e.totalPageNum-1;a++)n.push(a);return n}var r=Math.floor(2.5);e.totalPageNum>5&&(i.value=t.value-r>2,o.value=t.value+r<e.totalPageNum-1);for(var l=Math.min(e.totalPageNum-5,Math.max(2,t.value-r)),u=l;u<l+5;u++)n.push(u);return n}));(0,r.watch)((function(){return e.modelValue}),(function(n){(0,r.nextTick)((function(){n>=1&&n<=e.totalPageNum?t.value=n:t.value=n<1?1:e.totalPageNum}))}),{immediate:!0}),(0,r.nextTick)((function(){(0,r.watch)((function(){return e.totalPageNum}),(function(e){t.value>e&&(t.value=e)}))}));var u=function(){n.value||(t.value=t.value-1)},s=function(){a.value||(t.value=t.value+1)},d=function(e){e!==t.value&&(t.value=e)},f=function(){t.value=Math.max(1,t.value-5)},p=function(){t.value=Math.min(e.totalPageNum,t.value+5)};return{current:t,render:function(v){var m=v.isFirst,g=v.isLast;return(0,r.createVNode)("div",{class:{"bk-pagination-list":!0,"is-first":m,"is-last":g}},[(0,r.createVNode)("div",{class:{"bk-pagination-list-pre":!0,"is-disabled":n.value},onClick:u},[e.prevText||(0,r.createVNode)(c.AngleLeft,null,null)]),(0,r.createVNode)("div",{class:{"bk-pagination-list-item":!0,"is-active":1===t.value},key:"1",onClick:function(){return d(1)}},[(0,r.createTextVNode)("1")]),i.value&&(0,r.createVNode)("div",{key:"pre-batch",class:"bk-pagination-list-pre-batch",onClick:f},[(0,r.createVNode)(c.Ellipsis,null,null)]),l.value.map((function(e){return(0,r.createVNode)("div",{class:{"bk-pagination-list-item":!0,"is-active":t.value===e},key:e,onClick:function(){return d(e)}},[e])})),o.value&&(0,r.createVNode)("div",{key:"next-batch",class:"bk-pagination-list-next-batch",onClick:p},[(0,r.createVNode)(c.Ellipsis,null,null)]),e.totalPageNum>1&&(0,r.createVNode)("div",{class:{"bk-pagination-list-item":!0,"is-active":t.value===e.totalPageNum},key:"last",onClick:function(){return d(e.totalPageNum)}},[e.totalPageNum]),(0,r.createVNode)("div",{class:{"bk-pagination-list-pre":!0,"is-disabled":a.value},onClick:s},[e.nextText||(0,r.createVNode)(c.AngleRight,null,null)])])}}}(),p=f.current,v=f.render,m=function(){var e=(0,r.getCurrentInstance)().proxy,t=(0,r.ref)(null),n=(0,r.ref)(!1),a=(0,r.ref)(1),i=(0,r.computed)((function(){return 1===a.value})),o=(0,r.computed)((function(){return a.value===e.totalPageNum})),l=0,u=(0,r.computed)((function(){for(var t=[],n=1;n<=e.totalPageNum;n++)t.push(n);return t}));(0,r.watch)((function(){return e.modelValue}),(function(t){(0,r.nextTick)((function(){t>=1&&t<=e.totalPageNum?a.value=t:a.value=t<1?1:e.totalPageNum,l=a.value}))}),{immediate:!0}),(0,r.nextTick)((function(){(0,r.watch)((function(){return e.totalPageNum}),(function(e){a.value>e&&(a.value=e)}))}));var s=function(){i.value||(a.value=a.value-1)},f=function(){o.value||(a.value=a.value+1)},p=function(){n.value=!0},v=function(){n.value=!1,t.value.textContent="".concat(l),l!==a.value&&(a.value=l)},m=function(t){var n=t.target,r=Number(n.textContent);!r||r<1||r>e.totalPageNum||r===a.value||(l=r)},g=function(e){["Enter","NumpadEnter"].includes(e.code)&&(e.preventDefault(),v())};return{current:a,render:function(){return(0,r.createVNode)("div",{class:"bk-pagination-small-list"},[(0,r.createVNode)("div",{class:{"bk-pagination-btn-pre":!0,"is-disabled":i.value},onClick:s},[(0,r.createVNode)(c.AngleLeft,null,null)]),(0,r.createVNode)(d(),{theme:"light",trigger:"click",arrow:!1,width:56,boundary:"body",placement:"bottom"},{default:function(){return(0,r.createVNode)("div",{class:{"bk-pagination-picker":!0,"is-focused":n.value}},[(0,r.createVNode)("span",{ref:t,class:"bk-pagination-editor",contenteditable:!0,spellcheck:"false",onFocus:p,onBlur:v,onInput:m,onKeydown:g},[a.value]),(0,r.createVNode)("span",null,[(0,r.createTextVNode)("/")]),(0,r.createVNode)("span",{class:"bk-pagination-small-list-total"},[e.totalPageNum])])},content:function(){return(0,r.createVNode)("div",{class:"bk-pagination-picker-list"},[u.value.map((function(e){return(0,r.createVNode)("div",{class:{item:!0,"is-actived":e===a.value},key:e,onClick:function(){return function(e){l=e,v()}(e)}},[e])}))])}}),(0,r.createVNode)("div",{class:{"bk-pagination-btn-next":!0,"is-disabled":o.value},onClick:f},[(0,r.createVNode)(c.AngleRight,null,null)])])}}}(),g=m.current,b=m.render,h=function(){var e=(0,r.getCurrentInstance)().proxy,t=(0,r.ref)(e.limit);(0,r.watch)((function(){return e.limit}),(function(e){t.value=e})),(0,r.watch)((function(){return e.limitList}),(function(e){(0,r.nextTick)((function(){if(!e.includes(t.value)){var n=a(e,1);t.value=n[0]}}))}),{immediate:!0});var n=function(e){t.value=e};return{limit:t,render:function(a){var l,u,c=a.isFirst,s=a.isLast;return e.showLimit?(0,r.createVNode)("div",(0,r.mergeProps)({class:{"bk-pagination-limit":!0,"is-first":c,"is-last":s}},{disabled:e.disabled}),[(0,r.createVNode)("div",null,[(0,r.createTextVNode)("每页")]),(0,r.createVNode)(o(),{class:"bk-pagination-limit-select",clearable:!1,size:"small",withValidate:!1,modelValue:t.value,onChange:n,disabled:e.disabled},(u=l=e.limitList.map((function(e,t){return(0,r.createVNode)(i.BkOption,{value:e,label:"".concat(e),key:"".concat(t,"_").concat(e)},null)})),"function"==typeof u||"[object Object]"===Object.prototype.toString.call(u)&&!(0,r.isVNode)(u)?l:{default:function(){return[l]}})),(0,r.createVNode)("div",null,[(0,r.createTextVNode)("条")])]):null}}}(),y=h.limit,N=h.render;return(0,r.watch)([u,y,s],(function(e){var t=a(e,2),r=t[0],i=t[1],o=Math.ceil(r/i);n.value=o<1?1:o}),{immediate:!0}),(0,r.watch)(p,(function(e){t.emit("update:modelValue",e),t.emit("change",e)})),(0,r.watch)(g,(function(n){e.small&&(t.emit("update:modelValue",n),t.emit("change",n))})),(0,r.watch)(y,(function(e){t.emit("limitChange",e)})),{totalPageNum:n,renderTotal:function(e){var t=e.isFirst,n=e.isLast,a=(0,r.getCurrentInstance)().props;return a.showTotalCount?(0,r.createVNode)("div",(0,r.mergeProps)({class:{"bk-pagination-total":!0,"is-first":t,"is-last":n}},{disabled:a.disabled}),[(0,r.createTextVNode)("共计"),(0,r.createVNode)("div",{class:"bk-pagination-total-num"},[a.count]),(0,r.createTextVNode)("条")]):null},renderList:v,renderLimit:N,renderSmallList:b}},render:function(){var n,a=this,i=(0,e.classes)((t(n={"bk-pagination":!0},"bk-pagination--".concat(this.size),!0),t(n,"is-align-".concat(this.align),!0),n)),o={total:this.renderTotal,list:this.small?this.renderSmallList:this.renderList,limit:this.renderLimit};return(0,r.createVNode)("div",{class:i},[this.layout.map((function(e,t){return o[e]({isFirst:0===t,isLast:t===a.layout.length-1})}))])}});var v=(0,e.withInstall)(p);const m=v})(),u})()));
|
@@ -33,11 +33,12 @@
|
|
33
33
|
}
|
34
34
|
.bk-pagination-total-num {
|
35
35
|
padding: 0 2px;
|
36
|
-
color: #3f4046;
|
37
36
|
}
|
38
37
|
.bk-pagination-list {
|
39
38
|
display: flex;
|
40
39
|
}
|
40
|
+
.bk-pagination-list-pre-batch,
|
41
|
+
.bk-pagination-list-next-batch,
|
41
42
|
.bk-pagination-list-pre,
|
42
43
|
.bk-pagination-list-next,
|
43
44
|
.bk-pagination-list-item {
|
@@ -52,19 +53,26 @@
|
|
52
53
|
color: #63656e;
|
53
54
|
cursor: pointer;
|
54
55
|
background: #fff;
|
55
|
-
border: 1px solid #c4c6cc;
|
56
56
|
border-radius: 2px;
|
57
57
|
user-select: none;
|
58
58
|
}
|
59
|
-
.bk-pagination-list-pre
|
60
|
-
.bk-pagination-list-next
|
61
|
-
.bk-pagination-list-item:hover,
|
59
|
+
.bk-pagination-list-pre-batch.is-active,
|
60
|
+
.bk-pagination-list-next-batch.is-active,
|
62
61
|
.bk-pagination-list-pre.is-active,
|
63
62
|
.bk-pagination-list-next.is-active,
|
64
63
|
.bk-pagination-list-item.is-active {
|
65
64
|
color: #3a84ff;
|
66
|
-
|
65
|
+
background: #e1ecff;
|
66
|
+
}
|
67
|
+
.bk-pagination-list-pre-batch:hover,
|
68
|
+
.bk-pagination-list-next-batch:hover,
|
69
|
+
.bk-pagination-list-pre:hover,
|
70
|
+
.bk-pagination-list-next:hover,
|
71
|
+
.bk-pagination-list-item:hover {
|
72
|
+
background: #f0f1f5;
|
67
73
|
}
|
74
|
+
.bk-pagination-list-pre-batch.is-disabled,
|
75
|
+
.bk-pagination-list-next-batch.is-disabled,
|
68
76
|
.bk-pagination-list-pre.is-disabled,
|
69
77
|
.bk-pagination-list-next.is-disabled,
|
70
78
|
.bk-pagination-list-item.is-disabled {
|
@@ -73,26 +81,20 @@
|
|
73
81
|
background-color: #fafbfd;
|
74
82
|
border-color: #dcdee5;
|
75
83
|
}
|
76
|
-
.bk-pagination-list-pre-batch,
|
77
|
-
.bk-pagination-list-next-batch {
|
78
|
-
display: flex;
|
79
|
-
align-items: center;
|
80
|
-
justify-content: center;
|
81
|
-
height: 32px;
|
82
|
-
cursor: pointer;
|
83
|
-
user-select: none;
|
84
|
-
}
|
85
|
-
.bk-pagination-list-pre-batch:hover,
|
86
|
-
.bk-pagination-list-next-batch:hover {
|
87
|
-
color: #3a84ff;
|
88
|
-
}
|
89
84
|
.bk-pagination-list-pre,
|
90
85
|
.bk-pagination-list-next {
|
91
|
-
font-size:
|
86
|
+
font-size: 20px;
|
87
|
+
color: #979ba5;
|
88
|
+
}
|
89
|
+
.bk-pagination-list-pre.is-disabled,
|
90
|
+
.bk-pagination-list-next.is-disabled {
|
91
|
+
color: #dcdee5;
|
92
|
+
cursor: not-allowed;
|
93
|
+
background-color: transparent;
|
92
94
|
}
|
93
95
|
.bk-pagination-list-item {
|
94
|
-
margin-right:
|
95
|
-
margin-left:
|
96
|
+
margin-right: 2px;
|
97
|
+
margin-left: 2px;
|
96
98
|
}
|
97
99
|
.bk-pagination-limit {
|
98
100
|
display: flex;
|
@@ -103,12 +105,32 @@
|
|
103
105
|
width: 60px;
|
104
106
|
margin: 0 4px;
|
105
107
|
}
|
108
|
+
.bk-pagination-limit-select .bk-input {
|
109
|
+
border-color: #f0f1f5;
|
110
|
+
}
|
111
|
+
.bk-pagination-limit-select .bk-input--text {
|
112
|
+
background-color: #f0f1f5;
|
113
|
+
}
|
114
|
+
.bk-pagination-limit-select:hover .bk-input {
|
115
|
+
border-color: #eaebf0;
|
116
|
+
}
|
117
|
+
.bk-pagination-limit-select:hover .bk-input--text {
|
118
|
+
background-color: #eaebf0;
|
119
|
+
}
|
120
|
+
.bk-pagination-limit-select .bk-input.is-focused {
|
121
|
+
border-color: #3a84ff;
|
122
|
+
}
|
123
|
+
.bk-pagination-limit-select .bk-input.is-focused .bk-input--text {
|
124
|
+
background-color: #fff;
|
125
|
+
}
|
106
126
|
.bk-pagination-small-list {
|
107
127
|
display: flex;
|
128
|
+
align-items: center;
|
108
129
|
}
|
109
130
|
.bk-pagination-small-list .bk-pagination-picker {
|
110
131
|
display: flex;
|
111
|
-
height:
|
132
|
+
height: 26px;
|
133
|
+
margin: 0 4px;
|
112
134
|
cursor: pointer;
|
113
135
|
background-color: #f0f1f5;
|
114
136
|
border: 1px solid #f0f1f5;
|
@@ -116,8 +138,8 @@
|
|
116
138
|
align-items: center;
|
117
139
|
}
|
118
140
|
.bk-pagination-small-list .bk-pagination-picker:hover {
|
119
|
-
background-color: #
|
120
|
-
border-color: #
|
141
|
+
background-color: #eaebf0;
|
142
|
+
border-color: #eaebf0;
|
121
143
|
}
|
122
144
|
.bk-pagination-small-list .bk-pagination-picker.is-focused {
|
123
145
|
background-color: #fff;
|
@@ -126,7 +148,7 @@
|
|
126
148
|
}
|
127
149
|
.bk-pagination-editor {
|
128
150
|
height: 16px;
|
129
|
-
min-width:
|
151
|
+
min-width: 23px;
|
130
152
|
padding-right: 4px;
|
131
153
|
padding-left: 8px;
|
132
154
|
line-height: 16px;
|
@@ -144,14 +166,18 @@
|
|
144
166
|
.bk-pagination-btn-pre,
|
145
167
|
.bk-pagination-btn-next {
|
146
168
|
display: flex;
|
169
|
+
width: 26px;
|
170
|
+
height: 26px;
|
171
|
+
font-size: 20px;
|
172
|
+
color: #979ba5;
|
173
|
+
cursor: pointer;
|
147
174
|
justify-content: center;
|
148
175
|
align-items: center;
|
149
|
-
width: 24px;
|
150
|
-
cursor: pointer;
|
151
176
|
}
|
152
177
|
.bk-pagination-btn-pre:hover,
|
153
178
|
.bk-pagination-btn-next:hover {
|
154
179
|
color: #3a84ff;
|
180
|
+
background: #f0f1f5;
|
155
181
|
}
|
156
182
|
.bk-pagination-btn-pre.is-disabled,
|
157
183
|
.bk-pagination-btn-next.is-disabled {
|