bkui-vue 0.0.1-beta.16 → 0.0.1-beta.19

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.
Files changed (196) hide show
  1. package/dist/bkui-vue.cjs.js +1564 -558
  2. package/dist/bkui-vue.esm.js +1582 -579
  3. package/dist/bkui-vue.umd.js +1564 -558
  4. package/dist/style.css +469 -14
  5. package/lib/alert/alert.d.ts +24 -15
  6. package/lib/alert/alert.variable.css +7 -0
  7. package/lib/alert/index.d.ts +96 -60
  8. package/lib/animate-number/animate-number.d.ts +12 -7
  9. package/lib/animate-number/index.d.ts +48 -28
  10. package/lib/backtop/backtop.d.ts +27 -13
  11. package/lib/backtop/backtop.variable.css +7 -0
  12. package/lib/backtop/index.d.ts +108 -52
  13. package/lib/badge/badge.d.ts +40 -19
  14. package/lib/badge/badge.variable.css +7 -0
  15. package/lib/badge/index.d.ts +146 -78
  16. package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
  17. package/lib/breadcrumb/breadcrumb.d.ts +22 -14
  18. package/lib/breadcrumb/breadcrumb.variable.css +7 -0
  19. package/lib/breadcrumb/index.d.ts +100 -64
  20. package/lib/button/button-group.d.ts +3 -5
  21. package/lib/button/button.d.ts +28 -23
  22. package/lib/button/button.variable.css +7 -0
  23. package/lib/button/index.d.ts +114 -96
  24. package/lib/card/card.d.ts +30 -15
  25. package/lib/card/card.variable.css +7 -0
  26. package/lib/card/index.d.ts +120 -60
  27. package/lib/checkbox/checkbox-group.d.ts +13 -9
  28. package/lib/checkbox/checkbox.d.ts +31 -22
  29. package/lib/checkbox/checkbox.variable.css +7 -0
  30. package/lib/checkbox/index.d.ts +137 -97
  31. package/lib/collapse/collapse.d.ts +50 -18
  32. package/lib/collapse/index.d.ts +108 -72
  33. package/lib/components.d.ts +3 -0
  34. package/lib/date-picker/date-picker.d.ts +112 -65
  35. package/lib/date-picker/date-picker.variable.css +7 -0
  36. package/lib/date-picker/index.d.ts +444 -256
  37. package/lib/date-picker/index.js +1 -1
  38. package/lib/dialog/dialog.d.ts +55 -25
  39. package/lib/dialog/index.d.ts +199 -96
  40. package/lib/dialog/index.js +1 -1
  41. package/lib/directives/index.js +1 -1
  42. package/lib/divider/divider.d.ts +21 -13
  43. package/lib/divider/divider.variable.css +7 -0
  44. package/lib/divider/index.d.ts +84 -52
  45. package/lib/dropdown/dropdown-item.d.ts +6 -5
  46. package/lib/dropdown/dropdown-menu.d.ts +6 -5
  47. package/lib/dropdown/dropdown.d.ts +25 -13
  48. package/lib/dropdown/dropdown.variable.css +7 -0
  49. package/lib/dropdown/index.d.ts +94 -62
  50. package/lib/exception/exception.d.ts +11 -9
  51. package/lib/exception/exception.variable.css +7 -0
  52. package/lib/exception/index.d.ts +44 -36
  53. package/lib/fixed-navbar/fixed-navbar.d.ts +15 -9
  54. package/lib/fixed-navbar/fixed-navbar.variable.css +7 -0
  55. package/lib/fixed-navbar/index.d.ts +60 -36
  56. package/lib/form/form-item.d.ts +47 -28
  57. package/lib/form/form.d.ts +22 -14
  58. package/lib/form/index.d.ts +285 -3
  59. package/lib/form/index.js +1 -1
  60. package/lib/icon/angle-double-down-line.d.ts +4 -0
  61. package/lib/icon/angle-double-down-line.js +15 -0
  62. package/lib/icon/angle-double-left-line.d.ts +4 -0
  63. package/lib/icon/angle-double-left-line.js +15 -0
  64. package/lib/icon/angle-double-right-line.d.ts +4 -0
  65. package/lib/icon/angle-double-right-line.js +15 -0
  66. package/lib/icon/angle-double-up-line.d.ts +4 -0
  67. package/lib/icon/angle-double-up-line.js +15 -0
  68. package/lib/icon/ellipsis.d.ts +4 -0
  69. package/lib/icon/ellipsis.js +15 -0
  70. package/lib/icon/index.d.ts +7 -0
  71. package/lib/icon/index.js +1 -1
  72. package/lib/icon/left-shape.d.ts +4 -0
  73. package/lib/icon/left-shape.js +15 -0
  74. package/lib/icon/up-shape.d.ts +4 -0
  75. package/lib/icon/up-shape.js +15 -0
  76. package/lib/input/index.d.ts +243 -163
  77. package/lib/input/input.d.ts +61 -41
  78. package/lib/input/input.variable.css +7 -0
  79. package/lib/link/index.d.ts +100 -52
  80. package/lib/link/link.d.ts +25 -13
  81. package/lib/link/link.variable.css +7 -0
  82. package/lib/loading/index.d.ts +64 -64
  83. package/lib/loading/loading.d.ts +16 -16
  84. package/lib/loading/loading.variable.css +7 -0
  85. package/lib/menu/index.d.ts +90 -71
  86. package/lib/menu/menu-group.d.ts +6 -5
  87. package/lib/menu/menu-item.d.ts +6 -5
  88. package/lib/menu/menu.d.ts +18 -14
  89. package/lib/menu/menu.variable.css +7 -0
  90. package/lib/menu/submenu.d.ts +6 -5
  91. package/lib/menu/submenu.variable.css +7 -0
  92. package/lib/message/message.variable.css +7 -0
  93. package/lib/message/messageConstructor.d.ts +28 -16
  94. package/lib/modal/index.d.ts +111 -52
  95. package/lib/modal/index.js +1 -1
  96. package/lib/modal/modal.d.ts +31 -13
  97. package/lib/modal/props.mixin.d.ts +4 -0
  98. package/lib/navigation/navigation-title.d.ts +10 -7
  99. package/lib/navigation/navigation.d.ts +40 -23
  100. package/lib/navigation/navigation.variable.css +7 -0
  101. package/lib/notify/notify.variable.css +7 -0
  102. package/lib/notify/notifyConstructor.d.ts +36 -20
  103. package/lib/pagination/index.d.ts +395 -0
  104. package/lib/pagination/index.js +1 -0
  105. package/lib/pagination/pagination.css +179 -0
  106. package/lib/pagination/pagination.d.ts +220 -0
  107. package/lib/pagination/pagination.less +201 -0
  108. package/lib/pagination/pagination.variable.css +272 -0
  109. package/lib/pagination/type.d.ts +6 -0
  110. package/lib/pagination/use-limit.d.ts +8 -0
  111. package/lib/pagination/use-list.d.ts +8 -0
  112. package/lib/pagination/use-small-list.d.ts +5 -0
  113. package/lib/pagination/use-total.d.ts +5 -0
  114. package/lib/popover/index.d.ts +209 -179
  115. package/lib/popover/popover.css +1 -0
  116. package/lib/popover/popover.d.ts +53 -31
  117. package/lib/popover/popover.less +2 -0
  118. package/lib/popover/popover.variable.css +8 -0
  119. package/lib/process/index.d.ts +120 -60
  120. package/lib/process/process.css +2 -3
  121. package/lib/process/process.d.ts +30 -15
  122. package/lib/process/process.less +2 -3
  123. package/lib/process/process.variable.css +9 -3
  124. package/lib/progress/index.d.ts +293 -145
  125. package/lib/progress/progress.d.ts +74 -37
  126. package/lib/progress/progress.variable.css +7 -0
  127. package/lib/radio/index.d.ts +127 -78
  128. package/lib/radio/radio-button.d.ts +24 -16
  129. package/lib/radio/radio-group.d.ts +11 -10
  130. package/lib/radio/radio.d.ts +23 -13
  131. package/lib/radio/radio.variable.css +7 -0
  132. package/lib/rate/index.d.ts +52 -40
  133. package/lib/rate/rate.d.ts +13 -10
  134. package/lib/rate/star.d.ts +32 -15
  135. package/lib/select/index.d.ts +396 -327
  136. package/lib/select/option.d.ts +9 -10
  137. package/lib/select/optionGroup.d.ts +49 -41
  138. package/lib/select/select.css +2 -1
  139. package/lib/select/select.d.ts +98 -84
  140. package/lib/select/select.less +2 -1
  141. package/lib/select/select.variable.css +9 -1
  142. package/lib/shared/bk-mask-manager.d.ts +32 -3
  143. package/lib/shared/bk-pop-manager.d.ts +8 -1
  144. package/lib/shared/index.js +1 -1
  145. package/lib/shared/vue-types.d.ts +2 -6
  146. package/lib/sideslider/index.d.ts +130 -63
  147. package/lib/sideslider/sideslider.d.ts +37 -16
  148. package/lib/sideslider/sideslider.variable.css +7 -0
  149. package/lib/slider/slider-button.d.ts +10 -7
  150. package/lib/slider/slider.d.ts +70 -40
  151. package/lib/slider/slider.variable.css +7 -0
  152. package/lib/steps/index.d.ts +160 -108
  153. package/lib/steps/steps.css +3 -0
  154. package/lib/steps/steps.d.ts +40 -27
  155. package/lib/steps/steps.less +4 -0
  156. package/lib/steps/steps.variable.css +10 -0
  157. package/lib/styles/index.d.ts +2 -0
  158. package/lib/styles/index.js +1 -1
  159. package/lib/styles/themes/themes.less +11 -0
  160. package/lib/switcher/index.d.ts +192 -128
  161. package/lib/switcher/switcher.d.ts +48 -32
  162. package/lib/switcher/switcher.variable.css +7 -0
  163. package/lib/tab/index.d.ts +347 -211
  164. package/lib/tab/tab-nav.d.ts +74 -38
  165. package/lib/tab/tab-panel.d.ts +22 -20
  166. package/lib/tab/tab.d.ts +65 -33
  167. package/lib/tab/tab.variable.css +7 -0
  168. package/lib/table/const.d.ts +4 -0
  169. package/lib/table/index.d.ts +155 -131
  170. package/lib/table/index.js +1 -1
  171. package/lib/table/props.d.ts +18 -0
  172. package/lib/table/render.d.ts +18 -2
  173. package/lib/table/table.css +47 -10
  174. package/lib/table/table.d.ts +47 -22
  175. package/lib/table/table.less +61 -17
  176. package/lib/table/table.variable.css +56 -12
  177. package/lib/table/utils.d.ts +32 -1
  178. package/lib/tag/index.d.ts +10 -286
  179. package/lib/tag/tag.d.ts +2 -48
  180. package/lib/tag/tag.variable.css +7 -0
  181. package/lib/timeline/index.d.ts +129 -0
  182. package/lib/timeline/index.js +1 -0
  183. package/lib/timeline/timeline.css +235 -0
  184. package/lib/timeline/timeline.d.ts +81 -0
  185. package/lib/timeline/timeline.less +239 -0
  186. package/lib/timeline/timeline.variable.css +328 -0
  187. package/lib/tree/index.d.ts +142 -77
  188. package/lib/tree/index.js +1 -1
  189. package/lib/tree/props.d.ts +19 -1
  190. package/lib/tree/tree.d.ts +42 -20
  191. package/lib/use-form.d.ts +3 -0
  192. package/lib/virtual-render/index.d.ts +412 -266
  193. package/lib/virtual-render/index.js +1 -1
  194. package/lib/virtual-render/props.d.ts +1 -0
  195. package/lib/virtual-render/virtual-render.d.ts +106 -45
  196. package/package.json +46 -46
package/dist/style.css CHANGED
@@ -1634,6 +1634,7 @@ optgroup {
1634
1634
  }
1635
1635
  .bk-popover-content .arrow {
1636
1636
  position: absolute;
1637
+ z-index: -1;
1637
1638
  width: 8px;
1638
1639
  height: 8px;
1639
1640
  background: inherit;
@@ -1956,6 +1957,7 @@ optgroup {
1956
1957
  cursor: pointer;
1957
1958
  }
1958
1959
  .bk-select .bk-select-trigger .bk-select-input {
1960
+ width: 100%;
1959
1961
  height: 32px;
1960
1962
  padding: 0 28px 0 10px;
1961
1963
  font-size: 12px;
@@ -2077,7 +2079,7 @@ optgroup {
2077
2079
  .bk-select .bk-select-option {
2078
2080
  position: relative;
2079
2081
  height: 32px;
2080
- padding: 0 20px 0 12px;
2082
+ padding: 0 12px;
2081
2083
  line-height: 32px;
2082
2084
  color: #63656e;
2083
2085
  text-align: left;
@@ -2483,45 +2485,82 @@ optgroup {
2483
2485
  }
2484
2486
  .bk-table {
2485
2487
  overflow: auto;
2488
+ border-top: 1px solid #dcdee5;
2489
+ border-bottom: 1px solid #dcdee5;
2486
2490
  }
2491
+ .bk-table .bk-table-head,
2487
2492
  .bk-table .bk-table-body {
2488
2493
  background: white;
2489
2494
  }
2495
+ .bk-table .bk-table-head table,
2490
2496
  .bk-table .bk-table-body table {
2491
2497
  width: 100%;
2492
2498
  border-collapse: collapse;
2493
2499
  }
2494
- .bk-table .bk-table-body table .cell {
2500
+ .bk-table .bk-table-head table th,
2501
+ .bk-table .bk-table-body table th,
2502
+ .bk-table .bk-table-head table td,
2503
+ .bk-table .bk-table-body table td {
2504
+ min-width: 80px;
2505
+ }
2506
+ .bk-table .bk-table-head table th .cell,
2507
+ .bk-table .bk-table-body table th .cell,
2508
+ .bk-table .bk-table-head table td .cell,
2509
+ .bk-table .bk-table-body table td .cell {
2495
2510
  height: var(--row-height);
2496
2511
  padding: 0 15px;
2497
2512
  overflow: hidden;
2498
2513
  line-height: var(--row-height);
2514
+ color: #575961;
2515
+ text-align: left;
2499
2516
  text-overflow: ellipsis;
2500
2517
  white-space: nowrap;
2501
2518
  }
2502
- .bk-table .bk-table-body table th,
2503
- .bk-table .bk-table-body table td {
2504
- min-width: 80px;
2505
- border-bottom: 1px solid #dfe0e5;
2506
- }
2519
+ .bk-table .bk-table-head table thead th,
2507
2520
  .bk-table .bk-table-body table thead th {
2508
2521
  position: sticky;
2509
2522
  top: 0;
2510
2523
  z-index: 1;
2511
- background-color: #fff;
2512
- transform: translateY(var(--translate-y));
2524
+ color: #313238;
2525
+ background-color: #fafbfd;
2513
2526
  }
2514
- .bk-table .bk-table-body table thead th.active {
2527
+ .bk-table .bk-table-head table thead th.active,
2528
+ .bk-table .bk-table-body table thead th.active,
2529
+ .bk-table .bk-table-head table thead th:hover,
2530
+ .bk-table .bk-table-body table thead th:hover {
2515
2531
  background: #f0f1f5;
2516
2532
  }
2533
+ .bk-table .bk-table-head table tbody tr:hover td,
2517
2534
  .bk-table .bk-table-body table tbody tr:hover td {
2518
2535
  background: #f5f7fa;
2519
2536
  }
2537
+ .bk-table.bordered-row .cell {
2538
+ border-bottom: 1px solid #dcdee5;
2539
+ }
2540
+ .bk-table.bordered-outer {
2541
+ border-right: 1px solid #dcdee5;
2542
+ border-left: 1px solid #dcdee5;
2543
+ }
2544
+ .bk-table.bordered-col th .cell,
2545
+ .bk-table.bordered-col td .cell {
2546
+ border-right: 1px solid #dcdee5;
2547
+ }
2548
+ .bk-table.bordered-col th:last-child .cell,
2549
+ .bk-table.bordered-col td:last-child .cell {
2550
+ border-right: none;
2551
+ }
2552
+ .bk-table.bordered-none th .cell,
2553
+ .bk-table.bordered-none td .cell {
2554
+ border-top: none;
2555
+ border-right: none;
2556
+ border-bottom: none;
2557
+ border-left: none;
2558
+ }
2520
2559
  .bk-table .bk-table-fixed {
2521
2560
  width: 100%;
2522
2561
  }
2523
2562
  .bk-table colgroup col {
2524
- background: #fff;
2563
+ background: white;
2525
2564
  }
2526
2565
  .bk-table colgroup col.active {
2527
2566
  position: relative;
@@ -2685,6 +2724,9 @@ optgroup {
2685
2724
  .bk-steps .bk-step.done .bk-step-description {
2686
2725
  color: #63656e;
2687
2726
  }
2727
+ .bk-steps .bk-step.done .bk-steps-icon {
2728
+ font-size: 22px;
2729
+ }
2688
2730
  .bk-steps .bk-step.current .bk-step-number,
2689
2731
  .bk-steps .bk-step.current .bk-step-icon,
2690
2732
  .bk-steps .bk-step.current .bk-step-text {
@@ -4137,9 +4179,8 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em {
4137
4179
  }
4138
4180
  .bk-process .bk-process-icon-done {
4139
4181
  display: inline-block;
4140
- height: 20px;
4141
- font-size: 21px;
4142
- line-height: 20px;
4182
+ font-size: 22px;
4183
+ line-height: 18px;
4143
4184
  }
4144
4185
  .bk-process .bk-icon.icon-loading {
4145
4186
  display: inline-block;
@@ -4283,6 +4324,420 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em {
4283
4324
  background-color: #dcdee5;
4284
4325
  border-radius: 6px;
4285
4326
  }
4327
+ .bk-pagination {
4328
+ display: flex;
4329
+ align-items: center;
4330
+ font-size: 12px;
4331
+ letter-spacing: normal;
4332
+ color: #63656e;
4333
+ user-select: none;
4334
+ }
4335
+ .bk-pagination.is-disabled {
4336
+ cursor: not-allowed;
4337
+ }
4338
+ .bk-pagination.is-align-left {
4339
+ justify-content: flex-start;
4340
+ }
4341
+ .bk-pagination.is-align-center {
4342
+ justify-content: center;
4343
+ }
4344
+ .bk-pagination.is-align-right {
4345
+ justify-content: flex-end;
4346
+ }
4347
+ .bk-pagination > * {
4348
+ margin: 0 6px;
4349
+ }
4350
+ .bk-pagination > .is-first {
4351
+ margin-left: 0;
4352
+ }
4353
+ .bk-pagination > .is-last {
4354
+ margin-right: 0;
4355
+ }
4356
+ .bk-pagination-total {
4357
+ display: flex;
4358
+ user-select: none;
4359
+ }
4360
+ .bk-pagination-total-num {
4361
+ padding: 0 2px;
4362
+ color: #3f4046;
4363
+ }
4364
+ .bk-pagination-list {
4365
+ display: flex;
4366
+ }
4367
+ .bk-pagination-list-pre,
4368
+ .bk-pagination-list-next,
4369
+ .bk-pagination-list-item {
4370
+ display: flex;
4371
+ align-items: center;
4372
+ justify-content: center;
4373
+ height: 32px;
4374
+ min-width: 32px;
4375
+ padding: 0 4px;
4376
+ margin-right: 2px;
4377
+ margin-left: 2px;
4378
+ color: #63656e;
4379
+ cursor: pointer;
4380
+ background: #fff;
4381
+ border: 1px solid #c4c6cc;
4382
+ border-radius: 2px;
4383
+ user-select: none;
4384
+ }
4385
+ .bk-pagination-list-pre:hover,
4386
+ .bk-pagination-list-next:hover,
4387
+ .bk-pagination-list-item:hover,
4388
+ .bk-pagination-list-pre.is-active,
4389
+ .bk-pagination-list-next.is-active,
4390
+ .bk-pagination-list-item.is-active {
4391
+ color: #3a84ff;
4392
+ border-color: #3a84ff;
4393
+ }
4394
+ .bk-pagination-list-pre.is-disabled,
4395
+ .bk-pagination-list-next.is-disabled,
4396
+ .bk-pagination-list-item.is-disabled {
4397
+ color: #c4c6cc;
4398
+ cursor: not-allowed;
4399
+ background-color: #fafbfd;
4400
+ border-color: #dcdee5;
4401
+ }
4402
+ .bk-pagination-list-pre-batch,
4403
+ .bk-pagination-list-next-batch {
4404
+ display: flex;
4405
+ align-items: center;
4406
+ justify-content: center;
4407
+ height: 32px;
4408
+ cursor: pointer;
4409
+ user-select: none;
4410
+ }
4411
+ .bk-pagination-list-pre-batch:hover,
4412
+ .bk-pagination-list-next-batch:hover {
4413
+ color: #3a84ff;
4414
+ }
4415
+ .bk-pagination-list-pre,
4416
+ .bk-pagination-list-next {
4417
+ font-size: 14px;
4418
+ }
4419
+ .bk-pagination-list-item {
4420
+ margin-right: 4px;
4421
+ margin-left: 4px;
4422
+ }
4423
+ .bk-pagination-limit {
4424
+ display: flex;
4425
+ align-items: center;
4426
+ user-select: none;
4427
+ }
4428
+ .bk-pagination-limit-select {
4429
+ width: 60px;
4430
+ margin: 0 4px;
4431
+ }
4432
+ .bk-pagination-small-list {
4433
+ display: flex;
4434
+ }
4435
+ .bk-pagination-small-list .bk-pagination-picker {
4436
+ display: flex;
4437
+ height: 24px;
4438
+ cursor: pointer;
4439
+ background-color: #f0f1f5;
4440
+ border: 1px solid #f0f1f5;
4441
+ border-radius: 2px;
4442
+ align-items: center;
4443
+ }
4444
+ .bk-pagination-small-list .bk-pagination-picker:hover {
4445
+ background-color: #e1ecff;
4446
+ border-color: #e1ecff;
4447
+ }
4448
+ .bk-pagination-small-list .bk-pagination-picker.is-focused {
4449
+ background-color: #fff;
4450
+ border-color: #3a84ff;
4451
+ box-shadow: 0px 0px 4px rgba(58, 132, 255, 0.4);
4452
+ }
4453
+ .bk-pagination-editor {
4454
+ height: 16px;
4455
+ min-width: 14px;
4456
+ padding-right: 4px;
4457
+ padding-left: 8px;
4458
+ line-height: 16px;
4459
+ text-align: center;
4460
+ background-color: transparent;
4461
+ border: 0;
4462
+ border-radius: 2px;
4463
+ outline: none;
4464
+ transition: all 0.15s;
4465
+ }
4466
+ .bk-pagination-small-list-total {
4467
+ padding-right: 8px;
4468
+ padding-left: 4px;
4469
+ }
4470
+ .bk-pagination-btn-pre,
4471
+ .bk-pagination-btn-next {
4472
+ display: flex;
4473
+ justify-content: center;
4474
+ align-items: center;
4475
+ width: 24px;
4476
+ cursor: pointer;
4477
+ }
4478
+ .bk-pagination-btn-pre:hover,
4479
+ .bk-pagination-btn-next:hover {
4480
+ color: #3a84ff;
4481
+ }
4482
+ .bk-pagination-btn-pre.is-disabled,
4483
+ .bk-pagination-btn-next.is-disabled {
4484
+ color: #dcdee5;
4485
+ cursor: not-allowed;
4486
+ }
4487
+ .bk-pagination-picker-list {
4488
+ max-height: 216px;
4489
+ padding: 7px 0;
4490
+ margin: -7px -14px;
4491
+ overflow: auto;
4492
+ }
4493
+ .bk-pagination-picker-list .item {
4494
+ height: 32px;
4495
+ padding: 0 10px;
4496
+ font-size: 12px;
4497
+ line-height: 32px;
4498
+ color: #63656e;
4499
+ cursor: pointer;
4500
+ }
4501
+ .bk-pagination-picker-list .item:hover,
4502
+ .bk-pagination-picker-list .item.is-actived {
4503
+ color: #3a84ff;
4504
+ background: #f4f6fa;
4505
+ }
4506
+ * {
4507
+ box-sizing: border-box;
4508
+ }
4509
+ .bk-timeline {
4510
+ padding: 0;
4511
+ margin: 16px 0 0;
4512
+ font-style: normal;
4513
+ font-weight: 400;
4514
+ line-height: normal;
4515
+ text-align: left;
4516
+ list-style: none;
4517
+ }
4518
+ .bk-timeline .bk-timeline-dot {
4519
+ position: relative;
4520
+ padding-bottom: 24px;
4521
+ padding-left: 16px;
4522
+ /* spacing 1px */
4523
+ margin-top: 13px;
4524
+ font-size: 0;
4525
+ border-left: 1px solid #d8d8d8;
4526
+ }
4527
+ .bk-timeline .bk-timeline-dot::before {
4528
+ position: absolute;
4529
+ top: calc((11px + 1px) * -1);
4530
+ left: -6px;
4531
+ display: inline-block;
4532
+ width: 11px;
4533
+ height: 11px;
4534
+ background: #fff;
4535
+ border: 2px solid #d8d8d8;
4536
+ border-radius: 50%;
4537
+ content: '';
4538
+ box-sizing: border-box;
4539
+ }
4540
+ .bk-timeline .bk-timeline-dot:last-child {
4541
+ padding-bottom: 0;
4542
+ /* 保留border使用间距保持一致 */
4543
+ border-left: 1px solid transparent;
4544
+ }
4545
+ .bk-timeline .bk-timeline-dot .bk-timeline-title {
4546
+ display: inline-block;
4547
+ padding-bottom: 10px;
4548
+ margin-top: -3px;
4549
+ font-size: 14px;
4550
+ color: #63656e;
4551
+ cursor: pointer;
4552
+ }
4553
+ .bk-timeline .bk-timeline-dot .bk-timeline-content {
4554
+ max-width: 300px;
4555
+ font-size: 14px;
4556
+ color: #666;
4557
+ word-break: break-all;
4558
+ }
4559
+ .bk-timeline .bk-timeline-dot .bk-timeline-icon {
4560
+ position: absolute;
4561
+ top: calc((15px + 1px) * -1);
4562
+ left: -8px;
4563
+ display: inline-block;
4564
+ width: 15px;
4565
+ height: 15px;
4566
+ background: #fff;
4567
+ border: 2px solid #d8d8d8;
4568
+ border-radius: 50%;
4569
+ box-sizing: border-box;
4570
+ }
4571
+ .bk-timeline .bk-timeline-dot .bk-timeline-icon .bk-timeline-icon-inner {
4572
+ display: inline-block;
4573
+ transform: scale(1) translate(-0.5px, -4px);
4574
+ }
4575
+ .bk-timeline .bk-timeline-dot .bk-timeline-icon .bk-timeline-icon-inner > :first-child {
4576
+ font-size: 12px;
4577
+ }
4578
+ .bk-timeline .bk-timeline-dot .bk-timeline-section {
4579
+ position: relative;
4580
+ top: calc((11px + 2px) * -1);
4581
+ }
4582
+ .bk-timeline .bk-timeline-dot.bk-timeline-large {
4583
+ margin-top: calc(15px + 2px);
4584
+ }
4585
+ .bk-timeline .bk-timeline-dot.bk-timeline-large::before {
4586
+ top: calc((15px + 1px) * -1);
4587
+ left: -8px;
4588
+ width: 15px;
4589
+ height: 15px;
4590
+ }
4591
+ .bk-timeline .bk-timeline-dot.bk-timeline-large > .bk-timeline-section {
4592
+ top: calc((15px + 1px) * -1);
4593
+ }
4594
+ .bk-timeline .bk-timeline-dot.bk-timeline-item-custom-icon {
4595
+ margin-top: calc(15px + 2px);
4596
+ }
4597
+ .bk-timeline .bk-timeline-dot.bk-timeline-item-custom-icon::before {
4598
+ display: none;
4599
+ }
4600
+ .bk-timeline .bk-timeline-dot.bk-timeline-item-custom-icon > .bk-timeline-section {
4601
+ top: calc((15px + 1px) * -1);
4602
+ }
4603
+ .bk-timeline .bk-timeline-dot:first-child {
4604
+ margin-top: 0;
4605
+ }
4606
+ .bk-timeline .bk-timeline-primary {
4607
+ border-left: 1px solid #3a84ff;
4608
+ }
4609
+ .bk-timeline .bk-timeline-primary::before,
4610
+ .bk-timeline .bk-timeline-primary .bk-timeline-icon {
4611
+ color: #3a84ff;
4612
+ border: 2px solid #3a84ff;
4613
+ }
4614
+ .bk-timeline .bk-timeline-primary.bk-timeline-filled::before,
4615
+ .bk-timeline .bk-timeline-primary.bk-timeline-filled .bk-timeline-icon {
4616
+ background: #3a84ff;
4617
+ }
4618
+ .bk-timeline .bk-timeline-warning {
4619
+ border-left: 1px solid #ff9c01;
4620
+ }
4621
+ .bk-timeline .bk-timeline-warning::before,
4622
+ .bk-timeline .bk-timeline-warning .bk-timeline-icon {
4623
+ color: #ff9c01;
4624
+ border: 2px solid #ff9c01;
4625
+ }
4626
+ .bk-timeline .bk-timeline-warning.bk-timeline-filled::before,
4627
+ .bk-timeline .bk-timeline-warning.bk-timeline-filled .bk-timeline-icon {
4628
+ background: #ff9c01;
4629
+ }
4630
+ .bk-timeline .bk-timeline-success {
4631
+ border-left: 1px solid #2dcb56;
4632
+ }
4633
+ .bk-timeline .bk-timeline-success::before,
4634
+ .bk-timeline .bk-timeline-success .bk-timeline-icon {
4635
+ color: #2dcb56;
4636
+ border: 2px solid #2dcb56;
4637
+ }
4638
+ .bk-timeline .bk-timeline-success.bk-timeline-filled::before,
4639
+ .bk-timeline .bk-timeline-success.bk-timeline-filled .bk-timeline-icon {
4640
+ background: #2dcb56;
4641
+ }
4642
+ .bk-timeline .bk-timeline-danger {
4643
+ border-left: 1px solid #ea3636;
4644
+ }
4645
+ .bk-timeline .bk-timeline-danger::before,
4646
+ .bk-timeline .bk-timeline-danger .bk-timeline-icon {
4647
+ color: #ea3636;
4648
+ border: 2px solid #ea3636;
4649
+ }
4650
+ .bk-timeline .bk-timeline-danger.bk-timeline-filled::before,
4651
+ .bk-timeline .bk-timeline-danger.bk-timeline-filled .bk-timeline-icon {
4652
+ background: #ea3636;
4653
+ }
4654
+ .bk-timeline .bk-timeline-blue::before,
4655
+ .bk-timeline .bk-timeline-blue .bk-timeline-icon {
4656
+ color: #3a84ff;
4657
+ border: 2px solid #3a84ff;
4658
+ }
4659
+ .bk-timeline .bk-timeline-blue.bk-timeline-filled::before,
4660
+ .bk-timeline .bk-timeline-blue.bk-timeline-filled .bk-timeline-icon {
4661
+ background: #3a84ff;
4662
+ }
4663
+ .bk-timeline .bk-timeline-red::before,
4664
+ .bk-timeline .bk-timeline-red .bk-timeline-icon {
4665
+ color: #ea3636;
4666
+ border: 2px solid #ea3636;
4667
+ }
4668
+ .bk-timeline .bk-timeline-red.bk-timeline-filled::before,
4669
+ .bk-timeline .bk-timeline-red.bk-timeline-filled .bk-timeline-icon {
4670
+ background: #ea3636;
4671
+ }
4672
+ .bk-timeline .bk-timeline-green::before,
4673
+ .bk-timeline .bk-timeline-green .bk-timeline-icon {
4674
+ color: #2dcb56;
4675
+ border: 2px solid #2dcb56;
4676
+ }
4677
+ .bk-timeline .bk-timeline-green.bk-timeline-filled::before,
4678
+ .bk-timeline .bk-timeline-green.bk-timeline-filled .bk-timeline-icon {
4679
+ background: #2dcb56;
4680
+ }
4681
+ .bk-timeline .bk-timeline-yellow::before,
4682
+ .bk-timeline .bk-timeline-yellow .bk-timeline-icon {
4683
+ color: #ff9c01;
4684
+ border: 2px solid #ff9c01;
4685
+ }
4686
+ .bk-timeline .bk-timeline-yellow.bk-timeline-filled::before,
4687
+ .bk-timeline .bk-timeline-yellow.bk-timeline-filled .bk-timeline-icon {
4688
+ background: #ff9c01;
4689
+ }
4690
+ .bk-timeline .bk-timeline-gray::before,
4691
+ .bk-timeline .bk-timeline-gray .bk-timeline-icon {
4692
+ color: #63656e;
4693
+ border: 2px solid #63656e;
4694
+ }
4695
+ .bk-timeline .bk-timeline-gray.bk-timeline-filled::before,
4696
+ .bk-timeline .bk-timeline-gray.bk-timeline-filled .bk-timeline-icon {
4697
+ background: #63656e;
4698
+ }
4699
+ .bk-timeline-dashed .bk-step .bk-step-title::after,
4700
+ .bk-timeline-dashed .bk-step .bk-step-indicator::after {
4701
+ background-image: linear-gradient(to right, #c4c6cc 50%, transparent 0%);
4702
+ background-position: bottom;
4703
+ background-repeat: repeat-x;
4704
+ background-size: 6px 1px;
4705
+ }
4706
+ .bk-timeline-solid .bk-step .bk-step-title::after,
4707
+ .bk-timeline-solid .bk-step .bk-step-indicator::after {
4708
+ background-color: #c4c6cc;
4709
+ }
4710
+ .bk-timeline-vertical {
4711
+ height: 100%;
4712
+ flex-direction: column;
4713
+ }
4714
+ .bk-timeline-vertical .bk-step {
4715
+ margin-right: 0;
4716
+ margin-bottom: 8px;
4717
+ }
4718
+ .bk-timeline-vertical .bk-step .bk-step-title::after,
4719
+ .bk-timeline-vertical .bk-step .bk-step-indicator::after {
4720
+ display: none;
4721
+ }
4722
+ .bk-timeline-vertical .bk-step::after {
4723
+ position: absolute;
4724
+ top: 32px;
4725
+ left: 12px;
4726
+ width: 1px;
4727
+ height: 100%;
4728
+ background-image: linear-gradient(#c4c6cc 50%, transparent 0%);
4729
+ background-position: right;
4730
+ background-repeat: repeat-y;
4731
+ background-size: 1px 6px;
4732
+ content: '';
4733
+ }
4734
+ .bk-timeline-vertical .bk-step .bk-step-title {
4735
+ display: flex;
4736
+ height: 100%;
4737
+ margin-top: 0;
4738
+ text-align: left;
4739
+ align-items: center;
4740
+ }
4286
4741
  .bk-popper {
4287
4742
  display: none;
4288
4743
  padding: 7px 14px;
@@ -26,21 +26,30 @@ declare const _default: import("vue").DefineComponent<{
26
26
  visible: boolean;
27
27
  };
28
28
  handleClose: () => void;
29
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
30
- theme?: unknown;
31
- size?: unknown;
32
- title?: unknown;
33
- closable?: unknown;
34
- closeText?: unknown;
35
- showIcon?: unknown;
36
- } & {
37
- title: string;
38
- theme: string;
39
- size: string;
40
- closable: boolean;
41
- closeText: string;
42
- showIcon: boolean;
43
- } & {}> & {
29
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
+ theme: import("vue-types").VueTypeDef<string> & {
31
+ default: string;
32
+ };
33
+ size: import("vue-types").VueTypeValidableDef<string> & {
34
+ default: string;
35
+ };
36
+ title: import("vue-types").VueTypeValidableDef<string> & {
37
+ default: string;
38
+ };
39
+ closable: import("vue-types").VueTypeValidableDef<boolean> & {
40
+ default: boolean;
41
+ } & {
42
+ default: boolean;
43
+ };
44
+ closeText: import("vue-types").VueTypeValidableDef<string> & {
45
+ default: string;
46
+ };
47
+ showIcon: import("vue-types").VueTypeValidableDef<boolean> & {
48
+ default: boolean;
49
+ } & {
50
+ default: boolean;
51
+ };
52
+ }>> & {
44
53
  onClose?: (...args: any[]) => any;
45
54
  }, {
46
55
  title: string;
@@ -1,5 +1,6 @@
1
1
  :root {
2
2
  --bk-prefix: bk;
3
+ --popover-max-height: 216px;
3
4
  --primary-color: #3a84ff;
4
5
  --success-color: #2dcb56;
5
6
  --warning-color: #ff9c01;
@@ -83,6 +84,12 @@
83
84
  --date-picker-disabled-bg: #fafbfd;
84
85
  --date-picker-dropdown-mb: 4px;
85
86
  --date-picker-dropdown-bg: #fff;
87
+ --table-bg-color: var(--white-color);
88
+ --table-border-color: #dcdee5;
89
+ --table-head-bg-color: #fafbfd;
90
+ --table-head-font-color: #313238;
91
+ --table-body-font-color: #575961;
92
+ --table-row-hover-bg-color: #f5f7fa;
86
93
  }
87
94
  .bk-alert {
88
95
  position: relative;