Skip to content

Commit e646fe7

Browse files
committed
wip
1 parent bbb8b69 commit e646fe7

File tree

1 file changed

+3
-72
lines changed

1 file changed

+3
-72
lines changed

src/material-experimental/column-resize/column-resize.ts

Lines changed: 3 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -41,78 +41,9 @@ export abstract class AbstractMatColumnResize extends ColumnResize {
4141
}
4242
}
4343

44-
@Directive({
45-
selector: 'table[mat-table]',
46-
host: TABLE_HOST_BINDINGS,
47-
providers: [
48-
...TABLE_PROVIDERS,
49-
{provide: ColumnResize, useExisting: MatDefaultEnabledColumnResize},
50-
],
51-
})
52-
export class MatDefaultEnabledColumnResize extends AbstractMatColumnResize {
53-
constructor(
54-
readonly directionality: Directionality,
55-
protected readonly elementRef: ElementRef,
56-
protected readonly eventDispatcher: HeaderRowEventDispatcher,
57-
protected readonly ngZone: NgZone,
58-
protected readonly notifier: ColumnResizeNotifierSource) {
59-
super();
60-
}
61-
}
6244

63-
@Directive({
64-
selector: 'mat-table',
65-
host: FLEX_HOST_BINDINGS,
66-
providers: [
67-
...FLEX_PROVIDERS,
68-
{provide: ColumnResize, useExisting: MatDefaultEnabledColumnResizeFlex},
69-
],
70-
})
71-
export class MatDefaultEnabledColumnResizeFlex extends AbstractMatColumnResize {
72-
constructor(
73-
readonly directionality: Directionality,
74-
protected readonly elementRef: ElementRef,
75-
protected readonly eventDispatcher: HeaderRowEventDispatcher,
76-
protected readonly ngZone: NgZone,
77-
protected readonly notifier: ColumnResizeNotifierSource) {
78-
super();
79-
}
80-
}
8145

82-
@Directive({
83-
selector: 'table[mat-table][columnResize]',
84-
host: TABLE_HOST_BINDINGS,
85-
providers: [
86-
...TABLE_PROVIDERS,
87-
{provide: ColumnResize, useExisting: MatColumnResize},
88-
],
89-
})
90-
export class MatColumnResize extends AbstractMatColumnResize {
91-
constructor(
92-
readonly directionality: Directionality,
93-
protected readonly elementRef: ElementRef,
94-
protected readonly eventDispatcher: HeaderRowEventDispatcher,
95-
protected readonly ngZone: NgZone,
96-
protected readonly notifier: ColumnResizeNotifierSource) {
97-
super();
98-
}
99-
}
10046

101-
@Directive({
102-
selector: 'mat-table[columnResize]',
103-
host: FLEX_HOST_BINDINGS,
104-
providers: [
105-
...FLEX_PROVIDERS,
106-
{provide: ColumnResize, useExisting: MatColumnResizeFlex},
107-
],
108-
})
109-
export class MatColumnResizeFlex extends AbstractMatColumnResize {
110-
constructor(
111-
readonly directionality: Directionality,
112-
protected readonly elementRef: ElementRef,
113-
protected readonly eventDispatcher: HeaderRowEventDispatcher,
114-
protected readonly ngZone: NgZone,
115-
protected readonly notifier: ColumnResizeNotifierSource) {
116-
super();
117-
}
118-
}
47+
48+
49+

0 commit comments

Comments
 (0)