@alauda/ui 6.5.7-beta.9 → 6.5.7

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.
@@ -5,7 +5,7 @@ import * as i2 from '@angular/common';
5
5
  import { DOCUMENT, CommonModule } from '@angular/common';
6
6
  import * as i2$1 from '@angular/cdk/a11y';
7
7
  import { FocusKeyManager, A11yModule } from '@angular/cdk/a11y';
8
- import { Observable, ReplaySubject, share, startWith, map, distinctUntilChanged, Subject, takeUntil, filter, take, merge, fromEvent, combineLatest, debounceTime, switchMap, of, EMPTY, tap, BehaviorSubject, withLatestFrom, first, throttleTime, pluck, firstValueFrom, NEVER, observeOn, animationFrameScheduler, repeat, takeWhile, endWith, Subscription } from 'rxjs';
8
+ import { Observable, ReplaySubject, share, startWith, map, distinctUntilChanged, Subject, takeUntil, filter, take, merge, fromEvent, combineLatest, debounceTime, switchMap, of, EMPTY, tap, BehaviorSubject, withLatestFrom, throttleTime, pluck, firstValueFrom, NEVER, observeOn, animationFrameScheduler, repeat, takeWhile, endWith, Subscription } from 'rxjs';
9
9
  import * as i1 from '@angular/common/http';
10
10
  import { HttpClient } from '@angular/common/http';
11
11
  import { trigger, state, style, transition, animate, query } from '@angular/animations';
@@ -1214,15 +1214,7 @@ class AutocompleteComponent {
1214
1214
  this.hasContent$ = combineLatest([
1215
1215
  this.hasVisibleSuggestion$,
1216
1216
  this.placeholder.changes.pipe(startWith(this.placeholder), map((list) => !!list.length)),
1217
- ]).pipe(map(([hasVisibleSuggestion, hasPlaceholder]) => hasVisibleSuggestion || hasPlaceholder), distinctUntilChanged(), tap(hasContent => {
1218
- if (hasContent) {
1219
- this.directive$$.pipe(first()).subscribe(directive => {
1220
- window.requestAnimationFrame(() => {
1221
- directive.overlayRef.updatePosition();
1222
- });
1223
- });
1224
- }
1225
- }));
1217
+ ]).pipe(map(([hasVisibleSuggestion, hasPlaceholder]) => hasVisibleSuggestion || hasPlaceholder));
1226
1218
  }
1227
1219
  }
1228
1220
  AutocompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: AutocompleteComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
@@ -1539,7 +1531,6 @@ class BaseTooltip {
1539
1531
  .position()
1540
1532
  .flexibleConnectedTo(this.elRef)
1541
1533
  .withGrowAfterOpen(true)
1542
- .withPush(false)
1543
1534
  .withPositions([
1544
1535
  { ...originPosition.main, ...overlayPosition.main },
1545
1536
  { ...originPosition.fallback, ...overlayPosition.fallback },