bkui-vue 1.0.3-beta.68.dialog.2 → 1.0.3-beta.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +70 -70
- package/dist/index.esm.js +17761 -18712
- package/dist/index.umd.js +67 -67
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/components.d.ts +0 -1
- package/lib/components.js +0 -1
- package/lib/dialog/dialog.css +84 -139
- package/lib/dialog/dialog.d.ts +133 -32
- package/lib/dialog/dialog.less +76 -9
- package/lib/dialog/dialog.variable.css +84 -139
- package/lib/dialog/index.d.ts +314 -84
- package/lib/dialog/index.js +221 -197
- package/lib/dialog/props.d.ts +48 -8
- package/lib/info-box/index.d.ts +2 -2
- package/lib/info-box/index.js +173 -328
- package/lib/info-box/info-box.css +7 -63
- package/lib/info-box/info-box.d.ts +16 -18
- package/lib/info-box/info-box.less +14 -76
- package/lib/info-box/info-box.variable.css +7 -63
- package/lib/input/index.js +1 -2
- package/lib/modal/hooks.d.ts +1 -1
- package/lib/modal/index.d.ts +350 -16
- package/lib/modal/index.js +704 -218
- package/lib/modal/modal.css +32 -135
- package/lib/modal/modal.d.ts +134 -6
- package/lib/modal/modal.less +29 -88
- package/lib/modal/modal.variable.css +32 -135
- package/lib/modal/props.mixin.d.ts +53 -2
- package/lib/overflow-title/index.js +52 -46
- package/lib/pop-confirm/index.js +8 -5
- package/lib/radio/index.d.ts +0 -15
- package/lib/radio/index.js +13 -21
- package/lib/radio/radio.d.ts +0 -10
- package/lib/shared/index.d.ts +1 -0
- package/lib/shared/index.js +48 -1
- package/lib/shared/mask.d.ts +11 -0
- package/lib/sideslider/index.d.ts +222 -31
- package/lib/sideslider/index.js +41 -65
- package/lib/sideslider/sideslider.css +86 -17
- package/lib/sideslider/sideslider.d.ts +105 -14
- package/lib/sideslider/sideslider.less +107 -27
- package/lib/sideslider/sideslider.variable.css +86 -17
- package/lib/slider/index.d.ts +0 -19
- package/lib/slider/index.js +5 -45
- package/lib/slider/slider.css +0 -14
- package/lib/slider/slider.d.ts +0 -9
- package/lib/slider/slider.less +0 -15
- package/lib/slider/slider.variable.css +0 -14
- package/lib/table/components/table-cell.d.ts +2 -3
- package/lib/table/components/table-column.d.ts +2 -2
- package/lib/table/const.d.ts +1 -1
- package/lib/table/index.d.ts +2 -25
- package/lib/table/index.js +85 -237
- package/lib/table/plugins/head-filter.css +4 -8
- package/lib/table/plugins/head-filter.less +3 -6
- package/lib/table/plugins/head-filter.variable.css +4 -8
- package/lib/table/plugins/use-fixed-column.d.ts +1 -1
- package/lib/table/plugins/use-pagination.d.ts +1 -3
- package/lib/table/props.d.ts +3 -11
- package/lib/table/table.css +46 -106
- package/lib/table/table.d.ts +0 -11
- package/lib/table/table.less +58 -43
- package/lib/table/table.variable.css +46 -106
- package/lib/table/use-attributes.d.ts +1 -2
- package/lib/table/use-column.d.ts +6 -6
- package/lib/table/use-render.d.ts +1 -1
- package/lib/table-column/index.d.ts +6 -6
- package/lib/table-column/index.js +2 -6
- package/lib/tree/constant.d.ts +1 -3
- package/lib/tree/index.d.ts +0 -44
- package/lib/tree/index.js +25 -17548
- package/lib/tree/props.d.ts +0 -18
- package/lib/tree/tree.css +2 -76
- package/lib/tree/tree.d.ts +2 -28
- package/lib/tree/tree.variable.css +2 -76
- package/lib/tree/use-node-attribute.d.ts +0 -9
- package/lib/virtual-render/index.d.ts +0 -27
- package/lib/virtual-render/index.js +80 -295
- package/lib/virtual-render/props.d.ts +0 -16
- package/lib/virtual-render/use-fix-top.d.ts +7 -2
- package/lib/virtual-render/v-virtual-render.d.ts +1 -2
- package/lib/virtual-render/virtual-render.css +2 -76
- package/lib/virtual-render/virtual-render.d.ts +0 -13
- package/lib/virtual-render/virtual-render.less +3 -3
- package/lib/virtual-render/virtual-render.variable.css +2 -76
- package/package.json +1 -1
- package/lib/info-box/render-component.d.ts +0 -4
- package/lib/modal/mask.d.ts +0 -6
- package/lib/scrollbar/index.d.ts +0 -15
- package/lib/scrollbar/index.js +0 -18763
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +0 -2
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/index.d.ts +0 -241
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +0 -1
- package/lib/scrollbar/scrollbar.css +0 -75
- package/lib/scrollbar/scrollbar.less +0 -94
- package/lib/scrollbar/scrollbar.variable.css +0 -204
- package/lib/table/plugins/use-shift-key.d.ts +0 -11
- package/lib/tree/use-intersection-observer.d.ts +0 -27
- 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:
|
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) -
|
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
|
-
|
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
|
1533
|
-
border-bottom
|
1476
|
+
.bk-table.bordered-row td {
|
1477
|
+
border-bottom: 1px solid #dcdee5;
|
1534
1478
|
}
|
1535
|
-
.bk-table.bordered-row
|
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
|
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;
|
@@ -17,8 +17,8 @@ declare const _default: (props: TablePropTypes, targetColumns: ITableColumn[]) =
|
|
17
17
|
minWidth?: string | number;
|
18
18
|
columnKey?: string;
|
19
19
|
showOverflowTooltip?: boolean | {
|
20
|
-
content: string |
|
21
|
-
disabled?:
|
20
|
+
content: string | Function;
|
21
|
+
disabled?: (col: Column, row: any) => boolean;
|
22
22
|
watchCellResize?: boolean;
|
23
23
|
mode?: "auto" | "static";
|
24
24
|
popoverOption?: any;
|
@@ -105,8 +105,8 @@ declare const _default: (props: TablePropTypes, targetColumns: ITableColumn[]) =
|
|
105
105
|
minWidth?: string | number;
|
106
106
|
columnKey?: string;
|
107
107
|
showOverflowTooltip?: boolean | {
|
108
|
-
content: string |
|
109
|
-
disabled?:
|
108
|
+
content: string | Function;
|
109
|
+
disabled?: (col: Column, row: any) => boolean;
|
110
110
|
watchCellResize?: boolean;
|
111
111
|
mode?: "auto" | "static";
|
112
112
|
popoverOption?: any;
|
@@ -193,8 +193,8 @@ declare const _default: (props: TablePropTypes, targetColumns: ITableColumn[]) =
|
|
193
193
|
minWidth?: string | number;
|
194
194
|
columnKey?: string;
|
195
195
|
showOverflowTooltip?: boolean | {
|
196
|
-
content: string |
|
197
|
-
disabled?:
|
196
|
+
content: string | Function;
|
197
|
+
disabled?: (col: Column, row: any) => boolean;
|
198
198
|
watchCellResize?: boolean;
|
199
199
|
mode?: "auto" | "static";
|
200
200
|
popoverOption?: any;
|
@@ -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;
|
@@ -130,8 +130,8 @@ declare const BkTableColumn: {
|
|
130
130
|
className?: import("../table/props").RowClassFunctionString;
|
131
131
|
align?: "" | "right" | "left" | "center";
|
132
132
|
showOverflowTooltip?: boolean | {
|
133
|
-
content: string |
|
134
|
-
disabled?:
|
133
|
+
content: string | Function;
|
134
|
+
disabled?: (col: import("../../bkui-vue").TableIColumn, row: any) => boolean;
|
135
135
|
watchCellResize?: boolean;
|
136
136
|
mode?: "auto" | "static";
|
137
137
|
popoverOption?: any;
|
@@ -420,8 +420,8 @@ declare const BkTableColumn: {
|
|
420
420
|
className?: import("../table/props").RowClassFunctionString;
|
421
421
|
align?: "" | "right" | "left" | "center";
|
422
422
|
showOverflowTooltip?: boolean | {
|
423
|
-
content: string |
|
424
|
-
disabled?:
|
423
|
+
content: string | Function;
|
424
|
+
disabled?: (col: import("../../bkui-vue").TableIColumn, row: any) => boolean;
|
425
425
|
watchCellResize?: boolean;
|
426
426
|
mode?: "auto" | "static";
|
427
427
|
popoverOption?: any;
|
@@ -647,8 +647,8 @@ declare const BkTableColumn: {
|
|
647
647
|
className?: import("../table/props").RowClassFunctionString;
|
648
648
|
align?: "" | "right" | "left" | "center";
|
649
649
|
showOverflowTooltip?: boolean | {
|
650
|
-
content: string |
|
651
|
-
disabled?:
|
650
|
+
content: string | Function;
|
651
|
+
disabled?: (col: import("../../bkui-vue").TableIColumn, row: any) => boolean;
|
652
652
|
watchCellResize?: boolean;
|
653
653
|
mode?: "auto" | "static";
|
654
654
|
popoverOption?: any;
|
@@ -256,7 +256,7 @@ var COLUMN_ATTRIBUTE = {
|
|
256
256
|
/**
|
257
257
|
* Y 轴滚动条宽度
|
258
258
|
*/
|
259
|
-
var SCROLLY_WIDTH =
|
259
|
+
var SCROLLY_WIDTH = 6;
|
260
260
|
/**
|
261
261
|
* 默认行高
|
262
262
|
*/
|
@@ -684,11 +684,7 @@ var tableProps = {
|
|
684
684
|
/**
|
685
685
|
* 是否支持行拖拽排序
|
686
686
|
*/
|
687
|
-
rowDraggable: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.func, shared_namespaceObject.PropTypes.bool, shared_namespaceObject.PropTypes.object]).def(false)
|
688
|
-
/**
|
689
|
-
* 是否支持shift键多行选择
|
690
|
-
*/
|
691
|
-
shiftMultiChecked: shared_namespaceObject.PropTypes.bool.def(false)
|
687
|
+
rowDraggable: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.func, shared_namespaceObject.PropTypes.bool, shared_namespaceObject.PropTypes.object]).def(false)
|
692
688
|
};
|
693
689
|
;// CONCATENATED MODULE: ../../packages/table/src/components/table-column.tsx
|
694
690
|
|
package/lib/tree/constant.d.ts
CHANGED
@@ -6,8 +6,7 @@ export declare enum EVENTS {
|
|
6
6
|
NODE_DRAG_START = "nodeDragStart",
|
7
7
|
NODE_DRAG_OVER = "nodeDragOver",
|
8
8
|
NODE_DRAG_LEAVE = "nodeDragLeave",
|
9
|
-
NODE_DROP = "nodeDrop"
|
10
|
-
NODE_ENTER_VIEW = "nodeEnterView"
|
9
|
+
NODE_DROP = "nodeDrop"
|
11
10
|
}
|
12
11
|
export declare const TreeEmitEventsType: {
|
13
12
|
nodeClick: (..._args: any[]) => boolean;
|
@@ -18,7 +17,6 @@ export declare const TreeEmitEventsType: {
|
|
18
17
|
nodeDragOver: (..._args: any[]) => boolean;
|
19
18
|
nodeDragLeave: (..._args: any[]) => boolean;
|
20
19
|
nodeDrop: (..._args: any[]) => boolean;
|
21
|
-
nodeEnterView: (..._args: any[]) => boolean;
|
22
20
|
};
|
23
21
|
/**
|
24
22
|
* 节点扩展属性
|
package/lib/tree/index.d.ts
CHANGED
@@ -115,14 +115,6 @@ declare const BkTree: {
|
|
115
115
|
} & {
|
116
116
|
default: boolean;
|
117
117
|
};
|
118
|
-
checkStrictly: import("vue-types").VueTypeValidableDef<boolean> & {
|
119
|
-
default: boolean;
|
120
|
-
} & {
|
121
|
-
default: boolean;
|
122
|
-
};
|
123
|
-
intersectionObserver: import("vue-types").VueTypeDef<boolean | import("./props").IIntersectionObserver> & {
|
124
|
-
default: boolean | (() => import("./props").IIntersectionObserver);
|
125
|
-
};
|
126
118
|
}>> & {
|
127
119
|
onNodeClick?: (...args: any[]) => any;
|
128
120
|
onNodeCollapse?: (...args: any[]) => any;
|
@@ -132,7 +124,6 @@ declare const BkTree: {
|
|
132
124
|
onNodeDragOver?: (...args: any[]) => any;
|
133
125
|
onNodeDragLeave?: (...args: any[]) => any;
|
134
126
|
onNodeDrop?: (...args: any[]) => any;
|
135
|
-
onNodeEnterView?: (...args: any[]) => any;
|
136
127
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
137
128
|
nodeClick: (..._args: any[]) => boolean;
|
138
129
|
nodeCollapse: (..._args: any[]) => boolean;
|
@@ -142,7 +133,6 @@ declare const BkTree: {
|
|
142
133
|
nodeDragOver: (..._args: any[]) => boolean;
|
143
134
|
nodeDragLeave: (..._args: any[]) => boolean;
|
144
135
|
nodeDrop: (..._args: any[]) => boolean;
|
145
|
-
nodeEnterView: (..._args: any[]) => boolean;
|
146
136
|
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
147
137
|
data: import("vue-types").VueTypeDef<any[]> & {
|
148
138
|
default: () => any[];
|
@@ -259,14 +249,6 @@ declare const BkTree: {
|
|
259
249
|
} & {
|
260
250
|
default: boolean;
|
261
251
|
};
|
262
|
-
checkStrictly: import("vue-types").VueTypeValidableDef<boolean> & {
|
263
|
-
default: boolean;
|
264
|
-
} & {
|
265
|
-
default: boolean;
|
266
|
-
};
|
267
|
-
intersectionObserver: import("vue-types").VueTypeDef<boolean | import("./props").IIntersectionObserver> & {
|
268
|
-
default: boolean | (() => import("./props").IIntersectionObserver);
|
269
|
-
};
|
270
252
|
}>> & {
|
271
253
|
onNodeClick?: (...args: any[]) => any;
|
272
254
|
onNodeCollapse?: (...args: any[]) => any;
|
@@ -276,7 +258,6 @@ declare const BkTree: {
|
|
276
258
|
onNodeDragOver?: (...args: any[]) => any;
|
277
259
|
onNodeDragLeave?: (...args: any[]) => any;
|
278
260
|
onNodeDrop?: (...args: any[]) => any;
|
279
|
-
onNodeEnterView?: (...args: any[]) => any;
|
280
261
|
}, {
|
281
262
|
data: any[];
|
282
263
|
height: number;
|
@@ -304,8 +285,6 @@ declare const BkTree: {
|
|
304
285
|
expandAll: boolean;
|
305
286
|
nodeContentAction: any;
|
306
287
|
keepSlotData: boolean;
|
307
|
-
checkStrictly: boolean;
|
308
|
-
intersectionObserver: boolean | import("./props").IIntersectionObserver;
|
309
288
|
}, true, {}, {}, {
|
310
289
|
P: {};
|
311
290
|
B: {};
|
@@ -429,14 +408,6 @@ declare const BkTree: {
|
|
429
408
|
} & {
|
430
409
|
default: boolean;
|
431
410
|
};
|
432
|
-
checkStrictly: import("vue-types").VueTypeValidableDef<boolean> & {
|
433
|
-
default: boolean;
|
434
|
-
} & {
|
435
|
-
default: boolean;
|
436
|
-
};
|
437
|
-
intersectionObserver: import("vue-types").VueTypeDef<boolean | import("./props").IIntersectionObserver> & {
|
438
|
-
default: boolean | (() => import("./props").IIntersectionObserver);
|
439
|
-
};
|
440
411
|
}>> & {
|
441
412
|
onNodeClick?: (...args: any[]) => any;
|
442
413
|
onNodeCollapse?: (...args: any[]) => any;
|
@@ -446,7 +417,6 @@ declare const BkTree: {
|
|
446
417
|
onNodeDragOver?: (...args: any[]) => any;
|
447
418
|
onNodeDragLeave?: (...args: any[]) => any;
|
448
419
|
onNodeDrop?: (...args: any[]) => any;
|
449
|
-
onNodeEnterView?: (...args: any[]) => any;
|
450
420
|
}, () => JSX.Element, {}, {}, {}, {
|
451
421
|
data: any[];
|
452
422
|
height: number;
|
@@ -474,8 +444,6 @@ declare const BkTree: {
|
|
474
444
|
expandAll: boolean;
|
475
445
|
nodeContentAction: any;
|
476
446
|
keepSlotData: boolean;
|
477
|
-
checkStrictly: boolean;
|
478
|
-
intersectionObserver: boolean | import("./props").IIntersectionObserver;
|
479
447
|
}>;
|
480
448
|
__isFragment?: never;
|
481
449
|
__isTeleport?: never;
|
@@ -596,14 +564,6 @@ declare const BkTree: {
|
|
596
564
|
} & {
|
597
565
|
default: boolean;
|
598
566
|
};
|
599
|
-
checkStrictly: import("vue-types").VueTypeValidableDef<boolean> & {
|
600
|
-
default: boolean;
|
601
|
-
} & {
|
602
|
-
default: boolean;
|
603
|
-
};
|
604
|
-
intersectionObserver: import("vue-types").VueTypeDef<boolean | import("./props").IIntersectionObserver> & {
|
605
|
-
default: boolean | (() => import("./props").IIntersectionObserver);
|
606
|
-
};
|
607
567
|
}>> & {
|
608
568
|
onNodeClick?: (...args: any[]) => any;
|
609
569
|
onNodeCollapse?: (...args: any[]) => any;
|
@@ -613,7 +573,6 @@ declare const BkTree: {
|
|
613
573
|
onNodeDragOver?: (...args: any[]) => any;
|
614
574
|
onNodeDragLeave?: (...args: any[]) => any;
|
615
575
|
onNodeDrop?: (...args: any[]) => any;
|
616
|
-
onNodeEnterView?: (...args: any[]) => any;
|
617
576
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
618
577
|
nodeClick: (..._args: any[]) => boolean;
|
619
578
|
nodeCollapse: (..._args: any[]) => boolean;
|
@@ -623,7 +582,6 @@ declare const BkTree: {
|
|
623
582
|
nodeDragOver: (..._args: any[]) => boolean;
|
624
583
|
nodeDragLeave: (..._args: any[]) => boolean;
|
625
584
|
nodeDrop: (..._args: any[]) => boolean;
|
626
|
-
nodeEnterView: (..._args: any[]) => boolean;
|
627
585
|
}, string, {
|
628
586
|
data: any[];
|
629
587
|
height: number;
|
@@ -651,7 +609,5 @@ declare const BkTree: {
|
|
651
609
|
expandAll: boolean;
|
652
610
|
nodeContentAction: any;
|
653
611
|
keepSlotData: boolean;
|
654
|
-
checkStrictly: boolean;
|
655
|
-
intersectionObserver: boolean | import("./props").IIntersectionObserver;
|
656
612
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
657
613
|
export default BkTree;
|