bkui-vue 2.0.1-beta.107 → 2.0.1-beta.108
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/dist/index.cjs.js +71 -71
- package/dist/index.esm.js +18590 -18752
- package/dist/index.umd.js +70 -70
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.css +130 -0
- package/lib/affix/affix.variable.css +261 -1
- package/lib/affix/index.d.ts +111 -57
- package/lib/affix/index.js +17 -17
- package/lib/alert/alert.css +133 -3
- package/lib/alert/alert.variable.css +261 -1
- package/lib/alert/index.d.ts +126 -73
- package/lib/alert/index.js +20 -20
- package/lib/animate-number/index.d.ts +96 -33
- package/lib/animate-number/index.js +7 -8
- package/lib/backtop/backtop.css +133 -3
- package/lib/backtop/backtop.variable.css +394 -4
- package/lib/backtop/index.d.ts +117 -69
- package/lib/backtop/index.js +10 -11
- package/lib/badge/badge.css +156 -26
- package/lib/badge/badge.variable.css +261 -1
- package/lib/badge/index.d.ts +152 -119
- package/lib/badge/index.js +19 -19
- package/lib/breadcrumb/breadcrumb.css +135 -5
- package/lib/breadcrumb/breadcrumb.variable.css +396 -6
- package/lib/breadcrumb/index.d.ts +119 -67
- package/lib/breadcrumb/index.js +17 -17
- package/lib/button/button.css +273 -143
- package/lib/button/button.d.ts +2 -2
- package/lib/button/button.variable.css +261 -1
- package/lib/button/index.d.ts +155 -119
- package/lib/button/index.js +20 -19
- package/lib/card/card.css +134 -4
- package/lib/card/card.variable.css +395 -5
- package/lib/card/index.d.ts +157 -128
- package/lib/card/index.js +22 -20
- package/lib/cascader/cascader.css +153 -23
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/cascader.variable.css +414 -24
- package/lib/cascader/index.d.ts +354 -393
- package/lib/cascader/index.js +268 -270
- package/lib/checkbox/checkbox.css +140 -10
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/checkbox.variable.css +261 -1
- package/lib/checkbox/index.d.ts +175 -143
- package/lib/checkbox/index.js +45 -45
- package/lib/code-diff/code-diff.css +130 -0
- package/lib/code-diff/code-diff.variable.css +261 -1
- package/lib/code-diff/index.d.ts +82 -65
- package/lib/code-diff/index.js +438 -381
- package/lib/collapse/collapse.css +131 -1
- package/lib/collapse/collapse.variable.css +261 -1
- package/lib/collapse/index.d.ts +175 -156
- package/lib/collapse/index.js +27 -28
- package/lib/collapse-transition/collapse-transition.css +130 -0
- package/lib/collapse-transition/collapse-transition.variable.css +261 -1
- package/lib/collapse-transition/index.d.ts +94 -19
- package/lib/collapse-transition/index.js +3 -4
- package/lib/color-picker/color-picker.css +130 -0
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/color-picker.variable.css +261 -1
- package/lib/color-picker/index.d.ts +165 -144
- package/lib/color-picker/index.js +41 -43
- package/lib/config-provider/config-provider.css +130 -0
- package/lib/config-provider/config-provider.variable.css +261 -1
- package/lib/config-provider/index.d.ts +227 -160
- package/lib/config-provider/index.js +17 -17
- package/lib/container/container.css +130 -0
- package/lib/container/container.d.ts +1 -1
- package/lib/container/container.variable.css +391 -1
- package/lib/container/index.d.ts +85 -74
- package/lib/container/index.js +26 -28
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/date-picker.css +147 -17
- package/lib/date-picker/date-picker.d.ts +4 -4
- package/lib/date-picker/date-picker.variable.css +261 -1
- package/lib/date-picker/index.d.ts +351 -380
- package/lib/date-picker/index.js +79 -80
- package/lib/date-picker/panel/date-range.d.ts +1 -1
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +2 -2
- package/lib/date-picker/panel/time.d.ts +2 -2
- package/lib/date-picker/time-picker.d.ts +4 -4
- package/lib/dialog/dialog.css +138 -8
- package/lib/dialog/dialog.variable.css +399 -9
- package/lib/dialog/index.d.ts +269 -299
- package/lib/dialog/index.js +228 -227
- package/lib/directives/index.js +29 -29
- package/lib/divider/divider.css +133 -3
- package/lib/divider/divider.variable.css +261 -1
- package/lib/divider/index.d.ts +111 -57
- package/lib/divider/index.js +2 -3
- package/lib/dropdown/dropdown.css +130 -0
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/dropdown.variable.css +391 -1
- package/lib/dropdown/index.d.ts +136 -94
- package/lib/dropdown/index.js +22 -24
- package/lib/exception/exception.css +130 -0
- package/lib/exception/exception.variable.css +261 -1
- package/lib/exception/index.d.ts +102 -41
- package/lib/exception/index.js +21 -21
- package/lib/fixed-navbar/fixed-navbar.css +134 -4
- package/lib/fixed-navbar/fixed-navbar.variable.css +261 -1
- package/lib/fixed-navbar/index.d.ts +113 -59
- package/lib/fixed-navbar/index.js +2 -3
- package/lib/form/form.css +130 -0
- package/lib/form/form.d.ts +1 -1
- package/lib/form/form.variable.css +261 -1
- package/lib/form/index.d.ts +132 -80
- package/lib/form/index.js +22 -21
- package/lib/icon/angle-double-down-line.js +17 -17
- package/lib/icon/angle-double-left-line.js +17 -17
- package/lib/icon/angle-double-left.js +17 -17
- package/lib/icon/angle-double-right-line.js +17 -17
- package/lib/icon/angle-double-right.js +17 -17
- package/lib/icon/angle-double-up-line.js +17 -17
- package/lib/icon/angle-down-fill.js +17 -17
- package/lib/icon/angle-down-line.js +17 -17
- package/lib/icon/angle-down.js +17 -17
- package/lib/icon/angle-left.js +17 -17
- package/lib/icon/angle-right.js +17 -17
- package/lib/icon/angle-up-fill.js +17 -17
- package/lib/icon/angle-up.js +17 -17
- package/lib/icon/archive-fill.js +17 -17
- package/lib/icon/arrows-left.js +17 -17
- package/lib/icon/arrows-right.js +17 -17
- package/lib/icon/assistant.js +17 -17
- package/lib/icon/audio-fill.js +17 -17
- package/lib/icon/bk.js +17 -17
- package/lib/icon/circle.js +17 -17
- package/lib/icon/close-line.js +17 -17
- package/lib/icon/close.js +17 -17
- package/lib/icon/code.js +17 -17
- package/lib/icon/cog-shape.js +17 -17
- package/lib/icon/collapse-left.js +17 -17
- package/lib/icon/copy-shape.js +17 -17
- package/lib/icon/copy.js +17 -17
- package/lib/icon/data-shape.js +17 -17
- package/lib/icon/del.js +17 -17
- package/lib/icon/doc-fill.js +17 -17
- package/lib/icon/done.js +17 -17
- package/lib/icon/down-shape.js +17 -17
- package/lib/icon/down-small.js +17 -17
- package/lib/icon/edit-line.js +17 -17
- package/lib/icon/ellipsis.js +17 -17
- package/lib/icon/enlarge-line.js +17 -17
- package/lib/icon/error.js +17 -17
- package/lib/icon/excel-fill.js +17 -17
- package/lib/icon/exclamation-circle-shape.js +17 -17
- package/lib/icon/eye.js +17 -17
- package/lib/icon/filliscreen-line.js +17 -17
- package/lib/icon/fix-line.js +17 -17
- package/lib/icon/fix-shape.js +17 -17
- package/lib/icon/folder-open.js +17 -17
- package/lib/icon/folder-shape-open.js +17 -17
- package/lib/icon/folder-shape.js +17 -17
- package/lib/icon/folder.js +17 -17
- package/lib/icon/funnel.js +17 -17
- package/lib/icon/grag-fill.js +17 -17
- package/lib/icon/help-document-fill.js +17 -17
- package/lib/icon/help-fill.js +17 -17
- package/lib/icon/help.js +17 -17
- package/lib/icon/image-fill.js +17 -17
- package/lib/icon/img-error.js +17 -17
- package/lib/icon/img-placehoulder.js +17 -17
- package/lib/icon/info-line.js +17 -17
- package/lib/icon/info.js +17 -17
- package/lib/icon/left-shape.js +17 -17
- package/lib/icon/left-turn-line.js +17 -17
- package/lib/icon/loading.js +17 -17
- package/lib/icon/narrow-line.js +17 -17
- package/lib/icon/original.js +17 -17
- package/lib/icon/pdf-fill.js +17 -17
- package/lib/icon/play-shape.js +17 -17
- package/lib/icon/plus.js +17 -17
- package/lib/icon/ppt-fill.js +17 -17
- package/lib/icon/qq.js +17 -17
- package/lib/icon/right-shape.js +17 -17
- package/lib/icon/right-turn-line.js +17 -17
- package/lib/icon/search.js +17 -17
- package/lib/icon/share.js +17 -17
- package/lib/icon/spinner.js +17 -17
- package/lib/icon/success.js +17 -17
- package/lib/icon/switcher-loading.js +17 -17
- package/lib/icon/text-all.js +17 -17
- package/lib/icon/text-file.js +17 -17
- package/lib/icon/text-fill.js +17 -17
- package/lib/icon/transfer.js +17 -17
- package/lib/icon/tree-application-shape.js +17 -17
- package/lib/icon/unfull-screen.js +17 -17
- package/lib/icon/unvisible.js +17 -17
- package/lib/icon/up-shape.js +17 -17
- package/lib/icon/upload.js +17 -17
- package/lib/icon/video-fill.js +17 -17
- package/lib/icon/warn.js +17 -17
- package/lib/icon/weixin-pro.js +17 -17
- package/lib/icon/weixin.js +17 -17
- package/lib/image/image-viewer.css +130 -0
- package/lib/image/image-viewer.variable.css +261 -1
- package/lib/image/image.css +130 -0
- package/lib/image/image.variable.css +391 -1
- package/lib/image/index.d.ts +149 -113
- package/lib/image/index.js +26 -27
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +233 -232
- package/lib/info-box/info-box.css +134 -4
- package/lib/info-box/info-box.variable.css +261 -1
- package/lib/input/index.d.ts +293 -326
- package/lib/input/index.js +48 -46
- package/lib/input/input.css +205 -75
- package/lib/input/input.variable.css +466 -76
- package/lib/link/index.d.ts +122 -73
- package/lib/link/index.js +2 -2
- package/lib/link/link.css +146 -16
- package/lib/link/link.variable.css +261 -1
- package/lib/loading/index.d.ts +156 -130
- package/lib/loading/index.js +33 -32
- package/lib/loading/loading.css +146 -16
- package/lib/loading/loading.d.ts +1 -1
- package/lib/loading/loading.variable.css +407 -17
- package/lib/menu/index.d.ts +116 -55
- package/lib/menu/index.js +25 -26
- package/lib/menu/menu.css +150 -20
- package/lib/menu/menu.variable.css +411 -21
- package/lib/menu/submenu.css +130 -0
- package/lib/menu/submenu.variable.css +261 -1
- package/lib/message/index.js +25 -24
- package/lib/message/message.css +151 -21
- package/lib/message/message.variable.css +261 -1
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +185 -171
- package/lib/modal/index.js +19 -19
- package/lib/modal/modal.css +134 -4
- package/lib/modal/modal.variable.css +395 -5
- package/lib/navigation/index.d.ts +188 -152
- package/lib/navigation/index.js +7 -9
- package/lib/navigation/navigation.css +132 -2
- package/lib/navigation/navigation.variable.css +261 -1
- package/lib/notify/index.js +21 -20
- package/lib/notify/notify.css +137 -7
- package/lib/notify/notify.variable.css +261 -1
- package/lib/overflow-title/index.d.ts +256 -343
- package/lib/overflow-title/index.js +10 -11
- package/lib/pagination/index.d.ts +198 -184
- package/lib/pagination/index.js +56 -49
- package/lib/pagination/pagination.css +131 -1
- package/lib/pagination/pagination.variable.css +261 -1
- package/lib/plugin-popover/index.js +135 -233
- package/lib/pop-confirm/index.d.ts +153 -115
- package/lib/pop-confirm/index.js +4 -5
- package/lib/pop-confirm/pop-confirm.css +130 -0
- package/lib/pop-confirm/pop-confirm.d.ts +1 -1
- package/lib/pop-confirm/pop-confirm.variable.css +261 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +361 -423
- package/lib/popover/index.js +135 -233
- package/lib/popover/popover.css +130 -0
- package/lib/popover/popover.d.ts +1 -1
- package/lib/popover/popover.variable.css +261 -1
- package/lib/popover/use-popover-init.d.ts +1 -2
- package/lib/popover2/index.d.ts +83 -8
- package/lib/popover2/index.js +2 -2
- package/lib/process/index.d.ts +137 -93
- package/lib/process/index.js +226 -226
- package/lib/process/process.css +143 -13
- package/lib/process/process.variable.css +261 -1
- package/lib/progress/index.d.ts +187 -178
- package/lib/progress/index.js +21 -22
- package/lib/progress/progress.css +134 -4
- package/lib/progress/progress.d.ts +2 -2
- package/lib/progress/progress.variable.css +395 -5
- package/lib/radio/index.d.ts +140 -91
- package/lib/radio/index.js +48 -46
- package/lib/radio/radio.css +172 -42
- package/lib/radio/radio.variable.css +261 -1
- package/lib/rate/index.d.ts +112 -55
- package/lib/rate/index.js +20 -19
- package/lib/rate/rate.css +130 -0
- package/lib/rate/rate.variable.css +261 -1
- package/lib/resize-layout/index.d.ts +192 -168
- package/lib/resize-layout/index.js +21 -20
- package/lib/resize-layout/resize-layout.css +130 -0
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/resize-layout/resize-layout.variable.css +261 -1
- package/lib/scrollbar/css/scrollbar.css +130 -0
- package/lib/scrollbar/css/scrollbar.variable.css +261 -1
- package/lib/scrollbar/index.js +38 -38
- package/lib/search-select/index.d.ts +901 -684
- package/lib/search-select/index.js +274 -274
- package/lib/search-select/input.d.ts +2 -2
- package/lib/search-select/search-select.css +163 -33
- package/lib/search-select/search-select.d.ts +188 -133
- package/lib/search-select/search-select.variable.css +424 -34
- package/lib/search-select/selected.d.ts +188 -133
- package/lib/select/index.d.ts +1333 -1491
- package/lib/select/index.js +280 -279
- package/lib/select/select.css +169 -39
- package/lib/select/select.d.ts +169 -132
- package/lib/select/select.variable.css +430 -40
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/index.js +56 -54
- package/lib/sideslider/index.d.ts +201 -197
- package/lib/sideslider/index.js +228 -227
- package/lib/sideslider/sideslider.css +131 -1
- package/lib/sideslider/sideslider.variable.css +261 -1
- package/lib/slider/index.d.ts +210 -214
- package/lib/slider/index.js +225 -226
- package/lib/slider/slider.css +135 -5
- package/lib/slider/slider.variable.css +261 -1
- package/lib/steps/index.d.ts +149 -110
- package/lib/steps/index.js +231 -230
- package/lib/steps/steps.css +168 -38
- package/lib/steps/steps.variable.css +261 -1
- package/lib/styles/mixins/animate.css +130 -0
- package/lib/styles/mixins/animate.variable.css +261 -1
- package/lib/styles/mixins/mixins.css +130 -0
- package/lib/styles/mixins/mixins.variable.css +130 -0
- package/lib/styles/mixins/popper.css +130 -0
- package/lib/styles/mixins/popper.variable.css +261 -1
- package/lib/styles/mixins/scroll.css +130 -0
- package/lib/styles/mixins/scroll.variable.css +261 -1
- package/lib/styles/reset.css +130 -0
- package/lib/styles/reset.variable.css +261 -1
- package/lib/styles/themes/themes.css +130 -0
- package/lib/styles/themes/themes.less +299 -130
- package/lib/styles/themes/themes.variable.css +130 -0
- package/lib/swiper/index.d.ts +127 -81
- package/lib/swiper/index.js +18 -18
- package/lib/swiper/swiper.css +130 -0
- package/lib/swiper/swiper.variable.css +261 -1
- package/lib/switcher/index.d.ts +174 -152
- package/lib/switcher/index.js +22 -20
- package/lib/switcher/switcher.css +147 -17
- package/lib/switcher/switcher.variable.css +408 -18
- package/lib/tab/index.d.ts +183 -151
- package/lib/tab/index.js +19 -20
- package/lib/tab/tab.css +156 -26
- package/lib/tab/tab.variable.css +261 -1
- package/lib/table/components/table-column.d.ts +1 -1
- package/lib/table/hooks/use-columns.d.ts +1 -1
- package/lib/table/hooks/use-layout.d.ts +2 -2
- package/lib/table/hooks/use-rows.d.ts +1 -1
- package/lib/table/index.d.ts +362 -457
- package/lib/table/index.js +350 -338
- package/lib/table/plugins/head-filter.css +130 -0
- package/lib/table/plugins/head-filter.variable.css +261 -1
- package/lib/table/plugins/head-sort.css +130 -0
- package/lib/table/plugins/head-sort.variable.css +261 -1
- package/lib/table/plugins/settings.css +130 -0
- package/lib/table/plugins/settings.variable.css +261 -1
- package/lib/table/table.css +319 -189
- package/lib/table/table.d.ts +1 -1
- package/lib/table/table.variable.css +580 -190
- package/lib/table-column/index.d.ts +150 -104
- package/lib/table-column/index.js +19 -18
- package/lib/tag/index.d.ts +142 -95
- package/lib/tag/index.js +19 -19
- package/lib/tag/tag.css +135 -5
- package/lib/tag/tag.variable.css +261 -1
- package/lib/tag-input/index.d.ts +540 -755
- package/lib/tag-input/index.js +58 -52
- package/lib/tag-input/tag-input.css +148 -18
- package/lib/tag-input/tag-input.d.ts +5 -5
- package/lib/tag-input/tag-input.variable.css +261 -1
- package/lib/time-picker/index.d.ts +386 -439
- package/lib/time-picker/time-picker.css +130 -0
- package/lib/time-picker/time-picker.variable.css +261 -1
- package/lib/timeline/index.d.ts +131 -64
- package/lib/timeline/index.js +6 -6
- package/lib/timeline/timeline.css +149 -19
- package/lib/timeline/timeline.variable.css +261 -1
- package/lib/transfer/index.d.ts +206 -191
- package/lib/transfer/transfer.css +149 -19
- package/lib/transfer/transfer.variable.css +261 -1
- package/lib/tree/index.d.ts +308 -350
- package/lib/tree/index.js +74 -71
- package/lib/tree/tree.css +140 -10
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/tree.variable.css +401 -11
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +273 -311
- package/lib/upload/index.js +264 -261
- package/lib/upload/upload.css +157 -27
- package/lib/upload/upload.d.ts +2 -2
- package/lib/upload/upload.variable.css +418 -28
- package/lib/virtual-render/index.d.ts +241 -333
- package/lib/virtual-render/index.js +29 -29
- package/lib/virtual-render/virtual-render.css +130 -0
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/lib/virtual-render/virtual-render.variable.css +391 -1
- package/package.json +1 -1
package/lib/menu/index.d.ts
CHANGED
@@ -2,7 +2,121 @@ import Group from './menu-group';
|
|
2
2
|
import Item from './menu-item';
|
3
3
|
import Submenu from './submenu';
|
4
4
|
declare const BkMenu: {
|
5
|
-
new (...args: any[]):
|
5
|
+
new (...args: any[]): {
|
6
|
+
$: import("vue").ComponentInternalInstance;
|
7
|
+
$data: {};
|
8
|
+
$props: {
|
9
|
+
mode?: "vertical";
|
10
|
+
collapse?: boolean;
|
11
|
+
uniqueOpen?: boolean;
|
12
|
+
class?: unknown;
|
13
|
+
style?: unknown;
|
14
|
+
onClick?: (...args: any[]) => any;
|
15
|
+
ref?: import("vue").VNodeRef;
|
16
|
+
key?: string | number | symbol;
|
17
|
+
ref_for?: boolean;
|
18
|
+
ref_key?: string;
|
19
|
+
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
20
|
+
[key: string]: any;
|
21
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
22
|
+
[key: string]: any;
|
23
|
+
}>) => void)[];
|
24
|
+
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
25
|
+
[key: string]: any;
|
26
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
27
|
+
[key: string]: any;
|
28
|
+
}>) => void)[];
|
29
|
+
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
30
|
+
[key: string]: any;
|
31
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
32
|
+
[key: string]: any;
|
33
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
34
|
+
[key: string]: any;
|
35
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
36
|
+
[key: string]: any;
|
37
|
+
}>) => void)[];
|
38
|
+
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
39
|
+
[key: string]: any;
|
40
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
41
|
+
[key: string]: any;
|
42
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
43
|
+
[key: string]: any;
|
44
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
45
|
+
[key: string]: any;
|
46
|
+
}>) => void)[];
|
47
|
+
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
48
|
+
[key: string]: any;
|
49
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
50
|
+
[key: string]: any;
|
51
|
+
}>) => void)[];
|
52
|
+
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
53
|
+
[key: string]: any;
|
54
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
55
|
+
[key: string]: any;
|
56
|
+
}>) => void)[];
|
57
|
+
"onUpdate:activeKey"?: (...args: any[]) => any;
|
58
|
+
"onUpdate:openKeys"?: (...args: any[]) => any;
|
59
|
+
onOpenChange?: (...args: any[]) => any;
|
60
|
+
readonly activeKey?: string;
|
61
|
+
readonly openedKeys?: string[];
|
62
|
+
};
|
63
|
+
$attrs: {
|
64
|
+
[x: string]: unknown;
|
65
|
+
};
|
66
|
+
$refs: {
|
67
|
+
[x: string]: unknown;
|
68
|
+
};
|
69
|
+
$slots: Readonly<{
|
70
|
+
[name: string]: import("vue").Slot<any>;
|
71
|
+
}>;
|
72
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
73
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
74
|
+
$emit: (event: "click" | "update:activeKey" | "update:openKeys" | "openChange", ...args: any[]) => void;
|
75
|
+
$el: any;
|
76
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
77
|
+
activeKey: StringConstructor;
|
78
|
+
collapse: BooleanConstructor;
|
79
|
+
openedKeys: {
|
80
|
+
type: import("vue").PropType<string[]>;
|
81
|
+
};
|
82
|
+
mode: {
|
83
|
+
type: import("vue").PropType<"vertical">;
|
84
|
+
default: string;
|
85
|
+
};
|
86
|
+
uniqueOpen: {
|
87
|
+
type: BooleanConstructor;
|
88
|
+
default: boolean;
|
89
|
+
};
|
90
|
+
}>> & {
|
91
|
+
onClick?: (...args: any[]) => any;
|
92
|
+
"onUpdate:activeKey"?: (...args: any[]) => any;
|
93
|
+
"onUpdate:openKeys"?: (...args: any[]) => any;
|
94
|
+
onOpenChange?: (...args: any[]) => any;
|
95
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:activeKey" | "update:openKeys" | "openChange")[], string, {
|
96
|
+
mode: "vertical";
|
97
|
+
collapse: boolean;
|
98
|
+
uniqueOpen: boolean;
|
99
|
+
}, {}, string, {}> & {
|
100
|
+
beforeCreate?: (() => void) | (() => void)[];
|
101
|
+
created?: (() => void) | (() => void)[];
|
102
|
+
beforeMount?: (() => void) | (() => void)[];
|
103
|
+
mounted?: (() => void) | (() => void)[];
|
104
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
105
|
+
updated?: (() => void) | (() => void)[];
|
106
|
+
activated?: (() => void) | (() => void)[];
|
107
|
+
deactivated?: (() => void) | (() => void)[];
|
108
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
109
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
110
|
+
destroyed?: (() => void) | (() => void)[];
|
111
|
+
unmounted?: (() => void) | (() => void)[];
|
112
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
113
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
114
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
115
|
+
};
|
116
|
+
$forceUpdate: () => void;
|
117
|
+
$nextTick: typeof import("vue").nextTick;
|
118
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
119
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
6
120
|
activeKey: StringConstructor;
|
7
121
|
collapse: BooleanConstructor;
|
8
122
|
openedKeys: {
|
@@ -21,60 +135,7 @@ declare const BkMenu: {
|
|
21
135
|
"onUpdate:activeKey"?: (...args: any[]) => any;
|
22
136
|
"onUpdate:openKeys"?: (...args: any[]) => any;
|
23
137
|
onOpenChange?: (...args: any[]) => any;
|
24
|
-
}
|
25
|
-
activeKey: StringConstructor;
|
26
|
-
collapse: BooleanConstructor;
|
27
|
-
openedKeys: {
|
28
|
-
type: import("vue").PropType<string[]>;
|
29
|
-
};
|
30
|
-
mode: {
|
31
|
-
type: import("vue").PropType<"vertical">;
|
32
|
-
default: string;
|
33
|
-
};
|
34
|
-
uniqueOpen: {
|
35
|
-
type: BooleanConstructor;
|
36
|
-
default: boolean;
|
37
|
-
};
|
38
|
-
}>> & {
|
39
|
-
onClick?: (...args: any[]) => any;
|
40
|
-
"onUpdate:activeKey"?: (...args: any[]) => any;
|
41
|
-
"onUpdate:openKeys"?: (...args: any[]) => any;
|
42
|
-
onOpenChange?: (...args: any[]) => any;
|
43
|
-
}, {
|
44
|
-
mode: "vertical";
|
45
|
-
collapse: boolean;
|
46
|
-
uniqueOpen: boolean;
|
47
|
-
}, true, {}, {}, {
|
48
|
-
P: {};
|
49
|
-
B: {};
|
50
|
-
D: {};
|
51
|
-
C: {};
|
52
|
-
M: {};
|
53
|
-
Defaults: {};
|
54
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
55
|
-
activeKey: StringConstructor;
|
56
|
-
collapse: BooleanConstructor;
|
57
|
-
openedKeys: {
|
58
|
-
type: import("vue").PropType<string[]>;
|
59
|
-
};
|
60
|
-
mode: {
|
61
|
-
type: import("vue").PropType<"vertical">;
|
62
|
-
default: string;
|
63
|
-
};
|
64
|
-
uniqueOpen: {
|
65
|
-
type: BooleanConstructor;
|
66
|
-
default: boolean;
|
67
|
-
};
|
68
|
-
}>> & {
|
69
|
-
onClick?: (...args: any[]) => any;
|
70
|
-
"onUpdate:activeKey"?: (...args: any[]) => any;
|
71
|
-
"onUpdate:openKeys"?: (...args: any[]) => any;
|
72
|
-
onOpenChange?: (...args: any[]) => any;
|
73
|
-
}, () => JSX.Element, {}, {}, {}, {
|
74
|
-
mode: "vertical";
|
75
|
-
collapse: boolean;
|
76
|
-
uniqueOpen: boolean;
|
77
|
-
}>;
|
138
|
+
} & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
|
78
139
|
__isFragment?: never;
|
79
140
|
__isTeleport?: never;
|
80
141
|
__isSuspense?: never;
|
package/lib/menu/index.js
CHANGED
@@ -42,38 +42,38 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
42
42
|
var y = x => () => x
|
43
43
|
const shared_namespaceObject = x({ ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps });
|
44
44
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
45
|
-
function _typeof(
|
45
|
+
function _typeof(obj) {
|
46
46
|
"@babel/helpers - typeof";
|
47
47
|
|
48
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
49
|
-
return typeof
|
50
|
-
} : function (
|
51
|
-
return
|
52
|
-
}, _typeof(
|
48
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
49
|
+
return typeof obj;
|
50
|
+
} : function (obj) {
|
51
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
52
|
+
}, _typeof(obj);
|
53
53
|
}
|
54
54
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
55
55
|
|
56
|
-
function
|
57
|
-
if ("object"
|
58
|
-
var
|
59
|
-
if (
|
60
|
-
var
|
61
|
-
if ("object"
|
56
|
+
function _toPrimitive(input, hint) {
|
57
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
58
|
+
var prim = input[Symbol.toPrimitive];
|
59
|
+
if (prim !== undefined) {
|
60
|
+
var res = prim.call(input, hint || "default");
|
61
|
+
if (_typeof(res) !== "object") return res;
|
62
62
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
63
63
|
}
|
64
|
-
return ("string"
|
64
|
+
return (hint === "string" ? String : Number)(input);
|
65
65
|
}
|
66
66
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
67
67
|
|
68
68
|
|
69
|
-
function
|
70
|
-
var
|
71
|
-
return "symbol"
|
69
|
+
function _toPropertyKey(arg) {
|
70
|
+
var key = _toPrimitive(arg, "string");
|
71
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
72
72
|
}
|
73
73
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
74
74
|
|
75
75
|
function _defineProperty(obj, key, value) {
|
76
|
-
key =
|
76
|
+
key = _toPropertyKey(key);
|
77
77
|
if (key in obj) {
|
78
78
|
Object.defineProperty(obj, key, {
|
79
79
|
value: value,
|
@@ -412,9 +412,9 @@ var menuProps = {
|
|
412
412
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
413
413
|
resolveClassName = _usePrefix.resolveClassName;
|
414
414
|
return function () {
|
415
|
-
var _slots$default;
|
415
|
+
var _ref2, _slots$default;
|
416
416
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
417
|
-
"class":
|
417
|
+
"class": (_ref2 = {}, _defineProperty(_ref2, "".concat(resolveClassName('menu')), true), _defineProperty(_ref2, 'is-collapse', collapse.value), _ref2)
|
418
418
|
}, [(_slots$default = slots["default"]) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots)]);
|
419
419
|
};
|
420
420
|
}
|
@@ -448,8 +448,7 @@ var menuProps = {
|
|
448
448
|
*/
|
449
449
|
|
450
450
|
|
451
|
-
|
452
|
-
/* harmony default export */ const menu_group = ((0,external_vue_namespaceObject.defineComponent)({
|
451
|
+
/* harmony default export */ const menu_group = (defineComponent({
|
453
452
|
name: 'MenuGroup',
|
454
453
|
props: {
|
455
454
|
name: {
|
@@ -467,7 +466,7 @@ var menuProps = {
|
|
467
466
|
collapse = _useMenuInject.collapse;
|
468
467
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
469
468
|
resolveClassName = _usePrefix.resolveClassName;
|
470
|
-
var displayTitle =
|
469
|
+
var displayTitle = computed(function () {
|
471
470
|
if (collapse.value) {
|
472
471
|
// 收起
|
473
472
|
return props.foldName !== undefined ? props.foldName : props.name;
|
@@ -568,9 +567,9 @@ var menuProps = {
|
|
568
567
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
569
568
|
resolveClassName = _usePrefix.resolveClassName;
|
570
569
|
return function () {
|
571
|
-
var _slots$icon, _slots$default;
|
570
|
+
var _ref2, _slots$icon, _slots$default;
|
572
571
|
return (0,external_vue_namespaceObject.createVNode)("li", {
|
573
|
-
"class":
|
572
|
+
"class": (_ref2 = {}, _defineProperty(_ref2, "".concat(resolveClassName('menu-item')), true), _defineProperty(_ref2, 'is-active', isActive.value), _defineProperty(_ref2, 'is-disabled', props.disabled), _ref2),
|
574
573
|
"onClick": handleClick
|
575
574
|
}, [needIcon.value && (0,external_vue_namespaceObject.createVNode)("span", {
|
576
575
|
"class": "item-icon"
|
@@ -670,9 +669,9 @@ var subMenuProps = {
|
|
670
669
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
671
670
|
resolveClassName = _usePrefix.resolveClassName;
|
672
671
|
return function () {
|
673
|
-
var _slots$icon, _slots$title, _slots$default;
|
672
|
+
var _ref2, _slots$icon, _slots$title, _slots$default;
|
674
673
|
return (0,external_vue_namespaceObject.createVNode)("li", {
|
675
|
-
"class":
|
674
|
+
"class": (_ref2 = {}, _defineProperty(_ref2, "".concat(resolveClassName('menu-submenu')), true), _defineProperty(_ref2, 'is-opened', isShow.value), _ref2)
|
676
675
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
677
676
|
"class": {
|
678
677
|
'submenu-header': true,
|
package/lib/menu/menu.css
CHANGED
@@ -1,3 +1,133 @@
|
|
1
|
+
:root {
|
2
|
+
--bk-prefix: bk;
|
3
|
+
--popover-max-height: 216px;
|
4
|
+
--primary-color: #3a84ff;
|
5
|
+
--success-color: #2dcb56;
|
6
|
+
--warning-color: #ff9c01;
|
7
|
+
--danger-color: #ea3636;
|
8
|
+
--default-color: #63656e;
|
9
|
+
--gray-color: #979ba5;
|
10
|
+
--light-gray: #c4c6cc;
|
11
|
+
--white-color: white;
|
12
|
+
--whitesmoke-color: #fafbfd;
|
13
|
+
--disable-color: #dcdee5;
|
14
|
+
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
16
|
+
--font-size-base: 12px;
|
17
|
+
--font-size-medium: 14px;
|
18
|
+
--font-size-large: 16px;
|
19
|
+
--line-height-base: 16px;
|
20
|
+
--line-height-medium: 16px;
|
21
|
+
--line-height-large: 18px;
|
22
|
+
--component-size-small: 26px;
|
23
|
+
--component-size-base: 32px;
|
24
|
+
--component-size-large: 40px;
|
25
|
+
--component-size-small-padding: 0 12px;
|
26
|
+
--component-size-base-padding: 0 14px;
|
27
|
+
--component-size-large-padding: 0 16px;
|
28
|
+
--border-width-base: 1px;
|
29
|
+
--border-style-base: solid;
|
30
|
+
--border-radius-base: 2px;
|
31
|
+
--border-style-color: var(--light-gray);
|
32
|
+
--input-disabled-bg: #fafbfd;
|
33
|
+
--input-disabled-border: var(--disable-color);
|
34
|
+
--input-height-base: var(--component-size-base);
|
35
|
+
--input-color: var(--default-color);
|
36
|
+
--input-bg: white;
|
37
|
+
--input-border-color: var(--light-gray);
|
38
|
+
--input-broder-radius: 3px;
|
39
|
+
--input-shadow-color: #a3c5fd;
|
40
|
+
--input-horizontal-padding: 8px;
|
41
|
+
--input-block-color: #f5f7fa;
|
42
|
+
--input-block-hover-color: #eaebf0;
|
43
|
+
--input-icon-size: var(--font-size-medium);
|
44
|
+
--input-maxlength-color: #979ba5;
|
45
|
+
--button-primary-hover-color: #5594fa;
|
46
|
+
--button-danger-hover-color: #ff5656;
|
47
|
+
--button-success-hover-color: #45e35f;
|
48
|
+
--button-warning-hover-color: #ffb848;
|
49
|
+
--button-default-hover-border-color: #979ba5;
|
50
|
+
--button-primary-active-color: #2c77f4;
|
51
|
+
--button-danger-active-color: #db2626;
|
52
|
+
--button-success-active-color: #1ab943;
|
53
|
+
--button-warning-active-color: #eb9000;
|
54
|
+
--button-selected-bg-color: #e1ecff;
|
55
|
+
--button-disabled-selected-bg-color: #f0f1f5;
|
56
|
+
--radio-font-color: #63656e;
|
57
|
+
--radio-active-color: #3a84ff;
|
58
|
+
--radio-hover-border-color: #979ba5;
|
59
|
+
--radio-disabled-border: #dcdee5;
|
60
|
+
--radio-disabled-font-color: #c4c6cc;
|
61
|
+
--radio-disabled-checked-bg: #a3c5fd;
|
62
|
+
--radio-button-checked-bg: #e1ecff;
|
63
|
+
--radio-button-disabled-checked-bg: #fafbfd;
|
64
|
+
--checkbox-disabled-checked-bg: #a3c5fd;
|
65
|
+
--fixed-navbar-background: #fff;
|
66
|
+
--fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
|
67
|
+
--switch-default-color: #fff;
|
68
|
+
--switch-grey-color: #c4c6cc;
|
69
|
+
--breadcrumb-black-color: #979ba5;
|
70
|
+
--breadcrumb-primary-hover-color: #0082ff;
|
71
|
+
--breadcrumb-fn-main-color: #63656e;
|
72
|
+
--link-default-hover-color: #979ba5;
|
73
|
+
--link-primary-hover-color: #699df4;
|
74
|
+
--link-success-hover-color: #45e35f;
|
75
|
+
--link-warning-hover-color: #ffb848;
|
76
|
+
--link-danger-hover-color: #ff5656;
|
77
|
+
--link-default-disabled-color: #dcdee5;
|
78
|
+
--link-primary-disabled-color: #a3c5fd;
|
79
|
+
--link-success-disabled-color: #94f5a4;
|
80
|
+
--link-warning-disabled-color: #ffd695;
|
81
|
+
--link-danger-disabled-color: #fd9c9c;
|
82
|
+
--message-color: var(--default-color);
|
83
|
+
--message-primary-bg-color: #f0f8ff;
|
84
|
+
--message-primary-border-color: #e1ecff;
|
85
|
+
--message-primary-shadow-color: #e1e8f4;
|
86
|
+
--message-warning-bg-color: #fff4e2;
|
87
|
+
--message-warning-border-color: #ffe8c3;
|
88
|
+
--message-warning-shadow-color: #ede6db;
|
89
|
+
--message-success-bg-color: #f2fff4;
|
90
|
+
--message-success-border-color: #dcffe2;
|
91
|
+
--message-success-shadow-color: #cef0d7;
|
92
|
+
--message-danger-bg-color: #ffeded;
|
93
|
+
--message-danger-border-color: #ffdddd;
|
94
|
+
--message-danger-shadow-color: #f6dada;
|
95
|
+
--slider-default-bg: #dcdee5;
|
96
|
+
--slider-disable-bar-bg: #979ba5;
|
97
|
+
--menu-bg-color: #182132;
|
98
|
+
--submenu-bg-color: #151d2c;
|
99
|
+
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
100
|
+
--menu-color: #96a2b9;
|
101
|
+
--menu-group-color: var(--default-color);
|
102
|
+
--menu-width: 260px;
|
103
|
+
--menu-collapse-width: 60px;
|
104
|
+
--menu-active-color: white;
|
105
|
+
--nav-header-bg-color: #182132;
|
106
|
+
--nav-bg-color: #182132;
|
107
|
+
--date-picker-disabled-bg: #fafbfd;
|
108
|
+
--date-picker-dropdown-mb: 4px;
|
109
|
+
--date-picker-dropdown-bg: #fff;
|
110
|
+
--table-bg-color: var(--white-color);
|
111
|
+
--table-border-color: #dcdee5;
|
112
|
+
--table-strip-color: #fafbfd;
|
113
|
+
--table-head-bg-color: #fafbfd;
|
114
|
+
--table-head-font-color: #313238;
|
115
|
+
--table-body-font-color: #63656e;
|
116
|
+
--table-row-hover-bg-color: #f5f7fa;
|
117
|
+
--table-row-active-bg-color: #f0f1f5;
|
118
|
+
--cascader-panel-border-color: #dcdee5;
|
119
|
+
--cascader-panel-hover: #f5f7fa;
|
120
|
+
--cascader-panel-active: #e1ecff;
|
121
|
+
--cascader-panel-disabled-bg: #fff;
|
122
|
+
--search-select-focus-border-color: var(--primary-color);
|
123
|
+
--search-select-focus-color: #3c96ff;
|
124
|
+
--search-select-font-color: var(--default-color);
|
125
|
+
--search-select-placeholder-color: var(--light-gray);
|
126
|
+
--search-select-message-color: var(--danger-color);
|
127
|
+
--search-select-menu-border-color: var(--disable-color);
|
128
|
+
--select-active-color: #e1ecff;
|
129
|
+
--select-hover-color: #f5f7fa;
|
130
|
+
}
|
1
131
|
@keyframes loading-scale-animate {
|
2
132
|
0% {
|
3
133
|
transform: scale(1);
|
@@ -71,20 +201,20 @@
|
|
71
201
|
left: -4px;
|
72
202
|
}
|
73
203
|
.collapse {
|
74
|
-
width:
|
204
|
+
width: var(--menu-collapse-width);
|
75
205
|
}
|
76
206
|
.open {
|
77
|
-
background:
|
207
|
+
background: var(--submenu-bg-color);
|
78
208
|
}
|
79
209
|
.bk-menu {
|
80
210
|
display: flex;
|
81
211
|
flex-direction: column;
|
82
|
-
width:
|
83
|
-
background-color:
|
212
|
+
width: var(--menu-width);
|
213
|
+
background-color: var(--menu-bg-color);
|
84
214
|
transition: width 0.3s ease-out;
|
85
215
|
}
|
86
216
|
.bk-menu.is-collapse {
|
87
|
-
width:
|
217
|
+
width: var(--menu-collapse-width);
|
88
218
|
}
|
89
219
|
.bk-menu-submenu {
|
90
220
|
display: flex;
|
@@ -96,10 +226,10 @@
|
|
96
226
|
transition: width 0.3s ease-out;
|
97
227
|
}
|
98
228
|
.bk-menu-submenu.is-opened {
|
99
|
-
background:
|
229
|
+
background: var(--submenu-bg-color);
|
100
230
|
}
|
101
231
|
.bk-menu-submenu:hover {
|
102
|
-
color:
|
232
|
+
color: var(--menu-active-color);
|
103
233
|
cursor: pointer;
|
104
234
|
}
|
105
235
|
.bk-menu-submenu .submenu-header {
|
@@ -109,12 +239,12 @@
|
|
109
239
|
height: 40px;
|
110
240
|
}
|
111
241
|
.bk-menu-submenu .submenu-header.is-collapse {
|
112
|
-
color:
|
113
|
-
background:
|
242
|
+
color: var(--menu-active-color);
|
243
|
+
background: var(--menu-active-bg-color);
|
114
244
|
}
|
115
245
|
.bk-menu-submenu .submenu-header-icon {
|
116
246
|
display: flex;
|
117
|
-
flex: 0 0
|
247
|
+
flex: 0 0 var(--menu-collapse-width);
|
118
248
|
align-items: center;
|
119
249
|
justify-content: center;
|
120
250
|
height: 100%;
|
@@ -170,25 +300,25 @@
|
|
170
300
|
margin: 2px 0;
|
171
301
|
overflow: hidden;
|
172
302
|
font-size: 14px;
|
173
|
-
color:
|
303
|
+
color: var(--menu-color);
|
174
304
|
text-overflow: clip;
|
175
305
|
white-space: nowrap;
|
176
306
|
transition: width 0.3s ease-in-out;
|
177
307
|
}
|
178
308
|
.bk-menu-item:hover {
|
179
|
-
color:
|
309
|
+
color: var(--menu-active-color);
|
180
310
|
cursor: pointer;
|
181
311
|
}
|
182
312
|
.bk-menu-item.is-active {
|
183
|
-
color:
|
184
|
-
background:
|
313
|
+
color: var(--menu-active-color);
|
314
|
+
background: var(--menu-active-bg-color);
|
185
315
|
}
|
186
316
|
.bk-menu-item.is-disabled {
|
187
|
-
color:
|
317
|
+
color: var(--menu-group-color);
|
188
318
|
cursor: not-allowed;
|
189
319
|
}
|
190
320
|
.bk-menu-item.is-disabled:hover {
|
191
|
-
color:
|
321
|
+
color: var(--menu-group-color);
|
192
322
|
cursor: not-allowed;
|
193
323
|
background: none;
|
194
324
|
}
|
@@ -197,7 +327,7 @@
|
|
197
327
|
}
|
198
328
|
.bk-menu-item .item-icon {
|
199
329
|
display: flex;
|
200
|
-
flex: 0 0
|
330
|
+
flex: 0 0 var(--menu-collapse-width);
|
201
331
|
align-items: center;
|
202
332
|
justify-content: center;
|
203
333
|
height: 100%;
|
@@ -207,8 +337,8 @@
|
|
207
337
|
display: inline-block;
|
208
338
|
width: 3px;
|
209
339
|
height: 3px;
|
210
|
-
background:
|
211
|
-
background-color:
|
340
|
+
background: var(--menu-group-color);
|
341
|
+
background-color: var(--menu-active-color);
|
212
342
|
border-radius: 50%;
|
213
343
|
}
|
214
344
|
.bk-menu-item .item-content {
|
@@ -230,7 +360,7 @@
|
|
230
360
|
overflow: hidden;
|
231
361
|
font-size: 12px;
|
232
362
|
line-height: 16px;
|
233
|
-
color:
|
363
|
+
color: var(--menu-group-color);
|
234
364
|
text-overflow: clip;
|
235
365
|
white-space: nowrap;
|
236
366
|
}
|