bkui-vue 1.0.3-beta.26 → 1.0.3-beta.28
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 +46 -46
- package/dist/index.esm.js +6162 -6148
- package/dist/index.umd.js +46 -46
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.css +1 -1
- package/lib/affix/affix.less +2 -2
- package/lib/affix/affix.variable.css +3 -3
- package/lib/affix/index.js +13 -15
- package/lib/alert/alert.css +21 -21
- package/lib/alert/alert.less +16 -17
- package/lib/alert/alert.variable.css +23 -23
- package/lib/alert/index.js +22 -24
- package/lib/animate-number/index.js +5 -6
- package/lib/backtop/backtop.css +11 -11
- package/lib/backtop/backtop.less +3 -3
- package/lib/backtop/backtop.variable.css +13 -13
- package/lib/backtop/index.js +20 -22
- package/lib/badge/badge.css +32 -32
- package/lib/badge/badge.less +5 -5
- package/lib/badge/badge.variable.css +34 -34
- package/lib/badge/index.js +19 -21
- package/lib/breadcrumb/breadcrumb.css +31 -31
- package/lib/breadcrumb/breadcrumb.less +8 -8
- package/lib/breadcrumb/breadcrumb.variable.css +33 -33
- package/lib/breadcrumb/index.js +24 -26
- package/lib/button/button.css +69 -69
- package/lib/button/button.less +5 -3
- package/lib/button/button.variable.css +71 -71
- package/lib/button/index.js +28 -37
- package/lib/card/card.css +31 -31
- package/lib/card/card.less +4 -4
- package/lib/card/card.variable.css +33 -33
- package/lib/card/index.js +35 -43
- package/lib/cascader/cascader.css +63 -63
- package/lib/cascader/cascader.less +11 -12
- package/lib/cascader/cascader.variable.css +65 -65
- package/lib/cascader/index.js +80 -100
- package/lib/checkbox/checkbox.css +21 -21
- package/lib/checkbox/checkbox.less +8 -8
- package/lib/checkbox/checkbox.variable.css +23 -23
- package/lib/checkbox/index.js +32 -34
- package/lib/code-diff/code-diff.css +97 -97
- package/lib/code-diff/code-diff.less +4 -3
- package/lib/code-diff/code-diff.variable.css +99 -99
- package/lib/code-diff/index.js +12 -14
- package/lib/collapse/collapse.css +30 -30
- package/lib/collapse/collapse.less +24 -25
- package/lib/collapse/collapse.variable.css +32 -32
- package/lib/collapse/index.js +39 -41
- package/lib/collapse-transition/collapse-transition.css +32 -32
- package/lib/collapse-transition/collapse-transition.less +48 -59
- package/lib/collapse-transition/collapse-transition.variable.css +34 -34
- package/lib/collapse-transition/index.js +8 -9
- package/lib/color-picker/color-picker.css +57 -57
- package/lib/color-picker/color-picker.less +30 -36
- package/lib/color-picker/color-picker.variable.css +59 -59
- package/lib/color-picker/index.js +48 -50
- package/lib/components.js +505 -60
- package/lib/config-provider/config-provider.variable.css +2 -2
- package/lib/config-provider/index.js +8 -9
- package/lib/container/container.css +19 -19
- package/lib/container/container.less +3 -3
- package/lib/container/container.variable.css +21 -21
- package/lib/container/index.js +19 -21
- package/lib/date-picker/date-picker.css +92 -92
- package/lib/date-picker/date-picker.d.ts +1 -0
- package/lib/date-picker/date-picker.less +54 -55
- package/lib/date-picker/date-picker.variable.css +94 -94
- package/lib/date-picker/index.d.ts +3 -0
- package/lib/date-picker/index.js +69 -77
- package/lib/date-picker/time-picker.d.ts +1 -0
- package/lib/dialog/dialog.css +51 -51
- package/lib/dialog/dialog.less +1 -1
- package/lib/dialog/dialog.variable.css +53 -53
- package/lib/dialog/index.js +49 -63
- package/lib/directives/index.js +12 -13
- package/lib/dist.index.js +62 -5
- package/lib/divider/divider.css +8 -8
- package/lib/divider/divider.less +8 -5
- package/lib/divider/divider.variable.css +10 -10
- package/lib/divider/index.js +13 -15
- package/lib/dropdown/dropdown.css +15 -15
- package/lib/dropdown/dropdown.less +6 -6
- package/lib/dropdown/dropdown.variable.css +17 -17
- package/lib/dropdown/index.js +24 -32
- package/lib/exception/exception.css +13 -13
- package/lib/exception/exception.less +6 -6
- package/lib/exception/exception.variable.css +15 -15
- package/lib/exception/index.js +11 -13
- package/lib/fixed-navbar/fixed-navbar.css +9 -9
- package/lib/fixed-navbar/fixed-navbar.less +2 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +11 -11
- package/lib/fixed-navbar/index.js +13 -15
- package/lib/form/form.css +63 -63
- package/lib/form/form.less +16 -14
- package/lib/form/form.variable.css +65 -65
- package/lib/form/index.js +48 -50
- package/lib/hooks.js +48 -1
- package/lib/icon/index.js +0 -1
- package/lib/image/image-viewer.css +23 -23
- package/lib/image/image-viewer.less +25 -24
- package/lib/image/image-viewer.variable.css +25 -25
- package/lib/image/image.css +29 -29
- package/lib/image/image.less +8 -6
- package/lib/image/image.variable.css +31 -31
- package/lib/image/index.js +38 -39
- package/lib/index.js +72 -7
- package/lib/info-box/index.js +13 -21
- package/lib/info-box/info-box.css +10 -10
- package/lib/info-box/info-box.less +2 -1
- package/lib/info-box/info-box.variable.css +12 -12
- package/lib/input/index.js +59 -61
- package/lib/input/input.css +104 -102
- package/lib/input/input.less +33 -27
- package/lib/input/input.variable.css +106 -104
- package/lib/link/index.js +13 -15
- package/lib/link/link.css +18 -18
- package/lib/link/link.less +3 -1
- package/lib/link/link.variable.css +20 -20
- package/lib/loading/index.js +17 -19
- package/lib/loading/loading.css +94 -94
- package/lib/loading/loading.less +4 -4
- package/lib/loading/loading.variable.css +96 -96
- package/lib/locale/index.js +0 -1
- package/lib/menu/index.js +13 -15
- package/lib/menu/menu.css +38 -38
- package/lib/menu/menu.less +10 -10
- package/lib/menu/menu.variable.css +40 -40
- package/lib/menu/submenu.css +1 -1
- package/lib/menu/submenu.less +1 -1
- package/lib/menu/submenu.variable.css +3 -3
- package/lib/message/index.js +38 -40
- package/lib/message/message.css +59 -59
- package/lib/message/message.less +24 -25
- package/lib/message/message.variable.css +61 -61
- package/lib/modal/index.js +41 -43
- package/lib/modal/modal.css +26 -26
- package/lib/modal/modal.less +12 -8
- package/lib/modal/modal.variable.css +28 -28
- package/lib/navigation/index.js +14 -16
- package/lib/navigation/navigation.css +25 -25
- package/lib/navigation/navigation.less +9 -9
- package/lib/navigation/navigation.variable.css +27 -27
- package/lib/notify/index.js +31 -33
- package/lib/notify/notify.css +17 -17
- package/lib/notify/notify.less +6 -8
- package/lib/notify/notify.variable.css +19 -19
- package/lib/overflow-title/index.js +14 -22
- package/lib/pagination/index.js +50 -65
- package/lib/pagination/pagination.css +60 -60
- package/lib/pagination/pagination.less +25 -24
- package/lib/pagination/pagination.variable.css +62 -62
- package/lib/plugin-popover/index.js +53 -54
- package/lib/plugins/index.js +0 -1
- package/lib/pop-confirm/index.js +28 -42
- package/lib/pop-confirm/pop-confirm.css +10 -10
- package/lib/pop-confirm/pop-confirm.less +11 -14
- package/lib/pop-confirm/pop-confirm.variable.css +12 -12
- package/lib/popover/index.js +52 -54
- package/lib/popover/popover.css +5 -5
- package/lib/popover/popover.less +6 -5
- package/lib/popover/popover.variable.css +7 -7
- package/lib/popover2/index.js +3 -4
- package/lib/preset.js +64 -18
- package/lib/process/index.js +26 -27
- package/lib/process/process.css +33 -36
- package/lib/process/process.less +7 -8
- package/lib/process/process.variable.css +35 -38
- package/lib/progress/index.js +26 -28
- package/lib/progress/progress.css +33 -33
- package/lib/progress/progress.less +5 -6
- package/lib/progress/progress.variable.css +35 -35
- package/lib/radio/index.js +32 -34
- package/lib/radio/radio.css +51 -51
- package/lib/radio/radio.less +20 -13
- package/lib/radio/radio.variable.css +53 -53
- package/lib/rate/index.js +22 -24
- package/lib/rate/rate.css +2 -2
- package/lib/rate/rate.less +1 -1
- package/lib/rate/rate.variable.css +4 -4
- package/lib/rate/star.css +7 -7
- package/lib/rate/star.less +1 -1
- package/lib/rate/star.variable.css +9 -9
- package/lib/resize-layout/index.js +25 -27
- package/lib/resize-layout/resize-layout.css +42 -42
- package/lib/resize-layout/resize-layout.less +10 -17
- package/lib/resize-layout/resize-layout.variable.css +44 -44
- package/lib/search-select/index.js +49 -68
- package/lib/search-select/search-select.css +15 -15
- package/lib/search-select/search-select.variable.css +17 -17
- package/lib/select/index.js +129 -168
- package/lib/select/select.css +87 -87
- package/lib/select/select.less +22 -27
- package/lib/select/select.variable.css +89 -89
- package/lib/shared/index.js +4 -7
- package/lib/sideslider/index.js +14 -22
- package/lib/sideslider/sideslider.css +14 -14
- package/lib/sideslider/sideslider.less +13 -9
- package/lib/sideslider/sideslider.variable.css +16 -16
- package/lib/slider/index.js +22 -36
- package/lib/slider/slider.css +31 -31
- package/lib/slider/slider.less +8 -8
- package/lib/slider/slider.variable.css +33 -33
- package/lib/steps/index.js +28 -30
- package/lib/steps/steps.css +134 -134
- package/lib/steps/steps.less +48 -44
- package/lib/steps/steps.variable.css +136 -136
- package/lib/styles/mixins/animate.css +4 -4
- package/lib/styles/mixins/animate.less +3 -3
- package/lib/styles/mixins/animate.variable.css +6 -6
- package/lib/styles/mixins/mixins.css +15 -15
- package/lib/styles/mixins/mixins.variable.css +15 -15
- package/lib/styles/mixins/popper.css +11 -11
- package/lib/styles/mixins/popper.less +6 -6
- package/lib/styles/mixins/popper.variable.css +13 -13
- package/lib/styles/mixins/scroll.css +5 -5
- package/lib/styles/mixins/scroll.less +4 -4
- package/lib/styles/mixins/scroll.variable.css +7 -7
- package/lib/styles/reset.css +6 -6
- package/lib/styles/reset.less +5 -4
- package/lib/styles/reset.variable.css +8 -8
- package/lib/styles/themes/themes.less +10 -3
- package/lib/swiper/index.js +14 -16
- package/lib/swiper/swiper.css +15 -15
- package/lib/swiper/swiper.less +8 -8
- package/lib/swiper/swiper.variable.css +17 -17
- package/lib/switcher/index.js +29 -31
- package/lib/switcher/switcher.css +57 -57
- package/lib/switcher/switcher.less +22 -14
- package/lib/switcher/switcher.variable.css +59 -59
- package/lib/tab/index.js +44 -46
- package/lib/tab/tab.css +78 -78
- package/lib/tab/tab.less +39 -40
- package/lib/tab/tab.variable.css +80 -80
- package/lib/table/components/table-column.d.ts +1 -0
- package/lib/table/index.d.ts +1 -0
- package/lib/table/index.js +168 -207
- package/lib/table/plugins/head-filter.css +13 -13
- package/lib/table/plugins/head-filter.less +3 -3
- package/lib/table/plugins/head-filter.variable.css +15 -15
- package/lib/table/plugins/head-sort.css +5 -5
- package/lib/table/plugins/head-sort.less +2 -2
- package/lib/table/plugins/head-sort.variable.css +7 -7
- package/lib/table/plugins/settings.css +26 -26
- package/lib/table/plugins/settings.less +3 -1
- package/lib/table/plugins/settings.variable.css +28 -28
- package/lib/table/table.css +380 -380
- package/lib/table/table.less +14 -10
- package/lib/table/table.variable.css +382 -382
- package/lib/table-column/index.d.ts +3 -0
- package/lib/table-column/index.js +57 -43
- package/lib/tag/index.js +19 -21
- package/lib/tag/tag.css +51 -51
- package/lib/tag/tag.less +34 -34
- package/lib/tag/tag.variable.css +53 -53
- package/lib/tag-input/index.js +65 -80
- package/lib/tag-input/tag-input.css +38 -38
- package/lib/tag-input/tag-input.less +3 -3
- package/lib/tag-input/tag-input.variable.css +40 -40
- package/lib/time-picker/index.d.ts +3 -0
- package/lib/time-picker/index.js +7 -9
- package/lib/time-picker/time-picker.css +40 -40
- package/lib/time-picker/time-picker.less +44 -76
- package/lib/time-picker/time-picker.variable.css +42 -42
- package/lib/timeline/index.js +12 -13
- package/lib/timeline/timeline.css +69 -69
- package/lib/timeline/timeline.less +12 -6
- package/lib/timeline/timeline.variable.css +71 -71
- package/lib/transfer/index.js +36 -51
- package/lib/transfer/transfer.css +89 -89
- package/lib/transfer/transfer.less +1 -1
- package/lib/transfer/transfer.variable.css +91 -91
- package/lib/tree/index.js +72 -92
- package/lib/tree/tree.css +49 -49
- package/lib/tree/tree.less +7 -6
- package/lib/tree/tree.variable.css +51 -51
- package/lib/upload/index.js +48 -63
- package/lib/upload/upload.css +98 -98
- package/lib/upload/upload.less +69 -68
- package/lib/upload/upload.variable.css +100 -100
- package/lib/virtual-render/index.js +33 -35
- package/lib/virtual-render/virtual-render.css +9 -9
- package/lib/virtual-render/virtual-render.less +1 -1
- package/lib/virtual-render/virtual-render.variable.css +11 -11
- package/package.json +2 -2
- package/lib/styles/themes/themes copy.less +0 -167
@@ -14,7 +14,7 @@
|
|
14
14
|
box-sizing: border-box;
|
15
15
|
}
|
16
16
|
|
17
|
-
|
17
|
+
.@{bk-prefix}-timeline {
|
18
18
|
padding: 0;
|
19
19
|
margin: 16px 0 0;
|
20
20
|
font-style: normal;
|
@@ -61,6 +61,7 @@
|
|
61
61
|
font-size: 14px;
|
62
62
|
color: #63656e;
|
63
63
|
cursor: pointer;
|
64
|
+
|
64
65
|
}
|
65
66
|
|
66
67
|
.@{bk-prefix}-timeline-content {
|
@@ -87,7 +88,7 @@
|
|
87
88
|
display: inline-block;
|
88
89
|
// transform: scale(1) translate(-.5px, -4px);
|
89
90
|
|
90
|
-
|
91
|
+
>:first-child {
|
91
92
|
font-size: 12px;
|
92
93
|
}
|
93
94
|
}
|
@@ -128,6 +129,7 @@
|
|
128
129
|
&:first-child {
|
129
130
|
margin-top: 0;
|
130
131
|
}
|
132
|
+
|
131
133
|
}
|
132
134
|
|
133
135
|
.@{bk-prefix}-timeline-custom {
|
@@ -140,8 +142,10 @@
|
|
140
142
|
/* stylelint-disable-next-line declaration-no-important */
|
141
143
|
border: none !important;
|
142
144
|
}
|
145
|
+
|
143
146
|
}
|
144
147
|
|
148
|
+
|
145
149
|
each(@themeSelectors, {
|
146
150
|
@color: '@{value}-color';
|
147
151
|
|
@@ -162,7 +166,8 @@
|
|
162
166
|
}
|
163
167
|
}
|
164
168
|
})
|
165
|
-
|
169
|
+
|
170
|
+
each(@colorSelectors, {
|
166
171
|
@color: '@{value}-color';
|
167
172
|
|
168
173
|
.@{bk-prefix}-timeline{
|
@@ -181,7 +186,8 @@
|
|
181
186
|
}
|
182
187
|
}
|
183
188
|
})
|
184
|
-
|
189
|
+
|
190
|
+
&-dashed {
|
185
191
|
.@{bk-prefix}-step {
|
186
192
|
.@{bk-prefix}-step-title,
|
187
193
|
.@{bk-prefix}-step-indicator {
|
@@ -195,7 +201,7 @@
|
|
195
201
|
}
|
196
202
|
}
|
197
203
|
|
198
|
-
|
204
|
+
&-solid {
|
199
205
|
.@{bk-prefix}-step {
|
200
206
|
.@{bk-prefix}-step-title,
|
201
207
|
.@{bk-prefix}-step-indicator {
|
@@ -206,7 +212,7 @@
|
|
206
212
|
}
|
207
213
|
}
|
208
214
|
|
209
|
-
|
215
|
+
&-vertical {
|
210
216
|
height: 100%;
|
211
217
|
flex-direction: column;
|
212
218
|
|
@@ -12,13 +12,13 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
18
19
|
--line-height-base: 16px;
|
19
20
|
--line-height-medium: 16px;
|
20
21
|
--line-height-large: 18px;
|
21
|
-
--border-color: #dcdee5;
|
22
22
|
--component-size-small: 26px;
|
23
23
|
--component-size-base: 32px;
|
24
24
|
--component-size-large: 40px;
|
@@ -111,7 +111,7 @@
|
|
111
111
|
--table-border-color: #dcdee5;
|
112
112
|
--table-head-bg-color: #fafbfd;
|
113
113
|
--table-head-font-color: #313238;
|
114
|
-
--table-body-font-color: #
|
114
|
+
--table-body-font-color: #63656E;
|
115
115
|
--table-row-hover-bg-color: #f5f7fa;
|
116
116
|
--table-row-active-bg-color: #f0f1f5;
|
117
117
|
--cascader-panel-border-color: #dcdee5;
|
@@ -130,7 +130,7 @@
|
|
130
130
|
* {
|
131
131
|
box-sizing: border-box;
|
132
132
|
}
|
133
|
-
|
133
|
+
.bk-timeline {
|
134
134
|
padding: 0;
|
135
135
|
margin: 16px 0 0;
|
136
136
|
font-style: normal;
|
@@ -139,7 +139,7 @@
|
|
139
139
|
text-align: left;
|
140
140
|
list-style: none;
|
141
141
|
}
|
142
|
-
|
142
|
+
.bk-timeline .bk-timeline-dot {
|
143
143
|
position: relative;
|
144
144
|
padding-bottom: 24px;
|
145
145
|
padding-left: 16px;
|
@@ -148,7 +148,7 @@
|
|
148
148
|
font-size: 0;
|
149
149
|
border-left: 1px solid #d8d8d8;
|
150
150
|
}
|
151
|
-
|
151
|
+
.bk-timeline .bk-timeline-dot::before {
|
152
152
|
position: absolute;
|
153
153
|
top: calc(12px * -1);
|
154
154
|
left: -6px;
|
@@ -161,12 +161,12 @@
|
|
161
161
|
content: '';
|
162
162
|
box-sizing: border-box;
|
163
163
|
}
|
164
|
-
|
164
|
+
.bk-timeline .bk-timeline-dot:last-child {
|
165
165
|
padding-bottom: 0;
|
166
166
|
/* 保留border使用间距保持一致 */
|
167
167
|
border-left: 1px solid transparent;
|
168
168
|
}
|
169
|
-
|
169
|
+
.bk-timeline .bk-timeline-dot .bk-timeline-title {
|
170
170
|
display: inline-block;
|
171
171
|
padding-bottom: 10px;
|
172
172
|
margin-top: -3px;
|
@@ -174,13 +174,13 @@
|
|
174
174
|
color: #63656e;
|
175
175
|
cursor: pointer;
|
176
176
|
}
|
177
|
-
|
177
|
+
.bk-timeline .bk-timeline-dot .bk-timeline-content {
|
178
178
|
max-width: 300px;
|
179
179
|
font-size: 14px;
|
180
180
|
color: #979ba5;
|
181
181
|
word-break: break-all;
|
182
182
|
}
|
183
|
-
|
183
|
+
.bk-timeline .bk-timeline-dot .bk-timeline-icon {
|
184
184
|
position: absolute;
|
185
185
|
top: calc(16px * -1);
|
186
186
|
left: -8px;
|
@@ -192,165 +192,165 @@
|
|
192
192
|
justify-content: center;
|
193
193
|
align-items: center;
|
194
194
|
}
|
195
|
-
|
195
|
+
.bk-timeline .bk-timeline-dot .bk-timeline-icon .bk-timeline-icon-inner {
|
196
196
|
display: inline-block;
|
197
197
|
}
|
198
|
-
|
198
|
+
.bk-timeline .bk-timeline-dot .bk-timeline-icon .bk-timeline-icon-inner > :first-child {
|
199
199
|
font-size: 12px;
|
200
200
|
}
|
201
|
-
|
201
|
+
.bk-timeline .bk-timeline-dot .bk-timeline-section {
|
202
202
|
position: relative;
|
203
203
|
top: calc((11px + 2px) * -1);
|
204
204
|
}
|
205
|
-
|
205
|
+
.bk-timeline .bk-timeline-dot.bk-timeline-large {
|
206
206
|
margin-top: calc(15px + 2px);
|
207
207
|
}
|
208
|
-
|
208
|
+
.bk-timeline .bk-timeline-dot.bk-timeline-large::before {
|
209
209
|
top: calc((15px + 1px) * -1);
|
210
210
|
left: -8px;
|
211
211
|
width: 15px;
|
212
212
|
height: 15px;
|
213
213
|
}
|
214
|
-
|
214
|
+
.bk-timeline .bk-timeline-dot.bk-timeline-large > .bk-timeline-section {
|
215
215
|
top: calc((15px + 1px) * -1);
|
216
216
|
}
|
217
|
-
|
217
|
+
.bk-timeline .bk-timeline-dot.bk-timeline-item-custom-icon {
|
218
218
|
margin-top: calc(15px + 2px);
|
219
219
|
}
|
220
|
-
|
220
|
+
.bk-timeline .bk-timeline-dot.bk-timeline-item-custom-icon::before {
|
221
221
|
display: none;
|
222
222
|
}
|
223
|
-
|
223
|
+
.bk-timeline .bk-timeline-dot.bk-timeline-item-custom-icon > .bk-timeline-section {
|
224
224
|
top: calc((15px + 1px) * -1);
|
225
225
|
}
|
226
|
-
|
226
|
+
.bk-timeline .bk-timeline-dot:first-child {
|
227
227
|
margin-top: 0;
|
228
228
|
}
|
229
|
-
|
229
|
+
.bk-timeline .bk-timeline-custom::before {
|
230
230
|
/* stylelint-disable-next-line declaration-no-important */
|
231
231
|
border: none !important;
|
232
232
|
}
|
233
|
-
|
233
|
+
.bk-timeline .bk-timeline-custom .bk-timeline-icon {
|
234
234
|
/* stylelint-disable-next-line declaration-no-important */
|
235
235
|
border: none !important;
|
236
236
|
}
|
237
|
-
|
237
|
+
.bk-timeline .bk-timeline-primary {
|
238
238
|
border-left: 1px solid var(--primary-color);
|
239
239
|
}
|
240
|
-
|
241
|
-
|
240
|
+
.bk-timeline .bk-timeline-primary::before,
|
241
|
+
.bk-timeline .bk-timeline-primary .bk-timeline-icon {
|
242
242
|
color: var(--primary-color);
|
243
243
|
border: 2px solid var(--primary-color);
|
244
244
|
}
|
245
|
-
|
246
|
-
|
245
|
+
.bk-timeline .bk-timeline-primary.bk-timeline-filled::before,
|
246
|
+
.bk-timeline .bk-timeline-primary.bk-timeline-filled .bk-timeline-icon {
|
247
247
|
background: var(--primary-color);
|
248
248
|
}
|
249
|
-
|
249
|
+
.bk-timeline .bk-timeline-warning {
|
250
250
|
border-left: 1px solid var(--warning-color);
|
251
251
|
}
|
252
|
-
|
253
|
-
|
252
|
+
.bk-timeline .bk-timeline-warning::before,
|
253
|
+
.bk-timeline .bk-timeline-warning .bk-timeline-icon {
|
254
254
|
color: var(--warning-color);
|
255
255
|
border: 2px solid var(--warning-color);
|
256
256
|
}
|
257
|
-
|
258
|
-
|
257
|
+
.bk-timeline .bk-timeline-warning.bk-timeline-filled::before,
|
258
|
+
.bk-timeline .bk-timeline-warning.bk-timeline-filled .bk-timeline-icon {
|
259
259
|
background: var(--warning-color);
|
260
260
|
}
|
261
|
-
|
261
|
+
.bk-timeline .bk-timeline-success {
|
262
262
|
border-left: 1px solid var(--success-color);
|
263
263
|
}
|
264
|
-
|
265
|
-
|
264
|
+
.bk-timeline .bk-timeline-success::before,
|
265
|
+
.bk-timeline .bk-timeline-success .bk-timeline-icon {
|
266
266
|
color: var(--success-color);
|
267
267
|
border: 2px solid var(--success-color);
|
268
268
|
}
|
269
|
-
|
270
|
-
|
269
|
+
.bk-timeline .bk-timeline-success.bk-timeline-filled::before,
|
270
|
+
.bk-timeline .bk-timeline-success.bk-timeline-filled .bk-timeline-icon {
|
271
271
|
background: var(--success-color);
|
272
272
|
}
|
273
|
-
|
273
|
+
.bk-timeline .bk-timeline-danger {
|
274
274
|
border-left: 1px solid var(--danger-color);
|
275
275
|
}
|
276
|
-
|
277
|
-
|
276
|
+
.bk-timeline .bk-timeline-danger::before,
|
277
|
+
.bk-timeline .bk-timeline-danger .bk-timeline-icon {
|
278
278
|
color: var(--danger-color);
|
279
279
|
border: 2px solid var(--danger-color);
|
280
280
|
}
|
281
|
-
|
282
|
-
|
281
|
+
.bk-timeline .bk-timeline-danger.bk-timeline-filled::before,
|
282
|
+
.bk-timeline .bk-timeline-danger.bk-timeline-filled .bk-timeline-icon {
|
283
283
|
background: var(--danger-color);
|
284
284
|
}
|
285
|
-
|
286
|
-
|
285
|
+
.bk-timeline .bk-timeline-blue::before,
|
286
|
+
.bk-timeline .bk-timeline-blue .bk-timeline-icon {
|
287
287
|
color: #3a84ff;
|
288
288
|
border: 2px solid #3a84ff;
|
289
289
|
}
|
290
|
-
|
291
|
-
|
290
|
+
.bk-timeline .bk-timeline-blue.bk-timeline-filled::before,
|
291
|
+
.bk-timeline .bk-timeline-blue.bk-timeline-filled .bk-timeline-icon {
|
292
292
|
background: #3a84ff;
|
293
293
|
}
|
294
|
-
|
295
|
-
|
294
|
+
.bk-timeline .bk-timeline-red::before,
|
295
|
+
.bk-timeline .bk-timeline-red .bk-timeline-icon {
|
296
296
|
color: #ea3636;
|
297
297
|
border: 2px solid #ea3636;
|
298
298
|
}
|
299
|
-
|
300
|
-
|
299
|
+
.bk-timeline .bk-timeline-red.bk-timeline-filled::before,
|
300
|
+
.bk-timeline .bk-timeline-red.bk-timeline-filled .bk-timeline-icon {
|
301
301
|
background: #ea3636;
|
302
302
|
}
|
303
|
-
|
304
|
-
|
303
|
+
.bk-timeline .bk-timeline-green::before,
|
304
|
+
.bk-timeline .bk-timeline-green .bk-timeline-icon {
|
305
305
|
color: #2dcb56;
|
306
306
|
border: 2px solid #2dcb56;
|
307
307
|
}
|
308
|
-
|
309
|
-
|
308
|
+
.bk-timeline .bk-timeline-green.bk-timeline-filled::before,
|
309
|
+
.bk-timeline .bk-timeline-green.bk-timeline-filled .bk-timeline-icon {
|
310
310
|
background: #2dcb56;
|
311
311
|
}
|
312
|
-
|
313
|
-
|
312
|
+
.bk-timeline .bk-timeline-yellow::before,
|
313
|
+
.bk-timeline .bk-timeline-yellow .bk-timeline-icon {
|
314
314
|
color: #ff9c01;
|
315
315
|
border: 2px solid #ff9c01;
|
316
316
|
}
|
317
|
-
|
318
|
-
|
317
|
+
.bk-timeline .bk-timeline-yellow.bk-timeline-filled::before,
|
318
|
+
.bk-timeline .bk-timeline-yellow.bk-timeline-filled .bk-timeline-icon {
|
319
319
|
background: #ff9c01;
|
320
320
|
}
|
321
|
-
|
322
|
-
|
321
|
+
.bk-timeline .bk-timeline-gray::before,
|
322
|
+
.bk-timeline .bk-timeline-gray .bk-timeline-icon {
|
323
323
|
color: #63656e;
|
324
324
|
border: 2px solid #63656e;
|
325
325
|
}
|
326
|
-
|
327
|
-
|
326
|
+
.bk-timeline .bk-timeline-gray.bk-timeline-filled::before,
|
327
|
+
.bk-timeline .bk-timeline-gray.bk-timeline-filled .bk-timeline-icon {
|
328
328
|
background: #63656e;
|
329
329
|
}
|
330
|
-
|
331
|
-
|
330
|
+
.bk-timeline-dashed .bk-step .bk-step-title::after,
|
331
|
+
.bk-timeline-dashed .bk-step .bk-step-indicator::after {
|
332
332
|
background-image: linear-gradient(to right, var(--light-gray) 50%, transparent 0%);
|
333
333
|
background-position: bottom;
|
334
334
|
background-repeat: repeat-x;
|
335
335
|
background-size: 6px 1px;
|
336
336
|
}
|
337
|
-
|
338
|
-
|
337
|
+
.bk-timeline-solid .bk-step .bk-step-title::after,
|
338
|
+
.bk-timeline-solid .bk-step .bk-step-indicator::after {
|
339
339
|
background-color: var(--light-gray);
|
340
340
|
}
|
341
|
-
|
341
|
+
.bk-timeline-vertical {
|
342
342
|
height: 100%;
|
343
343
|
flex-direction: column;
|
344
344
|
}
|
345
|
-
|
345
|
+
.bk-timeline-vertical .bk-step {
|
346
346
|
margin-right: 0;
|
347
347
|
margin-bottom: 8px;
|
348
348
|
}
|
349
|
-
|
350
|
-
|
349
|
+
.bk-timeline-vertical .bk-step .bk-step-title::after,
|
350
|
+
.bk-timeline-vertical .bk-step .bk-step-indicator::after {
|
351
351
|
display: none;
|
352
352
|
}
|
353
|
-
|
353
|
+
.bk-timeline-vertical .bk-step::after {
|
354
354
|
position: absolute;
|
355
355
|
top: 32px;
|
356
356
|
left: 12px;
|
@@ -362,7 +362,7 @@
|
|
362
362
|
background-size: 1px 6px;
|
363
363
|
content: '';
|
364
364
|
}
|
365
|
-
|
365
|
+
.bk-timeline-vertical .bk-step .bk-step-title {
|
366
366
|
display: flex;
|
367
367
|
height: 100%;
|
368
368
|
margin-top: 0;
|
package/lib/transfer/index.js
CHANGED
@@ -1,13 +1,9 @@
|
|
1
|
-
import "../
|
2
|
-
import "./transfer.less";
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__ from "../shared";
|
4
2
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
5
|
-
import * as
|
6
|
-
import "../
|
7
|
-
import * as
|
8
|
-
import * as
|
9
|
-
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_input_d525237e__ from "../input";
|
10
|
-
import "../input/input.less";
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__checkbox_a57bcb84__ from "../checkbox";
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__ from "../config-provider";
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icon__2ba2075d__ from "../icon/";
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE__input_752b0149__ from "../input";
|
11
7
|
/******/ // The require scope
|
12
8
|
/******/ var __webpack_require__ = {};
|
13
9
|
/******/
|
@@ -40,7 +36,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
40
36
|
;// CONCATENATED MODULE: external "../shared"
|
41
37
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
42
38
|
var y = x => () => x
|
43
|
-
const
|
39
|
+
const external_shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
|
44
40
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
45
41
|
function _arrayLikeToArray(arr, len) {
|
46
42
|
if (len == null || len > arr.length) len = arr.length;
|
@@ -83,29 +79,21 @@ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
83
79
|
var external_vue_y = x => () => x
|
84
80
|
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["toRaw"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRaw, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
|
85
81
|
;// CONCATENATED MODULE: external "../checkbox"
|
86
|
-
var
|
87
|
-
var
|
88
|
-
const
|
89
|
-
;// CONCATENATED MODULE: external "../checkbox/checkbox.less"
|
90
|
-
var checkbox_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
91
|
-
var checkbox_less_y = x => () => x
|
92
|
-
const checkbox_less_namespaceObject = checkbox_less_x({ });
|
82
|
+
var external_checkbox_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
83
|
+
var external_checkbox_y = x => () => x
|
84
|
+
const external_checkbox_namespaceObject = external_checkbox_x({ ["BkCheckboxGroup"]: () => __WEBPACK_EXTERNAL_MODULE__checkbox_a57bcb84__.BkCheckboxGroup, ["default"]: () => __WEBPACK_EXTERNAL_MODULE__checkbox_a57bcb84__["default"] });
|
93
85
|
;// CONCATENATED MODULE: external "../config-provider"
|
94
|
-
var
|
95
|
-
var
|
96
|
-
const
|
86
|
+
var external_config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
87
|
+
var external_config_provider_y = x => () => x
|
88
|
+
const external_config_provider_namespaceObject = external_config_provider_x({ ["useLocale"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__.useLocale, ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__.usePrefix });
|
97
89
|
;// CONCATENATED MODULE: external "../icon/"
|
98
90
|
var _x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
99
91
|
var _y = x => () => x
|
100
|
-
const _namespaceObject = _x({ ["AngleLeft"]: () =>
|
92
|
+
const _namespaceObject = _x({ ["AngleLeft"]: () => __WEBPACK_EXTERNAL_MODULE__icon__2ba2075d__.AngleLeft, ["AngleRight"]: () => __WEBPACK_EXTERNAL_MODULE__icon__2ba2075d__.AngleRight, ["ArrowsRight"]: () => __WEBPACK_EXTERNAL_MODULE__icon__2ba2075d__.ArrowsRight, ["Error"]: () => __WEBPACK_EXTERNAL_MODULE__icon__2ba2075d__.Error, ["Search"]: () => __WEBPACK_EXTERNAL_MODULE__icon__2ba2075d__.Search, ["Transfer"]: () => __WEBPACK_EXTERNAL_MODULE__icon__2ba2075d__.Transfer });
|
101
93
|
;// CONCATENATED MODULE: external "../input"
|
102
|
-
var
|
103
|
-
var
|
104
|
-
const
|
105
|
-
;// CONCATENATED MODULE: external "../input/input.less"
|
106
|
-
var input_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
107
|
-
var input_less_y = x => () => x
|
108
|
-
const input_less_namespaceObject = input_less_x({ });
|
94
|
+
var external_input_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
95
|
+
var external_input_y = x => () => x
|
96
|
+
const external_input_namespaceObject = external_input_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE__input_752b0149__["default"] });
|
109
97
|
;// CONCATENATED MODULE: ../../packages/transfer/src/const.ts
|
110
98
|
/*
|
111
99
|
* Tencent is pleased to support the open source community by making
|
@@ -168,31 +156,31 @@ var ArrayType;
|
|
168
156
|
|
169
157
|
var transferProps = {
|
170
158
|
// 顶部title(title[0]: 左侧title,title[1]: 右侧title,)
|
171
|
-
title:
|
159
|
+
title: external_shared_namespaceObject.PropTypes.arrayOf(external_shared_namespaceObject.PropTypes.string).def([]),
|
172
160
|
// 自定义class
|
173
|
-
extCls:
|
161
|
+
extCls: external_shared_namespaceObject.PropTypes.string.def(''),
|
174
162
|
// 搜索框 placeholder
|
175
|
-
searchPlaceholder:
|
163
|
+
searchPlaceholder: external_shared_namespaceObject.PropTypes.string.def(''),
|
176
164
|
// 唯一key值
|
177
|
-
settingKey:
|
165
|
+
settingKey: external_shared_namespaceObject.PropTypes.string.def('id'),
|
178
166
|
// 循环list时,显示字段的key值(当list为普通数组时可不传传了也无效)
|
179
|
-
displayKey:
|
167
|
+
displayKey: external_shared_namespaceObject.PropTypes.string.def('value'),
|
180
168
|
// 排序所依据的key(当list为普通数组时可不传,默认按照index值排序)
|
181
|
-
sortKey:
|
169
|
+
sortKey: external_shared_namespaceObject.PropTypes.string.def('value'),
|
182
170
|
// 内容超出是否显示tooltip
|
183
|
-
showOverflowTips:
|
171
|
+
showOverflowTips: external_shared_namespaceObject.PropTypes.bool.def(false),
|
184
172
|
// 是否开启搜索
|
185
|
-
searchable:
|
173
|
+
searchable: external_shared_namespaceObject.PropTypes.bool.def(false),
|
186
174
|
// 是否开启排序功能
|
187
|
-
sortable:
|
175
|
+
sortable: external_shared_namespaceObject.PropTypes.bool.def(false),
|
188
176
|
// 穿梭框数据源(支持普通数组)
|
189
|
-
sourceList:
|
177
|
+
sourceList: external_shared_namespaceObject.PropTypes.arrayOf(external_shared_namespaceObject.PropTypes.any).def([]),
|
190
178
|
// 默认已选择的数据源
|
191
|
-
targetList:
|
179
|
+
targetList: external_shared_namespaceObject.PropTypes.arrayOf(external_shared_namespaceObject.PropTypes.any).def([]),
|
192
180
|
// 穿梭框无数据时提示文案
|
193
|
-
emptyContent:
|
181
|
+
emptyContent: external_shared_namespaceObject.PropTypes.arrayOf(external_shared_namespaceObject.PropTypes.string).def([]),
|
194
182
|
// 支持checkbox多选模式
|
195
|
-
multiple:
|
183
|
+
multiple: external_shared_namespaceObject.PropTypes.bool.def(false)
|
196
184
|
};
|
197
185
|
;// CONCATENATED MODULE: ../../packages/transfer/src/transfer.tsx
|
198
186
|
|
@@ -230,9 +218,6 @@ var transferProps = {
|
|
230
218
|
|
231
219
|
|
232
220
|
|
233
|
-
|
234
|
-
|
235
|
-
|
236
221
|
// 生成数据
|
237
222
|
function _isSlot(s) {
|
238
223
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
|
@@ -290,7 +275,7 @@ function useSelectListSearch(selectList, displayCode) {
|
|
290
275
|
emits: ['change', 'update:targetList'],
|
291
276
|
setup: function setup(props, _ref) {
|
292
277
|
var emit = _ref.emit;
|
293
|
-
var t = (0,
|
278
|
+
var t = (0,external_config_provider_namespaceObject.useLocale)('transfer');
|
294
279
|
var multipleSelectAllValue = (0,external_vue_namespaceObject.ref)({
|
295
280
|
source: false,
|
296
281
|
target: false
|
@@ -471,7 +456,7 @@ function useSelectListSearch(selectList, displayCode) {
|
|
471
456
|
multipleSelectList.value[isLeft ? 'source' : 'target'] = [];
|
472
457
|
handleEmitUpdateTargetList();
|
473
458
|
};
|
474
|
-
var _usePrefix = (0,
|
459
|
+
var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
|
475
460
|
resolveClassName = _usePrefix.resolveClassName;
|
476
461
|
return {
|
477
462
|
selectSearchQuery: selectSearchQuery,
|
@@ -515,7 +500,7 @@ function useSelectListSearch(selectList, displayCode) {
|
|
515
500
|
"class": "slot-header"
|
516
501
|
}, [_this.$slots[dirct]()]) : (0,external_vue_namespaceObject.createVNode)("div", {
|
517
502
|
"class": "header"
|
518
|
-
}, [_this.multiple ? (0,external_vue_namespaceObject.createVNode)(
|
503
|
+
}, [_this.multiple ? (0,external_vue_namespaceObject.createVNode)(external_checkbox_namespaceObject["default"], {
|
519
504
|
"class": "header-checkbox",
|
520
505
|
"label": titleText,
|
521
506
|
"modelValue": _this.multipleSelectAllValue[selectField],
|
@@ -576,7 +561,7 @@ function useSelectListSearch(selectList, displayCode) {
|
|
576
561
|
var list = isLeft ? leftList : rightList;
|
577
562
|
var slotName = isLeft ? 'source-option' : 'target-option';
|
578
563
|
var emptySlotName = isLeft ? 'left-empty-content' : 'right-empty-content';
|
579
|
-
var contentMode = multiple ? (0,external_vue_namespaceObject.createVNode)(
|
564
|
+
var contentMode = multiple ? (0,external_vue_namespaceObject.createVNode)(external_checkbox_namespaceObject.BkCheckboxGroup, {
|
580
565
|
"class": "content is-flex",
|
581
566
|
"modelValue": _this.multipleSelectList[selectField],
|
582
567
|
"onUpdate:modelValue": function onUpdateModelValue($event) {
|
@@ -587,7 +572,7 @@ function useSelectListSearch(selectList, displayCode) {
|
|
587
572
|
}
|
588
573
|
}, _isSlot(_slot = list.map(function (item) {
|
589
574
|
var _this$$slots$slotName, _this$$slots$slotName2, _this$$slots;
|
590
|
-
return (0,external_vue_namespaceObject.createVNode)("div", null, [(0,external_vue_namespaceObject.createVNode)(
|
575
|
+
return (0,external_vue_namespaceObject.createVNode)("div", null, [(0,external_vue_namespaceObject.createVNode)(external_checkbox_namespaceObject["default"], {
|
591
576
|
"class": "checkbox-item",
|
592
577
|
"label": item[_this.settingCode]
|
593
578
|
}, {
|
@@ -617,7 +602,7 @@ function useSelectListSearch(selectList, displayCode) {
|
|
617
602
|
"class": ["".concat(this.resolveClassName('transfer')), this.extCls]
|
618
603
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
619
604
|
"class": "source-list"
|
620
|
-
}, [getHeaderHtml('left-header'), this.searchable && (0,external_vue_namespaceObject.createVNode)(
|
605
|
+
}, [getHeaderHtml('left-header'), this.searchable && (0,external_vue_namespaceObject.createVNode)(external_input_namespaceObject["default"], {
|
621
606
|
"modelValue": _this.selectSearchQuery,
|
622
607
|
"onUpdate:modelValue": function onUpdateModelValue($event) {
|
623
608
|
return _this.selectSearchQuery = $event;
|
@@ -682,7 +667,7 @@ function useSelectListSearch(selectList, displayCode) {
|
|
682
667
|
*/
|
683
668
|
|
684
669
|
|
685
|
-
var Transfer = (0,
|
670
|
+
var Transfer = (0,external_shared_namespaceObject.withInstall)(transfer);
|
686
671
|
/* harmony default export */ const src = (Transfer);
|
687
672
|
var __webpack_exports__default = __webpack_exports__["default"];
|
688
673
|
export { __webpack_exports__default as default };
|