bkui-vue 0.0.1-beta.4 → 0.0.1-beta.400
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/README.md +31 -19
- package/dist/index.cjs.js +182 -0
- package/dist/index.esm.js +39613 -0
- package/dist/index.umd.js +182 -0
- package/dist/style.css +1 -2009
- 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 +27 -18
- package/lib/alert/alert.less +29 -20
- package/lib/alert/alert.variable.css +71 -6
- package/lib/alert/index.d.ts +180 -0
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/animate-number.d.ts +12 -7
- package/lib/animate-number/index.d.ts +97 -0
- package/lib/animate-number/index.js +1 -1
- package/lib/backtop/backtop.css +8 -0
- package/lib/backtop/backtop.d.ts +27 -13
- package/lib/backtop/backtop.less +8 -0
- package/lib/backtop/backtop.variable.css +70 -3
- package/lib/backtop/index.d.ts +166 -0
- package/lib/backtop/index.js +1 -1
- package/lib/badge/badge.css +7 -10
- package/lib/badge/badge.d.ts +64 -22
- package/lib/badge/badge.less +9 -11
- package/lib/badge/badge.variable.css +69 -13
- package/lib/badge/index.d.ts +267 -0
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +16 -10
- package/lib/breadcrumb/breadcrumb.css +61 -1
- package/lib/breadcrumb/breadcrumb.d.ts +37 -9
- package/lib/breadcrumb/breadcrumb.less +13 -2
- package/lib/breadcrumb/breadcrumb.variable.css +125 -6
- package/lib/breadcrumb/index.d.ts +196 -0
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button-group.d.ts +4 -6
- package/lib/button/button.css +92 -45
- package/lib/button/button.d.ts +86 -37
- package/lib/button/button.less +91 -50
- package/lib/button/button.variable.css +154 -48
- package/lib/button/index.d.ts +256 -0
- package/lib/button/index.js +1 -1
- package/lib/card/card.css +96 -1
- package/lib/card/card.d.ts +74 -18
- package/lib/card/card.less +50 -2
- package/lib/card/card.variable.css +162 -8
- package/lib/card/index.d.ts +283 -0
- package/lib/card/index.js +1 -1
- 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 +29 -9
- package/lib/checkbox/checkbox.css +46 -10
- package/lib/checkbox/checkbox.d.ts +60 -39
- package/lib/checkbox/checkbox.less +79 -31
- package/lib/checkbox/checkbox.variable.css +108 -13
- package/lib/checkbox/common.d.ts +4 -3
- package/lib/checkbox/index.d.ts +293 -0
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +9 -12
- package/lib/code-diff/code-diff.css +206 -0
- package/lib/code-diff/code-diff.d.ts +80 -0
- package/lib/code-diff/code-diff.less +273 -0
- package/lib/code-diff/code-diff.variable.css +326 -0
- package/lib/code-diff/index.d.ts +154 -0
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse-panel.d.ts +78 -0
- package/lib/collapse/collapse.css +29 -5
- package/lib/collapse/collapse.d.ts +34 -43
- package/lib/collapse/collapse.less +55 -20
- package/lib/collapse/collapse.variable.css +149 -5
- package/lib/collapse/index.d.ts +273 -0
- package/lib/collapse/index.js +1 -1
- package/lib/collapse/props.d.ts +84 -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 +61 -0
- 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 +434 -0
- package/lib/date-picker/date-picker.d.ts +323 -0
- package/lib/date-picker/date-picker.less +558 -0
- package/lib/date-picker/date-picker.variable.css +554 -0
- package/lib/date-picker/fecha.d.ts +6 -0
- package/lib/date-picker/index.d.ts +780 -0
- package/lib/date-picker/index.js +1 -0
- package/lib/date-picker/interface.d.ts +32 -0
- 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 +161 -0
- package/lib/date-picker/time-picker.d.ts +381 -0
- package/lib/date-picker/utils.d.ts +117 -0
- package/lib/dialog/dialog.css +144 -22
- package/lib/dialog/dialog.d.ts +279 -51
- package/lib/dialog/dialog.less +105 -32
- package/lib/dialog/dialog.variable.css +264 -22
- package/lib/dialog/index.d.ts +722 -0
- package/lib/dialog/index.js +1 -1
- package/lib/dialog/props.d.ts +130 -0
- package/lib/directives/clickoutside.d.ts +3 -0
- package/lib/directives/ellipsis.d.ts +7 -0
- package/lib/directives/index.d.ts +5 -0
- package/lib/directives/index.js +2 -15
- package/lib/directives/index.js.LICENSE.txt +14 -0
- package/lib/directives/tooltips.d.ts +18 -0
- package/lib/dist.index.js +1 -0
- package/lib/divider/divider.css +38 -0
- package/lib/divider/divider.d.ts +48 -0
- package/lib/divider/divider.less +53 -0
- package/lib/divider/divider.variable.css +158 -0
- package/lib/divider/index.d.ts +142 -0
- package/lib/divider/index.js +1 -0
- package/lib/divider/props.d.ts +21 -0
- package/lib/dropdown/dropdown-item.d.ts +19 -0
- package/lib/dropdown/dropdown-menu.d.ts +16 -0
- package/lib/dropdown/dropdown.css +49 -0
- package/lib/dropdown/dropdown.d.ts +93 -0
- package/lib/dropdown/dropdown.less +67 -0
- package/lib/dropdown/dropdown.variable.css +169 -0
- package/lib/dropdown/index.d.ts +256 -0
- package/lib/dropdown/index.js +1 -0
- package/lib/exception/exception.css +40 -14
- package/lib/exception/exception.d.ts +37 -15
- package/lib/exception/exception.less +59 -22
- package/lib/exception/exception.variable.css +102 -17
- package/lib/exception/index.d.ts +113 -0
- package/lib/exception/index.js +1 -1
- package/lib/exception/typings/index.d.ts +4 -0
- package/lib/fixed-navbar/fixed-navbar.d.ts +29 -9
- package/lib/fixed-navbar/fixed-navbar.variable.css +62 -3
- package/lib/fixed-navbar/index.d.ts +147 -0
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/compose-form-item.d.ts +16 -0
- package/lib/form/form-item.d.ts +160 -0
- package/lib/form/form.css +137 -0
- package/lib/form/form.d.ts +88 -0
- package/lib/form/form.less +170 -0
- package/lib/form/form.variable.css +257 -0
- package/lib/form/index.d.ts +319 -0
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +22 -0
- package/lib/form/utils.d.ts +2 -0
- package/lib/form/validator.d.ts +9 -0
- package/lib/icon/angle-double-down-line.d.ts +4 -0
- package/lib/icon/angle-double-down-line.js +1 -0
- package/lib/icon/angle-double-left-line.d.ts +4 -0
- package/lib/icon/angle-double-left-line.js +1 -0
- package/lib/icon/angle-double-left.d.ts +4 -0
- package/lib/icon/angle-double-left.js +1 -0
- package/lib/icon/angle-double-right-line.d.ts +4 -0
- package/lib/icon/angle-double-right-line.js +1 -0
- package/lib/icon/angle-double-right.d.ts +4 -0
- package/lib/icon/angle-double-right.js +1 -0
- package/lib/icon/angle-double-up-line.d.ts +4 -0
- package/lib/icon/angle-double-up-line.js +1 -0
- package/lib/icon/angle-down-fill.d.ts +4 -0
- package/lib/icon/angle-down-fill.js +1 -0
- package/lib/icon/angle-down-line.d.ts +4 -0
- package/lib/icon/angle-down-line.js +1 -0
- package/lib/icon/angle-down.d.ts +4 -0
- package/lib/icon/angle-down.js +1 -0
- package/lib/icon/angle-left.d.ts +4 -0
- package/lib/icon/angle-left.js +1 -0
- package/lib/icon/angle-right.d.ts +4 -0
- package/lib/icon/angle-right.js +1 -0
- package/lib/icon/angle-up-fill.d.ts +4 -0
- package/lib/icon/angle-up-fill.js +1 -0
- package/lib/icon/angle-up.d.ts +4 -0
- package/lib/icon/angle-up.js +1 -0
- package/lib/icon/archive-fill.d.ts +4 -0
- package/lib/icon/archive-fill.js +1 -0
- package/lib/icon/arrows-left.d.ts +4 -0
- package/lib/icon/arrows-left.js +1 -0
- package/lib/icon/arrows-right.d.ts +4 -0
- package/lib/icon/arrows-right.js +1 -0
- package/lib/icon/audio-fill.d.ts +4 -0
- package/lib/icon/audio-fill.js +1 -0
- package/lib/icon/bk.d.ts +4 -0
- package/lib/icon/bk.js +1 -0
- package/lib/icon/circle.d.ts +4 -0
- package/lib/icon/circle.js +1 -0
- package/lib/icon/close-line.d.ts +4 -0
- package/lib/icon/close-line.js +1 -0
- package/lib/icon/close.d.ts +4 -0
- package/lib/icon/close.js +1 -0
- package/lib/icon/code.d.ts +4 -0
- package/lib/icon/code.js +1 -0
- package/lib/icon/cog-shape.d.ts +4 -0
- package/lib/icon/cog-shape.js +1 -0
- package/lib/icon/collapse-left.d.ts +4 -0
- package/lib/icon/collapse-left.js +1 -0
- package/lib/icon/copy.d.ts +4 -0
- package/lib/icon/copy.js +1 -0
- package/lib/icon/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.d.ts +4 -0
- package/lib/icon/done.js +1 -0
- package/lib/icon/down-shape.d.ts +4 -0
- package/lib/icon/down-shape.js +1 -0
- package/lib/icon/down-small.d.ts +4 -0
- package/lib/icon/down-small.js +1 -0
- package/lib/icon/edit-line.d.ts +4 -0
- package/lib/icon/edit-line.js +1 -0
- package/lib/icon/ellipsis.d.ts +4 -0
- package/lib/icon/ellipsis.js +1 -0
- package/lib/icon/enlarge-line.d.ts +4 -0
- package/lib/icon/enlarge-line.js +1 -0
- package/lib/icon/error.d.ts +4 -0
- package/lib/icon/error.js +1 -0
- 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.d.ts +4 -0
- package/lib/icon/eye.js +1 -0
- package/lib/icon/filliscreen-line.d.ts +4 -0
- package/lib/icon/filliscreen-line.js +1 -0
- package/lib/icon/folder-open.d.ts +4 -0
- package/lib/icon/folder-open.js +1 -0
- package/lib/icon/folder-shape-open.d.ts +4 -0
- package/lib/icon/folder-shape-open.js +1 -0
- package/lib/icon/folder-shape.d.ts +4 -0
- package/lib/icon/folder-shape.js +1 -0
- package/lib/icon/folder.d.ts +4 -0
- package/lib/icon/folder.js +1 -0
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/funnel.js +1 -0
- package/lib/icon/help-document-fill.d.ts +4 -0
- package/lib/icon/help-document-fill.js +1 -0
- package/lib/icon/help-fill.d.ts +4 -0
- package/lib/icon/help-fill.js +1 -0
- package/lib/icon/help.d.ts +4 -0
- package/lib/icon/help.js +1 -0
- package/lib/icon/icon.d.ts +12 -0
- package/lib/icon/image-fill.d.ts +4 -0
- package/lib/icon/image-fill.js +1 -0
- package/lib/icon/img-error.d.ts +4 -0
- package/lib/icon/img-placehoulder.d.ts +4 -0
- package/lib/icon/img-placehoulder.js +1 -0
- package/lib/icon/index.d.ts +79 -0
- package/lib/icon/index.js +1 -15
- package/lib/icon/info-line.d.ts +4 -0
- package/lib/icon/info-line.js +1 -0
- package/lib/icon/info.d.ts +4 -0
- package/lib/icon/info.js +1 -0
- package/lib/icon/left-shape.d.ts +4 -0
- package/lib/icon/left-shape.js +1 -0
- package/lib/icon/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.d.ts +4 -0
- package/lib/icon/play-shape.js +1 -0
- package/lib/icon/plus.d.ts +4 -0
- package/lib/icon/plus.js +1 -0
- package/lib/icon/ppt-fill.d.ts +4 -0
- package/lib/icon/ppt-fill.js +1 -0
- package/lib/icon/qq.d.ts +4 -0
- package/lib/icon/qq.js +1 -0
- package/lib/icon/right-shape.d.ts +4 -0
- package/lib/icon/right-shape.js +1 -0
- package/lib/icon/right-turn-line.d.ts +4 -0
- package/lib/icon/right-turn-line.js +1 -0
- package/lib/icon/search.d.ts +4 -0
- package/lib/icon/search.js +1 -0
- package/lib/icon/share.d.ts +4 -0
- package/lib/icon/share.js +1 -0
- package/lib/icon/spinner.d.ts +4 -0
- package/lib/icon/spinner.js +1 -0
- package/lib/icon/success.d.ts +4 -0
- package/lib/icon/success.js +1 -0
- package/lib/icon/switcher-loading.d.ts +4 -0
- package/lib/icon/switcher-loading.js +1 -0
- package/lib/icon/text-file.d.ts +4 -0
- package/lib/icon/text-file.js +1 -0
- package/lib/icon/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.d.ts +4 -0
- package/lib/icon/tree-application-shape.js +1 -0
- package/lib/icon/unfull-screen.d.ts +4 -0
- package/lib/icon/unfull-screen.js +1 -0
- package/lib/icon/unvisible.d.ts +4 -0
- package/lib/icon/unvisible.js +1 -0
- package/lib/icon/up-shape.d.ts +4 -0
- package/lib/icon/up-shape.js +1 -0
- package/lib/icon/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.d.ts +4 -0
- package/lib/icon/warn.js +1 -0
- package/lib/icon/weixin.d.ts +4 -0
- package/lib/icon/weixin.js +1 -0
- package/lib/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 +4 -0
- 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 +528 -0
- package/lib/input/index.js +1 -15
- package/lib/input/input.css +235 -16
- package/lib/input/input.d.ts +203 -51
- package/lib/input/input.less +183 -19
- package/lib/input/input.variable.css +319 -41
- package/lib/link/index.d.ts +172 -0
- package/lib/link/index.js +1 -1
- package/lib/link/link.css +12 -12
- package/lib/link/link.d.ts +30 -16
- package/lib/link/link.less +16 -14
- package/lib/link/link.variable.css +74 -15
- package/lib/loading/index.d.ts +257 -0
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +178 -98
- package/lib/loading/loading.d.ts +130 -23
- package/lib/loading/loading.less +85 -73
- package/lib/loading/loading.variable.css +248 -109
- package/lib/menu/index.d.ts +180 -0
- package/lib/menu/index.js +1 -0
- package/lib/menu/menu-group.d.ts +14 -0
- package/lib/menu/menu-item.d.ts +16 -0
- package/lib/menu/menu.css +233 -0
- package/lib/menu/menu.d.ts +55 -0
- package/lib/menu/menu.less +180 -0
- package/lib/menu/menu.variable.css +353 -0
- package/lib/menu/submenu.css +3 -0
- package/lib/menu/submenu.d.ts +22 -0
- package/lib/menu/submenu.less +5 -0
- package/lib/menu/submenu.variable.css +123 -0
- package/lib/menu/utils.d.ts +41 -0
- package/lib/message/index.d.ts +2 -0
- package/lib/message/index.js +1 -0
- package/lib/message/message.css +74 -0
- package/lib/message/message.less +87 -0
- package/lib/message/message.variable.css +194 -0
- package/lib/message/messageConstructor.d.ts +109 -0
- package/lib/modal/index.d.ts +592 -0
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +63 -1
- package/lib/modal/modal.d.ts +186 -24
- package/lib/modal/modal.less +39 -3
- package/lib/modal/modal.variable.css +183 -1
- package/lib/modal/props.mixin.d.ts +75 -10
- package/lib/navigation/index.d.ts +311 -0
- package/lib/navigation/index.js +1 -0
- package/lib/navigation/navigation-title.d.ts +25 -0
- package/lib/navigation/navigation.css +184 -0
- package/lib/navigation/navigation.d.ts +120 -0
- package/lib/navigation/navigation.less +210 -0
- package/lib/navigation/navigation.variable.css +304 -0
- package/lib/notify/index.d.ts +2 -0
- package/lib/notify/index.js +1 -0
- package/lib/notify/notify.css +69 -0
- package/lib/notify/notify.less +81 -0
- package/lib/notify/notify.variable.css +189 -0
- package/lib/notify/notifyConstructor.d.ts +132 -0
- package/lib/overflow-title/components/OverflowTitle.d.ts +38 -0
- package/lib/overflow-title/directive/overflowTitle.d.ts +3 -0
- package/lib/overflow-title/index.d.ts +129 -0
- package/lib/overflow-title/index.js +1 -0
- package/lib/overflow-title/overflow.css +11 -0
- package/lib/overflow-title/overflow.less +13 -0
- package/lib/overflow-title/overflow.variable.css +11 -0
- package/lib/overflow-title/props.d.ts +16 -0
- package/lib/overflow-title/utils/getActualWidthByCanvas.d.ts +3 -0
- package/lib/overflow-title/utils/getActualWidthByDom.d.ts +3 -0
- package/lib/pagination/index.d.ts +410 -0
- package/lib/pagination/index.js +1 -0
- package/lib/pagination/pagination.css +205 -0
- package/lib/pagination/pagination.d.ts +230 -0
- package/lib/pagination/pagination.less +230 -0
- package/lib/pagination/pagination.variable.css +325 -0
- package/lib/pagination/type.d.ts +6 -0
- package/lib/pagination/use-limit.d.ts +8 -0
- package/lib/pagination/use-list.d.ts +8 -0
- package/lib/pagination/use-small-list.d.ts +5 -0
- package/lib/pagination/use-total.d.ts +5 -0
- package/{changelog.config.js → lib/plugin-popover/index.d.ts} +2 -8
- 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 +653 -0
- package/lib/popover/index.js +1 -1
- package/lib/popover/plugin-popover.d.ts +12 -0
- package/lib/popover/popover.css +12 -43
- package/lib/popover/popover.d.ts +234 -45
- package/lib/popover/popover.less +17 -53
- package/lib/popover/popover.variable.css +74 -46
- package/lib/popover/props.d.ts +146 -0
- package/lib/popover/reference.d.ts +2 -0
- package/lib/popover/root.d.ts +16 -0
- package/lib/popover/use-floating.d.ts +31 -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.d.ts +7 -0
- package/lib/preset.js +1 -0
- package/lib/process/index.d.ts +205 -0
- package/lib/process/index.js +1 -0
- package/lib/process/process.css +151 -0
- package/lib/process/process.d.ts +131 -0
- package/lib/process/process.less +195 -0
- package/lib/process/process.variable.css +271 -0
- package/lib/progress/index.d.ts +398 -0
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +51 -3
- package/lib/progress/progress.d.ts +92 -39
- package/lib/progress/progress.less +0 -4
- package/lib/progress/progress.variable.css +117 -10
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +288 -0
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +30 -23
- package/lib/radio/radio-group.d.ts +27 -10
- package/lib/radio/radio.css +48 -41
- package/lib/radio/radio.d.ts +27 -17
- package/lib/radio/radio.less +177 -166
- package/lib/radio/radio.variable.css +114 -48
- package/lib/radio/type.d.ts +10 -5
- package/lib/rate/index.d.ts +136 -0
- package/lib/rate/index.js +1 -1
- package/lib/rate/rate.d.ts +25 -11
- package/lib/rate/star.d.ts +33 -16
- package/lib/resize-layout/index.d.ts +336 -0
- package/lib/resize-layout/index.js +1 -0
- package/lib/resize-layout/resize-layout.css +177 -0
- package/lib/resize-layout/resize-layout.d.ts +127 -0
- package/lib/resize-layout/resize-layout.less +217 -0
- package/lib/resize-layout/resize-layout.variable.css +297 -0
- 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 +20 -21
- package/lib/select/index.d.ts +2035 -0
- package/lib/select/index.js +1 -1
- package/lib/select/option.d.ts +22 -21
- package/lib/select/optionGroup.d.ts +54 -0
- package/lib/select/select.css +333 -34
- package/lib/select/select.d.ts +660 -189
- package/lib/select/select.less +398 -81
- package/lib/select/select.variable.css +395 -37
- package/lib/select/selectTagInput.d.ts +93 -0
- package/lib/select/type.d.ts +39 -0
- package/lib/shared/dom.d.ts +3 -0
- package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +15 -1
- 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 +74 -0
- package/lib/shared/index.js +1 -1
- package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +36 -3
- package/lib/shared/pop-manager.d.ts +38 -0
- package/lib/shared/popover.d.ts +131 -0
- package/lib/shared/token.d.ts +4 -0
- package/lib/shared/utils.d.ts +25 -0
- package/lib/shared/vue-types.d.ts +113 -14
- package/lib/shared/z-index-manager.d.ts +6 -1
- package/lib/sideslider/index.d.ts +477 -0
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.css +55 -10
- package/lib/sideslider/sideslider.d.ts +178 -29
- package/lib/sideslider/sideslider.less +72 -13
- package/lib/sideslider/sideslider.variable.css +117 -13
- package/lib/slider/index.d.ts +440 -0
- package/lib/slider/index.js +1 -0
- package/lib/slider/slider-button.d.ts +81 -0
- package/lib/slider/slider.css +149 -0
- package/lib/slider/slider.d.ts +201 -0
- package/lib/slider/slider.less +179 -0
- package/lib/slider/slider.variable.css +269 -0
- package/lib/steps/index.d.ts +250 -0
- package/lib/steps/index.js +1 -0
- package/lib/steps/steps.css +300 -0
- package/lib/steps/steps.d.ts +161 -0
- package/lib/steps/steps.less +345 -0
- package/lib/steps/steps.variable.css +420 -0
- package/lib/styles/index.d.ts +53 -0
- 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 +43 -0
- package/lib/styles/mixins/popper.less +53 -0
- package/lib/styles/mixins/popper.variable.css +163 -0
- 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/mixins/size.less +9 -0
- package/lib/styles/reset.css +309 -0
- package/lib/styles/reset.less +337 -0
- package/lib/styles/reset.variable.css +309 -0
- package/lib/styles/themes/themes.less +91 -5
- package/lib/swiper/index.d.ts +181 -0
- package/lib/swiper/index.js +1 -0
- package/lib/swiper/swiper.css +91 -0
- package/lib/swiper/swiper.d.ts +65 -0
- package/lib/swiper/swiper.less +107 -0
- package/lib/swiper/swiper.variable.css +91 -0
- package/lib/switcher/index.d.ts +298 -0
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +200 -135
- package/lib/switcher/switcher.d.ts +60 -38
- package/lib/switcher/switcher.less +190 -155
- package/lib/switcher/switcher.variable.css +273 -149
- package/lib/tab/index.d.ts +439 -0
- package/lib/tab/index.js +1 -0
- package/lib/tab/props.d.ts +213 -0
- package/lib/tab/tab-nav.d.ts +169 -0
- package/lib/tab/tab-panel.d.ts +68 -0
- package/lib/tab/tab.css +223 -0
- package/lib/tab/tab.d.ts +139 -0
- package/lib/tab/tab.less +285 -0
- package/lib/tab/tab.variable.css +343 -0
- 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 +122 -0
- package/lib/table/index.d.ts +1141 -0
- package/lib/table/index.js +1 -1
- 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 +434 -0
- package/lib/table/render.d.ts +125 -0
- package/lib/table/table.css +1272 -0
- package/lib/table/table.d.ts +315 -32
- package/lib/table/table.less +361 -1
- package/lib/table/table.variable.css +1334 -3
- package/lib/table/use-column.d.ts +11 -0
- package/lib/table/use-common.d.ts +98 -0
- package/lib/table/utils.d.ts +129 -0
- package/lib/table-column/index.d.ts +325 -0
- package/lib/table-column/index.js +1 -0
- package/lib/tag/index.d.ts +229 -0
- package/lib/tag/index.js +1 -1
- package/lib/tag/tag.css +130 -0
- package/lib/tag/tag.d.ts +83 -53
- package/lib/tag/tag.less +146 -2
- package/lib/tag/tag.variable.css +192 -3
- package/lib/tag-input/common.d.ts +36 -0
- package/lib/tag-input/index.d.ts +1349 -0
- package/lib/tag-input/index.js +1 -0
- package/lib/tag-input/list-tag-render.d.ts +44 -0
- package/lib/tag-input/tag-input.css +205 -0
- package/lib/tag-input/tag-input.d.ts +619 -0
- package/lib/tag-input/tag-input.less +248 -0
- package/lib/tag-input/tag-input.variable.css +325 -0
- package/lib/tag-input/tag-props.d.ts +252 -0
- package/lib/tag-input/tag-render.d.ts +64 -0
- 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 +129 -0
- package/lib/timeline/index.js +1 -0
- package/lib/timeline/timeline.css +242 -0
- package/lib/timeline/timeline.d.ts +81 -0
- package/lib/timeline/timeline.less +252 -0
- package/lib/timeline/timeline.variable.css +362 -0
- package/lib/transfer/const.d.ts +5 -0
- package/lib/transfer/index.d.ts +365 -0
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/props.d.ts +54 -0
- package/lib/transfer/transfer.css +161 -0
- package/lib/transfer/transfer.d.ts +160 -0
- package/lib/transfer/transfer.less +151 -0
- package/lib/transfer/transfer.variable.css +281 -0
- package/lib/tree/constant.d.ts +62 -0
- package/lib/tree/index.d.ts +647 -0
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +213 -0
- package/lib/tree/tree.css +218 -0
- package/lib/tree/tree.d.ts +283 -0
- package/lib/tree/tree.less +114 -0
- package/lib/tree/tree.variable.css +338 -0
- 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 +68 -0
- 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 +427 -0
- package/lib/upload/upload.d.ts +246 -0
- package/lib/upload/upload.less +466 -0
- package/lib/upload/upload.type.d.ts +78 -0
- package/lib/upload/upload.variable.css +547 -0
- package/lib/upload/use-ajax-upload.d.ts +3 -0
- package/lib/upload/use-file-handler.d.ts +44 -0
- package/lib/use-message.d.ts +2 -0
- package/lib/virtual-render/index.d.ts +602 -0
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +172 -0
- package/lib/virtual-render/use-tag-render.d.ts +7 -0
- package/lib/virtual-render/v-virtual-render.d.ts +6 -0
- package/lib/virtual-render/virtual-render.css +33 -0
- package/lib/virtual-render/virtual-render.d.ts +266 -0
- package/lib/virtual-render/virtual-render.less +22 -0
- package/lib/virtual-render/virtual-render.variable.css +153 -0
- package/lib/volar.components.d.ts +101 -0
- package/package.json +113 -83
- package/LICENSE.txt +0 -22
- package/dist/bkui-vue.cjs.js +0 -4887
- package/dist/bkui-vue.esm.js +0 -4883
- package/dist/bkui-vue.umd.js +0 -4890
- package/lib/checkbox-group/index.js +0 -1
- package/lib/radio-button/index.js +0 -1
- package/lib/radio-group/index.js +0 -1
- package/lib/shared/bk-pop-manager.d.ts +0 -19
- package/lib/shared/bk-popover.d.ts +0 -76
- package/lib/styles/index.js +0 -1
- package/lib/table/common.d.ts +0 -3
- package/lib/table/table-layout.d.ts +0 -14
- package/lib/table/type.d.ts +0 -12
@@ -0,0 +1,410 @@
|
|
1
|
+
declare const BkPagination: {
|
2
|
+
new (...args: any[]): {
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
4
|
+
$data: {};
|
5
|
+
$props: Partial<{
|
6
|
+
small: boolean;
|
7
|
+
align: string;
|
8
|
+
type: string;
|
9
|
+
disabled: boolean;
|
10
|
+
layout: string[];
|
11
|
+
location: string;
|
12
|
+
count: number;
|
13
|
+
modelValue: number;
|
14
|
+
beforeChange: (...args: any[]) => any;
|
15
|
+
prevText: string;
|
16
|
+
nextText: string;
|
17
|
+
limit: number;
|
18
|
+
limitList: number[];
|
19
|
+
showLimit: boolean;
|
20
|
+
showTotalCount: boolean;
|
21
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
22
|
+
modelValue: import("vue-types").VueTypeValidableDef<number> & {
|
23
|
+
default: number;
|
24
|
+
} & {
|
25
|
+
default: number;
|
26
|
+
};
|
27
|
+
count: import("vue-types").VueTypeValidableDef<number> & {
|
28
|
+
default: number;
|
29
|
+
} & {
|
30
|
+
default: number;
|
31
|
+
} & {
|
32
|
+
required: true;
|
33
|
+
};
|
34
|
+
limit: import("vue-types").VueTypeValidableDef<number> & {
|
35
|
+
default: number;
|
36
|
+
} & {
|
37
|
+
default: number;
|
38
|
+
};
|
39
|
+
limitList: import("vue-types").VueTypeDef<number[]> & {
|
40
|
+
default: () => number[];
|
41
|
+
};
|
42
|
+
showLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
43
|
+
default: boolean;
|
44
|
+
} & {
|
45
|
+
default: boolean;
|
46
|
+
};
|
47
|
+
type: import("vue-types").VueTypeDef<string> & {
|
48
|
+
default: string;
|
49
|
+
};
|
50
|
+
location: import("vue-types").VueTypeDef<string> & {
|
51
|
+
default: string;
|
52
|
+
};
|
53
|
+
align: import("vue-types").VueTypeDef<string> & {
|
54
|
+
default: string;
|
55
|
+
};
|
56
|
+
size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
|
57
|
+
small: import("vue-types").VueTypeValidableDef<boolean> & {
|
58
|
+
default: boolean;
|
59
|
+
} & {
|
60
|
+
default: boolean;
|
61
|
+
};
|
62
|
+
showTotalCount: import("vue-types").VueTypeValidableDef<boolean> & {
|
63
|
+
default: boolean;
|
64
|
+
} & {
|
65
|
+
default: boolean;
|
66
|
+
};
|
67
|
+
prevText: import("vue-types").VueTypeValidableDef<string> & {
|
68
|
+
default: string;
|
69
|
+
};
|
70
|
+
nextText: import("vue-types").VueTypeValidableDef<string> & {
|
71
|
+
default: string;
|
72
|
+
};
|
73
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
74
|
+
default: boolean;
|
75
|
+
} & {
|
76
|
+
default: boolean;
|
77
|
+
};
|
78
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
79
|
+
default: (...args: any[]) => any;
|
80
|
+
};
|
81
|
+
layout: import("vue-types").VueTypeDef<string[]> & {
|
82
|
+
default: () => string[];
|
83
|
+
};
|
84
|
+
}>> & {
|
85
|
+
onChange?: (...args: any[]) => any;
|
86
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
87
|
+
"onUpdate:limit"?: (...args: any[]) => any;
|
88
|
+
onLimitChange?: (...args: any[]) => any;
|
89
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "small" | "align" | "type" | "disabled" | "layout" | "location" | "count" | "modelValue" | "beforeChange" | "prevText" | "nextText" | "limit" | "limitList" | "showLimit" | "showTotalCount">;
|
90
|
+
$attrs: {
|
91
|
+
[x: string]: unknown;
|
92
|
+
};
|
93
|
+
$refs: {
|
94
|
+
[x: string]: unknown;
|
95
|
+
};
|
96
|
+
$slots: Readonly<{
|
97
|
+
[name: string]: import("vue").Slot;
|
98
|
+
}>;
|
99
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
100
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
101
|
+
$emit: (event: "change" | "update:modelValue" | "update:limit" | "limitChange", ...args: any[]) => void;
|
102
|
+
$el: any;
|
103
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
104
|
+
modelValue: import("vue-types").VueTypeValidableDef<number> & {
|
105
|
+
default: number;
|
106
|
+
} & {
|
107
|
+
default: number;
|
108
|
+
};
|
109
|
+
count: import("vue-types").VueTypeValidableDef<number> & {
|
110
|
+
default: number;
|
111
|
+
} & {
|
112
|
+
default: number;
|
113
|
+
} & {
|
114
|
+
required: true;
|
115
|
+
};
|
116
|
+
limit: import("vue-types").VueTypeValidableDef<number> & {
|
117
|
+
default: number;
|
118
|
+
} & {
|
119
|
+
default: number;
|
120
|
+
};
|
121
|
+
limitList: import("vue-types").VueTypeDef<number[]> & {
|
122
|
+
default: () => number[];
|
123
|
+
};
|
124
|
+
showLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
125
|
+
default: boolean;
|
126
|
+
} & {
|
127
|
+
default: boolean;
|
128
|
+
};
|
129
|
+
type: import("vue-types").VueTypeDef<string> & {
|
130
|
+
default: string;
|
131
|
+
};
|
132
|
+
location: import("vue-types").VueTypeDef<string> & {
|
133
|
+
default: string;
|
134
|
+
};
|
135
|
+
align: import("vue-types").VueTypeDef<string> & {
|
136
|
+
default: string;
|
137
|
+
};
|
138
|
+
size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
|
139
|
+
small: import("vue-types").VueTypeValidableDef<boolean> & {
|
140
|
+
default: boolean;
|
141
|
+
} & {
|
142
|
+
default: boolean;
|
143
|
+
};
|
144
|
+
showTotalCount: import("vue-types").VueTypeValidableDef<boolean> & {
|
145
|
+
default: boolean;
|
146
|
+
} & {
|
147
|
+
default: boolean;
|
148
|
+
};
|
149
|
+
prevText: import("vue-types").VueTypeValidableDef<string> & {
|
150
|
+
default: string;
|
151
|
+
};
|
152
|
+
nextText: import("vue-types").VueTypeValidableDef<string> & {
|
153
|
+
default: string;
|
154
|
+
};
|
155
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
156
|
+
default: boolean;
|
157
|
+
} & {
|
158
|
+
default: boolean;
|
159
|
+
};
|
160
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
161
|
+
default: (...args: any[]) => any;
|
162
|
+
};
|
163
|
+
layout: import("vue-types").VueTypeDef<string[]> & {
|
164
|
+
default: () => string[];
|
165
|
+
};
|
166
|
+
}>> & {
|
167
|
+
onChange?: (...args: any[]) => any;
|
168
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
169
|
+
"onUpdate:limit"?: (...args: any[]) => any;
|
170
|
+
onLimitChange?: (...args: any[]) => any;
|
171
|
+
}, {
|
172
|
+
totalPageNum: import("vue").Ref<number>;
|
173
|
+
renderTotal: ({ isFirst, isLast }: {
|
174
|
+
isFirst: any;
|
175
|
+
isLast: any;
|
176
|
+
}) => JSX.Element;
|
177
|
+
renderList: ({ isFirst, isLast }: {
|
178
|
+
isFirst: any;
|
179
|
+
isLast: any;
|
180
|
+
}) => JSX.Element;
|
181
|
+
renderLimit: ({ isFirst, isLast }: {
|
182
|
+
isFirst: any;
|
183
|
+
isLast: any;
|
184
|
+
}) => JSX.Element;
|
185
|
+
renderSmallList: () => JSX.Element;
|
186
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:limit" | "limitChange")[], string, {
|
187
|
+
small: boolean;
|
188
|
+
align: string;
|
189
|
+
type: string;
|
190
|
+
disabled: boolean;
|
191
|
+
layout: string[];
|
192
|
+
location: string;
|
193
|
+
count: number;
|
194
|
+
modelValue: number;
|
195
|
+
beforeChange: (...args: any[]) => any;
|
196
|
+
prevText: string;
|
197
|
+
nextText: string;
|
198
|
+
limit: number;
|
199
|
+
limitList: number[];
|
200
|
+
showLimit: boolean;
|
201
|
+
showTotalCount: boolean;
|
202
|
+
}> & {
|
203
|
+
beforeCreate?: (() => void) | (() => void)[];
|
204
|
+
created?: (() => void) | (() => void)[];
|
205
|
+
beforeMount?: (() => void) | (() => void)[];
|
206
|
+
mounted?: (() => void) | (() => void)[];
|
207
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
208
|
+
updated?: (() => void) | (() => void)[];
|
209
|
+
activated?: (() => void) | (() => void)[];
|
210
|
+
deactivated?: (() => void) | (() => void)[];
|
211
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
212
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
213
|
+
destroyed?: (() => void) | (() => void)[];
|
214
|
+
unmounted?: (() => void) | (() => void)[];
|
215
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
216
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
217
|
+
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)[];
|
218
|
+
};
|
219
|
+
$forceUpdate: () => void;
|
220
|
+
$nextTick: typeof import("vue").nextTick;
|
221
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
222
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
223
|
+
modelValue: import("vue-types").VueTypeValidableDef<number> & {
|
224
|
+
default: number;
|
225
|
+
} & {
|
226
|
+
default: number;
|
227
|
+
};
|
228
|
+
count: import("vue-types").VueTypeValidableDef<number> & {
|
229
|
+
default: number;
|
230
|
+
} & {
|
231
|
+
default: number;
|
232
|
+
} & {
|
233
|
+
required: true;
|
234
|
+
};
|
235
|
+
limit: import("vue-types").VueTypeValidableDef<number> & {
|
236
|
+
default: number;
|
237
|
+
} & {
|
238
|
+
default: number;
|
239
|
+
};
|
240
|
+
limitList: import("vue-types").VueTypeDef<number[]> & {
|
241
|
+
default: () => number[];
|
242
|
+
};
|
243
|
+
showLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
244
|
+
default: boolean;
|
245
|
+
} & {
|
246
|
+
default: boolean;
|
247
|
+
};
|
248
|
+
type: import("vue-types").VueTypeDef<string> & {
|
249
|
+
default: string;
|
250
|
+
};
|
251
|
+
location: import("vue-types").VueTypeDef<string> & {
|
252
|
+
default: string;
|
253
|
+
};
|
254
|
+
align: import("vue-types").VueTypeDef<string> & {
|
255
|
+
default: string;
|
256
|
+
};
|
257
|
+
size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
|
258
|
+
small: import("vue-types").VueTypeValidableDef<boolean> & {
|
259
|
+
default: boolean;
|
260
|
+
} & {
|
261
|
+
default: boolean;
|
262
|
+
};
|
263
|
+
showTotalCount: import("vue-types").VueTypeValidableDef<boolean> & {
|
264
|
+
default: boolean;
|
265
|
+
} & {
|
266
|
+
default: boolean;
|
267
|
+
};
|
268
|
+
prevText: import("vue-types").VueTypeValidableDef<string> & {
|
269
|
+
default: string;
|
270
|
+
};
|
271
|
+
nextText: import("vue-types").VueTypeValidableDef<string> & {
|
272
|
+
default: string;
|
273
|
+
};
|
274
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
275
|
+
default: boolean;
|
276
|
+
} & {
|
277
|
+
default: boolean;
|
278
|
+
};
|
279
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
280
|
+
default: (...args: any[]) => any;
|
281
|
+
};
|
282
|
+
layout: import("vue-types").VueTypeDef<string[]> & {
|
283
|
+
default: () => string[];
|
284
|
+
};
|
285
|
+
}>> & {
|
286
|
+
onChange?: (...args: any[]) => any;
|
287
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
288
|
+
"onUpdate:limit"?: (...args: any[]) => any;
|
289
|
+
onLimitChange?: (...args: any[]) => any;
|
290
|
+
} & import("vue").ShallowUnwrapRef<{
|
291
|
+
totalPageNum: import("vue").Ref<number>;
|
292
|
+
renderTotal: ({ isFirst, isLast }: {
|
293
|
+
isFirst: any;
|
294
|
+
isLast: any;
|
295
|
+
}) => JSX.Element;
|
296
|
+
renderList: ({ isFirst, isLast }: {
|
297
|
+
isFirst: any;
|
298
|
+
isLast: any;
|
299
|
+
}) => JSX.Element;
|
300
|
+
renderLimit: ({ isFirst, isLast }: {
|
301
|
+
isFirst: any;
|
302
|
+
isLast: any;
|
303
|
+
}) => JSX.Element;
|
304
|
+
renderSmallList: () => JSX.Element;
|
305
|
+
}> & {} & {} & import("vue").ComponentCustomProperties;
|
306
|
+
__isFragment?: never;
|
307
|
+
__isTeleport?: never;
|
308
|
+
__isSuspense?: never;
|
309
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
310
|
+
modelValue: import("vue-types").VueTypeValidableDef<number> & {
|
311
|
+
default: number;
|
312
|
+
} & {
|
313
|
+
default: number;
|
314
|
+
};
|
315
|
+
count: import("vue-types").VueTypeValidableDef<number> & {
|
316
|
+
default: number;
|
317
|
+
} & {
|
318
|
+
default: number;
|
319
|
+
} & {
|
320
|
+
required: true;
|
321
|
+
};
|
322
|
+
limit: import("vue-types").VueTypeValidableDef<number> & {
|
323
|
+
default: number;
|
324
|
+
} & {
|
325
|
+
default: number;
|
326
|
+
};
|
327
|
+
limitList: import("vue-types").VueTypeDef<number[]> & {
|
328
|
+
default: () => number[];
|
329
|
+
};
|
330
|
+
showLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
331
|
+
default: boolean;
|
332
|
+
} & {
|
333
|
+
default: boolean;
|
334
|
+
};
|
335
|
+
type: import("vue-types").VueTypeDef<string> & {
|
336
|
+
default: string;
|
337
|
+
};
|
338
|
+
location: import("vue-types").VueTypeDef<string> & {
|
339
|
+
default: string;
|
340
|
+
};
|
341
|
+
align: import("vue-types").VueTypeDef<string> & {
|
342
|
+
default: string;
|
343
|
+
};
|
344
|
+
size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
|
345
|
+
small: import("vue-types").VueTypeValidableDef<boolean> & {
|
346
|
+
default: boolean;
|
347
|
+
} & {
|
348
|
+
default: boolean;
|
349
|
+
};
|
350
|
+
showTotalCount: import("vue-types").VueTypeValidableDef<boolean> & {
|
351
|
+
default: boolean;
|
352
|
+
} & {
|
353
|
+
default: boolean;
|
354
|
+
};
|
355
|
+
prevText: import("vue-types").VueTypeValidableDef<string> & {
|
356
|
+
default: string;
|
357
|
+
};
|
358
|
+
nextText: import("vue-types").VueTypeValidableDef<string> & {
|
359
|
+
default: string;
|
360
|
+
};
|
361
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
362
|
+
default: boolean;
|
363
|
+
} & {
|
364
|
+
default: boolean;
|
365
|
+
};
|
366
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
367
|
+
default: (...args: any[]) => any;
|
368
|
+
};
|
369
|
+
layout: import("vue-types").VueTypeDef<string[]> & {
|
370
|
+
default: () => string[];
|
371
|
+
};
|
372
|
+
}>> & {
|
373
|
+
onChange?: (...args: any[]) => any;
|
374
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
375
|
+
"onUpdate:limit"?: (...args: any[]) => any;
|
376
|
+
onLimitChange?: (...args: any[]) => any;
|
377
|
+
}, {
|
378
|
+
totalPageNum: import("vue").Ref<number>;
|
379
|
+
renderTotal: ({ isFirst, isLast }: {
|
380
|
+
isFirst: any;
|
381
|
+
isLast: any;
|
382
|
+
}) => JSX.Element;
|
383
|
+
renderList: ({ isFirst, isLast }: {
|
384
|
+
isFirst: any;
|
385
|
+
isLast: any;
|
386
|
+
}) => JSX.Element;
|
387
|
+
renderLimit: ({ isFirst, isLast }: {
|
388
|
+
isFirst: any;
|
389
|
+
isLast: any;
|
390
|
+
}) => JSX.Element;
|
391
|
+
renderSmallList: () => JSX.Element;
|
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;
|
395
|
+
type: string;
|
396
|
+
disabled: boolean;
|
397
|
+
layout: string[];
|
398
|
+
location: string;
|
399
|
+
count: number;
|
400
|
+
modelValue: number;
|
401
|
+
beforeChange: (...args: any[]) => any;
|
402
|
+
prevText: string;
|
403
|
+
nextText: string;
|
404
|
+
limit: number;
|
405
|
+
limitList: number[];
|
406
|
+
showLimit: boolean;
|
407
|
+
showTotalCount: boolean;
|
408
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
409
|
+
export default BkPagination;
|
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})()));
|
@@ -0,0 +1,205 @@
|
|
1
|
+
.bk-pagination {
|
2
|
+
display: flex;
|
3
|
+
align-items: center;
|
4
|
+
font-size: 12px;
|
5
|
+
letter-spacing: normal;
|
6
|
+
color: #63656e;
|
7
|
+
user-select: none;
|
8
|
+
}
|
9
|
+
.bk-pagination.is-disabled {
|
10
|
+
cursor: not-allowed;
|
11
|
+
}
|
12
|
+
.bk-pagination.is-align-left {
|
13
|
+
justify-content: flex-start;
|
14
|
+
}
|
15
|
+
.bk-pagination.is-align-center {
|
16
|
+
justify-content: center;
|
17
|
+
}
|
18
|
+
.bk-pagination.is-align-right {
|
19
|
+
justify-content: flex-end;
|
20
|
+
}
|
21
|
+
.bk-pagination > * {
|
22
|
+
margin: 0 6px;
|
23
|
+
}
|
24
|
+
.bk-pagination > .is-first {
|
25
|
+
margin-left: 0;
|
26
|
+
}
|
27
|
+
.bk-pagination > .is-last {
|
28
|
+
margin-right: 0;
|
29
|
+
}
|
30
|
+
.bk-pagination-total {
|
31
|
+
display: flex;
|
32
|
+
user-select: none;
|
33
|
+
}
|
34
|
+
.bk-pagination-total-num {
|
35
|
+
padding: 0 2px;
|
36
|
+
}
|
37
|
+
.bk-pagination-list {
|
38
|
+
display: flex;
|
39
|
+
}
|
40
|
+
.bk-pagination-list-pre-batch,
|
41
|
+
.bk-pagination-list-next-batch,
|
42
|
+
.bk-pagination-list-pre,
|
43
|
+
.bk-pagination-list-next,
|
44
|
+
.bk-pagination-list-item {
|
45
|
+
display: flex;
|
46
|
+
align-items: center;
|
47
|
+
justify-content: center;
|
48
|
+
height: 32px;
|
49
|
+
min-width: 32px;
|
50
|
+
padding: 0 4px;
|
51
|
+
margin-right: 2px;
|
52
|
+
margin-left: 2px;
|
53
|
+
color: #63656e;
|
54
|
+
cursor: pointer;
|
55
|
+
background: #fff;
|
56
|
+
border-radius: 2px;
|
57
|
+
user-select: none;
|
58
|
+
}
|
59
|
+
.bk-pagination-list-pre-batch.is-active,
|
60
|
+
.bk-pagination-list-next-batch.is-active,
|
61
|
+
.bk-pagination-list-pre.is-active,
|
62
|
+
.bk-pagination-list-next.is-active,
|
63
|
+
.bk-pagination-list-item.is-active {
|
64
|
+
color: #3a84ff;
|
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;
|
73
|
+
}
|
74
|
+
.bk-pagination-list-pre-batch.is-disabled,
|
75
|
+
.bk-pagination-list-next-batch.is-disabled,
|
76
|
+
.bk-pagination-list-pre.is-disabled,
|
77
|
+
.bk-pagination-list-next.is-disabled,
|
78
|
+
.bk-pagination-list-item.is-disabled {
|
79
|
+
color: #c4c6cc;
|
80
|
+
cursor: not-allowed;
|
81
|
+
background-color: #fafbfd;
|
82
|
+
border-color: #dcdee5;
|
83
|
+
}
|
84
|
+
.bk-pagination-list-pre,
|
85
|
+
.bk-pagination-list-next {
|
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;
|
94
|
+
}
|
95
|
+
.bk-pagination-list-item {
|
96
|
+
margin-right: 2px;
|
97
|
+
margin-left: 2px;
|
98
|
+
}
|
99
|
+
.bk-pagination-limit {
|
100
|
+
display: flex;
|
101
|
+
align-items: center;
|
102
|
+
user-select: none;
|
103
|
+
}
|
104
|
+
.bk-pagination-limit-select {
|
105
|
+
width: 60px;
|
106
|
+
margin: 0 4px;
|
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
|
+
}
|
126
|
+
.bk-pagination-small-list {
|
127
|
+
display: flex;
|
128
|
+
align-items: center;
|
129
|
+
}
|
130
|
+
.bk-pagination-small-list .bk-pagination-picker {
|
131
|
+
display: flex;
|
132
|
+
height: 26px;
|
133
|
+
margin: 0 4px;
|
134
|
+
cursor: pointer;
|
135
|
+
background-color: #f0f1f5;
|
136
|
+
border: 1px solid #f0f1f5;
|
137
|
+
border-radius: 2px;
|
138
|
+
align-items: center;
|
139
|
+
}
|
140
|
+
.bk-pagination-small-list .bk-pagination-picker:hover {
|
141
|
+
background-color: #eaebf0;
|
142
|
+
border-color: #eaebf0;
|
143
|
+
}
|
144
|
+
.bk-pagination-small-list .bk-pagination-picker.is-focused {
|
145
|
+
background-color: #fff;
|
146
|
+
border-color: #3a84ff;
|
147
|
+
box-shadow: 0px 0px 4px rgba(58, 132, 255, 0.4);
|
148
|
+
}
|
149
|
+
.bk-pagination-editor {
|
150
|
+
height: 16px;
|
151
|
+
min-width: 23px;
|
152
|
+
padding-right: 4px;
|
153
|
+
padding-left: 8px;
|
154
|
+
line-height: 16px;
|
155
|
+
text-align: center;
|
156
|
+
background-color: transparent;
|
157
|
+
border: 0;
|
158
|
+
border-radius: 2px;
|
159
|
+
outline: none;
|
160
|
+
transition: all 0.15s;
|
161
|
+
}
|
162
|
+
.bk-pagination-small-list-total {
|
163
|
+
padding-right: 8px;
|
164
|
+
padding-left: 4px;
|
165
|
+
}
|
166
|
+
.bk-pagination-btn-pre,
|
167
|
+
.bk-pagination-btn-next {
|
168
|
+
display: flex;
|
169
|
+
width: 26px;
|
170
|
+
height: 26px;
|
171
|
+
font-size: 20px;
|
172
|
+
color: #979ba5;
|
173
|
+
cursor: pointer;
|
174
|
+
justify-content: center;
|
175
|
+
align-items: center;
|
176
|
+
}
|
177
|
+
.bk-pagination-btn-pre:hover,
|
178
|
+
.bk-pagination-btn-next:hover {
|
179
|
+
color: #3a84ff;
|
180
|
+
background: #f0f1f5;
|
181
|
+
}
|
182
|
+
.bk-pagination-btn-pre.is-disabled,
|
183
|
+
.bk-pagination-btn-next.is-disabled {
|
184
|
+
color: #dcdee5;
|
185
|
+
cursor: not-allowed;
|
186
|
+
}
|
187
|
+
.bk-pagination-picker-list {
|
188
|
+
max-height: 216px;
|
189
|
+
padding: 7px 0;
|
190
|
+
margin: -7px -14px;
|
191
|
+
overflow: auto;
|
192
|
+
}
|
193
|
+
.bk-pagination-picker-list .item {
|
194
|
+
height: 32px;
|
195
|
+
padding: 0 10px;
|
196
|
+
font-size: 12px;
|
197
|
+
line-height: 32px;
|
198
|
+
color: #63656e;
|
199
|
+
cursor: pointer;
|
200
|
+
}
|
201
|
+
.bk-pagination-picker-list .item:hover,
|
202
|
+
.bk-pagination-picker-list .item.is-actived {
|
203
|
+
color: #3a84ff;
|
204
|
+
background: #f4f6fa;
|
205
|
+
}
|