vxe-pc-ui 4.8.16 → 4.8.18
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/es/icon/style.css +1 -1
- package/es/select/src/select.js +6 -6
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table-select/src/table-select.js +6 -8
- package/es/tree/src/tree.js +4 -2
- package/es/tree-select/src/tree-select.js +10 -12
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +37 -34
- package/lib/index.umd.min.js +1 -1
- package/lib/select/src/select.js +7 -6
- package/lib/select/src/select.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table-select/src/table-select.js +8 -10
- package/lib/table-select/src/table-select.min.js +1 -1
- package/lib/tree/src/tree.js +6 -2
- package/lib/tree/src/tree.min.js +1 -1
- package/lib/tree-select/src/tree-select.js +14 -14
- package/lib/tree-select/src/tree-select.min.js +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +2 -2
- package/packages/select/src/select.ts +6 -6
- package/packages/table-select/src/table-select.ts +6 -8
- package/packages/tree/src/tree.ts +4 -2
- package/packages/tree-select/src/tree-select.ts +14 -16
- package/types/components/gantt-module/gantt-view.d.ts +8 -0
- package/types/components/gantt.d.ts +8 -4
- package/types/components/table.d.ts +29 -4
- package/types/components/tree.d.ts +2 -0
- /package/es/icon/{iconfont.1755167510669.ttf → iconfont.1755232629593.ttf} +0 -0
- /package/es/icon/{iconfont.1755167510669.woff → iconfont.1755232629593.woff} +0 -0
- /package/es/icon/{iconfont.1755167510669.woff2 → iconfont.1755232629593.woff2} +0 -0
- /package/es/{iconfont.1755167510669.ttf → iconfont.1755232629593.ttf} +0 -0
- /package/es/{iconfont.1755167510669.woff → iconfont.1755232629593.woff} +0 -0
- /package/es/{iconfont.1755167510669.woff2 → iconfont.1755232629593.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1755167510669.ttf → iconfont.1755232629593.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1755167510669.woff → iconfont.1755232629593.woff} +0 -0
- /package/lib/icon/style/{iconfont.1755167510669.woff2 → iconfont.1755232629593.woff2} +0 -0
- /package/lib/{iconfont.1755167510669.ttf → iconfont.1755232629593.ttf} +0 -0
- /package/lib/{iconfont.1755167510669.woff → iconfont.1755232629593.woff} +0 -0
- /package/lib/{iconfont.1755167510669.woff2 → iconfont.1755232629593.woff2} +0 -0
|
@@ -414,12 +414,10 @@ export default defineVxeComponent({
|
|
|
414
414
|
}, 350)
|
|
415
415
|
}
|
|
416
416
|
|
|
417
|
-
const changeEvent = (evnt: Event, selectValue: any) => {
|
|
418
|
-
const { fullRowMaps } = reactData
|
|
417
|
+
const changeEvent = (evnt: Event, selectValue: any, row: any) => {
|
|
419
418
|
emitModel(selectValue)
|
|
420
419
|
if (selectValue !== props.modelValue) {
|
|
421
|
-
|
|
422
|
-
dispatchEvent('change', { value: selectValue, row: cacheItem ? cacheItem.item : null }, evnt)
|
|
420
|
+
dispatchEvent('change', { value: selectValue, row, option: row }, evnt)
|
|
423
421
|
// 自动更新校验状态
|
|
424
422
|
if ($xeForm && formItemInfo) {
|
|
425
423
|
$xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, selectValue)
|
|
@@ -428,7 +426,7 @@ export default defineVxeComponent({
|
|
|
428
426
|
}
|
|
429
427
|
|
|
430
428
|
const clearValueEvent = (evnt: Event, selectValue: any) => {
|
|
431
|
-
changeEvent(evnt, selectValue)
|
|
429
|
+
changeEvent(evnt, selectValue, null)
|
|
432
430
|
dispatchEvent('clear', { value: selectValue }, evnt)
|
|
433
431
|
}
|
|
434
432
|
|
|
@@ -530,19 +528,19 @@ export default defineVxeComponent({
|
|
|
530
528
|
const { $event, row } = params
|
|
531
529
|
const valueField = computeValueField.value
|
|
532
530
|
const value = row[valueField]
|
|
533
|
-
changeEvent($event, value)
|
|
531
|
+
changeEvent($event, value, row)
|
|
534
532
|
hideOptionPanel()
|
|
535
533
|
}
|
|
536
534
|
|
|
537
535
|
const checkboxChangeEvent: VxeGridEvents.CheckboxChange = (params) => {
|
|
538
|
-
const { $grid, $event } = params
|
|
536
|
+
const { $grid, $event, row } = params
|
|
539
537
|
const valueField = computeValueField.value
|
|
540
538
|
if ($grid) {
|
|
541
539
|
const checkboxRecords = $grid.getCheckboxRecords()
|
|
542
540
|
const value = checkboxRecords.map(row => {
|
|
543
541
|
return row[valueField]
|
|
544
542
|
})
|
|
545
|
-
changeEvent($event, value)
|
|
543
|
+
changeEvent($event, value, row)
|
|
546
544
|
}
|
|
547
545
|
}
|
|
548
546
|
|
|
@@ -1364,7 +1364,7 @@ export default defineVxeComponent({
|
|
|
1364
1364
|
emitCheckboxMode([])
|
|
1365
1365
|
updateCheckboxStatus()
|
|
1366
1366
|
return nextTick().then(() => {
|
|
1367
|
-
return { checkNodeKeys: [] }
|
|
1367
|
+
return { checkNodeKeys: [], checkNodes: [] }
|
|
1368
1368
|
})
|
|
1369
1369
|
},
|
|
1370
1370
|
setAllCheckboxNode (checked) {
|
|
@@ -1373,10 +1373,12 @@ export default defineVxeComponent({
|
|
|
1373
1373
|
const childrenField = computeChildrenField.value
|
|
1374
1374
|
const mapChildrenField = computeMapChildrenField.value
|
|
1375
1375
|
const checkKeys: string[] = []
|
|
1376
|
+
const checkNodes: any[] = []
|
|
1376
1377
|
if (checked) {
|
|
1377
1378
|
XEUtils.eachTree(internalData.afterTreeList, (node) => {
|
|
1378
1379
|
const nodeid = getNodeId(node)
|
|
1379
1380
|
checkKeys.push(nodeid)
|
|
1381
|
+
checkNodes.push(node)
|
|
1380
1382
|
selectMaps[nodeid] = true
|
|
1381
1383
|
}, { children: transform ? mapChildrenField : childrenField })
|
|
1382
1384
|
}
|
|
@@ -1385,7 +1387,7 @@ export default defineVxeComponent({
|
|
|
1385
1387
|
reactData.updateCheckboxFlag++
|
|
1386
1388
|
updateCheckboxStatus()
|
|
1387
1389
|
return nextTick().then(() => {
|
|
1388
|
-
return { checkNodeKeys: checkKeys }
|
|
1390
|
+
return { checkNodeKeys: checkKeys, checkNodes }
|
|
1389
1391
|
})
|
|
1390
1392
|
},
|
|
1391
1393
|
clearExpandNode () {
|
|
@@ -10,7 +10,7 @@ import VxeInputComponent from '../../input/src/input'
|
|
|
10
10
|
import VxeButtonComponent from '../../button/src/button'
|
|
11
11
|
import VxeTreeComponent from '../../tree/src/tree'
|
|
12
12
|
|
|
13
|
-
import type { TreeSelectReactData, VxeTreeSelectEmits, TreeSelectInternalData, VxeButtonEvents, ValueOf, VxeComponentStyleType, TreeSelectPrivateRef, TreeSelectPrivateMethods, TreeSelectMethods, VxeTreeSelectPrivateComputed, VxeTreeSelectPropTypes, VxeTreeSelectConstructor, VxeFormDefines, VxeDrawerConstructor, VxeDrawerMethods, VxeTreeSelectPrivateMethods, VxeFormConstructor, VxeFormPrivateMethods, VxeInputConstructor, VxeModalConstructor, VxeModalMethods, VxeTreeConstructor } from '../../../types'
|
|
13
|
+
import type { TreeSelectReactData, VxeTreeSelectEmits, TreeSelectInternalData, VxeButtonEvents, ValueOf, VxeComponentStyleType, TreeSelectPrivateRef, TreeSelectPrivateMethods, TreeSelectMethods, VxeTreeSelectPrivateComputed, VxeTreeSelectPropTypes, VxeTreeSelectConstructor, VxeFormDefines, VxeDrawerConstructor, VxeDrawerMethods, VxeTreeSelectPrivateMethods, VxeFormConstructor, VxeFormPrivateMethods, VxeInputConstructor, VxeModalConstructor, VxeModalMethods, VxeTreeConstructor, VxeTreeEvents } from '../../../types'
|
|
14
14
|
import type { VxeTableConstructor, VxeTablePrivateMethods } from '../../../types/components/table'
|
|
15
15
|
|
|
16
16
|
function getOptUniqueId () {
|
|
@@ -415,13 +415,11 @@ export default defineVxeComponent({
|
|
|
415
415
|
}, 350)
|
|
416
416
|
}
|
|
417
417
|
|
|
418
|
-
const changeEvent = (evnt: Event, selectValue: any) => {
|
|
419
|
-
const { fullNodeMaps } = internalData
|
|
418
|
+
const changeEvent = (evnt: Event, selectValue: any, node: any) => {
|
|
420
419
|
const value = XEUtils.isArray(selectValue) ? selectValue.map(deNodeValue) : deNodeValue(selectValue)
|
|
421
420
|
emitModel(value)
|
|
422
421
|
if (value !== props.modelValue) {
|
|
423
|
-
|
|
424
|
-
dispatchEvent('change', { value, option: cacheItem ? cacheItem.item : null }, evnt)
|
|
422
|
+
dispatchEvent('change', { value, node, option: node }, evnt)
|
|
425
423
|
// 自动更新校验状态
|
|
426
424
|
if ($xeForm && formItemInfo) {
|
|
427
425
|
$xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, value)
|
|
@@ -430,7 +428,7 @@ export default defineVxeComponent({
|
|
|
430
428
|
}
|
|
431
429
|
|
|
432
430
|
const clearValueEvent = (evnt: Event, selectValue: any) => {
|
|
433
|
-
changeEvent(evnt, selectValue)
|
|
431
|
+
changeEvent(evnt, selectValue, null)
|
|
434
432
|
dispatchEvent('clear', { value: selectValue }, evnt)
|
|
435
433
|
}
|
|
436
434
|
|
|
@@ -445,8 +443,8 @@ export default defineVxeComponent({
|
|
|
445
443
|
const $tree = refTree.value
|
|
446
444
|
if (multiple) {
|
|
447
445
|
if ($tree) {
|
|
448
|
-
$tree.setAllCheckboxNode(true).then(({ checkNodeKeys }) => {
|
|
449
|
-
changeEvent($event, checkNodeKeys)
|
|
446
|
+
$tree.setAllCheckboxNode(true).then(({ checkNodeKeys, checkNodes }) => {
|
|
447
|
+
changeEvent($event, checkNodeKeys, checkNodes[0])
|
|
450
448
|
dispatchEvent('all-change', { value: checkNodeKeys }, $event)
|
|
451
449
|
if (autoClose) {
|
|
452
450
|
hideOptionPanel()
|
|
@@ -467,7 +465,7 @@ export default defineVxeComponent({
|
|
|
467
465
|
hideOptionPanel()
|
|
468
466
|
}
|
|
469
467
|
})
|
|
470
|
-
changeEvent($event, value)
|
|
468
|
+
changeEvent($event, value, null)
|
|
471
469
|
dispatchEvent('clear', { value }, $event)
|
|
472
470
|
}
|
|
473
471
|
}
|
|
@@ -607,20 +605,20 @@ export default defineVxeComponent({
|
|
|
607
605
|
}
|
|
608
606
|
}
|
|
609
607
|
|
|
610
|
-
const nodeClickEvent = (params
|
|
608
|
+
const nodeClickEvent: VxeTreeEvents.NodeClick = (params) => {
|
|
611
609
|
const { $event } = params
|
|
612
610
|
dispatchEvent('node-click', params, $event)
|
|
613
611
|
}
|
|
614
612
|
|
|
615
|
-
const radioChangeEvent = (params
|
|
616
|
-
const { value, $event } = params
|
|
617
|
-
changeEvent($event, value)
|
|
613
|
+
const radioChangeEvent: VxeTreeEvents.RadioChange = (params) => {
|
|
614
|
+
const { value, $event, node } = params
|
|
615
|
+
changeEvent($event, value, node)
|
|
618
616
|
hideOptionPanel()
|
|
619
617
|
}
|
|
620
618
|
|
|
621
|
-
const checkboxChangeEvent = (params
|
|
622
|
-
const { value, $event } = params
|
|
623
|
-
changeEvent($event, value)
|
|
619
|
+
const checkboxChangeEvent: VxeTreeEvents.CheckboxChange = (params) => {
|
|
620
|
+
const { value, $event, node } = params
|
|
621
|
+
changeEvent($event, value, node)
|
|
624
622
|
}
|
|
625
623
|
|
|
626
624
|
const loadSuccessEvent = () => {
|
|
@@ -123,6 +123,14 @@ export interface VxeGanttViewPrivateMethods {
|
|
|
123
123
|
* @private
|
|
124
124
|
*/
|
|
125
125
|
handleUpdateStyle(): void
|
|
126
|
+
/**
|
|
127
|
+
* @private
|
|
128
|
+
*/
|
|
129
|
+
handleUpdateCurrentRow(row?: any): void
|
|
130
|
+
/**
|
|
131
|
+
* @private
|
|
132
|
+
*/
|
|
133
|
+
handleUpdateHoverRow(row?: any): void
|
|
126
134
|
/**
|
|
127
135
|
* @private
|
|
128
136
|
*/
|
|
@@ -173,8 +173,8 @@ export interface VxeGanttMethods<D = any> extends GanttMethods<D>, Omit<VxeGridM
|
|
|
173
173
|
export interface GanttPrivateMethods extends GridPrivateMethods {
|
|
174
174
|
handleTaskCellClickEvent(evnt: MouseEvent, params: VxeGanttDefines.TaskCellClickParams): void
|
|
175
175
|
handleTaskCellDblclickEvent(evnt: MouseEvent, params: VxeGanttDefines.TaskCellClickParams): void
|
|
176
|
-
handleTaskBarClickEvent(evnt: MouseEvent, params: VxeGanttDefines.
|
|
177
|
-
handleTaskBarDblclickEvent(evnt: MouseEvent, params: VxeGanttDefines.
|
|
176
|
+
handleTaskBarClickEvent(evnt: MouseEvent, params: VxeGanttDefines.TaskBarClickParams): void
|
|
177
|
+
handleTaskBarDblclickEvent(evnt: MouseEvent, params: VxeGanttDefines.TaskBarClickParams): void
|
|
178
178
|
}
|
|
179
179
|
export interface VxeGanttPrivateMethods extends GanttPrivateMethods {}
|
|
180
180
|
|
|
@@ -207,11 +207,15 @@ export namespace VxeGanttDefines {
|
|
|
207
207
|
|
|
208
208
|
export interface TaskCellClickParams<D = any> {
|
|
209
209
|
row: D
|
|
210
|
+
column: VxeGanttPropTypes.Column<D>
|
|
211
|
+
}
|
|
212
|
+
export interface TaskBarClickParams<D = any> {
|
|
213
|
+
row: D
|
|
210
214
|
}
|
|
211
215
|
export interface TaskCellClickEventParams<D = any> extends TaskCellClickParams<D>, GanttEventParams {}
|
|
212
216
|
export interface TaskCellDblClickEventParams<D = any> extends TaskCellClickEventParams<D> {}
|
|
213
|
-
export interface TaskBarClickEventParams<D = any> extends
|
|
214
|
-
export interface TaskBarDblClickEventParams<D = any> extends
|
|
217
|
+
export interface TaskBarClickEventParams<D = any> extends TaskBarClickParams<D>, GanttEventParams {}
|
|
218
|
+
export interface TaskBarDblClickEventParams<D = any> extends TaskBarClickEventParams<D> {}
|
|
215
219
|
}
|
|
216
220
|
|
|
217
221
|
export interface VxeGanttEventProps<D = any> extends VxeGridEventProps<D> {
|
|
@@ -77,6 +77,7 @@ export namespace VxeTablePropTypes {
|
|
|
77
77
|
export type ID<D = any> = string | ((params: {
|
|
78
78
|
$table: VxeTableConstructor<D>
|
|
79
79
|
$grid: VxeGridConstructor<D> | null | undefined
|
|
80
|
+
$gantt: VxeGanttConstructor | null | undefined
|
|
80
81
|
}) => string | number | null)
|
|
81
82
|
|
|
82
83
|
export interface Row {
|
|
@@ -108,6 +109,7 @@ export namespace VxeTablePropTypes {
|
|
|
108
109
|
export type FooterMethod<D = any> = (params: {
|
|
109
110
|
$table: VxeTableConstructor<D>
|
|
110
111
|
$grid: VxeGridConstructor<D> | null | undefined
|
|
112
|
+
$gantt: VxeGanttConstructor<D> | null | undefined
|
|
111
113
|
columns: VxeTableDefines.ColumnInfo<D>[]
|
|
112
114
|
data: D[]
|
|
113
115
|
}) => Array<string | number | null>[] | any[]
|
|
@@ -2666,6 +2668,7 @@ export namespace VxeTablePropTypes {
|
|
|
2666
2668
|
filename?: string | ((params: {
|
|
2667
2669
|
$table: VxeTableConstructor
|
|
2668
2670
|
$grid: VxeGridConstructor | null | undefined
|
|
2671
|
+
$gantt: VxeGanttConstructor | null | undefined
|
|
2669
2672
|
options: ExportOpts
|
|
2670
2673
|
}) => string)
|
|
2671
2674
|
/**
|
|
@@ -2674,6 +2677,7 @@ export namespace VxeTablePropTypes {
|
|
|
2674
2677
|
sheetName?: string | ((params: {
|
|
2675
2678
|
$table: VxeTableConstructor
|
|
2676
2679
|
$grid: VxeGridConstructor | null | undefined
|
|
2680
|
+
$gantt: VxeGanttConstructor | null | undefined
|
|
2677
2681
|
options: ExportOpts
|
|
2678
2682
|
}) => string)
|
|
2679
2683
|
/**
|
|
@@ -2742,6 +2746,8 @@ export namespace VxeTablePropTypes {
|
|
|
2742
2746
|
*/
|
|
2743
2747
|
columnFilterMethod?(params: {
|
|
2744
2748
|
$table: VxeTableConstructor
|
|
2749
|
+
$grid: VxeGridConstructor | null | undefined
|
|
2750
|
+
$gantt: VxeGanttConstructor | null | undefined
|
|
2745
2751
|
column: VxeTableDefines.ColumnInfo
|
|
2746
2752
|
$columnIndex: number
|
|
2747
2753
|
}): boolean
|
|
@@ -2750,6 +2756,8 @@ export namespace VxeTablePropTypes {
|
|
|
2750
2756
|
*/
|
|
2751
2757
|
dataFilterMethod?(params: {
|
|
2752
2758
|
$table: VxeTableConstructor
|
|
2759
|
+
$grid: VxeGridConstructor | null | undefined
|
|
2760
|
+
$gantt: VxeGanttConstructor | null | undefined
|
|
2753
2761
|
row: any
|
|
2754
2762
|
$rowIndex: number
|
|
2755
2763
|
}): boolean
|
|
@@ -2758,6 +2766,8 @@ export namespace VxeTablePropTypes {
|
|
|
2758
2766
|
*/
|
|
2759
2767
|
footerFilterMethod?(params: {
|
|
2760
2768
|
$table: VxeTableConstructor
|
|
2769
|
+
$grid: VxeGridConstructor | null | undefined
|
|
2770
|
+
$gantt: VxeGanttConstructor | null | undefined
|
|
2761
2771
|
items: any[]
|
|
2762
2772
|
$rowIndex: number
|
|
2763
2773
|
}): boolean
|
|
@@ -2780,16 +2790,19 @@ export namespace VxeTablePropTypes {
|
|
|
2780
2790
|
exportMethod?(params: {
|
|
2781
2791
|
$table: VxeTableConstructor
|
|
2782
2792
|
$grid: VxeGridConstructor | null | undefined
|
|
2793
|
+
$gantt: VxeGanttConstructor | null | undefined
|
|
2783
2794
|
options: ExportHandleOptions
|
|
2784
2795
|
}): Promise<any>
|
|
2785
2796
|
beforeExportMethod?(params: {
|
|
2786
2797
|
$table: VxeTableConstructor
|
|
2787
2798
|
$grid: VxeGridConstructor | null | undefined
|
|
2799
|
+
$gantt: VxeGanttConstructor | null | undefined
|
|
2788
2800
|
options: ExportHandleOptions
|
|
2789
2801
|
}): void
|
|
2790
2802
|
afterExportMethod?(params: {
|
|
2791
2803
|
$table: VxeTableConstructor
|
|
2792
2804
|
$grid: VxeGridConstructor | null | undefined
|
|
2805
|
+
$gantt: VxeGanttConstructor | null | undefined
|
|
2793
2806
|
status: boolean
|
|
2794
2807
|
options: ExportHandleOptions
|
|
2795
2808
|
}): void
|
|
@@ -2841,6 +2854,7 @@ export namespace VxeTablePropTypes {
|
|
|
2841
2854
|
sheetName?: string | ((params: {
|
|
2842
2855
|
$table: VxeTableConstructor
|
|
2843
2856
|
$grid: VxeGridConstructor | null | undefined
|
|
2857
|
+
$gantt: VxeGanttConstructor | null | undefined
|
|
2844
2858
|
options: ExportOpts
|
|
2845
2859
|
}) => string)
|
|
2846
2860
|
/**
|
|
@@ -2899,6 +2913,8 @@ export namespace VxeTablePropTypes {
|
|
|
2899
2913
|
*/
|
|
2900
2914
|
columnFilterMethod?(params: {
|
|
2901
2915
|
$table: VxeTableConstructor
|
|
2916
|
+
$grid: VxeGridConstructor | null | undefined
|
|
2917
|
+
$gantt: VxeGanttConstructor | null | undefined
|
|
2902
2918
|
column: VxeTableDefines.ColumnInfo
|
|
2903
2919
|
$columnIndex: number
|
|
2904
2920
|
}): boolean
|
|
@@ -2907,6 +2923,8 @@ export namespace VxeTablePropTypes {
|
|
|
2907
2923
|
*/
|
|
2908
2924
|
dataFilterMethod?(params: {
|
|
2909
2925
|
$table: VxeTableConstructor
|
|
2926
|
+
$grid: VxeGridConstructor | null | undefined
|
|
2927
|
+
$gantt: VxeGanttConstructor | null | undefined
|
|
2910
2928
|
row: any
|
|
2911
2929
|
$rowIndex: number
|
|
2912
2930
|
}): boolean
|
|
@@ -2915,6 +2933,8 @@ export namespace VxeTablePropTypes {
|
|
|
2915
2933
|
*/
|
|
2916
2934
|
footerFilterMethod?(params: {
|
|
2917
2935
|
$table: VxeTableConstructor
|
|
2936
|
+
$grid: VxeGridConstructor | null | undefined
|
|
2937
|
+
$gantt: VxeGanttConstructor | null | undefined
|
|
2918
2938
|
items: any[]
|
|
2919
2939
|
$rowIndex: number
|
|
2920
2940
|
}): boolean
|
|
@@ -2922,7 +2942,9 @@ export namespace VxeTablePropTypes {
|
|
|
2922
2942
|
* 打印之前的方法,可以通过返回自定义打印的内容
|
|
2923
2943
|
*/
|
|
2924
2944
|
beforePrintMethod?(params: {
|
|
2925
|
-
$table: VxeTableConstructor
|
|
2945
|
+
$table: VxeTableConstructor
|
|
2946
|
+
$grid: VxeGridConstructor | null | undefined
|
|
2947
|
+
$gantt: VxeGanttConstructor | null | undefined
|
|
2926
2948
|
html: string
|
|
2927
2949
|
options: PrintHandleOptions
|
|
2928
2950
|
|
|
@@ -5493,7 +5515,8 @@ export namespace VxeTableDefines {
|
|
|
5493
5515
|
|
|
5494
5516
|
export interface CellRenderHeaderParams<D = any> {
|
|
5495
5517
|
$table: VxeTableConstructor<D>
|
|
5496
|
-
$grid: VxeGridConstructor
|
|
5518
|
+
$grid: VxeGridConstructor | null | undefined
|
|
5519
|
+
$gantt: VxeGanttConstructor | null | undefined
|
|
5497
5520
|
$rowIndex: number
|
|
5498
5521
|
column: ColumnInfo<D>
|
|
5499
5522
|
columnIndex: number
|
|
@@ -5511,7 +5534,8 @@ export namespace VxeTableDefines {
|
|
|
5511
5534
|
|
|
5512
5535
|
export interface CellRenderBodyParams<D = any> {
|
|
5513
5536
|
$table: VxeTableConstructor<D>
|
|
5514
|
-
$grid: VxeGridConstructor
|
|
5537
|
+
$grid: VxeGridConstructor | null | undefined
|
|
5538
|
+
$gantt: VxeGanttConstructor | null | undefined
|
|
5515
5539
|
seq: string | number
|
|
5516
5540
|
rowid: string
|
|
5517
5541
|
row: D
|
|
@@ -5552,7 +5576,8 @@ export namespace VxeTableDefines {
|
|
|
5552
5576
|
|
|
5553
5577
|
export interface CellRenderFooterParams<D = any> {
|
|
5554
5578
|
$table: VxeTableConstructor<D>
|
|
5555
|
-
$grid: VxeGridConstructor
|
|
5579
|
+
$grid: VxeGridConstructor | null | undefined
|
|
5580
|
+
$gantt: VxeGanttConstructor | null | undefined
|
|
5556
5581
|
row: D
|
|
5557
5582
|
rowIndex: number
|
|
5558
5583
|
_rowIndex: number
|
|
@@ -342,12 +342,14 @@ export interface TreeMethods<D = any> {
|
|
|
342
342
|
* 用于 showCheckbox,手动清空复选框的
|
|
343
343
|
*/
|
|
344
344
|
clearCheckboxNode(): Promise<{
|
|
345
|
+
checkNodes: D[]
|
|
345
346
|
checkNodeKeys: (string | number)[]
|
|
346
347
|
}>
|
|
347
348
|
/**
|
|
348
349
|
* 用于 showCheckbox,设置所有节点的选中状态
|
|
349
350
|
*/
|
|
350
351
|
setAllCheckboxNode(checked: boolean): Promise<{
|
|
352
|
+
checkNodes: D[]
|
|
351
353
|
checkNodeKeys: (string | number)[]
|
|
352
354
|
}>
|
|
353
355
|
/**
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|