bkui-vue 1.0.3-beta.26 → 1.0.3-beta.27
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 +1 -1
- 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-pagination {
|
131
131
|
display: flex;
|
132
132
|
align-items: center;
|
133
133
|
font-size: 12px;
|
@@ -135,43 +135,43 @@
|
|
135
135
|
color: #63656e;
|
136
136
|
user-select: none;
|
137
137
|
}
|
138
|
-
|
138
|
+
.bk-pagination.is-disabled {
|
139
139
|
cursor: not-allowed;
|
140
140
|
}
|
141
|
-
|
141
|
+
.bk-pagination.is-align-left {
|
142
142
|
justify-content: flex-start;
|
143
143
|
}
|
144
|
-
|
144
|
+
.bk-pagination.is-align-center {
|
145
145
|
justify-content: center;
|
146
146
|
}
|
147
|
-
|
147
|
+
.bk-pagination.is-align-right {
|
148
148
|
justify-content: flex-end;
|
149
149
|
}
|
150
|
-
|
150
|
+
.bk-pagination > * {
|
151
151
|
margin: 0 6px;
|
152
152
|
}
|
153
|
-
|
153
|
+
.bk-pagination > .is-first {
|
154
154
|
margin-left: 0;
|
155
155
|
}
|
156
|
-
|
156
|
+
.bk-pagination > .is-last {
|
157
157
|
margin-right: 0;
|
158
158
|
}
|
159
|
-
|
159
|
+
.bk-pagination-total {
|
160
160
|
display: flex;
|
161
161
|
user-select: none;
|
162
162
|
}
|
163
|
-
|
163
|
+
.bk-pagination-total-num {
|
164
164
|
padding: 0 2px;
|
165
165
|
}
|
166
|
-
|
166
|
+
.bk-pagination-list {
|
167
167
|
display: flex;
|
168
168
|
margin-right: 8px;
|
169
169
|
}
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
170
|
+
.bk-pagination-list-pre-batch,
|
171
|
+
.bk-pagination-list-next-batch,
|
172
|
+
.bk-pagination-list-pre,
|
173
|
+
.bk-pagination-list-next,
|
174
|
+
.bk-pagination-list-item {
|
175
175
|
display: flex;
|
176
176
|
align-items: center;
|
177
177
|
justify-content: center;
|
@@ -186,78 +186,78 @@
|
|
186
186
|
border-radius: 2px;
|
187
187
|
user-select: none;
|
188
188
|
}
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
189
|
+
.bk-pagination-list-pre-batch.is-active,
|
190
|
+
.bk-pagination-list-next-batch.is-active,
|
191
|
+
.bk-pagination-list-pre.is-active,
|
192
|
+
.bk-pagination-list-next.is-active,
|
193
|
+
.bk-pagination-list-item.is-active {
|
194
194
|
color: #3a84ff;
|
195
195
|
background: #e1ecff;
|
196
196
|
}
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
197
|
+
.bk-pagination-list-pre-batch:hover,
|
198
|
+
.bk-pagination-list-next-batch:hover,
|
199
|
+
.bk-pagination-list-pre:hover,
|
200
|
+
.bk-pagination-list-next:hover,
|
201
|
+
.bk-pagination-list-item:hover {
|
202
202
|
background: #f0f1f5;
|
203
203
|
}
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
204
|
+
.bk-pagination-list-pre-batch.is-disabled,
|
205
|
+
.bk-pagination-list-next-batch.is-disabled,
|
206
|
+
.bk-pagination-list-pre.is-disabled,
|
207
|
+
.bk-pagination-list-next.is-disabled,
|
208
|
+
.bk-pagination-list-item.is-disabled {
|
209
209
|
color: #c4c6cc;
|
210
210
|
cursor: not-allowed;
|
211
211
|
background-color: #fafbfd;
|
212
212
|
border-color: #dcdee5;
|
213
213
|
}
|
214
|
-
|
215
|
-
|
214
|
+
.bk-pagination-list-pre,
|
215
|
+
.bk-pagination-list-next {
|
216
216
|
font-size: 20px;
|
217
217
|
color: #979ba5;
|
218
218
|
}
|
219
|
-
|
220
|
-
|
219
|
+
.bk-pagination-list-pre.is-disabled,
|
220
|
+
.bk-pagination-list-next.is-disabled {
|
221
221
|
color: #dcdee5;
|
222
222
|
cursor: not-allowed;
|
223
223
|
background-color: transparent;
|
224
224
|
}
|
225
|
-
|
225
|
+
.bk-pagination-list-item {
|
226
226
|
margin-right: 2px;
|
227
227
|
margin-left: 2px;
|
228
228
|
}
|
229
|
-
|
229
|
+
.bk-pagination-limit {
|
230
230
|
display: flex;
|
231
231
|
align-items: center;
|
232
232
|
user-select: none;
|
233
233
|
}
|
234
|
-
|
234
|
+
.bk-pagination-limit-select {
|
235
235
|
width: 60px;
|
236
236
|
margin: 0 4px;
|
237
237
|
}
|
238
|
-
|
238
|
+
.bk-pagination-limit-select .bk-input {
|
239
239
|
border-color: #f0f1f5;
|
240
240
|
}
|
241
|
-
|
241
|
+
.bk-pagination-limit-select .bk-input--text {
|
242
242
|
background-color: #f0f1f5;
|
243
243
|
}
|
244
|
-
|
244
|
+
.bk-pagination-limit-select:hover .bk-input {
|
245
245
|
border-color: #eaebf0;
|
246
246
|
}
|
247
|
-
|
247
|
+
.bk-pagination-limit-select:hover .bk-input--text {
|
248
248
|
background-color: #eaebf0;
|
249
249
|
}
|
250
|
-
|
250
|
+
.bk-pagination-limit-select .bk-input.is-focused {
|
251
251
|
border-color: #3a84ff;
|
252
252
|
}
|
253
|
-
|
253
|
+
.bk-pagination-limit-select .bk-input.is-focused .bk-input--text {
|
254
254
|
background-color: #fff;
|
255
255
|
}
|
256
|
-
|
256
|
+
.bk-pagination-small-list {
|
257
257
|
display: flex;
|
258
258
|
align-items: center;
|
259
259
|
}
|
260
|
-
|
260
|
+
.bk-pagination-small-list .bk-pagination-picker {
|
261
261
|
display: flex;
|
262
262
|
height: 26px;
|
263
263
|
margin: 0 4px;
|
@@ -267,16 +267,16 @@
|
|
267
267
|
border-radius: 2px;
|
268
268
|
align-items: center;
|
269
269
|
}
|
270
|
-
|
270
|
+
.bk-pagination-small-list .bk-pagination-picker:hover {
|
271
271
|
background-color: #eaebf0;
|
272
272
|
border-color: #eaebf0;
|
273
273
|
}
|
274
|
-
|
274
|
+
.bk-pagination-small-list .bk-pagination-picker.is-focused {
|
275
275
|
background-color: #fff;
|
276
276
|
border-color: #3a84ff;
|
277
277
|
box-shadow: 0px 0px 4px rgba(58, 132, 255, 0.4);
|
278
278
|
}
|
279
|
-
|
279
|
+
.bk-pagination-editor {
|
280
280
|
height: 16px;
|
281
281
|
min-width: 23px;
|
282
282
|
padding-right: 4px;
|
@@ -289,12 +289,12 @@
|
|
289
289
|
outline: none;
|
290
290
|
transition: all 0.15s;
|
291
291
|
}
|
292
|
-
|
292
|
+
.bk-pagination-small-list-total {
|
293
293
|
padding-right: 8px;
|
294
294
|
padding-left: 4px;
|
295
295
|
}
|
296
|
-
|
297
|
-
|
296
|
+
.bk-pagination-btn-pre,
|
297
|
+
.bk-pagination-btn-next {
|
298
298
|
display: flex;
|
299
299
|
width: 26px;
|
300
300
|
height: 26px;
|
@@ -304,23 +304,23 @@
|
|
304
304
|
justify-content: center;
|
305
305
|
align-items: center;
|
306
306
|
}
|
307
|
-
|
308
|
-
|
307
|
+
.bk-pagination-btn-pre:hover,
|
308
|
+
.bk-pagination-btn-next:hover {
|
309
309
|
color: #3a84ff;
|
310
310
|
background: #f0f1f5;
|
311
311
|
}
|
312
|
-
|
313
|
-
|
312
|
+
.bk-pagination-btn-pre.is-disabled,
|
313
|
+
.bk-pagination-btn-next.is-disabled {
|
314
314
|
color: #dcdee5;
|
315
315
|
cursor: not-allowed;
|
316
316
|
}
|
317
|
-
|
317
|
+
.bk-pagination-picker-list {
|
318
318
|
max-height: var(--popover-max-height);
|
319
319
|
padding: 7px 0;
|
320
320
|
margin: -7px -14px;
|
321
321
|
overflow: auto;
|
322
322
|
}
|
323
|
-
|
323
|
+
.bk-pagination-picker-list .item {
|
324
324
|
height: 32px;
|
325
325
|
padding: 0 10px;
|
326
326
|
font-size: 12px;
|
@@ -328,8 +328,8 @@
|
|
328
328
|
color: #63656e;
|
329
329
|
cursor: pointer;
|
330
330
|
}
|
331
|
-
|
332
|
-
|
331
|
+
.bk-pagination-picker-list .item:hover,
|
332
|
+
.bk-pagination-picker-list .item.is-actived {
|
333
333
|
color: #3a84ff;
|
334
334
|
background: #f4f6fa;
|
335
335
|
}
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import "../styles/reset.css";
|
2
1
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
3
|
-
import * as
|
4
|
-
import * as
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__ from "../shared";
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__ from "../config-provider";
|
5
4
|
import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
|
6
5
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_isElement_e6b2a6ce__ from "lodash/isElement";
|
7
6
|
/******/ // The require scope
|
@@ -83,9 +82,9 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
83
82
|
var y = x => () => x
|
84
83
|
const external_vue_namespaceObject = x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["Teleport"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Teleport, ["Text"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Text, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createApp"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createApp, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
85
84
|
;// CONCATENATED MODULE: external "../shared"
|
86
|
-
var
|
87
|
-
var
|
88
|
-
const
|
85
|
+
var external_shared_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
86
|
+
var external_shared_y = x => () => x
|
87
|
+
const external_shared_namespaceObject = external_shared_x({ ["PlacementEnum"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PlacementEnum, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["RenderType"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.RenderType, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.bkZIndexManager, ["placementType"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.placementType, ["renderType"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.renderType, ["triggerType"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.triggerType });
|
89
88
|
;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
|
90
89
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
91
90
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
@@ -213,9 +212,9 @@ ClickOutside.install = function (app) {
|
|
213
212
|
};
|
214
213
|
/* harmony default export */ const clickoutside = (ClickOutside);
|
215
214
|
;// CONCATENATED MODULE: external "../config-provider"
|
216
|
-
var
|
217
|
-
var
|
218
|
-
const
|
215
|
+
var external_config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
216
|
+
var external_config_provider_y = x => () => x
|
217
|
+
const external_config_provider_namespaceObject = external_config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__.usePrefix });
|
219
218
|
;// CONCATENATED MODULE: ../../packages/popover/src/arrow.tsx
|
220
219
|
|
221
220
|
/*
|
@@ -248,7 +247,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
248
247
|
/* harmony default export */ const src_arrow = ((0,external_vue_namespaceObject.defineComponent)({
|
249
248
|
name: 'PopArrow',
|
250
249
|
render: function render() {
|
251
|
-
var _usePrefix = (0,
|
250
|
+
var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
|
252
251
|
resolveClassName = _usePrefix.resolveClassName;
|
253
252
|
var arrowClassName = resolveClassName('pop2-arrow');
|
254
253
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
@@ -336,13 +335,13 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
336
335
|
/* harmony default export */ const content = ((0,external_vue_namespaceObject.defineComponent)({
|
337
336
|
name: 'PopContent',
|
338
337
|
props: {
|
339
|
-
width:
|
340
|
-
height:
|
341
|
-
maxHeight:
|
342
|
-
maxWidth:
|
343
|
-
extCls:
|
344
|
-
visible:
|
345
|
-
eventDelay:
|
338
|
+
width: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.string, external_shared_namespaceObject.PropTypes.number]).def('auto'),
|
339
|
+
height: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.string, external_shared_namespaceObject.PropTypes.number]).def('auto'),
|
340
|
+
maxHeight: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.string, external_shared_namespaceObject.PropTypes.number]).def('auto'),
|
341
|
+
maxWidth: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.string, external_shared_namespaceObject.PropTypes.number]).def('auto'),
|
342
|
+
extCls: external_shared_namespaceObject.PropTypes.string.def(''),
|
343
|
+
visible: external_shared_namespaceObject.PropTypes.bool.def(false),
|
344
|
+
eventDelay: external_shared_namespaceObject.PropTypes.number.def(0)
|
346
345
|
},
|
347
346
|
setup: function setup(props) {
|
348
347
|
var resolveValToPix = function resolveValToPix(val) {
|
@@ -378,7 +377,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
378
377
|
}
|
379
378
|
(_refContent$value = refContent.value) === null || _refContent$value === void 0 || _refContent$value.style.setProperty('pointer-events', val);
|
380
379
|
};
|
381
|
-
var _usePrefix = (0,
|
380
|
+
var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
|
382
381
|
resolveClassName = _usePrefix.resolveClassName;
|
383
382
|
var contentClassName = (0,external_vue_namespaceObject.computed)(function () {
|
384
383
|
return [resolveClassName('popover'), resolveClassName('pop2-content'), props.visible ? 'visible' : 'hidden', props.extCls];
|
@@ -431,91 +430,91 @@ var EventProps = {
|
|
431
430
|
onAfterShow: function onAfterShow() {}
|
432
431
|
};
|
433
432
|
var PopoverProps = {
|
434
|
-
isShow:
|
435
|
-
always:
|
436
|
-
disabled:
|
437
|
-
width:
|
438
|
-
height:
|
439
|
-
maxWidth:
|
440
|
-
maxHeight:
|
433
|
+
isShow: external_shared_namespaceObject.PropTypes.bool.def(false),
|
434
|
+
always: external_shared_namespaceObject.PropTypes.bool.def(false),
|
435
|
+
disabled: external_shared_namespaceObject.PropTypes.bool.def(false),
|
436
|
+
width: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.string, external_shared_namespaceObject.PropTypes.number]).def('auto'),
|
437
|
+
height: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.string, external_shared_namespaceObject.PropTypes.number]).def('auto'),
|
438
|
+
maxWidth: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.string, external_shared_namespaceObject.PropTypes.number]).def('auto'),
|
439
|
+
maxHeight: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.string, external_shared_namespaceObject.PropTypes.number]).def('auto'),
|
441
440
|
content: (0,external_vue_types_namespaceObject.toType)('IContent', {}).def(''),
|
442
|
-
target:
|
443
|
-
allowHtml:
|
441
|
+
target: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.string, external_shared_namespaceObject.PropTypes.instanceOf(HTMLElement), external_shared_namespaceObject.PropTypes.instanceOf(PointerEvent)]),
|
442
|
+
allowHtml: external_shared_namespaceObject.PropTypes.bool.def(false),
|
444
443
|
/**
|
445
444
|
* 组件显示位置
|
446
445
|
*/
|
447
446
|
// placement: placementType().def(PlacementEnum.TOP),
|
448
|
-
placement: (0,
|
447
|
+
placement: (0,external_shared_namespaceObject.placementType)().def(external_shared_namespaceObject.PlacementEnum.TOP_START),
|
449
448
|
// 'dark', 'light'
|
450
|
-
theme:
|
449
|
+
theme: external_shared_namespaceObject.PropTypes.string.def('dark'),
|
451
450
|
/**
|
452
451
|
* 触发方式
|
453
452
|
* 支持 click hover manual
|
454
453
|
* manual: 通过isShow控制显示、隐藏
|
455
454
|
*/
|
456
455
|
// trigger: triggerType(),
|
457
|
-
trigger: (0,
|
456
|
+
trigger: (0,external_shared_namespaceObject.triggerType)(),
|
458
457
|
/**
|
459
458
|
* content 渲染方式
|
460
459
|
*/
|
461
|
-
renderType: (0,
|
460
|
+
renderType: (0,external_shared_namespaceObject.renderType)(),
|
462
461
|
// 是否显示箭头
|
463
|
-
arrow:
|
464
|
-
padding:
|
465
|
-
offset:
|
466
|
-
mainAxis:
|
467
|
-
crossAxis:
|
468
|
-
alignmentAxis:
|
462
|
+
arrow: external_shared_namespaceObject.PropTypes.bool.def(true),
|
463
|
+
padding: external_shared_namespaceObject.PropTypes.number.def(5),
|
464
|
+
offset: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.number, external_shared_namespaceObject.PropTypes.shape({
|
465
|
+
mainAxis: external_shared_namespaceObject.PropTypes.number,
|
466
|
+
crossAxis: external_shared_namespaceObject.PropTypes.number,
|
467
|
+
alignmentAxis: external_shared_namespaceObject.PropTypes.number
|
469
468
|
})]).def(6),
|
470
469
|
/**
|
471
470
|
* 弹出内容绑定元素
|
472
471
|
*/
|
473
|
-
boundary:
|
474
|
-
zIndex:
|
475
|
-
disableTeleport:
|
472
|
+
boundary: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.string.def('parent'), external_shared_namespaceObject.PropTypes.instanceOf(HTMLElement)]),
|
473
|
+
zIndex: external_shared_namespaceObject.PropTypes.number.def(undefined),
|
474
|
+
disableTeleport: external_shared_namespaceObject.PropTypes.bool.def(false),
|
476
475
|
/**
|
477
476
|
* chooses the placement that has the most space available automatically
|
478
477
|
*/
|
479
|
-
autoPlacement:
|
478
|
+
autoPlacement: external_shared_namespaceObject.PropTypes.bool.def(false),
|
480
479
|
/**
|
481
480
|
* 当有滚动条,滚动出可是范围时自动隐藏pop
|
482
481
|
*/
|
483
|
-
autoVisibility:
|
482
|
+
autoVisibility: external_shared_namespaceObject.PropTypes.bool.def(true),
|
484
483
|
/**
|
485
484
|
* 是否禁用clickoutside
|
486
485
|
*/
|
487
|
-
disableOutsideClick:
|
486
|
+
disableOutsideClick: external_shared_namespaceObject.PropTypes.bool.def(false),
|
488
487
|
/**
|
489
488
|
* 是否禁用样式的transform更新位移
|
490
489
|
*/
|
491
|
-
disableTransform:
|
490
|
+
disableTransform: external_shared_namespaceObject.PropTypes.bool.def(false),
|
492
491
|
/**
|
493
492
|
* 自定义 reference
|
494
493
|
*/
|
495
|
-
reference:
|
494
|
+
reference: external_shared_namespaceObject.PropTypes.any,
|
496
495
|
/**
|
497
496
|
* 兼容v1版本遗留配置
|
498
497
|
* 不建议使用
|
499
498
|
*/
|
500
|
-
modifiers:
|
499
|
+
modifiers: external_shared_namespaceObject.PropTypes.array.def([]),
|
501
500
|
/**
|
502
501
|
* popover显示和隐藏的延时时间
|
503
502
|
*/
|
504
|
-
popoverDelay:
|
503
|
+
popoverDelay: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.number, external_shared_namespaceObject.PropTypes.arrayOf(external_shared_namespaceObject.PropTypes.number)]).def(100),
|
505
504
|
/**
|
506
505
|
* 配置自定义样式类名,传入的类会被加在组件最外层的 DOM
|
507
506
|
*/
|
508
|
-
extCls:
|
507
|
+
extCls: external_shared_namespaceObject.PropTypes.string.def(''),
|
509
508
|
/**
|
510
509
|
* 自定义Content组件渲染,point-event延迟渲染时间
|
511
510
|
* 避免子组件point-event渲染时触发popover鼠标事件
|
512
511
|
* 如果设置为0,则不启用此设置
|
513
512
|
*/
|
514
|
-
componentEventDelay:
|
513
|
+
componentEventDelay: external_shared_namespaceObject.PropTypes.number.def(0),
|
515
514
|
/**
|
516
515
|
* 或略其他判定条件,强制监听clickoutside & 执行hide
|
517
516
|
*/
|
518
|
-
forceClickoutside:
|
517
|
+
forceClickoutside: external_shared_namespaceObject.PropTypes.bool.def(false)
|
519
518
|
};
|
520
519
|
;// CONCATENATED MODULE: ../../packages/popover/src/reference.tsx
|
521
520
|
/*
|
@@ -582,8 +581,8 @@ var PopoverProps = {
|
|
582
581
|
|
583
582
|
/* harmony default export */ const root = ((0,external_vue_namespaceObject.defineComponent)({
|
584
583
|
props: {
|
585
|
-
"class":
|
586
|
-
mode:
|
584
|
+
"class": external_shared_namespaceObject.PropTypes.string.def(''),
|
585
|
+
mode: external_shared_namespaceObject.PropTypes.string.def('')
|
587
586
|
},
|
588
587
|
render: function render() {
|
589
588
|
var _this$$slots$default, _this$$slots;
|
@@ -3106,7 +3105,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
3106
3105
|
var _refContent$value2;
|
3107
3106
|
var elContent = resolveTargetElement((_refContent$value2 = refContent.value) === null || _refContent$value2 === void 0 ? void 0 : _refContent$value2.$el);
|
3108
3107
|
elContent.style.setProperty('display', 'block');
|
3109
|
-
elContent.style.setProperty('z-index', "".concat(props.zIndex ? props.zIndex :
|
3108
|
+
elContent.style.setProperty('z-index', "".concat(props.zIndex ? props.zIndex : external_shared_namespaceObject.bkZIndexManager.getPopperIndex()));
|
3110
3109
|
updatePopover();
|
3111
3110
|
ctx.emit(EMIT_EVENTS.CONTENT_AfterShow, {
|
3112
3111
|
isShow: true
|
@@ -3639,7 +3638,7 @@ function _isSlot(s) {
|
|
3639
3638
|
hideFn();
|
3640
3639
|
};
|
3641
3640
|
var contentIsShow = (0,external_vue_namespaceObject.computed)(function () {
|
3642
|
-
if (props.renderType ===
|
3641
|
+
if (props.renderType === external_shared_namespaceObject.RenderType.AUTO) {
|
3643
3642
|
return true;
|
3644
3643
|
}
|
3645
3644
|
return localIsShow.value;
|
package/lib/plugins/index.js
CHANGED