@coreui/angular-pro 5.0.0-alpha.5 → 5.0.0-alpha.6
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/LICENSE +2 -3
- package/README.md +2 -2
- package/esm2022/lib/backdrop/backdrop.service.mjs +2 -2
- package/esm2022/lib/carousel/carousel/carousel.component.mjs +58 -60
- 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 +10 -10
- 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/public_api.mjs +2 -2
- package/esm2022/lib/sidebar/sidebar/sidebar.component.mjs +11 -12
- package/esm2022/lib/smart-table/smart-table.type.mjs +1 -1
- package/esm2022/lib/toast/toast/toast.component.mjs +5 -5
- package/esm2022/lib/tooltip/tooltip.directive.mjs +16 -17
- package/fesm2022/coreui-angular-pro.mjs +163 -151
- package/fesm2022/coreui-angular-pro.mjs.map +1 -1
- package/lib/carousel/carousel/carousel.component.d.ts +9 -10
- package/lib/multi-select/multi-select/multi-select.component.d.ts +8 -8
- package/lib/popover/popover.directive.d.ts +1 -1
- package/lib/services/intersection.service.d.ts +7 -9
- package/lib/sidebar/public_api.d.ts +1 -1
- package/lib/smart-table/smart-table.type.d.ts +2 -0
- package/lib/toast/toast/toast.component.d.ts +1 -1
- package/lib/tooltip/tooltip.directive.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterContentInit, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { IntersectionService } from '../../services
|
|
3
|
-
import { ListenersService } from '../../services
|
|
2
|
+
import { IntersectionService } from '../../services';
|
|
3
|
+
import { ListenersService } from '../../services';
|
|
4
4
|
import { Triggers } from '../../coreui.types';
|
|
5
5
|
import { CarouselState } from '../carousel-state';
|
|
6
6
|
import { CarouselService } from '../carousel.service';
|
|
@@ -8,6 +8,7 @@ import { CarouselConfig } from '../carousel.config';
|
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
import * as i1 from "../../shared/theme.directive";
|
|
10
10
|
export declare class CarouselComponent implements OnInit, OnDestroy, AfterContentInit {
|
|
11
|
+
#private;
|
|
11
12
|
private config;
|
|
12
13
|
private hostElement;
|
|
13
14
|
private carouselService;
|
|
@@ -64,22 +65,20 @@ export declare class CarouselComponent implements OnInit, OnDestroy, AfterConten
|
|
|
64
65
|
* @type number
|
|
65
66
|
*/
|
|
66
67
|
itemChange: EventEmitter<number>;
|
|
67
|
-
|
|
68
|
+
get hostClasses(): any;
|
|
68
69
|
private timerId;
|
|
69
|
-
private intersectingSubscription?;
|
|
70
70
|
private activeItemInterval;
|
|
71
71
|
private swipeSubscription?;
|
|
72
|
-
get hostClasses(): any;
|
|
73
|
-
private _visible;
|
|
74
|
-
get visible(): boolean;
|
|
75
|
-
set visible(value: boolean);
|
|
76
72
|
ngOnInit(): void;
|
|
77
73
|
ngOnDestroy(): void;
|
|
78
74
|
ngAfterContentInit(): void;
|
|
79
|
-
setTimer(): void;
|
|
80
|
-
resetTimer(): void;
|
|
81
75
|
private setListeners;
|
|
82
76
|
private clearListeners;
|
|
77
|
+
set visible(value: boolean);
|
|
78
|
+
get visible(): boolean;
|
|
79
|
+
private _visible;
|
|
80
|
+
setTimer(): void;
|
|
81
|
+
resetTimer(): void;
|
|
83
82
|
private carouselStateSubscribe;
|
|
84
83
|
private intersectionServiceSubscribe;
|
|
85
84
|
private swipeSubscribe;
|
|
@@ -13,7 +13,7 @@ interface IPluralMap {
|
|
|
13
13
|
[k: string]: string;
|
|
14
14
|
}
|
|
15
15
|
export declare const observeReferenceModifier: Modifier<string, any>;
|
|
16
|
-
export declare class MultiSelectComponent<
|
|
16
|
+
export declare class MultiSelectComponent<TValue extends string | number> implements IMultiSelect<TValue>, ControlValueAccessor, AfterViewInit, OnChanges, OnDestroy, OnInit {
|
|
17
17
|
#private;
|
|
18
18
|
private elementRef;
|
|
19
19
|
private renderer;
|
|
@@ -29,10 +29,10 @@ export declare class MultiSelectComponent<T extends string | number> implements
|
|
|
29
29
|
readonly userOptionsArray$: BehaviorSubject<IOption[]>;
|
|
30
30
|
readonly optionsSelected$: BehaviorSubject<IOption[]>;
|
|
31
31
|
readonly optionsSelected: Map<any, IOption>;
|
|
32
|
-
readonly value$: BehaviorSubject<
|
|
32
|
+
readonly value$: BehaviorSubject<TValue[]>;
|
|
33
33
|
onChange: (value: any) => void;
|
|
34
34
|
onTouched: () => void;
|
|
35
|
-
writeValue(value:
|
|
35
|
+
writeValue(value: TValue | TValue[]): void;
|
|
36
36
|
registerOnChange(fn: any): void;
|
|
37
37
|
registerOnTouched(fn: any): void;
|
|
38
38
|
setDisabledState(isDisabled: boolean): void;
|
|
@@ -185,15 +185,15 @@ export declare class MultiSelectComponent<T extends string | number> implements
|
|
|
185
185
|
size?: 'sm' | 'lg';
|
|
186
186
|
/**
|
|
187
187
|
* Initial value of multi-select
|
|
188
|
-
* @type
|
|
188
|
+
* @type TValue | TValue[]
|
|
189
189
|
*/
|
|
190
|
-
set value(value:
|
|
191
|
-
get value():
|
|
190
|
+
set value(value: TValue | TValue[]);
|
|
191
|
+
get value(): TValue | TValue[];
|
|
192
192
|
/**
|
|
193
193
|
* Emits valueChange
|
|
194
|
-
* @type
|
|
194
|
+
* @type TValue | TValue[]
|
|
195
195
|
*/
|
|
196
|
-
readonly valueChange: EventEmitter<
|
|
196
|
+
readonly valueChange: EventEmitter<TValue | TValue[]>;
|
|
197
197
|
/**
|
|
198
198
|
* Toggle visual validation feedback.
|
|
199
199
|
* @type boolean | undefined
|
|
@@ -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,5 +5,5 @@ export { SidebarToggleDirective } from './sidebar-toggle/sidebar-toggle.directiv
|
|
|
5
5
|
export { SidebarTogglerComponent } from './sidebar-toggler/sidebar-toggler.component';
|
|
6
6
|
export { SidebarHeaderComponent } from './sidebar-header/sidebar-header.component';
|
|
7
7
|
export { SidebarFooterComponent } from './sidebar-footer/sidebar-footer.component';
|
|
8
|
-
export { SidebarNavComponent, INavData } from './sidebar-nav';
|
|
8
|
+
export { SidebarNavComponent, INavData, SidebarNavHelper } from './sidebar-nav';
|
|
9
9
|
export { SidebarModule } from './sidebar.module';
|
|
@@ -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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coreui/angular-pro",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.6",
|
|
4
4
|
"description": "CoreUI Pro Components Library for Angular",
|
|
5
|
-
"copyright": "Copyright
|
|
5
|
+
"copyright": "Copyright 2024 creativeLabs Łukasz Holeczek",
|
|
6
6
|
"homepage": "https://coreui.io/angular",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "creativeLabs Łukasz Holeczek",
|