vft 0.0.71 → 0.0.73
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/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/es/component.js +56 -40
- package/es/components/aside/style/css.js +2 -0
- package/es/components/aside/style/index.js +2 -0
- package/es/components/back-top/back-top.vue2.js +8 -2
- package/es/components/col/col.vue.js +4 -0
- package/es/components/col/col.vue2.js +60 -0
- package/es/components/col/index.js +12 -0
- package/es/components/col/style/css.js +2 -0
- package/es/components/col/style/index.js +2 -0
- package/es/components/col/types.js +1 -0
- package/es/components/color-picker/utils/color.js +41 -51
- package/es/components/container/aside.vue.js +4 -0
- package/es/components/container/aside.vue2.js +37 -0
- package/es/components/container/container.vue.js +4 -0
- package/es/components/container/container.vue2.js +33 -0
- package/es/components/container/footer.vue.js +4 -0
- package/es/components/container/footer.vue2.js +39 -0
- package/es/components/container/header.vue.js +4 -0
- package/es/components/container/header.vue2.js +39 -0
- package/es/components/container/index.js +25 -0
- package/es/components/container/main.vue.js +4 -0
- package/es/components/container/main.vue2.js +26 -0
- package/es/components/container/style/css.js +6 -0
- package/es/components/container/style/index.js +6 -0
- package/es/components/context-menu/context-menu.vue2.js +20 -14
- package/es/components/date-picker/composables/use-month-range-header.js +29 -0
- package/es/components/date-picker/composables/use-range-picker.js +68 -0
- package/es/components/date-picker/composables/use-shortcut.js +24 -0
- package/es/components/date-picker/constants.js +4 -0
- package/es/components/date-picker/date-picker-com/basic-cell-render.js +37 -0
- package/es/components/date-picker/date-picker-com/basic-date-table.vue.js +4 -0
- package/es/components/date-picker/date-picker-com/basic-date-table.vue2.js +206 -0
- package/es/components/date-picker/date-picker-com/basic-month-table.vue.js +4 -0
- package/es/components/date-picker/date-picker-com/basic-month-table.vue2.js +131 -0
- package/es/components/date-picker/date-picker-com/basic-year-table.vue.js +4 -0
- package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +85 -0
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue.js +4 -0
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +455 -0
- package/es/components/date-picker/date-picker-com/panel-date-range.vue.js +4 -0
- package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +383 -0
- package/es/components/date-picker/date-picker-com/panel-month-range.vue.js +4 -0
- package/es/components/date-picker/date-picker-com/panel-month-range.vue2.js +170 -0
- package/es/components/date-picker/date-picker.js +81 -0
- package/es/components/date-picker/date-picker.type.js +1 -0
- package/es/components/date-picker/index.js +14 -0
- package/es/components/date-picker/panel-utils.js +17 -0
- package/es/components/date-picker/props/basic-cell.js +14 -0
- package/es/components/date-picker/props/basic-date-table.js +18 -0
- package/es/components/date-picker/props/basic-month-table.js +14 -0
- package/es/components/date-picker/props/basic-year-table.js +15 -0
- package/es/components/date-picker/props/date-picker.js +18 -0
- package/es/components/date-picker/props/panel-date-pick.js +23 -0
- package/es/components/date-picker/props/panel-date-range.js +14 -0
- package/es/components/date-picker/props/panel-month-range.js +14 -0
- package/es/components/date-picker/props/shared.js +56 -0
- package/es/components/date-picker/style/css.js +2 -0
- package/es/components/date-picker/style/index.js +7 -0
- package/es/components/date-picker/utils.js +49 -0
- package/es/components/date-time-select/date-time-select.vue2.js +69 -63
- package/es/components/date-time-select/style/index.js +6 -0
- package/es/components/footer/style/css.js +2 -0
- package/es/components/footer/style/index.js +2 -0
- package/es/components/footer-layout/footer-layout.vue2.js +105 -35
- package/es/components/header/style/css.js +2 -0
- package/es/components/header/style/index.js +2 -0
- package/es/components/header-layout/header-layout.vue2.js +122 -37
- package/es/components/horizontal-menu/horizontal-menu.vue.js +4 -0
- package/es/components/horizontal-menu/horizontal-menu.vue2.js +115 -0
- package/es/components/horizontal-menu/index.js +12 -0
- package/es/components/horizontal-menu/style/css.js +6 -0
- package/es/components/horizontal-menu/style/index.js +6 -0
- package/es/components/index.js +254 -209
- package/es/components/input/input.vue2.js +184 -178
- package/es/components/link/link.vue2.js +24 -24
- package/es/components/logo/logo.vue2.js +21 -21
- package/es/components/main/style/css.js +2 -0
- package/es/components/main/style/index.js +2 -0
- package/es/components/md-container/md-container.vue2.js +65 -59
- package/es/components/md-container/toc.js +1 -1
- package/es/components/menu/menu-item.vue2.js +89 -62
- package/es/components/menu/menu.vue2.js +100 -106
- package/es/components/menu/sub-menu.vue2.js +83 -76
- package/es/components/menu/utils/menu-item.js +15 -19
- package/es/components/menu/utils/submenu.js +20 -25
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +45 -39
- package/es/components/result/result.vue2.js +8 -2
- package/es/components/row/constants.js +4 -0
- package/es/components/row/index.js +14 -0
- package/es/components/row/row.vue.js +4 -0
- package/es/components/row/row.vue2.js +49 -0
- package/es/components/row/style/css.js +2 -0
- package/es/components/row/style/index.js +2 -0
- package/es/components/row/types.js +1 -0
- package/es/components/search/search.vue2.js +126 -114
- package/es/components/side-menu/side-menu.vue2.js +212 -146
- package/es/components/side-menu/use-drag-line.js +29 -28
- package/es/components/tabs/tab-nav.vue2.js +48 -42
- package/es/components/time-picker/common/picker.vue.js +4 -0
- package/es/components/time-picker/common/picker.vue2.js +438 -0
- package/es/components/time-picker/common/props.js +201 -0
- package/es/components/time-picker/composables/use-time-panel.js +60 -0
- package/es/components/time-picker/composables/use-time-picker.js +40 -0
- package/es/components/time-picker/constants.js +17 -0
- package/es/components/time-picker/index.js +31 -0
- package/es/components/time-picker/props/basic-time-spinner.js +31 -0
- package/es/components/time-picker/props/panel-time-picker.js +17 -0
- package/es/components/time-picker/props/panel-time-range.js +16 -0
- package/es/components/time-picker/props/shared.js +40 -0
- package/es/components/time-picker/style/css.js +2 -0
- package/es/components/time-picker/style/index.js +2 -0
- package/es/components/time-picker/time-picker-com/basic-time-spinner.vue.js +4 -0
- package/es/components/time-picker/time-picker-com/basic-time-spinner.vue2.js +227 -0
- package/es/components/time-picker/time-picker-com/panel-time-pick.vue.js +4 -0
- package/es/components/time-picker/time-picker-com/panel-time-pick.vue2.js +107 -0
- package/es/components/time-picker/time-picker-com/panel-time-range.vue.js +4 -0
- package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +190 -0
- package/es/components/time-picker/time-picker.js +70 -0
- package/es/components/time-picker/types.js +1 -0
- package/es/components/time-picker/utils.js +35 -0
- package/es/components/time-select/style/css.js +2 -0
- package/es/components/time-select/style/index.js +2 -0
- package/es/components/time-select/time-select.js +54 -0
- package/es/components/time-select/time-select.vue.js +4 -0
- package/es/components/time-select/time-select.vue2.js +104 -0
- package/es/components/time-select/utils.js +40 -0
- package/es/components/tooltip/index.js +5 -3
- package/es/index.js +381 -336
- package/es/package.json.js +1 -1
- package/global.d.ts +73 -2
- package/lib/component.cjs +1 -1
- package/lib/components/aside/style/css.cjs +1 -0
- package/lib/components/aside/style/index.cjs +1 -0
- package/lib/components/back-top/back-top.vue2.cjs +1 -1
- package/lib/components/col/col.vue.cjs +1 -0
- package/lib/components/col/col.vue2.cjs +1 -0
- package/lib/components/col/index.cjs +1 -0
- package/lib/components/col/style/css.cjs +1 -0
- package/lib/components/col/style/index.cjs +1 -0
- package/lib/components/col/types.cjs +1 -0
- package/lib/components/color-picker/utils/color.cjs +1 -1
- package/lib/components/container/aside.vue.cjs +1 -0
- package/lib/components/container/aside.vue2.cjs +1 -0
- package/lib/components/container/container.vue.cjs +1 -0
- package/lib/components/container/container.vue2.cjs +1 -0
- package/lib/components/container/footer.vue.cjs +1 -0
- package/lib/components/container/footer.vue2.cjs +1 -0
- package/lib/components/container/header.vue.cjs +1 -0
- package/lib/components/container/header.vue2.cjs +1 -0
- package/lib/components/container/index.cjs +1 -0
- package/lib/components/container/main.vue.cjs +1 -0
- package/lib/components/container/main.vue2.cjs +1 -0
- package/lib/components/container/style/css.cjs +1 -0
- package/lib/components/container/style/index.cjs +1 -0
- package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
- package/lib/components/date-picker/composables/use-month-range-header.cjs +1 -0
- package/lib/components/date-picker/composables/use-range-picker.cjs +1 -0
- package/lib/components/date-picker/composables/use-shortcut.cjs +1 -0
- package/lib/components/date-picker/constants.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-cell-render.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-date-table.vue.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-date-table.vue2.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-month-table.vue.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-month-table.vue2.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-year-table.vue.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-year-table.vue2.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/panel-date-pick.vue.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/panel-date-pick.vue2.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue2.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/panel-month-range.vue.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/panel-month-range.vue2.cjs +1 -0
- package/lib/components/date-picker/date-picker.cjs +1 -0
- package/lib/components/date-picker/date-picker.type.cjs +1 -0
- package/lib/components/date-picker/index.cjs +1 -0
- package/lib/components/date-picker/panel-utils.cjs +1 -0
- package/lib/components/date-picker/props/basic-cell.cjs +1 -0
- package/lib/components/date-picker/props/basic-date-table.cjs +1 -0
- package/lib/components/date-picker/props/basic-month-table.cjs +1 -0
- package/lib/components/date-picker/props/basic-year-table.cjs +1 -0
- package/lib/components/date-picker/props/date-picker.cjs +1 -0
- package/lib/components/date-picker/props/panel-date-pick.cjs +1 -0
- package/lib/components/date-picker/props/panel-date-range.cjs +1 -0
- package/lib/components/date-picker/props/panel-month-range.cjs +1 -0
- package/lib/components/date-picker/props/shared.cjs +1 -0
- package/lib/components/date-picker/style/css.cjs +1 -0
- package/lib/components/date-picker/style/index.cjs +1 -0
- package/lib/components/date-picker/utils.cjs +1 -0
- package/lib/components/date-time-select/date-time-select.vue2.cjs +1 -1
- package/lib/components/date-time-select/style/index.cjs +1 -1
- package/lib/components/footer/style/css.cjs +1 -0
- package/lib/components/footer/style/index.cjs +1 -0
- package/lib/components/footer-layout/footer-layout.vue2.cjs +1 -1
- package/lib/components/header/style/css.cjs +1 -0
- package/lib/components/header/style/index.cjs +1 -0
- package/lib/components/header-layout/header-layout.vue2.cjs +1 -1
- package/lib/components/horizontal-menu/horizontal-menu.vue.cjs +1 -0
- package/lib/components/horizontal-menu/horizontal-menu.vue2.cjs +1 -0
- package/lib/components/horizontal-menu/index.cjs +1 -0
- package/lib/components/horizontal-menu/style/css.cjs +1 -0
- package/lib/components/horizontal-menu/style/index.cjs +1 -0
- package/lib/components/index.cjs +1 -1
- package/lib/components/input/input.vue2.cjs +1 -1
- package/lib/components/link/link.vue2.cjs +1 -1
- package/lib/components/logo/logo.vue2.cjs +1 -1
- package/lib/components/main/style/css.cjs +1 -0
- package/lib/components/main/style/index.cjs +1 -0
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/md-container/toc.cjs +1 -1
- package/lib/components/menu/menu-item.vue2.cjs +1 -1
- package/lib/components/menu/menu.vue2.cjs +1 -1
- package/lib/components/menu/sub-menu.vue2.cjs +1 -1
- package/lib/components/menu/utils/menu-item.cjs +1 -1
- package/lib/components/menu/utils/submenu.cjs +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/result/result.vue2.cjs +1 -1
- package/lib/components/row/constants.cjs +1 -0
- package/lib/components/row/index.cjs +1 -0
- package/lib/components/row/row.vue.cjs +1 -0
- package/lib/components/row/row.vue2.cjs +1 -0
- package/lib/components/row/style/css.cjs +1 -0
- package/lib/components/row/style/index.cjs +1 -0
- package/lib/components/row/types.cjs +1 -0
- package/lib/components/search/search.vue2.cjs +1 -1
- package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
- package/lib/components/side-menu/use-drag-line.cjs +1 -1
- package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
- package/lib/components/time-picker/common/picker.vue.cjs +1 -0
- package/lib/components/time-picker/common/picker.vue2.cjs +1 -0
- package/lib/components/time-picker/common/props.cjs +1 -0
- package/lib/components/time-picker/composables/use-time-panel.cjs +1 -0
- package/lib/components/time-picker/composables/use-time-picker.cjs +1 -0
- package/lib/components/time-picker/constants.cjs +1 -0
- package/lib/components/time-picker/index.cjs +1 -0
- package/lib/components/time-picker/props/basic-time-spinner.cjs +1 -0
- package/lib/components/time-picker/props/panel-time-picker.cjs +1 -0
- package/lib/components/time-picker/props/panel-time-range.cjs +1 -0
- package/lib/components/time-picker/props/shared.cjs +1 -0
- package/lib/components/time-picker/style/css.cjs +1 -0
- package/lib/components/time-picker/style/index.cjs +1 -0
- package/lib/components/time-picker/time-picker-com/basic-time-spinner.vue.cjs +1 -0
- package/lib/components/time-picker/time-picker-com/basic-time-spinner.vue2.cjs +1 -0
- package/lib/components/time-picker/time-picker-com/panel-time-pick.vue.cjs +1 -0
- package/lib/components/time-picker/time-picker-com/panel-time-pick.vue2.cjs +1 -0
- package/lib/components/time-picker/time-picker-com/panel-time-range.vue.cjs +1 -0
- package/lib/components/time-picker/time-picker-com/panel-time-range.vue2.cjs +1 -0
- package/lib/components/time-picker/time-picker.cjs +1 -0
- package/lib/components/time-picker/types.cjs +1 -0
- package/lib/components/time-picker/utils.cjs +1 -0
- package/lib/components/time-select/style/css.cjs +1 -0
- package/lib/components/time-select/style/index.cjs +1 -0
- package/lib/components/time-select/time-select.cjs +1 -0
- package/lib/components/time-select/time-select.vue.cjs +1 -0
- package/lib/components/time-select/time-select.vue2.cjs +1 -0
- package/lib/components/time-select/utils.cjs +1 -0
- package/lib/components/tooltip/index.cjs +1 -1
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/package.json +7 -7
- package/tags.json +1 -1
- package/theme-style/base.css +1 -1
- package/theme-style/display.css +1 -0
- package/theme-style/index.css +1 -1
- package/theme-style/src/affix.scss +7 -0
- package/theme-style/src/aside.scss +8 -0
- package/theme-style/src/autocomplete.scss +83 -0
- package/theme-style/src/back-top.scss +7 -6
- package/theme-style/src/badge.scss +57 -0
- package/theme-style/src/breadcrumb-item.scss +0 -0
- package/theme-style/src/breadcrumb.scss +61 -0
- package/theme-style/src/calendar.scss +80 -0
- package/theme-style/src/card.scss +38 -0
- package/theme-style/src/carousel-item.scss +50 -0
- package/theme-style/src/carousel.scss +174 -0
- package/theme-style/src/cascader-panel.scss +138 -0
- package/theme-style/src/cascader.scss +216 -0
- package/theme-style/src/check-tag.scss +29 -0
- package/theme-style/src/col.scss +52 -0
- package/theme-style/src/collapse-item.scss +0 -0
- package/theme-style/src/collapse.scss +67 -0
- package/theme-style/src/color-picker.scss +2 -2
- package/theme-style/src/common/popup.scss +47 -0
- package/theme-style/src/common/var.scss +381 -6
- package/theme-style/src/container.scss +14 -0
- package/theme-style/src/date-picker/date-picker.scss +110 -0
- package/theme-style/src/date-picker/date-range-picker.scss +113 -0
- package/theme-style/src/date-picker/date-table.scss +162 -0
- package/theme-style/src/date-picker/month-table.scss +90 -0
- package/theme-style/src/date-picker/picker-panel.scss +131 -0
- package/theme-style/src/date-picker/picker.scss +210 -0
- package/theme-style/src/date-picker/time-picker.scss +90 -0
- package/theme-style/src/date-picker/time-range-picker.scss +33 -0
- package/theme-style/src/date-picker/time-spinner.scss +111 -0
- package/theme-style/src/date-picker/year-table.scss +60 -0
- package/theme-style/src/date-picker.scss +9 -0
- package/theme-style/src/date-time-select.scss +1 -1
- package/theme-style/src/display.scss +12 -0
- package/theme-style/src/drawer.scss +160 -0
- package/theme-style/src/footer-layout.scss +4 -9
- package/theme-style/src/footer.scss +11 -0
- package/theme-style/src/header-layout.scss +26 -15
- package/theme-style/src/header.scss +11 -0
- package/theme-style/src/horizontal-menu.scss +90 -0
- package/theme-style/src/icon.scss +6 -6
- package/theme-style/src/index.scss +123 -76
- package/theme-style/src/infinite-scroll.scss +0 -0
- package/theme-style/src/input-number.scss +175 -0
- package/theme-style/src/input.scss +2 -4
- package/theme-style/src/list-cell.scss +3 -3
- package/theme-style/src/loading.scss +1 -1
- package/theme-style/src/main.scss +10 -0
- package/theme-style/src/md/code.scss +3 -3
- package/theme-style/src/md/demo-block.scss +2 -2
- package/theme-style/src/md/pswp.scss +4 -4
- package/theme-style/src/md/scroll-bar.scss +1 -1
- package/theme-style/src/md/table.scss +3 -3
- package/theme-style/src/md/toc.scss +3 -3
- package/theme-style/src/md-container.scss +6 -8
- package/theme-style/src/menu.scss +43 -17
- package/theme-style/src/message-box.scss +258 -0
- package/theme-style/src/mixins/_col.scss +38 -0
- package/theme-style/src/mixins/mixins.scss +25 -0
- package/theme-style/src/notification.scss +105 -0
- package/theme-style/src/option.scss +36 -0
- package/theme-style/src/pagination.scss +0 -2
- package/theme-style/src/progress.scss +169 -0
- package/theme-style/src/rate.scss +101 -0
- package/theme-style/src/reset.scss +92 -0
- package/theme-style/src/row.scss +31 -0
- package/theme-style/src/search.scss +6 -5
- package/theme-style/src/select-dropdown.scss +2 -2
- package/theme-style/src/side-menu.scss +9 -3
- package/theme-style/src/slider.scss +211 -0
- package/theme-style/src/space.scss +20 -0
- package/theme-style/src/spinner.scss +43 -0
- package/theme-style/src/statistic.scss +35 -0
- package/theme-style/src/step.scss +316 -0
- package/theme-style/src/steps.scss +21 -0
- package/theme-style/src/tabs.scss +2 -2
- package/theme-style/src/time-picker.scss +5 -0
- package/theme-style/src/time-select.scss +37 -0
- package/theme-style/src/timeline-item.scss +85 -0
- package/theme-style/src/timeline.scss +46 -0
- package/theme-style/src/transfer.scss +206 -0
- package/theme-style/src/tree-select.scss +36 -0
- package/theme-style/src/tree.scss +131 -0
- package/theme-style/src/upload.scss +621 -0
- package/theme-style/vft-affix.css +1 -0
- package/theme-style/vft-aside.css +1 -0
- package/theme-style/vft-autocomplete.css +1 -0
- package/theme-style/vft-back-top.css +1 -1
- package/theme-style/vft-badge.css +1 -0
- package/theme-style/vft-breadcrumb-item.css +0 -0
- package/theme-style/vft-breadcrumb.css +1 -0
- package/theme-style/vft-calendar.css +1 -0
- package/theme-style/vft-card.css +1 -0
- package/theme-style/vft-carousel-item.css +1 -0
- package/theme-style/vft-carousel.css +1 -0
- package/theme-style/vft-cascader-panel.css +1 -0
- package/theme-style/vft-cascader.css +1 -0
- package/theme-style/vft-check-tag.css +1 -0
- package/theme-style/vft-col.css +1 -0
- package/theme-style/vft-collapse-item.css +0 -0
- package/theme-style/vft-collapse.css +1 -0
- package/theme-style/vft-color-picker.css +1 -1
- package/theme-style/vft-container.css +1 -0
- package/theme-style/vft-date-picker.css +1 -0
- package/theme-style/vft-drawer.css +1 -0
- package/theme-style/vft-footer-layout.css +1 -1
- package/theme-style/vft-footer.css +1 -0
- package/theme-style/vft-header-layout.css +1 -1
- package/theme-style/vft-header.css +1 -0
- package/theme-style/vft-horizontal-menu.css +1 -0
- package/theme-style/vft-infinite-scroll.css +0 -0
- package/theme-style/vft-input-number.css +1 -0
- package/theme-style/vft-main.css +1 -0
- package/theme-style/vft-md-container.css +1 -1
- package/theme-style/vft-menu.css +1 -1
- package/theme-style/vft-message-box.css +1 -0
- package/theme-style/vft-notification.css +1 -0
- package/theme-style/vft-option.css +1 -0
- package/theme-style/vft-pagination.css +1 -1
- package/theme-style/vft-progress.css +1 -0
- package/theme-style/vft-rate.css +1 -0
- package/theme-style/vft-reset.css +1 -0
- package/theme-style/vft-row.css +1 -0
- package/theme-style/vft-search.css +1 -1
- package/theme-style/vft-select-dropdown.css +1 -1
- package/theme-style/vft-select.css +1 -1
- package/theme-style/vft-side-menu.css +1 -1
- package/theme-style/vft-slider.css +1 -0
- package/theme-style/vft-space.css +1 -0
- package/theme-style/vft-spinner.css +1 -0
- package/theme-style/vft-statistic.css +1 -0
- package/theme-style/vft-step.css +1 -0
- package/theme-style/vft-steps.css +1 -0
- package/theme-style/vft-time-picker.css +1 -0
- package/theme-style/vft-time-select.css +1 -0
- package/theme-style/vft-timeline-item.css +1 -0
- package/theme-style/vft-timeline.css +1 -0
- package/theme-style/vft-transfer.css +1 -0
- package/theme-style/vft-tree-select.css +1 -0
- package/theme-style/vft-tree.css +1 -0
- package/theme-style/vft-upload.css +1 -0
- package/theme-style/vft-var.css +1 -1
- package/web-types.json +1 -1
- package/theme-style/src/md/list.scss +0 -21
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
@use '../common/var' as *;
|
|
2
|
+
@use '../mixins/mixins' as *;
|
|
3
|
+
|
|
4
|
+
@include b(date-table) {
|
|
5
|
+
font-size: 12px;
|
|
6
|
+
user-select: none;
|
|
7
|
+
|
|
8
|
+
@include when(week-mode) {
|
|
9
|
+
.#{$namespace}-date-table__row {
|
|
10
|
+
&:hover {
|
|
11
|
+
.#{$namespace}-date-table-cell {
|
|
12
|
+
background-color: getCssVar('datepicker-inrange-bg-color');
|
|
13
|
+
}
|
|
14
|
+
td.available:hover {
|
|
15
|
+
color: getCssVar('datepicker-text-color');
|
|
16
|
+
}
|
|
17
|
+
td:first-child .#{$namespace}-date-table-cell {
|
|
18
|
+
margin-left: 5px;
|
|
19
|
+
border-top-left-radius: 15px;
|
|
20
|
+
border-bottom-left-radius: 15px;
|
|
21
|
+
}
|
|
22
|
+
td:last-child .#{$namespace}-date-table-cell {
|
|
23
|
+
margin-right: 5px;
|
|
24
|
+
border-top-right-radius: 15px;
|
|
25
|
+
border-bottom-right-radius: 15px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.current .#{$namespace}-date-table-cell {
|
|
30
|
+
background-color: getCssVar('datepicker-inrange-bg-color');
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
td {
|
|
36
|
+
width: 32px;
|
|
37
|
+
height: 30px;
|
|
38
|
+
padding: 4px 0;
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
text-align: center;
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
position: relative;
|
|
43
|
+
|
|
44
|
+
@include b(date-table-cell) {
|
|
45
|
+
height: 30px;
|
|
46
|
+
padding: 3px 0;
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
@include b(date-table-cell__text) {
|
|
49
|
+
width: 24px;
|
|
50
|
+
height: 24px;
|
|
51
|
+
display: block;
|
|
52
|
+
margin: 0 auto;
|
|
53
|
+
line-height: 24px;
|
|
54
|
+
position: absolute;
|
|
55
|
+
left: 50%;
|
|
56
|
+
transform: translateX(-50%);
|
|
57
|
+
border-radius: 50%;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.next-month,
|
|
62
|
+
&.prev-month {
|
|
63
|
+
color: getCssVar('datepicker-off-text-color');
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&.today {
|
|
67
|
+
position: relative;
|
|
68
|
+
.#{$namespace}-date-table-cell__text {
|
|
69
|
+
color: getCssVar('primary-color');
|
|
70
|
+
font-weight: bold;
|
|
71
|
+
}
|
|
72
|
+
&.start-date .#{$namespace}-date-table-cell__text,
|
|
73
|
+
&.end-date .#{$namespace}-date-table-cell__text {
|
|
74
|
+
color: $color-white;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.available:hover {
|
|
79
|
+
color: getCssVar('datepicker-hover-text-color');
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&.in-range .#{$namespace}-date-table-cell {
|
|
83
|
+
background-color: getCssVar('datepicker-inrange-bg-color');
|
|
84
|
+
&:hover {
|
|
85
|
+
background-color: getCssVar('datepicker-inrange-hover-bg-color');
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&.current:not(.disabled) {
|
|
90
|
+
.#{$namespace}-date-table-cell__text {
|
|
91
|
+
color: $color-white;
|
|
92
|
+
background-color: getCssVar('datepicker-active-color');
|
|
93
|
+
}
|
|
94
|
+
&:focus-visible {
|
|
95
|
+
.#{$namespace}-date-table-cell__text {
|
|
96
|
+
outline: 2px solid getCssVar('datepicker-active-color');
|
|
97
|
+
outline-offset: 1px;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
&.start-date .#{$namespace}-date-table-cell,
|
|
102
|
+
&.end-date .#{$namespace}-date-table-cell {
|
|
103
|
+
color: $color-white;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&.start-date .#{$namespace}-date-table-cell__text,
|
|
107
|
+
&.end-date .#{$namespace}-date-table-cell__text {
|
|
108
|
+
background-color: getCssVar('datepicker-active-color');
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&.start-date .#{$namespace}-date-table-cell {
|
|
112
|
+
margin-left: 5px;
|
|
113
|
+
border-top-left-radius: 15px;
|
|
114
|
+
border-bottom-left-radius: 15px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&.end-date .#{$namespace}-date-table-cell {
|
|
118
|
+
margin-right: 5px;
|
|
119
|
+
border-top-right-radius: 15px;
|
|
120
|
+
border-bottom-right-radius: 15px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&.disabled .#{$namespace}-date-table-cell {
|
|
124
|
+
background-color: getCssVar('fill-color', 'light');
|
|
125
|
+
opacity: 1;
|
|
126
|
+
cursor: not-allowed;
|
|
127
|
+
color: getCssVar('text-color', 'placeholder');
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&.selected .#{$namespace}-date-table-cell {
|
|
131
|
+
margin-left: 5px;
|
|
132
|
+
margin-right: 5px;
|
|
133
|
+
background-color: getCssVar('datepicker-inrange-bg-color');
|
|
134
|
+
border-radius: 15px;
|
|
135
|
+
&:hover {
|
|
136
|
+
background-color: getCssVar('datepicker-inrange-hover-bg-color');
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&.selected .#{$namespace}-date-table-cell__text {
|
|
141
|
+
background-color: getCssVar('datepicker-active-color');
|
|
142
|
+
color: $color-white;
|
|
143
|
+
border-radius: 15px;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&.week {
|
|
147
|
+
font-size: 80%;
|
|
148
|
+
color: getCssVar('datepicker-header-text-color');
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&:focus {
|
|
152
|
+
outline: none;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
th {
|
|
157
|
+
padding: 5px;
|
|
158
|
+
color: getCssVar('datepicker-header-text-color');
|
|
159
|
+
font-weight: 400;
|
|
160
|
+
border-bottom: solid 1px getCssVar('border-color-lighter');
|
|
161
|
+
}
|
|
162
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
@use '../mixins/mixins' as *;
|
|
2
|
+
@use '../common/var' as *;
|
|
3
|
+
|
|
4
|
+
@include b(month-table) {
|
|
5
|
+
font-size: 12px;
|
|
6
|
+
margin: -1px;
|
|
7
|
+
border-collapse: collapse;
|
|
8
|
+
|
|
9
|
+
td {
|
|
10
|
+
text-align: center;
|
|
11
|
+
padding: 8px 0;
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
& div {
|
|
14
|
+
height: 48px;
|
|
15
|
+
padding: 6px 0;
|
|
16
|
+
box-sizing: border-box;
|
|
17
|
+
}
|
|
18
|
+
&.today {
|
|
19
|
+
.cell {
|
|
20
|
+
color: getCssVar('primary-color');
|
|
21
|
+
font-weight: bold;
|
|
22
|
+
}
|
|
23
|
+
&.start-date .cell,
|
|
24
|
+
&.end-date .cell {
|
|
25
|
+
color: $color-white;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.disabled .cell {
|
|
30
|
+
background-color: getCssVar('fill-color', 'light');
|
|
31
|
+
cursor: not-allowed;
|
|
32
|
+
color: getCssVar('text-color', 'placeholder');
|
|
33
|
+
|
|
34
|
+
&:hover {
|
|
35
|
+
color: getCssVar('text-color', 'placeholder');
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.cell {
|
|
40
|
+
width: 60px;
|
|
41
|
+
height: 36px;
|
|
42
|
+
display: block;
|
|
43
|
+
line-height: 36px;
|
|
44
|
+
color: getCssVar('datepicker-text-color');
|
|
45
|
+
margin: 0 auto;
|
|
46
|
+
border-radius: 18px;
|
|
47
|
+
&:hover {
|
|
48
|
+
color: getCssVar('datepicker-hover-text-color');
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&.in-range div {
|
|
53
|
+
background-color: getCssVar('datepicker-inrange-bg-color');
|
|
54
|
+
&:hover {
|
|
55
|
+
background-color: getCssVar('datepicker-inrange-hover-bg-color');
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
&.start-date div,
|
|
59
|
+
&.end-date div {
|
|
60
|
+
color: $color-white;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.start-date .cell,
|
|
64
|
+
&.end-date .cell {
|
|
65
|
+
color: $color-white;
|
|
66
|
+
background-color: getCssVar('datepicker-active-color');
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&.start-date div {
|
|
70
|
+
border-top-left-radius: 24px;
|
|
71
|
+
border-bottom-left-radius: 24px;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&.end-date div {
|
|
75
|
+
border-top-right-radius: 24px;
|
|
76
|
+
border-bottom-right-radius: 24px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&.current:not(.disabled) .cell {
|
|
80
|
+
color: getCssVar('datepicker-active-color');
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&:focus-visible {
|
|
84
|
+
outline: none;
|
|
85
|
+
.cell {
|
|
86
|
+
outline: 2px solid getCssVar('datepicker-active-color');
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
@use '../mixins/mixins' as *;
|
|
2
|
+
@use '../common/var' as *;
|
|
3
|
+
|
|
4
|
+
@include b(picker-panel) {
|
|
5
|
+
color: getCssVar('text-color', 'regular');
|
|
6
|
+
background: getCssVar('bg-color', 'overlay');
|
|
7
|
+
border-radius: getCssVar('border-radius-base');
|
|
8
|
+
line-height: 30px;
|
|
9
|
+
|
|
10
|
+
.#{$namespace}-time-panel {
|
|
11
|
+
margin: 5px 0;
|
|
12
|
+
border: solid 1px getCssVar('datepicker-border-color');
|
|
13
|
+
background-color: getCssVar('bg-color', 'overlay');
|
|
14
|
+
box-shadow: getCssVar('box-shadow-light');
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@include e((body, body-wrapper)) {
|
|
18
|
+
&::after {
|
|
19
|
+
content: '';
|
|
20
|
+
display: table;
|
|
21
|
+
clear: both;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@include e(content) {
|
|
26
|
+
position: relative;
|
|
27
|
+
margin: 15px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@include e(footer) {
|
|
31
|
+
border-top: 1px solid getCssVar('datepicker-inner-border-color');
|
|
32
|
+
padding: 4px 12px;
|
|
33
|
+
text-align: right;
|
|
34
|
+
background-color: getCssVar('bg-color', 'overlay');
|
|
35
|
+
position: relative;
|
|
36
|
+
font-size: 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@include e(shortcut) {
|
|
40
|
+
display: block;
|
|
41
|
+
width: 100%;
|
|
42
|
+
border: 0;
|
|
43
|
+
background-color: transparent;
|
|
44
|
+
line-height: 28px;
|
|
45
|
+
font-size: 14px;
|
|
46
|
+
color: getCssVar('datepicker-text-color');
|
|
47
|
+
padding-left: 12px;
|
|
48
|
+
text-align: left;
|
|
49
|
+
outline: none;
|
|
50
|
+
cursor: pointer;
|
|
51
|
+
|
|
52
|
+
&:hover {
|
|
53
|
+
color: getCssVar('datepicker-hover-text-color');
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.active {
|
|
57
|
+
background-color: #e6f1fe;
|
|
58
|
+
color: getCssVar('datepicker-active-color');
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@include e(btn) {
|
|
63
|
+
border: 1px solid getCssVar('fill-color', 'darker');
|
|
64
|
+
color: getCssVar('text-color', 'primary');
|
|
65
|
+
line-height: 24px;
|
|
66
|
+
border-radius: 2px;
|
|
67
|
+
padding: 0 20px;
|
|
68
|
+
cursor: pointer;
|
|
69
|
+
background-color: transparent;
|
|
70
|
+
outline: none;
|
|
71
|
+
font-size: 12px;
|
|
72
|
+
|
|
73
|
+
&[disabled] {
|
|
74
|
+
color: getCssVar('text-color', 'disabled');
|
|
75
|
+
cursor: not-allowed;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@include e(icon-btn) {
|
|
80
|
+
font-size: 12px;
|
|
81
|
+
color: getCssVar('datepicker-icon-color');
|
|
82
|
+
border: 0;
|
|
83
|
+
background: transparent;
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
outline: none;
|
|
86
|
+
margin-top: 8px;
|
|
87
|
+
|
|
88
|
+
&:hover {
|
|
89
|
+
color: getCssVar('datepicker-hover-text-color');
|
|
90
|
+
}
|
|
91
|
+
&:focus-visible {
|
|
92
|
+
color: getCssVar('datepicker-hover-text-color');
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@include when(disabled) {
|
|
96
|
+
color: getCssVar('text-disabled-color');
|
|
97
|
+
|
|
98
|
+
&:hover {
|
|
99
|
+
cursor: not-allowed;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
& .#{$namespace}-icon {
|
|
103
|
+
cursor: pointer;
|
|
104
|
+
font-size: inherit;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@include e(link-btn) {
|
|
109
|
+
vertical-align: middle;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.#{$namespace}-picker-panel *[slot='sidebar'],
|
|
114
|
+
.#{$namespace}-picker-panel__sidebar {
|
|
115
|
+
position: absolute;
|
|
116
|
+
top: 0;
|
|
117
|
+
bottom: 0;
|
|
118
|
+
width: 110px;
|
|
119
|
+
border-right: 1px solid getCssVar('datepicker-inner-border-color');
|
|
120
|
+
box-sizing: border-box;
|
|
121
|
+
padding-top: 6px;
|
|
122
|
+
background-color: getCssVar('bg-color', 'overlay');
|
|
123
|
+
overflow: auto;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.#{$namespace}-picker-panel
|
|
127
|
+
*[slot='sidebar']
|
|
128
|
+
+ .#{$namespace}-picker-panel__body,
|
|
129
|
+
.#{$namespace}-picker-panel__sidebar + .#{$namespace}-picker-panel__body {
|
|
130
|
+
margin-left: 110px;
|
|
131
|
+
}
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
@use '../mixins/mixins' as *;
|
|
4
|
+
@use '../mixins/var' as *;
|
|
5
|
+
@use '../common/var' as *;
|
|
6
|
+
@use '../common/transition' as *;
|
|
7
|
+
|
|
8
|
+
@include b(picker) {
|
|
9
|
+
@include e(popper) {
|
|
10
|
+
@include set-css-var-type('datepicker', 'border-color', $datepicker);
|
|
11
|
+
@include picker-popper(
|
|
12
|
+
getCssVar('bg-color', 'overlay'),
|
|
13
|
+
1px solid getCssVar('datepicker', 'border-color'),
|
|
14
|
+
getCssVar('box-shadow', 'light')
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@include b(date-editor) {
|
|
20
|
+
@include set-component-css-var('date-editor', $date-editor);
|
|
21
|
+
@include set-component-css-var('input', $input);
|
|
22
|
+
position: relative;
|
|
23
|
+
display: inline-block;
|
|
24
|
+
text-align: left;
|
|
25
|
+
|
|
26
|
+
&.#{$namespace}-input__wrapper {
|
|
27
|
+
@include inset-input-border(
|
|
28
|
+
var(
|
|
29
|
+
#{getCssVarName('input-border-color')},
|
|
30
|
+
map.get($input, 'border-color')
|
|
31
|
+
)
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
&:hover {
|
|
35
|
+
@include inset-input-border(#{getCssVar('input', 'hover-border-color')});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.#{$namespace}-input,
|
|
40
|
+
&.#{$namespace}-input__wrapper {
|
|
41
|
+
width: getCssVar('date-editor-width');
|
|
42
|
+
height: var(#{getCssVarName('input-height')}, getCssVar('component-size'));
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@include m((monthrange)) {
|
|
46
|
+
@include css-var-from-global(
|
|
47
|
+
'date-editor-width',
|
|
48
|
+
'date-editor-monthrange-width'
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@include m((daterange, timerange)) {
|
|
53
|
+
@include css-var-from-global(
|
|
54
|
+
'date-editor-width',
|
|
55
|
+
'date-editor-daterange-width'
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@include m(datetimerange) {
|
|
60
|
+
@include css-var-from-global(
|
|
61
|
+
'date-editor-width',
|
|
62
|
+
'date-editor-datetimerange-width'
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@include m(dates) {
|
|
67
|
+
.#{$namespace}-input__wrapper {
|
|
68
|
+
text-overflow: ellipsis;
|
|
69
|
+
white-space: nowrap;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.close-icon {
|
|
74
|
+
cursor: pointer;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.clear-icon {
|
|
78
|
+
cursor: pointer;
|
|
79
|
+
|
|
80
|
+
&:hover {
|
|
81
|
+
color: getCssVar('text-color', 'secondary');
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.#{$namespace}-range__icon {
|
|
86
|
+
height: inherit;
|
|
87
|
+
font-size: 14px;
|
|
88
|
+
color: getCssVar('text-color', 'placeholder');
|
|
89
|
+
float: left;
|
|
90
|
+
|
|
91
|
+
svg {
|
|
92
|
+
vertical-align: middle;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.#{$namespace}-range-input {
|
|
97
|
+
appearance: none;
|
|
98
|
+
border: none;
|
|
99
|
+
outline: none;
|
|
100
|
+
display: inline-block;
|
|
101
|
+
height: #{map.get($input-height, 'default') - 2};
|
|
102
|
+
line-height: #{map.get($input-height, 'default') - 2};
|
|
103
|
+
margin: 0;
|
|
104
|
+
padding: 0;
|
|
105
|
+
width: 39%;
|
|
106
|
+
text-align: center;
|
|
107
|
+
font-size: getCssVar('font-size', 'base');
|
|
108
|
+
color: getCssVar('text-color', 'regular');
|
|
109
|
+
background-color: transparent;
|
|
110
|
+
|
|
111
|
+
&::placeholder {
|
|
112
|
+
color: getCssVar('text-color', 'placeholder');
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.#{$namespace}-range-separator {
|
|
117
|
+
flex: 1;
|
|
118
|
+
display: inline-flex;
|
|
119
|
+
justify-content: center;
|
|
120
|
+
align-items: center;
|
|
121
|
+
height: 100%;
|
|
122
|
+
padding: 0 5px;
|
|
123
|
+
margin: 0;
|
|
124
|
+
font-size: 14px;
|
|
125
|
+
word-break: keep-all;
|
|
126
|
+
color: getCssVar('text-color', 'primary');
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.#{$namespace}-range__close-icon {
|
|
130
|
+
font-size: 14px;
|
|
131
|
+
color: getCssVar('text-color', 'placeholder');
|
|
132
|
+
height: inherit;
|
|
133
|
+
width: unset;
|
|
134
|
+
cursor: pointer;
|
|
135
|
+
|
|
136
|
+
&:hover {
|
|
137
|
+
color: getCssVar('text-color', 'secondary');
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
svg {
|
|
141
|
+
vertical-align: middle;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&--hidden {
|
|
145
|
+
opacity: 0;
|
|
146
|
+
visibility: hidden;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
@include b(range-editor) {
|
|
152
|
+
&.#{$namespace}-input__wrapper {
|
|
153
|
+
display: inline-flex;
|
|
154
|
+
align-items: center;
|
|
155
|
+
padding: 0 10px;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
@include when(active) {
|
|
159
|
+
@include inset-input-border(#{getCssVar('input', 'focus-border-color')});
|
|
160
|
+
&:hover {
|
|
161
|
+
@include inset-input-border(#{getCssVar('input', 'focus-border-color')});
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
@each $size in (large, small) {
|
|
166
|
+
@include m($size) {
|
|
167
|
+
line-height: getCssVar('component-size', $size);
|
|
168
|
+
|
|
169
|
+
&.#{$namespace}-input__wrapper {
|
|
170
|
+
height: getCssVar('component-size', $size);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.#{$namespace}-range-separator {
|
|
174
|
+
line-height: map.get($input-line-height, $size);
|
|
175
|
+
font-size: map.get($input-font-size, $size);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.#{$namespace}-range-input {
|
|
179
|
+
height: #{map.get($input-height, $size) - 2};
|
|
180
|
+
line-height: #{map.get($input-height, $size) - 2};
|
|
181
|
+
font-size: map.get($input-font-size, $size);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
@include when(disabled) {
|
|
187
|
+
background-color: map.get($input-disabled, 'fill');
|
|
188
|
+
border-color: map.get($input-disabled, 'border');
|
|
189
|
+
color: map.get($input-disabled, 'text-color');
|
|
190
|
+
cursor: not-allowed;
|
|
191
|
+
|
|
192
|
+
&:hover,
|
|
193
|
+
&:focus {
|
|
194
|
+
border-color: map.get($input-disabled, 'border');
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
input {
|
|
198
|
+
background-color: map.get($input-disabled, 'fill');
|
|
199
|
+
color: map.get($input-disabled, 'text-color');
|
|
200
|
+
cursor: not-allowed;
|
|
201
|
+
&::placeholder {
|
|
202
|
+
color: map.get($input-disabled, 'placeholder-color');
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.#{$namespace}-range-separator {
|
|
207
|
+
color: map.get($input-disabled, 'text-color');
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
@use '../mixins/mixins' as *;
|
|
2
|
+
@use '../common/var' as *;
|
|
3
|
+
|
|
4
|
+
@include b(time-panel) {
|
|
5
|
+
border-radius: 2px;
|
|
6
|
+
position: relative;
|
|
7
|
+
width: 180px;
|
|
8
|
+
left: 0;
|
|
9
|
+
z-index: getCssVar('index-top');
|
|
10
|
+
user-select: none;
|
|
11
|
+
box-sizing: content-box;
|
|
12
|
+
|
|
13
|
+
@include e(content) {
|
|
14
|
+
font-size: 0;
|
|
15
|
+
position: relative;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
|
|
18
|
+
&::after,
|
|
19
|
+
&::before {
|
|
20
|
+
content: '';
|
|
21
|
+
top: 50%;
|
|
22
|
+
position: absolute;
|
|
23
|
+
margin-top: -16px;
|
|
24
|
+
height: 32px;
|
|
25
|
+
z-index: -1;
|
|
26
|
+
left: 0;
|
|
27
|
+
right: 0;
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
padding-top: 6px;
|
|
30
|
+
text-align: left;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&::after {
|
|
34
|
+
left: 50%;
|
|
35
|
+
margin-left: 12%;
|
|
36
|
+
margin-right: 12%;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&::before {
|
|
40
|
+
padding-left: 50%;
|
|
41
|
+
margin-right: 12%;
|
|
42
|
+
margin-left: 12%;
|
|
43
|
+
border-top: 1px solid getCssVar('border-color-light');
|
|
44
|
+
border-bottom: 1px solid getCssVar('border-color-light');
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.has-seconds {
|
|
48
|
+
&::after {
|
|
49
|
+
left: calc(100% / 3 * 2);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&::before {
|
|
53
|
+
padding-left: calc(100% / 3);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@include e(footer) {
|
|
59
|
+
border-top: 1px solid
|
|
60
|
+
var(
|
|
61
|
+
#{getCssVarName('timepicker-inner-border-color')},
|
|
62
|
+
#{getCssVar('border-color-light')}
|
|
63
|
+
);
|
|
64
|
+
padding: 4px;
|
|
65
|
+
height: 36px;
|
|
66
|
+
line-height: 25px;
|
|
67
|
+
text-align: right;
|
|
68
|
+
box-sizing: border-box;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@include e(btn) {
|
|
72
|
+
border: none;
|
|
73
|
+
line-height: 28px;
|
|
74
|
+
padding: 0 5px;
|
|
75
|
+
margin: 0 5px;
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
background-color: transparent;
|
|
78
|
+
outline: none;
|
|
79
|
+
font-size: 12px;
|
|
80
|
+
color: getCssVar('text-color', 'primary');
|
|
81
|
+
|
|
82
|
+
&.confirm {
|
|
83
|
+
font-weight: 800;
|
|
84
|
+
color: var(
|
|
85
|
+
#{getCssVarName('timepicker-active-color')},
|
|
86
|
+
#{getCssVar('primary-color')}
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@use '../mixins/mixins' as *;
|
|
2
|
+
@use '../common/var' as *;
|
|
3
|
+
|
|
4
|
+
@include b(time-range-picker) {
|
|
5
|
+
width: 354px;
|
|
6
|
+
overflow: visible;
|
|
7
|
+
|
|
8
|
+
@include e(content) {
|
|
9
|
+
position: relative;
|
|
10
|
+
text-align: center;
|
|
11
|
+
padding: 10px;
|
|
12
|
+
z-index: 1;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@include e(cell) {
|
|
16
|
+
box-sizing: border-box;
|
|
17
|
+
margin: 0;
|
|
18
|
+
padding: 4px 7px 7px;
|
|
19
|
+
width: 50%;
|
|
20
|
+
display: inline-block;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@include e(header) {
|
|
24
|
+
margin-bottom: 5px;
|
|
25
|
+
text-align: center;
|
|
26
|
+
font-size: 14px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@include e(body) {
|
|
30
|
+
border-radius: 2px;
|
|
31
|
+
border: 1px solid getCssVar('datepicker-border-color');
|
|
32
|
+
}
|
|
33
|
+
}
|