bkui-vue 1.0.3-beta.68 → 1.0.3-beta.68.dialog.1
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 +70 -70
- package/dist/index.esm.js +19847 -19003
- package/dist/index.umd.js +70 -70
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/components.d.ts +1 -0
- package/lib/components.js +1 -0
- package/lib/dialog/dialog.css +139 -84
- package/lib/dialog/dialog.d.ts +32 -133
- package/lib/dialog/dialog.less +9 -76
- package/lib/dialog/dialog.variable.css +139 -84
- package/lib/dialog/index.d.ts +84 -314
- package/lib/dialog/index.js +207 -221
- package/lib/dialog/props.d.ts +8 -48
- package/lib/info-box/index.d.ts +2 -2
- package/lib/info-box/index.js +328 -173
- package/lib/info-box/info-box.css +63 -7
- package/lib/info-box/info-box.d.ts +18 -16
- package/lib/info-box/info-box.less +76 -14
- package/lib/info-box/info-box.variable.css +63 -7
- package/lib/info-box/render-component.d.ts +4 -0
- package/lib/input/index.js +2 -1
- package/lib/modal/hooks.d.ts +1 -1
- package/lib/modal/index.d.ts +16 -350
- package/lib/modal/index.js +218 -703
- package/lib/modal/mask.d.ts +6 -0
- package/lib/modal/modal.css +135 -32
- package/lib/modal/modal.d.ts +6 -134
- package/lib/modal/modal.less +88 -29
- package/lib/modal/modal.variable.css +135 -32
- package/lib/modal/props.mixin.d.ts +2 -53
- package/lib/overflow-title/index.js +46 -52
- package/lib/pop-confirm/index.js +5 -8
- package/lib/scrollbar/index.d.ts +15 -0
- package/lib/scrollbar/index.js +18763 -0
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +2 -0
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/index.d.ts +241 -0
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +1 -0
- package/lib/scrollbar/scrollbar.css +75 -0
- package/lib/scrollbar/scrollbar.less +94 -0
- package/lib/scrollbar/scrollbar.variable.css +204 -0
- package/lib/shared/index.d.ts +0 -1
- package/lib/shared/index.js +1 -48
- package/lib/sideslider/index.d.ts +31 -222
- package/lib/sideslider/index.js +65 -40
- package/lib/sideslider/sideslider.css +17 -86
- package/lib/sideslider/sideslider.d.ts +14 -105
- package/lib/sideslider/sideslider.less +27 -107
- package/lib/sideslider/sideslider.variable.css +17 -86
- package/lib/slider/index.d.ts +19 -0
- package/lib/slider/index.js +45 -5
- package/lib/slider/slider.css +14 -0
- package/lib/slider/slider.d.ts +9 -0
- package/lib/slider/slider.less +15 -0
- package/lib/slider/slider.variable.css +14 -0
- package/lib/table/components/table-cell.d.ts +3 -2
- package/lib/table/components/table-column.d.ts +2 -2
- package/lib/table/const.d.ts +1 -1
- package/lib/table/index.d.ts +25 -2
- package/lib/table/index.js +237 -85
- package/lib/table/plugins/head-filter.css +8 -4
- package/lib/table/plugins/head-filter.less +6 -3
- package/lib/table/plugins/head-filter.variable.css +8 -4
- package/lib/table/plugins/use-fixed-column.d.ts +1 -1
- package/lib/table/plugins/use-pagination.d.ts +3 -1
- package/lib/table/plugins/use-shift-key.d.ts +11 -0
- package/lib/table/props.d.ts +11 -3
- package/lib/table/table.css +106 -46
- package/lib/table/table.d.ts +11 -0
- package/lib/table/table.less +43 -58
- package/lib/table/table.variable.css +106 -46
- package/lib/table/use-attributes.d.ts +2 -1
- package/lib/table/use-column.d.ts +6 -6
- package/lib/table/use-render.d.ts +1 -1
- package/lib/table-column/index.d.ts +6 -6
- package/lib/table-column/index.js +6 -2
- package/lib/tree/index.d.ts +23 -0
- package/lib/tree/index.js +9 -3
- package/lib/tree/props.d.ts +8 -0
- package/lib/tree/tree.css +76 -2
- package/lib/tree/tree.d.ts +11 -0
- package/lib/tree/tree.variable.css +76 -2
- package/lib/virtual-render/index.d.ts +27 -0
- package/lib/virtual-render/index.js +285 -76
- package/lib/virtual-render/props.d.ts +16 -0
- package/lib/virtual-render/use-fix-top.d.ts +2 -7
- package/lib/virtual-render/use-scrollbar.d.ts +24 -0
- package/lib/virtual-render/v-virtual-render.d.ts +2 -1
- package/lib/virtual-render/virtual-render.css +76 -2
- package/lib/virtual-render/virtual-render.d.ts +13 -0
- package/lib/virtual-render/virtual-render.less +3 -3
- package/lib/virtual-render/virtual-render.variable.css +76 -2
- package/package.json +1 -1
- package/lib/shared/mask.d.ts +0 -11
@@ -127,32 +127,76 @@
|
|
127
127
|
--select-active-color: #e1ecff;
|
128
128
|
--select-hover-color: #f5f7fa;
|
129
129
|
}
|
130
|
-
.bk-
|
131
|
-
|
130
|
+
.bk-infobox {
|
131
|
+
font-size: 12px;
|
132
132
|
}
|
133
|
-
.bk-
|
133
|
+
.bk-infobox .bk-modal-wrapper {
|
134
|
+
top: 50%;
|
135
|
+
left: 50%;
|
136
|
+
transform: translate(-50%, -50%);
|
137
|
+
}
|
138
|
+
.bk-infobox-header {
|
139
|
+
padding-top: 24px;
|
140
|
+
}
|
141
|
+
.bk-infobox-type {
|
142
|
+
display: flex;
|
143
|
+
justify-content: center;
|
144
|
+
align-items: center;
|
145
|
+
}
|
146
|
+
.bk-infobox-icon {
|
147
|
+
width: 42px;
|
148
|
+
height: 42px;
|
149
|
+
font-size: 42px;
|
150
|
+
}
|
151
|
+
.bk-infobox-icon.success {
|
152
|
+
color: #2dcb56;
|
153
|
+
}
|
154
|
+
.bk-infobox-icon.warning {
|
155
|
+
color: #ff9c01;
|
156
|
+
}
|
157
|
+
.bk-infobox-icon.danger {
|
158
|
+
color: #ea3636;
|
159
|
+
}
|
160
|
+
.bk-infobox-icon.loading {
|
161
|
+
color: #3a84ff;
|
162
|
+
}
|
163
|
+
.bk-infobox-title {
|
164
|
+
padding-right: 24px;
|
165
|
+
padding-left: 24px;
|
166
|
+
margin-top: 24px;
|
167
|
+
font-size: 20px;
|
168
|
+
line-height: 32px;
|
169
|
+
color: #313238;
|
170
|
+
}
|
171
|
+
.bk-infobox-content {
|
172
|
+
padding-right: 24px;
|
173
|
+
padding-left: 24px;
|
134
174
|
margin-top: 16px;
|
135
175
|
}
|
136
|
-
.bk-
|
137
|
-
|
176
|
+
.bk-infobox-footer {
|
177
|
+
display: flex;
|
178
|
+
padding-right: 24px;
|
179
|
+
padding-bottom: 24px;
|
180
|
+
padding-left: 24px;
|
181
|
+
margin-top: 24px;
|
182
|
+
align-content: center;
|
138
183
|
}
|
139
|
-
.bk-
|
140
|
-
|
141
|
-
word-break: break-all;
|
184
|
+
.bk-infobox-footer.is-position-right {
|
185
|
+
justify-content: right;
|
142
186
|
}
|
143
|
-
.bk-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
187
|
+
.bk-infobox-footer.is-position-center {
|
188
|
+
justify-content: center;
|
189
|
+
}
|
190
|
+
.bk-infobox-footer.is-position-left {
|
191
|
+
justify-content: left;
|
192
|
+
}
|
193
|
+
.bk-infobox-footer .bk-button {
|
194
|
+
min-width: 88px;
|
151
195
|
}
|
152
|
-
.bk-
|
153
|
-
|
196
|
+
.bk-infobox-footer .bk-button ~ .bk-button {
|
197
|
+
margin-left: 8px;
|
154
198
|
}
|
155
|
-
.bk-modal-
|
199
|
+
.bk-modal-mask {
|
156
200
|
position: fixed;
|
157
201
|
top: 0;
|
158
202
|
left: 0;
|
@@ -161,18 +205,7 @@
|
|
161
205
|
background-color: rgba(0, 0, 0, 0.6);
|
162
206
|
}
|
163
207
|
.bk-modal-wrapper {
|
164
|
-
position: absolute;
|
165
|
-
top: 50%;
|
166
|
-
left: 50%;
|
167
|
-
border-radius: 2px;
|
168
|
-
transform: translate(-50%, -50%);
|
169
|
-
}
|
170
|
-
.bk-modal-outside {
|
171
208
|
position: fixed;
|
172
|
-
top: 0;
|
173
|
-
right: 0;
|
174
|
-
bottom: 0;
|
175
|
-
left: 0;
|
176
209
|
}
|
177
210
|
.bk-modal-body {
|
178
211
|
height: 100%;
|
@@ -182,9 +215,15 @@
|
|
182
215
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
183
216
|
}
|
184
217
|
.bk-modal-content {
|
218
|
+
position: relative;
|
185
219
|
max-height: 100vh;
|
186
|
-
|
187
|
-
|
220
|
+
font-size: 0;
|
221
|
+
}
|
222
|
+
.bk-modal-content div {
|
223
|
+
font-size: 12px;
|
224
|
+
}
|
225
|
+
.bk-modal-footer {
|
226
|
+
position: relative;
|
188
227
|
}
|
189
228
|
.bk-modal-close {
|
190
229
|
position: absolute;
|
@@ -204,73 +243,94 @@
|
|
204
243
|
.bk-modal-close:hover {
|
205
244
|
background: #f0f1f5;
|
206
245
|
}
|
207
|
-
.
|
208
|
-
|
246
|
+
.modal-fadein-enter-from {
|
247
|
+
opacity: 0;
|
209
248
|
}
|
210
|
-
.
|
211
|
-
|
212
|
-
right: 0 ;
|
213
|
-
bottom: 0;
|
214
|
-
left: 0;
|
215
|
-
transform: translate(0, 0);
|
249
|
+
.modal-fadein-enter-from .bk-modal-body {
|
250
|
+
transform: translateY(-20px);
|
216
251
|
}
|
217
|
-
.
|
218
|
-
|
219
|
-
right: 0;
|
220
|
-
bottom: 0;
|
221
|
-
left: 0;
|
222
|
-
transform: translate(0, 0);
|
252
|
+
.modal-fadein-enter-to {
|
253
|
+
opacity: 1;
|
223
254
|
}
|
224
|
-
.
|
225
|
-
|
255
|
+
.modal-fadein-enter-to .bk-modal-body {
|
256
|
+
transform: translateY(0);
|
226
257
|
}
|
227
|
-
.
|
228
|
-
|
229
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
258
|
+
.modal-fadein-leave-from {
|
259
|
+
opacity: 1;
|
230
260
|
}
|
231
|
-
.
|
232
|
-
|
261
|
+
.modal-fadein-leave-from .bk-modal-body {
|
262
|
+
transform: translateY(0);
|
233
263
|
}
|
234
|
-
.
|
235
|
-
|
264
|
+
.modal-fadein-leave-to {
|
265
|
+
opacity: 0;
|
236
266
|
}
|
237
|
-
.
|
238
|
-
|
267
|
+
.modal-fadein-leave-to .bk-modal-body {
|
268
|
+
transform: translateY(-20px);
|
239
269
|
}
|
240
|
-
.
|
241
|
-
|
270
|
+
.modal-fadein-enter-active,
|
271
|
+
.modal-fadein-leave-active {
|
272
|
+
transition: opacity 0.15s linear;
|
242
273
|
}
|
243
|
-
.
|
244
|
-
|
274
|
+
.modal-fadein-enter-active .bk-modal-body,
|
275
|
+
.modal-fadein-leave-active .bk-modal-body {
|
276
|
+
transition: transform 0.08s linear;
|
245
277
|
}
|
246
|
-
.
|
247
|
-
|
248
|
-
font-size: 20px;
|
249
|
-
line-height: 1;
|
278
|
+
.modal-right-enter-from {
|
279
|
+
transform: translateX(100%);
|
250
280
|
}
|
251
|
-
.
|
252
|
-
|
253
|
-
justify-content: center;
|
281
|
+
.modal-right-enter-to {
|
282
|
+
transform: translateX(0);
|
254
283
|
}
|
255
|
-
.
|
256
|
-
|
284
|
+
.modal-right-leave-from {
|
285
|
+
transform: translateX(0);
|
257
286
|
}
|
258
|
-
.
|
259
|
-
|
287
|
+
.modal-right-leave-to {
|
288
|
+
transform: translateX(100%);
|
260
289
|
}
|
261
|
-
.
|
262
|
-
|
290
|
+
.modal-right-enter-active,
|
291
|
+
.modal-right-leave-active {
|
292
|
+
transition: transform 0.15s ease;
|
263
293
|
}
|
264
|
-
.
|
265
|
-
|
294
|
+
.modal-left-enter-from {
|
295
|
+
transform: translateX(-100%);
|
296
|
+
}
|
297
|
+
.modal-left-enter-to {
|
298
|
+
transform: translateX(0);
|
299
|
+
}
|
300
|
+
.modal-left-leave-from {
|
301
|
+
transform: translateX(0);
|
302
|
+
}
|
303
|
+
.modal-left-leave-to {
|
304
|
+
transform: translateX(-100%);
|
305
|
+
}
|
306
|
+
.modal-left-enter-active,
|
307
|
+
.modal-left-leave-active {
|
308
|
+
transition: transform 0.15s ease;
|
309
|
+
}
|
310
|
+
.bk-dialog {
|
311
|
+
font-size: 14px;
|
312
|
+
}
|
313
|
+
.bk-dialog.is-fullscreen .bk-modal-wrapper {
|
314
|
+
top: 0;
|
315
|
+
right: 0;
|
316
|
+
bottom: 0;
|
317
|
+
left: 0;
|
318
|
+
border-radius: 0;
|
319
|
+
transform: translate(0, 0);
|
320
|
+
}
|
321
|
+
.bk-dialog .bk-modal-wrapper {
|
322
|
+
top: 50%;
|
323
|
+
left: 50%;
|
324
|
+
transform: translate(-50%, -50%);
|
325
|
+
}
|
326
|
+
.bk-dialog-header {
|
327
|
+
padding: 16px 24px 0;
|
328
|
+
font-size: 20px;
|
266
329
|
}
|
267
330
|
.bk-dialog-title {
|
268
331
|
display: inline-block;
|
269
332
|
width: 100%;
|
270
|
-
overflow: hidden;
|
271
333
|
color: #313238;
|
272
|
-
text-overflow: ellipsis;
|
273
|
-
white-space: nowrap;
|
274
334
|
}
|
275
335
|
.bk-dialog-tool {
|
276
336
|
position: absolute;
|
@@ -278,15 +338,10 @@
|
|
278
338
|
right: 0;
|
279
339
|
left: 0;
|
280
340
|
height: 18px;
|
281
|
-
}
|
282
|
-
.bk-dialog-tool.move {
|
283
341
|
cursor: move;
|
284
|
-
}
|
285
|
-
.bk-dialog-tool.content-dragging {
|
286
342
|
user-select: none;
|
287
343
|
}
|
288
344
|
.bk-dialog-content {
|
289
|
-
max-height: calc(100vh - 300px);
|
290
345
|
padding: 0 24px;
|
291
346
|
margin-top: 16px;
|
292
347
|
margin-bottom: 24px;
|