bkui-vue 0.0.1-beta.38 → 0.0.1-beta.381
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 +161 -36
- package/dist/index.esm.js +32274 -13030
- package/dist/index.umd.js +161 -36
- 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 +123 -0
- package/lib/affix/index.d.ts +143 -0
- package/lib/affix/index.js +1 -0
- package/lib/alert/alert.css +81 -0
- package/lib/alert/alert.d.ts +62 -0
- package/lib/alert/alert.less +119 -0
- package/lib/alert/alert.variable.css +201 -0
- package/lib/alert/index.d.ts +180 -0
- package/lib/alert/index.js +1 -0
- package/lib/animate-number/animate-number.d.ts +27 -0
- package/lib/animate-number/index.d.ts +97 -0
- package/lib/animate-number/index.js +1 -0
- package/lib/backtop/backtop.css +50 -0
- package/lib/backtop/backtop.d.ts +60 -0
- package/lib/backtop/backtop.less +26 -0
- package/lib/backtop/backtop.variable.css +170 -0
- package/lib/backtop/index.d.ts +166 -0
- package/lib/backtop/index.js +1 -0
- package/lib/badge/badge.css +121 -0
- package/lib/badge/badge.d.ts +112 -0
- package/lib/badge/badge.less +136 -0
- package/lib/badge/badge.variable.css +241 -0
- package/lib/badge/index.d.ts +267 -0
- package/lib/badge/index.js +1 -0
- package/lib/breadcrumb/breadcrumb-item.d.ts +36 -0
- package/lib/breadcrumb/breadcrumb.css +119 -0
- package/lib/breadcrumb/breadcrumb.d.ts +54 -0
- package/lib/breadcrumb/breadcrumb.less +65 -0
- package/lib/breadcrumb/breadcrumb.variable.css +239 -0
- package/lib/breadcrumb/index.d.ts +194 -0
- package/lib/breadcrumb/index.js +1 -0
- package/lib/breadcrumb/props.d.ts +4 -0
- package/lib/button/button-group.d.ts +6 -0
- package/lib/button/button.css +300 -0
- package/lib/button/button.d.ts +163 -0
- package/lib/button/button.less +225 -0
- package/lib/button/button.variable.css +420 -0
- package/lib/button/index.d.ts +256 -0
- package/lib/button/index.js +1 -0
- package/lib/card/card.css +158 -0
- package/lib/card/card.d.ts +110 -0
- package/lib/card/card.less +92 -0
- package/lib/card/card.variable.css +278 -0
- package/lib/card/index.d.ts +283 -0
- package/lib/card/index.js +1 -0
- package/lib/cascader/cascader-panel.d.ts +100 -0
- package/lib/cascader/cascader.css +173 -0
- package/lib/cascader/cascader.d.ts +303 -0
- package/lib/cascader/cascader.less +196 -0
- package/lib/cascader/cascader.variable.css +293 -0
- package/lib/cascader/index.d.ts +868 -0
- package/lib/cascader/index.js +1 -0
- package/lib/cascader/interface.d.ts +51 -0
- package/lib/cascader/node.d.ts +31 -0
- package/lib/cascader/store.d.ts +23 -0
- package/lib/checkbox/checkbox-group.d.ts +64 -0
- package/lib/checkbox/checkbox.css +100 -0
- package/lib/checkbox/checkbox.d.ts +126 -0
- package/lib/checkbox/checkbox.less +128 -0
- package/lib/checkbox/checkbox.variable.css +220 -0
- package/lib/checkbox/common.d.ts +14 -0
- package/lib/checkbox/index.d.ts +293 -0
- package/lib/checkbox/index.js +1 -0
- package/lib/checkbox/type.d.ts +15 -0
- package/lib/code-diff/code-diff.css +206 -0
- package/lib/code-diff/code-diff.d.ts +80 -0
- package/lib/code-diff/code-diff.less +273 -0
- package/lib/code-diff/code-diff.variable.css +326 -0
- package/lib/code-diff/index.d.ts +154 -0
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse-panel.d.ts +67 -0
- package/lib/collapse/collapse.css +46 -0
- package/lib/collapse/collapse.d.ts +65 -0
- package/lib/collapse/collapse.less +62 -0
- package/lib/collapse/collapse.variable.css +166 -0
- package/lib/collapse/index.d.ts +258 -0
- package/lib/collapse/index.js +1 -0
- package/lib/collapse/props.d.ts +79 -0
- package/lib/collapse/utils.d.ts +11 -0
- package/lib/color-picker/color-picker.css +275 -0
- package/lib/color-picker/color-picker.d.ts +144 -0
- package/lib/color-picker/color-picker.less +325 -0
- package/lib/color-picker/color-picker.variable.css +395 -0
- package/lib/color-picker/components/color-input.d.ts +42 -0
- package/lib/color-picker/components/hue-slider.d.ts +41 -0
- package/lib/color-picker/components/input-container.d.ts +42 -0
- package/lib/color-picker/components/recommend-colors.d.ts +51 -0
- package/lib/color-picker/components/saturation-panel.d.ts +41 -0
- package/lib/color-picker/index.d.ts +254 -0
- package/lib/color-picker/index.js +1 -0
- package/lib/color-picker/utils.d.ts +37 -0
- package/lib/components.d.ts +59 -0
- package/lib/components.js +1 -0
- package/lib/container/col.d.ts +51 -0
- package/lib/container/container.css +91 -0
- package/lib/container/container.d.ts +83 -0
- package/lib/container/container.less +20 -0
- package/lib/container/container.variable.css +211 -0
- package/lib/container/index.d.ts +223 -0
- package/lib/container/index.js +1 -0
- package/lib/container/row.d.ts +4 -0
- package/lib/date-picker/base/confirm.d.ts +74 -0
- package/lib/date-picker/base/date-table.d.ts +96 -0
- package/lib/date-picker/base/picker-dropdown.d.ts +74 -0
- package/lib/date-picker/base/time-spinner.d.ts +151 -0
- package/lib/date-picker/date-picker.css +434 -0
- package/lib/date-picker/date-picker.d.ts +323 -0
- package/lib/date-picker/date-picker.less +558 -0
- package/lib/date-picker/date-picker.variable.css +554 -0
- package/lib/date-picker/fecha.d.ts +6 -0
- package/lib/date-picker/index.d.ts +780 -0
- package/lib/date-picker/index.js +1 -0
- package/lib/date-picker/interface.d.ts +32 -0
- package/lib/date-picker/panel/date-range.d.ts +309 -0
- package/lib/date-picker/panel/date.d.ts +206 -0
- package/lib/date-picker/panel/time-range.d.ts +489 -0
- package/lib/date-picker/panel/time.d.ts +448 -0
- package/lib/date-picker/props.d.ts +161 -0
- package/lib/date-picker/time-picker.d.ts +381 -0
- package/lib/date-picker/utils.d.ts +117 -0
- package/lib/dialog/dialog.css +190 -0
- package/lib/dialog/dialog.d.ts +311 -0
- package/lib/dialog/dialog.less +153 -0
- package/lib/dialog/dialog.variable.css +310 -0
- package/lib/dialog/index.d.ts +722 -0
- package/lib/dialog/index.js +1 -0
- package/lib/dialog/props.d.ts +130 -0
- package/lib/directives/clickoutside.d.ts +3 -0
- package/lib/directives/ellipsis.d.ts +7 -0
- package/lib/directives/index.d.ts +5 -0
- package/lib/directives/index.js +2 -0
- package/lib/directives/index.js.LICENSE.txt +14 -0
- package/lib/directives/mousewheel.d.ts +3 -0
- package/lib/directives/tooltips.d.ts +18 -0
- package/lib/dist.index.js +1 -0
- package/lib/divider/divider.css +38 -0
- package/lib/divider/divider.d.ts +48 -0
- package/lib/divider/divider.less +53 -0
- package/lib/divider/divider.variable.css +158 -0
- package/lib/divider/index.d.ts +142 -0
- package/lib/divider/index.js +1 -0
- package/lib/divider/props.d.ts +21 -0
- package/lib/dropdown/dropdown-item.d.ts +19 -0
- package/lib/dropdown/dropdown-menu.d.ts +16 -0
- package/lib/dropdown/dropdown.css +49 -0
- package/lib/dropdown/dropdown.d.ts +93 -0
- package/lib/dropdown/dropdown.less +67 -0
- package/lib/dropdown/dropdown.variable.css +169 -0
- package/lib/dropdown/index.d.ts +256 -0
- package/lib/dropdown/index.js +1 -0
- package/lib/exception/exception.css +58 -0
- package/lib/exception/exception.d.ts +33 -0
- package/lib/exception/exception.less +76 -0
- package/lib/exception/exception.variable.css +178 -0
- package/lib/exception/index.d.ts +111 -0
- package/lib/exception/index.js +1 -0
- package/lib/exception/typings/index.d.ts +4 -0
- package/lib/fixed-navbar/fixed-navbar.css +42 -0
- package/lib/fixed-navbar/fixed-navbar.d.ts +48 -0
- package/lib/fixed-navbar/fixed-navbar.less +53 -0
- package/lib/fixed-navbar/fixed-navbar.variable.css +162 -0
- package/lib/fixed-navbar/index.d.ts +147 -0
- package/lib/fixed-navbar/index.js +1 -0
- package/lib/form/compose-form-item.d.ts +16 -0
- package/lib/form/form-item.d.ts +160 -0
- package/lib/form/form.css +137 -0
- package/lib/form/form.d.ts +88 -0
- package/lib/form/form.less +170 -0
- package/lib/form/form.variable.css +257 -0
- package/lib/form/index.d.ts +319 -0
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +22 -0
- package/lib/form/utils.d.ts +2 -0
- package/lib/form/validator.d.ts +9 -0
- package/lib/icon/angle-double-down-line.d.ts +4 -0
- package/lib/icon/angle-double-down-line.js +1 -0
- package/lib/icon/angle-double-left-line.d.ts +4 -0
- package/lib/icon/angle-double-left-line.js +1 -0
- package/lib/icon/angle-double-left.d.ts +4 -0
- package/lib/icon/angle-double-left.js +1 -0
- package/lib/icon/angle-double-right-line.d.ts +4 -0
- package/lib/icon/angle-double-right-line.js +1 -0
- package/lib/icon/angle-double-right.d.ts +4 -0
- package/lib/icon/angle-double-right.js +1 -0
- package/lib/icon/angle-double-up-line.d.ts +4 -0
- package/lib/icon/angle-double-up-line.js +1 -0
- package/lib/icon/angle-down-fill.d.ts +4 -0
- package/lib/icon/angle-down-fill.js +1 -0
- package/lib/icon/angle-down-line.d.ts +4 -0
- package/lib/icon/angle-down-line.js +1 -0
- package/lib/icon/angle-down.d.ts +4 -0
- package/lib/icon/angle-down.js +1 -0
- package/lib/icon/angle-left.d.ts +4 -0
- package/lib/icon/angle-left.js +1 -0
- package/lib/icon/angle-right.d.ts +4 -0
- package/lib/icon/angle-right.js +1 -0
- package/lib/icon/angle-up-fill.d.ts +4 -0
- package/lib/icon/angle-up-fill.js +1 -0
- package/lib/icon/angle-up.d.ts +4 -0
- package/lib/icon/angle-up.js +1 -0
- package/lib/icon/archive-fill.d.ts +4 -0
- package/lib/icon/archive-fill.js +1 -0
- package/lib/icon/arrows-left.d.ts +4 -0
- package/lib/icon/arrows-left.js +1 -0
- package/lib/icon/arrows-right.d.ts +4 -0
- package/lib/icon/arrows-right.js +1 -0
- package/lib/icon/audio-fill.d.ts +4 -0
- package/lib/icon/audio-fill.js +1 -0
- package/lib/icon/bk.d.ts +4 -0
- package/lib/icon/bk.js +1 -0
- package/lib/icon/circle.d.ts +4 -0
- package/lib/icon/circle.js +1 -0
- package/lib/icon/close-line.d.ts +4 -0
- package/lib/icon/close-line.js +1 -0
- package/lib/icon/close.d.ts +4 -0
- package/lib/icon/close.js +1 -0
- package/lib/icon/code.d.ts +4 -0
- package/lib/icon/code.js +1 -0
- package/lib/icon/cog-shape.d.ts +4 -0
- package/lib/icon/cog-shape.js +1 -0
- package/lib/icon/collapse-left.d.ts +4 -0
- package/lib/icon/collapse-left.js +1 -0
- package/lib/icon/copy.d.ts +4 -0
- package/lib/icon/copy.js +1 -0
- package/lib/icon/data-shape.d.ts +4 -0
- package/lib/icon/data-shape.js +1 -0
- package/lib/icon/del.d.ts +4 -0
- package/lib/icon/del.js +1 -0
- package/lib/icon/doc-fill.d.ts +4 -0
- package/lib/icon/doc-fill.js +1 -0
- package/lib/icon/done.d.ts +4 -0
- package/lib/icon/done.js +1 -0
- package/lib/icon/down-shape.d.ts +4 -0
- package/lib/icon/down-shape.js +1 -0
- package/lib/icon/down-small.d.ts +4 -0
- package/lib/icon/down-small.js +1 -0
- package/lib/icon/edit-line.d.ts +4 -0
- package/lib/icon/edit-line.js +1 -0
- package/lib/icon/ellipsis.d.ts +4 -0
- package/lib/icon/ellipsis.js +1 -0
- package/lib/icon/enlarge-line.d.ts +4 -0
- package/lib/icon/enlarge-line.js +1 -0
- package/lib/icon/error.d.ts +4 -0
- package/lib/icon/error.js +1 -0
- package/lib/icon/excel-fill.d.ts +4 -0
- package/lib/icon/excel-fill.js +1 -0
- package/lib/icon/exclamation-circle-shape.d.ts +4 -0
- package/lib/icon/exclamation-circle-shape.js +1 -0
- package/lib/icon/eye.d.ts +4 -0
- package/lib/icon/eye.js +1 -0
- package/lib/icon/filliscreen-line.d.ts +4 -0
- package/lib/icon/filliscreen-line.js +1 -0
- package/lib/icon/folder-open.d.ts +4 -0
- package/lib/icon/folder-open.js +1 -0
- package/lib/icon/folder-shape-open.d.ts +4 -0
- package/lib/icon/folder-shape-open.js +1 -0
- package/lib/icon/folder-shape.d.ts +4 -0
- package/lib/icon/folder-shape.js +1 -0
- package/lib/icon/folder.d.ts +4 -0
- package/lib/icon/folder.js +1 -0
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/funnel.js +1 -0
- package/lib/icon/help-document-fill.d.ts +4 -0
- package/lib/icon/help-document-fill.js +1 -0
- package/lib/icon/help-fill.d.ts +4 -0
- package/lib/icon/help-fill.js +1 -0
- package/lib/icon/help.d.ts +4 -0
- package/lib/icon/help.js +1 -0
- package/lib/icon/icon.d.ts +12 -0
- package/lib/icon/image-fill.d.ts +4 -0
- package/lib/icon/image-fill.js +1 -0
- package/lib/icon/img-error.d.ts +4 -0
- package/lib/icon/img-placehoulder.d.ts +4 -0
- package/lib/icon/img-placehoulder.js +1 -0
- package/lib/icon/index.d.ts +79 -0
- package/lib/icon/index.js +1 -0
- package/lib/icon/info-line.d.ts +4 -0
- package/lib/icon/info-line.js +1 -0
- package/lib/icon/info.d.ts +4 -0
- package/lib/icon/info.js +1 -0
- package/lib/icon/left-shape.d.ts +4 -0
- package/lib/icon/left-shape.js +1 -0
- package/lib/icon/left-turn-line.d.ts +4 -0
- package/lib/icon/left-turn-line.js +1 -0
- package/lib/icon/narrow-line.d.ts +4 -0
- package/lib/icon/narrow-line.js +1 -0
- package/lib/icon/original.d.ts +4 -0
- package/lib/icon/original.js +1 -0
- package/lib/icon/pdf-fill.d.ts +4 -0
- package/lib/icon/pdf-fill.js +1 -0
- package/lib/icon/play-shape.d.ts +4 -0
- package/lib/icon/play-shape.js +1 -0
- package/lib/icon/plus.d.ts +4 -0
- package/lib/icon/plus.js +1 -0
- package/lib/icon/ppt-fill.d.ts +4 -0
- package/lib/icon/ppt-fill.js +1 -0
- package/lib/icon/qq.d.ts +4 -0
- package/lib/icon/qq.js +1 -0
- package/lib/icon/right-shape.d.ts +4 -0
- package/lib/icon/right-shape.js +1 -0
- package/lib/icon/right-turn-line.d.ts +4 -0
- package/lib/icon/right-turn-line.js +1 -0
- package/lib/icon/search.d.ts +4 -0
- package/lib/icon/search.js +1 -0
- package/lib/icon/share.d.ts +4 -0
- package/lib/icon/share.js +1 -0
- package/lib/icon/spinner.d.ts +4 -0
- package/lib/icon/spinner.js +1 -0
- package/lib/icon/success.d.ts +4 -0
- package/lib/icon/success.js +1 -0
- package/lib/icon/switcher-loading.d.ts +4 -0
- package/lib/icon/switcher-loading.js +1 -0
- package/lib/icon/text-file.d.ts +4 -0
- package/lib/icon/text-file.js +1 -0
- package/lib/icon/text-fill.d.ts +4 -0
- package/lib/icon/text-fill.js +1 -0
- package/lib/icon/transfer.d.ts +4 -0
- package/lib/icon/transfer.js +1 -0
- package/lib/icon/tree-application-shape.d.ts +4 -0
- package/lib/icon/tree-application-shape.js +1 -0
- package/lib/icon/unfull-screen.d.ts +4 -0
- package/lib/icon/unfull-screen.js +1 -0
- package/lib/icon/unvisible.d.ts +4 -0
- package/lib/icon/unvisible.js +1 -0
- package/lib/icon/up-shape.d.ts +4 -0
- package/lib/icon/up-shape.js +1 -0
- package/lib/icon/upload.d.ts +4 -0
- package/lib/icon/upload.js +1 -0
- package/lib/icon/video-fill.d.ts +4 -0
- package/lib/icon/video-fill.js +1 -0
- package/lib/icon/warn.d.ts +4 -0
- package/lib/icon/warn.js +1 -0
- package/lib/icon/weixin.d.ts +4 -0
- package/lib/icon/weixin.js +1 -0
- package/lib/image/image-viewer.css +142 -0
- package/lib/image/image-viewer.d.ts +73 -0
- package/lib/image/image-viewer.less +168 -0
- package/lib/image/image-viewer.variable.css +142 -0
- package/lib/image/image.css +37 -0
- package/lib/image/image.d.ts +93 -0
- package/lib/image/image.less +44 -0
- package/lib/image/image.variable.css +37 -0
- package/lib/image/index.d.ts +246 -0
- package/lib/image/index.js +1 -0
- package/lib/image/props.d.ts +71 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +1 -0
- package/lib/info-box/index.d.ts +6 -0
- package/lib/info-box/index.js +1 -0
- package/lib/info-box/info-box.css +37 -0
- package/lib/info-box/info-box.d.ts +26 -0
- package/lib/info-box/info-box.less +51 -0
- package/lib/info-box/info-box.variable.css +157 -0
- package/lib/input/index.d.ts +528 -0
- package/lib/input/index.js +1 -0
- package/lib/input/input.css +351 -0
- package/lib/input/input.d.ts +337 -0
- package/lib/input/input.less +306 -0
- package/lib/input/input.variable.css +471 -0
- package/lib/link/index.d.ts +172 -0
- package/lib/link/index.js +1 -0
- package/lib/link/link.css +55 -0
- package/lib/link/link.d.ts +60 -0
- package/lib/link/link.less +76 -0
- package/lib/link/link.variable.css +175 -0
- package/lib/loading/index.d.ts +257 -0
- package/lib/loading/index.js +1 -0
- package/lib/loading/loading.css +305 -0
- package/lib/loading/loading.d.ts +160 -0
- package/lib/loading/loading.less +193 -0
- package/lib/loading/loading.variable.css +425 -0
- package/lib/menu/index.d.ts +180 -0
- package/lib/menu/index.js +1 -0
- package/lib/menu/menu-group.d.ts +14 -0
- package/lib/menu/menu-item.d.ts +16 -0
- package/lib/menu/menu.css +233 -0
- package/lib/menu/menu.d.ts +55 -0
- package/lib/menu/menu.less +180 -0
- package/lib/menu/menu.variable.css +353 -0
- package/lib/menu/submenu.css +3 -0
- package/lib/menu/submenu.d.ts +22 -0
- package/lib/menu/submenu.less +5 -0
- package/lib/menu/submenu.variable.css +123 -0
- package/lib/menu/utils.d.ts +41 -0
- package/lib/message/index.d.ts +2 -0
- package/lib/message/index.js +1 -0
- package/lib/message/message.css +74 -0
- package/lib/message/message.less +87 -0
- package/lib/message/message.variable.css +194 -0
- package/lib/message/messageConstructor.d.ts +109 -0
- package/lib/modal/index.d.ts +592 -0
- package/lib/modal/index.js +1 -0
- package/lib/modal/modal.css +73 -0
- package/lib/modal/modal.d.ts +209 -0
- package/lib/modal/modal.less +48 -0
- package/lib/modal/modal.variable.css +193 -0
- package/lib/modal/props.mixin.d.ts +87 -0
- package/lib/navigation/index.d.ts +311 -0
- package/lib/navigation/index.js +1 -0
- package/lib/navigation/navigation-title.d.ts +25 -0
- package/lib/navigation/navigation.css +184 -0
- package/lib/navigation/navigation.d.ts +120 -0
- package/lib/navigation/navigation.less +210 -0
- package/lib/navigation/navigation.variable.css +304 -0
- package/lib/notify/index.d.ts +2 -0
- package/lib/notify/index.js +1 -0
- package/lib/notify/notify.css +69 -0
- package/lib/notify/notify.less +81 -0
- package/lib/notify/notify.variable.css +189 -0
- package/lib/notify/notifyConstructor.d.ts +132 -0
- package/lib/overflow-title/components/OverflowTitle.d.ts +38 -0
- package/lib/overflow-title/directive/overflowTitle.d.ts +3 -0
- package/lib/overflow-title/index.d.ts +129 -0
- package/lib/overflow-title/index.js +1 -0
- package/lib/overflow-title/overflow.css +11 -0
- package/lib/overflow-title/overflow.less +13 -0
- package/lib/overflow-title/overflow.variable.css +11 -0
- package/lib/overflow-title/props.d.ts +16 -0
- package/lib/overflow-title/utils/getActualWidthByCanvas.d.ts +3 -0
- package/lib/overflow-title/utils/getActualWidthByDom.d.ts +3 -0
- package/lib/pagination/index.d.ts +410 -0
- package/lib/pagination/index.js +1 -0
- package/lib/pagination/pagination.css +205 -0
- package/lib/pagination/pagination.d.ts +230 -0
- package/lib/pagination/pagination.less +230 -0
- package/lib/pagination/pagination.variable.css +325 -0
- package/lib/pagination/type.d.ts +6 -0
- package/lib/pagination/use-limit.d.ts +8 -0
- package/lib/pagination/use-list.d.ts +8 -0
- package/lib/pagination/use-small-list.d.ts +5 -0
- package/lib/pagination/use-total.d.ts +5 -0
- package/lib/plugin-popover/index.d.ts +27 -0
- package/lib/plugin-popover/index.js +1 -0
- package/lib/plugins/index.d.ts +1 -0
- package/lib/plugins/index.js +1 -0
- package/lib/popover/arrow.d.ts +2 -0
- package/lib/popover/const.d.ts +16 -0
- package/lib/popover/content.d.ts +32 -0
- package/lib/popover/index.d.ts +653 -0
- package/lib/popover/index.js +1 -0
- package/lib/popover/plugin-popover.d.ts +12 -0
- package/lib/popover/popover.css +25 -0
- package/lib/popover/popover.d.ts +277 -0
- package/lib/popover/popover.less +35 -0
- package/lib/popover/popover.variable.css +145 -0
- package/lib/popover/props.d.ts +146 -0
- package/lib/popover/reference.d.ts +2 -0
- package/lib/popover/root.d.ts +16 -0
- package/lib/popover/use-floating.d.ts +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 +2 -0
- package/lib/popover2/index.d.ts +44 -0
- package/lib/popover2/index.js +1 -0
- package/lib/popover2/popover.d.ts +2 -0
- package/lib/preset.d.ts +7 -0
- package/lib/preset.js +1 -0
- package/lib/process/index.d.ts +205 -0
- package/lib/process/index.js +1 -0
- package/lib/process/process.css +151 -0
- package/lib/process/process.d.ts +131 -0
- package/lib/process/process.less +195 -0
- package/lib/process/process.variable.css +271 -0
- package/lib/progress/circle.d.ts +6 -0
- package/lib/progress/index.d.ts +398 -0
- package/lib/progress/index.js +1 -0
- package/lib/progress/line.d.ts +6 -0
- package/lib/progress/progress.css +145 -0
- package/lib/progress/progress.d.ts +171 -0
- package/lib/progress/progress.less +90 -0
- package/lib/progress/progress.variable.css +265 -0
- package/lib/radio/common.d.ts +13 -0
- package/lib/radio/index.d.ts +288 -0
- package/lib/radio/index.js +1 -0
- package/lib/radio/radio-button.d.ts +90 -0
- package/lib/radio/radio-group.d.ts +57 -0
- package/lib/radio/radio.css +139 -0
- package/lib/radio/radio.d.ts +87 -0
- package/lib/radio/radio.less +177 -0
- package/lib/radio/radio.variable.css +259 -0
- package/lib/radio/type.d.ts +14 -0
- package/lib/rate/index.d.ts +136 -0
- package/lib/rate/index.js +1 -0
- package/lib/rate/rate.css +10 -0
- package/lib/rate/rate.d.ts +43 -0
- package/lib/rate/rate.less +11 -0
- package/lib/rate/rate.variable.css +10 -0
- package/lib/rate/star.css +24 -0
- package/lib/rate/star.d.ts +74 -0
- package/lib/rate/star.less +29 -0
- package/lib/rate/star.variable.css +24 -0
- package/lib/resize-layout/index.d.ts +336 -0
- package/lib/resize-layout/index.js +1 -0
- package/lib/resize-layout/resize-layout.css +177 -0
- package/lib/resize-layout/resize-layout.d.ts +127 -0
- package/lib/resize-layout/resize-layout.less +217 -0
- package/lib/resize-layout/resize-layout.variable.css +297 -0
- package/lib/search-select/index.d.ts +823 -0
- package/lib/search-select/index.js +1 -0
- package/lib/search-select/input.d.ts +89 -0
- package/lib/search-select/menu.d.ts +83 -0
- package/lib/search-select/search-select.css +424 -0
- package/lib/search-select/search-select.d.ts +342 -0
- package/lib/search-select/search-select.less +380 -0
- package/lib/search-select/search-select.variable.css +544 -0
- package/lib/search-select/selected.d.ts +143 -0
- package/lib/search-select/utils.d.ts +88 -0
- package/lib/select/common.d.ts +26 -0
- package/lib/select/index.d.ts +2039 -0
- package/lib/select/index.js +1 -0
- package/lib/select/option.d.ts +37 -0
- package/lib/select/optionGroup.d.ts +54 -0
- package/lib/select/select.css +399 -0
- package/lib/select/select.d.ts +753 -0
- package/lib/select/select.less +443 -0
- package/lib/select/select.variable.css +519 -0
- package/lib/select/selectTagInput.d.ts +93 -0
- package/lib/select/type.d.ts +39 -0
- package/lib/shared/dom.d.ts +3 -0
- package/lib/shared/helper.d.ts +101 -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 +74 -0
- package/lib/shared/index.js +1 -0
- package/lib/shared/mask-manager.d.ts +80 -0
- package/lib/shared/pop-manager.d.ts +38 -0
- package/lib/shared/popover.d.ts +131 -0
- package/lib/shared/scrollbar-width.d.ts +1 -0
- package/lib/shared/token.d.ts +4 -0
- package/lib/shared/utils.d.ts +25 -0
- package/lib/shared/vue-types.d.ts +213 -0
- package/lib/shared/z-index-manager.d.ts +93 -0
- package/lib/sideslider/index.d.ts +477 -0
- package/lib/sideslider/index.js +1 -0
- package/lib/sideslider/sideslider.css +114 -0
- package/lib/sideslider/sideslider.d.ts +203 -0
- package/lib/sideslider/sideslider.less +145 -0
- package/lib/sideslider/sideslider.variable.css +234 -0
- package/lib/slider/index.d.ts +440 -0
- package/lib/slider/index.js +1 -0
- package/lib/slider/slider-button.d.ts +81 -0
- package/lib/slider/slider.css +149 -0
- package/lib/slider/slider.d.ts +201 -0
- package/lib/slider/slider.less +179 -0
- package/lib/slider/slider.variable.css +269 -0
- package/lib/steps/index.d.ts +250 -0
- package/lib/steps/index.js +1 -0
- package/lib/steps/steps.css +300 -0
- package/lib/steps/steps.d.ts +161 -0
- package/lib/steps/steps.less +345 -0
- package/lib/steps/steps.variable.css +420 -0
- package/lib/styles/index.d.ts +53 -0
- package/lib/styles/mixins/animate.css +21 -0
- package/lib/styles/mixins/animate.less +27 -0
- package/lib/styles/mixins/animate.variable.css +21 -0
- package/lib/styles/mixins/clearfix.css +8 -0
- package/lib/styles/mixins/clearfix.less +10 -0
- package/lib/styles/mixins/clearfix.variable.css +8 -0
- package/lib/styles/mixins/ellipsis.less +8 -0
- package/lib/styles/mixins/mixins.css +72 -0
- package/lib/styles/mixins/mixins.less +5 -0
- package/lib/styles/mixins/mixins.variable.css +72 -0
- package/lib/styles/mixins/popper.css +43 -0
- package/lib/styles/mixins/popper.less +53 -0
- package/lib/styles/mixins/popper.variable.css +163 -0
- package/lib/styles/mixins/scroll.css +17 -0
- package/lib/styles/mixins/scroll.less +22 -0
- package/lib/styles/mixins/scroll.variable.css +137 -0
- package/lib/styles/mixins/size.less +13 -0
- package/lib/styles/reset.css +309 -0
- package/lib/styles/reset.less +339 -0
- package/lib/styles/reset.variable.css +309 -0
- package/lib/styles/themes/themes.less +162 -0
- package/lib/swiper/index.d.ts +181 -0
- package/lib/swiper/index.js +1 -0
- package/lib/swiper/swiper.css +91 -0
- package/lib/swiper/swiper.d.ts +65 -0
- package/lib/swiper/swiper.less +107 -0
- package/lib/swiper/swiper.variable.css +91 -0
- package/lib/switcher/index.d.ts +298 -0
- package/lib/switcher/index.js +1 -0
- package/lib/switcher/switcher.css +323 -0
- package/lib/switcher/switcher.d.ts +119 -0
- package/lib/switcher/switcher.less +337 -0
- package/lib/switcher/switcher.variable.css +443 -0
- package/lib/tab/index.d.ts +435 -0
- package/lib/tab/index.js +1 -0
- package/lib/tab/props.d.ts +207 -0
- package/lib/tab/tab-nav.d.ts +169 -0
- package/lib/tab/tab-panel.d.ts +68 -0
- package/lib/tab/tab.css +223 -0
- package/lib/tab/tab.d.ts +139 -0
- package/lib/tab/tab.less +285 -0
- package/lib/tab/tab.variable.css +343 -0
- package/lib/table/components/index.d.ts +3 -0
- package/lib/table/components/table-cell.d.ts +38 -0
- package/lib/table/components/table-column.d.ts +137 -0
- package/lib/table/components/table-row.d.ts +2 -0
- package/lib/table/const.d.ts +122 -0
- package/lib/table/index.d.ts +1141 -0
- package/lib/table/index.js +1 -0
- package/lib/table/plugins/body-empty.d.ts +40 -0
- package/lib/table/plugins/col-group.d.ts +38 -0
- package/lib/table/plugins/common.d.ts +6 -0
- package/lib/table/plugins/head-filter.css +84 -0
- package/lib/table/plugins/head-filter.d.ts +26 -0
- package/lib/table/plugins/head-filter.less +110 -0
- package/lib/table/plugins/head-filter.variable.css +204 -0
- package/lib/table/plugins/head-sort.css +25 -0
- package/lib/table/plugins/head-sort.d.ts +22 -0
- package/lib/table/plugins/head-sort.less +31 -0
- package/lib/table/plugins/head-sort.variable.css +145 -0
- package/lib/table/plugins/index.d.ts +5 -0
- package/lib/table/plugins/settings.css +145 -0
- package/lib/table/plugins/settings.d.ts +37 -0
- package/lib/table/plugins/settings.less +179 -0
- package/lib/table/plugins/settings.variable.css +265 -0
- package/lib/table/plugins/use-active-columns.d.ts +16 -0
- package/lib/table/plugins/use-column-resize.d.ts +15 -0
- package/lib/table/plugins/use-fixed-column.d.ts +12 -0
- package/lib/table/plugins/use-pagination.d.ts +16 -0
- package/lib/table/plugins/use-scroll-loading.d.ts +5 -0
- package/lib/table/props.d.ts +434 -0
- package/lib/table/render.d.ts +121 -0
- package/lib/table/table.css +1273 -0
- package/lib/table/table.d.ts +350 -0
- package/lib/table/table.less +365 -0
- package/lib/table/table.variable.css +1393 -0
- package/lib/table/use-column.d.ts +11 -0
- package/lib/table/use-common.d.ts +97 -0
- package/lib/table/utils.d.ts +129 -0
- package/lib/table-column/index.d.ts +325 -0
- package/lib/table-column/index.js +1 -0
- package/lib/tag/index.d.ts +229 -0
- package/lib/tag/index.js +1 -0
- package/lib/tag/tag.css +130 -0
- package/lib/tag/tag.d.ts +84 -0
- package/lib/tag/tag.less +149 -0
- package/lib/tag/tag.variable.css +250 -0
- package/lib/tag-input/common.d.ts +36 -0
- package/lib/tag-input/index.d.ts +1349 -0
- package/lib/tag-input/index.js +1 -0
- package/lib/tag-input/list-tag-render.d.ts +44 -0
- package/lib/tag-input/tag-input.css +205 -0
- package/lib/tag-input/tag-input.d.ts +631 -0
- package/lib/tag-input/tag-input.less +248 -0
- package/lib/tag-input/tag-input.variable.css +325 -0
- package/lib/tag-input/tag-props.d.ts +252 -0
- package/lib/tag-input/tag-render.d.ts +64 -0
- package/lib/time-picker/index.d.ts +904 -0
- package/lib/time-picker/index.js +1 -0
- package/lib/time-picker/time-picker.css +215 -0
- package/lib/time-picker/time-picker.less +260 -0
- package/lib/time-picker/time-picker.variable.css +335 -0
- package/lib/timeline/index.d.ts +129 -0
- package/lib/timeline/index.js +1 -0
- package/lib/timeline/timeline.css +242 -0
- package/lib/timeline/timeline.d.ts +81 -0
- package/lib/timeline/timeline.less +252 -0
- package/lib/timeline/timeline.variable.css +362 -0
- package/lib/transfer/const.d.ts +5 -0
- package/lib/transfer/index.d.ts +365 -0
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/props.d.ts +54 -0
- package/lib/transfer/transfer.css +161 -0
- package/lib/transfer/transfer.d.ts +160 -0
- package/lib/transfer/transfer.less +151 -0
- package/lib/transfer/transfer.variable.css +281 -0
- package/lib/tree/constant.d.ts +62 -0
- package/lib/tree/index.d.ts +647 -0
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +213 -0
- package/lib/tree/tree.css +218 -0
- package/lib/tree/tree.d.ts +283 -0
- package/lib/tree/tree.less +114 -0
- package/lib/tree/tree.variable.css +338 -0
- package/lib/tree/use-empty.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +12 -0
- package/lib/tree/use-node-async.d.ts +5 -0
- package/lib/tree/use-node-attribute.d.ts +33 -0
- package/lib/tree/use-node-drag.d.ts +3 -0
- package/lib/tree/use-search.d.ts +11 -0
- package/lib/tree/use-tree-init.d.ts +15 -0
- package/lib/tree/util.d.ts +68 -0
- package/lib/upload/index.d.ts +566 -0
- package/lib/upload/index.js +1 -0
- package/lib/upload/props.d.ts +111 -0
- package/lib/upload/upload-list.d.ts +47 -0
- package/lib/upload/upload-trigger.d.ts +51 -0
- package/lib/upload/upload.css +425 -0
- package/lib/upload/upload.d.ts +246 -0
- package/lib/upload/upload.less +464 -0
- package/lib/upload/upload.type.d.ts +78 -0
- package/lib/upload/upload.variable.css +545 -0
- package/lib/upload/use-ajax-upload.d.ts +3 -0
- package/lib/upload/use-file-handler.d.ts +44 -0
- package/lib/use-message.d.ts +2 -0
- package/lib/virtual-render/index.d.ts +602 -0
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +172 -0
- package/lib/virtual-render/use-tag-render.d.ts +7 -0
- package/lib/virtual-render/v-virtual-render.d.ts +6 -0
- package/lib/virtual-render/virtual-render.css +33 -0
- package/lib/virtual-render/virtual-render.d.ts +266 -0
- package/lib/virtual-render/virtual-render.less +22 -0
- package/lib/virtual-render/virtual-render.variable.css +153 -0
- package/lib/volar.components.d.ts +101 -0
- package/package.json +59 -28
- package/LICENSE.txt +0 -22
@@ -0,0 +1,11 @@
|
|
1
|
+
import { Column, TablePropTypes } from './props';
|
2
|
+
declare const _default: (props: TablePropTypes, targetColumns: Column[]) => {
|
3
|
+
initColumns: (column: Column | Column[]) => void;
|
4
|
+
getColumns: () => Column[];
|
5
|
+
};
|
6
|
+
/**
|
7
|
+
* 渲染column settings
|
8
|
+
* @param props: TablePropTypes
|
9
|
+
* @param targetColumns 解析之后的column配置(主要用来处理通过<bk-column>配置的数据结构)
|
10
|
+
*/
|
11
|
+
export default _default;
|
@@ -0,0 +1,97 @@
|
|
1
|
+
import { Colgroups, Column, Settings, TablePropTypes } from './props';
|
2
|
+
/**
|
3
|
+
* 渲染class settings
|
4
|
+
* @param props: TablePropTypes
|
5
|
+
* @param targetColumns 解析之后的column配置(主要用来处理通过<bk-column>配置的数据结构)
|
6
|
+
* @param root root element
|
7
|
+
* @param reactiveProp 组件内部定义的响应式对象
|
8
|
+
* @param pageData 当前页数据
|
9
|
+
*/
|
10
|
+
export declare const useClass: (props: TablePropTypes, targetColumns: Column[], root?: any, reactiveProp?: any, pageData?: any[]) => {
|
11
|
+
tableClass: import("vue").ComputedRef<string>;
|
12
|
+
headClass: string;
|
13
|
+
contentClass: {
|
14
|
+
[x: string]: boolean;
|
15
|
+
};
|
16
|
+
footerClass: import("vue").ComputedRef<string>;
|
17
|
+
wrapperStyle: import("vue").ComputedRef<{
|
18
|
+
minHeight: string | number;
|
19
|
+
width: string;
|
20
|
+
maxWidth: string;
|
21
|
+
}>;
|
22
|
+
contentStyle: {
|
23
|
+
display: string;
|
24
|
+
'min-height': string;
|
25
|
+
height: string;
|
26
|
+
maxHeight: string;
|
27
|
+
};
|
28
|
+
headStyle: import("vue").ComputedRef<{
|
29
|
+
'--row-height': string;
|
30
|
+
'--scroll-head-left': string;
|
31
|
+
'--scroll-left': string;
|
32
|
+
}>;
|
33
|
+
resetTableHeight: (rootEl: HTMLElement) => void;
|
34
|
+
updateBorderClass: (root: HTMLElement) => void;
|
35
|
+
getColumnsWidthOffsetWidth: () => number;
|
36
|
+
hasFooter: import("vue").ComputedRef<number>;
|
37
|
+
hasScrollY: any;
|
38
|
+
};
|
39
|
+
/**
|
40
|
+
* 渲染初始化数据 settings
|
41
|
+
* @param props: TablePropTypes
|
42
|
+
* @param targetColumns 解析之后的column配置(主要用来处理通过<bk-column>配置的数据结构)
|
43
|
+
*/
|
44
|
+
export declare const useInit: (props: TablePropTypes, targetColumns: Column[]) => {
|
45
|
+
colgroups: Colgroups[];
|
46
|
+
dragOffsetXStyle: import("vue").ComputedRef<{
|
47
|
+
readonly position: "absolute";
|
48
|
+
readonly top: 0;
|
49
|
+
readonly bottom: 0;
|
50
|
+
readonly left: 0;
|
51
|
+
readonly width: "1px";
|
52
|
+
readonly 'background-color': "#ebeef5";
|
53
|
+
}>;
|
54
|
+
dragOffsetX: import("vue").Ref<number>;
|
55
|
+
reactiveSchema: {
|
56
|
+
rowActions: Map<any, any>;
|
57
|
+
scrollTranslateY: number;
|
58
|
+
scrollTranslateX: number;
|
59
|
+
pos: {
|
60
|
+
bottom: number;
|
61
|
+
};
|
62
|
+
activeColumns: any[];
|
63
|
+
settings: boolean | {
|
64
|
+
fields: (() => import("./props").Field[]) | {
|
65
|
+
label: string;
|
66
|
+
field?: string;
|
67
|
+
disabled?: boolean;
|
68
|
+
}[];
|
69
|
+
checked: string[] | (() => string[]);
|
70
|
+
limit: (number | object | (() => number) | ((props: Record<string, unknown>) => number)) & number;
|
71
|
+
size: "small" | "large" | "medium";
|
72
|
+
sizeList: (object & (() => import("./props").SizeItem[])) | {
|
73
|
+
value?: string;
|
74
|
+
label?: string;
|
75
|
+
height?: number;
|
76
|
+
}[];
|
77
|
+
showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
78
|
+
};
|
79
|
+
setting: {
|
80
|
+
size: string;
|
81
|
+
height: any;
|
82
|
+
};
|
83
|
+
defaultSort: any;
|
84
|
+
};
|
85
|
+
indexData: any[];
|
86
|
+
fixedWrapperClass: string;
|
87
|
+
initIndexData: (keepLocalAction?: boolean) => void;
|
88
|
+
updateIndexData: (selectedAll?: boolean) => void;
|
89
|
+
renderFixedColumns: (scrollX?: any, offsetRight?: any) => ("" | JSX.Element)[];
|
90
|
+
setRowExpand: (row: any, expand?: any) => void;
|
91
|
+
updateColGroups: (settings?: Settings) => void;
|
92
|
+
clearSelection: () => void;
|
93
|
+
toggleAllSelection: (checked?: any) => void;
|
94
|
+
toggleRowSelection: (row: any, selected: boolean) => void;
|
95
|
+
getSelection: () => any[];
|
96
|
+
clearSort: () => void;
|
97
|
+
};
|
@@ -0,0 +1,129 @@
|
|
1
|
+
import { Column, GroupColumn, TablePropTypes } from './props';
|
2
|
+
/**
|
3
|
+
* 解析Prop值 | 可能为多种类型 & 函数返回的场景
|
4
|
+
* @param prop 当前Prop
|
5
|
+
* @param key 要处理的Key
|
6
|
+
* @param args 如果是函数,传递参数
|
7
|
+
* @returns
|
8
|
+
*/
|
9
|
+
export declare const resolvePropVal: (prop: any, key: string | string[], args: any[]) => any;
|
10
|
+
/**
|
11
|
+
* 处理Props中的ActiveColumn,解析为统一的数组格式
|
12
|
+
* @param props
|
13
|
+
* @returns
|
14
|
+
*/
|
15
|
+
export declare const resolveActiveColumns: (props: TablePropTypes) => number[];
|
16
|
+
/**
|
17
|
+
* 统一处理数字类型参数
|
18
|
+
* @param prop
|
19
|
+
* @returns
|
20
|
+
*/
|
21
|
+
export declare const resolveNumberToNumArray: (prop: number) => number[];
|
22
|
+
export declare const resolveWidth: (propWidth: string | number) => string | number;
|
23
|
+
/**
|
24
|
+
* 解析可为数字或者字符串设置的样式配置
|
25
|
+
* @param val 配置值
|
26
|
+
* @param defaultValue 默认值
|
27
|
+
* @param offset 偏移量
|
28
|
+
* @returns 标准化px string
|
29
|
+
*/
|
30
|
+
export declare const resolveNumberOrStringToPix: (val: string | number, defaultValue?: string | number, offset?: any) => string | number;
|
31
|
+
/**
|
32
|
+
* 格式化Border配置为标准Class
|
33
|
+
* @param val
|
34
|
+
* @returns
|
35
|
+
*/
|
36
|
+
export declare const resolvePropBorderToClassStr: (val: string | string[]) => string;
|
37
|
+
/**
|
38
|
+
* 获取当前列实际宽度
|
39
|
+
* width props中设置的默认宽度
|
40
|
+
* calcWidth 计算后的宽度
|
41
|
+
* resizeWidth 拖拽重置之后的宽度
|
42
|
+
* @param colmun 当前列配置
|
43
|
+
* @param orders 获取宽度顺序
|
44
|
+
* @returns
|
45
|
+
*/
|
46
|
+
export declare const getColumnReactWidth: (colmun: GroupColumn, orders?: string[]) => any;
|
47
|
+
/**
|
48
|
+
* 根据Props Column配置计算并设置列宽度
|
49
|
+
* @param root 当前根元素
|
50
|
+
* @param colgroups Columns配置
|
51
|
+
* @param autoWidth 自动填充宽度
|
52
|
+
* @param offsetWidth 需要减掉的偏移量(滚动条|外层边框)
|
53
|
+
*/
|
54
|
+
export declare const resolveColumnWidth: (root: HTMLElement, colgroups: GroupColumn[], autoWidth?: number, offsetWidth?: number) => void;
|
55
|
+
/**
|
56
|
+
* 监听目标元素的Resize事件
|
57
|
+
* @param root 目标元素
|
58
|
+
* @param callbackFn 执行函数
|
59
|
+
* @param delay 延迟执行时间,默认 60
|
60
|
+
* @param immediate 是否立即执行回调函数
|
61
|
+
* @param resizerWay 执行方式:debounce | throttle
|
62
|
+
* @returns "{ start: () => void, stop: () => void }"
|
63
|
+
*/
|
64
|
+
export declare const observerResize: (root: HTMLElement, callbackFn: () => void, delay?: number, immediate?: boolean, resizerWay?: string) => {
|
65
|
+
start: () => void;
|
66
|
+
disconnect: () => void;
|
67
|
+
};
|
68
|
+
/**
|
69
|
+
* 判定为数值 | px | %
|
70
|
+
* @param val
|
71
|
+
* @returns
|
72
|
+
*/
|
73
|
+
export declare const isPercentPixOrNumber: (val: string | number) => boolean;
|
74
|
+
/**
|
75
|
+
* Format Table Head Option
|
76
|
+
* @param props
|
77
|
+
* @returns
|
78
|
+
*/
|
79
|
+
export declare const resolveHeadConfig: (props: TablePropTypes) => {
|
80
|
+
isShow: boolean;
|
81
|
+
height: number;
|
82
|
+
} & {
|
83
|
+
height?: Number;
|
84
|
+
isShow?: boolean;
|
85
|
+
cellFn?: Function;
|
86
|
+
};
|
87
|
+
/**
|
88
|
+
* 获取当前行指定列的内容
|
89
|
+
* @param row 当前行
|
90
|
+
* @param key 指定列名
|
91
|
+
* @param column 列配置
|
92
|
+
* @param index 当前行Index
|
93
|
+
* @returns
|
94
|
+
*/
|
95
|
+
export declare const getRowText: (row: any, key: string, column: Column) => any;
|
96
|
+
/**
|
97
|
+
* 格式化prop配置为标准数组格式
|
98
|
+
* @param prop prop对象值
|
99
|
+
* @param args 如果是function参数
|
100
|
+
* @returns
|
101
|
+
*/
|
102
|
+
export declare const formatPropAsArray: (prop: string | object | (() => any), args: any[]) => any;
|
103
|
+
export declare const isRenderScrollBottomLoading: (props: TablePropTypes) => boolean;
|
104
|
+
export declare const getRowKey: (item: any, props: TablePropTypes, index: number) => any;
|
105
|
+
export declare const hasRootScrollY: (root: any, querySelector: string, offsetHeight?: number) => boolean;
|
106
|
+
export declare const getColumnClass: (column: Column, colIndex?: number, uuid?: string) => {
|
107
|
+
column_fixed: boolean;
|
108
|
+
column_fixed_left: boolean;
|
109
|
+
column_fixed_right: boolean;
|
110
|
+
};
|
111
|
+
export declare const getElementTextWidth: (element: HTMLElement, text?: string) => any;
|
112
|
+
export declare const isColumnHidden: (settingFields: any, column: any, checked: any) => boolean;
|
113
|
+
export declare const resolveColumnSpan: (column: Column, colIndex: number, row: any, rowIndex: number, key: string) => any;
|
114
|
+
export declare const resolveCellSpan: (column: Column, colIndex: number, row: any, rowIndex: number) => {
|
115
|
+
colspan: any;
|
116
|
+
rowspan: any;
|
117
|
+
};
|
118
|
+
export declare const skipThisColumn: (columns: Column[], colIndex: number, row: any, rowIndex: number) => boolean;
|
119
|
+
export declare const getSortFn: (column: any, sortType: any) => (() => boolean) | ((_a: any, _b: any) => number);
|
120
|
+
export declare const getNextSortType: (sortType: string) => string;
|
121
|
+
export declare const resolveSort: (sort: string | boolean | any) => any;
|
122
|
+
export declare const isRowSelectEnable: (props: any, { row, index, isCheckAll }: {
|
123
|
+
row: any;
|
124
|
+
index: any;
|
125
|
+
isCheckAll: any;
|
126
|
+
}) => any;
|
127
|
+
export declare const getRowId: (row: any, index: any, props: any) => any;
|
128
|
+
export declare const getRowSourceData: (row: any) => any;
|
129
|
+
export declare const getColumnSourceData: (column: any) => any;
|
@@ -0,0 +1,325 @@
|
|
1
|
+
declare const BkTableColumn: {
|
2
|
+
new (...args: any[]): {
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
4
|
+
$data: {};
|
5
|
+
$props: Partial<{
|
6
|
+
fixed: boolean | "right" | "left";
|
7
|
+
filter: string | boolean | {
|
8
|
+
list: any[] | (object & (() => any[]));
|
9
|
+
filterFn: any;
|
10
|
+
match: "full" | "fuzzy";
|
11
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
12
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
13
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
14
|
+
};
|
15
|
+
sort: string | boolean | {
|
16
|
+
sortFn: any;
|
17
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
18
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
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 | "right" | "left"> & {
|
48
|
+
default: boolean | "right" | "left";
|
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" | "filter" | "sort" | "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 | "right" | "left"> & {
|
118
|
+
default: boolean | "right" | "left";
|
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
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
151
|
+
fixed: boolean | "right" | "left";
|
152
|
+
filter: string | boolean | {
|
153
|
+
list: any[] | (object & (() => any[]));
|
154
|
+
filterFn: any;
|
155
|
+
match: "full" | "fuzzy";
|
156
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
157
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
158
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
159
|
+
};
|
160
|
+
sort: string | boolean | {
|
161
|
+
sortFn: any;
|
162
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
163
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
164
|
+
};
|
165
|
+
minWidth: string | number;
|
166
|
+
columnKey: string;
|
167
|
+
showOverflowTooltip: boolean | import("../../table/src/props").IOverflowTooltip;
|
168
|
+
resizable: boolean;
|
169
|
+
}> & {
|
170
|
+
beforeCreate?: (() => void) | (() => void)[];
|
171
|
+
created?: (() => void) | (() => void)[];
|
172
|
+
beforeMount?: (() => void) | (() => void)[];
|
173
|
+
mounted?: (() => void) | (() => void)[];
|
174
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
175
|
+
updated?: (() => void) | (() => void)[];
|
176
|
+
activated?: (() => void) | (() => void)[];
|
177
|
+
deactivated?: (() => void) | (() => void)[];
|
178
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
179
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
180
|
+
destroyed?: (() => void) | (() => void)[];
|
181
|
+
unmounted?: (() => void) | (() => void)[];
|
182
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
183
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
184
|
+
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)[];
|
185
|
+
};
|
186
|
+
$forceUpdate: () => void;
|
187
|
+
$nextTick: typeof import("vue").nextTick;
|
188
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
189
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
190
|
+
prop: import("vue-types").VueTypeDef<any>;
|
191
|
+
label: import("vue-types").VueTypeDef<any>;
|
192
|
+
field: import("vue-types").VueTypeDef<any>;
|
193
|
+
render: import("vue-types").VueTypeDef<any>;
|
194
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
195
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
196
|
+
default: string | number;
|
197
|
+
};
|
198
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
199
|
+
default: string;
|
200
|
+
} & {
|
201
|
+
default: string;
|
202
|
+
};
|
203
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<boolean | import("../../table/src/props").IOverflowTooltip> & {
|
204
|
+
default: boolean | (() => import("../../table/src/props").IOverflowTooltip);
|
205
|
+
};
|
206
|
+
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
207
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
208
|
+
default: boolean;
|
209
|
+
} & {
|
210
|
+
default: boolean;
|
211
|
+
};
|
212
|
+
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
213
|
+
default: boolean | "right" | "left";
|
214
|
+
};
|
215
|
+
sort: import("vue-types").VueTypeDef<string | boolean | {
|
216
|
+
sortFn: any;
|
217
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
218
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
219
|
+
}> & {
|
220
|
+
default: string | boolean | (() => {
|
221
|
+
sortFn: any;
|
222
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
223
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
224
|
+
});
|
225
|
+
};
|
226
|
+
filter: import("vue-types").VueTypeDef<string | boolean | {
|
227
|
+
list: any[] | (object & (() => any[]));
|
228
|
+
filterFn: any;
|
229
|
+
match: "full" | "fuzzy";
|
230
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
231
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
232
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
233
|
+
}> & {
|
234
|
+
default: string | boolean | (() => {
|
235
|
+
list: any[] | (object & (() => any[]));
|
236
|
+
filterFn: any;
|
237
|
+
match: "full" | "fuzzy";
|
238
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
239
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
240
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
241
|
+
});
|
242
|
+
};
|
243
|
+
colspan: import("vue-types").VueTypeDef<any>;
|
244
|
+
rowspan: import("vue-types").VueTypeDef<any>;
|
245
|
+
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
246
|
+
__isFragment?: never;
|
247
|
+
__isTeleport?: never;
|
248
|
+
__isSuspense?: never;
|
249
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
250
|
+
prop: import("vue-types").VueTypeDef<any>;
|
251
|
+
label: import("vue-types").VueTypeDef<any>;
|
252
|
+
field: import("vue-types").VueTypeDef<any>;
|
253
|
+
render: import("vue-types").VueTypeDef<any>;
|
254
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
255
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
256
|
+
default: string | number;
|
257
|
+
};
|
258
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
259
|
+
default: string;
|
260
|
+
} & {
|
261
|
+
default: string;
|
262
|
+
};
|
263
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<boolean | import("../../table/src/props").IOverflowTooltip> & {
|
264
|
+
default: boolean | (() => import("../../table/src/props").IOverflowTooltip);
|
265
|
+
};
|
266
|
+
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
267
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
268
|
+
default: boolean;
|
269
|
+
} & {
|
270
|
+
default: boolean;
|
271
|
+
};
|
272
|
+
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
273
|
+
default: boolean | "right" | "left";
|
274
|
+
};
|
275
|
+
sort: import("vue-types").VueTypeDef<string | boolean | {
|
276
|
+
sortFn: any;
|
277
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
278
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
279
|
+
}> & {
|
280
|
+
default: string | boolean | (() => {
|
281
|
+
sortFn: any;
|
282
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
283
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
284
|
+
});
|
285
|
+
};
|
286
|
+
filter: import("vue-types").VueTypeDef<string | boolean | {
|
287
|
+
list: any[] | (object & (() => any[]));
|
288
|
+
filterFn: any;
|
289
|
+
match: "full" | "fuzzy";
|
290
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
291
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
292
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
293
|
+
}> & {
|
294
|
+
default: string | boolean | (() => {
|
295
|
+
list: any[] | (object & (() => any[]));
|
296
|
+
filterFn: any;
|
297
|
+
match: "full" | "fuzzy";
|
298
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
299
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
300
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
301
|
+
});
|
302
|
+
};
|
303
|
+
colspan: import("vue-types").VueTypeDef<any>;
|
304
|
+
rowspan: import("vue-types").VueTypeDef<any>;
|
305
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
306
|
+
fixed: boolean | "right" | "left";
|
307
|
+
filter: string | boolean | {
|
308
|
+
list: any[] | (object & (() => any[]));
|
309
|
+
filterFn: any;
|
310
|
+
match: "full" | "fuzzy";
|
311
|
+
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
312
|
+
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
313
|
+
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
314
|
+
};
|
315
|
+
sort: string | boolean | {
|
316
|
+
sortFn: any;
|
317
|
+
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
318
|
+
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
319
|
+
};
|
320
|
+
minWidth: string | number;
|
321
|
+
columnKey: string;
|
322
|
+
showOverflowTooltip: boolean | import("../../table/src/props").IOverflowTooltip;
|
323
|
+
resizable: boolean;
|
324
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
325
|
+
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:()=>h});var e,o,p,r,n=s(4212),t=s(748);function y(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 f,i,P=[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"}(f||(f={})),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 l,d=function(){return!0};y(e={},i.COLUMN_PICK,d),y(e,i.COLUMN_FILTER,d),y(e,i.COLUMN_SORT,d),y(e,i.COLUMN_FILTER_SAVE,d),y(e,i.ROW_CLICK,d),y(e,i.ROW_DBL_CLICK,d),y(e,i.ROW_EXPAND_CLICK,d),y(e,i.ROW_SELECT,d),y(e,i.ROW_SELECT_ALL,d),y(e,i.ROW_SELECT_CHANGE,d),y(e,i.PAGE_LIMIT_CHANGE,d),y(e,i.PAGE_VALUE_CHANGE,d),y(e,i.SETTING_CHANGE,d),y(e,i.SCROLL_BOTTOM,d),y(e,i.CELL_CLICK,d),y(e,i.CELL_DBL_CLICK,d),y(o={},i.NATIVE_CLICK,d),y(o,i.NATIVE_DBL_CLICK,d),function(e){e.ASC="asc",e.DESC="desc",e.NULL="null",e.CUSTOM="custom"}(l||(l={})),l.ASC,l.DESC,l.NULL,l.CUSTOM;var u,c,a=s(210);!function(e){e.CURRENT="current",e.ALL="all"}(u||(u={})),function(e){e.STATIC="static",e.AUTO="auto"}(c||(c={}));var O,L=(0,a.toType)("showOverflowTooltipMode",{default:c.AUTO});!function(e){e.SELECTION="selection",e.INDEX="index",e.EXPAND="expand",e.NONE="none"}(O||(O={}));var C,b=(0,a.toType)("columnType",{default:O.NONE});!function(e){e.FULL="full",e.FUZZY="fuzzy"}(C||(C={}));var E,_=(0,a.toType)("full",{default:C.FULL});!function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large"}(E||(E={}));var g,I=(0,a.toType)("columnSize",{default:E.SMALL});!function(e){e.LEFT="left",e.RIGHT="right"}(g||(g={}));var N,v,m=(0,a.toType)("columnSize",{}),R=(0,a.toType)("sortScope",{}).def(u.CURRENT);!function(e){e.MULTI="multi",e.SINGLE="single",e.DISABLED="disabled"}(N||(N={})),function(e){e.DEBOUNCE="debounce",e.THROTTLE="throttle"}(v||(v={}));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(80),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:L})]).def(void 0),type:b,resizable:n.PropTypes.bool.def(!0),fixed:n.PropTypes.oneOfType([n.PropTypes.bool,m]).def(!1),sort:n.PropTypes.oneOfType([n.PropTypes.shape({sortFn:n.PropTypes.func.def(void 0),sortScope:R,value:n.PropTypes.string.def(l.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:R,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)).def([]),n.PropTypes.oneOfType([n.PropTypes.number.def(-1),n.PropTypes.arrayOf(n.PropTypes.number.def(-1))]),(0,a.toType)("columnPick",{}).def(N.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,a.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.def("暂无数据"),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:I,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:L})]).def(!1),n.PropTypes.bool.def(!1),n.PropTypes.oneOf(P).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,a.toType)("ResizerWay",{default:v.THROTTLE});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,o){var p=o.slots,r=(0,t.inject)("InitColumns",(function(e){}),!1);return(0,t.onBeforeMount)((function(){var o=(0,t.reactive)(Object.assign(Object.assign({},e),{field:e.prop||e.field}));r(o),o.render=p.default?function(e){var o;return null===(o=p.default)||void 0===o?void 0:o.call(p,e)}:void 0})),function(){var e;return(0,t.createVNode)(t.Fragment,null,[null===(e=p.default)||void 0===e?void 0:e.call(p,{row:{}})])}}}),h=(0,n.withInstall)(A)})(),T})()));
|