nakedobjects.spa
Version:
Single Page Application client for a Naked Objects application.
39 lines (38 loc) • 1.62 kB
TypeScript
import { ElementRef, OnInit, Renderer } from '@angular/core';
import { CiceroCommandFactoryService } from '../cicero-command-factory.service';
import { CiceroContextService } from '../cicero-context.service';
import { CiceroRendererService } from '../cicero-renderer.service';
import { ContextService } from '../context.service';
import { ErrorService } from '../error.service';
import { UrlManagerService } from '../url-manager.service';
export declare class CiceroComponent implements OnInit {
private readonly commandFactory;
private readonly ciceroRendererService;
private readonly error;
private readonly urlManager;
private readonly ciceroContext;
private readonly context;
private readonly renderer;
constructor(commandFactory: CiceroCommandFactoryService, ciceroRendererService: CiceroRendererService, error: ErrorService, urlManager: UrlManagerService, ciceroContext: CiceroContextService, context: ContextService, renderer: Renderer);
private warnings;
private messages;
private render();
ngOnInit(): void;
ngOnDestroy(): void;
private paneRouteDataSub;
private warnSub;
private errorSub;
private lastPaneRouteData;
private previousInput;
private executeCommand(cmd);
private executeCommands(cmds);
private writeInputOutput(result);
inputText: string;
outputText: string;
parseInput(input: string): void;
selectPreviousInput: () => number;
clearInput: () => string;
autocomplete(input: string): boolean;
focusOnInput(): void;
inputField: ElementRef;
}