File tree Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1010 @if (!header.isPlaceholder) {
1111 < div
1212 [ngClass] ="{
13- 'cursor-pointer select-none': header.column.getCanSort(),
13+ 'cursor-pointer select-none': header.column.getCanSort()
1414 } "
1515 >
1616 < ng-container
Original file line number Diff line number Diff line change @@ -12,8 +12,9 @@ const props = defineProps({
1212 required: true ,
1313 },
1414})
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 )
1718)
1819const columnFilterValue = computed (() => props .column .getFilterValue ())
1920const sortedUniqueValues = computed (() =>
Original file line number Diff line number Diff line change @@ -69,8 +69,8 @@ const arrIncludesSome: FilterFn<any> = (
6969 columnId : string ,
7070 filterValue : unknown [ ]
7171) => {
72- return filterValue . some ( val =>
73- row . getValue < unknown [ ] > ( columnId ) ?. includes ( val )
72+ return filterValue . some (
73+ val => row . getValue < unknown [ ] > ( columnId ) ?. includes ( val )
7474 )
7575}
7676
Original file line number Diff line number Diff line change @@ -65,12 +65,11 @@ type DeepKeysPrefix<
6565 ? `${TPrefix } .${DeepKeys < T [ TPrefix ] , [ ...TDepth , any ] > & string } `
6666 : never
6767
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
7473
7574export type NoInfer < T > = [ T ] [ T extends any ? 0 : never ]
7675
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ export function getSortedRowModel<TData extends RowData>(): (
1818 const sortedFlatRows : Row < TData > [ ] = [ ]
1919
2020 // 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 ( )
2323 )
2424
2525 const columnInfoById : Record <
You can’t perform that action at this time.
0 commit comments