bkui-vue 0.0.1-beta.46 → 0.0.1-beta.461
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/License.txt +14 -0
- package/dist/index.cjs.js +364 -36
- package/dist/index.esm.js +30127 -19370
- package/dist/index.umd.js +364 -36
- package/dist/locale/en.esm.js +2 -0
- package/dist/locale/en.esm.js.map +1 -0
- package/dist/locale/en.umd.js +2 -0
- package/dist/locale/en.umd.js.map +1 -0
- package/dist/locale/zh-cn.esm.js +2 -0
- package/dist/locale/zh-cn.esm.js.map +1 -0
- package/dist/locale/zh-cn.umd.js +2 -0
- package/dist/locale/zh-cn.umd.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -0
- package/lib/affix/affix.css +3 -0
- package/lib/affix/affix.d.ts +47 -0
- package/lib/affix/affix.less +5 -0
- package/lib/affix/affix.variable.css +125 -0
- package/lib/affix/index.d.ts +143 -0
- package/lib/affix/index.js +1 -0
- package/lib/alert/alert.css +9 -3
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/alert.less +29 -20
- package/lib/alert/alert.variable.css +41 -7
- package/lib/alert/index.d.ts +11 -11
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/animate-number.d.ts +1 -1
- package/lib/animate-number/index.d.ts +4 -4
- package/lib/backtop/backtop.css +8 -0
- package/lib/backtop/backtop.d.ts +3 -3
- package/lib/backtop/backtop.less +8 -0
- package/lib/backtop/backtop.variable.css +40 -4
- package/lib/backtop/index.d.ts +10 -10
- package/lib/backtop/index.js +1 -1
- package/lib/badge/badge.css +7 -10
- package/lib/badge/badge.d.ts +28 -7
- package/lib/badge/badge.less +9 -11
- package/lib/badge/badge.variable.css +39 -14
- package/lib/badge/index.d.ts +68 -18
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +4 -2
- package/lib/breadcrumb/breadcrumb.css +51 -0
- package/lib/breadcrumb/breadcrumb.variable.css +88 -9
- package/lib/breadcrumb/index.d.ts +4 -2
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button-group.d.ts +2 -2
- package/lib/button/button.css +85 -50
- package/lib/button/button.d.ts +44 -24
- package/lib/button/button.less +72 -42
- package/lib/button/button.variable.css +117 -54
- package/lib/button/index.d.ts +74 -44
- package/lib/button/index.js +1 -1
- package/lib/card/card.css +97 -2
- package/lib/card/card.d.ts +47 -6
- package/lib/card/card.less +50 -2
- package/lib/card/card.variable.css +133 -10
- package/lib/card/index.d.ts +113 -17
- package/lib/card/index.js +1 -1
- package/lib/cascader/cascader-panel.d.ts +102 -0
- package/lib/cascader/cascader.css +316 -0
- package/lib/cascader/cascader.d.ts +354 -0
- package/lib/cascader/cascader.less +283 -0
- package/lib/cascader/cascader.variable.css +438 -0
- package/lib/cascader/index.d.ts +988 -0
- package/lib/cascader/index.js +1 -0
- package/lib/cascader/interface.d.ts +51 -0
- package/lib/cascader/node.d.ts +31 -0
- package/lib/cascader/store.d.ts +27 -0
- package/lib/checkbox/checkbox-group.d.ts +16 -0
- package/lib/checkbox/checkbox.css +51 -11
- package/lib/checkbox/checkbox.d.ts +36 -24
- package/lib/checkbox/checkbox.less +85 -32
- package/lib/checkbox/checkbox.variable.css +83 -15
- package/lib/checkbox/common.d.ts +4 -3
- package/lib/checkbox/index.d.ts +70 -38
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +2 -6
- package/lib/code-diff/code-diff.css +27 -7
- package/lib/code-diff/code-diff.d.ts +8 -8
- package/lib/code-diff/code-diff.less +42 -7
- package/lib/code-diff/code-diff.variable.css +59 -11
- package/lib/code-diff/index.d.ts +11 -11
- package/lib/code-diff/index.js +1 -1
- package/lib/collapse/collapse-panel.d.ts +103 -0
- package/lib/collapse/collapse.css +69 -14
- package/lib/collapse/collapse.d.ts +66 -52
- package/lib/collapse/collapse.less +112 -30
- package/lib/collapse/collapse.variable.css +191 -14
- package/lib/collapse/index.d.ts +266 -20
- package/lib/collapse/index.js +1 -1
- package/lib/collapse/props.d.ts +131 -0
- package/lib/collapse/utils.d.ts +11 -0
- package/lib/collapse-transition/collapse-transition.css +93 -0
- package/lib/collapse-transition/collapse-transition.d.ts +15 -0
- package/lib/collapse-transition/collapse-transition.less +111 -0
- package/lib/collapse-transition/collapse-transition.variable.css +215 -0
- package/lib/collapse-transition/index.d.ts +2 -0
- package/lib/collapse-transition/index.js +1 -0
- package/lib/color-picker/color-picker.css +275 -0
- package/lib/color-picker/color-picker.d.ts +144 -0
- package/lib/color-picker/color-picker.less +325 -0
- package/lib/color-picker/color-picker.variable.css +397 -0
- package/lib/color-picker/components/color-input.d.ts +42 -0
- package/lib/color-picker/components/hue-slider.d.ts +41 -0
- package/lib/color-picker/components/input-container.d.ts +42 -0
- package/lib/color-picker/components/recommend-colors.d.ts +51 -0
- package/lib/color-picker/components/saturation-panel.d.ts +41 -0
- package/lib/color-picker/index.d.ts +254 -0
- package/lib/color-picker/index.js +1 -0
- package/lib/color-picker/utils.d.ts +37 -0
- package/lib/components.d.ts +31 -8
- package/lib/components.js +1 -0
- package/lib/config-provider/config-provider.css +0 -0
- package/lib/config-provider/config-provider.d.ts +402 -0
- package/lib/config-provider/config-provider.less +1 -0
- package/lib/config-provider/config-provider.variable.css +122 -0
- package/lib/config-provider/index.d.ts +609 -0
- package/lib/config-provider/index.js +1 -0
- package/lib/config-provider/token.d.ts +128 -0
- package/lib/config-provider/use-global-config.d.ts +5 -0
- package/lib/config-provider/use-locale.d.ts +3 -0
- package/lib/config-provider/use-prefix.d.ts +9 -0
- package/lib/container/col.d.ts +51 -0
- package/lib/container/container.css +91 -0
- package/lib/container/container.d.ts +83 -0
- package/lib/container/container.less +20 -0
- package/lib/container/container.variable.css +213 -0
- package/lib/container/index.d.ts +223 -0
- package/lib/container/index.js +1 -0
- package/lib/container/interface.d.ts +7 -0
- package/lib/container/row.d.ts +4 -0
- package/lib/date-picker/base/confirm.d.ts +74 -0
- package/lib/date-picker/base/date-table.d.ts +96 -0
- package/lib/date-picker/base/month-table.d.ts +117 -0
- package/lib/date-picker/base/picker-dropdown.d.ts +74 -0
- package/lib/date-picker/base/time-spinner.d.ts +170 -0
- package/lib/date-picker/base/year-table.d.ts +117 -0
- package/lib/date-picker/date-picker.css +28 -1
- package/lib/date-picker/date-picker.d.ts +49 -20
- package/lib/date-picker/date-picker.less +106 -74
- package/lib/date-picker/date-picker.variable.css +60 -5
- package/lib/date-picker/index.d.ts +121 -54
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/interface.d.ts +11 -1
- package/lib/date-picker/panel/date-range.d.ts +328 -0
- package/lib/date-picker/panel/date.d.ts +206 -0
- package/lib/date-picker/panel/time-range.d.ts +489 -0
- package/lib/date-picker/panel/time.d.ts +448 -0
- package/lib/date-picker/props.d.ts +55 -5
- package/lib/date-picker/time-picker.d.ts +381 -0
- package/lib/date-picker/utils.d.ts +22 -2
- package/lib/dialog/dialog.css +135 -26
- package/lib/dialog/dialog.d.ts +218 -103
- package/lib/dialog/dialog.less +99 -41
- package/lib/dialog/dialog.variable.css +257 -26
- package/lib/dialog/index.d.ts +488 -224
- package/lib/dialog/index.js +1 -1
- package/lib/dialog/props.d.ts +122 -0
- package/lib/directives/ellipsis.d.ts +7 -0
- package/lib/directives/index.d.ts +2 -0
- package/lib/directives/index.js +1 -1
- package/lib/directives/tooltips.d.ts +2 -1
- package/lib/dist.index.js +1 -0
- package/lib/divider/divider.d.ts +15 -15
- package/lib/divider/divider.variable.css +32 -4
- package/lib/divider/index.d.ts +34 -34
- package/lib/divider/index.js +1 -1
- package/lib/divider/props.d.ts +6 -6
- package/lib/dropdown/dropdown.css +38 -7
- package/lib/dropdown/dropdown.d.ts +46 -14
- package/lib/dropdown/dropdown.less +48 -34
- package/lib/dropdown/dropdown.variable.css +70 -11
- package/lib/dropdown/index.d.ts +99 -35
- package/lib/dropdown/index.js +1 -1
- package/lib/exception/exception.css +40 -14
- package/lib/exception/exception.d.ts +31 -11
- package/lib/exception/exception.less +59 -22
- package/lib/exception/exception.variable.css +72 -18
- package/lib/exception/index.d.ts +43 -26
- package/lib/exception/index.js +1 -1
- package/lib/exception/typings/index.d.ts +4 -0
- package/lib/fixed-navbar/fixed-navbar.d.ts +16 -2
- package/lib/fixed-navbar/fixed-navbar.variable.css +32 -4
- package/lib/fixed-navbar/index.d.ts +40 -5
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/compose-form-item.d.ts +16 -0
- package/lib/form/form-item.d.ts +22 -7
- package/lib/form/form.css +103 -15
- package/lib/form/form.d.ts +48 -14
- package/lib/form/form.less +152 -46
- package/lib/form/form.variable.css +225 -15
- package/lib/form/index.d.ts +122 -35
- package/lib/form/index.js +1 -1
- package/lib/form/type.d.ts +11 -8
- package/lib/form/utils.d.ts +2 -0
- package/lib/form/validator.d.ts +1 -0
- package/lib/hooks.d.ts +1 -0
- package/lib/hooks.js +1 -0
- package/lib/icon/angle-double-down-line.js +1 -1
- package/lib/icon/angle-double-left-line.js +1 -1
- package/lib/icon/angle-double-left.js +1 -1
- package/lib/icon/angle-double-right-line.js +1 -1
- package/lib/icon/angle-double-right.js +1 -1
- package/lib/icon/angle-double-up-line.js +1 -1
- package/lib/icon/angle-down-fill.js +1 -1
- package/lib/icon/angle-down-line.js +1 -1
- package/lib/icon/angle-down.js +1 -1
- package/lib/icon/angle-left.js +1 -1
- package/lib/icon/angle-right.js +1 -1
- package/lib/icon/angle-up-fill.js +1 -1
- package/lib/icon/angle-up.js +1 -1
- package/lib/icon/archive-fill.d.ts +4 -0
- package/lib/icon/archive-fill.js +1 -0
- package/lib/icon/arrows-left.js +1 -1
- package/lib/icon/arrows-right.js +1 -1
- package/lib/icon/audio-fill.d.ts +4 -0
- package/lib/icon/audio-fill.js +1 -0
- package/lib/icon/bk.js +1 -1
- package/lib/icon/circle.js +1 -1
- package/lib/icon/close-line.d.ts +4 -0
- package/lib/icon/close-line.js +1 -0
- package/lib/icon/close.js +1 -1
- package/lib/icon/code.js +1 -1
- package/lib/icon/cog-shape.js +1 -1
- package/lib/icon/collapse-left.js +1 -1
- package/lib/icon/copy-shape.d.ts +4 -0
- package/lib/icon/copy-shape.js +1 -0
- package/lib/icon/copy.js +1 -1
- package/lib/icon/data-shape.d.ts +4 -0
- package/lib/icon/data-shape.js +1 -0
- package/lib/icon/del.d.ts +4 -0
- package/lib/icon/del.js +1 -0
- package/lib/icon/doc-fill.d.ts +4 -0
- package/lib/icon/doc-fill.js +1 -0
- package/lib/icon/done.js +1 -1
- package/lib/icon/down-shape.js +1 -1
- package/lib/icon/down-small.js +1 -1
- package/lib/icon/edit-line.d.ts +4 -0
- package/lib/icon/edit-line.js +1 -0
- package/lib/icon/ellipsis.js +1 -1
- package/lib/icon/enlarge-line.d.ts +4 -0
- package/lib/icon/enlarge-line.js +1 -0
- package/lib/icon/error.js +1 -1
- package/lib/icon/excel-fill.d.ts +4 -0
- package/lib/icon/excel-fill.js +1 -0
- package/lib/icon/exclamation-circle-shape.d.ts +4 -0
- package/lib/icon/exclamation-circle-shape.js +1 -0
- package/lib/icon/eye.js +1 -1
- package/lib/icon/filliscreen-line.d.ts +4 -0
- package/lib/icon/filliscreen-line.js +1 -0
- package/lib/icon/fix-line.d.ts +4 -0
- package/lib/icon/fix-line.js +1 -0
- package/lib/icon/fix-shape.d.ts +4 -0
- package/lib/icon/fix-shape.js +1 -0
- package/lib/icon/folder-open.js +1 -1
- package/lib/icon/folder-shape-open.js +1 -1
- package/lib/icon/folder-shape.js +1 -1
- package/lib/icon/folder.js +1 -1
- package/lib/icon/funnel.js +1 -1
- package/lib/icon/help-document-fill.js +1 -1
- package/lib/icon/help-fill.js +1 -1
- package/lib/icon/help.js +1 -1
- package/lib/icon/image-fill.d.ts +4 -0
- package/lib/icon/image-fill.js +1 -0
- package/lib/icon/img-error.d.ts +4 -0
- package/lib/icon/img-error.js +1 -0
- package/lib/icon/img-placehoulder.d.ts +4 -0
- package/lib/icon/img-placehoulder.js +1 -0
- package/lib/icon/index.d.ts +83 -54
- package/lib/icon/index.js +1 -0
- package/lib/icon/info-line.js +1 -0
- package/lib/icon/info.js +1 -0
- package/lib/icon/left-shape.js +1 -0
- package/lib/icon/left-turn-line.d.ts +4 -0
- package/lib/icon/left-turn-line.js +1 -0
- package/lib/icon/narrow-line.d.ts +4 -0
- package/lib/icon/narrow-line.js +1 -0
- package/lib/icon/original.d.ts +4 -0
- package/lib/icon/original.js +1 -0
- package/lib/icon/pdf-fill.d.ts +4 -0
- package/lib/icon/pdf-fill.js +1 -0
- package/lib/icon/play-shape.js +1 -0
- package/lib/icon/plus.js +1 -0
- package/lib/icon/ppt-fill.d.ts +4 -0
- package/lib/icon/ppt-fill.js +1 -0
- package/lib/icon/qq.js +1 -0
- package/lib/icon/right-shape.js +1 -0
- package/lib/icon/right-turn-line.d.ts +4 -0
- package/lib/icon/right-turn-line.js +1 -0
- package/lib/icon/search.js +1 -0
- package/lib/icon/share.js +1 -0
- package/lib/icon/spinner.js +1 -0
- package/lib/icon/success.js +1 -0
- package/lib/icon/switcher-loading.js +1 -0
- package/lib/icon/text-file.js +1 -0
- package/lib/icon/text-fill.d.ts +4 -0
- package/lib/icon/text-fill.js +1 -0
- package/lib/icon/transfer.d.ts +4 -0
- package/lib/icon/transfer.js +1 -0
- package/lib/icon/tree-application-shape.js +1 -0
- package/lib/icon/unfull-screen.d.ts +4 -0
- package/lib/icon/unfull-screen.js +1 -0
- package/lib/icon/unvisible.js +1 -0
- package/lib/icon/up-shape.js +1 -0
- package/lib/icon/upload.d.ts +4 -0
- package/lib/icon/upload.js +1 -0
- package/lib/icon/video-fill.d.ts +4 -0
- package/lib/icon/video-fill.js +1 -0
- package/lib/icon/warn.js +1 -0
- package/lib/icon/weixin-pro.d.ts +4 -0
- package/lib/icon/weixin-pro.js +1 -0
- package/lib/icon/weixin.js +1 -0
- package/lib/image/image-viewer.css +142 -0
- package/lib/image/image-viewer.d.ts +73 -0
- package/lib/image/image-viewer.less +168 -0
- package/lib/image/image-viewer.variable.css +142 -0
- package/lib/image/image.css +37 -0
- package/lib/image/image.d.ts +93 -0
- package/lib/image/image.less +44 -0
- package/lib/image/image.variable.css +37 -0
- package/lib/image/index.d.ts +246 -0
- package/lib/image/index.js +1 -0
- package/lib/image/props.d.ts +71 -0
- package/lib/index.d.ts +3 -1
- package/lib/index.js +1 -0
- package/lib/info-box/index.d.ts +7 -0
- package/lib/info-box/index.js +1 -0
- package/lib/info-box/info-box.css +37 -0
- package/lib/info-box/info-box.d.ts +29 -0
- package/lib/info-box/info-box.less +51 -0
- package/lib/info-box/info-box.variable.css +159 -0
- package/lib/input/index.d.ts +175 -90
- package/lib/input/index.js +1 -0
- package/lib/input/input.css +183 -19
- package/lib/input/input.d.ts +119 -36
- package/lib/input/input.less +112 -18
- package/lib/input/input.variable.css +246 -55
- package/lib/link/index.d.ts +29 -21
- package/lib/link/index.js +1 -0
- package/lib/link/link.css +12 -12
- package/lib/link/link.d.ts +10 -8
- package/lib/link/link.less +16 -14
- package/lib/link/link.variable.css +44 -16
- package/lib/loading/directive.d.ts +14 -0
- package/lib/loading/index.d.ts +135 -19
- package/lib/loading/index.js +1 -0
- package/lib/loading/loading.css +86 -33
- package/lib/loading/loading.d.ts +94 -12
- package/lib/loading/loading.less +27 -23
- package/lib/loading/loading.variable.css +134 -53
- package/lib/locale/index.d.ts +3 -0
- package/lib/locale/index.js +1 -0
- package/lib/locale/lang/en.d.ts +126 -0
- package/lib/locale/lang/zh-cn.d.ts +3 -0
- package/lib/menu/index.d.ts +16 -24
- package/lib/menu/index.js +1 -0
- package/lib/menu/menu.css +51 -0
- package/lib/menu/menu.d.ts +7 -16
- package/lib/menu/menu.variable.css +101 -22
- package/lib/menu/submenu.variable.css +32 -4
- package/lib/message/index.js +2 -0
- package/lib/message/index.js.LICENSE.txt +6 -0
- package/lib/message/message.css +170 -6
- package/lib/message/message.less +222 -7
- package/lib/message/message.variable.css +202 -10
- package/lib/message/messageConstructor.d.ts +134 -25
- package/lib/modal/index.d.ts +399 -162
- package/lib/modal/index.js +1 -0
- package/lib/modal/modal.css +52 -10
- package/lib/modal/modal.d.ts +151 -63
- package/lib/modal/modal.less +36 -25
- package/lib/modal/modal.variable.css +174 -10
- package/lib/modal/props.mixin.d.ts +63 -28
- package/lib/navigation/index.d.ts +310 -1
- package/lib/navigation/index.js +1 -0
- package/lib/navigation/navigation.css +1 -1
- package/lib/navigation/navigation.d.ts +12 -3
- package/lib/navigation/navigation.less +1 -1
- package/lib/navigation/navigation.variable.css +33 -5
- package/lib/notify/index.js +1 -0
- package/lib/notify/notify.css +25 -5
- package/lib/notify/notify.less +29 -6
- package/lib/notify/notify.variable.css +57 -9
- package/lib/notify/notifyConstructor.d.ts +62 -21
- package/lib/overflow-title/components/overflow-title.d.ts +57 -0
- package/lib/overflow-title/directive/overflow-title.d.ts +3 -0
- package/lib/overflow-title/index.d.ts +170 -0
- package/lib/overflow-title/index.js +1 -0
- package/lib/overflow-title/overflow.css +11 -0
- package/lib/overflow-title/overflow.less +13 -0
- package/lib/overflow-title/overflow.variable.css +11 -0
- package/lib/overflow-title/props.d.ts +43 -0
- package/lib/overflow-title/utils/getActualWidthByCanvas.d.ts +3 -0
- package/lib/overflow-title/utils/getActualWidthByDom.d.ts +3 -0
- package/lib/pagination/index.d.ts +35 -20
- package/lib/pagination/index.js +1 -0
- package/lib/pagination/pagination.css +54 -28
- package/lib/pagination/pagination.d.ts +18 -8
- package/lib/pagination/pagination.less +59 -30
- package/lib/pagination/pagination.variable.css +86 -32
- package/lib/pagination/use-limit.d.ts +3 -1
- package/lib/pagination/use-total.d.ts +3 -1
- package/lib/plugin-popover/index.d.ts +27 -0
- package/lib/plugin-popover/index.js +1 -0
- package/lib/plugins/index.d.ts +1 -0
- package/lib/plugins/index.js +1 -0
- package/lib/pop-confirm/index.d.ts +246 -0
- package/lib/pop-confirm/index.js +1 -0
- package/lib/pop-confirm/pop-confirm.css +28 -0
- package/lib/pop-confirm/pop-confirm.d.ts +95 -0
- package/lib/pop-confirm/pop-confirm.less +34 -0
- package/lib/pop-confirm/pop-confirm.variable.css +150 -0
- package/lib/pop-confirm/props.d.ts +67 -0
- package/lib/popover/arrow.d.ts +2 -0
- package/lib/popover/const.d.ts +16 -0
- package/lib/popover/content.d.ts +43 -0
- package/lib/popover/index.d.ts +484 -108
- package/lib/popover/index.js +1 -0
- package/lib/popover/plugin-popover.d.ts +12 -0
- package/lib/popover/popover.css +10 -50
- package/lib/popover/popover.d.ts +213 -49
- package/lib/popover/popover.less +19 -66
- package/lib/popover/popover.variable.css +42 -54
- package/lib/popover/props.d.ts +103 -35
- package/lib/popover/reference.d.ts +2 -0
- package/lib/popover/root.d.ts +16 -0
- package/lib/popover/use-floating.d.ts +34 -0
- package/lib/popover/use-platform.d.ts +30 -0
- package/lib/popover/use-popover-init.d.ts +23 -0
- package/lib/popover/use-popper-id.d.ts +6 -0
- package/lib/popover/utils.d.ts +8 -0
- package/lib/popover2/index.d.ts +44 -0
- package/lib/popover2/index.js +1 -0
- package/lib/popover2/popover.d.ts +2 -0
- package/lib/preset.d.ts +264 -2
- package/lib/preset.js +1 -0
- package/lib/process/index.d.ts +9 -9
- package/lib/process/index.js +1 -0
- package/lib/process/process.css +22 -0
- package/lib/process/process.d.ts +2 -2
- package/lib/process/process.less +30 -2
- package/lib/process/process.variable.css +54 -4
- package/lib/progress/index.d.ts +34 -34
- package/lib/progress/index.js +1 -0
- package/lib/progress/progress.css +51 -0
- package/lib/progress/progress.d.ts +13 -13
- package/lib/progress/progress.variable.css +87 -8
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +36 -18
- package/lib/radio/index.js +1 -0
- package/lib/radio/radio-button.d.ts +7 -8
- package/lib/radio/radio-group.d.ts +26 -0
- package/lib/radio/radio.css +137 -66
- package/lib/radio/radio.d.ts +4 -4
- package/lib/radio/radio.less +262 -173
- package/lib/radio/radio.variable.css +172 -73
- package/lib/radio/type.d.ts +9 -4
- package/lib/rate/index.d.ts +28 -5
- package/lib/rate/index.js +1 -0
- package/lib/rate/rate.d.ts +13 -2
- package/lib/rate/star.d.ts +1 -1
- package/lib/resize-layout/index.d.ts +21 -21
- package/lib/resize-layout/index.js +1 -0
- package/lib/resize-layout/resize-layout.css +6 -15
- package/lib/resize-layout/resize-layout.d.ts +8 -8
- package/lib/resize-layout/resize-layout.less +10 -19
- package/lib/resize-layout/resize-layout.variable.css +38 -19
- package/lib/search-select/index.d.ts +891 -0
- package/lib/search-select/index.js +1 -0
- package/lib/search-select/input.d.ts +101 -0
- package/lib/search-select/menu.d.ts +77 -0
- package/lib/search-select/search-select.css +427 -0
- package/lib/search-select/search-select.d.ts +361 -0
- package/lib/search-select/search-select.less +384 -0
- package/lib/search-select/search-select.variable.css +549 -0
- package/lib/search-select/selected.d.ts +155 -0
- package/lib/search-select/utils.d.ts +88 -0
- package/lib/select/common.d.ts +5 -12
- package/lib/select/index.d.ts +1831 -690
- package/lib/select/index.js +1 -0
- package/lib/select/option.d.ts +20 -4
- package/lib/select/optionGroup.d.ts +1 -1
- package/lib/select/select.css +209 -113
- package/lib/select/select.d.ts +722 -147
- package/lib/select/select.less +342 -197
- package/lib/select/select.variable.css +241 -117
- package/lib/select/selectTagInput.d.ts +94 -0
- package/lib/select/type.d.ts +23 -13
- package/lib/shared/dom.d.ts +3 -0
- package/lib/shared/helper.d.ts +9 -0
- package/lib/shared/hooks/use-form-item.d.ts +2 -0
- package/lib/shared/hooks/use-form.d.ts +2 -0
- package/lib/shared/index.d.ts +32 -7
- package/lib/shared/index.js +1 -0
- package/lib/shared/mask-manager.d.ts +19 -5
- package/lib/shared/pop-manager.d.ts +16 -5
- package/lib/shared/popover.d.ts +6 -2
- package/lib/shared/token.d.ts +4 -0
- package/lib/shared/utils.d.ts +19 -0
- package/lib/shared/vue-types.d.ts +114 -7
- package/lib/sideslider/index.d.ts +290 -138
- package/lib/sideslider/index.js +1 -0
- package/lib/sideslider/sideslider.css +58 -11
- package/lib/sideslider/sideslider.d.ts +135 -64
- package/lib/sideslider/sideslider.less +75 -14
- package/lib/sideslider/sideslider.variable.css +90 -15
- package/lib/slider/index.d.ts +414 -1
- package/lib/slider/index.js +1 -0
- package/lib/slider/slider-button.d.ts +2 -1
- package/lib/slider/slider.d.ts +4 -4
- package/lib/slider/slider.variable.css +32 -4
- package/lib/steps/index.d.ts +55 -55
- package/lib/steps/index.js +1 -0
- package/lib/steps/steps.css +15 -3
- package/lib/steps/steps.d.ts +33 -33
- package/lib/steps/steps.less +24 -3
- package/lib/steps/steps.variable.css +47 -7
- package/lib/styles/index.d.ts +10 -1
- package/lib/styles/mixins/clearfix.css +8 -0
- package/lib/styles/mixins/clearfix.less +10 -0
- package/lib/styles/mixins/clearfix.variable.css +8 -0
- package/lib/styles/mixins/mixins.css +51 -0
- package/lib/styles/mixins/mixins.less +2 -0
- package/lib/styles/mixins/mixins.variable.css +51 -0
- package/lib/styles/mixins/popper.css +1 -1
- package/lib/styles/mixins/popper.less +12 -11
- package/lib/styles/mixins/popper.variable.css +123 -1
- package/lib/styles/mixins/scroll.css +17 -0
- package/lib/styles/mixins/scroll.less +22 -0
- package/lib/styles/mixins/scroll.variable.css +139 -0
- package/lib/styles/reset.css +36 -0
- package/lib/styles/reset.less +26 -2
- package/lib/styles/reset.variable.css +36 -0
- package/lib/styles/themes/themes.less +42 -4
- package/lib/swiper/index.js +1 -0
- package/lib/switcher/index.d.ts +42 -30
- package/lib/switcher/index.js +1 -0
- package/lib/switcher/switcher.css +57 -6
- package/lib/switcher/switcher.d.ts +19 -13
- package/lib/switcher/switcher.less +3 -26
- package/lib/switcher/switcher.variable.css +106 -27
- package/lib/tab/index.d.ts +122 -68
- package/lib/tab/index.js +1 -0
- package/lib/tab/props.d.ts +93 -41
- package/lib/tab/tab-nav.d.ts +50 -14
- package/lib/tab/tab-panel.d.ts +15 -8
- package/lib/tab/tab.css +151 -55
- package/lib/tab/tab.d.ts +42 -21
- package/lib/tab/tab.less +179 -86
- package/lib/tab/tab.variable.css +183 -59
- package/lib/table/cache.d.ts +6 -0
- package/lib/table/components/index.d.ts +3 -0
- package/lib/table/components/table-cell.d.ts +51 -0
- package/lib/table/components/table-column.d.ts +299 -0
- package/lib/table/components/table-row.d.ts +2 -0
- package/lib/table/const.d.ts +128 -1
- package/lib/table/index.d.ts +1405 -51
- package/lib/table/index.js +1 -0
- package/lib/table/plugins/body-empty.d.ts +36 -0
- package/lib/table/plugins/col-group.d.ts +38 -0
- package/lib/table/plugins/common.d.ts +6 -0
- package/lib/table/plugins/head-filter.css +30 -14
- package/lib/table/plugins/head-filter.d.ts +26 -0
- package/lib/table/plugins/head-filter.less +79 -52
- package/lib/table/plugins/head-filter.variable.css +62 -18
- package/lib/table/plugins/head-sort.css +7 -3
- package/lib/table/plugins/head-sort.d.ts +29 -0
- package/lib/table/plugins/head-sort.less +8 -4
- package/lib/table/plugins/head-sort.variable.css +39 -7
- package/lib/table/plugins/index.d.ts +5 -0
- package/lib/table/plugins/settings.css +147 -0
- package/lib/table/plugins/settings.d.ts +37 -0
- package/lib/table/plugins/settings.less +181 -0
- package/lib/table/plugins/settings.variable.css +269 -0
- package/lib/table/plugins/use-active-columns.d.ts +16 -0
- package/lib/table/plugins/use-column-resize.d.ts +15 -0
- package/lib/table/plugins/use-fixed-column.d.ts +26 -0
- package/lib/table/plugins/use-pagination.d.ts +16 -0
- package/lib/table/plugins/use-scroll-loading.d.ts +5 -0
- package/lib/table/props.d.ts +359 -11
- package/lib/table/render.d.ts +46 -18
- package/lib/table/table.css +1251 -16
- package/lib/table/table.d.ts +270 -20
- package/lib/table/table.less +311 -18
- package/lib/table/table.variable.css +1293 -30
- package/lib/table/use-column.d.ts +12 -0
- package/lib/table/use-common.d.ts +113 -0
- package/lib/table/utils.d.ts +52 -12
- package/lib/table-column/index.d.ts +790 -0
- package/lib/table-column/index.js +1 -0
- package/lib/tag/index.d.ts +29 -29
- package/lib/tag/index.js +1 -0
- package/lib/tag/tag.css +46 -13
- package/lib/tag/tag.d.ts +12 -12
- package/lib/tag/tag.less +46 -10
- package/lib/tag/tag.variable.css +78 -17
- package/lib/tag-input/common.d.ts +13 -1
- package/lib/tag-input/index.d.ts +1406 -1
- package/lib/tag-input/index.js +1 -0
- package/lib/tag-input/list-tag-render.d.ts +0 -3
- package/lib/tag-input/tag-input.css +23 -26
- package/lib/tag-input/tag-input.d.ts +302 -43
- package/lib/tag-input/tag-input.less +102 -104
- package/lib/tag-input/tag-input.variable.css +55 -30
- package/lib/tag-input/tag-props.d.ts +141 -7
- package/lib/tag-input/tag-render.d.ts +30 -4
- package/lib/time-picker/index.d.ts +904 -0
- package/lib/time-picker/index.js +1 -0
- package/lib/time-picker/time-picker.css +215 -0
- package/lib/time-picker/time-picker.less +260 -0
- package/lib/time-picker/time-picker.variable.css +337 -0
- package/lib/timeline/index.d.ts +6 -6
- package/lib/timeline/index.js +1 -0
- package/lib/timeline/timeline.css +16 -9
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/timeline/timeline.less +22 -9
- package/lib/timeline/timeline.variable.css +48 -13
- package/lib/transfer/const.d.ts +5 -0
- package/lib/transfer/index.d.ts +247 -150
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/props.d.ts +59 -0
- package/lib/transfer/transfer.css +153 -92
- package/lib/transfer/transfer.d.ts +101 -95
- package/lib/transfer/transfer.less +142 -112
- package/lib/transfer/transfer.variable.css +191 -102
- package/lib/tree/constant.d.ts +62 -0
- package/lib/tree/index.d.ts +402 -60
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +135 -0
- package/lib/tree/tree.css +181 -9
- package/lib/tree/tree.d.ts +183 -19
- package/lib/tree/tree.less +54 -3
- package/lib/tree/tree.variable.css +213 -13
- package/lib/tree/use-empty.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +12 -0
- package/lib/tree/use-node-async.d.ts +5 -0
- package/lib/tree/use-node-attribute.d.ts +42 -0
- package/lib/tree/use-node-drag.d.ts +3 -0
- package/lib/tree/use-search.d.ts +11 -0
- package/lib/tree/use-tree-init.d.ts +15 -0
- package/lib/tree/util.d.ts +4 -6
- package/lib/upload/index.d.ts +566 -0
- package/lib/upload/index.js +1 -0
- package/lib/upload/props.d.ts +111 -0
- package/lib/upload/upload-list.d.ts +47 -0
- package/lib/upload/upload-trigger.d.ts +51 -0
- package/lib/upload/upload.css +427 -0
- package/lib/upload/upload.d.ts +246 -0
- package/lib/upload/upload.less +466 -0
- package/lib/upload/upload.type.d.ts +78 -0
- package/lib/upload/upload.variable.css +549 -0
- package/lib/upload/use-ajax-upload.d.ts +3 -0
- package/lib/upload/use-file-handler.d.ts +44 -0
- package/lib/virtual-render/index.d.ts +73 -4
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +24 -0
- package/lib/virtual-render/use-tag-render.d.ts +7 -0
- package/lib/virtual-render/v-virtual-render.d.ts +0 -1
- package/lib/virtual-render/virtual-render.css +17 -17
- package/lib/virtual-render/virtual-render.d.ts +34 -1
- package/lib/virtual-render/virtual-render.less +2 -23
- package/lib/virtual-render/virtual-render.variable.css +139 -17
- package/lib/volar.components.d.ts +102 -0
- package/package.json +38 -17
- package/LICENSE.txt +0 -22
- package/lib/form/common.d.ts +0 -3
- package/lib/use-form.d.ts +0 -3
@@ -10,6 +10,7 @@
|
|
10
10
|
@gray-color: #979ba5;
|
11
11
|
@light-gray: #c4c6cc;
|
12
12
|
@white-color: white;
|
13
|
+
@whitesmoke-color: #fafbfd;
|
13
14
|
@disable-color: #dcdee5;
|
14
15
|
|
15
16
|
@font-size-base: 12px;
|
@@ -23,11 +24,12 @@
|
|
23
24
|
|
24
25
|
@component-size-small: 26px;
|
25
26
|
@component-size-base: 32px;
|
26
|
-
@component-size-large:
|
27
|
+
@component-size-large: 40px;
|
27
28
|
|
28
29
|
@border-width-base: 1px;
|
29
30
|
@border-style-base: solid;
|
30
31
|
@border-radius-base: 2px;
|
32
|
+
@border-style-color: @light-gray;
|
31
33
|
|
32
34
|
|
33
35
|
// input theme
|
@@ -40,8 +42,10 @@
|
|
40
42
|
@input-broder-radius: 3px;
|
41
43
|
@input-shadow-color: #a3c5fd;
|
42
44
|
@input-horizontal-padding: 10px;
|
43
|
-
@input-block-color: #
|
44
|
-
@input-
|
45
|
+
@input-block-color: #f5f7fa;
|
46
|
+
@input-block-hover-color: #eaebf0;
|
47
|
+
|
48
|
+
@input-icon-size: @font-size-medium;
|
45
49
|
@input-maxlength-color: #979ba5;
|
46
50
|
|
47
51
|
//button theme
|
@@ -54,6 +58,21 @@
|
|
54
58
|
@button-danger-active-color: #db2626;
|
55
59
|
@button-success-active-color: #1ab943;
|
56
60
|
@button-warning-active-color: #eb9000;
|
61
|
+
@button-selected-bg-color: #e1ecff;
|
62
|
+
@button-disabled-selected-bg-color: #f0f1f5;
|
63
|
+
|
64
|
+
// radio theme
|
65
|
+
@radio-font-color: #63656e;
|
66
|
+
@radio-active-color: #5594fa;
|
67
|
+
@radio-hover-border-color: #979ba5;
|
68
|
+
@radio-disabled-border: #dcdee5;
|
69
|
+
@radio-disabled-font-color: #c4c6cc;
|
70
|
+
@radio-disabled-checked-bg: #a3c5fd;
|
71
|
+
@radio-button-checked-bg: #e1ecff;
|
72
|
+
@radio-button-disabled-checked-bg: #fafbfd;
|
73
|
+
|
74
|
+
// checkbox theme
|
75
|
+
@checkbox-disabled-checked-bg: #a3c5fd;
|
57
76
|
|
58
77
|
// fixed-navbar theme
|
59
78
|
@fixed-navbar-background: #fff;
|
@@ -84,12 +103,16 @@
|
|
84
103
|
@message-color: @default-color;
|
85
104
|
@message-primary-bg-color: #f0f8ff;
|
86
105
|
@message-primary-border-color: #e1ecff;
|
106
|
+
@message-primary-shadow-color: #e1e8f4;
|
87
107
|
@message-warning-bg-color: #fff4e2;
|
88
108
|
@message-warning-border-color: #ffe8c3;
|
109
|
+
@message-warning-shadow-color: #ede6db;
|
89
110
|
@message-success-bg-color: #f2fff4;
|
90
111
|
@message-success-border-color: #dcffe2;
|
112
|
+
@message-success-shadow-color: #cef0d7;
|
91
113
|
@message-danger-bg-color: #ffeded;
|
92
114
|
@message-danger-border-color: #ffdddd;
|
115
|
+
@message-danger-shadow-color: #f6dada;
|
93
116
|
|
94
117
|
// slider theme
|
95
118
|
@slider-default-bg: #dcdee5;
|
@@ -122,6 +145,21 @@
|
|
122
145
|
@table-head-bg-color: #fafbfd;
|
123
146
|
@table-head-font-color: #313238;
|
124
147
|
|
125
|
-
@table-body-font-color: #
|
148
|
+
@table-body-font-color: #63656E;
|
126
149
|
@table-row-hover-bg-color: #f5f7fa;
|
127
150
|
@table-row-active-bg-color: #f0f1f5;
|
151
|
+
|
152
|
+
// cascader theme
|
153
|
+
@cascader-panel-border-color: #dcdee5;
|
154
|
+
@cascader-panel-hover: #f5f7fa;
|
155
|
+
@cascader-panel-active: #e1ecff;
|
156
|
+
@cascader-panel-disabled-bg: #fff;
|
157
|
+
|
158
|
+
|
159
|
+
// search-select theme
|
160
|
+
@search-select-focus-border-color: @primary-color;
|
161
|
+
@search-select-focus-color: #3c96ff;
|
162
|
+
@search-select-font-color: @default-color;
|
163
|
+
@search-select-placeholder-color: @light-gray;
|
164
|
+
@search-select-message-color: @danger-color;
|
165
|
+
@search-select-menu-border-color: @disable-color;
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],n);else{var t="object"==typeof exports?n(require("../shared"),require("vue")):n(e["../shared"],e.vue);for(var r in t)("object"==typeof exports?exports:e)[r]=t[r]}}(self,((e,n)=>(()=>{"use strict";var t={4212:n=>{n.exports=e},748:e=>{e.exports=n}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,o),a.exports}o.d=(e,n)=>{for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{o.r(a),o.d(a,{default:()=>r});var e=o(4212),n=o(748);const t=(0,n.defineComponent)({name:"Swiper",props:{isLoop:e.PropTypes.bool.def(!0),loopTime:e.PropTypes.number.def(8e3),pics:e.PropTypes.array.def([]),list:e.PropTypes.array.def([]),height:e.PropTypes.number,width:e.PropTypes.number},emits:["index-change"],setup:function(e,t){var r,o=t.emit,a=t.slots,i=(0,n.toRefs)(e),l=i.isLoop,u=i.loopTime,s=i.pics,c=i.list,p=i.height,d=i.width,v=(0,n.ref)(),f=(0,n.ref)(0),h=(0,n.ref)(0),b=(0,n.ref)(0),m=(0,n.ref)(0),w=(0,n.computed)((function(){var e;return(null===(e=c.value)||void 0===e?void 0:e.length)>0?c.value:s.value})),g=(0,n.computed)((function(){return{width:"".concat(h.value*w.value.length,"px"),transform:"translateX(-".concat(h.value*f.value,"px)")}})),y=(0,n.computed)((function(){return{width:"".concat(h.value,"px"),height:"".concat(b.value,"px")}})),k=function(e){var n=e;e>=w.value.length&&(n=0),e<0&&(n=w.value.length-1),f.value=n,o("index-change",n)},x=function(e){return["bk-swiper-img",{"bk-swiper-link":e.link},e.class]},T=function(e){return{"background-image":"url(".concat(e.url,")"),"background-color":e.color}},N=function(e){return{"bk-current-index":f.value===e}},P=function e(){l.value&&(m.value=window.setTimeout((function(){k(f.value+1),e()}),u.value))},V=function(){var e,n=function(e){if(void 0===e)return{height:0,width:0};var n=getComputedStyle(e),t=e.clientWidth-parseFloat(n.paddingTop)-parseFloat(n.paddingBottom);return{height:e.clientHeight-parseFloat(n.paddingLeft)-parseFloat(n.paddingRight),width:t}}(null===(e=v.value)||void 0===e?void 0:e.parentElement);h.value=+d.value>0?d.value:n.width,b.value=+p.value>0?p.value:n.height};return(0,n.watch)([p,d],V),(0,n.onMounted)((function(){var e,n;V(),P(),(n=null===(e=v.value)||void 0===e?void 0:e.parentElement)&&window.ResizeObserver&&(r=new ResizeObserver((function(){V()}))).observe(n)})),(0,n.onBeforeUnmount)((function(){var e;window.clearTimeout(m.value),null===(e=r.disconnect)||void 0===e||e.call(r)})),function(){return(0,n.createVNode)("section",{class:"bk-swiper-home",ref:v,style:y.value},[(0,n.createVNode)("hgroup",{style:g.value,class:"bk-transition bk-swiper-main"},[w.value.map((function(e){var t,r;return(0,n.createVNode)("h3",{class:"bk-swiper-card",style:y.value},[null!==(r=null===(t=a.default)||void 0===t?void 0:t.call(a,e))&&void 0!==r?r:(0,n.createVNode)("span",{class:x(e),style:T(e),onClick:function(){var n;(n=e.link)&&window.open(n,"_blank")}},null)])}))]),(0,n.createVNode)("ul",{class:"bk-swiper-index"},[w.value.map((function(e,t){return(0,n.createVNode)("li",{class:N(t),onMouseover:function(){return k(t)}},null)}))]),(0,n.createVNode)("span",{class:"bk-swiper-nav bk-nav-prev",onClick:function(){return k(f.value-1)}},[(0,n.createVNode)("i",{class:"bk-swiper-nav-icon"},null)]),(0,n.createVNode)("span",{class:"bk-swiper-nav bk-nav-next",onClick:function(){return k(f.value+1)}},[(0,n.createVNode)("i",{class:"bk-swiper-nav-icon"},null)])])}}}),r=(0,e.withInstall)(t)})(),a})()));
|
package/lib/switcher/index.d.ts
CHANGED
@@ -3,24 +3,22 @@ declare const BkSwitcher: {
|
|
3
3
|
$: import("vue").ComponentInternalInstance;
|
4
4
|
$data: {};
|
5
5
|
$props: Partial<{
|
6
|
-
theme: string;
|
7
|
-
value: string | number | boolean;
|
8
6
|
extCls: string;
|
9
7
|
disabled: boolean;
|
8
|
+
value: string | number | boolean;
|
10
9
|
modelValue: string | number | boolean;
|
10
|
+
withValidate: boolean;
|
11
|
+
beforeChange: (...args: any[]) => any;
|
11
12
|
showText: boolean;
|
12
13
|
isOutline: boolean;
|
13
14
|
onText: string;
|
14
15
|
offText: string;
|
15
16
|
isSquare: boolean;
|
16
|
-
preCheck: (...args: any[]) => any;
|
17
17
|
trueValue: string | number | boolean;
|
18
18
|
falseValue: string | number | boolean;
|
19
19
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
20
|
-
theme: import("vue-types").VueTypeDef<
|
21
|
-
|
22
|
-
};
|
23
|
-
size: import("vue-types").VueTypeDef<string>;
|
20
|
+
theme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
|
21
|
+
size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
|
24
22
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
25
23
|
default: boolean;
|
26
24
|
};
|
@@ -46,7 +44,7 @@ declare const BkSwitcher: {
|
|
46
44
|
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
47
45
|
default: string;
|
48
46
|
};
|
49
|
-
|
47
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
50
48
|
default: (...args: any[]) => any;
|
51
49
|
} & {
|
52
50
|
default: (...args: any[]) => any;
|
@@ -63,10 +61,15 @@ declare const BkSwitcher: {
|
|
63
61
|
modelValue: import("vue-types").VueTypeDef<string | number | boolean> & {
|
64
62
|
default: string | number | boolean;
|
65
63
|
};
|
64
|
+
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
65
|
+
default: boolean;
|
66
|
+
} & {
|
67
|
+
default: boolean;
|
68
|
+
};
|
66
69
|
}>> & {
|
67
70
|
onChange?: (...args: any[]) => any;
|
68
71
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
69
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
72
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "extCls" | "disabled" | "value" | "modelValue" | "withValidate" | "beforeChange" | "showText" | "isOutline" | "onText" | "offText" | "isSquare" | "trueValue" | "falseValue">;
|
70
73
|
$attrs: {
|
71
74
|
[x: string]: unknown;
|
72
75
|
};
|
@@ -81,10 +84,8 @@ declare const BkSwitcher: {
|
|
81
84
|
$emit: (event: "change" | "update:modelValue", ...args: any[]) => void;
|
82
85
|
$el: any;
|
83
86
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
84
|
-
theme: import("vue-types").VueTypeDef<
|
85
|
-
|
86
|
-
};
|
87
|
-
size: import("vue-types").VueTypeDef<string>;
|
87
|
+
theme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
|
88
|
+
size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
|
88
89
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
89
90
|
default: boolean;
|
90
91
|
};
|
@@ -110,7 +111,7 @@ declare const BkSwitcher: {
|
|
110
111
|
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
111
112
|
default: string;
|
112
113
|
};
|
113
|
-
|
114
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
114
115
|
default: (...args: any[]) => any;
|
115
116
|
} & {
|
116
117
|
default: (...args: any[]) => any;
|
@@ -127,21 +128,26 @@ declare const BkSwitcher: {
|
|
127
128
|
modelValue: import("vue-types").VueTypeDef<string | number | boolean> & {
|
128
129
|
default: string | number | boolean;
|
129
130
|
};
|
131
|
+
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
132
|
+
default: boolean;
|
133
|
+
} & {
|
134
|
+
default: boolean;
|
135
|
+
};
|
130
136
|
}>> & {
|
131
137
|
onChange?: (...args: any[]) => any;
|
132
138
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
133
139
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], string, {
|
134
|
-
theme: string;
|
135
|
-
value: string | number | boolean;
|
136
140
|
extCls: string;
|
137
141
|
disabled: boolean;
|
142
|
+
value: string | number | boolean;
|
138
143
|
modelValue: string | number | boolean;
|
144
|
+
withValidate: boolean;
|
145
|
+
beforeChange: (...args: any[]) => any;
|
139
146
|
showText: boolean;
|
140
147
|
isOutline: boolean;
|
141
148
|
onText: string;
|
142
149
|
offText: string;
|
143
150
|
isSquare: boolean;
|
144
|
-
preCheck: (...args: any[]) => any;
|
145
151
|
trueValue: string | number | boolean;
|
146
152
|
falseValue: string | number | boolean;
|
147
153
|
}> & {
|
@@ -165,10 +171,8 @@ declare const BkSwitcher: {
|
|
165
171
|
$nextTick: typeof import("vue").nextTick;
|
166
172
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
167
173
|
} & Readonly<import("vue").ExtractPropTypes<{
|
168
|
-
theme: import("vue-types").VueTypeDef<
|
169
|
-
|
170
|
-
};
|
171
|
-
size: import("vue-types").VueTypeDef<string>;
|
174
|
+
theme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
|
175
|
+
size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
|
172
176
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
173
177
|
default: boolean;
|
174
178
|
};
|
@@ -194,7 +198,7 @@ declare const BkSwitcher: {
|
|
194
198
|
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
195
199
|
default: string;
|
196
200
|
};
|
197
|
-
|
201
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
198
202
|
default: (...args: any[]) => any;
|
199
203
|
} & {
|
200
204
|
default: (...args: any[]) => any;
|
@@ -211,6 +215,11 @@ declare const BkSwitcher: {
|
|
211
215
|
modelValue: import("vue-types").VueTypeDef<string | number | boolean> & {
|
212
216
|
default: string | number | boolean;
|
213
217
|
};
|
218
|
+
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
219
|
+
default: boolean;
|
220
|
+
} & {
|
221
|
+
default: boolean;
|
222
|
+
};
|
214
223
|
}>> & {
|
215
224
|
onChange?: (...args: any[]) => any;
|
216
225
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -219,10 +228,8 @@ declare const BkSwitcher: {
|
|
219
228
|
__isTeleport?: never;
|
220
229
|
__isSuspense?: never;
|
221
230
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
222
|
-
theme: import("vue-types").VueTypeDef<
|
223
|
-
|
224
|
-
};
|
225
|
-
size: import("vue-types").VueTypeDef<string>;
|
231
|
+
theme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
|
232
|
+
size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
|
226
233
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
227
234
|
default: boolean;
|
228
235
|
};
|
@@ -248,7 +255,7 @@ declare const BkSwitcher: {
|
|
248
255
|
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
249
256
|
default: string;
|
250
257
|
};
|
251
|
-
|
258
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
252
259
|
default: (...args: any[]) => any;
|
253
260
|
} & {
|
254
261
|
default: (...args: any[]) => any;
|
@@ -265,21 +272,26 @@ declare const BkSwitcher: {
|
|
265
272
|
modelValue: import("vue-types").VueTypeDef<string | number | boolean> & {
|
266
273
|
default: string | number | boolean;
|
267
274
|
};
|
275
|
+
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
276
|
+
default: boolean;
|
277
|
+
} & {
|
278
|
+
default: boolean;
|
279
|
+
};
|
268
280
|
}>> & {
|
269
281
|
onChange?: (...args: any[]) => any;
|
270
282
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
271
283
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", {
|
272
|
-
theme: string;
|
273
|
-
value: string | number | boolean;
|
274
284
|
extCls: string;
|
275
285
|
disabled: boolean;
|
286
|
+
value: string | number | boolean;
|
276
287
|
modelValue: string | number | boolean;
|
288
|
+
withValidate: boolean;
|
289
|
+
beforeChange: (...args: any[]) => any;
|
277
290
|
showText: boolean;
|
278
291
|
isOutline: boolean;
|
279
292
|
onText: string;
|
280
293
|
offText: string;
|
281
294
|
isSquare: boolean;
|
282
|
-
preCheck: (...args: any[]) => any;
|
283
295
|
trueValue: string | number | boolean;
|
284
296
|
falseValue: string | number | boolean;
|
285
297
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o(require("../shared"),require("vue"),require("../icon"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../icon"],o);else{var r="object"==typeof exports?o(require("../shared"),require("vue"),require("../icon")):o(e["../shared"],e.vue,e["../icon"]);for(var t in r)("object"==typeof exports?exports:e)[t]=r[t]}}(self,((e,o,r)=>(()=>{"use strict";var t={6870:e=>{e.exports=r},4212:o=>{o.exports=e},748:e=>{e.exports=o}},n={};function u(e){var o=n[e];if(void 0!==o)return o.exports;var r=n[e]={exports:{}};return t[e](r,r.exports,u),r.exports}u.d=(e,o)=>{for(var r in o)u.o(o,r)&&!u.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:o[r]})},u.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{u.r(i),u.d(i,{default:()=>a});var e=u(4212);function o(e,o,r){return o in e?Object.defineProperty(e,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[o]=r,e}var r=u(748),t=u(6870);const n=(0,r.defineComponent)({name:"Switcher",props:{theme:e.PropTypes.theme(),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,beforeChange: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),withValidate:e.PropTypes.bool.def(!0)},emits:["update:modelValue","change"],setup:function(n,u){var i=u.emit,a=(0,e.useFormItem)(),s=(0,r.ref)(!1),l=(0,r.computed)((function(){return n.trueValue===f.value})),p=(0,r.ref)(!1!==n.modelValue),f=(0,r.computed)((function(){return p.value?n.modelValue:n.value})),c=(0,r.computed)((function(){var e,r=(o(e={},n.extCls,!!n.extCls),o(e,"bk-switcher",!0),o(e,"bk-switcher-outline",n.isOutline),o(e,"bk-switcher-square",n.isSquare),o(e,"show-label",n.showText),o(e,"is-disabled",n.disabled),o(e,"is-checked",l.value),o(e,"is-unchecked",!l.value),o(e,"is-loading",s.value),o(e,"bk-primary","primary"===n.theme),e);return n.size&&!n.showText&&(r["bk-switcher-".concat(n.size)]=!0),r}));(0,r.watch)((function(){return n.modelValue}),(function(){var e;p.value=!0,n.withValidate&&(null===(e=null==a?void 0:a.validate)||void 0===e||e.call(a,"change"))})),(0,r.watch)((function(){return n.value}),(function(){p.value=!1}));var d=function(e){if(e.stopPropagation(),e.preventDefault(),!n.disabled&&!s.value){var o=l.value?n.falseValue:n.trueValue,r=!l.value,t=function(){i("update:modelValue",o),i("change",r)},u=!0;if("function"==typeof n.beforeChange&&"function"==typeof(u=n.beforeChange(o)).then)return s.value=!0,u.then((function(){t()})).finally((function(){s.value=!1}));u&&t()}},y=function(e){"Enter"!==e.code&&"Enter"!==e.key&&13!==e.keyCode||d(e)};return function(){return(0,r.createVNode)("div",{class:c.value,onClick:d,tabindex:"0",onKeydown:y},[s.value?(0,r.createVNode)(t.SwitcherLoading,{class:"bk-switcher-loading"},null):"",n.showText?(0,r.createVNode)("span",{class:"switcher-text"},[l.value?n.onText:n.offText]):""])}}}),a=(0,e.withInstall)(n)})(),i})()));
|
@@ -19,6 +19,57 @@
|
|
19
19
|
.bk-fade-transtion .bk-fade-leave-to {
|
20
20
|
opacity: 0;
|
21
21
|
}
|
22
|
+
.clearfix-style::after {
|
23
|
+
display: block;
|
24
|
+
height: 0;
|
25
|
+
clear: both;
|
26
|
+
font-size: 0;
|
27
|
+
content: '';
|
28
|
+
visibility: hidden;
|
29
|
+
}
|
30
|
+
.bk-popper {
|
31
|
+
display: none;
|
32
|
+
padding: 7px 14px;
|
33
|
+
font-size: 12px;
|
34
|
+
color: #fff;
|
35
|
+
background: #333;
|
36
|
+
border-radius: 4px;
|
37
|
+
}
|
38
|
+
.bk-popper.light {
|
39
|
+
color: #63656e;
|
40
|
+
background: #fff;
|
41
|
+
box-shadow: #dcdee5 0 0 6px 0;
|
42
|
+
}
|
43
|
+
.bk-popper .bk-popper-arrow,
|
44
|
+
.bk-popper .bk-popper-arrow::before {
|
45
|
+
position: absolute;
|
46
|
+
width: 8px;
|
47
|
+
height: 8px;
|
48
|
+
background: inherit;
|
49
|
+
}
|
50
|
+
.bk-popper .bk-popper-arrow {
|
51
|
+
visibility: hidden;
|
52
|
+
}
|
53
|
+
.bk-popper .bk-popper-arrow::before {
|
54
|
+
content: '';
|
55
|
+
visibility: visible;
|
56
|
+
transform: rotate(45deg);
|
57
|
+
}
|
58
|
+
.bk-popper[data-show] {
|
59
|
+
display: block;
|
60
|
+
}
|
61
|
+
.bk-popper[data-popper-placement^='top'] > .bk-popper-arrow {
|
62
|
+
bottom: -4px;
|
63
|
+
}
|
64
|
+
.bk-popper[data-popper-placement^='bottom'] > .bk-popper-arrow {
|
65
|
+
top: -4px;
|
66
|
+
}
|
67
|
+
.bk-popper[data-popper-placement^='left'] > .bk-popper-arrow {
|
68
|
+
right: -4px;
|
69
|
+
}
|
70
|
+
.bk-popper[data-popper-placement^='right'] > .bk-popper-arrow {
|
71
|
+
left: -4px;
|
72
|
+
}
|
22
73
|
.bk-switcher {
|
23
74
|
position: relative;
|
24
75
|
display: inline-block;
|
@@ -145,10 +196,10 @@
|
|
145
196
|
.bk-switcher.is-checked .bk-switcher-loading svg {
|
146
197
|
color: #2dcb56;
|
147
198
|
}
|
148
|
-
.bk-switcher.is-checked:not(.bk-switcher-outline).bk-switcher.is-checked.primary {
|
199
|
+
.bk-switcher.is-checked:not(.bk-switcher-outline).bk-switcher.is-checked.bk-primary {
|
149
200
|
background: #3a84ff;
|
150
201
|
}
|
151
|
-
.bk-switcher.is-checked:not(.bk-switcher-outline).bk-switcher.is-checked.primary .bk-switcher-loading svg {
|
202
|
+
.bk-switcher.is-checked:not(.bk-switcher-outline).bk-switcher.is-checked.bk-primary .bk-switcher-loading svg {
|
152
203
|
color: #3a84ff;
|
153
204
|
}
|
154
205
|
.bk-switcher.is-checked:after {
|
@@ -189,13 +240,13 @@
|
|
189
240
|
.bk-switcher.bk-switcher-outline .bk-switcher-loading svg {
|
190
241
|
color: #fff;
|
191
242
|
}
|
192
|
-
.bk-switcher.bk-switcher-outline.bk-switcher.primary.is-checked {
|
243
|
+
.bk-switcher.bk-switcher-outline.bk-switcher.bk-primary.is-checked {
|
193
244
|
border: 1px solid #3a84ff;
|
194
245
|
}
|
195
|
-
.bk-switcher.bk-switcher-outline.bk-switcher.primary.is-checked:after {
|
246
|
+
.bk-switcher.bk-switcher-outline.bk-switcher.bk-primary.is-checked:after {
|
196
247
|
background: #3a84ff;
|
197
248
|
}
|
198
|
-
.bk-switcher.bk-switcher-outline.bk-switcher.primary.is-checked .switcher-text {
|
249
|
+
.bk-switcher.bk-switcher-outline.bk-switcher.bk-primary.is-checked .switcher-text {
|
199
250
|
color: #3a84ff;
|
200
251
|
}
|
201
252
|
.bk-switcher.bk-switcher-square {
|
@@ -239,7 +290,7 @@
|
|
239
290
|
.bk-switcher.bk-switcher-small.is-checked .bk-switcher-loading {
|
240
291
|
margin-left: -13px;
|
241
292
|
}
|
242
|
-
:not(.show-label).bk-switcher-
|
293
|
+
:not(.show-label).bk-switcher-default.bk-switcher-outline::after {
|
243
294
|
width: 16px;
|
244
295
|
height: 16px;
|
245
296
|
}
|
@@ -1,8 +1,6 @@
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
2
|
-
theme: import("vue-types").VueTypeDef<
|
3
|
-
|
4
|
-
};
|
5
|
-
size: import("vue-types").VueTypeDef<string>;
|
2
|
+
theme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
|
3
|
+
size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
|
6
4
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
7
5
|
default: boolean;
|
8
6
|
};
|
@@ -28,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
28
26
|
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
29
27
|
default: string;
|
30
28
|
};
|
31
|
-
|
29
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
32
30
|
default: (...args: any[]) => any;
|
33
31
|
} & {
|
34
32
|
default: (...args: any[]) => any;
|
@@ -45,11 +43,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
45
43
|
modelValue: import("vue-types").VueTypeDef<string | number | boolean> & {
|
46
44
|
default: string | number | boolean;
|
47
45
|
};
|
48
|
-
|
49
|
-
|
50
|
-
|
46
|
+
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
47
|
+
default: boolean;
|
48
|
+
} & {
|
49
|
+
default: boolean;
|
51
50
|
};
|
52
|
-
|
51
|
+
}, () => 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<{
|
52
|
+
theme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
|
53
|
+
size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
|
53
54
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
54
55
|
default: boolean;
|
55
56
|
};
|
@@ -75,7 +76,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
75
76
|
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
76
77
|
default: string;
|
77
78
|
};
|
78
|
-
|
79
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
79
80
|
default: (...args: any[]) => any;
|
80
81
|
} & {
|
81
82
|
default: (...args: any[]) => any;
|
@@ -92,21 +93,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
92
93
|
modelValue: import("vue-types").VueTypeDef<string | number | boolean> & {
|
93
94
|
default: string | number | boolean;
|
94
95
|
};
|
96
|
+
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
97
|
+
default: boolean;
|
98
|
+
} & {
|
99
|
+
default: boolean;
|
100
|
+
};
|
95
101
|
}>> & {
|
96
102
|
onChange?: (...args: any[]) => any;
|
97
103
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
98
104
|
}, {
|
99
|
-
theme: string;
|
100
|
-
value: string | number | boolean;
|
101
105
|
extCls: string;
|
102
106
|
disabled: boolean;
|
107
|
+
value: string | number | boolean;
|
103
108
|
modelValue: string | number | boolean;
|
109
|
+
withValidate: boolean;
|
110
|
+
beforeChange: (...args: any[]) => any;
|
104
111
|
showText: boolean;
|
105
112
|
isOutline: boolean;
|
106
113
|
onText: string;
|
107
114
|
offText: string;
|
108
115
|
isSquare: boolean;
|
109
|
-
preCheck: (...args: any[]) => any;
|
110
116
|
trueValue: string | number | boolean;
|
111
117
|
falseValue: string | number | boolean;
|
112
118
|
}>;
|
@@ -62,7 +62,6 @@
|
|
62
62
|
pointer-events: none;
|
63
63
|
border-radius: inherit;
|
64
64
|
content: '';
|
65
|
-
// box-shadow: 0 0 0 0 var(--antd-wave-shadow-color);
|
66
65
|
opacity: .2;
|
67
66
|
box-shadow: 0 0 0 0 #1890ff;
|
68
67
|
animation: fadeEffect 2s cubic-bezier(.08,.82,.17,1),waveEffect .4s cubic-bezier(.08,.82,.17,1);
|
@@ -152,7 +151,7 @@
|
|
152
151
|
}
|
153
152
|
}
|
154
153
|
|
155
|
-
&:not(.bk-switcher-outline)&.primary {
|
154
|
+
&:not(.bk-switcher-outline)&.bk-primary {
|
156
155
|
background: @primary-color;
|
157
156
|
|
158
157
|
.bk-switcher-loading {
|
@@ -201,7 +200,6 @@
|
|
201
200
|
border: 1px solid @success-color;
|
202
201
|
|
203
202
|
&:after {
|
204
|
-
// margin-left: -33px;
|
205
203
|
background-color: @success-color;
|
206
204
|
}
|
207
205
|
|
@@ -211,19 +209,6 @@
|
|
211
209
|
|
212
210
|
}
|
213
211
|
|
214
|
-
// &.is-disabled {
|
215
|
-
// background-color: @switch-default-color;
|
216
|
-
// border-color: #eee;
|
217
|
-
|
218
|
-
// .switcher-text {
|
219
|
-
// color: #eee;
|
220
|
-
// }
|
221
|
-
|
222
|
-
// &:after {
|
223
|
-
// background-color: #eee;
|
224
|
-
// }
|
225
|
-
// }
|
226
|
-
|
227
212
|
.bk-switcher-loading {
|
228
213
|
svg {
|
229
214
|
color: #fff;
|
@@ -231,7 +216,7 @@
|
|
231
216
|
}
|
232
217
|
}
|
233
218
|
|
234
|
-
&.bk-switcher-outline&.primary {
|
219
|
+
&.bk-switcher-outline&.bk-primary {
|
235
220
|
&.is-checked {
|
236
221
|
border: 1px solid @primary-color;
|
237
222
|
|
@@ -276,14 +261,6 @@
|
|
276
261
|
}
|
277
262
|
}
|
278
263
|
|
279
|
-
// &.is-checked {
|
280
|
-
// &:after {
|
281
|
-
// top: 2px;
|
282
|
-
// left: 100%;
|
283
|
-
// margin-left: -22px;
|
284
|
-
// }
|
285
|
-
|
286
|
-
// }
|
287
264
|
}
|
288
265
|
|
289
266
|
&.bk-switcher-small {
|
@@ -312,7 +289,7 @@
|
|
312
289
|
}
|
313
290
|
}
|
314
291
|
|
315
|
-
&:not(.show-label).bk-switcher-
|
292
|
+
&:not(.show-label).bk-switcher-default.bk-switcher-outline {
|
316
293
|
&::after {
|
317
294
|
width: 16px;
|
318
295
|
height: 16px;
|