|
2610 | 2610 | {
|
2611 | 2611 | "name": "cell",
|
2612 | 2612 | "default": false,
|
2613 |
| - "fallback": "{cell.display ? cell.display(cell.value) : cell.value}", |
| 2613 | + "fallback": "{cell.display ? cell.display(cell.value, row) : cell.value}", |
2614 | 2614 | "slot_props": "{ row: DataTableRow; cell: DataTableCell; rowIndex: number; cellIndex: number; }"
|
2615 | 2615 | },
|
2616 | 2616 | {
|
|
2697 | 2697 | "ts": "type DataTableValue = any"
|
2698 | 2698 | },
|
2699 | 2699 | {
|
2700 |
| - "type": "{ key: DataTableKey; empty: boolean; display?: (item: Value) => DataTableValue; sort?: false | ((a: DataTableValue, b: DataTableValue) => (0 | -1 | 1)); columnMenu?: boolean; width?: string; minWidth?: string; }", |
| 2700 | + "type": "{ key: DataTableKey; empty: boolean; display?: (item: Value, row: DataTableRow) => DataTableValue; sort?: false | ((a: DataTableValue, b: DataTableValue) => (0 | -1 | 1)); columnMenu?: boolean; width?: string; minWidth?: string; }", |
2701 | 2701 | "name": "DataTableEmptyHeader",
|
2702 |
| - "ts": "interface DataTableEmptyHeader { key: DataTableKey; empty: boolean; display?: (item: Value) => DataTableValue; sort?: false | ((a: DataTableValue, b: DataTableValue) => (0 | -1 | 1)); columnMenu?: boolean; width?: string; minWidth?: string; }" |
| 2702 | + "ts": "interface DataTableEmptyHeader { key: DataTableKey; empty: boolean; display?: (item: Value, row: DataTableRow) => DataTableValue; sort?: false | ((a: DataTableValue, b: DataTableValue) => (0 | -1 | 1)); columnMenu?: boolean; width?: string; minWidth?: string; }" |
2703 | 2703 | },
|
2704 | 2704 | {
|
2705 |
| - "type": "{ key: DataTableKey; value: DataTableValue; display?: (item: Value) => DataTableValue; sort?: false | ((a: DataTableValue, b: DataTableValue) => (0 | -1 | 1)); columnMenu?: boolean; width?: string; minWidth?: string; }", |
| 2705 | + "type": "{ key: DataTableKey; value: DataTableValue; display?: (item: Value, row: DataTableRow) => DataTableValue; sort?: false | ((a: DataTableValue, b: DataTableValue) => (0 | -1 | 1)); columnMenu?: boolean; width?: string; minWidth?: string; }", |
2706 | 2706 | "name": "DataTableNonEmptyHeader",
|
2707 |
| - "ts": "interface DataTableNonEmptyHeader { key: DataTableKey; value: DataTableValue; display?: (item: Value) => DataTableValue; sort?: false | ((a: DataTableValue, b: DataTableValue) => (0 | -1 | 1)); columnMenu?: boolean; width?: string; minWidth?: string; }" |
| 2707 | + "ts": "interface DataTableNonEmptyHeader { key: DataTableKey; value: DataTableValue; display?: (item: Value, row: DataTableRow) => DataTableValue; sort?: false | ((a: DataTableValue, b: DataTableValue) => (0 | -1 | 1)); columnMenu?: boolean; width?: string; minWidth?: string; }" |
2708 | 2708 | },
|
2709 | 2709 | {
|
2710 | 2710 | "type": "DataTableNonEmptyHeader | DataTableEmptyHeader",
|
|
2722 | 2722 | "ts": "type DataTableRowId = any"
|
2723 | 2723 | },
|
2724 | 2724 | {
|
2725 |
| - "type": "{ key: DataTableKey; value: DataTableValue; display?: (item: Value) => DataTableValue; }", |
| 2725 | + "type": "{ key: DataTableKey; value: DataTableValue; display?: (item: Value, row: DataTableRow) => DataTableValue; }", |
2726 | 2726 | "name": "DataTableCell",
|
2727 |
| - "ts": "interface DataTableCell { key: DataTableKey; value: DataTableValue; display?: (item: Value) => DataTableValue; }" |
| 2727 | + "ts": "interface DataTableCell { key: DataTableKey; value: DataTableValue; display?: (item: Value, row: DataTableRow) => DataTableValue; }" |
2728 | 2728 | }
|
2729 | 2729 | ],
|
2730 | 2730 | "rest_props": { "type": "Element", "name": "div" }
|
|
0 commit comments