@coreui/angular-pro 4.7.7 → 4.7.9
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.
- package/esm2022/lib/backdrop/backdrop.service.mjs +3 -2
- package/esm2022/lib/carousel/carousel/carousel.component.mjs +34 -34
- package/esm2022/lib/date-range-picker/date-range-picker/date-range-picker.component.mjs +7 -4
- package/esm2022/lib/multi-select/multi-select/multi-select.component.mjs +7 -7
- package/esm2022/lib/navbar/navbar.component.mjs +2 -2
- package/esm2022/lib/offcanvas/offcanvas/offcanvas.component.mjs +4 -4
- package/esm2022/lib/popover/popover.directive.mjs +19 -21
- package/esm2022/lib/services/intersection.service.mjs +29 -12
- package/esm2022/lib/sidebar/sidebar/sidebar.component.mjs +11 -12
- package/esm2022/lib/tooltip/tooltip.directive.mjs +16 -17
- package/fesm2022/coreui-angular-pro.mjs +133 -119
- package/fesm2022/coreui-angular-pro.mjs.map +1 -1
- package/lib/carousel/carousel/carousel.component.d.ts +1 -2
- package/lib/popover/popover.directive.d.ts +1 -1
- package/lib/services/intersection.service.d.ts +7 -9
- package/lib/tooltip/tooltip.directive.d.ts +1 -1
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ import { CarouselConfig } from '../carousel.config';
|
|
|
7
7
|
import { Triggers } from '../../coreui.types';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class CarouselComponent implements OnInit, OnDestroy, AfterContentInit {
|
|
10
|
+
#private;
|
|
10
11
|
private config;
|
|
11
12
|
private hostElement;
|
|
12
13
|
private carouselService;
|
|
@@ -68,9 +69,7 @@ export declare class CarouselComponent implements OnInit, OnDestroy, AfterConten
|
|
|
68
69
|
*/
|
|
69
70
|
itemChange: EventEmitter<number>;
|
|
70
71
|
get hostClasses(): any;
|
|
71
|
-
private carouselIndexSubscription?;
|
|
72
72
|
private timerId;
|
|
73
|
-
private intersectingSubscription?;
|
|
74
73
|
private activeItemInterval;
|
|
75
74
|
private swipeSubscription?;
|
|
76
75
|
constructor(config: CarouselConfig, hostElement: ElementRef, carouselService: CarouselService, carouselState: CarouselState, intersectionService: IntersectionService, listenersService: ListenersService);
|
|
@@ -5,6 +5,7 @@ import { ListenersService } from '../services/listeners.service';
|
|
|
5
5
|
import { IntersectionService } from '../services';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class PopoverDirective implements OnChanges, OnDestroy, OnInit, AfterViewInit {
|
|
8
|
+
#private;
|
|
8
9
|
private document;
|
|
9
10
|
private renderer;
|
|
10
11
|
private hostElement;
|
|
@@ -44,7 +45,6 @@ export declare class PopoverDirective implements OnChanges, OnDestroy, OnInit, A
|
|
|
44
45
|
private popoverRef;
|
|
45
46
|
private popperInstance;
|
|
46
47
|
private _popperOptions;
|
|
47
|
-
private intersectingSubscription?;
|
|
48
48
|
constructor(document: Document, renderer: Renderer2, hostElement: ElementRef, viewContainerRef: ViewContainerRef, listenersService: ListenersService, changeDetectorRef: ChangeDetectorRef, intersectionService: IntersectionService);
|
|
49
49
|
ngAfterViewInit(): void;
|
|
50
50
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
1
|
+
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export interface IIntersectionObserverInit {
|
|
4
4
|
root?: Element | null;
|
|
@@ -6,15 +6,13 @@ export interface IIntersectionObserverInit {
|
|
|
6
6
|
threshold?: number | number[];
|
|
7
7
|
}
|
|
8
8
|
export declare class IntersectionService implements OnDestroy {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
intersecting$: import("rxjs").Observable<
|
|
12
|
-
private intersectionObserver;
|
|
13
|
-
private hostElement;
|
|
9
|
+
#private;
|
|
10
|
+
platformId: Object;
|
|
11
|
+
readonly intersecting$: import("rxjs").Observable<any>;
|
|
14
12
|
private defaultObserverOptions;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
hostElementRefs: Map<ElementRef, IntersectionObserver | null>;
|
|
14
|
+
createIntersectionObserver(hostElement: ElementRef, observerOptions?: IIntersectionObserverInit): void;
|
|
15
|
+
unobserve(elementRef: ElementRef): void;
|
|
18
16
|
ngOnDestroy(): void;
|
|
19
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<IntersectionService, never>;
|
|
20
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<IntersectionService>;
|
|
@@ -5,6 +5,7 @@ import { ListenersService } from '../services/listeners.service';
|
|
|
5
5
|
import { IntersectionService } from '../services';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class TooltipDirective implements OnChanges, OnDestroy, OnInit, AfterViewInit {
|
|
8
|
+
#private;
|
|
8
9
|
private document;
|
|
9
10
|
private renderer;
|
|
10
11
|
private hostElement;
|
|
@@ -44,7 +45,6 @@ export declare class TooltipDirective implements OnChanges, OnDestroy, OnInit, A
|
|
|
44
45
|
private tooltipRef;
|
|
45
46
|
private popperInstance;
|
|
46
47
|
private _popperOptions;
|
|
47
|
-
private intersectingSubscription?;
|
|
48
48
|
constructor(document: Document, renderer: Renderer2, hostElement: ElementRef, viewContainerRef: ViewContainerRef, listenersService: ListenersService, changeDetectorRef: ChangeDetectorRef, intersectionService: IntersectionService);
|
|
49
49
|
ngAfterViewInit(): void;
|
|
50
50
|
ngOnChanges(changes: SimpleChanges): void;
|
package/package.json
CHANGED