vft 0.0.142 → 0.0.144
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/app-components/base/style/index.d.ts +0 -0
- package/es/app-components/button/button-custom.d.ts +5 -0
- package/es/app-components/button/constants.d.ts +3 -0
- package/es/app-components/button/index.d.ts +5 -0
- package/es/app-components/button/style/index.d.ts +0 -0
- package/es/app-components/button/types.d.ts +9 -0
- package/es/app-components/button/use-button.d.ts +20 -0
- package/es/app-components/clamp/index.d.ts +2 -0
- package/es/app-components/clamp/style/index.d.ts +0 -0
- package/es/app-components/col/index.d.ts +4 -0
- package/es/app-components/col/style/index.d.ts +0 -0
- package/es/app-components/col/types.d.ts +11 -0
- package/es/app-components/form/constants.d.ts +4 -0
- package/es/app-components/form/form-label-wrap.d.ts +11 -0
- package/es/app-components/form/hooks/index.d.ts +2 -0
- package/es/app-components/form/hooks/use-form-common-props.d.ts +7 -0
- package/es/app-components/form/hooks/use-form-item.d.ts +18 -0
- package/es/app-components/form/index.d.ts +5 -0
- package/es/app-components/form/style/index.d.ts +0 -0
- package/es/app-components/form/types.d.ts +43 -0
- package/es/app-components/form/utils.d.ts +9 -0
- package/es/app-components/hooks/index.d.ts +2 -0
- package/es/app-components/hooks/use-id.d.ts +9 -0
- package/es/app-components/hooks/use-namespace.d.ts +22 -0
- package/es/app-components/icon/index.d.ts +3 -0
- package/es/app-components/icon/style/index.d.ts +0 -0
- package/es/app-components/image/index.d.ts +3 -0
- package/es/app-components/image/style/index.d.ts +0 -0
- package/es/app-components/image/types.d.ts +13 -0
- package/es/app-components/index.d.ts +11 -0
- package/es/app-components/input/index.d.ts +3 -0
- package/es/app-components/input/style/index.d.ts +0 -0
- package/es/app-components/input/utils.d.ts +6 -0
- package/es/app-components/overlay/index.d.ts +2 -0
- package/es/app-components/overlay/style/index.d.ts +0 -0
- package/es/app-components/popup/index.d.ts +3 -0
- package/es/app-components/popup/style/index.d.ts +0 -0
- package/es/app-components/popup/types.d.ts +1 -0
- package/es/app-components/row/constants.d.ts +6 -0
- package/es/app-components/row/index.d.ts +5 -0
- package/es/app-components/row/style/index.d.ts +0 -0
- package/es/app-components/row/types.d.ts +2 -0
- package/es/app-components/super-form/component-map.d.ts +14 -0
- package/es/app-components/super-form/index.d.ts +5 -0
- package/es/app-components/super-form/style/index.d.ts +0 -0
- package/es/{components → app-components}/super-form/types.d.ts +67 -27
- package/es/app-components/super-form/use/helper.d.ts +17 -0
- package/es/app-components/super-form/use/use-auto-focus.d.ts +11 -0
- package/es/app-components/super-form/use/use-form-context.d.ts +8 -0
- package/{lib/components → es/app-components}/super-form/use/use-form-events.d.ts +1 -0
- package/{lib/components → es/app-components}/super-form/use/use-form-values.d.ts +2 -1
- package/es/app-components/super-form/use/use-form.d.ts +9 -0
- package/es/app-components/types.d.ts +6 -0
- package/es/app-components/upload/index.d.ts +3 -0
- package/es/app-components/upload/style/index.d.ts +0 -0
- package/es/app-components/upload/types.d.ts +33 -0
- package/es/app-components/upload/utils.d.ts +26 -0
- package/es/app-components/utils/index.d.ts +1 -0
- package/es/app-components/utils/interceptor.d.ts +6 -0
- package/es/components/affix/affix.js +4 -5
- package/es/components/affix/index.js +1 -1
- package/es/components/alert/alert.vue2.js +6 -3
- package/es/components/alert/index.js +1 -1
- package/es/components/autocomplete/autocomplete.vue.d.ts +6 -6
- package/es/components/autocomplete/autocomplete.vue2.js +25 -25
- package/es/components/autocomplete/index.d.ts +20 -20
- package/es/components/autocomplete/index.js +1 -1
- package/es/components/avatar/index.js +1 -1
- package/es/components/backtop/backtop.vue2.js +20 -20
- package/es/components/backtop/index.js +1 -1
- package/es/components/button/button-custom.d.ts +1 -0
- package/es/components/button/button-group.vue.d.ts +4 -10
- package/es/components/button/button-group.vue2.js +17 -16
- package/es/components/button/button.vue.d.ts +51 -13
- package/es/components/button/button.vue2.js +44 -47
- package/es/components/button/constants.d.ts +2 -6
- package/es/components/button/index.d.ts +52 -20
- package/es/components/button/index.js +1 -1
- package/es/components/button/mobile.d.ts +6 -0
- package/es/components/button/mobile.js +8 -0
- package/es/components/button/types.d.ts +5 -0
- package/es/components/button/use-button.d.ts +1 -2
- package/es/components/button/use-button.js +31 -29
- package/es/components/card/card.vue.d.ts +2 -2
- package/es/components/card/card.vue2.js +11 -11
- package/es/components/card/index.d.ts +4 -4
- package/es/components/card/index.js +1 -1
- package/es/components/carousel/carousel.vue.d.ts +12 -12
- package/es/components/carousel/carousel.vue2.js +6 -3
- package/es/components/carousel/index.d.ts +21 -21
- package/es/components/carousel/index.js +1 -1
- package/es/components/check-tag/check-tag.vue2.js +8 -8
- package/es/components/check-tag/index.js +1 -1
- package/es/components/checkbox/checkbox.vue.d.ts +8 -8
- package/es/components/checkbox/checkbox.vue2.js +12 -12
- package/es/components/checkbox/index.d.ts +19 -19
- package/es/components/checkbox/index.js +1 -1
- package/es/components/clamp/clamp.vue.d.ts +6 -6
- package/es/components/clamp/clamp.vue2.js +2 -2
- package/es/components/clamp/index.d.ts +10 -10
- package/es/components/clamp/index.js +1 -1
- package/es/components/clamp-toggle/clamp-toggle.vue2.js +17 -17
- package/es/components/clamp-toggle/index.js +1 -1
- package/es/components/col/col.vue.d.ts +12 -14
- package/es/components/col/col.vue2.js +21 -19
- package/es/components/col/index.d.ts +12 -12
- package/es/components/col/index.js +1 -1
- package/es/components/col/types.d.ts +4 -0
- package/es/components/collapse-transition/src/collapse-transition.vue2.js +8 -5
- package/es/components/color-picker/index.js +1 -1
- package/es/components/config-provider/config-provider.vue2.js +26 -26
- package/es/components/config-provider/index.js +1 -1
- package/es/components/container/aside.vue2.js +9 -9
- package/es/components/container/container.vue2.js +10 -10
- package/es/components/container/footer.vue2.js +5 -5
- package/es/components/container/header.vue2.js +15 -15
- package/es/components/container/index.js +1 -1
- package/es/components/container/main.vue2.js +7 -7
- package/es/components/context-menu/context-menu.vue2.js +25 -25
- package/es/components/date-picker/date-picker.d.ts +2 -2
- package/es/components/date-picker/index.d.ts +4 -4
- package/es/components/date-picker/props/basic-cell.js +2 -3
- package/es/components/date-picker/props/basic-date-table.js +2 -3
- package/es/components/date-picker/props/basic-month-table.js +2 -3
- package/es/components/date-picker/props/basic-year-table.js +4 -5
- package/es/components/date-picker/props/date-picker.js +2 -3
- package/es/components/date-picker/props/panel-date-pick.js +4 -5
- package/es/components/date-picker/props/panel-date-range.js +2 -3
- package/es/components/date-picker/props/panel-month-range.js +4 -5
- package/es/components/date-picker/props/shared.js +13 -14
- package/es/components/date-time-select/date-time-select.vue2.js +32 -32
- package/es/components/date-time-select/index.js +1 -1
- package/es/components/descriptions/description-item.vue2.js +12 -11
- package/es/components/descriptions/description.vue2.js +5 -5
- package/es/components/descriptions/descriptions-cell.js +5 -5
- package/es/components/descriptions/index.js +1 -1
- package/es/components/dialog/dialog.vue2.js +19 -19
- package/es/components/dialog/index.d.ts +1 -1
- package/es/components/dialog/index.js +1 -1
- package/es/components/divider/divider.vue.d.ts +5 -0
- package/es/components/divider/index.js +1 -1
- package/es/components/drawer/drawer.vue2.js +5 -5
- package/es/components/drawer/index.d.ts +1 -1
- package/es/components/drawer/index.js +1 -1
- package/es/components/dropdown/dropdown.vue.d.ts +18 -18
- package/es/components/dropdown/dropdown.vue2.js +23 -23
- package/es/components/dropdown/index.d.ts +30 -30
- package/es/components/dropdown/index.js +1 -1
- package/es/components/empty/empty.vue2.js +22 -22
- package/es/components/empty/index.js +1 -1
- package/es/components/exception/index.js +1 -1
- package/es/components/footer-layout/footer-layout.vue2.js +13 -13
- package/es/components/footer-layout/index.js +1 -1
- package/es/components/form/form-item.vue.d.ts +5 -4
- package/es/components/form/form-item.vue2.js +4 -5
- package/es/components/form/form.vue2.js +1 -1
- package/es/components/form/hooks/use-form-common-props.js +1 -1
- package/es/components/form/index.d.ts +12 -12
- package/es/components/form/index.js +1 -1
- package/es/components/full-screen/full-screen.vue2.js +15 -15
- package/es/components/full-screen/index.js +1 -1
- package/es/components/header-layout/header-layout.vue2.js +18 -18
- package/es/components/header-layout/index.js +1 -1
- package/es/components/horizontal-menu/horizontal-menu.vue2.js +46 -46
- package/es/components/horizontal-menu/index.js +1 -1
- package/es/components/icon/icon.vue2.js +12 -12
- package/es/components/icon/index.js +1 -1
- package/es/components/icon-text/icon-text.vue2.js +14 -14
- package/es/components/icon-text/index.js +1 -1
- package/es/components/iframe-layout/iframe-page.vue2.js +7 -7
- package/es/components/iframe-layout/index.js +1 -1
- package/es/components/image/index.d.ts +1 -1
- package/es/components/image/index.js +1 -1
- package/es/components/image-viewer/image-viewer.vue2.js +15 -15
- package/es/components/image-viewer/index.d.ts +2 -2
- package/es/components/image-viewer/index.js +1 -1
- package/es/components/input/index.d.ts +3 -3
- package/es/components/input/index.js +1 -1
- package/es/components/input/input.vue2.js +11 -12
- package/es/components/input-number/index.js +1 -1
- package/es/components/input-number/input-number.vue2.js +31 -31
- package/es/components/link/index.js +1 -1
- package/es/components/link/link.vue2.js +20 -20
- package/es/components/list-cell/index.js +1 -1
- package/es/components/list-cell/list-cell.vue2.js +14 -14
- package/es/components/logo/index.js +1 -1
- package/es/components/logo/logo.vue2.js +8 -8
- package/es/components/md-code-demo/index.js +1 -1
- package/es/components/md-code-tabs/index.js +1 -1
- package/es/components/md-comment/index.js +1 -1
- package/es/components/md-comment/md-comment.vue2.js +10 -10
- package/es/components/md-container/index.js +1 -1
- package/es/components/md-container/md-container.vue2.js +14 -14
- package/es/components/md-tabs/index.js +1 -1
- package/es/components/md-vue-playground/index.js +1 -1
- package/es/components/menu/index.js +1 -1
- package/es/components/menu/menu-item-group.vue2.js +14 -14
- package/es/components/menu/menu-item.vue2.js +21 -21
- package/es/components/menu/menu.vue2.js +21 -21
- package/es/components/menu/sub-menu.vue2.js +43 -43
- package/es/components/message/index.js +1 -1
- package/es/components/message/method.js +5 -5
- package/es/components/modal/index.js +1 -1
- package/es/components/modal/use/use-modal.d.ts +1 -1
- package/es/components/multiple-tabs/index.js +1 -1
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +49 -49
- package/es/components/overlay/index.js +1 -1
- package/es/components/overlay/overlay.vue2.js +21 -21
- package/es/components/page-wrapper/index.js +1 -1
- package/es/components/page-wrapper/page-wrapper.vue2.js +17 -17
- package/es/components/pagination/components/sizes.vue2.js +3 -1
- package/es/components/pagination/index.js +1 -1
- package/es/components/pagination/pagination.vue2.js +22 -22
- package/es/components/popconfirm/index.d.ts +9 -9
- package/es/components/popconfirm/index.js +1 -1
- package/es/components/popconfirm/popconfirm.vue.d.ts +5 -5
- package/es/components/popover/index.d.ts +5 -5
- package/es/components/popover/index.js +1 -1
- package/es/components/popover/popover.vue.d.ts +2 -2
- package/es/components/popover/popover.vue2.js +7 -7
- package/es/components/popper/composables/use-content-dom.d.ts +1 -1
- package/es/components/popper/content.vue.d.ts +6 -6
- package/es/components/popper/index.js +1 -1
- package/es/components/progress/index.d.ts +4 -4
- package/es/components/progress/index.js +1 -1
- package/es/components/progress/progress.vue.d.ts +2 -2
- package/es/components/progress/progress.vue2.js +7 -7
- package/es/components/progress-i/index.js +1 -1
- package/es/components/qrcode/index.js +1 -1
- package/es/components/radio/index.d.ts +2 -2
- package/es/components/radio/index.js +1 -1
- package/es/components/radio/radio.vue2.js +14 -14
- package/es/components/result/index.js +1 -1
- package/es/components/result/result.vue2.js +10 -10
- package/es/components/router-view-content/index.js +1 -1
- package/es/components/row/index.d.ts +15 -37
- package/es/components/row/index.js +1 -1
- package/es/components/row/row.vue.d.ts +12 -21
- package/es/components/row/row.vue2.js +17 -18
- package/es/components/scrollbar/index.d.ts +1 -1
- package/es/components/scrollbar/index.js +1 -1
- package/es/components/scrollbar/scrollbar.vue2.js +23 -23
- package/es/components/search/index.d.ts +1 -1
- package/es/components/search/index.js +1 -1
- package/es/components/search/search.vue2.js +14 -14
- package/es/components/select/defaults.js +4 -5
- package/es/components/select/index.d.ts +16 -16
- package/es/components/select/select.vue.d.ts +8 -8
- package/es/components/select/useSelect.d.ts +6 -6
- package/es/components/select/useSelect.js +4 -4
- package/es/components/side-menu/index.js +1 -1
- package/es/components/skeleton/index.js +1 -1
- package/es/components/skeleton/skeleton.vue2.js +13 -13
- package/es/components/slider/index.js +1 -1
- package/es/components/slider/slider.vue2.js +1 -1
- package/es/components/space/index.js +1 -1
- package/es/components/space/item.js +1 -1
- package/es/components/space/space.js +11 -12
- package/es/components/super-form/index.d.ts +26 -60
- package/es/components/super-form/index.js +1 -1
- package/es/components/super-form/super-form-item.vue.d.ts +18 -22
- package/es/components/super-form/super-form-item.vue2.js +176 -175
- package/es/components/super-form/super-form.vue.d.ts +13 -33
- package/es/components/super-form/super-form.vue2.js +108 -116
- package/es/components/super-form/use/helper.d.ts +14 -0
- package/es/components/super-form/use/use-auto-focus.d.ts +1 -0
- package/es/components/super-form/use/use-form-context.d.ts +1 -1
- package/es/components/super-form/use/use-form-values.js +43 -47
- package/es/components/switch/index.js +1 -1
- package/es/components/switch/switch.vue2.js +53 -53
- package/es/components/table/index.d.ts +35 -35
- package/es/components/table/index.js +1 -1
- package/es/components/table/table.vue.d.ts +15 -15
- package/es/components/table/table.vue2.js +19 -19
- package/es/components/table/use/use-data-source.d.ts +5 -5
- package/es/components/tabs/index.js +1 -1
- package/es/components/tabs/tab-nav.vue2.js +30 -30
- package/es/components/tabs/tab-pane.vue2.js +11 -11
- package/es/components/tabs/tabs.vue2.js +6 -6
- package/es/components/tag/index.js +1 -1
- package/es/components/time-picker/common/picker.vue.d.ts +2 -2
- package/es/components/time-picker/common/props.js +2 -3
- package/es/components/time-picker/index.d.ts +4 -4
- package/es/components/time-picker/props/basic-time-spinner.js +2 -3
- package/es/components/time-picker/props/panel-time-picker.js +4 -5
- package/es/components/time-picker/props/panel-time-range.js +2 -3
- package/es/components/time-picker/props/shared.js +2 -3
- package/es/components/time-picker/time-picker.d.ts +2 -2
- package/es/components/time-select/time-select.js +2 -3
- package/es/components/time-select/time-select.vue.d.ts +1 -1
- package/es/components/tooltip/content.vue.d.ts +6 -6
- package/es/components/tooltip/index.d.ts +7 -7
- package/es/components/tooltip/index.js +1 -1
- package/es/components/tooltip/tooltip.vue.d.ts +2 -2
- package/es/components/upload/index.d.ts +15 -15
- package/es/components/upload/index.js +1 -1
- package/es/components/upload/upload-content.vue.d.ts +9 -9
- package/es/components/upload/upload.vue.d.ts +9 -9
- package/es/components/verify-code/index.js +1 -1
- package/es/components/virtual-list/components/scrollbar.js +9 -9
- package/es/components/virtual-list/hooks/use-grid-wheel.js +1 -1
- package/es/components/virtual-list/hooks/use-wheel.js +1 -1
- package/es/components/virtual-list/props.js +6 -7
- package/es/hooks/index.d.ts +0 -2
- package/es/hooks/index.js +46 -50
- package/es/hooks/use-ordered-children/index.js +5 -5
- package/es/index.js +286 -292
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/es/utils/index.d.ts +0 -1
- package/es/utils/index.js +36 -38
- package/es/utils/vue/props/runtime.js +19 -20
- package/lib/app-components/base/style/index.d.ts +0 -0
- package/lib/app-components/button/button-custom.d.ts +5 -0
- package/lib/app-components/button/constants.d.ts +3 -0
- package/lib/app-components/button/index.d.ts +5 -0
- package/lib/app-components/button/style/index.d.ts +0 -0
- package/lib/app-components/button/types.d.ts +9 -0
- package/lib/app-components/button/use-button.d.ts +20 -0
- package/lib/app-components/clamp/index.d.ts +2 -0
- package/lib/app-components/clamp/style/index.d.ts +0 -0
- package/lib/app-components/col/index.d.ts +4 -0
- package/lib/app-components/col/style/index.d.ts +0 -0
- package/lib/app-components/col/types.d.ts +11 -0
- package/lib/app-components/form/constants.d.ts +4 -0
- package/lib/app-components/form/form-label-wrap.d.ts +11 -0
- package/lib/app-components/form/hooks/index.d.ts +2 -0
- package/lib/app-components/form/hooks/use-form-common-props.d.ts +7 -0
- package/lib/app-components/form/hooks/use-form-item.d.ts +18 -0
- package/lib/app-components/form/index.d.ts +5 -0
- package/lib/app-components/form/style/index.d.ts +0 -0
- package/lib/app-components/form/types.d.ts +43 -0
- package/lib/app-components/form/utils.d.ts +9 -0
- package/lib/app-components/hooks/index.d.ts +2 -0
- package/lib/app-components/hooks/use-id.d.ts +9 -0
- package/lib/app-components/hooks/use-namespace.d.ts +22 -0
- package/lib/app-components/icon/index.d.ts +3 -0
- package/lib/app-components/icon/style/index.d.ts +0 -0
- package/lib/app-components/image/index.d.ts +3 -0
- package/lib/app-components/image/style/index.d.ts +0 -0
- package/lib/app-components/image/types.d.ts +13 -0
- package/lib/app-components/index.d.ts +11 -0
- package/lib/app-components/input/index.d.ts +3 -0
- package/lib/app-components/input/style/index.d.ts +0 -0
- package/lib/app-components/input/utils.d.ts +6 -0
- package/lib/app-components/overlay/index.d.ts +2 -0
- package/lib/app-components/overlay/style/index.d.ts +0 -0
- package/lib/app-components/popup/index.d.ts +3 -0
- package/lib/app-components/popup/style/index.d.ts +0 -0
- package/lib/app-components/popup/types.d.ts +1 -0
- package/lib/app-components/row/constants.d.ts +6 -0
- package/lib/app-components/row/index.d.ts +5 -0
- package/lib/app-components/row/style/index.d.ts +0 -0
- package/lib/app-components/row/types.d.ts +2 -0
- package/lib/app-components/super-form/component-map.d.ts +14 -0
- package/lib/app-components/super-form/index.d.ts +5 -0
- package/lib/app-components/super-form/style/index.d.ts +0 -0
- package/lib/{components → app-components}/super-form/types.d.ts +67 -27
- package/lib/app-components/super-form/use/helper.d.ts +17 -0
- package/lib/app-components/super-form/use/use-auto-focus.d.ts +11 -0
- package/lib/app-components/super-form/use/use-form-context.d.ts +8 -0
- package/{es/components → lib/app-components}/super-form/use/use-form-events.d.ts +1 -0
- package/{es/components → lib/app-components}/super-form/use/use-form-values.d.ts +2 -1
- package/lib/app-components/super-form/use/use-form.d.ts +9 -0
- package/lib/app-components/types.d.ts +6 -0
- package/lib/app-components/upload/index.d.ts +3 -0
- package/lib/app-components/upload/style/index.d.ts +0 -0
- package/lib/app-components/upload/types.d.ts +33 -0
- package/lib/app-components/upload/utils.d.ts +26 -0
- package/lib/app-components/utils/index.d.ts +1 -0
- package/lib/app-components/utils/interceptor.d.ts +6 -0
- package/lib/components/affix/affix.cjs +1 -1
- package/lib/components/affix/index.cjs +1 -1
- package/lib/components/alert/alert.vue2.cjs +1 -1
- package/lib/components/alert/index.cjs +1 -1
- package/lib/components/autocomplete/autocomplete.vue.d.ts +6 -6
- package/lib/components/autocomplete/autocomplete.vue2.cjs +1 -1
- package/lib/components/autocomplete/index.cjs +1 -1
- package/lib/components/autocomplete/index.d.ts +20 -20
- package/lib/components/avatar/index.cjs +1 -1
- package/lib/components/backtop/backtop.vue2.cjs +1 -1
- package/lib/components/backtop/index.cjs +1 -1
- package/lib/components/button/button-custom.d.ts +1 -0
- package/lib/components/button/button-group.vue.d.ts +4 -10
- package/lib/components/button/button-group.vue2.cjs +1 -1
- package/lib/components/button/button.vue.d.ts +51 -13
- package/lib/components/button/button.vue2.cjs +1 -1
- package/lib/components/button/constants.d.ts +2 -6
- package/lib/components/button/index.cjs +1 -1
- package/lib/components/button/index.d.ts +52 -20
- package/lib/components/button/mobile.cjs +1 -0
- package/lib/components/button/mobile.d.ts +6 -0
- package/lib/components/button/types.d.ts +5 -0
- package/lib/components/button/use-button.cjs +1 -1
- package/lib/components/button/use-button.d.ts +1 -2
- package/lib/components/card/card.vue.d.ts +2 -2
- package/lib/components/card/card.vue2.cjs +1 -1
- package/lib/components/card/index.cjs +1 -1
- package/lib/components/card/index.d.ts +4 -4
- package/lib/components/carousel/carousel.vue.d.ts +12 -12
- package/lib/components/carousel/carousel.vue2.cjs +1 -1
- package/lib/components/carousel/index.cjs +1 -1
- package/lib/components/carousel/index.d.ts +21 -21
- package/lib/components/check-tag/check-tag.vue2.cjs +1 -1
- package/lib/components/check-tag/index.cjs +1 -1
- package/lib/components/checkbox/checkbox.vue.d.ts +8 -8
- package/lib/components/checkbox/checkbox.vue2.cjs +1 -1
- package/lib/components/checkbox/index.cjs +1 -1
- package/lib/components/checkbox/index.d.ts +19 -19
- package/lib/components/clamp/clamp.vue.d.ts +6 -6
- package/lib/components/clamp/clamp.vue2.cjs +1 -1
- package/lib/components/clamp/index.cjs +1 -1
- package/lib/components/clamp/index.d.ts +10 -10
- package/lib/components/clamp-toggle/clamp-toggle.vue2.cjs +1 -1
- package/lib/components/clamp-toggle/index.cjs +1 -1
- package/lib/components/col/col.vue.d.ts +12 -14
- package/lib/components/col/col.vue2.cjs +1 -1
- package/lib/components/col/index.cjs +1 -1
- package/lib/components/col/index.d.ts +12 -12
- package/lib/components/col/types.d.ts +4 -0
- package/lib/components/collapse-transition/src/collapse-transition.vue2.cjs +1 -1
- package/lib/components/color-picker/index.cjs +1 -1
- package/lib/components/config-provider/config-provider.vue2.cjs +1 -1
- package/lib/components/config-provider/index.cjs +1 -1
- package/lib/components/container/aside.vue2.cjs +1 -1
- package/lib/components/container/container.vue2.cjs +1 -1
- package/lib/components/container/footer.vue2.cjs +1 -1
- package/lib/components/container/header.vue2.cjs +1 -1
- package/lib/components/container/index.cjs +1 -1
- package/lib/components/container/main.vue2.cjs +1 -1
- package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker.d.ts +2 -2
- package/lib/components/date-picker/index.d.ts +4 -4
- package/lib/components/date-picker/props/basic-cell.cjs +1 -1
- package/lib/components/date-picker/props/basic-date-table.cjs +1 -1
- package/lib/components/date-picker/props/basic-month-table.cjs +1 -1
- package/lib/components/date-picker/props/basic-year-table.cjs +1 -1
- package/lib/components/date-picker/props/date-picker.cjs +1 -1
- package/lib/components/date-picker/props/panel-date-pick.cjs +1 -1
- package/lib/components/date-picker/props/panel-date-range.cjs +1 -1
- package/lib/components/date-picker/props/panel-month-range.cjs +1 -1
- package/lib/components/date-picker/props/shared.cjs +1 -1
- package/lib/components/date-time-select/date-time-select.vue2.cjs +1 -1
- package/lib/components/date-time-select/index.cjs +1 -1
- package/lib/components/descriptions/description-item.vue2.cjs +1 -1
- package/lib/components/descriptions/description.vue2.cjs +1 -1
- package/lib/components/descriptions/descriptions-cell.cjs +1 -1
- package/lib/components/descriptions/index.cjs +1 -1
- package/lib/components/dialog/dialog.vue2.cjs +1 -1
- package/lib/components/dialog/index.cjs +1 -1
- package/lib/components/dialog/index.d.ts +1 -1
- package/lib/components/divider/divider.vue.d.ts +5 -0
- package/lib/components/divider/index.cjs +1 -1
- package/lib/components/drawer/drawer.vue2.cjs +1 -1
- package/lib/components/drawer/index.cjs +1 -1
- package/lib/components/drawer/index.d.ts +1 -1
- package/lib/components/dropdown/dropdown.vue.d.ts +18 -18
- package/lib/components/dropdown/dropdown.vue2.cjs +1 -1
- package/lib/components/dropdown/index.cjs +1 -1
- package/lib/components/dropdown/index.d.ts +30 -30
- package/lib/components/empty/empty.vue2.cjs +1 -1
- package/lib/components/empty/index.cjs +1 -1
- package/lib/components/exception/index.cjs +1 -1
- package/lib/components/footer-layout/footer-layout.vue2.cjs +1 -1
- package/lib/components/footer-layout/index.cjs +1 -1
- package/lib/components/form/form-item.vue.d.ts +5 -4
- package/lib/components/form/form-item.vue2.cjs +1 -1
- package/lib/components/form/form.vue2.cjs +1 -1
- package/lib/components/form/hooks/use-form-common-props.cjs +1 -1
- package/lib/components/form/index.cjs +1 -1
- package/lib/components/form/index.d.ts +12 -12
- package/lib/components/full-screen/full-screen.vue2.cjs +1 -1
- package/lib/components/full-screen/index.cjs +1 -1
- package/lib/components/header-layout/header-layout.vue2.cjs +1 -1
- package/lib/components/header-layout/index.cjs +1 -1
- package/lib/components/horizontal-menu/horizontal-menu.vue2.cjs +1 -1
- package/lib/components/horizontal-menu/index.cjs +1 -1
- package/lib/components/icon/icon.vue2.cjs +1 -1
- package/lib/components/icon/index.cjs +1 -1
- package/lib/components/icon-text/icon-text.vue2.cjs +1 -1
- package/lib/components/icon-text/index.cjs +1 -1
- package/lib/components/iframe-layout/iframe-page.vue2.cjs +1 -1
- package/lib/components/iframe-layout/index.cjs +1 -1
- package/lib/components/image/index.cjs +1 -1
- package/lib/components/image/index.d.ts +1 -1
- package/lib/components/image-viewer/image-viewer.vue2.cjs +1 -1
- package/lib/components/image-viewer/index.cjs +1 -1
- package/lib/components/image-viewer/index.d.ts +2 -2
- package/lib/components/input/index.cjs +1 -1
- package/lib/components/input/index.d.ts +3 -3
- package/lib/components/input/input.vue2.cjs +1 -1
- package/lib/components/input-number/index.cjs +1 -1
- package/lib/components/input-number/input-number.vue2.cjs +1 -1
- package/lib/components/link/index.cjs +1 -1
- package/lib/components/link/link.vue2.cjs +1 -1
- package/lib/components/list-cell/index.cjs +1 -1
- package/lib/components/list-cell/list-cell.vue2.cjs +1 -1
- package/lib/components/logo/index.cjs +1 -1
- package/lib/components/logo/logo.vue2.cjs +1 -1
- package/lib/components/md-code-demo/index.cjs +1 -1
- package/lib/components/md-code-tabs/index.cjs +1 -1
- package/lib/components/md-comment/index.cjs +1 -1
- package/lib/components/md-comment/md-comment.vue2.cjs +1 -1
- package/lib/components/md-container/index.cjs +1 -1
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/md-tabs/index.cjs +1 -1
- package/lib/components/md-vue-playground/index.cjs +1 -1
- package/lib/components/menu/index.cjs +1 -1
- package/lib/components/menu/menu-item-group.vue2.cjs +1 -1
- package/lib/components/menu/menu-item.vue2.cjs +1 -1
- package/lib/components/menu/menu.vue2.cjs +1 -1
- package/lib/components/menu/sub-menu.vue2.cjs +1 -1
- package/lib/components/message/index.cjs +1 -1
- package/lib/components/message/method.cjs +1 -1
- package/lib/components/modal/index.cjs +1 -1
- package/lib/components/modal/use/use-modal.d.ts +1 -1
- package/lib/components/multiple-tabs/index.cjs +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/overlay/index.cjs +1 -1
- package/lib/components/overlay/overlay.vue2.cjs +1 -1
- package/lib/components/page-wrapper/index.cjs +1 -1
- package/lib/components/page-wrapper/page-wrapper.vue2.cjs +1 -1
- package/lib/components/pagination/index.cjs +1 -1
- package/lib/components/pagination/pagination.vue2.cjs +1 -1
- package/lib/components/popconfirm/index.cjs +1 -1
- package/lib/components/popconfirm/index.d.ts +9 -9
- package/lib/components/popconfirm/popconfirm.vue.d.ts +5 -5
- package/lib/components/popover/index.cjs +1 -1
- package/lib/components/popover/index.d.ts +5 -5
- package/lib/components/popover/popover.vue.d.ts +2 -2
- package/lib/components/popover/popover.vue2.cjs +1 -1
- package/lib/components/popper/composables/use-content-dom.d.ts +1 -1
- package/lib/components/popper/content.vue.d.ts +6 -6
- package/lib/components/popper/index.cjs +1 -1
- package/lib/components/progress/index.cjs +1 -1
- package/lib/components/progress/index.d.ts +4 -4
- package/lib/components/progress/progress.vue.d.ts +2 -2
- package/lib/components/progress/progress.vue2.cjs +1 -1
- package/lib/components/progress-i/index.cjs +1 -1
- package/lib/components/qrcode/index.cjs +1 -1
- package/lib/components/radio/index.cjs +1 -1
- package/lib/components/radio/index.d.ts +2 -2
- package/lib/components/radio/radio.vue2.cjs +1 -1
- package/lib/components/result/index.cjs +1 -1
- package/lib/components/result/result.vue2.cjs +1 -1
- package/lib/components/router-view-content/index.cjs +1 -1
- package/lib/components/row/index.cjs +1 -1
- package/lib/components/row/index.d.ts +15 -37
- package/lib/components/row/row.vue.d.ts +12 -21
- package/lib/components/row/row.vue2.cjs +1 -1
- package/lib/components/scrollbar/index.cjs +1 -1
- package/lib/components/scrollbar/index.d.ts +1 -1
- package/lib/components/scrollbar/scrollbar.vue2.cjs +1 -1
- package/lib/components/search/index.cjs +1 -1
- package/lib/components/search/index.d.ts +1 -1
- package/lib/components/search/search.vue2.cjs +1 -1
- package/lib/components/select/defaults.cjs +1 -1
- package/lib/components/select/index.d.ts +16 -16
- package/lib/components/select/select.vue.d.ts +8 -8
- package/lib/components/select/useSelect.cjs +1 -1
- package/lib/components/select/useSelect.d.ts +6 -6
- package/lib/components/side-menu/index.cjs +1 -1
- package/lib/components/skeleton/index.cjs +1 -1
- package/lib/components/skeleton/skeleton.vue2.cjs +1 -1
- package/lib/components/slider/index.cjs +1 -1
- package/lib/components/slider/slider.vue2.cjs +1 -1
- package/lib/components/space/index.cjs +1 -1
- package/lib/components/space/item.cjs +1 -1
- package/lib/components/space/space.cjs +1 -1
- package/lib/components/super-form/index.cjs +1 -1
- package/lib/components/super-form/index.d.ts +26 -60
- package/lib/components/super-form/super-form-item.vue.d.ts +18 -22
- package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
- package/lib/components/super-form/super-form.vue.d.ts +13 -33
- package/lib/components/super-form/super-form.vue2.cjs +1 -1
- package/lib/components/super-form/use/helper.d.ts +14 -0
- package/lib/components/super-form/use/use-auto-focus.d.ts +1 -0
- package/lib/components/super-form/use/use-form-context.d.ts +1 -1
- package/lib/components/super-form/use/use-form-values.cjs +1 -1
- package/lib/components/switch/index.cjs +1 -1
- package/lib/components/switch/switch.vue2.cjs +1 -1
- package/lib/components/table/index.cjs +1 -1
- package/lib/components/table/index.d.ts +35 -35
- package/lib/components/table/table.vue.d.ts +15 -15
- package/lib/components/table/table.vue2.cjs +1 -1
- package/lib/components/table/use/use-data-source.d.ts +5 -5
- package/lib/components/tabs/index.cjs +1 -1
- package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
- package/lib/components/tabs/tab-pane.vue2.cjs +1 -1
- package/lib/components/tabs/tabs.vue2.cjs +1 -1
- package/lib/components/tag/index.cjs +1 -1
- package/lib/components/time-picker/common/picker.vue.d.ts +2 -2
- package/lib/components/time-picker/common/props.cjs +1 -1
- package/lib/components/time-picker/index.d.ts +4 -4
- package/lib/components/time-picker/props/basic-time-spinner.cjs +1 -1
- package/lib/components/time-picker/props/panel-time-picker.cjs +1 -1
- package/lib/components/time-picker/props/panel-time-range.cjs +1 -1
- package/lib/components/time-picker/props/shared.cjs +1 -1
- package/lib/components/time-picker/time-picker.d.ts +2 -2
- package/lib/components/time-select/time-select.cjs +1 -1
- package/lib/components/time-select/time-select.vue.d.ts +1 -1
- package/lib/components/tooltip/content.vue.d.ts +6 -6
- package/lib/components/tooltip/index.cjs +1 -1
- package/lib/components/tooltip/index.d.ts +7 -7
- package/lib/components/tooltip/tooltip.vue.d.ts +2 -2
- package/lib/components/upload/index.cjs +1 -1
- package/lib/components/upload/index.d.ts +15 -15
- package/lib/components/upload/upload-content.vue.d.ts +9 -9
- package/lib/components/upload/upload.vue.d.ts +9 -9
- package/lib/components/verify-code/index.cjs +1 -1
- package/lib/components/virtual-list/components/scrollbar.cjs +1 -1
- package/lib/components/virtual-list/hooks/use-grid-wheel.cjs +1 -1
- package/lib/components/virtual-list/hooks/use-wheel.cjs +1 -1
- package/lib/components/virtual-list/props.cjs +1 -1
- package/lib/hooks/index.cjs +1 -1
- package/lib/hooks/index.d.ts +0 -2
- package/lib/hooks/use-ordered-children/index.cjs +1 -1
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/lib/utils/index.cjs +1 -1
- package/lib/utils/index.d.ts +0 -1
- package/lib/utils/vue/props/runtime.cjs +1 -1
- package/package.json +7 -7
- package/theme-style/base.css +1 -1
- package/theme-style/dark/css-vars.css +1 -1
- package/theme-style/index.css +1 -1
- package/theme-style/src/alert.scss +35 -35
- package/theme-style/src/avatar.scss +15 -16
- package/theme-style/src/backtop.scss +6 -5
- package/theme-style/src/button.scss +90 -90
- package/theme-style/src/col.scss +0 -1
- package/theme-style/src/color-picker.scss +45 -45
- package/theme-style/src/common/transition.scss +23 -30
- package/theme-style/src/common/var.scss +1137 -1196
- package/theme-style/src/dark/css-vars.scss +3 -4
- package/theme-style/src/dark/var.scss +56 -60
- package/theme-style/src/date-picker/date-picker.scss +29 -26
- package/theme-style/src/date-picker/time-spinner.scss +16 -12
- package/theme-style/src/date-picker.scss +0 -1
- package/theme-style/src/descriptions-item.scss +22 -19
- package/theme-style/src/descriptions.scss +35 -41
- package/theme-style/src/dialog.scss +16 -11
- package/theme-style/src/empty.scss +9 -10
- package/theme-style/src/form.scss +42 -39
- package/theme-style/src/full-screen.scss +2 -2
- package/theme-style/src/header-layout.scss +2 -1
- package/theme-style/src/horizontal-menu.scss +11 -11
- package/theme-style/src/icon-text.scss +5 -5
- package/theme-style/src/icon.scss +1 -1
- package/theme-style/src/image-viewer.scss +21 -12
- package/theme-style/src/input-number.scss +56 -57
- package/theme-style/src/input.scss +156 -145
- package/theme-style/src/link.scss +36 -37
- package/theme-style/src/list-cell.scss +8 -9
- package/theme-style/src/loading.scss +6 -2
- package/theme-style/src/logo.scss +0 -3
- package/theme-style/src/md/api.scss +2 -1
- package/theme-style/src/md/blockquote.scss +3 -3
- package/theme-style/src/md/code.scss +13 -15
- package/theme-style/src/md/demo-block.scss +6 -3
- package/theme-style/src/md/helper.scss +1 -1
- package/theme-style/src/md/link.scss +11 -7
- package/theme-style/src/md/one-light.scss +3 -3
- package/theme-style/src/md/pswp.scss +13 -16
- package/theme-style/src/md/svg.scss +10 -1
- package/theme-style/src/md/table.scss +0 -1
- package/theme-style/src/md/tasklist.scss +10 -21
- package/theme-style/src/md/title.scss +2 -1
- package/theme-style/src/md/toc.scss +10 -17
- package/theme-style/src/md-code-demo.scss +11 -37
- package/theme-style/src/md-code-tabs.scss +10 -18
- package/theme-style/src/md-comment.scss +384 -333
- package/theme-style/src/md-container.scss +66 -56
- package/theme-style/src/md-tabs.scss +9 -22
- package/theme-style/src/md-vue-playground.scss +234 -128
- package/theme-style/src/menu.scss +72 -56
- package/theme-style/src/message.scss +52 -37
- package/theme-style/src/mixins/_var.scss +18 -7
- package/theme-style/src/mixins/function.scss +5 -1
- package/theme-style/src/mixins/icon.scss +9 -9
- package/theme-style/src/mixins/mixins.scss +57 -21
- package/theme-style/src/multiple-tabs.scss +13 -7
- package/theme-style/src/pagination.scss +53 -48
- package/theme-style/src/popconfirm.scss +3 -1
- package/theme-style/src/progress.scss +20 -6
- package/theme-style/src/select.scss +75 -72
- package/theme-style/src/side-menu.scss +13 -10
- package/theme-style/src/skeleton-item.scss +3 -4
- package/theme-style/src/super-form.scss +2 -1
- package/theme-style/src/switch.scss +59 -63
- package/theme-style/src/table.scss +55 -40
- package/theme-style/src/tabs.scss +68 -47
- package/theme-style/src/tree.scss +15 -10
- package/theme-style/src/upload.scss +79 -82
- package/theme-style/src/var.scss +8 -5
- package/theme-style/vft-alert.css +1 -1
- package/theme-style/vft-autocomplete.css +1 -1
- package/theme-style/vft-avatar.css +1 -1
- package/theme-style/vft-backtop.css +1 -1
- package/theme-style/vft-button.css +1 -1
- package/theme-style/vft-cascader.css +1 -1
- package/theme-style/vft-clamp-toggle.css +1 -1
- package/theme-style/vft-collapse.css +1 -1
- package/theme-style/vft-color-picker.css +1 -1
- package/theme-style/vft-date-picker.css +1 -1
- package/theme-style/vft-date-time-select.css +1 -1
- package/theme-style/vft-descriptions-item.css +1 -1
- package/theme-style/vft-descriptions.css +1 -1
- package/theme-style/vft-dialog.css +1 -1
- package/theme-style/vft-drawer.css +1 -1
- package/theme-style/vft-dropdown.css +1 -1
- package/theme-style/vft-empty.css +1 -1
- package/theme-style/vft-form.css +1 -1
- package/theme-style/vft-full-screen.css +1 -1
- package/theme-style/vft-horizontal-menu.css +1 -1
- package/theme-style/vft-icon-text.css +1 -1
- package/theme-style/vft-image-viewer.css +1 -1
- package/theme-style/vft-input-number.css +1 -1
- package/theme-style/vft-input.css +1 -1
- package/theme-style/vft-link.css +1 -1
- package/theme-style/vft-list-cell.css +1 -1
- package/theme-style/vft-loading.css +1 -1
- package/theme-style/vft-logo.css +1 -1
- package/theme-style/vft-md-code-tabs.css +1 -1
- package/theme-style/vft-md-comment.css +1 -1
- package/theme-style/vft-md-container.css +1 -1
- package/theme-style/vft-md-tabs.css +1 -1
- package/theme-style/vft-md-vue-playground.css +1 -1
- package/theme-style/vft-menu.css +1 -1
- package/theme-style/vft-message.css +1 -1
- package/theme-style/vft-multiple-tabs.css +1 -1
- package/theme-style/vft-pagination.css +1 -1
- package/theme-style/vft-popconfirm.css +1 -1
- package/theme-style/vft-progress.css +1 -1
- package/theme-style/vft-select.css +1 -1
- package/theme-style/vft-side-menu.css +1 -1
- package/theme-style/vft-skeleton-item.css +1 -1
- package/theme-style/vft-switch.css +1 -1
- package/theme-style/vft-table.css +1 -1
- package/theme-style/vft-tabs.css +1 -1
- package/theme-style/vft-tag.css +1 -1
- package/theme-style/vft-time-picker.css +1 -1
- package/theme-style/vft-time-select.css +1 -1
- package/theme-style/vft-transfer.css +1 -1
- package/theme-style/vft-tree.css +1 -1
- package/theme-style/vft-upload.css +1 -1
- package/theme-style/vft-var.css +1 -1
- package/web-types.json +1 -1
- package/es/components/button/instance.d.ts +0 -4
- package/es/components/button/instance.js +0 -1
- package/es/components/button/mobile/button.vue.d.ts +0 -2
- package/es/components/button/mobile/button.vue.js +0 -10
- package/es/components/context-menu/types.d.ts +0 -23
- package/es/components/dropdown/types.d.ts +0 -251
- package/es/components/popover/types.d.ts +0 -26
- package/es/components/popper/types.d.ts +0 -45
- package/es/components/qrcode/types.d.ts +0 -31
- package/es/components/table/types.d.ts +0 -55
- package/es/components/tooltip/types.d.ts +0 -53
- package/es/hooks/use-cursor/index.d.ts +0 -2
- package/es/hooks/use-cursor/index.js +0 -40
- package/es/hooks/use-prop/index.d.ts +0 -2
- package/es/hooks/use-prop/index.js +0 -11
- package/es/utils/ns-cover.d.ts +0 -16
- package/es/utils/objects.d.ts +0 -4
- package/es/utils/objects.js +0 -12
- package/lib/components/button/instance.cjs +0 -1
- package/lib/components/button/instance.d.ts +0 -4
- package/lib/components/button/mobile/button.vue.cjs +0 -1
- package/lib/components/button/mobile/button.vue.d.ts +0 -2
- package/lib/components/context-menu/types.d.ts +0 -23
- package/lib/components/dropdown/types.d.ts +0 -251
- package/lib/components/popover/types.d.ts +0 -26
- package/lib/components/popper/types.d.ts +0 -45
- package/lib/components/qrcode/types.d.ts +0 -31
- package/lib/components/table/types.d.ts +0 -55
- package/lib/components/tooltip/types.d.ts +0 -53
- package/lib/hooks/use-cursor/index.cjs +0 -1
- package/lib/hooks/use-cursor/index.d.ts +0 -2
- package/lib/hooks/use-prop/index.cjs +0 -1
- package/lib/hooks/use-prop/index.d.ts +0 -2
- package/lib/utils/ns-cover.d.ts +0 -16
- package/lib/utils/objects.cjs +0 -1
- package/lib/utils/objects.d.ts +0 -4
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
3
|
-
|
|
4
|
-
@
|
|
5
|
-
@forward "./icon.scss";
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
@use '../mixins/function.scss' as *;
|
|
4
|
+
@forward './icon.scss';
|
|
6
5
|
|
|
7
6
|
// types
|
|
8
7
|
$types: primary, success, warning, danger, error, info;
|
|
@@ -10,61 +9,58 @@ $types: primary, success, warning, danger, error, info;
|
|
|
10
9
|
// Color
|
|
11
10
|
$colors: () !default;
|
|
12
11
|
$colors: map.deep-merge(
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
),
|
|
19
|
-
"success": (
|
|
20
|
-
"base": #3eaf7c,
|
|
21
|
-
),
|
|
22
|
-
"warning": (
|
|
23
|
-
"base": #fb9b5f,
|
|
24
|
-
),
|
|
25
|
-
"danger": (
|
|
26
|
-
"base": #f26d6d,
|
|
27
|
-
),
|
|
28
|
-
"error": (
|
|
29
|
-
"base": #f26d6d,
|
|
30
|
-
),
|
|
31
|
-
"info": (
|
|
32
|
-
"base": #909399,
|
|
33
|
-
),
|
|
12
|
+
(
|
|
13
|
+
'white': #fff,
|
|
14
|
+
'black': #000,
|
|
15
|
+
'primary': (
|
|
16
|
+
'base': #2196f3,
|
|
34
17
|
),
|
|
35
|
-
|
|
18
|
+
'success': (
|
|
19
|
+
'base': #3eaf7c,
|
|
20
|
+
),
|
|
21
|
+
'warning': (
|
|
22
|
+
'base': #fb9b5f,
|
|
23
|
+
),
|
|
24
|
+
'danger': (
|
|
25
|
+
'base': #f26d6d,
|
|
26
|
+
),
|
|
27
|
+
'error': (
|
|
28
|
+
'base': #f26d6d,
|
|
29
|
+
),
|
|
30
|
+
'info': (
|
|
31
|
+
'base': #909399,
|
|
32
|
+
),
|
|
33
|
+
),
|
|
34
|
+
$colors
|
|
36
35
|
);
|
|
37
|
-
|
|
38
|
-
$color-
|
|
39
|
-
$color
|
|
40
|
-
$
|
|
41
|
-
$
|
|
42
|
-
$
|
|
43
|
-
$
|
|
44
|
-
$
|
|
45
|
-
$info-color: getCssVar("info-color") !default;
|
|
46
|
-
|
|
47
|
-
|
|
36
|
+
$color-white: map-get($colors, 'white') !default;
|
|
37
|
+
$color-black: map-get($colors, 'black') !default;
|
|
38
|
+
$primary-color: map-get($colors, 'primary', 'base') !default;
|
|
39
|
+
$success-color: map-get($colors, 'success', 'base') !default;
|
|
40
|
+
$warning-color: map-get($colors, 'warning', 'base') !default;
|
|
41
|
+
$danger-color: map-get($colors, 'danger', 'base') !default;
|
|
42
|
+
$error-color: map-get($colors, 'error', 'base') !default;
|
|
43
|
+
$info-color: map-get($colors, 'info', 'base') !default;
|
|
48
44
|
|
|
49
45
|
// 将颜色与黑白混合以生成明暗级别
|
|
50
46
|
@mixin set-color-mix-level(
|
|
51
47
|
$type,
|
|
52
48
|
$number,
|
|
53
|
-
$mode:
|
|
49
|
+
$mode: 'light',
|
|
54
50
|
$mix-color: $color-white
|
|
55
51
|
) {
|
|
56
52
|
$colors: map.deep-merge(
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
53
|
+
(
|
|
54
|
+
$type: (
|
|
55
|
+
'#{$mode}-#{$number}':
|
|
60
56
|
mix(
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
57
|
+
$mix-color,
|
|
58
|
+
map-get($colors, $type, 'base'),
|
|
59
|
+
math.percentage(math.div($number, 10))
|
|
64
60
|
),
|
|
65
|
-
),
|
|
66
61
|
),
|
|
67
|
-
|
|
62
|
+
),
|
|
63
|
+
$colors
|
|
68
64
|
) !global;
|
|
69
65
|
}
|
|
70
66
|
|
|
@@ -81,1503 +77,1448 @@ $info-color: getCssVar("info-color") !default;
|
|
|
81
77
|
// 90% ecf5ff
|
|
82
78
|
@each $type in $types {
|
|
83
79
|
@for $i from 1 through 9 {
|
|
84
|
-
@include set-color-mix-level($type, $i,
|
|
80
|
+
@include set-color-mix-level($type, $i, 'light', $color-white);
|
|
85
81
|
}
|
|
86
82
|
}
|
|
87
83
|
|
|
88
84
|
// --vft-primary-color-dark-2
|
|
89
85
|
@each $type in $types {
|
|
90
|
-
@include set-color-mix-level($type, 2,
|
|
86
|
+
@include set-color-mix-level($type, 2, 'dark', $color-black);
|
|
91
87
|
}
|
|
92
88
|
|
|
93
|
-
$text
|
|
94
|
-
$text
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
89
|
+
$text: () !default;
|
|
90
|
+
$text: map-merge(
|
|
91
|
+
(
|
|
92
|
+
'primary-color': #303133,
|
|
93
|
+
'regular-color': #606266,
|
|
94
|
+
'secondary-color': #909399,
|
|
95
|
+
'placeholder-color': #a8abb2,
|
|
96
|
+
'disabled-color': #c0c4cc,
|
|
97
|
+
),
|
|
98
|
+
$text
|
|
99
|
+
);
|
|
100
|
+
$text-dark: () !default;
|
|
101
|
+
$text-dark: map-merge(
|
|
102
|
+
(
|
|
103
|
+
'primary-color': white,
|
|
104
|
+
),
|
|
105
|
+
$text-dark
|
|
103
106
|
);
|
|
104
|
-
|
|
105
|
-
$text-color-dark: () !default;
|
|
106
|
-
$text-color-dark: map.merge(
|
|
107
|
-
(
|
|
108
|
-
"primary-color": white,
|
|
109
|
-
),
|
|
110
|
-
$text-color-dark
|
|
111
|
-
);
|
|
112
|
-
|
|
113
107
|
$border-color: () !default;
|
|
114
|
-
$border-color: map
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
108
|
+
$border-color: map-merge(
|
|
109
|
+
(
|
|
110
|
+
'': #dcdfe6,
|
|
111
|
+
'light': #e4e7ed,
|
|
112
|
+
'lighter': #ebeef5,
|
|
113
|
+
'extra-light': #f2f6fc,
|
|
114
|
+
'dark': #d4d7de,
|
|
115
|
+
'darker': #cdd0d6,
|
|
116
|
+
),
|
|
117
|
+
$border-color
|
|
124
118
|
);
|
|
125
|
-
|
|
126
119
|
$fill-color: () !default;
|
|
127
|
-
$fill-color: map
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
120
|
+
$fill-color: map-merge(
|
|
121
|
+
(
|
|
122
|
+
'': #f0f2f5,
|
|
123
|
+
'light': #f5f7fa,
|
|
124
|
+
'lighter': #fafafa,
|
|
125
|
+
'extra-light': #fafcff,
|
|
126
|
+
'dark': #ebedf0,
|
|
127
|
+
'darker': #e6e8eb,
|
|
128
|
+
'blank': #fff,
|
|
129
|
+
),
|
|
130
|
+
$fill-color
|
|
138
131
|
);
|
|
139
|
-
|
|
140
|
-
// Background
|
|
141
132
|
$bg-color: () !default;
|
|
142
|
-
$bg-color: map
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
133
|
+
$bg-color: map-merge(
|
|
134
|
+
(
|
|
135
|
+
'': #fff,
|
|
136
|
+
'page': #f2f3f5,
|
|
137
|
+
'overlay': #fff,
|
|
138
|
+
),
|
|
139
|
+
$bg-color
|
|
149
140
|
);
|
|
150
|
-
|
|
151
|
-
// Border
|
|
152
141
|
$border-width: 1px !default;
|
|
153
142
|
$border-style: solid !default;
|
|
154
|
-
$border-color-hover: getCssVar(
|
|
155
|
-
|
|
143
|
+
$border-color-hover: getCssVar('text', 'disabled-color') !default;
|
|
156
144
|
$border-radius: () !default;
|
|
157
|
-
$border-radius: map
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
145
|
+
$border-radius: map-merge(
|
|
146
|
+
(
|
|
147
|
+
'base': 4px,
|
|
148
|
+
'small': 2px,
|
|
149
|
+
'round': 20px,
|
|
150
|
+
'circle': 100%,
|
|
151
|
+
),
|
|
152
|
+
$border-radius
|
|
165
153
|
);
|
|
166
|
-
|
|
167
|
-
// Box-shadow
|
|
168
154
|
$box-shadow: () !default;
|
|
169
|
-
$box-shadow: map
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
),
|
|
181
|
-
"dark": (
|
|
182
|
-
0px 16px 48px 16px rgba(0, 0, 0, 0.08),
|
|
183
|
-
0px 12px 32px rgba(0, 0, 0, 0.12),
|
|
184
|
-
0px 8px 16px -8px rgba(0, 0, 0, 0.16),
|
|
185
|
-
),
|
|
155
|
+
$box-shadow: map-merge(
|
|
156
|
+
(
|
|
157
|
+
'': (
|
|
158
|
+
0 12px 32px 4px rgba(0, 0, 0, 0.04),
|
|
159
|
+
0 8px 20px rgba(0, 0, 0, 0.08),
|
|
160
|
+
),
|
|
161
|
+
'light': (
|
|
162
|
+
0 0 12px rgba(0, 0, 0, 0.12),
|
|
163
|
+
),
|
|
164
|
+
'lighter': (
|
|
165
|
+
0 0 6px rgba(0, 0, 0, 0.12),
|
|
186
166
|
),
|
|
187
|
-
|
|
167
|
+
'dark': (
|
|
168
|
+
0 16px 48px 16px rgba(0, 0, 0, 0.08),
|
|
169
|
+
0 12px 32px rgba(0, 0, 0, 0.12),
|
|
170
|
+
0 8px 16px -8px rgba(0, 0, 0, 0.16),
|
|
171
|
+
),
|
|
172
|
+
),
|
|
173
|
+
$box-shadow
|
|
188
174
|
);
|
|
189
|
-
|
|
190
|
-
// Typography
|
|
191
175
|
$font-family: () !default;
|
|
192
|
-
$font-family: map
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
""
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
$font-family
|
|
176
|
+
$font-family: map-merge(
|
|
177
|
+
(
|
|
178
|
+
'':
|
|
179
|
+
"'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif",
|
|
180
|
+
),
|
|
181
|
+
$font-family
|
|
199
182
|
);
|
|
200
|
-
|
|
201
183
|
$font-size: () !default;
|
|
202
|
-
$font-size: map
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
184
|
+
$font-size: map-merge(
|
|
185
|
+
(
|
|
186
|
+
'extra-large': 20px,
|
|
187
|
+
'large': 18px,
|
|
188
|
+
'medium': 16px,
|
|
189
|
+
'base': 14px,
|
|
190
|
+
'small': 13px,
|
|
191
|
+
'extra-small': 12px,
|
|
192
|
+
),
|
|
193
|
+
$font-size
|
|
212
194
|
);
|
|
213
195
|
|
|
214
196
|
// zIndex
|
|
215
197
|
$z-index: () !default;
|
|
216
|
-
$z-index: map
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
198
|
+
$z-index: map-merge(
|
|
199
|
+
(
|
|
200
|
+
'normal': 1,
|
|
201
|
+
'top': 1000,
|
|
202
|
+
'popper': 2000,
|
|
203
|
+
'backtop': 3050,
|
|
204
|
+
'header-layout': 100,
|
|
205
|
+
),
|
|
206
|
+
$z-index
|
|
225
207
|
);
|
|
226
|
-
|
|
227
|
-
|
|
208
|
+
$sm: 768px !default;
|
|
209
|
+
$md: 992px !default;
|
|
210
|
+
$lg: 1200px !default;
|
|
211
|
+
$xl: 1920px !default;
|
|
212
|
+
$breakpoints: (
|
|
213
|
+
'xs': '(max-width: #{$sm})',
|
|
214
|
+
'sm': '(min-width: #{$sm})',
|
|
215
|
+
'md': '(min-width: #{$md})',
|
|
216
|
+
'lg': '(min-width: #{$lg})',
|
|
217
|
+
'xl': '(min-width: #{$xl})',
|
|
218
|
+
) !default;
|
|
219
|
+
$breakpoints-spec: (
|
|
220
|
+
'xs-only': '(max-width: #{$sm - 1})',
|
|
221
|
+
'sm-and-up': '(min-width: #{$sm})',
|
|
222
|
+
'sm-only': '(min-width: #{$sm}) and (max-width: #{$md - 1})',
|
|
223
|
+
'sm-and-down': '(max-width: #{$md - 1})',
|
|
224
|
+
'md-and-up': '(min-width: #{$md})',
|
|
225
|
+
'md-only': '(min-width: #{$md}) and (max-width: #{$lg - 1})',
|
|
226
|
+
'md-and-down': '(max-width: #{$lg - 1})',
|
|
227
|
+
'lg-and-up': '(min-width: #{$lg})',
|
|
228
|
+
'lg-only': '(min-width: #{$lg}) and (max-width: #{$xl - 1})',
|
|
229
|
+
'lg-and-down': '(max-width: #{$xl - 1})',
|
|
230
|
+
'xl-only': '(min-width: #{$xl})',
|
|
231
|
+
) !default;
|
|
228
232
|
$disabled: () !default;
|
|
229
|
-
$disabled: map
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
233
|
+
$disabled: map-merge(
|
|
234
|
+
(
|
|
235
|
+
'bg-color': getCssVar('fill-color', 'light'),
|
|
236
|
+
'text-color': getCssVar('text', 'placeholder-color'),
|
|
237
|
+
'border-color': getCssVar('border-color', 'light'),
|
|
238
|
+
),
|
|
239
|
+
$disabled
|
|
236
240
|
);
|
|
237
|
-
|
|
238
241
|
$common-component-size: () !default;
|
|
239
|
-
$common-component-size: map
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
242
|
+
$common-component-size: map-merge(
|
|
243
|
+
(
|
|
244
|
+
'large': 40px,
|
|
245
|
+
'default': 32px,
|
|
246
|
+
'small': 24px,
|
|
247
|
+
),
|
|
248
|
+
$common-component-size
|
|
246
249
|
);
|
|
247
250
|
|
|
248
251
|
// overlay
|
|
249
252
|
$overlay-color: () !default;
|
|
250
|
-
$overlay-color: map
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
253
|
+
$overlay-color: map-merge(
|
|
254
|
+
(
|
|
255
|
+
'': rgba(0, 0, 0, 0.8),
|
|
256
|
+
'light': rgba(0, 0, 0, 0.7),
|
|
257
|
+
'lighter': rgba(0, 0, 0, 0.5),
|
|
258
|
+
),
|
|
259
|
+
$overlay-color
|
|
257
260
|
);
|
|
258
261
|
|
|
259
262
|
// mask
|
|
260
263
|
$mask-color: () !default;
|
|
261
|
-
$mask-color: map
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
264
|
+
$mask-color: map-merge(
|
|
265
|
+
(
|
|
266
|
+
'': rgba(255, 255, 255, 0.9),
|
|
267
|
+
'extra-light': rgba(255, 255, 255, 0.3),
|
|
268
|
+
),
|
|
269
|
+
$mask-color
|
|
267
270
|
);
|
|
268
271
|
|
|
269
272
|
// transition
|
|
270
273
|
$transition: () !default;
|
|
271
|
-
$transition: map
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
)
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
)
|
|
285
|
-
|
|
274
|
+
$transition: map-merge(
|
|
275
|
+
(
|
|
276
|
+
'all': all getCssVar('transition-duration')
|
|
277
|
+
getCssVar('transition-function-ease-in-out-bezier'),
|
|
278
|
+
'fade': opacity getCssVar('transition-duration')
|
|
279
|
+
getCssVar('transition-function-fast-bezier'),
|
|
280
|
+
'md-fade': (
|
|
281
|
+
transform getCssVar('transition-duration')
|
|
282
|
+
getCssVar('transition-function-fast-bezier'),
|
|
283
|
+
opacity getCssVar('transition-duration')
|
|
284
|
+
getCssVar('transition-function-fast-bezier'),
|
|
285
|
+
),
|
|
286
|
+
'fade-linear': opacity getCssVar('transition-duration-fast') linear,
|
|
287
|
+
'border': border-color getCssVar('transition-duration-fast')
|
|
288
|
+
getCssVar('transition-function-ease-in-out-bezier'),
|
|
289
|
+
'box-shadow': box-shadow getCssVar('transition-duration-fast')
|
|
290
|
+
getCssVar('transition-function-ease-in-out-bezier'),
|
|
291
|
+
'color': color getCssVar('transition-duration-fast')
|
|
292
|
+
getCssVar('transition-function-ease-in-out-bezier'),
|
|
293
|
+
'bg-color': background-color getCssVar('transition-duration-fast')
|
|
294
|
+
getCssVar('transition-function-ease-in-out-bezier'),
|
|
295
|
+
),
|
|
296
|
+
$transition
|
|
286
297
|
);
|
|
287
|
-
|
|
288
298
|
$transition-duration: () !default;
|
|
289
|
-
$transition-duration: map
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
299
|
+
$transition-duration: map-merge(
|
|
300
|
+
(
|
|
301
|
+
'': 0.3s,
|
|
302
|
+
'fast': 0.2s,
|
|
303
|
+
),
|
|
304
|
+
$transition-duration
|
|
295
305
|
);
|
|
296
|
-
|
|
297
306
|
$transition-function: () !default;
|
|
298
|
-
$transition-function: map
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
307
|
+
$transition-function: map-merge(
|
|
308
|
+
(
|
|
309
|
+
'ease-in-out-bezier': cubic-bezier(0.645, 0.045, 0.355, 1),
|
|
310
|
+
'fast-bezier': cubic-bezier(0.23, 1, 0.32, 1),
|
|
311
|
+
),
|
|
312
|
+
$transition-function
|
|
304
313
|
);
|
|
305
|
-
|
|
306
314
|
$button: () !default;
|
|
307
|
-
$button: map
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
315
|
+
$button: map-merge(
|
|
316
|
+
(
|
|
317
|
+
'font-weight': getCssVar('font-weight-primary'),
|
|
318
|
+
'border-color': getCssVar('border-color'),
|
|
319
|
+
'bg-color': getCssVar('fill-color', 'blank'),
|
|
320
|
+
'text-color': getCssVar('text', 'regular-color'),
|
|
321
|
+
'disabled-text-color': getCssVar('text', 'disabled-color'),
|
|
322
|
+
'disabled-bg-color': getCssVar('fill-color', 'blank'),
|
|
323
|
+
'disabled-border-color': getCssVar('border-color', 'light'),
|
|
324
|
+
'divide-border-color': rgba($color-white, 0.5),
|
|
325
|
+
'hover-text-color': getCssVar('primary-color'),
|
|
326
|
+
'hover-bg-color': getCssVar('primary-color', 'light-9'),
|
|
327
|
+
'hover-border-color': getCssVar('primary-color', 'light-7'),
|
|
328
|
+
'active-text-color': getCssVar('button', 'hover-text-color'),
|
|
329
|
+
'active-border-color': getCssVar('primary-color'),
|
|
330
|
+
'active-bg-color': getCssVar('button', 'hover-bg-color'),
|
|
331
|
+
'outline-color': getCssVar('primary-color', 'light-5'),
|
|
332
|
+
'hover-link-text-color': getCssVar('info-color'),
|
|
333
|
+
'active-color': getCssVar('text', 'primary-color'),
|
|
334
|
+
),
|
|
335
|
+
$button
|
|
328
336
|
);
|
|
329
|
-
|
|
330
337
|
$button-border-width: $border-width !default;
|
|
331
338
|
|
|
332
339
|
// need mix, so do not use css var
|
|
333
340
|
$button-hover-tint-percent: 20%;
|
|
334
341
|
$button-active-shade-percent: 10%;
|
|
335
|
-
|
|
336
342
|
$button-border-color: () !default;
|
|
337
343
|
$button-bg-color: () !default;
|
|
338
344
|
$button-text-color: () !default;
|
|
339
345
|
|
|
340
346
|
@each $type in $types {
|
|
341
|
-
$button-border-color: map
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
347
|
+
$button-border-color: map-merge(
|
|
348
|
+
(
|
|
349
|
+
$type: map-get($colors, $type, 'base'),
|
|
350
|
+
),
|
|
351
|
+
$button-border-color
|
|
346
352
|
) !global;
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
(
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
$button-bg-color
|
|
353
|
+
$button-bg-color: map-merge(
|
|
354
|
+
(
|
|
355
|
+
$type: map-get($colors, $type, 'base'),
|
|
356
|
+
),
|
|
357
|
+
$button-bg-color
|
|
353
358
|
) !global;
|
|
354
359
|
}
|
|
355
360
|
|
|
356
361
|
$button-font-size: () !default;
|
|
357
|
-
$button-font-size: map
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
362
|
+
$button-font-size: map-merge(
|
|
363
|
+
(
|
|
364
|
+
'large': getCssVar('font-size', 'base'),
|
|
365
|
+
'default': getCssVar('font-size', 'base'),
|
|
366
|
+
'small': 12px,
|
|
367
|
+
),
|
|
368
|
+
$button-font-size
|
|
364
369
|
);
|
|
365
|
-
|
|
366
370
|
$button-border-radius: () !default;
|
|
367
|
-
$button-border-radius: map
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
371
|
+
$button-border-radius: map-merge(
|
|
372
|
+
(
|
|
373
|
+
'large': getCssVar('border-radius', 'base'),
|
|
374
|
+
'default': getCssVar('border-radius', 'base'),
|
|
375
|
+
'small': calc(#{getCssVar('border-radius', 'base')} - 1px),
|
|
376
|
+
),
|
|
377
|
+
$button-border-radius
|
|
374
378
|
);
|
|
375
|
-
|
|
376
379
|
$button-padding-vertical: () !default;
|
|
377
|
-
$button-padding-vertical: map
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
380
|
+
$button-padding-vertical: map-merge(
|
|
381
|
+
(
|
|
382
|
+
'large': 13px,
|
|
383
|
+
'default': 9px,
|
|
384
|
+
'small': 6px,
|
|
385
|
+
),
|
|
386
|
+
$button-padding-vertical
|
|
384
387
|
);
|
|
385
|
-
|
|
386
388
|
$button-padding-horizontal: () !default;
|
|
387
|
-
$button-padding-horizontal: map
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
389
|
+
$button-padding-horizontal: map-merge(
|
|
390
|
+
(
|
|
391
|
+
'large': 20px,
|
|
392
|
+
'default': 16px,
|
|
393
|
+
'small': 12px,
|
|
394
|
+
),
|
|
395
|
+
$button-padding-horizontal
|
|
394
396
|
);
|
|
395
|
-
|
|
396
397
|
$checkbox: () !default;
|
|
397
|
-
$checkbox: map
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
398
|
+
$checkbox: map-merge(
|
|
399
|
+
(
|
|
400
|
+
'font-size': 14px,
|
|
401
|
+
'font-weight': getCssVar('font-weight-primary'),
|
|
402
|
+
'text-color': getCssVar('text-regular-color'),
|
|
403
|
+
'input-height': 14px,
|
|
404
|
+
'input-width': 14px,
|
|
405
|
+
'border-radius': getCssVar('border-radius-small'),
|
|
406
|
+
'bg-color': getCssVar('fill-color', 'blank'),
|
|
407
|
+
'input-border': getCssVar('border'),
|
|
408
|
+
'disabled-border-color': getCssVar('border-color'),
|
|
409
|
+
'disabled-input-fill': getCssVar('fill-color', 'light'),
|
|
410
|
+
'disabled-icon-color': getCssVar('text-placeholder-color'),
|
|
411
|
+
'disabled-checked-input-fill': getCssVar('border-color-extra-light'),
|
|
412
|
+
'disabled-checked-input-border-color': getCssVar('border-color'),
|
|
413
|
+
'disabled-checked-icon-color': getCssVar('text-placeholder-color'),
|
|
414
|
+
'checked-text-color': getCssVar('primary-color'),
|
|
415
|
+
'checked-input-border-color': getCssVar('primary-color'),
|
|
416
|
+
'checked-bg-color': getCssVar('primary-color'),
|
|
417
|
+
'checked-icon-color': getCssVar('color', 'white'),
|
|
418
|
+
'input-border-color-hover': getCssVar('primary-color'),
|
|
419
|
+
),
|
|
420
|
+
$checkbox
|
|
420
421
|
);
|
|
421
|
-
|
|
422
422
|
$checkbox-button: () !default;
|
|
423
|
-
$checkbox-button: map
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
423
|
+
$checkbox-button: map-merge(
|
|
424
|
+
(
|
|
425
|
+
'checked-bg-color': getCssVar('primary-color'),
|
|
426
|
+
'checked-text-color': getCssVar('color-white'),
|
|
427
|
+
'checked-border-color': getCssVar('primary-color'),
|
|
428
|
+
),
|
|
429
|
+
$checkbox-button
|
|
430
430
|
);
|
|
431
|
-
|
|
432
431
|
$checkbox-bordered-padding-left: () !default;
|
|
433
|
-
$checkbox-bordered-padding-left: map
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
432
|
+
$checkbox-bordered-padding-left: map-merge(
|
|
433
|
+
(
|
|
434
|
+
'large': 12px,
|
|
435
|
+
'default': 10px,
|
|
436
|
+
'small': 8px,
|
|
437
|
+
),
|
|
438
|
+
$checkbox-bordered-padding-left
|
|
440
439
|
);
|
|
441
|
-
|
|
442
440
|
$checkbox-bordered-padding-right: () !default;
|
|
443
|
-
$checkbox-bordered-padding-right: map
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
441
|
+
$checkbox-bordered-padding-right: map-merge(
|
|
442
|
+
(
|
|
443
|
+
'large': 20px,
|
|
444
|
+
'default': 16px,
|
|
445
|
+
'small': 12px,
|
|
446
|
+
),
|
|
447
|
+
$checkbox-bordered-padding-right
|
|
450
448
|
);
|
|
451
|
-
|
|
452
|
-
|
|
453
449
|
$radio: () !default;
|
|
454
|
-
$radio: map
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
450
|
+
$radio: map-merge(
|
|
451
|
+
(
|
|
452
|
+
'font-size': getCssVar('font-size-base'),
|
|
453
|
+
'text-color': getCssVar('text-regular-color'),
|
|
454
|
+
'font-weight': getCssVar('font-weight-primary'),
|
|
455
|
+
'input-height': 14px,
|
|
456
|
+
'input-width': 14px,
|
|
457
|
+
'input-border-radius': getCssVar('border-radius-circle'),
|
|
458
|
+
'input-bg-color': getCssVar('fill-color', 'blank'),
|
|
459
|
+
'input-border': getCssVar('border'),
|
|
460
|
+
'input-border-color': getCssVar('border-color'),
|
|
461
|
+
'input-border-color-hover': getCssVar('primary-color'),
|
|
462
|
+
),
|
|
463
|
+
$radio
|
|
468
464
|
);
|
|
469
|
-
|
|
470
465
|
$radio-height: () !default;
|
|
471
|
-
$radio-height: map
|
|
472
|
-
|
|
466
|
+
$radio-height: map-merge($common-component-size, $radio-height);
|
|
473
467
|
$radio-button: () !default;
|
|
474
|
-
$radio-button: map
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
468
|
+
$radio-button: map-merge(
|
|
469
|
+
(
|
|
470
|
+
'checked-bg-color': getCssVar('primary-color'),
|
|
471
|
+
'checked-text-color': getCssVar('color-white'),
|
|
472
|
+
'checked-border-color': getCssVar('primary-color'),
|
|
473
|
+
'disabled-checked-fill': getCssVar('border-color-extra-light'),
|
|
474
|
+
),
|
|
475
|
+
$radio-button
|
|
482
476
|
);
|
|
483
|
-
|
|
484
477
|
$radio-disabled: () !default;
|
|
485
|
-
$radio-disabled: map
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
478
|
+
$radio-disabled: map-merge(
|
|
479
|
+
(
|
|
480
|
+
'input-border-color': getCssVar('disabled-border-color'),
|
|
481
|
+
'input-fill': getCssVar('disabled-bg-color'),
|
|
482
|
+
'icon-color': getCssVar('disabled-bg-color'),
|
|
483
|
+
'checked-input-border-color': getCssVar('disabled-border-color'),
|
|
484
|
+
'checked-input-fill': getCssVar('disabled-bg-color'),
|
|
485
|
+
'checked-icon-color': getCssVar('text-placeholder-color'),
|
|
486
|
+
),
|
|
487
|
+
$radio-disabled
|
|
495
488
|
);
|
|
496
|
-
|
|
497
489
|
$radio-checked: () !default;
|
|
498
|
-
$radio-checked: map
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
490
|
+
$radio-checked: map-merge(
|
|
491
|
+
(
|
|
492
|
+
'text-color': getCssVar('primary-color'),
|
|
493
|
+
'input-border-color': getCssVar('primary-color'),
|
|
494
|
+
'icon-color': getCssVar('primary-color'),
|
|
495
|
+
),
|
|
496
|
+
$radio-checked
|
|
505
497
|
);
|
|
506
|
-
|
|
507
498
|
$radio-bordered-input-height: () !default;
|
|
508
|
-
$radio-bordered-input-height: map
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
499
|
+
$radio-bordered-input-height: map-merge(
|
|
500
|
+
(
|
|
501
|
+
'large': 14px,
|
|
502
|
+
'default': 12px,
|
|
503
|
+
'small': 12px,
|
|
504
|
+
),
|
|
505
|
+
$radio-bordered-input-height
|
|
515
506
|
);
|
|
516
|
-
|
|
517
507
|
$radio-bordered-input-width: () !default;
|
|
518
|
-
$radio-bordered-input-width: map
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
508
|
+
$radio-bordered-input-width: map-merge(
|
|
509
|
+
(
|
|
510
|
+
'large': 14px,
|
|
511
|
+
'default': 12px,
|
|
512
|
+
'small': 12px,
|
|
513
|
+
),
|
|
514
|
+
$radio-bordered-input-width
|
|
525
515
|
);
|
|
526
516
|
|
|
527
517
|
// Switch
|
|
528
518
|
// css3 var in packages/theme-chalk/src/switch.scss
|
|
529
519
|
$switch: () !default;
|
|
530
|
-
$switch: map
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
520
|
+
$switch: map-merge(
|
|
521
|
+
(
|
|
522
|
+
'on-color': getCssVar('primary-color'),
|
|
523
|
+
'off-color': getCssVar('border-color'),
|
|
524
|
+
),
|
|
525
|
+
$switch
|
|
536
526
|
);
|
|
537
527
|
|
|
538
528
|
// Dropdown
|
|
539
529
|
$dropdown: () !default;
|
|
540
|
-
$dropdown: map
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
530
|
+
$dropdown: map-merge(
|
|
531
|
+
(
|
|
532
|
+
'menu-box-shadow': getCssVar('box-shadow-light'),
|
|
533
|
+
'menuItem-hover-fill': getCssVar('primary-color-light-9'),
|
|
534
|
+
'menuItem-hover-color': getCssVar('primary-color'),
|
|
535
|
+
'menu-index': 10,
|
|
536
|
+
),
|
|
537
|
+
$dropdown
|
|
548
538
|
);
|
|
549
|
-
|
|
550
539
|
$header-layout: () !default;
|
|
551
540
|
$header-layout: map-merge(
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
541
|
+
(
|
|
542
|
+
height: 70px,
|
|
543
|
+
top-height: 40px,
|
|
544
|
+
bg-color: #eff1f5,
|
|
545
|
+
left-min-width: 800px,
|
|
546
|
+
z-index: getCssVar('z-index-header-layout'),
|
|
547
|
+
),
|
|
548
|
+
$header-layout
|
|
560
549
|
);
|
|
561
|
-
|
|
562
550
|
$footer-layout: () !default;
|
|
563
551
|
$footer-layout: map-merge(
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
552
|
+
(
|
|
553
|
+
'bg-color': getCssVar('header-layout-bg-color'),
|
|
554
|
+
'border-top': getCssVar('border'),
|
|
555
|
+
'left': getCssVar('menu-width'),
|
|
556
|
+
'height': '30px',
|
|
557
|
+
'left-min-width': 'auto',
|
|
558
|
+
'right-min-width': 'auto',
|
|
559
|
+
'z-index': 10,
|
|
560
|
+
),
|
|
561
|
+
$footer-layout
|
|
574
562
|
);
|
|
575
|
-
|
|
576
563
|
$name: side-menu;
|
|
577
564
|
$side-menu: () !default;
|
|
578
565
|
$side-menu: map-merge(
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
566
|
+
(
|
|
567
|
+
'border': getCssVar('menu-border-right'),
|
|
568
|
+
'scroll-mr': 0,
|
|
569
|
+
'bg-color': getCssVar('fill-color', 'blank'),
|
|
570
|
+
),
|
|
571
|
+
$side-menu
|
|
585
572
|
);
|
|
586
|
-
|
|
587
573
|
$iframe-page: () !default;
|
|
588
574
|
$iframe-page: map-merge(
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
575
|
+
(
|
|
576
|
+
'text-color': white,
|
|
577
|
+
),
|
|
578
|
+
$iframe-page
|
|
593
579
|
);
|
|
594
|
-
|
|
595
580
|
$icon: () !default;
|
|
596
581
|
$icon: map-merge(
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
582
|
+
(
|
|
583
|
+
'size': 14px,
|
|
584
|
+
'color': inherit,
|
|
585
|
+
'cursor': initial,
|
|
586
|
+
'animation': none,
|
|
587
|
+
),
|
|
588
|
+
$icon
|
|
604
589
|
);
|
|
605
|
-
|
|
606
590
|
$icon-text: () !default;
|
|
607
591
|
$icon-text: map-merge(
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
592
|
+
(
|
|
593
|
+
'color': inherit,
|
|
594
|
+
'font-size': 12px,
|
|
595
|
+
'cursor': initial,
|
|
596
|
+
),
|
|
597
|
+
$icon-text
|
|
614
598
|
);
|
|
615
|
-
|
|
616
599
|
$message: () !default;
|
|
617
600
|
$message: map-merge(
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
601
|
+
(
|
|
602
|
+
'border-radius': 2px,
|
|
603
|
+
'border-width': 2px,
|
|
604
|
+
'border-color': red,
|
|
605
|
+
'padding': 15px 19px,
|
|
606
|
+
'bg-color': getCssVar('color', 'info', 'light-9'),
|
|
607
|
+
),
|
|
608
|
+
$message
|
|
626
609
|
);
|
|
627
|
-
|
|
628
610
|
$divider: () !default;
|
|
629
611
|
$divider: map-merge(
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
612
|
+
(
|
|
613
|
+
'margin-y': '24px',
|
|
614
|
+
'margin-x': '8px',
|
|
615
|
+
'border-color': #dcdfe6,
|
|
616
|
+
'border-style': 'solid',
|
|
617
|
+
),
|
|
618
|
+
$divider
|
|
637
619
|
);
|
|
638
|
-
|
|
639
620
|
$tabs: () !default;
|
|
640
621
|
$tabs: map-merge(
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
622
|
+
(
|
|
623
|
+
'padding': 0,
|
|
624
|
+
'font-size': 14px,
|
|
625
|
+
'font-weight': 400,
|
|
626
|
+
'font-weight-active': 500,
|
|
627
|
+
'header-height': 40px,
|
|
628
|
+
'border-bottom': 1px solid #eee,
|
|
629
|
+
'nav-color': #eee,
|
|
630
|
+
'header-margin': 0 0 15px,
|
|
631
|
+
'header-padding': 0,
|
|
632
|
+
'header-border-bottom': none,
|
|
633
|
+
'item-padding': 0 20px,
|
|
634
|
+
'item-max-width': 100%,
|
|
635
|
+
'item-bg-color': transparent,
|
|
636
|
+
'item-active-bg-color': transparent,
|
|
637
|
+
'item-hover-bg-color': transparent,
|
|
638
|
+
'item-color': black,
|
|
639
|
+
'item-active-color': inherit,
|
|
640
|
+
'item-hover-color': inherit,
|
|
641
|
+
'item-border': 0 solid #eee,
|
|
642
|
+
'item-active-border': 0 solid #eee,
|
|
643
|
+
'item-hover-border': 0 solid transparent,
|
|
644
|
+
'item-distance': 10px,
|
|
645
|
+
'item-border-radius': 5px 5px 0 0,
|
|
646
|
+
'close-icon-left': 5px,
|
|
647
|
+
'close-icon-hover-color': black,
|
|
648
|
+
'close-icon-hover-bg-color': #dfdfdf,
|
|
649
|
+
'add-icon-right': 30px,
|
|
650
|
+
'add-icon-padding-left': 20px,
|
|
651
|
+
'scroll-padding': 0 60px 0 20px,
|
|
652
|
+
'active-distance': 14px,
|
|
653
|
+
'show-border-bottom': block,
|
|
654
|
+
),
|
|
655
|
+
$tabs
|
|
675
656
|
);
|
|
676
|
-
|
|
677
657
|
$multiple-tabs: () !default;
|
|
678
658
|
$multiple-tabs: map-merge(
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
659
|
+
(
|
|
660
|
+
'bg-color': getCssVar('header-layout-bg-color'),
|
|
661
|
+
'height': 30px,
|
|
662
|
+
),
|
|
663
|
+
$multiple-tabs
|
|
684
664
|
);
|
|
685
|
-
|
|
686
665
|
$menu: () !default;
|
|
687
666
|
$menu: map-merge(
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
667
|
+
(
|
|
668
|
+
'bg-color': getCssVar('fill-color', 'blank'),
|
|
669
|
+
'popup-bg-color': getCssVar('fill-color', 'blank'),
|
|
670
|
+
'sub-menu-bg-color': getCssVar('fill-color', 'blank'),
|
|
671
|
+
'no-popup-active-bg-color': getCssVar('fill-color', 'blank'),
|
|
672
|
+
'active-color': getCssVar('primary-color'),
|
|
673
|
+
'text-color': getCssVar('text-primary-color'),
|
|
674
|
+
'hover-text-color': getCssVar('primary-color'),
|
|
675
|
+
'hover-bg-color': getCssVar('primary-color-light-9'),
|
|
676
|
+
'focus-text-color': getCssVar('primary-color'),
|
|
677
|
+
'focus-bg-color': getCssVar('primary-color-light-9'),
|
|
678
|
+
'item-height': 56px,
|
|
679
|
+
'sub-item-height': calc(#{getCssVar('menu-item-height')} - 6px),
|
|
680
|
+
'horizontal-sub-item-height': 36px,
|
|
681
|
+
'item-font-size': getCssVar('font-size-base'),
|
|
682
|
+
'item-hover-fill': getCssVar('primary-color-light-9'),
|
|
683
|
+
'border-bottom': getCssVar('border'),
|
|
684
|
+
'base-level-padding': 20px,
|
|
685
|
+
'level-padding': 20px,
|
|
686
|
+
'icon-mr': 6px,
|
|
687
|
+
'icon-width': 14px,
|
|
688
|
+
'border': getCssVar('border'),
|
|
689
|
+
'border-right': getCssVar('border'),
|
|
690
|
+
'item-border-bottom': 2px solid transparent,
|
|
691
|
+
'item-active-border-bottom': 2px solid getCssVar('menu-active-color'),
|
|
692
|
+
'item-min-width': 200px,
|
|
693
|
+
),
|
|
694
|
+
$menu
|
|
716
695
|
);
|
|
717
|
-
|
|
718
696
|
$logo: () !default;
|
|
719
697
|
$logo: map-merge(
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
698
|
+
(
|
|
699
|
+
img-width: 30px,
|
|
700
|
+
img-height: 30px,
|
|
701
|
+
color: $primary-color,
|
|
702
|
+
font-size: 16px,
|
|
703
|
+
font-weight: 400,
|
|
704
|
+
cursor: pointer,
|
|
705
|
+
),
|
|
706
|
+
$logo
|
|
729
707
|
);
|
|
730
|
-
|
|
731
708
|
$loading: () !default;
|
|
732
709
|
$loading: map-merge(
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
710
|
+
(
|
|
711
|
+
'spinner-size': 20px,
|
|
712
|
+
'fullscreen-spinner-size': 50px,
|
|
713
|
+
'rotate-animation': loading-rotate 2s linear infinite,
|
|
714
|
+
'color': $primary-color,
|
|
715
|
+
'text-size': 14px,
|
|
716
|
+
'margin': 3px 0,
|
|
717
|
+
),
|
|
718
|
+
$loading
|
|
742
719
|
);
|
|
743
|
-
|
|
744
720
|
$full-screen: () !default;
|
|
745
721
|
$full-screen: map-merge(
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
722
|
+
(
|
|
723
|
+
'color': getCssVar('text-primary-color'),
|
|
724
|
+
'hover-color': $primary-color,
|
|
725
|
+
'font-size': 12px,
|
|
726
|
+
),
|
|
727
|
+
$full-screen
|
|
752
728
|
);
|
|
753
729
|
|
|
754
730
|
// Select
|
|
755
731
|
$select: () !default;
|
|
756
732
|
$select: map-merge(
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
733
|
+
(
|
|
734
|
+
'border-color-hover': getCssVar('border-color-hover'),
|
|
735
|
+
'disabled-border': getCssVar('disabled-border-color'),
|
|
736
|
+
'font-size': getCssVar('font-size-base'),
|
|
737
|
+
'close-hover-color': getCssVar('text-secondary-color'),
|
|
738
|
+
'input-color': getCssVar('text-placeholder-color'),
|
|
739
|
+
'multiple-input-color': getCssVar('text-regular-color'),
|
|
740
|
+
'input-focus-border-color': getCssVar('primary-color'),
|
|
741
|
+
'input-font-size': 14px,
|
|
742
|
+
),
|
|
743
|
+
$select
|
|
768
744
|
);
|
|
769
|
-
|
|
770
745
|
$select-option: () !default;
|
|
771
746
|
$select-option: map-merge(
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
747
|
+
(
|
|
748
|
+
'text-color': getCssVar('text-regular-color'),
|
|
749
|
+
'disabled-color': getCssVar('text-placeholder-color'),
|
|
750
|
+
'height': 34px,
|
|
751
|
+
'hover-background': getCssVar('fill-color', 'light'),
|
|
752
|
+
'selected-text-color': getCssVar('primary-color'),
|
|
753
|
+
),
|
|
754
|
+
$select-option
|
|
780
755
|
);
|
|
781
|
-
|
|
782
756
|
$select-group: () !default;
|
|
783
757
|
$select-group: map-merge(
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
758
|
+
(
|
|
759
|
+
'text-color': getCssVar('info-color'),
|
|
760
|
+
'height': 30px,
|
|
761
|
+
'font-size': 12px,
|
|
762
|
+
),
|
|
763
|
+
$select-group
|
|
790
764
|
);
|
|
791
|
-
|
|
792
765
|
$select-dropdown: () !default;
|
|
793
766
|
$select-dropdown: map-merge(
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
767
|
+
(
|
|
768
|
+
'bg-color': getCssVar('bg-color', 'overlay'),
|
|
769
|
+
'shadow': getCssVar('box-shadow-light'),
|
|
770
|
+
'empty-color': getCssVar('text-secondary-color'),
|
|
771
|
+
'max-height': 274px,
|
|
772
|
+
'padding': 6px 0,
|
|
773
|
+
'empty-padding': 10px 0,
|
|
774
|
+
'border': 1px solid getCssVar('border-color-light'),
|
|
775
|
+
),
|
|
776
|
+
$select-dropdown
|
|
804
777
|
);
|
|
805
|
-
|
|
806
778
|
$select-tags-prefix-padding: () !default;
|
|
807
779
|
$select-tags-prefix-padding: map-merge(
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
780
|
+
(
|
|
781
|
+
'large': 8px,
|
|
782
|
+
'default': 6px,
|
|
783
|
+
'small': 4px,
|
|
784
|
+
),
|
|
785
|
+
$select-tags-prefix-padding
|
|
814
786
|
);
|
|
815
|
-
|
|
816
787
|
$input: () !default;
|
|
817
788
|
$input: map-merge(
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
789
|
+
(
|
|
790
|
+
'width': '100%',
|
|
791
|
+
'text-color': getCssVar('text-regular-color'),
|
|
792
|
+
'border': getCssVar('border'),
|
|
793
|
+
'hover-border': getCssVar('border-color-hover'),
|
|
794
|
+
'focus-border': getCssVar('primary-color'),
|
|
795
|
+
'transparent-border': 0 0 0 1px transparent inset,
|
|
796
|
+
'border-color': getCssVar('border-color'),
|
|
797
|
+
'border-radius': getCssVar('border-radius-base'),
|
|
798
|
+
'bg-color': getCssVar('fill-color', 'blank'),
|
|
799
|
+
'icon-color': getCssVar('text-placeholder-color'),
|
|
800
|
+
'placeholder-color': getCssVar('text-placeholder-color'),
|
|
801
|
+
'hover-border-color': getCssVar('border-color-hover'),
|
|
802
|
+
'clear-hover-color': getCssVar('text-secondary-color'),
|
|
803
|
+
'focus-border-color': getCssVar('primary-color'),
|
|
804
|
+
),
|
|
805
|
+
$input
|
|
835
806
|
);
|
|
836
|
-
|
|
837
807
|
$input-disabled: () !default;
|
|
838
808
|
$input-disabled: map-merge(
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
809
|
+
(
|
|
810
|
+
'fill': getCssVar('disabled-bg-color'),
|
|
811
|
+
'border': getCssVar('disabled-border-color'),
|
|
812
|
+
'text-color': getCssVar('disabled-text-color'),
|
|
813
|
+
'placeholder-color': getCssVar('text-placeholder-color'),
|
|
814
|
+
),
|
|
815
|
+
$input-disabled
|
|
846
816
|
);
|
|
847
|
-
|
|
848
817
|
$input-font-size: () !default;
|
|
849
818
|
$input-font-size: map-merge(
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
819
|
+
(
|
|
820
|
+
'large': 14px,
|
|
821
|
+
'default': 14px,
|
|
822
|
+
'small': 12px,
|
|
823
|
+
),
|
|
824
|
+
$input-font-size
|
|
856
825
|
);
|
|
857
|
-
|
|
858
826
|
$input-height: () !default;
|
|
859
827
|
$input-height: map-merge($common-component-size, $input-height);
|
|
860
|
-
|
|
861
828
|
$input-line-height: () !default;
|
|
862
829
|
$input-line-height: map-merge($common-component-size, $input-line-height);
|
|
863
|
-
|
|
864
830
|
$input-number-width: () !default;
|
|
865
831
|
$input-number-width: map-merge(
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
832
|
+
(
|
|
833
|
+
'large': 180px,
|
|
834
|
+
'default': 150px,
|
|
835
|
+
'small': 120px,
|
|
836
|
+
),
|
|
837
|
+
$input-number-width
|
|
872
838
|
);
|
|
873
|
-
|
|
874
839
|
$input-padding-horizontal: () !default;
|
|
875
840
|
$input-padding-horizontal: map-merge(
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
841
|
+
(
|
|
842
|
+
'large': 16px,
|
|
843
|
+
'default': 12px,
|
|
844
|
+
'small': 8px,
|
|
845
|
+
),
|
|
846
|
+
$input-padding-horizontal
|
|
882
847
|
);
|
|
883
|
-
|
|
884
848
|
$cascader: () !default;
|
|
885
849
|
$cascader: map-merge(
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
850
|
+
(
|
|
851
|
+
'menu-text-color': getCssVar('text-regular-color'),
|
|
852
|
+
'menu-selected-text-color': getCssVar('primary-color'),
|
|
853
|
+
'menu-fill': getCssVar('bg-color', 'overlay'),
|
|
854
|
+
'menu-font-size': getCssVar('font-size-base'),
|
|
855
|
+
'menu-radius': getCssVar('border-radius-base'),
|
|
856
|
+
'menu-border': solid 1px getCssVar('border-color-light'),
|
|
857
|
+
'menu-shadow': getCssVar('box-shadow-light'),
|
|
858
|
+
'node-background-hover': getCssVar('fill-color', 'light'),
|
|
859
|
+
'node-color-disabled': getCssVar('text-placeholder-color'),
|
|
860
|
+
'color-empty': getCssVar('text-placeholder-color'),
|
|
861
|
+
'tag-background': getCssVar('fill-color'),
|
|
862
|
+
),
|
|
863
|
+
$cascader
|
|
900
864
|
);
|
|
901
|
-
|
|
902
865
|
$scrollbar: () !default;
|
|
903
866
|
$scrollbar: map-merge(
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
867
|
+
(
|
|
868
|
+
'opacity': 0.3,
|
|
869
|
+
'bg-color': getCssVar('text-secondary-color'),
|
|
870
|
+
'hover-opacity': 0.5,
|
|
871
|
+
'hover-bg-color': getCssVar('text-secondary-color'),
|
|
872
|
+
),
|
|
873
|
+
$scrollbar
|
|
911
874
|
);
|
|
912
|
-
|
|
913
875
|
$popover: () !default;
|
|
914
876
|
$popover: map-merge(
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
877
|
+
(
|
|
878
|
+
'bg-color': getCssVar('bg-color', 'overlay'),
|
|
879
|
+
'font-size': getCssVar('font-size-base'),
|
|
880
|
+
'border-color': getCssVar('border-color-lighter'),
|
|
881
|
+
'padding': 12px,
|
|
882
|
+
'padding-large': 18px 20px,
|
|
883
|
+
'title-font-size': 16px,
|
|
884
|
+
'title-text-color': getCssVar('text-primary-color'),
|
|
885
|
+
'border-radius': 4px,
|
|
886
|
+
),
|
|
887
|
+
$popover
|
|
926
888
|
);
|
|
927
|
-
|
|
928
889
|
$avatar: () !default;
|
|
929
890
|
$avatar: map-merge(
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
891
|
+
(
|
|
892
|
+
'text-color': getCssVar('color-white'),
|
|
893
|
+
'bg-color': getCssVar('text', 'disabled-color'),
|
|
894
|
+
'text-size': 14px,
|
|
895
|
+
'icon-size': 18px,
|
|
896
|
+
'border-radius': getCssVar('border-radius-base'),
|
|
897
|
+
),
|
|
898
|
+
$avatar
|
|
938
899
|
);
|
|
939
|
-
|
|
940
900
|
$avatar-size: () !default;
|
|
941
901
|
$avatar-size: map-merge(
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
902
|
+
(
|
|
903
|
+
'large': 56px,
|
|
904
|
+
'default': 40px,
|
|
905
|
+
'small': 24px,
|
|
906
|
+
),
|
|
907
|
+
$avatar-size
|
|
948
908
|
);
|
|
949
|
-
|
|
950
909
|
$descriptions: () !default;
|
|
951
910
|
$descriptions: map-merge(
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
911
|
+
(
|
|
912
|
+
'table-border': 1px solid getCssVar('border-color-lighter'),
|
|
913
|
+
'item-bordered-label-background': getCssVar('fill-color', 'light'),
|
|
914
|
+
),
|
|
915
|
+
$descriptions
|
|
957
916
|
);
|
|
958
|
-
|
|
959
917
|
$md-container: () !default;
|
|
960
918
|
$md-container: map-merge(
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
919
|
+
(
|
|
920
|
+
'primary-color': $primary-color,
|
|
921
|
+
'content-max-width': 800px,
|
|
922
|
+
'code-bg-color': #fff5f5,
|
|
923
|
+
'line-numbers-width': '2.5rem',
|
|
924
|
+
'icon-copy':
|
|
925
|
+
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' height='20' width='20' stroke='rgba(128,128,128,1)' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2'/%3E%3C/svg%3E"),
|
|
926
|
+
'icon-copied':
|
|
927
|
+
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' height='20' width='20' stroke='rgba(128,128,128,1)' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2m-6 9 2 2 4-4'/%3E%3C/svg%3E"),
|
|
928
|
+
// info
|
|
929
|
+
info-title-color: #193c47,
|
|
930
|
+
info-bg-color: #eef9fd,
|
|
931
|
+
info-border-color: #4cb3d4,
|
|
932
|
+
info-code-bg-color: rgb(76 179 212 / 10%),
|
|
933
|
+
// note
|
|
934
|
+
note-title-color: #474748,
|
|
935
|
+
note-bg-color: #fdfdfe,
|
|
936
|
+
note-border-color: #ccc,
|
|
937
|
+
note-code-bg-color: rgb(212 213 216 / 20%),
|
|
938
|
+
// tip
|
|
939
|
+
tip-title-color: #003100,
|
|
940
|
+
tip-bg-color: #e6f6e6,
|
|
941
|
+
tip-border-color: #009400,
|
|
942
|
+
tip-code-bg-color: rgb(0 148 0 / 15%),
|
|
943
|
+
// warning
|
|
944
|
+
warning-title-color: #4d3800,
|
|
945
|
+
warning-bg-color: #fff8e6,
|
|
946
|
+
warning-border-color: #e6a700,
|
|
947
|
+
warning-code-bg-color: rgb(230 167 0 / 15%),
|
|
948
|
+
// danger
|
|
949
|
+
danger-title-color: #4b1113,
|
|
950
|
+
danger-bg-color: #ffebec,
|
|
951
|
+
danger-border-color: #e13238,
|
|
952
|
+
danger-code-bg-color: rgb(225 50 56 / 15%),
|
|
953
|
+
// detail
|
|
954
|
+
detail-bg-color: #eee,
|
|
955
|
+
detail-text-color: inherit,
|
|
956
|
+
detail-code-bg-color: rgb(127 127 127 / 15%),
|
|
957
|
+
),
|
|
958
|
+
$md-container
|
|
998
959
|
);
|
|
999
|
-
|
|
1000
960
|
$pagination: () !default;
|
|
1001
961
|
$pagination: map-merge(
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
962
|
+
(
|
|
963
|
+
'font-size': 14px,
|
|
964
|
+
'bg-color': getCssVar('fill-color', 'blank'),
|
|
965
|
+
'text-color': getCssVar('text-primary-color'),
|
|
966
|
+
'border-radius': 2px,
|
|
967
|
+
'button-color': getCssVar('text-primary-color'),
|
|
968
|
+
'button-width': 32px,
|
|
969
|
+
'button-height': 32px,
|
|
970
|
+
'button-disabled-color': getCssVar('text-placeholder-color'),
|
|
971
|
+
'button-disabled-bg-color': getCssVar('fill-color', 'blank'),
|
|
972
|
+
'button-bg-color': getCssVar('fill-color'),
|
|
973
|
+
'hover-color': getCssVar('primary-color'),
|
|
974
|
+
'font-size-small': 12px,
|
|
975
|
+
'button-width-small': 24px,
|
|
976
|
+
'button-height-small': 24px,
|
|
977
|
+
'item-gap': 16px,
|
|
978
|
+
),
|
|
979
|
+
$pagination
|
|
1020
980
|
);
|
|
1021
|
-
|
|
1022
981
|
$tag: () !default;
|
|
1023
982
|
$tag: map-merge(
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
983
|
+
(
|
|
984
|
+
'font-size': 12px,
|
|
985
|
+
'border-radius': 4px,
|
|
986
|
+
'border-radius-rounded': 9999px,
|
|
987
|
+
'content-line-clamp-num': 1,
|
|
988
|
+
'content-max-width': 100%,
|
|
989
|
+
),
|
|
990
|
+
$tag
|
|
1032
991
|
);
|
|
1033
|
-
|
|
1034
992
|
$tag-height: () !default;
|
|
1035
993
|
$tag-height: map-merge(
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
994
|
+
(
|
|
995
|
+
'large': 32px,
|
|
996
|
+
'default': 24px,
|
|
997
|
+
'small': 20px,
|
|
998
|
+
),
|
|
999
|
+
$tag-height
|
|
1042
1000
|
);
|
|
1043
|
-
|
|
1044
1001
|
$tag-padding: () !default;
|
|
1045
1002
|
$tag-padding: map-merge(
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1003
|
+
(
|
|
1004
|
+
'large': 12px,
|
|
1005
|
+
'default': 10px,
|
|
1006
|
+
'small': 8px,
|
|
1007
|
+
),
|
|
1008
|
+
$tag-padding
|
|
1052
1009
|
);
|
|
1053
|
-
|
|
1054
1010
|
$tag-icon-size: () !default;
|
|
1055
1011
|
$tag-icon-size: map-merge(
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1012
|
+
(
|
|
1013
|
+
'large': 16px,
|
|
1014
|
+
'default': 14px,
|
|
1015
|
+
'small': 12px,
|
|
1016
|
+
),
|
|
1017
|
+
$tag-icon-size
|
|
1062
1018
|
);
|
|
1063
|
-
|
|
1064
1019
|
$backtop: () !default;
|
|
1065
1020
|
$backtop: map-merge(
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1021
|
+
(
|
|
1022
|
+
'bg-color': getCssVar('bg-color-overlay'),
|
|
1023
|
+
'text-color': getCssVar('text-primary-color'),
|
|
1024
|
+
'hover-bg-color': getCssVar('border-color-extra-light'),
|
|
1025
|
+
),
|
|
1026
|
+
$backtop
|
|
1072
1027
|
);
|
|
1073
|
-
|
|
1074
1028
|
$empty: () !default;
|
|
1075
|
-
$empty: map-merge(
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1029
|
+
$empty: map-merge(
|
|
1030
|
+
(
|
|
1031
|
+
'img-size': '160px',
|
|
1032
|
+
'img-size-small': '80px',
|
|
1033
|
+
'img-size-large': '240px',
|
|
1034
|
+
'text-color': white,
|
|
1035
|
+
'desc-top': '10px',
|
|
1036
|
+
'desc-color': getCssVar('text-placeholder-color'),
|
|
1037
|
+
'desc-size': 14px,
|
|
1038
|
+
),
|
|
1039
|
+
$empty
|
|
1040
|
+
);
|
|
1085
1041
|
$result: () !default;
|
|
1086
|
-
$result: map-merge(
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1042
|
+
$result: map-merge(
|
|
1043
|
+
(
|
|
1044
|
+
'padding': 40px 30px,
|
|
1045
|
+
'icon-font-size': 64px,
|
|
1046
|
+
'title-font-size': 20px,
|
|
1047
|
+
'title-margin-top': 20px,
|
|
1048
|
+
'sub-title-margin-top': 10px,
|
|
1049
|
+
'extra-margin-top': 30px,
|
|
1050
|
+
),
|
|
1051
|
+
$result
|
|
1052
|
+
);
|
|
1095
1053
|
$popper: () !default;
|
|
1096
|
-
$popper: map-merge(
|
|
1097
|
-
|
|
1098
|
-
),
|
|
1099
|
-
|
|
1054
|
+
$popper: map-merge(
|
|
1055
|
+
(
|
|
1056
|
+
'border-radius': var(#{getCssVarName('popover-border-radius')}, 4px),
|
|
1057
|
+
),
|
|
1058
|
+
$popper
|
|
1059
|
+
);
|
|
1100
1060
|
$link: () !default;
|
|
1101
|
-
$link: map-merge(
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
),
|
|
1108
|
-
|
|
1061
|
+
$link: map-merge(
|
|
1062
|
+
(
|
|
1063
|
+
'font-size': getCssVar('font-size-base'),
|
|
1064
|
+
'font-weight': getCssVar('font-weight-primary'),
|
|
1065
|
+
'text-color': getCssVar('text-regular-color'),
|
|
1066
|
+
'hover-text-color': getCssVar('primary-color'),
|
|
1067
|
+
'disabled-text-color': getCssVar('text-placeholder-color'),
|
|
1068
|
+
),
|
|
1069
|
+
$link
|
|
1070
|
+
);
|
|
1109
1071
|
$clamp-toggle: () !default;
|
|
1110
|
-
$clamp-toggle: map-merge(
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1072
|
+
$clamp-toggle: map-merge(
|
|
1073
|
+
(
|
|
1074
|
+
'toggle-color': #1382ef,
|
|
1075
|
+
'toggle-size': 12px,
|
|
1076
|
+
'color': #111,
|
|
1077
|
+
'size': 12px,
|
|
1078
|
+
),
|
|
1079
|
+
$clamp-toggle
|
|
1080
|
+
);
|
|
1117
1081
|
$form: () !default;
|
|
1118
|
-
$form: map
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1082
|
+
$form: map-merge(
|
|
1083
|
+
(
|
|
1084
|
+
'label-font-size': getCssVar('font-size', 'base'),
|
|
1085
|
+
),
|
|
1086
|
+
$form
|
|
1123
1087
|
);
|
|
1124
1088
|
|
|
1125
1089
|
// Dialog
|
|
1126
1090
|
// css3 var in packages/theme-chalk/src/dialog.scss
|
|
1127
1091
|
$dialog: () !default;
|
|
1128
|
-
$dialog: map
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1092
|
+
$dialog: map-merge(
|
|
1093
|
+
(
|
|
1094
|
+
'width': 50%,
|
|
1095
|
+
'margin-top': 15vh,
|
|
1096
|
+
'bg-color': getCssVar('bg-color'),
|
|
1097
|
+
'box-shadow': getCssVar('box-shadow'),
|
|
1098
|
+
'title-font-size': getCssVar('font-size-large'),
|
|
1099
|
+
'content-font-size': 14px,
|
|
1100
|
+
'font-line-height': getCssVar('font-line-height-primary'),
|
|
1101
|
+
'padding-primary': 20px,
|
|
1102
|
+
'border-radius': getCssVar('border-radius-small'),
|
|
1103
|
+
),
|
|
1104
|
+
$dialog
|
|
1141
1105
|
);
|
|
1142
1106
|
|
|
1143
1107
|
// Alert
|
|
1144
1108
|
// css3 var in packages/theme-chalk/src/alert.scss
|
|
1145
1109
|
$alert: () !default;
|
|
1146
|
-
$alert: map
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1110
|
+
$alert: map-merge(
|
|
1111
|
+
(
|
|
1112
|
+
'padding': 8px 16px,
|
|
1113
|
+
'border-radius-base': getCssVar('border-radius-base'),
|
|
1114
|
+
'title-font-size': 13px,
|
|
1115
|
+
'description-font-size': 12px,
|
|
1116
|
+
'close-font-size': 12px,
|
|
1117
|
+
'close-customed-font-size': 13px,
|
|
1118
|
+
'icon-size': 16px,
|
|
1119
|
+
'icon-large-size': 28px,
|
|
1120
|
+
),
|
|
1121
|
+
$alert
|
|
1158
1122
|
);
|
|
1159
|
-
|
|
1160
1123
|
$list-cell: () !default;
|
|
1161
|
-
$list-cell: map-merge(
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1124
|
+
$list-cell: map-merge(
|
|
1125
|
+
(
|
|
1126
|
+
'height': 40px,
|
|
1127
|
+
'hover-bg-color': transparent,
|
|
1128
|
+
'active-color': $primary-color,
|
|
1129
|
+
'text-size': 13px,
|
|
1130
|
+
'left-text-distance': 6px,
|
|
1131
|
+
'padding': 0,
|
|
1132
|
+
),
|
|
1133
|
+
$list-cell
|
|
1134
|
+
);
|
|
1170
1135
|
$search: () !default;
|
|
1171
|
-
$search: map-merge(
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
),
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
$sm: 768px !default;
|
|
1183
|
-
$md: 992px !default;
|
|
1184
|
-
$lg: 1200px !default;
|
|
1185
|
-
$xl: 1920px !default;
|
|
1186
|
-
|
|
1187
|
-
$breakpoints: (
|
|
1188
|
-
'xs': '(max-width: #{$sm})',
|
|
1189
|
-
'sm': '(min-width: #{$sm})',
|
|
1190
|
-
'md': '(min-width: #{$md})',
|
|
1191
|
-
'lg': '(min-width: #{$lg})',
|
|
1192
|
-
'xl': '(min-width: #{$xl})',
|
|
1193
|
-
) !default;
|
|
1194
|
-
|
|
1195
|
-
$breakpoints-spec: (
|
|
1196
|
-
'xs-only': '(max-width: #{$sm - 1})',
|
|
1197
|
-
'sm-and-up': '(min-width: #{$sm})',
|
|
1198
|
-
'sm-only': '(min-width: #{$sm}) and (max-width: #{$md - 1})',
|
|
1199
|
-
'sm-and-down': '(max-width: #{$md - 1})',
|
|
1200
|
-
'md-and-up': '(min-width: #{$md})',
|
|
1201
|
-
'md-only': '(min-width: #{$md}) and (max-width: #{$lg - 1})',
|
|
1202
|
-
'md-and-down': '(max-width: #{$lg - 1})',
|
|
1203
|
-
'lg-and-up': '(min-width: #{$lg})',
|
|
1204
|
-
'lg-only': '(min-width: #{$lg}) and (max-width: #{$xl - 1})',
|
|
1205
|
-
'lg-and-down': '(max-width: #{$xl - 1})',
|
|
1206
|
-
'xl-only': '(min-width: #{$xl})',
|
|
1207
|
-
) !default;
|
|
1136
|
+
$search: map-merge(
|
|
1137
|
+
(
|
|
1138
|
+
active-width: 100%,
|
|
1139
|
+
border-color: getCssVar('input-border-color'),
|
|
1140
|
+
hover-border-color: getCssVar('primary-color'),
|
|
1141
|
+
active-bg-color: getCssVar('input-bg-color'),
|
|
1142
|
+
hover-bg-color: getCssVar('input-bg-color'),
|
|
1143
|
+
border-radius: getCssVar('border-radius-base'),
|
|
1144
|
+
),
|
|
1145
|
+
$search
|
|
1146
|
+
);
|
|
1208
1147
|
|
|
1209
1148
|
// Alert
|
|
1210
1149
|
// css3 var in packages/theme-chalk/src/alert.scss
|
|
1211
1150
|
$alert: () !default;
|
|
1212
|
-
$alert: map
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1151
|
+
$alert: map-merge(
|
|
1152
|
+
(
|
|
1153
|
+
'padding': 8px 16px,
|
|
1154
|
+
'border-radius-base': getCssVar('border-radius-base'),
|
|
1155
|
+
'title-font-size': 13px,
|
|
1156
|
+
'description-font-size': 12px,
|
|
1157
|
+
'close-font-size': 12px,
|
|
1158
|
+
'close-customed-font-size': 13px,
|
|
1159
|
+
'icon-size': 16px,
|
|
1160
|
+
'icon-large-size': 28px,
|
|
1161
|
+
),
|
|
1162
|
+
$alert
|
|
1224
1163
|
);
|
|
1225
1164
|
|
|
1226
1165
|
// MessageBox
|
|
1227
1166
|
// css3 var in packages/theme-chalk/src/message-box.scss
|
|
1228
1167
|
$messagebox: () !default;
|
|
1229
|
-
$messagebox: map
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1168
|
+
$messagebox: map-merge(
|
|
1169
|
+
(
|
|
1170
|
+
'title-color': getCssVar('text-primary-color'),
|
|
1171
|
+
'width': 420px,
|
|
1172
|
+
'border-radius': 4px,
|
|
1173
|
+
'font-size': getCssVar('font-size-large'),
|
|
1174
|
+
'content-font-size': getCssVar('font-size-base'),
|
|
1175
|
+
'content-color': getCssVar('text-regular-color'),
|
|
1176
|
+
'error-font-size': 12px,
|
|
1177
|
+
'padding-primary': 15px,
|
|
1178
|
+
),
|
|
1179
|
+
$messagebox
|
|
1241
1180
|
);
|
|
1242
1181
|
|
|
1243
1182
|
// Notification
|
|
1244
1183
|
// css3 var in packages/theme-chalk/src/notification.scss
|
|
1245
1184
|
$notification: () !default;
|
|
1246
|
-
$notification: map
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1185
|
+
$notification: map-merge(
|
|
1186
|
+
(
|
|
1187
|
+
'width': 330px,
|
|
1188
|
+
'padding': 14px 26px 14px 13px,
|
|
1189
|
+
'radius': 8px,
|
|
1190
|
+
'shadow': getCssVar('box-shadow-light'),
|
|
1191
|
+
'border-color': getCssVar('border-color-lighter'),
|
|
1192
|
+
'icon-size': 24px,
|
|
1193
|
+
'close-font-size':
|
|
1255
1194
|
var(
|
|
1256
|
-
|
|
1257
|
-
|
|
1195
|
+
#{getCssVarName('message-close-size')},
|
|
1196
|
+
map-get($message, 'close-size')
|
|
1258
1197
|
),
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1198
|
+
'group-margin-left': 13px,
|
|
1199
|
+
'group-margin-right': 8px,
|
|
1200
|
+
'content-font-size': getCssVar('font-size-base'),
|
|
1201
|
+
'content-color': getCssVar('text-regular-color'),
|
|
1202
|
+
'title-font-size': 16px,
|
|
1203
|
+
'title-color': getCssVar('text-primary-color'),
|
|
1204
|
+
'close-color': getCssVar('text-secondary-color'),
|
|
1205
|
+
'close-hover-color': getCssVar('text-regular-color'),
|
|
1206
|
+
),
|
|
1207
|
+
$notification
|
|
1269
1208
|
);
|
|
1270
1209
|
|
|
1271
|
-
|
|
1272
1210
|
// Cascader
|
|
1273
1211
|
// css3 var in packages/theme-chalk/src/cascader.scss
|
|
1274
1212
|
$cascader: () !default;
|
|
1275
|
-
$cascader: map
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1213
|
+
$cascader: map-merge(
|
|
1214
|
+
(
|
|
1215
|
+
'menu-text-color': getCssVar('text-regular-color'),
|
|
1216
|
+
'menu-selected-text-color': getCssVar('primary-color'),
|
|
1217
|
+
'menu-fill': getCssVar('bg-color', 'overlay'),
|
|
1218
|
+
'menu-font-size': getCssVar('font-size-base'),
|
|
1219
|
+
'menu-radius': getCssVar('border-radius-base'),
|
|
1220
|
+
'menu-border': solid 1px getCssVar('border-color-light'),
|
|
1221
|
+
'menu-shadow': getCssVar('box-shadow-light'),
|
|
1222
|
+
'node-background-hover': getCssVar('fill-color', 'light'),
|
|
1223
|
+
'node-color-disabled': getCssVar('text-placeholder-color'),
|
|
1224
|
+
'color-empty': getCssVar('text-placeholder-color'),
|
|
1225
|
+
'tag-background': getCssVar('fill-color'),
|
|
1226
|
+
),
|
|
1227
|
+
$cascader
|
|
1290
1228
|
);
|
|
1229
|
+
|
|
1291
1230
|
//statistic
|
|
1292
1231
|
// css3 var in packages/theme-chalk/src/statistic.scss
|
|
1293
1232
|
$statistic: () !default;
|
|
1294
|
-
$statistic: map
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1233
|
+
$statistic: map-merge(
|
|
1234
|
+
(
|
|
1235
|
+
'title-font-weight': 400,
|
|
1236
|
+
'title-font-size': getCssVar('font-size', 'extra-small'),
|
|
1237
|
+
'title-color': getCssVar('text-regular-color'),
|
|
1238
|
+
'content-font-weight': 400,
|
|
1239
|
+
'content-font-size': getCssVar('font-size', 'extra-large'),
|
|
1240
|
+
'content-color': getCssVar('text-primary-color'),
|
|
1241
|
+
),
|
|
1242
|
+
$statistic
|
|
1304
1243
|
);
|
|
1305
1244
|
|
|
1306
1245
|
// skeleton
|
|
1307
1246
|
$skeleton: () !default;
|
|
1308
|
-
$skeleton: map
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1247
|
+
$skeleton: map-merge(
|
|
1248
|
+
(
|
|
1249
|
+
'color': getCssVar('fill-color'),
|
|
1250
|
+
'to-color': getCssVar('fill-color', 'darker'),
|
|
1251
|
+
),
|
|
1252
|
+
$skeleton
|
|
1314
1253
|
);
|
|
1315
1254
|
|
|
1316
1255
|
// css3 var in packages/theme-chalk/src/tree.scss
|
|
1317
1256
|
$tree: () !default;
|
|
1318
|
-
$tree: map
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1257
|
+
$tree: map-merge(
|
|
1258
|
+
(
|
|
1259
|
+
'node-hover-bg-color': getCssVar('fill-color', 'light'),
|
|
1260
|
+
'text-color': getCssVar('text-regular-color'),
|
|
1261
|
+
'expand-icon-color': getCssVar('text-placeholder-color'),
|
|
1262
|
+
),
|
|
1263
|
+
$tree
|
|
1325
1264
|
);
|
|
1326
1265
|
|
|
1327
1266
|
// drawer
|
|
1328
1267
|
$drawer: () !default;
|
|
1329
|
-
$drawer: map
|
|
1330
|
-
|
|
1331
|
-
|
|
1268
|
+
$drawer: map-merge(
|
|
1269
|
+
(
|
|
1270
|
+
'bg-color':
|
|
1332
1271
|
var(#{getCssVarName('dialog', 'bg-color')}, #{getCssVar('bg-color')}),
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1272
|
+
'padding-primary': var(#{getCssVarName('dialog', 'padding-primary')}, 20px),
|
|
1273
|
+
),
|
|
1274
|
+
$drawer
|
|
1336
1275
|
);
|
|
1337
1276
|
|
|
1338
1277
|
// Badge
|
|
1339
1278
|
// css3 var in packages/theme-chalk/src/badge.scss
|
|
1340
1279
|
$badge: () !default;
|
|
1341
|
-
$badge: map
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1280
|
+
$badge: map-merge(
|
|
1281
|
+
(
|
|
1282
|
+
'bg-color': getCssVar('danger-color'),
|
|
1283
|
+
'radius': 10px,
|
|
1284
|
+
'font-size': 12px,
|
|
1285
|
+
'padding': 6px,
|
|
1286
|
+
'size': 18px,
|
|
1287
|
+
),
|
|
1288
|
+
$badge
|
|
1350
1289
|
);
|
|
1351
1290
|
|
|
1352
1291
|
// Card
|
|
1353
1292
|
$card: () !default;
|
|
1354
|
-
$card: map
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1293
|
+
$card: map-merge(
|
|
1294
|
+
(
|
|
1295
|
+
'border-color': getCssVar('border-color', 'light'),
|
|
1296
|
+
'border-radius': 4px,
|
|
1297
|
+
'padding': 20px,
|
|
1298
|
+
'bg-color': getCssVar('fill-color', 'blank'),
|
|
1299
|
+
),
|
|
1300
|
+
$card
|
|
1362
1301
|
);
|
|
1363
1302
|
|
|
1364
1303
|
// Slider
|
|
1365
1304
|
// css3 var in packages/theme-chalk/src/slider.scss
|
|
1366
1305
|
$slider: () !default;
|
|
1367
|
-
$slider: map
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1306
|
+
$slider: map-merge(
|
|
1307
|
+
(
|
|
1308
|
+
'main-bg-color': getCssVar('primary-color'),
|
|
1309
|
+
'runway-bg-color': getCssVar('border-color', 'light'),
|
|
1310
|
+
'stop-bg-color': getCssVar('color-white'),
|
|
1311
|
+
'disabled-color': getCssVar('text', 'placeholder-color'),
|
|
1312
|
+
'border-radius': 3px,
|
|
1313
|
+
'height': 6px,
|
|
1314
|
+
'button-size': 20px,
|
|
1315
|
+
'button-wrapper-size': 36px,
|
|
1316
|
+
'button-wrapper-offset': -15px,
|
|
1317
|
+
),
|
|
1318
|
+
$slider
|
|
1380
1319
|
);
|
|
1381
1320
|
|
|
1382
1321
|
// Rate
|
|
1383
1322
|
$rate: () !default;
|
|
1384
|
-
$rate: map
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1323
|
+
$rate: map-merge(
|
|
1324
|
+
(
|
|
1325
|
+
'height': 20px,
|
|
1326
|
+
'font-size': getCssVar('font-size-base'),
|
|
1327
|
+
'icon-size': 18px,
|
|
1328
|
+
'icon-margin': 6px,
|
|
1329
|
+
// seems not be used, to be removed
|
|
1330
|
+
// 'icon-color': getCssVar('text-placeholder-color),
|
|
1331
|
+
'void-color': getCssVar('border-color', 'darker'),
|
|
1332
|
+
'fill-color': #f7ba2a,
|
|
1333
|
+
'disabled-void-color': getCssVar('fill-color'),
|
|
1334
|
+
'text-color': getCssVar('text-primary-color'),
|
|
1335
|
+
),
|
|
1336
|
+
$rate
|
|
1398
1337
|
);
|
|
1399
1338
|
|
|
1400
1339
|
// DatePicker
|
|
1401
1340
|
// css3 var packages/theme-chalk/src/date-picker/var.scss
|
|
1402
1341
|
$datepicker: () !default;
|
|
1403
|
-
$datepicker: map
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1342
|
+
$datepicker: map-merge(
|
|
1343
|
+
(
|
|
1344
|
+
'text-color': getCssVar('text-regular-color'),
|
|
1345
|
+
'off-text-color': getCssVar('text-placeholder-color'),
|
|
1346
|
+
'header-text-color': getCssVar('text-regular-color'),
|
|
1347
|
+
'icon-color': getCssVar('text-primary-color'),
|
|
1348
|
+
'border-color': getCssVar('disabled-border-color'),
|
|
1349
|
+
'inner-border-color': getCssVar('border-color-light'),
|
|
1350
|
+
'inrange-bg-color': getCssVar('border-color-extra-light'),
|
|
1351
|
+
'inrange-hover-bg-color': getCssVar('border-color-extra-light'),
|
|
1352
|
+
'active-color': getCssVar('primary-color'),
|
|
1353
|
+
'hover-text-color': getCssVar('primary-color'),
|
|
1354
|
+
),
|
|
1355
|
+
$datepicker
|
|
1417
1356
|
);
|
|
1418
|
-
|
|
1419
1357
|
$date-editor: () !default;
|
|
1420
|
-
$date-editor: map
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1358
|
+
$date-editor: map-merge(
|
|
1359
|
+
(
|
|
1360
|
+
'width': 220px,
|
|
1361
|
+
'monthrange-width': 300px,
|
|
1362
|
+
'daterange-width': 350px,
|
|
1363
|
+
'datetimerange-width': 400px,
|
|
1364
|
+
),
|
|
1365
|
+
$date-editor
|
|
1428
1366
|
);
|
|
1429
1367
|
|
|
1430
1368
|
// Carousel
|
|
1431
1369
|
// css3 var in packages/theme-chalk/src/carousel.scss
|
|
1432
1370
|
$carousel: () !default;
|
|
1433
|
-
$carousel: map
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1371
|
+
$carousel: map-merge(
|
|
1372
|
+
(
|
|
1373
|
+
'arrow-font-size': 12px,
|
|
1374
|
+
'arrow-size': 36px,
|
|
1375
|
+
'arrow-background': rgba(31, 45, 61, 0.11),
|
|
1376
|
+
'arrow-hover-background': rgba(31, 45, 61, 0.23),
|
|
1377
|
+
'indicator-width': 30px,
|
|
1378
|
+
'indicator-height': 2px,
|
|
1379
|
+
'indicator-padding-horizontal': 4px,
|
|
1380
|
+
'indicator-padding-vertical': 12px,
|
|
1381
|
+
'indicator-out-color': getCssVar('border-color-hover'),
|
|
1382
|
+
),
|
|
1383
|
+
$carousel
|
|
1446
1384
|
);
|
|
1447
1385
|
|
|
1448
1386
|
// Collapse
|
|
1449
1387
|
// css3 var in packages/theme-chalk/src/collapse.scss
|
|
1450
1388
|
$collapse: () !default;
|
|
1451
|
-
$collapse: map
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1389
|
+
$collapse: map-merge(
|
|
1390
|
+
(
|
|
1391
|
+
'border-color': getCssVar('border-color-lighter'),
|
|
1392
|
+
'header-height': 48px,
|
|
1393
|
+
'header-bg-color': getCssVar('fill-color', 'blank'),
|
|
1394
|
+
'header-text-color': getCssVar('text-primary-color'),
|
|
1395
|
+
'header-font-size': 13px,
|
|
1396
|
+
'content-bg-color': getCssVar('fill-color', 'blank'),
|
|
1397
|
+
'content-font-size': 13px,
|
|
1398
|
+
'content-text-color': getCssVar('text-primary-color'),
|
|
1399
|
+
),
|
|
1400
|
+
$collapse
|
|
1463
1401
|
);
|
|
1464
1402
|
|
|
1465
1403
|
// Transfer
|
|
1466
1404
|
// css3 var in packages/theme-chalk/src/transfer.scss
|
|
1467
1405
|
$transfer: () !default;
|
|
1468
|
-
$transfer: map
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1406
|
+
$transfer: map-merge(
|
|
1407
|
+
(
|
|
1408
|
+
'border-color': getCssVar('border-color-lighter'),
|
|
1409
|
+
'border-radius': getCssVar('border-radius-base'),
|
|
1410
|
+
'panel-width': 200px,
|
|
1411
|
+
'panel-header-height': 40px,
|
|
1412
|
+
'panel-header-bg-color': getCssVar('fill-color', 'light'),
|
|
1413
|
+
'panel-footer-height': 40px,
|
|
1414
|
+
'panel-body-height': 278px,
|
|
1415
|
+
'item-height': 30px,
|
|
1416
|
+
'filter-height': 32px,
|
|
1417
|
+
),
|
|
1418
|
+
$transfer
|
|
1481
1419
|
);
|
|
1482
1420
|
|
|
1483
1421
|
// Timeline
|
|
1484
1422
|
// css3 var in packages/theme-chalk/src/timeline-item.scss
|
|
1485
1423
|
$timeline: () !default;
|
|
1486
|
-
$timeline: map
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1424
|
+
$timeline: map-merge(
|
|
1425
|
+
(
|
|
1426
|
+
'node-size-normal': 12px,
|
|
1427
|
+
'node-size-large': 14px,
|
|
1428
|
+
'node-color': getCssVar('border-color-light'),
|
|
1429
|
+
),
|
|
1430
|
+
$timeline
|
|
1493
1431
|
);
|
|
1494
1432
|
|
|
1495
1433
|
// Calendar
|
|
1496
1434
|
// css3 var in packages/theme-chalk/src/calendar.scss
|
|
1497
1435
|
$calendar: () !default;
|
|
1498
|
-
$calendar: map
|
|
1499
|
-
|
|
1500
|
-
|
|
1436
|
+
$calendar: map-merge(
|
|
1437
|
+
(
|
|
1438
|
+
'border':
|
|
1501
1439
|
var(
|
|
1502
|
-
|
|
1503
|
-
|
|
1440
|
+
#{getCssVarName('table-border')},
|
|
1441
|
+
1px solid #{getCssVar('border-color-lighter')}
|
|
1504
1442
|
),
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1443
|
+
'header-border-bottom': getCssVar('calendar-border'),
|
|
1444
|
+
'selected-bg-color': getCssVar('primary-color', 'light-9'),
|
|
1445
|
+
'cell-width': 85px,
|
|
1446
|
+
),
|
|
1447
|
+
$calendar
|
|
1510
1448
|
);
|
|
1511
1449
|
|
|
1512
1450
|
// Upload
|
|
1513
1451
|
// css3 var in packages/theme-chalk/src/upload.scss
|
|
1514
1452
|
$upload: () !default;
|
|
1515
|
-
$upload: map
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1453
|
+
$upload: map-merge(
|
|
1454
|
+
(
|
|
1455
|
+
'dragger-padding-horizontal': 40px,
|
|
1456
|
+
'dragger-padding-vertical': 10px,
|
|
1457
|
+
),
|
|
1458
|
+
$upload
|
|
1521
1459
|
);
|
|
1522
1460
|
|
|
1523
1461
|
// header
|
|
1524
1462
|
$header: () !default;
|
|
1525
|
-
$header: map
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1463
|
+
$header: map-merge(
|
|
1464
|
+
(
|
|
1465
|
+
'height': 60px,
|
|
1466
|
+
),
|
|
1467
|
+
$header
|
|
1530
1468
|
);
|
|
1531
1469
|
|
|
1532
1470
|
// footer
|
|
1533
1471
|
$footer: () !default;
|
|
1534
|
-
$footer: map
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1472
|
+
$footer: map-merge(
|
|
1473
|
+
(
|
|
1474
|
+
'height': 60px,
|
|
1475
|
+
),
|
|
1476
|
+
$footer
|
|
1539
1477
|
);
|
|
1540
1478
|
|
|
1541
1479
|
// Popup
|
|
1542
1480
|
// css3 var in packages/theme-chalk/src/popup.scss
|
|
1543
1481
|
$popup: () !default;
|
|
1544
|
-
$popup: map
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1482
|
+
$popup: map-merge(
|
|
1483
|
+
(
|
|
1484
|
+
'modal-bg-color': getCssVar('color-black'),
|
|
1485
|
+
'modal-opacity': 0.5,
|
|
1486
|
+
),
|
|
1487
|
+
$popup
|
|
1550
1488
|
);
|
|
1551
|
-
|
|
1552
1489
|
$horizontal-menu: () !default;
|
|
1553
|
-
$horizontal-menu: map
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1490
|
+
$horizontal-menu: map-merge(
|
|
1491
|
+
(
|
|
1492
|
+
'tile-width': 90vw,
|
|
1493
|
+
'tile-height': 400px,
|
|
1494
|
+
'tile-padding': 24px 10px 24px 24px,
|
|
1495
|
+
'tile-content-gap-y': 20px,
|
|
1496
|
+
'tile-content-col-item-gap': '12px 4px',
|
|
1497
|
+
'tile-content-col-gap-y': 40px,
|
|
1498
|
+
),
|
|
1499
|
+
$horizontal-menu
|
|
1500
|
+
);
|
|
1562
1501
|
$table: () !default;
|
|
1563
|
-
$table: map
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1502
|
+
$table: map-merge(
|
|
1503
|
+
(
|
|
1504
|
+
'header-bg-color': rgb(248, 250, 255),
|
|
1505
|
+
'header-color': rgba(0, 0, 0, 0.85),
|
|
1506
|
+
'header-text-size': 13px,
|
|
1507
|
+
'header-padding-x': 12px,
|
|
1508
|
+
'header-padding-y': 6px,
|
|
1509
|
+
'header-line-height': 18px,
|
|
1510
|
+
'header-line-clamp': 2,
|
|
1511
|
+
'header-height': '30px',
|
|
1512
|
+
'toolbar-height': '50px',
|
|
1513
|
+
'body-text-size': 13px,
|
|
1514
|
+
'body-padding-x': 12px,
|
|
1515
|
+
'body-line-height': 18px,
|
|
1516
|
+
'body-line-clamp': 3,
|
|
1517
|
+
'body-color': #141414,
|
|
1518
|
+
'border': 1px solid rgb(242, 244, 249),
|
|
1519
|
+
'stripe-bg-color': rgb(249, 251, 255),
|
|
1520
|
+
'row-hover-bg-color': #ebf0fc,
|
|
1521
|
+
'border-fixed': 1px solid rgb(232, 236, 244),
|
|
1522
|
+
),
|
|
1523
|
+
$table
|
|
1524
|
+
);
|