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
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
.vxe-switch {
|
|
2
|
+
display: inline-block;
|
|
3
|
+
color: var(--vxe-font-color);
|
|
4
|
+
vertical-align: middle;
|
|
5
|
+
padding: 0.4em;
|
|
6
|
+
user-select: none;
|
|
7
|
+
text-align: center;
|
|
8
|
+
&.is--animat {
|
|
9
|
+
.vxe-switch--button {
|
|
10
|
+
transition: border-color .3s, background-color .3s;
|
|
11
|
+
}
|
|
12
|
+
.vxe-switch--icon {
|
|
13
|
+
transition: all 0.3s;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
&.is--on {
|
|
17
|
+
.vxe-switch--button {
|
|
18
|
+
padding-right: 1.7em;
|
|
19
|
+
background-color: var(--vxe-ui-switch-open-background-color);
|
|
20
|
+
}
|
|
21
|
+
.vxe-switch--icon {
|
|
22
|
+
left: 100%;
|
|
23
|
+
transform: translateX(-1.4em);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
&.is--off {
|
|
27
|
+
.vxe-switch--button {
|
|
28
|
+
padding-left: 1.7em;
|
|
29
|
+
background-color: var(--vxe-ui-switch-close-background-color);
|
|
30
|
+
}
|
|
31
|
+
.vxe-switch--icon {
|
|
32
|
+
left: 0.2em;
|
|
33
|
+
transform: translateX(0);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
&.is--on .vxe-switch--label-off,
|
|
37
|
+
&.is--off .vxe-switch--label-on {
|
|
38
|
+
height: 0;
|
|
39
|
+
visibility: hidden;
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
}
|
|
42
|
+
&.is--on,
|
|
43
|
+
&.is--off {
|
|
44
|
+
.vxe-switch--label {
|
|
45
|
+
opacity: 1;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
&:not(.is--disabled) {
|
|
49
|
+
.vxe-switch--button {
|
|
50
|
+
cursor: pointer;
|
|
51
|
+
&:focus {
|
|
52
|
+
box-shadow: 0 0 0.4em 0 var(--vxe-primary-color);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
&.is--disabled {
|
|
57
|
+
.vxe-switch--button {
|
|
58
|
+
cursor: no-drop;
|
|
59
|
+
}
|
|
60
|
+
&.is--on {
|
|
61
|
+
.vxe-switch--button {
|
|
62
|
+
background-color: var(--vxe-primary-lighten-color);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
&.is--off {
|
|
66
|
+
.vxe-switch--button {
|
|
67
|
+
background-color: var(--vxe-ui-switch-disabled-background-color);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
.vxe-switch--button {
|
|
72
|
+
display: block;
|
|
73
|
+
position: relative;
|
|
74
|
+
height: 1.6em;
|
|
75
|
+
line-height: 1;
|
|
76
|
+
min-width: 3.2em;
|
|
77
|
+
padding: 0 0.6em;
|
|
78
|
+
border-radius: 1em;
|
|
79
|
+
border: 0;
|
|
80
|
+
outline: 0;
|
|
81
|
+
}
|
|
82
|
+
.vxe-switch--label {
|
|
83
|
+
opacity: 0;
|
|
84
|
+
display: block;
|
|
85
|
+
color: var(--vxe-ui-switch-font-color);
|
|
86
|
+
font-size: 0.8em;
|
|
87
|
+
}
|
|
88
|
+
.vxe-switch--icon {
|
|
89
|
+
position: absolute;
|
|
90
|
+
top: 0.2em;
|
|
91
|
+
left: 0;
|
|
92
|
+
width: 1.2em;
|
|
93
|
+
height: 1.2em;
|
|
94
|
+
border-radius: 50%;
|
|
95
|
+
background-color: var(--vxe-ui-switch-icon-background-color);
|
|
96
|
+
}
|
|
97
|
+
.vxe-switch--label-icon {
|
|
98
|
+
margin-right: 0.25em;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.vxe-switch {
|
|
103
|
+
font-size: var(--vxe-font-size);
|
|
104
|
+
&.size--medium {
|
|
105
|
+
font-size: var(--vxe-font-size-medium);
|
|
106
|
+
}
|
|
107
|
+
&.size--small {
|
|
108
|
+
font-size: var(--vxe-font-size-small);
|
|
109
|
+
}
|
|
110
|
+
&.size--mini {
|
|
111
|
+
font-size: var(--vxe-font-size-mini);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
@import '../helpers/mixin.scss';
|
|
2
|
+
|
|
3
|
+
.vxe-tabs {
|
|
4
|
+
background-color: var(--vxe-ui-layout-background-color);
|
|
5
|
+
}
|
|
6
|
+
.vxe-tabs-header {
|
|
7
|
+
position: relative;
|
|
8
|
+
}
|
|
9
|
+
.vxe-tabs-header--wrapper {
|
|
10
|
+
position: relative;
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: row;
|
|
13
|
+
&::after {
|
|
14
|
+
content: "";
|
|
15
|
+
position: absolute;
|
|
16
|
+
left: 0;
|
|
17
|
+
bottom: 0;
|
|
18
|
+
width: 100%;
|
|
19
|
+
height: 1px;
|
|
20
|
+
background-color: #e4e7ed;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
.vxe-tab-header--item {
|
|
24
|
+
position: relative;
|
|
25
|
+
padding: 0 16px;
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
&.is--active {
|
|
28
|
+
color: var(--vxe-ui-font-primary-color);;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
.vxe-tab-header--item-name {
|
|
32
|
+
height: 40px;
|
|
33
|
+
line-height: 40px;
|
|
34
|
+
border-bottom: 2px solid transparent;
|
|
35
|
+
@include createAnimationTransition(color, .3s);
|
|
36
|
+
}
|
|
37
|
+
.vxe-tab-pane--item {
|
|
38
|
+
display: none;
|
|
39
|
+
padding: var(--vxe-ui-layout-padding-default);
|
|
40
|
+
&.is--visible {
|
|
41
|
+
display: block;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
.vxe-tabs-header--active-line {
|
|
45
|
+
display: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.vxe-tabs--default {
|
|
49
|
+
.vxe-tabs-header--active-line {
|
|
50
|
+
display: block;
|
|
51
|
+
position: absolute;
|
|
52
|
+
bottom: -1px;
|
|
53
|
+
left: 0;
|
|
54
|
+
height: 2px;
|
|
55
|
+
width: 4px;
|
|
56
|
+
background-color: var(--vxe-ui-font-primary-color);
|
|
57
|
+
z-index: 1;
|
|
58
|
+
@include createAnimationTransition(all, .3s);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.vxe-tabs--card {
|
|
63
|
+
.vxe-tabs-header {
|
|
64
|
+
border-top: 1px solid #e4e7ed;
|
|
65
|
+
border-left: 1px solid #e4e7ed;
|
|
66
|
+
}
|
|
67
|
+
.vxe-tab-header--item {
|
|
68
|
+
border-left: 1px solid #e4e7ed;
|
|
69
|
+
&:first-child {
|
|
70
|
+
border-left: 0;
|
|
71
|
+
}
|
|
72
|
+
&:last-child {
|
|
73
|
+
border-right: 1px solid #e4e7ed;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
.vxe-tabs--border-card {
|
|
78
|
+
.vxe-tab-pane--item {
|
|
79
|
+
border-bottom: 1px solid #e4e7ed;
|
|
80
|
+
border-left: 1px solid #e4e7ed;
|
|
81
|
+
border-right: 1px solid #e4e7ed;
|
|
82
|
+
}
|
|
83
|
+
.vxe-tabs-header {
|
|
84
|
+
border-top: 1px solid #e4e7ed;
|
|
85
|
+
border-left: 1px solid #e4e7ed;
|
|
86
|
+
border-right: 1px solid #e4e7ed;
|
|
87
|
+
background-color: #f5f7fa;
|
|
88
|
+
}
|
|
89
|
+
.vxe-tab-header--item {
|
|
90
|
+
&.is--active {
|
|
91
|
+
background-color: #ffffff;
|
|
92
|
+
&::before {
|
|
93
|
+
content: "";
|
|
94
|
+
position: absolute;
|
|
95
|
+
top: 0;
|
|
96
|
+
left: -1px;
|
|
97
|
+
width: calc(100% + 2px);
|
|
98
|
+
height: 100%;
|
|
99
|
+
border-left: 1px solid #e4e7ed;
|
|
100
|
+
border-right: 1px solid #e4e7ed;
|
|
101
|
+
pointer-events: none;
|
|
102
|
+
}
|
|
103
|
+
&::after {
|
|
104
|
+
content: "";
|
|
105
|
+
position: absolute;
|
|
106
|
+
bottom: 0;
|
|
107
|
+
left: 0;
|
|
108
|
+
width: 100%;
|
|
109
|
+
height: 1px;
|
|
110
|
+
background-color: var(--vxe-ui-layout-background-color);
|
|
111
|
+
pointer-events: none;
|
|
112
|
+
z-index: 1;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
.vxe-textarea {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: inline-block;
|
|
4
|
+
&:not(.def--cols) {
|
|
5
|
+
width: 100%;
|
|
6
|
+
.vxe-textarea--inner {
|
|
7
|
+
width: 100%;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.vxe-textarea--inner {
|
|
13
|
+
border-radius: var(--vxe-border-radius);
|
|
14
|
+
outline: 0;
|
|
15
|
+
font-size: inherit;
|
|
16
|
+
padding: 0 0.6em;
|
|
17
|
+
color: var(--vxe-font-color);
|
|
18
|
+
line-height: inherit;
|
|
19
|
+
border: 1px solid var(--vxe-ui-input-border-color);
|
|
20
|
+
background-color: var(--vxe-ui-textarea-background-color);
|
|
21
|
+
display: block;
|
|
22
|
+
padding: 0.3em 0.6em;
|
|
23
|
+
&::placeholder {
|
|
24
|
+
color: var(--vxe-ui-input-placeholder-color);
|
|
25
|
+
}
|
|
26
|
+
&:focus {
|
|
27
|
+
border: 1px solid var(--vxe-primary-color);
|
|
28
|
+
}
|
|
29
|
+
&[disabled] {
|
|
30
|
+
cursor: not-allowed;
|
|
31
|
+
background-color: var(--vxe-ui-input-disabled-background-color);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.vxe-textarea--inner,
|
|
36
|
+
.vxe-textarea--autosize {
|
|
37
|
+
line-height: var(--vxe-ui-textarea-line-height);
|
|
38
|
+
color: var(--vxe-font-color);
|
|
39
|
+
font-family: var(--vxe-font-family);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.vxe-textarea--autosize {
|
|
43
|
+
display: block;
|
|
44
|
+
position: fixed;
|
|
45
|
+
top: 0;
|
|
46
|
+
left: 0;
|
|
47
|
+
width: 100%;
|
|
48
|
+
margin: 0;
|
|
49
|
+
padding: 0.3em 0.6em;
|
|
50
|
+
word-wrap: break-word;
|
|
51
|
+
white-space: pre-wrap;
|
|
52
|
+
z-index: -1;
|
|
53
|
+
visibility: hidden;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.vxe-textarea--count {
|
|
57
|
+
position: absolute;
|
|
58
|
+
bottom: 0.2em;
|
|
59
|
+
right: 1.4em;
|
|
60
|
+
padding-left: 0.2em;
|
|
61
|
+
color: var(--vxe-ui-input-count-color);
|
|
62
|
+
background-color: var(--vxe-ui-input-count-background-color);
|
|
63
|
+
&.is--error {
|
|
64
|
+
color: var(--vxe-ui-input-count-error-color);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.vxe-textarea,
|
|
69
|
+
.vxe-textarea--autosize {
|
|
70
|
+
font-size: var(--vxe-font-size);
|
|
71
|
+
&.size--medium {
|
|
72
|
+
font-size: var(--vxe-font-size-medium);
|
|
73
|
+
}
|
|
74
|
+
&.size--small {
|
|
75
|
+
font-size: var(--vxe-font-size-small);
|
|
76
|
+
}
|
|
77
|
+
&.size--mini {
|
|
78
|
+
font-size: var(--vxe-font-size-mini);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.vxe-textarea {
|
|
83
|
+
&:not(.is--autosize) {
|
|
84
|
+
min-height: var(--vxe-ui-input-height-default);
|
|
85
|
+
}
|
|
86
|
+
&.size--medium {
|
|
87
|
+
font-size: var(--vxe-font-size-medium);
|
|
88
|
+
&:not(.is--autosize) {
|
|
89
|
+
min-height: var(--vxe-ui-input-height-medium);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
&.size--small {
|
|
93
|
+
&:not(.is--autosize) {
|
|
94
|
+
min-height: var(--vxe-ui-input-height-small);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
&.size--mini {
|
|
98
|
+
&:not(.is--autosize) {
|
|
99
|
+
min-height: var(--vxe-ui-input-height-mini);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
.vxe-table--tooltip-wrapper {
|
|
2
|
+
display: none;
|
|
3
|
+
position: absolute;
|
|
4
|
+
top: -100%;
|
|
5
|
+
left: -100%;
|
|
6
|
+
font-size: 12px;
|
|
7
|
+
max-width: 600px;
|
|
8
|
+
border-radius: var(--vxe-ui-border-radius);
|
|
9
|
+
padding: 8px 12px;
|
|
10
|
+
white-space: normal;
|
|
11
|
+
word-break: break-word;
|
|
12
|
+
box-shadow: 2px 2px 4px -2px rgba(0,0,0,.2);
|
|
13
|
+
color: var(--vxe-ui-font-color);
|
|
14
|
+
font-family: var(--vxe-ui-font-family);
|
|
15
|
+
&:not(.is--enterable) {
|
|
16
|
+
pointer-events: none;
|
|
17
|
+
}
|
|
18
|
+
&.is--visible {
|
|
19
|
+
display: block;
|
|
20
|
+
}
|
|
21
|
+
&.is--arrow {
|
|
22
|
+
.vxe-table--tooltip-arrow {
|
|
23
|
+
display: block;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
&.is--enterable {
|
|
27
|
+
&:after {
|
|
28
|
+
content: "";
|
|
29
|
+
position: absolute;
|
|
30
|
+
left: 0;
|
|
31
|
+
width: 100%;
|
|
32
|
+
height: 6px;
|
|
33
|
+
background-color: transparent;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
.vxe-table--tooltip-content {
|
|
37
|
+
white-space: pre-line;
|
|
38
|
+
}
|
|
39
|
+
.vxe-table--tooltip-arrow {
|
|
40
|
+
display: none;
|
|
41
|
+
position: absolute;
|
|
42
|
+
border-color: transparent;
|
|
43
|
+
border-width: 6px;
|
|
44
|
+
border-style: solid;
|
|
45
|
+
left: 50%;
|
|
46
|
+
transform: translateX(-6px);
|
|
47
|
+
&:before {
|
|
48
|
+
content: "";
|
|
49
|
+
position: absolute;
|
|
50
|
+
border-color: transparent;
|
|
51
|
+
border-width: 5px;
|
|
52
|
+
border-style: solid;
|
|
53
|
+
left: -5px;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
&.placement--top {
|
|
57
|
+
&.is--enterable {
|
|
58
|
+
&:after {
|
|
59
|
+
bottom: -6px;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
.vxe-table--tooltip-arrow {
|
|
63
|
+
bottom: -12px;
|
|
64
|
+
&:before {
|
|
65
|
+
top: -7px;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
&.placement--bottom {
|
|
70
|
+
&.is--enterable {
|
|
71
|
+
&:after {
|
|
72
|
+
top: -6px;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
.vxe-table--tooltip-arrow {
|
|
76
|
+
top: -12px;
|
|
77
|
+
&:before {
|
|
78
|
+
top: -4px;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
.vxe-table--tooltip-wrapper {
|
|
84
|
+
&.theme--light {
|
|
85
|
+
background-color: var(--vxe-ui-tooltip-light-background-color);
|
|
86
|
+
border: 1px solid var(--vxe-ui-input-border-color);
|
|
87
|
+
&.placement--top {
|
|
88
|
+
.vxe-table--tooltip-arrow {
|
|
89
|
+
border-top-color: var(--vxe-ui-input-border-color);
|
|
90
|
+
&:before {
|
|
91
|
+
border-top-color: var(--vxe-ui-tooltip-light-background-color);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
&.placement--bottom {
|
|
96
|
+
.vxe-table--tooltip-arrow {
|
|
97
|
+
border-bottom-color: var(--vxe-ui-input-border-color);
|
|
98
|
+
&:before {
|
|
99
|
+
border-bottom-color: var(--vxe-ui-tooltip-light-background-color);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
&.theme--dark {
|
|
105
|
+
background: var(--vxe-ui-tooltip-dark-background-color);
|
|
106
|
+
color: var(--vxe-ui-tooltip-dark-color);
|
|
107
|
+
&.placement--top {
|
|
108
|
+
.vxe-table--tooltip-arrow {
|
|
109
|
+
border-top-color: var(--vxe-ui-tooltip-dark-background-color);
|
|
110
|
+
&:before {
|
|
111
|
+
border-top-color: var(--vxe-ui-tooltip-dark-background-color);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
&.placement--bottom {
|
|
116
|
+
.vxe-table--tooltip-arrow {
|
|
117
|
+
border-bottom-color: var(--vxe-ui-tooltip-dark-background-color);
|
|
118
|
+
&:before {
|
|
119
|
+
border-bottom-color: var(--vxe-ui-tooltip-dark-background-color);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
@@ -7,23 +7,23 @@
|
|
|
7
7
|
font-size: 1.34em;
|
|
8
8
|
}
|
|
9
9
|
.vxe-checkbox--icon {
|
|
10
|
-
color: var(--vxe-input-border-color);
|
|
10
|
+
color: var(--vxe-ui-input-border-color);
|
|
11
11
|
vertical-align: middle;
|
|
12
12
|
font-weight: 700;
|
|
13
13
|
user-select: none;
|
|
14
14
|
}
|
|
15
15
|
&.is--checked,
|
|
16
16
|
&.is--indeterminate {
|
|
17
|
-
color: var(--vxe-primary-color);
|
|
17
|
+
color: var(--vxe-ui-font-primary-color);
|
|
18
18
|
.vxe-checkbox--icon {
|
|
19
|
-
color: var(--vxe-primary-color);
|
|
19
|
+
color: var(--vxe-ui-font-primary-color);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
&:not(.is--disabled) {
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
&:hover {
|
|
25
25
|
.vxe-checkbox--icon {
|
|
26
|
-
color: var(--vxe-primary-color);
|
|
26
|
+
color: var(--vxe-ui-font-primary-color);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
cursor: default;
|
|
32
32
|
}
|
|
33
33
|
&.is--disabled {
|
|
34
|
-
color: var(--vxe-font-disabled-color);
|
|
34
|
+
color: var(--vxe-ui-font-disabled-color);
|
|
35
35
|
cursor: not-allowed;
|
|
36
36
|
.vxe-checkbox--icon {
|
|
37
|
-
color: var(--vxe-input-disabled-color);
|
|
37
|
+
color: var(--vxe-ui-input-disabled-color);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
.vxe-checkbox--label {
|
|
@@ -49,30 +49,30 @@
|
|
|
49
49
|
font-size: 1.4em;
|
|
50
50
|
}
|
|
51
51
|
.vxe-radio--icon {
|
|
52
|
-
color: var(--vxe-input-border-color);
|
|
52
|
+
color: var(--vxe-ui-input-border-color);
|
|
53
53
|
vertical-align: middle;
|
|
54
54
|
font-weight: 700;
|
|
55
55
|
user-select: none;
|
|
56
56
|
}
|
|
57
57
|
&.is--checked {
|
|
58
|
-
color: var(--vxe-primary-color);
|
|
58
|
+
color: var(--vxe-ui-font-primary-color);
|
|
59
59
|
.vxe-radio--icon {
|
|
60
|
-
color: var(--vxe-primary-color);
|
|
60
|
+
color: var(--vxe-ui-font-primary-color);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
&:not(.is--disabled) {
|
|
64
64
|
cursor: pointer;
|
|
65
65
|
&:hover {
|
|
66
66
|
.vxe-radio--icon {
|
|
67
|
-
color: var(--vxe-primary-color);
|
|
67
|
+
color: var(--vxe-ui-font-primary-color);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
&.is--disabled {
|
|
72
|
-
color: var(--vxe-font-disabled-color);
|
|
72
|
+
color: var(--vxe-ui-font-disabled-color);
|
|
73
73
|
cursor: not-allowed;
|
|
74
74
|
.vxe-radio--icon {
|
|
75
|
-
color: var(--vxe-input-disabled-color);
|
|
75
|
+
color: var(--vxe-ui-input-disabled-color);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
.vxe-radio--label {
|