[59329aa] | 1 | import { AfterViewInit, AfterViewChecked, OnDestroy, ElementRef, ChangeDetectorRef } from '@angular/core';
|
---|
| 2 | import { TerminalService } from './terminalservice';
|
---|
| 3 | import { Subscription } from 'rxjs';
|
---|
| 4 | import * as i0 from "@angular/core";
|
---|
| 5 | import * as i1 from "@angular/common";
|
---|
| 6 | import * as i2 from "@angular/forms";
|
---|
| 7 | export declare class Terminal implements AfterViewInit, AfterViewChecked, OnDestroy {
|
---|
| 8 | el: ElementRef;
|
---|
| 9 | terminalService: TerminalService;
|
---|
| 10 | cd: ChangeDetectorRef;
|
---|
| 11 | welcomeMessage: string;
|
---|
| 12 | prompt: string;
|
---|
| 13 | style: any;
|
---|
| 14 | styleClass: string;
|
---|
| 15 | commands: any[];
|
---|
| 16 | command: string;
|
---|
| 17 | container: Element;
|
---|
| 18 | commandProcessed: boolean;
|
---|
| 19 | subscription: Subscription;
|
---|
| 20 | constructor(el: ElementRef, terminalService: TerminalService, cd: ChangeDetectorRef);
|
---|
| 21 | ngAfterViewInit(): void;
|
---|
| 22 | ngAfterViewChecked(): void;
|
---|
| 23 | set response(value: string);
|
---|
| 24 | handleCommand(event: KeyboardEvent): void;
|
---|
| 25 | focus(element: HTMLElement): void;
|
---|
| 26 | ngOnDestroy(): void;
|
---|
| 27 | static ɵfac: i0.ɵɵFactoryDeclaration<Terminal, never>;
|
---|
| 28 | static ɵcmp: i0.ɵɵComponentDeclaration<Terminal, "p-terminal", never, { "welcomeMessage": "welcomeMessage"; "prompt": "prompt"; "style": "style"; "styleClass": "styleClass"; "response": "response"; }, {}, never, never>;
|
---|
| 29 | }
|
---|
| 30 | export declare class TerminalModule {
|
---|
| 31 | static ɵfac: i0.ɵɵFactoryDeclaration<TerminalModule, never>;
|
---|
| 32 | static ɵmod: i0.ɵɵNgModuleDeclaration<TerminalModule, [typeof Terminal], [typeof i1.CommonModule, typeof i2.FormsModule], [typeof Terminal]>;
|
---|
| 33 | static ɵinj: i0.ɵɵInjectorDeclaration<TerminalModule>;
|
---|
| 34 | }
|
---|