bkui-vue 0.0.1-beta.42 → 0.0.1-beta.421
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/License.txt +14 -0
- package/dist/index.cjs.js +160 -35
- package/dist/index.esm.js +34509 -14413
- package/dist/index.umd.js +160 -35
- package/dist/locale/en.esm.js +2 -0
- package/dist/locale/en.esm.js.map +1 -0
- package/dist/locale/en.umd.js +2 -0
- package/dist/locale/en.umd.js.map +1 -0
- package/dist/locale/zh-cn.esm.js +2 -0
- package/dist/locale/zh-cn.esm.js.map +1 -0
- package/dist/locale/zh-cn.umd.js +2 -0
- package/dist/locale/zh-cn.umd.js.map +1 -0
- package/dist/style.css +1 -1
- 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 +125 -0
- package/lib/affix/index.d.ts +143 -0
- package/lib/affix/index.js +1 -0
- package/lib/alert/alert.css +9 -3
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/alert.less +29 -20
- package/lib/alert/alert.variable.css +41 -6
- package/lib/alert/index.d.ts +11 -11
- package/lib/alert/index.js +1 -0
- package/lib/animate-number/animate-number.d.ts +1 -1
- package/lib/animate-number/index.d.ts +4 -4
- package/lib/animate-number/{animate-number.js → index.js} +1 -1
- package/lib/backtop/backtop.css +8 -0
- package/lib/backtop/backtop.d.ts +3 -3
- package/lib/backtop/backtop.less +8 -0
- package/lib/backtop/backtop.variable.css +40 -3
- package/lib/backtop/index.d.ts +10 -10
- package/lib/backtop/index.js +1 -0
- package/lib/badge/badge.css +7 -10
- package/lib/badge/badge.d.ts +28 -7
- package/lib/badge/badge.less +9 -11
- package/lib/badge/badge.variable.css +39 -13
- package/lib/badge/index.d.ts +68 -18
- package/lib/badge/index.js +1 -0
- package/lib/breadcrumb/breadcrumb-item.d.ts +4 -2
- package/lib/breadcrumb/breadcrumb.css +51 -0
- package/lib/breadcrumb/breadcrumb.variable.css +88 -8
- package/lib/breadcrumb/index.d.ts +4 -2
- package/lib/breadcrumb/index.js +1 -0
- package/lib/button/button-group.d.ts +2 -2
- package/lib/button/button.css +85 -50
- package/lib/button/button.d.ts +44 -24
- package/lib/button/button.less +72 -42
- package/lib/button/button.variable.css +117 -53
- package/lib/button/index.d.ts +74 -44
- package/lib/button/index.js +1 -0
- package/lib/card/card.css +96 -1
- package/lib/card/card.d.ts +47 -6
- package/lib/card/card.less +50 -2
- package/lib/card/card.variable.css +132 -8
- package/lib/card/index.d.ts +113 -17
- package/lib/card/index.js +1 -0
- package/lib/cascader/cascader-panel.d.ts +100 -0
- package/lib/cascader/cascader.css +309 -0
- package/lib/cascader/cascader.d.ts +341 -0
- package/lib/cascader/cascader.less +276 -0
- package/lib/cascader/cascader.variable.css +431 -0
- package/lib/cascader/index.d.ts +957 -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 +25 -0
- package/lib/checkbox/checkbox-group.d.ts +16 -0
- package/lib/checkbox/checkbox.css +51 -11
- package/lib/checkbox/checkbox.d.ts +36 -24
- package/lib/checkbox/checkbox.less +84 -32
- package/lib/checkbox/checkbox.variable.css +83 -14
- package/lib/checkbox/common.d.ts +4 -3
- package/lib/checkbox/index.d.ts +70 -38
- package/lib/checkbox/index.js +1 -0
- package/lib/checkbox/type.d.ts +2 -6
- package/lib/code-diff/code-diff.css +27 -7
- package/lib/code-diff/code-diff.d.ts +1 -1
- package/lib/code-diff/code-diff.less +42 -7
- package/lib/code-diff/code-diff.variable.css +59 -10
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse-panel.d.ts +83 -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 +150 -12
- package/lib/collapse/index.d.ts +132 -20
- package/lib/collapse/index.js +1 -0
- package/lib/collapse/props.d.ts +86 -0
- package/lib/collapse/utils.d.ts +11 -0
- package/lib/collapse-transition/collapse-transition.css +93 -0
- package/lib/collapse-transition/collapse-transition.d.ts +15 -0
- package/lib/collapse-transition/collapse-transition.less +111 -0
- package/lib/collapse-transition/collapse-transition.variable.css +215 -0
- package/lib/collapse-transition/index.d.ts +2 -0
- package/lib/collapse-transition/index.js +1 -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 +397 -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 +30 -8
- package/lib/components.js +1 -0
- package/lib/config-provider/config-provider.css +0 -0
- package/lib/config-provider/config-provider.d.ts +259 -0
- package/lib/config-provider/config-provider.less +1 -0
- package/lib/config-provider/config-provider.variable.css +122 -0
- package/lib/config-provider/index.d.ts +562 -0
- package/lib/config-provider/index.js +1 -0
- package/lib/config-provider/type.d.ts +125 -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 +213 -0
- package/lib/container/index.d.ts +223 -0
- package/lib/container/index.js +1 -0
- package/lib/container/row.d.ts +4 -0
- package/lib/date-picker/base/confirm.d.ts +74 -0
- package/lib/date-picker/base/date-table.d.ts +96 -0
- package/lib/date-picker/base/picker-dropdown.d.ts +74 -0
- package/lib/date-picker/base/time-spinner.d.ts +170 -0
- package/lib/date-picker/date-picker.css +28 -1
- package/lib/date-picker/date-picker.d.ts +49 -20
- package/lib/date-picker/date-picker.less +106 -74
- package/lib/date-picker/date-picker.variable.css +60 -4
- package/lib/date-picker/index.d.ts +121 -54
- package/lib/date-picker/index.js +1 -0
- package/lib/date-picker/interface.d.ts +11 -1
- package/lib/date-picker/panel/date-range.d.ts +328 -0
- package/lib/date-picker/panel/date.d.ts +206 -0
- package/lib/date-picker/panel/time-range.d.ts +489 -0
- package/lib/date-picker/panel/time.d.ts +448 -0
- package/lib/date-picker/props.d.ts +55 -5
- package/lib/date-picker/time-picker.d.ts +381 -0
- package/lib/date-picker/utils.d.ts +22 -2
- package/lib/dialog/dialog.css +136 -24
- package/lib/dialog/dialog.d.ts +249 -58
- package/lib/dialog/dialog.less +100 -38
- package/lib/dialog/dialog.variable.css +258 -24
- package/lib/dialog/index.d.ts +553 -126
- package/lib/dialog/index.js +1 -0
- package/lib/dialog/props.d.ts +124 -0
- package/lib/directives/ellipsis.d.ts +7 -0
- package/lib/directives/index.d.ts +2 -0
- package/lib/directives/index.js +2 -0
- package/lib/directives/tooltips.d.ts +2 -1
- package/lib/dist.index.js +1 -0
- package/lib/divider/divider.d.ts +15 -15
- package/lib/divider/divider.variable.css +32 -3
- package/lib/divider/index.d.ts +34 -34
- package/lib/divider/index.js +1 -0
- package/lib/divider/props.d.ts +6 -6
- package/lib/dropdown/dropdown.css +13 -7
- package/lib/dropdown/dropdown.d.ts +46 -14
- package/lib/dropdown/dropdown.less +47 -34
- package/lib/dropdown/dropdown.variable.css +45 -10
- package/lib/dropdown/index.d.ts +99 -35
- package/lib/dropdown/index.js +1 -0
- package/lib/exception/exception.css +40 -14
- package/lib/exception/exception.d.ts +31 -11
- package/lib/exception/exception.less +59 -22
- package/lib/exception/exception.variable.css +72 -17
- package/lib/exception/index.d.ts +43 -26
- package/lib/exception/index.js +1 -0
- package/lib/exception/typings/index.d.ts +4 -0
- package/lib/fixed-navbar/fixed-navbar.d.ts +16 -2
- package/lib/fixed-navbar/fixed-navbar.variable.css +32 -3
- package/lib/fixed-navbar/index.d.ts +40 -5
- package/lib/fixed-navbar/{fixed-navbar.js → index.js} +1 -1
- package/lib/form/compose-form-item.d.ts +16 -0
- package/lib/form/form-item.d.ts +22 -7
- package/lib/form/form.css +103 -15
- package/lib/form/form.d.ts +38 -14
- package/lib/form/form.less +152 -46
- package/lib/form/form.variable.css +225 -15
- package/lib/form/index.d.ts +108 -35
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +8 -7
- package/lib/form/utils.d.ts +2 -0
- package/lib/form/validator.d.ts +1 -0
- package/lib/icon/angle-double-down-line.js +1 -1
- package/lib/icon/angle-double-left-line.js +1 -1
- package/lib/icon/angle-double-left.js +1 -1
- package/lib/icon/angle-double-right-line.js +1 -1
- package/lib/icon/angle-double-right.js +1 -1
- package/lib/icon/angle-double-up-line.js +1 -1
- package/lib/icon/angle-down-fill.js +1 -1
- package/lib/icon/angle-down-line.js +1 -1
- package/lib/icon/angle-down.js +1 -1
- package/lib/icon/angle-left.js +1 -1
- package/lib/icon/angle-right.js +1 -1
- package/lib/icon/angle-up-fill.js +1 -1
- package/lib/icon/angle-up.js +1 -1
- package/lib/icon/archive-fill.d.ts +4 -0
- package/lib/icon/archive-fill.js +1 -0
- package/lib/icon/arrows-left.js +1 -1
- package/lib/icon/arrows-right.js +1 -1
- package/lib/icon/audio-fill.d.ts +4 -0
- package/lib/icon/audio-fill.js +1 -0
- package/lib/icon/bk.js +1 -1
- package/lib/icon/circle.js +1 -1
- package/lib/icon/close-line.d.ts +4 -0
- package/lib/icon/close-line.js +1 -0
- package/lib/icon/close.js +1 -1
- package/lib/icon/code.js +1 -1
- package/lib/icon/cog-shape.js +1 -1
- package/lib/icon/collapse-left.js +1 -1
- package/lib/icon/copy.js +1 -1
- package/lib/icon/data-shape.d.ts +4 -0
- package/lib/icon/data-shape.js +1 -0
- package/lib/icon/del.d.ts +4 -0
- package/lib/icon/del.js +1 -0
- package/lib/icon/doc-fill.d.ts +4 -0
- package/lib/icon/doc-fill.js +1 -0
- package/lib/icon/done.js +1 -1
- package/lib/icon/down-shape.js +1 -1
- package/lib/icon/down-small.js +1 -1
- package/lib/icon/edit-line.d.ts +4 -0
- package/lib/icon/edit-line.js +1 -0
- package/lib/icon/ellipsis.js +1 -1
- package/lib/icon/enlarge-line.d.ts +4 -0
- package/lib/icon/enlarge-line.js +1 -0
- package/lib/icon/error.js +1 -1
- package/lib/icon/excel-fill.d.ts +4 -0
- package/lib/icon/excel-fill.js +1 -0
- package/lib/icon/exclamation-circle-shape.d.ts +4 -0
- package/lib/icon/exclamation-circle-shape.js +1 -0
- package/lib/icon/eye.js +1 -1
- package/lib/icon/filliscreen-line.d.ts +4 -0
- package/lib/icon/filliscreen-line.js +1 -0
- package/lib/icon/folder-open.js +1 -1
- package/lib/icon/folder-shape-open.js +1 -1
- package/lib/icon/folder-shape.js +1 -1
- package/lib/icon/folder.js +1 -1
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/funnel.js +1 -0
- package/lib/icon/help-document-fill.js +1 -1
- package/lib/icon/help-fill.js +1 -1
- package/lib/icon/help.js +1 -1
- package/lib/icon/image-fill.d.ts +4 -0
- package/lib/icon/image-fill.js +1 -0
- package/lib/icon/img-error.d.ts +4 -0
- package/lib/icon/img-placehoulder.d.ts +4 -0
- package/lib/icon/img-placehoulder.js +1 -0
- package/lib/icon/index.d.ts +79 -53
- package/lib/icon/index.js +1 -0
- package/lib/icon/info-line.js +1 -1
- package/lib/icon/info.js +1 -1
- package/lib/icon/left-shape.js +1 -1
- package/lib/icon/left-turn-line.d.ts +4 -0
- package/lib/icon/left-turn-line.js +1 -0
- package/lib/icon/narrow-line.d.ts +4 -0
- package/lib/icon/narrow-line.js +1 -0
- package/lib/icon/original.d.ts +4 -0
- package/lib/icon/original.js +1 -0
- package/lib/icon/pdf-fill.d.ts +4 -0
- package/lib/icon/pdf-fill.js +1 -0
- package/lib/icon/play-shape.js +1 -1
- package/lib/icon/plus.js +1 -1
- package/lib/icon/ppt-fill.d.ts +4 -0
- package/lib/icon/ppt-fill.js +1 -0
- package/lib/icon/qq.js +1 -1
- package/lib/icon/right-shape.js +1 -1
- package/lib/icon/right-turn-line.d.ts +4 -0
- package/lib/icon/right-turn-line.js +1 -0
- package/lib/icon/search.js +1 -1
- package/lib/icon/share.js +1 -1
- package/lib/icon/spinner.js +1 -1
- package/lib/icon/success.js +1 -1
- package/lib/icon/switcher-loading.js +1 -1
- package/lib/icon/text-file.js +1 -1
- package/lib/icon/text-fill.d.ts +4 -0
- package/lib/icon/text-fill.js +1 -0
- package/lib/icon/transfer.d.ts +4 -0
- package/lib/icon/transfer.js +1 -0
- package/lib/icon/tree-application-shape.js +1 -1
- package/lib/icon/unfull-screen.d.ts +4 -0
- package/lib/icon/unfull-screen.js +1 -0
- package/lib/icon/unvisible.js +1 -1
- package/lib/icon/up-shape.js +1 -1
- package/lib/icon/upload.d.ts +4 -0
- package/lib/icon/upload.js +1 -0
- package/lib/icon/video-fill.d.ts +4 -0
- package/lib/icon/video-fill.js +1 -0
- package/lib/icon/warn.js +1 -1
- package/lib/icon/weixin.js +1 -1
- package/lib/image/image-viewer.css +142 -0
- package/lib/image/image-viewer.d.ts +73 -0
- package/lib/image/image-viewer.less +168 -0
- package/lib/image/image-viewer.variable.css +142 -0
- package/lib/image/image.css +37 -0
- package/lib/image/image.d.ts +93 -0
- package/lib/image/image.less +44 -0
- package/lib/image/image.variable.css +37 -0
- package/lib/image/index.d.ts +246 -0
- package/lib/image/index.js +1 -0
- package/lib/image/props.d.ts +71 -0
- package/lib/index.d.ts +2 -1
- package/lib/index.js +1 -0
- package/lib/info-box/index.d.ts +7 -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 +28 -0
- package/lib/info-box/info-box.less +51 -0
- package/lib/info-box/info-box.variable.css +159 -0
- package/lib/input/index.d.ts +175 -90
- package/lib/input/index.js +1 -0
- package/lib/input/input.css +186 -22
- package/lib/input/input.d.ts +119 -36
- package/lib/input/input.less +115 -21
- package/lib/input/input.variable.css +249 -57
- package/lib/link/index.d.ts +29 -21
- package/lib/link/index.js +1 -0
- package/lib/link/link.css +12 -12
- package/lib/link/link.d.ts +10 -8
- package/lib/link/link.less +16 -14
- package/lib/link/link.variable.css +44 -15
- package/lib/loading/directive.d.ts +14 -0
- package/lib/loading/index.d.ts +135 -19
- package/lib/loading/index.js +1 -0
- package/lib/loading/loading.css +86 -33
- package/lib/loading/loading.d.ts +94 -12
- package/lib/loading/loading.less +27 -23
- package/lib/loading/loading.variable.css +134 -52
- package/lib/locale/index.d.ts +3 -0
- package/lib/locale/index.js +1 -0
- package/lib/locale/lang/en.d.ts +120 -0
- package/lib/locale/lang/zh-cn.d.ts +3 -0
- package/lib/menu/index.d.ts +16 -24
- package/lib/menu/index.js +1 -0
- package/lib/menu/menu.css +51 -0
- package/lib/menu/menu.d.ts +7 -16
- package/lib/menu/menu.variable.css +101 -21
- package/lib/menu/submenu.variable.css +32 -3
- package/lib/message/index.js +1 -0
- package/lib/message/message.css +17 -5
- package/lib/message/message.less +21 -6
- package/lib/message/message.variable.css +49 -8
- package/lib/message/messageConstructor.d.ts +14 -11
- package/lib/modal/index.d.ts +469 -78
- package/lib/modal/index.js +1 -0
- package/lib/modal/modal.css +63 -1
- package/lib/modal/modal.d.ts +179 -30
- package/lib/modal/modal.less +39 -3
- package/lib/modal/modal.variable.css +185 -1
- package/lib/modal/props.mixin.d.ts +76 -13
- package/lib/navigation/index.d.ts +310 -1
- package/lib/navigation/index.js +1 -0
- package/lib/navigation/navigation.css +1 -1
- package/lib/navigation/navigation.d.ts +11 -2
- package/lib/navigation/navigation.less +1 -1
- package/lib/navigation/navigation.variable.css +33 -4
- package/lib/notify/index.js +1 -0
- package/lib/notify/notify.css +25 -5
- package/lib/notify/notify.less +29 -6
- package/lib/notify/notify.variable.css +57 -8
- package/lib/notify/notifyConstructor.d.ts +62 -21
- package/lib/overflow-title/components/overflow-title.d.ts +38 -0
- package/lib/overflow-title/directive/overflow-title.d.ts +3 -0
- package/lib/overflow-title/index.d.ts +129 -0
- package/lib/overflow-title/index.js +1 -0
- package/lib/overflow-title/overflow.css +11 -0
- package/lib/overflow-title/overflow.less +13 -0
- package/lib/overflow-title/overflow.variable.css +11 -0
- package/lib/overflow-title/props.d.ts +16 -0
- package/lib/overflow-title/utils/getActualWidthByCanvas.d.ts +3 -0
- package/lib/overflow-title/utils/getActualWidthByDom.d.ts +3 -0
- package/lib/pagination/index.d.ts +35 -20
- package/lib/pagination/index.js +1 -0
- package/lib/pagination/pagination.css +54 -28
- package/lib/pagination/pagination.d.ts +18 -8
- package/lib/pagination/pagination.less +59 -30
- package/lib/pagination/pagination.variable.css +86 -31
- package/lib/pagination/use-limit.d.ts +3 -1
- package/lib/pagination/use-total.d.ts +3 -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/pop-confirm/index.d.ts +246 -0
- package/lib/pop-confirm/index.js +1 -0
- package/lib/pop-confirm/pop-confirm.css +28 -0
- package/lib/pop-confirm/pop-confirm.d.ts +95 -0
- package/lib/pop-confirm/pop-confirm.less +34 -0
- package/lib/pop-confirm/pop-confirm.variable.css +150 -0
- package/lib/pop-confirm/props.d.ts +67 -0
- package/lib/popover/arrow.d.ts +2 -0
- package/lib/popover/const.d.ts +16 -0
- package/lib/popover/content.d.ts +43 -0
- package/lib/popover/index.d.ts +504 -97
- package/lib/popover/index.js +1 -0
- package/lib/popover/plugin-popover.d.ts +12 -0
- package/lib/popover/popover.css +10 -50
- package/lib/popover/popover.d.ts +222 -43
- package/lib/popover/popover.less +19 -66
- package/lib/popover/popover.variable.css +42 -53
- package/lib/popover/props.d.ts +110 -30
- package/lib/popover/reference.d.ts +2 -0
- package/lib/popover/root.d.ts +16 -0
- package/lib/popover/use-floating.d.ts +34 -0
- package/lib/popover/use-platform.d.ts +30 -0
- package/lib/popover/use-popover-init.d.ts +23 -0
- package/lib/popover/use-popper-id.d.ts +6 -0
- package/lib/popover/utils.d.ts +3 -0
- package/lib/popover2/index.d.ts +44 -0
- package/lib/popover2/index.js +1 -0
- package/lib/popover2/popover.d.ts +2 -0
- package/lib/preset.d.ts +244 -2
- package/lib/preset.js +1 -0
- package/lib/process/index.d.ts +9 -9
- package/lib/process/index.js +1 -0
- package/lib/process/process.css +22 -0
- package/lib/process/process.d.ts +2 -2
- package/lib/process/process.less +30 -2
- package/lib/process/process.variable.css +54 -3
- package/lib/progress/index.d.ts +31 -31
- package/lib/progress/index.js +1 -0
- package/lib/progress/progress.css +51 -0
- package/lib/progress/progress.d.ts +12 -12
- package/lib/progress/progress.variable.css +87 -7
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +36 -18
- package/lib/radio/index.js +1 -0
- package/lib/radio/radio-button.d.ts +7 -8
- package/lib/radio/radio-group.d.ts +26 -0
- package/lib/radio/radio.css +119 -66
- package/lib/radio/radio.d.ts +4 -4
- package/lib/radio/radio.less +253 -173
- package/lib/radio/radio.variable.css +154 -72
- package/lib/radio/type.d.ts +9 -4
- package/lib/rate/index.d.ts +28 -5
- package/lib/rate/index.js +1 -0
- package/lib/rate/rate.d.ts +13 -2
- package/lib/rate/star.d.ts +1 -1
- package/lib/resize-layout/index.d.ts +18 -18
- package/lib/resize-layout/index.js +1 -0
- package/lib/resize-layout/resize-layout.css +3 -15
- package/lib/resize-layout/resize-layout.d.ts +7 -7
- package/lib/resize-layout/resize-layout.less +3 -19
- package/lib/resize-layout/resize-layout.variable.css +35 -18
- package/lib/search-select/index.d.ts +841 -0
- package/lib/search-select/index.js +1 -0
- package/lib/search-select/input.d.ts +98 -0
- package/lib/search-select/menu.d.ts +76 -0
- package/lib/search-select/search-select.css +424 -0
- package/lib/search-select/search-select.d.ts +343 -0
- package/lib/search-select/search-select.less +380 -0
- package/lib/search-select/search-select.variable.css +546 -0
- package/lib/search-select/selected.d.ts +152 -0
- package/lib/search-select/utils.d.ts +88 -0
- package/lib/select/common.d.ts +5 -12
- package/lib/select/index.d.ts +1792 -688
- package/lib/select/index.js +1 -0
- package/lib/select/option.d.ts +12 -4
- package/lib/select/optionGroup.d.ts +1 -1
- package/lib/select/select.css +186 -113
- package/lib/select/select.d.ts +707 -146
- package/lib/select/select.less +320 -202
- package/lib/select/select.variable.css +218 -116
- package/lib/select/selectTagInput.d.ts +94 -0
- package/lib/select/type.d.ts +21 -13
- package/lib/shared/dom.d.ts +3 -0
- package/lib/shared/helper.d.ts +9 -0
- package/lib/shared/hooks/use-form-item.d.ts +2 -0
- package/lib/shared/hooks/use-form.d.ts +2 -0
- package/lib/shared/index.d.ts +32 -7
- package/lib/shared/index.js +1 -0
- package/lib/shared/mask-manager.d.ts +6 -2
- package/lib/shared/pop-manager.d.ts +16 -4
- package/lib/shared/popover.d.ts +6 -2
- package/lib/shared/token.d.ts +4 -0
- package/lib/shared/utils.d.ts +19 -0
- package/lib/shared/vue-types.d.ts +107 -7
- package/lib/sideslider/index.d.ts +351 -69
- package/lib/sideslider/index.js +1 -0
- package/lib/sideslider/sideslider.css +55 -10
- package/lib/sideslider/sideslider.d.ts +164 -31
- package/lib/sideslider/sideslider.less +72 -13
- package/lib/sideslider/sideslider.variable.css +87 -13
- package/lib/slider/index.d.ts +414 -1
- package/lib/slider/index.js +1 -0
- package/lib/slider/slider-button.d.ts +2 -1
- package/lib/slider/slider.d.ts +4 -4
- package/lib/slider/slider.variable.css +32 -3
- package/lib/steps/index.d.ts +52 -52
- package/lib/steps/index.js +1 -0
- package/lib/steps/steps.css +15 -3
- package/lib/steps/steps.d.ts +32 -32
- package/lib/steps/steps.less +24 -3
- package/lib/steps/steps.variable.css +47 -6
- package/lib/styles/index.d.ts +10 -1
- package/lib/styles/mixins/clearfix.css +8 -0
- package/lib/styles/mixins/clearfix.less +10 -0
- package/lib/styles/mixins/clearfix.variable.css +8 -0
- package/lib/styles/mixins/mixins.css +51 -0
- package/lib/styles/mixins/mixins.less +2 -0
- package/lib/styles/mixins/mixins.variable.css +51 -0
- package/lib/styles/mixins/popper.css +1 -1
- package/lib/styles/mixins/popper.less +12 -11
- package/lib/styles/mixins/popper.variable.css +123 -1
- package/lib/styles/mixins/scroll.css +17 -0
- package/lib/styles/mixins/scroll.less +22 -0
- package/lib/styles/mixins/scroll.variable.css +139 -0
- package/lib/styles/reset.css +36 -0
- package/lib/styles/reset.less +26 -2
- package/lib/styles/reset.variable.css +36 -0
- package/lib/styles/themes/themes.less +42 -3
- package/lib/swiper/index.js +1 -0
- package/lib/switcher/index.d.ts +42 -30
- package/lib/switcher/index.js +1 -0
- package/lib/switcher/switcher.css +57 -6
- package/lib/switcher/switcher.d.ts +19 -13
- package/lib/switcher/switcher.less +5 -26
- package/lib/switcher/switcher.variable.css +106 -26
- package/lib/tab/index.d.ts +111 -64
- package/lib/tab/index.js +1 -0
- package/lib/tab/props.d.ts +58 -10
- package/lib/tab/tab-nav.d.ts +49 -13
- package/lib/tab/tab-panel.d.ts +7 -7
- package/lib/tab/tab.css +147 -53
- package/lib/tab/tab.d.ts +41 -20
- package/lib/tab/tab.less +176 -84
- package/lib/tab/tab.variable.css +179 -56
- package/lib/table/cache.d.ts +6 -0
- package/lib/table/components/index.d.ts +3 -0
- package/lib/table/components/table-cell.d.ts +51 -0
- package/lib/table/components/table-column.d.ts +187 -0
- package/lib/table/components/table-row.d.ts +2 -0
- package/lib/table/const.d.ts +123 -1
- package/lib/table/index.d.ts +1048 -44
- package/lib/table/index.js +1 -0
- package/lib/table/plugins/body-empty.d.ts +36 -0
- package/lib/table/plugins/col-group.d.ts +38 -0
- package/lib/table/plugins/common.d.ts +6 -0
- package/lib/table/plugins/head-filter.css +84 -0
- package/lib/table/plugins/head-filter.d.ts +26 -0
- package/lib/table/plugins/head-filter.less +110 -0
- package/lib/table/plugins/head-filter.variable.css +206 -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 +147 -0
- package/lib/table/plugins/index.d.ts +5 -0
- package/lib/table/plugins/settings.css +147 -0
- package/lib/table/plugins/settings.d.ts +37 -0
- package/lib/table/plugins/settings.less +181 -0
- package/lib/table/plugins/settings.variable.css +269 -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 +26 -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 +356 -8
- package/lib/table/render.d.ts +48 -4
- package/lib/table/table.css +1208 -12
- package/lib/table/table.d.ts +256 -18
- package/lib/table/table.less +273 -16
- package/lib/table/table.variable.css +1250 -25
- package/lib/table/use-column.d.ts +11 -0
- package/lib/table/use-common.d.ts +112 -0
- package/lib/table/utils.d.ts +71 -11
- package/lib/table-column/index.d.ts +475 -0
- package/lib/table-column/index.js +1 -0
- package/lib/tag/index.d.ts +29 -29
- package/lib/tag/index.js +1 -0
- package/lib/tag/tag.css +46 -13
- package/lib/tag/tag.d.ts +12 -12
- package/lib/tag/tag.less +46 -10
- package/lib/tag/tag.variable.css +78 -16
- package/lib/tag-input/common.d.ts +13 -1
- package/lib/tag-input/index.d.ts +1383 -1
- package/lib/tag-input/index.js +1 -0
- package/lib/tag-input/list-tag-render.d.ts +0 -3
- package/lib/tag-input/tag-input.css +23 -26
- package/lib/tag-input/tag-input.d.ts +292 -44
- package/lib/tag-input/tag-input.less +102 -104
- package/lib/tag-input/tag-input.variable.css +55 -29
- package/lib/tag-input/tag-props.d.ts +136 -7
- package/lib/tag-input/tag-render.d.ts +30 -4
- package/lib/time-picker/index.d.ts +904 -0
- package/lib/time-picker/index.js +1 -0
- package/lib/time-picker/time-picker.css +215 -0
- package/lib/time-picker/time-picker.less +260 -0
- package/lib/time-picker/time-picker.variable.css +337 -0
- package/lib/timeline/index.d.ts +6 -6
- package/lib/timeline/index.js +1 -0
- package/lib/timeline/timeline.css +16 -9
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/timeline/timeline.less +22 -9
- package/lib/timeline/timeline.variable.css +48 -12
- package/lib/transfer/const.d.ts +5 -0
- package/lib/transfer/index.d.ts +191 -150
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/props.d.ts +54 -0
- package/lib/transfer/transfer.css +89 -86
- package/lib/transfer/transfer.d.ts +79 -95
- package/lib/transfer/transfer.less +93 -113
- package/lib/transfer/transfer.variable.css +126 -94
- package/lib/tree/constant.d.ts +62 -0
- package/lib/tree/index.d.ts +379 -60
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +124 -0
- package/lib/tree/tree.css +181 -9
- package/lib/tree/tree.d.ts +172 -19
- package/lib/tree/tree.less +54 -3
- package/lib/tree/tree.variable.css +213 -12
- package/lib/tree/use-empty.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +12 -0
- package/lib/tree/use-node-async.d.ts +5 -0
- package/lib/tree/use-node-attribute.d.ts +33 -0
- package/lib/tree/use-node-drag.d.ts +3 -0
- package/lib/tree/use-search.d.ts +11 -0
- package/lib/tree/use-tree-init.d.ts +15 -0
- package/lib/tree/util.d.ts +4 -6
- package/lib/upload/index.d.ts +566 -0
- package/lib/upload/index.js +1 -0
- package/lib/upload/props.d.ts +111 -0
- package/lib/upload/upload-list.d.ts +47 -0
- package/lib/upload/upload-trigger.d.ts +51 -0
- package/lib/upload/upload.css +427 -0
- package/lib/upload/upload.d.ts +246 -0
- package/lib/upload/upload.less +466 -0
- package/lib/upload/upload.type.d.ts +78 -0
- package/lib/upload/upload.variable.css +549 -0
- package/lib/upload/use-ajax-upload.d.ts +3 -0
- package/lib/upload/use-file-handler.d.ts +44 -0
- package/lib/virtual-render/index.d.ts +50 -4
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +15 -0
- package/lib/virtual-render/use-tag-render.d.ts +7 -0
- package/lib/virtual-render/v-virtual-render.d.ts +0 -1
- package/lib/virtual-render/virtual-render.css +17 -17
- package/lib/virtual-render/virtual-render.d.ts +23 -1
- package/lib/virtual-render/virtual-render.less +2 -23
- package/lib/virtual-render/virtual-render.variable.css +139 -17
- package/lib/volar.components.d.ts +102 -0
- package/package.json +59 -26
- package/LICENSE.txt +0 -22
- package/lib/alert/alert.js +0 -1
- package/lib/backtop/backtop.js +0 -1
- package/lib/badge/badge.js +0 -1
- package/lib/breadcrumb/breadcrumb.js +0 -1
- package/lib/button/button.js +0 -1
- package/lib/card/card.js +0 -1
- package/lib/checkbox/checkbox.js +0 -1
- package/lib/code-diff/code-diff.js +0 -1
- package/lib/collapse/collapse.js +0 -1
- package/lib/date-picker/date-picker.js +0 -1
- package/lib/dialog/dialog.js +0 -1
- package/lib/directives/directives.js +0 -2
- package/lib/divider/divider.js +0 -1
- package/lib/dropdown/dropdown.js +0 -1
- package/lib/exception/exception.js +0 -1
- package/lib/form/common.d.ts +0 -3
- package/lib/form/form.js +0 -1
- package/lib/icon/icon.js +0 -1
- package/lib/input/input.js +0 -1
- package/lib/link/link.js +0 -1
- package/lib/loading/loading.js +0 -1
- package/lib/menu/menu.js +0 -1
- package/lib/message/message.js +0 -1
- package/lib/modal/modal.js +0 -1
- package/lib/navigation/navigation.js +0 -1
- package/lib/notify/notify.js +0 -1
- package/lib/pagination/pagination.js +0 -1
- package/lib/popover/popover.js +0 -1
- package/lib/process/process.js +0 -1
- package/lib/progress/progress.js +0 -1
- package/lib/radio/radio.js +0 -1
- package/lib/rate/rate.js +0 -1
- package/lib/resize-layout/resize-layout.js +0 -1
- package/lib/select/select.js +0 -1
- package/lib/shared/shared.js +0 -1
- package/lib/sideslider/sideslider.js +0 -1
- package/lib/slider/slider.js +0 -1
- package/lib/steps/steps.js +0 -1
- package/lib/swiper/swiper.js +0 -1
- package/lib/switcher/switcher.js +0 -1
- package/lib/tab/tab.js +0 -1
- package/lib/table/table.js +0 -1
- package/lib/tag/tag.js +0 -1
- package/lib/tag-input/tag-input.js +0 -1
- package/lib/timeline/timeline.js +0 -1
- package/lib/transfer/transfer.js +0 -1
- package/lib/tree/tree.js +0 -1
- package/lib/use-form.d.ts +0 -3
- package/lib/virtual-render/virtual-render.js +0 -1
- /package/lib/directives/{directives.js.LICENSE.txt → index.js.LICENSE.txt} +0 -0
@@ -0,0 +1,475 @@
|
|
1
|
+
declare const BkTableColumn: {
|
2
|
+
new (...args: any[]): {
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
4
|
+
$data: {};
|
5
|
+
$props: Partial<{
|
6
|
+
fixed: boolean | "left" | "right";
|
7
|
+
sort: string | boolean | {
|
8
|
+
sortFn: any;
|
9
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
10
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
11
|
+
};
|
12
|
+
filter: string | boolean | {
|
13
|
+
list: any[] | (object & (() => any[]));
|
14
|
+
filterFn: any;
|
15
|
+
match: "full" | "fuzzy";
|
16
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
17
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
18
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
19
|
+
};
|
20
|
+
minWidth: string | number;
|
21
|
+
columnKey: string;
|
22
|
+
showOverflowTooltip: boolean | import("../../table/src/props").IOverflowTooltip;
|
23
|
+
resizable: boolean;
|
24
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
25
|
+
prop: import("vue-types").VueTypeDef<any>;
|
26
|
+
label: import("vue-types").VueTypeDef<any>;
|
27
|
+
field: import("vue-types").VueTypeDef<any>;
|
28
|
+
render: import("vue-types").VueTypeDef<any>;
|
29
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
30
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
31
|
+
default: string | number;
|
32
|
+
};
|
33
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
34
|
+
default: string;
|
35
|
+
} & {
|
36
|
+
default: string;
|
37
|
+
};
|
38
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<boolean | import("../../table/src/props").IOverflowTooltip> & {
|
39
|
+
default: boolean | (() => import("../../table/src/props").IOverflowTooltip);
|
40
|
+
};
|
41
|
+
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
42
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
43
|
+
default: boolean;
|
44
|
+
} & {
|
45
|
+
default: boolean;
|
46
|
+
};
|
47
|
+
fixed: import("vue-types").VueTypeDef<boolean | "left" | "right"> & {
|
48
|
+
default: boolean | "left" | "right";
|
49
|
+
};
|
50
|
+
sort: import("vue-types").VueTypeDef<string | boolean | {
|
51
|
+
sortFn: any;
|
52
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
53
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
54
|
+
}> & {
|
55
|
+
default: string | boolean | (() => {
|
56
|
+
sortFn: any;
|
57
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
58
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
59
|
+
});
|
60
|
+
};
|
61
|
+
filter: import("vue-types").VueTypeDef<string | boolean | {
|
62
|
+
list: any[] | (object & (() => any[]));
|
63
|
+
filterFn: any;
|
64
|
+
match: "full" | "fuzzy";
|
65
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
66
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
67
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
68
|
+
}> & {
|
69
|
+
default: string | boolean | (() => {
|
70
|
+
list: any[] | (object & (() => any[]));
|
71
|
+
filterFn: any;
|
72
|
+
match: "full" | "fuzzy";
|
73
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
74
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
75
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
76
|
+
});
|
77
|
+
};
|
78
|
+
colspan: import("vue-types").VueTypeDef<any>;
|
79
|
+
rowspan: import("vue-types").VueTypeDef<any>;
|
80
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "fixed" | "sort" | "filter" | "minWidth" | "columnKey" | "showOverflowTooltip" | "resizable">;
|
81
|
+
$attrs: {
|
82
|
+
[x: string]: unknown;
|
83
|
+
};
|
84
|
+
$refs: {
|
85
|
+
[x: string]: unknown;
|
86
|
+
};
|
87
|
+
$slots: Readonly<{
|
88
|
+
[name: string]: import("vue").Slot;
|
89
|
+
}>;
|
90
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
91
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
92
|
+
$emit: (event: string, ...args: any[]) => void;
|
93
|
+
$el: any;
|
94
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
95
|
+
prop: import("vue-types").VueTypeDef<any>;
|
96
|
+
label: import("vue-types").VueTypeDef<any>;
|
97
|
+
field: import("vue-types").VueTypeDef<any>;
|
98
|
+
render: import("vue-types").VueTypeDef<any>;
|
99
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
100
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
101
|
+
default: string | number;
|
102
|
+
};
|
103
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
104
|
+
default: string;
|
105
|
+
} & {
|
106
|
+
default: string;
|
107
|
+
};
|
108
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<boolean | import("../../table/src/props").IOverflowTooltip> & {
|
109
|
+
default: boolean | (() => import("../../table/src/props").IOverflowTooltip);
|
110
|
+
};
|
111
|
+
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
112
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
113
|
+
default: boolean;
|
114
|
+
} & {
|
115
|
+
default: boolean;
|
116
|
+
};
|
117
|
+
fixed: import("vue-types").VueTypeDef<boolean | "left" | "right"> & {
|
118
|
+
default: boolean | "left" | "right";
|
119
|
+
};
|
120
|
+
sort: import("vue-types").VueTypeDef<string | boolean | {
|
121
|
+
sortFn: any;
|
122
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
123
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
124
|
+
}> & {
|
125
|
+
default: string | boolean | (() => {
|
126
|
+
sortFn: any;
|
127
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
128
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
129
|
+
});
|
130
|
+
};
|
131
|
+
filter: import("vue-types").VueTypeDef<string | boolean | {
|
132
|
+
list: any[] | (object & (() => any[]));
|
133
|
+
filterFn: any;
|
134
|
+
match: "full" | "fuzzy";
|
135
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
136
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
137
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
138
|
+
}> & {
|
139
|
+
default: string | boolean | (() => {
|
140
|
+
list: any[] | (object & (() => any[]));
|
141
|
+
filterFn: any;
|
142
|
+
match: "full" | "fuzzy";
|
143
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
144
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
145
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
146
|
+
});
|
147
|
+
};
|
148
|
+
colspan: import("vue-types").VueTypeDef<any>;
|
149
|
+
rowspan: import("vue-types").VueTypeDef<any>;
|
150
|
+
}>>, {
|
151
|
+
initColumns: (_column: import("../../table/src/props").Column | import("../../table/src/props").Column[], _remove?: boolean) => void;
|
152
|
+
bkTableCache: {
|
153
|
+
queueStack: (_: any, fn: any) => any;
|
154
|
+
};
|
155
|
+
column: {
|
156
|
+
field: string | Function;
|
157
|
+
label: string | Function;
|
158
|
+
render?: string | Function;
|
159
|
+
width?: string | number;
|
160
|
+
minWidth?: string | number;
|
161
|
+
columnKey?: string;
|
162
|
+
showOverflowTooltip?: boolean | {
|
163
|
+
content: string | Function;
|
164
|
+
disabled?: boolean;
|
165
|
+
watchCellResize?: boolean;
|
166
|
+
mode?: "auto" | "static";
|
167
|
+
};
|
168
|
+
type?: string;
|
169
|
+
fixed?: string | boolean;
|
170
|
+
resizable?: boolean;
|
171
|
+
sort?: string | boolean | {
|
172
|
+
sortFn?: Function;
|
173
|
+
sortScope?: string;
|
174
|
+
value?: string;
|
175
|
+
};
|
176
|
+
filter?: string | boolean | {
|
177
|
+
list?: any;
|
178
|
+
filterFn?: Function;
|
179
|
+
};
|
180
|
+
colspan?: Function | {
|
181
|
+
toString: (radix?: number) => string;
|
182
|
+
toFixed: (fractionDigits?: number) => string;
|
183
|
+
toExponential: (fractionDigits?: number) => string;
|
184
|
+
toPrecision: (precision?: number) => string;
|
185
|
+
valueOf: () => number;
|
186
|
+
toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
|
187
|
+
};
|
188
|
+
rowspan?: Function | {
|
189
|
+
toString: (radix?: number) => string;
|
190
|
+
toFixed: (fractionDigits?: number) => string;
|
191
|
+
toExponential: (fractionDigits?: number) => string;
|
192
|
+
toPrecision: (precision?: number) => string;
|
193
|
+
valueOf: () => number;
|
194
|
+
toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
|
195
|
+
};
|
196
|
+
prop?: string | Function;
|
197
|
+
};
|
198
|
+
}, unknown, {}, {
|
199
|
+
updateColumnDefine(): void;
|
200
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
201
|
+
fixed: boolean | "left" | "right";
|
202
|
+
sort: string | boolean | {
|
203
|
+
sortFn: any;
|
204
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
205
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
206
|
+
};
|
207
|
+
filter: string | boolean | {
|
208
|
+
list: any[] | (object & (() => any[]));
|
209
|
+
filterFn: any;
|
210
|
+
match: "full" | "fuzzy";
|
211
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
212
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
213
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
214
|
+
};
|
215
|
+
minWidth: string | number;
|
216
|
+
columnKey: string;
|
217
|
+
showOverflowTooltip: boolean | import("../../table/src/props").IOverflowTooltip;
|
218
|
+
resizable: boolean;
|
219
|
+
}> & {
|
220
|
+
beforeCreate?: (() => void) | (() => void)[];
|
221
|
+
created?: (() => void) | (() => void)[];
|
222
|
+
beforeMount?: (() => void) | (() => void)[];
|
223
|
+
mounted?: (() => void) | (() => void)[];
|
224
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
225
|
+
updated?: (() => void) | (() => void)[];
|
226
|
+
activated?: (() => void) | (() => void)[];
|
227
|
+
deactivated?: (() => void) | (() => void)[];
|
228
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
229
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
230
|
+
destroyed?: (() => void) | (() => void)[];
|
231
|
+
unmounted?: (() => void) | (() => void)[];
|
232
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
233
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
234
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
235
|
+
};
|
236
|
+
$forceUpdate: () => void;
|
237
|
+
$nextTick: typeof import("vue").nextTick;
|
238
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
239
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
240
|
+
prop: import("vue-types").VueTypeDef<any>;
|
241
|
+
label: import("vue-types").VueTypeDef<any>;
|
242
|
+
field: import("vue-types").VueTypeDef<any>;
|
243
|
+
render: import("vue-types").VueTypeDef<any>;
|
244
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
245
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
246
|
+
default: string | number;
|
247
|
+
};
|
248
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
249
|
+
default: string;
|
250
|
+
} & {
|
251
|
+
default: string;
|
252
|
+
};
|
253
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<boolean | import("../../table/src/props").IOverflowTooltip> & {
|
254
|
+
default: boolean | (() => import("../../table/src/props").IOverflowTooltip);
|
255
|
+
};
|
256
|
+
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
257
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
258
|
+
default: boolean;
|
259
|
+
} & {
|
260
|
+
default: boolean;
|
261
|
+
};
|
262
|
+
fixed: import("vue-types").VueTypeDef<boolean | "left" | "right"> & {
|
263
|
+
default: boolean | "left" | "right";
|
264
|
+
};
|
265
|
+
sort: import("vue-types").VueTypeDef<string | boolean | {
|
266
|
+
sortFn: any;
|
267
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
268
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
269
|
+
}> & {
|
270
|
+
default: string | boolean | (() => {
|
271
|
+
sortFn: any;
|
272
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
273
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
274
|
+
});
|
275
|
+
};
|
276
|
+
filter: import("vue-types").VueTypeDef<string | boolean | {
|
277
|
+
list: any[] | (object & (() => any[]));
|
278
|
+
filterFn: any;
|
279
|
+
match: "full" | "fuzzy";
|
280
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
281
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
282
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
283
|
+
}> & {
|
284
|
+
default: string | boolean | (() => {
|
285
|
+
list: any[] | (object & (() => any[]));
|
286
|
+
filterFn: any;
|
287
|
+
match: "full" | "fuzzy";
|
288
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
289
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
290
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
291
|
+
});
|
292
|
+
};
|
293
|
+
colspan: import("vue-types").VueTypeDef<any>;
|
294
|
+
rowspan: import("vue-types").VueTypeDef<any>;
|
295
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
296
|
+
initColumns: (_column: import("../../table/src/props").Column | import("../../table/src/props").Column[], _remove?: boolean) => void;
|
297
|
+
bkTableCache: {
|
298
|
+
queueStack: (_: any, fn: any) => any;
|
299
|
+
};
|
300
|
+
column: {
|
301
|
+
field: string | Function;
|
302
|
+
label: string | Function;
|
303
|
+
render?: string | Function;
|
304
|
+
width?: string | number;
|
305
|
+
minWidth?: string | number;
|
306
|
+
columnKey?: string;
|
307
|
+
showOverflowTooltip?: boolean | {
|
308
|
+
content: string | Function;
|
309
|
+
disabled?: boolean;
|
310
|
+
watchCellResize?: boolean;
|
311
|
+
mode?: "auto" | "static";
|
312
|
+
};
|
313
|
+
type?: string;
|
314
|
+
fixed?: string | boolean;
|
315
|
+
resizable?: boolean;
|
316
|
+
sort?: string | boolean | {
|
317
|
+
sortFn?: Function;
|
318
|
+
sortScope?: string;
|
319
|
+
value?: string;
|
320
|
+
};
|
321
|
+
filter?: string | boolean | {
|
322
|
+
list?: any;
|
323
|
+
filterFn?: Function;
|
324
|
+
};
|
325
|
+
colspan?: Function | {
|
326
|
+
toString: (radix?: number) => string;
|
327
|
+
toFixed: (fractionDigits?: number) => string;
|
328
|
+
toExponential: (fractionDigits?: number) => string;
|
329
|
+
toPrecision: (precision?: number) => string;
|
330
|
+
valueOf: () => number;
|
331
|
+
toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
|
332
|
+
};
|
333
|
+
rowspan?: Function | {
|
334
|
+
toString: (radix?: number) => string;
|
335
|
+
toFixed: (fractionDigits?: number) => string;
|
336
|
+
toExponential: (fractionDigits?: number) => string;
|
337
|
+
toPrecision: (precision?: number) => string;
|
338
|
+
valueOf: () => number;
|
339
|
+
toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
|
340
|
+
};
|
341
|
+
prop?: string | Function;
|
342
|
+
};
|
343
|
+
}> & {} & {} & {
|
344
|
+
updateColumnDefine(): void;
|
345
|
+
} & import("vue").ComponentCustomProperties;
|
346
|
+
__isFragment?: never;
|
347
|
+
__isTeleport?: never;
|
348
|
+
__isSuspense?: never;
|
349
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
350
|
+
prop: import("vue-types").VueTypeDef<any>;
|
351
|
+
label: import("vue-types").VueTypeDef<any>;
|
352
|
+
field: import("vue-types").VueTypeDef<any>;
|
353
|
+
render: import("vue-types").VueTypeDef<any>;
|
354
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
355
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
356
|
+
default: string | number;
|
357
|
+
};
|
358
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
359
|
+
default: string;
|
360
|
+
} & {
|
361
|
+
default: string;
|
362
|
+
};
|
363
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<boolean | import("../../table/src/props").IOverflowTooltip> & {
|
364
|
+
default: boolean | (() => import("../../table/src/props").IOverflowTooltip);
|
365
|
+
};
|
366
|
+
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
367
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
368
|
+
default: boolean;
|
369
|
+
} & {
|
370
|
+
default: boolean;
|
371
|
+
};
|
372
|
+
fixed: import("vue-types").VueTypeDef<boolean | "left" | "right"> & {
|
373
|
+
default: boolean | "left" | "right";
|
374
|
+
};
|
375
|
+
sort: import("vue-types").VueTypeDef<string | boolean | {
|
376
|
+
sortFn: any;
|
377
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
378
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
379
|
+
}> & {
|
380
|
+
default: string | boolean | (() => {
|
381
|
+
sortFn: any;
|
382
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
383
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
384
|
+
});
|
385
|
+
};
|
386
|
+
filter: import("vue-types").VueTypeDef<string | boolean | {
|
387
|
+
list: any[] | (object & (() => any[]));
|
388
|
+
filterFn: any;
|
389
|
+
match: "full" | "fuzzy";
|
390
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
391
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
392
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
393
|
+
}> & {
|
394
|
+
default: string | boolean | (() => {
|
395
|
+
list: any[] | (object & (() => any[]));
|
396
|
+
filterFn: any;
|
397
|
+
match: "full" | "fuzzy";
|
398
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
399
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
400
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
401
|
+
});
|
402
|
+
};
|
403
|
+
colspan: import("vue-types").VueTypeDef<any>;
|
404
|
+
rowspan: import("vue-types").VueTypeDef<any>;
|
405
|
+
}>>, {
|
406
|
+
initColumns: (_column: import("../../table/src/props").Column | import("../../table/src/props").Column[], _remove?: boolean) => void;
|
407
|
+
bkTableCache: {
|
408
|
+
queueStack: (_: any, fn: any) => any;
|
409
|
+
};
|
410
|
+
column: {
|
411
|
+
field: string | Function;
|
412
|
+
label: string | Function;
|
413
|
+
render?: string | Function;
|
414
|
+
width?: string | number;
|
415
|
+
minWidth?: string | number;
|
416
|
+
columnKey?: string;
|
417
|
+
showOverflowTooltip?: boolean | {
|
418
|
+
content: string | Function;
|
419
|
+
disabled?: boolean;
|
420
|
+
watchCellResize?: boolean;
|
421
|
+
mode?: "auto" | "static";
|
422
|
+
};
|
423
|
+
type?: string;
|
424
|
+
fixed?: string | boolean;
|
425
|
+
resizable?: boolean;
|
426
|
+
sort?: string | boolean | {
|
427
|
+
sortFn?: Function;
|
428
|
+
sortScope?: string;
|
429
|
+
value?: string;
|
430
|
+
};
|
431
|
+
filter?: string | boolean | {
|
432
|
+
list?: any;
|
433
|
+
filterFn?: Function;
|
434
|
+
};
|
435
|
+
colspan?: Function | {
|
436
|
+
toString: (radix?: number) => string;
|
437
|
+
toFixed: (fractionDigits?: number) => string;
|
438
|
+
toExponential: (fractionDigits?: number) => string;
|
439
|
+
toPrecision: (precision?: number) => string;
|
440
|
+
valueOf: () => number;
|
441
|
+
toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
|
442
|
+
};
|
443
|
+
rowspan?: Function | {
|
444
|
+
toString: (radix?: number) => string;
|
445
|
+
toFixed: (fractionDigits?: number) => string;
|
446
|
+
toExponential: (fractionDigits?: number) => string;
|
447
|
+
toPrecision: (precision?: number) => string;
|
448
|
+
valueOf: () => number;
|
449
|
+
toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
|
450
|
+
};
|
451
|
+
prop?: string | Function;
|
452
|
+
};
|
453
|
+
}, unknown, {}, {
|
454
|
+
updateColumnDefine(): void;
|
455
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
456
|
+
fixed: boolean | "left" | "right";
|
457
|
+
sort: string | boolean | {
|
458
|
+
sortFn: any;
|
459
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
460
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
461
|
+
};
|
462
|
+
filter: string | boolean | {
|
463
|
+
list: any[] | (object & (() => any[]));
|
464
|
+
filterFn: any;
|
465
|
+
match: "full" | "fuzzy";
|
466
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
467
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
468
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
469
|
+
};
|
470
|
+
minWidth: string | number;
|
471
|
+
columnKey: string;
|
472
|
+
showOverflowTooltip: boolean | import("../../table/src/props").IOverflowTooltip;
|
473
|
+
resizable: boolean;
|
474
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
475
|
+
export default BkTableColumn;
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o(require("../shared"),require("vue"),require("vue-types"));else if("function"==typeof define&&define.amd)define(["../shared","vue","vue-types"],o);else{var p="object"==typeof exports?o(require("../shared"),require("vue"),require("vue-types")):o(e["../shared"],e.vue,e["vue-types"]);for(var r in p)("object"==typeof exports?exports:e)[r]=p[r]}}(self,((e,o,p)=>(()=>{"use strict";var r={4212:o=>{o.exports=e},748:e=>{e.exports=o},210:e=>{e.exports=p}},n={};function s(e){var o=n[e];if(void 0!==o)return o.exports;var p=n[e]={exports:{}};return r[e](p,p.exports,s),p.exports}s.d=(e,o)=>{for(var p in o)s.o(o,p)&&!s.o(e,p)&&Object.defineProperty(e,p,{enumerable:!0,get:o[p]})},s.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var t={};return(()=>{s.r(t),s.d(t,{default:()=>R});var e,o,p,r,n=s(4212),T=s(748);function f(e,o,p){return o in e?Object.defineProperty(e,o,{value:p,enumerable:!0,configurable:!0,writable:!0}):e[o]=p,e}!function(e){e.NONE="none",e.ROW="row",e.COL="col",e.OUTER="outer",e.HORIZONTAL="horizontal"}(p||(p={})),function(e){e.HIGHLIGHT="highlight",e.AUTO="auto"}(r||(r={}));var y,i,l=[r.AUTO,r.HIGHLIGHT];p.NONE,p.ROW,p.COL,p.OUTER,p.HORIZONTAL,function(e){e.ON_SORT_BY_CLICK="onSortByClick",e.ON_FILTER_CLICK="onFilterClick",e.ON_SETTING_CHANGE="onSettingChange",e.ON_ROW_EXPAND_CLICK="onRowExpandClick",e.ON_ROW_CHECK="onRowCheck"}(y||(y={})),function(e){e.COLUMN_PICK="columnPick",e.COLUMN_SORT="columnSort",e.COLUMN_FILTER="columnFilter",e.COLUMN_FILTER_SAVE="colFilterSave",e.ROW_CLICK="rowClick",e.ROW_DBL_CLICK="rowDblclick",e.ROW_EXPAND_CLICK="rowExpand",e.PAGE_LIMIT_CHANGE="pageLimitChange",e.PAGE_VALUE_CHANGE="pageValueChange",e.SETTING_CHANGE="settingChange",e.SCROLL_BOTTOM="scrollBottom",e.ROW_SELECT="select",e.ROW_SELECT_ALL="selectAll",e.ROW_SELECT_CHANGE="selectionChange",e.CELL_CLICK="cellClick",e.CELL_DBL_CLICK="cellDblclick",e.NATIVE_CLICK="click",e.NATIVE_DBL_CLICK="dblclick"}(i||(i={}));var u,d=function(){return!0};f(e={},i.COLUMN_PICK,d),f(e,i.COLUMN_FILTER,d),f(e,i.COLUMN_SORT,d),f(e,i.COLUMN_FILTER_SAVE,d),f(e,i.ROW_CLICK,d),f(e,i.ROW_DBL_CLICK,d),f(e,i.ROW_EXPAND_CLICK,d),f(e,i.ROW_SELECT,d),f(e,i.ROW_SELECT_ALL,d),f(e,i.ROW_SELECT_CHANGE,d),f(e,i.PAGE_LIMIT_CHANGE,d),f(e,i.PAGE_VALUE_CHANGE,d),f(e,i.SETTING_CHANGE,d),f(e,i.SCROLL_BOTTOM,d),f(e,i.CELL_CLICK,d),f(e,i.CELL_DBL_CLICK,d),f(o={},i.NATIVE_CLICK,d),f(o,i.NATIVE_DBL_CLICK,d),function(e){e.ASC="asc",e.DESC="desc",e.NULL="null",e.CUSTOM="custom"}(u||(u={})),u.ASC,u.DESC,u.NULL,u.CUSTOM;var P,a,c=s(210);!function(e){e.CURRENT="current",e.ALL="all"}(P||(P={})),function(e){e.STATIC="static",e.AUTO="auto"}(a||(a={}));var O,C=(0,c.toType)("showOverflowTooltipMode",{default:a.AUTO});!function(e){e.SELECTION="selection",e.INDEX="index",e.EXPAND="expand",e.NONE="none"}(O||(O={}));var L,b=(0,c.toType)("columnType",{default:O.NONE});!function(e){e.FULL="full",e.FUZZY="fuzzy"}(L||(L={}));var E,_=(0,c.toType)("full",{default:L.FULL});!function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large"}(E||(E={}));var m,h=(0,c.toType)("columnSize",{default:E.SMALL});!function(e){e.LEFT="left",e.RIGHT="right"}(m||(m={}));var v,g,I=(0,c.string)(),N=(0,c.toType)("sortScope",{}).def(P.CURRENT);!function(e){e.MULTI="multi",e.SINGLE="single",e.DISABLED="disabled"}(v||(v={})),function(e){e.DEBOUNCE="debounce",e.THROTTLE="throttle"}(g||(g={}));var S={label:n.PropTypes.oneOfType([n.PropTypes.func.def((function(){return""})),n.PropTypes.string.def("")]),field:n.PropTypes.oneOfType([n.PropTypes.func.def((function(){return""})),n.PropTypes.string.def("")]),render:n.PropTypes.oneOfType([n.PropTypes.func.def((function(){return""})),n.PropTypes.string.def("")]),width:n.PropTypes.oneOfType([n.PropTypes.number.def(void 0),n.PropTypes.string.def("auto")]),minWidth:n.PropTypes.oneOfType([n.PropTypes.number.def(void 0),n.PropTypes.string.def("auto")]).def(30),columnKey:n.PropTypes.string.def(""),showOverflowTooltip:n.PropTypes.oneOfType([n.PropTypes.bool,n.PropTypes.shape({content:n.PropTypes.string.def(""),disabled:n.PropTypes.bool.def(!1),watchCellResize:n.PropTypes.bool.def(!0),mode:C})]).def(void 0),type:b,resizable:n.PropTypes.bool.def(!0),fixed:n.PropTypes.oneOfType([n.PropTypes.bool,I]).def(!1),sort:n.PropTypes.oneOfType([n.PropTypes.shape({sortFn:n.PropTypes.func.def(void 0),sortScope:N,value:n.PropTypes.string.def(u.NULL)}),n.PropTypes.bool,n.PropTypes.string]).def(!1),filter:n.PropTypes.oneOfType([n.PropTypes.shape({list:n.PropTypes.arrayOf(n.PropTypes.any).def([]),filterFn:n.PropTypes.func.def(void 0),match:_,filterScope:N,btnSave:n.PropTypes.oneOfType([n.PropTypes.bool,n.PropTypes.string]).def("确定"),btnReset:n.PropTypes.oneOfType([n.PropTypes.bool,n.PropTypes.string]).def("重置")}),n.PropTypes.bool,n.PropTypes.string]).def(!1),colspan:n.PropTypes.oneOfType([n.PropTypes.func.def((function(){return 1})),n.PropTypes.number.def(1)]),rowspan:n.PropTypes.oneOfType([n.PropTypes.func.def((function(){return 1})),n.PropTypes.number.def(1)])};n.PropTypes.arrayOf(n.PropTypes.any).def([]),n.PropTypes.arrayOf(n.PropTypes.shape(S).loose).def([]),n.PropTypes.oneOfType([n.PropTypes.number.def(-1),n.PropTypes.arrayOf(n.PropTypes.number.def(-1))]),(0,c.toType)("columnPick",{}).def(v.DISABLED),n.PropTypes.oneOfType([n.PropTypes.number,n.PropTypes.string]).def("auto"),n.PropTypes.oneOfType([n.PropTypes.number,n.PropTypes.string]).def(84),n.PropTypes.oneOfType([n.PropTypes.number,n.PropTypes.string]).def("auto"),n.PropTypes.oneOfType([n.PropTypes.number,n.PropTypes.func]).def(42),n.PropTypes.number.def(42),n.PropTypes.bool.def(!0),n.PropTypes.shape({height:n.PropTypes.number.def(42),isShow:n.PropTypes.bool.def(!0),cellFn:n.PropTypes.func.def(void 0)}),n.PropTypes.bool.def(!1),n.PropTypes.oneOfType([n.PropTypes.arrayOf((0,c.toType)("boderType",{})),n.PropTypes.string]).def([p.ROW]),n.PropTypes.oneOfType([n.PropTypes.bool.def(!1),n.PropTypes.object.def({})]).def(!1),n.PropTypes.number.def(42),n.PropTypes.bool.def(!1),n.PropTypes.string,n.PropTypes.oneOfType([n.PropTypes.shape({fields:n.PropTypes.arrayOf(n.PropTypes.shape({label:n.PropTypes.string,field:n.PropTypes.string,disabled:n.PropTypes.bool})),checked:n.PropTypes.arrayOf(n.PropTypes.string),limit:n.PropTypes.number.def(0),size:h,sizeList:n.PropTypes.shape([]),showLineHeight:n.PropTypes.bool.def(!0)}),n.PropTypes.bool]).def(!1),n.PropTypes.oneOfType([n.PropTypes.string,n.PropTypes.object,n.PropTypes.func]).def({}),n.PropTypes.oneOfType([n.PropTypes.string,n.PropTypes.object,n.PropTypes.func]).def({}),n.PropTypes.oneOfType([n.PropTypes.string,n.PropTypes.object,n.PropTypes.func]).def({}),n.PropTypes.oneOfType([n.PropTypes.string,n.PropTypes.object,n.PropTypes.func]).def({}),n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]).def(void 0),n.PropTypes.bool.def(!1),n.PropTypes.string.def(""),n.PropTypes.func.def(void 0),n.PropTypes.oneOfType([n.PropTypes.string,n.PropTypes.func]).def("__$table_row_index"),n.PropTypes.oneOfType([n.PropTypes.bool,n.PropTypes.shape({content:n.PropTypes.string.def(""),disabled:n.PropTypes.bool.def(!1),watchCellResize:n.PropTypes.bool.def(!0),mode:C})]).def(!1),n.PropTypes.bool.def(!1),n.PropTypes.oneOf(l).def(r.HIGHLIGHT),n.PropTypes.shape({}).def({}),n.PropTypes.oneOfType([n.PropTypes.func.def((function(){return!0})),n.PropTypes.bool.def(!0)]).def(!0),(0,c.toType)("ResizerWay",{default:g.DEBOUNCE}),n.PropTypes.bool.def(!0);const A=(0,T.defineComponent)({name:"TableColumn",props:Object.assign(Object.assign({},S),{prop:n.PropTypes.oneOfType([n.PropTypes.func.def((function(){return""})),n.PropTypes.string.def("")])}),setup:function(e){return{initColumns:(0,T.inject)("InitColumns",(function(e){}),!1),bkTableCache:(0,T.inject)("BKTableCahce",{queueStack:function(e,o){return null==o?void 0:o()}}),column:(0,T.reactive)(Object.assign(Object.assign({},e),{field:e.prop||e.field}))}},unmounted:function(){this.updateColumnDefine()},mounted:function(){this.updateColumnDefine()},methods:{updateColumnDefine:function(){var e=this;"function"==typeof this.bkTableCache.queueStack&&this.bkTableCache.queueStack("Bk_COlumn_Update_Define",(function(){var o=e._.parent.vnode.children.default()||[],p=[];!function o(r){Array.isArray(r)&&(e.column.render=e.$slots.default?function(o){var p,r;return null===(r=(p=e.$slots).default)||void 0===r?void 0:r.call(p,o)}:void 0,r.forEach((function(r){var n,s,t=!0;if("TableColumn"===(null===(n=r.type)||void 0===n?void 0:n.name)){t=Object.hasOwnProperty.call(r.props||{},"key");var f=Object.assign(Object.assign({},r.props),{field:r.props.prop||r.props.field});f.label===e.column.label&&f.field===e.column.field?p.push((0,T.unref)(e.column)):p.push((0,T.unref)(f))}(null===(s=r.children)||void 0===s?void 0:s.length)&&t&&o(r.children)})))}(o),e.initColumns(p)}))}},render:function(){var e,o;return null===(o=(e=this.$slots).default)||void 0===o?void 0:o.call(e,{row:{}})}}),R=(0,n.withInstall)(A)})(),t})()));
|
package/lib/tag/index.d.ts
CHANGED
@@ -3,24 +3,24 @@ declare const BkTag: {
|
|
3
3
|
$: import("vue").ComponentInternalInstance;
|
4
4
|
$data: {};
|
5
5
|
$props: Partial<{
|
6
|
-
type:
|
7
|
-
theme: string;
|
8
|
-
closable: boolean;
|
6
|
+
type: "" | "stroke" | "filled";
|
9
7
|
extCls: string;
|
8
|
+
theme: "success" | "info" | "warning" | "danger";
|
9
|
+
closable: boolean;
|
10
10
|
radius: string;
|
11
11
|
checked: boolean;
|
12
12
|
checkable: boolean;
|
13
13
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
14
|
-
theme: import("vue-types").VueTypeDef<
|
15
|
-
default:
|
14
|
+
theme: import("vue-types").VueTypeDef<"success" | "info" | "warning" | "danger"> & {
|
15
|
+
default: "success" | "info" | "warning" | "danger";
|
16
16
|
};
|
17
17
|
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
18
18
|
default: boolean;
|
19
19
|
} & {
|
20
20
|
default: boolean;
|
21
21
|
};
|
22
|
-
type: import("vue-types").VueTypeDef<
|
23
|
-
default:
|
22
|
+
type: import("vue-types").VueTypeDef<"" | "stroke" | "filled"> & {
|
23
|
+
default: "" | "stroke" | "filled";
|
24
24
|
};
|
25
25
|
checkable: import("vue-types").VueTypeValidableDef<boolean> & {
|
26
26
|
default: boolean;
|
@@ -45,7 +45,7 @@ declare const BkTag: {
|
|
45
45
|
}>> & {
|
46
46
|
onChange?: (...args: any[]) => any;
|
47
47
|
onClose?: (...args: any[]) => any;
|
48
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "
|
48
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "extCls" | "theme" | "closable" | "radius" | "checked" | "checkable">;
|
49
49
|
$attrs: {
|
50
50
|
[x: string]: unknown;
|
51
51
|
};
|
@@ -57,19 +57,19 @@ declare const BkTag: {
|
|
57
57
|
}>;
|
58
58
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
59
59
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
60
|
-
$emit: (event: "
|
60
|
+
$emit: (event: "change" | "close", ...args: any[]) => void;
|
61
61
|
$el: any;
|
62
62
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
63
|
-
theme: import("vue-types").VueTypeDef<
|
64
|
-
default:
|
63
|
+
theme: import("vue-types").VueTypeDef<"success" | "info" | "warning" | "danger"> & {
|
64
|
+
default: "success" | "info" | "warning" | "danger";
|
65
65
|
};
|
66
66
|
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
67
67
|
default: boolean;
|
68
68
|
} & {
|
69
69
|
default: boolean;
|
70
70
|
};
|
71
|
-
type: import("vue-types").VueTypeDef<
|
72
|
-
default:
|
71
|
+
type: import("vue-types").VueTypeDef<"" | "stroke" | "filled"> & {
|
72
|
+
default: "" | "stroke" | "filled";
|
73
73
|
};
|
74
74
|
checkable: import("vue-types").VueTypeValidableDef<boolean> & {
|
75
75
|
default: boolean;
|
@@ -101,11 +101,11 @@ declare const BkTag: {
|
|
101
101
|
}>;
|
102
102
|
handleClose: (e: Event) => void;
|
103
103
|
handleClick: (e: Event) => void;
|
104
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
105
|
-
type:
|
106
|
-
theme: string;
|
107
|
-
closable: boolean;
|
104
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close")[], string, {
|
105
|
+
type: "" | "stroke" | "filled";
|
108
106
|
extCls: string;
|
107
|
+
theme: "success" | "info" | "warning" | "danger";
|
108
|
+
closable: boolean;
|
109
109
|
radius: string;
|
110
110
|
checked: boolean;
|
111
111
|
checkable: boolean;
|
@@ -130,16 +130,16 @@ declare const BkTag: {
|
|
130
130
|
$nextTick: typeof import("vue").nextTick;
|
131
131
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
132
132
|
} & Readonly<import("vue").ExtractPropTypes<{
|
133
|
-
theme: import("vue-types").VueTypeDef<
|
134
|
-
default:
|
133
|
+
theme: import("vue-types").VueTypeDef<"success" | "info" | "warning" | "danger"> & {
|
134
|
+
default: "success" | "info" | "warning" | "danger";
|
135
135
|
};
|
136
136
|
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
137
137
|
default: boolean;
|
138
138
|
} & {
|
139
139
|
default: boolean;
|
140
140
|
};
|
141
|
-
type: import("vue-types").VueTypeDef<
|
142
|
-
default:
|
141
|
+
type: import("vue-types").VueTypeDef<"" | "stroke" | "filled"> & {
|
142
|
+
default: "" | "stroke" | "filled";
|
143
143
|
};
|
144
144
|
checkable: import("vue-types").VueTypeValidableDef<boolean> & {
|
145
145
|
default: boolean;
|
@@ -176,16 +176,16 @@ declare const BkTag: {
|
|
176
176
|
__isTeleport?: never;
|
177
177
|
__isSuspense?: never;
|
178
178
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
179
|
-
theme: import("vue-types").VueTypeDef<
|
180
|
-
default:
|
179
|
+
theme: import("vue-types").VueTypeDef<"success" | "info" | "warning" | "danger"> & {
|
180
|
+
default: "success" | "info" | "warning" | "danger";
|
181
181
|
};
|
182
182
|
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
183
183
|
default: boolean;
|
184
184
|
} & {
|
185
185
|
default: boolean;
|
186
186
|
};
|
187
|
-
type: import("vue-types").VueTypeDef<
|
188
|
-
default:
|
187
|
+
type: import("vue-types").VueTypeDef<"" | "stroke" | "filled"> & {
|
188
|
+
default: "" | "stroke" | "filled";
|
189
189
|
};
|
190
190
|
checkable: import("vue-types").VueTypeValidableDef<boolean> & {
|
191
191
|
default: boolean;
|
@@ -217,11 +217,11 @@ declare const BkTag: {
|
|
217
217
|
}>;
|
218
218
|
handleClose: (e: Event) => void;
|
219
219
|
handleClick: (e: Event) => void;
|
220
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
221
|
-
type:
|
222
|
-
theme: string;
|
223
|
-
closable: boolean;
|
220
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close")[], "change" | "close", {
|
221
|
+
type: "" | "stroke" | "filled";
|
224
222
|
extCls: string;
|
223
|
+
theme: "success" | "info" | "warning" | "danger";
|
224
|
+
closable: boolean;
|
225
225
|
radius: string;
|
226
226
|
checked: boolean;
|
227
227
|
checkable: boolean;
|