bkui-vue 0.0.1-beta.4 → 0.0.1-beta.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -19
- package/dist/index.cjs.js +57 -0
- package/dist/index.esm.js +20295 -0
- package/dist/index.umd.js +57 -0
- package/dist/style.css +1 -2009
- package/lib/alert/alert.d.ts +24 -15
- package/lib/alert/alert.js +1 -0
- package/lib/alert/alert.variable.css +32 -0
- package/lib/alert/index.d.ts +180 -0
- package/lib/animate-number/animate-number.d.ts +12 -7
- package/lib/animate-number/animate-number.js +1 -0
- package/lib/animate-number/index.d.ts +97 -0
- package/lib/backtop/backtop.d.ts +27 -13
- package/lib/backtop/backtop.js +1 -0
- package/lib/backtop/backtop.variable.css +32 -0
- package/lib/backtop/index.d.ts +166 -0
- package/lib/badge/badge.d.ts +40 -19
- package/lib/badge/badge.js +1 -0
- package/lib/badge/badge.variable.css +32 -0
- package/lib/badge/index.d.ts +217 -0
- package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
- package/lib/breadcrumb/breadcrumb.css +10 -1
- package/lib/breadcrumb/breadcrumb.d.ts +37 -9
- package/lib/breadcrumb/breadcrumb.js +1 -0
- package/lib/breadcrumb/breadcrumb.less +13 -2
- package/lib/breadcrumb/breadcrumb.variable.css +42 -1
- package/lib/breadcrumb/index.d.ts +194 -0
- package/lib/button/button-group.d.ts +3 -5
- package/lib/button/button.css +12 -0
- package/lib/button/button.d.ts +57 -28
- package/lib/button/button.js +1 -0
- package/lib/button/button.less +26 -15
- package/lib/button/button.variable.css +44 -0
- package/lib/button/index.d.ts +226 -0
- package/lib/card/card.d.ts +30 -15
- package/lib/card/card.js +1 -0
- package/lib/card/card.variable.css +32 -0
- package/lib/card/index.d.ts +187 -0
- package/lib/checkbox/checkbox-group.d.ts +13 -9
- package/lib/checkbox/checkbox.d.ts +31 -22
- package/lib/checkbox/checkbox.js +1 -0
- package/lib/checkbox/checkbox.variable.css +32 -0
- package/lib/checkbox/common.d.ts +1 -1
- package/lib/checkbox/index.d.ts +261 -0
- package/lib/checkbox/type.d.ts +7 -6
- package/lib/code-diff/code-diff.css +186 -0
- package/lib/code-diff/code-diff.d.ts +80 -0
- package/lib/code-diff/code-diff.js +1 -0
- package/lib/code-diff/code-diff.less +238 -0
- package/lib/code-diff/code-diff.variable.css +279 -0
- package/lib/code-diff/index.d.ts +154 -0
- package/lib/collapse/collapse.css +8 -0
- package/lib/collapse/collapse.d.ts +50 -18
- package/lib/collapse/collapse.js +1 -0
- package/lib/collapse/collapse.less +10 -0
- package/lib/collapse/collapse.variable.css +8 -0
- package/lib/collapse/index.d.ts +166 -0
- package/lib/components.d.ts +41 -0
- package/lib/date-picker/date-picker.css +407 -0
- package/lib/date-picker/date-picker.d.ts +294 -0
- package/lib/date-picker/date-picker.js +1 -0
- package/lib/date-picker/date-picker.less +526 -0
- package/lib/date-picker/date-picker.variable.css +500 -0
- package/lib/date-picker/fecha.d.ts +6 -0
- package/lib/date-picker/index.d.ts +713 -0
- package/lib/date-picker/interface.d.ts +22 -0
- package/lib/date-picker/props.d.ts +111 -0
- package/lib/date-picker/utils.d.ts +97 -0
- package/lib/dialog/dialog.d.ts +57 -27
- package/lib/dialog/dialog.js +1 -0
- package/lib/dialog/index.d.ts +286 -0
- package/lib/directives/clickoutside.d.ts +3 -0
- package/lib/directives/directives.js +2 -0
- package/lib/directives/directives.js.LICENSE.txt +14 -0
- package/lib/directives/index.d.ts +3 -0
- package/lib/directives/tooltips.d.ts +17 -0
- package/lib/divider/divider.css +38 -0
- package/lib/divider/divider.d.ts +48 -0
- package/lib/divider/divider.js +1 -0
- package/lib/divider/divider.less +53 -0
- package/lib/divider/divider.variable.css +131 -0
- package/lib/divider/index.d.ts +142 -0
- package/lib/divider/props.d.ts +21 -0
- package/lib/dropdown/dropdown-item.d.ts +19 -0
- package/lib/dropdown/dropdown-menu.d.ts +16 -0
- package/lib/dropdown/dropdown.css +43 -0
- package/lib/dropdown/dropdown.d.ts +61 -0
- package/lib/dropdown/dropdown.js +1 -0
- package/lib/dropdown/dropdown.less +54 -0
- package/lib/dropdown/dropdown.variable.css +136 -0
- package/lib/dropdown/index.d.ts +192 -0
- package/lib/exception/exception.d.ts +11 -9
- package/lib/exception/exception.js +1 -0
- package/lib/exception/exception.variable.css +32 -0
- package/lib/exception/index.d.ts +96 -0
- package/lib/fixed-navbar/fixed-navbar.d.ts +15 -9
- package/lib/fixed-navbar/fixed-navbar.js +1 -0
- package/lib/fixed-navbar/fixed-navbar.variable.css +32 -0
- package/lib/fixed-navbar/index.d.ts +112 -0
- package/lib/form/common.d.ts +3 -0
- package/lib/form/form-item.d.ts +145 -0
- package/lib/form/form.css +48 -0
- package/lib/form/form.d.ts +64 -0
- package/lib/form/form.js +1 -0
- package/lib/form/form.less +63 -0
- package/lib/form/form.variable.css +48 -0
- package/lib/form/index.d.ts +246 -0
- package/lib/form/type.d.ts +21 -0
- package/lib/form/validator.d.ts +8 -0
- package/lib/icon/angle-double-down-line.d.ts +4 -0
- package/lib/icon/angle-double-down-line.js +1 -0
- package/lib/icon/angle-double-left-line.d.ts +4 -0
- package/lib/icon/angle-double-left-line.js +1 -0
- package/lib/icon/angle-double-left.d.ts +4 -0
- package/lib/icon/angle-double-left.js +1 -0
- package/lib/icon/angle-double-right-line.d.ts +4 -0
- package/lib/icon/angle-double-right-line.js +1 -0
- package/lib/icon/angle-double-right.d.ts +4 -0
- package/lib/icon/angle-double-right.js +1 -0
- package/lib/icon/angle-double-up-line.d.ts +4 -0
- package/lib/icon/angle-double-up-line.js +1 -0
- package/lib/icon/angle-down-fill.d.ts +4 -0
- package/lib/icon/angle-down-fill.js +1 -0
- package/lib/icon/angle-down-line.d.ts +4 -0
- package/lib/icon/angle-down-line.js +1 -0
- package/lib/icon/angle-down.d.ts +4 -0
- package/lib/icon/angle-down.js +1 -0
- package/lib/icon/angle-left.d.ts +4 -0
- package/lib/icon/angle-left.js +1 -0
- package/lib/icon/angle-right.d.ts +4 -0
- package/lib/icon/angle-right.js +1 -0
- package/lib/icon/angle-up-fill.d.ts +4 -0
- package/lib/icon/angle-up-fill.js +1 -0
- package/lib/icon/angle-up.d.ts +4 -0
- package/lib/icon/angle-up.js +1 -0
- package/lib/icon/arrows-left.d.ts +4 -0
- package/lib/icon/arrows-left.js +1 -0
- package/lib/icon/arrows-right.d.ts +4 -0
- package/lib/icon/arrows-right.js +1 -0
- package/lib/icon/bk.d.ts +4 -0
- package/lib/icon/bk.js +1 -0
- package/lib/icon/circle.d.ts +4 -0
- package/lib/icon/circle.js +1 -0
- package/lib/icon/close.d.ts +4 -0
- package/lib/icon/close.js +1 -0
- package/lib/icon/code.d.ts +4 -0
- package/lib/icon/code.js +1 -0
- package/lib/icon/cog-shape.d.ts +4 -0
- package/lib/icon/cog-shape.js +1 -0
- package/lib/icon/collapse-left.d.ts +4 -0
- package/lib/icon/collapse-left.js +1 -0
- package/lib/icon/copy.d.ts +4 -0
- package/lib/icon/copy.js +1 -0
- package/lib/icon/done.d.ts +4 -0
- package/lib/icon/done.js +1 -0
- package/lib/icon/down-shape.d.ts +4 -0
- package/lib/icon/down-shape.js +1 -0
- package/lib/icon/down-small.d.ts +4 -0
- package/lib/icon/down-small.js +1 -0
- package/lib/icon/ellipsis.d.ts +4 -0
- package/lib/icon/ellipsis.js +1 -0
- package/lib/icon/error.d.ts +4 -0
- package/lib/icon/error.js +1 -0
- package/lib/icon/eye.d.ts +4 -0
- package/lib/icon/eye.js +1 -0
- package/lib/icon/folder-open.d.ts +4 -0
- package/lib/icon/folder-open.js +1 -0
- package/lib/icon/folder-shape-open.d.ts +4 -0
- package/lib/icon/folder-shape-open.js +1 -0
- package/lib/icon/folder-shape.d.ts +4 -0
- package/lib/icon/folder-shape.js +1 -0
- package/lib/icon/folder.d.ts +4 -0
- package/lib/icon/folder.js +1 -0
- package/lib/icon/help-document-fill.d.ts +4 -0
- package/lib/icon/help-document-fill.js +1 -0
- package/lib/icon/help-fill.d.ts +4 -0
- package/lib/icon/help-fill.js +1 -0
- package/lib/icon/help.d.ts +4 -0
- package/lib/icon/help.js +1 -0
- package/lib/icon/icon.d.ts +12 -0
- package/lib/icon/icon.js +1 -0
- package/lib/icon/index.d.ts +53 -0
- package/lib/icon/info-line.d.ts +4 -0
- package/lib/icon/info-line.js +1 -0
- package/lib/icon/info.d.ts +4 -0
- package/lib/icon/info.js +1 -0
- package/lib/icon/left-shape.d.ts +4 -0
- package/lib/icon/left-shape.js +1 -0
- package/lib/icon/play-shape.d.ts +4 -0
- package/lib/icon/play-shape.js +1 -0
- package/lib/icon/plus.d.ts +4 -0
- package/lib/icon/plus.js +1 -0
- package/lib/icon/qq.d.ts +4 -0
- package/lib/icon/qq.js +1 -0
- package/lib/icon/right-shape.d.ts +4 -0
- package/lib/icon/right-shape.js +1 -0
- package/lib/icon/search.d.ts +4 -0
- package/lib/icon/search.js +1 -0
- package/lib/icon/share.d.ts +4 -0
- package/lib/icon/share.js +1 -0
- package/lib/icon/spinner.d.ts +4 -0
- package/lib/icon/spinner.js +1 -0
- package/lib/icon/success.d.ts +4 -0
- package/lib/icon/success.js +1 -0
- package/lib/icon/switcher-loading.d.ts +4 -0
- package/lib/icon/switcher-loading.js +1 -0
- package/lib/icon/text-file.d.ts +4 -0
- package/lib/icon/text-file.js +1 -0
- package/lib/icon/tree-application-shape.d.ts +4 -0
- package/lib/icon/tree-application-shape.js +1 -0
- package/lib/icon/unvisible.d.ts +4 -0
- package/lib/icon/unvisible.js +1 -0
- package/lib/icon/up-shape.d.ts +4 -0
- package/lib/icon/up-shape.js +1 -0
- package/lib/icon/warn.d.ts +4 -0
- package/lib/icon/warn.js +1 -0
- package/lib/icon/weixin.d.ts +4 -0
- package/lib/icon/weixin.js +1 -0
- package/lib/index.d.ts +4 -0
- package/lib/input/index.d.ts +443 -0
- package/lib/input/input.css +61 -3
- package/lib/input/input.d.ts +116 -47
- package/lib/input/input.js +1 -0
- package/lib/input/input.less +79 -7
- package/lib/input/input.variable.css +94 -3
- package/lib/link/index.d.ts +164 -0
- package/lib/link/link.d.ts +25 -13
- package/lib/link/link.js +1 -0
- package/lib/link/link.variable.css +32 -0
- package/lib/loading/index.d.ts +164 -0
- package/lib/loading/loading.css +109 -73
- package/lib/loading/loading.d.ts +61 -20
- package/lib/loading/loading.js +1 -0
- package/lib/loading/loading.less +74 -58
- package/lib/loading/loading.variable.css +141 -73
- package/lib/menu/index.d.ts +188 -0
- package/lib/menu/menu-group.d.ts +14 -0
- package/lib/menu/menu-item.d.ts +16 -0
- package/lib/menu/menu.css +182 -0
- package/lib/menu/menu.d.ts +64 -0
- package/lib/menu/menu.js +1 -0
- package/lib/menu/menu.less +180 -0
- package/lib/menu/menu.variable.css +275 -0
- package/lib/menu/submenu.css +3 -0
- package/lib/menu/submenu.d.ts +22 -0
- package/lib/menu/submenu.less +5 -0
- package/lib/menu/submenu.variable.css +96 -0
- package/lib/menu/utils.d.ts +41 -0
- package/lib/message/index.d.ts +2 -0
- package/lib/message/message.css +53 -0
- package/lib/message/message.js +1 -0
- package/lib/message/message.less +61 -0
- package/lib/message/message.variable.css +146 -0
- package/lib/message/messageConstructor.d.ts +73 -0
- package/lib/modal/index.d.ts +214 -0
- package/lib/modal/modal.d.ts +33 -15
- package/lib/modal/modal.js +1 -0
- package/lib/modal/props.mixin.d.ts +5 -1
- package/lib/navigation/index.d.ts +2 -0
- package/lib/navigation/navigation-title.d.ts +25 -0
- package/lib/navigation/navigation.css +184 -0
- package/lib/navigation/navigation.d.ts +111 -0
- package/lib/navigation/navigation.js +1 -0
- package/lib/navigation/navigation.less +210 -0
- package/lib/navigation/navigation.variable.css +277 -0
- package/lib/notify/index.d.ts +2 -0
- package/lib/notify/notify.css +49 -0
- package/lib/notify/notify.js +1 -0
- package/lib/notify/notify.less +58 -0
- package/lib/notify/notify.variable.css +142 -0
- package/lib/notify/notifyConstructor.d.ts +91 -0
- package/lib/pagination/index.d.ts +395 -0
- package/lib/pagination/pagination.css +179 -0
- package/lib/pagination/pagination.d.ts +220 -0
- package/lib/pagination/pagination.js +1 -0
- package/lib/pagination/pagination.less +201 -0
- package/lib/pagination/pagination.variable.css +272 -0
- package/lib/pagination/type.d.ts +6 -0
- package/lib/pagination/use-limit.d.ts +8 -0
- package/lib/pagination/use-list.d.ts +8 -0
- package/lib/pagination/use-small-list.d.ts +5 -0
- package/lib/pagination/use-total.d.ts +5 -0
- package/lib/popover/index.d.ts +287 -0
- package/lib/popover/popover.css +23 -14
- package/lib/popover/popover.d.ts +75 -46
- package/lib/popover/popover.js +1 -0
- package/lib/popover/popover.less +57 -46
- package/lib/popover/popover.variable.css +55 -14
- package/lib/popover/props.d.ts +77 -0
- package/lib/preset.d.ts +7 -0
- package/lib/process/index.d.ts +205 -0
- package/lib/process/process.css +138 -0
- package/lib/process/process.d.ts +131 -0
- package/lib/process/process.js +1 -0
- package/lib/process/process.less +178 -0
- package/lib/process/process.variable.css +231 -0
- package/lib/progress/index.d.ts +398 -0
- package/lib/progress/progress.css +0 -3
- package/lib/progress/progress.d.ts +88 -35
- package/lib/progress/progress.js +1 -0
- package/lib/progress/progress.less +0 -4
- package/lib/progress/progress.variable.css +32 -3
- package/lib/radio/common.d.ts +1 -1
- package/lib/radio/index.d.ts +277 -0
- package/lib/radio/radio-button.d.ts +24 -16
- package/lib/radio/radio-group.d.ts +11 -10
- package/lib/radio/radio.css +8 -2
- package/lib/radio/radio.d.ts +23 -13
- package/lib/radio/radio.js +1 -0
- package/lib/radio/radio.less +9 -2
- package/lib/radio/radio.variable.css +40 -2
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.d.ts +113 -0
- package/lib/rate/rate.d.ts +13 -10
- package/lib/rate/rate.js +1 -0
- package/lib/rate/star.d.ts +33 -16
- package/lib/resize-layout/index.d.ts +336 -0
- package/lib/resize-layout/resize-layout.css +189 -0
- package/lib/resize-layout/resize-layout.d.ts +127 -0
- package/lib/resize-layout/resize-layout.js +1 -0
- package/lib/resize-layout/resize-layout.less +233 -0
- package/lib/resize-layout/resize-layout.variable.css +282 -0
- package/lib/select/common.d.ts +23 -17
- package/lib/select/index.d.ts +1347 -0
- package/lib/select/option.d.ts +12 -19
- package/lib/select/optionGroup.d.ts +54 -0
- package/lib/select/select.css +243 -17
- package/lib/select/select.d.ts +268 -155
- package/lib/select/select.js +1 -0
- package/lib/select/select.less +245 -46
- package/lib/select/select.variable.css +275 -17
- package/lib/select/type.d.ts +31 -0
- package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +6 -1
- package/lib/shared/index.d.ts +52 -0
- package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +32 -3
- package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +8 -1
- package/lib/shared/{bk-popover.d.ts → popover.d.ts} +57 -6
- package/lib/shared/shared.js +1 -0
- package/lib/shared/utils.d.ts +6 -0
- package/lib/shared/vue-types.d.ts +8 -7
- package/lib/shared/z-index-manager.d.ts +6 -1
- package/lib/sideslider/index.d.ts +206 -0
- package/lib/sideslider/sideslider.d.ts +39 -18
- package/lib/sideslider/sideslider.js +1 -0
- package/lib/sideslider/sideslider.variable.css +32 -0
- package/{changelog.config.js → lib/slider/index.d.ts} +2 -8
- package/lib/slider/slider-button.d.ts +80 -0
- package/lib/slider/slider.css +149 -0
- package/lib/slider/slider.d.ts +201 -0
- package/lib/slider/slider.js +1 -0
- package/lib/slider/slider.less +179 -0
- package/lib/slider/slider.variable.css +242 -0
- package/lib/steps/index.d.ts +250 -0
- package/lib/steps/steps.css +288 -0
- package/lib/steps/steps.d.ts +161 -0
- package/lib/steps/steps.js +1 -0
- package/lib/steps/steps.less +324 -0
- package/lib/steps/steps.variable.css +381 -0
- package/lib/styles/index.d.ts +47 -0
- package/lib/styles/mixins/popper.css +43 -0
- package/lib/styles/mixins/popper.less +52 -0
- package/lib/styles/mixins/popper.variable.css +43 -0
- package/lib/styles/mixins/size.less +9 -0
- package/lib/styles/reset.css +273 -0
- package/lib/styles/reset.less +313 -0
- package/lib/styles/reset.variable.css +273 -0
- package/lib/styles/themes/themes.less +52 -2
- package/lib/swiper/index.d.ts +181 -0
- package/lib/swiper/swiper.css +91 -0
- package/lib/swiper/swiper.d.ts +65 -0
- package/lib/swiper/swiper.js +1 -0
- package/lib/swiper/swiper.less +107 -0
- package/lib/swiper/swiper.variable.css +91 -0
- package/lib/switcher/index.d.ts +286 -0
- package/lib/switcher/switcher.css +149 -135
- package/lib/switcher/switcher.d.ts +48 -32
- package/lib/switcher/switcher.js +1 -0
- package/lib/switcher/switcher.less +210 -154
- package/lib/switcher/switcher.variable.css +181 -135
- package/lib/tab/index.d.ts +443 -0
- package/lib/tab/props.d.ts +191 -0
- package/lib/tab/tab-nav.d.ts +165 -0
- package/lib/tab/tab-panel.d.ts +73 -0
- package/lib/tab/tab.css +148 -0
- package/lib/tab/tab.d.ts +140 -0
- package/lib/tab/tab.js +1 -0
- package/lib/tab/tab.less +222 -0
- package/lib/tab/tab.variable.css +241 -0
- package/lib/table/const.d.ts +4 -0
- package/lib/table/index.d.ts +302 -0
- package/lib/table/props.d.ts +117 -0
- package/lib/table/render.d.ts +83 -0
- package/lib/table/table.css +91 -0
- package/lib/table/table.d.ts +88 -36
- package/lib/table/table.js +1 -0
- package/lib/table/table.less +111 -1
- package/lib/table/table.variable.css +123 -0
- package/lib/table/utils.d.ts +69 -0
- package/lib/tag/index.d.ts +229 -0
- package/lib/tag/tag.css +97 -0
- package/lib/tag/tag.d.ts +83 -53
- package/lib/tag/tag.js +1 -0
- package/lib/tag/tag.less +110 -2
- package/lib/tag/tag.variable.css +129 -0
- package/lib/tag-input/common.d.ts +24 -0
- package/lib/tag-input/index.d.ts +2 -0
- package/lib/tag-input/list-tag-render.d.ts +47 -0
- package/lib/tag-input/tag-input.css +208 -0
- package/lib/tag-input/tag-input.d.ts +374 -0
- package/lib/tag-input/tag-input.js +1 -0
- package/lib/tag-input/tag-input.less +250 -0
- package/lib/tag-input/tag-input.variable.css +301 -0
- package/lib/tag-input/tag-props.d.ts +131 -0
- package/lib/tag-input/tag-render.d.ts +38 -0
- package/lib/timeline/index.d.ts +129 -0
- package/lib/timeline/timeline.css +235 -0
- package/lib/timeline/timeline.d.ts +81 -0
- package/lib/timeline/timeline.js +1 -0
- package/lib/timeline/timeline.less +239 -0
- package/lib/timeline/timeline.variable.css +328 -0
- package/lib/transfer/index.d.ts +351 -0
- package/lib/transfer/transfer.css +158 -0
- package/lib/transfer/transfer.d.ts +185 -0
- package/lib/transfer/transfer.js +1 -0
- package/lib/transfer/transfer.less +171 -0
- package/lib/transfer/transfer.variable.css +251 -0
- package/lib/tree/index.d.ts +287 -0
- package/lib/tree/props.d.ts +89 -0
- package/lib/tree/tree.css +50 -0
- package/lib/tree/tree.d.ts +111 -0
- package/lib/tree/tree.js +1 -0
- package/lib/tree/tree.less +63 -0
- package/lib/tree/tree.variable.css +143 -0
- package/lib/tree/util.d.ts +70 -0
- package/lib/use-form.d.ts +3 -0
- package/lib/use-message.d.ts +2 -0
- package/lib/virtual-render/index.d.ts +556 -0
- package/lib/virtual-render/props.d.ts +157 -0
- package/lib/virtual-render/v-virtual-render.d.ts +7 -0
- package/lib/virtual-render/virtual-render.css +33 -0
- package/lib/virtual-render/virtual-render.d.ts +244 -0
- package/lib/virtual-render/virtual-render.js +1 -0
- package/lib/virtual-render/virtual-render.less +43 -0
- package/lib/virtual-render/virtual-render.variable.css +33 -0
- package/package.json +74 -74
- package/dist/bkui-vue.cjs.js +0 -4887
- package/dist/bkui-vue.esm.js +0 -4883
- package/dist/bkui-vue.umd.js +0 -4890
- package/lib/alert/index.js +0 -1
- package/lib/animate-number/index.js +0 -1
- package/lib/backtop/index.js +0 -1
- package/lib/badge/index.js +0 -1
- package/lib/breadcrumb/index.js +0 -1
- package/lib/button/index.js +0 -1
- package/lib/card/index.js +0 -1
- package/lib/checkbox/index.js +0 -1
- package/lib/checkbox-group/index.js +0 -1
- package/lib/collapse/index.js +0 -1
- package/lib/dialog/index.js +0 -1
- package/lib/directives/index.js +0 -15
- package/lib/exception/index.js +0 -1
- package/lib/fixed-navbar/index.js +0 -1
- package/lib/icon/index.js +0 -15
- package/lib/input/index.js +0 -15
- package/lib/link/index.js +0 -1
- package/lib/loading/index.js +0 -1
- package/lib/modal/index.js +0 -1
- package/lib/popover/index.js +0 -1
- package/lib/progress/index.js +0 -1
- package/lib/radio/index.js +0 -1
- package/lib/radio-button/index.js +0 -1
- package/lib/radio-group/index.js +0 -1
- package/lib/rate/index.js +0 -1
- package/lib/select/index.js +0 -1
- package/lib/shared/index.js +0 -1
- package/lib/sideslider/index.js +0 -1
- package/lib/styles/index.js +0 -1
- package/lib/switcher/index.js +0 -1
- package/lib/table/common.d.ts +0 -3
- package/lib/table/index.js +0 -1
- package/lib/table/table-layout.d.ts +0 -14
- package/lib/table/type.d.ts +0 -12
- package/lib/tag/index.js +0 -1
@@ -45,38 +45,54 @@ declare const _default: import("vue").DefineComponent<{
|
|
45
45
|
modelValue: import("vue-types").VueTypeDef<string | number | boolean> & {
|
46
46
|
default: string | number | boolean;
|
47
47
|
};
|
48
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
49
|
-
theme
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
preCheck
|
79
|
-
|
48
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
49
|
+
theme: import("vue-types").VueTypeDef<string> & {
|
50
|
+
default: string;
|
51
|
+
};
|
52
|
+
size: import("vue-types").VueTypeDef<string>;
|
53
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
54
|
+
default: boolean;
|
55
|
+
};
|
56
|
+
showText: import("vue-types").VueTypeValidableDef<boolean> & {
|
57
|
+
default: boolean;
|
58
|
+
};
|
59
|
+
isOutline: import("vue-types").VueTypeValidableDef<boolean> & {
|
60
|
+
default: boolean;
|
61
|
+
};
|
62
|
+
onText: import("vue-types").VueTypeValidableDef<string> & {
|
63
|
+
default: string;
|
64
|
+
} & {
|
65
|
+
default: string;
|
66
|
+
};
|
67
|
+
offText: import("vue-types").VueTypeValidableDef<string> & {
|
68
|
+
default: string;
|
69
|
+
} & {
|
70
|
+
default: string;
|
71
|
+
};
|
72
|
+
isSquare: import("vue-types").VueTypeValidableDef<boolean> & {
|
73
|
+
default: boolean;
|
74
|
+
};
|
75
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
76
|
+
default: string;
|
77
|
+
};
|
78
|
+
preCheck: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
79
|
+
default: (...args: any[]) => any;
|
80
|
+
} & {
|
81
|
+
default: (...args: any[]) => any;
|
82
|
+
};
|
83
|
+
trueValue: import("vue-types").VueTypeDef<string | number | boolean> & {
|
84
|
+
default: string | number | boolean;
|
85
|
+
};
|
86
|
+
falseValue: import("vue-types").VueTypeDef<string | number | boolean> & {
|
87
|
+
default: string | number | boolean;
|
88
|
+
};
|
89
|
+
value: import("vue-types").VueTypeDef<string | number | boolean> & {
|
90
|
+
default: string | number | boolean;
|
91
|
+
};
|
92
|
+
modelValue: import("vue-types").VueTypeDef<string | number | boolean> & {
|
93
|
+
default: string | number | boolean;
|
94
|
+
};
|
95
|
+
}>> & {
|
80
96
|
onChange?: (...args: any[]) => any;
|
81
97
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
82
98
|
}, {
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("../shared"),require("@babel/runtime/helpers/defineProperty"),require("vue"),require("../icon"));else if("function"==typeof define&&define.amd)define(["../shared","@babel/runtime/helpers/defineProperty","vue","../icon"],r);else{var o="object"==typeof exports?r(require("../shared"),require("@babel/runtime/helpers/defineProperty"),require("vue"),require("../icon")):r(e["../shared"],e["@babel/runtime/helpers/defineProperty"],e.vue,e["../icon"]);for(var t in o)("object"==typeof exports?exports:e)[t]=o[t]}}(self,((e,r,o,t)=>(()=>{"use strict";var n={6870:e=>{e.exports=t},4212:r=>{r.exports=e},311:e=>{e.exports=r},748:e=>{e.exports=o}},s={};function u(e){var r=s[e];if(void 0!==r)return r.exports;var o=s[e]={exports:{}};return n[e](o,o.exports,u),o.exports}u.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return u.d(r,{a:r}),r},u.d=(e,r)=>{for(var o in r)u.o(r,o)&&!u.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},u.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var p={};return(()=>{u.r(p),u.d(p,{default:()=>i});var e=u(4212),r=u(311),o=u.n(r),t=u(748),n=u(6870);const s=(0,t.defineComponent)({name:"Switcher",props:{theme:e.PropTypes.theme().def(""),size:e.PropTypes.size(),disabled:e.PropTypes.bool,showText:e.PropTypes.bool,isOutline:e.PropTypes.bool,onText:e.PropTypes.string.def("ON"),offText:e.PropTypes.string.def("OFF"),isSquare:e.PropTypes.bool,extCls:e.PropTypes.string,preCheck:e.PropTypes.func.def(void 0),trueValue:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number,e.PropTypes.bool]).def(!0),falseValue:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number,e.PropTypes.bool]).def(!1),value:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number,e.PropTypes.bool]).def(!1),modelValue:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number,e.PropTypes.bool]).def(!1)},emits:["update:modelValue","change"],setup:function(e,r){var s=r.emit,u=(this.$createElement,(0,t.ref)(!1)),p=(0,t.computed)((function(){return e.trueValue===a.value})),i=(0,t.ref)(!1!==e.modelValue),a=(0,t.computed)((function(){return i.value?e.modelValue:e.value})),l=(0,t.computed)((function(){var r,t=(r={},o()(r,e.extCls,!!e.extCls),o()(r,"bk-switcher",!0),o()(r,"bk-switcher-outline",e.isOutline),o()(r,"bk-switcher-square",e.isSquare),o()(r,"show-label",e.showText),o()(r,"is-disabled",e.disabled),o()(r,"is-checked",p.value),o()(r,"is-unchecked",!p.value),o()(r,"is-loading",u.value),o()(r,"primary","primary"===e.theme),r);return e.size&&!e.showText&&(t["bk-switcher-".concat(e.size)]=!0),e.size||(t["bk-switcher-nomal"]=!0),t}));(0,t.watch)((function(){return e.modelValue}),(function(){i.value=!0})),(0,t.watch)((function(){return e.value}),(function(){i.value=!1}));var f=function(r){if(r.stopPropagation(),r.preventDefault(),!e.disabled&&!u.value){var o=p.value?e.falseValue:e.trueValue,t=!p.value,n=function(){s("update:modelValue",o),s("change",t)},i=!0;if("function"==typeof e.preCheck&&"function"==typeof(i=e.preCheck(o)).then)return u.value=!0,i.then((function(){n()})).finally((function(){u.value=!1}));i&&n()}};return function(){return(0,t.createVNode)("div",{class:l.value,onClick:f,tabindex:"0",onKeydown:f},[u.value?(0,t.createVNode)(n.SwitcherLoading,{class:"bk-switcher-loading"},null):"",e.showText?(0,t.createVNode)("span",{class:"switcher-text"},[p.value?e.onText:e.offText]):""])}}}),i=(0,e.withInstall)(s)})(),p})()));
|
@@ -3,162 +3,181 @@
|
|
3
3
|
|
4
4
|
.@{bk-prefix}-switcher {
|
5
5
|
position: relative;
|
6
|
+
position: relative;
|
7
|
+
display: inline-block;
|
6
8
|
display: inline-block;
|
9
|
+
height: 20px;
|
7
10
|
|
8
11
|
/* 默认尺寸 */
|
9
|
-
width: 36px;
|
10
|
-
|
12
|
+
min-width: 36px;
|
13
|
+
padding: 0;
|
14
|
+
margin: 0;
|
15
|
+
font-size: 14px;
|
11
16
|
line-height: 20px;
|
12
17
|
text-align: left;
|
13
18
|
vertical-align: middle;
|
19
|
+
list-style: none;
|
20
|
+
cursor: pointer;
|
14
21
|
background-color: @switch-grey-color;
|
22
|
+
border: 1px solid transparent;
|
15
23
|
border-radius: 50px;
|
24
|
+
border-radius: 100px;
|
25
|
+
box-sizing: border-box;
|
16
26
|
transition: all .4s ease;
|
17
|
-
|
18
|
-
|
19
|
-
box-shadow: 0px 0px 6px @switch-grey-color;
|
20
|
-
}
|
27
|
+
transition: all .36s;
|
28
|
+
user-select: none;
|
21
29
|
|
22
30
|
&:after {
|
23
31
|
position: absolute;
|
24
|
-
top:
|
25
|
-
left:
|
26
|
-
display: block;
|
27
|
-
width: 24px;
|
28
|
-
height: 24px;
|
29
|
-
cursor: pointer;
|
30
|
-
background: @switch-default-color;
|
31
|
-
border-radius: 100px;
|
32
|
-
content: '';
|
33
|
-
box-shadow: 0 0 3px rgba(0, 0, 0, .2);
|
34
|
-
transition: all .3s ease
|
35
|
-
}
|
36
|
-
|
37
|
-
&:not(.show-label):after {
|
32
|
+
top: 1px;
|
33
|
+
left: 1px;
|
38
34
|
width: 16px;
|
39
35
|
height: 16px;
|
36
|
+
cursor: pointer;
|
37
|
+
background: @switch-default-color;
|
38
|
+
background-color: #fff;
|
39
|
+
border-radius: 18px;
|
40
|
+
content: ' ';
|
41
|
+
transition: all .3s ease;
|
40
42
|
}
|
41
43
|
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
44
|
+
.switcher-text {
|
45
|
+
display: block;
|
46
|
+
margin-right: 6px;
|
47
|
+
margin-left: 28px;
|
48
|
+
font-size: 12px;
|
49
|
+
font-weight: 400;
|
50
|
+
color: #fff;
|
51
|
+
text-align: center;
|
52
|
+
transition: all .3s ease;
|
46
53
|
}
|
47
54
|
|
48
|
-
|
49
|
-
|
55
|
+
.animating-node {
|
56
|
+
position: absolute;
|
57
|
+
top: 0;
|
58
|
+
right: 0;
|
59
|
+
bottom: 0;
|
60
|
+
left: 0;
|
61
|
+
display: block;
|
62
|
+
pointer-events: none;
|
63
|
+
border-radius: inherit;
|
64
|
+
content: '';
|
65
|
+
// box-shadow: 0 0 0 0 var(--antd-wave-shadow-color);
|
66
|
+
opacity: .2;
|
67
|
+
box-shadow: 0 0 0 0 #1890ff;
|
68
|
+
animation: fadeEffect 2s cubic-bezier(.08,.82,.17,1),waveEffect .4s cubic-bezier(.08,.82,.17,1);
|
69
|
+
animation-fill-mode: forwards;
|
50
70
|
|
51
|
-
input[type=checkbox] {
|
52
|
-
cursor: default;
|
53
|
-
}
|
54
71
|
}
|
55
72
|
|
73
|
+
|
56
74
|
.bk-switcher-loading {
|
57
75
|
position: absolute;
|
58
|
-
top:
|
76
|
+
top: 1px;
|
59
77
|
left: 1px;
|
60
|
-
z-index:
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
78
|
+
z-index: 1;
|
79
|
+
width: 16px;
|
80
|
+
height: 16px;
|
81
|
+
font-size: 12px;
|
82
|
+
color: @switch-grey-color;
|
83
|
+
cursor: pointer;
|
84
|
+
background: transparent;
|
85
|
+
border-radius: 16px;
|
86
|
+
content: ' ';
|
87
|
+
transition: all .36s cubic-bezier(.78,.14,.15,.86);
|
65
88
|
|
66
89
|
svg {
|
67
|
-
|
90
|
+
position: absolute;
|
91
|
+
top: 0;
|
92
|
+
right: 0;
|
93
|
+
bottom: 0;
|
94
|
+
left: 0;
|
95
|
+
margin: auto;
|
96
|
+
animation: loading 1s linear infinite
|
68
97
|
}
|
69
98
|
}
|
70
99
|
|
71
|
-
|
72
|
-
|
73
|
-
width: 30px;
|
74
|
-
height: 28px;
|
75
|
-
margin: 0 0 0 26px;
|
76
|
-
font-size: 12px;
|
77
|
-
font-weight: normal;
|
78
|
-
color: @switch-default-color;
|
79
|
-
text-align: center;
|
80
|
-
vertical-align: top;
|
81
|
-
transition: all ease .3s;
|
82
|
-
|
83
|
-
.on-text {
|
84
|
-
display: none;
|
85
|
-
}
|
100
|
+
&.is-loading {
|
101
|
+
cursor: defalt;
|
86
102
|
|
87
|
-
|
88
|
-
|
103
|
+
input[type=checkbox] {
|
104
|
+
cursor: default;
|
89
105
|
}
|
90
106
|
}
|
91
107
|
|
92
108
|
/* 显示文本时固定尺寸 */
|
93
109
|
&.show-label {
|
94
|
-
width: 60px;
|
95
110
|
height: 28px;
|
111
|
+
min-width: 60px;
|
96
112
|
line-height: 28px;
|
97
113
|
|
98
|
-
|
99
|
-
|
114
|
+
&::after {
|
115
|
+
width: 24px;
|
116
|
+
height: 24px;
|
100
117
|
}
|
101
118
|
|
102
119
|
.bk-switcher-loading {
|
103
|
-
width:
|
104
|
-
height:
|
105
|
-
|
106
|
-
|
120
|
+
width: 24px;
|
121
|
+
height: 24px;
|
122
|
+
font-size: 20px;
|
123
|
+
}
|
124
|
+
}
|
107
125
|
|
108
|
-
|
109
|
-
|
110
|
-
|
126
|
+
&.show-label.is-checked {
|
127
|
+
.bk-switcher-loading {
|
128
|
+
left: 100%;
|
129
|
+
margin-left: -25px;
|
111
130
|
}
|
112
131
|
}
|
113
132
|
|
114
133
|
&.is-disabled {
|
115
|
-
cursor:
|
116
|
-
|
117
|
-
/* background-color: #eee !important; */
|
134
|
+
cursor: not-allowed;
|
118
135
|
opacity: .3;
|
119
136
|
|
120
|
-
|
137
|
+
.bk-switcher-loading {
|
121
138
|
cursor: not-allowed;
|
122
139
|
}
|
123
|
-
}
|
124
140
|
|
141
|
+
&::after {
|
142
|
+
cursor: not-allowed;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
125
146
|
&.is-checked {
|
126
147
|
background: @success-color;
|
127
|
-
|
128
|
-
|
129
|
-
|
148
|
+
|
149
|
+
.bk-switcher-loading {
|
150
|
+
svg {
|
151
|
+
color: @success-color;
|
152
|
+
}
|
130
153
|
}
|
131
154
|
|
132
|
-
&.primary {
|
155
|
+
&:not(.bk-switcher-outline)&.primary {
|
133
156
|
background: @primary-color;
|
134
157
|
|
135
|
-
|
136
|
-
|
158
|
+
.bk-switcher-loading {
|
159
|
+
svg {
|
160
|
+
color: @primary-color;
|
161
|
+
}
|
137
162
|
}
|
138
163
|
}
|
139
164
|
|
140
165
|
&:after {
|
141
|
-
top: 2px;
|
142
166
|
left: 100%;
|
143
|
-
margin-left: -
|
167
|
+
margin-left: -1px;
|
168
|
+
transform: translateX(-100%);
|
144
169
|
}
|
145
170
|
|
146
|
-
.switcher-
|
147
|
-
margin-
|
148
|
-
|
149
|
-
.on-text {
|
150
|
-
display: inline-block;
|
151
|
-
}
|
152
|
-
|
153
|
-
.off-text {
|
154
|
-
display: none;
|
155
|
-
}
|
171
|
+
.switcher-text {
|
172
|
+
margin-right: 28px;
|
173
|
+
margin-left: 6px;
|
156
174
|
}
|
157
175
|
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
176
|
+
}
|
177
|
+
|
178
|
+
&:not(.show-label).is-checked .bk-switcher-loading {
|
179
|
+
left: 100%;
|
180
|
+
margin-left: -17px;
|
162
181
|
}
|
163
182
|
|
164
183
|
&.bk-switcher-outline {
|
@@ -166,64 +185,63 @@
|
|
166
185
|
border: 1px solid @switch-grey-color;
|
167
186
|
|
168
187
|
&:after {
|
169
|
-
width:
|
170
|
-
height:
|
188
|
+
width: 24px;
|
189
|
+
height: 24px;
|
171
190
|
background-color: @switch-grey-color;
|
172
191
|
box-shadow: none;
|
173
192
|
}
|
174
193
|
|
175
|
-
.switcher-
|
176
|
-
height: 26px;
|
177
|
-
margin-left: 24px;
|
194
|
+
.switcher-text {
|
178
195
|
color: @switch-grey-color;
|
179
196
|
}
|
180
197
|
|
181
|
-
|
182
|
-
width: 22px;
|
183
|
-
height: 22px;
|
184
|
-
align-items: center;
|
185
|
-
justify-content: center;
|
186
|
-
}
|
198
|
+
|
187
199
|
|
188
200
|
&.is-checked {
|
189
201
|
border: 1px solid @success-color;
|
190
202
|
|
191
203
|
&:after {
|
192
|
-
margin-left: -
|
204
|
+
// margin-left: -33px;
|
193
205
|
background-color: @success-color;
|
194
206
|
}
|
195
207
|
|
196
|
-
.switcher-
|
197
|
-
margin-left: 4px;
|
208
|
+
.switcher-text {
|
198
209
|
color: @success-color;
|
199
210
|
}
|
211
|
+
|
200
212
|
}
|
201
213
|
|
202
|
-
&.is-disabled {
|
203
|
-
|
204
|
-
|
214
|
+
// &.is-disabled {
|
215
|
+
// background-color: @switch-default-color;
|
216
|
+
// border-color: #eee;
|
205
217
|
|
206
|
-
|
207
|
-
|
208
|
-
|
218
|
+
// .switcher-text {
|
219
|
+
// color: #eee;
|
220
|
+
// }
|
209
221
|
|
210
|
-
|
211
|
-
|
222
|
+
// &:after {
|
223
|
+
// background-color: #eee;
|
224
|
+
// }
|
225
|
+
// }
|
226
|
+
|
227
|
+
.bk-switcher-loading {
|
228
|
+
svg {
|
229
|
+
color: #fff;
|
212
230
|
}
|
213
231
|
}
|
232
|
+
}
|
214
233
|
|
215
|
-
|
234
|
+
&.bk-switcher-outline&.primary {
|
235
|
+
&.is-checked {
|
236
|
+
border: 1px solid @primary-color;
|
216
237
|
&:after {
|
217
|
-
|
218
|
-
height: 18px;
|
238
|
+
background: @primary-color;
|
219
239
|
}
|
220
|
-
|
221
|
-
|
222
|
-
&:after {
|
223
|
-
margin-left: -20px;
|
224
|
-
}
|
240
|
+
.switcher-text {
|
241
|
+
color: @primary-color;
|
225
242
|
}
|
226
243
|
}
|
244
|
+
|
227
245
|
}
|
228
246
|
|
229
247
|
&.bk-switcher-square {
|
@@ -232,40 +250,43 @@
|
|
232
250
|
&:after {
|
233
251
|
border-radius: 2px;
|
234
252
|
}
|
235
|
-
|
236
|
-
.switcher-label {
|
237
|
-
width: 35px;
|
238
|
-
}
|
239
253
|
}
|
240
254
|
|
241
255
|
&.bk-switcher-large {
|
242
|
-
width: 42px;
|
243
256
|
height: 24px;
|
257
|
+
min-width: 42px;
|
244
258
|
line-height: 22px;
|
245
|
-
|
246
|
-
|
259
|
+
|
247
260
|
&:after {
|
248
261
|
width: 20px;
|
249
262
|
height: 20px;
|
250
263
|
}
|
251
264
|
|
265
|
+
.bk-switcher-loading {
|
266
|
+
width: 20px;
|
267
|
+
height: 20px;
|
268
|
+
font-size: 16px;
|
269
|
+
}
|
270
|
+
|
252
271
|
&.is-checked {
|
253
|
-
|
254
|
-
|
255
|
-
left: 100%;
|
256
|
-
margin-left: -22px;
|
272
|
+
.bk-switcher-loading {
|
273
|
+
margin-left: -21px;
|
257
274
|
}
|
258
275
|
}
|
259
276
|
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
277
|
+
// &.is-checked {
|
278
|
+
// &:after {
|
279
|
+
// top: 2px;
|
280
|
+
// left: 100%;
|
281
|
+
// margin-left: -22px;
|
282
|
+
// }
|
283
|
+
|
284
|
+
// }
|
264
285
|
}
|
265
286
|
|
266
287
|
&.bk-switcher-small {
|
267
|
-
width: 26px;
|
268
288
|
height: 16px;
|
289
|
+
min-width: 26px;
|
269
290
|
line-height: 22px;
|
270
291
|
|
271
292
|
&:after {
|
@@ -273,30 +294,65 @@
|
|
273
294
|
height: 12px;
|
274
295
|
}
|
275
296
|
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
}
|
297
|
+
.bk-switcher-loading {
|
298
|
+
width: 12px;
|
299
|
+
height: 12px;
|
300
|
+
font-weight: 700;
|
301
|
+
transform: scale(.66667);
|
282
302
|
}
|
303
|
+
}
|
283
304
|
|
305
|
+
&.bk-switcher-small.is-checked {
|
284
306
|
.bk-switcher-loading {
|
285
|
-
|
286
|
-
height: 14px;
|
307
|
+
margin-left: -13px;
|
287
308
|
}
|
309
|
+
|
288
310
|
}
|
311
|
+
}
|
289
312
|
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
313
|
+
&:not(.show-label).bk-switcher-nomal.bk-switcher-outline {
|
314
|
+
&::after {
|
315
|
+
width: 16px;
|
316
|
+
height: 16px;
|
317
|
+
}
|
318
|
+
}
|
319
|
+
|
320
|
+
&:not(.show-label).bk-switcher-outline.is-checked.bk-switcher-small {
|
321
|
+
&::after {
|
322
|
+
width: 12px;
|
323
|
+
height: 12px;
|
324
|
+
}
|
325
|
+
}
|
326
|
+
|
327
|
+
&:not(.show-label).bk-switcher-outline.is-checked.bk-switcher-large {
|
328
|
+
&::after {
|
329
|
+
width: 20px;
|
330
|
+
height: 20px;
|
331
|
+
}
|
332
|
+
}
|
333
|
+
|
334
|
+
&:not(.show-label).bk-switcher-outline.is-checked {
|
335
|
+
&::after {
|
336
|
+
width: 16px;
|
337
|
+
height: 16px;
|
338
|
+
}
|
339
|
+
}
|
340
|
+
|
341
|
+
|
342
|
+
@keyframes fadeEffect {
|
343
|
+
100% {
|
300
344
|
opacity: 0;
|
301
345
|
}
|
302
346
|
}
|
347
|
+
|
348
|
+
@keyframes waveEffect {
|
349
|
+
100% {
|
350
|
+
box-shadow: 0 0 0 #1890ff;
|
351
|
+
}
|
352
|
+
}
|
353
|
+
|
354
|
+
@keyframes loading {
|
355
|
+
100% {
|
356
|
+
transform: rotate(1turn);
|
357
|
+
}
|
358
|
+
}
|