bkui-vue 0.0.1-beta.47 → 0.0.1-beta.470
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 +360 -36
- package/dist/index.esm.js +31133 -19791
- package/dist/index.umd.js +360 -36
- package/dist/locale/en.esm.js +2 -0
- package/dist/locale/en.esm.js.map +1 -0
- package/dist/locale/en.umd.js +2 -0
- package/dist/locale/en.umd.js.map +1 -0
- package/dist/locale/zh-cn.esm.js +2 -0
- package/dist/locale/zh-cn.esm.js.map +1 -0
- package/dist/locale/zh-cn.umd.js +2 -0
- package/dist/locale/zh-cn.umd.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -0
- package/lib/affix/affix.css +3 -0
- package/lib/affix/affix.d.ts +47 -0
- package/lib/affix/affix.less +5 -0
- package/lib/affix/affix.variable.css +125 -0
- package/lib/affix/index.d.ts +167 -0
- package/lib/affix/index.js +1 -0
- package/lib/alert/alert.css +9 -3
- package/lib/alert/alert.d.ts +6 -6
- package/lib/alert/alert.less +29 -20
- package/lib/alert/alert.variable.css +41 -7
- package/lib/alert/index.d.ts +68 -48
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/animate-number.d.ts +2 -2
- package/lib/animate-number/index.d.ts +58 -25
- package/lib/backtop/backtop.css +8 -0
- package/lib/backtop/backtop.d.ts +5 -5
- package/lib/backtop/backtop.less +8 -0
- package/lib/backtop/backtop.variable.css +40 -4
- package/lib/backtop/index.d.ts +67 -49
- package/lib/backtop/index.js +1 -1
- package/lib/badge/badge.css +7 -10
- package/lib/badge/badge.d.ts +29 -8
- package/lib/badge/badge.less +9 -11
- package/lib/badge/badge.variable.css +39 -14
- package/lib/badge/index.d.ts +120 -67
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +5 -3
- package/lib/breadcrumb/breadcrumb.css +51 -0
- package/lib/breadcrumb/breadcrumb.d.ts +2 -2
- package/lib/breadcrumb/breadcrumb.variable.css +88 -9
- package/lib/breadcrumb/index.d.ts +65 -41
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button-group.d.ts +4 -4
- package/lib/button/button.css +85 -50
- package/lib/button/button.d.ts +47 -27
- package/lib/button/button.less +72 -42
- package/lib/button/button.variable.css +117 -54
- package/lib/button/index.d.ts +123 -87
- package/lib/button/index.js +1 -1
- package/lib/card/card.css +97 -2
- package/lib/card/card.d.ts +48 -7
- package/lib/card/card.less +50 -2
- package/lib/card/card.variable.css +133 -10
- package/lib/card/index.d.ts +153 -58
- package/lib/card/index.js +1 -1
- package/lib/cascader/cascader-panel.d.ts +102 -0
- package/lib/cascader/cascader.css +316 -0
- package/lib/cascader/cascader.d.ts +354 -0
- package/lib/cascader/cascader.less +283 -0
- package/lib/cascader/cascader.variable.css +438 -0
- package/lib/cascader/index.d.ts +923 -0
- package/lib/cascader/index.js +2 -0
- package/lib/cascader/index.js.LICENSE.txt +1 -0
- package/lib/cascader/interface.d.ts +51 -0
- package/lib/cascader/node.d.ts +31 -0
- package/lib/cascader/store.d.ts +27 -0
- package/lib/checkbox/checkbox-group.d.ts +18 -2
- package/lib/checkbox/checkbox.css +40 -12
- package/lib/checkbox/checkbox.d.ts +33 -15
- package/lib/checkbox/checkbox.less +70 -34
- package/lib/checkbox/checkbox.variable.css +72 -16
- package/lib/checkbox/common.d.ts +1 -0
- package/lib/checkbox/index.d.ts +113 -61
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/code-diff.css +27 -7
- package/lib/code-diff/code-diff.d.ts +7 -7
- package/lib/code-diff/code-diff.less +42 -7
- package/lib/code-diff/code-diff.variable.css +59 -11
- package/lib/code-diff/index.d.ts +30 -43
- package/lib/code-diff/index.js +1 -1
- package/lib/collapse/collapse-panel.d.ts +103 -0
- package/lib/collapse/collapse.css +69 -14
- package/lib/collapse/collapse.d.ts +67 -53
- package/lib/collapse/collapse.less +112 -30
- package/lib/collapse/collapse.variable.css +191 -14
- package/lib/collapse/index.d.ts +292 -52
- package/lib/collapse/index.js +1 -1
- package/lib/collapse/props.d.ts +131 -0
- package/lib/collapse/utils.d.ts +11 -0
- package/lib/collapse-transition/collapse-transition.css +93 -0
- package/lib/collapse-transition/collapse-transition.d.ts +15 -0
- package/lib/collapse-transition/collapse-transition.less +111 -0
- package/lib/collapse-transition/collapse-transition.variable.css +215 -0
- package/lib/collapse-transition/index.d.ts +2 -0
- package/lib/collapse-transition/index.js +1 -0
- package/lib/color-picker/color-picker.css +275 -0
- package/lib/color-picker/color-picker.d.ts +144 -0
- package/lib/color-picker/color-picker.less +325 -0
- package/lib/color-picker/color-picker.variable.css +397 -0
- package/lib/color-picker/components/color-input.d.ts +42 -0
- package/lib/color-picker/components/hue-slider.d.ts +41 -0
- package/lib/color-picker/components/input-container.d.ts +42 -0
- package/lib/color-picker/components/recommend-colors.d.ts +51 -0
- package/lib/color-picker/components/saturation-panel.d.ts +41 -0
- package/lib/color-picker/index.d.ts +255 -0
- package/lib/color-picker/index.js +1 -0
- package/lib/color-picker/utils.d.ts +37 -0
- package/lib/components.d.ts +31 -8
- package/lib/components.js +1 -0
- package/lib/config-provider/config-provider.css +0 -0
- package/lib/config-provider/config-provider.d.ts +402 -0
- package/lib/config-provider/config-provider.less +1 -0
- package/lib/config-provider/config-provider.variable.css +122 -0
- package/lib/config-provider/index.d.ts +646 -0
- package/lib/config-provider/index.js +1 -0
- package/lib/config-provider/token.d.ts +128 -0
- package/lib/config-provider/use-global-config.d.ts +5 -0
- package/lib/config-provider/use-locale.d.ts +3 -0
- package/lib/config-provider/use-prefix.d.ts +9 -0
- package/lib/container/col.d.ts +51 -0
- package/lib/container/container.css +91 -0
- package/lib/container/container.d.ts +83 -0
- package/lib/container/container.less +20 -0
- package/lib/container/container.variable.css +213 -0
- package/lib/container/index.d.ts +204 -0
- package/lib/container/index.js +1 -0
- package/lib/container/interface.d.ts +7 -0
- package/lib/container/row.d.ts +4 -0
- package/lib/date-picker/base/confirm.d.ts +74 -0
- package/lib/date-picker/base/date-table.d.ts +96 -0
- package/lib/date-picker/base/month-table.d.ts +117 -0
- package/lib/date-picker/base/picker-dropdown.d.ts +74 -0
- package/lib/date-picker/base/time-spinner.d.ts +170 -0
- package/lib/date-picker/base/year-table.d.ts +117 -0
- package/lib/date-picker/date-picker.css +31 -1
- package/lib/date-picker/date-picker.d.ts +73 -35
- package/lib/date-picker/date-picker.less +110 -74
- package/lib/date-picker/date-picker.variable.css +63 -5
- package/lib/date-picker/index.d.ts +231 -211
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/interface.d.ts +20 -10
- package/lib/date-picker/panel/date-range.d.ts +345 -0
- package/lib/date-picker/panel/date.d.ts +206 -0
- package/lib/date-picker/panel/time-range.d.ts +495 -0
- package/lib/date-picker/panel/time.d.ts +451 -0
- package/lib/date-picker/props.d.ts +55 -5
- package/lib/date-picker/time-picker.d.ts +390 -0
- package/lib/date-picker/utils.d.ts +22 -2
- package/lib/dialog/dialog.css +135 -26
- package/lib/dialog/dialog.d.ts +219 -104
- package/lib/dialog/dialog.less +99 -41
- package/lib/dialog/dialog.variable.css +257 -26
- package/lib/dialog/index.d.ts +467 -276
- package/lib/dialog/index.js +2 -1
- package/lib/dialog/index.js.LICENSE.txt +1 -0
- package/lib/dialog/props.d.ts +122 -0
- package/lib/directives/ellipsis.d.ts +7 -0
- package/lib/directives/index.d.ts +2 -0
- package/lib/directives/index.js +1 -1
- package/lib/directives/tooltips.d.ts +2 -1
- package/lib/dist.index.js +1 -0
- package/lib/divider/divider.d.ts +17 -17
- package/lib/divider/divider.variable.css +32 -4
- package/lib/divider/index.d.ts +85 -61
- package/lib/divider/index.js +1 -1
- package/lib/divider/props.d.ts +6 -6
- package/lib/dropdown/dropdown-item.d.ts +1 -1
- package/lib/dropdown/dropdown-menu.d.ts +2 -2
- package/lib/dropdown/dropdown.css +38 -7
- package/lib/dropdown/dropdown.d.ts +47 -15
- package/lib/dropdown/dropdown.less +48 -34
- package/lib/dropdown/dropdown.variable.css +70 -11
- package/lib/dropdown/index.d.ts +141 -65
- package/lib/dropdown/index.js +1 -1
- package/lib/exception/exception.css +40 -14
- package/lib/exception/exception.d.ts +33 -13
- package/lib/exception/exception.less +59 -22
- package/lib/exception/exception.variable.css +72 -18
- package/lib/exception/index.d.ts +91 -43
- package/lib/exception/index.js +1 -1
- package/lib/exception/typings/index.d.ts +4 -0
- package/lib/fixed-navbar/fixed-navbar.d.ts +17 -3
- package/lib/fixed-navbar/fixed-navbar.variable.css +32 -4
- package/lib/fixed-navbar/index.d.ts +89 -30
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/compose-form-item.d.ts +2 -2
- package/lib/form/form-item.d.ts +25 -10
- package/lib/form/form.css +34 -7
- package/lib/form/form.d.ts +50 -16
- package/lib/form/form.less +83 -51
- package/lib/form/form.variable.css +66 -11
- package/lib/form/index.d.ts +154 -61
- package/lib/form/index.js +1 -1
- package/lib/form/type.d.ts +11 -8
- package/lib/form/utils.d.ts +2 -0
- package/lib/form/validator.d.ts +1 -0
- package/lib/hooks.d.ts +1 -0
- package/lib/hooks.js +1 -0
- package/lib/icon/angle-double-down-line.js +1 -1
- package/lib/icon/angle-double-left-line.js +1 -1
- package/lib/icon/angle-double-left.js +1 -1
- package/lib/icon/angle-double-right-line.js +1 -1
- package/lib/icon/angle-double-right.js +1 -1
- package/lib/icon/angle-double-up-line.js +1 -1
- package/lib/icon/angle-down-fill.js +1 -1
- package/lib/icon/angle-down-line.js +1 -1
- package/lib/icon/angle-down.js +1 -1
- package/lib/icon/angle-left.js +1 -1
- package/lib/icon/angle-right.js +1 -1
- package/lib/icon/angle-up-fill.js +1 -1
- package/lib/icon/angle-up.js +1 -1
- package/lib/icon/archive-fill.d.ts +4 -0
- package/lib/icon/archive-fill.js +1 -0
- package/lib/icon/arrows-left.js +1 -1
- package/lib/icon/arrows-right.js +1 -1
- package/lib/icon/audio-fill.d.ts +4 -0
- package/lib/icon/audio-fill.js +1 -0
- package/lib/icon/bk.js +1 -1
- package/lib/icon/circle.js +1 -1
- package/lib/icon/close-line.d.ts +4 -0
- package/lib/icon/close-line.js +1 -0
- package/lib/icon/close.js +1 -1
- package/lib/icon/code.js +1 -1
- package/lib/icon/cog-shape.js +1 -1
- package/lib/icon/collapse-left.js +1 -1
- package/lib/icon/copy-shape.d.ts +4 -0
- package/lib/icon/copy-shape.js +1 -0
- package/lib/icon/copy.js +1 -1
- package/lib/icon/data-shape.d.ts +4 -0
- package/lib/icon/data-shape.js +1 -0
- package/lib/icon/del.d.ts +4 -0
- package/lib/icon/del.js +1 -0
- package/lib/icon/doc-fill.d.ts +4 -0
- package/lib/icon/doc-fill.js +1 -0
- package/lib/icon/done.js +1 -1
- package/lib/icon/down-shape.js +1 -1
- package/lib/icon/down-small.js +1 -1
- package/lib/icon/edit-line.d.ts +4 -0
- package/lib/icon/edit-line.js +1 -0
- package/lib/icon/ellipsis.js +1 -1
- package/lib/icon/enlarge-line.d.ts +4 -0
- package/lib/icon/enlarge-line.js +1 -0
- package/lib/icon/error.js +1 -1
- package/lib/icon/excel-fill.d.ts +4 -0
- package/lib/icon/excel-fill.js +1 -0
- package/lib/icon/exclamation-circle-shape.d.ts +4 -0
- package/lib/icon/exclamation-circle-shape.js +1 -0
- package/lib/icon/eye.js +1 -1
- package/lib/icon/filliscreen-line.d.ts +4 -0
- package/lib/icon/filliscreen-line.js +1 -0
- package/lib/icon/fix-line.d.ts +4 -0
- package/lib/icon/fix-line.js +1 -0
- package/lib/icon/fix-shape.d.ts +4 -0
- package/lib/icon/fix-shape.js +1 -0
- package/lib/icon/folder-open.js +1 -1
- package/lib/icon/folder-shape-open.js +1 -1
- package/lib/icon/folder-shape.js +1 -1
- package/lib/icon/folder.js +1 -1
- package/lib/icon/funnel.js +1 -1
- package/lib/icon/help-document-fill.js +1 -1
- package/lib/icon/help-fill.js +1 -1
- package/lib/icon/help.js +1 -1
- package/lib/icon/image-fill.d.ts +4 -0
- package/lib/icon/image-fill.js +1 -0
- package/lib/icon/img-error.d.ts +4 -0
- package/lib/icon/img-error.js +1 -0
- package/lib/icon/img-placehoulder.d.ts +4 -0
- package/lib/icon/img-placehoulder.js +1 -0
- package/lib/icon/index.d.ts +83 -54
- package/lib/icon/index.js +1 -1
- package/lib/icon/info-line.js +1 -1
- package/lib/icon/info.js +1 -1
- package/lib/icon/left-shape.js +1 -1
- package/lib/icon/left-turn-line.d.ts +4 -0
- package/lib/icon/left-turn-line.js +1 -0
- package/lib/icon/narrow-line.d.ts +4 -0
- package/lib/icon/narrow-line.js +1 -0
- package/lib/icon/original.d.ts +4 -0
- package/lib/icon/original.js +1 -0
- package/lib/icon/pdf-fill.d.ts +4 -0
- package/lib/icon/pdf-fill.js +1 -0
- package/lib/icon/play-shape.js +1 -1
- package/lib/icon/plus.js +1 -1
- package/lib/icon/ppt-fill.d.ts +4 -0
- package/lib/icon/ppt-fill.js +1 -0
- package/lib/icon/qq.js +1 -1
- package/lib/icon/right-shape.js +1 -1
- package/lib/icon/right-turn-line.d.ts +4 -0
- package/lib/icon/right-turn-line.js +1 -0
- package/lib/icon/search.js +1 -1
- package/lib/icon/share.js +1 -1
- package/lib/icon/spinner.js +1 -1
- package/lib/icon/success.js +1 -1
- package/lib/icon/switcher-loading.js +1 -1
- package/lib/icon/text-file.js +1 -1
- package/lib/icon/text-fill.d.ts +4 -0
- package/lib/icon/text-fill.js +1 -0
- package/lib/icon/transfer.d.ts +4 -0
- package/lib/icon/transfer.js +1 -0
- package/lib/icon/tree-application-shape.js +1 -1
- package/lib/icon/unfull-screen.d.ts +4 -0
- package/lib/icon/unfull-screen.js +1 -0
- package/lib/icon/unvisible.js +1 -1
- package/lib/icon/up-shape.js +1 -1
- package/lib/icon/upload.d.ts +4 -0
- package/lib/icon/upload.js +1 -0
- package/lib/icon/video-fill.d.ts +4 -0
- package/lib/icon/video-fill.js +1 -0
- package/lib/icon/warn.js +1 -1
- package/lib/icon/weixin-pro.d.ts +4 -0
- package/lib/icon/weixin-pro.js +1 -0
- package/lib/icon/weixin.js +1 -1
- package/lib/image/image-viewer.css +142 -0
- package/lib/image/image-viewer.d.ts +73 -0
- package/lib/image/image-viewer.less +168 -0
- package/lib/image/image-viewer.variable.css +142 -0
- package/lib/image/image.css +37 -0
- package/lib/image/image.d.ts +93 -0
- package/lib/image/image.less +44 -0
- package/lib/image/image.variable.css +37 -0
- package/lib/image/index.d.ts +252 -0
- package/lib/image/index.js +1 -0
- package/lib/image/props.d.ts +71 -0
- package/lib/index.d.ts +3 -1
- package/lib/index.js +1 -0
- package/lib/info-box/index.d.ts +7 -0
- package/lib/info-box/index.js +2 -0
- package/lib/info-box/index.js.LICENSE.txt +1 -0
- package/lib/info-box/info-box.css +37 -0
- package/lib/info-box/info-box.d.ts +29 -0
- package/lib/info-box/info-box.less +51 -0
- package/lib/info-box/info-box.variable.css +159 -0
- package/lib/input/index.d.ts +228 -180
- package/lib/input/index.js +1 -1
- package/lib/input/input.css +183 -19
- package/lib/input/input.d.ts +121 -38
- package/lib/input/input.less +112 -18
- package/lib/input/input.variable.css +246 -55
- package/lib/link/index.d.ts +82 -55
- package/lib/link/index.js +1 -1
- package/lib/link/link.css +12 -12
- package/lib/link/link.d.ts +11 -9
- package/lib/link/link.less +16 -14
- package/lib/link/link.variable.css +44 -16
- package/lib/loading/directive.d.ts +14 -0
- package/lib/loading/index.d.ts +166 -54
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +86 -33
- package/lib/loading/loading.d.ts +97 -15
- package/lib/loading/loading.less +27 -23
- package/lib/loading/loading.variable.css +134 -53
- package/lib/locale/index.d.ts +3 -0
- package/lib/locale/index.js +1 -0
- package/lib/locale/lang/en.d.ts +126 -0
- package/lib/locale/lang/zh-cn.d.ts +3 -0
- package/lib/menu/index.d.ts +81 -52
- package/lib/menu/index.js +1 -1
- package/lib/menu/menu-group.d.ts +2 -2
- package/lib/menu/menu-item.d.ts +5 -1
- package/lib/menu/menu.css +51 -0
- package/lib/menu/menu.d.ts +8 -17
- package/lib/menu/menu.variable.css +101 -22
- package/lib/menu/submenu.d.ts +5 -1
- package/lib/menu/submenu.variable.css +32 -4
- package/lib/menu/utils.d.ts +1 -1
- package/lib/message/index.js +2 -1
- package/lib/message/index.js.LICENSE.txt +6 -0
- package/lib/message/message.css +170 -6
- package/lib/message/message.less +222 -7
- package/lib/message/message.variable.css +202 -10
- package/lib/message/messageConstructor.d.ts +136 -27
- package/lib/modal/index.d.ts +399 -201
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +52 -10
- package/lib/modal/modal.d.ts +152 -64
- package/lib/modal/modal.less +36 -25
- package/lib/modal/modal.variable.css +174 -10
- package/lib/modal/props.mixin.d.ts +63 -28
- package/lib/navigation/index.d.ts +329 -1
- package/lib/navigation/index.js +1 -1
- package/lib/navigation/navigation-title.d.ts +6 -3
- package/lib/navigation/navigation.css +1 -1
- package/lib/navigation/navigation.d.ts +21 -5
- package/lib/navigation/navigation.less +1 -1
- package/lib/navigation/navigation.variable.css +33 -5
- package/lib/notify/index.js +1 -1
- package/lib/notify/notify.css +25 -5
- package/lib/notify/notify.less +29 -6
- package/lib/notify/notify.variable.css +57 -9
- package/lib/notify/notifyConstructor.d.ts +63 -22
- package/lib/overflow-title/components/overflow-title.d.ts +57 -0
- package/lib/overflow-title/directive/overflow-title.d.ts +3 -0
- package/lib/overflow-title/index.d.ts +195 -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 +43 -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 +92 -96
- package/lib/pagination/index.js +1 -1
- package/lib/pagination/pagination.css +54 -28
- package/lib/pagination/pagination.d.ts +19 -9
- package/lib/pagination/pagination.less +59 -30
- package/lib/pagination/pagination.variable.css +86 -32
- package/lib/pagination/type.d.ts +1 -1
- package/lib/pagination/use-limit.d.ts +3 -1
- package/lib/pagination/use-total.d.ts +3 -1
- package/lib/plugin-popover/index.d.ts +27 -0
- package/lib/plugin-popover/index.js +1 -0
- package/lib/plugins/index.d.ts +1 -0
- package/lib/plugins/index.js +1 -0
- package/lib/pop-confirm/index.d.ts +249 -0
- package/lib/pop-confirm/index.js +1 -0
- package/lib/pop-confirm/pop-confirm.css +28 -0
- package/lib/pop-confirm/pop-confirm.d.ts +95 -0
- package/lib/pop-confirm/pop-confirm.less +34 -0
- package/lib/pop-confirm/pop-confirm.variable.css +150 -0
- package/lib/pop-confirm/props.d.ts +67 -0
- package/lib/popover/arrow.d.ts +2 -0
- package/lib/popover/const.d.ts +16 -0
- package/lib/popover/content.d.ts +43 -0
- package/lib/popover/index.d.ts +453 -148
- package/lib/popover/index.js +1 -1
- package/lib/popover/plugin-popover.d.ts +12 -0
- package/lib/popover/popover.css +10 -50
- package/lib/popover/popover.d.ts +212 -48
- package/lib/popover/popover.less +19 -66
- package/lib/popover/popover.variable.css +42 -54
- package/lib/popover/props.d.ts +103 -35
- package/lib/popover/reference.d.ts +2 -0
- package/lib/popover/root.d.ts +27 -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 +8 -0
- package/lib/popover2/index.d.ts +89 -0
- package/lib/popover2/index.js +1 -0
- package/lib/popover2/popover.d.ts +2 -0
- package/lib/preset.d.ts +264 -2
- package/lib/preset.js +1 -0
- package/lib/process/index.d.ts +66 -52
- package/lib/process/index.js +2 -1
- package/lib/process/index.js.LICENSE.txt +1 -0
- package/lib/process/process.css +22 -0
- package/lib/process/process.d.ts +4 -4
- package/lib/process/process.less +30 -2
- package/lib/process/process.variable.css +54 -4
- package/lib/progress/index.d.ts +92 -119
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +51 -0
- package/lib/progress/progress.d.ts +14 -14
- package/lib/progress/progress.variable.css +87 -8
- package/lib/radio/index.d.ts +81 -42
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +5 -7
- package/lib/radio/radio-group.d.ts +28 -2
- package/lib/radio/radio.css +136 -65
- package/lib/radio/radio.d.ts +2 -2
- package/lib/radio/radio.less +262 -173
- package/lib/radio/radio.variable.css +171 -72
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.d.ts +78 -28
- package/lib/rate/index.js +1 -1
- package/lib/rate/rate.d.ts +14 -3
- package/lib/rate/star.d.ts +2 -2
- package/lib/resize-layout/index.d.ts +77 -78
- package/lib/resize-layout/index.js +1 -1
- package/lib/resize-layout/resize-layout.css +6 -15
- package/lib/resize-layout/resize-layout.d.ts +8 -8
- package/lib/resize-layout/resize-layout.less +10 -19
- package/lib/resize-layout/resize-layout.variable.css +38 -19
- package/lib/search-select/index.d.ts +892 -0
- package/lib/search-select/index.js +2 -0
- package/lib/search-select/index.js.LICENSE.txt +1 -0
- package/lib/search-select/input.d.ts +101 -0
- package/lib/search-select/menu.d.ts +77 -0
- package/lib/search-select/search-select.css +427 -0
- package/lib/search-select/search-select.d.ts +361 -0
- package/lib/search-select/search-select.less +384 -0
- package/lib/search-select/search-select.variable.css +549 -0
- package/lib/search-select/selected.d.ts +155 -0
- package/lib/search-select/utils.d.ts +88 -0
- package/lib/select/common.d.ts +5 -12
- package/lib/select/index.d.ts +1697 -760
- package/lib/select/index.js +2 -1
- package/lib/select/index.js.LICENSE.txt +1 -0
- package/lib/select/option.d.ts +22 -6
- package/lib/select/optionGroup.d.ts +3 -3
- package/lib/select/select.css +209 -113
- package/lib/select/select.d.ts +747 -162
- package/lib/select/select.less +342 -197
- package/lib/select/select.variable.css +241 -117
- package/lib/select/selectTagInput.d.ts +94 -0
- package/lib/select/type.d.ts +25 -15
- package/lib/shared/dom.d.ts +3 -0
- package/lib/shared/helper.d.ts +9 -0
- package/lib/shared/hooks/use-form-item.d.ts +2 -0
- package/lib/shared/hooks/use-form.d.ts +2 -0
- package/lib/shared/index.d.ts +33 -8
- package/lib/shared/index.js +1 -1
- package/lib/shared/mask-manager.d.ts +21 -7
- package/lib/shared/pop-manager.d.ts +16 -5
- package/lib/shared/popover.d.ts +7 -3
- package/lib/shared/token.d.ts +4 -0
- package/lib/shared/utils.d.ts +19 -0
- package/lib/shared/vue-types.d.ts +116 -9
- package/lib/sideslider/index.d.ts +294 -183
- package/lib/sideslider/index.js +2 -1
- package/lib/sideslider/index.js.LICENSE.txt +1 -0
- package/lib/sideslider/sideslider.css +58 -11
- package/lib/sideslider/sideslider.d.ts +136 -65
- package/lib/sideslider/sideslider.less +75 -14
- package/lib/sideslider/sideslider.variable.css +90 -15
- package/lib/slider/index.d.ts +384 -1
- package/lib/slider/index.js +2 -1
- package/lib/slider/index.js.LICENSE.txt +1 -0
- package/lib/slider/slider-button.d.ts +3 -2
- package/lib/slider/slider.d.ts +7 -7
- package/lib/slider/slider.variable.css +32 -4
- package/lib/steps/index.d.ts +102 -96
- package/lib/steps/index.js +2 -1
- package/lib/steps/index.js.LICENSE.txt +1 -0
- package/lib/steps/steps.css +15 -3
- package/lib/steps/steps.d.ts +34 -34
- package/lib/steps/steps.less +24 -3
- package/lib/steps/steps.variable.css +47 -7
- package/lib/styles/index.d.ts +10 -1
- package/lib/styles/mixins/clearfix.css +8 -0
- package/lib/styles/mixins/clearfix.less +10 -0
- package/lib/styles/mixins/clearfix.variable.css +8 -0
- package/lib/styles/mixins/mixins.css +51 -0
- package/lib/styles/mixins/mixins.less +2 -0
- package/lib/styles/mixins/mixins.variable.css +51 -0
- package/lib/styles/mixins/popper.css +1 -1
- package/lib/styles/mixins/popper.less +12 -11
- package/lib/styles/mixins/popper.variable.css +123 -1
- package/lib/styles/mixins/scroll.css +17 -0
- package/lib/styles/mixins/scroll.less +22 -0
- package/lib/styles/mixins/scroll.variable.css +139 -0
- package/lib/styles/reset.css +36 -0
- package/lib/styles/reset.less +26 -2
- package/lib/styles/reset.variable.css +36 -0
- package/lib/styles/themes/themes.less +42 -4
- package/lib/swiper/index.d.ts +60 -44
- package/lib/swiper/swiper.d.ts +1 -1
- package/lib/switcher/index.d.ts +99 -92
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +57 -6
- package/lib/switcher/switcher.d.ts +20 -14
- package/lib/switcher/switcher.less +3 -26
- package/lib/switcher/switcher.variable.css +106 -27
- package/lib/tab/index.d.ts +170 -134
- package/lib/tab/index.js +1 -1
- package/lib/tab/props.d.ts +93 -41
- package/lib/tab/tab-nav.d.ts +51 -15
- package/lib/tab/tab-panel.d.ts +16 -9
- package/lib/tab/tab.css +151 -55
- package/lib/tab/tab.d.ts +44 -23
- package/lib/tab/tab.less +179 -86
- package/lib/tab/tab.variable.css +183 -59
- package/lib/table/cache.d.ts +6 -0
- package/lib/table/components/index.d.ts +3 -0
- package/lib/table/components/table-cell.d.ts +51 -0
- package/lib/table/components/table-column.d.ts +305 -0
- package/lib/table/components/table-row.d.ts +2 -0
- package/lib/table/const.d.ts +128 -1
- package/lib/table/index.d.ts +1364 -99
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/body-empty.d.ts +36 -0
- package/lib/table/plugins/col-group.d.ts +38 -0
- package/lib/table/plugins/common.d.ts +6 -0
- package/lib/table/plugins/head-filter.css +30 -14
- package/lib/table/plugins/head-filter.d.ts +26 -0
- package/lib/table/plugins/head-filter.less +79 -52
- package/lib/table/plugins/head-filter.variable.css +62 -18
- package/lib/table/plugins/head-sort.css +7 -3
- package/lib/table/plugins/head-sort.d.ts +29 -0
- package/lib/table/plugins/head-sort.less +8 -4
- package/lib/table/plugins/head-sort.variable.css +39 -7
- package/lib/table/plugins/index.d.ts +5 -0
- package/lib/table/plugins/settings.css +147 -0
- package/lib/table/plugins/settings.d.ts +37 -0
- package/lib/table/plugins/settings.less +181 -0
- package/lib/table/plugins/settings.variable.css +269 -0
- package/lib/table/plugins/use-active-columns.d.ts +16 -0
- package/lib/table/plugins/use-column-resize.d.ts +15 -0
- package/lib/table/plugins/use-fixed-column.d.ts +26 -0
- package/lib/table/plugins/use-pagination.d.ts +16 -0
- package/lib/table/plugins/use-scroll-loading.d.ts +5 -0
- package/lib/table/props.d.ts +367 -19
- package/lib/table/render.d.ts +46 -18
- package/lib/table/table.css +1181 -33
- package/lib/table/table.d.ts +270 -19
- package/lib/table/table.less +314 -18
- package/lib/table/table.variable.css +1213 -37
- package/lib/table/use-column.d.ts +12 -0
- package/lib/table/use-common.d.ts +113 -0
- package/lib/table/utils.d.ts +52 -12
- package/lib/table-column/index.d.ts +797 -0
- package/lib/table-column/index.js +1 -0
- package/lib/tag/index.d.ts +89 -71
- package/lib/tag/index.js +1 -1
- package/lib/tag/tag.css +46 -13
- package/lib/tag/tag.d.ts +17 -13
- package/lib/tag/tag.less +46 -10
- package/lib/tag/tag.variable.css +78 -17
- package/lib/tag-input/common.d.ts +13 -1
- package/lib/tag-input/index.d.ts +1194 -1
- package/lib/tag-input/index.js +1 -1
- package/lib/tag-input/list-tag-render.d.ts +2 -5
- package/lib/tag-input/tag-input.css +23 -26
- package/lib/tag-input/tag-input.d.ts +303 -44
- package/lib/tag-input/tag-input.less +103 -105
- package/lib/tag-input/tag-input.variable.css +55 -30
- package/lib/tag-input/tag-props.d.ts +142 -8
- package/lib/tag-input/tag-render.d.ts +31 -5
- package/lib/time-picker/index.d.ts +833 -0
- package/lib/time-picker/index.js +1 -0
- package/lib/time-picker/time-picker.css +215 -0
- package/lib/time-picker/time-picker.less +260 -0
- package/lib/time-picker/time-picker.variable.css +337 -0
- package/lib/timeline/index.d.ts +61 -32
- package/lib/timeline/index.js +1 -1
- package/lib/timeline/timeline.css +16 -9
- package/lib/timeline/timeline.d.ts +3 -3
- package/lib/timeline/timeline.less +22 -9
- package/lib/timeline/timeline.variable.css +48 -13
- package/lib/transfer/const.d.ts +5 -0
- package/lib/transfer/index.d.ts +273 -191
- package/lib/transfer/index.js +1 -1
- package/lib/transfer/props.d.ts +59 -0
- package/lib/transfer/transfer.css +153 -92
- package/lib/transfer/transfer.d.ts +102 -96
- package/lib/transfer/transfer.less +142 -112
- package/lib/transfer/transfer.variable.css +191 -102
- package/lib/tree/constant.d.ts +63 -0
- package/lib/tree/index.d.ts +387 -107
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +138 -3
- package/lib/tree/tree.css +181 -9
- package/lib/tree/tree.d.ts +185 -21
- package/lib/tree/tree.less +54 -3
- package/lib/tree/tree.variable.css +213 -13
- 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 +42 -0
- package/lib/tree/use-node-drag.d.ts +3 -0
- package/lib/tree/use-search.d.ts +11 -0
- package/lib/tree/use-tree-init.d.ts +15 -0
- package/lib/tree/util.d.ts +4 -6
- package/lib/upload/index.d.ts +509 -0
- package/lib/upload/index.js +2 -0
- package/lib/upload/index.js.LICENSE.txt +1 -0
- package/lib/upload/props.d.ts +111 -0
- package/lib/upload/upload-list.d.ts +47 -0
- package/lib/upload/upload-trigger.d.ts +51 -0
- package/lib/upload/upload.css +427 -0
- package/lib/upload/upload.d.ts +246 -0
- package/lib/upload/upload.less +466 -0
- package/lib/upload/upload.type.d.ts +78 -0
- package/lib/upload/upload.variable.css +549 -0
- package/lib/upload/use-ajax-upload.d.ts +3 -0
- package/lib/upload/use-file-handler.d.ts +21 -0
- package/lib/virtual-render/index.d.ts +117 -144
- package/lib/virtual-render/index.js +1 -1
- package/lib/virtual-render/props.d.ts +25 -1
- package/lib/virtual-render/use-tag-render.d.ts +7 -0
- package/lib/virtual-render/v-virtual-render.d.ts +0 -1
- package/lib/virtual-render/virtual-render.css +17 -17
- package/lib/virtual-render/virtual-render.d.ts +50 -4
- package/lib/virtual-render/virtual-render.less +2 -23
- package/lib/virtual-render/virtual-render.variable.css +139 -17
- package/lib/volar.components.d.ts +102 -0
- package/package.json +64 -43
- package/LICENSE.txt +0 -22
- package/lib/form/common.d.ts +0 -3
- package/lib/use-form.d.ts +0 -3
@@ -1,52 +1,87 @@
|
|
1
1
|
export declare const propsMixin: {
|
2
|
-
isShow: {
|
3
|
-
|
2
|
+
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
3
|
+
default: boolean;
|
4
|
+
} & {
|
4
5
|
default: boolean;
|
5
6
|
};
|
6
|
-
width: {
|
7
|
-
|
8
|
-
default: string;
|
7
|
+
width: import("vue-types").VueTypeDef<string | number> & {
|
8
|
+
default: string | number;
|
9
9
|
};
|
10
|
-
height: {
|
11
|
-
|
12
|
-
default: string;
|
10
|
+
height: import("vue-types").VueTypeDef<string | number> & {
|
11
|
+
default: string | number;
|
13
12
|
};
|
14
|
-
|
15
|
-
type: (ArrayConstructor | StringConstructor)[];
|
13
|
+
extCls: (import("vue-types").VueTypeValidableDef<string> & {
|
16
14
|
default: string;
|
15
|
+
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
16
|
+
default: () => unknown[];
|
17
|
+
});
|
18
|
+
scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
|
19
|
+
default: boolean;
|
20
|
+
} & {
|
21
|
+
default: boolean;
|
17
22
|
};
|
18
|
-
|
19
|
-
|
23
|
+
showMask: import("vue-types").VueTypeValidableDef<boolean> & {
|
24
|
+
default: boolean;
|
25
|
+
} & {
|
20
26
|
default: boolean;
|
21
27
|
};
|
22
|
-
|
23
|
-
|
28
|
+
closeIcon: import("vue-types").VueTypeValidableDef<boolean> & {
|
29
|
+
default: boolean;
|
30
|
+
} & {
|
24
31
|
default: boolean;
|
25
32
|
};
|
26
|
-
|
27
|
-
|
33
|
+
escClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
34
|
+
default: boolean;
|
35
|
+
} & {
|
28
36
|
default: boolean;
|
29
37
|
};
|
30
|
-
|
31
|
-
|
38
|
+
fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
|
39
|
+
default: boolean;
|
40
|
+
} & {
|
32
41
|
default: boolean;
|
33
42
|
};
|
34
|
-
|
35
|
-
|
43
|
+
size: import("vue-types").VueTypeDef<"small" | "medium" | "large" | "normal">;
|
44
|
+
draggable: import("vue-types").VueTypeValidableDef<boolean> & {
|
45
|
+
default: boolean;
|
46
|
+
} & {
|
36
47
|
default: boolean;
|
37
48
|
};
|
38
|
-
|
39
|
-
|
49
|
+
quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
50
|
+
default: boolean;
|
51
|
+
} & {
|
40
52
|
default: boolean;
|
41
53
|
};
|
42
|
-
|
43
|
-
|
54
|
+
transfer: import("vue-types").VueTypeDef<string | boolean | HTMLElement> & {
|
55
|
+
default: string | boolean | (() => HTMLElement);
|
56
|
+
};
|
57
|
+
zIndex: import("vue-types").VueTypeDef<string | number> & {
|
58
|
+
default: string | number;
|
59
|
+
};
|
60
|
+
maxHeight: import("vue-types").VueTypeValidableDef<string> & {
|
61
|
+
default: string;
|
62
|
+
};
|
63
|
+
direction: import("vue-types").VueTypeValidableDef<string> & {
|
64
|
+
default: string;
|
65
|
+
};
|
66
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
67
|
+
default: string;
|
68
|
+
} & {
|
44
69
|
default: string;
|
45
|
-
validator: (value: string) => boolean;
|
46
70
|
};
|
47
|
-
|
48
|
-
type: StringConstructor;
|
71
|
+
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
49
72
|
default: string;
|
50
|
-
|
73
|
+
} & {
|
74
|
+
default: string;
|
75
|
+
};
|
76
|
+
renderDirective: import("vue-types").VueTypeValidableDef<"show" | "if"> & {
|
77
|
+
default: "show" | "if";
|
78
|
+
};
|
79
|
+
beforeClose: import("vue-types").VueTypeDef<unknown>;
|
80
|
+
dialogType: import("vue-types").VueTypeDef<"process" | "show" | "operation" | "confirm">;
|
81
|
+
multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
|
82
|
+
default: boolean;
|
83
|
+
} & {
|
84
|
+
default: boolean;
|
51
85
|
};
|
86
|
+
infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
|
52
87
|
};
|
@@ -1,2 +1,330 @@
|
|
1
|
-
|
1
|
+
declare const Navigation: {
|
2
|
+
new (...args: any[]): {
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
4
|
+
$data: {};
|
5
|
+
$props: {
|
6
|
+
sideTitle?: string;
|
7
|
+
navigationType?: import("./navigation").BkNavigationType;
|
8
|
+
navWidth?: string | number;
|
9
|
+
hoverWidth?: string | number;
|
10
|
+
showSideNavTitle?: boolean;
|
11
|
+
headerTitle?: string;
|
12
|
+
hoverLeaveDelay?: number;
|
13
|
+
hoverEnterDelay?: number;
|
14
|
+
defaultOpen?: boolean;
|
15
|
+
headHeight?: string | number;
|
16
|
+
needMenu?: boolean;
|
17
|
+
class?: unknown;
|
18
|
+
style?: unknown;
|
19
|
+
key?: string | number | symbol;
|
20
|
+
ref?: import("vue").VNodeRef;
|
21
|
+
ref_for?: boolean;
|
22
|
+
ref_key?: string;
|
23
|
+
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
24
|
+
[key: string]: any;
|
25
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
26
|
+
[key: string]: any;
|
27
|
+
}>) => void)[];
|
28
|
+
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
29
|
+
[key: string]: any;
|
30
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
31
|
+
[key: string]: any;
|
32
|
+
}>) => void)[];
|
33
|
+
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
34
|
+
[key: string]: any;
|
35
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
36
|
+
[key: string]: any;
|
37
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
38
|
+
[key: string]: any;
|
39
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
40
|
+
[key: string]: any;
|
41
|
+
}>) => void)[];
|
42
|
+
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
43
|
+
[key: string]: any;
|
44
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
45
|
+
[key: string]: any;
|
46
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
47
|
+
[key: string]: any;
|
48
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
49
|
+
[key: string]: any;
|
50
|
+
}>) => void)[];
|
51
|
+
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
52
|
+
[key: string]: any;
|
53
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
54
|
+
[key: string]: any;
|
55
|
+
}>) => void)[];
|
56
|
+
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
57
|
+
[key: string]: any;
|
58
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
59
|
+
[key: string]: any;
|
60
|
+
}>) => void)[];
|
61
|
+
onHover?: (...args: any[]) => any;
|
62
|
+
onLeave?: (...args: any[]) => any;
|
63
|
+
onToggle?: (...args: any[]) => any;
|
64
|
+
"onToggle-click"?: (...args: any[]) => any;
|
65
|
+
};
|
66
|
+
$attrs: {
|
67
|
+
[x: string]: unknown;
|
68
|
+
};
|
69
|
+
$refs: {
|
70
|
+
[x: string]: unknown;
|
71
|
+
};
|
72
|
+
$slots: Readonly<{
|
73
|
+
default?: () => HTMLElement;
|
74
|
+
header?: () => HTMLElement;
|
75
|
+
menu?: () => HTMLElement;
|
76
|
+
footer?: () => HTMLElement;
|
77
|
+
'side-icon'?: () => HTMLElement;
|
78
|
+
'side-header'?: () => HTMLElement;
|
79
|
+
}>;
|
80
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
81
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
82
|
+
$emit: (event: "toggle" | "hover" | "leave" | "toggle-click", ...args: any[]) => void;
|
83
|
+
$el: any;
|
84
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
85
|
+
navWidth: {
|
86
|
+
type: (NumberConstructor | StringConstructor)[];
|
87
|
+
default: number;
|
88
|
+
};
|
89
|
+
hoverWidth: {
|
90
|
+
type: (NumberConstructor | StringConstructor)[];
|
91
|
+
default: number;
|
92
|
+
};
|
93
|
+
showSideNavTitle: {
|
94
|
+
type: BooleanConstructor;
|
95
|
+
default: boolean;
|
96
|
+
};
|
97
|
+
sideTitle: {
|
98
|
+
type: StringConstructor;
|
99
|
+
default: string;
|
100
|
+
};
|
101
|
+
headerTitle: {
|
102
|
+
type: StringConstructor;
|
103
|
+
default: string;
|
104
|
+
};
|
105
|
+
hoverLeaveDelay: {
|
106
|
+
type: NumberConstructor;
|
107
|
+
default: number;
|
108
|
+
};
|
109
|
+
hoverEnterDelay: {
|
110
|
+
type: NumberConstructor;
|
111
|
+
default: number;
|
112
|
+
};
|
113
|
+
defaultOpen: BooleanConstructor;
|
114
|
+
headHeight: {
|
115
|
+
type: (NumberConstructor | StringConstructor)[];
|
116
|
+
default: number;
|
117
|
+
};
|
118
|
+
navigationType: {
|
119
|
+
type: import("vue").PropType<import("./navigation").BkNavigationType>;
|
120
|
+
default: string;
|
121
|
+
validator(v: import("./navigation").BkNavigationType): boolean;
|
122
|
+
};
|
123
|
+
needMenu: {
|
124
|
+
type: BooleanConstructor;
|
125
|
+
default: boolean;
|
126
|
+
};
|
127
|
+
}>> & {
|
128
|
+
onHover?: (...args: any[]) => any;
|
129
|
+
onLeave?: (...args: any[]) => any;
|
130
|
+
onToggle?: (...args: any[]) => any;
|
131
|
+
"onToggle-click"?: (...args: any[]) => any;
|
132
|
+
}, {
|
133
|
+
defaultHeaderTitle: import("vue").Ref<string>;
|
134
|
+
nav: {
|
135
|
+
click: boolean;
|
136
|
+
hover: boolean;
|
137
|
+
delay: boolean;
|
138
|
+
timer: any;
|
139
|
+
enterTimer: any;
|
140
|
+
};
|
141
|
+
onBeforeUnmount: (hook: () => any, target?: import("vue").ComponentInternalInstance) => false | Function;
|
142
|
+
handleMouseOver: () => void;
|
143
|
+
handleMouseLeave: () => void;
|
144
|
+
handleClick: () => void;
|
145
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("toggle" | "hover" | "leave" | "toggle-click")[], string, {
|
146
|
+
sideTitle: string;
|
147
|
+
navigationType: import("./navigation").BkNavigationType;
|
148
|
+
navWidth: string | number;
|
149
|
+
hoverWidth: string | number;
|
150
|
+
showSideNavTitle: boolean;
|
151
|
+
headerTitle: string;
|
152
|
+
hoverLeaveDelay: number;
|
153
|
+
hoverEnterDelay: number;
|
154
|
+
defaultOpen: boolean;
|
155
|
+
headHeight: string | number;
|
156
|
+
needMenu: boolean;
|
157
|
+
}, {}, string, import("vue").SlotsType<{
|
158
|
+
default?: () => HTMLElement;
|
159
|
+
header?: () => HTMLElement;
|
160
|
+
menu?: () => HTMLElement;
|
161
|
+
footer?: () => HTMLElement;
|
162
|
+
'side-icon'?: () => HTMLElement;
|
163
|
+
'side-header'?: () => HTMLElement;
|
164
|
+
}>> & {
|
165
|
+
beforeCreate?: (() => void) | (() => void)[];
|
166
|
+
created?: (() => void) | (() => void)[];
|
167
|
+
beforeMount?: (() => void) | (() => void)[];
|
168
|
+
mounted?: (() => void) | (() => void)[];
|
169
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
170
|
+
updated?: (() => void) | (() => void)[];
|
171
|
+
activated?: (() => void) | (() => void)[];
|
172
|
+
deactivated?: (() => void) | (() => void)[];
|
173
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
174
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
175
|
+
destroyed?: (() => void) | (() => void)[];
|
176
|
+
unmounted?: (() => void) | (() => void)[];
|
177
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
178
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
179
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
180
|
+
};
|
181
|
+
$forceUpdate: () => void;
|
182
|
+
$nextTick: typeof import("vue").nextTick;
|
183
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
184
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
185
|
+
navWidth: {
|
186
|
+
type: (NumberConstructor | StringConstructor)[];
|
187
|
+
default: number;
|
188
|
+
};
|
189
|
+
hoverWidth: {
|
190
|
+
type: (NumberConstructor | StringConstructor)[];
|
191
|
+
default: number;
|
192
|
+
};
|
193
|
+
showSideNavTitle: {
|
194
|
+
type: BooleanConstructor;
|
195
|
+
default: boolean;
|
196
|
+
};
|
197
|
+
sideTitle: {
|
198
|
+
type: StringConstructor;
|
199
|
+
default: string;
|
200
|
+
};
|
201
|
+
headerTitle: {
|
202
|
+
type: StringConstructor;
|
203
|
+
default: string;
|
204
|
+
};
|
205
|
+
hoverLeaveDelay: {
|
206
|
+
type: NumberConstructor;
|
207
|
+
default: number;
|
208
|
+
};
|
209
|
+
hoverEnterDelay: {
|
210
|
+
type: NumberConstructor;
|
211
|
+
default: number;
|
212
|
+
};
|
213
|
+
defaultOpen: BooleanConstructor;
|
214
|
+
headHeight: {
|
215
|
+
type: (NumberConstructor | StringConstructor)[];
|
216
|
+
default: number;
|
217
|
+
};
|
218
|
+
navigationType: {
|
219
|
+
type: import("vue").PropType<import("./navigation").BkNavigationType>;
|
220
|
+
default: string;
|
221
|
+
validator(v: import("./navigation").BkNavigationType): boolean;
|
222
|
+
};
|
223
|
+
needMenu: {
|
224
|
+
type: BooleanConstructor;
|
225
|
+
default: boolean;
|
226
|
+
};
|
227
|
+
}>> & {
|
228
|
+
onHover?: (...args: any[]) => any;
|
229
|
+
onLeave?: (...args: any[]) => any;
|
230
|
+
onToggle?: (...args: any[]) => any;
|
231
|
+
"onToggle-click"?: (...args: any[]) => any;
|
232
|
+
} & import("vue").ShallowUnwrapRef<{
|
233
|
+
defaultHeaderTitle: import("vue").Ref<string>;
|
234
|
+
nav: {
|
235
|
+
click: boolean;
|
236
|
+
hover: boolean;
|
237
|
+
delay: boolean;
|
238
|
+
timer: any;
|
239
|
+
enterTimer: any;
|
240
|
+
};
|
241
|
+
onBeforeUnmount: (hook: () => any, target?: import("vue").ComponentInternalInstance) => false | Function;
|
242
|
+
handleMouseOver: () => void;
|
243
|
+
handleMouseLeave: () => void;
|
244
|
+
handleClick: () => void;
|
245
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
246
|
+
__isFragment?: never;
|
247
|
+
__isTeleport?: never;
|
248
|
+
__isSuspense?: never;
|
249
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
250
|
+
navWidth: {
|
251
|
+
type: (NumberConstructor | StringConstructor)[];
|
252
|
+
default: number;
|
253
|
+
};
|
254
|
+
hoverWidth: {
|
255
|
+
type: (NumberConstructor | StringConstructor)[];
|
256
|
+
default: number;
|
257
|
+
};
|
258
|
+
showSideNavTitle: {
|
259
|
+
type: BooleanConstructor;
|
260
|
+
default: boolean;
|
261
|
+
};
|
262
|
+
sideTitle: {
|
263
|
+
type: StringConstructor;
|
264
|
+
default: string;
|
265
|
+
};
|
266
|
+
headerTitle: {
|
267
|
+
type: StringConstructor;
|
268
|
+
default: string;
|
269
|
+
};
|
270
|
+
hoverLeaveDelay: {
|
271
|
+
type: NumberConstructor;
|
272
|
+
default: number;
|
273
|
+
};
|
274
|
+
hoverEnterDelay: {
|
275
|
+
type: NumberConstructor;
|
276
|
+
default: number;
|
277
|
+
};
|
278
|
+
defaultOpen: BooleanConstructor;
|
279
|
+
headHeight: {
|
280
|
+
type: (NumberConstructor | StringConstructor)[];
|
281
|
+
default: number;
|
282
|
+
};
|
283
|
+
navigationType: {
|
284
|
+
type: import("vue").PropType<import("./navigation").BkNavigationType>;
|
285
|
+
default: string;
|
286
|
+
validator(v: import("./navigation").BkNavigationType): boolean;
|
287
|
+
};
|
288
|
+
needMenu: {
|
289
|
+
type: BooleanConstructor;
|
290
|
+
default: boolean;
|
291
|
+
};
|
292
|
+
}>> & {
|
293
|
+
onHover?: (...args: any[]) => any;
|
294
|
+
onLeave?: (...args: any[]) => any;
|
295
|
+
onToggle?: (...args: any[]) => any;
|
296
|
+
"onToggle-click"?: (...args: any[]) => any;
|
297
|
+
}, {
|
298
|
+
defaultHeaderTitle: import("vue").Ref<string>;
|
299
|
+
nav: {
|
300
|
+
click: boolean;
|
301
|
+
hover: boolean;
|
302
|
+
delay: boolean;
|
303
|
+
timer: any;
|
304
|
+
enterTimer: any;
|
305
|
+
};
|
306
|
+
onBeforeUnmount: (hook: () => any, target?: import("vue").ComponentInternalInstance) => false | Function;
|
307
|
+
handleMouseOver: () => void;
|
308
|
+
handleMouseLeave: () => void;
|
309
|
+
handleClick: () => void;
|
310
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("toggle" | "hover" | "leave" | "toggle-click")[], "toggle" | "hover" | "leave" | "toggle-click", {
|
311
|
+
sideTitle: string;
|
312
|
+
navigationType: import("./navigation").BkNavigationType;
|
313
|
+
navWidth: string | number;
|
314
|
+
hoverWidth: string | number;
|
315
|
+
showSideNavTitle: boolean;
|
316
|
+
headerTitle: string;
|
317
|
+
hoverLeaveDelay: number;
|
318
|
+
hoverEnterDelay: number;
|
319
|
+
defaultOpen: boolean;
|
320
|
+
headHeight: string | number;
|
321
|
+
needMenu: boolean;
|
322
|
+
}, {}, string, import("vue").SlotsType<{
|
323
|
+
default?: () => HTMLElement;
|
324
|
+
header?: () => HTMLElement;
|
325
|
+
menu?: () => HTMLElement;
|
326
|
+
footer?: () => HTMLElement;
|
327
|
+
'side-icon'?: () => HTMLElement;
|
328
|
+
'side-header'?: () => HTMLElement;
|
329
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
2
330
|
export default Navigation;
|
package/lib/navigation/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"),require("../icon"));else if("function"==typeof define&&define.amd)define(["vue","../icon"],t);else{var i="object"==typeof exports?t(require("vue"),require("../icon")):t(e.vue,e["../icon"]);for(var o in i)("object"==typeof exports?exports:e)[o]=i[o]}}(self,((e,t)=>(()=>{"use strict";var
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../icon"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../icon"],t);else{var i="object"==typeof exports?t(require("../shared"),require("vue"),require("../icon")):t(e["../shared"],e.vue,e["../icon"]);for(var o in i)("object"==typeof exports?exports:e)[o]=i[o]}}(self,((e,t,i)=>(()=>{"use strict";var o={6870:e=>{e.exports=i},4212:t=>{t.exports=e},748:e=>{e.exports=t}},a={};function r(e){var t=a[e];if(void 0!==t)return t.exports;var i=a[e]={exports:{}};return o[e](i,i.exports,r),i.exports}r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{r.r(n),r.d(n,{default:()=>d});var e=r(4212),t=r(748),i=r(6870),o={sideTitle:{type:String,default:""},navigationType:{type:String,default:"left-right"}};const a=(0,t.defineComponent)({props:o,slots:Object,setup:function(e,i){var o=i.slots;return function(){var i,a;return(0,t.createVNode)("div",{class:"bk-navigation-title",style:{borderBottomWidth:"left-right"===e.navigationType?"0":"1px"}},[(null===(i=o.default)||void 0===i?void 0:i.call(o))||[(0,t.createVNode)("span",{class:"title-icon"},[(null===(a=o["side-icon"])||void 0===a?void 0:a.call(o))||(0,t.createVNode)("i",{class:"bk-icon icon-rtx"},null)]),(0,t.createVNode)("span",{class:"title-desc"},[e.sideTitle])]])}}});var l={navWidth:{type:[Number,String],default:60},hoverWidth:{type:[Number,String],default:260},showSideNavTitle:{type:Boolean,default:!0},sideTitle:{type:String,default:""},headerTitle:{type:String,default:""},hoverLeaveDelay:{type:Number,default:0},hoverEnterDelay:{type:Number,default:100},defaultOpen:Boolean,headHeight:{type:[Number,String],default:52},navigationType:{type:String,default:"left-right",validator:function(e){return["top-bottom","left-right"].includes(e)}},needMenu:{type:Boolean,default:!0}};const s=(0,t.defineComponent)({name:"Navigation",props:l,emits:["leave","toggle","hover","toggle-click"],slots:Object,setup:function(e,i){var o=i.emit,a=(0,t.ref)(e.headerTitle),r=(0,t.reactive)({click:!1,hover:!1,delay:!1,timer:null,enterTimer:null});return e.defaultOpen&&(r.click=!r.click,r.hover=r.click,o("toggle",r.hover)),(0,t.onBeforeUnmount)((function(){r.timer&&window.clearTimeout(r.timer)})),{defaultHeaderTitle:a,nav:r,onBeforeUnmount:t.onBeforeUnmount,handleMouseOver:function(){r.click||(r.enterTimer=setTimeout((function(){r.hover=!0,r.enterTimer&&window.clearTimeout(r.enterTimer),r.timer&&window.clearTimeout(r.timer),o("hover",r.hover),o("toggle",r.hover)}),e.hoverEnterDelay))},handleMouseLeave:function(){r.click||(r.enterTimer&&window.clearTimeout(r.enterTimer),r.timer=setTimeout((function(){r.hover=!1,window.clearTimeout(r.timer),o("leave",r.hover),o("toggle",r.hover)}),e.hoverLeaveDelay))},handleClick:function(){r.click=!r.click,r.hover=r.click,o("toggle",r.hover),o("toggle-click",r.hover)}}},render:function(){var e,o,r,n,l,s,d,c,h,v,u,p;return(0,t.createVNode)("div",{class:"bk-navigation"},["top-bottom"===this.navigationType&&(0,t.createVNode)("div",{class:"bk-navigation-header",style:{flexBasis:"".concat(this.headHeight,"px")}},[(0,t.createVNode)(a,{sideTitle:this.sideTitle},{default:this.$slots["side-header"],"side-icon":this.$slots["side-header"]?void 0:this.$slots["side-icon"]}),(0,t.createVNode)("div",{class:"header-right"},[null===(o=(e=this.$slots).header)||void 0===o?void 0:o.call(e)])]),(0,t.createVNode)("div",{class:"bk-navigation-wrapper"},[this.needMenu&&(0,t.createVNode)("div",{class:"navigation-nav",style:{width:this.nav.click?"".concat(this.hoverWidth,"px"):"".concat(this.navWidth,"px")}},[(0,t.createVNode)("div",{class:"nav-slider",onMouseenter:this.handleMouseOver,onMouseleave:this.handleMouseLeave,style:{width:this.nav.hover?"".concat(this.hoverWidth,"px"):"".concat(this.navWidth,"px"),borderRight:"top-bottom"!==this.navigationType?"none":"1px solid #DCDEE5"}},["top-bottom"!==this.navigationType&&this.showSideNavTitle&&(0,t.createVNode)(a,{style:{flexBasis:"".concat(this.headHeight,"px")},sideTitle:this.sideTitle},{default:this.$slots["side-header"],"side-icon":this.$slots["side-header"]?void 0:this.$slots["side-icon"]}),(0,t.createVNode)("div",{class:"nav-slider-list",style:{height:"calc(100vh - ".concat(+this.headHeight+56,"px)")}},[null===(n=(r=this.$slots).menu)||void 0===n?void 0:n.call(r)]),(0,t.createVNode)("div",{class:"nav-slider-footer"},[(0,t.createVNode)("div",{class:{"is-left":"top-bottom"!==this.navigationType,"footer-icon":!0},onClick:this.handleClick},[(0,t.createVNode)(i.CollapseLeft,{class:"footer-icon-svg",style:{transform:this.nav.click?"rotate(180deg)":"rotate(0deg)"}},null)])])])]),(0,t.createVNode)("div",{class:"navigation-container",style:{maxWidth:this.needMenu?"calc(100vw - 60px)":"100vw"}},["top-bottom"!==this.navigationType&&(0,t.createVNode)("div",{class:"container-header",style:{flexBasis:"".concat(this.headHeight,"px")}},[(null===(s=(l=this.$slots).header)||void 0===s?void 0:s.call(l))||[(0,t.createVNode)("div",{class:"container-header-title"},[this.headerTitle]),(0,t.createVNode)("div",{class:"container-header-sets"},[null===(c=(d=this.$slots)["header-set"])||void 0===c?void 0:c.call(d)])]]),(0,t.createVNode)("div",{class:"container-content",style:{maxHeight:"calc(100vh - ".concat(this.headHeight,"px)")}},[null===(v=(h=this.$slots).default)||void 0===v?void 0:v.call(h),(0,t.createVNode)("div",{class:"container-footer"},[null===(p=(u=this.$slots).footer)||void 0===p?void 0:p.call(u)])])])])])}}),d=(0,e.withInstall)(s)})(),n})()));
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PropType } from 'vue';
|
1
|
+
import { PropType, SlotsType } from 'vue';
|
2
2
|
import { BkNavigationType } from './navigation';
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
4
4
|
sideTitle: {
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
9
9
|
type: PropType<BkNavigationType>;
|
10
10
|
default: string;
|
11
11
|
};
|
12
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
12
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
13
13
|
sideTitle: {
|
14
14
|
type: StringConstructor;
|
15
15
|
default: string;
|
@@ -21,5 +21,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
21
21
|
}>>, {
|
22
22
|
sideTitle: string;
|
23
23
|
navigationType: BkNavigationType;
|
24
|
-
}
|
24
|
+
}, SlotsType<{
|
25
|
+
default?: () => HTMLElement;
|
26
|
+
'side-icon'?: () => HTMLElement;
|
27
|
+
}>>;
|
25
28
|
export default _default;
|
@@ -51,6 +51,7 @@
|
|
51
51
|
display: flex;
|
52
52
|
flex-direction: row;
|
53
53
|
flex: 1;
|
54
|
+
min-height: 0;
|
54
55
|
}
|
55
56
|
.bk-navigation-wrapper .navigation-nav {
|
56
57
|
position: relative;
|
@@ -143,7 +144,6 @@
|
|
143
144
|
flex-direction: column;
|
144
145
|
}
|
145
146
|
.bk-navigation-wrapper .navigation-container .container-header {
|
146
|
-
z-index: 100;
|
147
147
|
display: flex;
|
148
148
|
width: 100%;
|
149
149
|
height: 60px;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { PropType } from 'vue';
|
2
|
-
export
|
1
|
+
import { PropType, SlotsType } from 'vue';
|
2
|
+
export type BkNavigationType = 'top-bottom' | 'left-right';
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
4
4
|
navWidth: {
|
5
5
|
type: (NumberConstructor | StringConstructor)[];
|
@@ -9,6 +9,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
9
9
|
type: (NumberConstructor | StringConstructor)[];
|
10
10
|
default: number;
|
11
11
|
};
|
12
|
+
showSideNavTitle: {
|
13
|
+
type: BooleanConstructor;
|
14
|
+
default: boolean;
|
15
|
+
};
|
12
16
|
sideTitle: {
|
13
17
|
type: StringConstructor;
|
14
18
|
default: string;
|
@@ -52,7 +56,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
52
56
|
handleMouseOver: () => void;
|
53
57
|
handleMouseLeave: () => void;
|
54
58
|
handleClick: () => void;
|
55
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
59
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("toggle" | "hover" | "leave" | "toggle-click")[], "toggle" | "hover" | "leave" | "toggle-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
56
60
|
navWidth: {
|
57
61
|
type: (NumberConstructor | StringConstructor)[];
|
58
62
|
default: number;
|
@@ -61,6 +65,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
61
65
|
type: (NumberConstructor | StringConstructor)[];
|
62
66
|
default: number;
|
63
67
|
};
|
68
|
+
showSideNavTitle: {
|
69
|
+
type: BooleanConstructor;
|
70
|
+
default: boolean;
|
71
|
+
};
|
64
72
|
sideTitle: {
|
65
73
|
type: StringConstructor;
|
66
74
|
default: string;
|
@@ -92,8 +100,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
92
100
|
default: boolean;
|
93
101
|
};
|
94
102
|
}>> & {
|
95
|
-
onLeave?: (...args: any[]) => any;
|
96
103
|
onHover?: (...args: any[]) => any;
|
104
|
+
onLeave?: (...args: any[]) => any;
|
97
105
|
onToggle?: (...args: any[]) => any;
|
98
106
|
"onToggle-click"?: (...args: any[]) => any;
|
99
107
|
}, {
|
@@ -101,11 +109,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
101
109
|
navigationType: BkNavigationType;
|
102
110
|
navWidth: string | number;
|
103
111
|
hoverWidth: string | number;
|
112
|
+
showSideNavTitle: boolean;
|
104
113
|
headerTitle: string;
|
105
114
|
hoverLeaveDelay: number;
|
106
115
|
hoverEnterDelay: number;
|
107
116
|
defaultOpen: boolean;
|
108
117
|
headHeight: string | number;
|
109
118
|
needMenu: boolean;
|
110
|
-
}
|
119
|
+
}, SlotsType<{
|
120
|
+
default?: () => HTMLElement;
|
121
|
+
header?: () => HTMLElement;
|
122
|
+
menu?: () => HTMLElement;
|
123
|
+
footer?: () => HTMLElement;
|
124
|
+
'side-icon'?: () => HTMLElement;
|
125
|
+
'side-header'?: () => HTMLElement;
|
126
|
+
}>>;
|
111
127
|
export default _default;
|
@@ -58,6 +58,7 @@
|
|
58
58
|
display: flex;
|
59
59
|
flex-direction: row;
|
60
60
|
flex: 1;
|
61
|
+
min-height: 0;
|
61
62
|
|
62
63
|
.navigation-nav {
|
63
64
|
position: relative;
|
@@ -162,7 +163,6 @@
|
|
162
163
|
flex-direction: column;
|
163
164
|
|
164
165
|
.container-header {
|
165
|
-
z-index: 100;
|
166
166
|
display: flex;
|
167
167
|
width: 100%;
|
168
168
|
height: 60px;
|