chrv-components 1.12.140 → 1.12.141
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
|
@@ -10,8 +10,8 @@ import { CommonModule, AsyncPipe, DatePipe, formatDate, DATE_PIPE_DEFAULT_OPTION
|
|
|
10
10
|
import * as i1$3 from '@angular/cdk/overlay';
|
|
11
11
|
import { Overlay, CdkOverlayOrigin, CdkConnectedOverlay, CdkScrollable, CDK_CONNECTED_OVERLAY_DEFAULT_CONFIG } from '@angular/cdk/overlay';
|
|
12
12
|
import { ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
|
|
13
|
-
import { Subject, Observable, map, BehaviorSubject, skip, debounceTime as debounceTime$1, distinctUntilChanged, skipWhile, from, mergeMap, toArray, timer, takeUntil as takeUntil$1, of, catchError, forkJoin, take, combineLatest,
|
|
14
|
-
import { debounceTime, takeUntil, finalize as finalize$1, concatMap, switchMap
|
|
13
|
+
import { Subject, Observable, map, BehaviorSubject, skip, debounceTime as debounceTime$1, distinctUntilChanged, skipWhile, from, mergeMap, toArray, timer, takeUntil as takeUntil$1, of, catchError, forkJoin, take, combineLatest, finalize, tap, interval } from 'rxjs';
|
|
14
|
+
import { debounceTime, takeUntil, finalize as finalize$1, concatMap, switchMap, tap as tap$1, catchError as catchError$1 } from 'rxjs/operators';
|
|
15
15
|
import * as i1$2 from '@angular/forms';
|
|
16
16
|
import { NG_VALIDATORS, Validators, NgControl, ReactiveFormsModule, FormsModule, FormBuilder, FormControl } from '@angular/forms';
|
|
17
17
|
import { isValid, isBefore, formatDate as formatDate$1 } from 'date-fns';
|
|
@@ -4082,14 +4082,7 @@ class ChrPopoverDirective {
|
|
|
4082
4082
|
.pipe(map(([hostHovered, targetHovered, position]) => hostHovered ||
|
|
4083
4083
|
targetHovered ||
|
|
4084
4084
|
this.isInsideHost(position.x, position.y) ||
|
|
4085
|
-
this.isInsideTarget(position.x, position.y)), distinctUntilChanged(), takeUntilDestroyed(this.destroyRef)
|
|
4086
|
-
if (isInside) {
|
|
4087
|
-
return of(true);
|
|
4088
|
-
}
|
|
4089
|
-
else {
|
|
4090
|
-
return timer(100).pipe(map(() => false));
|
|
4091
|
-
}
|
|
4092
|
-
}))
|
|
4085
|
+
this.isInsideTarget(position.x, position.y)), distinctUntilChanged(), takeUntilDestroyed(this.destroyRef))
|
|
4093
4086
|
.subscribe((isInside) => {
|
|
4094
4087
|
if (isInside && !this.isOpen()) {
|
|
4095
4088
|
this.showPopover();
|
|
@@ -5507,7 +5500,7 @@ class LegacyToastService {
|
|
|
5507
5500
|
this.currentToastSubject.next(null);
|
|
5508
5501
|
}),
|
|
5509
5502
|
//Small delay between toasts
|
|
5510
|
-
switchMap
|
|
5503
|
+
switchMap(() => timer(500)));
|
|
5511
5504
|
}))
|
|
5512
5505
|
.subscribe();
|
|
5513
5506
|
}
|