bkui-vue 0.0.1-beta.23 → 0.0.1-beta.230
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +173 -0
- package/dist/index.esm.js +38108 -0
- package/dist/index.umd.js +173 -0
- package/dist/style.css +1 -5099
- 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 +122 -0
- package/lib/affix/index.d.ts +143 -0
- package/lib/affix/index.js +1 -0
- package/lib/alert/alert.css +5 -3
- package/lib/alert/alert.less +7 -3
- package/lib/alert/alert.variable.css +34 -6
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/index.js +1 -1
- package/lib/backtop/backtop.css +8 -0
- package/lib/backtop/backtop.d.ts +2 -2
- package/lib/backtop/backtop.less +8 -0
- package/lib/backtop/backtop.variable.css +37 -3
- package/lib/backtop/index.d.ts +7 -7
- package/lib/backtop/index.js +1 -10
- package/lib/badge/badge.css +5 -5
- package/lib/badge/badge.d.ts +28 -7
- package/lib/badge/badge.less +5 -6
- package/lib/badge/badge.variable.css +34 -8
- package/lib/badge/index.d.ts +68 -18
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb.css +51 -0
- package/lib/breadcrumb/breadcrumb.variable.css +80 -3
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button.css +87 -49
- package/lib/button/button.d.ts +28 -7
- package/lib/button/button.less +74 -41
- package/lib/button/button.variable.css +116 -52
- package/lib/button/index.d.ts +45 -12
- package/lib/button/index.js +1 -1
- package/lib/card/card.css +96 -1
- package/lib/card/card.d.ts +47 -6
- package/lib/card/card.less +50 -2
- package/lib/card/card.variable.css +125 -4
- package/lib/card/index.d.ts +113 -17
- 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 +292 -0
- package/lib/cascader/index.d.ts +868 -0
- package/lib/cascader/index.js +1 -0
- package/lib/cascader/interface.d.ts +51 -0
- package/lib/cascader/node.d.ts +31 -0
- package/lib/cascader/store.d.ts +23 -0
- package/lib/checkbox/checkbox-group.d.ts +16 -0
- package/lib/checkbox/checkbox.css +38 -6
- package/lib/checkbox/checkbox.d.ts +16 -14
- package/lib/checkbox/checkbox.less +48 -6
- package/lib/checkbox/checkbox.variable.css +67 -9
- package/lib/checkbox/common.d.ts +3 -3
- package/lib/checkbox/index.d.ts +40 -23
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +2 -6
- package/lib/code-diff/code-diff.css +72 -1
- package/lib/code-diff/code-diff.d.ts +10 -1
- package/lib/code-diff/code-diff.less +94 -1
- package/lib/code-diff/code-diff.variable.css +101 -4
- package/lib/code-diff/index.d.ts +151 -3
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse-panel.d.ts +72 -0
- package/lib/collapse/collapse.css +28 -12
- package/lib/collapse/collapse.d.ts +11 -52
- package/lib/collapse/collapse.less +54 -29
- package/lib/collapse/collapse.variable.css +147 -12
- package/lib/collapse/index.d.ts +113 -16
- package/lib/collapse/index.js +1 -1
- package/lib/collapse/props.d.ts +121 -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 +394 -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 +28 -7
- 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 +210 -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 +102 -0
- package/lib/date-picker/base/picker-dropdown.d.ts +73 -0
- package/lib/date-picker/base/time-spinner.d.ts +153 -0
- package/lib/date-picker/date-picker.css +18 -2
- package/lib/date-picker/date-picker.d.ts +40 -13
- package/lib/date-picker/date-picker.less +23 -2
- package/lib/date-picker/date-picker.variable.css +47 -5
- package/lib/date-picker/index.d.ts +100 -39
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/interface.d.ts +9 -0
- package/lib/date-picker/panel/date-range.d.ts +452 -0
- package/lib/date-picker/panel/date.d.ts +550 -0
- package/lib/date-picker/panel/time.d.ts +450 -0
- package/lib/date-picker/props.d.ts +51 -1
- package/lib/date-picker/time-picker.d.ts +381 -0
- package/lib/date-picker/utils.d.ts +22 -1
- package/lib/dialog/dialog.css +144 -22
- package/lib/dialog/dialog.d.ts +275 -58
- package/lib/dialog/dialog.less +97 -23
- package/lib/dialog/dialog.variable.css +144 -22
- package/lib/dialog/index.d.ts +607 -130
- package/lib/dialog/index.js +1 -1
- package/lib/dialog/props.d.ts +138 -0
- package/lib/directives/ellipsis.d.ts +7 -0
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/index.js +2 -15
- package/lib/directives/index.js.LICENSE.txt +14 -0
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +1 -0
- package/lib/divider/divider.d.ts +1 -1
- package/lib/divider/divider.variable.css +29 -3
- package/lib/divider/index.d.ts +4 -4
- package/lib/divider/index.js +1 -1
- package/lib/divider/props.d.ts +21 -0
- package/lib/dropdown/const.d.ts +4 -0
- package/lib/dropdown/dropdown.css +13 -7
- package/lib/dropdown/dropdown.d.ts +34 -3
- package/lib/dropdown/dropdown.less +47 -34
- package/lib/dropdown/dropdown.variable.css +42 -10
- package/lib/dropdown/index.d.ts +71 -10
- package/lib/dropdown/index.js +1 -1
- package/lib/exception/exception.css +40 -14
- package/lib/exception/exception.d.ts +10 -3
- package/lib/exception/exception.less +59 -22
- package/lib/exception/exception.variable.css +69 -17
- package/lib/exception/index.d.ts +23 -8
- package/lib/exception/index.js +1 -1
- package/lib/exception/typings/index.d.ts +4 -0
- package/lib/fixed-navbar/fixed-navbar.d.ts +16 -2
- package/lib/fixed-navbar/fixed-navbar.variable.css +29 -3
- package/lib/fixed-navbar/index.d.ts +40 -5
- 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 +16 -5
- package/lib/form/form.css +96 -12
- package/lib/form/form.d.ts +28 -11
- package/lib/form/form.less +144 -45
- package/lib/form/form.variable.css +215 -12
- package/lib/form/index.d.ts +88 -30
- package/lib/form/index.js +1 -1
- package/lib/form/type.d.ts +8 -6
- package/lib/form/validator.d.ts +1 -0
- package/lib/icon/angle-double-down-line.js +1 -15
- package/lib/icon/angle-double-left-line.js +1 -15
- package/lib/icon/angle-double-left.js +1 -15
- package/lib/icon/angle-double-right-line.js +1 -15
- package/lib/icon/angle-double-right.js +1 -15
- package/lib/icon/angle-double-up-line.js +1 -15
- package/lib/icon/angle-down-fill.js +1 -15
- package/lib/icon/angle-down-line.js +1 -15
- package/lib/icon/angle-down.js +1 -15
- package/lib/icon/angle-left.js +1 -15
- package/lib/icon/angle-right.js +1 -15
- package/lib/icon/angle-up-fill.js +1 -15
- package/lib/icon/angle-up.js +1 -15
- package/lib/icon/archive-fill.d.ts +4 -0
- package/lib/icon/archive-fill.js +1 -0
- package/lib/icon/arrows-left.js +1 -15
- package/lib/icon/arrows-right.js +1 -15
- package/lib/icon/audio-fill.d.ts +4 -0
- package/lib/icon/audio-fill.js +1 -0
- package/lib/icon/bk.js +1 -15
- package/lib/icon/circle.js +1 -15
- package/lib/icon/close-line.d.ts +4 -0
- package/lib/icon/close-line.js +1 -0
- package/lib/icon/close.js +1 -15
- package/lib/icon/code.js +1 -15
- package/lib/icon/cog-shape.js +1 -15
- package/lib/icon/collapse-left.js +1 -15
- package/lib/icon/copy.js +1 -15
- package/lib/icon/data-shape.d.ts +4 -0
- package/lib/icon/data-shape.js +1 -0
- package/lib/icon/del.d.ts +4 -0
- package/lib/icon/del.js +1 -0
- package/lib/icon/doc-fill.d.ts +4 -0
- package/lib/icon/doc-fill.js +1 -0
- package/lib/icon/done.js +1 -15
- package/lib/icon/down-shape.js +1 -15
- package/lib/icon/down-small.js +1 -15
- package/lib/icon/edit-line.d.ts +4 -0
- package/lib/icon/edit-line.js +1 -0
- package/lib/icon/ellipsis.js +1 -15
- package/lib/icon/enlarge-line.d.ts +4 -0
- package/lib/icon/enlarge-line.js +1 -0
- package/lib/icon/error.js +1 -15
- package/lib/icon/excel-fill.d.ts +4 -0
- package/lib/icon/excel-fill.js +1 -0
- package/lib/icon/exclamation-circle-shape.d.ts +4 -0
- package/lib/icon/exclamation-circle-shape.js +1 -0
- package/lib/icon/eye.js +1 -15
- package/lib/icon/filliscreen-line.d.ts +4 -0
- package/lib/icon/filliscreen-line.js +1 -0
- package/lib/icon/folder-open.js +1 -15
- package/lib/icon/folder-shape-open.js +1 -15
- package/lib/icon/folder-shape.js +1 -15
- package/lib/icon/folder.js +1 -15
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/funnel.js +1 -0
- package/lib/icon/help-document-fill.js +1 -15
- package/lib/icon/help-fill.js +1 -15
- package/lib/icon/help.js +1 -15
- package/lib/icon/image-fill.d.ts +4 -0
- package/lib/icon/img-error.d.ts +4 -0
- package/lib/icon/img-error.js +1 -0
- package/lib/icon/img-placehoulder.d.ts +4 -0
- package/lib/icon/img-placehoulder.js +1 -0
- package/lib/icon/index.d.ts +27 -1
- package/lib/icon/index.js +1 -15
- package/lib/icon/info-line.js +1 -15
- package/lib/icon/info.js +1 -15
- package/lib/icon/left-shape.js +1 -15
- package/lib/icon/left-turn-line.d.ts +4 -0
- package/lib/icon/left-turn-line.js +1 -0
- package/lib/icon/narrow-line.d.ts +4 -0
- package/lib/icon/narrow-line.js +1 -0
- package/lib/icon/original .d.ts +4 -0
- package/lib/icon/original .js +1 -0
- package/lib/icon/pdf-fill.d.ts +4 -0
- package/lib/icon/pdf-fill.js +1 -0
- package/lib/icon/play-shape.js +1 -15
- package/lib/icon/plus.js +1 -15
- package/lib/icon/ppt-fill.d.ts +4 -0
- package/lib/icon/ppt-fill.js +1 -0
- package/lib/icon/qq.js +1 -15
- package/lib/icon/right-shape.js +1 -15
- package/lib/icon/right-turn-line.d.ts +4 -0
- package/lib/icon/right-turn-line.js +1 -0
- package/lib/icon/search.js +1 -15
- package/lib/icon/share.js +1 -15
- package/lib/icon/spinner.js +1 -15
- package/lib/icon/success.js +1 -15
- package/lib/icon/switcher-loading.js +1 -15
- package/lib/icon/text-file.js +1 -15
- package/lib/icon/text-fill.d.ts +4 -0
- package/lib/icon/text-fill.js +1 -0
- package/lib/icon/transfer.d.ts +4 -0
- package/lib/icon/transfer.js +1 -0
- package/lib/icon/tree-application-shape.js +1 -15
- package/lib/icon/unfull-screen.d.ts +4 -0
- package/lib/icon/unfull-screen.js +1 -0
- package/lib/icon/unvisible.js +1 -15
- package/lib/icon/up-shape.js +1 -15
- package/lib/icon/upload.d.ts +4 -0
- package/lib/icon/upload.js +1 -0
- package/lib/icon/video-fill.d.ts +4 -0
- package/lib/icon/video-fill.js +1 -0
- package/lib/icon/warn.js +1 -15
- package/lib/icon/weixin.js +1 -15
- package/lib/image/image-viewer.css +142 -0
- package/lib/image/image-viewer.d.ts +73 -0
- package/lib/image/image-viewer.less +168 -0
- package/lib/image/image-viewer.variable.css +142 -0
- package/lib/image/image.css +37 -0
- package/lib/image/image.d.ts +93 -0
- package/lib/image/image.less +44 -0
- package/lib/image/image.variable.css +37 -0
- package/lib/image/index.d.ts +246 -0
- package/lib/image/index.js +1 -0
- package/lib/image/props.d.ts +71 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -0
- package/lib/info-box/index.d.ts +6 -0
- package/lib/info-box/index.js +1 -0
- package/lib/info-box/info-box.css +37 -0
- package/lib/info-box/info-box.d.ts +26 -0
- package/lib/info-box/info-box.less +50 -0
- package/lib/info-box/info-box.variable.css +37 -0
- package/lib/input/index.d.ts +171 -60
- package/lib/input/index.js +1 -15
- package/lib/input/input.css +216 -18
- package/lib/input/input.d.ts +116 -16
- package/lib/input/input.less +157 -17
- package/lib/input/input.variable.css +242 -17
- package/lib/link/index.d.ts +4 -4
- package/lib/link/index.js +1 -1
- package/lib/link/link.css +12 -12
- package/lib/link/link.d.ts +1 -1
- package/lib/link/link.less +16 -14
- package/lib/link/link.variable.css +41 -15
- package/lib/loading/index.d.ts +107 -13
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +83 -31
- package/lib/loading/loading.d.ts +74 -5
- package/lib/loading/loading.less +28 -30
- package/lib/loading/loading.variable.css +112 -34
- package/lib/menu/index.d.ts +16 -24
- package/lib/menu/index.js +1 -1
- package/lib/menu/menu.css +51 -0
- package/lib/menu/menu.d.ts +7 -16
- package/lib/menu/menu.variable.css +80 -3
- package/lib/menu/submenu.variable.css +29 -3
- package/lib/message/index.js +1 -1
- package/lib/message/message.css +24 -3
- package/lib/message/message.less +27 -2
- package/lib/message/message.variable.css +53 -6
- package/lib/message/messageConstructor.d.ts +43 -7
- package/lib/modal/index.d.ts +508 -78
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +63 -1
- package/lib/modal/modal.d.ts +194 -30
- package/lib/modal/modal.less +36 -1
- package/lib/modal/modal.variable.css +63 -1
- package/lib/modal/props.mixin.d.ts +82 -13
- package/lib/navigation/index.d.ts +310 -1
- package/lib/navigation/index.js +1 -1
- package/lib/navigation/navigation.css +1 -1
- package/lib/navigation/navigation.d.ts +10 -1
- package/lib/navigation/navigation.less +1 -1
- package/lib/navigation/navigation.variable.css +30 -4
- package/lib/notify/index.js +1 -1
- package/lib/notify/notify.css +24 -4
- package/lib/notify/notify.less +27 -4
- package/lib/notify/notify.variable.css +53 -7
- package/lib/notify/notifyConstructor.d.ts +51 -7
- package/lib/pagination/index.d.ts +38 -23
- package/lib/pagination/index.js +1 -1
- package/lib/pagination/pagination.css +54 -28
- package/lib/pagination/pagination.d.ts +17 -7
- package/lib/pagination/pagination.less +58 -31
- package/lib/pagination/pagination.variable.css +83 -31
- package/lib/pagination/type.d.ts +1 -1
- package/lib/plugin-popover/index.d.ts +27 -0
- package/lib/plugin-popover/index.js +1 -0
- package/lib/plugins/index.d.ts +1 -0
- package/lib/plugins/index.js +1 -0
- package/lib/popover/index.d.ts +146 -21
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +3 -0
- package/lib/popover/popover.d.ts +67 -8
- package/lib/popover/popover.less +2 -0
- package/lib/popover/popover.variable.css +32 -3
- package/lib/popover/props.d.ts +34 -2
- package/lib/popover2/arrow.d.ts +2 -0
- package/lib/popover2/const.d.ts +16 -0
- package/lib/popover2/content.d.ts +24 -0
- package/lib/popover2/index.d.ts +545 -0
- package/lib/popover2/index.js +1 -0
- package/lib/popover2/plugin-popover.d.ts +12 -0
- package/lib/popover2/popover2.css +25 -0
- package/lib/popover2/popover2.d.ts +228 -0
- package/lib/popover2/popover2.less +35 -0
- package/lib/popover2/popover2.variable.css +144 -0
- package/lib/popover2/props.d.ts +118 -0
- package/lib/popover2/reference.d.ts +2 -0
- package/lib/popover2/root.d.ts +16 -0
- package/lib/popover2/use-floating.d.ts +31 -0
- package/lib/popover2/use-platform.d.ts +30 -0
- package/lib/popover2/use-popover-init.d.ts +22 -0
- package/lib/popover2/use-popper-id.d.ts +6 -0
- package/lib/popover2/utils.d.ts +2 -0
- package/lib/preset.js +1 -0
- package/lib/process/index.d.ts +9 -9
- package/lib/process/index.js +1 -15
- package/lib/process/process.css +13 -0
- package/lib/process/process.d.ts +2 -2
- package/lib/process/process.less +17 -0
- package/lib/process/process.variable.css +42 -3
- package/lib/progress/index.d.ts +10 -10
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +51 -0
- package/lib/progress/progress.d.ts +3 -3
- package/lib/progress/progress.variable.css +80 -3
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +29 -18
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +7 -8
- package/lib/radio/radio-group.d.ts +16 -0
- package/lib/radio/radio.css +61 -56
- package/lib/radio/radio.d.ts +4 -4
- package/lib/radio/radio.less +181 -172
- package/lib/radio/radio.variable.css +93 -62
- package/lib/radio/type.d.ts +9 -4
- package/lib/rate/index.d.ts +24 -1
- package/lib/rate/index.js +1 -1
- package/lib/rate/rate.d.ts +11 -0
- package/lib/rate/star.d.ts +1 -1
- 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 +296 -0
- package/lib/search-select/index.d.ts +681 -0
- package/lib/search-select/index.js +1 -0
- package/lib/search-select/input.d.ts +85 -0
- package/lib/search-select/menu.d.ts +83 -0
- package/lib/search-select/search-select.css +423 -0
- package/lib/search-select/search-select.d.ts +273 -0
- package/lib/search-select/search-select.less +375 -0
- package/lib/search-select/search-select.variable.css +542 -0
- package/lib/search-select/selected.d.ts +137 -0
- package/lib/search-select/utils.d.ts +79 -0
- package/lib/select/common.d.ts +20 -31
- package/lib/select/index.d.ts +1422 -451
- package/lib/select/index.js +1 -15
- package/lib/select/option.d.ts +16 -4
- package/lib/select/optionGroup.d.ts +1 -77
- package/lib/select/select.css +265 -80
- package/lib/select/select.d.ts +553 -126
- package/lib/select/select.less +366 -185
- package/lib/select/select.variable.css +295 -84
- 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} +0 -0
- package/lib/shared/hooks/use-form-item.d.ts +2 -0
- package/lib/shared/hooks/use-form.d.ts +2 -0
- package/lib/shared/index.d.ts +27 -4
- package/lib/shared/index.js +1 -1
- package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +6 -2
- package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +8 -4
- package/lib/shared/{bk-popover.d.ts → popover.d.ts} +6 -2
- package/lib/shared/token.d.ts +4 -0
- package/lib/shared/utils.d.ts +13 -0
- package/lib/shared/vue-types.d.ts +4 -0
- package/lib/sideslider/index.d.ts +391 -76
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.css +55 -10
- package/lib/sideslider/sideslider.d.ts +181 -33
- package/lib/sideslider/sideslider.less +72 -13
- package/lib/sideslider/sideslider.variable.css +84 -13
- package/lib/slider/index.d.ts +414 -1
- package/lib/slider/index.js +1 -15
- package/lib/slider/slider-button.d.ts +5 -0
- package/lib/slider/slider.d.ts +14 -2
- package/lib/slider/slider.variable.css +29 -3
- package/lib/steps/index.d.ts +4 -4
- package/lib/steps/index.js +1 -15
- package/lib/steps/steps.css +14 -3
- package/lib/steps/steps.d.ts +1 -1
- package/lib/steps/steps.less +23 -3
- package/lib/steps/steps.variable.css +43 -6
- package/lib/styles/index.d.ts +12 -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/scroll.css +17 -0
- package/lib/styles/mixins/scroll.less +22 -0
- package/lib/styles/mixins/scroll.variable.css +136 -0
- package/lib/styles/reset.css +36 -0
- package/lib/styles/reset.less +26 -0
- package/lib/styles/reset.variable.css +36 -0
- package/lib/styles/themes/themes.less +38 -3
- 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 +34 -11
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +57 -6
- package/lib/switcher/switcher.d.ts +15 -4
- package/lib/switcher/switcher.less +5 -26
- package/lib/switcher/switcher.variable.css +86 -9
- package/lib/tab/index.d.ts +107 -219
- package/lib/tab/index.js +1 -1
- package/lib/tab/props.d.ts +194 -0
- package/lib/tab/tab-nav.d.ts +66 -87
- package/lib/tab/tab-panel.d.ts +40 -15
- package/lib/tab/tab.css +25 -1
- package/lib/tab/tab.d.ts +17 -41
- package/lib/tab/tab.less +31 -19
- package/lib/tab/tab.variable.css +54 -4
- 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 +142 -0
- package/lib/table/components/table-row.d.ts +2 -0
- package/lib/table/const.d.ts +108 -1
- package/lib/table/index.d.ts +781 -27
- package/lib/table/index.js +1 -10
- 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 +71 -0
- package/lib/table/plugins/head-filter.d.ts +26 -0
- package/lib/table/plugins/head-filter.less +92 -0
- package/lib/table/plugins/head-filter.variable.css +190 -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 +144 -0
- package/lib/table/plugins/index.d.ts +5 -0
- package/lib/table/plugins/settings.css +129 -0
- package/lib/table/plugins/settings.d.ts +37 -0
- package/lib/table/plugins/settings.less +157 -0
- package/lib/table/plugins/settings.variable.css +248 -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 +282 -7
- package/lib/table/render.d.ts +53 -6
- package/lib/table/table.css +1143 -17
- package/lib/table/table.d.ts +196 -13
- package/lib/table/table.less +237 -25
- package/lib/table/table.variable.css +1182 -30
- package/lib/table/use-column.d.ts +11 -0
- package/lib/table/use-common.d.ts +97 -0
- package/lib/table/utils.d.ts +65 -9
- package/lib/table-column/index.d.ts +336 -0
- package/lib/table-column/index.js +1 -0
- package/lib/tag/index.d.ts +7 -7
- package/lib/tag/index.js +1 -1
- package/lib/tag/tag.css +57 -18
- package/lib/tag/tag.d.ts +2 -2
- package/lib/tag/tag.less +58 -15
- package/lib/tag/tag.variable.css +86 -21
- package/lib/tag-input/common.d.ts +36 -0
- package/lib/tag-input/index.d.ts +1211 -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 +209 -0
- package/lib/tag-input/tag-input.d.ts +536 -0
- package/lib/tag-input/tag-input.less +251 -0
- package/lib/tag-input/tag-input.variable.css +328 -0
- package/lib/tag-input/tag-props.d.ts +216 -0
- package/lib/tag-input/tag-render.d.ts +35 -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 +334 -0
- package/lib/timeline/index.d.ts +6 -6
- package/lib/timeline/index.js +1 -1
- package/lib/timeline/timeline.css +5 -5
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/timeline/timeline.less +6 -5
- package/lib/timeline/timeline.variable.css +34 -8
- package/lib/transfer/const.d.ts +5 -0
- package/lib/transfer/index.d.ts +339 -1
- package/lib/transfer/index.js +1 -1
- package/lib/transfer/props.d.ts +54 -0
- package/lib/transfer/transfer.css +89 -86
- package/lib/transfer/transfer.d.ts +70 -95
- package/lib/transfer/transfer.less +93 -113
- package/lib/transfer/transfer.variable.css +123 -94
- package/lib/tree/constant.d.ts +57 -0
- package/lib/tree/index.d.ts +419 -48
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +124 -0
- package/lib/tree/tree.css +183 -11
- package/lib/tree/tree.d.ts +194 -23
- package/lib/tree/tree.less +72 -10
- package/lib/tree/tree.variable.css +302 -11
- 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 +5 -7
- package/lib/upload/index.d.ts +566 -0
- package/lib/upload/index.js +1 -0
- package/lib/upload/props.d.ts +111 -0
- package/lib/upload/upload-list.d.ts +47 -0
- package/lib/upload/upload-trigger.d.ts +51 -0
- package/lib/upload/upload.css +425 -0
- package/lib/upload/upload.d.ts +246 -0
- package/lib/upload/upload.less +464 -0
- package/lib/upload/upload.type.d.ts +78 -0
- package/lib/upload/upload.variable.css +544 -0
- package/lib/upload/use-ajax-upload.d.ts +3 -0
- package/lib/upload/use-file-handler.d.ts +44 -0
- package/lib/virtual-render/index.d.ts +27 -4
- package/lib/virtual-render/index.js +1 -10
- package/lib/virtual-render/props.d.ts +10 -0
- package/lib/virtual-render/use-tag-render.d.ts +7 -0
- package/lib/virtual-render/v-virtual-render.d.ts +0 -1
- package/lib/virtual-render/virtual-render.css +17 -24
- package/lib/virtual-render/virtual-render.d.ts +14 -3
- package/lib/virtual-render/virtual-render.less +2 -31
- package/lib/virtual-render/virtual-render.variable.css +136 -24
- package/lib/volar.components.d.ts +101 -0
- package/package.json +59 -46
- package/README_EN.md +0 -93
- package/dist/bkui-vue.cjs.js +0 -18938
- package/dist/bkui-vue.esm.js +0 -18887
- package/dist/bkui-vue.umd.js +0 -18941
- package/lib/form/common.d.ts +0 -3
- package/lib/icon/icon.js +0 -15
- package/lib/styles/index.js +0 -1
- package/lib/use-form.d.ts +0 -3
@@ -1,32 +1,35 @@
|
|
1
|
+
import TimePicker from './time-picker';
|
1
2
|
declare const BkDatePicker: {
|
2
3
|
new (...args: any[]): {
|
3
4
|
$: import("vue").ComponentInternalInstance;
|
4
5
|
$data: {};
|
5
6
|
$props: Partial<{
|
6
|
-
type: import("./interface").PickerTypeType;
|
7
|
-
placeholder: string;
|
8
7
|
placement: import("@popperjs/core").ComputedPlacement;
|
9
8
|
options: Record<string, any>;
|
9
|
+
type: import("./interface").PickerTypeType;
|
10
|
+
disabled: boolean;
|
11
|
+
placeholder: string;
|
12
|
+
transfer: boolean;
|
10
13
|
fontSize: "large" | "normal" | "medium";
|
11
14
|
open: boolean;
|
12
15
|
multiple: boolean;
|
13
|
-
|
14
|
-
extPopoverCls: string;
|
16
|
+
clearable: boolean;
|
15
17
|
readonly: boolean;
|
18
|
+
behavior: "normal" | "simplicity";
|
19
|
+
withValidate: boolean;
|
20
|
+
extPopoverCls: string;
|
16
21
|
editable: boolean;
|
17
|
-
clearable: boolean;
|
18
22
|
timePickerOptions: {};
|
19
23
|
splitPanels: boolean;
|
20
|
-
transfer: boolean;
|
21
24
|
appendToBody: boolean;
|
22
25
|
shortcuts: import("./interface").DatePickerShortcutsType;
|
23
26
|
shortcutClose: boolean;
|
24
27
|
upToNow: boolean;
|
25
28
|
useShortcutText: boolean;
|
26
29
|
shortcutSelectedIndex: number;
|
30
|
+
headerSlotCls: string;
|
27
31
|
footerSlotCls: string;
|
28
32
|
allowCrossDay: boolean;
|
29
|
-
behavior: "normal" | "simplicity";
|
30
33
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
31
34
|
readonly type: {
|
32
35
|
readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
|
@@ -55,7 +58,7 @@ declare const BkDatePicker: {
|
|
55
58
|
readonly default: true;
|
56
59
|
};
|
57
60
|
readonly open: {
|
58
|
-
readonly type:
|
61
|
+
readonly type: () => boolean;
|
59
62
|
readonly default: any;
|
60
63
|
};
|
61
64
|
readonly multiple: {
|
@@ -99,6 +102,9 @@ declare const BkDatePicker: {
|
|
99
102
|
readonly modelValue: {
|
100
103
|
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
101
104
|
};
|
105
|
+
readonly value: {
|
106
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
107
|
+
};
|
102
108
|
readonly options: {
|
103
109
|
readonly type: ObjectConstructor;
|
104
110
|
readonly default: () => {};
|
@@ -119,6 +125,10 @@ declare const BkDatePicker: {
|
|
119
125
|
readonly type: NumberConstructor;
|
120
126
|
readonly default: -1;
|
121
127
|
};
|
128
|
+
readonly headerSlotCls: {
|
129
|
+
readonly type: StringConstructor;
|
130
|
+
readonly default: "";
|
131
|
+
};
|
122
132
|
readonly footerSlotCls: {
|
123
133
|
readonly type: StringConstructor;
|
124
134
|
readonly default: "";
|
@@ -133,15 +143,19 @@ declare const BkDatePicker: {
|
|
133
143
|
readonly validator: (v: any) => boolean;
|
134
144
|
};
|
135
145
|
readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
|
146
|
+
readonly withValidate: {
|
147
|
+
readonly type: BooleanConstructor;
|
148
|
+
readonly default: true;
|
149
|
+
};
|
136
150
|
}>> & {
|
137
151
|
onChange?: (...args: any[]) => any;
|
138
152
|
onInput?: (...args: any[]) => any;
|
139
153
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
140
|
-
"onPick-success"?: (...args: any[]) => any;
|
141
154
|
onClear?: (...args: any[]) => any;
|
155
|
+
"onPick-success"?: (...args: any[]) => any;
|
142
156
|
"onOpen-change"?: (...args: any[]) => any;
|
143
157
|
"onShortcut-change"?: (...args: any[]) => any;
|
144
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "
|
158
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "options" | "type" | "disabled" | "placeholder" | "transfer" | "fontSize" | "open" | "multiple" | "clearable" | "readonly" | "behavior" | "withValidate" | "extPopoverCls" | "editable" | "timePickerOptions" | "splitPanels" | "appendToBody" | "shortcuts" | "shortcutClose" | "upToNow" | "useShortcutText" | "shortcutSelectedIndex" | "headerSlotCls" | "footerSlotCls" | "allowCrossDay">;
|
145
159
|
$attrs: {
|
146
160
|
[x: string]: unknown;
|
147
161
|
};
|
@@ -183,7 +197,7 @@ declare const BkDatePicker: {
|
|
183
197
|
readonly default: true;
|
184
198
|
};
|
185
199
|
readonly open: {
|
186
|
-
readonly type:
|
200
|
+
readonly type: () => boolean;
|
187
201
|
readonly default: any;
|
188
202
|
};
|
189
203
|
readonly multiple: {
|
@@ -227,6 +241,9 @@ declare const BkDatePicker: {
|
|
227
241
|
readonly modelValue: {
|
228
242
|
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
229
243
|
};
|
244
|
+
readonly value: {
|
245
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
246
|
+
};
|
230
247
|
readonly options: {
|
231
248
|
readonly type: ObjectConstructor;
|
232
249
|
readonly default: () => {};
|
@@ -247,6 +264,10 @@ declare const BkDatePicker: {
|
|
247
264
|
readonly type: NumberConstructor;
|
248
265
|
readonly default: -1;
|
249
266
|
};
|
267
|
+
readonly headerSlotCls: {
|
268
|
+
readonly type: StringConstructor;
|
269
|
+
readonly default: "";
|
270
|
+
};
|
250
271
|
readonly footerSlotCls: {
|
251
272
|
readonly type: StringConstructor;
|
252
273
|
readonly default: "";
|
@@ -261,12 +282,16 @@ declare const BkDatePicker: {
|
|
261
282
|
readonly validator: (v: any) => boolean;
|
262
283
|
};
|
263
284
|
readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
|
285
|
+
readonly withValidate: {
|
286
|
+
readonly type: BooleanConstructor;
|
287
|
+
readonly default: true;
|
288
|
+
};
|
264
289
|
}>> & {
|
265
290
|
onChange?: (...args: any[]) => any;
|
266
291
|
onInput?: (...args: any[]) => any;
|
267
292
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
268
|
-
"onPick-success"?: (...args: any[]) => any;
|
269
293
|
onClear?: (...args: any[]) => any;
|
294
|
+
"onPick-success"?: (...args: any[]) => any;
|
270
295
|
"onOpen-change"?: (...args: any[]) => any;
|
271
296
|
"onShortcut-change"?: (...args: any[]) => any;
|
272
297
|
}, {
|
@@ -276,11 +301,14 @@ declare const BkDatePicker: {
|
|
276
301
|
visualValue: import("vue").ComputedRef<any>;
|
277
302
|
displayValue: import("vue").ComputedRef<any>;
|
278
303
|
isConfirm: import("vue").ComputedRef<boolean>;
|
304
|
+
hasHeader: import("vue").ComputedRef<boolean>;
|
305
|
+
hasFooter: import("vue").ComputedRef<boolean>;
|
306
|
+
hasShortcuts: import("vue").ComputedRef<boolean>;
|
279
307
|
fontSizeCls: import("vue").ComputedRef<string>;
|
280
308
|
longWidthCls: import("vue").ComputedRef<string>;
|
281
309
|
localReadonly: import("vue").ComputedRef<boolean>;
|
282
|
-
hasFooter: import("vue").ComputedRef<boolean>;
|
283
310
|
allowCrossDayProp: import("vue").ComputedRef<boolean>;
|
311
|
+
ownPickerProps: import("vue").ComputedRef<Record<string, any>>;
|
284
312
|
pickerDropdownRef: any;
|
285
313
|
inputRef: any;
|
286
314
|
triggerRef: import("vue").Ref<HTMLElement>;
|
@@ -288,14 +316,14 @@ declare const BkDatePicker: {
|
|
288
316
|
handleClose: (e?: Event) => boolean;
|
289
317
|
handleIconClick: () => void;
|
290
318
|
handleInputMouseenter: () => void;
|
291
|
-
handleInputMouseleave: (
|
319
|
+
handleInputMouseleave: (_e: any) => void;
|
292
320
|
handleFocus: (e: any) => void;
|
293
321
|
handleBlur: (e: any) => void;
|
294
322
|
handleKeydown: (e: KeyboardEvent) => void;
|
295
323
|
handleInputChange: (e: any) => void;
|
296
324
|
handleClear: () => void;
|
297
|
-
handleTransferClick: () => void;
|
298
325
|
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
326
|
+
onPickSuccess: () => void;
|
299
327
|
showClose: import("vue").Ref<boolean>;
|
300
328
|
visible: import("vue").Ref<boolean>;
|
301
329
|
internalValue: import("vue").Ref<any>;
|
@@ -316,30 +344,32 @@ declare const BkDatePicker: {
|
|
316
344
|
shortcut: import("vue").Ref<any>;
|
317
345
|
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
318
346
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], string, {
|
319
|
-
type: import("./interface").PickerTypeType;
|
320
|
-
placeholder: string;
|
321
347
|
placement: import("@popperjs/core").ComputedPlacement;
|
322
348
|
options: Record<string, any>;
|
349
|
+
type: import("./interface").PickerTypeType;
|
350
|
+
disabled: boolean;
|
351
|
+
placeholder: string;
|
352
|
+
transfer: boolean;
|
323
353
|
fontSize: "large" | "normal" | "medium";
|
324
354
|
open: boolean;
|
325
355
|
multiple: boolean;
|
326
|
-
|
327
|
-
extPopoverCls: string;
|
356
|
+
clearable: boolean;
|
328
357
|
readonly: boolean;
|
358
|
+
behavior: "normal" | "simplicity";
|
359
|
+
withValidate: boolean;
|
360
|
+
extPopoverCls: string;
|
329
361
|
editable: boolean;
|
330
|
-
clearable: boolean;
|
331
362
|
timePickerOptions: {};
|
332
363
|
splitPanels: boolean;
|
333
|
-
transfer: boolean;
|
334
364
|
appendToBody: boolean;
|
335
365
|
shortcuts: import("./interface").DatePickerShortcutsType;
|
336
366
|
shortcutClose: boolean;
|
337
367
|
upToNow: boolean;
|
338
368
|
useShortcutText: boolean;
|
339
369
|
shortcutSelectedIndex: number;
|
370
|
+
headerSlotCls: string;
|
340
371
|
footerSlotCls: string;
|
341
372
|
allowCrossDay: boolean;
|
342
|
-
behavior: "normal" | "simplicity";
|
343
373
|
}> & {
|
344
374
|
beforeCreate?: (() => void) | (() => void)[];
|
345
375
|
created?: (() => void) | (() => void)[];
|
@@ -388,7 +418,7 @@ declare const BkDatePicker: {
|
|
388
418
|
readonly default: true;
|
389
419
|
};
|
390
420
|
readonly open: {
|
391
|
-
readonly type:
|
421
|
+
readonly type: () => boolean;
|
392
422
|
readonly default: any;
|
393
423
|
};
|
394
424
|
readonly multiple: {
|
@@ -432,6 +462,9 @@ declare const BkDatePicker: {
|
|
432
462
|
readonly modelValue: {
|
433
463
|
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
434
464
|
};
|
465
|
+
readonly value: {
|
466
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
467
|
+
};
|
435
468
|
readonly options: {
|
436
469
|
readonly type: ObjectConstructor;
|
437
470
|
readonly default: () => {};
|
@@ -452,6 +485,10 @@ declare const BkDatePicker: {
|
|
452
485
|
readonly type: NumberConstructor;
|
453
486
|
readonly default: -1;
|
454
487
|
};
|
488
|
+
readonly headerSlotCls: {
|
489
|
+
readonly type: StringConstructor;
|
490
|
+
readonly default: "";
|
491
|
+
};
|
455
492
|
readonly footerSlotCls: {
|
456
493
|
readonly type: StringConstructor;
|
457
494
|
readonly default: "";
|
@@ -466,12 +503,16 @@ declare const BkDatePicker: {
|
|
466
503
|
readonly validator: (v: any) => boolean;
|
467
504
|
};
|
468
505
|
readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
|
506
|
+
readonly withValidate: {
|
507
|
+
readonly type: BooleanConstructor;
|
508
|
+
readonly default: true;
|
509
|
+
};
|
469
510
|
}>> & {
|
470
511
|
onChange?: (...args: any[]) => any;
|
471
512
|
onInput?: (...args: any[]) => any;
|
472
513
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
473
|
-
"onPick-success"?: (...args: any[]) => any;
|
474
514
|
onClear?: (...args: any[]) => any;
|
515
|
+
"onPick-success"?: (...args: any[]) => any;
|
475
516
|
"onOpen-change"?: (...args: any[]) => any;
|
476
517
|
"onShortcut-change"?: (...args: any[]) => any;
|
477
518
|
} & import("vue").ShallowUnwrapRef<{
|
@@ -481,11 +522,14 @@ declare const BkDatePicker: {
|
|
481
522
|
visualValue: import("vue").ComputedRef<any>;
|
482
523
|
displayValue: import("vue").ComputedRef<any>;
|
483
524
|
isConfirm: import("vue").ComputedRef<boolean>;
|
525
|
+
hasHeader: import("vue").ComputedRef<boolean>;
|
526
|
+
hasFooter: import("vue").ComputedRef<boolean>;
|
527
|
+
hasShortcuts: import("vue").ComputedRef<boolean>;
|
484
528
|
fontSizeCls: import("vue").ComputedRef<string>;
|
485
529
|
longWidthCls: import("vue").ComputedRef<string>;
|
486
530
|
localReadonly: import("vue").ComputedRef<boolean>;
|
487
|
-
hasFooter: import("vue").ComputedRef<boolean>;
|
488
531
|
allowCrossDayProp: import("vue").ComputedRef<boolean>;
|
532
|
+
ownPickerProps: import("vue").ComputedRef<Record<string, any>>;
|
489
533
|
pickerDropdownRef: any;
|
490
534
|
inputRef: any;
|
491
535
|
triggerRef: import("vue").Ref<HTMLElement>;
|
@@ -493,14 +537,14 @@ declare const BkDatePicker: {
|
|
493
537
|
handleClose: (e?: Event) => boolean;
|
494
538
|
handleIconClick: () => void;
|
495
539
|
handleInputMouseenter: () => void;
|
496
|
-
handleInputMouseleave: (
|
540
|
+
handleInputMouseleave: (_e: any) => void;
|
497
541
|
handleFocus: (e: any) => void;
|
498
542
|
handleBlur: (e: any) => void;
|
499
543
|
handleKeydown: (e: KeyboardEvent) => void;
|
500
544
|
handleInputChange: (e: any) => void;
|
501
545
|
handleClear: () => void;
|
502
|
-
handleTransferClick: () => void;
|
503
546
|
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
547
|
+
onPickSuccess: () => void;
|
504
548
|
showClose: import("vue").Ref<boolean>;
|
505
549
|
visible: import("vue").Ref<boolean>;
|
506
550
|
internalValue: import("vue").Ref<any>;
|
@@ -552,7 +596,7 @@ declare const BkDatePicker: {
|
|
552
596
|
readonly default: true;
|
553
597
|
};
|
554
598
|
readonly open: {
|
555
|
-
readonly type:
|
599
|
+
readonly type: () => boolean;
|
556
600
|
readonly default: any;
|
557
601
|
};
|
558
602
|
readonly multiple: {
|
@@ -596,6 +640,9 @@ declare const BkDatePicker: {
|
|
596
640
|
readonly modelValue: {
|
597
641
|
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
598
642
|
};
|
643
|
+
readonly value: {
|
644
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
645
|
+
};
|
599
646
|
readonly options: {
|
600
647
|
readonly type: ObjectConstructor;
|
601
648
|
readonly default: () => {};
|
@@ -616,6 +663,10 @@ declare const BkDatePicker: {
|
|
616
663
|
readonly type: NumberConstructor;
|
617
664
|
readonly default: -1;
|
618
665
|
};
|
666
|
+
readonly headerSlotCls: {
|
667
|
+
readonly type: StringConstructor;
|
668
|
+
readonly default: "";
|
669
|
+
};
|
619
670
|
readonly footerSlotCls: {
|
620
671
|
readonly type: StringConstructor;
|
621
672
|
readonly default: "";
|
@@ -630,12 +681,16 @@ declare const BkDatePicker: {
|
|
630
681
|
readonly validator: (v: any) => boolean;
|
631
682
|
};
|
632
683
|
readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
|
684
|
+
readonly withValidate: {
|
685
|
+
readonly type: BooleanConstructor;
|
686
|
+
readonly default: true;
|
687
|
+
};
|
633
688
|
}>> & {
|
634
689
|
onChange?: (...args: any[]) => any;
|
635
690
|
onInput?: (...args: any[]) => any;
|
636
691
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
637
|
-
"onPick-success"?: (...args: any[]) => any;
|
638
692
|
onClear?: (...args: any[]) => any;
|
693
|
+
"onPick-success"?: (...args: any[]) => any;
|
639
694
|
"onOpen-change"?: (...args: any[]) => any;
|
640
695
|
"onShortcut-change"?: (...args: any[]) => any;
|
641
696
|
}, {
|
@@ -645,11 +700,14 @@ declare const BkDatePicker: {
|
|
645
700
|
visualValue: import("vue").ComputedRef<any>;
|
646
701
|
displayValue: import("vue").ComputedRef<any>;
|
647
702
|
isConfirm: import("vue").ComputedRef<boolean>;
|
703
|
+
hasHeader: import("vue").ComputedRef<boolean>;
|
704
|
+
hasFooter: import("vue").ComputedRef<boolean>;
|
705
|
+
hasShortcuts: import("vue").ComputedRef<boolean>;
|
648
706
|
fontSizeCls: import("vue").ComputedRef<string>;
|
649
707
|
longWidthCls: import("vue").ComputedRef<string>;
|
650
708
|
localReadonly: import("vue").ComputedRef<boolean>;
|
651
|
-
hasFooter: import("vue").ComputedRef<boolean>;
|
652
709
|
allowCrossDayProp: import("vue").ComputedRef<boolean>;
|
710
|
+
ownPickerProps: import("vue").ComputedRef<Record<string, any>>;
|
653
711
|
pickerDropdownRef: any;
|
654
712
|
inputRef: any;
|
655
713
|
triggerRef: import("vue").Ref<HTMLElement>;
|
@@ -657,14 +715,14 @@ declare const BkDatePicker: {
|
|
657
715
|
handleClose: (e?: Event) => boolean;
|
658
716
|
handleIconClick: () => void;
|
659
717
|
handleInputMouseenter: () => void;
|
660
|
-
handleInputMouseleave: (
|
718
|
+
handleInputMouseleave: (_e: any) => void;
|
661
719
|
handleFocus: (e: any) => void;
|
662
720
|
handleBlur: (e: any) => void;
|
663
721
|
handleKeydown: (e: KeyboardEvent) => void;
|
664
722
|
handleInputChange: (e: any) => void;
|
665
723
|
handleClear: () => void;
|
666
|
-
handleTransferClick: () => void;
|
667
724
|
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
725
|
+
onPickSuccess: () => void;
|
668
726
|
showClose: import("vue").Ref<boolean>;
|
669
727
|
visible: import("vue").Ref<boolean>;
|
670
728
|
internalValue: import("vue").Ref<any>;
|
@@ -685,29 +743,32 @@ declare const BkDatePicker: {
|
|
685
743
|
shortcut: import("vue").Ref<any>;
|
686
744
|
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
687
745
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], "input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change", {
|
688
|
-
type: import("./interface").PickerTypeType;
|
689
|
-
placeholder: string;
|
690
746
|
placement: import("@popperjs/core").ComputedPlacement;
|
691
747
|
options: Record<string, any>;
|
748
|
+
type: import("./interface").PickerTypeType;
|
749
|
+
disabled: boolean;
|
750
|
+
placeholder: string;
|
751
|
+
transfer: boolean;
|
692
752
|
fontSize: "large" | "normal" | "medium";
|
693
753
|
open: boolean;
|
694
754
|
multiple: boolean;
|
695
|
-
|
696
|
-
extPopoverCls: string;
|
755
|
+
clearable: boolean;
|
697
756
|
readonly: boolean;
|
757
|
+
behavior: "normal" | "simplicity";
|
758
|
+
withValidate: boolean;
|
759
|
+
extPopoverCls: string;
|
698
760
|
editable: boolean;
|
699
|
-
clearable: boolean;
|
700
761
|
timePickerOptions: {};
|
701
762
|
splitPanels: boolean;
|
702
|
-
transfer: boolean;
|
703
763
|
appendToBody: boolean;
|
704
764
|
shortcuts: import("./interface").DatePickerShortcutsType;
|
705
765
|
shortcutClose: boolean;
|
706
766
|
upToNow: boolean;
|
707
767
|
useShortcutText: boolean;
|
708
768
|
shortcutSelectedIndex: number;
|
769
|
+
headerSlotCls: string;
|
709
770
|
footerSlotCls: string;
|
710
771
|
allowCrossDay: boolean;
|
711
|
-
behavior: "normal" | "simplicity";
|
712
772
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
713
773
|
export default BkDatePicker;
|
774
|
+
export { TimePicker, };
|