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,96 +1,96 @@
|
|
|
1
1
|
import { defineComponent as k, computed as p, openBlock as e, createBlock as n, unref as t, normalizeProps as y, guardReactiveProps as g, withCtx as i, createVNode as v, normalizeClass as h, mergeProps as a, createTextVNode as u, toDisplayString as c, createCommentVNode as l, renderSlot as f } 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 { useFormContext as T } from "./use/use-form-context.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 "../header-layout/index.js";
|
|
24
|
-
import "../footer-layout/index.js";
|
|
25
|
-
import "../iframe-layout/index.js";
|
|
26
|
-
import "../router-view-content/index.js";
|
|
27
|
-
import "../logo/index.js";
|
|
28
4
|
import "../backtop/index.js";
|
|
29
|
-
import "../
|
|
5
|
+
import { VftButton as B } from "../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";
|
|
30
14
|
import "../config-provider/index.js";
|
|
15
|
+
import "../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";
|
|
31
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 { VftFormItem as R } from "../form/index.js";
|
|
32
29
|
import "../full-screen/index.js";
|
|
30
|
+
import "../header-layout/index.js";
|
|
31
|
+
import "../horizontal-menu/index.js";
|
|
32
|
+
import "../icon/index.js";
|
|
33
33
|
import "../icon-text/index.js";
|
|
34
|
+
import "../iframe-layout/index.js";
|
|
34
35
|
import "../image/index.js";
|
|
36
|
+
import "../image-viewer/index.js";
|
|
35
37
|
import "../input/index.js";
|
|
38
|
+
import "../input-number/index.js";
|
|
36
39
|
import "../link/index.js";
|
|
37
|
-
import "../
|
|
38
|
-
import "../
|
|
39
|
-
import "../
|
|
40
|
-
import "../
|
|
40
|
+
import "../list-cell/index.js";
|
|
41
|
+
import "../logo/index.js";
|
|
42
|
+
import "../menu/index.js";
|
|
43
|
+
import "../multiple-tabs/index.js";
|
|
41
44
|
import "../overlay/index.js";
|
|
42
|
-
import "../clamp/index.js";
|
|
43
|
-
import "../clamp-toggle/index.js";
|
|
44
45
|
import "../page-wrapper/index.js";
|
|
45
|
-
import "../
|
|
46
|
-
import "../
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
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";
|
|
50
51
|
import "../radio/index.js";
|
|
51
|
-
import "../
|
|
52
|
-
import "../
|
|
52
|
+
import "../result/index.js";
|
|
53
|
+
import "../router-view-content/index.js";
|
|
54
|
+
import { VftRow as T } from "../row/index.js";
|
|
53
55
|
import "../scrollbar/index.js";
|
|
54
|
-
import "../
|
|
55
|
-
import "../virtual-list/components/fixed-size-list.js";
|
|
56
|
-
import "../virtual-list/components/dynamic-size-list.js";
|
|
57
|
-
import "../virtual-list/components/fixed-size-grid.js";
|
|
58
|
-
import "../virtual-list/components/dynamic-size-grid.js";
|
|
59
|
-
import "../virtual-list/props.js";
|
|
56
|
+
import "../search/index.js";
|
|
60
57
|
import "../select/index.js";
|
|
61
|
-
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";
|
|
62
63
|
import "../table/index.js";
|
|
63
|
-
import "../
|
|
64
|
-
import "../
|
|
65
|
-
import "../dialog/index.js";
|
|
66
|
-
import "../date-time-select/index.js";
|
|
67
|
-
import "../col/index.js";
|
|
68
|
-
import { VftRow as x } from "../row/index.js";
|
|
69
|
-
import "../horizontal-menu/index.js";
|
|
64
|
+
import "../tabs/index.js";
|
|
65
|
+
import "../tag/index.js";
|
|
70
66
|
import "../time-picker/index.js";
|
|
71
|
-
import "../
|
|
72
|
-
import "../check-tag/index.js";
|
|
67
|
+
import "../tooltip/index.js";
|
|
73
68
|
import "../tree/index.js";
|
|
74
|
-
import "../
|
|
75
|
-
import "../
|
|
76
|
-
import "../
|
|
77
|
-
import "../
|
|
78
|
-
import "../
|
|
79
|
-
import "../
|
|
80
|
-
import "../input-number/index.js";
|
|
81
|
-
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";
|
|
82
75
|
import "../autocomplete/index.js";
|
|
83
|
-
import "
|
|
76
|
+
import "../modal/index.js";
|
|
84
77
|
import "../progress/index.js";
|
|
78
|
+
import "./index.js";
|
|
85
79
|
import "../upload/index.js";
|
|
86
|
-
import "../
|
|
87
|
-
import "../md-
|
|
80
|
+
import "../md-code-demo/index.js";
|
|
81
|
+
import "../md-code-tabs/index.js";
|
|
88
82
|
import "../md-comment/index.js";
|
|
83
|
+
import "../md-container/index.js";
|
|
89
84
|
import "../md-tabs/index.js";
|
|
90
85
|
import "../md-vue-playground/index.js";
|
|
91
|
-
import "
|
|
92
|
-
import "
|
|
86
|
+
import "@vueuse/core";
|
|
87
|
+
import "../../utils/ns-cover.js";
|
|
88
|
+
import "lodash";
|
|
89
|
+
import { useNamespace as V } from "../../hooks/use-namespace/index.js";
|
|
90
|
+
import "@popperjs/core";
|
|
91
|
+
import "../../hooks/use-z-index/index.js";
|
|
93
92
|
import "../message/index.js";
|
|
93
|
+
import { useFormContext as x } from "./use/use-form-context.js";
|
|
94
94
|
const bo = /* @__PURE__ */ k({
|
|
95
95
|
__name: "super-form-action",
|
|
96
96
|
props: {
|
|
@@ -103,16 +103,16 @@ const bo = /* @__PURE__ */ k({
|
|
|
103
103
|
actionRowOptions: {}
|
|
104
104
|
},
|
|
105
105
|
setup(r) {
|
|
106
|
-
const m =
|
|
106
|
+
const m = V("form-action"), {
|
|
107
107
|
resetAction: d,
|
|
108
108
|
submitAction: w
|
|
109
|
-
} =
|
|
109
|
+
} = x(), C = p(() => ({
|
|
110
110
|
justify: "end",
|
|
111
111
|
...r.actionRowOptions
|
|
112
112
|
})), b = p(() => Object.assign({ btnText: "重置" }, r.resetButtonOptions)), s = p(() => Object.assign({ btnText: "确认" }, r.submitButtonOptions)), O = p(() => Object.assign({ btnText: "取消" }, r.commonButtonOptions));
|
|
113
|
-
return (o, S) => (e(), n(t(
|
|
113
|
+
return (o, S) => (e(), n(t(T), y(g(C.value)), {
|
|
114
114
|
default: i(() => [
|
|
115
|
-
v(t(
|
|
115
|
+
v(t(R), {
|
|
116
116
|
class: h([{ "submit-block": s.value.block }, t(m).b()])
|
|
117
117
|
}, {
|
|
118
118
|
default: i(() => [
|
|
@@ -1,95 +1,95 @@
|
|
|
1
1
|
import { defineComponent as H, computed as j, unref as u, useSlots as z, createVNode as h, mergeProps as L, withDirectives as X, vShow as Y, isVNode as Q, createTextVNode as Z } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import "../
|
|
2
|
+
import { isFunction as P, isBoolean as w, cloneDeep as _, isNull as ee, upperFirst as te } from "@vft/utils";
|
|
3
|
+
import "../alert/index.js";
|
|
4
4
|
import "../avatar/index.js";
|
|
5
|
-
import "../empty/index.js";
|
|
6
|
-
import "../result/index.js";
|
|
7
|
-
import "../tabs/index.js";
|
|
8
|
-
import "../popper/index.js";
|
|
9
|
-
import "../collapse-transition/index.js";
|
|
10
|
-
import "../tooltip/index.js";
|
|
11
|
-
import "../popover/index.js";
|
|
12
|
-
import "../menu/index.js";
|
|
13
|
-
import { isFunction as P, isBoolean as w, cloneDeep as ee, isNull as te, upperFirst as oe } from "@vft/utils";
|
|
14
|
-
import "../context-menu/context-menu.vue2.js";
|
|
15
|
-
import "../multiple-tabs/index.js";
|
|
16
|
-
import "../header-layout/index.js";
|
|
17
|
-
import "../footer-layout/index.js";
|
|
18
|
-
import "../iframe-layout/index.js";
|
|
19
|
-
import "../router-view-content/index.js";
|
|
20
|
-
import "../logo/index.js";
|
|
21
5
|
import "../backtop/index.js";
|
|
22
|
-
import "../
|
|
6
|
+
import "../button/index.js";
|
|
7
|
+
import "../card/index.js";
|
|
8
|
+
import "../check-tag/index.js";
|
|
9
|
+
import "../checkbox/index.js";
|
|
10
|
+
import "../clamp/index.js";
|
|
11
|
+
import "../clamp-toggle/index.js";
|
|
12
|
+
import { VftCol as B } from "../col/index.js";
|
|
13
|
+
import "../collapse-transition/index.js";
|
|
14
|
+
import "../color-picker/index.js";
|
|
23
15
|
import "../config-provider/index.js";
|
|
16
|
+
import "../container/index.js";
|
|
17
|
+
import "../context-menu/context-menu.vue2.js";
|
|
18
|
+
import "../date-picker/index.js";
|
|
19
|
+
import "../date-time-select/index.js";
|
|
24
20
|
import "../descriptions/index.js";
|
|
21
|
+
import "../dialog/index.js";
|
|
22
|
+
import { VftDivider as oe } from "../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 { VftFormItem as re } from "../form/index.js";
|
|
25
29
|
import "../full-screen/index.js";
|
|
30
|
+
import "../header-layout/index.js";
|
|
31
|
+
import "../horizontal-menu/index.js";
|
|
32
|
+
import "../icon/index.js";
|
|
26
33
|
import "../icon-text/index.js";
|
|
34
|
+
import "../iframe-layout/index.js";
|
|
27
35
|
import "../image/index.js";
|
|
36
|
+
import "../image-viewer/index.js";
|
|
28
37
|
import "../input/index.js";
|
|
38
|
+
import "../input-number/index.js";
|
|
29
39
|
import "../link/index.js";
|
|
30
|
-
import "../
|
|
31
|
-
import "../
|
|
32
|
-
import "../
|
|
33
|
-
import "../
|
|
40
|
+
import "../list-cell/index.js";
|
|
41
|
+
import "../logo/index.js";
|
|
42
|
+
import "../menu/index.js";
|
|
43
|
+
import "../multiple-tabs/index.js";
|
|
34
44
|
import "../overlay/index.js";
|
|
35
|
-
import "../clamp/index.js";
|
|
36
|
-
import "../clamp-toggle/index.js";
|
|
37
45
|
import "../page-wrapper/index.js";
|
|
38
|
-
import "../
|
|
39
|
-
import "../
|
|
40
|
-
import
|
|
41
|
-
import "../
|
|
42
|
-
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";
|
|
43
51
|
import "../radio/index.js";
|
|
44
|
-
import "../
|
|
45
|
-
import "../
|
|
52
|
+
import "../result/index.js";
|
|
53
|
+
import "../router-view-content/index.js";
|
|
54
|
+
import "../row/index.js";
|
|
46
55
|
import "../scrollbar/index.js";
|
|
47
|
-
import "../
|
|
48
|
-
import "../virtual-list/components/fixed-size-list.js";
|
|
49
|
-
import "../virtual-list/components/dynamic-size-list.js";
|
|
50
|
-
import "../virtual-list/components/fixed-size-grid.js";
|
|
51
|
-
import "../virtual-list/components/dynamic-size-grid.js";
|
|
52
|
-
import "../virtual-list/props.js";
|
|
56
|
+
import "../search/index.js";
|
|
53
57
|
import "../select/index.js";
|
|
54
|
-
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";
|
|
55
63
|
import "../table/index.js";
|
|
56
|
-
import "../
|
|
57
|
-
import "../
|
|
58
|
-
import "../dialog/index.js";
|
|
59
|
-
import "../date-time-select/index.js";
|
|
60
|
-
import { VftCol as B } from "../col/index.js";
|
|
61
|
-
import "../row/index.js";
|
|
62
|
-
import "../horizontal-menu/index.js";
|
|
64
|
+
import "../tabs/index.js";
|
|
65
|
+
import "../tag/index.js";
|
|
63
66
|
import "../time-picker/index.js";
|
|
64
|
-
import "../
|
|
65
|
-
import "../check-tag/index.js";
|
|
67
|
+
import "../tooltip/index.js";
|
|
66
68
|
import "../tree/index.js";
|
|
67
|
-
import "../
|
|
68
|
-
import "../
|
|
69
|
-
import "../
|
|
70
|
-
import "../
|
|
71
|
-
import "../
|
|
72
|
-
import "../
|
|
73
|
-
import "../input-number/index.js";
|
|
74
|
-
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";
|
|
75
75
|
import "../autocomplete/index.js";
|
|
76
|
-
import "
|
|
76
|
+
import "../modal/index.js";
|
|
77
77
|
import "../progress/index.js";
|
|
78
|
+
import "./index.js";
|
|
78
79
|
import "../upload/index.js";
|
|
79
|
-
import "../
|
|
80
|
-
import "../md-
|
|
80
|
+
import "../md-code-demo/index.js";
|
|
81
|
+
import "../md-code-tabs/index.js";
|
|
81
82
|
import "../md-comment/index.js";
|
|
83
|
+
import "../md-container/index.js";
|
|
82
84
|
import "../md-tabs/index.js";
|
|
83
85
|
import "../md-vue-playground/index.js";
|
|
84
|
-
import "
|
|
85
|
-
import "
|
|
86
|
-
import "
|
|
86
|
+
import "@vueuse/core";
|
|
87
|
+
import "../../utils/ns-cover.js";
|
|
88
|
+
import "lodash";
|
|
87
89
|
import { useNamespace as ie } from "../../hooks/use-namespace/index.js";
|
|
88
90
|
import "@popperjs/core";
|
|
89
|
-
import "lodash";
|
|
90
91
|
import "../../hooks/use-z-index/index.js";
|
|
91
|
-
import "
|
|
92
|
-
import "../../utils/ns-cover.js";
|
|
92
|
+
import "../message/index.js";
|
|
93
93
|
import { FormCompEnum as s, componentMap as F, isInput as ne, isDatePicker as se, isRangePicker as le } from "./component-map.js";
|
|
94
94
|
import { createPlaceholderMessage as U } from "./use/helper.js";
|
|
95
95
|
function V(o) {
|
|
@@ -208,13 +208,13 @@ const me = H({
|
|
|
208
208
|
} = o.schema, p = l || m;
|
|
209
209
|
if (P(c) && !C)
|
|
210
210
|
return c(u(E));
|
|
211
|
-
let r =
|
|
211
|
+
let r = _(e);
|
|
212
212
|
const {
|
|
213
213
|
rulesMessageJoinLabel: b
|
|
214
214
|
} = o.formProps, A = Reflect.has(o.schema, "rulesMessageJoinLabel") ? a : b, y = U(t, `${A ? p : ""}`);
|
|
215
215
|
function T(n, i) {
|
|
216
216
|
const g = n.message || y;
|
|
217
|
-
return i === void 0 ||
|
|
217
|
+
return i === void 0 || ee(i) || Array.isArray(i) && i.length === 0 || typeof i == "string" && i.trim() === "" || typeof i == "object" && Reflect.has(i, "checked") && Reflect.has(i, "halfChecked") && Array.isArray(i.checked) && Array.isArray(i.halfChecked) && i.checked.length === 0 && i.halfChecked.length === 0 ? Promise.reject(g) : Promise.resolve();
|
|
218
218
|
}
|
|
219
219
|
const d = P(R) ? R(u(E)) : R;
|
|
220
220
|
d && (!r || r.length === 0 ? r = [{
|
|
@@ -254,7 +254,7 @@ const me = H({
|
|
|
254
254
|
} = o.schema;
|
|
255
255
|
let p = l;
|
|
256
256
|
ne(t) ? p = "input" : (se(t) || t === s.TIME_PICKER) && (p = "update:modelValue");
|
|
257
|
-
const r = `on${
|
|
257
|
+
const r = `on${te(p)}`, b = {
|
|
258
258
|
[r]: (...n) => {
|
|
259
259
|
const [i] = n;
|
|
260
260
|
d[r] && d[r](...n);
|
|
@@ -383,7 +383,7 @@ const me = H({
|
|
|
383
383
|
return h(B, L({
|
|
384
384
|
span: 24
|
|
385
385
|
}, b), {
|
|
386
|
-
default: () => [h(
|
|
386
|
+
default: () => [h(oe, u(K), V(f = v()) ? f : {
|
|
387
387
|
default: () => [f]
|
|
388
388
|
})]
|
|
389
389
|
});
|
|
@@ -1,105 +1,105 @@
|
|
|
1
1
|
import { defineComponent as W, useAttrs as nt, reactive as st, ref as n, computed as c, unref as o, watch as d, nextTick as pt, onMounted as lt, openBlock as l, createBlock as B, mergeProps as R, withKeys as ut, withCtx as h, normalizeProps as y, renderSlot as g, createElementBlock as ft, Fragment as ct, renderList as V, createSlots as j, guardReactiveProps as x, createCommentVNode as E } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
4
|
-
import "lodash";
|
|
5
|
-
import "../../hooks/use-z-index/index.js";
|
|
6
|
-
import { useTimeoutFn as Bt, useDebounceFn as ht } from "@vueuse/core";
|
|
7
|
-
import { cloneDeep as J, pick as yt, deepMerge as gt } from "@vft/utils";
|
|
8
|
-
import "../../utils/ns-cover.js";
|
|
9
|
-
import { FormCompEnum as bt } from "./component-map.js";
|
|
10
|
-
import vt from "./super-form-action.vue2.js";
|
|
11
|
-
import Ft from "./super-form-item.vue2.js";
|
|
12
|
-
import { useAutoFocus as wt } from "./use/use-auto-focus.js";
|
|
13
|
-
import { createFormContext as St } from "./use/use-form-context.js";
|
|
14
|
-
import { useFormEvents as Pt } from "./use/use-form-events.js";
|
|
15
|
-
import { useFormValues as At } from "./use/use-form-values.js";
|
|
16
|
-
import "../divider/index.js";
|
|
17
|
-
import "../icon/index.js";
|
|
2
|
+
import { cloneDeep as J, pick as dt, deepMerge as Bt } from "@vft/utils";
|
|
3
|
+
import "../alert/index.js";
|
|
18
4
|
import "../avatar/index.js";
|
|
19
|
-
import "../empty/index.js";
|
|
20
|
-
import "../result/index.js";
|
|
21
|
-
import "../tabs/index.js";
|
|
22
|
-
import "../popper/index.js";
|
|
23
|
-
import "../collapse-transition/index.js";
|
|
24
|
-
import "../tooltip/index.js";
|
|
25
|
-
import "../popover/index.js";
|
|
26
|
-
import "../menu/index.js";
|
|
27
|
-
import "../context-menu/context-menu.vue2.js";
|
|
28
|
-
import "../multiple-tabs/index.js";
|
|
29
|
-
import "../header-layout/index.js";
|
|
30
|
-
import "../footer-layout/index.js";
|
|
31
|
-
import "../iframe-layout/index.js";
|
|
32
|
-
import "../router-view-content/index.js";
|
|
33
|
-
import "../logo/index.js";
|
|
34
5
|
import "../backtop/index.js";
|
|
35
|
-
import "../
|
|
6
|
+
import "../button/index.js";
|
|
7
|
+
import "../card/index.js";
|
|
8
|
+
import "../check-tag/index.js";
|
|
9
|
+
import "../checkbox/index.js";
|
|
10
|
+
import "../clamp/index.js";
|
|
11
|
+
import "../clamp-toggle/index.js";
|
|
12
|
+
import "../col/index.js";
|
|
13
|
+
import "../collapse-transition/index.js";
|
|
14
|
+
import "../color-picker/index.js";
|
|
36
15
|
import "../config-provider/index.js";
|
|
16
|
+
import "../container/index.js";
|
|
17
|
+
import "../context-menu/context-menu.vue2.js";
|
|
18
|
+
import "../date-picker/index.js";
|
|
19
|
+
import "../date-time-select/index.js";
|
|
37
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 { VftForm as ht } from "../form/index.js";
|
|
38
29
|
import "../full-screen/index.js";
|
|
30
|
+
import "../header-layout/index.js";
|
|
31
|
+
import "../horizontal-menu/index.js";
|
|
32
|
+
import "../icon/index.js";
|
|
39
33
|
import "../icon-text/index.js";
|
|
34
|
+
import "../iframe-layout/index.js";
|
|
40
35
|
import "../image/index.js";
|
|
36
|
+
import "../image-viewer/index.js";
|
|
41
37
|
import "../input/index.js";
|
|
38
|
+
import "../input-number/index.js";
|
|
42
39
|
import "../link/index.js";
|
|
43
|
-
import "../
|
|
44
|
-
import "../
|
|
45
|
-
import "../
|
|
46
|
-
import "../
|
|
40
|
+
import "../list-cell/index.js";
|
|
41
|
+
import "../logo/index.js";
|
|
42
|
+
import "../menu/index.js";
|
|
43
|
+
import "../multiple-tabs/index.js";
|
|
47
44
|
import "../overlay/index.js";
|
|
48
|
-
import "../clamp/index.js";
|
|
49
|
-
import "../clamp-toggle/index.js";
|
|
50
45
|
import "../page-wrapper/index.js";
|
|
51
|
-
import "../
|
|
52
|
-
import "../
|
|
53
|
-
import
|
|
54
|
-
import "../
|
|
55
|
-
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";
|
|
56
51
|
import "../radio/index.js";
|
|
57
|
-
import "../
|
|
58
|
-
import "../
|
|
52
|
+
import "../result/index.js";
|
|
53
|
+
import "../router-view-content/index.js";
|
|
54
|
+
import { VftRow as yt } from "../row/index.js";
|
|
59
55
|
import "../scrollbar/index.js";
|
|
60
|
-
import "../
|
|
61
|
-
import "../virtual-list/components/fixed-size-list.js";
|
|
62
|
-
import "../virtual-list/components/dynamic-size-list.js";
|
|
63
|
-
import "../virtual-list/components/fixed-size-grid.js";
|
|
64
|
-
import "../virtual-list/components/dynamic-size-grid.js";
|
|
65
|
-
import "../virtual-list/props.js";
|
|
56
|
+
import "../search/index.js";
|
|
66
57
|
import "../select/index.js";
|
|
67
|
-
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";
|
|
68
63
|
import "../table/index.js";
|
|
69
|
-
import "../
|
|
70
|
-
import "../
|
|
71
|
-
import "../dialog/index.js";
|
|
72
|
-
import "../date-time-select/index.js";
|
|
73
|
-
import "../col/index.js";
|
|
74
|
-
import { VftRow as kt } from "../row/index.js";
|
|
75
|
-
import "../horizontal-menu/index.js";
|
|
64
|
+
import "../tabs/index.js";
|
|
65
|
+
import "../tag/index.js";
|
|
76
66
|
import "../time-picker/index.js";
|
|
77
|
-
import "../
|
|
78
|
-
import "../check-tag/index.js";
|
|
67
|
+
import "../tooltip/index.js";
|
|
79
68
|
import "../tree/index.js";
|
|
80
|
-
import "../
|
|
81
|
-
import "../
|
|
82
|
-
import "../
|
|
83
|
-
import "../
|
|
84
|
-
import "../
|
|
85
|
-
import "../
|
|
86
|
-
import "../input-number/index.js";
|
|
87
|
-
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";
|
|
88
75
|
import "../autocomplete/index.js";
|
|
89
|
-
import "
|
|
76
|
+
import "../modal/index.js";
|
|
90
77
|
import "../progress/index.js";
|
|
78
|
+
import "./index.js";
|
|
91
79
|
import "../upload/index.js";
|
|
92
|
-
import "../
|
|
93
|
-
import "../md-
|
|
80
|
+
import "../md-code-demo/index.js";
|
|
81
|
+
import "../md-code-tabs/index.js";
|
|
94
82
|
import "../md-comment/index.js";
|
|
83
|
+
import "../md-container/index.js";
|
|
95
84
|
import "../md-tabs/index.js";
|
|
96
85
|
import "../md-vue-playground/index.js";
|
|
97
|
-
import "
|
|
98
|
-
import "
|
|
86
|
+
import { useTimeoutFn as gt, useDebounceFn as bt } from "@vueuse/core";
|
|
87
|
+
import "../../utils/ns-cover.js";
|
|
88
|
+
import "lodash";
|
|
89
|
+
import { useNamespace as vt } from "../../hooks/use-namespace/index.js";
|
|
90
|
+
import "@popperjs/core";
|
|
91
|
+
import "../../hooks/use-z-index/index.js";
|
|
99
92
|
import "../message/index.js";
|
|
93
|
+
import { FormCompEnum as Ft } from "./component-map.js";
|
|
94
|
+
import wt from "./super-form-action.vue2.js";
|
|
95
|
+
import St from "./super-form-item.vue2.js";
|
|
96
|
+
import { useAutoFocus as Pt } from "./use/use-auto-focus.js";
|
|
97
|
+
import { createFormContext as At } from "./use/use-form-context.js";
|
|
98
|
+
import { useFormEvents as Ct } from "./use/use-form-events.js";
|
|
99
|
+
import { useFormValues as kt } from "./use/use-form-values.js";
|
|
100
100
|
const Ot = (
|
|
101
101
|
/* hoist-static*/
|
|
102
|
-
|
|
102
|
+
vt("super-form")
|
|
103
103
|
), Rt = W({
|
|
104
104
|
name: "vft-super-form"
|
|
105
105
|
}), wo = /* @__PURE__ */ W({
|
|
@@ -154,14 +154,14 @@ const Ot = (
|
|
|
154
154
|
setup(Q, { expose: X, emit: D }) {
|
|
155
155
|
const _ = Q, Y = nt(), a = st({}), b = n({}), u = n(!1), v = n({}), M = n(null), F = n(null), I = n(), e = c(() => ({ ..._, ...o(v) })), Z = c(() => ({ ...Y, ..._, ...o(e) })), m = c(() => {
|
|
156
156
|
const t = o(M);
|
|
157
|
-
return o(e).showAdvancedButton ? J(t.filter((i) => i.component !==
|
|
158
|
-
}), { handleFormValues: tt, initDefault: T } =
|
|
157
|
+
return o(e).showAdvancedButton ? J(t.filter((i) => i.component !== Ft.DIVIDER)) : J(t);
|
|
158
|
+
}), { handleFormValues: tt, initDefault: T } = kt({
|
|
159
159
|
getProps: e,
|
|
160
160
|
defaultValueRef: b,
|
|
161
161
|
getSchema: m,
|
|
162
162
|
formModel: a
|
|
163
163
|
});
|
|
164
|
-
|
|
164
|
+
Pt({
|
|
165
165
|
getSchema: m,
|
|
166
166
|
getProps: e,
|
|
167
167
|
isInitedDefault: u,
|
|
@@ -182,7 +182,7 @@ const Ot = (
|
|
|
182
182
|
scrollToField: et,
|
|
183
183
|
getFieldValue: H,
|
|
184
184
|
setFormItemError: ot
|
|
185
|
-
} =
|
|
185
|
+
} = Ct({
|
|
186
186
|
emit: D,
|
|
187
187
|
getProps: e,
|
|
188
188
|
formModel: a,
|
|
@@ -193,7 +193,7 @@ const Ot = (
|
|
|
193
193
|
handleFormValues: tt,
|
|
194
194
|
initValues: I
|
|
195
195
|
});
|
|
196
|
-
|
|
196
|
+
At({
|
|
197
197
|
resetAction: k,
|
|
198
198
|
submitAction: s
|
|
199
199
|
}), d(
|
|
@@ -215,19 +215,19 @@ const Ot = (
|
|
|
215
215
|
(t) => {
|
|
216
216
|
var i;
|
|
217
217
|
pt(() => {
|
|
218
|
-
}), !o(u) && t != null && t.length && (T(), u.value = !0, (i = e.value) != null && i.watchDataIsChange &&
|
|
218
|
+
}), !o(u) && t != null && t.length && (T(), u.value = !0, (i = e.value) != null && i.watchDataIsChange && gt(() => {
|
|
219
219
|
I.value = P();
|
|
220
220
|
}, 40));
|
|
221
221
|
}
|
|
222
222
|
), d(
|
|
223
223
|
() => a,
|
|
224
|
-
|
|
224
|
+
bt(() => {
|
|
225
225
|
o(e).submitOnChange && s();
|
|
226
226
|
}, 300),
|
|
227
227
|
{ deep: !0 }
|
|
228
228
|
);
|
|
229
229
|
async function K(t) {
|
|
230
|
-
v.value =
|
|
230
|
+
v.value = Bt(o(v) || {}, t);
|
|
231
231
|
}
|
|
232
232
|
function rt(t, i, r) {
|
|
233
233
|
a[t] = i, r && r.itemProps && !r.itemProps.autoLink && S(t).catch((O) => {
|
|
@@ -259,7 +259,7 @@ const Ot = (
|
|
|
259
259
|
lt(() => {
|
|
260
260
|
T(), D("register", z);
|
|
261
261
|
});
|
|
262
|
-
const mt = c(() =>
|
|
262
|
+
const mt = c(() => dt(
|
|
263
263
|
e.value,
|
|
264
264
|
[
|
|
265
265
|
"showResetButton",
|
|
@@ -289,7 +289,7 @@ const Ot = (
|
|
|
289
289
|
setFormItemError: ot
|
|
290
290
|
}), (t, i) => {
|
|
291
291
|
var r;
|
|
292
|
-
return u.value && ((r = m.value) != null && r.length) ? (l(), B(o(
|
|
292
|
+
return u.value && ((r = m.value) != null && r.length) ? (l(), B(o(ht), R({ key: 0 }, Z.value, {
|
|
293
293
|
ref_key: "formElRef",
|
|
294
294
|
ref: F,
|
|
295
295
|
class: o(Ot).b(),
|
|
@@ -299,10 +299,10 @@ const Ot = (
|
|
|
299
299
|
default: h(() => {
|
|
300
300
|
var O, G, U;
|
|
301
301
|
return [
|
|
302
|
-
(O = m.value) != null && O.length ? (l(), B(o(
|
|
302
|
+
(O = m.value) != null && O.length ? (l(), B(o(yt), y(R({ key: 0 }, (G = e.value) == null ? void 0 : G.rowProps)), {
|
|
303
303
|
default: h(() => [
|
|
304
304
|
g(t.$slots, "formHeader"),
|
|
305
|
-
(l(!0), ft(ct, null, V(m.value, (p) => (l(), B(
|
|
305
|
+
(l(!0), ft(ct, null, V(m.value, (p) => (l(), B(St, {
|
|
306
306
|
key: p.field,
|
|
307
307
|
tableAction: t.tableAction,
|
|
308
308
|
formActionType: z,
|
|
@@ -323,7 +323,7 @@ const Ot = (
|
|
|
323
323
|
]),
|
|
324
324
|
_: 3
|
|
325
325
|
}, 16)) : E("", !0),
|
|
326
|
-
(U = e.value) != null && U.showActionButtonGroup ? (l(), B(
|
|
326
|
+
(U = e.value) != null && U.showActionButtonGroup ? (l(), B(wt, y(R({ key: 1 }, mt.value)), j({ _: 2 }, [
|
|
327
327
|
V(["resetBefore", "submitBefore", "submitAfter"], (p) => ({
|
|
328
328
|
name: p,
|
|
329
329
|
fn: h((f) => [
|