vxe-pc-ui 0.0.2 → 0.2.0
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/README.md +7 -0
- package/es/{anchor-link → anchor}/src/anchor-link.js +2 -2
- package/es/anchor/src/anchor.js +1 -1
- package/es/{anchor-link → anchor}/src/util.js +1 -1
- package/es/anchor-link/index.js +1 -1
- package/es/{button-group → button}/src/button-group.js +2 -2
- package/es/button/src/button.js +3 -3
- package/es/button/style.css +17 -17
- package/es/button/style.min.css +1 -1
- package/es/button-group/index.js +1 -1
- package/es/checkbox/index.js +10 -0
- package/es/checkbox/src/checkbox.js +116 -0
- package/es/checkbox/src/group.js +108 -0
- package/es/checkbox/style.css +107 -0
- package/es/checkbox/style.min.css +1 -0
- package/es/checkbox-group/index.js +10 -0
- package/es/col/index.js +1 -1
- package/es/components.js +104 -35
- package/es/dynamics/index.js +27 -0
- package/es/form/index.js +8 -0
- package/es/form/src/form-config-item.js +178 -0
- package/es/form/src/form-gather.js +47 -0
- package/es/form/src/form-item.js +228 -0
- package/es/form/src/form.js +665 -0
- package/es/form/src/itemInfo.js +39 -0
- package/es/form/src/render.js +68 -0
- package/es/form/src/util.js +65 -0
- package/es/form/style.css +321 -0
- package/es/form/style.min.css +1 -0
- package/es/form-design/index.js +8 -0
- package/es/form-design/src/form-design.js +79 -0
- package/es/form-design/src/setting.js +12 -0
- package/es/form-design/src/util.js +8 -0
- package/es/form-design/src/view.js +113 -0
- package/es/form-design/src/widget.js +104 -0
- package/es/form-design/style.css +97 -0
- package/es/form-design/style.min.css +1 -0
- package/es/form-gather/index.js +8 -0
- package/es/form-item/index.js +8 -0
- package/es/icon/style.css +540 -1
- package/es/icon/style.min.css +1 -1
- package/es/input/index.js +10 -0
- package/es/input/src/date.js +41 -0
- package/es/input/src/input.js +2333 -0
- package/es/input/src/number.js +10 -0
- package/es/input/style.css +1000 -0
- package/es/input/style.min.css +1 -0
- package/es/layout-aside/src/layout-aside.js +4 -2
- package/es/layout-aside/style.css +3 -0
- package/es/layout-aside/style.min.css +1 -1
- package/es/layout-body/src/layout-body.js +7 -2
- package/es/layout-body/style.css +3 -0
- package/es/layout-body/style.min.css +1 -1
- package/es/layout-container/src/layout-container.js +2 -1
- package/es/layout-footer/src/layout-footer.js +5 -3
- package/es/layout-footer/style.css +3 -0
- package/es/layout-footer/style.min.css +1 -1
- package/es/list-design/index.js +8 -0
- package/es/{design/src/design.js → list-design/src/list-design.js} +7 -7
- package/es/loading/index.js +8 -0
- package/es/loading/src/loading.js +53 -0
- package/es/loading/style.css +75 -0
- package/es/loading/style.min.css +1 -0
- package/es/modal/index.js +96 -0
- package/es/modal/src/modal.js +876 -0
- package/es/modal/style.css +323 -0
- package/es/modal/style.min.css +1 -0
- package/es/optgroup/index.js +10 -0
- package/es/optgroup/style.css +0 -0
- package/es/optgroup/style.min.css +0 -0
- package/es/option/index.js +10 -0
- package/es/option/style.css +0 -0
- package/es/option/style.min.css +0 -0
- package/es/pager/index.js +10 -0
- package/es/pager/src/pager.js +539 -0
- package/es/pager/style.css +319 -0
- package/es/pager/style.min.css +1 -0
- package/es/pulldown/index.js +10 -0
- package/es/pulldown/src/pulldown.js +328 -0
- package/es/pulldown/style.css +57 -0
- package/es/pulldown/style.min.css +1 -0
- package/es/radio/index.js +10 -0
- package/es/radio/src/button.js +113 -0
- package/es/radio/src/group.js +93 -0
- package/es/radio/src/radio.js +118 -0
- package/es/radio/style.css +143 -0
- package/es/radio/style.min.css +1 -0
- package/es/radio-button/index.js +10 -0
- package/es/radio-button/style.css +0 -0
- package/es/radio-button/style.min.css +0 -0
- package/es/radio-group/index.js +10 -0
- package/es/radio-group/style.css +0 -0
- package/es/radio-group/style.min.css +0 -0
- package/es/select/index.js +10 -0
- package/es/select/src/optgroup.js +31 -0
- package/es/select/src/option.js +31 -0
- package/es/select/src/optionInfo.js +16 -0
- package/es/select/src/select.js +992 -0
- package/es/select/src/util.js +36 -0
- package/es/select/style.css +201 -0
- package/es/select/style.min.css +1 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/switch/index.js +10 -0
- package/es/switch/src/switch.js +151 -0
- package/es/switch/style.css +97 -0
- package/es/switch/style.min.css +1 -0
- package/es/tab-pane/index.js +8 -0
- package/es/tab-pane/style.css +0 -0
- package/es/tab-pane/style.min.css +0 -0
- package/es/tabs/index.js +8 -0
- package/es/tabs/src/tab-pane.js +64 -0
- package/es/tabs/src/tabs.js +195 -0
- package/es/tabs/src/util.js +17 -0
- package/es/tabs/style.css +113 -0
- package/es/tabs/style.min.css +1 -0
- package/es/textarea/index.js +10 -0
- package/es/textarea/src/textarea.js +245 -0
- package/es/textarea/style.css +102 -0
- package/es/textarea/style.min.css +1 -0
- package/es/tooltip/index.js +8 -0
- package/es/tooltip/src/tooltip.js +336 -0
- package/es/tooltip/style.css +103 -0
- package/es/tooltip/style.min.css +1 -0
- package/es/ui/src/core.js +12 -2
- package/es/ui/src/dom.js +20 -0
- package/es/ui/src/globalStore.js +119 -4
- package/es/ui/src/i18n.js +7 -0
- package/es/ui/src/log.js +2 -2
- package/es/ui/src/renderer.js +67 -0
- package/es/ui/src/store.js +41 -0
- package/es/ui/src/utils.js +10 -0
- package/es/ui/src/validators.js +5 -0
- package/es/ui/src/vn.js +10 -0
- package/es/vxe-button/style.css +17 -17
- package/es/vxe-button/style.min.css +1 -1
- package/es/vxe-checkbox/index.js +3 -0
- package/es/vxe-checkbox/style.css +107 -0
- package/es/vxe-checkbox/style.min.css +1 -0
- package/es/vxe-checkbox-group/index.js +3 -0
- package/es/vxe-checkbox-group/style.css +0 -0
- package/es/vxe-checkbox-group/style.min.css +0 -0
- package/es/vxe-form/index.js +3 -0
- package/es/vxe-form/style.css +321 -0
- package/es/vxe-form/style.min.css +1 -0
- package/es/vxe-form-design/index.js +3 -0
- package/es/vxe-form-design/style.css +97 -0
- package/es/vxe-form-design/style.min.css +1 -0
- package/es/vxe-form-gather/index.js +3 -0
- package/es/vxe-form-gather/style.css +0 -0
- package/es/vxe-form-gather/style.min.css +0 -0
- package/es/vxe-form-item/index.js +3 -0
- package/es/vxe-form-item/style.css +0 -0
- package/es/vxe-form-item/style.min.css +0 -0
- package/es/vxe-icon/style.css +540 -1
- package/es/vxe-icon/style.min.css +1 -1
- package/es/vxe-input/index.js +3 -0
- package/es/vxe-input/style.css +1000 -0
- package/es/vxe-input/style.min.css +1 -0
- package/es/vxe-layout-aside/style.css +3 -0
- package/es/vxe-layout-aside/style.min.css +1 -1
- package/es/vxe-layout-body/style.css +3 -0
- package/es/vxe-layout-body/style.min.css +1 -1
- package/es/vxe-layout-footer/style.css +3 -0
- package/es/vxe-layout-footer/style.min.css +1 -1
- package/es/vxe-list-design/index.js +3 -0
- package/es/vxe-list-design/style.css +0 -0
- package/es/vxe-list-design/style.min.css +0 -0
- package/es/vxe-loading/index.js +3 -0
- package/es/vxe-loading/style.css +75 -0
- package/es/vxe-loading/style.min.css +1 -0
- package/es/vxe-modal/index.js +3 -0
- package/es/vxe-modal/style.css +323 -0
- package/es/vxe-modal/style.min.css +1 -0
- package/es/vxe-optgroup/index.js +3 -0
- package/es/vxe-optgroup/style.css +0 -0
- package/es/vxe-optgroup/style.min.css +0 -0
- package/es/vxe-option/index.js +3 -0
- package/es/vxe-option/style.css +0 -0
- package/es/vxe-option/style.min.css +0 -0
- package/es/vxe-pager/index.js +3 -0
- package/es/vxe-pager/style.css +319 -0
- package/es/vxe-pager/style.min.css +1 -0
- package/es/vxe-pulldown/index.js +3 -0
- package/es/vxe-pulldown/style.css +57 -0
- package/es/vxe-pulldown/style.min.css +1 -0
- package/es/vxe-radio/index.js +3 -0
- package/es/vxe-radio/style.css +143 -0
- package/es/vxe-radio/style.min.css +1 -0
- package/es/vxe-radio-button/index.js +3 -0
- package/es/vxe-radio-button/style.css +0 -0
- package/es/vxe-radio-button/style.min.css +0 -0
- package/es/vxe-radio-group/index.js +3 -0
- package/es/vxe-radio-group/style.css +0 -0
- package/es/vxe-radio-group/style.min.css +0 -0
- package/es/vxe-select/index.js +3 -0
- package/es/vxe-select/style.css +201 -0
- package/es/vxe-select/style.min.css +1 -0
- package/es/vxe-switch/index.js +3 -0
- package/es/vxe-switch/style.css +97 -0
- package/es/vxe-switch/style.min.css +1 -0
- package/es/vxe-tab-pane/index.js +3 -0
- package/es/vxe-tab-pane/style.css +0 -0
- package/es/vxe-tab-pane/style.min.css +0 -0
- package/es/vxe-tabs/index.js +3 -0
- package/es/vxe-tabs/style.css +113 -0
- package/es/vxe-tabs/style.min.css +1 -0
- package/es/vxe-textarea/index.js +3 -0
- package/es/vxe-textarea/style.css +102 -0
- package/es/vxe-textarea/style.min.css +1 -0
- package/es/vxe-tooltip/index.js +3 -0
- package/es/vxe-tooltip/style.css +103 -0
- package/es/vxe-tooltip/style.min.css +1 -0
- package/lib/{anchor-link → anchor}/src/anchor-link.js +1 -1
- package/lib/{anchor-link → anchor}/src/anchor-link.min.js +1 -1
- package/lib/anchor/src/anchor.js +1 -1
- package/lib/anchor/src/anchor.min.js +1 -1
- package/lib/{anchor-link → anchor}/src/util.js +2 -2
- package/lib/anchor/src/util.min.js +1 -0
- package/lib/anchor-link/index.js +1 -1
- package/lib/anchor-link/index.min.js +1 -1
- package/lib/{button-group → button}/src/button-group.js +2 -2
- package/lib/button/src/button-group.min.js +1 -0
- package/lib/button/src/button.js +3 -3
- package/lib/button/src/button.min.js +1 -1
- package/lib/button/style/style.css +17 -17
- package/lib/button/style/style.min.css +1 -1
- package/lib/button-group/index.js +1 -1
- package/lib/button-group/index.min.js +1 -1
- package/lib/checkbox/index.js +17 -0
- package/lib/checkbox/index.min.js +1 -0
- package/lib/checkbox/src/checkbox.js +144 -0
- package/lib/checkbox/src/checkbox.min.js +1 -0
- package/lib/checkbox/src/group.js +129 -0
- package/lib/checkbox/src/group.min.js +1 -0
- package/lib/checkbox/style/style.css +107 -0
- package/lib/checkbox/style/style.min.css +1 -0
- package/lib/checkbox-group/index.js +17 -0
- package/lib/checkbox-group/index.min.js +1 -0
- package/lib/checkbox-group/style/style.css +0 -0
- package/lib/checkbox-group/style/style.min.css +0 -0
- package/lib/col/index.js +1 -1
- package/lib/col/index.min.js +1 -1
- package/lib/components.js +314 -63
- package/lib/components.min.js +1 -1
- package/lib/dynamics/index.js +36 -0
- package/lib/dynamics/index.min.js +1 -0
- package/lib/form/index.js +15 -0
- package/lib/form/index.min.js +1 -0
- package/lib/form/src/form-config-item.js +192 -0
- package/lib/form/src/form-config-item.min.js +1 -0
- package/lib/form/src/form-gather.js +57 -0
- package/lib/form/src/form-gather.min.js +1 -0
- package/lib/form/src/form-item.js +247 -0
- package/lib/form/src/form-item.min.js +1 -0
- package/lib/form/src/form.js +768 -0
- package/lib/form/src/form.min.js +1 -0
- package/lib/form/src/itemInfo.js +47 -0
- package/lib/form/src/itemInfo.min.js +1 -0
- package/lib/form/src/render.js +84 -0
- package/lib/form/src/render.min.js +1 -0
- package/lib/form/src/util.js +108 -0
- package/lib/form/src/util.min.js +1 -0
- package/lib/form/style/index.js +1 -0
- package/lib/form/style/style.css +321 -0
- package/lib/form/style/style.min.css +1 -0
- package/lib/form-design/index.js +15 -0
- package/lib/form-design/index.min.js +1 -0
- package/lib/form-design/src/form-design.js +87 -0
- package/lib/form-design/src/form-design.min.js +1 -0
- package/lib/form-design/src/setting.js +18 -0
- package/lib/form-design/src/setting.min.js +1 -0
- package/lib/form-design/src/util.js +17 -0
- package/lib/form-design/src/util.min.js +1 -0
- package/lib/form-design/src/view.js +147 -0
- package/lib/form-design/src/view.min.js +1 -0
- package/lib/form-design/src/widget.js +114 -0
- package/lib/form-design/src/widget.min.js +1 -0
- package/lib/form-design/style/index.js +1 -0
- package/lib/form-design/style/style.css +97 -0
- package/lib/form-design/style/style.min.css +1 -0
- package/lib/form-gather/index.js +15 -0
- package/lib/form-gather/index.min.js +1 -0
- package/lib/form-gather/style/index.js +1 -0
- package/lib/form-gather/style/style.css +0 -0
- package/lib/form-gather/style/style.min.css +0 -0
- package/lib/form-item/index.js +15 -0
- package/lib/form-item/index.min.js +1 -0
- package/lib/form-item/style/index.js +1 -0
- package/lib/form-item/style/style.css +0 -0
- package/lib/form-item/style/style.min.css +0 -0
- package/lib/icon/style/style.css +540 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +11125 -800
- package/lib/index.umd.min.js +1 -1
- package/lib/input/index.js +17 -0
- package/lib/input/index.min.js +1 -0
- package/lib/input/src/date.js +46 -0
- package/lib/input/src/date.min.js +1 -0
- package/lib/input/src/input.js +2546 -0
- package/lib/input/src/input.min.js +1 -0
- package/lib/input/src/number.js +18 -0
- package/lib/input/src/number.min.js +1 -0
- package/lib/input/style/index.js +1 -0
- package/lib/input/style/style.css +1000 -0
- package/lib/input/style/style.min.css +1 -0
- package/lib/layout-aside/src/layout-aside.js +5 -2
- package/lib/layout-aside/src/layout-aside.min.js +1 -1
- package/lib/layout-aside/style/style.css +3 -0
- package/lib/layout-aside/style/style.min.css +1 -1
- package/lib/layout-body/src/layout-body.js +9 -2
- package/lib/layout-body/src/layout-body.min.js +1 -1
- package/lib/layout-body/style/style.css +3 -0
- package/lib/layout-body/style/style.min.css +1 -1
- package/lib/layout-container/src/layout-container.js +4 -1
- package/lib/layout-container/src/layout-container.min.js +1 -1
- package/lib/layout-footer/src/layout-footer.js +8 -3
- package/lib/layout-footer/src/layout-footer.min.js +1 -1
- package/lib/layout-footer/style/style.css +3 -0
- package/lib/layout-footer/style/style.min.css +1 -1
- package/lib/list-design/index.js +15 -0
- package/lib/list-design/index.min.js +1 -0
- package/lib/{design/src/design.js → list-design/src/list-design.js} +7 -7
- package/lib/list-design/src/list-design.min.js +1 -0
- package/lib/list-design/style/index.js +1 -0
- package/lib/list-design/style/style.css +0 -0
- package/lib/list-design/style/style.min.css +0 -0
- package/lib/loading/index.js +15 -0
- package/lib/loading/index.min.js +1 -0
- package/lib/loading/src/loading.js +49 -0
- package/lib/loading/src/loading.min.js +1 -0
- package/lib/loading/style/index.js +1 -0
- package/lib/loading/style/style.css +75 -0
- package/lib/loading/style/style.min.css +1 -0
- package/lib/modal/index.js +110 -0
- package/lib/modal/index.min.js +1 -0
- package/lib/modal/src/modal.js +1064 -0
- package/lib/modal/src/modal.min.js +1 -0
- package/lib/modal/style/index.js +1 -0
- package/lib/modal/style/style.css +323 -0
- package/lib/modal/style/style.min.css +1 -0
- package/lib/optgroup/index.js +17 -0
- package/lib/optgroup/index.min.js +1 -0
- package/lib/optgroup/style/index.js +1 -0
- package/lib/optgroup/style/style.css +0 -0
- package/lib/optgroup/style/style.min.css +0 -0
- package/lib/option/index.js +17 -0
- package/lib/option/index.min.js +1 -0
- package/lib/option/style/index.js +1 -0
- package/lib/option/style/style.css +0 -0
- package/lib/option/style/style.min.css +0 -0
- package/lib/pager/index.js +17 -0
- package/lib/pager/index.min.js +1 -0
- package/lib/pager/src/pager.js +593 -0
- package/lib/pager/src/pager.min.js +1 -0
- package/lib/pager/style/index.js +1 -0
- package/lib/pager/style/style.css +319 -0
- package/lib/pager/style/style.min.css +1 -0
- package/lib/pulldown/index.js +17 -0
- package/lib/pulldown/index.min.js +1 -0
- package/lib/pulldown/src/pulldown.js +359 -0
- package/lib/pulldown/src/pulldown.min.js +1 -0
- package/lib/pulldown/style/index.js +1 -0
- package/lib/pulldown/style/style.css +57 -0
- package/lib/pulldown/style/style.min.css +1 -0
- package/lib/radio/index.js +17 -0
- package/lib/radio/index.min.js +1 -0
- package/lib/radio/src/button.js +135 -0
- package/lib/radio/src/button.min.js +1 -0
- package/lib/radio/src/group.js +108 -0
- package/lib/radio/src/group.min.js +1 -0
- package/lib/radio/src/radio.js +139 -0
- package/lib/radio/src/radio.min.js +1 -0
- package/lib/radio/style/index.js +1 -0
- package/lib/radio/style/style.css +143 -0
- package/lib/radio/style/style.min.css +1 -0
- package/lib/radio-button/index.js +17 -0
- package/lib/radio-button/index.min.js +1 -0
- package/lib/radio-button/style/index.js +1 -0
- package/lib/radio-button/style/style.css +0 -0
- package/lib/radio-button/style/style.min.css +0 -0
- package/lib/radio-group/index.js +17 -0
- package/lib/radio-group/index.min.js +1 -0
- package/lib/radio-group/style/index.js +1 -0
- package/lib/radio-group/style/style.css +0 -0
- package/lib/radio-group/style/style.min.css +0 -0
- package/lib/select/index.js +17 -0
- package/lib/select/index.min.js +1 -0
- package/lib/select/src/optgroup.js +47 -0
- package/lib/select/src/optgroup.min.js +1 -0
- package/lib/select/src/option.js +45 -0
- package/lib/select/src/option.min.js +1 -0
- package/lib/select/src/optionInfo.js +24 -0
- package/lib/select/src/optionInfo.min.js +1 -0
- package/lib/select/src/select.js +1104 -0
- package/lib/select/src/select.min.js +1 -0
- package/lib/select/src/util.js +57 -0
- package/lib/select/src/util.min.js +1 -0
- package/lib/select/style/index.js +1 -0
- package/lib/select/style/style.css +201 -0
- package/lib/select/style/style.min.css +1 -0
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/switch/index.js +17 -0
- package/lib/switch/index.min.js +1 -0
- package/lib/switch/src/switch.js +161 -0
- package/lib/switch/src/switch.min.js +1 -0
- package/lib/switch/style/index.js +1 -0
- package/lib/switch/style/style.css +97 -0
- package/lib/switch/style/style.min.css +1 -0
- package/lib/tab-pane/index.js +15 -0
- package/lib/tab-pane/index.min.js +1 -0
- package/lib/tab-pane/style/index.js +1 -0
- package/lib/tab-pane/style/style.css +0 -0
- package/lib/tab-pane/style/style.min.css +0 -0
- package/lib/tabs/index.js +15 -0
- package/lib/tabs/index.min.js +1 -0
- package/lib/tabs/src/tab-pane.js +73 -0
- package/lib/tabs/src/tab-pane.min.js +1 -0
- package/lib/tabs/src/tabs.js +240 -0
- package/lib/tabs/src/tabs.min.js +1 -0
- package/lib/tabs/src/util.js +27 -0
- package/lib/tabs/src/util.min.js +1 -0
- package/lib/tabs/style/index.js +1 -0
- package/lib/tabs/style/style.css +113 -0
- package/lib/tabs/style/style.min.css +1 -0
- package/lib/textarea/index.js +17 -0
- package/lib/textarea/index.min.js +1 -0
- package/lib/textarea/src/textarea.js +298 -0
- package/lib/textarea/src/textarea.min.js +1 -0
- package/lib/textarea/style/index.js +1 -0
- package/lib/textarea/style/style.css +102 -0
- package/lib/textarea/style/style.min.css +1 -0
- package/lib/tooltip/index.js +15 -0
- package/lib/tooltip/index.min.js +1 -0
- package/lib/tooltip/src/tooltip.js +418 -0
- package/lib/tooltip/src/tooltip.min.js +1 -0
- package/lib/tooltip/style/index.js +1 -0
- package/lib/tooltip/style/style.css +103 -0
- package/lib/tooltip/style/style.min.css +1 -0
- package/lib/ui/src/core.js +49 -2
- package/lib/ui/src/core.min.js +1 -1
- package/lib/ui/src/dom.js +22 -0
- package/lib/ui/src/dom.min.js +1 -1
- package/lib/ui/src/globalStore.js +119 -4
- package/lib/ui/src/globalStore.min.js +1 -1
- package/lib/ui/src/i18n.js +14 -0
- package/lib/ui/src/i18n.min.js +1 -0
- package/lib/ui/src/log.js +2 -3
- package/lib/ui/src/log.min.js +1 -1
- package/lib/ui/src/renderer.js +77 -0
- package/lib/ui/src/renderer.min.js +1 -0
- package/lib/ui/src/store.js +49 -0
- package/lib/ui/src/store.min.js +1 -0
- package/lib/ui/src/utils.js +12 -0
- package/lib/ui/src/utils.min.js +1 -1
- package/lib/ui/src/validators.js +14 -0
- package/lib/ui/src/validators.min.js +1 -0
- package/lib/ui/src/vn.js +18 -0
- package/lib/ui/src/vn.min.js +1 -0
- package/lib/vxe-button/style/style.css +17 -17
- package/lib/vxe-button/style/style.min.css +1 -1
- package/lib/vxe-checkbox/index.js +22 -0
- package/lib/vxe-checkbox/index.min.js +1 -0
- package/lib/vxe-checkbox/style/index.js +1 -0
- package/lib/vxe-checkbox/style/style.css +107 -0
- package/lib/vxe-checkbox/style/style.min.css +1 -0
- package/lib/vxe-checkbox-group/index.js +22 -0
- package/lib/vxe-checkbox-group/index.min.js +1 -0
- package/lib/vxe-checkbox-group/style/index.js +1 -0
- package/lib/vxe-checkbox-group/style/style.css +0 -0
- package/lib/vxe-checkbox-group/style/style.min.css +0 -0
- package/lib/{vxe-design → vxe-form}/index.js +5 -5
- package/lib/vxe-form/index.min.js +1 -0
- package/lib/vxe-form/style/index.js +1 -0
- package/lib/vxe-form/style/style.css +321 -0
- package/lib/vxe-form/style/style.min.css +1 -0
- package/lib/vxe-form-design/index.js +22 -0
- package/lib/vxe-form-design/index.min.js +1 -0
- package/lib/vxe-form-design/style/index.js +1 -0
- package/lib/vxe-form-design/style/style.css +97 -0
- package/lib/vxe-form-design/style/style.min.css +1 -0
- package/lib/vxe-form-gather/index.js +22 -0
- package/lib/vxe-form-gather/index.min.js +1 -0
- package/lib/vxe-form-gather/style/index.js +1 -0
- package/lib/vxe-form-gather/style/style.css +0 -0
- package/lib/vxe-form-gather/style/style.min.css +0 -0
- package/lib/vxe-form-item/index.js +22 -0
- package/lib/vxe-form-item/index.min.js +1 -0
- package/lib/vxe-form-item/style/index.js +1 -0
- package/lib/vxe-form-item/style/style.css +0 -0
- package/lib/vxe-form-item/style/style.min.css +0 -0
- package/lib/vxe-icon/style/style.css +540 -1
- package/lib/vxe-icon/style/style.min.css +1 -1
- package/lib/vxe-input/index.js +22 -0
- package/lib/vxe-input/index.min.js +1 -0
- package/lib/vxe-input/style/index.js +1 -0
- package/lib/vxe-input/style/style.css +1000 -0
- package/lib/vxe-input/style/style.min.css +1 -0
- package/lib/vxe-layout-aside/style/style.css +3 -0
- package/lib/vxe-layout-aside/style/style.min.css +1 -1
- package/lib/vxe-layout-body/style/style.css +3 -0
- package/lib/vxe-layout-body/style/style.min.css +1 -1
- package/lib/vxe-layout-footer/style/style.css +3 -0
- package/lib/vxe-layout-footer/style/style.min.css +1 -1
- package/lib/vxe-list-design/index.js +22 -0
- package/lib/vxe-list-design/index.min.js +1 -0
- package/lib/vxe-list-design/style/index.js +1 -0
- package/lib/vxe-list-design/style/style.css +0 -0
- package/lib/vxe-list-design/style/style.min.css +0 -0
- package/lib/vxe-loading/index.js +22 -0
- package/lib/vxe-loading/index.min.js +1 -0
- package/lib/vxe-loading/style/index.js +1 -0
- package/lib/vxe-loading/style/style.css +75 -0
- package/lib/vxe-loading/style/style.min.css +1 -0
- package/lib/vxe-modal/index.js +22 -0
- package/lib/vxe-modal/index.min.js +1 -0
- package/lib/vxe-modal/style/index.js +1 -0
- package/lib/vxe-modal/style/style.css +323 -0
- package/lib/vxe-modal/style/style.min.css +1 -0
- package/lib/vxe-optgroup/index.js +22 -0
- package/lib/vxe-optgroup/index.min.js +1 -0
- package/lib/vxe-optgroup/style/index.js +1 -0
- package/lib/vxe-optgroup/style/style.css +0 -0
- package/lib/vxe-optgroup/style/style.min.css +0 -0
- package/lib/vxe-option/index.js +22 -0
- package/lib/vxe-option/index.min.js +1 -0
- package/lib/vxe-option/style/index.js +1 -0
- package/lib/vxe-option/style/style.css +0 -0
- package/lib/vxe-option/style/style.min.css +0 -0
- package/lib/vxe-pager/index.js +22 -0
- package/lib/vxe-pager/index.min.js +1 -0
- package/lib/vxe-pager/style/index.js +1 -0
- package/lib/vxe-pager/style/style.css +319 -0
- package/lib/vxe-pager/style/style.min.css +1 -0
- package/lib/vxe-pulldown/index.js +22 -0
- package/lib/vxe-pulldown/index.min.js +1 -0
- package/lib/vxe-pulldown/style/index.js +1 -0
- package/lib/vxe-pulldown/style/style.css +57 -0
- package/lib/vxe-pulldown/style/style.min.css +1 -0
- package/lib/vxe-radio/index.js +22 -0
- package/lib/vxe-radio/index.min.js +1 -0
- package/lib/vxe-radio/style/index.js +1 -0
- package/lib/vxe-radio/style/style.css +143 -0
- package/lib/vxe-radio/style/style.min.css +1 -0
- package/lib/vxe-radio-button/index.js +22 -0
- package/lib/vxe-radio-button/index.min.js +1 -0
- package/lib/vxe-radio-button/style/index.js +1 -0
- package/lib/vxe-radio-button/style/style.css +0 -0
- package/lib/vxe-radio-button/style/style.min.css +0 -0
- package/lib/vxe-radio-group/index.js +22 -0
- package/lib/vxe-radio-group/index.min.js +1 -0
- package/lib/vxe-radio-group/style/index.js +1 -0
- package/lib/vxe-radio-group/style/style.css +0 -0
- package/lib/vxe-radio-group/style/style.min.css +0 -0
- package/lib/vxe-select/index.js +22 -0
- package/lib/vxe-select/index.min.js +1 -0
- package/lib/vxe-select/style/index.js +1 -0
- package/lib/vxe-select/style/style.css +201 -0
- package/lib/vxe-select/style/style.min.css +1 -0
- package/lib/vxe-switch/index.js +22 -0
- package/lib/vxe-switch/index.min.js +1 -0
- package/lib/vxe-switch/style/index.js +1 -0
- package/lib/vxe-switch/style/style.css +97 -0
- package/lib/vxe-switch/style/style.min.css +1 -0
- package/lib/vxe-tab-pane/index.js +22 -0
- package/lib/vxe-tab-pane/index.min.js +1 -0
- package/lib/vxe-tab-pane/style/index.js +1 -0
- package/lib/vxe-tab-pane/style/style.css +0 -0
- package/lib/vxe-tab-pane/style/style.min.css +0 -0
- package/lib/vxe-tabs/index.js +22 -0
- package/lib/vxe-tabs/index.min.js +1 -0
- package/lib/vxe-tabs/style/index.js +1 -0
- package/lib/vxe-tabs/style/style.css +113 -0
- package/lib/vxe-tabs/style/style.min.css +1 -0
- package/lib/vxe-textarea/index.js +22 -0
- package/lib/vxe-textarea/index.min.js +1 -0
- package/lib/vxe-textarea/style/index.js +1 -0
- package/lib/vxe-textarea/style/style.css +102 -0
- package/lib/vxe-textarea/style/style.min.css +1 -0
- package/lib/vxe-tooltip/index.js +22 -0
- package/lib/vxe-tooltip/index.min.js +1 -0
- package/lib/vxe-tooltip/style/index.js +1 -0
- package/lib/vxe-tooltip/style/style.css +103 -0
- package/lib/vxe-tooltip/style/style.min.css +1 -0
- package/package.json +1 -1
- package/packages/{anchor-link → anchor}/src/anchor-link.ts +2 -2
- package/packages/anchor/src/anchor.ts +1 -1
- package/packages/{anchor-link → anchor}/src/util.ts +1 -1
- package/packages/anchor-link/index.ts +1 -1
- package/packages/{button-group → button}/src/button-group.ts +2 -2
- package/packages/button/src/button.ts +3 -3
- package/packages/button-group/index.ts +1 -1
- package/packages/checkbox/index.ts +15 -0
- package/packages/checkbox/src/checkbox.ts +131 -0
- package/packages/checkbox/src/group.ts +127 -0
- package/packages/checkbox-group/index.ts +15 -0
- package/packages/col/index.ts +1 -1
- package/packages/components.ts +106 -35
- package/packages/dynamics/index.ts +34 -0
- package/packages/form/index.ts +11 -0
- package/packages/form/src/form-config-item.ts +193 -0
- package/packages/form/src/form-gather.ts +60 -0
- package/packages/form/src/form-item.ts +253 -0
- package/packages/form/src/form.ts +717 -0
- package/packages/form/src/itemInfo.ts +43 -0
- package/packages/form/src/render.ts +83 -0
- package/packages/form/src/util.ts +79 -0
- package/packages/form-design/index.ts +11 -0
- package/packages/form-design/src/form-design.ts +99 -0
- package/packages/form-design/src/setting.ts +13 -0
- package/packages/form-design/src/util.ts +10 -0
- package/packages/form-design/src/view.ts +125 -0
- package/packages/form-design/src/widget.ts +117 -0
- package/packages/form-gather/index.ts +11 -0
- package/packages/form-item/index.ts +11 -0
- package/packages/icon/src/icon.ts +1 -1
- package/packages/input/index.ts +15 -0
- package/packages/input/src/date.ts +42 -0
- package/packages/input/src/input.ts +2480 -0
- package/packages/input/src/number.ts +12 -0
- package/packages/layout-aside/src/layout-aside.ts +8 -6
- package/packages/layout-body/src/layout-body.ts +9 -4
- package/packages/layout-container/src/layout-container.ts +5 -4
- package/packages/layout-footer/src/layout-footer.ts +7 -5
- package/packages/layout-header/src/layout-header.ts +3 -3
- package/packages/list-design/index.ts +11 -0
- package/packages/list-design/src/list-design.ts +55 -0
- package/packages/loading/index.ts +11 -0
- package/packages/loading/src/loading.ts +56 -0
- package/packages/modal/index.ts +110 -0
- package/packages/modal/src/modal.ts +950 -0
- package/packages/optgroup/index.ts +15 -0
- package/packages/option/index.ts +15 -0
- package/packages/pager/index.ts +15 -0
- package/packages/pager/src/pager.ts +595 -0
- package/packages/pulldown/index.ts +15 -0
- package/packages/pulldown/src/pulldown.ts +349 -0
- package/packages/radio/index.ts +15 -0
- package/packages/radio/src/button.ts +132 -0
- package/packages/radio/src/group.ts +110 -0
- package/packages/radio/src/radio.ts +137 -0
- package/packages/radio-button/index.ts +15 -0
- package/packages/radio-group/index.ts +15 -0
- package/packages/select/index.ts +15 -0
- package/packages/select/src/optgroup.ts +39 -0
- package/packages/select/src/option.ts +38 -0
- package/packages/select/src/optionInfo.ts +20 -0
- package/packages/select/src/select.ts +1034 -0
- package/packages/select/src/util.ts +47 -0
- package/packages/switch/index.ts +15 -0
- package/packages/switch/src/switch.ts +171 -0
- package/packages/tab-pane/index.ts +11 -0
- package/packages/tabs/index.ts +11 -0
- package/packages/tabs/src/tab-pane.ts +85 -0
- package/packages/tabs/src/tabs.ts +223 -0
- package/packages/tabs/src/util.ts +21 -0
- package/packages/textarea/index.ts +15 -0
- package/packages/textarea/src/textarea.ts +273 -0
- package/packages/tooltip/index.ts +11 -0
- package/packages/tooltip/src/tooltip.ts +360 -0
- package/packages/ui/src/core.ts +13 -1
- package/packages/ui/src/dom.ts +23 -0
- package/packages/ui/src/globalStore.ts +122 -5
- package/packages/ui/src/i18n.ts +8 -0
- package/packages/ui/src/log.ts +2 -2
- package/packages/ui/src/renderer.ts +71 -0
- package/packages/ui/src/store.ts +49 -0
- package/packages/ui/src/utils.ts +12 -0
- package/packages/ui/src/validators.ts +9 -0
- package/packages/ui/src/vn.ts +14 -0
- package/styles/all.scss +32 -10
- package/styles/base/common.scss +13 -0
- package/styles/components/button.scss +8 -8
- package/styles/components/checkbox-group.scss +0 -0
- package/styles/components/checkbox.scss +91 -0
- package/styles/components/form-design.scss +93 -0
- package/styles/components/form-gather.scss +0 -0
- package/styles/components/form-item.scss +0 -0
- package/styles/components/form.scss +339 -0
- package/styles/components/icon.scss +3 -1
- package/styles/components/input.scss +911 -0
- package/styles/components/layout-aside.scss +3 -0
- package/styles/components/layout-body.scss +3 -0
- package/styles/components/layout-footer.scss +3 -0
- package/styles/components/list-design.scss +0 -0
- package/styles/components/list.scss +26 -0
- package/styles/components/loading.scss +84 -0
- package/styles/components/modal.scss +383 -0
- package/styles/components/old-icon.scss +712 -0
- package/styles/components/optgroup.scss +0 -0
- package/styles/components/option.scss +0 -0
- package/styles/components/pager.scss +287 -0
- package/styles/components/pulldown.scss +55 -0
- package/styles/components/radio-button.scss +0 -0
- package/styles/components/radio-group.scss +0 -0
- package/styles/components/radio.scss +149 -0
- package/styles/components/select.scss +226 -0
- package/styles/components/switch.scss +113 -0
- package/styles/components/tab-pane.scss +0 -0
- package/styles/components/tabs.scss +116 -0
- package/styles/components/textarea.scss +102 -0
- package/styles/components/tooltip.scss +124 -0
- package/styles/helpers/mixin.scss +12 -12
- package/styles/theme/base.scss +143 -6
- package/types/all.d.ts +68 -33
- package/types/{component → components}/anchor-link.d.ts +17 -2
- package/types/{component → components}/anchor.d.ts +10 -2
- package/types/{component → components}/breadcrumb-item.d.ts +12 -1
- package/types/{component → components}/breadcrumb.d.ts +10 -2
- package/types/{component → components}/button-group.d.ts +11 -3
- package/types/{component → components}/button.d.ts +14 -3
- package/types/components/checkbox-group.d.ts +112 -0
- package/types/components/checkbox.d.ts +119 -0
- package/types/{component → components}/col.d.ts +9 -1
- package/types/components/form-design.d.ts +88 -0
- package/types/components/form-gather.d.ts +75 -0
- package/types/components/form-item.d.ts +231 -0
- package/types/components/form.d.ts +349 -0
- package/types/{component → components}/icon.d.ts +7 -2
- package/types/components/input.d.ts +375 -0
- package/types/{component → components}/layout-aside.d.ts +20 -3
- package/types/{component → components}/layout-body.d.ts +14 -3
- package/types/{component → components}/layout-container.d.ts +14 -3
- package/types/{component → components}/layout-footer.d.ts +17 -4
- package/types/{component → components}/layout-header.d.ts +11 -2
- package/types/components/list-design.d.ts +67 -0
- package/types/components/loading.d.ts +66 -0
- package/types/components/modal.d.ts +381 -0
- package/types/components/optgroup.d.ts +80 -0
- package/types/components/option.d.ts +99 -0
- package/types/components/pager.d.ts +208 -0
- package/types/components/pulldown.d.ts +134 -0
- package/types/components/radio-button.d.ts +99 -0
- package/types/components/radio-group.d.ts +107 -0
- package/types/components/radio.d.ts +119 -0
- package/types/{component → components}/row.d.ts +10 -2
- package/types/components/select.d.ts +274 -0
- package/types/components/switch.d.ts +118 -0
- package/types/components/tab-pane.d.ts +84 -0
- package/types/components/tabs.d.ts +80 -0
- package/types/components/textarea.d.ts +212 -0
- package/types/components/tooltip.d.ts +122 -0
- package/types/tool/common.d.ts +5 -0
- package/types/ui/global-config.d.ts +43 -6
- package/types/ui/global-icon.d.ts +80 -10
- package/types/ui/index.d.ts +25 -2
- package/types/ui/renderer.d.ts +239 -0
- package/types/ui/validators.d.ts +26 -0
- package/es/design/index.js +0 -8
- package/es/vxe-design/index.js +0 -3
- package/lib/anchor-link/src/util.min.js +0 -1
- package/lib/button-group/src/button-group.min.js +0 -1
- package/lib/design/index.js +0 -15
- package/lib/design/index.min.js +0 -1
- package/lib/design/src/design.min.js +0 -1
- package/lib/vxe-design/index.min.js +0 -1
- package/packages/design/index.ts +0 -11
- package/packages/design/src/design.ts +0 -55
- package/styles/components/design.scss +0 -1
- package/types/component/design.d.ts +0 -63
- /package/es/{design → checkbox-group}/style.css +0 -0
- /package/es/{design → checkbox-group}/style.min.css +0 -0
- /package/es/{vxe-design → form-gather}/style.css +0 -0
- /package/es/{vxe-design → form-gather}/style.min.css +0 -0
- /package/{lib/design/style → es/form-item}/style.css +0 -0
- /package/{lib/design/style → es/form-item}/style.min.css +0 -0
- /package/{lib/vxe-design/style → es/list-design}/style.css +0 -0
- /package/{lib/vxe-design/style → es/list-design}/style.min.css +0 -0
- /package/es/{col → row}/src/col.js +0 -0
- /package/lib/{vxe-design → checkbox}/style/index.js +0 -0
- /package/lib/{design → checkbox-group}/style/index.js +0 -0
- /package/lib/{col → row}/src/col.js +0 -0
- /package/lib/{col → row}/src/col.min.js +0 -0
- /package/packages/{col → row}/src/col.ts +0 -0
package/styles/theme/base.scss
CHANGED
|
@@ -5,6 +5,7 @@ $vxe-ui-status-success-color: #67c23a;
|
|
|
5
5
|
$vxe-ui-status-info-color: #909399;
|
|
6
6
|
$vxe-ui-status-warning-color: #e6a23c;
|
|
7
7
|
$vxe-ui-status-danger-color: #f56c6c;
|
|
8
|
+
$vxe-ui-status-error-color: #f56c6c;
|
|
8
9
|
|
|
9
10
|
:root {
|
|
10
11
|
/*font*/
|
|
@@ -19,40 +20,55 @@ $vxe-ui-status-danger-color: #f56c6c;
|
|
|
19
20
|
/*font color*/
|
|
20
21
|
--vxe-ui-font-color: #{$vxe-ui-font-color}; // 全局默认字体颜色
|
|
21
22
|
--vxe-ui-font-primary-color: #{$vxe-ui-font-primary-color}; // 主要字体颜色
|
|
23
|
+
--vxe-ui-font-primary-lighten-color: #{lighten($vxe-ui-font-primary-color, 10%)};
|
|
24
|
+
--vxe-ui-font-primary-darken-color: #{darken($vxe-ui-font-primary-color, 10%)};
|
|
25
|
+
--vxe-ui-font-primary-disabled-color: #{lighten($vxe-ui-font-primary-color, 20%)};
|
|
22
26
|
--vxe-ui-font-secondary-color: #909399; // 次要字体颜色
|
|
23
27
|
--vxe-ui-font-placeholder-color: #a8abb2; // 占位符字体颜色
|
|
28
|
+
--vxe-ui-font-lighten-color: #{lighten($vxe-ui-font-color, 10%)};
|
|
29
|
+
--vxe-ui-font-darken-color: #{darken($vxe-ui-font-color, 10%)};
|
|
30
|
+
--vxe-ui-font-disabled-color: #BFBFBF;
|
|
24
31
|
|
|
25
32
|
/*base border*/
|
|
26
33
|
--vxe-ui-border-radius: 4px;
|
|
27
34
|
|
|
35
|
+
/*input/radio/checkbox*/
|
|
36
|
+
--vxe-ui-input-border-color: #dcdfe6;
|
|
37
|
+
--vxe-ui-input-disabled-color: #8D9095;
|
|
38
|
+
--vxe-ui-input-disabled-background-color: #585656;
|
|
39
|
+
--vxe-ui-input-placeholder-color: #8D9095;
|
|
40
|
+
|
|
41
|
+
/*popup*/
|
|
42
|
+
--vxe-ui-base-popup-border-color: #424242;
|
|
43
|
+
|
|
28
44
|
/*base status*/
|
|
29
45
|
--vxe-ui-status-success-color: #{$vxe-ui-status-success-color};
|
|
30
46
|
--vxe-ui-status-info-color: #{$vxe-ui-status-info-color};
|
|
31
47
|
--vxe-ui-status-warning-color: #{$vxe-ui-status-warning-color};
|
|
32
48
|
--vxe-ui-status-danger-color: #{$vxe-ui-status-danger-color};
|
|
49
|
+
--vxe-ui-status-error-color: #{$vxe-ui-status-error-color};
|
|
33
50
|
|
|
34
|
-
--vxe-ui-status-font-lighten-color: #{lighten($vxe-ui-font-color, 10%)};
|
|
35
|
-
--vxe-ui-status-primary-lighten-color: #{lighten($vxe-ui-font-primary-color, 10%)};
|
|
36
51
|
--vxe-ui-status-success-lighten-color: #{lighten($vxe-ui-status-success-color, 10%)};
|
|
37
52
|
--vxe-ui-status-info-lighten-color: #{lighten($vxe-ui-status-info-color, 10%)};
|
|
38
53
|
--vxe-ui-status-warning-lighten-color: #{lighten($vxe-ui-status-warning-color, 10%)};
|
|
39
54
|
--vxe-ui-status-danger-lighten-color: #{lighten($vxe-ui-status-danger-color, 10%)};
|
|
55
|
+
--vxe-ui-status-error-lighten-color: #{lighten($vxe-ui-status-error-color, 10%)};
|
|
40
56
|
|
|
41
|
-
--vxe-ui-status-font-darken-color: #{darken($vxe-ui-font-color, 10%)};
|
|
42
|
-
--vxe-ui-status-primary-darken-color: #{darken($vxe-ui-font-primary-color, 10%)};
|
|
43
57
|
--vxe-ui-status-success-darken-color: #{darken($vxe-ui-status-success-color, 10%)};
|
|
44
58
|
--vxe-ui-status-info-darken-color: #{darken($vxe-ui-status-info-color, 10%)};
|
|
45
59
|
--vxe-ui-status-warning-darken-color: #{darken($vxe-ui-status-warning-color, 10%)};
|
|
46
60
|
--vxe-ui-status-danger-darken-color: #{darken($vxe-ui-status-danger-color, 10%)};
|
|
61
|
+
--vxe-ui-status-error-lighten-color: #{lighten($vxe-ui-status-error-color, 10%)};
|
|
47
62
|
|
|
48
|
-
--vxe-ui-status-font-disabled-color: #BFBFBF;
|
|
49
|
-
--vxe-ui-status-primary-disabled-color: #{lighten($vxe-ui-font-primary-color, 20%)};
|
|
50
63
|
--vxe-ui-status-success-disabled-color: #{lighten($vxe-ui-status-success-color, 20%)};
|
|
51
64
|
--vxe-ui-status-info-disabled-color: #{lighten($vxe-ui-status-info-color, 20%)};
|
|
52
65
|
--vxe-ui-status-warning-disabled-color: #{lighten($vxe-ui-status-warning-color, 20%)};
|
|
53
66
|
--vxe-ui-status-danger-disabled-color: #{lighten($vxe-ui-status-danger-color, 20%)};
|
|
67
|
+
--vxe-ui-status-error-lighten-color: #{lighten($vxe-ui-status-error-color, 10%)};
|
|
54
68
|
|
|
55
69
|
/*layout*/
|
|
70
|
+
--vxe-ui-layout-padding-default: 8px;
|
|
71
|
+
--vxe-ui-layout-padding-half: calc(var(--vxe-ui-layout-padding-default) / 2);
|
|
56
72
|
--vxe-ui-layout-aside-default-width: 300px;
|
|
57
73
|
--vxe-ui-layout-aside-collapse-width: 60px;
|
|
58
74
|
|
|
@@ -71,6 +87,48 @@ $vxe-ui-status-danger-color: #f56c6c;
|
|
|
71
87
|
--vxe-ui-button-round-border-radius-small: 15px;
|
|
72
88
|
--vxe-ui-button-round-border-radius-mini: 14px;
|
|
73
89
|
|
|
90
|
+
/*input*/
|
|
91
|
+
--vxe-ui-input-background-color: #fff;
|
|
92
|
+
--vxe-ui-input-panel-background-color: var(--vxe-ui-input-background-color);
|
|
93
|
+
--vxe-ui-input-number-disabled-color: #e4e7ed;
|
|
94
|
+
--vxe-ui-input-date-festival-color: #999999;
|
|
95
|
+
--vxe-ui-input-date-festival-important-color: var(--vxe-ui-font-primary-color);
|
|
96
|
+
--vxe-ui-input-date-notice-background-color: #FF0000;
|
|
97
|
+
--vxe-ui-input-date-picker-hover-background-color: #f2f6fc;
|
|
98
|
+
--vxe-ui-input-date-picker-selected-color: #fff;
|
|
99
|
+
--vxe-ui-input-date-time-confirm-button-color: #fff;
|
|
100
|
+
--vxe-ui-input-date-picker-festival-selected-color: var(--vxe-ui-input-date-picker-selected-color);
|
|
101
|
+
--vxe-ui-input-date-picker-notice-selected-background-color: var(--vxe-ui-input-date-picker-selected-color);
|
|
102
|
+
--vxe-ui-input-date-extra-color: #67c23a;
|
|
103
|
+
--vxe-ui-input-date-extra-important-color: #fd2222;
|
|
104
|
+
--vxe-ui-input-date-title-height-default: 30px;
|
|
105
|
+
--vxe-ui-input-date-title-height-medium: 29px;
|
|
106
|
+
--vxe-ui-input-date-title-height-small: 28px;
|
|
107
|
+
--vxe-ui-input-date-title-height-mini: 26px;
|
|
108
|
+
--vxe-ui-input-date-time-week-row-height-default: 38px;
|
|
109
|
+
--vxe-ui-input-date-time-week-row-height-medium: 36px;
|
|
110
|
+
--vxe-ui-input-date-time-week-row-height-small: 34px;
|
|
111
|
+
--vxe-ui-input-date-time-week-row-height-mini: 32px;
|
|
112
|
+
--vxe-ui-input-date-month-year-row-height-default: 48px;
|
|
113
|
+
--vxe-ui-input-date-month-year-row-height-medium: 46px;
|
|
114
|
+
--vxe-ui-input-date-month-year-row-height-small: 44px;
|
|
115
|
+
--vxe-ui-input-date-month-year-row-height-mini: 42px;
|
|
116
|
+
--vxe-ui-input-date-quarter-row-height-default: 60px;
|
|
117
|
+
--vxe-ui-input-date-quarter-row-height-medium: 58px;
|
|
118
|
+
--vxe-ui-input-date-quarter-row-height-small: 56px;
|
|
119
|
+
--vxe-ui-input-date-quarter-row-height-mini: 54px;
|
|
120
|
+
--vxe-ui-input-height-default: var(--vxe-ui-button-height-default);
|
|
121
|
+
--vxe-ui-input-height-medium: var(--vxe-ui-button-height-medium);
|
|
122
|
+
--vxe-ui-input-height-small: var(--vxe-ui-button-height-small);
|
|
123
|
+
--vxe-ui-input-height-mini: var(--vxe-ui-button-height-mini);
|
|
124
|
+
--vxe-ui-input-count-color: #999;
|
|
125
|
+
--vxe-ui-input-count-background-color: #fff;
|
|
126
|
+
--vxe-ui-input-count-error-color: var(--vxe-ui-status-error-color);
|
|
127
|
+
|
|
128
|
+
/*textarea*/
|
|
129
|
+
--vxe-ui-textarea-line-height: 1.5715;
|
|
130
|
+
--vxe-ui-textarea-background-color: #fff;
|
|
131
|
+
|
|
74
132
|
// anchor
|
|
75
133
|
--vxe-ui-anchor-link-color: var(--vxe-ui-font-secondary-color);
|
|
76
134
|
--vxe-ui-anchor-link-active-color: var(--vxe-ui-font-primary-color);
|
|
@@ -78,4 +136,83 @@ $vxe-ui-status-danger-color: #f56c6c;
|
|
|
78
136
|
// breadcrumb
|
|
79
137
|
--vxe-ui-breadcrumb-color: var(--vxe-ui-font-secondary-color);
|
|
80
138
|
--vxe-ui-breadcrumb-current-item-color: var(--vxe-ui-font-color);
|
|
139
|
+
|
|
140
|
+
/*loading*/
|
|
141
|
+
--vxe-ui-loading-color: var(--vxe-ui-font-primary-color);
|
|
142
|
+
--vxe-ui-loading-background-color: rgba(255, 255, 255, 0.5);
|
|
143
|
+
--vxe-ui-loading-z-index: 999;
|
|
144
|
+
|
|
145
|
+
/*tooltip*/
|
|
146
|
+
--vxe-ui-tooltip-dark-color: #fff;
|
|
147
|
+
--vxe-ui-tooltip-dark-background-color: #303133;
|
|
148
|
+
--vxe-ui-tooltip-light-background-color: #fff;
|
|
149
|
+
|
|
150
|
+
/*form*/
|
|
151
|
+
--vxe-ui-form-item-min-height-default: 36px;
|
|
152
|
+
--vxe-ui-form-item-min-height-medium: 34px;
|
|
153
|
+
--vxe-ui-form-item-min-height-small: 32px;
|
|
154
|
+
--vxe-ui-form-item-min-height-mini: 30px;
|
|
155
|
+
--vxe-ui-form-background-color: #fff;
|
|
156
|
+
--vxe-ui-form-validate-error-color: var(--vxe-ui-status-error-color);
|
|
157
|
+
--vxe-ui-form-validate-error-background-color: inherit;
|
|
158
|
+
|
|
159
|
+
// design-form
|
|
160
|
+
--vxe-ui-design-form-widget-item-background-color: #fff;
|
|
161
|
+
--vxe-ui-design-form-widget-item-hover-background-color: #{lighten($vxe-ui-font-primary-color, 10%)};
|
|
162
|
+
|
|
163
|
+
/*modal*/
|
|
164
|
+
--vxe-ui-modal-header-background-color: #F8F8F8;
|
|
165
|
+
--vxe-ui-modal-body-background-color: #fff;
|
|
166
|
+
--vxe-ui-modal-border-color: #ebeef5;
|
|
167
|
+
|
|
168
|
+
/*checkbox*/
|
|
169
|
+
--vxe-ui-checkbox-font-size-default: 15px;
|
|
170
|
+
--vxe-ui-checkbox-font-size-medium: 14px;
|
|
171
|
+
--vxe-ui-checkbox-font-size-small: 13px;
|
|
172
|
+
--vxe-ui-checkbox-font-size-mini: 12px;
|
|
173
|
+
--vxe-ui-checkbox-checked-width: 0.32em;
|
|
174
|
+
--vxe-ui-checkbox-checked-height: 0.64em;
|
|
175
|
+
--vxe-ui-checkbox-indeterminate-width: 0.6em;
|
|
176
|
+
--vxe-ui-checkbox-indeterminate-height: 2px;
|
|
177
|
+
--vxe-ui-checkbox-border-width: 2px;
|
|
178
|
+
--vxe-ui-checkbox-border-radius: 2px;
|
|
179
|
+
--vxe-ui-checkbox-icon-background-color: #fff;
|
|
180
|
+
--vxe-ui-checkbox-checked-icon-border-color: #fff;
|
|
181
|
+
--vxe-ui-checkbox-indeterminate-icon-background-color: #fff;
|
|
182
|
+
|
|
183
|
+
/*radio*/
|
|
184
|
+
--vxe-ui-radio-font-size-default: 15px;
|
|
185
|
+
--vxe-ui-radio-font-size-medium: 14px;
|
|
186
|
+
--vxe-ui-radio-font-size-small: 13px;
|
|
187
|
+
--vxe-ui-radio-font-size-mini: 12px;
|
|
188
|
+
--vxe-ui-radio-border-width: 0.32em;
|
|
189
|
+
--vxe-ui-radio-icon-background-color: #fff;
|
|
190
|
+
--vxe-ui-radio-checked-icon-background-color: #fff;
|
|
191
|
+
--vxe-ui-radio-indeterminate-icon-background-color: #fff;
|
|
192
|
+
--vxe-ui-radio-button-default-background-color: #fff;
|
|
193
|
+
|
|
194
|
+
/*select*/
|
|
195
|
+
--vxe-ui-select-option-height-default: 30px;
|
|
196
|
+
--vxe-ui-select-option-height-medium: 28px;
|
|
197
|
+
--vxe-ui-select-option-height-small: 26px;
|
|
198
|
+
--vxe-ui-select-option-height-mini: 24px;
|
|
199
|
+
--vxe-ui-select-option-hover-background-color: #f5f7fa;
|
|
200
|
+
--vxe-ui-select-panel-background-color: #fff;
|
|
201
|
+
--vxe-ui-select-empty-color: #C0C4CC;
|
|
202
|
+
--vxe-optgroup-title-color: #909399;
|
|
203
|
+
|
|
204
|
+
/*switch*/
|
|
205
|
+
--vxe-ui-switch-font-color: #fff;
|
|
206
|
+
--vxe-ui-switch-icon-background-color: #fff;
|
|
207
|
+
--vxe-ui-switch-open-background-color: var(--vxe-ui-font-primary-color);
|
|
208
|
+
--vxe-ui-switch-close-background-color: rgba(0,0,0,0.35);
|
|
209
|
+
--vxe-ui-switch-disabled-background-color: rgba(0,0,0,0.15) ;
|
|
210
|
+
|
|
211
|
+
/*pulldown*/
|
|
212
|
+
--vxe-ui-pulldown-panel-background-color: #fff;
|
|
213
|
+
|
|
214
|
+
/*pager*/
|
|
215
|
+
--vxe-ui-pager-background-color: #fff;
|
|
216
|
+
--vxe-ui-pager-perfect-background-color: #fff;
|
|
217
|
+
--vxe-ui-pager-perfect-button-background-color: #f4f4f5;
|
|
81
218
|
}
|
package/types/all.d.ts
CHANGED
|
@@ -1,20 +1,28 @@
|
|
|
1
1
|
import { App } from 'vue'
|
|
2
2
|
import { VxeUIExport, VxeGlobalConfig } from './ui'
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
3
|
+
|
|
4
|
+
import VxeIcon from './components/icon'
|
|
5
|
+
import VxeLayoutContainer from './components/layout-container'
|
|
6
|
+
import VxeLayoutHeader from './components/layout-header'
|
|
7
|
+
import VxeLayoutAside from './components/layout-aside'
|
|
8
|
+
import VxeLayoutBody from './components/layout-body'
|
|
9
|
+
import VxeLayoutFooter from './components/layout-footer'
|
|
10
|
+
import VxeRow from './components/row'
|
|
11
|
+
import VxeCol from './components/col'
|
|
12
|
+
import VxeBreadcrumb from './components/breadcrumb'
|
|
13
|
+
import VxeBreadcrumbItem from './components/breadcrumb-item'
|
|
14
|
+
import VxeButton from './components/button'
|
|
15
|
+
import VxeButtonGroup from './components/button-group'
|
|
16
|
+
import VxeAnchor from './components/anchor'
|
|
17
|
+
import VxeAnchorLink from './components/anchor-link'
|
|
18
|
+
import VxeLoading from './components/loading'
|
|
19
|
+
import VxeTooltip from './components/tooltip'
|
|
20
|
+
import VxeForm from './components/form'
|
|
21
|
+
import VxeFormItem from './components/form-item'
|
|
22
|
+
import VxeFormGather from './components/form-gather'
|
|
23
|
+
import VxeFormDesign from './components/form-design'
|
|
24
|
+
import VxeListDesign from './components/list-design'
|
|
25
|
+
import VxeModal from './components/modal'
|
|
18
26
|
|
|
19
27
|
export function install (app: App, options?: VxeGlobalConfig): void
|
|
20
28
|
|
|
@@ -34,9 +42,14 @@ declare module '@vue/runtime-core' {
|
|
|
34
42
|
VxeButtonGroup: typeof VxeButtonGroup
|
|
35
43
|
VxeAnchor: typeof VxeAnchor
|
|
36
44
|
VxeAnchorLink: typeof VxeAnchorLink
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
45
|
+
VxeLoading: typeof VxeLoading
|
|
46
|
+
VxeTooltip: typeof VxeTooltip
|
|
47
|
+
VxeForm: typeof VxeForm
|
|
48
|
+
VxeFormItem: typeof VxeFormItem
|
|
49
|
+
VxeFormGather: typeof VxeFormGather
|
|
50
|
+
VxeFormDesign: typeof VxeFormDesign
|
|
51
|
+
VxeListDesign: typeof VxeListDesign
|
|
52
|
+
VxeModal: typeof VxeModal
|
|
40
53
|
}
|
|
41
54
|
}
|
|
42
55
|
|
|
@@ -50,18 +63,40 @@ export * from './tool'
|
|
|
50
63
|
export * from './ui'
|
|
51
64
|
|
|
52
65
|
// Components
|
|
53
|
-
export * from './
|
|
54
|
-
export * from './
|
|
55
|
-
export * from './
|
|
56
|
-
export * from './
|
|
57
|
-
export * from './
|
|
58
|
-
export * from './
|
|
59
|
-
export * from './
|
|
60
|
-
export * from './
|
|
61
|
-
export * from './
|
|
62
|
-
export * from './
|
|
63
|
-
export * from './
|
|
64
|
-
export * from './
|
|
65
|
-
export * from './
|
|
66
|
-
export * from './
|
|
67
|
-
export * from './
|
|
66
|
+
export * from './components/anchor'
|
|
67
|
+
export * from './components/anchor-link'
|
|
68
|
+
export * from './components/breadcrumb'
|
|
69
|
+
export * from './components/breadcrumb-item'
|
|
70
|
+
export * from './components/button'
|
|
71
|
+
export * from './components/button-group'
|
|
72
|
+
export * from './components/checkbox'
|
|
73
|
+
export * from './components/checkbox-group'
|
|
74
|
+
export * from './components/col'
|
|
75
|
+
export * from './components/form'
|
|
76
|
+
export * from './components/form-design'
|
|
77
|
+
export * from './components/form-gather'
|
|
78
|
+
export * from './components/form-item'
|
|
79
|
+
export * from './components/icon'
|
|
80
|
+
export * from './components/input'
|
|
81
|
+
export * from './components/layout-aside'
|
|
82
|
+
export * from './components/layout-body'
|
|
83
|
+
export * from './components/layout-container'
|
|
84
|
+
export * from './components/layout-footer'
|
|
85
|
+
export * from './components/layout-header'
|
|
86
|
+
export * from './components/list-design'
|
|
87
|
+
export * from './components/loading'
|
|
88
|
+
export * from './components/modal'
|
|
89
|
+
export * from './components/optgroup'
|
|
90
|
+
export * from './components/option'
|
|
91
|
+
export * from './components/pager'
|
|
92
|
+
export * from './components/pulldown'
|
|
93
|
+
export * from './components/radio'
|
|
94
|
+
export * from './components/radio-button'
|
|
95
|
+
export * from './components/radio-group'
|
|
96
|
+
export * from './components/row'
|
|
97
|
+
export * from './components/select'
|
|
98
|
+
export * from './components/switch'
|
|
99
|
+
export * from './components/tab-pane'
|
|
100
|
+
export * from './components/tabs'
|
|
101
|
+
export * from './components/textarea'
|
|
102
|
+
export * from './components/tooltip'
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { RenderFunction, SetupContext, Ref } from 'vue'
|
|
1
|
+
import { RenderFunction, SetupContext, Ref, ComponentPublicInstance } from 'vue'
|
|
2
2
|
import { defineVxeComponent, VxeComponentBase, VxeComponentEvent } from '../tool'
|
|
3
3
|
|
|
4
4
|
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
5
5
|
|
|
6
|
-
declare const VxeAnchorLink: defineVxeComponent<VxeAnchorLinkProps, VxeAnchorLinkEventProps>
|
|
6
|
+
export declare const VxeAnchorLink: defineVxeComponent<VxeAnchorLinkProps, VxeAnchorLinkEventProps>
|
|
7
|
+
|
|
8
|
+
export type VxeAnchorLinkInstance = ComponentPublicInstance<VxeAnchorLinkProps, VxeAnchorLinkConstructor>
|
|
7
9
|
|
|
8
10
|
export interface VxeAnchorLinkConstructor extends VxeComponentBase, VxeAnchorLinkMethods {
|
|
9
11
|
props: VxeAnchorLinkProps
|
|
@@ -68,7 +70,20 @@ export interface VxeAnchorLinkListeners { }
|
|
|
68
70
|
|
|
69
71
|
export namespace VxeAnchorLinkEvents { }
|
|
70
72
|
|
|
73
|
+
export namespace VxeAnchorLinkSlotTypes {
|
|
74
|
+
export interface DefaultSlotParams {}
|
|
75
|
+
export interface SubSlotParams {}
|
|
76
|
+
}
|
|
71
77
|
export interface VxeAnchorLinkSlots {
|
|
78
|
+
/**
|
|
79
|
+
* 自定义显示内容模板
|
|
80
|
+
*/
|
|
81
|
+
default: (params: VxeAnchorLinkSlotTypes.DefaultSlotParams) => any
|
|
82
|
+
/**
|
|
83
|
+
* 自定义子项模板
|
|
84
|
+
*/
|
|
85
|
+
sub: (params: VxeAnchorLinkSlotTypes.SubSlotParams) => any
|
|
72
86
|
}
|
|
73
87
|
|
|
88
|
+
export const AnchorLink: typeof VxeAnchorLink
|
|
74
89
|
export default VxeAnchorLink
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { RenderFunction, SetupContext, Ref } from 'vue'
|
|
1
|
+
import { RenderFunction, SetupContext, Ref, ComponentPublicInstance } from 'vue'
|
|
2
2
|
import { defineVxeComponent, VxeComponentBase, VxeComponentEvent, ValueOf } from '../tool'
|
|
3
3
|
import { VxeAnchorLinkProps, VxeAnchorLinkPropTypes, VxeAnchorLinkDefines } from './anchor-link'
|
|
4
4
|
|
|
5
5
|
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
6
6
|
|
|
7
|
-
declare const VxeAnchor: defineVxeComponent<VxeAnchorProps, VxeAnchorEventProps>
|
|
7
|
+
export declare const VxeAnchor: defineVxeComponent<VxeAnchorProps, VxeAnchorEventProps>
|
|
8
|
+
|
|
9
|
+
export type VxeAnchorInstance = ComponentPublicInstance<VxeAnchorProps, VxeAnchorConstructor>
|
|
8
10
|
|
|
9
11
|
export interface VxeAnchorConstructor extends VxeComponentBase, VxeAnchorMethods {
|
|
10
12
|
props: VxeAnchorProps
|
|
@@ -73,7 +75,13 @@ export interface VxeAnchorListeners { }
|
|
|
73
75
|
|
|
74
76
|
export namespace VxeAnchorEvents { }
|
|
75
77
|
|
|
78
|
+
export namespace VxeAnchorSlotTypes {
|
|
79
|
+
export interface DefaultSlotParams {}
|
|
80
|
+
}
|
|
81
|
+
|
|
76
82
|
export interface VxeAnchorSlots {
|
|
83
|
+
default: (params: VxeAnchorSlotTypes.DefaultSlotParams) => any
|
|
77
84
|
}
|
|
78
85
|
|
|
86
|
+
export const Anchor: typeof VxeAnchor
|
|
79
87
|
export default VxeAnchor
|
|
@@ -3,7 +3,9 @@ import { defineVxeComponent, VxeComponentBase, VxeComponentEvent } from '../tool
|
|
|
3
3
|
|
|
4
4
|
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
5
5
|
|
|
6
|
-
declare const VxeBreadcrumbItem: defineVxeComponent<VxeBreadcrumbItemProps, VxeBreadcrumbItemEventProps>
|
|
6
|
+
export declare const VxeBreadcrumbItem: defineVxeComponent<VxeBreadcrumbItemProps, VxeBreadcrumbItemEventProps>
|
|
7
|
+
|
|
8
|
+
export type VxeBreadcrumbItemInstance = ComponentPublicInstance<VxeBreadcrumbItemProps, VxeBreadcrumbItemConstructor>
|
|
7
9
|
|
|
8
10
|
export interface VxeBreadcrumbItemConstructor extends VxeComponentBase, VxeBreadcrumbItemMethods {
|
|
9
11
|
props: VxeBreadcrumbItemProps
|
|
@@ -52,7 +54,16 @@ export interface VxeBreadcrumbItemListeners { }
|
|
|
52
54
|
|
|
53
55
|
export namespace VxeBreadcrumbItemEvents { }
|
|
54
56
|
|
|
57
|
+
export namespace VxeBreadcrumbItemSlotTypes {
|
|
58
|
+
export interface DefaultSlotParams {}
|
|
59
|
+
}
|
|
60
|
+
|
|
55
61
|
export interface VxeBreadcrumbItemSlots {
|
|
62
|
+
/**
|
|
63
|
+
* 自定义显示内容模板
|
|
64
|
+
*/
|
|
65
|
+
default: (params: VxeBreadcrumbItemSlotTypes.DefaultSlotParams) => any
|
|
56
66
|
}
|
|
57
67
|
|
|
68
|
+
export const BreadcrumbItem: typeof VxeBreadcrumbItem
|
|
58
69
|
export default VxeBreadcrumbItem
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { RenderFunction, SetupContext, Ref } from 'vue'
|
|
1
|
+
import { RenderFunction, SetupContext, Ref, ComponentPublicInstance } from 'vue'
|
|
2
2
|
import { defineVxeComponent, VxeComponentBase, VxeComponentEvent } from '../tool'
|
|
3
3
|
|
|
4
4
|
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
5
5
|
|
|
6
|
-
declare const VxeBreadcrumb: defineVxeComponent<VxeBreadcrumbProps, VxeBreadcrumbEventProps>
|
|
6
|
+
export declare const VxeBreadcrumb: defineVxeComponent<VxeBreadcrumbProps, VxeBreadcrumbEventProps>
|
|
7
|
+
|
|
8
|
+
export type VxeBreadcrumbInstance = ComponentPublicInstance<VxeBreadcrumbProps, VxeBreadcrumbConstructor>
|
|
7
9
|
|
|
8
10
|
export interface VxeBreadcrumbConstructor extends VxeComponentBase, VxeBreadcrumbMethods {
|
|
9
11
|
props: VxeBreadcrumbProps
|
|
@@ -55,7 +57,13 @@ export interface VxeBreadcrumbListeners { }
|
|
|
55
57
|
|
|
56
58
|
export namespace VxeBreadcrumbEvents { }
|
|
57
59
|
|
|
60
|
+
export namespace VxeBreadcrumbSlotTypes {
|
|
61
|
+
export interface DefaultSlotParams {}
|
|
62
|
+
}
|
|
63
|
+
|
|
58
64
|
export interface VxeBreadcrumbSlots {
|
|
65
|
+
default: (params: VxeBreadcrumbSlotTypes.DefaultSlotParams) => any
|
|
59
66
|
}
|
|
60
67
|
|
|
68
|
+
export const Breadcrumb: typeof VxeBreadcrumb
|
|
61
69
|
export default VxeBreadcrumb
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { RenderFunction, SetupContext, Ref } from 'vue'
|
|
2
|
-
import { defineVxeComponent, VxeComponentBase, VxeComponentSize, VxeComponentEvent } from '../tool'
|
|
1
|
+
import { RenderFunction, SetupContext, Ref, ComponentPublicInstance } from 'vue'
|
|
2
|
+
import { defineVxeComponent, VxeComponentBase, VxeComponentSize, VxeComponentEvent, ValueOf } from '../tool'
|
|
3
3
|
import { VxeButtonProps, VxeButtonPropTypes } from './button'
|
|
4
4
|
|
|
5
5
|
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
6
6
|
|
|
7
|
-
declare const VxeButtonGroup: defineVxeComponent<VxeButtonGroupProps, VxeButtonGroupEventProps>
|
|
7
|
+
export declare const VxeButtonGroup: defineVxeComponent<VxeButtonGroupProps, VxeButtonGroupEventProps>
|
|
8
|
+
|
|
9
|
+
export type VxeButtonGroupInstance = ComponentPublicInstance<VxeButtonGroupProps, VxeButtonGroupConstructor>
|
|
8
10
|
|
|
9
11
|
export interface VxeButtonGroupConstructor extends VxeComponentBase, VxeButtonGroupMethods {
|
|
10
12
|
props: VxeButtonGroupProps
|
|
@@ -80,7 +82,13 @@ export interface VxeButtonGroupListeners { }
|
|
|
80
82
|
|
|
81
83
|
export namespace VxeButtonGroupEvents { }
|
|
82
84
|
|
|
85
|
+
export namespace VxeButtonGroupSlotTypes {
|
|
86
|
+
export interface DefaultSlotParams {}
|
|
87
|
+
}
|
|
88
|
+
|
|
83
89
|
export interface VxeButtonGroupSlots {
|
|
90
|
+
default: (params: VxeButtonGroupSlotTypes.DefaultSlotParams) => any
|
|
84
91
|
}
|
|
85
92
|
|
|
93
|
+
export const ButtonGroup: typeof VxeButtonGroup
|
|
86
94
|
export default VxeButtonGroup
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { RenderFunction, SetupContext, Ref } from 'vue'
|
|
2
|
-
import { defineVxeComponent, VxeComponentBase, VxeComponentEvent, VxeComponentSize, ValueOf } from '../tool'
|
|
2
|
+
import { defineVxeComponent, VxeComponentBase, VxeComponentEvent, VxeComponentSize, VxeComponentStyle, ValueOf } from '../tool'
|
|
3
3
|
|
|
4
4
|
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
5
5
|
|
|
6
|
-
declare const VxeButton: defineVxeComponent<VxeButtonProps, VxeButtonEventProps>
|
|
6
|
+
export declare const VxeButton: defineVxeComponent<VxeButtonProps, VxeButtonEventProps>
|
|
7
|
+
|
|
8
|
+
export type VxeButtonInstance = ComponentPublicInstance<VxeButtonProps, VxeButtonConstructor>
|
|
7
9
|
|
|
8
10
|
export interface VxeButtonConstructor extends VxeComponentBase, VxeButtonMethods {
|
|
9
11
|
props: VxeButtonProps
|
|
@@ -108,7 +110,7 @@ export interface ButtonReactData {
|
|
|
108
110
|
showPanel: boolean
|
|
109
111
|
animatVisible: boolean
|
|
110
112
|
panelIndex: number
|
|
111
|
-
panelStyle:
|
|
113
|
+
panelStyle: VxeComponentStyle
|
|
112
114
|
panelPlacement: any
|
|
113
115
|
}
|
|
114
116
|
|
|
@@ -151,7 +153,16 @@ export interface VxeButtonListeners { }
|
|
|
151
153
|
|
|
152
154
|
export namespace VxeButtonEvents { }
|
|
153
155
|
|
|
156
|
+
export namespace VxeButtonSlotTypes {
|
|
157
|
+
export interface DefaultSlotParams {}
|
|
158
|
+
}
|
|
159
|
+
|
|
154
160
|
export interface VxeButtonSlots {
|
|
161
|
+
/**
|
|
162
|
+
* 自定义显示内容模板
|
|
163
|
+
*/
|
|
164
|
+
default: (params: VxeButtonSlotTypes.DefaultSlotParams) => any
|
|
155
165
|
}
|
|
156
166
|
|
|
167
|
+
export const Button: typeof VxeButton
|
|
157
168
|
export default VxeButton
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { RenderFunction, SetupContext, Ref, ComponentPublicInstance } from 'vue'
|
|
2
|
+
import { defineVxeComponent, VxeComponentBase, VxeComponentEvent, VxeComponentSize, ValueOf } from '../tool'
|
|
3
|
+
|
|
4
|
+
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
5
|
+
|
|
6
|
+
export declare const VxeCheckboxGroup: defineVxeComponent<VxeCheckboxGroupProps, VxeCheckboxGroupEventProps>
|
|
7
|
+
|
|
8
|
+
export type VxeCheckboxGroupInstance = ComponentPublicInstance<VxeCheckboxGroupProps, VxeCheckboxGroupConstructor>
|
|
9
|
+
|
|
10
|
+
export interface VxeCheckboxGroupConstructor extends VxeComponentBase, VxeCheckboxGroupMethods {
|
|
11
|
+
props: VxeCheckboxGroupProps
|
|
12
|
+
context: SetupContext<VxeCheckboxGroupEmits>
|
|
13
|
+
reactData: CheckboxGroupReactData
|
|
14
|
+
getRefMaps(): CheckboxGroupPrivateRef
|
|
15
|
+
getComputeMaps(): CheckboxGroupPrivateComputed
|
|
16
|
+
renderVN: RenderFunction
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface CheckboxGroupPrivateRef {
|
|
20
|
+
refElem: Ref<HTMLDivElement | undefined>
|
|
21
|
+
}
|
|
22
|
+
export interface VxeCheckboxGroupPrivateRef extends CheckboxGroupPrivateRef { }
|
|
23
|
+
|
|
24
|
+
export namespace VxeCheckboxGroupPropTypes {
|
|
25
|
+
export type Size = VxeComponentSize
|
|
26
|
+
export type ModelValue = any[]
|
|
27
|
+
export type Options = {
|
|
28
|
+
value?: VxeCheckboxPropTypes.Label
|
|
29
|
+
label?: VxeCheckboxPropTypes.Content
|
|
30
|
+
|
|
31
|
+
[key: string]: any
|
|
32
|
+
}[]
|
|
33
|
+
export type OptionProps = VxeGlobalRendererHandles.RenderOptionProps
|
|
34
|
+
export type Max = string | number
|
|
35
|
+
export type Disabled = boolean
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export type VxeCheckboxGroupProps = {
|
|
39
|
+
size?: VxeCheckboxGroupPropTypes.Size
|
|
40
|
+
options?: VxeCheckboxGroupPropTypes.Options
|
|
41
|
+
optionProps?: VxeCheckboxGroupPropTypes.OptionProps
|
|
42
|
+
/**
|
|
43
|
+
* 绑定值
|
|
44
|
+
*/
|
|
45
|
+
modelValue?: VxeCheckboxGroupPropTypes.ModelValue
|
|
46
|
+
max?: VxeCheckboxGroupPropTypes.Max
|
|
47
|
+
/**
|
|
48
|
+
* 是否禁用
|
|
49
|
+
*/
|
|
50
|
+
disabled?: VxeCheckboxGroupPropTypes.Disabled
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export interface CheckboxGroupPrivateComputed {
|
|
54
|
+
computeIsMaximize: ComputedRef<boolean>
|
|
55
|
+
}
|
|
56
|
+
export interface VxeCheckboxGroupPrivateComputed extends CheckboxGroupPrivateComputed { }
|
|
57
|
+
|
|
58
|
+
export interface CheckboxGroupReactData {
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface CheckboxGroupMethods {
|
|
62
|
+
dispatchEvent(type: ValueOf<VxeCheckboxGroupEmits>, params: any, evnt: Event): void
|
|
63
|
+
}
|
|
64
|
+
export interface VxeCheckboxGroupMethods extends CheckboxGroupMethods { }
|
|
65
|
+
|
|
66
|
+
export interface CheckboxGroupPrivateMethods {
|
|
67
|
+
handleChecked(params: {
|
|
68
|
+
checked: boolean
|
|
69
|
+
value: VxeCheckboxPropTypes.ModelValue
|
|
70
|
+
label: VxeCheckboxPropTypes.Label
|
|
71
|
+
}, evnt: Event): void
|
|
72
|
+
}
|
|
73
|
+
export interface VxeCheckboxGroupPrivateMethods extends CheckboxGroupPrivateMethods { }
|
|
74
|
+
|
|
75
|
+
export type VxeCheckboxGroupEmits = [
|
|
76
|
+
'update:modelValue',
|
|
77
|
+
'change'
|
|
78
|
+
]
|
|
79
|
+
|
|
80
|
+
export namespace VxeCheckboxGroupDefines {
|
|
81
|
+
export interface CheckboxGroupEventParams extends VxeComponentEvent {
|
|
82
|
+
$checkboxGroup: VxeCheckboxGroupConstructor
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export type ChangeParams = {
|
|
86
|
+
checklist: any[]
|
|
87
|
+
}
|
|
88
|
+
export interface ChangeEventParams extends CheckboxGroupEventParams, ChangeParams { }
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export type VxeCheckboxGroupEventProps = {
|
|
92
|
+
onChange?: VxeCheckboxGroupEvents.Change
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export interface VxeCheckboxGroupListeners {
|
|
96
|
+
change?: VxeCheckboxGroupEvents.Change
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export namespace VxeCheckboxGroupEvents { }
|
|
100
|
+
|
|
101
|
+
export namespace VxeCheckboxGroupSlotTypes {
|
|
102
|
+
export interface DefaultSlotParams {
|
|
103
|
+
[key: string]: any
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export interface VxeCheckboxGroupSlots {
|
|
108
|
+
default: (params: VxeCheckboxGroupSlotTypes.DefaultSlotParams) => any
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export const CheckboxGroup: typeof VxeCheckboxGroup
|
|
112
|
+
export default VxeCheckboxGroup
|