UNPKG

lct-components

Version:
41 lines (40 loc) 2.2 kB
import { AfterViewInit, ComponentFactoryResolver, ComponentRef, ElementRef, EventEmitter, OnChanges, OnInit, Renderer2, SimpleChanges, ViewContainerRef } from '@angular/core'; import { ModalManualInputAlertComponent } from '../modal/modal-manual-input-alert/modal-manual-input-alert'; import { ManualInputAlertType } from '../modal/modal-manual-input-alert/modal-manual-input-alert.types'; import * as i0 from "@angular/core"; export declare class ButtonComponent implements OnInit, AfterViewInit, OnChanges { private renderer; private resolver; private viewContainerRef; title: string; buttonType: 'primary' | 'enabled' | 'secondary' | 'tertiary' | 'quaternary' | 'quintary' | 'sextary' | 'error' | 'success'; disabled: 'true' | 'false' | 'disabled' | boolean | ''; shape: 'normal' | 'round'; icon: string; width: string; height: string; bold: 'true' | 'false' | boolean; iconWidth: number; iconHeight: number; counter: number; isMobile: boolean; id?: string; userId?: string; alertIconPath?: string; alertManualInput: EventEmitter<ManualInputAlertType>; button: ElementRef | undefined; disabledValue: boolean; boldValue: boolean; componentRef2: ComponentRef<ModalManualInputAlertComponent> | undefined; get buttonId(): string | null; constructor(renderer: Renderer2, resolver: ComponentFactoryResolver, viewContainerRef: ViewContainerRef); ngAfterViewInit(): void; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; renderButtonType(): void; openModalInputAlert(): void; onButtonClick(): void; closeModal(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "lct-button", never, { "title": "title"; "buttonType": "buttonType"; "disabled": "disabled"; "shape": "shape"; "icon": "icon"; "width": "width"; "height": "height"; "bold": "bold"; "iconWidth": "iconWidth"; "iconHeight": "iconHeight"; "counter": "counter"; "isMobile": "isMobile"; "id": "id"; "userId": "userId"; "alertIconPath": "alertIconPath"; }, { "alertManualInput": "alertManualInput"; }, never, never>; }