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,177 +1,189 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
4
|
-
import {
|
|
5
|
-
import { generateCssVars as C } from "../../utils/ns-cover.js";
|
|
6
|
-
import { VftPopover as Q } from "../popover/index.js";
|
|
7
|
-
import { VftInput as X } from "../input/index.js";
|
|
8
|
-
import { useNamespace as Y } from "../../hooks/use-namespace/index.js";
|
|
1
|
+
import { defineComponent as P, ref as u, computed as s, resolveDirective as j, openBlock as h, createElementBlock as w, Fragment as q, withDirectives as G, normalizeClass as g, unref as n, normalizeStyle as J, createVNode as Q, mergeProps as b, createSlots as T, withCtx as r, renderSlot as i, createBlock as X, createElementVNode as Y, createCommentVNode as Z } from "vue";
|
|
2
|
+
import { VftInput as _ } from "../input/index.js";
|
|
3
|
+
import { VftPopover as ee } from "../popover/index.js";
|
|
4
|
+
import { useNamespace as oe } from "../../hooks/use-namespace/index.js";
|
|
9
5
|
import "@popperjs/core";
|
|
6
|
+
import "lodash";
|
|
10
7
|
import "../../hooks/use-z-index/index.js";
|
|
11
|
-
|
|
8
|
+
import "@vueuse/core";
|
|
9
|
+
import { addUnit as c } from "@vft/utils";
|
|
10
|
+
import { generateCssVars as $ } from "../../utils/ns-cover.js";
|
|
11
|
+
const d = (
|
|
12
12
|
/* hoist-static*/
|
|
13
|
-
|
|
14
|
-
),
|
|
15
|
-
name:
|
|
16
|
-
}),
|
|
17
|
-
...
|
|
13
|
+
oe("search")
|
|
14
|
+
), te = P({
|
|
15
|
+
name: d.b()
|
|
16
|
+
}), ve = /* @__PURE__ */ P({
|
|
17
|
+
...te,
|
|
18
18
|
props: {
|
|
19
|
-
width: { default: 200 },
|
|
20
|
-
activeWidth: null,
|
|
21
|
-
hasPopover: { type: Boolean, default: !0 },
|
|
22
|
-
popoverCfg: null,
|
|
23
|
-
id: null,
|
|
24
|
-
size: null,
|
|
25
|
-
disabled: { type: Boolean },
|
|
26
19
|
modelValue: { default: "" },
|
|
27
|
-
type: null,
|
|
28
|
-
resize: null,
|
|
29
|
-
autosize: { type: [Object, Boolean] },
|
|
30
|
-
autocomplete: null,
|
|
31
|
-
formatter: { type: Function },
|
|
32
|
-
parser: { type: Function },
|
|
33
20
|
placeholder: null,
|
|
34
|
-
form: null,
|
|
35
|
-
readonly: { type: Boolean },
|
|
36
21
|
clearable: { type: Boolean, default: !0 },
|
|
37
|
-
showPassword: { type: Boolean },
|
|
38
|
-
showWordLimit: { type: Boolean },
|
|
39
22
|
suffixIcon: { default: { icon: "ico-ep:search", color: "#8B8C8C", pointer: !0 } },
|
|
40
23
|
prefixIcon: null,
|
|
41
24
|
clearIcon: null,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
inputStyle: null
|
|
25
|
+
width: { default: 200 },
|
|
26
|
+
activeWidth: null,
|
|
27
|
+
usePopover: { type: Boolean, default: !0 },
|
|
28
|
+
popoverCfg: null
|
|
47
29
|
},
|
|
48
|
-
emits: ["update:modelValue", "
|
|
49
|
-
setup(
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"active-width": l.activeWidth ? m(l.activeWidth) : void 0
|
|
66
|
-
}, "search")), z = u(() => ({
|
|
30
|
+
emits: ["update:modelValue", "blur", "focus", "clear", "enter", "prefixClick", "suffixClick", "mouseenter", "mouseleave", "keydown", "change"],
|
|
31
|
+
setup(e, { expose: x, emit: t }) {
|
|
32
|
+
const k = u(), C = u(), y = u(), v = u(!1), p = u(!1), l = u(!1), B = s(
|
|
33
|
+
() => $(
|
|
34
|
+
{
|
|
35
|
+
width: e.activeWidth && (l.value || e.modelValue) ? c(e.activeWidth) : c(e.width)
|
|
36
|
+
},
|
|
37
|
+
"input"
|
|
38
|
+
)
|
|
39
|
+
), R = s(
|
|
40
|
+
() => $(
|
|
41
|
+
{
|
|
42
|
+
"active-width": e.activeWidth ? c(e.activeWidth) : c(e.width)
|
|
43
|
+
},
|
|
44
|
+
"search"
|
|
45
|
+
)
|
|
46
|
+
), S = s(() => ({
|
|
67
47
|
"show-arrow": !1,
|
|
68
48
|
transition: "vft-zoom-in-top-fast",
|
|
69
49
|
placement: "bottom-start",
|
|
70
50
|
"hide-after": 100,
|
|
71
51
|
offset: 3,
|
|
72
52
|
width: 500,
|
|
73
|
-
...
|
|
74
|
-
})), I = (
|
|
75
|
-
|
|
76
|
-
},
|
|
77
|
-
|
|
53
|
+
...e.popoverCfg
|
|
54
|
+
})), I = (o) => {
|
|
55
|
+
t("update:modelValue", o);
|
|
56
|
+
}, W = () => {
|
|
57
|
+
m();
|
|
78
58
|
};
|
|
79
|
-
function
|
|
80
|
-
|
|
59
|
+
function E() {
|
|
60
|
+
l.value = !0;
|
|
81
61
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
62
|
+
function m() {
|
|
63
|
+
l.value = !1;
|
|
64
|
+
}
|
|
65
|
+
const F = () => {
|
|
66
|
+
f(), t("clear");
|
|
87
67
|
};
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
68
|
+
function M() {
|
|
69
|
+
p.value = !0, t("mouseenter", e.modelValue);
|
|
70
|
+
}
|
|
71
|
+
function N() {
|
|
72
|
+
p.value = !1, t("mouseleave", e.modelValue);
|
|
73
|
+
}
|
|
74
|
+
const z = () => {
|
|
75
|
+
l.value = !0, v.value = !0, t("focus");
|
|
76
|
+
};
|
|
77
|
+
function D() {
|
|
78
|
+
v.value = !1, t("blur");
|
|
79
|
+
}
|
|
80
|
+
function K() {
|
|
81
|
+
f(), t("prefixClick", e.modelValue);
|
|
82
|
+
}
|
|
83
|
+
function U() {
|
|
84
|
+
f(), t("suffixClick", e.modelValue);
|
|
85
|
+
}
|
|
86
|
+
function A() {
|
|
87
|
+
f(), t("enter", e.modelValue);
|
|
88
|
+
}
|
|
89
|
+
function f() {
|
|
90
|
+
e.usePopover && m(), y.value.blur();
|
|
91
|
+
}
|
|
92
|
+
const H = (o) => {
|
|
93
|
+
t("keydown", o);
|
|
94
|
+
}, L = s(() => {
|
|
95
|
+
var o, a;
|
|
96
|
+
return (a = (o = k.value) == null ? void 0 : o.popperRef) == null ? void 0 : a.contentRef;
|
|
94
97
|
});
|
|
95
|
-
return
|
|
96
|
-
isFocus:
|
|
97
|
-
isHover:
|
|
98
|
-
visible:
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
98
|
+
return x({
|
|
99
|
+
isFocus: v,
|
|
100
|
+
isHover: p,
|
|
101
|
+
visible: l,
|
|
102
|
+
hidePopover: m,
|
|
103
|
+
showPopover: E
|
|
104
|
+
}), (o, a) => {
|
|
105
|
+
const O = j("click-outside");
|
|
106
|
+
return h(), w(q, null, [
|
|
107
|
+
G((h(), w("div", {
|
|
103
108
|
ref_key: "searchRef",
|
|
104
|
-
ref:
|
|
105
|
-
class:
|
|
106
|
-
style:
|
|
109
|
+
ref: C,
|
|
110
|
+
class: g([n(d).b(), n(d).is("active", l.value || e.modelValue)]),
|
|
111
|
+
style: J(n(R))
|
|
107
112
|
}, [
|
|
108
|
-
|
|
113
|
+
Q(n(_), b({
|
|
109
114
|
ref_key: "inputRef",
|
|
110
|
-
ref:
|
|
111
|
-
},
|
|
112
|
-
inputStyle:
|
|
115
|
+
ref: y
|
|
116
|
+
}, o.$props, {
|
|
117
|
+
inputStyle: n(B),
|
|
113
118
|
onInput: I,
|
|
114
|
-
onFocus:
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
onFocus: z,
|
|
120
|
+
onEnter: A,
|
|
121
|
+
onBlur: D,
|
|
122
|
+
onMouseenter: M,
|
|
123
|
+
onMouseleave: N,
|
|
124
|
+
onPrefixClick: K,
|
|
125
|
+
onSuffixClick: U,
|
|
126
|
+
onChange: a[0] || (a[0] = (V) => {
|
|
127
|
+
t("change", e.modelValue);
|
|
128
|
+
}),
|
|
129
|
+
onKeydown: H,
|
|
130
|
+
onClear: F
|
|
131
|
+
}), T({ _: 2 }, [
|
|
132
|
+
o.$slots.prefix ? {
|
|
121
133
|
name: "prefix",
|
|
122
134
|
fn: r(() => [
|
|
123
|
-
i(
|
|
135
|
+
i(o.$slots, "prefix")
|
|
124
136
|
]),
|
|
125
137
|
key: "0"
|
|
126
138
|
} : void 0,
|
|
127
|
-
|
|
139
|
+
o.$slots.suffix ? {
|
|
128
140
|
name: "suffix",
|
|
129
141
|
fn: r(() => [
|
|
130
|
-
i(
|
|
142
|
+
i(o.$slots, "suffix")
|
|
131
143
|
]),
|
|
132
144
|
key: "1"
|
|
133
145
|
} : void 0,
|
|
134
|
-
|
|
146
|
+
o.$slots.prepend ? {
|
|
135
147
|
name: "prepend",
|
|
136
148
|
fn: r(() => [
|
|
137
|
-
i(
|
|
149
|
+
i(o.$slots, "prepend")
|
|
138
150
|
]),
|
|
139
151
|
key: "2"
|
|
140
152
|
} : void 0,
|
|
141
|
-
|
|
153
|
+
o.$slots.append ? {
|
|
142
154
|
name: "append",
|
|
143
155
|
fn: r(() => [
|
|
144
|
-
i(
|
|
156
|
+
i(o.$slots, "append")
|
|
145
157
|
]),
|
|
146
158
|
key: "3"
|
|
147
159
|
} : void 0
|
|
148
160
|
]), 1040, ["inputStyle"])
|
|
149
161
|
], 6)), [
|
|
150
|
-
[
|
|
162
|
+
[O, W, n(L)]
|
|
151
163
|
]),
|
|
152
|
-
|
|
164
|
+
e.usePopover ? (h(), X(n(ee), b({
|
|
153
165
|
key: 0,
|
|
154
166
|
ref_key: "popoverRef",
|
|
155
|
-
ref:
|
|
156
|
-
},
|
|
157
|
-
"virtual-ref":
|
|
158
|
-
visible:
|
|
159
|
-
"onUpdate:visible": a[
|
|
167
|
+
ref: k
|
|
168
|
+
}, n(S), {
|
|
169
|
+
"virtual-ref": C.value,
|
|
170
|
+
visible: l.value,
|
|
171
|
+
"onUpdate:visible": a[1] || (a[1] = (V) => l.value = V),
|
|
160
172
|
"virtual-triggering": ""
|
|
161
173
|
}), {
|
|
162
174
|
default: r(() => [
|
|
163
|
-
|
|
164
|
-
class:
|
|
175
|
+
Y("div", {
|
|
176
|
+
class: g(n(d).e("content"))
|
|
165
177
|
}, [
|
|
166
|
-
i(
|
|
178
|
+
i(o.$slots, "default")
|
|
167
179
|
], 2)
|
|
168
180
|
]),
|
|
169
181
|
_: 3
|
|
170
|
-
}, 16, ["virtual-ref", "visible"])) :
|
|
182
|
+
}, 16, ["virtual-ref", "visible"])) : Z("", !0)
|
|
171
183
|
], 64);
|
|
172
184
|
};
|
|
173
185
|
}
|
|
174
186
|
});
|
|
175
187
|
export {
|
|
176
|
-
|
|
188
|
+
ve as default
|
|
177
189
|
};
|