vft 0.0.127 → 0.0.129
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/dist/index.css +1 -1
- package/es/component.js +154 -154
- package/es/components/affix/affix.js +6 -6
- package/es/components/affix/affix.vue2.js +4 -4
- package/es/components/affix/index.js +4 -4
- package/es/components/alert/alert.vue2.js +4 -4
- package/es/components/alert/index.js +4 -4
- package/es/components/autocomplete/autocomplete.vue2.js +21 -21
- package/es/components/autocomplete/index.js +4 -4
- package/es/components/avatar/avatar.vue2.js +3 -3
- package/es/components/avatar/index.js +4 -4
- package/es/components/backtop/backtop.vue2.js +84 -84
- package/es/components/backtop/index.js +4 -4
- package/es/components/button/button-custom.js +9 -9
- package/es/components/button/button-group.vue2.js +4 -4
- package/es/components/button/button.vue2.js +10 -10
- package/es/components/button/index.js +4 -4
- package/es/components/button/use-button.js +9 -9
- package/es/components/card/card.vue2.js +4 -4
- package/es/components/card/index.js +4 -4
- package/es/components/check-tag/check-tag.vue2.js +4 -4
- package/es/components/check-tag/index.js +4 -4
- package/es/components/checkbox/checkbox-button.vue2.js +7 -7
- package/es/components/checkbox/checkbox-group.vue2.js +13 -13
- package/es/components/checkbox/checkbox.vue2.js +5 -5
- package/es/components/checkbox/composables/index.js +10 -10
- package/es/components/checkbox/composables/use-checkbox-disabled.js +5 -5
- package/es/components/checkbox/composables/use-checkbox-event.js +9 -9
- package/es/components/checkbox/composables/use-checkbox-model.js +5 -5
- package/es/components/checkbox/composables/use-checkbox-status.js +5 -5
- package/es/components/checkbox/composables/use-checkbox.js +1 -1
- package/es/components/checkbox/index.js +4 -4
- package/es/components/clamp/index.js +4 -4
- package/es/components/clamp-toggle/clamp-toggle.vue2.js +7 -7
- package/es/components/clamp-toggle/index.js +4 -4
- package/es/components/col/col.vue2.js +4 -4
- package/es/components/col/index.js +4 -4
- package/es/components/collapse-transition/src/collapse-transition.vue2.js +4 -4
- package/es/components/color-picker/color-picker.vue2.js +23 -23
- package/es/components/color-picker/components/hue-slider.vue2.js +8 -8
- package/es/components/color-picker/components/predefine.vue2.js +4 -4
- package/es/components/color-picker/components/sv-panel.vue2.js +8 -8
- package/es/components/color-picker/composables/use-alpha-slider.js +11 -11
- package/es/components/color-picker/index.js +4 -4
- package/es/components/color-picker/utils/color.js +10 -10
- package/es/components/config-provider/config-provider.vue2.js +7 -7
- package/es/components/config-provider/hooks/use-global-config.js +8 -8
- package/es/components/config-provider/index.js +4 -4
- package/es/components/container/aside.vue2.js +7 -7
- package/es/components/container/container.vue2.js +4 -4
- package/es/components/container/footer.vue2.js +7 -7
- package/es/components/container/header.vue2.js +7 -7
- package/es/components/container/index.js +5 -5
- package/es/components/container/main.vue2.js +4 -4
- package/es/components/context-menu/context-menu.vue2.js +71 -71
- package/es/components/date-picker/composables/use-range-picker.js +11 -11
- package/es/components/date-picker/composables/use-shortcut.js +4 -4
- package/es/components/date-picker/date-picker-com/basic-cell-render.js +4 -4
- package/es/components/date-picker/date-picker-com/basic-date-table.vue2.js +9 -9
- package/es/components/date-picker/date-picker-com/basic-month-table.vue2.js +13 -13
- package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +14 -14
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +38 -38
- package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +31 -31
- package/es/components/date-picker/date-picker-com/panel-month-range.vue2.js +20 -20
- package/es/components/date-picker/date-picker.js +23 -23
- package/es/components/date-picker/props/basic-cell.js +3 -3
- package/es/components/date-picker/props/basic-date-table.js +3 -3
- package/es/components/date-picker/props/basic-month-table.js +3 -3
- package/es/components/date-picker/props/basic-year-table.js +3 -3
- package/es/components/date-picker/props/date-picker.js +3 -3
- package/es/components/date-picker/props/panel-date-pick.js +3 -3
- package/es/components/date-picker/props/panel-date-range.js +3 -3
- package/es/components/date-picker/props/panel-month-range.js +3 -3
- package/es/components/date-picker/props/shared.js +3 -3
- package/es/components/date-picker/utils.js +1 -1
- package/es/components/date-time-select/date-time-select.vue2.js +13 -13
- package/es/components/date-time-select/index.js +4 -4
- package/es/components/descriptions/description-item.vue2.js +4 -4
- package/es/components/descriptions/description.vue2.js +3 -3
- package/es/components/descriptions/descriptions-cell.js +11 -11
- package/es/components/descriptions/index.js +4 -4
- package/es/components/dialog/dialog-content.vue2.js +6 -6
- package/es/components/dialog/dialog.vue2.js +19 -19
- package/es/components/dialog/hooks/use-dialog.js +23 -23
- package/es/components/dialog/index.js +8 -8
- package/es/components/divider/divider.vue2.js +4 -4
- package/es/components/divider/index.js +4 -4
- package/es/components/drawer/drawer.vue2.js +25 -25
- package/es/components/drawer/index.js +4 -4
- package/es/components/dropdown/dropdown-item-impl.vue2.js +22 -22
- package/es/components/dropdown/dropdown-item.vue2.js +8 -8
- package/es/components/dropdown/dropdown-menu.vue2.js +20 -20
- package/es/components/dropdown/dropdown.vue2.js +19 -19
- package/es/components/dropdown/index.js +4 -4
- package/es/components/dropdown/useDropdown.js +8 -8
- package/es/components/empty/empty.vue2.js +8 -8
- package/es/components/empty/index.js +4 -4
- package/es/components/exception/exception.vue2.js +9 -9
- package/es/components/exception/index.js +4 -4
- package/es/components/footer-layout/footer-layout.vue2.js +69 -69
- package/es/components/footer-layout/index.js +4 -4
- package/es/components/form/form-item.vue2.js +20 -20
- package/es/components/form/form-label-wrap.js +1 -1
- package/es/components/form/form.vue2.js +6 -6
- package/es/components/form/hooks/use-form-common-props.js +5 -5
- package/es/components/form/hooks/use-form-item.js +5 -5
- package/es/components/form/index.js +17 -17
- package/es/components/form/utils.js +7 -7
- package/es/components/full-screen/full-screen.vue2.js +17 -17
- package/es/components/full-screen/index.js +4 -4
- package/es/components/header-layout/header-layout.vue2.js +73 -73
- package/es/components/header-layout/index.js +4 -4
- package/es/components/horizontal-menu/horizontal-menu.vue2.js +13 -13
- package/es/components/horizontal-menu/index.js +4 -4
- package/es/components/icon/icon.vue2.js +10 -8
- package/es/components/icon/index.js +4 -4
- package/es/components/icon-text/icon-text.vue2.js +25 -25
- package/es/components/icon-text/index.js +4 -4
- package/es/components/iframe-layout/iframe-layout.vue2.js +4 -4
- package/es/components/iframe-layout/iframe-page.vue2.js +4 -4
- package/es/components/iframe-layout/index.js +4 -4
- package/es/components/image/image.vue2.js +13 -13
- package/es/components/image/index.js +4 -4
- package/es/components/image-viewer/image-viewer.vue2.js +39 -39
- package/es/components/image-viewer/index.js +4 -4
- package/es/components/index.js +334 -334
- package/es/components/input/index.js +4 -4
- package/es/components/input/input.vue2.js +48 -44
- package/es/components/input-number/index.js +4 -4
- package/es/components/input-number/input-number.vue2.js +41 -41
- package/es/components/link/index.js +4 -4
- package/es/components/link/link.vue2.js +11 -11
- package/es/components/list-cell/index.js +4 -4
- package/es/components/list-cell/list-cell.vue2.js +25 -25
- package/es/components/loading/directive.js +6 -6
- package/es/components/loading/index.js +8 -8
- package/es/components/loading/loading.js +17 -17
- package/es/components/loading/service.js +7 -7
- package/es/components/logo/index.js +4 -4
- package/es/components/logo/logo.vue2.js +4 -4
- package/es/components/md-code-demo/code-demo/code.js +2 -2
- package/es/components/md-code-demo/index.js +4 -4
- package/es/components/md-code-demo/md-code-demo.js +14 -14
- package/es/components/md-code-tabs/index.js +4 -4
- package/es/components/md-comment/index.js +4 -4
- package/es/components/md-comment/md-comment.vue2.js +4 -4
- package/es/components/md-container/index.js +4 -4
- package/es/components/md-container/md-container.vue2.js +91 -91
- package/es/components/md-tabs/index.js +4 -4
- package/es/components/md-vue-playground/index.js +4 -4
- package/es/components/md-vue-playground/md-vue-playground.vue2.js +16 -16
- package/es/components/menu/index.js +4 -4
- package/es/components/menu/menu-collapse-transition.vue2.js +7 -7
- package/es/components/menu/menu-item-group.vue2.js +4 -4
- package/es/components/menu/menu-item.vue2.js +76 -76
- package/es/components/menu/menu.vue2.js +10 -10
- package/es/components/menu/sub-menu.vue2.js +71 -71
- package/es/components/menu/use-menu-css-var.js +4 -4
- package/es/components/message/index.js +4 -4
- package/es/components/message/message.vue2.js +11 -11
- package/es/components/message/method.js +14 -14
- package/es/components/modal/index.js +4 -4
- package/es/components/modal/modal-footer-action.vue2.js +69 -69
- package/es/components/modal/modal.vue2.js +5 -5
- package/es/components/modal/use/use-modal.js +14 -14
- package/es/components/multiple-tabs/index.js +9 -9
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +73 -73
- package/es/components/multiple-tabs/tab-content.vue2.js +2 -2
- package/es/components/multiple-tabs/use/index.js +5 -5
- package/es/components/multiple-tabs/use/use-multiple-tabs.js +1 -1
- package/es/components/multiple-tabs/use/use-tab-dropdown.js +13 -13
- package/es/components/overlay/index.js +4 -4
- package/es/components/overlay/overlay.vue2.js +4 -4
- package/es/components/page-wrapper/index.js +4 -4
- package/es/components/page-wrapper/page-wrapper.vue2.js +7 -7
- package/es/components/pagination/components/jumper.vue2.js +4 -4
- package/es/components/pagination/components/next.vue2.js +5 -5
- package/es/components/pagination/components/pager.vue2.js +44 -44
- package/es/components/pagination/components/prev.vue2.js +5 -5
- package/es/components/pagination/components/sizes.vue2.js +3 -3
- package/es/components/pagination/components/total.vue2.js +4 -4
- package/es/components/pagination/index.js +4 -4
- package/es/components/pagination/pagination.vue2.js +4 -4
- package/es/components/popconfirm/index.js +4 -4
- package/es/components/popconfirm/popconfirm.vue2.js +12 -12
- package/es/components/popover/index.js +4 -4
- package/es/components/popover/popover.vue2.js +7 -7
- package/es/components/popper/arrow.vue2.js +4 -4
- package/es/components/popper/composables/use-content-dom.js +4 -4
- package/es/components/popper/composables/use-content.js +3 -3
- package/es/components/popper/content.vue2.js +1 -1
- package/es/components/popper/index.js +9 -9
- package/es/components/popper/trigger.vue2.js +7 -7
- package/es/components/progress/index.js +4 -4
- package/es/components/progress/progress.vue2.js +21 -21
- package/es/components/qrcode/drawCanvas.js +1 -1
- package/es/components/qrcode/index.js +4 -4
- package/es/components/qrcode/qrcode.vue2.js +13 -13
- package/es/components/radio/index.js +4 -4
- package/es/components/radio/radio-button.vue2.js +4 -4
- package/es/components/radio/radio-group.vue2.js +8 -8
- package/es/components/radio/radio.vue2.js +4 -4
- package/es/components/radio/use-radio.js +4 -4
- package/es/components/result/index.js +4 -4
- package/es/components/result/result.vue2.js +68 -68
- package/es/components/router-view-content/index.js +4 -4
- package/es/components/roving-focus-group/index.js +4 -4
- package/es/components/roving-focus-group/roving-focus-group-impl.vue2.js +19 -19
- package/es/components/roving-focus-group/roving-focus-item.vue2.js +17 -17
- package/es/components/row/index.js +4 -4
- package/es/components/row/row.vue2.js +7 -7
- package/es/components/scrollbar/bar.vue2.js +5 -5
- package/es/components/scrollbar/index.js +10 -10
- package/es/components/scrollbar/scrollbar.vue2.js +8 -8
- package/es/components/scrollbar/thumb.vue2.js +1 -1
- package/es/components/search/index.js +4 -4
- package/es/components/search/search.vue2.js +5 -5
- package/es/components/select/defaults.js +3 -3
- package/es/components/select/group-item.vue2.js +4 -4
- package/es/components/select/option-item.vue2.js +8 -8
- package/es/components/select/select-dropdown.js +11 -11
- package/es/components/select/select.vue.js +1 -1
- package/es/components/select/select.vue2.js +23 -23
- package/es/components/select/useInput.js +5 -5
- package/es/components/select/useSelect.js +29 -29
- package/es/components/side-menu/index.js +4 -4
- package/es/components/side-menu/side-menu.vue2.js +104 -104
- package/es/components/skeleton/index.js +4 -4
- package/es/components/skeleton/skeleton-item.vue2.js +12 -12
- package/es/components/skeleton/skeleton.vue2.js +4 -4
- package/es/components/slider/button.vue2.js +10 -10
- package/es/components/slider/composables/use-lifecycle.js +5 -5
- package/es/components/slider/composables/use-slide.js +5 -5
- package/es/components/slider/composables/use-slider-button.js +7 -7
- package/es/components/slider/composables/use-stops.js +6 -6
- package/es/components/slider/composables/use-watch.js +3 -3
- package/es/components/slider/index.js +8 -8
- package/es/components/slider/marker.js +7 -7
- package/es/components/slider/slider.vue2.js +18 -18
- package/es/components/slot/only-child.js +9 -9
- package/es/components/space/index.js +4 -4
- package/es/components/space/item.js +7 -7
- package/es/components/space/space.js +12 -12
- package/es/components/space/use-space.js +8 -8
- package/es/components/super-form/component-map.js +72 -72
- package/es/components/super-form/index.js +4 -4
- package/es/components/super-form/super-form-action.vue2.js +72 -72
- package/es/components/super-form/super-form-item.vue2.js +69 -69
- package/es/components/super-form/super-form.vue2.js +88 -88
- package/es/components/super-form/use/helper.js +3 -3
- package/es/components/super-form/use/use-form-events.js +22 -22
- package/es/components/super-form/use/use-form-values.js +1 -1
- package/es/components/super-form/use/use-form.js +5 -5
- package/es/components/switch/index.js +4 -4
- package/es/components/switch/switch.vue2.js +6 -6
- package/es/components/table/field.js +68 -68
- package/es/components/table/index.js +4 -4
- package/es/components/table/table.vue2.js +19 -19
- package/es/components/table/use/use-columns.js +12 -12
- package/es/components/table/use/use-data-source.js +22 -22
- package/es/components/table/use/use-pagination.js +1 -1
- package/es/components/table/use/use-table.js +21 -22
- package/es/components/tabs/index.js +5 -5
- package/es/components/tabs/tab-bar.vue2.js +7 -7
- package/es/components/tabs/tab-nav.vue2.js +67 -67
- package/es/components/tabs/tab-pane.vue2.js +6 -6
- package/es/components/tabs/tabs.vue2.js +14 -14
- package/es/components/tag/index.js +4 -4
- package/es/components/tag/tag.vue2.js +6 -6
- package/es/components/time-picker/common/picker.vue2.js +15 -15
- package/es/components/time-picker/common/props.js +7 -7
- package/es/components/time-picker/index.js +18 -18
- package/es/components/time-picker/props/basic-time-spinner.js +3 -3
- package/es/components/time-picker/props/panel-time-picker.js +3 -3
- package/es/components/time-picker/props/panel-time-range.js +3 -3
- package/es/components/time-picker/props/shared.js +3 -3
- package/es/components/time-picker/time-picker-com/basic-time-spinner.vue2.js +13 -13
- package/es/components/time-picker/time-picker-com/panel-time-pick.vue2.js +14 -14
- package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +18 -18
- package/es/components/time-picker/time-picker.js +9 -9
- package/es/components/time-picker/utils.js +1 -1
- package/es/components/time-select/time-select.js +3 -3
- package/es/components/time-select/time-select.vue2.js +4 -4
- package/es/components/tooltip/content.vue2.js +7 -7
- package/es/components/tooltip/index.js +4 -4
- package/es/components/tooltip/tooltip.vue2.js +17 -17
- package/es/components/tooltip/trigger.vue2.js +2 -2
- package/es/components/tooltip/utils.js +8 -8
- package/es/components/tree/index.js +5 -5
- package/es/components/tree/model/node.js +4 -4
- package/es/components/tree/model/useDragNode.js +8 -8
- package/es/components/tree/model/useKeydown.js +9 -9
- package/es/components/tree/tree-node-content.vue2.js +4 -4
- package/es/components/tree/tree-node.vue.js +9 -9
- package/es/components/tree/tree-node.vue2.js +24 -24
- package/es/components/tree/tree.vue2.js +13 -13
- package/es/components/upload/ajax.js +6 -6
- package/es/components/upload/index.js +4 -4
- package/es/components/upload/upload-content.vue2.js +7 -7
- package/es/components/upload/upload-dragger.vue2.js +8 -8
- package/es/components/upload/upload-list.vue2.js +39 -39
- package/es/components/upload/upload.vue2.js +12 -12
- package/es/components/upload/use-handlers.js +8 -8
- package/es/components/verify-code/index.js +4 -4
- package/es/components/virtual-list/builders/build-grid.js +50 -50
- package/es/components/virtual-list/builders/build-list.js +53 -53
- package/es/components/virtual-list/components/dynamic-size-grid.js +3 -3
- package/es/components/virtual-list/components/dynamic-size-list.js +10 -10
- package/es/components/virtual-list/components/fixed-size-grid.js +3 -3
- package/es/components/virtual-list/components/fixed-size-list.js +10 -10
- package/es/components/virtual-list/components/scrollbar.js +3 -3
- package/es/components/virtual-list/hooks/use-cache.js +6 -6
- package/es/components/virtual-list/hooks/use-grid-wheel.js +3 -3
- package/es/components/virtual-list/hooks/use-wheel.js +3 -3
- package/es/components/virtual-list/index.js +4 -4
- package/es/components/virtual-list/props.js +4 -4
- package/es/defaults.js +3 -3
- package/es/hooks/index.js +52 -52
- package/es/hooks/use-attrs/index.js +6 -6
- package/es/hooks/use-draggable/index.js +1 -1
- package/es/hooks/use-id/index.js +8 -8
- package/es/hooks/use-lockscreen/index.js +15 -15
- package/es/hooks/use-ordered-children/index.js +4 -4
- package/es/hooks/use-popper/index.js +10 -10
- package/es/hooks/use-popper-container/index.js +7 -7
- package/es/hooks/use-z-index/index.js +6 -6
- package/es/index.js +463 -463
- package/es/package.json.js +1 -1
- package/es/utils/dom/scroll.js +1 -1
- package/es/utils/index.js +61 -61
- package/es/utils/ns-cover.js +4 -4
- package/es/utils/vue/index.js +31 -31
- package/es/utils/vue/props/runtime.js +4 -4
- package/es/utils/vue/vnode.js +9 -9
- package/lib/component.cjs +1 -1
- package/lib/components/affix/affix.cjs +1 -1
- package/lib/components/affix/affix.vue2.cjs +1 -1
- package/lib/components/affix/index.cjs +1 -1
- package/lib/components/alert/alert.vue2.cjs +1 -1
- package/lib/components/alert/index.cjs +1 -1
- package/lib/components/autocomplete/autocomplete.vue2.cjs +1 -1
- package/lib/components/autocomplete/index.cjs +1 -1
- package/lib/components/avatar/avatar.vue2.cjs +1 -1
- package/lib/components/avatar/index.cjs +1 -1
- package/lib/components/backtop/backtop.vue2.cjs +1 -1
- package/lib/components/backtop/index.cjs +1 -1
- package/lib/components/button/button-custom.cjs +1 -1
- package/lib/components/button/button-group.vue2.cjs +1 -1
- package/lib/components/button/button.vue2.cjs +1 -1
- package/lib/components/button/index.cjs +1 -1
- package/lib/components/button/use-button.cjs +1 -1
- package/lib/components/card/card.vue2.cjs +1 -1
- package/lib/components/card/index.cjs +1 -1
- package/lib/components/check-tag/check-tag.vue2.cjs +1 -1
- package/lib/components/check-tag/index.cjs +1 -1
- package/lib/components/checkbox/checkbox-button.vue2.cjs +1 -1
- package/lib/components/checkbox/checkbox-group.vue2.cjs +1 -1
- package/lib/components/checkbox/checkbox.vue2.cjs +1 -1
- package/lib/components/checkbox/composables/index.cjs +1 -1
- package/lib/components/checkbox/composables/use-checkbox-disabled.cjs +1 -1
- package/lib/components/checkbox/composables/use-checkbox-event.cjs +1 -1
- package/lib/components/checkbox/composables/use-checkbox-model.cjs +1 -1
- package/lib/components/checkbox/composables/use-checkbox-status.cjs +1 -1
- package/lib/components/checkbox/composables/use-checkbox.cjs +1 -1
- package/lib/components/checkbox/index.cjs +1 -1
- package/lib/components/clamp/index.cjs +1 -1
- package/lib/components/clamp-toggle/clamp-toggle.vue2.cjs +1 -1
- package/lib/components/clamp-toggle/index.cjs +1 -1
- package/lib/components/col/col.vue2.cjs +1 -1
- package/lib/components/col/index.cjs +1 -1
- package/lib/components/collapse-transition/src/collapse-transition.vue2.cjs +1 -1
- package/lib/components/color-picker/color-picker.vue2.cjs +1 -1
- package/lib/components/color-picker/components/hue-slider.vue2.cjs +1 -1
- package/lib/components/color-picker/components/predefine.vue2.cjs +1 -1
- package/lib/components/color-picker/components/sv-panel.vue2.cjs +1 -1
- package/lib/components/color-picker/composables/use-alpha-slider.cjs +1 -1
- package/lib/components/color-picker/index.cjs +1 -1
- package/lib/components/color-picker/utils/color.cjs +1 -1
- package/lib/components/config-provider/config-provider.vue2.cjs +1 -1
- package/lib/components/config-provider/hooks/use-global-config.cjs +1 -1
- package/lib/components/config-provider/index.cjs +1 -1
- package/lib/components/container/aside.vue2.cjs +1 -1
- package/lib/components/container/container.vue2.cjs +1 -1
- package/lib/components/container/footer.vue2.cjs +1 -1
- package/lib/components/container/header.vue2.cjs +1 -1
- package/lib/components/container/index.cjs +1 -1
- package/lib/components/container/main.vue2.cjs +1 -1
- package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
- package/lib/components/date-picker/composables/use-range-picker.cjs +1 -1
- package/lib/components/date-picker/composables/use-shortcut.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-cell-render.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-date-table.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-month-table.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-year-table.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-pick.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-month-range.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker.cjs +1 -1
- package/lib/components/date-picker/props/basic-cell.cjs +1 -1
- package/lib/components/date-picker/props/basic-date-table.cjs +1 -1
- package/lib/components/date-picker/props/basic-month-table.cjs +1 -1
- package/lib/components/date-picker/props/basic-year-table.cjs +1 -1
- package/lib/components/date-picker/props/date-picker.cjs +1 -1
- package/lib/components/date-picker/props/panel-date-pick.cjs +1 -1
- package/lib/components/date-picker/props/panel-date-range.cjs +1 -1
- package/lib/components/date-picker/props/panel-month-range.cjs +1 -1
- package/lib/components/date-picker/props/shared.cjs +1 -1
- package/lib/components/date-picker/utils.cjs +1 -1
- package/lib/components/date-time-select/date-time-select.vue2.cjs +1 -1
- package/lib/components/date-time-select/index.cjs +1 -1
- package/lib/components/descriptions/description-item.vue2.cjs +1 -1
- package/lib/components/descriptions/description.vue2.cjs +1 -1
- package/lib/components/descriptions/descriptions-cell.cjs +1 -1
- package/lib/components/descriptions/index.cjs +1 -1
- package/lib/components/dialog/dialog-content.vue2.cjs +1 -1
- package/lib/components/dialog/dialog.vue2.cjs +1 -1
- package/lib/components/dialog/hooks/use-dialog.cjs +1 -1
- package/lib/components/dialog/index.cjs +1 -1
- package/lib/components/divider/divider.vue2.cjs +1 -1
- package/lib/components/divider/index.cjs +1 -1
- package/lib/components/drawer/drawer.vue2.cjs +1 -1
- package/lib/components/drawer/index.cjs +1 -1
- package/lib/components/dropdown/dropdown-item-impl.vue2.cjs +1 -1
- package/lib/components/dropdown/dropdown-item.vue2.cjs +1 -1
- package/lib/components/dropdown/dropdown-menu.vue2.cjs +1 -1
- package/lib/components/dropdown/dropdown.vue2.cjs +1 -1
- package/lib/components/dropdown/index.cjs +1 -1
- package/lib/components/dropdown/useDropdown.cjs +1 -1
- package/lib/components/empty/empty.vue2.cjs +1 -1
- package/lib/components/empty/index.cjs +1 -1
- package/lib/components/exception/exception.vue2.cjs +1 -1
- package/lib/components/exception/index.cjs +1 -1
- package/lib/components/footer-layout/footer-layout.vue2.cjs +1 -1
- package/lib/components/footer-layout/index.cjs +1 -1
- package/lib/components/form/form-item.vue2.cjs +1 -1
- package/lib/components/form/form-label-wrap.cjs +1 -1
- package/lib/components/form/form.vue2.cjs +1 -1
- package/lib/components/form/hooks/use-form-common-props.cjs +1 -1
- package/lib/components/form/hooks/use-form-item.cjs +1 -1
- package/lib/components/form/index.cjs +1 -1
- package/lib/components/form/utils.cjs +1 -1
- package/lib/components/full-screen/full-screen.vue2.cjs +1 -1
- package/lib/components/full-screen/index.cjs +1 -1
- package/lib/components/header-layout/header-layout.vue2.cjs +1 -1
- package/lib/components/header-layout/index.cjs +1 -1
- package/lib/components/horizontal-menu/horizontal-menu.vue2.cjs +1 -1
- package/lib/components/horizontal-menu/index.cjs +1 -1
- package/lib/components/icon/icon.vue2.cjs +1 -1
- package/lib/components/icon/index.cjs +1 -1
- package/lib/components/icon-text/icon-text.vue2.cjs +1 -1
- package/lib/components/icon-text/index.cjs +1 -1
- package/lib/components/iframe-layout/iframe-layout.vue2.cjs +1 -1
- package/lib/components/iframe-layout/iframe-page.vue2.cjs +1 -1
- package/lib/components/iframe-layout/index.cjs +1 -1
- package/lib/components/image/image.vue2.cjs +1 -1
- package/lib/components/image/index.cjs +1 -1
- package/lib/components/image-viewer/image-viewer.vue2.cjs +1 -1
- package/lib/components/image-viewer/index.cjs +1 -1
- package/lib/components/index.cjs +1 -1
- package/lib/components/input/index.cjs +1 -1
- package/lib/components/input/input.vue2.cjs +1 -1
- package/lib/components/input-number/index.cjs +1 -1
- package/lib/components/input-number/input-number.vue2.cjs +1 -1
- package/lib/components/link/index.cjs +1 -1
- package/lib/components/link/link.vue2.cjs +1 -1
- package/lib/components/list-cell/index.cjs +1 -1
- package/lib/components/list-cell/list-cell.vue2.cjs +1 -1
- package/lib/components/loading/directive.cjs +1 -1
- package/lib/components/loading/index.cjs +1 -1
- package/lib/components/loading/loading.cjs +1 -1
- package/lib/components/loading/service.cjs +1 -1
- package/lib/components/logo/index.cjs +1 -1
- package/lib/components/logo/logo.vue2.cjs +1 -1
- package/lib/components/md-code-demo/code-demo/code.cjs +1 -1
- package/lib/components/md-code-demo/index.cjs +1 -1
- package/lib/components/md-code-demo/md-code-demo.cjs +1 -1
- package/lib/components/md-code-tabs/index.cjs +1 -1
- package/lib/components/md-comment/index.cjs +1 -1
- package/lib/components/md-comment/md-comment.vue2.cjs +1 -1
- package/lib/components/md-container/index.cjs +1 -1
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/md-tabs/index.cjs +1 -1
- package/lib/components/md-vue-playground/index.cjs +1 -1
- package/lib/components/md-vue-playground/md-vue-playground.vue2.cjs +1 -1
- package/lib/components/menu/index.cjs +1 -1
- package/lib/components/menu/menu-collapse-transition.vue2.cjs +1 -1
- package/lib/components/menu/menu-item-group.vue2.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/use-menu-css-var.cjs +1 -1
- package/lib/components/message/index.cjs +1 -1
- package/lib/components/message/message.vue2.cjs +1 -1
- package/lib/components/message/method.cjs +1 -1
- package/lib/components/modal/index.cjs +1 -1
- package/lib/components/modal/modal-footer-action.vue2.cjs +1 -1
- package/lib/components/modal/modal.vue2.cjs +1 -1
- package/lib/components/modal/use/use-modal.cjs +1 -1
- package/lib/components/multiple-tabs/index.cjs +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/tab-content.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/use/index.cjs +1 -1
- package/lib/components/multiple-tabs/use/use-multiple-tabs.cjs +1 -1
- package/lib/components/multiple-tabs/use/use-tab-dropdown.cjs +1 -1
- package/lib/components/overlay/index.cjs +1 -1
- package/lib/components/overlay/overlay.vue2.cjs +1 -1
- package/lib/components/page-wrapper/index.cjs +1 -1
- package/lib/components/page-wrapper/page-wrapper.vue2.cjs +1 -1
- package/lib/components/pagination/components/jumper.vue2.cjs +1 -1
- package/lib/components/pagination/components/next.vue2.cjs +1 -1
- package/lib/components/pagination/components/pager.vue2.cjs +1 -1
- package/lib/components/pagination/components/prev.vue2.cjs +1 -1
- package/lib/components/pagination/components/sizes.vue2.cjs +1 -1
- package/lib/components/pagination/components/total.vue2.cjs +1 -1
- package/lib/components/pagination/index.cjs +1 -1
- package/lib/components/pagination/pagination.vue2.cjs +1 -1
- package/lib/components/popconfirm/index.cjs +1 -1
- package/lib/components/popconfirm/popconfirm.vue2.cjs +1 -1
- package/lib/components/popover/index.cjs +1 -1
- package/lib/components/popover/popover.vue2.cjs +1 -1
- package/lib/components/popper/arrow.vue2.cjs +1 -1
- package/lib/components/popper/composables/use-content-dom.cjs +1 -1
- package/lib/components/popper/composables/use-content.cjs +1 -1
- package/lib/components/popper/content.vue2.cjs +1 -1
- package/lib/components/popper/index.cjs +1 -1
- package/lib/components/popper/trigger.vue2.cjs +1 -1
- package/lib/components/progress/index.cjs +1 -1
- package/lib/components/progress/progress.vue2.cjs +2 -2
- package/lib/components/qrcode/drawCanvas.cjs +1 -1
- package/lib/components/qrcode/index.cjs +1 -1
- package/lib/components/qrcode/qrcode.vue2.cjs +1 -1
- package/lib/components/radio/index.cjs +1 -1
- package/lib/components/radio/radio-button.vue2.cjs +1 -1
- package/lib/components/radio/radio-group.vue2.cjs +1 -1
- package/lib/components/radio/radio.vue2.cjs +1 -1
- package/lib/components/radio/use-radio.cjs +1 -1
- package/lib/components/result/index.cjs +1 -1
- package/lib/components/result/result.vue2.cjs +1 -1
- package/lib/components/router-view-content/index.cjs +1 -1
- package/lib/components/roving-focus-group/index.cjs +1 -1
- package/lib/components/roving-focus-group/roving-focus-group-impl.vue2.cjs +1 -1
- package/lib/components/roving-focus-group/roving-focus-item.vue2.cjs +1 -1
- package/lib/components/row/index.cjs +1 -1
- package/lib/components/row/row.vue2.cjs +1 -1
- package/lib/components/scrollbar/bar.vue2.cjs +1 -1
- package/lib/components/scrollbar/index.cjs +1 -1
- package/lib/components/scrollbar/scrollbar.vue2.cjs +1 -1
- package/lib/components/scrollbar/thumb.vue2.cjs +1 -1
- package/lib/components/search/index.cjs +1 -1
- package/lib/components/search/search.vue2.cjs +1 -1
- package/lib/components/select/defaults.cjs +1 -1
- package/lib/components/select/group-item.vue2.cjs +1 -1
- package/lib/components/select/option-item.vue2.cjs +1 -1
- package/lib/components/select/select-dropdown.cjs +1 -1
- package/lib/components/select/select.vue.cjs +1 -1
- package/lib/components/select/select.vue2.cjs +1 -1
- package/lib/components/select/useInput.cjs +1 -1
- package/lib/components/select/useSelect.cjs +1 -1
- package/lib/components/side-menu/index.cjs +1 -1
- package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
- package/lib/components/skeleton/index.cjs +1 -1
- package/lib/components/skeleton/skeleton-item.vue2.cjs +1 -1
- package/lib/components/skeleton/skeleton.vue2.cjs +1 -1
- package/lib/components/slider/button.vue2.cjs +1 -1
- package/lib/components/slider/composables/use-lifecycle.cjs +1 -1
- package/lib/components/slider/composables/use-slide.cjs +1 -1
- package/lib/components/slider/composables/use-slider-button.cjs +1 -1
- package/lib/components/slider/composables/use-stops.cjs +1 -1
- package/lib/components/slider/composables/use-watch.cjs +1 -1
- package/lib/components/slider/index.cjs +1 -1
- package/lib/components/slider/marker.cjs +1 -1
- package/lib/components/slider/slider.vue2.cjs +1 -1
- package/lib/components/slot/only-child.cjs +1 -1
- package/lib/components/space/index.cjs +1 -1
- package/lib/components/space/item.cjs +1 -1
- package/lib/components/space/space.cjs +1 -1
- package/lib/components/space/use-space.cjs +1 -1
- package/lib/components/super-form/component-map.cjs +1 -1
- package/lib/components/super-form/index.cjs +1 -1
- package/lib/components/super-form/super-form-action.vue2.cjs +1 -1
- package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
- package/lib/components/super-form/super-form.vue2.cjs +1 -1
- package/lib/components/super-form/use/helper.cjs +1 -1
- package/lib/components/super-form/use/use-form-events.cjs +1 -1
- package/lib/components/super-form/use/use-form-values.cjs +1 -1
- package/lib/components/super-form/use/use-form.cjs +1 -1
- package/lib/components/switch/index.cjs +1 -1
- package/lib/components/switch/switch.vue2.cjs +1 -1
- package/lib/components/table/field.cjs +1 -1
- package/lib/components/table/index.cjs +1 -1
- package/lib/components/table/table.vue2.cjs +1 -1
- package/lib/components/table/use/use-columns.cjs +1 -1
- package/lib/components/table/use/use-data-source.cjs +1 -1
- package/lib/components/table/use/use-pagination.cjs +1 -1
- package/lib/components/table/use/use-table.cjs +1 -1
- package/lib/components/tabs/index.cjs +1 -1
- package/lib/components/tabs/tab-bar.vue2.cjs +1 -1
- package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
- package/lib/components/tabs/tab-pane.vue2.cjs +1 -1
- package/lib/components/tabs/tabs.vue2.cjs +1 -1
- package/lib/components/tag/index.cjs +1 -1
- package/lib/components/tag/tag.vue2.cjs +1 -1
- package/lib/components/time-picker/common/picker.vue2.cjs +1 -1
- package/lib/components/time-picker/common/props.cjs +1 -1
- package/lib/components/time-picker/index.cjs +1 -1
- package/lib/components/time-picker/props/basic-time-spinner.cjs +1 -1
- package/lib/components/time-picker/props/panel-time-picker.cjs +1 -1
- package/lib/components/time-picker/props/panel-time-range.cjs +1 -1
- package/lib/components/time-picker/props/shared.cjs +1 -1
- package/lib/components/time-picker/time-picker-com/basic-time-spinner.vue2.cjs +1 -1
- package/lib/components/time-picker/time-picker-com/panel-time-pick.vue2.cjs +1 -1
- package/lib/components/time-picker/time-picker-com/panel-time-range.vue2.cjs +1 -1
- package/lib/components/time-picker/time-picker.cjs +1 -1
- package/lib/components/time-picker/utils.cjs +1 -1
- package/lib/components/time-select/time-select.cjs +1 -1
- package/lib/components/time-select/time-select.vue2.cjs +1 -1
- package/lib/components/tooltip/content.vue2.cjs +1 -1
- package/lib/components/tooltip/index.cjs +1 -1
- package/lib/components/tooltip/tooltip.vue2.cjs +1 -1
- package/lib/components/tooltip/trigger.vue2.cjs +1 -1
- package/lib/components/tooltip/utils.cjs +1 -1
- package/lib/components/tree/index.cjs +1 -1
- package/lib/components/tree/model/node.cjs +1 -1
- package/lib/components/tree/model/useDragNode.cjs +1 -1
- package/lib/components/tree/model/useKeydown.cjs +1 -1
- package/lib/components/tree/tree-node-content.vue2.cjs +1 -1
- package/lib/components/tree/tree-node.vue.cjs +1 -1
- package/lib/components/tree/tree-node.vue2.cjs +1 -1
- package/lib/components/tree/tree.vue2.cjs +1 -1
- package/lib/components/upload/ajax.cjs +1 -1
- package/lib/components/upload/index.cjs +1 -1
- package/lib/components/upload/upload-content.vue2.cjs +1 -1
- package/lib/components/upload/upload-dragger.vue2.cjs +1 -1
- package/lib/components/upload/upload-list.vue2.cjs +1 -1
- package/lib/components/upload/upload.vue2.cjs +1 -1
- package/lib/components/upload/use-handlers.cjs +1 -1
- package/lib/components/verify-code/index.cjs +1 -1
- package/lib/components/virtual-list/builders/build-grid.cjs +1 -1
- package/lib/components/virtual-list/builders/build-list.cjs +1 -1
- package/lib/components/virtual-list/components/dynamic-size-grid.cjs +1 -1
- package/lib/components/virtual-list/components/dynamic-size-list.cjs +1 -1
- package/lib/components/virtual-list/components/fixed-size-grid.cjs +1 -1
- package/lib/components/virtual-list/components/fixed-size-list.cjs +1 -1
- package/lib/components/virtual-list/components/scrollbar.cjs +1 -1
- package/lib/components/virtual-list/hooks/use-cache.cjs +1 -1
- package/lib/components/virtual-list/hooks/use-grid-wheel.cjs +1 -1
- package/lib/components/virtual-list/hooks/use-wheel.cjs +1 -1
- package/lib/components/virtual-list/index.cjs +1 -1
- package/lib/components/virtual-list/props.cjs +1 -1
- package/lib/defaults.cjs +1 -1
- package/lib/hooks/index.cjs +1 -1
- package/lib/hooks/use-attrs/index.cjs +1 -1
- package/lib/hooks/use-draggable/index.cjs +1 -1
- package/lib/hooks/use-id/index.cjs +1 -1
- package/lib/hooks/use-lockscreen/index.cjs +1 -1
- package/lib/hooks/use-ordered-children/index.cjs +1 -1
- package/lib/hooks/use-popper/index.cjs +1 -1
- package/lib/hooks/use-popper-container/index.cjs +1 -1
- package/lib/hooks/use-z-index/index.cjs +1 -1
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/utils/dom/scroll.cjs +1 -1
- package/lib/utils/index.cjs +1 -1
- package/lib/utils/ns-cover.cjs +1 -1
- package/lib/utils/vue/index.cjs +1 -1
- package/lib/utils/vue/props/runtime.cjs +1 -1
- package/lib/utils/vue/vnode.cjs +1 -1
- package/package.json +2 -2
- package/theme-style/index.css +1 -1
- package/theme-style/src/backtop.scss +4 -0
- package/theme-style/src/button.scss +4 -0
- package/theme-style/src/color-picker.scss +3 -0
- package/theme-style/src/common/icon.scss +65 -0
- package/theme-style/src/common/var.scss +4 -0
- package/theme-style/src/date-picker/date-picker.scss +14 -0
- package/theme-style/src/date-picker/time-picker.scss +4 -0
- package/theme-style/src/date-picker.scss +1 -0
- package/theme-style/src/date-time-select.scss +8 -1
- package/theme-style/src/dialog.scss +2 -0
- package/theme-style/src/drawer.scss +2 -0
- package/theme-style/src/dropdown.scss +2 -0
- package/theme-style/src/full-screen.scss +8 -1
- package/theme-style/src/icon-text.scss +4 -0
- package/theme-style/src/image-viewer.scss +19 -1
- package/theme-style/src/input-number.scss +9 -0
- package/theme-style/src/input.scss +22 -0
- package/theme-style/src/list-cell.scss +2 -0
- package/theme-style/src/md-container.scss +28 -0
- package/theme-style/src/menu.scss +11 -4
- package/theme-style/src/message.scss +10 -0
- package/theme-style/src/mixins/icon.scss +52 -0
- package/theme-style/src/mixins/mixins.scss +1 -0
- package/theme-style/src/multiple-tabs.scss +22 -0
- package/theme-style/src/pagination.scss +15 -0
- package/theme-style/src/popconfirm.scss +4 -0
- package/theme-style/src/progress.scss +16 -0
- package/theme-style/src/select.scss +3 -0
- package/theme-style/src/side-menu.scss +4 -0
- package/theme-style/src/skeleton-item.scss +5 -0
- package/theme-style/src/switch.scss +4 -0
- package/theme-style/src/tabs.scss +7 -0
- package/theme-style/src/tag.scss +2 -0
- package/theme-style/src/tree.scss +7 -0
- package/theme-style/src/upload.scss +25 -4
- package/theme-style/vft-backtop.css +1 -1
- package/theme-style/vft-button.css +1 -1
- package/theme-style/vft-color-picker.css +1 -1
- package/theme-style/vft-date-picker.css +1 -1
- package/theme-style/vft-date-time-select.css +1 -1
- package/theme-style/vft-dialog.css +1 -1
- package/theme-style/vft-drawer.css +1 -1
- package/theme-style/vft-dropdown.css +1 -1
- package/theme-style/vft-full-screen.css +1 -1
- package/theme-style/vft-icon-text.css +1 -1
- package/theme-style/vft-image-viewer.css +1 -1
- package/theme-style/vft-input-number.css +1 -1
- package/theme-style/vft-input.css +1 -1
- package/theme-style/vft-list-cell.css +1 -1
- package/theme-style/vft-md-container.css +1 -1
- package/theme-style/vft-menu.css +1 -1
- package/theme-style/vft-message.css +1 -1
- package/theme-style/vft-multiple-tabs.css +1 -1
- package/theme-style/vft-pagination.css +1 -1
- package/theme-style/vft-popconfirm.css +1 -1
- package/theme-style/vft-progress.css +1 -1
- package/theme-style/vft-select.css +1 -1
- package/theme-style/vft-side-menu.css +1 -1
- package/theme-style/vft-skeleton-item.css +1 -1
- package/theme-style/vft-switch.css +1 -1
- package/theme-style/vft-tabs.css +1 -1
- package/theme-style/vft-tag.css +1 -1
- package/theme-style/vft-time-picker.css +1 -1
- package/theme-style/vft-time-select.css +1 -1
- package/theme-style/vft-tree.css +1 -1
- package/theme-style/vft-upload.css +1 -1
- package/web-types.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as Y, useSlots as ge, inject as E, ref as g, computed as a, watch as L, reactive as he, toRefs as ye, provide as be, onMounted as Se, onBeforeUnmount as _e, openBlock as F, createElementBlock as Ie, normalizeClass as h, unref as c, createBlock as T, withCtx as M, resolveDynamicComponent as Ve, normalizeStyle as G, renderSlot as R, createTextVNode as qe, toDisplayString as K, createCommentVNode as U, createElementVNode as O, createVNode as we, TransitionGroup as Fe, nextTick as Me } from "vue";
|
|
2
|
-
import Re from "
|
|
3
|
-
import {
|
|
4
|
-
import { refDebounced as We } from "@vueuse/core";
|
|
5
|
-
import { addUnit as Q, isBoolean as ze, isString as Be, isFunction as $e } from "@vft/utils";
|
|
2
|
+
import { addUnit as H, isBoolean as Re, isString as We, isFunction as ze } from "@vft/utils";
|
|
3
|
+
import { refDebounced as Be } from "@vueuse/core";
|
|
6
4
|
import "../../utils/ns-cover.js";
|
|
7
5
|
import { getProp as W } from "../../utils/objects.js";
|
|
6
|
+
import { castArray as J, clone as Q } from "lodash";
|
|
7
|
+
import { useId as $e } from "../../hooks/use-id/index.js";
|
|
8
8
|
import { useNamespace as Ne } from "../../hooks/use-namespace/index.js";
|
|
9
9
|
import "@popperjs/core";
|
|
10
10
|
import "../../hooks/use-z-index/index.js";
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import De from "./form-
|
|
11
|
+
import Ae from "async-validator";
|
|
12
|
+
import { formContextKey as Pe, formItemContextKey as X } from "./constants.js";
|
|
13
|
+
import je from "./form-label-wrap.js";
|
|
14
|
+
import { useFormSize as De } from "./hooks/use-form-common-props.js";
|
|
15
15
|
const Ee = ["role", "aria-labelledby"], o = (
|
|
16
16
|
/* hoist-static*/
|
|
17
17
|
Ne("form-item")
|
|
@@ -34,19 +34,19 @@ const Ee = ["role", "aria-labelledby"], o = (
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["update:error"],
|
|
36
36
|
setup(Z, { expose: k, emit: C }) {
|
|
37
|
-
const s = Z, z = ge(), e = E(
|
|
37
|
+
const s = Z, z = ge(), e = E(Pe, void 0), x = E(X, void 0), y = De(void 0, { formItem: !1 }), b = $e().value, n = g([]), d = g(""), ee = Be(d, 100), p = g(""), B = g();
|
|
38
38
|
let $, m = !1;
|
|
39
39
|
const N = a(() => {
|
|
40
40
|
if ((e == null ? void 0 : e.labelPosition) === "top")
|
|
41
41
|
return {};
|
|
42
|
-
const r =
|
|
42
|
+
const r = H(s.labelWidth || (e == null ? void 0 : e.labelWidth) || "");
|
|
43
43
|
return r ? { width: r } : {};
|
|
44
44
|
}), re = a(() => {
|
|
45
45
|
if ((e == null ? void 0 : e.labelPosition) === "top" || e != null && e.inline)
|
|
46
46
|
return {};
|
|
47
47
|
if (!s.label && !s.labelWidth && ae)
|
|
48
48
|
return {};
|
|
49
|
-
const r =
|
|
49
|
+
const r = H(s.labelWidth || (e == null ? void 0 : e.labelWidth) || "");
|
|
50
50
|
return !s.label && !z.label ? { marginLeft: r } : {};
|
|
51
51
|
}), te = a(() => [
|
|
52
52
|
o.b(),
|
|
@@ -59,24 +59,24 @@ const Ee = ["role", "aria-labelledby"], o = (
|
|
|
59
59
|
(e == null ? void 0 : e.requireAsteriskPosition) === "right" ? "asterisk-right" : "asterisk-left",
|
|
60
60
|
{ [o.m("feedback")]: e == null ? void 0 : e.statusIcon }
|
|
61
61
|
]), se = a(
|
|
62
|
-
() =>
|
|
62
|
+
() => Re(s.inlineMessage) ? s.inlineMessage : (e == null ? void 0 : e.inlineMessage) || !1
|
|
63
63
|
), ie = a(() => [
|
|
64
64
|
o.e("error"),
|
|
65
65
|
{ [o.em("error", "inline")]: se.value }
|
|
66
|
-
]), le = a(() => s.prop ?
|
|
66
|
+
]), le = a(() => s.prop ? We(s.prop) ? s.prop : s.prop.join(".") : ""), S = a(() => !!(s.label || z.label)), _ = a(() => s.for || n.value.length === 1 ? n.value[0] : void 0), I = a(() => !_.value && S.value), ae = !!x, A = a(() => {
|
|
67
67
|
const r = e == null ? void 0 : e.model;
|
|
68
68
|
if (!(!r || !s.prop))
|
|
69
69
|
return W(r, s.prop).value;
|
|
70
70
|
}), V = a(() => {
|
|
71
71
|
const { required: r } = s, t = [];
|
|
72
|
-
s.rules && t.push(...
|
|
72
|
+
s.rules && t.push(...J(s.rules).map((i) => (i.trigger = i.trigger || "blur", i)));
|
|
73
73
|
const l = e == null ? void 0 : e.rules;
|
|
74
74
|
if (l && s.prop) {
|
|
75
75
|
const i = W(
|
|
76
76
|
l,
|
|
77
77
|
s.prop
|
|
78
78
|
).value;
|
|
79
|
-
i && t.push(...
|
|
79
|
+
i && t.push(...J(i));
|
|
80
80
|
}
|
|
81
81
|
if (r !== void 0) {
|
|
82
82
|
const i = t.map((u, f) => [u, f]).filter(([u]) => Object.keys(u).includes("required"));
|
|
@@ -103,13 +103,13 @@ const Ee = ["role", "aria-labelledby"], o = (
|
|
|
103
103
|
v("success"), e == null || e.emit("validate", s.prop, !0, "");
|
|
104
104
|
}, ve = async (r) => {
|
|
105
105
|
const t = le.value;
|
|
106
|
-
return new
|
|
106
|
+
return new Ae({
|
|
107
107
|
[t]: r
|
|
108
108
|
}).validate({ [t]: A.value }, { firstFields: !0 }).then(() => (ce(), !0)).catch((i) => (pe(i), Promise.reject(i)));
|
|
109
109
|
}, j = async (r, t) => {
|
|
110
110
|
if (m || !s.prop)
|
|
111
111
|
return !1;
|
|
112
|
-
const l =
|
|
112
|
+
const l = ze(t);
|
|
113
113
|
if (!oe.value)
|
|
114
114
|
return t == null || t(!1), !1;
|
|
115
115
|
const i = ue(r);
|
|
@@ -124,7 +124,7 @@ const Ee = ["role", "aria-labelledby"], o = (
|
|
|
124
124
|
if (!r || !s.prop)
|
|
125
125
|
return;
|
|
126
126
|
const t = W(r, s.prop);
|
|
127
|
-
m = !0, t.value =
|
|
127
|
+
m = !0, t.value = Q($), await Me(), q(), m = !1;
|
|
128
128
|
}, fe = (r) => {
|
|
129
129
|
n.value.includes(r) || n.value.push(r);
|
|
130
130
|
}, me = (r) => {
|
|
@@ -156,7 +156,7 @@ const Ee = ["role", "aria-labelledby"], o = (
|
|
|
156
156
|
validate: j
|
|
157
157
|
});
|
|
158
158
|
return be(X, w), Se(() => {
|
|
159
|
-
s.prop && (e == null || e.addField(w), $ =
|
|
159
|
+
s.prop && (e == null || e.addField(w), $ = Q(A.value));
|
|
160
160
|
}), _e(() => {
|
|
161
161
|
e == null || e.removeField(w);
|
|
162
162
|
}), k({
|
|
@@ -193,7 +193,7 @@ const Ee = ["role", "aria-labelledby"], o = (
|
|
|
193
193
|
role: I.value ? "group" : void 0,
|
|
194
194
|
"aria-labelledby": I.value ? c(b) : void 0
|
|
195
195
|
}, [
|
|
196
|
-
S.value ? (F(), T(c(
|
|
196
|
+
S.value ? (F(), T(c(je), {
|
|
197
197
|
key: 0,
|
|
198
198
|
"is-auto-width": N.value.width === "auto",
|
|
199
199
|
"update-all": ((l = c(e)) == null ? void 0 : l.labelWidth) === "auto"
|
|
@@ -2,8 +2,8 @@ import { defineComponent as N, inject as h, ref as s, onMounted as A, onBeforeUn
|
|
|
2
2
|
import { useResizeObserver as P } from "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import { throwError as C } from "../../utils/error.js";
|
|
5
|
-
import "lodash";
|
|
6
5
|
import "../../utils/ns-cover.js";
|
|
6
|
+
import "lodash";
|
|
7
7
|
import { useNamespace as K } from "../../hooks/use-namespace/index.js";
|
|
8
8
|
import "@popperjs/core";
|
|
9
9
|
import "../../hooks/use-z-index/index.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as v, computed as h, watch as x, getCurrentInstance as O, provide as j, reactive as q, openBlock as z, createElementBlock as S, normalizeClass as T, renderSlot as I } from "vue";
|
|
2
2
|
import { isFunction as M } from "@vft/utils";
|
|
3
|
-
import { debugWarn as a } from "../../utils/error.js";
|
|
4
|
-
import "lodash";
|
|
5
3
|
import "@vueuse/core";
|
|
4
|
+
import { debugWarn as a } from "../../utils/error.js";
|
|
6
5
|
import "../../utils/ns-cover.js";
|
|
6
|
+
import "lodash";
|
|
7
7
|
import { useNamespace as R } from "../../hooks/use-namespace/index.js";
|
|
8
8
|
import "@popperjs/core";
|
|
9
9
|
import "../../hooks/use-z-index/index.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import { formContextKey as W } from "./constants.js";
|
|
11
|
+
import { useFormSize as $ } from "./hooks/use-form-common-props.js";
|
|
12
12
|
import { useFormLabelWidth as A, filterFields as d } from "./utils.js";
|
|
13
13
|
const l = (
|
|
14
14
|
/* hoist-static*/
|
|
@@ -36,7 +36,7 @@ const l = (
|
|
|
36
36
|
},
|
|
37
37
|
emits: ["validate"],
|
|
38
38
|
setup(o, { expose: y, emit: F }) {
|
|
39
|
-
const i = [], g =
|
|
39
|
+
const i = [], g = $(), B = h(() => [
|
|
40
40
|
l.b(),
|
|
41
41
|
// todo: in v2.2.0, we can remove default
|
|
42
42
|
// in fact, remove it doesn't affect the final style
|
|
@@ -107,7 +107,7 @@ const l = (
|
|
|
107
107
|
);
|
|
108
108
|
const V = O();
|
|
109
109
|
return j(
|
|
110
|
-
|
|
110
|
+
W,
|
|
111
111
|
q({
|
|
112
112
|
...V.props,
|
|
113
113
|
emit: F,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ref as u, inject as r, computed as m, unref as p } from "vue";
|
|
2
|
-
import "../../config-provider/hooks/use-global-config.js";
|
|
3
|
-
import "@popperjs/core";
|
|
4
|
-
import "lodash";
|
|
5
|
-
import "../../../hooks/use-z-index/index.js";
|
|
6
1
|
import "@vueuse/core";
|
|
7
2
|
import "@vft/utils";
|
|
8
3
|
import "../../../utils/ns-cover.js";
|
|
4
|
+
import "lodash";
|
|
5
|
+
import { ref as u, inject as r, computed as m, unref as p } from "vue";
|
|
6
|
+
import "../../config-provider/hooks/use-global-config.js";
|
|
7
|
+
import "@popperjs/core";
|
|
9
8
|
import { useProp as d } from "../../../hooks/use-prop/index.js";
|
|
10
9
|
import { useGlobalSize as a } from "../../../hooks/use-size/index.js";
|
|
10
|
+
import "../../../hooks/use-z-index/index.js";
|
|
11
11
|
import { formContextKey as l, formItemContextKey as f } from "../constants.js";
|
|
12
12
|
const v = (t, o = {}) => {
|
|
13
13
|
const e = u(void 0), n = o.prop ? e : d("size"), c = o.global ? e : a(), i = o.form ? { size: void 0 } : r(l, void 0), s = o.formItem ? { size: void 0 } : r(f, void 0);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import "@vueuse/core";
|
|
2
|
+
import "@vft/utils";
|
|
3
|
+
import "../../../utils/ns-cover.js";
|
|
4
|
+
import "lodash";
|
|
1
5
|
import { inject as h, ref as l, computed as y, onMounted as F, watch as f, toRef as K, onUnmounted as U } from "vue";
|
|
6
|
+
import { useId as j } from "../../../hooks/use-id/index.js";
|
|
2
7
|
import "../../config-provider/hooks/use-global-config.js";
|
|
3
8
|
import "@popperjs/core";
|
|
4
|
-
import "lodash";
|
|
5
9
|
import "../../../hooks/use-z-index/index.js";
|
|
6
|
-
import { useId as j } from "../../../hooks/use-id/index.js";
|
|
7
|
-
import "@vueuse/core";
|
|
8
|
-
import "@vft/utils";
|
|
9
|
-
import "../../../utils/ns-cover.js";
|
|
10
10
|
import { formContextKey as B, formItemContextKey as L } from "../constants.js";
|
|
11
11
|
const O = () => {
|
|
12
12
|
const v = h(B, void 0), u = h(L, void 0);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { withInstall as t, withNoopInstall as m } from "../../utils/vue/install.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "@vft/utils";
|
|
4
|
-
import "lodash";
|
|
5
1
|
import "@vueuse/core";
|
|
2
|
+
import "@vft/utils";
|
|
6
3
|
import "../../utils/ns-cover.js";
|
|
4
|
+
import "lodash";
|
|
5
|
+
import { withInstall as t, withNoopInstall as m } from "../../utils/vue/install.js";
|
|
6
|
+
import "vue";
|
|
7
7
|
import r from "./form.vue2.js";
|
|
8
8
|
import o from "./form-item.vue2.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
9
|
+
import { formContextKey as d, formItemContextKey as c } from "./constants.js";
|
|
10
|
+
import { useDisabled as S, useFormDisabled as V, useFormSize as b, useSize as h } from "./hooks/use-form-common-props.js";
|
|
11
|
+
import { useFormItem as y, useFormItemInputId as z } from "./hooks/use-form-item.js";
|
|
12
|
+
import { formItemValidateStates as D } from "./types.js";
|
|
13
13
|
const l = t(r, {
|
|
14
14
|
FormItem: o
|
|
15
15
|
}), u = m(o);
|
|
@@ -17,13 +17,13 @@ export {
|
|
|
17
17
|
l as VftForm,
|
|
18
18
|
u as VftFormItem,
|
|
19
19
|
l as default,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
20
|
+
d as formContextKey,
|
|
21
|
+
c as formItemContextKey,
|
|
22
|
+
D as formItemValidateStates,
|
|
23
|
+
S as useDisabled,
|
|
24
|
+
V as useFormDisabled,
|
|
25
|
+
y as useFormItem,
|
|
26
|
+
z as useFormItemInputId,
|
|
27
|
+
b as useFormSize,
|
|
28
|
+
h as useSize
|
|
29
29
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ref as a, computed as p } from "vue";
|
|
2
|
-
import "@vft/utils";
|
|
3
|
-
import { debugWarn as s } from "../../utils/error.js";
|
|
4
|
-
import { castArray as l } from "lodash";
|
|
5
1
|
import "@vueuse/core";
|
|
2
|
+
import "@vft/utils";
|
|
3
|
+
import { debugWarn as a } from "../../utils/error.js";
|
|
6
4
|
import "../../utils/ns-cover.js";
|
|
5
|
+
import { castArray as p } from "lodash";
|
|
6
|
+
import { ref as s, computed as l } from "vue";
|
|
7
7
|
const f = "vft-form";
|
|
8
8
|
function g() {
|
|
9
|
-
const t =
|
|
9
|
+
const t = s([]), i = l(() => {
|
|
10
10
|
if (!t.value.length)
|
|
11
11
|
return "0";
|
|
12
12
|
const e = Math.max(...t.value);
|
|
@@ -14,7 +14,7 @@ function g() {
|
|
|
14
14
|
});
|
|
15
15
|
function n(e) {
|
|
16
16
|
const r = t.value.indexOf(e);
|
|
17
|
-
return r === -1 && i.value === "0" &&
|
|
17
|
+
return r === -1 && i.value === "0" && a(f, `unexpected width ${e}`), r;
|
|
18
18
|
}
|
|
19
19
|
function o(e, r) {
|
|
20
20
|
if (e && r) {
|
|
@@ -34,7 +34,7 @@ function g() {
|
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
const L = (t, i) => {
|
|
37
|
-
const n =
|
|
37
|
+
const n = p(i);
|
|
38
38
|
return n.length > 0 ? t.filter((o) => o.prop && n.includes(o.prop)) : t;
|
|
39
39
|
};
|
|
40
40
|
export {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as r, openBlock as
|
|
1
|
+
import { defineComponent as r, openBlock as i, createBlock as s, unref as o, mergeProps as p } from "vue";
|
|
2
2
|
import { useFullscreen as m } from "@vft/use";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import "@
|
|
3
|
+
import { delObjAttrNotExist as a } from "@vft/utils";
|
|
4
|
+
import { VftIconText as u } from "../icon-text/index.js";
|
|
5
|
+
import "@vueuse/core";
|
|
6
|
+
import { primaryColor as f } from "../../utils/ns-cover.js";
|
|
6
7
|
import "lodash";
|
|
8
|
+
import { useNamespace as _ } from "../../hooks/use-namespace/index.js";
|
|
9
|
+
import "@popperjs/core";
|
|
7
10
|
import "../../hooks/use-z-index/index.js";
|
|
8
|
-
|
|
9
|
-
import { delObjAttrNotExist as f } from "@vft/utils";
|
|
10
|
-
import { primaryColor as d } from "../../utils/ns-cover.js";
|
|
11
|
-
const x = (
|
|
11
|
+
const d = (
|
|
12
12
|
/* hoist-static*/
|
|
13
|
-
|
|
14
|
-
),
|
|
13
|
+
_("full-screen")
|
|
14
|
+
), x = r({
|
|
15
15
|
name: "vft-full-screen"
|
|
16
16
|
}), z = /* @__PURE__ */ r({
|
|
17
|
-
...
|
|
17
|
+
...x,
|
|
18
18
|
props: {
|
|
19
19
|
text: {},
|
|
20
20
|
icon: {},
|
|
@@ -28,15 +28,15 @@ const x = (
|
|
|
28
28
|
adjustOrigin: { type: Boolean }
|
|
29
29
|
},
|
|
30
30
|
setup(t) {
|
|
31
|
-
const n = t, { toggle: c, isFullscreen: e } = m(),
|
|
32
|
-
return (v, C) => (
|
|
33
|
-
class: o(
|
|
31
|
+
const n = t, { toggle: c, isFullscreen: e } = m(), l = f().value;
|
|
32
|
+
return (v, C) => (i(), s(o(u), p({
|
|
33
|
+
class: o(d).b(),
|
|
34
34
|
distance: 2,
|
|
35
|
-
"hover-color": o(
|
|
35
|
+
"hover-color": o(l),
|
|
36
36
|
onClick: o(c),
|
|
37
|
-
icon: o(e) ? "
|
|
37
|
+
icon: o(e) ? "icon-exit-full-screen" : "icon-full-screen",
|
|
38
38
|
text: o(e) ? "退出全屏" : "全屏"
|
|
39
|
-
}, o(
|
|
39
|
+
}, o(a)(n, !0, !0), { pointer: "" }), null, 16, ["class", "hover-color", "onClick", "icon", "text"]));
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { withInstall as t } from "../../utils/vue/install.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "@vft/utils";
|
|
4
|
-
import "lodash";
|
|
5
1
|
import "@vueuse/core";
|
|
2
|
+
import "@vft/utils";
|
|
6
3
|
import "../../utils/ns-cover.js";
|
|
4
|
+
import "lodash";
|
|
5
|
+
import { withInstall as t } from "../../utils/vue/install.js";
|
|
6
|
+
import "vue";
|
|
7
7
|
import o from "./full-screen.vue2.js";
|
|
8
8
|
const e = t(o);
|
|
9
9
|
export {
|
|
@@ -1,94 +1,94 @@
|
|
|
1
1
|
import { defineComponent as f, openBlock as r, createBlock as p, unref as t, normalizeClass as e, withCtx as i, createVNode as a, createElementVNode as c, createElementBlock as n, normalizeProps as d, mergeProps as u, createCommentVNode as m, renderSlot as s } from "vue";
|
|
2
|
-
import
|
|
3
|
-
import "@popperjs/core";
|
|
4
|
-
import "lodash";
|
|
5
|
-
import "../../hooks/use-z-index/index.js";
|
|
6
|
-
import "@vueuse/core";
|
|
7
|
-
import "@vft/utils";
|
|
8
|
-
import "../../utils/ns-cover.js";
|
|
9
|
-
import { VftLogo as _ } from "../logo/index.js";
|
|
10
|
-
import "../divider/index.js";
|
|
11
|
-
import "../icon/index.js";
|
|
2
|
+
import "../alert/index.js";
|
|
12
3
|
import "../avatar/index.js";
|
|
13
|
-
import "../empty/index.js";
|
|
14
|
-
import "../result/index.js";
|
|
15
|
-
import "../tabs/index.js";
|
|
16
|
-
import "../popper/index.js";
|
|
17
|
-
import "../collapse-transition/index.js";
|
|
18
|
-
import "../tooltip/index.js";
|
|
19
|
-
import "../popover/index.js";
|
|
20
|
-
import "../menu/index.js";
|
|
21
|
-
import "../context-menu/context-menu.vue2.js";
|
|
22
|
-
import "../multiple-tabs/index.js";
|
|
23
|
-
import "./index.js";
|
|
24
|
-
import "../footer-layout/index.js";
|
|
25
|
-
import "../iframe-layout/index.js";
|
|
26
|
-
import "../router-view-content/index.js";
|
|
27
4
|
import "../backtop/index.js";
|
|
28
|
-
import
|
|
5
|
+
import "../button/index.js";
|
|
6
|
+
import "../card/index.js";
|
|
7
|
+
import "../check-tag/index.js";
|
|
8
|
+
import "../checkbox/index.js";
|
|
9
|
+
import "../clamp/index.js";
|
|
10
|
+
import "../clamp-toggle/index.js";
|
|
11
|
+
import "../col/index.js";
|
|
12
|
+
import "../collapse-transition/index.js";
|
|
13
|
+
import "../color-picker/index.js";
|
|
29
14
|
import "../config-provider/index.js";
|
|
15
|
+
import { VftHeader as g, VftContainer as _, VftMain as h, VftFooter as C } from "../container/index.js";
|
|
16
|
+
import "@vft/utils";
|
|
17
|
+
import "../context-menu/context-menu.vue2.js";
|
|
18
|
+
import "../date-picker/index.js";
|
|
19
|
+
import "../date-time-select/index.js";
|
|
30
20
|
import "../descriptions/index.js";
|
|
21
|
+
import "../dialog/index.js";
|
|
22
|
+
import "../divider/index.js";
|
|
23
|
+
import "../drawer/index.js";
|
|
24
|
+
import "../dropdown/index.js";
|
|
25
|
+
import "../empty/index.js";
|
|
26
|
+
import "../exception/index.js";
|
|
27
|
+
import "../footer-layout/index.js";
|
|
28
|
+
import "../form/index.js";
|
|
31
29
|
import "../full-screen/index.js";
|
|
30
|
+
import "./index.js";
|
|
31
|
+
import "../horizontal-menu/index.js";
|
|
32
|
+
import "../icon/index.js";
|
|
32
33
|
import "../icon-text/index.js";
|
|
34
|
+
import "../iframe-layout/index.js";
|
|
33
35
|
import "../image/index.js";
|
|
36
|
+
import "../image-viewer/index.js";
|
|
34
37
|
import "../input/index.js";
|
|
38
|
+
import "../input-number/index.js";
|
|
35
39
|
import "../link/index.js";
|
|
36
|
-
import "../
|
|
37
|
-
import "../
|
|
38
|
-
import "../
|
|
39
|
-
import "../
|
|
40
|
+
import "../list-cell/index.js";
|
|
41
|
+
import { VftLogo as V } from "../logo/index.js";
|
|
42
|
+
import "../menu/index.js";
|
|
43
|
+
import "../multiple-tabs/index.js";
|
|
40
44
|
import "../overlay/index.js";
|
|
41
|
-
import "../clamp/index.js";
|
|
42
|
-
import "../clamp-toggle/index.js";
|
|
43
45
|
import "../page-wrapper/index.js";
|
|
44
|
-
import "../
|
|
45
|
-
import "../
|
|
46
|
-
import "../
|
|
47
|
-
import "../
|
|
48
|
-
import "../
|
|
46
|
+
import "../pagination/index.js";
|
|
47
|
+
import "../popconfirm/index.js";
|
|
48
|
+
import "../popover/index.js";
|
|
49
|
+
import "../popper/index.js";
|
|
50
|
+
import "../qrcode/index.js";
|
|
49
51
|
import "../radio/index.js";
|
|
50
|
-
import "../
|
|
51
|
-
import "../
|
|
52
|
+
import "../result/index.js";
|
|
53
|
+
import "../router-view-content/index.js";
|
|
54
|
+
import "../row/index.js";
|
|
52
55
|
import "../scrollbar/index.js";
|
|
53
|
-
import "../
|
|
54
|
-
import "../virtual-list/components/fixed-size-list.js";
|
|
55
|
-
import "../virtual-list/components/dynamic-size-list.js";
|
|
56
|
-
import "../virtual-list/components/fixed-size-grid.js";
|
|
57
|
-
import "../virtual-list/components/dynamic-size-grid.js";
|
|
58
|
-
import "../virtual-list/props.js";
|
|
56
|
+
import "../search/index.js";
|
|
59
57
|
import "../select/index.js";
|
|
60
|
-
import "../
|
|
58
|
+
import "../side-menu/index.js";
|
|
59
|
+
import "../skeleton/index.js";
|
|
60
|
+
import "../slider/index.js";
|
|
61
|
+
import "../space/index.js";
|
|
62
|
+
import "../switch/index.js";
|
|
61
63
|
import "../table/index.js";
|
|
62
|
-
import "../
|
|
63
|
-
import "../
|
|
64
|
-
import "../dialog/index.js";
|
|
65
|
-
import "../date-time-select/index.js";
|
|
66
|
-
import "../col/index.js";
|
|
67
|
-
import "../row/index.js";
|
|
68
|
-
import "../horizontal-menu/index.js";
|
|
64
|
+
import "../tabs/index.js";
|
|
65
|
+
import "../tag/index.js";
|
|
69
66
|
import "../time-picker/index.js";
|
|
70
|
-
import "../
|
|
71
|
-
import "../check-tag/index.js";
|
|
67
|
+
import "../tooltip/index.js";
|
|
72
68
|
import "../tree/index.js";
|
|
73
|
-
import "../
|
|
74
|
-
import "../
|
|
75
|
-
import "../
|
|
76
|
-
import "../
|
|
77
|
-
import "../
|
|
78
|
-
import "../
|
|
79
|
-
import "../input-number/index.js";
|
|
80
|
-
import "../slider/index.js";
|
|
69
|
+
import "../verify-code/index.js";
|
|
70
|
+
import "../virtual-list/components/dynamic-size-grid.js";
|
|
71
|
+
import "../virtual-list/components/dynamic-size-list.js";
|
|
72
|
+
import "../virtual-list/components/fixed-size-grid.js";
|
|
73
|
+
import "../virtual-list/components/fixed-size-list.js";
|
|
74
|
+
import "../virtual-list/props.js";
|
|
81
75
|
import "../autocomplete/index.js";
|
|
82
|
-
import "../
|
|
76
|
+
import "../modal/index.js";
|
|
83
77
|
import "../progress/index.js";
|
|
78
|
+
import "../super-form/index.js";
|
|
84
79
|
import "../upload/index.js";
|
|
85
|
-
import "../
|
|
86
|
-
import "../md-
|
|
80
|
+
import "../md-code-demo/index.js";
|
|
81
|
+
import "../md-code-tabs/index.js";
|
|
87
82
|
import "../md-comment/index.js";
|
|
83
|
+
import "../md-container/index.js";
|
|
88
84
|
import "../md-tabs/index.js";
|
|
89
85
|
import "../md-vue-playground/index.js";
|
|
90
|
-
import "
|
|
91
|
-
import "
|
|
86
|
+
import "@vueuse/core";
|
|
87
|
+
import "../../utils/ns-cover.js";
|
|
88
|
+
import "lodash";
|
|
89
|
+
import { useNamespace as k } from "../../hooks/use-namespace/index.js";
|
|
90
|
+
import "@popperjs/core";
|
|
91
|
+
import "../../hooks/use-z-index/index.js";
|
|
92
92
|
import "../message/index.js";
|
|
93
93
|
const y = { class: "content" }, $ = {
|
|
94
94
|
key: 0,
|
|
@@ -98,7 +98,7 @@ const y = { class: "content" }, $ = {
|
|
|
98
98
|
class: "right"
|
|
99
99
|
}, l = (
|
|
100
100
|
/* hoist-static*/
|
|
101
|
-
|
|
101
|
+
k("header-layout")
|
|
102
102
|
), N = f({
|
|
103
103
|
name: "vft-header-layout"
|
|
104
104
|
}), ct = /* @__PURE__ */ f({
|
|
@@ -107,19 +107,19 @@ const y = { class: "content" }, $ = {
|
|
|
107
107
|
logoCfg: {}
|
|
108
108
|
},
|
|
109
109
|
setup(b) {
|
|
110
|
-
return (o, B) => (r(), p(t(
|
|
110
|
+
return (o, B) => (r(), p(t(g), {
|
|
111
111
|
class: e(t(l).b())
|
|
112
112
|
}, {
|
|
113
113
|
default: i(() => [
|
|
114
|
-
a(t(
|
|
114
|
+
a(t(_), null, {
|
|
115
115
|
default: i(() => [
|
|
116
|
-
a(t(
|
|
116
|
+
a(t(h), {
|
|
117
117
|
class: e(t(l).e("top-container"))
|
|
118
118
|
}, {
|
|
119
119
|
default: i(() => [
|
|
120
120
|
c("div", y, [
|
|
121
121
|
o.logoCfg || o.$slots.left ? (r(), n("div", $, [
|
|
122
|
-
o.logoCfg ? (r(), p(t(
|
|
122
|
+
o.logoCfg ? (r(), p(t(V), d(u({ key: 0 }, o.logoCfg)), null, 16)) : m("", !0),
|
|
123
123
|
s(o.$slots, "left")
|
|
124
124
|
])) : m("", !0),
|
|
125
125
|
o.$slots.right ? (r(), n("div", v, [
|
|
@@ -129,7 +129,7 @@ const y = { class: "content" }, $ = {
|
|
|
129
129
|
]),
|
|
130
130
|
_: 3
|
|
131
131
|
}, 8, ["class"]),
|
|
132
|
-
o.$slots.bottom ? (r(), p(t(
|
|
132
|
+
o.$slots.bottom ? (r(), p(t(C), {
|
|
133
133
|
key: 0,
|
|
134
134
|
class: e(t(l).e("footer"))
|
|
135
135
|
}, {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { withInstall as t } from "../../utils/vue/install.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "@vft/utils";
|
|
4
|
-
import "lodash";
|
|
5
1
|
import "@vueuse/core";
|
|
2
|
+
import "@vft/utils";
|
|
6
3
|
import "../../utils/ns-cover.js";
|
|
4
|
+
import "lodash";
|
|
5
|
+
import { withInstall as t } from "../../utils/vue/install.js";
|
|
6
|
+
import "vue";
|
|
7
7
|
import o from "./header-layout.vue2.js";
|
|
8
8
|
const s = t(o);
|
|
9
9
|
export {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as z, computed as O, getCurrentInstance as Q, useSlots as W, ref as X, createVNode as b, mergeProps as J } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
5
|
-
import "lodash";
|
|
6
|
-
import "../../hooks/use-z-index/index.js";
|
|
2
|
+
import { useRouterHelper as Y } from "@vft/router";
|
|
3
|
+
import { isUrl as Z } from "@vft/utils";
|
|
4
|
+
import { VftMenu as m, VftSubMenu as _, VftMenuItem as ee } from "../menu/index.js";
|
|
7
5
|
import "@vueuse/core";
|
|
8
|
-
import { isUrl as ee } from "@vft/utils";
|
|
9
6
|
import "../../utils/ns-cover.js";
|
|
10
|
-
import
|
|
7
|
+
import "lodash";
|
|
8
|
+
import { useNamespace as ne } from "../../hooks/use-namespace/index.js";
|
|
9
|
+
import "@popperjs/core";
|
|
10
|
+
import "../../hooks/use-z-index/index.js";
|
|
11
11
|
import { MenuTypeEnum as oe } from "./constants.js";
|
|
12
12
|
const C = (
|
|
13
13
|
/* hoist-static*/
|
|
14
|
-
|
|
14
|
+
ne("horizontal-menu")
|
|
15
15
|
), te = z({
|
|
16
16
|
name: "vft-horizontal-menu"
|
|
17
17
|
}), ve = /* @__PURE__ */ z({
|
|
@@ -61,7 +61,7 @@ const C = (
|
|
|
61
61
|
...t.attrMapping
|
|
62
62
|
})), P = Q(), p = W(), R = X(), S = P.appContext.config.globalProperties.$router, w = (e, u, a) => {
|
|
63
63
|
const c = e[o.value.path], r = e[o.value.title], n = e == null ? void 0 : e[o.value.index], f = e == null ? void 0 : e[o.value.icon], h = !!(e != null && e[o.value.disabled]), d = t.disabledJudgeTurnOver ? !h : h, x = n || c || u + r;
|
|
64
|
-
return b(
|
|
64
|
+
return b(ee, J(e, {
|
|
65
65
|
key: x,
|
|
66
66
|
index: String(x),
|
|
67
67
|
icon: f,
|
|
@@ -102,7 +102,7 @@ const C = (
|
|
|
102
102
|
} else
|
|
103
103
|
for (let l = 0; l < n.length; l++)
|
|
104
104
|
i.push([l]);
|
|
105
|
-
return n != null && n.length || e != null && e.render ? b(
|
|
105
|
+
return n != null && n.length || e != null && e.render ? b(_, J(t.subMenuCfg, e, {
|
|
106
106
|
index: String(I),
|
|
107
107
|
key: I,
|
|
108
108
|
icon: h,
|
|
@@ -142,9 +142,9 @@ const C = (
|
|
|
142
142
|
if (t.useRouterJump) {
|
|
143
143
|
const {
|
|
144
144
|
go: r
|
|
145
|
-
} =
|
|
145
|
+
} = Y(S), n = e.route;
|
|
146
146
|
let f = e.route;
|
|
147
|
-
e.indexPath.some((d) =>
|
|
147
|
+
e.indexPath.some((d) => Z(d)) && (f = e.indexPath.slice(-2).join("/"));
|
|
148
148
|
const h = (c = (a = (u = S.getRoutes().filter((d) => d.path === f)) == null ? void 0 : u[0]) == null ? void 0 : a.meta) == null ? void 0 : c.linkTarget;
|
|
149
149
|
r(h ? {
|
|
150
150
|
url: n,
|
|
@@ -161,7 +161,7 @@ const C = (
|
|
|
161
161
|
});
|
|
162
162
|
return B({
|
|
163
163
|
isInSubMenu: H
|
|
164
|
-
}), () => b(
|
|
164
|
+
}), () => b(m, {
|
|
165
165
|
ref: R,
|
|
166
166
|
onSelect: j,
|
|
167
167
|
onOpen: E,
|