bkui-vue 2.0.1-beta.11 → 2.0.1-beta.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/dist/index.cjs.js +142 -168
- package/dist/index.esm.js +29125 -32074
- package/dist/index.umd.js +142 -168
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +1 -0
- package/lib/affix/index.d.ts +111 -57
- package/lib/affix/index.js +24 -24
- package/lib/alert/alert.d.ts +5 -12
- package/lib/alert/alert.variable.css +1 -0
- package/lib/alert/index.d.ts +131 -93
- package/lib/alert/index.js +25 -25
- package/lib/animate-number/index.d.ts +96 -33
- package/lib/animate-number/index.js +7 -8
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/backtop.variable.css +1 -0
- package/lib/backtop/index.d.ts +118 -70
- package/lib/backtop/index.js +16 -17
- package/lib/badge/badge.variable.css +1 -0
- package/lib/badge/index.d.ts +152 -119
- package/lib/badge/index.js +20 -20
- package/lib/breadcrumb/breadcrumb.variable.css +1 -0
- package/lib/breadcrumb/index.d.ts +119 -67
- package/lib/breadcrumb/index.js +17 -17
- package/lib/button/button.css +188 -144
- package/lib/button/button.d.ts +10 -10
- package/lib/button/button.less +74 -71
- package/lib/button/button.variable.css +189 -144
- package/lib/button/index.d.ts +160 -124
- package/lib/button/index.js +26 -26
- package/lib/card/card.variable.css +1 -0
- package/lib/card/index.d.ts +157 -128
- package/lib/card/index.js +22 -20
- package/lib/cascader/cascader-panel.d.ts +6 -1
- package/lib/cascader/cascader.css +4 -0
- package/lib/cascader/cascader.d.ts +8 -4
- package/lib/cascader/cascader.less +5 -0
- package/lib/cascader/cascader.variable.css +5 -0
- package/lib/cascader/index.d.ts +355 -393
- package/lib/cascader/index.js +377 -308
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/checkbox-group.d.ts +0 -16
- package/lib/checkbox/checkbox.css +8 -0
- package/lib/checkbox/checkbox.d.ts +40 -8
- package/lib/checkbox/checkbox.less +12 -0
- package/lib/checkbox/checkbox.variable.css +9 -0
- package/lib/checkbox/index.d.ts +194 -127
- package/lib/checkbox/index.js +65 -52
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/code-diff.variable.css +1 -0
- package/lib/code-diff/index.d.ts +82 -65
- package/lib/code-diff/index.js +446 -389
- package/lib/collapse/collapse-panel.d.ts +5 -5
- package/lib/collapse/collapse.variable.css +1 -0
- package/lib/collapse/index.d.ts +180 -161
- package/lib/collapse/index.js +31 -30
- package/lib/collapse/props.d.ts +2 -2
- package/lib/collapse/utils.d.ts +2 -2
- package/lib/collapse-transition/collapse-transition.variable.css +1 -0
- package/lib/collapse-transition/index.d.ts +94 -19
- package/lib/collapse-transition/index.js +3 -4
- package/lib/color-picker/color-picker.d.ts +17 -1
- package/lib/color-picker/color-picker.variable.css +1 -0
- package/lib/color-picker/index.d.ts +168 -124
- package/lib/color-picker/index.js +93 -88
- package/lib/components.d.ts +30 -32
- package/lib/components.js +29 -31
- package/lib/config-provider/config-provider.variable.css +1 -0
- package/lib/config-provider/index.d.ts +228 -161
- package/lib/config-provider/index.js +17 -17
- package/lib/container/container.d.ts +1 -1
- package/lib/container/container.variable.css +1 -0
- package/lib/container/index.d.ts +85 -74
- package/lib/container/index.js +32 -35
- package/lib/date-picker/base/date-table.d.ts +1 -1
- package/lib/date-picker/base/month-table.d.ts +1 -1
- package/lib/date-picker/base/picker-dropdown.d.ts +2 -2
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/base/year-table.d.ts +1 -1
- package/lib/date-picker/date-picker.d.ts +7 -15
- package/lib/date-picker/date-picker.variable.css +1 -0
- package/lib/date-picker/index.d.ts +356 -399
- package/lib/date-picker/index.js +343 -297
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +6 -6
- package/lib/date-picker/panel/date.d.ts +2 -2
- package/lib/date-picker/panel/time-range.d.ts +3 -12
- package/lib/date-picker/panel/time.d.ts +3 -12
- package/lib/date-picker/props.d.ts +1 -5
- package/lib/date-picker/time-picker.d.ts +7 -14
- package/lib/date-picker/utils.d.ts +1 -1
- package/lib/dialog/dialog.d.ts +47 -31
- package/lib/dialog/dialog.variable.css +1 -0
- package/lib/dialog/index.d.ts +309 -305
- package/lib/dialog/index.js +252 -249
- package/lib/dialog/props.d.ts +20 -13
- package/lib/directives/index.d.ts +4 -3
- package/lib/directives/index.js +219 -197
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +2 -4
- package/lib/divider/divider.d.ts +5 -5
- package/lib/divider/divider.variable.css +1 -0
- package/lib/divider/index.d.ts +116 -62
- package/lib/divider/index.js +4 -5
- package/lib/divider/props.d.ts +2 -2
- package/lib/dropdown/dropdown-item.d.ts +1 -1
- package/lib/dropdown/dropdown-menu.d.ts +1 -1
- package/lib/dropdown/dropdown.d.ts +7 -7
- package/lib/dropdown/dropdown.variable.css +1 -0
- package/lib/dropdown/index.d.ts +144 -102
- package/lib/dropdown/index.js +32 -32
- package/lib/exception/exception.d.ts +9 -9
- package/lib/exception/exception.variable.css +1 -0
- package/lib/exception/index.d.ts +107 -46
- package/lib/exception/index.js +31 -31
- package/lib/exception/typings/index.d.ts +1 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +1 -0
- package/lib/fixed-navbar/index.d.ts +113 -59
- package/lib/fixed-navbar/index.js +4 -5
- package/lib/form/form-item.d.ts +7 -19
- package/lib/form/form.d.ts +3 -3
- package/lib/form/form.variable.css +1 -0
- package/lib/form/index.d.ts +139 -94
- package/lib/form/index.js +44 -42
- package/lib/form/type.d.ts +2 -2
- package/lib/icon/angle-double-down-line.js +17 -17
- package/lib/icon/angle-double-left-line.js +17 -17
- package/lib/icon/angle-double-left.js +17 -17
- package/lib/icon/angle-double-right-line.js +17 -17
- package/lib/icon/angle-double-right.js +17 -17
- package/lib/icon/angle-double-up-line.js +17 -17
- package/lib/icon/angle-down-fill.js +17 -17
- package/lib/icon/angle-down-line.js +17 -17
- package/lib/icon/angle-down.js +17 -17
- package/lib/icon/angle-left.js +17 -17
- package/lib/icon/angle-right.js +17 -17
- package/lib/icon/angle-up-fill.js +17 -17
- package/lib/icon/angle-up.js +17 -17
- package/lib/icon/archive-fill.js +17 -17
- package/lib/icon/arrows-left.js +17 -17
- package/lib/icon/arrows-right.js +17 -17
- package/lib/icon/assistant.js +17 -17
- package/lib/icon/audio-fill.js +17 -17
- package/lib/icon/bk.js +17 -17
- package/lib/icon/circle.js +17 -17
- package/lib/icon/close-line.js +17 -17
- package/lib/icon/close.js +17 -17
- package/lib/icon/code.js +17 -17
- package/lib/icon/cog-shape.js +17 -17
- package/lib/icon/collapse-left.js +17 -17
- package/lib/icon/copy-shape.js +17 -17
- package/lib/icon/copy.js +17 -17
- package/lib/icon/data-shape.js +17 -17
- package/lib/icon/del.js +17 -17
- package/lib/icon/doc-fill.js +17 -17
- package/lib/icon/done.js +17 -17
- package/lib/icon/down-shape.js +17 -17
- package/lib/icon/down-small.js +17 -17
- package/lib/icon/edit-line.js +17 -17
- package/lib/icon/ellipsis.js +17 -17
- package/lib/icon/enlarge-line.js +17 -17
- package/lib/icon/error.js +17 -17
- package/lib/icon/excel-fill.js +17 -17
- package/lib/icon/exclamation-circle-shape.js +17 -17
- package/lib/icon/eye.js +17 -17
- package/lib/icon/filliscreen-line.js +17 -17
- package/lib/icon/fix-line.js +17 -17
- package/lib/icon/fix-shape.js +17 -17
- package/lib/icon/folder-open.js +17 -17
- package/lib/icon/folder-shape-open.js +17 -17
- package/lib/icon/folder-shape.js +17 -17
- package/lib/icon/folder.js +17 -17
- package/lib/icon/funnel.js +17 -17
- package/lib/icon/grag-fill.js +17 -17
- package/lib/icon/help-document-fill.js +17 -17
- package/lib/icon/help-fill.js +17 -17
- package/lib/icon/help.js +17 -17
- package/lib/icon/image-fill.js +17 -17
- package/lib/icon/img-error.js +17 -17
- package/lib/icon/img-placehoulder.js +17 -17
- package/lib/icon/index.d.ts +11 -11
- package/lib/icon/index.js +11 -11
- package/lib/icon/info-line.js +17 -17
- package/lib/icon/info.js +17 -17
- package/lib/icon/left-shape.js +17 -17
- package/lib/icon/left-turn-line.js +17 -17
- package/lib/icon/loading.js +17 -17
- package/lib/icon/narrow-line.js +17 -17
- package/lib/icon/original.js +17 -17
- package/lib/icon/pdf-fill.js +17 -17
- package/lib/icon/play-shape.js +17 -17
- package/lib/icon/plus.js +17 -17
- package/lib/icon/ppt-fill.js +17 -17
- package/lib/icon/qq.js +17 -17
- package/lib/icon/right-shape.js +17 -17
- package/lib/icon/right-turn-line.js +17 -17
- package/lib/icon/search.js +17 -17
- package/lib/icon/share.js +17 -17
- package/lib/icon/spinner.js +17 -17
- package/lib/icon/success.js +17 -17
- package/lib/icon/switcher-loading.js +17 -17
- package/lib/icon/text-all.js +17 -17
- package/lib/icon/text-file.js +17 -17
- package/lib/icon/text-fill.js +17 -17
- package/lib/icon/transfer.js +17 -17
- package/lib/icon/tree-application-shape.js +17 -17
- package/lib/icon/unfull-screen.js +17 -17
- package/lib/icon/unvisible.js +17 -17
- package/lib/icon/up-shape.js +17 -17
- package/lib/icon/upload.js +17 -17
- package/lib/icon/video-fill.js +17 -17
- package/lib/icon/warn.js +17 -17
- package/lib/icon/weixin-pro.js +17 -17
- package/lib/icon/weixin.js +17 -17
- package/lib/image/image-viewer.d.ts +1 -1
- package/lib/image/image-viewer.variable.css +1 -0
- package/lib/image/image.variable.css +1 -0
- package/lib/image/index.d.ts +149 -113
- package/lib/image/index.js +46 -48
- package/lib/index.d.ts +9 -3
- package/lib/index.js +5 -29
- package/lib/info-box/index.js +250 -250
- package/lib/info-box/info-box.d.ts +15 -15
- package/lib/info-box/info-box.variable.css +1 -0
- package/lib/input/index.d.ts +299 -332
- package/lib/input/index.js +110 -561
- package/lib/input/input.css +23 -1
- package/lib/input/input.d.ts +15 -15
- package/lib/input/input.less +30 -1
- package/lib/input/input.variable.css +24 -1
- package/lib/link/index.d.ts +127 -78
- package/lib/link/index.js +5 -5
- package/lib/link/link.d.ts +5 -5
- package/lib/link/link.variable.css +1 -0
- package/lib/loading/index.d.ts +162 -135
- package/lib/loading/index.js +43 -40
- package/lib/loading/loading.d.ts +9 -9
- package/lib/loading/loading.variable.css +1 -0
- package/lib/locale/index.d.ts +1 -1
- package/lib/menu/index.d.ts +131 -51
- package/lib/menu/index.js +46 -27
- package/lib/menu/menu-group.d.ts +9 -0
- package/lib/menu/menu-item.d.ts +9 -0
- package/lib/menu/menu.css +29 -17
- package/lib/menu/menu.less +33 -18
- package/lib/menu/menu.variable.css +30 -17
- package/lib/menu/submenu.d.ts +1 -0
- package/lib/menu/submenu.variable.css +1 -0
- package/lib/menu/utils.d.ts +3 -3
- package/lib/message/index.js +43 -42
- package/lib/message/message.css +2 -1
- package/lib/message/message.less +3 -2
- package/lib/message/message.variable.css +3 -1
- package/lib/message/messageConstructor.d.ts +21 -21
- package/lib/modal/index.d.ts +214 -159
- package/lib/modal/index.js +68 -47
- package/lib/modal/modal.d.ts +24 -8
- package/lib/modal/modal.variable.css +1 -0
- package/lib/modal/props.mixin.d.ts +10 -3
- package/lib/navigation/index.d.ts +188 -152
- package/lib/navigation/index.js +27 -29
- package/lib/navigation/navigation.d.ts +1 -1
- package/lib/navigation/navigation.variable.css +1 -0
- package/lib/notify/index.js +25 -24
- package/lib/notify/notify.variable.css +1 -0
- package/lib/notify/notifyConstructor.d.ts +5 -5
- package/lib/overflow-title/components/overflow-title.d.ts +45 -16
- package/lib/overflow-title/index.d.ts +298 -328
- package/lib/overflow-title/index.js +85 -28
- package/lib/overflow-title/overflow-title.css +3 -0
- package/lib/overflow-title/overflow-title.less +4 -0
- package/lib/overflow-title/overflow-title.variable.css +3 -0
- package/lib/overflow-title/props.d.ts +36 -21
- package/lib/pagination/index.d.ts +198 -203
- package/lib/pagination/index.js +128 -68
- package/lib/pagination/pagination.css +8 -8
- package/lib/pagination/pagination.d.ts +0 -13
- package/lib/pagination/pagination.less +14 -13
- package/lib/pagination/pagination.variable.css +9 -8
- package/lib/pagination/type.d.ts +1 -1
- package/lib/pagination/use-limit.d.ts +1 -1
- package/lib/pagination/use-total.d.ts +1 -1
- package/lib/plugin-popover/index.js +311 -304
- package/lib/pop-confirm/index.d.ts +162 -148
- package/lib/pop-confirm/index.js +40 -35
- package/lib/pop-confirm/pop-confirm.css +3 -1
- package/lib/pop-confirm/pop-confirm.d.ts +10 -20
- package/lib/pop-confirm/pop-confirm.less +3 -1
- package/lib/pop-confirm/pop-confirm.variable.css +4 -1
- package/lib/pop-confirm/props.d.ts +8 -11
- package/lib/popover/const.d.ts +3 -3
- package/lib/popover/content.d.ts +6 -3
- package/lib/popover/index.d.ts +411 -380
- package/lib/popover/index.js +311 -304
- package/lib/popover/plugin-popover.d.ts +1 -1
- package/lib/popover/popover.d.ts +51 -8
- package/lib/popover/popover.variable.css +1 -0
- package/lib/popover/props.d.ts +28 -4
- package/lib/popover/use-floating.d.ts +2 -2
- package/lib/popover/use-popover-init.d.ts +2 -1
- package/lib/popover/utils.d.ts +2 -0
- package/lib/popover2/index.d.ts +83 -8
- package/lib/popover2/index.js +2 -2
- package/lib/preset.d.ts +0 -1
- package/lib/preset.js +0 -1
- package/lib/process/index.d.ts +137 -93
- package/lib/process/index.js +229 -229
- package/lib/process/process.variable.css +1 -0
- package/lib/progress/index.d.ts +192 -183
- package/lib/progress/index.js +31 -33
- package/lib/progress/progress.d.ts +9 -9
- package/lib/progress/progress.variable.css +1 -0
- package/lib/radio/index.d.ts +155 -106
- package/lib/radio/index.js +76 -63
- package/lib/radio/radio-button.d.ts +7 -7
- package/lib/radio/radio-group.d.ts +7 -7
- package/lib/radio/radio.d.ts +7 -7
- package/lib/radio/radio.variable.css +1 -0
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.d.ts +112 -55
- package/lib/rate/index.js +28 -27
- package/lib/rate/rate.variable.css +1 -0
- package/lib/resize-layout/index.d.ts +204 -157
- package/lib/resize-layout/index.js +54 -34
- package/lib/resize-layout/resize-layout.d.ts +18 -7
- package/lib/resize-layout/resize-layout.variable.css +1 -0
- package/lib/scrollbar/css/scrollbar.css +109 -0
- package/lib/scrollbar/css/scrollbar.less +139 -0
- package/lib/scrollbar/{scrollbar.variable.css → css/scrollbar.variable.css} +96 -61
- package/lib/scrollbar/handlers/click-rail.d.ts +2 -0
- package/lib/scrollbar/handlers/drag-thumb.d.ts +1 -0
- package/lib/scrollbar/handlers/keyboard.d.ts +2 -0
- package/lib/scrollbar/handlers/mouse-wheel.d.ts +2 -0
- package/lib/scrollbar/handlers/touch.d.ts +4 -0
- package/lib/scrollbar/helper/class-names.d.ts +21 -0
- package/lib/scrollbar/helper/css.d.ts +3 -0
- package/lib/scrollbar/helper/dom.d.ts +4 -0
- package/lib/scrollbar/helper/event-manager.d.ts +20 -0
- package/lib/scrollbar/helper/util.d.ts +11 -0
- package/lib/scrollbar/index.d.ts +133 -13
- package/lib/scrollbar/index.js +1380 -18482
- package/lib/scrollbar/process-scroll-diff.d.ts +1 -0
- package/lib/scrollbar/update-geometry.d.ts +8 -0
- package/lib/search-select/index.d.ts +946 -701
- package/lib/search-select/index.js +644 -486
- package/lib/search-select/input.d.ts +20 -8
- package/lib/search-select/menu.d.ts +13 -1
- package/lib/search-select/search-select.css +45 -47
- package/lib/search-select/search-select.d.ts +207 -160
- package/lib/search-select/search-select.less +41 -41
- package/lib/search-select/search-select.variable.css +46 -47
- package/lib/search-select/selected.d.ts +209 -127
- package/lib/search-select/utils.d.ts +6 -6
- package/lib/select/common.d.ts +4 -4
- package/lib/select/index.d.ts +1457 -1384
- package/lib/select/index.js +603 -477
- package/lib/select/option.d.ts +6 -6
- package/lib/select/select.css +9 -4
- package/lib/select/select.d.ts +285 -148
- package/lib/select/select.less +11 -4
- package/lib/select/select.variable.css +10 -4
- package/lib/select/selectTagInput.d.ts +9 -8
- package/lib/select/type.d.ts +10 -11
- package/lib/shared/frame-throttle.d.ts +15 -0
- package/lib/shared/index.d.ts +2 -1
- package/lib/shared/index.js +166 -101
- package/lib/shared/popover.d.ts +3 -3
- package/lib/shared/token.d.ts +1 -1
- package/lib/shared/vue-types.d.ts +50 -50
- package/lib/shared/z-index-manager.d.ts +6 -6
- package/lib/sideslider/index.d.ts +220 -182
- package/lib/sideslider/index.js +239 -237
- package/lib/sideslider/sideslider.css +7 -8
- package/lib/sideslider/sideslider.d.ts +24 -8
- package/lib/sideslider/sideslider.less +7 -8
- package/lib/sideslider/sideslider.variable.css +8 -8
- package/lib/slider/index.d.ts +210 -214
- package/lib/slider/index.js +246 -249
- package/lib/slider/slider.variable.css +1 -0
- package/lib/steps/index.d.ts +155 -131
- package/lib/steps/index.js +234 -234
- package/lib/steps/steps.d.ts +8 -18
- package/lib/steps/steps.variable.css +1 -0
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/mixins/animate.variable.css +1 -0
- package/lib/styles/mixins/popper.variable.css +1 -0
- package/lib/styles/mixins/scroll.variable.css +1 -0
- package/lib/styles/reset.variable.css +1 -0
- package/lib/styles/themes/themes.less +1 -0
- package/lib/swiper/index.d.ts +127 -81
- package/lib/swiper/index.js +23 -23
- package/lib/swiper/swiper.variable.css +1 -0
- package/lib/switcher/index.d.ts +179 -157
- package/lib/switcher/index.js +24 -22
- package/lib/switcher/switcher.d.ts +9 -9
- package/lib/switcher/switcher.variable.css +1 -0
- package/lib/tab/index.d.ts +220 -258
- package/lib/tab/index.js +79 -69
- package/lib/tab/props.d.ts +27 -52
- package/lib/tab/tab-nav.d.ts +26 -66
- package/lib/tab/tab-panel.d.ts +27 -5
- package/lib/tab/tab.css +64 -0
- package/lib/tab/tab.d.ts +10 -54
- package/lib/tab/tab.less +91 -4
- package/lib/tab/tab.variable.css +65 -0
- package/lib/table/components/ghost-body.d.ts +2 -0
- package/lib/table/components/table-cell.d.ts +22 -0
- package/lib/table/components/table-column.d.ts +24 -127
- package/lib/table/const.d.ts +23 -10
- package/lib/table/events.d.ts +16 -112
- package/lib/table/hooks/use-cell.d.ts +20 -0
- package/lib/table/hooks/use-checkbox-tooltip.d.ts +11 -0
- package/lib/table/hooks/use-column-resize.d.ts +7 -0
- package/lib/table/hooks/use-column-template.d.ts +5 -0
- package/lib/table/hooks/use-columns.d.ts +69 -0
- package/lib/table/{plugins → hooks}/use-draggable.d.ts +2 -2
- package/lib/table/hooks/use-fixed-column.d.ts +10 -0
- package/lib/table/hooks/use-head.d.ts +16 -0
- package/lib/table/hooks/use-layout.d.ts +25 -0
- package/lib/table/hooks/use-pagination.d.ts +16 -0
- package/lib/table/hooks/use-render.d.ts +21 -0
- package/lib/table/hooks/use-rows.d.ts +30 -0
- package/lib/table/hooks/use-settings.d.ts +138 -0
- package/lib/table/{plugins → hooks}/use-shift-key.d.ts +4 -2
- package/lib/table/index.d.ts +412 -1029
- package/lib/table/index.js +4698 -20825
- package/lib/table/plugins/head-filter.css +5 -0
- package/lib/table/plugins/head-filter.d.ts +2 -1
- package/lib/table/plugins/head-filter.less +4 -0
- package/lib/table/plugins/head-filter.variable.css +6 -0
- package/lib/table/plugins/head-sort.variable.css +1 -0
- package/lib/table/plugins/settings.css +11 -1
- package/lib/table/plugins/settings.less +12 -1
- package/lib/table/plugins/settings.variable.css +12 -1
- package/lib/table/props.d.ts +127 -62
- package/lib/table/table.css +503 -302
- package/lib/table/table.d.ts +51 -185
- package/lib/table/table.less +244 -112
- package/lib/table/table.variable.css +504 -302
- package/lib/table/utils.d.ts +44 -21
- package/lib/table-column/index.d.ts +156 -369
- package/lib/table-column/index.js +143 -62
- package/lib/tag/index.d.ts +147 -100
- package/lib/tag/index.js +21 -22
- package/lib/tag/tag.css +1 -1
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag/tag.less +1 -1
- package/lib/tag/tag.variable.css +2 -1
- package/lib/tag-input/common.d.ts +2 -2
- package/lib/tag-input/index.d.ts +595 -712
- package/lib/tag-input/index.js +150 -17391
- package/lib/tag-input/tag-input.css +12 -9
- package/lib/tag-input/tag-input.d.ts +60 -24
- package/lib/tag-input/tag-input.less +13 -9
- package/lib/tag-input/tag-input.variable.css +13 -9
- package/lib/tag-input/tag-props.d.ts +25 -2
- package/lib/time-picker/index.d.ts +391 -455
- package/lib/time-picker/time-picker.variable.css +1 -0
- package/lib/timeline/index.d.ts +131 -64
- package/lib/timeline/index.js +8 -8
- package/lib/timeline/timeline.variable.css +1 -0
- package/lib/transfer/const.d.ts +2 -2
- package/lib/transfer/index.d.ts +206 -191
- package/lib/transfer/index.js +3 -5
- package/lib/transfer/transfer.variable.css +1 -0
- package/lib/tree/constant.d.ts +22 -20
- package/lib/tree/index.d.ts +329 -357
- package/lib/tree/index.js +176 -17389
- package/lib/tree/props.d.ts +18 -11
- package/lib/tree/tree.css +103 -69
- package/lib/tree/tree.d.ts +16 -10
- package/lib/tree/tree.variable.css +104 -69
- package/lib/tree/use-empty.d.ts +1 -1
- package/lib/tree/use-node-action.d.ts +10 -9
- package/lib/tree/use-node-async.d.ts +2 -1
- package/lib/tree/use-node-attribute.d.ts +42 -34
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +8 -5
- package/lib/tree/util.d.ts +21 -21
- package/lib/upload/index.d.ts +294 -286
- package/lib/upload/index.js +398 -316
- package/lib/upload/props.d.ts +11 -2
- package/lib/upload/upload-list.d.ts +11 -1
- package/lib/upload/upload-trigger.d.ts +11 -1
- package/lib/upload/upload.d.ts +25 -4
- package/lib/upload/upload.type.d.ts +12 -6
- package/lib/upload/upload.variable.css +1 -0
- package/lib/upload/use-file-handler.d.ts +1 -1
- package/lib/virtual-render/index.d.ts +247 -373
- package/lib/virtual-render/index.js +223 -162
- package/lib/virtual-render/props.d.ts +2 -9
- package/lib/virtual-render/use-fix-top.d.ts +1 -1
- package/lib/virtual-render/use-scrollbar.d.ts +4 -17
- package/lib/virtual-render/v-virtual-render.d.ts +7 -1
- package/lib/virtual-render/virtual-render.css +96 -70
- package/lib/virtual-render/virtual-render.d.ts +7 -23
- package/lib/virtual-render/virtual-render.less +2 -11
- package/lib/virtual-render/virtual-render.variable.css +96 -69
- package/lib/volar.components.d.ts +2 -0
- package/package.json +17 -55
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +0 -2
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/index.d.ts +0 -241
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +0 -1
- package/lib/scrollbar/scrollbar.css +0 -75
- package/lib/scrollbar/scrollbar.less +0 -94
- package/lib/table/plugins/col-group.d.ts +0 -38
- package/lib/table/plugins/settings.d.ts +0 -16
- package/lib/table/plugins/use-active-columns.d.ts +0 -16
- package/lib/table/plugins/use-column-resize.d.ts +0 -35
- package/lib/table/plugins/use-column-template.d.ts +0 -7
- package/lib/table/plugins/use-fixed-column.d.ts +0 -27
- package/lib/table/plugins/use-head-cell.d.ts +0 -7
- package/lib/table/plugins/use-pagination.d.ts +0 -23
- package/lib/table/use-attributes.d.ts +0 -62
- package/lib/table/use-column.d.ts +0 -275
- package/lib/table/use-common.d.ts +0 -1679
- package/lib/table/use-render.d.ts +0 -11
- /package/lib/table/{plugins → components}/body-empty.d.ts +0 -0
- /package/lib/table/{plugins → hooks}/use-observer-resize.d.ts +0 -0
- /package/lib/table/{plugins → hooks}/use-scroll-loading.d.ts +0 -0
package/lib/shared/index.js
CHANGED
@@ -107,6 +107,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
107
107
|
scrollTop: () => (/* reexport */ scrollTop),
|
108
108
|
scrollbarWidth: () => (/* reexport */ scrollbarWidth),
|
109
109
|
stringEnum: () => (/* reexport */ stringEnum),
|
110
|
+
throttle: () => (/* reexport */ throttle),
|
110
111
|
triggerType: () => (/* reexport */ triggerType),
|
111
112
|
useForm: () => (/* reexport */ useForm),
|
112
113
|
useFormItem: () => (/* reexport */ useFormItem),
|
@@ -180,7 +181,7 @@ function scrollTop(el) {
|
|
180
181
|
var step = Math.ceil(difference / duration * 50);
|
181
182
|
function scroll(start, end, step) {
|
182
183
|
if (start === end) {
|
183
|
-
endCallback === null || endCallback === void 0
|
184
|
+
endCallback === null || endCallback === void 0 ? void 0 : endCallback();
|
184
185
|
return;
|
185
186
|
}
|
186
187
|
var d = start + step > end ? end : start + step;
|
@@ -199,14 +200,14 @@ function scrollTop(el) {
|
|
199
200
|
scroll(from, to, step);
|
200
201
|
}
|
201
202
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
202
|
-
function _typeof(
|
203
|
+
function _typeof(obj) {
|
203
204
|
"@babel/helpers - typeof";
|
204
205
|
|
205
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
206
|
-
return typeof
|
207
|
-
} : function (
|
208
|
-
return
|
209
|
-
}, _typeof(
|
206
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
207
|
+
return typeof obj;
|
208
|
+
} : function (obj) {
|
209
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
210
|
+
}, _typeof(obj);
|
210
211
|
}
|
211
212
|
;// CONCATENATED MODULE: ../../packages/shared/src/helper.ts
|
212
213
|
|
@@ -235,7 +236,6 @@ function _typeof(o) {
|
|
235
236
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
236
237
|
* IN THE SOFTWARE.
|
237
238
|
*/
|
238
|
-
/* eslint-disable no-underscore-dangle */
|
239
239
|
/**
|
240
240
|
* Returns true if `value` is neither null nor undefined, else returns false.
|
241
241
|
* @param {*} value - The value to test.
|
@@ -361,10 +361,8 @@ function mergerFn(key, target, source, options) {
|
|
361
361
|
var tval = target[key];
|
362
362
|
var sval = source[key];
|
363
363
|
if (isObject(tval) && isObject(sval)) {
|
364
|
-
// eslint-disable-next-line no-use-before-define
|
365
364
|
merge(tval, sval, options);
|
366
365
|
} else {
|
367
|
-
// eslint-disable-next-line no-param-reassign
|
368
366
|
target[key] = clone(sval);
|
369
367
|
}
|
370
368
|
}
|
@@ -383,11 +381,9 @@ function merge(target, source, options) {
|
|
383
381
|
if (!isObject(target)) {
|
384
382
|
return target;
|
385
383
|
}
|
386
|
-
// eslint-disable-next-line no-param-reassign
|
387
384
|
options = options || {};
|
388
385
|
var merger = options.merger || mergerFn;
|
389
386
|
for (var i = 0; i < ilen; ++i) {
|
390
|
-
// eslint-disable-next-line no-param-reassign
|
391
387
|
source = sources[i];
|
392
388
|
if (!isObject(source)) {
|
393
389
|
continue;
|
@@ -407,7 +403,6 @@ function merge(target, source, options) {
|
|
407
403
|
* @returns {object} The `target` object.
|
408
404
|
*/
|
409
405
|
function mergeIf(target, source) {
|
410
|
-
// eslint-disable-next-line no-use-before-define
|
411
406
|
return merge(target, source, {
|
412
407
|
merger: mergerIfFn
|
413
408
|
});
|
@@ -425,7 +420,6 @@ function mergerIfFn(key, target, source) {
|
|
425
420
|
if (isObject(tval) && isObject(sval)) {
|
426
421
|
mergeIf(tval, sval);
|
427
422
|
} else if (!Object.prototype.hasOwnProperty.call(target, key)) {
|
428
|
-
// eslint-disable-next-line no-param-reassign
|
429
423
|
target[key] = clone(sval);
|
430
424
|
}
|
431
425
|
}
|
@@ -612,22 +606,22 @@ function _classCallCheck(instance, Constructor) {
|
|
612
606
|
}
|
613
607
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
614
608
|
|
615
|
-
function
|
616
|
-
if ("object"
|
617
|
-
var
|
618
|
-
if (
|
619
|
-
var
|
620
|
-
if ("object"
|
609
|
+
function _toPrimitive(input, hint) {
|
610
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
611
|
+
var prim = input[Symbol.toPrimitive];
|
612
|
+
if (prim !== undefined) {
|
613
|
+
var res = prim.call(input, hint || "default");
|
614
|
+
if (_typeof(res) !== "object") return res;
|
621
615
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
622
616
|
}
|
623
|
-
return ("string"
|
617
|
+
return (hint === "string" ? String : Number)(input);
|
624
618
|
}
|
625
619
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
626
620
|
|
627
621
|
|
628
|
-
function
|
629
|
-
var
|
630
|
-
return "symbol"
|
622
|
+
function _toPropertyKey(arg) {
|
623
|
+
var key = _toPrimitive(arg, "string");
|
624
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
631
625
|
}
|
632
626
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/createClass.js
|
633
627
|
|
@@ -637,7 +631,7 @@ function _defineProperties(target, props) {
|
|
637
631
|
descriptor.enumerable = descriptor.enumerable || false;
|
638
632
|
descriptor.configurable = true;
|
639
633
|
if ("value" in descriptor) descriptor.writable = true;
|
640
|
-
Object.defineProperty(target,
|
634
|
+
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
641
635
|
}
|
642
636
|
}
|
643
637
|
function _createClass(Constructor, protoProps, staticProps) {
|
@@ -651,7 +645,7 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
651
645
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
652
646
|
|
653
647
|
function _defineProperty(obj, key, value) {
|
654
|
-
key =
|
648
|
+
key = _toPropertyKey(key);
|
655
649
|
if (key in obj) {
|
656
650
|
Object.defineProperty(obj, key, {
|
657
651
|
value: value,
|
@@ -664,6 +658,10 @@ function _defineProperty(obj, key, value) {
|
|
664
658
|
}
|
665
659
|
return obj;
|
666
660
|
}
|
661
|
+
;// CONCATENATED MODULE: external "@popperjs/core"
|
662
|
+
var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
663
|
+
var core_y = x => () => x
|
664
|
+
const core_namespaceObject = core_x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
|
667
665
|
;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/native.js
|
668
666
|
const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
669
667
|
/* harmony default export */ const esm_browser_native = ({
|
@@ -752,10 +750,6 @@ function v4(options, buf, offset) {
|
|
752
750
|
}
|
753
751
|
|
754
752
|
/* harmony default export */ const esm_browser_v4 = (v4);
|
755
|
-
;// CONCATENATED MODULE: external "@popperjs/core"
|
756
|
-
var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
757
|
-
var core_y = x => () => x
|
758
|
-
const core_namespaceObject = core_x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
|
759
753
|
;// CONCATENATED MODULE: ../../packages/shared/src/popover.ts
|
760
754
|
|
761
755
|
|
@@ -854,7 +848,7 @@ var BKPopover = /*#__PURE__*/function () {
|
|
854
848
|
key: "forceUpdate",
|
855
849
|
value: function forceUpdate() {
|
856
850
|
var _this$instance;
|
857
|
-
(_this$instance = this.instance) === null || _this$instance === void 0
|
851
|
+
(_this$instance = this.instance) === null || _this$instance === void 0 ? void 0 : _this$instance.forceUpdate();
|
858
852
|
}
|
859
853
|
// Asynchronously updates the popper instance, and returns a promise. Use this
|
860
854
|
// for high-frequency updates.
|
@@ -862,7 +856,7 @@ var BKPopover = /*#__PURE__*/function () {
|
|
862
856
|
key: "update",
|
863
857
|
value: function update() {
|
864
858
|
var _this$instance2;
|
865
|
-
(_this$instance2 = this.instance) === null || _this$instance2 === void 0
|
859
|
+
(_this$instance2 = this.instance) === null || _this$instance2 === void 0 ? void 0 : _this$instance2.update();
|
866
860
|
}
|
867
861
|
}, {
|
868
862
|
key: "updateOptions",
|
@@ -879,14 +873,14 @@ var BKPopover = /*#__PURE__*/function () {
|
|
879
873
|
key: "setOptions",
|
880
874
|
value: function setOptions(options) {
|
881
875
|
var _this$instance3;
|
882
|
-
(_this$instance3 = this.instance) === null || _this$instance3 === void 0
|
876
|
+
(_this$instance3 = this.instance) === null || _this$instance3 === void 0 ? void 0 : _this$instance3.setOptions(options);
|
883
877
|
}
|
884
878
|
// Cleans up the instance.
|
885
879
|
}, {
|
886
880
|
key: "destroy",
|
887
881
|
value: function destroy() {
|
888
882
|
var _this$instance4;
|
889
|
-
(_this$instance4 = this.instance) === null || _this$instance4 === void 0
|
883
|
+
(_this$instance4 = this.instance) === null || _this$instance4 === void 0 ? void 0 : _this$instance4.destroy();
|
890
884
|
}
|
891
885
|
// 更新禁用状态
|
892
886
|
}, {
|
@@ -905,7 +899,7 @@ var BKPopover = /*#__PURE__*/function () {
|
|
905
899
|
if (!this.disabled) {
|
906
900
|
var _this$popperRefer2;
|
907
901
|
// Make the tooltip visible
|
908
|
-
(_this$popperRefer2 = this.popperRefer) === null || _this$popperRefer2 === void 0
|
902
|
+
(_this$popperRefer2 = this.popperRefer) === null || _this$popperRefer2 === void 0 ? void 0 : _this$popperRefer2.setAttribute('data-show', '');
|
909
903
|
// Enable the event listeners
|
910
904
|
this.setOptions({
|
911
905
|
modifiers: [].concat(_toConsumableArray(this.instanceOptions.modifiers || []), [{
|
@@ -932,7 +926,7 @@ var BKPopover = /*#__PURE__*/function () {
|
|
932
926
|
var _this$popperRefer3;
|
933
927
|
if (this.always) return;
|
934
928
|
// Hide the tooltip
|
935
|
-
(_this$popperRefer3 = this.popperRefer) === null || _this$popperRefer3 === void 0
|
929
|
+
(_this$popperRefer3 = this.popperRefer) === null || _this$popperRefer3 === void 0 ? void 0 : _this$popperRefer3.removeAttribute('data-show');
|
936
930
|
// Disable the event listeners
|
937
931
|
this.setOptions({
|
938
932
|
modifiers: [].concat(_toConsumableArray(this.instanceOptions.modifiers || []), [{
|
@@ -1051,7 +1045,7 @@ var BKPopover = /*#__PURE__*/function () {
|
|
1051
1045
|
if (this.referenceTarget && this.popperRefer) {
|
1052
1046
|
var _this$popperRefer4, _this$instanceOptions3;
|
1053
1047
|
this.instance = (0,core_namespaceObject.createPopper)(this.referenceTarget, this.popperRefer, this.instanceOptions);
|
1054
|
-
(_this$popperRefer4 = this.popperRefer) === null || _this$popperRefer4 === void 0
|
1048
|
+
(_this$popperRefer4 = this.popperRefer) === null || _this$popperRefer4 === void 0 ? void 0 : _this$popperRefer4.setAttribute('data-theme', (_this$instanceOptions3 = this.instanceOptions.theme) !== null && _this$instanceOptions3 !== void 0 ? _this$instanceOptions3 : 'dark');
|
1055
1049
|
} else {
|
1056
1050
|
console.error('reference or popperRefer is null, please check html element.');
|
1057
1051
|
}
|
@@ -1361,31 +1355,6 @@ var getFullscreenRoot = function getFullscreenRoot(selector) {
|
|
1361
1355
|
}
|
1362
1356
|
return helper_isElement(document.body) ? document.body : 'body';
|
1363
1357
|
};
|
1364
|
-
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
1365
|
-
function _assertThisInitialized(self) {
|
1366
|
-
if (self === void 0) {
|
1367
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
1368
|
-
}
|
1369
|
-
return self;
|
1370
|
-
}
|
1371
|
-
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
1372
|
-
|
1373
|
-
|
1374
|
-
function _possibleConstructorReturn(self, call) {
|
1375
|
-
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
1376
|
-
return call;
|
1377
|
-
} else if (call !== void 0) {
|
1378
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
1379
|
-
}
|
1380
|
-
return _assertThisInitialized(self);
|
1381
|
-
}
|
1382
|
-
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
1383
|
-
function _getPrototypeOf(o) {
|
1384
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
|
1385
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
1386
|
-
};
|
1387
|
-
return _getPrototypeOf(o);
|
1388
|
-
}
|
1389
1358
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
1390
1359
|
function _setPrototypeOf(o, p) {
|
1391
1360
|
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
@@ -1412,6 +1381,31 @@ function _inherits(subClass, superClass) {
|
|
1412
1381
|
});
|
1413
1382
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
1414
1383
|
}
|
1384
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
1385
|
+
function _assertThisInitialized(self) {
|
1386
|
+
if (self === void 0) {
|
1387
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
1388
|
+
}
|
1389
|
+
return self;
|
1390
|
+
}
|
1391
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
1392
|
+
|
1393
|
+
|
1394
|
+
function _possibleConstructorReturn(self, call) {
|
1395
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
1396
|
+
return call;
|
1397
|
+
} else if (call !== void 0) {
|
1398
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
1399
|
+
}
|
1400
|
+
return _assertThisInitialized(self);
|
1401
|
+
}
|
1402
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
1403
|
+
function _getPrototypeOf(o) {
|
1404
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
|
1405
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
1406
|
+
};
|
1407
|
+
return _getPrototypeOf(o);
|
1408
|
+
}
|
1415
1409
|
;// CONCATENATED MODULE: external "vue-types"
|
1416
1410
|
var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1417
1411
|
var external_vue_types_y = x => () => x
|
@@ -1422,7 +1416,7 @@ const external_vue_types_namespaceObject = external_vue_types_x({ ["createTypes"
|
|
1422
1416
|
|
1423
1417
|
|
1424
1418
|
|
1425
|
-
function
|
1419
|
+
function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
|
1426
1420
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
1427
1421
|
/*
|
1428
1422
|
* Tencent is pleased to support the open source community by making
|
@@ -1460,16 +1454,16 @@ function stringEnum(o) {
|
|
1460
1454
|
}
|
1461
1455
|
var SizeEnum;
|
1462
1456
|
(function (SizeEnum) {
|
1463
|
-
SizeEnum["SMALL"] = "small";
|
1464
|
-
SizeEnum["LARGE"] = "large";
|
1465
1457
|
SizeEnum["DEFAULT"] = "default";
|
1458
|
+
SizeEnum["LARGE"] = "large";
|
1459
|
+
SizeEnum["SMALL"] = "small";
|
1466
1460
|
})(SizeEnum || (SizeEnum = {}));
|
1467
1461
|
var Placements;
|
1468
1462
|
(function (Placements) {
|
1469
|
-
Placements["
|
1463
|
+
Placements["Bottom"] = "bottom";
|
1470
1464
|
Placements["Left"] = "left";
|
1471
1465
|
Placements["Right"] = "right";
|
1472
|
-
Placements["
|
1466
|
+
Placements["Top"] = "top";
|
1473
1467
|
})(Placements || (Placements = {}));
|
1474
1468
|
var RenderDirectiveEnum;
|
1475
1469
|
(function (RenderDirectiveEnum) {
|
@@ -1481,8 +1475,8 @@ function renderDirectiveType() {
|
|
1481
1475
|
}
|
1482
1476
|
var AlignEnum;
|
1483
1477
|
(function (AlignEnum) {
|
1484
|
-
AlignEnum["LEFT"] = "left";
|
1485
1478
|
AlignEnum["CENTER"] = "center";
|
1479
|
+
AlignEnum["LEFT"] = "left";
|
1486
1480
|
AlignEnum["RIGHT"] = "right";
|
1487
1481
|
})(AlignEnum || (AlignEnum = {}));
|
1488
1482
|
function alignType() {
|
@@ -1490,29 +1484,29 @@ function alignType() {
|
|
1490
1484
|
}
|
1491
1485
|
var ThemeEnum;
|
1492
1486
|
(function (ThemeEnum) {
|
1487
|
+
ThemeEnum["DANGER"] = "danger";
|
1493
1488
|
ThemeEnum["PRIMARY"] = "primary";
|
1494
|
-
ThemeEnum["WARNING"] = "warning";
|
1495
1489
|
ThemeEnum["SUCCESS"] = "success";
|
1496
|
-
ThemeEnum["
|
1490
|
+
ThemeEnum["WARNING"] = "warning";
|
1497
1491
|
})(ThemeEnum || (ThemeEnum = {}));
|
1498
1492
|
/** 弹层出现位置选项 */
|
1499
1493
|
var PlacementEnum;
|
1500
1494
|
(function (PlacementEnum) {
|
1501
1495
|
PlacementEnum["AUTO"] = "auto";
|
1502
|
-
PlacementEnum["AUTO_START"] = "auto-start";
|
1503
1496
|
PlacementEnum["AUTO_END"] = "auto-end";
|
1504
|
-
PlacementEnum["
|
1505
|
-
PlacementEnum["RIGHT"] = "right";
|
1497
|
+
PlacementEnum["AUTO_START"] = "auto-start";
|
1506
1498
|
PlacementEnum["BOTTOM"] = "bottom";
|
1507
|
-
PlacementEnum["LEFT"] = "left";
|
1508
|
-
PlacementEnum["TOP_START"] = "top-start";
|
1509
|
-
PlacementEnum["TOP_END"] = "top-end";
|
1510
|
-
PlacementEnum["BOTTOM_START"] = "bottom-start";
|
1511
1499
|
PlacementEnum["BOTTOM_END"] = "bottom-end";
|
1512
|
-
PlacementEnum["
|
1513
|
-
PlacementEnum["
|
1514
|
-
PlacementEnum["LEFT_START"] = "left-start";
|
1500
|
+
PlacementEnum["BOTTOM_START"] = "bottom-start";
|
1501
|
+
PlacementEnum["LEFT"] = "left";
|
1515
1502
|
PlacementEnum["LEFT_END"] = "left-end";
|
1503
|
+
PlacementEnum["LEFT_START"] = "left-start";
|
1504
|
+
PlacementEnum["RIGHT"] = "right";
|
1505
|
+
PlacementEnum["RIGHT_END"] = "right-end";
|
1506
|
+
PlacementEnum["RIGHT_START"] = "right-start";
|
1507
|
+
PlacementEnum["TOP"] = "top";
|
1508
|
+
PlacementEnum["TOP_END"] = "top-end";
|
1509
|
+
PlacementEnum["TOP_START"] = "top-start";
|
1516
1510
|
})(PlacementEnum || (PlacementEnum = {}));
|
1517
1511
|
function placementType() {
|
1518
1512
|
return (0,external_vue_types_namespaceObject.string)().def(PlacementEnum.BOTTOM);
|
@@ -1520,8 +1514,8 @@ function placementType() {
|
|
1520
1514
|
/** 弹层触发选项 */
|
1521
1515
|
var TriggerEnum;
|
1522
1516
|
(function (TriggerEnum) {
|
1523
|
-
TriggerEnum["HOVER"] = "hover";
|
1524
1517
|
TriggerEnum["CLICK"] = "click";
|
1518
|
+
TriggerEnum["HOVER"] = "hover";
|
1525
1519
|
TriggerEnum["MANUAL"] = "manual";
|
1526
1520
|
})(TriggerEnum || (TriggerEnum = {}));
|
1527
1521
|
function triggerType() {
|
@@ -1538,10 +1532,10 @@ function renderType() {
|
|
1538
1532
|
}
|
1539
1533
|
var DialogTypeEnum;
|
1540
1534
|
(function (DialogTypeEnum) {
|
1541
|
-
DialogTypeEnum["SHOW"] = "show";
|
1542
|
-
DialogTypeEnum["OPERATION"] = "operation";
|
1543
1535
|
DialogTypeEnum["CONFIRM"] = "confirm";
|
1536
|
+
DialogTypeEnum["OPERATION"] = "operation";
|
1544
1537
|
DialogTypeEnum["PROCESS"] = "process";
|
1538
|
+
DialogTypeEnum["SHOW"] = "show";
|
1545
1539
|
})(DialogTypeEnum || (DialogTypeEnum = {}));
|
1546
1540
|
function dialogTypeUnion() {
|
1547
1541
|
return (0,external_vue_types_namespaceObject.toType)('dialogType', {
|
@@ -1566,36 +1560,36 @@ function lineStyleType() {
|
|
1566
1560
|
}
|
1567
1561
|
var TagThemeEnum;
|
1568
1562
|
(function (TagThemeEnum) {
|
1569
|
-
TagThemeEnum["
|
1570
|
-
TagThemeEnum["SUCCESS"] = "success";
|
1563
|
+
TagThemeEnum["DANGER"] = "danger";
|
1571
1564
|
TagThemeEnum["INFO"] = "info";
|
1565
|
+
TagThemeEnum["SUCCESS"] = "success";
|
1566
|
+
TagThemeEnum["UNKNOWN"] = "";
|
1572
1567
|
TagThemeEnum["WARNING"] = "warning";
|
1573
|
-
TagThemeEnum["DANGER"] = "danger";
|
1574
1568
|
})(TagThemeEnum || (TagThemeEnum = {}));
|
1575
1569
|
function TagThemeType() {
|
1576
1570
|
return (0,external_vue_types_namespaceObject.toType)('tagTheme', {}).def();
|
1577
1571
|
}
|
1578
1572
|
var InputBehaviorEnum;
|
1579
1573
|
(function (InputBehaviorEnum) {
|
1580
|
-
InputBehaviorEnum["SIMPLICITY"] = "simplicity";
|
1581
1574
|
InputBehaviorEnum["NORMAL"] = "normal";
|
1575
|
+
InputBehaviorEnum["SIMPLICITY"] = "simplicity";
|
1582
1576
|
})(InputBehaviorEnum || (InputBehaviorEnum = {}));
|
1583
1577
|
var ProgressStrokeLineCapEnum;
|
1584
1578
|
(function (ProgressStrokeLineCapEnum) {
|
1585
1579
|
ProgressStrokeLineCapEnum["BUTT"] = "butt";
|
1586
|
-
ProgressStrokeLineCapEnum["SQUARE"] = "square";
|
1587
1580
|
ProgressStrokeLineCapEnum["ROUNDE"] = "round";
|
1581
|
+
ProgressStrokeLineCapEnum["SQUARE"] = "square";
|
1588
1582
|
})(ProgressStrokeLineCapEnum || (ProgressStrokeLineCapEnum = {}));
|
1589
1583
|
var ProgressEnum;
|
1590
1584
|
(function (ProgressEnum) {
|
1591
|
-
ProgressEnum["LINE"] = "line";
|
1592
1585
|
ProgressEnum["CIRCLE"] = "circle";
|
1593
1586
|
ProgressEnum["DASHBOARD"] = "dashboard";
|
1587
|
+
ProgressEnum["LINE"] = "line";
|
1594
1588
|
})(ProgressEnum || (ProgressEnum = {}));
|
1595
1589
|
var SwitcherThemeEnum;
|
1596
1590
|
(function (SwitcherThemeEnum) {
|
1597
|
-
SwitcherThemeEnum["SUCCESS"] = "success";
|
1598
1591
|
SwitcherThemeEnum["PRIMARY"] = "primary";
|
1592
|
+
SwitcherThemeEnum["SUCCESS"] = "success";
|
1599
1593
|
})(SwitcherThemeEnum || (SwitcherThemeEnum = {}));
|
1600
1594
|
var TimelineNodeTypeEnum;
|
1601
1595
|
(function (TimelineNodeTypeEnum) {
|
@@ -1616,9 +1610,10 @@ function InputBehaviorType() {
|
|
1616
1610
|
}
|
1617
1611
|
var PropTypes = /*#__PURE__*/function (_propTypesNS) {
|
1618
1612
|
_inherits(PropTypes, _propTypesNS);
|
1613
|
+
var _super = _createSuper(PropTypes);
|
1619
1614
|
function PropTypes() {
|
1620
1615
|
_classCallCheck(this, PropTypes);
|
1621
|
-
return
|
1616
|
+
return _super.apply(this, arguments);
|
1622
1617
|
}
|
1623
1618
|
_createClass(PropTypes, null, [{
|
1624
1619
|
key: "size",
|
@@ -1717,8 +1712,8 @@ var PropTypes = /*#__PURE__*/function (_propTypesNS) {
|
|
1717
1712
|
}(propTypesNS);
|
1718
1713
|
var SelectedTypeEnum;
|
1719
1714
|
(function (SelectedTypeEnum) {
|
1720
|
-
SelectedTypeEnum["CHECKBOX"] = "checkbox";
|
1721
1715
|
SelectedTypeEnum["CHECK"] = "check";
|
1716
|
+
SelectedTypeEnum["CHECKBOX"] = "checkbox";
|
1722
1717
|
})(SelectedTypeEnum || (SelectedTypeEnum = {}));
|
1723
1718
|
function SelectedType() {
|
1724
1719
|
return (0,external_vue_types_namespaceObject.toType)('selectedStyle', {}).def(SelectedTypeEnum.CHECK);
|
@@ -1727,6 +1722,7 @@ function SelectedType() {
|
|
1727
1722
|
|
1728
1723
|
|
1729
1724
|
|
1725
|
+
var _BKLAYERD_INDEX_EFAUL;
|
1730
1726
|
/**
|
1731
1727
|
* Tencent is pleased to support the open source community by making
|
1732
1728
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1761,21 +1757,21 @@ var BKLAYERTYPE;
|
|
1761
1757
|
BKLAYERTYPE["BOTTOM"] = "bottom";
|
1762
1758
|
/** 页面呈现的各类内容 */
|
1763
1759
|
BKLAYERTYPE["CONTENT"] = "content";
|
1764
|
-
/** 顶部导航、侧边导航以及用户信息等 */
|
1765
|
-
BKLAYERTYPE["NAVI"] = "navi";
|
1766
1760
|
/** 页面需全屏操作的部分功能或编辑器的全屏模式 */
|
1767
1761
|
BKLAYERTYPE["FULLSCREEN"] = "fullScreen";
|
1768
|
-
/** 各类功能插件 */
|
1769
|
-
BKLAYERTYPE["PLUGINS"] = "plugins";
|
1770
|
-
/** 各类弹窗或抽屉(非模态弹窗不考虑) */
|
1771
|
-
BKLAYERTYPE["MODAL"] = "modal";
|
1772
1762
|
/** 各类消息提示 */
|
1773
1763
|
BKLAYERTYPE["MESSAGE"] = "message";
|
1764
|
+
/** 各类弹窗或抽屉(非模态弹窗不考虑) */
|
1765
|
+
BKLAYERTYPE["MODAL"] = "modal";
|
1766
|
+
/** 顶部导航、侧边导航以及用户信息等 */
|
1767
|
+
BKLAYERTYPE["NAVI"] = "navi";
|
1768
|
+
/** 各类功能插件 */
|
1769
|
+
BKLAYERTYPE["PLUGINS"] = "plugins";
|
1774
1770
|
/** 各类popper提示 */
|
1775
1771
|
BKLAYERTYPE["POPPER"] = "popper";
|
1776
1772
|
})(BKLAYERTYPE || (BKLAYERTYPE = {}));
|
1777
1773
|
/** 定义不同分层默认值 */
|
1778
|
-
var BKLAYERD_INDEX_EFAULT_VALUE =
|
1774
|
+
var BKLAYERD_INDEX_EFAULT_VALUE = (_BKLAYERD_INDEX_EFAUL = {}, _defineProperty(_BKLAYERD_INDEX_EFAUL, BKLAYERTYPE.BOTTOM, 0), _defineProperty(_BKLAYERD_INDEX_EFAUL, BKLAYERTYPE.CONTENT, 1), _defineProperty(_BKLAYERD_INDEX_EFAUL, BKLAYERTYPE.NAVI, 100), _defineProperty(_BKLAYERD_INDEX_EFAUL, BKLAYERTYPE.FULLSCREEN, 1000), _defineProperty(_BKLAYERD_INDEX_EFAUL, BKLAYERTYPE.MODAL, 2000), _defineProperty(_BKLAYERD_INDEX_EFAUL, BKLAYERTYPE.PLUGINS, 5000), _defineProperty(_BKLAYERD_INDEX_EFAUL, BKLAYERTYPE.MESSAGE, 6000), _defineProperty(_BKLAYERD_INDEX_EFAUL, BKLAYERTYPE.POPPER, 8000), _BKLAYERD_INDEX_EFAUL);
|
1779
1775
|
var BKZIndexManager = /*#__PURE__*/function () {
|
1780
1776
|
function BKZIndexManager() {
|
1781
1777
|
_classCallCheck(this, BKZIndexManager);
|
@@ -1874,6 +1870,74 @@ var BKZIndexManager = /*#__PURE__*/function () {
|
|
1874
1870
|
return BKZIndexManager;
|
1875
1871
|
}();
|
1876
1872
|
var bkZIndexManager = new BKZIndexManager();
|
1873
|
+
;// CONCATENATED MODULE: ../../packages/shared/src/frame-throttle.ts
|
1874
|
+
var wrapperFactory = function wrapperFactory() {
|
1875
|
+
var state = {
|
1876
|
+
cancelToken: 0
|
1877
|
+
};
|
1878
|
+
var resetCancelToken = function resetCancelToken() {
|
1879
|
+
state.cancelToken = 0;
|
1880
|
+
};
|
1881
|
+
var wrapper = function wrapper(cbThis, cb) {
|
1882
|
+
state.callbackThis = cbThis;
|
1883
|
+
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
1884
|
+
args[_key - 2] = arguments[_key];
|
1885
|
+
}
|
1886
|
+
state.args = args;
|
1887
|
+
if (state.cancelToken) {
|
1888
|
+
return;
|
1889
|
+
}
|
1890
|
+
if ('requestAnimationFrame' in window) {
|
1891
|
+
state.cancelToken = window.requestAnimationFrame(function () {
|
1892
|
+
cb.apply(state.callbackThis, state.args);
|
1893
|
+
resetCancelToken();
|
1894
|
+
});
|
1895
|
+
} else {
|
1896
|
+
cb.apply(state.callbackThis, state.args);
|
1897
|
+
state.cancelToken = window.setTimeout(resetCancelToken, 1000 / 60); // 60 fps
|
1898
|
+
}
|
1899
|
+
};
|
1900
|
+
wrapper.cancel = function () {
|
1901
|
+
if ('requestAnimationFrame' in window) {
|
1902
|
+
window.cancelAnimationFrame(state.cancelToken);
|
1903
|
+
}
|
1904
|
+
window.clearTimeout(state.cancelToken);
|
1905
|
+
resetCancelToken();
|
1906
|
+
};
|
1907
|
+
return wrapper;
|
1908
|
+
};
|
1909
|
+
var throttleFactory = function throttleFactory(callback, thisArg) {
|
1910
|
+
for (var _len2 = arguments.length, argArray = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
|
1911
|
+
argArray[_key2 - 2] = arguments[_key2];
|
1912
|
+
}
|
1913
|
+
var wrapper = wrapperFactory();
|
1914
|
+
var argCount = arguments.length;
|
1915
|
+
var throttledCallback = function throttledCallback() {
|
1916
|
+
for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
|
1917
|
+
args[_key3] = arguments[_key3];
|
1918
|
+
}
|
1919
|
+
// @ts-ignore
|
1920
|
+
wrapper.apply(void 0, [argCount > 1 ? thisArg : this, callback].concat(argArray, args));
|
1921
|
+
};
|
1922
|
+
throttledCallback.cancel = function () {
|
1923
|
+
return wrapper.cancel();
|
1924
|
+
};
|
1925
|
+
return throttledCallback;
|
1926
|
+
};
|
1927
|
+
/**
|
1928
|
+
* Returns a throttled function which runs once per rendered frame using
|
1929
|
+
* requestAnimationFrame. If window.requestAnimationFrame does not exist,
|
1930
|
+
* the behavior will be approximated using setTimeout.
|
1931
|
+
*
|
1932
|
+
* @param callback the function to be throttled
|
1933
|
+
*/
|
1934
|
+
var throttle = function throttle(callback) {
|
1935
|
+
var throttledCallback = throttleFactory(callback);
|
1936
|
+
// Override `bind()` to create a new throttled callback, otherwise both
|
1937
|
+
// the unbound and bound callbacks will have the same scope.
|
1938
|
+
throttledCallback.bind = throttleFactory.bind(null, callback);
|
1939
|
+
return throttledCallback;
|
1940
|
+
};
|
1877
1941
|
;// CONCATENATED MODULE: ../../packages/shared/src/index.ts
|
1878
1942
|
|
1879
1943
|
|
@@ -1885,6 +1949,7 @@ var bkZIndexManager = new BKZIndexManager();
|
|
1885
1949
|
|
1886
1950
|
|
1887
1951
|
|
1952
|
+
|
1888
1953
|
function classes(dynamicCls) {
|
1889
1954
|
var constCls = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
1890
1955
|
return Object.entries(dynamicCls).filter(function (entry) {
|
@@ -1955,7 +2020,6 @@ function debounce() {
|
|
1955
2020
|
var debounced = function debounced() {
|
1956
2021
|
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
1957
2022
|
var ctx = this; // 当前上下文
|
1958
|
-
// eslint-disable-next-line prefer-rest-params
|
1959
2023
|
var args = arguments; // fn的参数
|
1960
2024
|
// 取消之前的延时调用
|
1961
2025
|
if (timeout) clearTimeout(timeout);
|
@@ -2086,10 +2150,11 @@ var __webpack_exports__resolveClassName = __webpack_exports__.resolveClassName;
|
|
2086
2150
|
var __webpack_exports__scrollTop = __webpack_exports__.scrollTop;
|
2087
2151
|
var __webpack_exports__scrollbarWidth = __webpack_exports__.scrollbarWidth;
|
2088
2152
|
var __webpack_exports__stringEnum = __webpack_exports__.stringEnum;
|
2153
|
+
var __webpack_exports__throttle = __webpack_exports__.throttle;
|
2089
2154
|
var __webpack_exports__triggerType = __webpack_exports__.triggerType;
|
2090
2155
|
var __webpack_exports__useForm = __webpack_exports__.useForm;
|
2091
2156
|
var __webpack_exports__useFormItem = __webpack_exports__.useFormItem;
|
2092
2157
|
var __webpack_exports__valueOrDefault = __webpack_exports__.valueOrDefault;
|
2093
2158
|
var __webpack_exports__withInstall = __webpack_exports__.withInstall;
|
2094
2159
|
var __webpack_exports__withInstallProps = __webpack_exports__.withInstallProps;
|
2095
|
-
export { __webpack_exports__AlignEnum as AlignEnum, __webpack_exports__BKLAYERD_INDEX_EFAULT_VALUE as BKLAYERD_INDEX_EFAULT_VALUE, __webpack_exports__BKLAYERTYPE as BKLAYERTYPE, __webpack_exports__BKPopover as BKPopover, __webpack_exports__DialogTypeEnum as DialogTypeEnum, __webpack_exports__DirectionEnum as DirectionEnum, __webpack_exports__EMPTY_OBJ as EMPTY_OBJ, __webpack_exports__InputBehaviorEnum as InputBehaviorEnum, __webpack_exports__InputBehaviorType as InputBehaviorType, __webpack_exports__LineStyleEnum as LineStyleEnum, __webpack_exports__PlacementEnum as PlacementEnum, __webpack_exports__Placements as Placements, __webpack_exports__ProgressEnum as ProgressEnum, __webpack_exports__ProgressStrokeLineCapEnum as ProgressStrokeLineCapEnum, __webpack_exports__ProgressStrokeLineCapType as ProgressStrokeLineCapType, __webpack_exports__ProgressType as ProgressType, __webpack_exports__PropTypes as PropTypes, __webpack_exports__RenderDirectiveEnum as RenderDirectiveEnum, __webpack_exports__RenderType as RenderType, __webpack_exports__SelectedType as SelectedType, __webpack_exports__SelectedTypeEnum as SelectedTypeEnum, __webpack_exports__SizeEnum as SizeEnum, __webpack_exports__SwitcherThemeEnum as SwitcherThemeEnum, __webpack_exports__SwitcherThemeType as SwitcherThemeType, __webpack_exports__TagThemeEnum as TagThemeEnum, __webpack_exports__TagThemeType as TagThemeType, __webpack_exports__ThemeEnum as ThemeEnum, __webpack_exports__TimelineNodeTypeEnum as TimelineNodeTypeEnum, __webpack_exports__TriggerEnum as TriggerEnum, __webpack_exports__alignType as alignType, __webpack_exports__arrayEqual as arrayEqual, __webpack_exports__bkZIndexManager as bkZIndexManager, __webpack_exports__capitalize as capitalize, __webpack_exports__checkOverflow as checkOverflow, __webpack_exports__classes as classes, __webpack_exports__clone as clone, __webpack_exports__debounce as debounce, __webpack_exports__dialogTypeUnion as dialogTypeUnion, __webpack_exports__directionType as directionType, __webpack_exports__elementsEqual as elementsEqual, __webpack_exports__filterProperty as filterProperty, __webpack_exports__finiteOrDefault as finiteOrDefault, __webpack_exports__formItemKey as formItemKey, __webpack_exports__formKey as formKey, __webpack_exports__getFullscreenRoot as getFullscreenRoot, __webpack_exports__getPopContainerId as getPopContainerId, __webpack_exports__hasOverflowEllipsis as hasOverflowEllipsis, __webpack_exports__isArray as isArray, __webpack_exports__isElement as isElement, __webpack_exports__isEmpty as isEmpty, __webpack_exports__isEmptyObj as isEmptyObj, __webpack_exports__isFinite as isFinite, __webpack_exports__isFullScreenContainsElement as isFullScreenContainsElement, __webpack_exports__isFunction as isFunction, __webpack_exports__isNullOrUndef as isNullOrUndef, __webpack_exports__isObject as isObject, __webpack_exports__isPromise as isPromise, __webpack_exports__isString as isString, __webpack_exports__isSymbol as isSymbol, __webpack_exports__lineStyleType as lineStyleType, __webpack_exports__maybeShowTooltip as maybeShowTooltip, __webpack_exports__merge as merge, __webpack_exports__mergeIf as mergeIf, __webpack_exports__mergerFn as mergerFn, __webpack_exports__mergerIfFn as mergerIfFn, __webpack_exports__noop as noop, __webpack_exports__observerResize as observerResize, __webpack_exports__off as off, __webpack_exports__on as on, __webpack_exports__placementType as placementType, __webpack_exports__random as random, __webpack_exports__renderDirectiveType as renderDirectiveType, __webpack_exports__renderEmptyVNode as renderEmptyVNode, __webpack_exports__renderType as renderType, __webpack_exports__resolveClassName as resolveClassName, __webpack_exports__scrollTop as scrollTop, __webpack_exports__scrollbarWidth as scrollbarWidth, __webpack_exports__stringEnum as stringEnum, __webpack_exports__triggerType as triggerType, __webpack_exports__useForm as useForm, __webpack_exports__useFormItem as useFormItem, __webpack_exports__valueOrDefault as valueOrDefault, __webpack_exports__withInstall as withInstall, __webpack_exports__withInstallProps as withInstallProps };
|
2160
|
+
export { __webpack_exports__AlignEnum as AlignEnum, __webpack_exports__BKLAYERD_INDEX_EFAULT_VALUE as BKLAYERD_INDEX_EFAULT_VALUE, __webpack_exports__BKLAYERTYPE as BKLAYERTYPE, __webpack_exports__BKPopover as BKPopover, __webpack_exports__DialogTypeEnum as DialogTypeEnum, __webpack_exports__DirectionEnum as DirectionEnum, __webpack_exports__EMPTY_OBJ as EMPTY_OBJ, __webpack_exports__InputBehaviorEnum as InputBehaviorEnum, __webpack_exports__InputBehaviorType as InputBehaviorType, __webpack_exports__LineStyleEnum as LineStyleEnum, __webpack_exports__PlacementEnum as PlacementEnum, __webpack_exports__Placements as Placements, __webpack_exports__ProgressEnum as ProgressEnum, __webpack_exports__ProgressStrokeLineCapEnum as ProgressStrokeLineCapEnum, __webpack_exports__ProgressStrokeLineCapType as ProgressStrokeLineCapType, __webpack_exports__ProgressType as ProgressType, __webpack_exports__PropTypes as PropTypes, __webpack_exports__RenderDirectiveEnum as RenderDirectiveEnum, __webpack_exports__RenderType as RenderType, __webpack_exports__SelectedType as SelectedType, __webpack_exports__SelectedTypeEnum as SelectedTypeEnum, __webpack_exports__SizeEnum as SizeEnum, __webpack_exports__SwitcherThemeEnum as SwitcherThemeEnum, __webpack_exports__SwitcherThemeType as SwitcherThemeType, __webpack_exports__TagThemeEnum as TagThemeEnum, __webpack_exports__TagThemeType as TagThemeType, __webpack_exports__ThemeEnum as ThemeEnum, __webpack_exports__TimelineNodeTypeEnum as TimelineNodeTypeEnum, __webpack_exports__TriggerEnum as TriggerEnum, __webpack_exports__alignType as alignType, __webpack_exports__arrayEqual as arrayEqual, __webpack_exports__bkZIndexManager as bkZIndexManager, __webpack_exports__capitalize as capitalize, __webpack_exports__checkOverflow as checkOverflow, __webpack_exports__classes as classes, __webpack_exports__clone as clone, __webpack_exports__debounce as debounce, __webpack_exports__dialogTypeUnion as dialogTypeUnion, __webpack_exports__directionType as directionType, __webpack_exports__elementsEqual as elementsEqual, __webpack_exports__filterProperty as filterProperty, __webpack_exports__finiteOrDefault as finiteOrDefault, __webpack_exports__formItemKey as formItemKey, __webpack_exports__formKey as formKey, __webpack_exports__getFullscreenRoot as getFullscreenRoot, __webpack_exports__getPopContainerId as getPopContainerId, __webpack_exports__hasOverflowEllipsis as hasOverflowEllipsis, __webpack_exports__isArray as isArray, __webpack_exports__isElement as isElement, __webpack_exports__isEmpty as isEmpty, __webpack_exports__isEmptyObj as isEmptyObj, __webpack_exports__isFinite as isFinite, __webpack_exports__isFullScreenContainsElement as isFullScreenContainsElement, __webpack_exports__isFunction as isFunction, __webpack_exports__isNullOrUndef as isNullOrUndef, __webpack_exports__isObject as isObject, __webpack_exports__isPromise as isPromise, __webpack_exports__isString as isString, __webpack_exports__isSymbol as isSymbol, __webpack_exports__lineStyleType as lineStyleType, __webpack_exports__maybeShowTooltip as maybeShowTooltip, __webpack_exports__merge as merge, __webpack_exports__mergeIf as mergeIf, __webpack_exports__mergerFn as mergerFn, __webpack_exports__mergerIfFn as mergerIfFn, __webpack_exports__noop as noop, __webpack_exports__observerResize as observerResize, __webpack_exports__off as off, __webpack_exports__on as on, __webpack_exports__placementType as placementType, __webpack_exports__random as random, __webpack_exports__renderDirectiveType as renderDirectiveType, __webpack_exports__renderEmptyVNode as renderEmptyVNode, __webpack_exports__renderType as renderType, __webpack_exports__resolveClassName as resolveClassName, __webpack_exports__scrollTop as scrollTop, __webpack_exports__scrollbarWidth as scrollbarWidth, __webpack_exports__stringEnum as stringEnum, __webpack_exports__throttle as throttle, __webpack_exports__triggerType as triggerType, __webpack_exports__useForm as useForm, __webpack_exports__useFormItem as useFormItem, __webpack_exports__valueOrDefault as valueOrDefault, __webpack_exports__withInstall as withInstall, __webpack_exports__withInstallProps as withInstallProps };
|
package/lib/shared/popover.d.ts
CHANGED
@@ -10,7 +10,7 @@ export declare type IOptions = {
|
|
10
10
|
theme?: string;
|
11
11
|
trigger?: string;
|
12
12
|
disabled?: boolean;
|
13
|
-
appendTo?:
|
13
|
+
appendTo?: HTMLElement | string;
|
14
14
|
afterShow?: () => void;
|
15
15
|
afterHidden?: () => void;
|
16
16
|
/**
|
@@ -18,7 +18,7 @@ export declare type IOptions = {
|
|
18
18
|
* 是否将弹出内容固定到目标元素位置
|
19
19
|
* 例如:appendTo = document.body, fixOnBoundary = true,则弹出内容会一直固定到body
|
20
20
|
*/
|
21
|
-
fixOnBoundary?:
|
21
|
+
fixOnBoundary?: boolean;
|
22
22
|
};
|
23
23
|
export declare type IBKPopover = Instance & {
|
24
24
|
show: () => void;
|
@@ -63,7 +63,7 @@ export declare class BKPopover {
|
|
63
63
|
* 例如:appendTo = document.body, fixOnBoundary = true,则弹出内容会一直固定到body
|
64
64
|
*/
|
65
65
|
private fixOnBoundary;
|
66
|
-
constructor(reference?:
|
66
|
+
constructor(reference?: HTMLElement | string, popperRefer?: HTMLElement | string, options?: IOptions);
|
67
67
|
forceUpdate(): void;
|
68
68
|
update(): void;
|
69
69
|
updateOptions(options: IOptions): void;
|
package/lib/shared/token.d.ts
CHANGED