bkui-vue 0.0.1-beta.10 → 0.0.1-beta.14
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/bkui-vue.cjs.js +5628 -472
- package/dist/bkui-vue.esm.js +5620 -474
- package/dist/bkui-vue.umd.js +5628 -472
- package/dist/style.css +1858 -16
- package/lib/alert/alert.variable.css +16 -0
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/index.js +1 -1
- package/lib/backtop/backtop.variable.css +16 -0
- package/lib/backtop/index.js +1 -1
- package/lib/badge/badge.variable.css +16 -0
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb.variable.css +16 -0
- package/lib/breadcrumb/index.d.ts +1 -1
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button.d.ts +12 -12
- package/lib/button/button.less +6 -6
- package/lib/button/button.variable.css +16 -0
- package/lib/button/index.d.ts +16 -19
- package/lib/button/index.js +1 -1
- package/lib/card/card.variable.css +16 -0
- package/lib/card/index.js +1 -1
- package/lib/checkbox/checkbox.variable.css +16 -0
- package/lib/checkbox/index.d.ts +1 -1
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/collapse/collapse.css +8 -0
- package/lib/collapse/collapse.less +10 -0
- package/lib/collapse/collapse.variable.css +8 -0
- package/lib/collapse/index.js +1 -1
- package/lib/components.d.ts +6 -1
- package/lib/date-picker/date-picker.css +407 -0
- package/lib/date-picker/date-picker.d.ts +357 -0
- package/lib/date-picker/date-picker.less +526 -0
- package/lib/date-picker/date-picker.variable.css +493 -0
- package/lib/date-picker/fecha.d.ts +6 -0
- package/lib/date-picker/index.d.ts +525 -0
- package/lib/date-picker/index.js +1 -0
- package/lib/date-picker/interface.d.ts +22 -0
- package/lib/date-picker/utils.d.ts +97 -0
- package/lib/dialog/index.js +1 -1
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/index.js +14 -14
- package/lib/directives/tooltips.d.ts +17 -0
- package/lib/divider/divider.css +38 -0
- package/lib/divider/divider.d.ts +40 -0
- package/lib/divider/divider.less +53 -0
- package/lib/divider/divider.variable.css +124 -0
- package/lib/divider/index.d.ts +110 -0
- package/lib/divider/index.js +1 -0
- package/lib/dropdown/dropdown-item.d.ts +18 -0
- package/lib/dropdown/dropdown-menu.d.ts +15 -0
- package/lib/dropdown/dropdown.css +43 -0
- package/lib/dropdown/dropdown.d.ts +49 -0
- package/lib/dropdown/dropdown.less +54 -0
- package/lib/dropdown/dropdown.variable.css +129 -0
- package/lib/dropdown/index.d.ts +160 -0
- package/lib/dropdown/index.js +1 -0
- package/lib/exception/exception.variable.css +16 -0
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +16 -0
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/common.d.ts +3 -0
- package/lib/form/form-item.d.ts +140 -0
- package/lib/form/form.css +39 -0
- package/lib/form/form.d.ts +76 -0
- package/lib/form/form.less +50 -0
- package/lib/form/form.variable.css +39 -0
- package/lib/form/index.d.ts +4 -0
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +21 -0
- package/lib/form/validator.d.ts +8 -0
- package/lib/icon/angle-double-left.d.ts +4 -0
- package/lib/icon/angle-double-right.d.ts +4 -0
- package/lib/icon/angle-down-line.d.ts +4 -0
- package/lib/icon/angle-down.d.ts +4 -0
- package/lib/icon/angle-left.d.ts +4 -0
- package/lib/icon/angle-right.d.ts +4 -0
- package/lib/icon/circle.d.ts +4 -0
- package/lib/icon/code.d.ts +4 -0
- package/lib/icon/cog-shape.d.ts +4 -0
- package/lib/icon/collapse-left.d.ts +4 -0
- package/lib/icon/copy.d.ts +4 -0
- package/lib/icon/done.d.ts +4 -0
- package/lib/icon/down-shape.d.ts +4 -0
- package/lib/icon/error.d.ts +4 -0
- package/lib/icon/folder-open.d.ts +4 -0
- package/lib/icon/folder-shape-open.d.ts +4 -0
- package/lib/icon/folder-shape.d.ts +4 -0
- package/lib/icon/folder.d.ts +4 -0
- package/lib/icon/index.d.ts +27 -0
- package/lib/icon/index.js +1 -1
- package/lib/icon/info.d.ts +4 -0
- package/lib/icon/play-shape.d.ts +4 -0
- package/lib/icon/plus.d.ts +4 -0
- package/lib/icon/right-shape.d.ts +4 -0
- package/lib/icon/share.d.ts +4 -0
- package/lib/icon/success.d.ts +4 -0
- package/lib/icon/text-file.d.ts +4 -0
- package/lib/icon/tree-application-shape.d.ts +4 -0
- package/lib/icon/warn.d.ts +4 -0
- package/lib/index.d.ts +1 -0
- package/lib/input/index.d.ts +36 -36
- package/lib/input/index.js +1 -1
- package/lib/input/input.d.ts +10 -10
- package/lib/input/input.variable.css +16 -0
- package/lib/link/index.js +1 -1
- package/lib/link/link.variable.css +16 -0
- package/lib/loading/index.d.ts +21 -4
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.d.ts +13 -2
- package/lib/loading/loading.variable.css +16 -0
- package/lib/menu/index.d.ts +169 -0
- package/lib/menu/index.js +1 -0
- package/lib/menu/menu-group.d.ts +13 -0
- package/lib/menu/menu-item.d.ts +15 -0
- package/lib/menu/menu.css +182 -0
- package/lib/menu/menu.d.ts +60 -0
- package/lib/menu/menu.less +180 -0
- package/lib/menu/menu.variable.css +268 -0
- package/lib/menu/submenu.d.ts +21 -0
- package/lib/menu/submenu.less +5 -0
- package/lib/menu/submenu.variable.css +86 -0
- package/lib/menu/utils.d.ts +41 -0
- package/lib/message/index.d.ts +1 -1
- package/lib/message/index.js +1 -1
- package/lib/message/message.css +17 -0
- package/lib/message/message.less +18 -0
- package/lib/message/message.variable.css +33 -0
- package/lib/message/messageConstructor.d.ts +12 -6
- package/lib/modal/index.js +1 -1
- package/lib/navigation/index.d.ts +2 -0
- package/lib/navigation/index.js +1 -0
- package/lib/navigation/navigation-title.d.ts +22 -0
- package/lib/navigation/navigation.css +184 -0
- package/lib/navigation/navigation.d.ts +94 -0
- package/lib/navigation/navigation.less +210 -0
- package/lib/navigation/navigation.variable.css +270 -0
- package/lib/notify/index.d.ts +2 -0
- package/lib/notify/index.js +1 -0
- package/lib/notify/notify.css +49 -0
- package/lib/notify/notify.less +58 -0
- package/lib/notify/notify.variable.css +135 -0
- package/lib/notify/notifyConstructor.d.ts +75 -0
- package/lib/popover/index.d.ts +19 -19
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +2 -3
- package/lib/popover/popover.d.ts +8 -8
- package/lib/popover/popover.less +2 -3
- package/lib/popover/popover.variable.css +18 -3
- package/lib/preset.d.ts +2 -3
- package/lib/process/index.d.ts +145 -0
- package/lib/process/index.js +15 -0
- package/lib/process/process.css +139 -0
- package/lib/process/process.d.ts +116 -0
- package/lib/process/process.less +179 -0
- package/lib/process/process.variable.css +225 -0
- package/lib/progress/index.d.ts +4 -4
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.d.ts +1 -1
- package/lib/progress/progress.variable.css +16 -0
- package/lib/radio/index.d.ts +2 -2
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio.css +6 -0
- package/lib/radio/radio.less +7 -0
- package/lib/radio/radio.variable.css +22 -0
- package/lib/rate/index.js +1 -1
- package/lib/rate/star.d.ts +2 -2
- package/lib/select/common.d.ts +4 -3
- package/lib/select/index.d.ts +211 -60
- package/lib/select/index.js +15 -1
- package/lib/select/option.d.ts +2 -2
- package/lib/select/optionGroup.d.ts +115 -0
- package/lib/select/select.css +52 -12
- package/lib/select/select.d.ts +24 -21
- package/lib/select/select.less +73 -7
- package/lib/select/select.variable.css +68 -12
- package/lib/shared/bk-popover.d.ts +11 -1
- package/lib/shared/index.d.ts +7 -0
- package/lib/shared/index.js +1 -1
- package/lib/shared/vue-types.d.ts +1 -0
- package/lib/shared/z-index-manager.d.ts +6 -1
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.variable.css +16 -0
- package/lib/slider/index.d.ts +27 -0
- package/lib/slider/index.js +15 -0
- package/lib/slider/slider-button.d.ts +72 -0
- package/lib/slider/slider.css +149 -0
- package/lib/slider/slider.d.ts +159 -0
- package/lib/slider/slider.less +179 -0
- package/lib/slider/slider.variable.css +235 -0
- package/lib/steps/index.d.ts +15 -15
- package/lib/steps/index.js +2 -2
- package/lib/steps/steps.css +1 -1
- package/lib/steps/steps.d.ts +4 -4
- package/lib/steps/steps.less +1 -1
- package/lib/steps/steps.variable.css +17 -1
- package/lib/styles/index.d.ts +12 -0
- package/lib/styles/index.js +1 -1
- package/lib/styles/mixins/popper.css +43 -0
- package/lib/styles/mixins/popper.less +52 -0
- package/lib/styles/mixins/popper.variable.css +43 -0
- package/lib/styles/mixins/size.less +9 -0
- package/lib/styles/reset.css +273 -0
- package/lib/styles/reset.less +313 -0
- package/lib/styles/reset.variable.css +273 -0
- package/lib/styles/themes/themes.less +26 -1
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.variable.css +16 -0
- package/lib/tab/index.d.ts +416 -0
- package/lib/tab/index.js +1 -0
- package/lib/tab/tab-nav.d.ts +154 -0
- package/lib/tab/tab-panel.d.ts +46 -0
- package/lib/tab/tab.css +147 -0
- package/lib/tab/tab.d.ts +131 -0
- package/lib/tab/tab.less +221 -0
- package/lib/tab/tab.variable.css +233 -0
- package/lib/table/index.d.ts +71 -60
- package/lib/table/index.js +1 -1
- package/lib/table/props.d.ts +41 -0
- package/lib/table/render.d.ts +47 -0
- package/lib/table/table.css +44 -0
- package/lib/table/table.d.ts +22 -63
- package/lib/table/table.less +63 -1
- package/lib/table/table.variable.css +60 -0
- package/lib/table/utils.d.ts +22 -0
- package/lib/tag/index.js +1 -1
- package/lib/tag/tag.variable.css +16 -0
- package/lib/tree/index.d.ts +149 -0
- package/lib/tree/index.js +1 -0
- package/lib/tree/tree.css +35 -0
- package/lib/tree/tree.d.ts +58 -0
- package/lib/tree/tree.less +55 -0
- package/lib/tree/tree.variable.css +35 -0
- package/lib/tree/util.d.ts +89 -0
- package/lib/use-message.d.ts +2 -0
- package/package.json +9 -1
- package/lib/message/message.d.ts +0 -2
- package/lib/table/common.d.ts +0 -3
- package/lib/table/table-layout.d.ts +0 -14
- package/lib/table/type.d.ts +0 -12
@@ -0,0 +1,160 @@
|
|
1
|
+
import DropdownMenu from './dropdown-menu';
|
2
|
+
import DropdownItem from './dropdown-item';
|
3
|
+
declare const BkDropdown: {
|
4
|
+
new (...args: any[]): {
|
5
|
+
$: import("vue").ComponentInternalInstance;
|
6
|
+
$data: {};
|
7
|
+
$props: Partial<{
|
8
|
+
placement: string;
|
9
|
+
extCls: string;
|
10
|
+
disabled: boolean;
|
11
|
+
trigger: string;
|
12
|
+
isShow: boolean;
|
13
|
+
}> & Omit<Readonly<{
|
14
|
+
isShow?: unknown;
|
15
|
+
placement?: unknown;
|
16
|
+
trigger?: unknown;
|
17
|
+
disabled?: unknown;
|
18
|
+
extCls?: unknown;
|
19
|
+
} & {
|
20
|
+
placement: string;
|
21
|
+
extCls: string;
|
22
|
+
disabled: boolean;
|
23
|
+
trigger: string;
|
24
|
+
isShow: boolean;
|
25
|
+
} & {}> & {
|
26
|
+
onShowChange?: (...args: any[]) => any;
|
27
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "extCls" | "disabled" | "trigger" | "isShow">;
|
28
|
+
$attrs: {
|
29
|
+
[x: string]: unknown;
|
30
|
+
};
|
31
|
+
$refs: {
|
32
|
+
[x: string]: unknown;
|
33
|
+
};
|
34
|
+
$slots: Readonly<{
|
35
|
+
[name: string]: import("vue").Slot;
|
36
|
+
}>;
|
37
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
38
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
39
|
+
$emit: (event: "showChange", ...args: any[]) => void;
|
40
|
+
$el: any;
|
41
|
+
$options: import("vue").ComponentOptionsBase<Readonly<{
|
42
|
+
isShow?: unknown;
|
43
|
+
placement?: unknown;
|
44
|
+
trigger?: unknown;
|
45
|
+
disabled?: unknown;
|
46
|
+
extCls?: unknown;
|
47
|
+
} & {
|
48
|
+
placement: string;
|
49
|
+
extCls: string;
|
50
|
+
disabled: boolean;
|
51
|
+
trigger: string;
|
52
|
+
isShow: boolean;
|
53
|
+
} & {}> & {
|
54
|
+
onShowChange?: (...args: any[]) => any;
|
55
|
+
}, {
|
56
|
+
reference: any;
|
57
|
+
refContent: any;
|
58
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "showChange"[], string, {
|
59
|
+
placement: string;
|
60
|
+
extCls: string;
|
61
|
+
disabled: boolean;
|
62
|
+
trigger: string;
|
63
|
+
isShow: boolean;
|
64
|
+
}> & {
|
65
|
+
beforeCreate?: (() => void) | (() => void)[];
|
66
|
+
created?: (() => void) | (() => void)[];
|
67
|
+
beforeMount?: (() => void) | (() => void)[];
|
68
|
+
mounted?: (() => void) | (() => void)[];
|
69
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
70
|
+
updated?: (() => void) | (() => void)[];
|
71
|
+
activated?: (() => void) | (() => void)[];
|
72
|
+
deactivated?: (() => void) | (() => void)[];
|
73
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
74
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
75
|
+
destroyed?: (() => void) | (() => void)[];
|
76
|
+
unmounted?: (() => void) | (() => void)[];
|
77
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
78
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
79
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
80
|
+
};
|
81
|
+
$forceUpdate: () => void;
|
82
|
+
$nextTick: typeof import("vue").nextTick;
|
83
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
84
|
+
} & Readonly<{
|
85
|
+
isShow?: unknown;
|
86
|
+
placement?: unknown;
|
87
|
+
trigger?: unknown;
|
88
|
+
disabled?: unknown;
|
89
|
+
extCls?: unknown;
|
90
|
+
} & {
|
91
|
+
placement: string;
|
92
|
+
extCls: string;
|
93
|
+
disabled: boolean;
|
94
|
+
trigger: string;
|
95
|
+
isShow: boolean;
|
96
|
+
} & {}> & {
|
97
|
+
onShowChange?: (...args: any[]) => any;
|
98
|
+
} & import("vue").ShallowUnwrapRef<{
|
99
|
+
reference: any;
|
100
|
+
refContent: any;
|
101
|
+
}> & {} & {} & import("vue").ComponentCustomProperties;
|
102
|
+
__isFragment?: never;
|
103
|
+
__isTeleport?: never;
|
104
|
+
__isSuspense?: never;
|
105
|
+
} & import("vue").ComponentOptionsBase<Readonly<{
|
106
|
+
isShow?: unknown;
|
107
|
+
placement?: unknown;
|
108
|
+
trigger?: unknown;
|
109
|
+
disabled?: unknown;
|
110
|
+
extCls?: unknown;
|
111
|
+
} & {
|
112
|
+
placement: string;
|
113
|
+
extCls: string;
|
114
|
+
disabled: boolean;
|
115
|
+
trigger: string;
|
116
|
+
isShow: boolean;
|
117
|
+
} & {}> & {
|
118
|
+
onShowChange?: (...args: any[]) => any;
|
119
|
+
}, {
|
120
|
+
reference: any;
|
121
|
+
refContent: any;
|
122
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "showChange"[], "showChange", {
|
123
|
+
placement: string;
|
124
|
+
extCls: string;
|
125
|
+
disabled: boolean;
|
126
|
+
trigger: string;
|
127
|
+
isShow: boolean;
|
128
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
|
129
|
+
DropdownMenu: import("vue").DefineComponent<{
|
130
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
131
|
+
default: string;
|
132
|
+
};
|
133
|
+
}, {
|
134
|
+
wrapperCLasses: import("vue").ComputedRef<any[]>;
|
135
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
136
|
+
extCls?: unknown;
|
137
|
+
} & {
|
138
|
+
extCls: string;
|
139
|
+
} & {}> & {}, {
|
140
|
+
extCls: string;
|
141
|
+
}>;
|
142
|
+
DropdownItem: import("vue").DefineComponent<{
|
143
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
144
|
+
default: string;
|
145
|
+
};
|
146
|
+
}, {
|
147
|
+
wrapperCLasses: import("vue").ComputedRef<any[]>;
|
148
|
+
handleClick: (evt: MouseEvent) => void;
|
149
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
150
|
+
extCls?: unknown;
|
151
|
+
} & {
|
152
|
+
extCls: string;
|
153
|
+
} & {}> & {
|
154
|
+
onClick?: (...args: any[]) => any;
|
155
|
+
}, {
|
156
|
+
extCls: string;
|
157
|
+
}>;
|
158
|
+
}>;
|
159
|
+
export default BkDropdown;
|
160
|
+
export { BkDropdown, DropdownMenu as BkDropdownMenu, DropdownItem as BkDropdownItem, };
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("../shared")):"function"==typeof define&&define.amd?define(["exports","vue","../shared"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared)}(this,(function(e,t,n){"use strict";var o=t.defineComponent({name:"BkDropdown",props:{isShow:n.PropTypes.bool.def(!1),placement:n.PropTypes.commonType(["auto","auto-start","auto-end","top","right","bottom","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],"placement").def("bottom"),trigger:n.PropTypes.commonType(["hover","click","manual"],"trigger").def("hover"),disabled:n.PropTypes.bool.def(!1),extCls:n.PropTypes.string},emits:["showChange"],setup:function(e,o){var r=o.emit,s=Object.create(null),i=t.ref(null),a=t.ref(null);t.onMounted((function(){d()})),t.onBeforeUnmount((function(){l()})),t.watch((function(){return e.isShow}),(function(n){t.nextTick((function(){"manual"===e.trigger&&s&&!e.disabled&&(n?s.show():s.hide())}))})),t.watch((function(){return e.disabled}),(function(e){return u(e)}));var d=function(){e.disabled||(s=new n.BKPopover(i.value,a.value,{placement:e.placement,trigger:e.trigger}),"manual"===e.trigger&&e.isShow&&s.show())},l=function(){if(s){var t=s;t.isShow&&t.hide(),t.destroy(),s=null,"manual"===e.trigger&&r("showChange",!1)}},u=function(t){var n=s;"manual"===e.trigger&&!t&&r("showChange",!1),n.updateDisabled(t)};return{reference:i,refContent:a}},render:function(){var e,o,r,s,i=n.classes({"bk-dropdown":!0},this.$props.extCls);return t.createVNode("div",{class:i},[t.createVNode("div",{ref:"reference",class:"bk-dropdown-reference"},[null===(o=(e=this.$slots).default)||void 0===o?void 0:o.call(e)]),t.createVNode("div",{ref:"refContent",class:"bk-dropdown-content"},[null===(s=(r=this.$slots).content)||void 0===s?void 0:s.call(r)])])}}),r=t.defineComponent({name:"BkDropdownMenu",props:{extCls:n.PropTypes.string},setup:function(e){return{wrapperCLasses:t.computed((function(){return["bk-dropdown-menu",e.extCls]}))}},render:function(){var e,n;return t.createVNode("ul",{class:this.wrapperCLasses},[null===(n=(e=this.$slots).default)||void 0===n?void 0:n.call(e)])}}),s=t.defineComponent({name:"BkDropdownItem",emits:["click"],props:{extCls:n.PropTypes.string},setup:function(e,n){var o=n.emit;return{wrapperCLasses:t.computed((function(){return["bk-dropdown-item",e.extCls]})),handleClick:function(e){o("click",e)}}},render:function(){var e,n;return t.createVNode("li",{class:this.wrapperCLasses,onClick:this.handleClick},[null===(n=(e=this.$slots).default)||void 0===n?void 0:n.call(e)])}}),i=n.withInstallProps(o,{DropdownMenu:r,DropdownItem:s});e.BkDropdown=i,e.BkDropdownItem=s,e.BkDropdownMenu=r,e.default=i,Object.defineProperty(e,"__esModule",{value:!0})}));
|
@@ -5,6 +5,7 @@
|
|
5
5
|
--warning-color: #ff9c01;
|
6
6
|
--danger-color: #ea3636;
|
7
7
|
--default-color: #63656e;
|
8
|
+
--gray-color: #979ba5;
|
8
9
|
--light-gray: #c4c6cc;
|
9
10
|
--white-color: white;
|
10
11
|
--disable-color: #dcdee5;
|
@@ -67,6 +68,21 @@
|
|
67
68
|
--message-success-border-color: #dcffe2;
|
68
69
|
--message-danger-bg-color: #ffeded;
|
69
70
|
--message-danger-border-color: #ffdddd;
|
71
|
+
--slider-default-bg: #dcdee5;
|
72
|
+
--slider-disable-bar-bg: #979ba5;
|
73
|
+
--menu-bg-color: #182132;
|
74
|
+
--submenu-bg-color: #151d2c;
|
75
|
+
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
76
|
+
--menu-color: #96a2b9;
|
77
|
+
--menu-group-color: var(--default-color);
|
78
|
+
--menu-width: 260px;
|
79
|
+
--menu-collapse-width: 60px;
|
80
|
+
--menu-active-color: white;
|
81
|
+
--nav-header-bg-color: #182132;
|
82
|
+
--nav-bg-color: #182132;
|
83
|
+
--date-picker-disabled-bg: #fafbfd;
|
84
|
+
--date-picker-dropdown-mb: 4px;
|
85
|
+
--date-picker-dropdown-bg: #fff;
|
70
86
|
}
|
71
87
|
.bk-exception-wrapper {
|
72
88
|
position: relative;
|