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.
Files changed (96) hide show
  1. package/dist/index.cjs.js +70 -70
  2. package/dist/index.esm.js +19847 -19003
  3. package/dist/index.umd.js +70 -70
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/components.d.ts +1 -0
  7. package/lib/components.js +1 -0
  8. package/lib/dialog/dialog.css +139 -84
  9. package/lib/dialog/dialog.d.ts +32 -133
  10. package/lib/dialog/dialog.less +9 -76
  11. package/lib/dialog/dialog.variable.css +139 -84
  12. package/lib/dialog/index.d.ts +84 -314
  13. package/lib/dialog/index.js +207 -221
  14. package/lib/dialog/props.d.ts +8 -48
  15. package/lib/info-box/index.d.ts +2 -2
  16. package/lib/info-box/index.js +328 -173
  17. package/lib/info-box/info-box.css +63 -7
  18. package/lib/info-box/info-box.d.ts +18 -16
  19. package/lib/info-box/info-box.less +76 -14
  20. package/lib/info-box/info-box.variable.css +63 -7
  21. package/lib/info-box/render-component.d.ts +4 -0
  22. package/lib/input/index.js +2 -1
  23. package/lib/modal/hooks.d.ts +1 -1
  24. package/lib/modal/index.d.ts +16 -350
  25. package/lib/modal/index.js +218 -703
  26. package/lib/modal/mask.d.ts +6 -0
  27. package/lib/modal/modal.css +135 -32
  28. package/lib/modal/modal.d.ts +6 -134
  29. package/lib/modal/modal.less +88 -29
  30. package/lib/modal/modal.variable.css +135 -32
  31. package/lib/modal/props.mixin.d.ts +2 -53
  32. package/lib/overflow-title/index.js +46 -52
  33. package/lib/pop-confirm/index.js +5 -8
  34. package/lib/scrollbar/index.d.ts +15 -0
  35. package/lib/scrollbar/index.js +18763 -0
  36. package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +2 -0
  37. package/lib/scrollbar/scrollbar-core/helpers.d.ts +5 -0
  38. package/lib/scrollbar/scrollbar-core/index.d.ts +241 -0
  39. package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +5 -0
  40. package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +1 -0
  41. package/lib/scrollbar/scrollbar.css +75 -0
  42. package/lib/scrollbar/scrollbar.less +94 -0
  43. package/lib/scrollbar/scrollbar.variable.css +204 -0
  44. package/lib/shared/index.d.ts +0 -1
  45. package/lib/shared/index.js +1 -48
  46. package/lib/sideslider/index.d.ts +31 -222
  47. package/lib/sideslider/index.js +65 -40
  48. package/lib/sideslider/sideslider.css +17 -86
  49. package/lib/sideslider/sideslider.d.ts +14 -105
  50. package/lib/sideslider/sideslider.less +27 -107
  51. package/lib/sideslider/sideslider.variable.css +17 -86
  52. package/lib/slider/index.d.ts +19 -0
  53. package/lib/slider/index.js +45 -5
  54. package/lib/slider/slider.css +14 -0
  55. package/lib/slider/slider.d.ts +9 -0
  56. package/lib/slider/slider.less +15 -0
  57. package/lib/slider/slider.variable.css +14 -0
  58. package/lib/table/components/table-cell.d.ts +3 -2
  59. package/lib/table/components/table-column.d.ts +2 -2
  60. package/lib/table/const.d.ts +1 -1
  61. package/lib/table/index.d.ts +25 -2
  62. package/lib/table/index.js +237 -85
  63. package/lib/table/plugins/head-filter.css +8 -4
  64. package/lib/table/plugins/head-filter.less +6 -3
  65. package/lib/table/plugins/head-filter.variable.css +8 -4
  66. package/lib/table/plugins/use-fixed-column.d.ts +1 -1
  67. package/lib/table/plugins/use-pagination.d.ts +3 -1
  68. package/lib/table/plugins/use-shift-key.d.ts +11 -0
  69. package/lib/table/props.d.ts +11 -3
  70. package/lib/table/table.css +106 -46
  71. package/lib/table/table.d.ts +11 -0
  72. package/lib/table/table.less +43 -58
  73. package/lib/table/table.variable.css +106 -46
  74. package/lib/table/use-attributes.d.ts +2 -1
  75. package/lib/table/use-column.d.ts +6 -6
  76. package/lib/table/use-render.d.ts +1 -1
  77. package/lib/table-column/index.d.ts +6 -6
  78. package/lib/table-column/index.js +6 -2
  79. package/lib/tree/index.d.ts +23 -0
  80. package/lib/tree/index.js +9 -3
  81. package/lib/tree/props.d.ts +8 -0
  82. package/lib/tree/tree.css +76 -2
  83. package/lib/tree/tree.d.ts +11 -0
  84. package/lib/tree/tree.variable.css +76 -2
  85. package/lib/virtual-render/index.d.ts +27 -0
  86. package/lib/virtual-render/index.js +285 -76
  87. package/lib/virtual-render/props.d.ts +16 -0
  88. package/lib/virtual-render/use-fix-top.d.ts +2 -7
  89. package/lib/virtual-render/use-scrollbar.d.ts +24 -0
  90. package/lib/virtual-render/v-virtual-render.d.ts +2 -1
  91. package/lib/virtual-render/virtual-render.css +76 -2
  92. package/lib/virtual-render/virtual-render.d.ts +13 -0
  93. package/lib/virtual-render/virtual-render.less +3 -3
  94. package/lib/virtual-render/virtual-render.variable.css +76 -2
  95. package/package.json +1 -1
  96. package/lib/shared/mask.d.ts +0 -11
@@ -27,10 +27,6 @@
27
27
  max-width: 300px;
28
28
  min-width: 200px;
29
29
  }
30
- .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items {
31
- max-height: 200px;
32
- min-height: 40px;
33
- }
34
30
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item {
35
31
  width: 100%;
36
32
  height: 32px;
@@ -43,11 +39,19 @@
43
39
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item:hover {
44
40
  background: #f0f1f5;
45
41
  }
42
+ .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item label {
43
+ text-overflow: ellipsis;
44
+ white-space: nowrap;
45
+ overflow: hidden;
46
+ width: 100%;
47
+ }
46
48
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item label:hover {
47
49
  background: #f0f1f5;
48
50
  }
49
51
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item .bk-checkbox-label {
50
52
  white-space: nowrap;
53
+ text-overflow: ellipsis;
54
+ overflow: hidden;
51
55
  }
52
56
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item .bk-checkbox {
53
57
  margin-left: 0;
@@ -35,9 +35,6 @@
35
35
  min-width: 200px;
36
36
 
37
37
  .content-items {
38
- max-height: 200px;
39
- min-height: 40px;
40
-
41
38
  .list-item {
42
39
  width: 100%;
43
40
  height: 32px;
@@ -52,6 +49,10 @@
52
49
  }
53
50
 
54
51
  label {
52
+ text-overflow: ellipsis;
53
+ white-space: nowrap;
54
+ overflow: hidden;
55
+ width: 100%;
55
56
  &:hover {
56
57
  background: #f0f1f5;
57
58
  }
@@ -59,6 +60,8 @@
59
60
 
60
61
  .@{bk-prefix}-checkbox-label {
61
62
  white-space: nowrap;
63
+ text-overflow: ellipsis;
64
+ overflow: hidden;
62
65
  }
63
66
 
64
67
  .@{bk-prefix}-checkbox {
@@ -156,10 +156,6 @@
156
156
  max-width: 300px;
157
157
  min-width: 200px;
158
158
  }
159
- .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items {
160
- max-height: 200px;
161
- min-height: 40px;
162
- }
163
159
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item {
164
160
  width: 100%;
165
161
  height: 32px;
@@ -172,11 +168,19 @@
172
168
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item:hover {
173
169
  background: #f0f1f5;
174
170
  }
171
+ .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item label {
172
+ text-overflow: ellipsis;
173
+ white-space: nowrap;
174
+ overflow: hidden;
175
+ width: 100%;
176
+ }
175
177
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item label:hover {
176
178
  background: #f0f1f5;
177
179
  }
178
180
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item .bk-checkbox-label {
179
181
  white-space: nowrap;
182
+ text-overflow: ellipsis;
183
+ overflow: hidden;
180
184
  }
181
185
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item .bk-checkbox {
182
186
  margin-left: 0;
@@ -6,7 +6,7 @@ import { ITableResponse } from '../use-attributes';
6
6
  */
7
7
  declare const _default: (props: TablePropTypes, tableResp: ITableResponse, head?: Ref<HTMLElement>) => {
8
8
  fixedWrapperClass: string;
9
- resolveFixedColumnStyle: (column: Column, hasScrollY?: boolean) => {
9
+ resolveFixedColumnStyle: (column: Column) => {
10
10
  [x: string]: string;
11
11
  };
12
12
  resolveFixedColumns: (tableOffsetRight: any) => void;
@@ -14,8 +14,10 @@ declare const _default: (props: TablePropTypes) => {
14
14
  resolvePageData: (filterFn?: any, sortFn?: any, column?: Column, type?: string, sortScope?: any, multiCol?: any) => void;
15
15
  resolveIndexData: () => Promise<void>;
16
16
  resolvePageDataBySortList: (multiCol?: any) => void;
17
+ handlePaginationChange: (filterFn?: any, sortFn?: any) => void;
17
18
  resetStartEndIndex: () => void;
18
- multiFilter: (filterFnList: ((row: any, index: any, data: any) => void)[]) => void;
19
+ getCurrentPageData: () => any[];
20
+ multiFilter: (filterFnList: ((row: any, index: any, data: any) => void)[], origin?: any) => void;
19
21
  sort: (sourceData: any[], sortFn: any, column: Column, type: string, sortScope: SortScope) => void;
20
22
  };
21
23
  export default _default;
@@ -0,0 +1,11 @@
1
+ import { TablePropTypes } from '../props';
2
+ declare const _default: (props: TablePropTypes) => {
3
+ isShiftKeyDown: import("vue").Ref<boolean>;
4
+ setStore: (row: any, index: number) => boolean;
5
+ getStore: () => {
6
+ start: any;
7
+ end: any;
8
+ };
9
+ clearStore: () => void;
10
+ };
11
+ export default _default;
@@ -44,8 +44,8 @@ export declare enum FixedEnum {
44
44
  }
45
45
  export declare const fixedType: import("vue-types").VueTypeValidableDef<"right" | "left">;
46
46
  export type IOverflowTooltipOption = {
47
- content: string | Function;
48
- disabled?: (col: Column, row: any) => boolean | boolean;
47
+ content: ((col: Column, row: any) => string) | string;
48
+ disabled?: ((col: Column, row: any) => boolean) | boolean;
49
49
  watchCellResize?: boolean;
50
50
  mode?: `${OverflowModeEnum}`;
51
51
  popoverOption?: any;
@@ -165,7 +165,7 @@ export type Column = {
165
165
  width?: number | string;
166
166
  minWidth?: number | string;
167
167
  columnKey?: string;
168
- showOverflowTooltip?: boolean | IOverflowTooltip;
168
+ showOverflowTooltip?: IOverflowTooltip;
169
169
  type?: string;
170
170
  fixed?: string | boolean;
171
171
  resizable?: boolean;
@@ -560,5 +560,13 @@ export declare const tableProps: {
560
560
  rowDraggable: import("vue-types").VueTypeDef<any> & {
561
561
  default: any;
562
562
  };
563
+ /**
564
+ * 是否支持shift键多行选择
565
+ */
566
+ shiftMultiChecked: import("vue-types").VueTypeValidableDef<boolean> & {
567
+ default: boolean;
568
+ } & {
569
+ default: boolean;
570
+ };
563
571
  };
564
572
  export {};
@@ -15,11 +15,85 @@
15
15
  .bk-F-scroll-y::-webkit-scrollbar-thumb {
16
16
  border-radius: 4px;
17
17
  }
18
+ .bk-scrollbar-wrapper {
19
+ position: relative;
20
+ overflow: hidden;
21
+ }
22
+ .bk-scrollbar-wrapper .bk-scrollbar-content-el {
23
+ display: inline-flex;
24
+ flex-direction: column;
25
+ width: 100%;
26
+ }
27
+ .bk-scrollbar-wrapper .bk-scrollbar-track {
28
+ z-index: 1;
29
+ position: absolute;
30
+ right: 0;
31
+ bottom: 0;
32
+ pointer-events: none;
33
+ overflow: hidden;
34
+ }
35
+ .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-hover {
36
+ background-color: #F0F1F5;
37
+ cursor: pointer;
38
+ }
39
+ .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-hover .bk-scrollbar::before {
40
+ background-color: #979BA5;
41
+ }
42
+ .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-vertical {
43
+ top: 0;
44
+ width: 8px;
45
+ transform: translate(var(--scroll-offset-x), var(--scroll-offset-y));
46
+ }
47
+ .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-horizontal {
48
+ left: 0;
49
+ height: 8px;
50
+ transform: translate(var(--scroll-offset-x), var(--scroll-offset-y));
51
+ }
52
+ .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-horizontal.bk-scrollbar {
53
+ right: auto;
54
+ left: 0;
55
+ top: 0;
56
+ bottom: 0;
57
+ min-height: 0;
58
+ min-width: 8px;
59
+ width: auto;
60
+ }
61
+ .bk-scrollbar-wrapper .bk-scrollbar-dragging {
62
+ pointer-events: none;
63
+ -webkit-touch-callout: none;
64
+ -webkit-user-select: none;
65
+ -khtml-user-select: none;
66
+ -moz-user-select: none;
67
+ -ms-user-select: none;
68
+ user-select: none;
69
+ }
70
+ .bk-scrollbar-wrapper .bk-scrollbar {
71
+ position: absolute;
72
+ left: 0;
73
+ right: 0;
74
+ min-height: 8px;
75
+ }
76
+ .bk-scrollbar-wrapper .bk-scrollbar::before {
77
+ position: absolute;
78
+ content: '';
79
+ background: #DCDEE5;
80
+ border-radius: 6px;
81
+ left: 1px;
82
+ right: 1px;
83
+ top: 1px;
84
+ bottom: 1px;
85
+ opacity: 0;
86
+ transition: opacity 0.2s 0.9s linear;
87
+ }
88
+ .bk-scrollbar-wrapper .bk-scrollbar.bk-scrollbar-visible::before {
89
+ opacity: 0.9;
90
+ transition-delay: 0s;
91
+ transition-duration: 0s;
92
+ }
18
93
  .bk-virtual-render {
19
94
  position: relative;
20
95
  }
21
- .bk-virtual-render .bk-virtual-content,
22
- .bk-virtual-render.bk-virtual-content {
96
+ .bk-virtual-render .bk-virtual-content {
23
97
  position: absolute;
24
98
  top: 0;
25
99
  bottom: 0;
@@ -791,10 +865,6 @@
791
865
  max-width: 300px;
792
866
  min-width: 200px;
793
867
  }
794
- .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items {
795
- max-height: 200px;
796
- min-height: 40px;
797
- }
798
868
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item {
799
869
  width: 100%;
800
870
  height: 32px;
@@ -807,11 +877,19 @@
807
877
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item:hover {
808
878
  background: #f0f1f5;
809
879
  }
880
+ .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item label {
881
+ text-overflow: ellipsis;
882
+ white-space: nowrap;
883
+ overflow: hidden;
884
+ width: 100%;
885
+ }
810
886
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item label:hover {
811
887
  background: #f0f1f5;
812
888
  }
813
889
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item .bk-checkbox-label {
814
890
  white-space: nowrap;
891
+ text-overflow: ellipsis;
892
+ overflow: hidden;
815
893
  }
816
894
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item .bk-checkbox {
817
895
  margin-left: 0;
@@ -997,9 +1075,9 @@
997
1075
  }
998
1076
  .bk-table {
999
1077
  position: relative;
1078
+ width: 100%;
1000
1079
  height: auto;
1001
1080
  overflow: hidden;
1002
- width: 100%;
1003
1081
  }
1004
1082
  .bk-table-flex {
1005
1083
  display: flex;
@@ -1015,19 +1093,9 @@
1015
1093
  }
1016
1094
  .bk-table .bk-table-body {
1017
1095
  position: relative;
1018
- overflow: auto;
1019
- scrollbar-gutter: stable;
1096
+ overflow: hidden;
1020
1097
  border-bottom: 1px solid #dcdee5;
1021
1098
  }
1022
- .bk-table .bk-table-body::-webkit-scrollbar {
1023
- width: 5px;
1024
- height: 6px;
1025
- }
1026
- .bk-table .bk-table-body::-webkit-scrollbar-thumb {
1027
- background: #dcdee5;
1028
- border-radius: 10px;
1029
- box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
1030
- }
1031
1099
  .bk-table .bk-table-body .prepend-row {
1032
1100
  transform: translateX(var(--prepend-left));
1033
1101
  }
@@ -1054,17 +1122,6 @@
1054
1122
  background: white;
1055
1123
  transform: translateZ(0);
1056
1124
  }
1057
- .bk-table .bk-table-head::-webkit-scrollbar,
1058
- .bk-table .bk-table-body::-webkit-scrollbar {
1059
- width: 5px;
1060
- height: 5px;
1061
- }
1062
- .bk-table .bk-table-head::-webkit-scrollbar-thumb,
1063
- .bk-table .bk-table-body::-webkit-scrollbar-thumb {
1064
- background: #ddd;
1065
- border-radius: 20px;
1066
- box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
1067
- }
1068
1125
  .bk-table .bk-table-head.__is-empty,
1069
1126
  .bk-table .bk-table-body.__is-empty {
1070
1127
  display: flex;
@@ -1117,8 +1174,8 @@
1117
1174
  .bk-table .bk-table-body table th .cell .drag-cell,
1118
1175
  .bk-table .bk-table-head table td .cell .drag-cell,
1119
1176
  .bk-table .bk-table-body table td .cell .drag-cell {
1120
- font-size: 14px;
1121
1177
  height: 100%;
1178
+ font-size: 14px;
1122
1179
  }
1123
1180
  .bk-table .bk-table-head table th .cell.has-sort,
1124
1181
  .bk-table .bk-table-body table th .cell.has-sort,
@@ -1243,7 +1300,7 @@
1243
1300
  .bk-table .bk-table-body table thead th .cell {
1244
1301
  display: flex;
1245
1302
  align-items: center;
1246
- height: calc(var(--row-height) - 1px);
1303
+ height: calc(var(--row-height) - 2px);
1247
1304
  color: #313238;
1248
1305
  }
1249
1306
  .bk-table .bk-table-head table thead th.active,
@@ -1260,28 +1317,27 @@
1260
1317
  .bk-table .bk-table-head table tbody tr td,
1261
1318
  .bk-table .bk-table-body table tbody tr td {
1262
1319
  background-color: #fff;
1320
+ border-top: 1px solid transparent;
1321
+ border-bottom: 1px solid transparent;
1322
+ border-right: 1px solid transparent;
1323
+ box-sizing: border-box;
1263
1324
  }
1264
1325
  .bk-table .bk-table-head table tbody tr td.empty-cell,
1265
1326
  .bk-table .bk-table-body table tbody tr td.empty-cell {
1266
1327
  padding-bottom: 30px;
1267
1328
  }
1268
- .bk-table .bk-table-head table tbody tr td.is-last,
1269
- .bk-table .bk-table-body table tbody tr td.is-last {
1270
- border-bottom: none;
1271
- }
1272
1329
  .bk-table .bk-table-head table tbody tr td .cell,
1273
1330
  .bk-table .bk-table-body table tbody tr td .cell {
1274
1331
  display: block;
1275
1332
  width: 100%;
1276
- height: 100%;
1277
- line-height: calc(var(--row-height) - 1px);
1333
+ line-height: calc(var(--row-height) - 2px);
1278
1334
  box-sizing: border-box;
1279
1335
  align-items: center;
1280
1336
  }
1281
1337
  .bk-table .bk-table-head table tbody tr td .cell.drag,
1282
1338
  .bk-table .bk-table-body table tbody tr td .cell.drag {
1283
- cursor: move;
1284
1339
  text-align: center;
1340
+ cursor: move;
1285
1341
  }
1286
1342
  .bk-table .bk-table-head table tbody tr:hover.hover-highlight td:not(.empty-cell),
1287
1343
  .bk-table .bk-table-body table tbody tr:hover.hover-highlight td:not(.empty-cell) {
@@ -1294,7 +1350,6 @@
1294
1350
  .bk-table .bk-table-head {
1295
1351
  position: relative;
1296
1352
  z-index: 2;
1297
- scrollbar-gutter: stable;
1298
1353
  overflow: hidden;
1299
1354
  background-color: var(--background-color);
1300
1355
  }
@@ -1337,6 +1392,7 @@
1337
1392
  width: 100%;
1338
1393
  height: var(--footer-height);
1339
1394
  align-items: center;
1395
+ padding: 0 16px 0 22px;
1340
1396
  }
1341
1397
  .bk-table .bk-table-footer.is-hidden {
1342
1398
  display: none;
@@ -1344,10 +1400,10 @@
1344
1400
  .bk-table.bordered-row .bk-table-head {
1345
1401
  border-bottom: 1px solid #dcdee5;
1346
1402
  }
1347
- .bk-table.bordered-row td {
1348
- border-bottom: 1px solid #dcdee5;
1403
+ .bk-table.bordered-row .bk-table-body tbody tr td {
1404
+ border-bottom-color: #dcdee5;
1349
1405
  }
1350
- .bk-table.bordered-row tr:last-child td {
1406
+ .bk-table.bordered-row .bk-table-body tbody tr:last-child td {
1351
1407
  border-bottom: none;
1352
1408
  }
1353
1409
  .bk-table.bordered-outer {
@@ -1368,14 +1424,18 @@
1368
1424
  .bk-table.bordered-horizontal .__is-empty .bk-table-body-content {
1369
1425
  border-bottom: 1px solid #dcdee5;
1370
1426
  }
1371
- .bk-table.bordered-col th,
1372
- .bk-table.bordered-col td {
1427
+ .bk-table.bordered-col th {
1373
1428
  border-right: 1px solid #dcdee5;
1374
1429
  }
1375
- .bk-table.bordered-col th:last-child,
1376
- .bk-table.bordered-col td:last-child {
1430
+ .bk-table.bordered-col th:last-child {
1377
1431
  border-right: none;
1378
1432
  }
1433
+ .bk-table.bordered-col .bk-table-body tbody tr td {
1434
+ border-right-color: #dcdee5;
1435
+ }
1436
+ .bk-table.bordered-col .bk-table-body tbody tr td:last-child {
1437
+ border-right-color: transparent;
1438
+ }
1379
1439
  .bk-table th,
1380
1440
  .bk-table td {
1381
1441
  border-right: 1px solid transparent;
@@ -157,6 +157,11 @@ declare const _default: import("vue").DefineComponent<{
157
157
  rowDraggable: import("vue-types").VueTypeDef<any> & {
158
158
  default: any;
159
159
  };
160
+ shiftMultiChecked: import("vue-types").VueTypeValidableDef<boolean> & {
161
+ default: boolean;
162
+ } & {
163
+ default: boolean;
164
+ };
160
165
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
161
166
  columnPick: (_cols: import("./props").IColumnActive[]) => boolean;
162
167
  columnFilter: (_args: {
@@ -398,6 +403,11 @@ declare const _default: import("vue").DefineComponent<{
398
403
  rowDraggable: import("vue-types").VueTypeDef<any> & {
399
404
  default: any;
400
405
  };
406
+ shiftMultiChecked: import("vue-types").VueTypeValidableDef<boolean> & {
407
+ default: boolean;
408
+ } & {
409
+ default: boolean;
410
+ };
401
411
  }>> & {
402
412
  onDragend?: (_args: {
403
413
  sourceEvent: DragEvent;
@@ -524,5 +534,6 @@ declare const _default: import("vue").DefineComponent<{
524
534
  prependStyle: import("vue").CSSProperties;
525
535
  isFlex: boolean;
526
536
  rowDraggable: any;
537
+ shiftMultiChecked: boolean;
527
538
  }, {}>;
528
539
  export default _default;
@@ -12,9 +12,9 @@
12
12
 
13
13
  .@{bk-prefix}-table {
14
14
  position: relative;
15
+ width: 100%;
15
16
  height: auto;
16
17
  overflow: hidden;
17
- width: 100%;
18
18
 
19
19
  &-flex {
20
20
  display: flex;
@@ -34,21 +34,9 @@
34
34
 
35
35
  .@{bk-prefix}-table-body {
36
36
  position: relative;
37
- overflow: auto;
38
- scrollbar-gutter: stable;
37
+ overflow: hidden;
39
38
  border-bottom: 1px solid @table-border-color;
40
39
 
41
- &::-webkit-scrollbar {
42
- width: 5px;
43
- height: 6px;
44
- }
45
-
46
- &::-webkit-scrollbar-thumb {
47
- background: #dcdee5;
48
- border-radius: 10px;
49
- box-shadow: inset 0 0 6px rgba(204, 204, 204, .3);
50
- }
51
-
52
40
  .prepend-row {
53
41
  transform: translateX(var(--prepend-left));
54
42
  }
@@ -93,17 +81,6 @@
93
81
  background: @table-bg-color;
94
82
  transform: translateZ(0);
95
83
 
96
- &::-webkit-scrollbar {
97
- width: 5px;
98
- height: 5px;
99
- }
100
-
101
- &::-webkit-scrollbar-thumb {
102
- background: #ddd;
103
- border-radius: 20px;
104
- box-shadow: inset 0 0 6px rgba(204, 204, 204, .3);
105
- }
106
-
107
84
  &.__is-empty {
108
85
  display: flex;
109
86
  height: 100%;
@@ -148,8 +125,8 @@
148
125
  white-space: nowrap;
149
126
 
150
127
  .drag-cell {
151
- font-size: 14px;
152
128
  height: 100%;
129
+ font-size: 14px;
153
130
  }
154
131
 
155
132
  &.has-sort {
@@ -259,7 +236,7 @@
259
236
  .cell {
260
237
  display: flex;
261
238
  align-items: center;
262
- height: calc(var(--row-height) - 1px);
239
+ height: calc(var(--row-height) - 2px);
263
240
  color: @table-head-font-color;
264
241
  }
265
242
 
@@ -279,26 +256,31 @@
279
256
  tr {
280
257
  td {
281
258
  background-color: #fff;
259
+ border-top: 1px solid transparent;
260
+ border-bottom: 1px solid transparent;
261
+ border-right: 1px solid transparent;
262
+
263
+ box-sizing: border-box;
282
264
 
283
265
  &.empty-cell {
284
266
  padding-bottom: 30px;
285
267
  }
286
268
 
287
269
  &.is-last {
288
- border-bottom: none;
270
+ // border-bottom: none;
289
271
  }
290
272
 
291
273
  .cell {
292
274
  display: block;
293
275
  width: 100%;
294
- height: 100%;
295
- line-height: calc(var(--row-height) - 1px);
276
+ // height: 100%;
277
+ line-height: calc(var(--row-height) - 2px);
296
278
  box-sizing: border-box;
297
279
  align-items: center;
298
280
 
299
281
  &.drag {
300
- cursor: move;
301
282
  text-align: center;
283
+ cursor: move;
302
284
  }
303
285
  }
304
286
  }
@@ -313,18 +295,7 @@
313
295
  }
314
296
  }
315
297
 
316
- // &.--drag-enter {
317
- // &.--bottom {
318
- // border-bottom: solid 1px #3785ff;
319
- // }
320
-
321
- // &.--top {
322
- // border-top: solid 1px #3785ff;
323
- // }
324
- // }
325
-
326
298
  &.--drag-start {
327
-
328
299
  td {
329
300
  background: #fff!important;
330
301
  }
@@ -337,7 +308,6 @@
337
308
  .@{bk-prefix}-table-head {
338
309
  position: relative;
339
310
  z-index: 2;
340
- scrollbar-gutter: stable;
341
311
  overflow: hidden;
342
312
  background-color: var(--background-color);
343
313
 
@@ -368,11 +338,8 @@
368
338
  cursor: pointer;
369
339
 
370
340
  background: @table-head-bg-color;
371
- //border-right: 1px solid @table-border-color;
372
- // border-bottom: 1px solid @table-border-color;
373
341
  border-left: 1px solid @table-border-color;
374
342
  border-radius: 0 2px 0 0;
375
- // transform: translateX(var(--scroll-left));
376
343
  justify-content: center;
377
344
  align-items: center;
378
345
 
@@ -389,6 +356,7 @@
389
356
  width: 100%;
390
357
  height: var(--footer-height);
391
358
  align-items: center;
359
+ padding: 0 16px 0 22px;
392
360
 
393
361
  &.is-hidden {
394
362
  display: none;
@@ -400,14 +368,18 @@
400
368
  border-bottom: 1px solid @table-border-color;
401
369
  }
402
370
 
403
- td {
404
- border-bottom: 1px solid @table-border-color;
405
- }
371
+ .bk-table-body {
372
+ tbody {
373
+ tr {
374
+ td {
375
+ border-bottom-color: @table-border-color;
376
+ }
406
377
 
407
- tr {
408
- &:last-child {
409
- td {
410
- border-bottom: none;
378
+ &:last-child {
379
+ td {
380
+ border-bottom: none;
381
+ }
382
+ }
411
383
  }
412
384
  }
413
385
  }
@@ -442,8 +414,7 @@
442
414
  }
443
415
 
444
416
  &.bordered-col {
445
- th,
446
- td {
417
+ th {
447
418
  border-right: 1px solid @table-border-color;
448
419
 
449
420
  &:last-child {
@@ -451,9 +422,24 @@
451
422
  }
452
423
  }
453
424
 
425
+ .bk-table-body {
426
+ tbody {
427
+ tr {
428
+ td {
429
+ border-right-color: @table-border-color;
430
+
431
+ &:last-child {
432
+ border-right-color: transparent;
433
+ }
434
+ }
435
+ }
436
+ }
437
+ }
438
+
454
439
  }
455
440
 
456
- th, td {
441
+ th,
442
+ td {
457
443
  border-right: 1px solid transparent;
458
444
  }
459
445
 
@@ -473,7 +459,6 @@
473
459
  right: 0;
474
460
  bottom: var(--footer-height);
475
461
  left: 0;
476
- // height: var(--fix-height);
477
462
  pointer-events: none;
478
463
 
479
464
  .column_fixed {
@@ -532,4 +517,4 @@
532
517
  .stripe-row {
533
518
  background: #fafbfd;
534
519
  }
535
- }
520
+ }