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,5 +1,5 @@
|
|
|
1
|
-
import { ref as g, watch as S, unref as n, computed as h } from "vue";
|
|
2
1
|
import { isBoolean as i } from "@vft/utils";
|
|
2
|
+
import { ref as g, watch as S, unref as n, computed as h } from "vue";
|
|
3
3
|
import { PAGE_SIZE as v } from "../constants.js";
|
|
4
4
|
function I(u) {
|
|
5
5
|
const o = g({}), r = g(!0);
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
() => o,
|
|
1
|
+
import { getDynamicProps as s } from "@vft/utils";
|
|
2
|
+
import { tryOnBeforeUnmount as d } from "@vueuse/core";
|
|
3
|
+
function f(r) {
|
|
4
|
+
const o = ref(null), l = ref(!1), u = ref(null);
|
|
5
|
+
let n;
|
|
6
|
+
function i(e, a) {
|
|
7
|
+
d(() => {
|
|
8
|
+
o.value = null, l.value = null;
|
|
9
|
+
}), !(unref(l) && e === unref(o)) && (o.value = e, u.value = a, r && e.setProps(s(r)), l.value = !0, n == null || n(), n = watch(
|
|
10
|
+
() => r,
|
|
12
11
|
() => {
|
|
13
|
-
|
|
12
|
+
r && e.setProps(s(r));
|
|
14
13
|
},
|
|
15
14
|
{
|
|
16
15
|
immediate: !0,
|
|
@@ -19,10 +18,10 @@ function y(o) {
|
|
|
19
18
|
));
|
|
20
19
|
}
|
|
21
20
|
function t() {
|
|
22
|
-
const e =
|
|
21
|
+
const e = unref(o);
|
|
23
22
|
return e || console.error("The table instance has not been obtained yet, please make sure the table is presented when performing the table operation!"), e;
|
|
24
23
|
}
|
|
25
|
-
return [
|
|
24
|
+
return [i, {
|
|
26
25
|
reload: async (e) => await t().reload(e),
|
|
27
26
|
setProps: (e) => {
|
|
28
27
|
t().setProps(e);
|
|
@@ -30,7 +29,7 @@ function y(o) {
|
|
|
30
29
|
redoHeight: () => {
|
|
31
30
|
t().redoHeight();
|
|
32
31
|
},
|
|
33
|
-
setSelectedRows: (e) =>
|
|
32
|
+
setSelectedRows: (e) => toRaw(t().setSelectedRows(e)),
|
|
34
33
|
setLoading: (e) => {
|
|
35
34
|
t().setLoading(e);
|
|
36
35
|
},
|
|
@@ -38,7 +37,7 @@ function y(o) {
|
|
|
38
37
|
getRawDataSource: () => t().getRawDataSource(),
|
|
39
38
|
getColumns: ({ ignoreIndex: e = !1 } = {}) => {
|
|
40
39
|
const a = t().getColumns({ ignoreIndex: e }) || [];
|
|
41
|
-
return
|
|
40
|
+
return toRaw(a);
|
|
42
41
|
},
|
|
43
42
|
setColumns: (e) => {
|
|
44
43
|
t().setColumns(e);
|
|
@@ -48,8 +47,8 @@ function y(o) {
|
|
|
48
47
|
deleteSelectRowByKey: (e) => {
|
|
49
48
|
t().deleteSelectRowByKey(e);
|
|
50
49
|
},
|
|
51
|
-
getSelectRowKeys: () =>
|
|
52
|
-
getSelectRows: () =>
|
|
50
|
+
getSelectRowKeys: () => toRaw(t().getSelectRowKeys()),
|
|
51
|
+
getSelectRows: () => toRaw(t().getSelectRows()),
|
|
53
52
|
clearSelectedRowKeys: () => {
|
|
54
53
|
t().clearSelectedRowKeys();
|
|
55
54
|
},
|
|
@@ -57,8 +56,8 @@ function y(o) {
|
|
|
57
56
|
t().setSelectedRowKeys(e);
|
|
58
57
|
},
|
|
59
58
|
getPaginationRef: () => t().getPaginationRef(),
|
|
60
|
-
getSize: () =>
|
|
61
|
-
updateTableData: (e, a,
|
|
59
|
+
getSize: () => toRaw(t().getSize()),
|
|
60
|
+
updateTableData: (e, a, c) => t().updateTableData(e, a, c),
|
|
62
61
|
deleteTableDataRecord: (e, a) => t().deleteTableDataRecord(e, a),
|
|
63
62
|
insertTableDataRecord: (e, a) => t().insertTableDataRecord(e, a),
|
|
64
63
|
updateTableDataRecord: (e, a) => t().updateTableDataRecord(e, a),
|
|
@@ -66,9 +65,9 @@ function y(o) {
|
|
|
66
65
|
setShowPagination: async (e) => {
|
|
67
66
|
t().setShowPagination(e);
|
|
68
67
|
},
|
|
69
|
-
getShowPagination: () =>
|
|
68
|
+
getShowPagination: () => toRaw(t().getShowPagination())
|
|
70
69
|
}];
|
|
71
70
|
}
|
|
72
71
|
export {
|
|
73
|
-
|
|
72
|
+
f as useTable
|
|
74
73
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { withInstall as o, withNoopInstall as m } from "../../utils/vue/install.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "@vft/utils";
|
|
4
|
-
import "lodash";
|
|
5
1
|
import "@vueuse/core";
|
|
2
|
+
import "@vft/utils";
|
|
6
3
|
import "../../utils/ns-cover.js";
|
|
7
|
-
import
|
|
4
|
+
import "lodash";
|
|
5
|
+
import { withInstall as o, withNoopInstall as m } from "../../utils/vue/install.js";
|
|
6
|
+
import "vue";
|
|
8
7
|
import t from "./tab-pane.vue2.js";
|
|
8
|
+
import r from "./tabs.vue2.js";
|
|
9
9
|
import { TabsRootContextKey as x } from "./types.js";
|
|
10
10
|
const b = o(r, { TabPane: t }), c = m(t);
|
|
11
11
|
export {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { defineComponent as $, getCurrentInstance as S, inject as C, ref as y, watch as N, nextTick as R, computed as k, openBlock as B, createElementBlock as F, normalizeClass as P, unref as g, normalizeStyle as T } from "vue";
|
|
2
2
|
import { TabsRootContextKey as L } from "./types.js";
|
|
3
|
-
import {
|
|
4
|
-
import "@popperjs/core";
|
|
5
|
-
import "lodash";
|
|
6
|
-
import "../../hooks/use-z-index/index.js";
|
|
7
|
-
import { useResizeObserver as D } from "@vueuse/core";
|
|
3
|
+
import { useResizeObserver as j } from "@vueuse/core";
|
|
8
4
|
import { capitalize as p } from "@vft/utils";
|
|
9
5
|
import "../../utils/ns-cover.js";
|
|
6
|
+
import "lodash";
|
|
7
|
+
import { useNamespace as D } from "../../hooks/use-namespace/index.js";
|
|
8
|
+
import "@popperjs/core";
|
|
9
|
+
import "../../hooks/use-z-index/index.js";
|
|
10
10
|
const M = /* @__PURE__ */ $({
|
|
11
11
|
__name: "tab-bar",
|
|
12
12
|
props: {
|
|
13
13
|
tabs: {}
|
|
14
14
|
},
|
|
15
15
|
setup(h, { expose: x }) {
|
|
16
|
-
const s = h, v = S(), c = C(L), l =
|
|
16
|
+
const s = h, v = S(), c = C(L), l = D("tabs"), a = y(), m = y(), _ = () => {
|
|
17
17
|
let t = 0, e = 0;
|
|
18
18
|
const o = ["top", "bottom"].includes(c.props.tabPosition) ? "width" : "height", f = o === "width" ? "x" : "y", z = f === "x" ? "left" : "top";
|
|
19
19
|
return s.tabs.every((u) => {
|
|
@@ -39,7 +39,7 @@ const M = /* @__PURE__ */ $({
|
|
|
39
39
|
{ immediate: !0 }
|
|
40
40
|
);
|
|
41
41
|
const w = k(() => c.props.tabPosition);
|
|
42
|
-
return
|
|
42
|
+
return j(a, () => n()), x({
|
|
43
43
|
ref: a,
|
|
44
44
|
update: n
|
|
45
45
|
}), (t, e) => (B(), F("div", {
|
|
@@ -1,96 +1,96 @@
|
|
|
1
1
|
import { defineComponent as D, getCurrentInstance as tt, inject as ot, ref as b, computed as B, watch as z, onMounted as et, onUpdated as it, createVNode as s, nextTick as nt } from "vue";
|
|
2
|
+
import { useDocumentVisibility as rt, useWindowFocus as at, useResizeObserver as lt } from "@vueuse/core";
|
|
2
3
|
import { capitalize as $ } from "@vft/utils";
|
|
3
|
-
import { throwError as
|
|
4
|
-
import "lodash";
|
|
5
|
-
import { useDocumentVisibility as at, useWindowFocus as lt, useResizeObserver as st } from "@vueuse/core";
|
|
4
|
+
import { throwError as st } from "../../utils/error.js";
|
|
6
5
|
import "../../utils/ns-cover.js";
|
|
7
|
-
import "
|
|
8
|
-
import
|
|
6
|
+
import "lodash";
|
|
7
|
+
import "../alert/index.js";
|
|
9
8
|
import "../avatar/index.js";
|
|
10
|
-
import "../empty/index.js";
|
|
11
|
-
import "../result/index.js";
|
|
12
|
-
import "./index.js";
|
|
13
|
-
import "../popper/index.js";
|
|
14
|
-
import "../collapse-transition/index.js";
|
|
15
|
-
import "../tooltip/index.js";
|
|
16
|
-
import "../popover/index.js";
|
|
17
|
-
import "../menu/index.js";
|
|
18
|
-
import "../context-menu/context-menu.vue2.js";
|
|
19
|
-
import "../multiple-tabs/index.js";
|
|
20
|
-
import "../header-layout/index.js";
|
|
21
|
-
import "../footer-layout/index.js";
|
|
22
|
-
import "../iframe-layout/index.js";
|
|
23
|
-
import "../router-view-content/index.js";
|
|
24
|
-
import "../logo/index.js";
|
|
25
9
|
import "../backtop/index.js";
|
|
26
|
-
import "../
|
|
10
|
+
import "../button/index.js";
|
|
11
|
+
import "../card/index.js";
|
|
12
|
+
import "../check-tag/index.js";
|
|
13
|
+
import "../checkbox/index.js";
|
|
14
|
+
import "../clamp/index.js";
|
|
15
|
+
import "../clamp-toggle/index.js";
|
|
16
|
+
import "../col/index.js";
|
|
17
|
+
import "../collapse-transition/index.js";
|
|
18
|
+
import "../color-picker/index.js";
|
|
27
19
|
import "../config-provider/index.js";
|
|
20
|
+
import "../container/index.js";
|
|
21
|
+
import "../context-menu/context-menu.vue2.js";
|
|
22
|
+
import "../date-picker/index.js";
|
|
23
|
+
import "../date-time-select/index.js";
|
|
28
24
|
import "../descriptions/index.js";
|
|
25
|
+
import "../dialog/index.js";
|
|
26
|
+
import "../divider/index.js";
|
|
27
|
+
import "../drawer/index.js";
|
|
28
|
+
import "../dropdown/index.js";
|
|
29
|
+
import "../empty/index.js";
|
|
30
|
+
import "../exception/index.js";
|
|
31
|
+
import "../footer-layout/index.js";
|
|
32
|
+
import "../form/index.js";
|
|
29
33
|
import "../full-screen/index.js";
|
|
34
|
+
import "../header-layout/index.js";
|
|
35
|
+
import "../horizontal-menu/index.js";
|
|
36
|
+
import { VftIcon as S } from "../icon/index.js";
|
|
30
37
|
import "../icon-text/index.js";
|
|
38
|
+
import "../iframe-layout/index.js";
|
|
31
39
|
import "../image/index.js";
|
|
40
|
+
import "../image-viewer/index.js";
|
|
32
41
|
import "../input/index.js";
|
|
42
|
+
import "../input-number/index.js";
|
|
33
43
|
import "../link/index.js";
|
|
34
|
-
import "../
|
|
35
|
-
import "../
|
|
36
|
-
import "../
|
|
37
|
-
import "../
|
|
44
|
+
import "../list-cell/index.js";
|
|
45
|
+
import "../logo/index.js";
|
|
46
|
+
import "../menu/index.js";
|
|
47
|
+
import "../multiple-tabs/index.js";
|
|
38
48
|
import "../overlay/index.js";
|
|
39
|
-
import "../clamp/index.js";
|
|
40
|
-
import "../clamp-toggle/index.js";
|
|
41
49
|
import "../page-wrapper/index.js";
|
|
42
|
-
import "../
|
|
43
|
-
import "../
|
|
44
|
-
import "../
|
|
45
|
-
import "../
|
|
46
|
-
import "../
|
|
50
|
+
import "../pagination/index.js";
|
|
51
|
+
import "../popconfirm/index.js";
|
|
52
|
+
import "../popover/index.js";
|
|
53
|
+
import "../popper/index.js";
|
|
54
|
+
import "../qrcode/index.js";
|
|
47
55
|
import "../radio/index.js";
|
|
48
|
-
import "../
|
|
49
|
-
import "../
|
|
56
|
+
import "../result/index.js";
|
|
57
|
+
import "../router-view-content/index.js";
|
|
58
|
+
import "../row/index.js";
|
|
50
59
|
import "../scrollbar/index.js";
|
|
51
|
-
import "../
|
|
52
|
-
import "../virtual-list/components/fixed-size-list.js";
|
|
53
|
-
import "../virtual-list/components/dynamic-size-list.js";
|
|
54
|
-
import "../virtual-list/components/fixed-size-grid.js";
|
|
55
|
-
import "../virtual-list/components/dynamic-size-grid.js";
|
|
56
|
-
import "../virtual-list/props.js";
|
|
60
|
+
import "../search/index.js";
|
|
57
61
|
import "../select/index.js";
|
|
58
|
-
import "../
|
|
62
|
+
import "../side-menu/index.js";
|
|
63
|
+
import "../skeleton/index.js";
|
|
64
|
+
import "../slider/index.js";
|
|
65
|
+
import "../space/index.js";
|
|
66
|
+
import "../switch/index.js";
|
|
59
67
|
import "../table/index.js";
|
|
60
|
-
import "
|
|
61
|
-
import "../
|
|
62
|
-
import "../dialog/index.js";
|
|
63
|
-
import "../date-time-select/index.js";
|
|
64
|
-
import "../col/index.js";
|
|
65
|
-
import "../row/index.js";
|
|
66
|
-
import "../horizontal-menu/index.js";
|
|
68
|
+
import "./index.js";
|
|
69
|
+
import "../tag/index.js";
|
|
67
70
|
import "../time-picker/index.js";
|
|
68
|
-
import "../
|
|
69
|
-
import "../check-tag/index.js";
|
|
71
|
+
import "../tooltip/index.js";
|
|
70
72
|
import "../tree/index.js";
|
|
71
|
-
import "../
|
|
72
|
-
import "../
|
|
73
|
-
import "../
|
|
74
|
-
import "../
|
|
75
|
-
import "../
|
|
76
|
-
import "../
|
|
77
|
-
import "../input-number/index.js";
|
|
78
|
-
import "../slider/index.js";
|
|
73
|
+
import "../verify-code/index.js";
|
|
74
|
+
import "../virtual-list/components/dynamic-size-grid.js";
|
|
75
|
+
import "../virtual-list/components/dynamic-size-list.js";
|
|
76
|
+
import "../virtual-list/components/fixed-size-grid.js";
|
|
77
|
+
import "../virtual-list/components/fixed-size-list.js";
|
|
78
|
+
import "../virtual-list/props.js";
|
|
79
79
|
import "../autocomplete/index.js";
|
|
80
|
-
import "../
|
|
80
|
+
import "../modal/index.js";
|
|
81
81
|
import "../progress/index.js";
|
|
82
|
+
import "../super-form/index.js";
|
|
82
83
|
import "../upload/index.js";
|
|
83
|
-
import "../
|
|
84
|
-
import "../md-
|
|
84
|
+
import "../md-code-demo/index.js";
|
|
85
|
+
import "../md-code-tabs/index.js";
|
|
85
86
|
import "../md-comment/index.js";
|
|
87
|
+
import "../md-container/index.js";
|
|
86
88
|
import "../md-tabs/index.js";
|
|
87
89
|
import "../md-vue-playground/index.js";
|
|
88
|
-
import "../md-code-demo/index.js";
|
|
89
|
-
import "../md-code-tabs/index.js";
|
|
90
|
-
import "../message/index.js";
|
|
91
90
|
import { useNamespace as M } from "../../hooks/use-namespace/index.js";
|
|
92
91
|
import "@popperjs/core";
|
|
93
92
|
import "../../hooks/use-z-index/index.js";
|
|
93
|
+
import "../message/index.js";
|
|
94
94
|
import { EVENT_CODE as k } from "@vft/constants";
|
|
95
95
|
import { TabsRootContextKey as ct } from "./types.js";
|
|
96
96
|
import ut from "./tab-bar.vue2.js";
|
|
@@ -132,8 +132,8 @@ const mt = (
|
|
|
132
132
|
}) {
|
|
133
133
|
var W;
|
|
134
134
|
const H = tt(), h = ot(ct);
|
|
135
|
-
h ||
|
|
136
|
-
const n = M("tabs"), j =
|
|
135
|
+
h || st(mt.b(), "<vft-tabs><tab-nav /></vft-tabs>");
|
|
136
|
+
const n = M("tabs"), j = rt(), U = at(), y = b(), p = b(), x = b(), F = b(), c = b(!1), u = b(0), O = b(!1), T = b(!0), w = B(() => ["top", "bottom"].includes(h.props.tabPosition) ? "width" : "height"), X = B(() => ({
|
|
137
137
|
transform: `translate${w.value === "width" ? "X" : "Y"}(-${u.value}px)`
|
|
138
138
|
})), Y = () => {
|
|
139
139
|
if (!p.value)
|
|
@@ -181,7 +181,7 @@ const mt = (
|
|
|
181
181
|
t === "hidden" ? T.value = !1 : t === "visible" && setTimeout(() => T.value = !0, 50);
|
|
182
182
|
}), z(U, (t) => {
|
|
183
183
|
t ? setTimeout(() => T.value = !0, 50) : T.value = !1;
|
|
184
|
-
}),
|
|
184
|
+
}), lt(y, A), et(() => setTimeout(() => P(), 0)), it(() => A()), q({
|
|
185
185
|
scrollToActiveTab: P,
|
|
186
186
|
removeFocus: R
|
|
187
187
|
}), z(() => i.panes, () => H.update(), {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as b, getCurrentInstance as y, useSlots as C, inject as B, ref as u, computed as m, watch as g, reactive as w, onMounted as N, onUnmounted as k, unref as o, withDirectives as x, openBlock as z, createElementBlock as R, normalizeClass as S, renderSlot as _, vShow as $, createCommentVNode as E } from "vue";
|
|
2
|
+
import { eagerComputed as d } from "@vueuse/core";
|
|
2
3
|
import "@vft/utils";
|
|
3
4
|
import { throwError as P } from "../../utils/error.js";
|
|
4
|
-
import "lodash";
|
|
5
|
-
import { eagerComputed as d } from "@vueuse/core";
|
|
6
5
|
import "../../utils/ns-cover.js";
|
|
7
|
-
import
|
|
8
|
-
import { useNamespace as
|
|
6
|
+
import "lodash";
|
|
7
|
+
import { useNamespace as j } from "../../hooks/use-namespace/index.js";
|
|
9
8
|
import "@popperjs/core";
|
|
10
9
|
import "../../hooks/use-z-index/index.js";
|
|
10
|
+
import { TabsRootContextKey as D } from "./types.js";
|
|
11
11
|
const I = ["id", "aria-hidden", "aria-labelledby"], p = (
|
|
12
12
|
/* hoist-static*/
|
|
13
|
-
|
|
13
|
+
j("tab-pane")
|
|
14
14
|
), K = b({
|
|
15
15
|
name: "vft-tab-pane"
|
|
16
16
|
}), O = /* @__PURE__ */ b({
|
|
@@ -23,7 +23,7 @@ const I = ["id", "aria-hidden", "aria-labelledby"], p = (
|
|
|
23
23
|
lazy: { type: Boolean }
|
|
24
24
|
},
|
|
25
25
|
setup(a) {
|
|
26
|
-
const n = y(), v = C(), t = B(
|
|
26
|
+
const n = y(), v = C(), t = B(D);
|
|
27
27
|
t || P(p.b(), "usage: <vft-tabs><vft-tab-pane /></vft-tabs/>");
|
|
28
28
|
const r = u(), f = m(() => a.closable || t.props.closable), e = d(() => t.currentName.value === (a.name ?? r.value)), i = u(e.value), s = m(() => a.name ?? r.value), h = d(() => !a.lazy || i.value || e.value);
|
|
29
29
|
g(e, (l) => {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { defineComponent as w, getCurrentInstance as h, useSlots as S, ref as g, watch as x, nextTick as M, computed as d, createVNode as s, provide as W } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import "@popperjs/core";
|
|
4
|
-
import "lodash";
|
|
5
|
-
import "../../hooks/use-z-index/index.js";
|
|
6
|
-
import "@vueuse/core";
|
|
2
|
+
import { UPDATE_MODEL_EVENT as D } from "@vft/constants";
|
|
7
3
|
import { isNumberish as u, isUndefined as I } from "@vft/utils";
|
|
4
|
+
import "@vueuse/core";
|
|
8
5
|
import "../../utils/ns-cover.js";
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
6
|
+
import "lodash";
|
|
7
|
+
import { useNamespace as O } from "../../hooks/use-namespace/index.js";
|
|
8
|
+
import { useOrderedChildren as U } from "../../hooks/use-ordered-children/index.js";
|
|
9
|
+
import "@popperjs/core";
|
|
10
|
+
import "../../hooks/use-z-index/index.js";
|
|
11
11
|
import $ from "./tab-nav.vue2.js";
|
|
12
12
|
import { TabsRootContextKey as F } from "./types.js";
|
|
13
13
|
const l = (
|
|
14
14
|
/* hoist-static*/
|
|
15
|
-
|
|
15
|
+
O("tabs")
|
|
16
16
|
), K = w({
|
|
17
17
|
name: "vft-tabs"
|
|
18
18
|
}), oe = /* @__PURE__ */ w({
|
|
@@ -52,7 +52,7 @@ const l = (
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
emits: {
|
|
55
|
-
[
|
|
55
|
+
[D]: (t) => u(t),
|
|
56
56
|
/** 点击 */
|
|
57
57
|
tabClick: (t, c) => c instanceof Event,
|
|
58
58
|
/** 右键点击 */
|
|
@@ -99,7 +99,7 @@ const l = (
|
|
|
99
99
|
children: N,
|
|
100
100
|
addChild: B,
|
|
101
101
|
removeChild: P
|
|
102
|
-
} =
|
|
102
|
+
} = U(h(), "vft-tab-pane");
|
|
103
103
|
W(F, {
|
|
104
104
|
props: T.props,
|
|
105
105
|
currentName: r,
|
|
@@ -109,19 +109,19 @@ const l = (
|
|
|
109
109
|
currentName: r
|
|
110
110
|
});
|
|
111
111
|
const A = d(() => ({
|
|
112
|
-
icon: "
|
|
112
|
+
icon: "icon-plus",
|
|
113
113
|
size: 12,
|
|
114
114
|
...t.addIconCfg
|
|
115
115
|
})), V = d(() => ({
|
|
116
|
-
icon: "
|
|
116
|
+
icon: "icon-close",
|
|
117
117
|
size: 14,
|
|
118
118
|
...t.closeIconCfg
|
|
119
119
|
})), k = d(() => ({
|
|
120
|
-
icon: "
|
|
120
|
+
icon: "icon-arrow-left",
|
|
121
121
|
size: 18,
|
|
122
122
|
...t.arrowLeftIconCfg
|
|
123
123
|
})), z = d(() => ({
|
|
124
|
-
icon: "
|
|
124
|
+
icon: "icon-arrow-right",
|
|
125
125
|
size: 18,
|
|
126
126
|
...t.arrowRightIconCfg
|
|
127
127
|
})), C = d(() => {
|
|
@@ -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 "./tag.vue2.js";
|
|
8
8
|
const l = t(o);
|
|
9
9
|
export {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as u, useSlots as d, computed as f, createVNode as n, Transition as p, isVNode as b } from "vue";
|
|
2
|
+
import "../form/index.js";
|
|
2
3
|
import { VftIcon as y } from "../icon/index.js";
|
|
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";
|
|
7
4
|
import "@vueuse/core";
|
|
8
5
|
import "@vft/utils";
|
|
9
6
|
import "../../utils/ns-cover.js";
|
|
10
|
-
import "
|
|
7
|
+
import "lodash";
|
|
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 { useFormSize as h } from "../form/hooks/use-form-common-props.js";
|
|
12
12
|
function k(e) {
|
|
13
13
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !b(e);
|
|
@@ -57,7 +57,7 @@ const F = /* @__PURE__ */ u({
|
|
|
57
57
|
class: t.e("close"),
|
|
58
58
|
onClick: r
|
|
59
59
|
}, [n(y, {
|
|
60
|
-
icon: "
|
|
60
|
+
icon: "icon-close"
|
|
61
61
|
}, null)]) : ""]);
|
|
62
62
|
};
|
|
63
63
|
return () => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as ge, ref as v, inject as je, watch as qe, nextTick as j, computed as i, unref as l, provide as He, openBlock as I, createBlock as w, mergeProps as Le, withCtx as q, normalizeClass as m, normalizeStyle as pe, withModifiers as F, createCommentVNode as H, createElementBlock as We, createElementVNode as ee, renderSlot as de, toDisplayString as Je } from "vue";
|
|
2
|
-
import { isEqual as Ge } from "lodash";
|
|
3
|
-
import { onClickOutside as Qe } from "@vueuse/core";
|
|
4
|
-
import { useNamespace as ae } from "../../../hooks/use-namespace/index.js";
|
|
5
|
-
import "@popperjs/core";
|
|
6
|
-
import "../../../hooks/use-z-index/index.js";
|
|
7
2
|
import { isArray as y } from "@vft/utils";
|
|
8
|
-
import { debugWarn as fe } from "../../../utils/error.js";
|
|
9
|
-
import { EVENT_CODE as C } from "../../../constants/aria.js";
|
|
10
|
-
import "../../../utils/ns-cover.js";
|
|
11
3
|
import "../../form/index.js";
|
|
12
|
-
import { VftInput as Xe } from "../../input/index.js";
|
|
13
4
|
import { VftIcon as L } from "../../icon/index.js";
|
|
14
|
-
import {
|
|
5
|
+
import { VftInput as Ge } from "../../input/index.js";
|
|
6
|
+
import { VftTooltip as Qe } from "../../tooltip/index.js";
|
|
7
|
+
import { EVENT_CODE as C } from "../../../constants/aria.js";
|
|
8
|
+
import { onClickOutside as Xe } from "@vueuse/core";
|
|
9
|
+
import { debugWarn as fe } from "../../../utils/error.js";
|
|
10
|
+
import "../../../utils/ns-cover.js";
|
|
11
|
+
import { isEqual as Ye } from "lodash";
|
|
12
|
+
import { useNamespace as ae } from "../../../hooks/use-namespace/index.js";
|
|
13
|
+
import "@popperjs/core";
|
|
14
|
+
import "../../../hooks/use-z-index/index.js";
|
|
15
15
|
import { valueEquals as ve, parseDate as me, formatter as he } from "../utils.js";
|
|
16
16
|
import { timePickerDefaultProps as Ze } from "./props.js";
|
|
17
17
|
import { useFormItem as _e } from "../../form/hooks/use-form-item.js";
|
|
@@ -106,7 +106,7 @@ const ea = ["id", "name", "placeholder", "value", "disabled", "readonly"], aa =
|
|
|
106
106
|
const a = s.value.getRangeAvailableTime(
|
|
107
107
|
e
|
|
108
108
|
);
|
|
109
|
-
|
|
109
|
+
Ye(a, e) || (e = a, k(
|
|
110
110
|
y(e) ? e.map((o) => o.toDate()) : e.toDate()
|
|
111
111
|
));
|
|
112
112
|
}
|
|
@@ -120,7 +120,7 @@ const ea = ["id", "name", "placeholder", "value", "disabled", "readonly"], aa =
|
|
|
120
120
|
n.value[1] || e && e[1] || ""
|
|
121
121
|
] : n.value !== null ? n.value : !Me.value && K.value || !u.value && K.value ? "" : e ? te.value ? e.join(", ") : e : "";
|
|
122
122
|
}), Re = i(() => t.type.includes("time")), Me = i(() => t.type.startsWith("time")), te = i(() => t.type === "dates"), O = i(
|
|
123
|
-
() => t.prefixIcon || (Re.value ? "
|
|
123
|
+
() => t.prefixIcon || (Re.value ? "icon-clock" : "icon-calendar")
|
|
124
124
|
), P = v(!1), ue = (e) => {
|
|
125
125
|
t.readonly || c.value || P.value && (e.stopPropagation(), Pe(), k(null), X(null, !0), P.value = !1, u.value = !1, s.value.handleClear && s.value.handleClear());
|
|
126
126
|
}, K = i(() => {
|
|
@@ -143,7 +143,7 @@ const ea = ["id", "name", "placeholder", "value", "disabled", "readonly"], aa =
|
|
|
143
143
|
var e;
|
|
144
144
|
return l(N) ? l(b) : (e = l(b)) == null ? void 0 : e.$el;
|
|
145
145
|
});
|
|
146
|
-
|
|
146
|
+
Xe(ie, (e) => {
|
|
147
147
|
const a = l(Fe), o = l(ie);
|
|
148
148
|
a && (e.target === a || e.composedPath().includes(a)) || e.target === o || e.composedPath().includes(o) || (u.value = !1);
|
|
149
149
|
});
|
|
@@ -244,7 +244,7 @@ const ea = ["id", "name", "placeholder", "value", "disabled", "readonly"], aa =
|
|
|
244
244
|
* @description pick item manually
|
|
245
245
|
*/
|
|
246
246
|
onPick: ne
|
|
247
|
-
}), (e, a) => (I(), w(l(
|
|
247
|
+
}), (e, a) => (I(), w(l(Qe), Le({
|
|
248
248
|
ref_key: "refPopper",
|
|
249
249
|
ref: J,
|
|
250
250
|
visible: u.value,
|
|
@@ -342,7 +342,7 @@ const ea = ["id", "name", "placeholder", "value", "disabled", "readonly"], aa =
|
|
|
342
342
|
]),
|
|
343
343
|
onClick: ue
|
|
344
344
|
}, null, 8, ["icon", "class"])) : H("", !0)
|
|
345
|
-
], 38)) : (I(), w(l(
|
|
345
|
+
], 38)) : (I(), w(l(Ge), {
|
|
346
346
|
key: 0,
|
|
347
347
|
id: e.id,
|
|
348
348
|
ref_key: "inputRef",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "vue";
|
|
3
|
-
import { buildProps as t, definePropType as e } from "../../../utils/vue/props/runtime.js";
|
|
1
|
+
import { componentSizes as t } from "../../../constants/size.js";
|
|
4
2
|
import "@vueuse/core";
|
|
5
|
-
import
|
|
3
|
+
import "@vft/utils";
|
|
6
4
|
import "../../../utils/ns-cover.js";
|
|
7
5
|
import "lodash";
|
|
6
|
+
import { buildProps as a, definePropType as e } from "../../../utils/vue/props/runtime.js";
|
|
7
|
+
import "vue";
|
|
8
8
|
import { disabledTimeListsProps as r } from "../props/shared.js";
|
|
9
|
-
const f =
|
|
9
|
+
const f = a({
|
|
10
10
|
/**
|
|
11
11
|
* @description same as `id` in native input
|
|
12
12
|
*/
|
|
@@ -54,7 +54,7 @@ const f = t({
|
|
|
54
54
|
*/
|
|
55
55
|
clearIcon: {
|
|
56
56
|
type: e([String, Object]),
|
|
57
|
-
default: "
|
|
57
|
+
default: "icon-circle-close"
|
|
58
58
|
},
|
|
59
59
|
/**
|
|
60
60
|
* @description whether the input is editable
|
|
@@ -75,7 +75,7 @@ const f = t({
|
|
|
75
75
|
*/
|
|
76
76
|
size: {
|
|
77
77
|
type: String,
|
|
78
|
-
values:
|
|
78
|
+
values: t,
|
|
79
79
|
required: !1
|
|
80
80
|
},
|
|
81
81
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import r from "./time-picker.js";
|
|
2
1
|
import { default as T } from "./common/picker.vue2.js";
|
|
2
|
+
import r from "./time-picker.js";
|
|
3
3
|
import { default as f } from "./time-picker-com/panel-time-pick.vue2.js";
|
|
4
|
-
import {
|
|
5
|
-
import { DEFAULT_FORMATS_DATE as
|
|
6
|
-
import {
|
|
4
|
+
import { timePickerDefaultProps as l } from "./common/props.js";
|
|
5
|
+
import { DEFAULT_FORMATS_DATE as p, DEFAULT_FORMATS_DATEPICKER as A, DEFAULT_FORMATS_TIME as E, timeUnits as P } from "./constants.js";
|
|
6
|
+
import { buildTimeList as x, dateEquals as D, extractDateFormat as F, extractTimeFormat as k, formatter as _, makeList as d, parseDate as L, rangeArr as M, valueEquals as R } from "./utils.js";
|
|
7
7
|
const e = r;
|
|
8
8
|
e.install = (t) => {
|
|
9
9
|
t.component(e.name, e);
|
|
@@ -11,21 +11,21 @@ e.install = (t) => {
|
|
|
11
11
|
const m = e;
|
|
12
12
|
export {
|
|
13
13
|
T as CommonPicker,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
p as DEFAULT_FORMATS_DATE,
|
|
15
|
+
A as DEFAULT_FORMATS_DATEPICKER,
|
|
16
|
+
E as DEFAULT_FORMATS_TIME,
|
|
17
17
|
f as TimePickPanel,
|
|
18
18
|
m as VftTimePicker,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
x as buildTimeList,
|
|
20
|
+
D as dateEquals,
|
|
21
21
|
e as default,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
22
|
+
F as extractDateFormat,
|
|
23
|
+
k as extractTimeFormat,
|
|
24
|
+
_ as formatter,
|
|
25
|
+
d as makeList,
|
|
26
|
+
L as parseDate,
|
|
27
|
+
M as rangeArr,
|
|
28
|
+
l as timePickerDefaultProps,
|
|
29
|
+
P as timeUnits,
|
|
30
|
+
R as valueEquals
|
|
31
31
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "@vft/utils";
|
|
2
|
-
import "vue";
|
|
3
|
-
import { buildProps as r, definePropType as e } from "../../../utils/vue/props/runtime.js";
|
|
4
1
|
import "@vueuse/core";
|
|
2
|
+
import "@vft/utils";
|
|
5
3
|
import "../../../utils/ns-cover.js";
|
|
6
4
|
import "lodash";
|
|
5
|
+
import { buildProps as r, definePropType as e } from "../../../utils/vue/props/runtime.js";
|
|
6
|
+
import "vue";
|
|
7
7
|
import { disabledTimeListsProps as o } from "./shared.js";
|
|
8
8
|
const a = r({
|
|
9
9
|
role: {
|