Skip to content

Commit

Permalink
chore: 🤖 cleanup imports
Browse files Browse the repository at this point in the history
  • Loading branch information
TomTomB committed Jan 16, 2025
1 parent 61a0620 commit 5d2411a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 42 deletions.
3 changes: 1 addition & 2 deletions apps/playground/src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { JsonPipe } from '@angular/common';
import {
ChangeDetectionStrategy,
Component,
Expand Down Expand Up @@ -212,7 +211,7 @@ type GetUserQueryArgs = {
`,
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None,
imports: [JsonPipe],
imports: [],
})
export class DynCompComponent {
data = input.required<string>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,13 +292,7 @@ export class NewOverlaySubRoute3StorybookComponent {
host: {
class: 'et-sb-new-overlay-sub-route1-host',
},
imports: [
OverlayHeaderTemplateDirective,
OverlayRouterLinkDirective,
OverlayHeaderDirective,
OverlayFooterDirective,
OverlayBodyComponent,
],
imports: [OverlayRouterLinkDirective, OverlayHeaderDirective, OverlayFooterDirective, OverlayBodyComponent],
hostDirectives: [OverlayMainDirective],
})
export class NewOverlaySubRoute4StorybookComponent {
Expand Down Expand Up @@ -330,13 +324,7 @@ export class NewOverlaySubRoute4StorybookComponent {
host: {
class: 'et-sb-new-overlay-sub-route2-host',
},
imports: [
OverlayHeaderTemplateDirective,
OverlayRouterLinkDirective,
OverlayHeaderDirective,
OverlayFooterDirective,
OverlayBodyComponent,
],
imports: [OverlayRouterLinkDirective, OverlayHeaderDirective, OverlayFooterDirective, OverlayBodyComponent],
hostDirectives: [OverlayMainDirective],
})
export class NewOverlaySubRoute5StorybookComponent {
Expand Down Expand Up @@ -367,13 +355,7 @@ export class NewOverlaySubRoute5StorybookComponent {
host: {
class: 'et-sb-new-overlay-sub-route3-host',
},
imports: [
OverlayHeaderTemplateDirective,
OverlayRouterLinkDirective,
OverlayHeaderDirective,
OverlayFooterDirective,
OverlayBodyComponent,
],
imports: [OverlayRouterLinkDirective, OverlayHeaderDirective, OverlayFooterDirective, OverlayBodyComponent],
hostDirectives: [OverlayMainDirective],
})
export class NewOverlaySubRoute6StorybookComponent {
Expand Down Expand Up @@ -500,15 +482,9 @@ export class NewOverlayStorybookComponent {
`,
imports: [
OverlayRouterOutletComponent,
OverlayMainDirective,
OverlaySidebarComponent,
OverlayRouterLinkDirective,
OverlayHeaderDirective,
OverlayFooterDirective,
OverlayBodyComponent,
OverlayTitleDirective,
OverlayHeaderTemplateDirective,
OverlayRouteHeaderTemplateOutletComponent,
OverlayCloseDirective,
],
providers: [OverlayRouterService, SidebarOverlayService],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import {
import { outputFromObservable, takeUntilDestroyed, toObservable } from '@angular/core/rxjs-interop';
import {
NgClassType,
ObserveScrollStateDirective,
ScrollObserverScrollState,
ScrollToElementOptions,
createCanAnimateSignal,
Expand All @@ -40,10 +39,7 @@ import {
import { Subject, combineLatest, debounceTime, filter, fromEvent, map, of, switchMap, takeUntil, tap } from 'rxjs';
import { ChevronIconComponent } from '../../../icons/chevron-icon';
import { ScrollableIgnoreChildDirective, isScrollableChildIgnored } from '../../directives/scrollable-ignore-child';
import {
SCROLLABLE_IS_ACTIVE_CHILD_TOKEN,
ScrollableIsActiveChildDirective,
} from '../../directives/scrollable-is-active-child';
import { SCROLLABLE_IS_ACTIVE_CHILD_TOKEN } from '../../directives/scrollable-is-active-child';
import { SCROLLABLE_LOADING_TEMPLATE_TOKEN } from '../../directives/scrollable-loading-template';
import { ScrollableIntersectionChange, ScrollableScrollMode } from '../../types';

Expand Down Expand Up @@ -79,14 +75,7 @@ export type ScrollableLoadingTemplatePosition = 'start' | 'end';
styleUrls: ['./scrollable.component.scss'],
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [
ObserveScrollStateDirective,
NgClass,
ChevronIconComponent,
ScrollableIsActiveChildDirective,
ScrollableIgnoreChildDirective,
NgTemplateOutlet,
],
imports: [NgClass, ChevronIconComponent, ScrollableIgnoreChildDirective, NgTemplateOutlet],
host: {
class: 'et-scrollable',
},
Expand Down

0 comments on commit 5d2411a

Please sign in to comment.