vxe-pc-ui 0.0.2 → 0.1.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/es/anchor/src/anchor.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 +98 -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/style.css +1 -0
- package/es/layout-aside/style.min.css +1 -1
- package/es/layout-body/style.css +1 -0
- package/es/layout-body/style.min.css +1 -1
- package/es/layout-footer/style.css +1 -0
- package/es/layout-footer/style.min.css +1 -1
- package/es/layout-header/style.css +1 -0
- package/es/layout-header/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/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 +1 -0
- package/es/vxe-layout-aside/style.min.css +1 -1
- package/es/vxe-layout-body/style.css +1 -0
- package/es/vxe-layout-body/style.min.css +1 -1
- package/es/vxe-layout-footer/style.css +1 -0
- package/es/vxe-layout-footer/style.min.css +1 -1
- package/es/vxe-layout-header/style.css +1 -0
- package/es/vxe-layout-header/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-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/src/anchor.js +1 -1
- package/lib/anchor/src/anchor.min.js +1 -1
- 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 +290 -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 +10741 -782
- 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/style/style.css +1 -0
- package/lib/layout-aside/style/style.min.css +1 -1
- package/lib/layout-body/style/style.css +1 -0
- package/lib/layout-body/style/style.min.css +1 -1
- package/lib/layout-footer/style/style.css +1 -0
- package/lib/layout-footer/style/style.min.css +1 -1
- package/lib/layout-header/style/style.css +1 -0
- package/lib/layout-header/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/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 +1 -0
- package/lib/vxe-layout-aside/style/style.min.css +1 -1
- package/lib/vxe-layout-body/style/style.css +1 -0
- package/lib/vxe-layout-body/style/style.min.css +1 -1
- package/lib/vxe-layout-footer/style/style.css +1 -0
- package/lib/vxe-layout-footer/style/style.min.css +1 -1
- package/lib/vxe-layout-header/style/style.css +1 -0
- package/lib/vxe-layout-header/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-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/src/anchor.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 +100 -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 +716 -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/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/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 +30 -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 +1 -0
- package/styles/components/layout-body.scss +1 -0
- package/styles/components/layout-footer.scss +1 -0
- package/styles/components/layout-header.scss +1 -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/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 +66 -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 +10 -2
- package/types/{component → components}/layout-body.d.ts +10 -2
- package/types/{component → components}/layout-container.d.ts +10 -2
- package/types/{component → components}/layout-footer.d.ts +10 -2
- package/types/{component → components}/layout-header.d.ts +7 -1
- 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/textarea.d.ts +212 -0
- package/types/components/tooltip.d.ts +122 -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/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/{anchor-link → anchor}/src/anchor-link.js +0 -0
- /package/es/{anchor-link → anchor}/src/util.js +0 -0
- /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/{anchor-link → anchor}/src/anchor-link.js +0 -0
- /package/lib/{anchor-link → anchor}/src/anchor-link.min.js +0 -0
- /package/lib/{anchor-link → anchor}/src/util.js +0 -0
- /package/lib/{anchor-link → anchor}/src/util.min.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/{anchor-link → anchor}/src/anchor-link.ts +0 -0
- /package/packages/{anchor-link → anchor}/src/util.ts +0 -0
- /package/packages/{col → row}/src/col.ts +0 -0
|
@@ -0,0 +1,911 @@
|
|
|
1
|
+
@import '../helpers/mixin.scss';
|
|
2
|
+
|
|
3
|
+
$iconWidth: 1.6em;
|
|
4
|
+
|
|
5
|
+
.vxe-input--inner {
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
border-radius: var(--vxe-border-radius);
|
|
9
|
+
outline: 0;
|
|
10
|
+
margin: 0;
|
|
11
|
+
font-size: inherit;
|
|
12
|
+
font-family: inherit;
|
|
13
|
+
line-height: inherit;
|
|
14
|
+
padding: 0 0.6em;
|
|
15
|
+
color: var(--vxe-font-color);
|
|
16
|
+
border: 1px solid var(--vxe-ui-input-border-color);
|
|
17
|
+
background-color: var(--vxe-ui-input-background-color);
|
|
18
|
+
box-shadow: none;
|
|
19
|
+
&::placeholder {
|
|
20
|
+
color: var(--vxe-ui-input-placeholder-color);
|
|
21
|
+
}
|
|
22
|
+
&::-webkit-autofill {
|
|
23
|
+
background-color: var(--vxe-ui-input-background-color);
|
|
24
|
+
}
|
|
25
|
+
&[type="number"] {
|
|
26
|
+
appearance: none;
|
|
27
|
+
-moz-appearance: textfield;
|
|
28
|
+
}
|
|
29
|
+
&[type="search"],
|
|
30
|
+
&[type="search"]::-webkit-search-cancel-button,
|
|
31
|
+
&[type="number"]::-webkit-outer-spin-button,
|
|
32
|
+
&[type="number"]::-webkit-inner-spin-button {
|
|
33
|
+
appearance: none;
|
|
34
|
+
}
|
|
35
|
+
&[disabled] {
|
|
36
|
+
cursor: not-allowed;
|
|
37
|
+
color: var(--vxe-font-disabled-color);
|
|
38
|
+
background-color: var(--vxe-ui-input-disabled-background-color);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.vxe-input {
|
|
43
|
+
display: inline-block;
|
|
44
|
+
position: relative;
|
|
45
|
+
width: 180px;
|
|
46
|
+
&.is--disabled {
|
|
47
|
+
.vxe-input--date-picker-suffix,
|
|
48
|
+
.vxe-input--search-suffix,
|
|
49
|
+
.vxe-input--suffix,
|
|
50
|
+
.vxe-input--password-suffix,
|
|
51
|
+
.vxe-input--number-suffix {
|
|
52
|
+
cursor: no-drop;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
&:not(.is--disabled) {
|
|
56
|
+
.vxe-input--search-suffix,
|
|
57
|
+
.vxe-input--clear-icon,
|
|
58
|
+
.vxe-input--password-suffix,
|
|
59
|
+
.vxe-input--number-suffix {
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
}
|
|
62
|
+
&.is--active {
|
|
63
|
+
.vxe-input--inner {
|
|
64
|
+
border: 1px solid var(--vxe-primary-color);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
.vxe-input--prefix,
|
|
69
|
+
.vxe-input--suffix,
|
|
70
|
+
.vxe-input--extra-suffix {
|
|
71
|
+
display: flex;
|
|
72
|
+
position: absolute;
|
|
73
|
+
top: 0;
|
|
74
|
+
width: $iconWidth;
|
|
75
|
+
height: 100%;
|
|
76
|
+
user-select: none;
|
|
77
|
+
align-items: center;
|
|
78
|
+
justify-content: center;
|
|
79
|
+
color: var(--vxe-table-column-icon-border-color);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.vxe-input--count {
|
|
84
|
+
position: absolute;
|
|
85
|
+
top: 1px;
|
|
86
|
+
right: 0.5em;
|
|
87
|
+
height: calc(100% - 2px);
|
|
88
|
+
color: var(--vxe-ui-input-count-color);
|
|
89
|
+
background-color: var(--vxe-ui-input-count-background-color);
|
|
90
|
+
&.is--error {
|
|
91
|
+
color: var(--vxe-ui-input-count-error-color);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// 前缀图标
|
|
96
|
+
.vxe-input {
|
|
97
|
+
.vxe-input--prefix {
|
|
98
|
+
left: 0.2em;
|
|
99
|
+
}
|
|
100
|
+
&.is--prefix {
|
|
101
|
+
.vxe-input--inner {
|
|
102
|
+
padding-left: $iconWidth + 0.2em;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// 后缀图标
|
|
108
|
+
.vxe-input {
|
|
109
|
+
.vxe-input--clear-icon {
|
|
110
|
+
display: none;
|
|
111
|
+
}
|
|
112
|
+
.vxe-input--suffix,
|
|
113
|
+
.vxe-input--extra-suffix {
|
|
114
|
+
right: 0.2em;
|
|
115
|
+
}
|
|
116
|
+
&.is--suffix {
|
|
117
|
+
.vxe-input--inner {
|
|
118
|
+
padding-right: $iconWidth + 0.2em;
|
|
119
|
+
}
|
|
120
|
+
&.is--count {
|
|
121
|
+
.vxe-input--inner {
|
|
122
|
+
padding-right: 5em;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
.vxe-input--count {
|
|
126
|
+
right: $iconWidth + 0.5em;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
&.is--left {
|
|
130
|
+
.vxe-input--inner {
|
|
131
|
+
text-align: left;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
&.is--center {
|
|
135
|
+
.vxe-input--inner {
|
|
136
|
+
text-align: center;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
&.is--right {
|
|
140
|
+
.vxe-input--inner {
|
|
141
|
+
text-align: right;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
&.is--count {
|
|
145
|
+
.vxe-input--inner {
|
|
146
|
+
padding-right: 3.4em;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
&.is--controls {
|
|
150
|
+
&.type--search,
|
|
151
|
+
&.type--password,
|
|
152
|
+
&.type--number,
|
|
153
|
+
&.type--integer,
|
|
154
|
+
&.type--float,
|
|
155
|
+
&.type--date,
|
|
156
|
+
&.type--datetime,
|
|
157
|
+
&.type--week,
|
|
158
|
+
&.type--month,
|
|
159
|
+
&.type--quarter,
|
|
160
|
+
&.type--year,
|
|
161
|
+
&.type--time {
|
|
162
|
+
.vxe-input--inner {
|
|
163
|
+
padding-right: $iconWidth + 0.2em;
|
|
164
|
+
}
|
|
165
|
+
.vxe-input--suffix {
|
|
166
|
+
right: $iconWidth;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
&.is--suffix {
|
|
171
|
+
&.is--controls {
|
|
172
|
+
&.type--search,
|
|
173
|
+
&.type--password,
|
|
174
|
+
&.type--number,
|
|
175
|
+
&.type--integer,
|
|
176
|
+
&.type--float,
|
|
177
|
+
&.type--date,
|
|
178
|
+
&.type--datetime,
|
|
179
|
+
&.type--week,
|
|
180
|
+
&.type--month,
|
|
181
|
+
&.type--quarter,
|
|
182
|
+
&.type--year,
|
|
183
|
+
&.type--time {
|
|
184
|
+
.vxe-input--inner {
|
|
185
|
+
padding-right: $iconWidth * 2;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
&.is--suffix {
|
|
191
|
+
&:hover {
|
|
192
|
+
.vxe-input--suffix {
|
|
193
|
+
&.is--clear {
|
|
194
|
+
.vxe-input--suffix-icon {
|
|
195
|
+
display: none;
|
|
196
|
+
}
|
|
197
|
+
.vxe-input--clear-icon {
|
|
198
|
+
display: inline;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
&:not(.is--disabled) {
|
|
205
|
+
.vxe-input--suffix {
|
|
206
|
+
&:hover {
|
|
207
|
+
.vxe-input--clear-icon {
|
|
208
|
+
color: var(--vxe-font-color);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
&:active {
|
|
212
|
+
.vxe-input--clear-icon {
|
|
213
|
+
color: var(--vxe-primary-color);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
.vxe-input--extra-suffix {
|
|
218
|
+
&:hover {
|
|
219
|
+
.vxe-input--search-suffix,
|
|
220
|
+
.vxe-input--password-suffix {
|
|
221
|
+
color: var(--vxe-font-color);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
&:active {
|
|
225
|
+
.vxe-input--search-suffix,
|
|
226
|
+
.vxe-input--password-suffix {
|
|
227
|
+
color: var(--vxe-primary-color);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
.vxe-input--number-prev,
|
|
232
|
+
.vxe-input--number-next {
|
|
233
|
+
&:hover {
|
|
234
|
+
color: var(--vxe-font-color);
|
|
235
|
+
}
|
|
236
|
+
&:active {
|
|
237
|
+
color: var(--vxe-primary-color);
|
|
238
|
+
}
|
|
239
|
+
&.is--disabled {
|
|
240
|
+
cursor: no-drop;
|
|
241
|
+
color: var(--vxe-ui-input-number-disabled-color);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.vxe-input {
|
|
248
|
+
.vxe-input--password-suffix,
|
|
249
|
+
.vxe-input--number-suffix,
|
|
250
|
+
.vxe-input--date-picker-suffix,
|
|
251
|
+
.vxe-input--search-suffix {
|
|
252
|
+
position: relative;
|
|
253
|
+
width: 100%;
|
|
254
|
+
height: 100%;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.vxe-input--date-picker-icon,
|
|
258
|
+
.vxe-input--search-icon,
|
|
259
|
+
.vxe-input--password-icon {
|
|
260
|
+
position: absolute;
|
|
261
|
+
left: 50%;
|
|
262
|
+
top: 50%;
|
|
263
|
+
transform: translate(-50%, -50%);
|
|
264
|
+
&[class*="vxe-icon-"] {
|
|
265
|
+
font-size: 1.2em;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.vxe-input--date-picker-suffix {
|
|
270
|
+
display: flex;
|
|
271
|
+
align-items: center;
|
|
272
|
+
justify-content: center;
|
|
273
|
+
.vxe-input--panel-icon {
|
|
274
|
+
@include createAnimationTransition(transform, .2s);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.vxe-input--number-prev,
|
|
279
|
+
.vxe-input--number-next {
|
|
280
|
+
position: relative;
|
|
281
|
+
display: block;
|
|
282
|
+
height: 50%;
|
|
283
|
+
width: 100%;
|
|
284
|
+
text-align: center;
|
|
285
|
+
}
|
|
286
|
+
.vxe-input--number-prev-icon,
|
|
287
|
+
.vxe-input--number-next-icon {
|
|
288
|
+
line-height: 0.8em;
|
|
289
|
+
position: absolute;
|
|
290
|
+
left: 50%;
|
|
291
|
+
transform: translateX(-50%);
|
|
292
|
+
}
|
|
293
|
+
.vxe-input--number-prev-icon {
|
|
294
|
+
bottom: 0;
|
|
295
|
+
}
|
|
296
|
+
.vxe-input--number-next-icon {
|
|
297
|
+
top: 0;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.vxe-input--panel {
|
|
302
|
+
display: none;
|
|
303
|
+
position: absolute;
|
|
304
|
+
left: 0;
|
|
305
|
+
padding: 4px 0;
|
|
306
|
+
color: var(--vxe-font-color);
|
|
307
|
+
font-size: var(--vxe-font-size);
|
|
308
|
+
text-align: left;
|
|
309
|
+
&:not(.is--transfer) {
|
|
310
|
+
min-width: 100%;
|
|
311
|
+
}
|
|
312
|
+
&.is--transfer {
|
|
313
|
+
position: fixed;
|
|
314
|
+
}
|
|
315
|
+
&.animat--leave {
|
|
316
|
+
display: block;
|
|
317
|
+
opacity: 0;
|
|
318
|
+
transform: scaleY(0.5);
|
|
319
|
+
transition: transform .3s cubic-bezier(.23,1,.32,1), opacity .3s cubic-bezier(.23,1,.32,1);
|
|
320
|
+
transform-origin: center top;
|
|
321
|
+
backface-visibility: hidden;
|
|
322
|
+
transform-style: preserve-3d;
|
|
323
|
+
&[placement="top"] {
|
|
324
|
+
transform-origin: center bottom;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
&.animat--enter {
|
|
328
|
+
opacity: 1;
|
|
329
|
+
transform: scaleY(1);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.vxe-input--panel-wrapper,
|
|
334
|
+
.vxe-input--panel-layout-wrapper {
|
|
335
|
+
background-color: var(--vxe-ui-input-panel-background-color);
|
|
336
|
+
border: 1px solid var(---vxe-ui-base-popup-border-color);
|
|
337
|
+
box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.1);
|
|
338
|
+
border-radius: var(--vxe-border-radius);
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.vxe-input--panel-wrapper {
|
|
342
|
+
overflow-x: hidden;
|
|
343
|
+
overflow-y: auto;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.vxe-input--panel-layout-wrapper {
|
|
347
|
+
display: flex;
|
|
348
|
+
flex-direction: row;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.vxe-input--panel {
|
|
352
|
+
&.type--date,
|
|
353
|
+
&.type--week,
|
|
354
|
+
&.type--month,
|
|
355
|
+
&.type--quarter,
|
|
356
|
+
&.type--year {
|
|
357
|
+
user-select: none;
|
|
358
|
+
}
|
|
359
|
+
&.type--datetime {
|
|
360
|
+
.vxe-input--panel-right-wrapper {
|
|
361
|
+
display: flex;
|
|
362
|
+
flex-direction: column;
|
|
363
|
+
border-left: 1px solid var(--vxe-ui-input-border-color);
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
&.type--date,
|
|
367
|
+
&.type--datetime {
|
|
368
|
+
.vxe-input--date-picker-body {
|
|
369
|
+
th {
|
|
370
|
+
width: 14.28571%;
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
&.type--week {
|
|
375
|
+
.vxe-input--date-picker-body {
|
|
376
|
+
table {
|
|
377
|
+
th {
|
|
378
|
+
width: 12%;
|
|
379
|
+
&:first-child {
|
|
380
|
+
width: 14%;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
&.type--quarter {
|
|
387
|
+
.vxe-input--date-picker-body {
|
|
388
|
+
table {
|
|
389
|
+
th {
|
|
390
|
+
width: 50%;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
&.type--month,
|
|
396
|
+
&.type--year {
|
|
397
|
+
.vxe-input--date-picker-body {
|
|
398
|
+
td {
|
|
399
|
+
width: 25%;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.vxe-input--time-picker-title {
|
|
406
|
+
display: inline-block;
|
|
407
|
+
text-align: center;
|
|
408
|
+
border: 1px solid var(--vxe-ui-input-border-color);
|
|
409
|
+
border-radius: var(--vxe-border-radius);
|
|
410
|
+
}
|
|
411
|
+
.vxe-input--time-picker-confirm {
|
|
412
|
+
position: absolute;
|
|
413
|
+
right: 0;
|
|
414
|
+
top: 0;
|
|
415
|
+
}
|
|
416
|
+
.vxe-input--time-picker-confirm,
|
|
417
|
+
.vxe-input--date-picker-confirm {
|
|
418
|
+
outline: 0;
|
|
419
|
+
border: 1px solid var(--vxe-ui-input-border-color);
|
|
420
|
+
border-radius: var(--vxe-border-radius);
|
|
421
|
+
cursor: pointer;
|
|
422
|
+
color: var(--vxe-ui-input-date-time-confirm-button-color);
|
|
423
|
+
border-color: var(--vxe-primary-color);
|
|
424
|
+
background-color: var(--vxe-primary-color);
|
|
425
|
+
&:hover {
|
|
426
|
+
background-color: var(--vxe-primary-lighten-color);
|
|
427
|
+
border-color: var(--vxe-primary-lighten-color);
|
|
428
|
+
}
|
|
429
|
+
&:active {
|
|
430
|
+
background-color: var(--vxe-primary-darken-color);
|
|
431
|
+
border-color: var(--vxe-primary-darken-color);
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.vxe-input--time-picker-header {
|
|
436
|
+
display: flex;
|
|
437
|
+
position: relative;
|
|
438
|
+
flex-shrink: 0;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.vxe-input--date-picker-header {
|
|
442
|
+
display: flex;
|
|
443
|
+
flex-direction: row;
|
|
444
|
+
user-select: none;
|
|
445
|
+
.vxe-input--date-picker-type-wrapper {
|
|
446
|
+
flex-grow: 1;
|
|
447
|
+
}
|
|
448
|
+
.vxe-input--date-picker-btn-wrapper {
|
|
449
|
+
flex-shrink: 0;
|
|
450
|
+
text-align: center;
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
.vxe-input--date-picker-type-wrapper {
|
|
454
|
+
.vxe-input--date-picker-label,
|
|
455
|
+
.vxe-input--date-picker-btn {
|
|
456
|
+
display: inline-block;
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
.vxe-input--date-picker-btn-wrapper {
|
|
460
|
+
display: flex;
|
|
461
|
+
flex-direction: row;
|
|
462
|
+
}
|
|
463
|
+
.vxe-input--date-picker-label,
|
|
464
|
+
.vxe-input--date-picker-btn {
|
|
465
|
+
display: flex;
|
|
466
|
+
align-items: center;
|
|
467
|
+
justify-content: center;
|
|
468
|
+
background-color: var(--vxe-button-default-background-color);
|
|
469
|
+
}
|
|
470
|
+
.vxe-input--date-picker-btn {
|
|
471
|
+
&.is--disabled {
|
|
472
|
+
color: var(--vxe-font-disabled-color);
|
|
473
|
+
cursor: no-drop;
|
|
474
|
+
}
|
|
475
|
+
&:not(.is--disabled) {
|
|
476
|
+
cursor: pointer;
|
|
477
|
+
&:hover {
|
|
478
|
+
background-color: #fff;
|
|
479
|
+
}
|
|
480
|
+
&:active {
|
|
481
|
+
background-color: #fff;
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
.vxe-input--date-picker-body {
|
|
486
|
+
border-radius: var(--vxe-border-radius);
|
|
487
|
+
border: 1px solid var(---vxe-ui-base-popup-border-color);
|
|
488
|
+
user-select: none;
|
|
489
|
+
table {
|
|
490
|
+
border: 0;
|
|
491
|
+
width: 100%;
|
|
492
|
+
border-spacing: 0;
|
|
493
|
+
border-collapse: separate;
|
|
494
|
+
text-align: center;
|
|
495
|
+
table-layout: fixed
|
|
496
|
+
}
|
|
497
|
+
th,
|
|
498
|
+
td {
|
|
499
|
+
font-weight: normal;
|
|
500
|
+
}
|
|
501
|
+
th {
|
|
502
|
+
box-shadow: inset 0 -1px 0 0 var(---vxe-ui-base-popup-border-color);
|
|
503
|
+
}
|
|
504
|
+
td {
|
|
505
|
+
&.is--prev,
|
|
506
|
+
&.is--next {
|
|
507
|
+
color: var(--vxe-font-disabled-color);
|
|
508
|
+
.vxe-input--date-label,
|
|
509
|
+
.vxe-input--date-festival {
|
|
510
|
+
color: var(--vxe-font-disabled-color);
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
&.is--now {
|
|
514
|
+
box-shadow: inset 0 0 0 1px var(---vxe-ui-base-popup-border-color);
|
|
515
|
+
&:not(.is--selected) {
|
|
516
|
+
&.is--current {
|
|
517
|
+
color: var(--vxe-primary-color);
|
|
518
|
+
.vxe-input--date-label,
|
|
519
|
+
.vxe-input--date-festival {
|
|
520
|
+
color: var(--vxe-primary-color);
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
&.is--hover {
|
|
526
|
+
background-color: var(--vxe-ui-input-date-picker-hover-background-color);
|
|
527
|
+
}
|
|
528
|
+
&.is--selected {
|
|
529
|
+
color: var(--vxe-ui-input-date-picker-selected-color);
|
|
530
|
+
background-color: var(--vxe-primary-color);
|
|
531
|
+
&.is--prev,
|
|
532
|
+
&.is--next {
|
|
533
|
+
background-color: var(--vxe-primary-lighten-color);
|
|
534
|
+
}
|
|
535
|
+
.vxe-input--date-label,
|
|
536
|
+
.vxe-input--date-festival {
|
|
537
|
+
color: var(--vxe-ui-input-date-picker-festival-selected-color);
|
|
538
|
+
}
|
|
539
|
+
.vxe-input--date-label {
|
|
540
|
+
&.is-notice {
|
|
541
|
+
&:before {
|
|
542
|
+
background-color: var(--vxe-ui-input-date-picker-notice-selected-background-color);
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
&:not(.is--disabled) {
|
|
548
|
+
cursor: pointer;
|
|
549
|
+
}
|
|
550
|
+
&.is--disabled {
|
|
551
|
+
cursor: no-drop;
|
|
552
|
+
color: var(--vxe-ui-input-disabled-color);
|
|
553
|
+
background-color: var(--vxe-ui-input-disabled-background-color);
|
|
554
|
+
.vxe-input--date-label,
|
|
555
|
+
.vxe-input--date-festival {
|
|
556
|
+
color: var(--vxe-ui-input-disabled-color);
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
.vxe-input--date-week-view {
|
|
563
|
+
th {
|
|
564
|
+
&:first-child {
|
|
565
|
+
box-shadow: inset -1px -1px 0 0 var(---vxe-ui-base-popup-border-color);
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
td {
|
|
569
|
+
&:first-child {
|
|
570
|
+
box-shadow: inset -1px 0 0 0 var(---vxe-ui-base-popup-border-color);
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.vxe-input--date-label,
|
|
576
|
+
.vxe-input--date-festival {
|
|
577
|
+
display: block;
|
|
578
|
+
overflow: hidden;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
.vxe-input--date-label {
|
|
582
|
+
position: relative;
|
|
583
|
+
&.is-notice {
|
|
584
|
+
&:before {
|
|
585
|
+
content: "";
|
|
586
|
+
position: absolute;
|
|
587
|
+
width: 4px;
|
|
588
|
+
height: 4px;
|
|
589
|
+
left: 0.8em;
|
|
590
|
+
top: 0.1em;
|
|
591
|
+
transform: translateX(-50%);
|
|
592
|
+
border-radius: 100%;
|
|
593
|
+
background-color: var(--vxe-ui-input-date-notice-background-color);
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
.vxe-input--date-label--extra {
|
|
598
|
+
position: absolute;
|
|
599
|
+
right: 0.1em;
|
|
600
|
+
top: -0.2em;
|
|
601
|
+
font-size: 12px;
|
|
602
|
+
line-height: 12px;
|
|
603
|
+
transform: scale(0.7);
|
|
604
|
+
color: var(--vxe-ui-input-date-extra-color);
|
|
605
|
+
&.is-important {
|
|
606
|
+
color: var(--vxe-ui-input-date-extra-important-color);
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
.vxe-input--date-festival {
|
|
611
|
+
color: var(--vxe-ui-input-date-festival-color);
|
|
612
|
+
height: 14px;
|
|
613
|
+
line-height: 1;
|
|
614
|
+
overflow: hidden;
|
|
615
|
+
&.is-important {
|
|
616
|
+
color: var(--vxe-ui-input-date-festival-important-color);
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
.vxe-input--date-festival--label {
|
|
620
|
+
display: block;
|
|
621
|
+
font-size: 12px;
|
|
622
|
+
transform: scale(0.8);
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
@keyframes festivalOverlap2 {
|
|
626
|
+
0%, 45%, 100% {
|
|
627
|
+
transform: translateY(0);
|
|
628
|
+
}
|
|
629
|
+
50%, 95% {
|
|
630
|
+
transform: translateY(-14px);
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
@keyframes festivalOverlap3 {
|
|
635
|
+
0%, 20%, 100% {
|
|
636
|
+
transform: translateY(0);
|
|
637
|
+
}
|
|
638
|
+
25%, 45%, 75%, 95% {
|
|
639
|
+
transform: translateY(-14px);
|
|
640
|
+
}
|
|
641
|
+
50%, 70% {
|
|
642
|
+
transform: translateY(-28px);
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
.vxe-input--date-festival--overlap {
|
|
647
|
+
display: block;
|
|
648
|
+
font-size: 12px;
|
|
649
|
+
&.overlap--2 {
|
|
650
|
+
animation: festivalOverlap2 6s infinite ease-in-out;
|
|
651
|
+
}
|
|
652
|
+
&.overlap--3 {
|
|
653
|
+
animation: festivalOverlap3 9s infinite ease-in-out;
|
|
654
|
+
}
|
|
655
|
+
& > span {
|
|
656
|
+
height: 14px;
|
|
657
|
+
display: block;
|
|
658
|
+
transform: scale(0.8);
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
.vxe-input--time-picker-body {
|
|
663
|
+
position: relative;
|
|
664
|
+
display: flex;
|
|
665
|
+
flex-direction: row;
|
|
666
|
+
border: 1px solid var(---vxe-ui-base-popup-border-color);
|
|
667
|
+
flex-grow: 1;
|
|
668
|
+
border-radius: var(--vxe-border-radius);
|
|
669
|
+
user-select: none;
|
|
670
|
+
& > ul {
|
|
671
|
+
height: 100%;
|
|
672
|
+
overflow: hidden;
|
|
673
|
+
margin: 0;
|
|
674
|
+
padding: 0;
|
|
675
|
+
&:before,
|
|
676
|
+
&:after {
|
|
677
|
+
content: " ";
|
|
678
|
+
display: block;
|
|
679
|
+
}
|
|
680
|
+
&:hover {
|
|
681
|
+
overflow-y: auto;
|
|
682
|
+
}
|
|
683
|
+
& > li {
|
|
684
|
+
display: block;
|
|
685
|
+
&:hover {
|
|
686
|
+
background-color: var(--vxe-ui-input-date-picker-hover-background-color);
|
|
687
|
+
cursor: pointer;
|
|
688
|
+
}
|
|
689
|
+
&.is--selected {
|
|
690
|
+
font-weight: 700;
|
|
691
|
+
color: var(--vxe-primary-color);
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
.vxe-input--time-picker-minute-list {
|
|
696
|
+
border-left: 1px solid var(---vxe-ui-base-popup-border-color);
|
|
697
|
+
}
|
|
698
|
+
.vxe-input--time-picker-second-list {
|
|
699
|
+
border-left: 1px solid var(---vxe-ui-base-popup-border-color);
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
.vxe-input {
|
|
704
|
+
font-size: var(--vxe-font-size);
|
|
705
|
+
height: var(--vxe-ui-input-height-default);
|
|
706
|
+
line-height: var(--vxe-ui-input-height-default);
|
|
707
|
+
.vxe-input--inner {
|
|
708
|
+
&[type="date"]::-webkit-inner-spin-button,
|
|
709
|
+
&[type="month"]::-webkit-inner-spin-button,
|
|
710
|
+
&[type="week"]::-webkit-inner-spin-button {
|
|
711
|
+
margin-top: 6px;
|
|
712
|
+
}
|
|
713
|
+
&[type="date"]::-webkit-inner-spin-button,
|
|
714
|
+
&[type="month"]::-webkit-inner-spin-button,
|
|
715
|
+
&[type="week"]::-webkit-inner-spin-button,
|
|
716
|
+
&[type="number"]::-webkit-inner-spin-button {
|
|
717
|
+
height: 24px;
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
&.size--medium {
|
|
721
|
+
font-size: var(--vxe-font-size-medium);
|
|
722
|
+
height: var(--vxe-ui-input-height-medium);
|
|
723
|
+
line-height: var(--vxe-ui-input-height-medium);
|
|
724
|
+
.vxe-input--inner {
|
|
725
|
+
&[type="date"]::-webkit-inner-spin-button,
|
|
726
|
+
&[type="month"]::-webkit-inner-spin-button,
|
|
727
|
+
&[type="week"]::-webkit-inner-spin-button {
|
|
728
|
+
margin-top: 4px;
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
&.size--small {
|
|
733
|
+
font-size: var(--vxe-font-size-small);
|
|
734
|
+
height: var(--vxe-ui-input-height-small);
|
|
735
|
+
line-height: var(--vxe-ui-input-height-small);
|
|
736
|
+
.vxe-input--inner {
|
|
737
|
+
&[type="date"]::-webkit-inner-spin-button,
|
|
738
|
+
&[type="month"]::-webkit-inner-spin-button,
|
|
739
|
+
&[type="week"]::-webkit-inner-spin-button {
|
|
740
|
+
margin-top: 2px;
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
&.size--mini {
|
|
745
|
+
font-size: var(--vxe-font-size-mini);
|
|
746
|
+
height: var(--vxe-ui-input-height-mini);
|
|
747
|
+
line-height: var(--vxe-ui-input-height-mini);
|
|
748
|
+
.vxe-input--inner {
|
|
749
|
+
&[type="date"]::-webkit-inner-spin-button,
|
|
750
|
+
&[type="month"]::-webkit-inner-spin-button,
|
|
751
|
+
&[type="week"]::-webkit-inner-spin-button {
|
|
752
|
+
margin-top: 0;
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
@mixin getPanelStyle ($sizeIndex) {
|
|
759
|
+
$fontSizeList: var(--vxe-font-size), var(--vxe-font-size-medium), var(--vxe-font-size-small), var(--vxe-font-size-mini);
|
|
760
|
+
$timeWeekRowHeightList: var(--vxe-ui-input-date-time-week-row-height-default), var(--vxe-ui-input-date-time-week-row-height-medium), var(--vxe-ui-input-date-time-week-row-height-small), var(--vxe-ui-input-date-time-week-row-height-mini);
|
|
761
|
+
$monthYearRowHeightList: var(--vxe-ui-input-date-month-year-row-height-default), var(--vxe-ui-input-date-month-year-row-height-medium), var(--vxe-ui-input-date-month-year-row-height-small), var(--vxe-ui-input-date-month-year-row-height-mini);
|
|
762
|
+
$quarterRowHeightList: var(--vxe-ui-input-date-quarter-row-height-default), var(--vxe-ui-input-date-quarter-row-height-medium), var(--vxe-ui-input-date-quarter-row-height-small), var(--vxe-ui-input-date-quarter-row-height-mini);
|
|
763
|
+
$titleRowHeightList: var(--vxe-ui-input-date-title-height-default), var(--vxe-ui-input-date-title-height-medium), var(--vxe-ui-input-date-title-height-small), var(--vxe-ui-input-date-title-height-mini);
|
|
764
|
+
|
|
765
|
+
font-size: nth($fontSizeList, $sizeIndex);
|
|
766
|
+
.vxe-input--panel-wrapper {
|
|
767
|
+
max-height: 400px - $sizeIndex * 20;
|
|
768
|
+
}
|
|
769
|
+
&.type--date,
|
|
770
|
+
&.type--time,
|
|
771
|
+
&.type--week,
|
|
772
|
+
&.type--month,
|
|
773
|
+
&.type--quarter,
|
|
774
|
+
&.type--year {
|
|
775
|
+
.vxe-input--panel-wrapper {
|
|
776
|
+
padding: 12px - $sizeIndex;
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
&.type--date,
|
|
780
|
+
&.type--month,
|
|
781
|
+
&.type--quarter,
|
|
782
|
+
&.type--year {
|
|
783
|
+
.vxe-input--panel-wrapper {
|
|
784
|
+
$widthList: 336px, 336px, 312px, 288px;
|
|
785
|
+
width: nth($widthList, $sizeIndex);
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
&.type--week {
|
|
789
|
+
.vxe-input--panel-wrapper {
|
|
790
|
+
$widthList: 380px, 380px, 354px, 326px;
|
|
791
|
+
width: nth($widthList, $sizeIndex);
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
&.type--time {
|
|
795
|
+
.vxe-input--panel-wrapper {
|
|
796
|
+
$widthList: 170px, 168px, 154px, 146px;
|
|
797
|
+
width: nth($widthList, $sizeIndex);
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
&.type--datetime {
|
|
801
|
+
.vxe-input--panel-left-wrapper {
|
|
802
|
+
$widthList: 336px, 336px, 312px, 288px;
|
|
803
|
+
width: nth($widthList, $sizeIndex);
|
|
804
|
+
}
|
|
805
|
+
.vxe-input--panel-left-wrapper,
|
|
806
|
+
.vxe-input--panel-right-wrapper {
|
|
807
|
+
padding: 12px - $sizeIndex;
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
.vxe-input--time-picker-title {
|
|
811
|
+
height: 31px - $sizeIndex;
|
|
812
|
+
line-height: 31px - $sizeIndex;
|
|
813
|
+
padding: 0 12px - $sizeIndex;
|
|
814
|
+
}
|
|
815
|
+
.vxe-input--date-picker-label,
|
|
816
|
+
.vxe-input--date-picker-btn {
|
|
817
|
+
height: 31px - $sizeIndex;
|
|
818
|
+
line-height: 31px - $sizeIndex;
|
|
819
|
+
}
|
|
820
|
+
.vxe-input--date-picker-btn-wrapper {
|
|
821
|
+
.vxe-input--date-picker-btn {
|
|
822
|
+
margin-left: 9px - $sizeIndex;
|
|
823
|
+
}
|
|
824
|
+
.vxe-input--date-picker-prev-btn,
|
|
825
|
+
.vxe-input--date-picker-current-btn,
|
|
826
|
+
.vxe-input--date-picker-next-btn {
|
|
827
|
+
width: 31px - $sizeIndex;
|
|
828
|
+
border-radius: var(--vxe-border-radius);
|
|
829
|
+
border: 1px solid var(--vxe-ui-input-border-color);
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
.vxe-input--date-picker-type-wrapper {
|
|
833
|
+
.vxe-input--date-picker-label,
|
|
834
|
+
.vxe-input--date-picker-btn {
|
|
835
|
+
padding: 0 10px - $sizeIndex;
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
.vxe-input--time-picker-header,
|
|
839
|
+
.vxe-input--date-picker-header {
|
|
840
|
+
$paddingBottomList: 8px, 7px, 6px, 5px;
|
|
841
|
+
padding-bottom: nth($paddingBottomList, $sizeIndex);
|
|
842
|
+
}
|
|
843
|
+
.vxe-input--date-picker-body table,
|
|
844
|
+
.vxe-input--time-picker-body {
|
|
845
|
+
height: calc(nth($timeWeekRowHeightList, $sizeIndex) * 6 + nth($titleRowHeightList, $sizeIndex));
|
|
846
|
+
}
|
|
847
|
+
.vxe-input--time-picker-body {
|
|
848
|
+
$ulWidthList: 48px, 48px, 44px, 42px;
|
|
849
|
+
& > ul {
|
|
850
|
+
width: nth($ulWidthList, $sizeIndex);
|
|
851
|
+
&:before,
|
|
852
|
+
&:after {
|
|
853
|
+
$heightList: 120px, 120px, 110px, 100px;
|
|
854
|
+
height: nth($heightList, $sizeIndex);
|
|
855
|
+
}
|
|
856
|
+
& > li {
|
|
857
|
+
height: 26px;
|
|
858
|
+
padding-left: 10px - $sizeIndex;
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
.vxe-input--time-picker-minute-list {
|
|
862
|
+
left: nth($ulWidthList, $sizeIndex);
|
|
863
|
+
}
|
|
864
|
+
.vxe-input--time-picker-second-list {
|
|
865
|
+
left: calc(nth($ulWidthList, $sizeIndex) * 2);
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
.vxe-input--date-day-view,
|
|
869
|
+
.vxe-input--date-week-view {
|
|
870
|
+
td {
|
|
871
|
+
height: nth($timeWeekRowHeightList, $sizeIndex);
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
.vxe-input--date-quarter-view {
|
|
875
|
+
td {
|
|
876
|
+
height: nth($quarterRowHeightList, $sizeIndex);
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
.vxe-input--date-month-view,
|
|
880
|
+
.vxe-input--date-year-view {
|
|
881
|
+
td {
|
|
882
|
+
height: nth($monthYearRowHeightList, $sizeIndex);
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
.vxe-input--date-picker-body {
|
|
886
|
+
th {
|
|
887
|
+
height: nth($titleRowHeightList, $sizeIndex);
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
.vxe-input--time-picker-confirm,
|
|
891
|
+
.vxe-input--date-picker-confirm {
|
|
892
|
+
height: 31px - $sizeIndex;
|
|
893
|
+
padding: 0 10px - $sizeIndex;
|
|
894
|
+
}
|
|
895
|
+
.vxe-input--date-label {
|
|
896
|
+
line-height: calc(nth($fontSizeList, $sizeIndex) + 1px);
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
.vxe-input--panel {
|
|
901
|
+
@include getPanelStyle(1);
|
|
902
|
+
&.size--medium {
|
|
903
|
+
@include getPanelStyle(2);
|
|
904
|
+
}
|
|
905
|
+
&.size--small {
|
|
906
|
+
@include getPanelStyle(3);
|
|
907
|
+
}
|
|
908
|
+
&.size--mini {
|
|
909
|
+
@include getPanelStyle(4);
|
|
910
|
+
}
|
|
911
|
+
}
|