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,138 +1,138 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { singleAttrToObj as
|
|
3
|
-
import "../
|
|
4
|
-
import { VftIcon as S } from "../icon/index.js";
|
|
1
|
+
import { defineComponent as s, getCurrentInstance as g, computed as a, openBlock as r, createBlock as l, Transition as v, unref as t, withCtx as y, createElementBlock as C, normalizeStyle as h, normalizeClass as T, withModifiers as x, renderSlot as z, normalizeProps as B, mergeProps as $, createCommentVNode as c } from "vue";
|
|
2
|
+
import { singleAttrToObj as S } from "@vft/utils";
|
|
3
|
+
import "../alert/index.js";
|
|
5
4
|
import "../avatar/index.js";
|
|
6
|
-
import "../empty/index.js";
|
|
7
|
-
import "../result/index.js";
|
|
8
|
-
import "../tabs/index.js";
|
|
9
|
-
import "../popper/index.js";
|
|
10
|
-
import "../collapse-transition/index.js";
|
|
11
|
-
import "../tooltip/index.js";
|
|
12
|
-
import "../popover/index.js";
|
|
13
|
-
import "../menu/index.js";
|
|
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 "./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 "../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 "../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";
|
|
25
29
|
import "../full-screen/index.js";
|
|
30
|
+
import "../header-layout/index.js";
|
|
31
|
+
import "../horizontal-menu/index.js";
|
|
32
|
+
import { VftIcon as _ } from "../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 "../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 "../super-form/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 "../md-code-demo/index.js";
|
|
85
|
-
import "../md-code-tabs/index.js";
|
|
86
|
-
import "../message/index.js";
|
|
87
|
-
import { useNamespace as _ } from "../../hooks/use-namespace/index.js";
|
|
88
|
-
import "@popperjs/core";
|
|
89
|
-
import "lodash";
|
|
90
|
-
import "../../hooks/use-z-index/index.js";
|
|
91
86
|
import "@vueuse/core";
|
|
92
87
|
import "../../utils/ns-cover.js";
|
|
88
|
+
import "lodash";
|
|
89
|
+
import { useNamespace as w } from "../../hooks/use-namespace/index.js";
|
|
90
|
+
import "@popperjs/core";
|
|
91
|
+
import "../../hooks/use-z-index/index.js";
|
|
92
|
+
import "../message/index.js";
|
|
93
93
|
import { useBackTop as I } from "./use-backtop.js";
|
|
94
94
|
const m = (
|
|
95
95
|
/* hoist-static*/
|
|
96
|
-
|
|
97
|
-
), N =
|
|
96
|
+
w("backtop")
|
|
97
|
+
), N = s({
|
|
98
98
|
name: "vft-backtop"
|
|
99
|
-
}), vo = /* @__PURE__ */
|
|
99
|
+
}), vo = /* @__PURE__ */ s({
|
|
100
100
|
...N,
|
|
101
101
|
props: {
|
|
102
102
|
visibilityHeight: { default: 200 },
|
|
103
103
|
target: {},
|
|
104
104
|
right: { default: 40 },
|
|
105
105
|
bottom: { default: 40 },
|
|
106
|
-
icon: { default: "
|
|
106
|
+
icon: { default: "icon-back-top" },
|
|
107
107
|
scrollTargetKey: {}
|
|
108
108
|
},
|
|
109
109
|
emits: ["click"],
|
|
110
|
-
setup(
|
|
111
|
-
const f = g(), { handleClick: p, visible: d } = I(f.props, u, m.b()),
|
|
112
|
-
right: `${
|
|
113
|
-
bottom: `${
|
|
114
|
-
})), e = a(() =>
|
|
115
|
-
return (
|
|
110
|
+
setup(i, { emit: u }) {
|
|
111
|
+
const f = g(), { handleClick: p, visible: d } = I(f.props, u, m.b()), k = a(() => ({
|
|
112
|
+
right: `${i.right}px`,
|
|
113
|
+
bottom: `${i.bottom}px`
|
|
114
|
+
})), e = a(() => S(i.icon, "icon", { size: 25 }));
|
|
115
|
+
return (b, n) => (r(), l(v, {
|
|
116
116
|
name: `${t(m).namespace}-fade-in`
|
|
117
117
|
}, {
|
|
118
118
|
default: y(() => [
|
|
119
|
-
t(d) ? (
|
|
119
|
+
t(d) ? (r(), C("div", {
|
|
120
120
|
key: 0,
|
|
121
|
-
style: h(
|
|
122
|
-
class:
|
|
123
|
-
onClick: n[0] || (n[0] =
|
|
121
|
+
style: h(k.value),
|
|
122
|
+
class: T(t(m).b()),
|
|
123
|
+
onClick: n[0] || (n[0] = x(
|
|
124
124
|
//@ts-ignore
|
|
125
125
|
(...o) => t(p) && t(p)(...o),
|
|
126
126
|
["stop"]
|
|
127
127
|
))
|
|
128
128
|
}, [
|
|
129
|
-
z(
|
|
129
|
+
z(b.$slots, "default", {}, () => {
|
|
130
130
|
var o;
|
|
131
131
|
return [
|
|
132
|
-
(o = e.value) != null && o.icon ? (
|
|
132
|
+
(o = e.value) != null && o.icon ? (r(), l(t(_), B($({ key: 0 }, e.value)), null, 16)) : c("", !0)
|
|
133
133
|
];
|
|
134
134
|
})
|
|
135
|
-
], 6)) :
|
|
135
|
+
], 6)) : c("", !0)
|
|
136
136
|
]),
|
|
137
137
|
_: 3
|
|
138
138
|
}, 8, ["name"]));
|
|
@@ -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 "./backtop.vue2.js";
|
|
8
8
|
const c = t(o);
|
|
9
9
|
export {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import { useNamespace as g } from "../../hooks/use-namespace/index.js";
|
|
4
|
-
import "@popperjs/core";
|
|
5
|
-
import "lodash";
|
|
6
|
-
import "../../hooks/use-z-index/index.js";
|
|
1
|
+
import { TinyColor as m } from "@ctrl/tinycolor";
|
|
2
|
+
import "../form/index.js";
|
|
7
3
|
import "@vueuse/core";
|
|
8
4
|
import "@vft/utils";
|
|
9
5
|
import "../../utils/ns-cover.js";
|
|
10
|
-
import "
|
|
6
|
+
import "lodash";
|
|
7
|
+
import { computed as b } from "vue";
|
|
8
|
+
import { useNamespace as g } from "../../hooks/use-namespace/index.js";
|
|
9
|
+
import "@popperjs/core";
|
|
10
|
+
import "../../hooks/use-z-index/index.js";
|
|
11
11
|
import { useFormDisabled as k } from "../form/hooks/use-form-common-props.js";
|
|
12
12
|
function c(r, l = 20) {
|
|
13
13
|
return r.mix("#141414", l).toString();
|
|
14
14
|
}
|
|
15
15
|
function $(r) {
|
|
16
16
|
const l = k(), t = g("button");
|
|
17
|
-
return
|
|
17
|
+
return b(() => {
|
|
18
18
|
let e = {};
|
|
19
19
|
const a = r.color;
|
|
20
20
|
if (a) {
|
|
21
|
-
const o = new
|
|
21
|
+
const o = new m(a), i = r.dark ? o.tint(20).toString() : c(o, 20);
|
|
22
22
|
if (r.plain)
|
|
23
23
|
e = t.cssVarBlock({
|
|
24
24
|
"bg-color": r.dark ? c(o, 90) : o.tint(90).toString(),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as o, provide as s, reactive as i, toRef as e, openBlock as m, createElementBlock as a, normalizeClass as u, unref as c, renderSlot as f } from "vue";
|
|
2
|
-
import { useNamespace as l } from "../../hooks/use-namespace/index.js";
|
|
3
|
-
import "@popperjs/core";
|
|
4
|
-
import "lodash";
|
|
5
|
-
import "../../hooks/use-z-index/index.js";
|
|
6
2
|
import "@vueuse/core";
|
|
7
3
|
import "@vft/utils";
|
|
8
4
|
import "../../utils/ns-cover.js";
|
|
5
|
+
import "lodash";
|
|
6
|
+
import { useNamespace as l } from "../../hooks/use-namespace/index.js";
|
|
7
|
+
import "@popperjs/core";
|
|
8
|
+
import "../../hooks/use-z-index/index.js";
|
|
9
9
|
import { buttonGroupContextKey as d } from "./constants.js";
|
|
10
10
|
const _ = o({
|
|
11
11
|
name: "VtfButtonGroup"
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as B, computed as I, openBlock as n, createBlock as a, resolveDynamicComponent as _, mergeProps as m, unref as e, withCtx as A, createElementBlock as y, Fragment as N, renderSlot as f, normalizeClass as k, normalizeProps as P, createCommentVNode as b } from "vue";
|
|
2
|
+
import { singleAttrToObj as T } from "@vft/utils";
|
|
2
3
|
import { VftIcon as g } from "../icon/index.js";
|
|
3
|
-
import { useNamespace as T } from "../../hooks/use-namespace/index.js";
|
|
4
|
-
import "@popperjs/core";
|
|
5
|
-
import "lodash";
|
|
6
|
-
import "../../hooks/use-z-index/index.js";
|
|
7
4
|
import "@vueuse/core";
|
|
8
|
-
import { singleAttrToObj as V } from "@vft/utils";
|
|
9
5
|
import "../../utils/ns-cover.js";
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
6
|
+
import "lodash";
|
|
7
|
+
import { useNamespace as V } from "../../hooks/use-namespace/index.js";
|
|
8
|
+
import "@popperjs/core";
|
|
9
|
+
import "../../hooks/use-z-index/index.js";
|
|
10
|
+
import { useButtonCustomStyle as j } from "./button-custom.js";
|
|
11
|
+
import { useButton as w } from "./use-button.js";
|
|
12
12
|
const t = (
|
|
13
13
|
/* hoist-static*/
|
|
14
|
-
|
|
14
|
+
V("button")
|
|
15
15
|
), D = B({
|
|
16
16
|
name: "vft-button"
|
|
17
17
|
}), U = /* @__PURE__ */ B({
|
|
@@ -39,7 +39,7 @@ const t = (
|
|
|
39
39
|
},
|
|
40
40
|
emits: ["click"],
|
|
41
41
|
setup(C, { expose: h, emit: v }) {
|
|
42
|
-
const l = C, s = I(() =>
|
|
42
|
+
const l = C, s = I(() => T(l.icon, "icon")), z = j(l), { _ref: i, _size: r, _type: p, _disabled: c, _props: S, shouldAddSpace: d, handleClick: $ } = w(l, v);
|
|
43
43
|
return h({
|
|
44
44
|
/** @description button html element */
|
|
45
45
|
ref: i,
|
|
@@ -80,7 +80,7 @@ const t = (
|
|
|
80
80
|
key: 1,
|
|
81
81
|
rotate: "",
|
|
82
82
|
class: k(e(t).is("loading")),
|
|
83
|
-
icon: "
|
|
83
|
+
icon: "icon-loading"
|
|
84
84
|
}, null, 8, ["class"]))
|
|
85
85
|
], 64)) : (u = s.value) != null && u.icon ? (n(), a(e(g), P(m({ key: 1 }, s.value)), null, 16)) : b("", !0),
|
|
86
86
|
o.$slots.default ? (n(), y("span", {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { withInstall as o, withNoopInstall as r } 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 o, withNoopInstall as r } from "../../utils/vue/install.js";
|
|
6
|
+
import "vue";
|
|
7
7
|
import m from "./button.vue2.js";
|
|
8
8
|
import t from "./button-group.vue2.js";
|
|
9
9
|
import { buttonGroupContextKey as B } from "./constants.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { inject as b, computed as i, ref as _, useSlots as F, Text as I } from "vue";
|
|
2
|
-
import "../form/index.js";
|
|
3
1
|
import "../config-provider/index.js";
|
|
4
|
-
import
|
|
5
|
-
import { useThrottleFn as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
2
|
+
import "../form/index.js";
|
|
3
|
+
import { useThrottleFn as b } from "@vueuse/core";
|
|
4
|
+
import { inject as _, computed as i, ref as F, useSlots as I, Text as S } from "vue";
|
|
5
|
+
import { buttonGroupContextKey as k } from "./constants.js";
|
|
6
|
+
import { useFormItem as T } from "../form/hooks/use-form-item.js";
|
|
7
|
+
import { useGlobalConfig as z } from "../config-provider/hooks/use-global-config.js";
|
|
8
8
|
import { useFormSize as C, useFormDisabled as D } from "../form/hooks/use-form-common-props.js";
|
|
9
9
|
const E = (t, l) => {
|
|
10
|
-
const o =
|
|
10
|
+
const o = _(k, void 0), u = z("button"), { form: s } = T(), d = C(i(() => o == null ? void 0 : o.size)), r = D(), m = F(), a = I(), f = i(() => t.type || (o == null ? void 0 : o.type) || ""), p = i(
|
|
11
11
|
() => {
|
|
12
12
|
var e;
|
|
13
13
|
return t.autoInsertSpace ?? ((e = u.value) == null ? void 0 : e.autoInsertSpace) ?? !1;
|
|
@@ -17,7 +17,7 @@ const E = (t, l) => {
|
|
|
17
17
|
const e = (c = a.default) == null ? void 0 : c.call(a);
|
|
18
18
|
if (p.value && (e == null ? void 0 : e.length) === 1) {
|
|
19
19
|
const n = e[0];
|
|
20
|
-
if ((n == null ? void 0 : n.type) ===
|
|
20
|
+
if ((n == null ? void 0 : n.type) === S) {
|
|
21
21
|
const v = n.children;
|
|
22
22
|
return /^\p{Unified_Ideograph}{2}$/u.test(v.trim());
|
|
23
23
|
}
|
|
@@ -28,7 +28,7 @@ const E = (t, l) => {
|
|
|
28
28
|
disabled: r.value || t.loading,
|
|
29
29
|
autofocus: t.autofocus,
|
|
30
30
|
type: t.nativeType
|
|
31
|
-
} : {}), y =
|
|
31
|
+
} : {}), y = b((e) => {
|
|
32
32
|
t.nativeType === "reset" && (s == null || s.resetFields()), l("click", e);
|
|
33
33
|
}, 500);
|
|
34
34
|
return {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as l, openBlock as t, createElementBlock as s, normalizeClass as r, unref as o, renderSlot as d, createTextVNode as m, toDisplayString as n, createCommentVNode as i, createElementVNode as p, normalizeStyle as c } from "vue";
|
|
2
|
-
import { useNamespace as f } from "../../hooks/use-namespace/index.js";
|
|
3
|
-
import "@popperjs/core";
|
|
4
|
-
import "lodash";
|
|
5
|
-
import "../../hooks/use-z-index/index.js";
|
|
6
2
|
import "@vueuse/core";
|
|
7
3
|
import "@vft/utils";
|
|
8
4
|
import "../../utils/ns-cover.js";
|
|
5
|
+
import "lodash";
|
|
6
|
+
import { useNamespace as f } from "../../hooks/use-namespace/index.js";
|
|
7
|
+
import "@popperjs/core";
|
|
8
|
+
import "../../hooks/use-z-index/index.js";
|
|
9
9
|
const a = (
|
|
10
10
|
/* hoist-static*/
|
|
11
11
|
f("card")
|
|
@@ -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 "./card.vue2.js";
|
|
8
8
|
const l = t(o);
|
|
9
9
|
export {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as o, computed as s, openBlock as m, createElementBlock as l, normalizeClass as d, renderSlot as p } from "vue";
|
|
2
2
|
import { CHANGE_EVENT as i } from "../../constants/event.js";
|
|
3
|
-
import { useNamespace as h } from "../../hooks/use-namespace/index.js";
|
|
4
|
-
import "@popperjs/core";
|
|
5
|
-
import "lodash";
|
|
6
|
-
import "../../hooks/use-z-index/index.js";
|
|
7
3
|
import "@vueuse/core";
|
|
8
4
|
import "@vft/utils";
|
|
9
5
|
import "../../utils/ns-cover.js";
|
|
6
|
+
import "lodash";
|
|
7
|
+
import { useNamespace as h } from "../../hooks/use-namespace/index.js";
|
|
8
|
+
import "@popperjs/core";
|
|
9
|
+
import "../../hooks/use-z-index/index.js";
|
|
10
10
|
const t = (
|
|
11
11
|
/* hoist-static*/
|
|
12
12
|
h("check-tag")
|
|
@@ -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 "./check-tag.vue2.js";
|
|
8
8
|
const c = t(o);
|
|
9
9
|
export {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as g, useSlots as D, inject as F, computed as v, openBlock as r, createElementBlock as d, normalizeClass as b, withDirectives as f, isRef as y, unref as t, vModelCheckbox as k, normalizeStyle as h, createTextVNode as C, toDisplayString as V, renderSlot as j, createCommentVNode as B } from "vue";
|
|
2
|
-
import { useNamespace as w } from "../../hooks/use-namespace/index.js";
|
|
3
|
-
import "@popperjs/core";
|
|
4
|
-
import "lodash";
|
|
5
|
-
import "../../hooks/use-z-index/index.js";
|
|
6
2
|
import "@vueuse/core";
|
|
7
3
|
import "@vft/utils";
|
|
8
4
|
import "../../utils/ns-cover.js";
|
|
9
|
-
import
|
|
5
|
+
import "lodash";
|
|
6
|
+
import { useNamespace as w } from "../../hooks/use-namespace/index.js";
|
|
7
|
+
import "@popperjs/core";
|
|
8
|
+
import "../../hooks/use-z-index/index.js";
|
|
9
|
+
import { useCheckbox as E } from "./composables/use-checkbox.js";
|
|
10
10
|
import "../form/index.js";
|
|
11
|
-
import {
|
|
11
|
+
import { checkboxGroupContextKey as K } from "./constants.js";
|
|
12
12
|
const U = ["name", "tabindex", "disabled", "true-value", "false-value"], M = ["name", "tabindex", "disabled", "value"], O = g({
|
|
13
13
|
name: "VftCheckboxButton"
|
|
14
14
|
}), X = /* @__PURE__ */ g({
|
|
@@ -39,7 +39,7 @@ const U = ["name", "tabindex", "disabled", "true-value", "false-value"], M = ["n
|
|
|
39
39
|
checkboxButtonSize: z,
|
|
40
40
|
model: n,
|
|
41
41
|
handleChange: i
|
|
42
|
-
} =
|
|
42
|
+
} = E($, N), u = F(K, void 0), a = w("checkbox"), c = v(() => {
|
|
43
43
|
var l, o;
|
|
44
44
|
const e = ((l = u == null ? void 0 : u.fill) == null ? void 0 : l.value) ?? "";
|
|
45
45
|
return {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as m, computed as h, provide as k, toRefs as g, watch as V, openBlock as r, createBlock as u, resolveDynamicComponent as c, unref as l, normalizeClass as y, withCtx as E, createElementBlock as x, Fragment as B, renderList as C, renderSlot as _, nextTick as I } from "vue";
|
|
2
|
-
import
|
|
3
|
-
import { UPDATE_MODEL_EVENT as
|
|
4
|
-
import "@vft/utils";
|
|
5
|
-
import { debugWarn as w } from "../../utils/error.js";
|
|
2
|
+
import "../form/index.js";
|
|
3
|
+
import { UPDATE_MODEL_EVENT as z } from "../../constants/event.js";
|
|
6
4
|
import "@vueuse/core";
|
|
5
|
+
import "@vft/utils";
|
|
6
|
+
import { debugWarn as F } from "../../utils/error.js";
|
|
7
7
|
import "../../utils/ns-cover.js";
|
|
8
|
+
import { pick as w } from "lodash";
|
|
8
9
|
import { useNamespace as D } from "../../hooks/use-namespace/index.js";
|
|
9
10
|
import "@popperjs/core";
|
|
10
11
|
import "../../hooks/use-z-index/index.js";
|
|
11
|
-
import "
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import $ from "./checkbox-button.vue2.js";
|
|
12
|
+
import L from "./checkbox.vue2.js";
|
|
13
|
+
import T from "./checkbox-button.vue2.js";
|
|
14
|
+
import { checkboxGroupContextKey as $ } from "./constants.js";
|
|
15
15
|
import { useFormItem as G, useFormItemInputId as N } from "../form/hooks/use-form-item.js";
|
|
16
16
|
const A = m({
|
|
17
17
|
name: "VftCheckboxGroup"
|
|
@@ -36,7 +36,7 @@ const A = m({
|
|
|
36
36
|
const o = p, b = D("checkbox"), { formItem: t } = G(), { inputId: f, isLabeledByFormItem: d } = N(o, {
|
|
37
37
|
formItemContext: t
|
|
38
38
|
}), i = async (a) => {
|
|
39
|
-
n(
|
|
39
|
+
n(z, a), await I(), n("change", a);
|
|
40
40
|
}, v = h({
|
|
41
41
|
get() {
|
|
42
42
|
return o.modelValue;
|
|
@@ -45,8 +45,8 @@ const A = m({
|
|
|
45
45
|
i(a);
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
|
-
return k(
|
|
49
|
-
...
|
|
48
|
+
return k($, {
|
|
49
|
+
...w(g(o), [
|
|
50
50
|
"size",
|
|
51
51
|
"min",
|
|
52
52
|
"max",
|
|
@@ -60,7 +60,7 @@ const A = m({
|
|
|
60
60
|
}), V(
|
|
61
61
|
() => o.modelValue,
|
|
62
62
|
() => {
|
|
63
|
-
o.validateEvent && (t == null || t.validate("change").catch((a) =>
|
|
63
|
+
o.validateEvent && (t == null || t.validate("change").catch((a) => F(a)));
|
|
64
64
|
}
|
|
65
65
|
), (a, K) => {
|
|
66
66
|
var s;
|
|
@@ -72,7 +72,7 @@ const A = m({
|
|
|
72
72
|
"aria-labelledby": l(d) ? (s = l(t)) == null ? void 0 : s.labelId : void 0
|
|
73
73
|
}, {
|
|
74
74
|
default: E(() => [
|
|
75
|
-
a.options ? (r(!0), x(B, { key: 0 }, C(a.options, (e) => (r(), u(c(a.useButton ?
|
|
75
|
+
a.options ? (r(!0), x(B, { key: 0 }, C(a.options, (e) => (r(), u(c(a.useButton ? T : L), {
|
|
76
76
|
value: e.value,
|
|
77
77
|
label: e.label,
|
|
78
78
|
indeterminate: e.indeterminate,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as S, useSlots as K, computed as c, openBlock as i, createBlock as L, resolveDynamicComponent as O, unref as a, normalizeClass as s, withCtx as R, createElementVNode as y, withDirectives as h, createElementBlock as r, isRef as C, vModelCheckbox as B, createTextVNode as V, toDisplayString as g, Fragment as N, renderSlot as U, createCommentVNode as b } from "vue";
|
|
2
|
-
import { useNamespace as j } from "../../hooks/use-namespace/index.js";
|
|
3
|
-
import "@popperjs/core";
|
|
4
|
-
import "lodash";
|
|
5
|
-
import "../../hooks/use-z-index/index.js";
|
|
6
2
|
import "@vueuse/core";
|
|
7
3
|
import "@vft/utils";
|
|
8
4
|
import "../../utils/ns-cover.js";
|
|
9
|
-
import "
|
|
5
|
+
import "lodash";
|
|
6
|
+
import { useNamespace as j } from "../../hooks/use-namespace/index.js";
|
|
7
|
+
import "@popperjs/core";
|
|
8
|
+
import "../../hooks/use-z-index/index.js";
|
|
10
9
|
import { useCheckbox as x } from "./composables/use-checkbox.js";
|
|
10
|
+
import "../form/index.js";
|
|
11
11
|
const M = ["tabindex", "role", "aria-checked"], T = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"], q = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"], n = (
|
|
12
12
|
/* hoist-static*/
|
|
13
13
|
j("checkbox")
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { useCheckbox as r } from "./use-checkbox.js";
|
|
2
|
+
import { useCheckboxDisabled as t } from "./use-checkbox-disabled.js";
|
|
3
|
+
import { useCheckboxEvent as b } from "./use-checkbox-event.js";
|
|
4
|
+
import { useCheckboxModel as c } from "./use-checkbox-model.js";
|
|
5
|
+
import { useCheckboxStatus as h } from "./use-checkbox-status.js";
|
|
6
6
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
r as useCheckbox,
|
|
8
|
+
t as useCheckboxDisabled,
|
|
9
|
+
b as useCheckboxEvent,
|
|
10
|
+
c as useCheckboxModel,
|
|
11
|
+
h as useCheckboxStatus
|
|
12
12
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isUndefined as o } from "@vft/utils";
|
|
2
2
|
import "../../form/index.js";
|
|
3
|
-
import {
|
|
3
|
+
import { inject as d, computed as r } from "vue";
|
|
4
4
|
import { checkboxGroupContextKey as u } from "../constants.js";
|
|
5
5
|
import { useFormDisabled as v } from "../../form/hooks/use-form-common-props.js";
|
|
6
6
|
const x = ({
|
|
7
7
|
model: i,
|
|
8
8
|
isChecked: t
|
|
9
9
|
}) => {
|
|
10
|
-
const e = d(u, void 0), s =
|
|
10
|
+
const e = d(u, void 0), s = r(() => {
|
|
11
11
|
var l, m;
|
|
12
12
|
const a = (l = e == null ? void 0 : e.max) == null ? void 0 : l.value, n = (m = e == null ? void 0 : e.min) == null ? void 0 : m.value;
|
|
13
|
-
return !
|
|
13
|
+
return !o(a) && i.value.length >= a && !t.value || !o(n) && i.value.length <= n && t.value;
|
|
14
14
|
});
|
|
15
15
|
return {
|
|
16
16
|
isDisabled: v(
|
|
17
|
-
|
|
17
|
+
r(() => (e == null ? void 0 : e.disabled.value) || s.value)
|
|
18
18
|
),
|
|
19
19
|
isLimitDisabled: s
|
|
20
20
|
};
|