Showing
1 changed file
with
28 additions
and
12 deletions
... | ... | @@ -16,14 +16,30 @@ |
16 | 16 | |
17 | 17 | import { |
18 | 18 | AfterViewInit, |
19 | - ChangeDetectionStrategy, ChangeDetectorRef, | |
20 | - Component, ComponentFactory, ComponentFactoryResolver, ComponentRef, | |
19 | + ChangeDetectionStrategy, | |
20 | + ChangeDetectorRef, | |
21 | + Component, | |
22 | + ComponentFactory, | |
23 | + ComponentFactoryResolver, | |
24 | + ComponentRef, | |
21 | 25 | Directive, |
22 | 26 | ElementRef, |
23 | - EventEmitter, Injectable, Injector, | |
24 | - Input, OnChanges, OnDestroy, OnInit, Optional, | |
25 | - Output, Renderer2, SimpleChanges, | |
26 | - TemplateRef, Type, ViewChild, ViewContainerRef, ViewEncapsulation | |
27 | + EventEmitter, | |
28 | + Injectable, | |
29 | + Injector, | |
30 | + Input, | |
31 | + OnChanges, | |
32 | + OnDestroy, | |
33 | + OnInit, | |
34 | + Optional, | |
35 | + Output, | |
36 | + Renderer2, | |
37 | + SimpleChanges, | |
38 | + TemplateRef, | |
39 | + Type, | |
40 | + ViewChild, | |
41 | + ViewContainerRef, | |
42 | + ViewEncapsulation | |
27 | 43 | } from '@angular/core'; |
28 | 44 | import { Direction, Directionality } from '@angular/cdk/bidi'; |
29 | 45 | import { |
... | ... | @@ -36,14 +52,14 @@ import { Subject, Subscription } from 'rxjs'; |
36 | 52 | import { |
37 | 53 | DEFAULT_POPOVER_POSITIONS, |
38 | 54 | getPlacementName, |
39 | - popoverMotion, PopoverPlacement, PopoverWithTrigger, | |
40 | - POSITION_MAP, PropertyMapping | |
55 | + popoverMotion, | |
56 | + PopoverPlacement, | |
57 | + PopoverWithTrigger, | |
58 | + POSITION_MAP, | |
59 | + PropertyMapping | |
41 | 60 | } from '@shared/components/popover.models'; |
42 | 61 | import { distinctUntilChanged, takeUntil } from 'rxjs/operators'; |
43 | -import { isDefinedAndNotNull, isNotEmptyStr, onParentScrollOrWindowResize } from '@core/utils'; | |
44 | -import { ScrollStrategyOptions } from '@angular/cdk/overlay/scroll/scroll-strategy-options'; | |
45 | -import { ScrollStrategy } from '@angular/cdk/overlay/scroll/scroll-strategy'; | |
46 | -import { taggedTemplate } from '@angular/compiler/src/output/output_ast'; | |
62 | +import { isNotEmptyStr, onParentScrollOrWindowResize } from '@core/utils'; | |
47 | 63 | import { HelpMarkdownComponent } from '@shared/components/help-markdown.component'; |
48 | 64 | |
49 | 65 | export type TbPopoverTrigger = 'click' | 'focus' | 'hover' | null; | ... | ... |