UNPKG

ontimize-web-ngx

Version:
45 lines (44 loc) 2.39 kB
import { AfterViewInit, ChangeDetectorRef, ElementRef, Injector, OnDestroy, QueryList, ViewContainerRef } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { Subscription } from 'rxjs'; import { OTranslateService } from '../../services/translate/o-translate.service'; import * as i0 from "@angular/core"; export declare const DEFAULT_INPUTS_O_MENU_CARD: string[]; export declare const DEFAULT_OUTPUTS_O_MENU_CARD: any[]; export declare class OCardMenuItemComponent implements AfterViewInit, OnDestroy { protected injector: Injector; protected router: Router; protected actRoute: ActivatedRoute; protected cd: ChangeDetectorRef; protected elRef: ElementRef; title: string; image: string; icon: string; tooltip: string; buttonText: string; disabledButton: boolean; mainContainerLayout: string; secondaryContainerLayout: string; route: string; action: () => void; detailComponent: any; detailComponentInputs: object; protected _detailComponentContainer: ViewContainerRef; set detailComponentContainer(content: ViewContainerRef); get detailComponentContainer(): ViewContainerRef; protected translateService: OTranslateService; protected translateServiceSubscription: Subscription; secondaryContent: QueryList<any>; protected _showSecondaryContainer: boolean; constructor(injector: Injector, router: Router, actRoute: ActivatedRoute, cd: ChangeDetectorRef, elRef: ElementRef); ngAfterViewInit(): void; ngOnDestroy(): void; useImage(): boolean; useIcon(): boolean; onButtonClick(): void; onClick(): void; get showSecondaryContainer(): boolean; set showSecondaryContainer(val: boolean); static ɵfac: i0.ɵɵFactoryDeclaration<OCardMenuItemComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<OCardMenuItemComponent, "o-card-menu-item", never, { "title": "title"; "image": "image"; "icon": "icon"; "tooltip": "tooltip"; "buttonText": "button-text"; "disabledButton": "disabled-button"; "mainContainerLayout": "main-container-layout"; "secondaryContainerLayout": "secondary-container-layout"; "route": "route"; "detailComponent": "detail-component"; "detailComponentInputs": "detail-component-inputs"; "action": "action"; }, {}, ["secondaryContent"], [".secondary-container", ".main-container"], false, never>; }