chrv-components 1.12.139 → 1.12.140
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, 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';
|
|
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, switchMap, finalize, tap, interval } from 'rxjs';
|
|
14
|
+
import { debounceTime, takeUntil, finalize as finalize$1, concatMap, switchMap as switchMap$1, 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,9 +4082,14 @@ 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)),
|
|
4086
|
-
|
|
4087
|
-
|
|
4085
|
+
this.isInsideTarget(position.x, position.y)), distinctUntilChanged(), takeUntilDestroyed(this.destroyRef), switchMap((isInside) => {
|
|
4086
|
+
if (isInside) {
|
|
4087
|
+
return of(true);
|
|
4088
|
+
}
|
|
4089
|
+
else {
|
|
4090
|
+
return timer(100).pipe(map(() => false));
|
|
4091
|
+
}
|
|
4092
|
+
}))
|
|
4088
4093
|
.subscribe((isInside) => {
|
|
4089
4094
|
if (isInside && !this.isOpen()) {
|
|
4090
4095
|
this.showPopover();
|
|
@@ -5502,7 +5507,7 @@ class LegacyToastService {
|
|
|
5502
5507
|
this.currentToastSubject.next(null);
|
|
5503
5508
|
}),
|
|
5504
5509
|
//Small delay between toasts
|
|
5505
|
-
switchMap(() => timer(500)));
|
|
5510
|
+
switchMap$1(() => timer(500)));
|
|
5506
5511
|
}))
|
|
5507
5512
|
.subscribe();
|
|
5508
5513
|
}
|