diff --git a/ui-ngx/src/app/shared/components/popover.component.ts b/ui-ngx/src/app/shared/components/popover.component.ts index d8f21aabb0..c1fd71c157 100644 --- a/ui-ngx/src/app/shared/components/popover.component.ts +++ b/ui-ngx/src/app/shared/components/popover.component.ts @@ -16,14 +16,30 @@ import { AfterViewInit, - ChangeDetectionStrategy, ChangeDetectorRef, - Component, ComponentFactory, ComponentFactoryResolver, ComponentRef, + ChangeDetectionStrategy, + ChangeDetectorRef, + Component, + ComponentFactory, + ComponentFactoryResolver, + ComponentRef, Directive, ElementRef, - EventEmitter, Injectable, Injector, - Input, OnChanges, OnDestroy, OnInit, Optional, - Output, Renderer2, SimpleChanges, - TemplateRef, Type, ViewChild, ViewContainerRef, ViewEncapsulation + EventEmitter, + Injectable, + Injector, + Input, + OnChanges, + OnDestroy, + OnInit, + Optional, + Output, + Renderer2, + SimpleChanges, + TemplateRef, + Type, + ViewChild, + ViewContainerRef, + ViewEncapsulation } from '@angular/core'; import { Direction, Directionality } from '@angular/cdk/bidi'; import { @@ -36,14 +52,14 @@ import { Subject, Subscription } from 'rxjs'; import { DEFAULT_POPOVER_POSITIONS, getPlacementName, - popoverMotion, PopoverPlacement, PopoverWithTrigger, - POSITION_MAP, PropertyMapping + popoverMotion, + PopoverPlacement, + PopoverWithTrigger, + POSITION_MAP, + PropertyMapping } from '@shared/components/popover.models'; import { distinctUntilChanged, takeUntil } from 'rxjs/operators'; -import { isDefinedAndNotNull, isNotEmptyStr, onParentScrollOrWindowResize } from '@core/utils'; -import { ScrollStrategyOptions } from '@angular/cdk/overlay/scroll/scroll-strategy-options'; -import { ScrollStrategy } from '@angular/cdk/overlay/scroll/scroll-strategy'; -import { taggedTemplate } from '@angular/compiler/src/output/output_ast'; +import { isNotEmptyStr, onParentScrollOrWindowResize } from '@core/utils'; import { HelpMarkdownComponent } from '@shared/components/help-markdown.component'; export type TbPopoverTrigger = 'click' | 'focus' | 'hover' | null;