import { OnInit, EventEmitter, ElementRef } from '@angular/core'; import { CfCoreComponent } from '../core/core.component'; import { CfCheckboxComponent } from '../checkbox/checkbox.component'; import { ItemModel } from '../../models/item/item.model'; import { ItemStylingModel } from '../../models/item/item-styling.model'; import { TemplateService } from '../../services/template-service/template.service'; export declare class CfItemComponent extends CfCoreComponent implements OnInit { /** @hidden */ elementRef: ElementRef; /** @hidden */ checkbox: CfCheckboxComponent; /** * It is an attribute [properties] of directive cf-item which take ItemModel object. *

Example of model:

*
{{'{'}}
     *  disable: true,
     *  details: true,
     *  selected: true,
     *  selectable: true,
     *  withCheckbox: true
     * {{'}'}}
*

disable: boolean

* If item is disable to select/unselect *

details: boolean

* If item will have details section in html *

selected: boolean

* If item is selected *

selectable: boolean

* If item is selectable *

withCheckbox: boolean

* If item will have checkbox */ properties: ItemModel; /** * It is an attribute [styling] of cf-item which take ItemStylingModel object with next properties: *

container: StylingModel

* Styling properties for component container *

item: StylingModel

* Styling properties for item if it is not selected *

selectedItem: StylingModel

* Styling properties for item if it is selected */ styling: ItemStylingModel; /** * True if the item will contain a details tab */ details: boolean; /** * True if the item will be selectable */ selectable: boolean; /** * True if the item will be displayed with checkbox */ withCheckbox: boolean; /** * True if the item will be selected */ selected: boolean; /** @hidden */ selectedChange: EventEmitter; /** @hidden */ itemClicked: EventEmitter<{}>; /** @hidden */ internalId: number; /** @hidden * Set to true when the user presses on the details icon. */ showDetails: boolean; /** @hidden */ constructor(/** @hidden */ elementRef: ElementRef, /** @hidden */ templateService: TemplateService); /** @hidden */ ngOnInit(): void; /** @hidden */ selectMe(): void; /** @hidden */ notifyList(): void; }