Skip to content

Commit

Permalink
fix: more rxjs operators import fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamChelman committed Jul 5, 2024
1 parent 26a2ee9 commit c38072d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion libs/cdk/file-drop-zone/file-drop-zone.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import {
Output,
} from '@angular/core';
import { OnDestroy$ } from '@cognizone/ng-core';
import { BehaviorSubject, debounceTime, distinctUntilChanged, EMPTY, fromEvent, identity, map, merge, switchMap } from 'rxjs';
import { BehaviorSubject, EMPTY, fromEvent, identity, merge } from 'rxjs';
import { debounceTime, distinctUntilChanged, map, switchMap } from 'rxjs/operators';

import { FileDropZoneService } from './file-drop-zone.service';

Expand Down
3 changes: 2 additions & 1 deletion libs/cdk/file-drop-zone/file-drop-zone.service.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Injectable, NgZone, inject } from '@angular/core';
import { SubSink, notNil } from '@cognizone/model-utils';
import { fromEvent, merge, filter } from 'rxjs';
import { fromEvent, merge } from 'rxjs';
import { filter } from 'rxjs/operators';

@Injectable({
providedIn: 'root',
Expand Down
2 changes: 1 addition & 1 deletion libs/cdk/loading/abstract-load.directive.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ChangeDetectorRef, Directive, inject, OnChanges, TemplateRef, ViewContainerRef } from '@angular/core';
import { LoadingService, OnDestroy$ } from '@cognizone/ng-core';
import { distinctUntilChanged, map } from 'rxjs';
import { distinctUntilChanged, map } from 'rxjs/operators';

@Directive({
standalone: true,
Expand Down
3 changes: 2 additions & 1 deletion libs/cdk/scrolling/scroll-to-child-when-ready.directive.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { AfterViewInit, Directive, ElementRef, inject, InjectionToken, Input, NgZone, OnChanges } from '@angular/core';
import { Nil, notNil } from '@cognizone/model-utils';
import { OnDestroy$ } from '@cognizone/ng-core';
import { debounceTime, filter, first, identity, map, Observable, startWith } from 'rxjs';
import { identity, Observable } from 'rxjs';
import { debounceTime, filter, first, map, startWith } from 'rxjs/operators';

interface ScrollToChildWhenReadyOptions {
debounceTime?: number;
Expand Down
3 changes: 2 additions & 1 deletion libs/ui-kit/toggletip/toggletip-trigger-for.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ import {
ViewContainerRef,
} from '@angular/core';
import { OnDestroy$ } from '@cognizone/ng-core';
import { filter, first, fromEvent } from 'rxjs';
import { fromEvent } from 'rxjs';
import { filter, first } from 'rxjs/operators';

import { ToggletipComponent } from './toggletip.component';

Expand Down

0 comments on commit c38072d

Please sign in to comment.