vft 0.0.71 → 0.0.72
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/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/es/component.js +56 -40
- package/es/components/aside/style/css.js +2 -0
- package/es/components/aside/style/index.js +2 -0
- package/es/components/back-top/back-top.vue2.js +8 -2
- package/es/components/col/col.vue.js +4 -0
- package/es/components/col/col.vue2.js +60 -0
- package/es/components/col/index.js +12 -0
- package/es/components/col/style/css.js +2 -0
- package/es/components/col/style/index.js +2 -0
- package/es/components/col/types.js +1 -0
- package/es/components/color-picker/utils/color.js +41 -51
- package/es/components/container/aside.vue.js +4 -0
- package/es/components/container/aside.vue2.js +37 -0
- package/es/components/container/container.vue.js +4 -0
- package/es/components/container/container.vue2.js +33 -0
- package/es/components/container/footer.vue.js +4 -0
- package/es/components/container/footer.vue2.js +39 -0
- package/es/components/container/header.vue.js +4 -0
- package/es/components/container/header.vue2.js +39 -0
- package/es/components/container/index.js +25 -0
- package/es/components/container/main.vue.js +4 -0
- package/es/components/container/main.vue2.js +26 -0
- package/es/components/container/style/css.js +6 -0
- package/es/components/container/style/index.js +6 -0
- package/es/components/context-menu/context-menu.vue2.js +20 -14
- package/es/components/date-picker/composables/use-month-range-header.js +29 -0
- package/es/components/date-picker/composables/use-range-picker.js +68 -0
- package/es/components/date-picker/composables/use-shortcut.js +24 -0
- package/es/components/date-picker/constants.js +4 -0
- package/es/components/date-picker/date-picker-com/basic-cell-render.js +37 -0
- package/es/components/date-picker/date-picker-com/basic-date-table.vue.js +4 -0
- package/es/components/date-picker/date-picker-com/basic-date-table.vue2.js +206 -0
- package/es/components/date-picker/date-picker-com/basic-month-table.vue.js +4 -0
- package/es/components/date-picker/date-picker-com/basic-month-table.vue2.js +131 -0
- package/es/components/date-picker/date-picker-com/basic-year-table.vue.js +4 -0
- package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +85 -0
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue.js +4 -0
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +455 -0
- package/es/components/date-picker/date-picker-com/panel-date-range.vue.js +4 -0
- package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +383 -0
- package/es/components/date-picker/date-picker-com/panel-month-range.vue.js +4 -0
- package/es/components/date-picker/date-picker-com/panel-month-range.vue2.js +170 -0
- package/es/components/date-picker/date-picker.js +81 -0
- package/es/components/date-picker/date-picker.type.js +1 -0
- package/es/components/date-picker/index.js +14 -0
- package/es/components/date-picker/panel-utils.js +17 -0
- package/es/components/date-picker/props/basic-cell.js +14 -0
- package/es/components/date-picker/props/basic-date-table.js +18 -0
- package/es/components/date-picker/props/basic-month-table.js +14 -0
- package/es/components/date-picker/props/basic-year-table.js +15 -0
- package/es/components/date-picker/props/date-picker.js +18 -0
- package/es/components/date-picker/props/panel-date-pick.js +23 -0
- package/es/components/date-picker/props/panel-date-range.js +14 -0
- package/es/components/date-picker/props/panel-month-range.js +14 -0
- package/es/components/date-picker/props/shared.js +56 -0
- package/es/components/date-picker/style/css.js +2 -0
- package/es/components/date-picker/style/index.js +7 -0
- package/es/components/date-picker/utils.js +49 -0
- package/es/components/date-time-select/date-time-select.vue2.js +70 -62
- package/es/components/date-time-select/style/index.js +6 -0
- package/es/components/footer/style/css.js +2 -0
- package/es/components/footer/style/index.js +2 -0
- package/es/components/footer-layout/footer-layout.vue2.js +105 -35
- package/es/components/header/style/css.js +2 -0
- package/es/components/header/style/index.js +2 -0
- package/es/components/header-layout/header-layout.vue2.js +122 -37
- package/es/components/horizontal-menu/horizontal-menu.vue.js +4 -0
- package/es/components/horizontal-menu/horizontal-menu.vue2.js +115 -0
- package/es/components/horizontal-menu/index.js +12 -0
- package/es/components/horizontal-menu/style/css.js +6 -0
- package/es/components/horizontal-menu/style/index.js +6 -0
- package/es/components/index.js +254 -209
- package/es/components/input/input.vue2.js +184 -178
- package/es/components/link/link.vue2.js +24 -24
- package/es/components/logo/logo.vue2.js +21 -21
- package/es/components/main/style/css.js +2 -0
- package/es/components/main/style/index.js +2 -0
- package/es/components/md-container/md-container.vue2.js +65 -59
- package/es/components/md-container/toc.js +1 -1
- package/es/components/menu/menu-item.vue2.js +89 -62
- package/es/components/menu/menu.vue2.js +100 -106
- package/es/components/menu/sub-menu.vue2.js +83 -76
- package/es/components/menu/utils/menu-item.js +15 -19
- package/es/components/menu/utils/submenu.js +20 -25
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +45 -39
- package/es/components/result/result.vue2.js +8 -2
- package/es/components/row/constants.js +4 -0
- package/es/components/row/index.js +14 -0
- package/es/components/row/row.vue.js +4 -0
- package/es/components/row/row.vue2.js +49 -0
- package/es/components/row/style/css.js +2 -0
- package/es/components/row/style/index.js +2 -0
- package/es/components/row/types.js +1 -0
- package/es/components/search/search.vue2.js +126 -114
- package/es/components/side-menu/side-menu.vue2.js +212 -146
- package/es/components/side-menu/use-drag-line.js +29 -28
- package/es/components/tabs/tab-nav.vue2.js +48 -42
- package/es/components/time-picker/common/picker.vue.js +4 -0
- package/es/components/time-picker/common/picker.vue2.js +438 -0
- package/es/components/time-picker/common/props.js +201 -0
- package/es/components/time-picker/composables/use-time-panel.js +60 -0
- package/es/components/time-picker/composables/use-time-picker.js +40 -0
- package/es/components/time-picker/constants.js +17 -0
- package/es/components/time-picker/index.js +31 -0
- package/es/components/time-picker/props/basic-time-spinner.js +31 -0
- package/es/components/time-picker/props/panel-time-picker.js +17 -0
- package/es/components/time-picker/props/panel-time-range.js +16 -0
- package/es/components/time-picker/props/shared.js +40 -0
- package/es/components/time-picker/style/css.js +2 -0
- package/es/components/time-picker/style/index.js +2 -0
- package/es/components/time-picker/time-picker-com/basic-time-spinner.vue.js +4 -0
- package/es/components/time-picker/time-picker-com/basic-time-spinner.vue2.js +227 -0
- package/es/components/time-picker/time-picker-com/panel-time-pick.vue.js +4 -0
- package/es/components/time-picker/time-picker-com/panel-time-pick.vue2.js +107 -0
- package/es/components/time-picker/time-picker-com/panel-time-range.vue.js +4 -0
- package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +190 -0
- package/es/components/time-picker/time-picker.js +70 -0
- package/es/components/time-picker/types.js +1 -0
- package/es/components/time-picker/utils.js +35 -0
- package/es/components/time-select/style/css.js +2 -0
- package/es/components/time-select/style/index.js +2 -0
- package/es/components/time-select/time-select.js +54 -0
- package/es/components/time-select/time-select.vue.js +4 -0
- package/es/components/time-select/time-select.vue2.js +104 -0
- package/es/components/time-select/utils.js +40 -0
- package/es/components/tooltip/index.js +5 -3
- package/es/index.js +381 -336
- package/es/package.json.js +1 -1
- package/global.d.ts +73 -2
- package/lib/component.cjs +1 -1
- package/lib/components/aside/style/css.cjs +1 -0
- package/lib/components/aside/style/index.cjs +1 -0
- package/lib/components/back-top/back-top.vue2.cjs +1 -1
- package/lib/components/col/col.vue.cjs +1 -0
- package/lib/components/col/col.vue2.cjs +1 -0
- package/lib/components/col/index.cjs +1 -0
- package/lib/components/col/style/css.cjs +1 -0
- package/lib/components/col/style/index.cjs +1 -0
- package/lib/components/col/types.cjs +1 -0
- package/lib/components/color-picker/utils/color.cjs +1 -1
- package/lib/components/container/aside.vue.cjs +1 -0
- package/lib/components/container/aside.vue2.cjs +1 -0
- package/lib/components/container/container.vue.cjs +1 -0
- package/lib/components/container/container.vue2.cjs +1 -0
- package/lib/components/container/footer.vue.cjs +1 -0
- package/lib/components/container/footer.vue2.cjs +1 -0
- package/lib/components/container/header.vue.cjs +1 -0
- package/lib/components/container/header.vue2.cjs +1 -0
- package/lib/components/container/index.cjs +1 -0
- package/lib/components/container/main.vue.cjs +1 -0
- package/lib/components/container/main.vue2.cjs +1 -0
- package/lib/components/container/style/css.cjs +1 -0
- package/lib/components/container/style/index.cjs +1 -0
- package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
- package/lib/components/date-picker/composables/use-month-range-header.cjs +1 -0
- package/lib/components/date-picker/composables/use-range-picker.cjs +1 -0
- package/lib/components/date-picker/composables/use-shortcut.cjs +1 -0
- package/lib/components/date-picker/constants.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-cell-render.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-date-table.vue.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-date-table.vue2.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-month-table.vue.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-month-table.vue2.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-year-table.vue.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-year-table.vue2.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/panel-date-pick.vue.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/panel-date-pick.vue2.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue2.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/panel-month-range.vue.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/panel-month-range.vue2.cjs +1 -0
- package/lib/components/date-picker/date-picker.cjs +1 -0
- package/lib/components/date-picker/date-picker.type.cjs +1 -0
- package/lib/components/date-picker/index.cjs +1 -0
- package/lib/components/date-picker/panel-utils.cjs +1 -0
- package/lib/components/date-picker/props/basic-cell.cjs +1 -0
- package/lib/components/date-picker/props/basic-date-table.cjs +1 -0
- package/lib/components/date-picker/props/basic-month-table.cjs +1 -0
- package/lib/components/date-picker/props/basic-year-table.cjs +1 -0
- package/lib/components/date-picker/props/date-picker.cjs +1 -0
- package/lib/components/date-picker/props/panel-date-pick.cjs +1 -0
- package/lib/components/date-picker/props/panel-date-range.cjs +1 -0
- package/lib/components/date-picker/props/panel-month-range.cjs +1 -0
- package/lib/components/date-picker/props/shared.cjs +1 -0
- package/lib/components/date-picker/style/css.cjs +1 -0
- package/lib/components/date-picker/style/index.cjs +1 -0
- package/lib/components/date-picker/utils.cjs +1 -0
- package/lib/components/date-time-select/date-time-select.vue2.cjs +1 -1
- package/lib/components/date-time-select/style/index.cjs +1 -1
- package/lib/components/footer/style/css.cjs +1 -0
- package/lib/components/footer/style/index.cjs +1 -0
- package/lib/components/footer-layout/footer-layout.vue2.cjs +1 -1
- package/lib/components/header/style/css.cjs +1 -0
- package/lib/components/header/style/index.cjs +1 -0
- package/lib/components/header-layout/header-layout.vue2.cjs +1 -1
- package/lib/components/horizontal-menu/horizontal-menu.vue.cjs +1 -0
- package/lib/components/horizontal-menu/horizontal-menu.vue2.cjs +1 -0
- package/lib/components/horizontal-menu/index.cjs +1 -0
- package/lib/components/horizontal-menu/style/css.cjs +1 -0
- package/lib/components/horizontal-menu/style/index.cjs +1 -0
- package/lib/components/index.cjs +1 -1
- package/lib/components/input/input.vue2.cjs +1 -1
- package/lib/components/link/link.vue2.cjs +1 -1
- package/lib/components/logo/logo.vue2.cjs +1 -1
- package/lib/components/main/style/css.cjs +1 -0
- package/lib/components/main/style/index.cjs +1 -0
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/md-container/toc.cjs +1 -1
- package/lib/components/menu/menu-item.vue2.cjs +1 -1
- package/lib/components/menu/menu.vue2.cjs +1 -1
- package/lib/components/menu/sub-menu.vue2.cjs +1 -1
- package/lib/components/menu/utils/menu-item.cjs +1 -1
- package/lib/components/menu/utils/submenu.cjs +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/result/result.vue2.cjs +1 -1
- package/lib/components/row/constants.cjs +1 -0
- package/lib/components/row/index.cjs +1 -0
- package/lib/components/row/row.vue.cjs +1 -0
- package/lib/components/row/row.vue2.cjs +1 -0
- package/lib/components/row/style/css.cjs +1 -0
- package/lib/components/row/style/index.cjs +1 -0
- package/lib/components/row/types.cjs +1 -0
- package/lib/components/search/search.vue2.cjs +1 -1
- package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
- package/lib/components/side-menu/use-drag-line.cjs +1 -1
- package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
- package/lib/components/time-picker/common/picker.vue.cjs +1 -0
- package/lib/components/time-picker/common/picker.vue2.cjs +1 -0
- package/lib/components/time-picker/common/props.cjs +1 -0
- package/lib/components/time-picker/composables/use-time-panel.cjs +1 -0
- package/lib/components/time-picker/composables/use-time-picker.cjs +1 -0
- package/lib/components/time-picker/constants.cjs +1 -0
- package/lib/components/time-picker/index.cjs +1 -0
- package/lib/components/time-picker/props/basic-time-spinner.cjs +1 -0
- package/lib/components/time-picker/props/panel-time-picker.cjs +1 -0
- package/lib/components/time-picker/props/panel-time-range.cjs +1 -0
- package/lib/components/time-picker/props/shared.cjs +1 -0
- package/lib/components/time-picker/style/css.cjs +1 -0
- package/lib/components/time-picker/style/index.cjs +1 -0
- package/lib/components/time-picker/time-picker-com/basic-time-spinner.vue.cjs +1 -0
- package/lib/components/time-picker/time-picker-com/basic-time-spinner.vue2.cjs +1 -0
- package/lib/components/time-picker/time-picker-com/panel-time-pick.vue.cjs +1 -0
- package/lib/components/time-picker/time-picker-com/panel-time-pick.vue2.cjs +1 -0
- package/lib/components/time-picker/time-picker-com/panel-time-range.vue.cjs +1 -0
- package/lib/components/time-picker/time-picker-com/panel-time-range.vue2.cjs +1 -0
- package/lib/components/time-picker/time-picker.cjs +1 -0
- package/lib/components/time-picker/types.cjs +1 -0
- package/lib/components/time-picker/utils.cjs +1 -0
- package/lib/components/time-select/style/css.cjs +1 -0
- package/lib/components/time-select/style/index.cjs +1 -0
- package/lib/components/time-select/time-select.cjs +1 -0
- package/lib/components/time-select/time-select.vue.cjs +1 -0
- package/lib/components/time-select/time-select.vue2.cjs +1 -0
- package/lib/components/time-select/utils.cjs +1 -0
- package/lib/components/tooltip/index.cjs +1 -1
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/package.json +7 -7
- package/tags.json +1 -1
- package/theme-style/base.css +1 -1
- package/theme-style/display.css +1 -0
- package/theme-style/index.css +1 -1
- package/theme-style/src/affix.scss +7 -0
- package/theme-style/src/aside.scss +8 -0
- package/theme-style/src/autocomplete.scss +83 -0
- package/theme-style/src/back-top.scss +7 -6
- package/theme-style/src/badge.scss +57 -0
- package/theme-style/src/breadcrumb-item.scss +0 -0
- package/theme-style/src/breadcrumb.scss +61 -0
- package/theme-style/src/calendar.scss +80 -0
- package/theme-style/src/card.scss +38 -0
- package/theme-style/src/carousel-item.scss +50 -0
- package/theme-style/src/carousel.scss +174 -0
- package/theme-style/src/cascader-panel.scss +138 -0
- package/theme-style/src/cascader.scss +216 -0
- package/theme-style/src/check-tag.scss +29 -0
- package/theme-style/src/col.scss +52 -0
- package/theme-style/src/collapse-item.scss +0 -0
- package/theme-style/src/collapse.scss +67 -0
- package/theme-style/src/color-picker.scss +2 -2
- package/theme-style/src/common/popup.scss +47 -0
- package/theme-style/src/common/var.scss +381 -6
- package/theme-style/src/container.scss +14 -0
- package/theme-style/src/date-picker/date-picker.scss +110 -0
- package/theme-style/src/date-picker/date-range-picker.scss +113 -0
- package/theme-style/src/date-picker/date-table.scss +162 -0
- package/theme-style/src/date-picker/month-table.scss +90 -0
- package/theme-style/src/date-picker/picker-panel.scss +131 -0
- package/theme-style/src/date-picker/picker.scss +210 -0
- package/theme-style/src/date-picker/time-picker.scss +90 -0
- package/theme-style/src/date-picker/time-range-picker.scss +33 -0
- package/theme-style/src/date-picker/time-spinner.scss +111 -0
- package/theme-style/src/date-picker/year-table.scss +60 -0
- package/theme-style/src/date-picker.scss +9 -0
- package/theme-style/src/date-time-select.scss +1 -1
- package/theme-style/src/display.scss +12 -0
- package/theme-style/src/drawer.scss +160 -0
- package/theme-style/src/footer-layout.scss +4 -9
- package/theme-style/src/footer.scss +11 -0
- package/theme-style/src/header-layout.scss +26 -15
- package/theme-style/src/header.scss +11 -0
- package/theme-style/src/horizontal-menu.scss +90 -0
- package/theme-style/src/icon.scss +6 -6
- package/theme-style/src/index.scss +123 -76
- package/theme-style/src/infinite-scroll.scss +0 -0
- package/theme-style/src/input-number.scss +175 -0
- package/theme-style/src/input.scss +2 -4
- package/theme-style/src/list-cell.scss +3 -3
- package/theme-style/src/loading.scss +1 -1
- package/theme-style/src/main.scss +10 -0
- package/theme-style/src/md/code.scss +3 -3
- package/theme-style/src/md/demo-block.scss +2 -2
- package/theme-style/src/md/pswp.scss +4 -4
- package/theme-style/src/md/scroll-bar.scss +1 -1
- package/theme-style/src/md/table.scss +3 -3
- package/theme-style/src/md/toc.scss +3 -3
- package/theme-style/src/md-container.scss +6 -8
- package/theme-style/src/menu.scss +43 -17
- package/theme-style/src/message-box.scss +258 -0
- package/theme-style/src/mixins/_col.scss +38 -0
- package/theme-style/src/mixins/mixins.scss +25 -0
- package/theme-style/src/notification.scss +105 -0
- package/theme-style/src/option.scss +36 -0
- package/theme-style/src/pagination.scss +0 -2
- package/theme-style/src/progress.scss +169 -0
- package/theme-style/src/rate.scss +101 -0
- package/theme-style/src/reset.scss +92 -0
- package/theme-style/src/row.scss +31 -0
- package/theme-style/src/search.scss +6 -5
- package/theme-style/src/select-dropdown.scss +2 -2
- package/theme-style/src/side-menu.scss +9 -3
- package/theme-style/src/slider.scss +211 -0
- package/theme-style/src/space.scss +20 -0
- package/theme-style/src/spinner.scss +43 -0
- package/theme-style/src/statistic.scss +35 -0
- package/theme-style/src/step.scss +316 -0
- package/theme-style/src/steps.scss +21 -0
- package/theme-style/src/tabs.scss +2 -2
- package/theme-style/src/time-picker.scss +5 -0
- package/theme-style/src/time-select.scss +37 -0
- package/theme-style/src/timeline-item.scss +85 -0
- package/theme-style/src/timeline.scss +46 -0
- package/theme-style/src/transfer.scss +206 -0
- package/theme-style/src/tree-select.scss +36 -0
- package/theme-style/src/tree.scss +131 -0
- package/theme-style/src/upload.scss +621 -0
- package/theme-style/vft-affix.css +1 -0
- package/theme-style/vft-aside.css +1 -0
- package/theme-style/vft-autocomplete.css +1 -0
- package/theme-style/vft-back-top.css +1 -1
- package/theme-style/vft-badge.css +1 -0
- package/theme-style/vft-breadcrumb-item.css +0 -0
- package/theme-style/vft-breadcrumb.css +1 -0
- package/theme-style/vft-calendar.css +1 -0
- package/theme-style/vft-card.css +1 -0
- package/theme-style/vft-carousel-item.css +1 -0
- package/theme-style/vft-carousel.css +1 -0
- package/theme-style/vft-cascader-panel.css +1 -0
- package/theme-style/vft-cascader.css +1 -0
- package/theme-style/vft-check-tag.css +1 -0
- package/theme-style/vft-col.css +1 -0
- package/theme-style/vft-collapse-item.css +0 -0
- package/theme-style/vft-collapse.css +1 -0
- package/theme-style/vft-color-picker.css +1 -1
- package/theme-style/vft-container.css +1 -0
- package/theme-style/vft-date-picker.css +1 -0
- package/theme-style/vft-drawer.css +1 -0
- package/theme-style/vft-footer-layout.css +1 -1
- package/theme-style/vft-footer.css +1 -0
- package/theme-style/vft-header-layout.css +1 -1
- package/theme-style/vft-header.css +1 -0
- package/theme-style/vft-horizontal-menu.css +1 -0
- package/theme-style/vft-infinite-scroll.css +0 -0
- package/theme-style/vft-input-number.css +1 -0
- package/theme-style/vft-main.css +1 -0
- package/theme-style/vft-md-container.css +1 -1
- package/theme-style/vft-menu.css +1 -1
- package/theme-style/vft-message-box.css +1 -0
- package/theme-style/vft-notification.css +1 -0
- package/theme-style/vft-option.css +1 -0
- package/theme-style/vft-pagination.css +1 -1
- package/theme-style/vft-progress.css +1 -0
- package/theme-style/vft-rate.css +1 -0
- package/theme-style/vft-reset.css +1 -0
- package/theme-style/vft-row.css +1 -0
- package/theme-style/vft-search.css +1 -1
- package/theme-style/vft-select-dropdown.css +1 -1
- package/theme-style/vft-select.css +1 -1
- package/theme-style/vft-side-menu.css +1 -1
- package/theme-style/vft-slider.css +1 -0
- package/theme-style/vft-space.css +1 -0
- package/theme-style/vft-spinner.css +1 -0
- package/theme-style/vft-statistic.css +1 -0
- package/theme-style/vft-step.css +1 -0
- package/theme-style/vft-steps.css +1 -0
- package/theme-style/vft-time-picker.css +1 -0
- package/theme-style/vft-time-select.css +1 -0
- package/theme-style/vft-timeline-item.css +1 -0
- package/theme-style/vft-timeline.css +1 -0
- package/theme-style/vft-transfer.css +1 -0
- package/theme-style/vft-tree-select.css +1 -0
- package/theme-style/vft-tree.css +1 -0
- package/theme-style/vft-upload.css +1 -0
- package/theme-style/vft-var.css +1 -1
- package/web-types.json +1 -1
- package/theme-style/src/md/list.scss +0 -21
|
@@ -1,37 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { EVENT_CODE as u } from "@vft/constants";
|
|
6
|
-
import a from "./submenu.js";
|
|
7
|
-
class h {
|
|
1
|
+
import { triggerEvent as u } from "@vft/utils";
|
|
2
|
+
import { EVENT_CODE as s } from "@vft/constants";
|
|
3
|
+
import r from "./submenu.js";
|
|
4
|
+
class m {
|
|
8
5
|
constructor(e, t) {
|
|
9
|
-
|
|
10
|
-
this.domNode = e, this.submenu = null, this.init(t);
|
|
6
|
+
this.domNode = e, this.submenu = null, this.submenu = null, this.init(t);
|
|
11
7
|
}
|
|
12
8
|
init(e) {
|
|
13
9
|
this.domNode.setAttribute("tabindex", "0");
|
|
14
10
|
const t = this.domNode.querySelector(`.${e}-menu`);
|
|
15
|
-
t && (this.submenu = new
|
|
11
|
+
t && (this.submenu = new r(this, t)), this.addListeners();
|
|
16
12
|
}
|
|
17
13
|
addListeners() {
|
|
18
14
|
this.domNode.addEventListener("keydown", (e) => {
|
|
19
15
|
let t = !1;
|
|
20
16
|
switch (e.code) {
|
|
21
|
-
case
|
|
22
|
-
|
|
17
|
+
case s.down: {
|
|
18
|
+
u(e.currentTarget, "mouseenter"), this.submenu && this.submenu.gotoSubIndex(0), t = !0;
|
|
23
19
|
break;
|
|
24
20
|
}
|
|
25
|
-
case
|
|
26
|
-
|
|
21
|
+
case s.up: {
|
|
22
|
+
u(e.currentTarget, "mouseenter"), this.submenu && this.submenu.gotoSubIndex(this.submenu.subMenuItems.length - 1), t = !0;
|
|
27
23
|
break;
|
|
28
24
|
}
|
|
29
|
-
case
|
|
30
|
-
|
|
25
|
+
case s.tab: {
|
|
26
|
+
u(e.currentTarget, "mouseleave");
|
|
31
27
|
break;
|
|
32
28
|
}
|
|
33
|
-
case
|
|
34
|
-
case
|
|
29
|
+
case s.enter:
|
|
30
|
+
case s.space: {
|
|
35
31
|
t = !0, e.currentTarget.click();
|
|
36
32
|
break;
|
|
37
33
|
}
|
|
@@ -41,5 +37,5 @@ class h {
|
|
|
41
37
|
}
|
|
42
38
|
}
|
|
43
39
|
export {
|
|
44
|
-
|
|
40
|
+
m as default
|
|
45
41
|
};
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class l {
|
|
7
|
-
constructor(e, t) {
|
|
8
|
-
o(this, "subMenuItems");
|
|
9
|
-
o(this, "subIndex", 0);
|
|
10
|
-
this.parent = e, this.domNode = t, this.subIndex = 0, this.init();
|
|
1
|
+
import { triggerEvent as n } from "@vft/utils";
|
|
2
|
+
import { EVENT_CODE as t } from "@vft/constants";
|
|
3
|
+
class h {
|
|
4
|
+
constructor(e, o) {
|
|
5
|
+
this.parent = e, this.domNode = o, this.subIndex = 0, this.subIndex = 0, this.init();
|
|
11
6
|
}
|
|
12
7
|
init() {
|
|
13
8
|
this.subMenuItems = this.domNode.querySelectorAll("li"), this.addListeners();
|
|
@@ -17,33 +12,33 @@ class l {
|
|
|
17
12
|
}
|
|
18
13
|
addListeners() {
|
|
19
14
|
const e = this.parent.domNode;
|
|
20
|
-
Array.prototype.forEach.call(this.subMenuItems, (
|
|
21
|
-
|
|
22
|
-
let
|
|
23
|
-
switch (
|
|
24
|
-
case
|
|
25
|
-
this.gotoSubIndex(this.subIndex + 1),
|
|
15
|
+
Array.prototype.forEach.call(this.subMenuItems, (o) => {
|
|
16
|
+
o.addEventListener("keydown", (s) => {
|
|
17
|
+
let r = !1;
|
|
18
|
+
switch (s.code) {
|
|
19
|
+
case t.down: {
|
|
20
|
+
this.gotoSubIndex(this.subIndex + 1), r = !0;
|
|
26
21
|
break;
|
|
27
22
|
}
|
|
28
|
-
case
|
|
29
|
-
this.gotoSubIndex(this.subIndex - 1),
|
|
23
|
+
case t.up: {
|
|
24
|
+
this.gotoSubIndex(this.subIndex - 1), r = !0;
|
|
30
25
|
break;
|
|
31
26
|
}
|
|
32
|
-
case
|
|
33
|
-
|
|
27
|
+
case t.tab: {
|
|
28
|
+
n(e, "mouseleave");
|
|
34
29
|
break;
|
|
35
30
|
}
|
|
36
|
-
case
|
|
37
|
-
case
|
|
38
|
-
|
|
31
|
+
case t.enter:
|
|
32
|
+
case t.space: {
|
|
33
|
+
r = !0, s.currentTarget.click();
|
|
39
34
|
break;
|
|
40
35
|
}
|
|
41
36
|
}
|
|
42
|
-
return
|
|
37
|
+
return r && (s.preventDefault(), s.stopPropagation()), !1;
|
|
43
38
|
});
|
|
44
39
|
});
|
|
45
40
|
}
|
|
46
41
|
}
|
|
47
42
|
export {
|
|
48
|
-
|
|
43
|
+
h as default
|
|
49
44
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as P, ref as
|
|
2
|
-
import { useRouterHelper as
|
|
3
|
-
import { useMultipleTabStore as
|
|
4
|
-
import { useRefs as
|
|
1
|
+
import { defineComponent as P, ref as v, getCurrentInstance as E, computed as h, watchEffect as H, unref as r, openBlock as x, createElementBlock as R, normalizeClass as K, normalizeStyle as $, createVNode as S, withCtx as C, Fragment as F, renderList as U, createBlock as j } from "vue";
|
|
2
|
+
import { useRouterHelper as q, getRouterKeyPath as f, listenerRouteChange as G } from "@vft/router";
|
|
3
|
+
import { useMultipleTabStore as J, useTabs as L } from "@vft/store";
|
|
4
|
+
import { useRefs as O } from "@vft/use";
|
|
5
5
|
import "@vft/utils";
|
|
6
6
|
import "lodash";
|
|
7
7
|
import "@vueuse/core";
|
|
8
|
-
import { generateCssVars as
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
8
|
+
import { generateCssVars as _ } from "../../utils/ns-cover.js";
|
|
9
|
+
import Q from "hotkeys-js";
|
|
10
|
+
import { onBeforeRouteLeave as W } from "vue-router";
|
|
11
11
|
import { useNamespace as X } from "../../hooks/use-namespace/index.js";
|
|
12
12
|
import "@popperjs/core";
|
|
13
13
|
import "../../hooks/use-z-index/index.js";
|
|
@@ -30,6 +30,7 @@ import "../iframe-layout/index.js";
|
|
|
30
30
|
import "../router-view-content/index.js";
|
|
31
31
|
import "../logo/index.js";
|
|
32
32
|
import "../back-top/index.js";
|
|
33
|
+
import "../container/index.js";
|
|
33
34
|
import "../config-provider/index.js";
|
|
34
35
|
import "../descriptions/index.js";
|
|
35
36
|
import "../full-screen/index.js";
|
|
@@ -67,6 +68,11 @@ import "../image-viewer/index.js";
|
|
|
67
68
|
import "../list-cell/index.js";
|
|
68
69
|
import "../dialog/index.js";
|
|
69
70
|
import "../date-time-select/index.js";
|
|
71
|
+
import "../col/index.js";
|
|
72
|
+
import "../row/index.js";
|
|
73
|
+
import "../horizontal-menu/index.js";
|
|
74
|
+
import "../time-picker/index.js";
|
|
75
|
+
import "../date-picker/index.js";
|
|
70
76
|
import "../md-container/index.js";
|
|
71
77
|
import "../md-comment/index.js";
|
|
72
78
|
import "../md-tabs/index.js";
|
|
@@ -81,57 +87,57 @@ const M = (
|
|
|
81
87
|
X("multiple-tabs")
|
|
82
88
|
), rt = P({
|
|
83
89
|
name: M.b()
|
|
84
|
-
}),
|
|
90
|
+
}), ze = /* @__PURE__ */ P({
|
|
85
91
|
...rt,
|
|
86
92
|
props: {
|
|
87
93
|
tabsStyle: null,
|
|
88
94
|
contextMenuStyle: null,
|
|
89
95
|
canDrag: { type: Boolean }
|
|
90
96
|
},
|
|
91
|
-
setup(
|
|
97
|
+
setup(d) {
|
|
92
98
|
const i = et();
|
|
93
|
-
|
|
94
|
-
const u =
|
|
99
|
+
d.canDrag && ot(i);
|
|
100
|
+
const u = J(), n = v(""), a = v(0), b = v(), s = E().appContext.config.globalProperties.$router, { go: g } = q(s), c = h(() => u.getTabList.filter((t) => {
|
|
95
101
|
var e;
|
|
96
102
|
return !((e = t.meta) != null && e.hideTab);
|
|
97
103
|
}));
|
|
98
|
-
|
|
104
|
+
H(() => {
|
|
99
105
|
var t;
|
|
100
106
|
if (n.value) {
|
|
101
|
-
const e =
|
|
102
|
-
e === -1 ? a.value = ((t =
|
|
107
|
+
const e = c.value.findIndex((o) => f(o) === n.value);
|
|
108
|
+
e === -1 ? a.value = ((t = c.value) == null ? void 0 : t.length) - 1 : a.value = e, a.value = a.value < (i == null ? void 0 : i.length) ? (i == null ? void 0 : i.length) - 1 : a.value;
|
|
103
109
|
}
|
|
104
110
|
}), W(() => {
|
|
105
|
-
|
|
106
|
-
}),
|
|
111
|
+
b.value = r(s.currentRoute);
|
|
112
|
+
}), G((t) => {
|
|
107
113
|
var T;
|
|
108
114
|
if (!t || (T = t.meta) != null && T.hasTokenToRoot)
|
|
109
115
|
return;
|
|
110
|
-
const { meta: e = {} } = t, { currentActivePath: o, hideTab: m } = e, p = m ? o : null, l =
|
|
116
|
+
const { meta: e = {} } = t, { currentActivePath: o, hideTab: m } = e, p = m ? o : null, l = f(t);
|
|
111
117
|
if (n.value !== l && (n.value = l), p) {
|
|
112
|
-
let y =
|
|
113
|
-
y && u.addTab(y, r(
|
|
118
|
+
let y = s.getRoutes().find((D) => D.path === o);
|
|
119
|
+
y && u.addTab(y, r(b), a.value, t);
|
|
114
120
|
} else
|
|
115
|
-
u.addTab(r(t), r(
|
|
121
|
+
u.addTab(r(t), r(b), a.value);
|
|
116
122
|
});
|
|
117
123
|
function k(t) {
|
|
118
124
|
var m, p;
|
|
119
125
|
if (n.value === t.paneName)
|
|
120
126
|
return;
|
|
121
|
-
const e =
|
|
127
|
+
const e = c.value[t.attrs.index];
|
|
122
128
|
n.value = t.paneName;
|
|
123
129
|
const o = (p = (m = e == null ? void 0 : e.meta) == null ? void 0 : m.hideActiveRoute) == null ? void 0 : p.fullPath;
|
|
124
130
|
g(o || e.fullPath || e.path);
|
|
125
131
|
}
|
|
126
132
|
function B(t) {
|
|
127
|
-
u.closeTabByKey(t,
|
|
133
|
+
u.closeTabByKey(t, s);
|
|
128
134
|
}
|
|
129
|
-
const [
|
|
135
|
+
const [I, N] = O();
|
|
130
136
|
function V(t) {
|
|
131
137
|
const e = t.pane.attrs.index, o = t.event;
|
|
132
|
-
|
|
138
|
+
I.value[e].handleContext(o);
|
|
133
139
|
}
|
|
134
|
-
const w = h(() => ({ ...
|
|
140
|
+
const w = h(() => ({ ..._({
|
|
135
141
|
padding: "4px 0 0",
|
|
136
142
|
"border-bottom": "none",
|
|
137
143
|
"header-height": "26px",
|
|
@@ -143,20 +149,20 @@ const M = (
|
|
|
143
149
|
"scroll-padding": "0 20px",
|
|
144
150
|
"header-margin": "0 0 0 8px",
|
|
145
151
|
"item-border": "none"
|
|
146
|
-
}, "tabs"), ...
|
|
147
|
-
|
|
152
|
+
}, "tabs"), ...d.tabsStyle })), { closeCurrent: A } = L();
|
|
153
|
+
Q("command+e, ctrl+e", function() {
|
|
148
154
|
return A(), !1;
|
|
149
155
|
});
|
|
150
156
|
const z = h(() => ({
|
|
151
|
-
...
|
|
157
|
+
..._({
|
|
152
158
|
"sub-item-height": "40px",
|
|
153
159
|
"item-min-width": "150px"
|
|
154
160
|
}, "menu"),
|
|
155
|
-
...
|
|
161
|
+
...d.contextMenuStyle
|
|
156
162
|
}));
|
|
157
163
|
return (t, e) => (x(), R("div", {
|
|
158
|
-
class:
|
|
159
|
-
style:
|
|
164
|
+
class: K(r(M).b()),
|
|
165
|
+
style: $(r(w))
|
|
160
166
|
}, [
|
|
161
167
|
S(r(Y), {
|
|
162
168
|
"model-value": n.value,
|
|
@@ -165,23 +171,23 @@ const M = (
|
|
|
165
171
|
onTabRemove: B,
|
|
166
172
|
onTabContextMenu: V
|
|
167
173
|
}, {
|
|
168
|
-
default:
|
|
169
|
-
(x(!0), R(F, null, U(r(
|
|
174
|
+
default: C(() => [
|
|
175
|
+
(x(!0), R(F, null, U(r(c), (o, m) => {
|
|
170
176
|
var p;
|
|
171
|
-
return x(),
|
|
172
|
-
key: r(
|
|
177
|
+
return x(), j(r(Z), {
|
|
178
|
+
key: r(f)(o) + m,
|
|
173
179
|
closable: !((p = o.meta) != null && p.affix),
|
|
174
180
|
index: m,
|
|
175
|
-
name: r(
|
|
181
|
+
name: r(f)(o)
|
|
176
182
|
}, {
|
|
177
|
-
label:
|
|
183
|
+
label: C(() => {
|
|
178
184
|
var l;
|
|
179
185
|
return [
|
|
180
186
|
S(tt, {
|
|
181
187
|
contextMenuStyle: r(z),
|
|
182
188
|
affixNum: (l = r(i)) == null ? void 0 : l.length,
|
|
183
189
|
ref_for: !0,
|
|
184
|
-
ref: r(
|
|
190
|
+
ref: r(N)(m),
|
|
185
191
|
tabItem: o
|
|
186
192
|
}, null, 8, ["contextMenuStyle", "affixNum", "tabItem"])
|
|
187
193
|
];
|
|
@@ -196,5 +202,5 @@ const M = (
|
|
|
196
202
|
}
|
|
197
203
|
});
|
|
198
204
|
export {
|
|
199
|
-
|
|
205
|
+
ze as default
|
|
200
206
|
};
|
|
@@ -25,6 +25,7 @@ import "../iframe-layout/index.js";
|
|
|
25
25
|
import "../router-view-content/index.js";
|
|
26
26
|
import "../logo/index.js";
|
|
27
27
|
import "../back-top/index.js";
|
|
28
|
+
import "../container/index.js";
|
|
28
29
|
import "../config-provider/index.js";
|
|
29
30
|
import "../descriptions/index.js";
|
|
30
31
|
import "../full-screen/index.js";
|
|
@@ -62,6 +63,11 @@ import "../image-viewer/index.js";
|
|
|
62
63
|
import "../list-cell/index.js";
|
|
63
64
|
import "../dialog/index.js";
|
|
64
65
|
import "../date-time-select/index.js";
|
|
66
|
+
import "../col/index.js";
|
|
67
|
+
import "../row/index.js";
|
|
68
|
+
import "../horizontal-menu/index.js";
|
|
69
|
+
import "../time-picker/index.js";
|
|
70
|
+
import "../date-picker/index.js";
|
|
65
71
|
import "../md-container/index.js";
|
|
66
72
|
import "../md-comment/index.js";
|
|
67
73
|
import "../md-tabs/index.js";
|
|
@@ -74,7 +80,7 @@ const i = (
|
|
|
74
80
|
x("result")
|
|
75
81
|
), I = l({
|
|
76
82
|
name: i.b()
|
|
77
|
-
}),
|
|
83
|
+
}), Mt = /* @__PURE__ */ l({
|
|
78
84
|
...I,
|
|
79
85
|
props: {
|
|
80
86
|
title: null,
|
|
@@ -113,5 +119,5 @@ const i = (
|
|
|
113
119
|
}
|
|
114
120
|
});
|
|
115
121
|
export {
|
|
116
|
-
|
|
122
|
+
Mt as default
|
|
117
123
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { withInstall as o } from "../../utils/vue/install.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
import "@vft/utils";
|
|
4
|
+
import "lodash";
|
|
5
|
+
import "@vueuse/core";
|
|
6
|
+
import "../../utils/ns-cover.js";
|
|
7
|
+
import t from "./row.vue2.js";
|
|
8
|
+
import { rowContextKey as w } from "./constants.js";
|
|
9
|
+
const n = o(t);
|
|
10
|
+
export {
|
|
11
|
+
n as VftRow,
|
|
12
|
+
n as default,
|
|
13
|
+
w as rowContextKey
|
|
14
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { defineComponent as a, computed as r, provide as m, openBlock as p, createBlock as f, resolveDynamicComponent as c, normalizeClass as g, unref as n, normalizeStyle as d, withCtx as y, renderSlot as _ } from "vue";
|
|
2
|
+
import { rowContextKey as C } from "./constants.js";
|
|
3
|
+
import { useNamespace as j } from "../../hooks/use-namespace/index.js";
|
|
4
|
+
import "@popperjs/core";
|
|
5
|
+
import "lodash";
|
|
6
|
+
import "../../hooks/use-z-index/index.js";
|
|
7
|
+
import "@vueuse/core";
|
|
8
|
+
import "@vft/utils";
|
|
9
|
+
import "../../utils/ns-cover.js";
|
|
10
|
+
const o = (
|
|
11
|
+
/* hoist-static*/
|
|
12
|
+
j("row")
|
|
13
|
+
), w = a({
|
|
14
|
+
name: o.b()
|
|
15
|
+
}), D = /* @__PURE__ */ a({
|
|
16
|
+
...w,
|
|
17
|
+
props: {
|
|
18
|
+
tag: { default: "div" },
|
|
19
|
+
gutter: { default: 0 },
|
|
20
|
+
justify: { default: "start" },
|
|
21
|
+
align: { default: "top" }
|
|
22
|
+
},
|
|
23
|
+
setup(s) {
|
|
24
|
+
const t = s, i = r(() => t.gutter);
|
|
25
|
+
m(C, {
|
|
26
|
+
gutter: i
|
|
27
|
+
});
|
|
28
|
+
const l = r(() => {
|
|
29
|
+
const e = {};
|
|
30
|
+
return t.gutter && (e.marginRight = e.marginLeft = `-${t.gutter / 2}px`), e;
|
|
31
|
+
}), u = r(() => [
|
|
32
|
+
o.b(),
|
|
33
|
+
o.is(`justify-${t.justify}`, t.justify !== "start"),
|
|
34
|
+
o.is(`align-${t.align}`, t.align !== "top")
|
|
35
|
+
]);
|
|
36
|
+
return (e, x) => (p(), f(c(s.tag), {
|
|
37
|
+
class: g(n(u)),
|
|
38
|
+
style: d(n(l))
|
|
39
|
+
}, {
|
|
40
|
+
default: y(() => [
|
|
41
|
+
_(e.$slots, "default")
|
|
42
|
+
]),
|
|
43
|
+
_: 3
|
|
44
|
+
}, 8, ["class", "style"]));
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
export {
|
|
48
|
+
D as default
|
|
49
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|