bkui-vue 2.0.1-beta.11 → 2.0.1-beta.111
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/README.md +15 -0
- package/dist/index.cjs.js +142 -168
- package/dist/index.esm.js +29125 -32074
- package/dist/index.umd.js +142 -168
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +1 -0
- package/lib/affix/index.d.ts +111 -57
- package/lib/affix/index.js +24 -24
- package/lib/alert/alert.d.ts +5 -12
- package/lib/alert/alert.variable.css +1 -0
- package/lib/alert/index.d.ts +131 -93
- package/lib/alert/index.js +25 -25
- package/lib/animate-number/index.d.ts +96 -33
- package/lib/animate-number/index.js +7 -8
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/backtop.variable.css +1 -0
- package/lib/backtop/index.d.ts +118 -70
- package/lib/backtop/index.js +16 -17
- package/lib/badge/badge.variable.css +1 -0
- package/lib/badge/index.d.ts +152 -119
- package/lib/badge/index.js +20 -20
- package/lib/breadcrumb/breadcrumb.variable.css +1 -0
- package/lib/breadcrumb/index.d.ts +119 -67
- package/lib/breadcrumb/index.js +17 -17
- package/lib/button/button.css +188 -144
- package/lib/button/button.d.ts +10 -10
- package/lib/button/button.less +74 -71
- package/lib/button/button.variable.css +189 -144
- package/lib/button/index.d.ts +160 -124
- package/lib/button/index.js +26 -26
- package/lib/card/card.variable.css +1 -0
- package/lib/card/index.d.ts +157 -128
- package/lib/card/index.js +22 -20
- package/lib/cascader/cascader-panel.d.ts +6 -1
- package/lib/cascader/cascader.css +4 -0
- package/lib/cascader/cascader.d.ts +8 -4
- package/lib/cascader/cascader.less +5 -0
- package/lib/cascader/cascader.variable.css +5 -0
- package/lib/cascader/index.d.ts +355 -393
- package/lib/cascader/index.js +377 -308
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/checkbox-group.d.ts +0 -16
- package/lib/checkbox/checkbox.css +8 -0
- package/lib/checkbox/checkbox.d.ts +40 -8
- package/lib/checkbox/checkbox.less +12 -0
- package/lib/checkbox/checkbox.variable.css +9 -0
- package/lib/checkbox/index.d.ts +194 -127
- package/lib/checkbox/index.js +65 -52
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/code-diff.variable.css +1 -0
- package/lib/code-diff/index.d.ts +82 -65
- package/lib/code-diff/index.js +446 -389
- package/lib/collapse/collapse-panel.d.ts +5 -5
- package/lib/collapse/collapse.variable.css +1 -0
- package/lib/collapse/index.d.ts +180 -161
- package/lib/collapse/index.js +31 -30
- package/lib/collapse/props.d.ts +2 -2
- package/lib/collapse/utils.d.ts +2 -2
- package/lib/collapse-transition/collapse-transition.variable.css +1 -0
- package/lib/collapse-transition/index.d.ts +94 -19
- package/lib/collapse-transition/index.js +3 -4
- package/lib/color-picker/color-picker.d.ts +17 -1
- package/lib/color-picker/color-picker.variable.css +1 -0
- package/lib/color-picker/index.d.ts +168 -124
- package/lib/color-picker/index.js +93 -88
- package/lib/components.d.ts +30 -32
- package/lib/components.js +29 -31
- package/lib/config-provider/config-provider.variable.css +1 -0
- package/lib/config-provider/index.d.ts +228 -161
- package/lib/config-provider/index.js +17 -17
- package/lib/container/container.d.ts +1 -1
- package/lib/container/container.variable.css +1 -0
- package/lib/container/index.d.ts +85 -74
- package/lib/container/index.js +32 -35
- package/lib/date-picker/base/date-table.d.ts +1 -1
- package/lib/date-picker/base/month-table.d.ts +1 -1
- package/lib/date-picker/base/picker-dropdown.d.ts +2 -2
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/base/year-table.d.ts +1 -1
- package/lib/date-picker/date-picker.d.ts +7 -15
- package/lib/date-picker/date-picker.variable.css +1 -0
- package/lib/date-picker/index.d.ts +356 -399
- package/lib/date-picker/index.js +343 -297
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +6 -6
- package/lib/date-picker/panel/date.d.ts +2 -2
- package/lib/date-picker/panel/time-range.d.ts +3 -12
- package/lib/date-picker/panel/time.d.ts +3 -12
- package/lib/date-picker/props.d.ts +1 -5
- package/lib/date-picker/time-picker.d.ts +7 -14
- package/lib/date-picker/utils.d.ts +1 -1
- package/lib/dialog/dialog.d.ts +47 -31
- package/lib/dialog/dialog.variable.css +1 -0
- package/lib/dialog/index.d.ts +309 -305
- package/lib/dialog/index.js +252 -249
- package/lib/dialog/props.d.ts +20 -13
- package/lib/directives/index.d.ts +4 -3
- package/lib/directives/index.js +219 -197
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +2 -4
- package/lib/divider/divider.d.ts +5 -5
- package/lib/divider/divider.variable.css +1 -0
- package/lib/divider/index.d.ts +116 -62
- package/lib/divider/index.js +4 -5
- package/lib/divider/props.d.ts +2 -2
- package/lib/dropdown/dropdown-item.d.ts +1 -1
- package/lib/dropdown/dropdown-menu.d.ts +1 -1
- package/lib/dropdown/dropdown.d.ts +7 -7
- package/lib/dropdown/dropdown.variable.css +1 -0
- package/lib/dropdown/index.d.ts +144 -102
- package/lib/dropdown/index.js +32 -32
- package/lib/exception/exception.d.ts +9 -9
- package/lib/exception/exception.variable.css +1 -0
- package/lib/exception/index.d.ts +107 -46
- package/lib/exception/index.js +31 -31
- package/lib/exception/typings/index.d.ts +1 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +1 -0
- package/lib/fixed-navbar/index.d.ts +113 -59
- package/lib/fixed-navbar/index.js +4 -5
- package/lib/form/form-item.d.ts +7 -19
- package/lib/form/form.d.ts +3 -3
- package/lib/form/form.variable.css +1 -0
- package/lib/form/index.d.ts +139 -94
- package/lib/form/index.js +44 -42
- package/lib/form/type.d.ts +2 -2
- package/lib/icon/angle-double-down-line.js +17 -17
- package/lib/icon/angle-double-left-line.js +17 -17
- package/lib/icon/angle-double-left.js +17 -17
- package/lib/icon/angle-double-right-line.js +17 -17
- package/lib/icon/angle-double-right.js +17 -17
- package/lib/icon/angle-double-up-line.js +17 -17
- package/lib/icon/angle-down-fill.js +17 -17
- package/lib/icon/angle-down-line.js +17 -17
- package/lib/icon/angle-down.js +17 -17
- package/lib/icon/angle-left.js +17 -17
- package/lib/icon/angle-right.js +17 -17
- package/lib/icon/angle-up-fill.js +17 -17
- package/lib/icon/angle-up.js +17 -17
- package/lib/icon/archive-fill.js +17 -17
- package/lib/icon/arrows-left.js +17 -17
- package/lib/icon/arrows-right.js +17 -17
- package/lib/icon/assistant.js +17 -17
- package/lib/icon/audio-fill.js +17 -17
- package/lib/icon/bk.js +17 -17
- package/lib/icon/circle.js +17 -17
- package/lib/icon/close-line.js +17 -17
- package/lib/icon/close.js +17 -17
- package/lib/icon/code.js +17 -17
- package/lib/icon/cog-shape.js +17 -17
- package/lib/icon/collapse-left.js +17 -17
- package/lib/icon/copy-shape.js +17 -17
- package/lib/icon/copy.js +17 -17
- package/lib/icon/data-shape.js +17 -17
- package/lib/icon/del.js +17 -17
- package/lib/icon/doc-fill.js +17 -17
- package/lib/icon/done.js +17 -17
- package/lib/icon/down-shape.js +17 -17
- package/lib/icon/down-small.js +17 -17
- package/lib/icon/edit-line.js +17 -17
- package/lib/icon/ellipsis.js +17 -17
- package/lib/icon/enlarge-line.js +17 -17
- package/lib/icon/error.js +17 -17
- package/lib/icon/excel-fill.js +17 -17
- package/lib/icon/exclamation-circle-shape.js +17 -17
- package/lib/icon/eye.js +17 -17
- package/lib/icon/filliscreen-line.js +17 -17
- package/lib/icon/fix-line.js +17 -17
- package/lib/icon/fix-shape.js +17 -17
- package/lib/icon/folder-open.js +17 -17
- package/lib/icon/folder-shape-open.js +17 -17
- package/lib/icon/folder-shape.js +17 -17
- package/lib/icon/folder.js +17 -17
- package/lib/icon/funnel.js +17 -17
- package/lib/icon/grag-fill.js +17 -17
- package/lib/icon/help-document-fill.js +17 -17
- package/lib/icon/help-fill.js +17 -17
- package/lib/icon/help.js +17 -17
- package/lib/icon/image-fill.js +17 -17
- package/lib/icon/img-error.js +17 -17
- package/lib/icon/img-placehoulder.js +17 -17
- package/lib/icon/index.d.ts +11 -11
- package/lib/icon/index.js +11 -11
- package/lib/icon/info-line.js +17 -17
- package/lib/icon/info.js +17 -17
- package/lib/icon/left-shape.js +17 -17
- package/lib/icon/left-turn-line.js +17 -17
- package/lib/icon/loading.js +17 -17
- package/lib/icon/narrow-line.js +17 -17
- package/lib/icon/original.js +17 -17
- package/lib/icon/pdf-fill.js +17 -17
- package/lib/icon/play-shape.js +17 -17
- package/lib/icon/plus.js +17 -17
- package/lib/icon/ppt-fill.js +17 -17
- package/lib/icon/qq.js +17 -17
- package/lib/icon/right-shape.js +17 -17
- package/lib/icon/right-turn-line.js +17 -17
- package/lib/icon/search.js +17 -17
- package/lib/icon/share.js +17 -17
- package/lib/icon/spinner.js +17 -17
- package/lib/icon/success.js +17 -17
- package/lib/icon/switcher-loading.js +17 -17
- package/lib/icon/text-all.js +17 -17
- package/lib/icon/text-file.js +17 -17
- package/lib/icon/text-fill.js +17 -17
- package/lib/icon/transfer.js +17 -17
- package/lib/icon/tree-application-shape.js +17 -17
- package/lib/icon/unfull-screen.js +17 -17
- package/lib/icon/unvisible.js +17 -17
- package/lib/icon/up-shape.js +17 -17
- package/lib/icon/upload.js +17 -17
- package/lib/icon/video-fill.js +17 -17
- package/lib/icon/warn.js +17 -17
- package/lib/icon/weixin-pro.js +17 -17
- package/lib/icon/weixin.js +17 -17
- package/lib/image/image-viewer.d.ts +1 -1
- package/lib/image/image-viewer.variable.css +1 -0
- package/lib/image/image.variable.css +1 -0
- package/lib/image/index.d.ts +149 -113
- package/lib/image/index.js +46 -48
- package/lib/index.d.ts +9 -3
- package/lib/index.js +5 -29
- package/lib/info-box/index.js +250 -250
- package/lib/info-box/info-box.d.ts +15 -15
- package/lib/info-box/info-box.variable.css +1 -0
- package/lib/input/index.d.ts +299 -332
- package/lib/input/index.js +110 -561
- package/lib/input/input.css +23 -1
- package/lib/input/input.d.ts +15 -15
- package/lib/input/input.less +30 -1
- package/lib/input/input.variable.css +24 -1
- package/lib/link/index.d.ts +127 -78
- package/lib/link/index.js +5 -5
- package/lib/link/link.d.ts +5 -5
- package/lib/link/link.variable.css +1 -0
- package/lib/loading/index.d.ts +162 -135
- package/lib/loading/index.js +43 -40
- package/lib/loading/loading.d.ts +9 -9
- package/lib/loading/loading.variable.css +1 -0
- package/lib/locale/index.d.ts +1 -1
- package/lib/menu/index.d.ts +131 -51
- package/lib/menu/index.js +46 -27
- package/lib/menu/menu-group.d.ts +9 -0
- package/lib/menu/menu-item.d.ts +9 -0
- package/lib/menu/menu.css +29 -17
- package/lib/menu/menu.less +33 -18
- package/lib/menu/menu.variable.css +30 -17
- package/lib/menu/submenu.d.ts +1 -0
- package/lib/menu/submenu.variable.css +1 -0
- package/lib/menu/utils.d.ts +3 -3
- package/lib/message/index.js +43 -42
- package/lib/message/message.css +2 -1
- package/lib/message/message.less +3 -2
- package/lib/message/message.variable.css +3 -1
- package/lib/message/messageConstructor.d.ts +21 -21
- package/lib/modal/index.d.ts +214 -159
- package/lib/modal/index.js +68 -47
- package/lib/modal/modal.d.ts +24 -8
- package/lib/modal/modal.variable.css +1 -0
- package/lib/modal/props.mixin.d.ts +10 -3
- package/lib/navigation/index.d.ts +188 -152
- package/lib/navigation/index.js +27 -29
- package/lib/navigation/navigation.d.ts +1 -1
- package/lib/navigation/navigation.variable.css +1 -0
- package/lib/notify/index.js +25 -24
- package/lib/notify/notify.variable.css +1 -0
- package/lib/notify/notifyConstructor.d.ts +5 -5
- package/lib/overflow-title/components/overflow-title.d.ts +45 -16
- package/lib/overflow-title/index.d.ts +298 -328
- package/lib/overflow-title/index.js +85 -28
- package/lib/overflow-title/overflow-title.css +3 -0
- package/lib/overflow-title/overflow-title.less +4 -0
- package/lib/overflow-title/overflow-title.variable.css +3 -0
- package/lib/overflow-title/props.d.ts +36 -21
- package/lib/pagination/index.d.ts +198 -203
- package/lib/pagination/index.js +128 -68
- package/lib/pagination/pagination.css +8 -8
- package/lib/pagination/pagination.d.ts +0 -13
- package/lib/pagination/pagination.less +14 -13
- package/lib/pagination/pagination.variable.css +9 -8
- package/lib/pagination/type.d.ts +1 -1
- package/lib/pagination/use-limit.d.ts +1 -1
- package/lib/pagination/use-total.d.ts +1 -1
- package/lib/plugin-popover/index.js +328 -442
- package/lib/pop-confirm/index.d.ts +162 -148
- package/lib/pop-confirm/index.js +40 -35
- package/lib/pop-confirm/pop-confirm.css +3 -1
- package/lib/pop-confirm/pop-confirm.d.ts +10 -20
- package/lib/pop-confirm/pop-confirm.less +3 -1
- package/lib/pop-confirm/pop-confirm.variable.css +4 -1
- package/lib/pop-confirm/props.d.ts +8 -11
- package/lib/popover/const.d.ts +3 -3
- package/lib/popover/content.d.ts +6 -3
- package/lib/popover/index.d.ts +411 -380
- package/lib/popover/index.js +328 -442
- package/lib/popover/plugin-popover.d.ts +1 -1
- package/lib/popover/popover.d.ts +51 -8
- package/lib/popover/popover.variable.css +1 -0
- package/lib/popover/props.d.ts +28 -4
- package/lib/popover/use-floating.d.ts +2 -2
- package/lib/popover/use-popover-init.d.ts +2 -1
- package/lib/popover/utils.d.ts +2 -0
- package/lib/popover2/index.d.ts +83 -8
- package/lib/popover2/index.js +2 -2
- package/lib/preset.d.ts +0 -1
- package/lib/preset.js +0 -1
- package/lib/process/index.d.ts +137 -93
- package/lib/process/index.js +229 -229
- package/lib/process/process.variable.css +1 -0
- package/lib/progress/index.d.ts +192 -183
- package/lib/progress/index.js +31 -33
- package/lib/progress/progress.d.ts +9 -9
- package/lib/progress/progress.variable.css +1 -0
- package/lib/radio/index.d.ts +155 -106
- package/lib/radio/index.js +76 -63
- package/lib/radio/radio-button.d.ts +7 -7
- package/lib/radio/radio-group.d.ts +7 -7
- package/lib/radio/radio.d.ts +7 -7
- package/lib/radio/radio.variable.css +1 -0
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.d.ts +112 -55
- package/lib/rate/index.js +28 -27
- package/lib/rate/rate.variable.css +1 -0
- package/lib/resize-layout/index.d.ts +204 -157
- package/lib/resize-layout/index.js +54 -34
- package/lib/resize-layout/resize-layout.d.ts +18 -7
- package/lib/resize-layout/resize-layout.variable.css +1 -0
- package/lib/scrollbar/css/scrollbar.css +109 -0
- package/lib/scrollbar/css/scrollbar.less +139 -0
- package/lib/scrollbar/{scrollbar.variable.css → css/scrollbar.variable.css} +96 -61
- package/lib/scrollbar/handlers/click-rail.d.ts +2 -0
- package/lib/scrollbar/handlers/drag-thumb.d.ts +1 -0
- package/lib/scrollbar/handlers/keyboard.d.ts +2 -0
- package/lib/scrollbar/handlers/mouse-wheel.d.ts +2 -0
- package/lib/scrollbar/handlers/touch.d.ts +4 -0
- package/lib/scrollbar/helper/class-names.d.ts +21 -0
- package/lib/scrollbar/helper/css.d.ts +3 -0
- package/lib/scrollbar/helper/dom.d.ts +4 -0
- package/lib/scrollbar/helper/event-manager.d.ts +20 -0
- package/lib/scrollbar/helper/util.d.ts +11 -0
- package/lib/scrollbar/index.d.ts +133 -13
- package/lib/scrollbar/index.js +1380 -18482
- package/lib/scrollbar/process-scroll-diff.d.ts +1 -0
- package/lib/scrollbar/update-geometry.d.ts +8 -0
- package/lib/search-select/index.d.ts +946 -701
- package/lib/search-select/index.js +644 -486
- package/lib/search-select/input.d.ts +20 -8
- package/lib/search-select/menu.d.ts +13 -1
- package/lib/search-select/search-select.css +45 -47
- package/lib/search-select/search-select.d.ts +207 -160
- package/lib/search-select/search-select.less +41 -41
- package/lib/search-select/search-select.variable.css +46 -47
- package/lib/search-select/selected.d.ts +209 -127
- package/lib/search-select/utils.d.ts +6 -6
- package/lib/select/common.d.ts +4 -4
- package/lib/select/index.d.ts +1457 -1384
- package/lib/select/index.js +603 -477
- package/lib/select/option.d.ts +6 -6
- package/lib/select/select.css +9 -4
- package/lib/select/select.d.ts +285 -148
- package/lib/select/select.less +11 -4
- package/lib/select/select.variable.css +10 -4
- package/lib/select/selectTagInput.d.ts +9 -8
- package/lib/select/type.d.ts +10 -11
- package/lib/shared/frame-throttle.d.ts +15 -0
- package/lib/shared/index.d.ts +2 -1
- package/lib/shared/index.js +166 -101
- package/lib/shared/popover.d.ts +3 -3
- package/lib/shared/token.d.ts +1 -1
- package/lib/shared/vue-types.d.ts +50 -50
- package/lib/shared/z-index-manager.d.ts +6 -6
- package/lib/sideslider/index.d.ts +220 -182
- package/lib/sideslider/index.js +239 -237
- package/lib/sideslider/sideslider.css +7 -8
- package/lib/sideslider/sideslider.d.ts +24 -8
- package/lib/sideslider/sideslider.less +7 -8
- package/lib/sideslider/sideslider.variable.css +8 -8
- package/lib/slider/index.d.ts +210 -214
- package/lib/slider/index.js +246 -249
- package/lib/slider/slider.variable.css +1 -0
- package/lib/steps/index.d.ts +155 -131
- package/lib/steps/index.js +234 -234
- package/lib/steps/steps.d.ts +8 -18
- package/lib/steps/steps.variable.css +1 -0
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/mixins/animate.variable.css +1 -0
- package/lib/styles/mixins/popper.variable.css +1 -0
- package/lib/styles/mixins/scroll.variable.css +1 -0
- package/lib/styles/reset.variable.css +1 -0
- package/lib/styles/themes/themes.less +1 -0
- package/lib/swiper/index.d.ts +127 -81
- package/lib/swiper/index.js +23 -23
- package/lib/swiper/swiper.variable.css +1 -0
- package/lib/switcher/index.d.ts +179 -157
- package/lib/switcher/index.js +24 -22
- package/lib/switcher/switcher.d.ts +9 -9
- package/lib/switcher/switcher.variable.css +1 -0
- package/lib/tab/index.d.ts +220 -258
- package/lib/tab/index.js +79 -69
- package/lib/tab/props.d.ts +27 -52
- package/lib/tab/tab-nav.d.ts +26 -66
- package/lib/tab/tab-panel.d.ts +27 -5
- package/lib/tab/tab.css +64 -0
- package/lib/tab/tab.d.ts +10 -54
- package/lib/tab/tab.less +91 -4
- package/lib/tab/tab.variable.css +65 -0
- package/lib/table/components/ghost-body.d.ts +2 -0
- package/lib/table/components/table-cell.d.ts +22 -0
- package/lib/table/components/table-column.d.ts +24 -127
- package/lib/table/const.d.ts +23 -10
- package/lib/table/events.d.ts +16 -112
- package/lib/table/hooks/use-cell.d.ts +20 -0
- package/lib/table/hooks/use-checkbox-tooltip.d.ts +11 -0
- package/lib/table/hooks/use-column-resize.d.ts +7 -0
- package/lib/table/hooks/use-column-template.d.ts +5 -0
- package/lib/table/hooks/use-columns.d.ts +69 -0
- package/lib/table/{plugins → hooks}/use-draggable.d.ts +2 -2
- package/lib/table/hooks/use-fixed-column.d.ts +10 -0
- package/lib/table/hooks/use-head.d.ts +16 -0
- package/lib/table/hooks/use-layout.d.ts +25 -0
- package/lib/table/hooks/use-pagination.d.ts +16 -0
- package/lib/table/hooks/use-render.d.ts +21 -0
- package/lib/table/hooks/use-rows.d.ts +30 -0
- package/lib/table/hooks/use-settings.d.ts +138 -0
- package/lib/table/{plugins → hooks}/use-shift-key.d.ts +4 -2
- package/lib/table/index.d.ts +412 -1029
- package/lib/table/index.js +4698 -20825
- package/lib/table/plugins/head-filter.css +5 -0
- package/lib/table/plugins/head-filter.d.ts +2 -1
- package/lib/table/plugins/head-filter.less +4 -0
- package/lib/table/plugins/head-filter.variable.css +6 -0
- package/lib/table/plugins/head-sort.variable.css +1 -0
- package/lib/table/plugins/settings.css +11 -1
- package/lib/table/plugins/settings.less +12 -1
- package/lib/table/plugins/settings.variable.css +12 -1
- package/lib/table/props.d.ts +127 -62
- package/lib/table/table.css +503 -302
- package/lib/table/table.d.ts +51 -185
- package/lib/table/table.less +244 -112
- package/lib/table/table.variable.css +504 -302
- package/lib/table/utils.d.ts +44 -21
- package/lib/table-column/index.d.ts +156 -369
- package/lib/table-column/index.js +143 -62
- package/lib/tag/index.d.ts +147 -100
- package/lib/tag/index.js +21 -22
- package/lib/tag/tag.css +1 -1
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag/tag.less +1 -1
- package/lib/tag/tag.variable.css +2 -1
- package/lib/tag-input/common.d.ts +2 -2
- package/lib/tag-input/index.d.ts +595 -712
- package/lib/tag-input/index.js +150 -17391
- package/lib/tag-input/tag-input.css +12 -9
- package/lib/tag-input/tag-input.d.ts +60 -24
- package/lib/tag-input/tag-input.less +13 -9
- package/lib/tag-input/tag-input.variable.css +13 -9
- package/lib/tag-input/tag-props.d.ts +25 -2
- package/lib/time-picker/index.d.ts +391 -455
- package/lib/time-picker/time-picker.variable.css +1 -0
- package/lib/timeline/index.d.ts +131 -64
- package/lib/timeline/index.js +8 -8
- package/lib/timeline/timeline.variable.css +1 -0
- package/lib/transfer/const.d.ts +2 -2
- package/lib/transfer/index.d.ts +206 -191
- package/lib/transfer/index.js +3 -5
- package/lib/transfer/transfer.variable.css +1 -0
- package/lib/tree/constant.d.ts +22 -20
- package/lib/tree/index.d.ts +329 -357
- package/lib/tree/index.js +176 -17389
- package/lib/tree/props.d.ts +18 -11
- package/lib/tree/tree.css +103 -69
- package/lib/tree/tree.d.ts +16 -10
- package/lib/tree/tree.variable.css +104 -69
- package/lib/tree/use-empty.d.ts +1 -1
- package/lib/tree/use-node-action.d.ts +10 -9
- package/lib/tree/use-node-async.d.ts +2 -1
- package/lib/tree/use-node-attribute.d.ts +42 -34
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +8 -5
- package/lib/tree/util.d.ts +21 -21
- package/lib/upload/index.d.ts +294 -286
- package/lib/upload/index.js +398 -316
- package/lib/upload/props.d.ts +11 -2
- package/lib/upload/upload-list.d.ts +11 -1
- package/lib/upload/upload-trigger.d.ts +11 -1
- package/lib/upload/upload.d.ts +25 -4
- package/lib/upload/upload.type.d.ts +12 -6
- package/lib/upload/upload.variable.css +1 -0
- package/lib/upload/use-file-handler.d.ts +1 -1
- package/lib/virtual-render/index.d.ts +247 -373
- package/lib/virtual-render/index.js +223 -162
- package/lib/virtual-render/props.d.ts +2 -9
- package/lib/virtual-render/use-fix-top.d.ts +1 -1
- package/lib/virtual-render/use-scrollbar.d.ts +4 -17
- package/lib/virtual-render/v-virtual-render.d.ts +7 -1
- package/lib/virtual-render/virtual-render.css +96 -70
- package/lib/virtual-render/virtual-render.d.ts +7 -23
- package/lib/virtual-render/virtual-render.less +2 -11
- package/lib/virtual-render/virtual-render.variable.css +96 -69
- package/lib/volar.components.d.ts +2 -0
- package/package.json +17 -55
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +0 -2
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/index.d.ts +0 -241
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +0 -1
- package/lib/scrollbar/scrollbar.css +0 -75
- package/lib/scrollbar/scrollbar.less +0 -94
- package/lib/table/plugins/col-group.d.ts +0 -38
- package/lib/table/plugins/settings.d.ts +0 -16
- package/lib/table/plugins/use-active-columns.d.ts +0 -16
- package/lib/table/plugins/use-column-resize.d.ts +0 -35
- package/lib/table/plugins/use-column-template.d.ts +0 -7
- package/lib/table/plugins/use-fixed-column.d.ts +0 -27
- package/lib/table/plugins/use-head-cell.d.ts +0 -7
- package/lib/table/plugins/use-pagination.d.ts +0 -23
- package/lib/table/use-attributes.d.ts +0 -62
- package/lib/table/use-column.d.ts +0 -275
- package/lib/table/use-common.d.ts +0 -1679
- package/lib/table/use-render.d.ts +0 -11
- /package/lib/table/{plugins → components}/body-empty.d.ts +0 -0
- /package/lib/table/{plugins → hooks}/use-observer-resize.d.ts +0 -0
- /package/lib/table/{plugins → hooks}/use-scroll-loading.d.ts +0 -0
@@ -1,356 +1,347 @@
|
|
1
1
|
import TimePicker from './time-picker';
|
2
2
|
declare const BkDatePicker: {
|
3
|
-
new (...args: any[]):
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
readonly
|
8
|
-
|
9
|
-
|
10
|
-
readonly
|
11
|
-
readonly
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
readonly
|
16
|
-
readonly
|
17
|
-
|
18
|
-
|
19
|
-
readonly
|
20
|
-
readonly
|
21
|
-
|
22
|
-
|
23
|
-
readonly
|
24
|
-
readonly
|
25
|
-
|
26
|
-
|
27
|
-
readonly
|
28
|
-
readonly
|
29
|
-
|
30
|
-
|
31
|
-
readonly
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
readonly
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
readonly
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
};
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
readonly allowCrossDay: {
|
107
|
-
readonly type: BooleanConstructor;
|
108
|
-
readonly default: false;
|
109
|
-
};
|
110
|
-
readonly behavior: {
|
111
|
-
readonly type: import("vue").PropType<"normal" | "simplicity">;
|
112
|
-
readonly default: "normal";
|
113
|
-
readonly validator: (v: any) => boolean;
|
114
|
-
};
|
115
|
-
readonly disabledDate: import("vue").PropType<import("./interface").DisabledDateType>;
|
116
|
-
readonly withValidate: {
|
117
|
-
readonly type: BooleanConstructor;
|
118
|
-
readonly default: true;
|
119
|
-
};
|
120
|
-
}>> & {
|
121
|
-
onChange?: (...args: any[]) => any;
|
122
|
-
onInput?: (...args: any[]) => any;
|
123
|
-
onClear?: (...args: any[]) => any;
|
124
|
-
"onUpdate:modelValue"?: (...args: any[]) => any;
|
125
|
-
"onPick-success"?: (...args: any[]) => any;
|
126
|
-
"onPick-first"?: (...args: any[]) => any;
|
127
|
-
"onOpen-change"?: (...args: any[]) => any;
|
128
|
-
"onShortcut-change"?: (...args: any[]) => any;
|
129
|
-
}, {
|
130
|
-
panel: import("vue").ComputedRef<import("./interface").DatePickerPanelType>;
|
131
|
-
publicStringValue: import("vue").ComputedRef<any>;
|
132
|
-
opened: import("vue").ComputedRef<boolean>;
|
133
|
-
visualValue: import("vue").ComputedRef<any>;
|
134
|
-
displayValue: import("vue").ComputedRef<any>;
|
135
|
-
isConfirm: import("vue").ComputedRef<boolean>;
|
136
|
-
hasHeader: import("vue").ComputedRef<boolean>;
|
137
|
-
hasFooter: import("vue").ComputedRef<boolean>;
|
138
|
-
hasShortcuts: import("vue").ComputedRef<boolean>;
|
139
|
-
hasConfirm: import("vue").ComputedRef<boolean>;
|
140
|
-
fontSizeCls: import("vue").ComputedRef<string>;
|
141
|
-
longWidthCls: import("vue").ComputedRef<string>;
|
142
|
-
localReadonly: import("vue").ComputedRef<boolean>;
|
143
|
-
allowCrossDayProp: import("vue").ComputedRef<boolean>;
|
144
|
-
ownPickerProps: import("vue").ComputedRef<Record<string, any>>;
|
145
|
-
teleportTo: import("vue").Ref<any>;
|
146
|
-
pickerDropdownRef: import("vue").Ref<any>;
|
147
|
-
inputRef: import("vue").Ref<any>;
|
148
|
-
triggerRef: import("vue").Ref<HTMLElement>;
|
149
|
-
pickerPanelRef: import("vue").Ref<any>;
|
150
|
-
handleClose: (e?: Event) => boolean;
|
151
|
-
handleIconClick: () => void;
|
152
|
-
handleInputMouseenter: () => void;
|
153
|
-
handleInputMouseleave: (_e: any) => void;
|
154
|
-
handleFocus: (e: any) => void;
|
155
|
-
handleBlur: (e: any) => void;
|
156
|
-
handleKeydown: (e: KeyboardEvent) => void;
|
157
|
-
handleInputChange: (e: any) => void;
|
158
|
-
handleInputInput: (e: any) => void;
|
159
|
-
handleClear: () => void;
|
160
|
-
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
161
|
-
onPickSuccess: () => void;
|
162
|
-
onPickFirst: (val: any, type: any) => void;
|
163
|
-
handleToggleTime: () => void;
|
164
|
-
resolveClassName: (cls: string) => string;
|
165
|
-
showClose: import("vue").Ref<boolean>;
|
166
|
-
visible: import("vue").Ref<boolean>;
|
167
|
-
internalValue: import("vue").Ref<any>;
|
168
|
-
disableClickOutSide: import("vue").Ref<boolean>;
|
169
|
-
disableCloseUnderTransfer: import("vue").Ref<boolean>;
|
170
|
-
selectionMode: import("vue").Ref<import("./interface").SelectionModeType>;
|
171
|
-
forceInputRerender: import("vue").Ref<number>;
|
172
|
-
isFocused: import("vue").Ref<boolean>;
|
173
|
-
focusedDate: import("vue").Ref<any>;
|
174
|
-
focusedTime: import("vue").Ref<{
|
175
|
-
column: number;
|
176
|
-
picker: number;
|
177
|
-
time: any;
|
178
|
-
active: boolean;
|
3
|
+
new (...args: any[]): {
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
5
|
+
$data: {};
|
6
|
+
$props: {
|
7
|
+
readonly type?: import("./interface").PickerTypeType;
|
8
|
+
readonly disabled?: boolean;
|
9
|
+
readonly placement?: import("@popperjs/core").ComputedPlacement;
|
10
|
+
readonly options?: Record<string, any>;
|
11
|
+
readonly fontSize?: "medium" | "large" | "normal";
|
12
|
+
readonly open?: boolean;
|
13
|
+
readonly multiple?: boolean;
|
14
|
+
readonly placeholder?: string;
|
15
|
+
readonly behavior?: "normal" | "simplicity";
|
16
|
+
readonly clearable?: boolean;
|
17
|
+
readonly readonly?: boolean;
|
18
|
+
readonly withValidate?: boolean;
|
19
|
+
readonly extPopoverCls?: string;
|
20
|
+
readonly editable?: boolean;
|
21
|
+
readonly timePickerOptions?: {};
|
22
|
+
readonly splitPanels?: boolean;
|
23
|
+
readonly appendToBody?: boolean;
|
24
|
+
readonly shortcuts?: import("./interface").DatePickerShortcutsType;
|
25
|
+
readonly shortcutClose?: boolean;
|
26
|
+
readonly upToNow?: boolean;
|
27
|
+
readonly useShortcutText?: boolean;
|
28
|
+
readonly shortcutSelectedIndex?: number;
|
29
|
+
readonly headerSlotCls?: string;
|
30
|
+
readonly footerSlotCls?: string;
|
31
|
+
readonly allowCrossDay?: boolean;
|
32
|
+
class?: unknown;
|
33
|
+
style?: unknown;
|
34
|
+
onFocus?: (...args: any[]) => any;
|
35
|
+
onBlur?: (...args: any[]) => any;
|
36
|
+
onChange?: (...args: any[]) => any;
|
37
|
+
onInput?: (...args: any[]) => any;
|
38
|
+
ref?: import("vue").VNodeRef;
|
39
|
+
key?: string | number | symbol;
|
40
|
+
ref_for?: boolean;
|
41
|
+
ref_key?: string;
|
42
|
+
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
43
|
+
[key: string]: any;
|
44
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
45
|
+
[key: string]: any;
|
46
|
+
}>) => void)[];
|
47
|
+
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
48
|
+
[key: string]: any;
|
49
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
50
|
+
[key: string]: any;
|
51
|
+
}>) => void)[];
|
52
|
+
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
53
|
+
[key: string]: any;
|
54
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
55
|
+
[key: string]: any;
|
56
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
57
|
+
[key: string]: any;
|
58
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
59
|
+
[key: string]: any;
|
60
|
+
}>) => void)[];
|
61
|
+
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
62
|
+
[key: string]: any;
|
63
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
64
|
+
[key: string]: any;
|
65
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
66
|
+
[key: string]: any;
|
67
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
68
|
+
[key: string]: any;
|
69
|
+
}>) => void)[];
|
70
|
+
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
71
|
+
[key: string]: any;
|
72
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
73
|
+
[key: string]: any;
|
74
|
+
}>) => void)[];
|
75
|
+
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
76
|
+
[key: string]: any;
|
77
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
78
|
+
[key: string]: any;
|
79
|
+
}>) => void)[];
|
80
|
+
readonly value?: import("./interface").DatePickerValueType;
|
81
|
+
readonly modelValue?: import("./interface").DatePickerValueType;
|
82
|
+
onClear?: (...args: any[]) => any;
|
83
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
84
|
+
readonly format?: string;
|
85
|
+
readonly startDate?: Date;
|
86
|
+
readonly disabledDate?: import("./interface").DisabledDateType;
|
87
|
+
"onPick-success"?: (...args: any[]) => any;
|
88
|
+
"onPick-first"?: (...args: any[]) => any;
|
89
|
+
"onOpen-change"?: (...args: any[]) => any;
|
90
|
+
"onShortcut-change"?: (...args: any[]) => any;
|
91
|
+
};
|
92
|
+
$attrs: {
|
93
|
+
[x: string]: unknown;
|
94
|
+
};
|
95
|
+
$refs: {
|
96
|
+
[x: string]: unknown;
|
97
|
+
};
|
98
|
+
$slots: Readonly<{
|
99
|
+
header?: () => any;
|
100
|
+
trigger?: (displayValue: string) => any;
|
101
|
+
footer?: () => any;
|
102
|
+
shortcuts?: (arg?: {
|
103
|
+
change: Function;
|
104
|
+
}) => any;
|
105
|
+
confirm?: import("vue").Slot<{}>;
|
179
106
|
}>;
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
readonly
|
253
|
-
|
254
|
-
|
255
|
-
readonly
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
readonly
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
107
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
108
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
109
|
+
$emit: (event: "blur" | "change" | "focus" | "input" | "clear" | "update:modelValue" | "pick-success" | "pick-first" | "open-change" | "shortcut-change", ...args: any[]) => void;
|
110
|
+
$el: any;
|
111
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
112
|
+
readonly type: {
|
113
|
+
readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
|
114
|
+
readonly default: "date";
|
115
|
+
readonly validator: (value: any) => boolean;
|
116
|
+
};
|
117
|
+
readonly extPopoverCls: {
|
118
|
+
readonly type: StringConstructor;
|
119
|
+
readonly default: "";
|
120
|
+
};
|
121
|
+
readonly format: StringConstructor;
|
122
|
+
readonly readonly: {
|
123
|
+
readonly type: BooleanConstructor;
|
124
|
+
readonly default: false;
|
125
|
+
};
|
126
|
+
readonly disabled: {
|
127
|
+
readonly type: BooleanConstructor;
|
128
|
+
readonly default: false;
|
129
|
+
};
|
130
|
+
readonly editable: {
|
131
|
+
readonly type: BooleanConstructor;
|
132
|
+
readonly default: true;
|
133
|
+
};
|
134
|
+
readonly clearable: {
|
135
|
+
readonly type: BooleanConstructor;
|
136
|
+
readonly default: true;
|
137
|
+
};
|
138
|
+
readonly open: {
|
139
|
+
readonly type: () => boolean;
|
140
|
+
readonly default: any;
|
141
|
+
};
|
142
|
+
readonly multiple: {
|
143
|
+
readonly type: BooleanConstructor;
|
144
|
+
readonly default: false;
|
145
|
+
};
|
146
|
+
readonly timePickerOptions: {
|
147
|
+
readonly type: import("vue").PropType<Record<string, any>>;
|
148
|
+
readonly default: () => {};
|
149
|
+
};
|
150
|
+
readonly splitPanels: {
|
151
|
+
readonly type: BooleanConstructor;
|
152
|
+
readonly default: true;
|
153
|
+
};
|
154
|
+
readonly startDate: DateConstructor;
|
155
|
+
readonly placeholder: {
|
156
|
+
readonly type: StringConstructor;
|
157
|
+
readonly default: "";
|
158
|
+
};
|
159
|
+
readonly placement: {
|
160
|
+
readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
|
161
|
+
readonly default: "bottom-start";
|
162
|
+
readonly validator: (value: any) => boolean;
|
163
|
+
};
|
164
|
+
readonly appendToBody: {
|
165
|
+
readonly type: BooleanConstructor;
|
166
|
+
readonly default: false;
|
167
|
+
};
|
168
|
+
readonly shortcuts: {
|
169
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
|
170
|
+
readonly default: () => any[];
|
171
|
+
};
|
172
|
+
readonly shortcutClose: {
|
173
|
+
readonly type: BooleanConstructor;
|
174
|
+
readonly default: false;
|
175
|
+
};
|
176
|
+
readonly modelValue: {
|
177
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
178
|
+
};
|
179
|
+
readonly value: {
|
180
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
181
|
+
};
|
182
|
+
readonly options: {
|
183
|
+
readonly type: ObjectConstructor;
|
184
|
+
readonly default: () => {};
|
185
|
+
};
|
186
|
+
readonly fontSize: {
|
187
|
+
readonly type: import("vue").PropType<"medium" | "large" | "normal">;
|
188
|
+
readonly default: "normal";
|
189
|
+
};
|
190
|
+
readonly upToNow: {
|
191
|
+
readonly type: BooleanConstructor;
|
192
|
+
readonly default: false;
|
193
|
+
};
|
194
|
+
readonly useShortcutText: {
|
195
|
+
readonly type: BooleanConstructor;
|
196
|
+
readonly default: false;
|
197
|
+
};
|
198
|
+
readonly shortcutSelectedIndex: {
|
199
|
+
readonly type: NumberConstructor;
|
200
|
+
readonly default: -1;
|
201
|
+
};
|
202
|
+
readonly headerSlotCls: {
|
203
|
+
readonly type: StringConstructor;
|
204
|
+
readonly default: "";
|
205
|
+
};
|
206
|
+
readonly footerSlotCls: {
|
207
|
+
readonly type: StringConstructor;
|
208
|
+
readonly default: "";
|
209
|
+
};
|
210
|
+
readonly allowCrossDay: {
|
211
|
+
readonly type: BooleanConstructor;
|
212
|
+
readonly default: false;
|
213
|
+
};
|
214
|
+
readonly behavior: {
|
215
|
+
readonly type: import("vue").PropType<"normal" | "simplicity">;
|
216
|
+
readonly default: "normal";
|
217
|
+
readonly validator: (v: any) => boolean;
|
218
|
+
};
|
219
|
+
readonly disabledDate: import("vue").PropType<import("./interface").DisabledDateType>;
|
220
|
+
readonly withValidate: {
|
221
|
+
readonly type: BooleanConstructor;
|
222
|
+
readonly default: true;
|
223
|
+
};
|
224
|
+
}>> & {
|
225
|
+
onFocus?: (...args: any[]) => any;
|
226
|
+
onBlur?: (...args: any[]) => any;
|
227
|
+
onChange?: (...args: any[]) => any;
|
228
|
+
onInput?: (...args: any[]) => any;
|
229
|
+
onClear?: (...args: any[]) => any;
|
230
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
231
|
+
"onPick-success"?: (...args: any[]) => any;
|
232
|
+
"onPick-first"?: (...args: any[]) => any;
|
233
|
+
"onOpen-change"?: (...args: any[]) => any;
|
234
|
+
"onShortcut-change"?: (...args: any[]) => any;
|
235
|
+
}, {
|
236
|
+
panel: import("vue").ComputedRef<import("./interface").DatePickerPanelType>;
|
237
|
+
publicStringValue: import("vue").ComputedRef<any>;
|
238
|
+
opened: import("vue").ComputedRef<boolean>;
|
239
|
+
visualValue: import("vue").ComputedRef<any>;
|
240
|
+
displayValue: import("vue").ComputedRef<any>;
|
241
|
+
isConfirm: import("vue").ComputedRef<boolean>;
|
242
|
+
hasHeader: import("vue").ComputedRef<boolean>;
|
243
|
+
hasFooter: import("vue").ComputedRef<boolean>;
|
244
|
+
hasShortcuts: import("vue").ComputedRef<boolean>;
|
245
|
+
hasConfirm: import("vue").ComputedRef<boolean>;
|
246
|
+
fontSizeCls: import("vue").ComputedRef<string>;
|
247
|
+
longWidthCls: import("vue").ComputedRef<string>;
|
248
|
+
localReadonly: import("vue").ComputedRef<boolean>;
|
249
|
+
ownPickerProps: import("vue").ComputedRef<Record<string, any>>;
|
250
|
+
teleportTo: any;
|
251
|
+
pickerDropdownRef: any;
|
252
|
+
inputRef: any;
|
253
|
+
triggerRef: import("vue").Ref<HTMLElement>;
|
254
|
+
pickerPanelRef: any;
|
255
|
+
handleClose: (e?: Event) => boolean;
|
256
|
+
handleIconClick: () => void;
|
257
|
+
handleInputMouseenter: () => void;
|
258
|
+
handleInputMouseleave: (_e: any) => void;
|
259
|
+
handleFocus: (e: any) => void;
|
260
|
+
handleBlur: (e: any) => void;
|
261
|
+
handleKeydown: (e: KeyboardEvent) => void;
|
262
|
+
handleInputChange: (e: any) => void;
|
263
|
+
handleInputInput: (e: any) => void;
|
264
|
+
handleClear: () => void;
|
265
|
+
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
266
|
+
onPickSuccess: () => void;
|
267
|
+
onPickFirst: (val: any, type: any) => void;
|
268
|
+
handleToggleTime: () => void;
|
269
|
+
resolveClassName: (cls: string) => string;
|
270
|
+
showClose: import("vue").Ref<boolean>;
|
271
|
+
visible: import("vue").Ref<boolean>;
|
272
|
+
internalValue: import("vue").Ref<any>;
|
273
|
+
disableClickOutSide: import("vue").Ref<boolean>;
|
274
|
+
disableCloseUnderTransfer: import("vue").Ref<boolean>;
|
275
|
+
selectionMode: import("vue").Ref<import("./interface").SelectionModeType>;
|
276
|
+
forceInputRerender: import("vue").Ref<number>;
|
277
|
+
isFocused: import("vue").Ref<boolean>;
|
278
|
+
focusedDate: import("vue").Ref<any>;
|
279
|
+
focusedTime: import("vue").Ref<{
|
280
|
+
column: number;
|
281
|
+
picker: number;
|
282
|
+
time: any;
|
283
|
+
active: boolean;
|
284
|
+
}>;
|
285
|
+
internalFocus: import("vue").Ref<boolean>;
|
286
|
+
timeEnterMode: import("vue").Ref<boolean>;
|
287
|
+
shortcut: import("vue").Ref<any>;
|
288
|
+
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
289
|
+
tmpValue: import("vue").Ref<any>;
|
290
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "input" | "clear" | "update:modelValue" | "pick-success" | "pick-first" | "open-change" | "shortcut-change")[], string, {
|
291
|
+
readonly type: import("./interface").PickerTypeType;
|
292
|
+
readonly disabled: boolean;
|
293
|
+
readonly placement: import("@popperjs/core").ComputedPlacement;
|
294
|
+
readonly options: Record<string, any>;
|
295
|
+
readonly fontSize: "medium" | "large" | "normal";
|
296
|
+
readonly open: boolean;
|
297
|
+
readonly multiple: boolean;
|
298
|
+
readonly placeholder: string;
|
299
|
+
readonly behavior: "normal" | "simplicity";
|
300
|
+
readonly clearable: boolean;
|
301
|
+
readonly readonly: boolean;
|
302
|
+
readonly withValidate: boolean;
|
303
|
+
readonly extPopoverCls: string;
|
304
|
+
readonly editable: boolean;
|
305
|
+
readonly timePickerOptions: {};
|
306
|
+
readonly splitPanels: boolean;
|
307
|
+
readonly appendToBody: boolean;
|
308
|
+
readonly shortcuts: import("./interface").DatePickerShortcutsType;
|
309
|
+
readonly shortcutClose: boolean;
|
310
|
+
readonly upToNow: boolean;
|
311
|
+
readonly useShortcutText: boolean;
|
312
|
+
readonly shortcutSelectedIndex: number;
|
313
|
+
readonly headerSlotCls: string;
|
314
|
+
readonly footerSlotCls: string;
|
315
|
+
readonly allowCrossDay: boolean;
|
316
|
+
}, {}, string, import("vue").SlotsType<{
|
317
|
+
header?: () => any;
|
318
|
+
trigger?: (displayValue: string) => any;
|
319
|
+
footer?: () => any;
|
320
|
+
shortcuts?: (arg?: {
|
321
|
+
change: Function;
|
322
|
+
}) => any;
|
323
|
+
confirm?: {};
|
324
|
+
}>> & {
|
325
|
+
beforeCreate?: (() => void) | (() => void)[];
|
326
|
+
created?: (() => void) | (() => void)[];
|
327
|
+
beforeMount?: (() => void) | (() => void)[];
|
328
|
+
mounted?: (() => void) | (() => void)[];
|
329
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
330
|
+
updated?: (() => void) | (() => void)[];
|
331
|
+
activated?: (() => void) | (() => void)[];
|
332
|
+
deactivated?: (() => void) | (() => void)[];
|
333
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
334
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
335
|
+
destroyed?: (() => void) | (() => void)[];
|
336
|
+
unmounted?: (() => void) | (() => void)[];
|
337
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
338
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
339
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
340
|
+
};
|
341
|
+
$forceUpdate: () => void;
|
342
|
+
$nextTick: typeof import("vue").nextTick;
|
343
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
344
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
354
345
|
readonly type: {
|
355
346
|
readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
|
356
347
|
readonly default: "date";
|
@@ -403,10 +394,6 @@ declare const BkDatePicker: {
|
|
403
394
|
readonly default: "bottom-start";
|
404
395
|
readonly validator: (value: any) => boolean;
|
405
396
|
};
|
406
|
-
readonly transfer: {
|
407
|
-
readonly type: BooleanConstructor;
|
408
|
-
readonly default: false;
|
409
|
-
};
|
410
397
|
readonly appendToBody: {
|
411
398
|
readonly type: BooleanConstructor;
|
412
399
|
readonly default: false;
|
@@ -468,6 +455,8 @@ declare const BkDatePicker: {
|
|
468
455
|
readonly default: true;
|
469
456
|
};
|
470
457
|
}>> & {
|
458
|
+
onFocus?: (...args: any[]) => any;
|
459
|
+
onBlur?: (...args: any[]) => any;
|
471
460
|
onChange?: (...args: any[]) => any;
|
472
461
|
onInput?: (...args: any[]) => any;
|
473
462
|
onClear?: (...args: any[]) => any;
|
@@ -476,7 +465,7 @@ declare const BkDatePicker: {
|
|
476
465
|
"onPick-first"?: (...args: any[]) => any;
|
477
466
|
"onOpen-change"?: (...args: any[]) => any;
|
478
467
|
"onShortcut-change"?: (...args: any[]) => any;
|
479
|
-
}
|
468
|
+
} & import("vue").ShallowUnwrapRef<{
|
480
469
|
panel: import("vue").ComputedRef<import("./interface").DatePickerPanelType>;
|
481
470
|
publicStringValue: import("vue").ComputedRef<any>;
|
482
471
|
opened: import("vue").ComputedRef<boolean>;
|
@@ -490,13 +479,12 @@ declare const BkDatePicker: {
|
|
490
479
|
fontSizeCls: import("vue").ComputedRef<string>;
|
491
480
|
longWidthCls: import("vue").ComputedRef<string>;
|
492
481
|
localReadonly: import("vue").ComputedRef<boolean>;
|
493
|
-
allowCrossDayProp: import("vue").ComputedRef<boolean>;
|
494
482
|
ownPickerProps: import("vue").ComputedRef<Record<string, any>>;
|
495
|
-
teleportTo:
|
496
|
-
pickerDropdownRef:
|
497
|
-
inputRef:
|
483
|
+
teleportTo: any;
|
484
|
+
pickerDropdownRef: any;
|
485
|
+
inputRef: any;
|
498
486
|
triggerRef: import("vue").Ref<HTMLElement>;
|
499
|
-
pickerPanelRef:
|
487
|
+
pickerPanelRef: any;
|
500
488
|
handleClose: (e?: Event) => boolean;
|
501
489
|
handleIconClick: () => void;
|
502
490
|
handleInputMouseenter: () => void;
|
@@ -532,34 +520,7 @@ declare const BkDatePicker: {
|
|
532
520
|
shortcut: import("vue").Ref<any>;
|
533
521
|
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
534
522
|
tmpValue: import("vue").Ref<any>;
|
535
|
-
}
|
536
|
-
readonly type: import("./interface").PickerTypeType;
|
537
|
-
readonly disabled: boolean;
|
538
|
-
readonly placement: import("@popperjs/core").ComputedPlacement;
|
539
|
-
readonly options: Record<string, any>;
|
540
|
-
readonly fontSize: "medium" | "large" | "normal";
|
541
|
-
readonly open: boolean;
|
542
|
-
readonly multiple: boolean;
|
543
|
-
readonly placeholder: string;
|
544
|
-
readonly transfer: boolean;
|
545
|
-
readonly behavior: "normal" | "simplicity";
|
546
|
-
readonly clearable: boolean;
|
547
|
-
readonly readonly: boolean;
|
548
|
-
readonly withValidate: boolean;
|
549
|
-
readonly extPopoverCls: string;
|
550
|
-
readonly editable: boolean;
|
551
|
-
readonly timePickerOptions: {};
|
552
|
-
readonly splitPanels: boolean;
|
553
|
-
readonly appendToBody: boolean;
|
554
|
-
readonly shortcuts: import("./interface").DatePickerShortcutsType;
|
555
|
-
readonly shortcutClose: boolean;
|
556
|
-
readonly upToNow: boolean;
|
557
|
-
readonly useShortcutText: boolean;
|
558
|
-
readonly shortcutSelectedIndex: number;
|
559
|
-
readonly headerSlotCls: string;
|
560
|
-
readonly footerSlotCls: string;
|
561
|
-
readonly allowCrossDay: boolean;
|
562
|
-
}>;
|
523
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
563
524
|
__isFragment?: never;
|
564
525
|
__isTeleport?: never;
|
565
526
|
__isSuspense?: never;
|
@@ -616,10 +577,6 @@ declare const BkDatePicker: {
|
|
616
577
|
readonly default: "bottom-start";
|
617
578
|
readonly validator: (value: any) => boolean;
|
618
579
|
};
|
619
|
-
readonly transfer: {
|
620
|
-
readonly type: BooleanConstructor;
|
621
|
-
readonly default: false;
|
622
|
-
};
|
623
580
|
readonly appendToBody: {
|
624
581
|
readonly type: BooleanConstructor;
|
625
582
|
readonly default: false;
|
@@ -681,6 +638,8 @@ declare const BkDatePicker: {
|
|
681
638
|
readonly default: true;
|
682
639
|
};
|
683
640
|
}>> & {
|
641
|
+
onFocus?: (...args: any[]) => any;
|
642
|
+
onBlur?: (...args: any[]) => any;
|
684
643
|
onChange?: (...args: any[]) => any;
|
685
644
|
onInput?: (...args: any[]) => any;
|
686
645
|
onClear?: (...args: any[]) => any;
|
@@ -703,13 +662,12 @@ declare const BkDatePicker: {
|
|
703
662
|
fontSizeCls: import("vue").ComputedRef<string>;
|
704
663
|
longWidthCls: import("vue").ComputedRef<string>;
|
705
664
|
localReadonly: import("vue").ComputedRef<boolean>;
|
706
|
-
allowCrossDayProp: import("vue").ComputedRef<boolean>;
|
707
665
|
ownPickerProps: import("vue").ComputedRef<Record<string, any>>;
|
708
|
-
teleportTo:
|
709
|
-
pickerDropdownRef:
|
710
|
-
inputRef:
|
666
|
+
teleportTo: any;
|
667
|
+
pickerDropdownRef: any;
|
668
|
+
inputRef: any;
|
711
669
|
triggerRef: import("vue").Ref<HTMLElement>;
|
712
|
-
pickerPanelRef:
|
670
|
+
pickerPanelRef: any;
|
713
671
|
handleClose: (e?: Event) => boolean;
|
714
672
|
handleIconClick: () => void;
|
715
673
|
handleInputMouseenter: () => void;
|
@@ -745,7 +703,7 @@ declare const BkDatePicker: {
|
|
745
703
|
shortcut: import("vue").Ref<any>;
|
746
704
|
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
747
705
|
tmpValue: import("vue").Ref<any>;
|
748
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "clear" | "update:modelValue" | "pick-success" | "pick-first" | "open-change" | "shortcut-change")[], "change" | "input" | "clear" | "update:modelValue" | "pick-success" | "pick-first" | "open-change" | "shortcut-change", {
|
706
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "input" | "clear" | "update:modelValue" | "pick-success" | "pick-first" | "open-change" | "shortcut-change")[], "blur" | "change" | "focus" | "input" | "clear" | "update:modelValue" | "pick-success" | "pick-first" | "open-change" | "shortcut-change", {
|
749
707
|
readonly type: import("./interface").PickerTypeType;
|
750
708
|
readonly disabled: boolean;
|
751
709
|
readonly placement: import("@popperjs/core").ComputedPlacement;
|
@@ -754,7 +712,6 @@ declare const BkDatePicker: {
|
|
754
712
|
readonly open: boolean;
|
755
713
|
readonly multiple: boolean;
|
756
714
|
readonly placeholder: string;
|
757
|
-
readonly transfer: boolean;
|
758
715
|
readonly behavior: "normal" | "simplicity";
|
759
716
|
readonly clearable: boolean;
|
760
717
|
readonly readonly: boolean;
|