File tree 5 files changed +13
-13
lines changed 5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 10
10
@if (!header.isPlaceholder) {
11
11
< div
12
12
[ngClass] ="{
13
- 'cursor-pointer select-none': header.column.getCanSort(),
13
+ 'cursor-pointer select-none': header.column.getCanSort()
14
14
} "
15
15
>
16
16
< ng-container
Original file line number Diff line number Diff line change @@ -12,8 +12,9 @@ const props = defineProps({
12
12
required: true ,
13
13
},
14
14
})
15
- const firstValue = computed (() =>
16
- props .table .getPreFilteredRowModel ().flatRows [0 ]?.getValue (props .column .id )
15
+ const firstValue = computed (
16
+ () =>
17
+ props .table .getPreFilteredRowModel ().flatRows [0 ]?.getValue (props .column .id )
17
18
)
18
19
const columnFilterValue = computed (() => props .column .getFilterValue ())
19
20
const sortedUniqueValues = computed (() =>
Original file line number Diff line number Diff line change @@ -69,8 +69,8 @@ const arrIncludesSome: FilterFn<any> = (
69
69
columnId : string ,
70
70
filterValue : unknown [ ]
71
71
) => {
72
- return filterValue . some ( val =>
73
- row . getValue < unknown [ ] > ( columnId ) ?. includes ( val )
72
+ return filterValue . some (
73
+ val => row . getValue < unknown [ ] > ( columnId ) ?. includes ( val )
74
74
)
75
75
}
76
76
Original file line number Diff line number Diff line change @@ -65,12 +65,11 @@ type DeepKeysPrefix<
65
65
? `${TPrefix } .${DeepKeys < T [ TPrefix ] , [ ...TDepth , any ] > & string } `
66
66
: never
67
67
68
- export type DeepValue < T , TProp > =
69
- T extends Record < string | number , any >
70
- ? TProp extends `${infer TBranch } .${infer TDeepProp } `
71
- ? DeepValue < T [ TBranch ] , TDeepProp >
72
- : T [ TProp & string ]
73
- : never
68
+ export type DeepValue < T , TProp > = T extends Record < string | number , any >
69
+ ? TProp extends `${infer TBranch } .${infer TDeepProp } `
70
+ ? DeepValue < T [ TBranch ] , TDeepProp >
71
+ : T [ TProp & string ]
72
+ : never
74
73
75
74
export type NoInfer < T > = [ T ] [ T extends any ? 0 : never ]
76
75
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ export function getSortedRowModel<TData extends RowData>(): (
18
18
const sortedFlatRows : Row < TData > [ ] = [ ]
19
19
20
20
// Filter out sortings that correspond to non existing columns
21
- const availableSorting = sortingState . filter ( sort =>
22
- table . getColumn ( sort . id ) ?. getCanSort ( )
21
+ const availableSorting = sortingState . filter (
22
+ sort => table . getColumn ( sort . id ) ?. getCanSort ( )
23
23
)
24
24
25
25
const columnInfoById : Record <
You can’t perform that action at this time.
0 commit comments