1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | import { ChangeDetectorRef, EventEmitter, SimpleChanges, OnInit, OnChanges, OnDestroy } from '@angular/core';
|
7 | import { Subject } from 'rxjs';
|
8 | import { NbAccordionComponent } from './accordion.component';
|
9 | import { NbBooleanInput } from '../helpers';
|
10 | import * as i0 from "@angular/core";
|
11 |
|
12 |
|
13 |
|
14 | export declare class NbAccordionItemComponent implements OnInit, OnChanges, OnDestroy {
|
15 | private accordion;
|
16 | private cd;
|
17 | |
18 |
|
19 |
|
20 |
|
21 | get collapsed(): boolean;
|
22 | set collapsed(val: boolean);
|
23 | static ngAcceptInputType_collapsed: NbBooleanInput;
|
24 | |
25 |
|
26 |
|
27 |
|
28 | get expanded(): boolean;
|
29 | set expanded(val: boolean);
|
30 | static ngAcceptInputType_expanded: NbBooleanInput;
|
31 | |
32 |
|
33 |
|
34 |
|
35 | get disabled(): boolean;
|
36 | set disabled(val: boolean);
|
37 | static ngAcceptInputType_disabled: NbBooleanInput;
|
38 | |
39 |
|
40 |
|
41 |
|
42 | collapsedChange: EventEmitter<boolean>;
|
43 | accordionItemInvalidate: Subject<boolean>;
|
44 | private collapsedValue;
|
45 | private disabledValue;
|
46 | private destroy$;
|
47 | constructor(accordion: NbAccordionComponent, cd: ChangeDetectorRef);
|
48 | /**
|
49 | * Open/close the item
|
50 | */
|
51 | toggle(): void;
|
52 | /**
|
53 | * Open the item.
|
54 | */
|
55 | open(): void;
|
56 | /**
|
57 | * Collapse the item.
|
58 | */
|
59 | close(): void;
|
60 | ngOnInit(): void;
|
61 | ngOnChanges(changes: SimpleChanges): void;
|
62 | ngOnDestroy(): void;
|
63 | private invalidate;
|
64 | static ɵfac: i0.ɵɵFactoryDeclaration<NbAccordionItemComponent, [{ host: true; }, null]>;
|
65 | static ɵcmp: i0.ɵɵComponentDeclaration<NbAccordionItemComponent, "nb-accordion-item", never, { "collapsed": { "alias": "collapsed"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "collapsedChange": "collapsedChange"; }, never, ["nb-accordion-item-header", "nb-accordion-item-body"], false, never>;
|
66 | }
|