@coreui/angular-pro 4.0.0-alpha.11 → 4.0.0-alpha.12
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/esm2020/lib/accordion/accordion-item/accordion-item.component.mjs +21 -11
- package/esm2020/lib/accordion/accordion.service.mjs +2 -2
- package/esm2020/lib/collapse/collapse.directive.mjs +5 -2
- package/fesm2015/coreui-angular-pro.mjs +24 -12
- package/fesm2015/coreui-angular-pro.mjs.map +1 -1
- package/fesm2020/coreui-angular-pro.mjs +24 -12
- package/fesm2020/coreui-angular-pro.mjs.map +1 -1
- package/lib/accordion/accordion-item/accordion-item.component.d.ts +6 -1
- package/lib/accordion/accordion.service.d.ts +1 -1
- package/lib/collapse/collapse.directive.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import { AfterContentInit, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
2
|
import { AccordionService } from '../accordion.service';
|
|
3
3
|
import { TemplateIdDirective } from '../../shared';
|
|
4
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class AccordionItemComponent implements OnInit, OnDestroy, AfterContentInit {
|
|
6
7
|
private accordionService;
|
|
8
|
+
static ngAcceptInputType_visible: BooleanInput;
|
|
7
9
|
/**
|
|
8
10
|
* Toggle an accordion item programmatically
|
|
9
11
|
* @type boolean
|
|
10
12
|
* @default false
|
|
11
13
|
*/
|
|
12
|
-
visible: boolean;
|
|
14
|
+
set visible(value: boolean);
|
|
15
|
+
get visible(): boolean;
|
|
16
|
+
private _visible;
|
|
13
17
|
set open(value: boolean);
|
|
18
|
+
get open(): boolean;
|
|
14
19
|
get hostClasses(): any;
|
|
15
20
|
contentId: string;
|
|
16
21
|
itemContext: {
|
|
@@ -6,7 +6,7 @@ export declare class AccordionService {
|
|
|
6
6
|
constructor();
|
|
7
7
|
addItem(item: AccordionItemComponent): void;
|
|
8
8
|
removeItem(item: AccordionItemComponent): void;
|
|
9
|
-
|
|
9
|
+
toggleItem(item: AccordionItemComponent): void;
|
|
10
10
|
closeOtherItems(openItem: AccordionItemComponent): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionService, never>;
|
|
12
12
|
static ɵprov: i0.ɵɵInjectableDeclaration<AccordionService>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DoCheck, ElementRef, EventEmitter, OnChanges, OnDestroy, Renderer2, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, DoCheck, ElementRef, EventEmitter, OnChanges, OnDestroy, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { AnimationBuilder } from '@angular/animations';
|
|
3
3
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CollapseDirective implements OnChanges, OnDestroy, DoCheck {
|
|
5
|
+
export declare class CollapseDirective implements OnChanges, OnDestroy, DoCheck, AfterViewInit {
|
|
6
6
|
private hostElement;
|
|
7
7
|
private renderer;
|
|
8
8
|
private animationBuilder;
|
|
@@ -48,6 +48,7 @@ export declare class CollapseDirective implements OnChanges, OnDestroy, DoCheck
|
|
|
48
48
|
toggle(visible?: boolean): void;
|
|
49
49
|
destroyPlayer(): void;
|
|
50
50
|
createPlayer(visible?: boolean): void;
|
|
51
|
+
ngAfterViewInit(): void;
|
|
51
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<CollapseDirective, never>;
|
|
52
53
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CollapseDirective, "[cCollapse]", ["cCollapse"], { "animate": "animate"; "visible": "visible"; "navbar": "navbar"; "duration": "duration"; "transition": "transition"; }, { "collapseChange": "collapseChange"; }, never>;
|
|
53
54
|
}
|