Skip to content

Commit

Permalink
Removed unused modules
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardoperra committed Dec 21, 2024
1 parent e207bba commit 14488f5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
3 changes: 1 addition & 2 deletions examples/angular/filters/src/app/table-filter.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { CommonModule } from '@angular/common'
import { Component, computed, input } from '@angular/core'
import { DebouncedInputDirective } from './debounced-input.directive'
import type { _features } from './app.component'
Expand Down Expand Up @@ -89,7 +88,7 @@ declare module '@tanstack/angular-table' {
<div class="h-1"></div>
}
`,
imports: [CommonModule, DebouncedInputDirective],
imports: [DebouncedInputDirective],
})
export class FilterComponent {
column = input.required<Column<typeof _features, Person>>()
Expand Down
3 changes: 1 addition & 2 deletions examples/angular/grouping/src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { CommonModule } from '@angular/common'
import {
ChangeDetectionStrategy,
Component,
Expand Down Expand Up @@ -35,7 +34,7 @@ export const _features = tableFeatures({
@Component({
selector: 'app-root',
standalone: true,
imports: [FlexRenderDirective, CommonModule],
imports: [FlexRenderDirective],
templateUrl: './app.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
})
Expand Down
6 changes: 2 additions & 4 deletions examples/angular/row-selection-signal/src/app/filter.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { CommonModule } from '@angular/common'
import { Component, input } from '@angular/core'
import type { OnInit } from '@angular/core'
import type { Column, RowData, Table } from '@tanstack/angular-table'

@Component({
selector: 'app-table-filter',
template: ` @if (columnType) {
selector: 'app-table-filter',
template: ` @if (columnType) {
@if (columnType == 'number') {
<div class="flex space-x-2">
<input
Expand Down Expand Up @@ -36,7 +35,6 @@ import type { Column, RowData, Table } from '@tanstack/angular-table'
/>
}
}`,
imports: [CommonModule]
})
export class FilterComponent<T extends RowData> implements OnInit {
column = input.required<Column<any, any>>()
Expand Down
2 changes: 0 additions & 2 deletions examples/angular/row-selection/src/app/filter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { CommonModule } from '@angular/common'
import { Component, input } from '@angular/core'
import type { OnInit } from '@angular/core'
import type { Column, Table } from '@tanstack/angular-table'
Expand Down Expand Up @@ -37,7 +36,6 @@ import type { Column, Table } from '@tanstack/angular-table'
}
}`,
standalone: true,
imports: [CommonModule],
})
export class FilterComponent<T> implements OnInit {
column = input.required<Column<any, any, any>>()
Expand Down

0 comments on commit 14488f5

Please sign in to comment.