bkui-vue 2.0.1-beta.7 → 2.0.1-beta.70.search.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 (153) hide show
  1. package/dist/index.cjs.js +71 -71
  2. package/dist/index.esm.js +19703 -20587
  3. package/dist/index.umd.js +71 -71
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/cascader/cascader.css +3 -3
  7. package/lib/cascader/cascader.less +3 -3
  8. package/lib/cascader/cascader.variable.css +3 -3
  9. package/lib/cascader/index.js +4 -4
  10. package/lib/collapse/collapse.css +0 -11
  11. package/lib/collapse/collapse.d.ts +0 -11
  12. package/lib/collapse/collapse.less +1 -15
  13. package/lib/collapse/collapse.variable.css +0 -11
  14. package/lib/collapse/index.d.ts +0 -23
  15. package/lib/collapse/index.js +1 -9
  16. package/lib/collapse/props.d.ts +0 -8
  17. package/lib/color-picker/color-picker.css +3 -3
  18. package/lib/color-picker/color-picker.less +3 -3
  19. package/lib/color-picker/color-picker.variable.css +3 -3
  20. package/lib/color-picker/index.js +1 -1
  21. package/lib/components.d.ts +0 -1
  22. package/lib/components.js +0 -1
  23. package/lib/date-picker/base/year-table.d.ts +2 -2
  24. package/lib/date-picker/index.js +36 -111
  25. package/lib/date-picker/interface.d.ts +1 -1
  26. package/lib/date-picker/panel/date-range.d.ts +63 -1
  27. package/lib/date-picker/utils.d.ts +0 -4
  28. package/lib/dialog/dialog.css +84 -135
  29. package/lib/dialog/dialog.d.ts +132 -38
  30. package/lib/dialog/dialog.less +76 -9
  31. package/lib/dialog/dialog.variable.css +84 -135
  32. package/lib/dialog/index.d.ts +311 -96
  33. package/lib/dialog/index.js +221 -197
  34. package/lib/dialog/props.d.ts +47 -10
  35. package/lib/info-box/index.d.ts +2 -2
  36. package/lib/info-box/index.js +173 -328
  37. package/lib/info-box/info-box.css +7 -63
  38. package/lib/info-box/info-box.d.ts +16 -18
  39. package/lib/info-box/info-box.less +14 -76
  40. package/lib/info-box/info-box.variable.css +7 -63
  41. package/lib/input/index.js +1 -2
  42. package/lib/modal/hooks.d.ts +1 -1
  43. package/lib/modal/index.d.ts +345 -29
  44. package/lib/modal/index.js +703 -218
  45. package/lib/modal/modal.css +32 -131
  46. package/lib/modal/modal.d.ts +132 -11
  47. package/lib/modal/modal.less +29 -83
  48. package/lib/modal/modal.variable.css +32 -131
  49. package/lib/modal/props.mixin.d.ts +52 -4
  50. package/lib/overflow-title/index.js +52 -46
  51. package/lib/radio/index.d.ts +0 -29
  52. package/lib/radio/index.js +16 -34
  53. package/lib/radio/radio-button.d.ts +0 -10
  54. package/lib/radio/radio-group.d.ts +0 -10
  55. package/lib/radio/radio.d.ts +0 -10
  56. package/lib/rate/rate.css +0 -27
  57. package/lib/rate/rate.less +0 -33
  58. package/lib/rate/rate.variable.css +0 -27
  59. package/lib/rate/star.css +27 -0
  60. package/lib/rate/star.less +34 -0
  61. package/lib/{scrollbar/scrollbar.variable.css → rate/star.variable.css} +19 -67
  62. package/lib/search-select/index.d.ts +58 -78
  63. package/lib/search-select/index.js +311 -211
  64. package/lib/search-select/input.d.ts +6 -5
  65. package/lib/search-select/menu.d.ts +1 -1
  66. package/lib/search-select/search-select.d.ts +19 -43
  67. package/lib/search-select/selected.d.ts +12 -10
  68. package/lib/search-select/utils.d.ts +6 -6
  69. package/lib/select/index.d.ts +19 -0
  70. package/lib/select/index.js +21 -8
  71. package/lib/select/select.css +2 -1
  72. package/lib/select/select.d.ts +9 -0
  73. package/lib/select/select.less +2 -1
  74. package/lib/select/select.variable.css +2 -1
  75. package/lib/shared/index.d.ts +1 -0
  76. package/lib/shared/index.js +48 -4
  77. package/lib/shared/mask.d.ts +11 -0
  78. package/lib/sideslider/index.d.ts +218 -42
  79. package/lib/sideslider/index.js +40 -65
  80. package/lib/sideslider/sideslider.css +86 -17
  81. package/lib/sideslider/sideslider.d.ts +104 -20
  82. package/lib/sideslider/sideslider.less +107 -27
  83. package/lib/sideslider/sideslider.variable.css +86 -17
  84. package/lib/slider/index.d.ts +0 -19
  85. package/lib/slider/index.js +5 -45
  86. package/lib/slider/slider.css +0 -14
  87. package/lib/slider/slider.d.ts +0 -9
  88. package/lib/slider/slider.less +0 -15
  89. package/lib/slider/slider.variable.css +0 -14
  90. package/lib/styles/index.d.ts +1 -0
  91. package/lib/table/components/table-cell.d.ts +2 -3
  92. package/lib/table/components/table-column.d.ts +119 -3
  93. package/lib/table/const.d.ts +4 -4
  94. package/lib/table/index.d.ts +107 -26
  95. package/lib/table/index.js +578 -17818
  96. package/lib/table/plugins/head-filter.css +4 -8
  97. package/lib/table/plugins/head-filter.less +3 -6
  98. package/lib/table/plugins/head-filter.variable.css +4 -8
  99. package/lib/table/plugins/use-active-columns.d.ts +2 -2
  100. package/lib/table/plugins/use-fixed-column.d.ts +1 -1
  101. package/lib/table/plugins/use-pagination.d.ts +1 -3
  102. package/lib/table/props.d.ts +4 -12
  103. package/lib/table/table.css +46 -106
  104. package/lib/table/table.d.ts +0 -11
  105. package/lib/table/table.less +58 -43
  106. package/lib/table/table.variable.css +46 -106
  107. package/lib/table/use-attributes.d.ts +1 -2
  108. package/lib/table/use-column.d.ts +10 -9
  109. package/lib/table/use-common.d.ts +1 -1
  110. package/lib/table/use-render.d.ts +1 -1
  111. package/lib/table-column/index.d.ts +299 -9
  112. package/lib/table-column/index.js +283 -25
  113. package/lib/transfer/index.js +14 -16
  114. package/lib/transfer/transfer.css +9 -9
  115. package/lib/transfer/transfer.less +3 -3
  116. package/lib/transfer/transfer.variable.css +9 -9
  117. package/lib/tree/constant.d.ts +1 -3
  118. package/lib/tree/index.d.ts +0 -44
  119. package/lib/tree/index.js +35 -17554
  120. package/lib/tree/props.d.ts +0 -18
  121. package/lib/tree/tree.css +2 -76
  122. package/lib/tree/tree.d.ts +2 -28
  123. package/lib/tree/tree.less +1 -1
  124. package/lib/tree/tree.variable.css +2 -76
  125. package/lib/tree/use-node-attribute.d.ts +0 -9
  126. package/lib/tree/util.d.ts +1 -1
  127. package/lib/upload/index.js +9 -16
  128. package/lib/upload/upload.type.d.ts +1 -1
  129. package/lib/virtual-render/index.d.ts +0 -27
  130. package/lib/virtual-render/index.js +80 -295
  131. package/lib/virtual-render/props.d.ts +0 -16
  132. package/lib/virtual-render/use-fix-top.d.ts +7 -2
  133. package/lib/virtual-render/v-virtual-render.d.ts +1 -2
  134. package/lib/virtual-render/virtual-render.css +2 -76
  135. package/lib/virtual-render/virtual-render.d.ts +0 -13
  136. package/lib/virtual-render/virtual-render.less +3 -3
  137. package/lib/virtual-render/virtual-render.variable.css +2 -76
  138. package/package.json +1 -1
  139. package/lib/info-box/render-component.d.ts +0 -4
  140. package/lib/modal/mask.d.ts +0 -6
  141. package/lib/scrollbar/index.d.ts +0 -15
  142. package/lib/scrollbar/index.js +0 -18763
  143. package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +0 -2
  144. package/lib/scrollbar/scrollbar-core/helpers.d.ts +0 -5
  145. package/lib/scrollbar/scrollbar-core/index.d.ts +0 -241
  146. package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +0 -5
  147. package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +0 -1
  148. package/lib/scrollbar/scrollbar.css +0 -75
  149. package/lib/scrollbar/scrollbar.less +0 -94
  150. package/lib/table/plugins/use-column-template.d.ts +0 -7
  151. package/lib/table/plugins/use-shift-key.d.ts +0 -13
  152. package/lib/tree/use-intersection-observer.d.ts +0 -27
  153. package/lib/virtual-render/use-scrollbar.d.ts +0 -24
@@ -144,85 +144,11 @@
144
144
  .bk-F-scroll-y::-webkit-scrollbar-thumb {
145
145
  border-radius: 4px;
146
146
  }
147
- .bk-scrollbar-wrapper {
148
- position: relative;
149
- overflow: hidden;
150
- }
151
- .bk-scrollbar-wrapper .bk-scrollbar-content-el {
152
- display: inline-flex;
153
- flex-direction: column;
154
- width: 100%;
155
- }
156
- .bk-scrollbar-wrapper .bk-scrollbar-track {
157
- z-index: 1;
158
- position: absolute;
159
- right: 0;
160
- bottom: 0;
161
- pointer-events: none;
162
- overflow: hidden;
163
- }
164
- .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-hover {
165
- background-color: #F0F1F5;
166
- cursor: pointer;
167
- }
168
- .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-hover .bk-scrollbar::before {
169
- background-color: #979BA5;
170
- }
171
- .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-vertical {
172
- top: 0;
173
- width: 8px;
174
- transform: translate(var(--scroll-offset-x), var(--scroll-offset-y));
175
- }
176
- .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-horizontal {
177
- left: 0;
178
- height: 8px;
179
- transform: translate(var(--scroll-offset-x), var(--scroll-offset-y));
180
- }
181
- .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-horizontal.bk-scrollbar {
182
- right: auto;
183
- left: 0;
184
- top: 0;
185
- bottom: 0;
186
- min-height: 0;
187
- min-width: 8px;
188
- width: auto;
189
- }
190
- .bk-scrollbar-wrapper .bk-scrollbar-dragging {
191
- pointer-events: none;
192
- -webkit-touch-callout: none;
193
- -webkit-user-select: none;
194
- -khtml-user-select: none;
195
- -moz-user-select: none;
196
- -ms-user-select: none;
197
- user-select: none;
198
- }
199
- .bk-scrollbar-wrapper .bk-scrollbar {
200
- position: absolute;
201
- left: 0;
202
- right: 0;
203
- min-height: 8px;
204
- }
205
- .bk-scrollbar-wrapper .bk-scrollbar::before {
206
- position: absolute;
207
- content: '';
208
- background: #DCDEE5;
209
- border-radius: 6px;
210
- left: 1px;
211
- right: 1px;
212
- top: 1px;
213
- bottom: 1px;
214
- opacity: 0;
215
- transition: opacity 0.2s 0.9s linear;
216
- }
217
- .bk-scrollbar-wrapper .bk-scrollbar.bk-scrollbar-visible::before {
218
- opacity: 0.9;
219
- transition-delay: 0s;
220
- transition-duration: 0s;
221
- }
222
147
  .bk-virtual-render {
223
148
  position: relative;
224
149
  }
225
- .bk-virtual-render .bk-virtual-content {
150
+ .bk-virtual-render .bk-virtual-content,
151
+ .bk-virtual-render.bk-virtual-content {
226
152
  position: absolute;
227
153
  top: 0;
228
154
  bottom: 0;
@@ -994,6 +920,10 @@
994
920
  max-width: 300px;
995
921
  min-width: 200px;
996
922
  }
923
+ .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items {
924
+ max-height: 200px;
925
+ min-height: 40px;
926
+ }
997
927
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item {
998
928
  width: 100%;
999
929
  height: 32px;
@@ -1006,19 +936,11 @@
1006
936
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item:hover {
1007
937
  background: #f0f1f5;
1008
938
  }
1009
- .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item label {
1010
- text-overflow: ellipsis;
1011
- white-space: nowrap;
1012
- overflow: hidden;
1013
- width: 100%;
1014
- }
1015
939
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item label:hover {
1016
940
  background: #f0f1f5;
1017
941
  }
1018
942
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item .bk-checkbox-label {
1019
943
  white-space: nowrap;
1020
- text-overflow: ellipsis;
1021
- overflow: hidden;
1022
944
  }
1023
945
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item .bk-checkbox {
1024
946
  margin-left: 0;
@@ -1204,9 +1126,9 @@
1204
1126
  }
1205
1127
  .bk-table {
1206
1128
  position: relative;
1207
- width: 100%;
1208
1129
  height: auto;
1209
1130
  overflow: hidden;
1131
+ width: 100%;
1210
1132
  }
1211
1133
  .bk-table-flex {
1212
1134
  display: flex;
@@ -1222,9 +1144,19 @@
1222
1144
  }
1223
1145
  .bk-table .bk-table-body {
1224
1146
  position: relative;
1225
- overflow: hidden;
1147
+ overflow: auto;
1148
+ scrollbar-gutter: stable;
1226
1149
  border-bottom: 1px solid #dcdee5;
1227
1150
  }
1151
+ .bk-table .bk-table-body::-webkit-scrollbar {
1152
+ width: 5px;
1153
+ height: 6px;
1154
+ }
1155
+ .bk-table .bk-table-body::-webkit-scrollbar-thumb {
1156
+ background: #dcdee5;
1157
+ border-radius: 10px;
1158
+ box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
1159
+ }
1228
1160
  .bk-table .bk-table-body .prepend-row {
1229
1161
  transform: translateX(var(--prepend-left));
1230
1162
  }
@@ -1251,6 +1183,17 @@
1251
1183
  background: white;
1252
1184
  transform: translateZ(0);
1253
1185
  }
1186
+ .bk-table .bk-table-head::-webkit-scrollbar,
1187
+ .bk-table .bk-table-body::-webkit-scrollbar {
1188
+ width: 5px;
1189
+ height: 5px;
1190
+ }
1191
+ .bk-table .bk-table-head::-webkit-scrollbar-thumb,
1192
+ .bk-table .bk-table-body::-webkit-scrollbar-thumb {
1193
+ background: #ddd;
1194
+ border-radius: 20px;
1195
+ box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
1196
+ }
1254
1197
  .bk-table .bk-table-head.__is-empty,
1255
1198
  .bk-table .bk-table-body.__is-empty {
1256
1199
  display: flex;
@@ -1303,8 +1246,8 @@
1303
1246
  .bk-table .bk-table-body table th .cell .drag-cell,
1304
1247
  .bk-table .bk-table-head table td .cell .drag-cell,
1305
1248
  .bk-table .bk-table-body table td .cell .drag-cell {
1306
- height: 100%;
1307
1249
  font-size: 14px;
1250
+ height: 100%;
1308
1251
  }
1309
1252
  .bk-table .bk-table-head table th .cell.has-sort,
1310
1253
  .bk-table .bk-table-body table th .cell.has-sort,
@@ -1429,7 +1372,7 @@
1429
1372
  .bk-table .bk-table-body table thead th .cell {
1430
1373
  display: flex;
1431
1374
  align-items: center;
1432
- height: calc(var(--row-height) - 2px);
1375
+ height: calc(var(--row-height) - 1px);
1433
1376
  color: #313238;
1434
1377
  }
1435
1378
  .bk-table .bk-table-head table thead th.active,
@@ -1446,27 +1389,28 @@
1446
1389
  .bk-table .bk-table-head table tbody tr td,
1447
1390
  .bk-table .bk-table-body table tbody tr td {
1448
1391
  background-color: #fff;
1449
- border-top: 1px solid transparent;
1450
- border-bottom: 1px solid transparent;
1451
- border-right: 1px solid transparent;
1452
- box-sizing: border-box;
1453
1392
  }
1454
1393
  .bk-table .bk-table-head table tbody tr td.empty-cell,
1455
1394
  .bk-table .bk-table-body table tbody tr td.empty-cell {
1456
1395
  padding-bottom: 30px;
1457
1396
  }
1397
+ .bk-table .bk-table-head table tbody tr td.is-last,
1398
+ .bk-table .bk-table-body table tbody tr td.is-last {
1399
+ border-bottom: none;
1400
+ }
1458
1401
  .bk-table .bk-table-head table tbody tr td .cell,
1459
1402
  .bk-table .bk-table-body table tbody tr td .cell {
1460
1403
  display: block;
1461
1404
  width: 100%;
1462
- line-height: calc(var(--row-height) - 2px);
1405
+ height: 100%;
1406
+ line-height: calc(var(--row-height) - 1px);
1463
1407
  box-sizing: border-box;
1464
1408
  align-items: center;
1465
1409
  }
1466
1410
  .bk-table .bk-table-head table tbody tr td .cell.drag,
1467
1411
  .bk-table .bk-table-body table tbody tr td .cell.drag {
1468
- text-align: center;
1469
1412
  cursor: move;
1413
+ text-align: center;
1470
1414
  }
1471
1415
  .bk-table .bk-table-head table tbody tr:hover.hover-highlight td:not(.empty-cell),
1472
1416
  .bk-table .bk-table-body table tbody tr:hover.hover-highlight td:not(.empty-cell) {
@@ -1479,6 +1423,7 @@
1479
1423
  .bk-table .bk-table-head {
1480
1424
  position: relative;
1481
1425
  z-index: 2;
1426
+ scrollbar-gutter: stable;
1482
1427
  overflow: hidden;
1483
1428
  background-color: var(--background-color);
1484
1429
  }
@@ -1521,7 +1466,6 @@
1521
1466
  width: 100%;
1522
1467
  height: var(--footer-height);
1523
1468
  align-items: center;
1524
- padding: 0 16px 0 22px;
1525
1469
  }
1526
1470
  .bk-table .bk-table-footer.is-hidden {
1527
1471
  display: none;
@@ -1529,10 +1473,10 @@
1529
1473
  .bk-table.bordered-row .bk-table-head {
1530
1474
  border-bottom: 1px solid #dcdee5;
1531
1475
  }
1532
- .bk-table.bordered-row .bk-table-body tbody tr td {
1533
- border-bottom-color: #dcdee5;
1476
+ .bk-table.bordered-row td {
1477
+ border-bottom: 1px solid #dcdee5;
1534
1478
  }
1535
- .bk-table.bordered-row .bk-table-body tbody tr:last-child td {
1479
+ .bk-table.bordered-row tr:last-child td {
1536
1480
  border-bottom: none;
1537
1481
  }
1538
1482
  .bk-table.bordered-outer {
@@ -1553,18 +1497,14 @@
1553
1497
  .bk-table.bordered-horizontal .__is-empty .bk-table-body-content {
1554
1498
  border-bottom: 1px solid #dcdee5;
1555
1499
  }
1556
- .bk-table.bordered-col th {
1500
+ .bk-table.bordered-col th,
1501
+ .bk-table.bordered-col td {
1557
1502
  border-right: 1px solid #dcdee5;
1558
1503
  }
1559
- .bk-table.bordered-col th:last-child {
1504
+ .bk-table.bordered-col th:last-child,
1505
+ .bk-table.bordered-col td:last-child {
1560
1506
  border-right: none;
1561
1507
  }
1562
- .bk-table.bordered-col .bk-table-body tbody tr td {
1563
- border-right-color: #dcdee5;
1564
- }
1565
- .bk-table.bordered-col .bk-table-body tbody tr td:last-child {
1566
- border-right-color: transparent;
1567
- }
1568
1508
  .bk-table th,
1569
1509
  .bk-table td {
1570
1510
  border-right: 1px solid transparent;
@@ -21,7 +21,7 @@ export type ITableFormatData = {
21
21
  declare const tableSchemaResponse: (props: TablePropTypes) => {
22
22
  formatColumns: (columns: Column[]) => void;
23
23
  formatDataSchema: (data: any[]) => void;
24
- setRowSelection: (row: any, isSelected: boolean, index?: number) => void;
24
+ setRowSelection: (row: any, isSelected: boolean) => void;
25
25
  setRowExpand: (row: any, isExpand: boolean) => void;
26
26
  setRowIndex: (row: any, index: number) => void;
27
27
  setColumnAttribute: (col: Column, attrName: string, attrValue: string | number | boolean | ((...args: any[]) => boolean | number | void | string)) => void;
@@ -56,7 +56,6 @@ declare const tableSchemaResponse: (props: TablePropTypes) => {
56
56
  localPagination: import("vue").Ref<any>;
57
57
  formatData: ITableFormatData;
58
58
  setIndexData: () => Promise<void>;
59
- getFilterFnList: () => any[];
60
59
  };
61
60
  export type ITableResponse = ReturnType<typeof tableSchemaResponse>;
62
61
  export default tableSchemaResponse;
@@ -1,12 +1,13 @@
1
+ import { ITableColumn } from './components/table-column';
1
2
  import { SORT_OPTION } from './const';
2
- import { TablePropTypes } from './props';
3
+ import { Column, TablePropTypes } from './props';
3
4
  /**
4
5
  * 渲染column settings
5
6
  * @param props: TablePropTypes
6
7
  * @param targetColumns 解析之后的column配置(主要用来处理通过<bk-column>配置的数据结构)
7
8
  */
8
- declare const _default: (props: TablePropTypes) => {
9
- initColumns: (tableInstance: any) => void;
9
+ declare const _default: (props: TablePropTypes, targetColumns: ITableColumn[]) => {
10
+ initColumns: (column: ITableColumn[], remove?: boolean) => void;
10
11
  getColumns: () => {
11
12
  label: import("./props").LabelFunctionString;
12
13
  field?: import("./props").LabelFunctionString;
@@ -16,8 +17,8 @@ declare const _default: (props: TablePropTypes) => {
16
17
  minWidth?: string | number;
17
18
  columnKey?: string;
18
19
  showOverflowTooltip?: boolean | {
19
- content: string | ((col: import("./props").Column, row: any) => string);
20
- disabled?: boolean | ((col: import("./props").Column, row: any) => boolean);
20
+ content: string | Function;
21
+ disabled?: (col: Column, row: any) => boolean;
21
22
  watchCellResize?: boolean;
22
23
  mode?: "auto" | "static";
23
24
  popoverOption?: any;
@@ -104,8 +105,8 @@ declare const _default: (props: TablePropTypes) => {
104
105
  minWidth?: string | number;
105
106
  columnKey?: string;
106
107
  showOverflowTooltip?: boolean | {
107
- content: string | ((col: import("./props").Column, row: any) => string);
108
- disabled?: boolean | ((col: import("./props").Column, row: any) => boolean);
108
+ content: string | Function;
109
+ disabled?: (col: Column, row: any) => boolean;
109
110
  watchCellResize?: boolean;
110
111
  mode?: "auto" | "static";
111
112
  popoverOption?: any;
@@ -192,8 +193,8 @@ declare const _default: (props: TablePropTypes) => {
192
193
  minWidth?: string | number;
193
194
  columnKey?: string;
194
195
  showOverflowTooltip?: boolean | {
195
- content: string | ((col: import("./props").Column, row: any) => string);
196
- disabled?: boolean | ((col: import("./props").Column, row: any) => boolean);
196
+ content: string | Function;
197
+ disabled?: (col: Column, row: any) => boolean;
197
198
  watchCellResize?: boolean;
198
199
  mode?: "auto" | "static";
199
200
  popoverOption?: any;
@@ -9,7 +9,7 @@ import { ITableResponse } from './use-attributes';
9
9
  * @param TableSchema 组件内部定义的响应式对象
10
10
  * @param pageData 当前页数据
11
11
  */
12
- export declare const useClass: (props: TablePropTypes, _targetColumns: ITableColumn[], root?: any, TableSchema?: ITableResponse, pageData?: any[]) => {
12
+ export declare const useClass: (props: TablePropTypes, targetColumns: ITableColumn[], root?: any, TableSchema?: ITableResponse, pageData?: any[]) => {
13
13
  tableClass: import("vue").ComputedRef<string>;
14
14
  headClass: string;
15
15
  contentClass: {
@@ -1,7 +1,7 @@
1
1
  import { SetupContext } from 'vue';
2
2
  import { TablePropTypes } from './props';
3
3
  import { ITableResponse } from './use-attributes';
4
- declare const _default: (props: TablePropTypes, context: SetupContext<any>, tableResp: ITableResponse, head: any, root: any, resetTableHeight: any) => {
4
+ declare const _default: (props: TablePropTypes, context: SetupContext<any>, tableResp: ITableResponse, styleRef: any, head: any, root: any, resetTableHeight: any) => {
5
5
  renderTableHeadSchema: () => (string | JSX.Element)[];
6
6
  renderTableBodySchema: (rows: any[]) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
7
7
  [key: string]: any;