bkui-vue 0.0.1-beta.12 → 0.0.1-beta.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -17
- package/README_EN.md +89 -0
- package/dist/bkui-vue.cjs.js +1847 -467
- package/dist/bkui-vue.esm.js +1842 -468
- package/dist/bkui-vue.umd.js +1847 -467
- package/dist/style.css +454 -177
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/index.js +1 -1
- package/lib/backtop/index.js +1 -1
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb.css +10 -1
- package/lib/breadcrumb/breadcrumb.d.ts +20 -0
- package/lib/breadcrumb/breadcrumb.less +13 -2
- package/lib/breadcrumb/breadcrumb.variable.css +10 -1
- package/lib/breadcrumb/index.d.ts +38 -2
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +8 -8
- package/lib/button/index.js +1 -1
- package/lib/card/index.js +1 -1
- 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/index.js +1 -1
- package/lib/components.d.ts +3 -1
- package/lib/date-picker/index.js +1 -1
- package/lib/dialog/index.js +1 -1
- package/lib/directives/index.js +1 -1
- package/lib/divider/index.js +1 -1
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/index.js +1 -1
- package/lib/icon/angle-down-fill.d.ts +4 -0
- package/lib/icon/angle-up-fill.d.ts +4 -0
- package/lib/icon/arrows-left.d.ts +4 -0
- package/lib/icon/index.d.ts +4 -0
- package/lib/icon/index.js +1 -1
- package/lib/icon/spinner.d.ts +4 -0
- package/lib/index.d.ts +1 -0
- package/lib/input/index.d.ts +19 -11
- package/lib/input/index.js +2 -2
- package/lib/input/input.css +1 -0
- package/lib/input/input.d.ts +5 -3
- package/lib/input/input.less +4 -3
- package/lib/input/input.variable.css +1 -0
- package/lib/link/index.js +1 -1
- 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/menu/index.js +1 -1
- package/lib/message/index.js +1 -1
- package/lib/modal/index.js +1 -1
- package/lib/navigation/index.js +1 -1
- package/lib/notify/index.js +1 -1
- package/lib/notify/notifyConstructor.d.ts +2 -2
- package/lib/popover/index.d.ts +103 -48
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +22 -13
- package/lib/popover/popover.d.ts +30 -23
- package/lib/popover/popover.less +55 -45
- package/lib/popover/popover.variable.css +22 -13
- package/lib/popover/props.d.ts +77 -0
- 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 +23 -1
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +0 -3
- package/lib/progress/progress.d.ts +17 -1
- package/lib/progress/progress.less +0 -4
- package/lib/progress/progress.variable.css +0 -3
- package/lib/radio/index.d.ts +2 -2
- package/lib/radio/index.js +1 -1
- package/lib/rate/index.js +1 -1
- package/lib/select/common.d.ts +10 -1
- package/lib/select/index.d.ts +133 -190
- package/lib/select/index.js +2 -2
- package/lib/select/option.d.ts +1 -7
- package/lib/select/optionGroup.d.ts +22 -15
- package/lib/select/select.css +71 -14
- package/lib/select/select.d.ts +40 -55
- package/lib/select/select.less +73 -14
- package/lib/select/select.variable.css +71 -14
- package/lib/shared/bk-helper-core.d.ts +6 -0
- package/lib/shared/bk-popover.d.ts +45 -4
- package/lib/shared/index.d.ts +10 -0
- package/lib/shared/index.js +1 -1
- package/lib/shared/utils.d.ts +6 -0
- package/lib/sideslider/index.js +1 -1
- package/lib/slider/index.js +2 -2
- package/lib/steps/index.d.ts +8 -8
- package/lib/steps/index.js +2 -2
- package/lib/steps/steps.d.ts +2 -2
- package/lib/styles/index.d.ts +2 -0
- package/lib/styles/index.js +1 -1
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +149 -135
- package/lib/switcher/switcher.less +210 -154
- package/lib/switcher/switcher.variable.css +149 -135
- package/lib/tab/index.js +1 -1
- package/lib/table/index.d.ts +76 -1
- package/lib/table/index.js +1 -1
- package/lib/table/props.d.ts +38 -0
- package/lib/table/render.d.ts +1 -1
- package/lib/table/table.css +6 -4
- package/lib/table/table.d.ts +34 -0
- package/lib/table/table.less +4 -4
- package/lib/table/table.variable.css +6 -4
- package/lib/table/utils.d.ts +7 -0
- package/lib/tag/index.js +1 -1
- package/lib/tree/index.d.ts +22 -8
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +52 -0
- package/lib/tree/tree.css +16 -7
- package/lib/tree/tree.d.ts +13 -7
- package/lib/tree/tree.less +24 -24
- package/lib/tree/tree.variable.css +16 -7
- package/lib/tree/util.d.ts +3 -44
- package/lib/virtual-render/index.d.ts +395 -0
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +147 -0
- package/lib/virtual-render/v-virtual-render.d.ts +7 -0
- package/lib/virtual-render/virtual-render.css +40 -0
- package/lib/virtual-render/virtual-render.d.ts +175 -0
- package/lib/virtual-render/virtual-render.less +51 -0
- package/lib/virtual-render/virtual-render.variable.css +40 -0
- package/package.json +10 -6
@@ -0,0 +1,139 @@
|
|
1
|
+
* {
|
2
|
+
box-sizing: border-box;
|
3
|
+
}
|
4
|
+
.bk-process {
|
5
|
+
position: relative;
|
6
|
+
display: flex;
|
7
|
+
}
|
8
|
+
@keyframes loadingCircle {
|
9
|
+
100% {
|
10
|
+
transform: rotate(360deg);
|
11
|
+
}
|
12
|
+
}
|
13
|
+
.bk-process .bk-process-toggle {
|
14
|
+
position: relative;
|
15
|
+
left: 15px;
|
16
|
+
width: 24px;
|
17
|
+
height: 24px;
|
18
|
+
font-size: 12px;
|
19
|
+
line-height: 24px;
|
20
|
+
color: #63656e;
|
21
|
+
text-align: center;
|
22
|
+
text-decoration: none;
|
23
|
+
border: 1px solid #c4c6cc;
|
24
|
+
border-radius: 50%;
|
25
|
+
}
|
26
|
+
.bk-process .bk-process-toggle.active,
|
27
|
+
.bk-process .bk-process-toggle:hover {
|
28
|
+
color: #fff;
|
29
|
+
background: #3a84ff;
|
30
|
+
border-color: #3a84ff;
|
31
|
+
}
|
32
|
+
.bk-process .bk-process-icon-done {
|
33
|
+
display: inline-block;
|
34
|
+
height: 20px;
|
35
|
+
font-size: 21px;
|
36
|
+
line-height: 20px;
|
37
|
+
}
|
38
|
+
.bk-process .bk-icon.icon-loading {
|
39
|
+
display: inline-block;
|
40
|
+
font-size: 14px;
|
41
|
+
animation: loadingCircle 1s infinite linear;
|
42
|
+
}
|
43
|
+
.bk-process > ul {
|
44
|
+
-ms-display: flex;
|
45
|
+
-moz-display: flex;
|
46
|
+
-webkit-display: flex;
|
47
|
+
display: table;
|
48
|
+
display: flex;
|
49
|
+
width: 100%;
|
50
|
+
padding: 0;
|
51
|
+
margin: auto;
|
52
|
+
}
|
53
|
+
.bk-process li {
|
54
|
+
position: relative;
|
55
|
+
display: table-cell;
|
56
|
+
height: 24px;
|
57
|
+
font-family: PingFang SC,Microsoft Yahei,Helvetica,Aria;
|
58
|
+
font-size: 12px;
|
59
|
+
line-height: 24px;
|
60
|
+
color: #63656e;
|
61
|
+
text-align: center;
|
62
|
+
background-color: #f0f1f5;
|
63
|
+
flex: 1;
|
64
|
+
}
|
65
|
+
.bk-process li i {
|
66
|
+
display: none;
|
67
|
+
}
|
68
|
+
.bk-process li:first-of-type {
|
69
|
+
border-radius: 13px 0 0 13px;
|
70
|
+
}
|
71
|
+
.bk-process li:last-of-type {
|
72
|
+
border-radius: 0 13px 13px 0;
|
73
|
+
}
|
74
|
+
.bk-process li:last-of-type::before {
|
75
|
+
display: none;
|
76
|
+
}
|
77
|
+
.bk-process li:last-of-type::after {
|
78
|
+
display: none;
|
79
|
+
}
|
80
|
+
.bk-process li::before {
|
81
|
+
position: absolute;
|
82
|
+
top: 0;
|
83
|
+
right: -25px;
|
84
|
+
z-index: 1;
|
85
|
+
width: 0;
|
86
|
+
height: 0;
|
87
|
+
border: 12px solid;
|
88
|
+
border-color: transparent transparent transparent #fff;
|
89
|
+
content: '';
|
90
|
+
}
|
91
|
+
.bk-process li::after {
|
92
|
+
position: absolute;
|
93
|
+
top: 0;
|
94
|
+
right: -23px;
|
95
|
+
z-index: 1;
|
96
|
+
width: 0;
|
97
|
+
height: 0;
|
98
|
+
border: 12px solid;
|
99
|
+
border-color: transparent transparent transparent #f0f1f5;
|
100
|
+
content: '';
|
101
|
+
}
|
102
|
+
.bk-process li .bk-process-step {
|
103
|
+
font-size: 12px;
|
104
|
+
}
|
105
|
+
.bk-process li .bk-process-step dd {
|
106
|
+
margin: 0;
|
107
|
+
line-height: 32px;
|
108
|
+
}
|
109
|
+
.bk-process li .bk-process-step i {
|
110
|
+
display: none;
|
111
|
+
}
|
112
|
+
.bk-process li .bk-process-step .success i {
|
113
|
+
display: inline-block;
|
114
|
+
color: #2dcb56;
|
115
|
+
}
|
116
|
+
.bk-process li .bk-process-step .steps-loading {
|
117
|
+
top: -2px;
|
118
|
+
}
|
119
|
+
.bk-process li.success {
|
120
|
+
color: #fff;
|
121
|
+
background: #2dcb56;
|
122
|
+
}
|
123
|
+
.bk-process li.success::after {
|
124
|
+
border-color: transparent transparent transparent #2dcb56;
|
125
|
+
}
|
126
|
+
.bk-process li.success .icon-done {
|
127
|
+
font-size: 22px;
|
128
|
+
line-height: 18px;
|
129
|
+
}
|
130
|
+
.bk-process li.current {
|
131
|
+
color: #fff;
|
132
|
+
background: #3a84ff;
|
133
|
+
}
|
134
|
+
.bk-process li.current::after {
|
135
|
+
border-color: transparent transparent transparent #3a84ff;
|
136
|
+
}
|
137
|
+
.bk-process li.current > .bk-spin-loading {
|
138
|
+
vertical-align: -3px;
|
139
|
+
}
|
@@ -0,0 +1,116 @@
|
|
1
|
+
/**
|
2
|
+
* Tencent is pleased to support the open source community by making
|
3
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
4
|
+
*
|
5
|
+
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
6
|
+
*
|
7
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
8
|
+
*
|
9
|
+
* License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
|
10
|
+
*
|
11
|
+
* ---------------------------------------------------
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
13
|
+
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
14
|
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
15
|
+
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
16
|
+
*
|
17
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
18
|
+
* the Software.
|
19
|
+
*
|
20
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
21
|
+
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
22
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
23
|
+
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
24
|
+
* IN THE SOFTWARE.
|
25
|
+
*/
|
26
|
+
import { ExtractPropTypes } from 'vue';
|
27
|
+
declare const processProps: {
|
28
|
+
list: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
29
|
+
default: () => unknown[];
|
30
|
+
} & {
|
31
|
+
default: () => unknown[];
|
32
|
+
};
|
33
|
+
controllable: import("vue-types").VueTypeValidableDef<boolean> & {
|
34
|
+
default: boolean;
|
35
|
+
} & {
|
36
|
+
default: boolean;
|
37
|
+
};
|
38
|
+
showSteps: import("vue-types").VueTypeValidableDef<boolean> & {
|
39
|
+
default: boolean;
|
40
|
+
} & {
|
41
|
+
default: boolean;
|
42
|
+
};
|
43
|
+
curProcess: import("vue-types").VueTypeValidableDef<number> & {
|
44
|
+
default: number;
|
45
|
+
} & {
|
46
|
+
default: number;
|
47
|
+
};
|
48
|
+
displayKey: import("vue-types").VueTypeValidableDef<string> & {
|
49
|
+
default: string;
|
50
|
+
} & {
|
51
|
+
default: string;
|
52
|
+
};
|
53
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
54
|
+
default: string;
|
55
|
+
};
|
56
|
+
};
|
57
|
+
export declare type ProcessPropType = ExtractPropTypes<typeof processProps>;
|
58
|
+
declare const _default: import("vue").DefineComponent<{
|
59
|
+
list: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
60
|
+
default: () => unknown[];
|
61
|
+
} & {
|
62
|
+
default: () => unknown[];
|
63
|
+
};
|
64
|
+
controllable: import("vue-types").VueTypeValidableDef<boolean> & {
|
65
|
+
default: boolean;
|
66
|
+
} & {
|
67
|
+
default: boolean;
|
68
|
+
};
|
69
|
+
showSteps: import("vue-types").VueTypeValidableDef<boolean> & {
|
70
|
+
default: boolean;
|
71
|
+
} & {
|
72
|
+
default: boolean;
|
73
|
+
};
|
74
|
+
curProcess: import("vue-types").VueTypeValidableDef<number> & {
|
75
|
+
default: number;
|
76
|
+
} & {
|
77
|
+
default: number;
|
78
|
+
};
|
79
|
+
displayKey: import("vue-types").VueTypeValidableDef<string> & {
|
80
|
+
default: string;
|
81
|
+
} & {
|
82
|
+
default: string;
|
83
|
+
};
|
84
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
85
|
+
default: string;
|
86
|
+
};
|
87
|
+
}, {
|
88
|
+
defaultProcessList: import("vue").Ref<any[]>;
|
89
|
+
paddingBottom: import("vue").Ref<number>;
|
90
|
+
jumpTo: (index: any) => Promise<void>;
|
91
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:curProcess")[], "click" | "update:curProcess", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
92
|
+
list?: unknown;
|
93
|
+
controllable?: unknown;
|
94
|
+
showSteps?: unknown;
|
95
|
+
curProcess?: unknown;
|
96
|
+
displayKey?: unknown;
|
97
|
+
extCls?: unknown;
|
98
|
+
} & {
|
99
|
+
list: unknown[];
|
100
|
+
extCls: string;
|
101
|
+
controllable: boolean;
|
102
|
+
showSteps: boolean;
|
103
|
+
curProcess: number;
|
104
|
+
displayKey: string;
|
105
|
+
} & {}> & {
|
106
|
+
onClick?: (...args: any[]) => any;
|
107
|
+
"onUpdate:curProcess"?: (...args: any[]) => any;
|
108
|
+
}, {
|
109
|
+
list: unknown[];
|
110
|
+
extCls: string;
|
111
|
+
controllable: boolean;
|
112
|
+
showSteps: boolean;
|
113
|
+
curProcess: number;
|
114
|
+
displayKey: string;
|
115
|
+
}>;
|
116
|
+
export default _default;
|
@@ -0,0 +1,179 @@
|
|
1
|
+
@import '../styles/themes/themes.less';
|
2
|
+
|
3
|
+
@themeSelectors: primary, warning, success, danger;
|
4
|
+
|
5
|
+
* {
|
6
|
+
box-sizing: border-box;
|
7
|
+
}
|
8
|
+
|
9
|
+
.bk-process {
|
10
|
+
position: relative;
|
11
|
+
display: flex;
|
12
|
+
|
13
|
+
@keyframes loadingCircle {
|
14
|
+
100% {
|
15
|
+
transform: rotate(360deg);
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
.bk-process-toggle {
|
20
|
+
position: relative;
|
21
|
+
left: 15px;
|
22
|
+
width: 24px;
|
23
|
+
height: 24px;
|
24
|
+
font-size: 12px;
|
25
|
+
line-height: 24px;
|
26
|
+
color: @default-color;
|
27
|
+
text-align: center;
|
28
|
+
text-decoration: none;
|
29
|
+
border: 1px solid @light-gray;
|
30
|
+
border-radius: 50%;
|
31
|
+
|
32
|
+
&.active,
|
33
|
+
&:hover {
|
34
|
+
color: #fff;
|
35
|
+
background: @primary-color;
|
36
|
+
border-color: @primary-color;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
.bk-process-icon {
|
41
|
+
&-done {
|
42
|
+
display: inline-block;
|
43
|
+
height: 20px;
|
44
|
+
font-size: 21px;
|
45
|
+
line-height: 20px;
|
46
|
+
}
|
47
|
+
|
48
|
+
}
|
49
|
+
|
50
|
+
.bk-icon {
|
51
|
+
&.icon-loading {
|
52
|
+
display: inline-block;
|
53
|
+
font-size: @font-size-medium;
|
54
|
+
animation: loadingCircle 1s infinite linear;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
> ul {
|
61
|
+
-ms-display: flex;
|
62
|
+
-moz-display: flex;
|
63
|
+
-webkit-display: flex;
|
64
|
+
display: table;
|
65
|
+
display: flex;
|
66
|
+
width: 100%;
|
67
|
+
padding: 0;
|
68
|
+
margin: auto;
|
69
|
+
}
|
70
|
+
|
71
|
+
li {
|
72
|
+
position: relative;
|
73
|
+
display: table-cell;
|
74
|
+
height: 24px;
|
75
|
+
font-family: PingFang SC,Microsoft Yahei,Helvetica,Aria;
|
76
|
+
font-size: 12px;
|
77
|
+
line-height: 24px;
|
78
|
+
color: @default-color;
|
79
|
+
text-align: center;
|
80
|
+
background-color: #f0f1f5;
|
81
|
+
flex: 1;
|
82
|
+
|
83
|
+
i {
|
84
|
+
display: none;
|
85
|
+
}
|
86
|
+
|
87
|
+
&:first-of-type {
|
88
|
+
border-radius: 13px 0 0 13px;
|
89
|
+
}
|
90
|
+
|
91
|
+
&:last-of-type {
|
92
|
+
border-radius: 0 13px 13px 0;
|
93
|
+
|
94
|
+
&::before {
|
95
|
+
display: none;
|
96
|
+
}
|
97
|
+
|
98
|
+
&::after {
|
99
|
+
display: none;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
&::before {
|
104
|
+
position: absolute;
|
105
|
+
top: 0;
|
106
|
+
right: -25px;
|
107
|
+
z-index: 1;
|
108
|
+
width: 0;
|
109
|
+
height: 0;
|
110
|
+
border: 12px solid;
|
111
|
+
border-color: transparent transparent transparent #fff;
|
112
|
+
content: '';
|
113
|
+
}
|
114
|
+
|
115
|
+
&::after {
|
116
|
+
position: absolute;
|
117
|
+
top: 0;
|
118
|
+
right: -23px;
|
119
|
+
z-index: 1;
|
120
|
+
width: 0;
|
121
|
+
height: 0;
|
122
|
+
border: 12px solid;
|
123
|
+
border-color: transparent transparent transparent #f0f1f5;
|
124
|
+
content: '';
|
125
|
+
}
|
126
|
+
|
127
|
+
.bk-process-step {
|
128
|
+
font-size: 12px;
|
129
|
+
// color: $fnMainColor;
|
130
|
+
|
131
|
+
dd {
|
132
|
+
margin: 0;
|
133
|
+
line-height: 32px;
|
134
|
+
}
|
135
|
+
|
136
|
+
i {
|
137
|
+
display: none;
|
138
|
+
}
|
139
|
+
|
140
|
+
.success {
|
141
|
+
i {
|
142
|
+
display: inline-block;
|
143
|
+
color: @success-color;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
|
147
|
+
.steps-loading {
|
148
|
+
top: -2px;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
152
|
+
&.success {
|
153
|
+
color: #fff;
|
154
|
+
background: @success-color;
|
155
|
+
|
156
|
+
&::after {
|
157
|
+
border-color: transparent transparent transparent @success-color;
|
158
|
+
}
|
159
|
+
|
160
|
+
.icon-done {
|
161
|
+
font-size: 22px;
|
162
|
+
line-height: 18px;
|
163
|
+
}
|
164
|
+
}
|
165
|
+
|
166
|
+
&.current {
|
167
|
+
color: #fff;
|
168
|
+
background: @primary-color;
|
169
|
+
|
170
|
+
&::after {
|
171
|
+
border-color: transparent transparent transparent @primary-color;
|
172
|
+
}
|
173
|
+
|
174
|
+
>.bk-spin-loading {
|
175
|
+
vertical-align: -3px;
|
176
|
+
}
|
177
|
+
}
|
178
|
+
}
|
179
|
+
}
|
@@ -0,0 +1,225 @@
|
|
1
|
+
:root {
|
2
|
+
--bk-prefix: bk;
|
3
|
+
--primary-color: #3a84ff;
|
4
|
+
--success-color: #2dcb56;
|
5
|
+
--warning-color: #ff9c01;
|
6
|
+
--danger-color: #ea3636;
|
7
|
+
--default-color: #63656e;
|
8
|
+
--gray-color: #979ba5;
|
9
|
+
--light-gray: #c4c6cc;
|
10
|
+
--white-color: white;
|
11
|
+
--disable-color: #dcdee5;
|
12
|
+
--font-size-base: 12px;
|
13
|
+
--font-size-medium: 14px;
|
14
|
+
--font-size-large: 16px;
|
15
|
+
--line-height-base: 16px;
|
16
|
+
--line-height-medium: 16px;
|
17
|
+
--line-height-large: 18px;
|
18
|
+
--component-size-small: 26px;
|
19
|
+
--component-size-base: 32px;
|
20
|
+
--component-size-large: 38px;
|
21
|
+
--border-width-base: 1px;
|
22
|
+
--border-style-base: solid;
|
23
|
+
--border-radius-base: 2px;
|
24
|
+
--input-disabled-bg: #fafbfd;
|
25
|
+
--input-disabled-border: var(--disable-color);
|
26
|
+
--input-height-base: var(--component-size-base);
|
27
|
+
--input-color: var(--default-color);
|
28
|
+
--input-bg: white;
|
29
|
+
--input-border-color: var(--light-gray);
|
30
|
+
--input-broder-radius: 3px;
|
31
|
+
--input-shadow-color: #a3c5fd;
|
32
|
+
--input-horizontal-padding: 10px;
|
33
|
+
--input-block-color: #f4f6fa;
|
34
|
+
--input-icon-size: var(--font-size-large);
|
35
|
+
--input-maxlength-color: #979ba5;
|
36
|
+
--button-primary-hover-color: #5594fa;
|
37
|
+
--button-danger-hover-color: #ff5656;
|
38
|
+
--button-success-hover-color: #45e35f;
|
39
|
+
--button-warning-hover-color: #ffb848;
|
40
|
+
--button-default-hover-border-color: #979ba5;
|
41
|
+
--button-primary-active-color: #2c77f4;
|
42
|
+
--button-danger-active-color: #db2626;
|
43
|
+
--button-success-active-color: #1ab943;
|
44
|
+
--button-warning-active-color: #eb9000;
|
45
|
+
--fixed-navbar-background: #fff;
|
46
|
+
--fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
|
47
|
+
--switch-default-color: #fff;
|
48
|
+
--switch-grey-color: #c4c6cc;
|
49
|
+
--breadcrumb-black-color: #979ba5;
|
50
|
+
--breadcrumb-primary-hover-color: #0082ff;
|
51
|
+
--breadcrumb-fn-main-color: #63656e;
|
52
|
+
--link-default-hover-color: #979ba5;
|
53
|
+
--link-primary-hover-color: #699df4;
|
54
|
+
--link-success-hover-color: #45e35f;
|
55
|
+
--link-warning-hover-color: #ffb848;
|
56
|
+
--link-danger-hover-color: #ff5656;
|
57
|
+
--link-default-disabled-color: #dcdee5;
|
58
|
+
--link-primary-disabled-color: #a3c5fd;
|
59
|
+
--link-success-disabled-color: #94f5a4;
|
60
|
+
--link-warning-disabled-color: #ffd695;
|
61
|
+
--link-danger-disabled-color: #fd9c9c;
|
62
|
+
--message-color: var(--default-color);
|
63
|
+
--message-primary-bg-color: #f0f8ff;
|
64
|
+
--message-primary-border-color: #e1ecff;
|
65
|
+
--message-warning-bg-color: #fff4e2;
|
66
|
+
--message-warning-border-color: #ffe8c3;
|
67
|
+
--message-success-bg-color: #f2fff4;
|
68
|
+
--message-success-border-color: #dcffe2;
|
69
|
+
--message-danger-bg-color: #ffeded;
|
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;
|
86
|
+
}
|
87
|
+
* {
|
88
|
+
box-sizing: border-box;
|
89
|
+
}
|
90
|
+
.bk-process {
|
91
|
+
position: relative;
|
92
|
+
display: flex;
|
93
|
+
}
|
94
|
+
@keyframes loadingCircle {
|
95
|
+
100% {
|
96
|
+
transform: rotate(360deg);
|
97
|
+
}
|
98
|
+
}
|
99
|
+
.bk-process .bk-process-toggle {
|
100
|
+
position: relative;
|
101
|
+
left: 15px;
|
102
|
+
width: 24px;
|
103
|
+
height: 24px;
|
104
|
+
font-size: 12px;
|
105
|
+
line-height: 24px;
|
106
|
+
color: var(--default-color);
|
107
|
+
text-align: center;
|
108
|
+
text-decoration: none;
|
109
|
+
border: 1px solid var(--light-gray);
|
110
|
+
border-radius: 50%;
|
111
|
+
}
|
112
|
+
.bk-process .bk-process-toggle.active,
|
113
|
+
.bk-process .bk-process-toggle:hover {
|
114
|
+
color: #fff;
|
115
|
+
background: var(--primary-color);
|
116
|
+
border-color: var(--primary-color);
|
117
|
+
}
|
118
|
+
.bk-process .bk-process-icon-done {
|
119
|
+
display: inline-block;
|
120
|
+
height: 20px;
|
121
|
+
font-size: 21px;
|
122
|
+
line-height: 20px;
|
123
|
+
}
|
124
|
+
.bk-process .bk-icon.icon-loading {
|
125
|
+
display: inline-block;
|
126
|
+
font-size: var(--font-size-medium);
|
127
|
+
animation: loadingCircle 1s infinite linear;
|
128
|
+
}
|
129
|
+
.bk-process > ul {
|
130
|
+
-ms-display: flex;
|
131
|
+
-moz-display: flex;
|
132
|
+
-webkit-display: flex;
|
133
|
+
display: table;
|
134
|
+
display: flex;
|
135
|
+
width: 100%;
|
136
|
+
padding: 0;
|
137
|
+
margin: auto;
|
138
|
+
}
|
139
|
+
.bk-process li {
|
140
|
+
position: relative;
|
141
|
+
display: table-cell;
|
142
|
+
height: 24px;
|
143
|
+
font-family: PingFang SC,Microsoft Yahei,Helvetica,Aria;
|
144
|
+
font-size: 12px;
|
145
|
+
line-height: 24px;
|
146
|
+
color: var(--default-color);
|
147
|
+
text-align: center;
|
148
|
+
background-color: #f0f1f5;
|
149
|
+
flex: 1;
|
150
|
+
}
|
151
|
+
.bk-process li i {
|
152
|
+
display: none;
|
153
|
+
}
|
154
|
+
.bk-process li:first-of-type {
|
155
|
+
border-radius: 13px 0 0 13px;
|
156
|
+
}
|
157
|
+
.bk-process li:last-of-type {
|
158
|
+
border-radius: 0 13px 13px 0;
|
159
|
+
}
|
160
|
+
.bk-process li:last-of-type::before {
|
161
|
+
display: none;
|
162
|
+
}
|
163
|
+
.bk-process li:last-of-type::after {
|
164
|
+
display: none;
|
165
|
+
}
|
166
|
+
.bk-process li::before {
|
167
|
+
position: absolute;
|
168
|
+
top: 0;
|
169
|
+
right: -25px;
|
170
|
+
z-index: 1;
|
171
|
+
width: 0;
|
172
|
+
height: 0;
|
173
|
+
border: 12px solid;
|
174
|
+
border-color: transparent transparent transparent #fff;
|
175
|
+
content: '';
|
176
|
+
}
|
177
|
+
.bk-process li::after {
|
178
|
+
position: absolute;
|
179
|
+
top: 0;
|
180
|
+
right: -23px;
|
181
|
+
z-index: 1;
|
182
|
+
width: 0;
|
183
|
+
height: 0;
|
184
|
+
border: 12px solid;
|
185
|
+
border-color: transparent transparent transparent #f0f1f5;
|
186
|
+
content: '';
|
187
|
+
}
|
188
|
+
.bk-process li .bk-process-step {
|
189
|
+
font-size: 12px;
|
190
|
+
}
|
191
|
+
.bk-process li .bk-process-step dd {
|
192
|
+
margin: 0;
|
193
|
+
line-height: 32px;
|
194
|
+
}
|
195
|
+
.bk-process li .bk-process-step i {
|
196
|
+
display: none;
|
197
|
+
}
|
198
|
+
.bk-process li .bk-process-step .success i {
|
199
|
+
display: inline-block;
|
200
|
+
color: var(--success-color);
|
201
|
+
}
|
202
|
+
.bk-process li .bk-process-step .steps-loading {
|
203
|
+
top: -2px;
|
204
|
+
}
|
205
|
+
.bk-process li.success {
|
206
|
+
color: #fff;
|
207
|
+
background: var(--success-color);
|
208
|
+
}
|
209
|
+
.bk-process li.success::after {
|
210
|
+
border-color: transparent transparent transparent var(--success-color);
|
211
|
+
}
|
212
|
+
.bk-process li.success .icon-done {
|
213
|
+
font-size: 22px;
|
214
|
+
line-height: 18px;
|
215
|
+
}
|
216
|
+
.bk-process li.current {
|
217
|
+
color: #fff;
|
218
|
+
background: var(--primary-color);
|
219
|
+
}
|
220
|
+
.bk-process li.current::after {
|
221
|
+
border-color: transparent transparent transparent var(--primary-color);
|
222
|
+
}
|
223
|
+
.bk-process li.current > .bk-spin-loading {
|
224
|
+
vertical-align: -3px;
|
225
|
+
}
|