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