bkui-vue 0.0.1-beta.126 → 0.0.1-beta.127

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.
@@ -99,7 +99,7 @@
99
99
  &.is-focus.normal {
100
100
  .bk-select-trigger .bk-select-tag {
101
101
  border-color: @primary-color;
102
- box-shadow: 0px 0px 3px 0px #a3c5fd;
102
+ box-shadow: 0px 0px 3px 0px #a3c5fd;
103
103
  }
104
104
  }
105
105
 
@@ -131,7 +131,7 @@
131
131
 
132
132
  &.is-focused {
133
133
  .active();
134
-
134
+
135
135
  &.is-simplicity {
136
136
  border-color: transparent;
137
137
  border-bottom-color: @primary-color;
@@ -195,139 +195,143 @@
195
195
  }
196
196
  }
197
197
 
198
- .bk-popover2.bk-select-popover {
199
- padding: 0;
200
-
201
- .bk-select-content {
202
- .bk-select-empty {
203
- .flex-center();
204
- height: 56px;
205
- color: #63656e;
206
-
207
- .spinner {
208
- display: flex;
209
- width: 14px;
210
- height: 14px;
211
- margin-right: 4px;
212
- font-size: 14px;
213
- color: #c4c6cc;
214
- align-items: center;
215
- justify-content: center;
216
- }
198
+ .@{bk-prefix}-popover2 {
199
+ &.@{bk-prefix}-pop2-content {
200
+ &.bk-select-popover {
201
+ padding: 0;
202
+
203
+ .bk-select-content {
204
+ .bk-select-empty {
205
+ .flex-center();
206
+ height: 56px;
207
+ color: #63656e;
208
+
209
+ .spinner {
210
+ display: flex;
211
+ width: 14px;
212
+ height: 14px;
213
+ margin-right: 4px;
214
+ font-size: 14px;
215
+ color: #c4c6cc;
216
+ align-items: center;
217
+ justify-content: center;
218
+ }
217
219
 
218
- span {
219
- .icon-text()
220
- }
221
- }
220
+ span {
221
+ .icon-text()
222
+ }
223
+ }
222
224
 
223
- .bk-select-dropdown {
224
- overflow: auto;
225
- }
225
+ .bk-select-dropdown {
226
+ overflow: auto;
227
+ }
226
228
 
227
- .bk-select-extension {
228
- display: flex;
229
- height: 40px;
230
- background-color: #fafbfd;
231
- align-items: center;
232
- }
229
+ .bk-select-extension {
230
+ display: flex;
231
+ height: 40px;
232
+ background-color: #fafbfd;
233
+ align-items: center;
234
+ }
233
235
 
234
- .bk-select-options {
235
- padding: 8px 0;
236
- }
236
+ .bk-select-options {
237
+ padding: 8px 0;
238
+ }
237
239
 
238
- .bk-select-option {
239
- position: relative;
240
- height: 32px;
241
- padding: 0 12px;
242
- line-height: 32px;
243
- color: #63656e;
244
- text-align: left;
245
- cursor: pointer;
246
- user-select: none;
247
-
248
- .ellipsis();
249
-
250
- &-item {
251
- display: flex;
252
- align-items: center;
253
- justify-content: space-between;
254
- }
255
-
256
- &:hover,
257
- &.is-hover {
258
- color: #3a84ff;
259
- background-color: #f5f7fa;
260
- }
261
-
262
- &.is-selected {
263
- color: #3a84ff;
264
- }
265
-
266
- &.is-disabled {
267
- color: #c4c6cc;
268
- cursor: not-allowed;
269
- background-color: transparent;
270
- }
271
-
272
- }
240
+ .bk-select-option {
241
+ position: relative;
242
+ height: 32px;
243
+ padding: 0 12px;
244
+ line-height: 32px;
245
+ color: #63656e;
246
+ text-align: left;
247
+ cursor: pointer;
248
+ user-select: none;
273
249
 
274
- .bk-select-options-loading {
275
- .flex-center();
250
+ .ellipsis();
276
251
 
277
- span {
278
- .icon-text()
279
- }
280
- }
252
+ &-item {
253
+ display: flex;
254
+ align-items: center;
255
+ justify-content: space-between;
256
+ }
257
+
258
+ &:hover,
259
+ &.is-hover {
260
+ color: #3a84ff;
261
+ background-color: #f5f7fa;
262
+ }
263
+
264
+ &.is-selected {
265
+ color: #3a84ff;
266
+ }
267
+
268
+ &.is-disabled {
269
+ color: #c4c6cc;
270
+ cursor: not-allowed;
271
+ background-color: transparent;
272
+ }
281
273
 
282
- .bk-option-group {
283
- &-label {
284
- height: 32px;
285
- padding: 0 8px;
286
- line-height: 32px;
287
- color: #979ba5;
288
- text-align: left;
289
-
290
- &.collapsible {
291
- cursor: pointer;
292
- }
293
- }
294
-
295
- &.collapsible {
296
- .bk-select-option {
297
- padding-left: 40px;
298
274
  }
299
- }
300
-
301
- &.disabled {
302
- .default-group-label {
303
- color: #c4c6cc;
304
- cursor: not-allowed;
275
+
276
+ .bk-select-options-loading {
277
+ .flex-center();
278
+
279
+ span {
280
+ .icon-text()
281
+ }
305
282
  }
306
- }
307
-
308
- .default-group-label {
309
- display: flex;
310
- user-select: none;
311
- align-items: center;
312
-
313
- &-icon {
314
- display: flex;
315
- width: 12px;
316
- height: 12px;
317
- margin-right: 8px;
318
- transition: all .1s;
319
- align-items: center;
320
- justify-content: center;
321
-
322
- &.collapse {
323
- transform: rotate(-90deg);
283
+
284
+ .bk-option-group {
285
+ &-label {
286
+ height: 32px;
287
+ padding: 0 8px;
288
+ line-height: 32px;
289
+ color: #979ba5;
290
+ text-align: left;
291
+
292
+ &.collapsible {
293
+ cursor: pointer;
294
+ }
295
+ }
296
+
297
+ &.collapsible {
298
+ .bk-select-option {
299
+ padding-left: 40px;
300
+ }
301
+ }
302
+
303
+ &.disabled {
304
+ .default-group-label {
305
+ color: #c4c6cc;
306
+ cursor: not-allowed;
307
+ }
308
+ }
309
+
310
+ .default-group-label {
311
+ display: flex;
312
+ user-select: none;
313
+ align-items: center;
314
+
315
+ &-icon {
316
+ display: flex;
317
+ width: 12px;
318
+ height: 12px;
319
+ margin-right: 8px;
320
+ transition: all .1s;
321
+ align-items: center;
322
+ justify-content: center;
323
+
324
+ &.collapse {
325
+ transform: rotate(-90deg);
326
+ }
327
+ }
328
+ }
329
+
330
+ .bk-select-option {
331
+ padding-left: 24px;
324
332
  }
325
333
  }
326
334
  }
327
-
328
- .bk-select-option {
329
- padding-left: 24px;
330
- }
331
335
  }
332
336
  }
333
337
  }
@@ -297,17 +297,17 @@
297
297
  align-items: center;
298
298
  justify-content: center;
299
299
  }
300
- .bk-popover2.bk-select-popover {
300
+ .bk-popover2.bk-pop2-content.bk-select-popover {
301
301
  padding: 0;
302
302
  }
303
- .bk-popover2.bk-select-popover .bk-select-content .bk-select-empty {
303
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-empty {
304
304
  display: flex;
305
305
  align-items: center;
306
306
  justify-content: center;
307
307
  height: 56px;
308
308
  color: #63656e;
309
309
  }
310
- .bk-popover2.bk-select-popover .bk-select-content .bk-select-empty .spinner {
310
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-empty .spinner {
311
311
  display: flex;
312
312
  width: 14px;
313
313
  height: 14px;
@@ -317,23 +317,23 @@
317
317
  align-items: center;
318
318
  justify-content: center;
319
319
  }
320
- .bk-popover2.bk-select-popover .bk-select-content .bk-select-empty span {
320
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-empty span {
321
321
  margin-left: 4px;
322
322
  line-height: 18px;
323
323
  }
324
- .bk-popover2.bk-select-popover .bk-select-content .bk-select-dropdown {
324
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-dropdown {
325
325
  overflow: auto;
326
326
  }
327
- .bk-popover2.bk-select-popover .bk-select-content .bk-select-extension {
327
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-extension {
328
328
  display: flex;
329
329
  height: 40px;
330
330
  background-color: #fafbfd;
331
331
  align-items: center;
332
332
  }
333
- .bk-popover2.bk-select-popover .bk-select-content .bk-select-options {
333
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-options {
334
334
  padding: 8px 0;
335
335
  }
336
- .bk-popover2.bk-select-popover .bk-select-content .bk-select-option {
336
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option {
337
337
  position: relative;
338
338
  height: 32px;
339
339
  padding: 0 12px;
@@ -346,56 +346,56 @@
346
346
  text-overflow: ellipsis;
347
347
  white-space: nowrap;
348
348
  }
349
- .bk-popover2.bk-select-popover .bk-select-content .bk-select-option-item {
349
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option-item {
350
350
  display: flex;
351
351
  align-items: center;
352
352
  justify-content: space-between;
353
353
  }
354
- .bk-popover2.bk-select-popover .bk-select-content .bk-select-option:hover,
355
- .bk-popover2.bk-select-popover .bk-select-content .bk-select-option.is-hover {
354
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option:hover,
355
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option.is-hover {
356
356
  color: #3a84ff;
357
357
  background-color: #f5f7fa;
358
358
  }
359
- .bk-popover2.bk-select-popover .bk-select-content .bk-select-option.is-selected {
359
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option.is-selected {
360
360
  color: #3a84ff;
361
361
  }
362
- .bk-popover2.bk-select-popover .bk-select-content .bk-select-option.is-disabled {
362
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option.is-disabled {
363
363
  color: #c4c6cc;
364
364
  cursor: not-allowed;
365
365
  background-color: transparent;
366
366
  }
367
- .bk-popover2.bk-select-popover .bk-select-content .bk-select-options-loading {
367
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-options-loading {
368
368
  display: flex;
369
369
  align-items: center;
370
370
  justify-content: center;
371
371
  }
372
- .bk-popover2.bk-select-popover .bk-select-content .bk-select-options-loading span {
372
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-options-loading span {
373
373
  margin-left: 4px;
374
374
  line-height: 18px;
375
375
  }
376
- .bk-popover2.bk-select-popover .bk-select-content .bk-option-group-label {
376
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-option-group-label {
377
377
  height: 32px;
378
378
  padding: 0 8px;
379
379
  line-height: 32px;
380
380
  color: #979ba5;
381
381
  text-align: left;
382
382
  }
383
- .bk-popover2.bk-select-popover .bk-select-content .bk-option-group-label.collapsible {
383
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-option-group-label.collapsible {
384
384
  cursor: pointer;
385
385
  }
386
- .bk-popover2.bk-select-popover .bk-select-content .bk-option-group.collapsible .bk-select-option {
386
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-option-group.collapsible .bk-select-option {
387
387
  padding-left: 40px;
388
388
  }
389
- .bk-popover2.bk-select-popover .bk-select-content .bk-option-group.disabled .default-group-label {
389
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-option-group.disabled .default-group-label {
390
390
  color: #c4c6cc;
391
391
  cursor: not-allowed;
392
392
  }
393
- .bk-popover2.bk-select-popover .bk-select-content .bk-option-group .default-group-label {
393
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-option-group .default-group-label {
394
394
  display: flex;
395
395
  user-select: none;
396
396
  align-items: center;
397
397
  }
398
- .bk-popover2.bk-select-popover .bk-select-content .bk-option-group .default-group-label-icon {
398
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-option-group .default-group-label-icon {
399
399
  display: flex;
400
400
  width: 12px;
401
401
  height: 12px;
@@ -404,9 +404,9 @@
404
404
  align-items: center;
405
405
  justify-content: center;
406
406
  }
407
- .bk-popover2.bk-select-popover .bk-select-content .bk-option-group .default-group-label-icon.collapse {
407
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-option-group .default-group-label-icon.collapse {
408
408
  transform: rotate(-90deg);
409
409
  }
410
- .bk-popover2.bk-select-popover .bk-select-content .bk-option-group .bk-select-option {
410
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-option-group .bk-select-option {
411
411
  padding-left: 24px;
412
412
  }
@@ -51,3 +51,8 @@ export declare const TABLE_ROW_ATTRIBUTE: {
51
51
  * Y 轴滚动条宽度
52
52
  */
53
53
  export declare const SCROLLY_WIDTH = 4;
54
+ export declare const SETTING_SIZE: {
55
+ large: number;
56
+ default: number;
57
+ small: number;
58
+ };
@@ -22,7 +22,7 @@ declare const BkTable: {
22
22
  virtualEnabled: boolean;
23
23
  remotePagination: boolean;
24
24
  emptyText: string;
25
- settings: any;
25
+ settings: boolean | import("./props").Settings;
26
26
  rowClass: any;
27
27
  rowStyle: any;
28
28
  cellStyle: any;
@@ -88,8 +88,8 @@ declare const BkTable: {
88
88
  } & {
89
89
  default: string;
90
90
  };
91
- settings: import("vue-types").VueTypeDef<any> & {
92
- default: any;
91
+ settings: import("vue-types").VueTypeDef<boolean | import("./props").Settings> & {
92
+ default: boolean | (() => import("./props").Settings);
93
93
  };
94
94
  rowClass: import("vue-types").VueTypeDef<any> & {
95
95
  default: any;
@@ -202,8 +202,8 @@ declare const BkTable: {
202
202
  } & {
203
203
  default: string;
204
204
  };
205
- settings: import("vue-types").VueTypeDef<any> & {
206
- default: any;
205
+ settings: import("vue-types").VueTypeDef<boolean | import("./props").Settings> & {
206
+ default: boolean | (() => import("./props").Settings);
207
207
  };
208
208
  rowClass: import("vue-types").VueTypeDef<any> & {
209
209
  default: any;
@@ -274,7 +274,7 @@ declare const BkTable: {
274
274
  virtualEnabled: boolean;
275
275
  remotePagination: boolean;
276
276
  emptyText: string;
277
- settings: any;
277
+ settings: boolean | import("./props").Settings;
278
278
  rowClass: any;
279
279
  rowStyle: any;
280
280
  cellStyle: any;
@@ -360,8 +360,8 @@ declare const BkTable: {
360
360
  } & {
361
361
  default: string;
362
362
  };
363
- settings: import("vue-types").VueTypeDef<any> & {
364
- default: any;
363
+ settings: import("vue-types").VueTypeDef<boolean | import("./props").Settings> & {
364
+ default: boolean | (() => import("./props").Settings);
365
365
  };
366
366
  rowClass: import("vue-types").VueTypeDef<any> & {
367
367
  default: any;
@@ -464,8 +464,8 @@ declare const BkTable: {
464
464
  } & {
465
465
  default: string;
466
466
  };
467
- settings: import("vue-types").VueTypeDef<any> & {
468
- default: any;
467
+ settings: import("vue-types").VueTypeDef<boolean | import("./props").Settings> & {
468
+ default: boolean | (() => import("./props").Settings);
469
469
  };
470
470
  rowClass: import("vue-types").VueTypeDef<any> & {
471
471
  default: any;
@@ -536,7 +536,7 @@ declare const BkTable: {
536
536
  virtualEnabled: boolean;
537
537
  remotePagination: boolean;
538
538
  emptyText: string;
539
- settings: any;
539
+ settings: boolean | import("./props").Settings;
540
540
  rowClass: any;
541
541
  rowStyle: any;
542
542
  cellStyle: any;