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
@@ -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;
|
@@ -127,7 +127,7 @@
|
|
127
127
|
--select-active-color: #e1ecff;
|
128
128
|
--select-hover-color: #f5f7fa;
|
129
129
|
}
|
130
|
-
|
130
|
+
.bk-time-picker-header {
|
131
131
|
height: 46px;
|
132
132
|
font-size: 14px;
|
133
133
|
font-weight: 700;
|
@@ -136,7 +136,7 @@
|
|
136
136
|
text-align: center;
|
137
137
|
border-bottom: 1px solid #dcdee5;
|
138
138
|
}
|
139
|
-
|
139
|
+
.bk-time-picker-cells:after {
|
140
140
|
position: absolute;
|
141
141
|
right: 0;
|
142
142
|
left: 0;
|
@@ -152,8 +152,8 @@
|
|
152
152
|
box-sizing: border-box;
|
153
153
|
mix-blend-mode: multiply;
|
154
154
|
}
|
155
|
-
|
156
|
-
|
155
|
+
.bk-time-picker-cells-with-seconds .bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title:nth-of-type(1):before,
|
156
|
+
.bk-time-picker-cells-with-seconds .bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title:nth-of-type(2):before {
|
157
157
|
position: absolute;
|
158
158
|
top: 55px;
|
159
159
|
left: 85px;
|
@@ -164,8 +164,8 @@
|
|
164
164
|
border-radius: 50%;
|
165
165
|
content: '';
|
166
166
|
}
|
167
|
-
|
168
|
-
|
167
|
+
.bk-time-picker-cells-with-seconds .bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title:nth-of-type(1):after,
|
168
|
+
.bk-time-picker-cells-with-seconds .bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title:nth-of-type(2):after {
|
169
169
|
position: absolute;
|
170
170
|
top: calc(55px + 5px);
|
171
171
|
left: 85px;
|
@@ -176,12 +176,12 @@
|
|
176
176
|
border-radius: 50%;
|
177
177
|
content: '';
|
178
178
|
}
|
179
|
-
|
179
|
+
.bk-time-picker-cells-title-wrapper {
|
180
180
|
width: 100%;
|
181
181
|
height: 42px;
|
182
182
|
line-height: 42px;
|
183
183
|
}
|
184
|
-
|
184
|
+
.bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title {
|
185
185
|
position: relative;
|
186
186
|
float: left;
|
187
187
|
width: 33.33%;
|
@@ -191,10 +191,10 @@
|
|
191
191
|
text-align: center;
|
192
192
|
list-style: none;
|
193
193
|
}
|
194
|
-
|
194
|
+
.bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title.active {
|
195
195
|
color: #3a84ff;
|
196
196
|
}
|
197
|
-
|
197
|
+
.bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title:nth-of-type(1):before {
|
198
198
|
position: absolute;
|
199
199
|
top: 55px;
|
200
200
|
left: 133px;
|
@@ -205,7 +205,7 @@
|
|
205
205
|
border-radius: 50%;
|
206
206
|
content: '';
|
207
207
|
}
|
208
|
-
|
208
|
+
.bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title:nth-of-type(1):after {
|
209
209
|
position: absolute;
|
210
210
|
top: calc(55px + 5px);
|
211
211
|
left: 133px;
|
@@ -216,39 +216,39 @@
|
|
216
216
|
border-radius: 50%;
|
217
217
|
content: '';
|
218
218
|
}
|
219
|
-
|
219
|
+
.bk-time-picker-cells-list {
|
220
220
|
position: relative;
|
221
221
|
float: left;
|
222
222
|
width: 33.33%;
|
223
223
|
max-height: 200px;
|
224
224
|
overflow: hidden;
|
225
225
|
}
|
226
|
-
|
226
|
+
.bk-time-picker-cells-list:hover {
|
227
227
|
overflow-y: auto;
|
228
228
|
}
|
229
|
-
|
229
|
+
.bk-time-picker-cells-list:first-child {
|
230
230
|
border-radius: 2px 0 0 2px;
|
231
231
|
}
|
232
|
-
|
232
|
+
.bk-time-picker-cells-list:last-child {
|
233
233
|
border-radius: 0 2px 2px 0;
|
234
234
|
}
|
235
|
-
|
235
|
+
.bk-time-picker-cells-list::-webkit-scrollbar {
|
236
236
|
width: 0;
|
237
237
|
height: 0;
|
238
238
|
background-color: rgba(204, 204, 204, 0);
|
239
239
|
}
|
240
|
-
|
240
|
+
.bk-time-picker-cells-list::-webkit-scrollbar-thumb {
|
241
241
|
width: 0;
|
242
242
|
height: 0;
|
243
243
|
background-color: transparent;
|
244
244
|
}
|
245
|
-
|
245
|
+
.bk-time-picker-cells-list .bk-time-picker-cells-ul {
|
246
246
|
width: 100%;
|
247
247
|
padding: 0 0 168px 0;
|
248
248
|
margin: 0;
|
249
249
|
list-style: none;
|
250
250
|
}
|
251
|
-
|
251
|
+
.bk-time-picker-cells-list .bk-time-picker-cells-ul .bk-time-picker-cells-cell {
|
252
252
|
position: relative;
|
253
253
|
width: 100%;
|
254
254
|
height: 32px;
|
@@ -264,23 +264,23 @@
|
|
264
264
|
transition: background 0.2s ease-in-out;
|
265
265
|
user-select: none;
|
266
266
|
}
|
267
|
-
|
267
|
+
.bk-time-picker-cells-list .bk-time-picker-cells-ul .bk-time-picker-cells-cell:hover {
|
268
268
|
color: #3a84ff;
|
269
269
|
}
|
270
|
-
|
270
|
+
.bk-time-picker-cells-list .bk-time-picker-cells-ul .bk-time-picker-cells-cell-disabled {
|
271
271
|
color: #c4c6cc;
|
272
272
|
cursor: not-allowed;
|
273
273
|
}
|
274
|
-
|
274
|
+
.bk-time-picker-cells-list .bk-time-picker-cells-ul .bk-time-picker-cells-cell-disabled:hover {
|
275
275
|
color: #c4c6cc;
|
276
276
|
cursor: not-allowed;
|
277
277
|
background-color: #fff;
|
278
278
|
}
|
279
|
-
|
280
|
-
|
279
|
+
.bk-time-picker-cells-list .bk-time-picker-cells-ul .bk-time-picker-cells-cell-selected,
|
280
|
+
.bk-time-picker-cells-list .bk-time-picker-cells-ul .bk-time-picker-cells-cell-selected:hover {
|
281
281
|
color: #3a84ff;
|
282
282
|
}
|
283
|
-
|
283
|
+
.bk-time-picker-header {
|
284
284
|
height: 46px;
|
285
285
|
font-size: 14px;
|
286
286
|
font-weight: 700;
|
@@ -289,11 +289,11 @@
|
|
289
289
|
text-align: center;
|
290
290
|
border-bottom: 1px solid #dcdee5;
|
291
291
|
}
|
292
|
-
|
292
|
+
.bk-time-picker-with-range .bk-picker-panel-content {
|
293
293
|
position: relative;
|
294
294
|
float: left;
|
295
295
|
}
|
296
|
-
|
296
|
+
.bk-time-picker-with-range .bk-picker-panel-content:after {
|
297
297
|
position: absolute;
|
298
298
|
top: 45px;
|
299
299
|
right: 0;
|
@@ -304,42 +304,42 @@
|
|
304
304
|
background: #e8eaec;
|
305
305
|
content: '';
|
306
306
|
}
|
307
|
-
|
307
|
+
.bk-time-picker-with-range .bk-picker-panel-content-right {
|
308
308
|
float: right;
|
309
309
|
}
|
310
|
-
|
310
|
+
.bk-time-picker-with-range .bk-picker-panel-content-right:after {
|
311
311
|
right: auto;
|
312
312
|
left: 0;
|
313
313
|
}
|
314
|
-
|
314
|
+
.bk-time-picker-with-range .bk-time-picker-cells-list:first-child {
|
315
315
|
border-radius: 0;
|
316
316
|
}
|
317
|
-
|
317
|
+
.bk-time-picker-with-range .bk-time-picker-cells-list:last-child {
|
318
318
|
border-radius: 0;
|
319
319
|
}
|
320
|
-
|
321
|
-
position: relative;
|
320
|
+
.bk-picker-panel-content .bk-picker-panel-content .bk-time-picker-cells {
|
322
321
|
min-width: 216px;
|
322
|
+
position: relative;
|
323
323
|
}
|
324
|
-
|
324
|
+
.bk-picker-panel-content .bk-picker-panel-content .bk-time-picker-cells-with-seconds {
|
325
325
|
min-width: 216px;
|
326
326
|
}
|
327
|
-
|
327
|
+
.bk-picker-panel-content .bk-picker-panel-content .bk-time-picker-cells-with-seconds .bk-time-picker-cells-list {
|
328
328
|
width: 72px;
|
329
329
|
}
|
330
|
-
|
330
|
+
.bk-picker-panel-content .bk-picker-panel-content .bk-time-picker-cells-with-seconds .bk-time-picker-cells-list ul li {
|
331
331
|
padding: 0;
|
332
332
|
}
|
333
|
-
|
333
|
+
.bk-picker-panel-content .bk-picker-panel-content .bk-time-picker-cells-list {
|
334
334
|
width: 108px;
|
335
335
|
max-height: 200px;
|
336
336
|
}
|
337
|
-
|
337
|
+
.bk-picker-panel-content .bk-picker-panel-content .bk-time-picker-cells-list:first-child {
|
338
338
|
border-radius: 0;
|
339
339
|
}
|
340
|
-
|
340
|
+
.bk-picker-panel-content .bk-picker-panel-content .bk-time-picker-cells-list:last-child {
|
341
341
|
border-radius: 0;
|
342
342
|
}
|
343
|
-
|
343
|
+
.bk-picker-panel-content .bk-picker-panel-content .bk-time-picker-cells-list ul {
|
344
344
|
padding: 0 0 168px 0;
|
345
345
|
}
|
package/lib/timeline/index.js
CHANGED
@@ -1,7 +1,6 @@
|
|
1
|
-
import "../
|
2
|
-
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__ from "../shared";
|
3
2
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
4
|
-
import * as
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__ from "../config-provider";
|
5
4
|
/******/ // The require scope
|
6
5
|
/******/ var __webpack_require__ = {};
|
7
6
|
/******/
|
@@ -34,7 +33,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
34
33
|
;// CONCATENATED MODULE: external "../shared"
|
35
34
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
36
35
|
var y = x => () => x
|
37
|
-
const
|
36
|
+
const external_shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.classes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
|
38
37
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
39
38
|
function _typeof(o) {
|
40
39
|
"@babel/helpers - typeof";
|
@@ -50,9 +49,9 @@ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
50
49
|
var external_vue_y = x => () => x
|
51
50
|
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
|
52
51
|
;// CONCATENATED MODULE: external "../config-provider"
|
53
|
-
var
|
54
|
-
var
|
55
|
-
const
|
52
|
+
var external_config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
53
|
+
var external_config_provider_y = x => () => x
|
54
|
+
const external_config_provider_namespaceObject = external_config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__.usePrefix });
|
56
55
|
;// CONCATENATED MODULE: ../../packages/timeline/src/timeline.tsx
|
57
56
|
|
58
57
|
|
@@ -85,9 +84,9 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
85
84
|
|
86
85
|
|
87
86
|
var timelineProps = {
|
88
|
-
list:
|
89
|
-
titleAble:
|
90
|
-
extCls:
|
87
|
+
list: external_shared_namespaceObject.PropTypes.array.def([]),
|
88
|
+
titleAble: external_shared_namespaceObject.PropTypes.bool.def(false),
|
89
|
+
extCls: external_shared_namespaceObject.PropTypes.string
|
91
90
|
};
|
92
91
|
/* harmony default export */ const timeline = ((0,external_vue_namespaceObject.defineComponent)({
|
93
92
|
name: 'Timeline',
|
@@ -145,7 +144,7 @@ var timelineProps = {
|
|
145
144
|
}, {
|
146
145
|
deep: true
|
147
146
|
});
|
148
|
-
var _usePrefix = (0,
|
147
|
+
var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
|
149
148
|
resolveClassName = _usePrefix.resolveClassName;
|
150
149
|
return {
|
151
150
|
defaultTimelines: defaultTimelines,
|
@@ -170,7 +169,7 @@ var timelineProps = {
|
|
170
169
|
var timelineFilledCls = item.filled ? "".concat(timelineClsPrefix, "-filled") : '';
|
171
170
|
var timelinesColorsCls = item.color && dotColors.includes(item.color) ? "".concat(timelineClsPrefix, "-").concat(item.color) : '';
|
172
171
|
var timelineCustomIcon = isIcon(item) ? "".concat(timelineClsPrefix, "-custom") : '';
|
173
|
-
var timelinesCls = (0,
|
172
|
+
var timelinesCls = (0,external_shared_namespaceObject.classes)({}, "".concat(timelineClsPrefix, " ").concat(timelineThemeCls, " ").concat(timelineSizeCls, " ").concat(timelinesColorsCls, " ").concat(timelineFilledCls, " ").concat(timelineCustomIcon));
|
174
173
|
return timelinesCls;
|
175
174
|
};
|
176
175
|
var getContent = function getContent(item) {
|
@@ -236,7 +235,7 @@ var timelineProps = {
|
|
236
235
|
*/
|
237
236
|
|
238
237
|
|
239
|
-
var BkTimeline = (0,
|
238
|
+
var BkTimeline = (0,external_shared_namespaceObject.withInstall)(timeline);
|
240
239
|
/* harmony default export */ const src = (BkTimeline);
|
241
240
|
var __webpack_exports__default = __webpack_exports__["default"];
|
242
241
|
export { __webpack_exports__default as default };
|
@@ -1,7 +1,7 @@
|
|
1
1
|
* {
|
2
2
|
box-sizing: border-box;
|
3
3
|
}
|
4
|
-
|
4
|
+
.bk-timeline {
|
5
5
|
padding: 0;
|
6
6
|
margin: 16px 0 0;
|
7
7
|
font-style: normal;
|
@@ -10,7 +10,7 @@
|
|
10
10
|
text-align: left;
|
11
11
|
list-style: none;
|
12
12
|
}
|
13
|
-
|
13
|
+
.bk-timeline .bk-timeline-dot {
|
14
14
|
position: relative;
|
15
15
|
padding-bottom: 24px;
|
16
16
|
padding-left: 16px;
|
@@ -19,7 +19,7 @@
|
|
19
19
|
font-size: 0;
|
20
20
|
border-left: 1px solid #d8d8d8;
|
21
21
|
}
|
22
|
-
|
22
|
+
.bk-timeline .bk-timeline-dot::before {
|
23
23
|
position: absolute;
|
24
24
|
top: calc(12px * -1);
|
25
25
|
left: -6px;
|
@@ -32,12 +32,12 @@
|
|
32
32
|
content: '';
|
33
33
|
box-sizing: border-box;
|
34
34
|
}
|
35
|
-
|
35
|
+
.bk-timeline .bk-timeline-dot:last-child {
|
36
36
|
padding-bottom: 0;
|
37
37
|
/* 保留border使用间距保持一致 */
|
38
38
|
border-left: 1px solid transparent;
|
39
39
|
}
|
40
|
-
|
40
|
+
.bk-timeline .bk-timeline-dot .bk-timeline-title {
|
41
41
|
display: inline-block;
|
42
42
|
padding-bottom: 10px;
|
43
43
|
margin-top: -3px;
|
@@ -45,13 +45,13 @@
|
|
45
45
|
color: #63656e;
|
46
46
|
cursor: pointer;
|
47
47
|
}
|
48
|
-
|
48
|
+
.bk-timeline .bk-timeline-dot .bk-timeline-content {
|
49
49
|
max-width: 300px;
|
50
50
|
font-size: 14px;
|
51
51
|
color: #979ba5;
|
52
52
|
word-break: break-all;
|
53
53
|
}
|
54
|
-
|
54
|
+
.bk-timeline .bk-timeline-dot .bk-timeline-icon {
|
55
55
|
position: absolute;
|
56
56
|
top: calc(16px * -1);
|
57
57
|
left: -8px;
|
@@ -63,165 +63,165 @@
|
|
63
63
|
justify-content: center;
|
64
64
|
align-items: center;
|
65
65
|
}
|
66
|
-
|
66
|
+
.bk-timeline .bk-timeline-dot .bk-timeline-icon .bk-timeline-icon-inner {
|
67
67
|
display: inline-block;
|
68
68
|
}
|
69
|
-
|
69
|
+
.bk-timeline .bk-timeline-dot .bk-timeline-icon .bk-timeline-icon-inner > :first-child {
|
70
70
|
font-size: 12px;
|
71
71
|
}
|
72
|
-
|
72
|
+
.bk-timeline .bk-timeline-dot .bk-timeline-section {
|
73
73
|
position: relative;
|
74
74
|
top: calc((11px + 2px) * -1);
|
75
75
|
}
|
76
|
-
|
76
|
+
.bk-timeline .bk-timeline-dot.bk-timeline-large {
|
77
77
|
margin-top: calc(15px + 2px);
|
78
78
|
}
|
79
|
-
|
79
|
+
.bk-timeline .bk-timeline-dot.bk-timeline-large::before {
|
80
80
|
top: calc((15px + 1px) * -1);
|
81
81
|
left: -8px;
|
82
82
|
width: 15px;
|
83
83
|
height: 15px;
|
84
84
|
}
|
85
|
-
|
85
|
+
.bk-timeline .bk-timeline-dot.bk-timeline-large > .bk-timeline-section {
|
86
86
|
top: calc((15px + 1px) * -1);
|
87
87
|
}
|
88
|
-
|
88
|
+
.bk-timeline .bk-timeline-dot.bk-timeline-item-custom-icon {
|
89
89
|
margin-top: calc(15px + 2px);
|
90
90
|
}
|
91
|
-
|
91
|
+
.bk-timeline .bk-timeline-dot.bk-timeline-item-custom-icon::before {
|
92
92
|
display: none;
|
93
93
|
}
|
94
|
-
|
94
|
+
.bk-timeline .bk-timeline-dot.bk-timeline-item-custom-icon > .bk-timeline-section {
|
95
95
|
top: calc((15px + 1px) * -1);
|
96
96
|
}
|
97
|
-
|
97
|
+
.bk-timeline .bk-timeline-dot:first-child {
|
98
98
|
margin-top: 0;
|
99
99
|
}
|
100
|
-
|
100
|
+
.bk-timeline .bk-timeline-custom::before {
|
101
101
|
/* stylelint-disable-next-line declaration-no-important */
|
102
102
|
border: none !important;
|
103
103
|
}
|
104
|
-
|
104
|
+
.bk-timeline .bk-timeline-custom .bk-timeline-icon {
|
105
105
|
/* stylelint-disable-next-line declaration-no-important */
|
106
106
|
border: none !important;
|
107
107
|
}
|
108
|
-
|
108
|
+
.bk-timeline .bk-timeline-primary {
|
109
109
|
border-left: 1px solid #3a84ff;
|
110
110
|
}
|
111
|
-
|
112
|
-
|
111
|
+
.bk-timeline .bk-timeline-primary::before,
|
112
|
+
.bk-timeline .bk-timeline-primary .bk-timeline-icon {
|
113
113
|
color: #3a84ff;
|
114
114
|
border: 2px solid #3a84ff;
|
115
115
|
}
|
116
|
-
|
117
|
-
|
116
|
+
.bk-timeline .bk-timeline-primary.bk-timeline-filled::before,
|
117
|
+
.bk-timeline .bk-timeline-primary.bk-timeline-filled .bk-timeline-icon {
|
118
118
|
background: #3a84ff;
|
119
119
|
}
|
120
|
-
|
120
|
+
.bk-timeline .bk-timeline-warning {
|
121
121
|
border-left: 1px solid #ff9c01;
|
122
122
|
}
|
123
|
-
|
124
|
-
|
123
|
+
.bk-timeline .bk-timeline-warning::before,
|
124
|
+
.bk-timeline .bk-timeline-warning .bk-timeline-icon {
|
125
125
|
color: #ff9c01;
|
126
126
|
border: 2px solid #ff9c01;
|
127
127
|
}
|
128
|
-
|
129
|
-
|
128
|
+
.bk-timeline .bk-timeline-warning.bk-timeline-filled::before,
|
129
|
+
.bk-timeline .bk-timeline-warning.bk-timeline-filled .bk-timeline-icon {
|
130
130
|
background: #ff9c01;
|
131
131
|
}
|
132
|
-
|
132
|
+
.bk-timeline .bk-timeline-success {
|
133
133
|
border-left: 1px solid #2dcb56;
|
134
134
|
}
|
135
|
-
|
136
|
-
|
135
|
+
.bk-timeline .bk-timeline-success::before,
|
136
|
+
.bk-timeline .bk-timeline-success .bk-timeline-icon {
|
137
137
|
color: #2dcb56;
|
138
138
|
border: 2px solid #2dcb56;
|
139
139
|
}
|
140
|
-
|
141
|
-
|
140
|
+
.bk-timeline .bk-timeline-success.bk-timeline-filled::before,
|
141
|
+
.bk-timeline .bk-timeline-success.bk-timeline-filled .bk-timeline-icon {
|
142
142
|
background: #2dcb56;
|
143
143
|
}
|
144
|
-
|
144
|
+
.bk-timeline .bk-timeline-danger {
|
145
145
|
border-left: 1px solid #ea3636;
|
146
146
|
}
|
147
|
-
|
148
|
-
|
147
|
+
.bk-timeline .bk-timeline-danger::before,
|
148
|
+
.bk-timeline .bk-timeline-danger .bk-timeline-icon {
|
149
149
|
color: #ea3636;
|
150
150
|
border: 2px solid #ea3636;
|
151
151
|
}
|
152
|
-
|
153
|
-
|
152
|
+
.bk-timeline .bk-timeline-danger.bk-timeline-filled::before,
|
153
|
+
.bk-timeline .bk-timeline-danger.bk-timeline-filled .bk-timeline-icon {
|
154
154
|
background: #ea3636;
|
155
155
|
}
|
156
|
-
|
157
|
-
|
156
|
+
.bk-timeline .bk-timeline-blue::before,
|
157
|
+
.bk-timeline .bk-timeline-blue .bk-timeline-icon {
|
158
158
|
color: #3a84ff;
|
159
159
|
border: 2px solid #3a84ff;
|
160
160
|
}
|
161
|
-
|
162
|
-
|
161
|
+
.bk-timeline .bk-timeline-blue.bk-timeline-filled::before,
|
162
|
+
.bk-timeline .bk-timeline-blue.bk-timeline-filled .bk-timeline-icon {
|
163
163
|
background: #3a84ff;
|
164
164
|
}
|
165
|
-
|
166
|
-
|
165
|
+
.bk-timeline .bk-timeline-red::before,
|
166
|
+
.bk-timeline .bk-timeline-red .bk-timeline-icon {
|
167
167
|
color: #ea3636;
|
168
168
|
border: 2px solid #ea3636;
|
169
169
|
}
|
170
|
-
|
171
|
-
|
170
|
+
.bk-timeline .bk-timeline-red.bk-timeline-filled::before,
|
171
|
+
.bk-timeline .bk-timeline-red.bk-timeline-filled .bk-timeline-icon {
|
172
172
|
background: #ea3636;
|
173
173
|
}
|
174
|
-
|
175
|
-
|
174
|
+
.bk-timeline .bk-timeline-green::before,
|
175
|
+
.bk-timeline .bk-timeline-green .bk-timeline-icon {
|
176
176
|
color: #2dcb56;
|
177
177
|
border: 2px solid #2dcb56;
|
178
178
|
}
|
179
|
-
|
180
|
-
|
179
|
+
.bk-timeline .bk-timeline-green.bk-timeline-filled::before,
|
180
|
+
.bk-timeline .bk-timeline-green.bk-timeline-filled .bk-timeline-icon {
|
181
181
|
background: #2dcb56;
|
182
182
|
}
|
183
|
-
|
184
|
-
|
183
|
+
.bk-timeline .bk-timeline-yellow::before,
|
184
|
+
.bk-timeline .bk-timeline-yellow .bk-timeline-icon {
|
185
185
|
color: #ff9c01;
|
186
186
|
border: 2px solid #ff9c01;
|
187
187
|
}
|
188
|
-
|
189
|
-
|
188
|
+
.bk-timeline .bk-timeline-yellow.bk-timeline-filled::before,
|
189
|
+
.bk-timeline .bk-timeline-yellow.bk-timeline-filled .bk-timeline-icon {
|
190
190
|
background: #ff9c01;
|
191
191
|
}
|
192
|
-
|
193
|
-
|
192
|
+
.bk-timeline .bk-timeline-gray::before,
|
193
|
+
.bk-timeline .bk-timeline-gray .bk-timeline-icon {
|
194
194
|
color: #63656e;
|
195
195
|
border: 2px solid #63656e;
|
196
196
|
}
|
197
|
-
|
198
|
-
|
197
|
+
.bk-timeline .bk-timeline-gray.bk-timeline-filled::before,
|
198
|
+
.bk-timeline .bk-timeline-gray.bk-timeline-filled .bk-timeline-icon {
|
199
199
|
background: #63656e;
|
200
200
|
}
|
201
|
-
|
202
|
-
|
201
|
+
.bk-timeline-dashed .bk-step .bk-step-title::after,
|
202
|
+
.bk-timeline-dashed .bk-step .bk-step-indicator::after {
|
203
203
|
background-image: linear-gradient(to right, #c4c6cc 50%, transparent 0%);
|
204
204
|
background-position: bottom;
|
205
205
|
background-repeat: repeat-x;
|
206
206
|
background-size: 6px 1px;
|
207
207
|
}
|
208
|
-
|
209
|
-
|
208
|
+
.bk-timeline-solid .bk-step .bk-step-title::after,
|
209
|
+
.bk-timeline-solid .bk-step .bk-step-indicator::after {
|
210
210
|
background-color: #c4c6cc;
|
211
211
|
}
|
212
|
-
|
212
|
+
.bk-timeline-vertical {
|
213
213
|
height: 100%;
|
214
214
|
flex-direction: column;
|
215
215
|
}
|
216
|
-
|
216
|
+
.bk-timeline-vertical .bk-step {
|
217
217
|
margin-right: 0;
|
218
218
|
margin-bottom: 8px;
|
219
219
|
}
|
220
|
-
|
221
|
-
|
220
|
+
.bk-timeline-vertical .bk-step .bk-step-title::after,
|
221
|
+
.bk-timeline-vertical .bk-step .bk-step-indicator::after {
|
222
222
|
display: none;
|
223
223
|
}
|
224
|
-
|
224
|
+
.bk-timeline-vertical .bk-step::after {
|
225
225
|
position: absolute;
|
226
226
|
top: 32px;
|
227
227
|
left: 12px;
|
@@ -233,7 +233,7 @@
|
|
233
233
|
background-size: 1px 6px;
|
234
234
|
content: '';
|
235
235
|
}
|
236
|
-
|
236
|
+
.bk-timeline-vertical .bk-step .bk-step-title {
|
237
237
|
display: flex;
|
238
238
|
height: 100%;
|
239
239
|
margin-top: 0;
|