bkui-vue 0.0.1-beta.43 → 0.0.1-beta.430
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 +35269 -14370
- 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 +85 -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 +103 -0
- package/lib/collapse/collapse.css +69 -14
- package/lib/collapse/collapse.d.ts +66 -52
- package/lib/collapse/collapse.less +112 -30
- package/lib/collapse/collapse.variable.css +191 -14
- package/lib/collapse/index.d.ts +266 -20
- package/lib/collapse/index.js +1 -0
- package/lib/collapse/props.d.ts +131 -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/month-table.d.ts +117 -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/base/year-table.d.ts +117 -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 +47 -14
- package/lib/form/form.less +152 -46
- package/lib/form/form.variable.css +225 -15
- package/lib/form/index.d.ts +118 -35
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +11 -8
- 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 +183 -19
- package/lib/input/input.d.ts +119 -36
- package/lib/input/input.less +112 -18
- package/lib/input/input.variable.css +246 -54
- 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 +6 -15
- package/lib/resize-layout/resize-layout.d.ts +7 -7
- package/lib/resize-layout/resize-layout.less +10 -19
- package/lib/resize-layout/resize-layout.variable.css +38 -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 +151 -55
- package/lib/tab/tab.d.ts +41 -20
- package/lib/tab/tab.less +179 -86
- package/lib/tab/tab.variable.css +183 -58
- 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 +202 -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 +1080 -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 +26 -0
- package/lib/table/plugins/head-sort.d.ts +22 -0
- package/lib/table/plugins/head-sort.less +32 -0
- package/lib/table/plugins/head-sort.variable.css +148 -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 +358 -10
- package/lib/table/render.d.ts +48 -4
- package/lib/table/table.css +1214 -12
- package/lib/table/table.d.ts +256 -18
- package/lib/table/table.less +277 -16
- package/lib/table/table.variable.css +1256 -25
- package/lib/table/use-column.d.ts +12 -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 +507 -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 +1406 -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 +303 -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 +141 -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 +247 -150
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/props.d.ts +59 -0
- package/lib/transfer/transfer.css +153 -92
- package/lib/transfer/transfer.d.ts +101 -95
- package/lib/transfer/transfer.less +142 -112
- package/lib/transfer/transfer.variable.css +191 -101
- 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,507 @@
|
|
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
|
+
index: number;
|
22
|
+
columnKey: string;
|
23
|
+
showOverflowTooltip: boolean | import("../../table/src/props").IOverflowTooltip;
|
24
|
+
resizable: boolean;
|
25
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
26
|
+
prop: import("vue-types").VueTypeDef<any>;
|
27
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
28
|
+
default: number;
|
29
|
+
} & {
|
30
|
+
default: number;
|
31
|
+
};
|
32
|
+
label: import("vue-types").VueTypeDef<any>;
|
33
|
+
field: import("vue-types").VueTypeDef<any>;
|
34
|
+
render: import("vue-types").VueTypeDef<any>;
|
35
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
36
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
37
|
+
default: string | number;
|
38
|
+
};
|
39
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
40
|
+
default: string;
|
41
|
+
} & {
|
42
|
+
default: string;
|
43
|
+
};
|
44
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<boolean | import("../../table/src/props").IOverflowTooltip> & {
|
45
|
+
default: boolean | (() => import("../../table/src/props").IOverflowTooltip);
|
46
|
+
};
|
47
|
+
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
48
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
49
|
+
default: boolean;
|
50
|
+
} & {
|
51
|
+
default: boolean;
|
52
|
+
};
|
53
|
+
fixed: import("vue-types").VueTypeDef<boolean | "left" | "right"> & {
|
54
|
+
default: boolean | "left" | "right";
|
55
|
+
};
|
56
|
+
sort: import("vue-types").VueTypeDef<string | boolean | {
|
57
|
+
sortFn: any;
|
58
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
59
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
60
|
+
}> & {
|
61
|
+
default: string | boolean | (() => {
|
62
|
+
sortFn: any;
|
63
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
64
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
65
|
+
});
|
66
|
+
};
|
67
|
+
filter: import("vue-types").VueTypeDef<string | boolean | {
|
68
|
+
list: any[] | (object & (() => any[]));
|
69
|
+
filterFn: any;
|
70
|
+
match: "full" | "fuzzy";
|
71
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
72
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
73
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
74
|
+
}> & {
|
75
|
+
default: string | boolean | (() => {
|
76
|
+
list: any[] | (object & (() => any[]));
|
77
|
+
filterFn: any;
|
78
|
+
match: "full" | "fuzzy";
|
79
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
80
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
81
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
82
|
+
});
|
83
|
+
};
|
84
|
+
colspan: import("vue-types").VueTypeDef<any>;
|
85
|
+
rowspan: import("vue-types").VueTypeDef<any>;
|
86
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "fixed" | "sort" | "filter" | "minWidth" | "index" | "columnKey" | "showOverflowTooltip" | "resizable">;
|
87
|
+
$attrs: {
|
88
|
+
[x: string]: unknown;
|
89
|
+
};
|
90
|
+
$refs: {
|
91
|
+
[x: string]: unknown;
|
92
|
+
};
|
93
|
+
$slots: Readonly<{
|
94
|
+
[name: string]: import("vue").Slot;
|
95
|
+
}>;
|
96
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
97
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
98
|
+
$emit: (event: string, ...args: any[]) => void;
|
99
|
+
$el: any;
|
100
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
101
|
+
prop: import("vue-types").VueTypeDef<any>;
|
102
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
103
|
+
default: number;
|
104
|
+
} & {
|
105
|
+
default: number;
|
106
|
+
};
|
107
|
+
label: import("vue-types").VueTypeDef<any>;
|
108
|
+
field: import("vue-types").VueTypeDef<any>;
|
109
|
+
render: import("vue-types").VueTypeDef<any>;
|
110
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
111
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
112
|
+
default: string | number;
|
113
|
+
};
|
114
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
115
|
+
default: string;
|
116
|
+
} & {
|
117
|
+
default: string;
|
118
|
+
};
|
119
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<boolean | import("../../table/src/props").IOverflowTooltip> & {
|
120
|
+
default: boolean | (() => import("../../table/src/props").IOverflowTooltip);
|
121
|
+
};
|
122
|
+
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
123
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
124
|
+
default: boolean;
|
125
|
+
} & {
|
126
|
+
default: boolean;
|
127
|
+
};
|
128
|
+
fixed: import("vue-types").VueTypeDef<boolean | "left" | "right"> & {
|
129
|
+
default: boolean | "left" | "right";
|
130
|
+
};
|
131
|
+
sort: import("vue-types").VueTypeDef<string | boolean | {
|
132
|
+
sortFn: any;
|
133
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
134
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
135
|
+
}> & {
|
136
|
+
default: string | boolean | (() => {
|
137
|
+
sortFn: any;
|
138
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
139
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
140
|
+
});
|
141
|
+
};
|
142
|
+
filter: import("vue-types").VueTypeDef<string | boolean | {
|
143
|
+
list: any[] | (object & (() => any[]));
|
144
|
+
filterFn: any;
|
145
|
+
match: "full" | "fuzzy";
|
146
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
147
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
148
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
149
|
+
}> & {
|
150
|
+
default: string | boolean | (() => {
|
151
|
+
list: any[] | (object & (() => any[]));
|
152
|
+
filterFn: any;
|
153
|
+
match: "full" | "fuzzy";
|
154
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
155
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
156
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
157
|
+
});
|
158
|
+
};
|
159
|
+
colspan: import("vue-types").VueTypeDef<any>;
|
160
|
+
rowspan: import("vue-types").VueTypeDef<any>;
|
161
|
+
}>>, {
|
162
|
+
initColumns: (_col: import("../../table/src/components/table-column").ITableColumn | import("../../table/src/components/table-column").ITableColumn[], _rm?: boolean) => void;
|
163
|
+
bkTableCache: {
|
164
|
+
queueStack: (_: any, fn: any) => any;
|
165
|
+
};
|
166
|
+
column: {
|
167
|
+
field: string | Function;
|
168
|
+
label: string | Function;
|
169
|
+
render?: string | Function | import("vue").Slot;
|
170
|
+
width?: string | number;
|
171
|
+
minWidth?: string | number;
|
172
|
+
columnKey?: string;
|
173
|
+
showOverflowTooltip?: boolean | {
|
174
|
+
content: string | Function;
|
175
|
+
disabled?: boolean;
|
176
|
+
watchCellResize?: boolean;
|
177
|
+
mode?: "auto" | "static";
|
178
|
+
};
|
179
|
+
type?: string;
|
180
|
+
fixed?: string | boolean;
|
181
|
+
resizable?: boolean;
|
182
|
+
sort?: string | boolean | {
|
183
|
+
sortFn?: Function;
|
184
|
+
sortScope?: string;
|
185
|
+
value?: string;
|
186
|
+
};
|
187
|
+
filter?: string | boolean | {
|
188
|
+
list?: any;
|
189
|
+
filterFn?: Function;
|
190
|
+
};
|
191
|
+
colspan?: Function | {
|
192
|
+
toString: (radix?: number) => string;
|
193
|
+
toFixed: (fractionDigits?: number) => string;
|
194
|
+
toExponential: (fractionDigits?: number) => string;
|
195
|
+
toPrecision: (precision?: number) => string;
|
196
|
+
valueOf: () => number;
|
197
|
+
toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
|
198
|
+
};
|
199
|
+
rowspan?: Function | {
|
200
|
+
toString: (radix?: number) => string;
|
201
|
+
toFixed: (fractionDigits?: number) => string;
|
202
|
+
toExponential: (fractionDigits?: number) => string;
|
203
|
+
toPrecision: (precision?: number) => string;
|
204
|
+
valueOf: () => number;
|
205
|
+
toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
|
206
|
+
};
|
207
|
+
prop?: string | Function;
|
208
|
+
index?: number;
|
209
|
+
};
|
210
|
+
}, unknown, {}, {
|
211
|
+
updateColumnDefine(unmounted?: boolean): void;
|
212
|
+
updateColumnDefineByParent(): void;
|
213
|
+
updateColumnDefineByIndex(unmounted?: boolean): void;
|
214
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
215
|
+
fixed: boolean | "left" | "right";
|
216
|
+
sort: string | boolean | {
|
217
|
+
sortFn: any;
|
218
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
219
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
220
|
+
};
|
221
|
+
filter: string | boolean | {
|
222
|
+
list: any[] | (object & (() => any[]));
|
223
|
+
filterFn: any;
|
224
|
+
match: "full" | "fuzzy";
|
225
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
226
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
227
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
228
|
+
};
|
229
|
+
minWidth: string | number;
|
230
|
+
index: number;
|
231
|
+
columnKey: string;
|
232
|
+
showOverflowTooltip: boolean | import("../../table/src/props").IOverflowTooltip;
|
233
|
+
resizable: boolean;
|
234
|
+
}> & {
|
235
|
+
beforeCreate?: (() => void) | (() => void)[];
|
236
|
+
created?: (() => void) | (() => void)[];
|
237
|
+
beforeMount?: (() => void) | (() => void)[];
|
238
|
+
mounted?: (() => void) | (() => void)[];
|
239
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
240
|
+
updated?: (() => void) | (() => void)[];
|
241
|
+
activated?: (() => void) | (() => void)[];
|
242
|
+
deactivated?: (() => void) | (() => void)[];
|
243
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
244
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
245
|
+
destroyed?: (() => void) | (() => void)[];
|
246
|
+
unmounted?: (() => void) | (() => void)[];
|
247
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
248
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
249
|
+
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)[];
|
250
|
+
};
|
251
|
+
$forceUpdate: () => void;
|
252
|
+
$nextTick: typeof import("vue").nextTick;
|
253
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
254
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
255
|
+
prop: import("vue-types").VueTypeDef<any>;
|
256
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
257
|
+
default: number;
|
258
|
+
} & {
|
259
|
+
default: number;
|
260
|
+
};
|
261
|
+
label: import("vue-types").VueTypeDef<any>;
|
262
|
+
field: import("vue-types").VueTypeDef<any>;
|
263
|
+
render: import("vue-types").VueTypeDef<any>;
|
264
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
265
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
266
|
+
default: string | number;
|
267
|
+
};
|
268
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
269
|
+
default: string;
|
270
|
+
} & {
|
271
|
+
default: string;
|
272
|
+
};
|
273
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<boolean | import("../../table/src/props").IOverflowTooltip> & {
|
274
|
+
default: boolean | (() => import("../../table/src/props").IOverflowTooltip);
|
275
|
+
};
|
276
|
+
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
277
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
278
|
+
default: boolean;
|
279
|
+
} & {
|
280
|
+
default: boolean;
|
281
|
+
};
|
282
|
+
fixed: import("vue-types").VueTypeDef<boolean | "left" | "right"> & {
|
283
|
+
default: boolean | "left" | "right";
|
284
|
+
};
|
285
|
+
sort: import("vue-types").VueTypeDef<string | boolean | {
|
286
|
+
sortFn: any;
|
287
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
288
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
289
|
+
}> & {
|
290
|
+
default: string | boolean | (() => {
|
291
|
+
sortFn: any;
|
292
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
293
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
294
|
+
});
|
295
|
+
};
|
296
|
+
filter: import("vue-types").VueTypeDef<string | boolean | {
|
297
|
+
list: any[] | (object & (() => any[]));
|
298
|
+
filterFn: any;
|
299
|
+
match: "full" | "fuzzy";
|
300
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
301
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
302
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
303
|
+
}> & {
|
304
|
+
default: string | boolean | (() => {
|
305
|
+
list: any[] | (object & (() => any[]));
|
306
|
+
filterFn: any;
|
307
|
+
match: "full" | "fuzzy";
|
308
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
309
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
310
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
311
|
+
});
|
312
|
+
};
|
313
|
+
colspan: import("vue-types").VueTypeDef<any>;
|
314
|
+
rowspan: import("vue-types").VueTypeDef<any>;
|
315
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
316
|
+
initColumns: (_col: import("../../table/src/components/table-column").ITableColumn | import("../../table/src/components/table-column").ITableColumn[], _rm?: boolean) => void;
|
317
|
+
bkTableCache: {
|
318
|
+
queueStack: (_: any, fn: any) => any;
|
319
|
+
};
|
320
|
+
column: {
|
321
|
+
field: string | Function;
|
322
|
+
label: string | Function;
|
323
|
+
render?: string | Function | import("vue").Slot;
|
324
|
+
width?: string | number;
|
325
|
+
minWidth?: string | number;
|
326
|
+
columnKey?: string;
|
327
|
+
showOverflowTooltip?: boolean | {
|
328
|
+
content: string | Function;
|
329
|
+
disabled?: boolean;
|
330
|
+
watchCellResize?: boolean;
|
331
|
+
mode?: "auto" | "static";
|
332
|
+
};
|
333
|
+
type?: string;
|
334
|
+
fixed?: string | boolean;
|
335
|
+
resizable?: boolean;
|
336
|
+
sort?: string | boolean | {
|
337
|
+
sortFn?: Function;
|
338
|
+
sortScope?: string;
|
339
|
+
value?: string;
|
340
|
+
};
|
341
|
+
filter?: string | boolean | {
|
342
|
+
list?: any;
|
343
|
+
filterFn?: Function;
|
344
|
+
};
|
345
|
+
colspan?: Function | {
|
346
|
+
toString: (radix?: number) => string;
|
347
|
+
toFixed: (fractionDigits?: number) => string;
|
348
|
+
toExponential: (fractionDigits?: number) => string;
|
349
|
+
toPrecision: (precision?: number) => string;
|
350
|
+
valueOf: () => number;
|
351
|
+
toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
|
352
|
+
};
|
353
|
+
rowspan?: Function | {
|
354
|
+
toString: (radix?: number) => string;
|
355
|
+
toFixed: (fractionDigits?: number) => string;
|
356
|
+
toExponential: (fractionDigits?: number) => string;
|
357
|
+
toPrecision: (precision?: number) => string;
|
358
|
+
valueOf: () => number;
|
359
|
+
toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
|
360
|
+
};
|
361
|
+
prop?: string | Function;
|
362
|
+
index?: number;
|
363
|
+
};
|
364
|
+
}> & {} & {} & {
|
365
|
+
updateColumnDefine(unmounted?: boolean): void;
|
366
|
+
updateColumnDefineByParent(): void;
|
367
|
+
updateColumnDefineByIndex(unmounted?: boolean): void;
|
368
|
+
} & import("vue").ComponentCustomProperties;
|
369
|
+
__isFragment?: never;
|
370
|
+
__isTeleport?: never;
|
371
|
+
__isSuspense?: never;
|
372
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
373
|
+
prop: import("vue-types").VueTypeDef<any>;
|
374
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
375
|
+
default: number;
|
376
|
+
} & {
|
377
|
+
default: number;
|
378
|
+
};
|
379
|
+
label: import("vue-types").VueTypeDef<any>;
|
380
|
+
field: import("vue-types").VueTypeDef<any>;
|
381
|
+
render: import("vue-types").VueTypeDef<any>;
|
382
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
383
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
384
|
+
default: string | number;
|
385
|
+
};
|
386
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
387
|
+
default: string;
|
388
|
+
} & {
|
389
|
+
default: string;
|
390
|
+
};
|
391
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<boolean | import("../../table/src/props").IOverflowTooltip> & {
|
392
|
+
default: boolean | (() => import("../../table/src/props").IOverflowTooltip);
|
393
|
+
};
|
394
|
+
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
395
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
396
|
+
default: boolean;
|
397
|
+
} & {
|
398
|
+
default: boolean;
|
399
|
+
};
|
400
|
+
fixed: import("vue-types").VueTypeDef<boolean | "left" | "right"> & {
|
401
|
+
default: boolean | "left" | "right";
|
402
|
+
};
|
403
|
+
sort: import("vue-types").VueTypeDef<string | boolean | {
|
404
|
+
sortFn: any;
|
405
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
406
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
407
|
+
}> & {
|
408
|
+
default: string | boolean | (() => {
|
409
|
+
sortFn: any;
|
410
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
411
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
412
|
+
});
|
413
|
+
};
|
414
|
+
filter: import("vue-types").VueTypeDef<string | boolean | {
|
415
|
+
list: any[] | (object & (() => any[]));
|
416
|
+
filterFn: any;
|
417
|
+
match: "full" | "fuzzy";
|
418
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
419
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
420
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
421
|
+
}> & {
|
422
|
+
default: string | boolean | (() => {
|
423
|
+
list: any[] | (object & (() => any[]));
|
424
|
+
filterFn: any;
|
425
|
+
match: "full" | "fuzzy";
|
426
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
427
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
428
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
429
|
+
});
|
430
|
+
};
|
431
|
+
colspan: import("vue-types").VueTypeDef<any>;
|
432
|
+
rowspan: import("vue-types").VueTypeDef<any>;
|
433
|
+
}>>, {
|
434
|
+
initColumns: (_col: import("../../table/src/components/table-column").ITableColumn | import("../../table/src/components/table-column").ITableColumn[], _rm?: boolean) => void;
|
435
|
+
bkTableCache: {
|
436
|
+
queueStack: (_: any, fn: any) => any;
|
437
|
+
};
|
438
|
+
column: {
|
439
|
+
field: string | Function;
|
440
|
+
label: string | Function;
|
441
|
+
render?: string | Function | import("vue").Slot;
|
442
|
+
width?: string | number;
|
443
|
+
minWidth?: string | number;
|
444
|
+
columnKey?: string;
|
445
|
+
showOverflowTooltip?: boolean | {
|
446
|
+
content: string | Function;
|
447
|
+
disabled?: boolean;
|
448
|
+
watchCellResize?: boolean;
|
449
|
+
mode?: "auto" | "static";
|
450
|
+
};
|
451
|
+
type?: string;
|
452
|
+
fixed?: string | boolean;
|
453
|
+
resizable?: boolean;
|
454
|
+
sort?: string | boolean | {
|
455
|
+
sortFn?: Function;
|
456
|
+
sortScope?: string;
|
457
|
+
value?: string;
|
458
|
+
};
|
459
|
+
filter?: string | boolean | {
|
460
|
+
list?: any;
|
461
|
+
filterFn?: Function;
|
462
|
+
};
|
463
|
+
colspan?: Function | {
|
464
|
+
toString: (radix?: number) => string;
|
465
|
+
toFixed: (fractionDigits?: number) => string;
|
466
|
+
toExponential: (fractionDigits?: number) => string;
|
467
|
+
toPrecision: (precision?: number) => string;
|
468
|
+
valueOf: () => number;
|
469
|
+
toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
|
470
|
+
};
|
471
|
+
rowspan?: Function | {
|
472
|
+
toString: (radix?: number) => string;
|
473
|
+
toFixed: (fractionDigits?: number) => string;
|
474
|
+
toExponential: (fractionDigits?: number) => string;
|
475
|
+
toPrecision: (precision?: number) => string;
|
476
|
+
valueOf: () => number;
|
477
|
+
toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
|
478
|
+
};
|
479
|
+
prop?: string | Function;
|
480
|
+
index?: number;
|
481
|
+
};
|
482
|
+
}, unknown, {}, {
|
483
|
+
updateColumnDefine(unmounted?: boolean): void;
|
484
|
+
updateColumnDefineByParent(): void;
|
485
|
+
updateColumnDefineByIndex(unmounted?: boolean): void;
|
486
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
487
|
+
fixed: boolean | "left" | "right";
|
488
|
+
sort: string | boolean | {
|
489
|
+
sortFn: any;
|
490
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
491
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
492
|
+
};
|
493
|
+
filter: string | boolean | {
|
494
|
+
list: any[] | (object & (() => any[]));
|
495
|
+
filterFn: any;
|
496
|
+
match: "full" | "fuzzy";
|
497
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
498
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
499
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
500
|
+
};
|
501
|
+
minWidth: string | number;
|
502
|
+
index: number;
|
503
|
+
columnKey: string;
|
504
|
+
showOverflowTooltip: boolean | import("../../table/src/props").IOverflowTooltip;
|
505
|
+
resizable: boolean;
|
506
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
507
|
+
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 i,y,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"}(i||(i={})),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"}(y||(y={}));var d,u=function(){return!0};f(e={},y.COLUMN_PICK,u),f(e,y.COLUMN_FILTER,u),f(e,y.COLUMN_SORT,u),f(e,y.COLUMN_FILTER_SAVE,u),f(e,y.ROW_CLICK,u),f(e,y.ROW_DBL_CLICK,u),f(e,y.ROW_EXPAND_CLICK,u),f(e,y.ROW_SELECT,u),f(e,y.ROW_SELECT_ALL,u),f(e,y.ROW_SELECT_CHANGE,u),f(e,y.PAGE_LIMIT_CHANGE,u),f(e,y.PAGE_VALUE_CHANGE,u),f(e,y.SETTING_CHANGE,u),f(e,y.SCROLL_BOTTOM,u),f(e,y.CELL_CLICK,u),f(e,y.CELL_DBL_CLICK,u),f(o={},y.NATIVE_CLICK,u),f(o,y.NATIVE_DBL_CLICK,u),function(e){e.ASC="asc",e.DESC="desc",e.NULL="null",e.CUSTOM="custom"}(d||(d={})),d.ASC,d.DESC,d.NULL,d.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 b,L=(0,c.toType)("columnType",{default:O.NONE});!function(e){e.FULL="full",e.FUZZY="fuzzy"}(b||(b={}));var E,_=(0,c.toType)("full",{default:b.FULL});!function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large"}(E||(E={}));var h,m=(0,c.toType)("columnSize",{default:E.SMALL});!function(e){e.LEFT="left",e.RIGHT="right"}(h||(h={}));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:L,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(d.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:m,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("")]),index:n.PropTypes.number.def(void 0)}),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(!0)},mounted:function(){this.updateColumnDefine()},methods:{updateColumnDefine:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];void 0===this.$props.index||"number"!=typeof this.$props.index?this.updateColumnDefineByParent():this.updateColumnDefineByIndex(e)},updateColumnDefineByParent: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 e(o){Array.isArray(o)&&o.forEach((function(o){var r,n,s,t=!0;if("TableColumn"===(null===(r=o.type)||void 0===r?void 0:r.name)){t=Object.hasOwnProperty.call(o.props||{},"key");var f=Object.assign(Object.assign({},o.props),{field:o.props.prop||o.props.field,render:null===(n=o.children)||void 0===n?void 0:n.default});p.push((0,T.unref)(f))}(null===(s=o.children)||void 0===s?void 0:s.length)&&t&&e(o.children)}))}(o),e.initColumns(p)}))},updateColumnDefineByIndex:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],o=Object.assign(Object.assign({},this.$props),{field:this.$props.prop||this.$props.field,render:this.$slots.default});this.initColumns((0,T.unref)(o),e)}},render:function(){var e,o;return(0,T.createVNode)(T.Fragment,null,[null===(o=(e=this.$slots).default)||void 0===o?void 0:o.call(e,{row:{}})])}}),R=(0,n.withInstall)(A)})(),t})()));
|