@qodalis/angular-cli
Version:
A lightweight and flexible command-line interface (CLI) tool designed to streamline workflows and automate tasks for developers.
30 lines (29 loc) • 1.1 kB
TypeScript
import { CliOptions } from '@qodalis/cli-core';
import { CliCanViewService } from '../services';
import { ContainerSize } from '../cli-terminal/cli-terminal.component';
import * as i0 from "@angular/core";
export type CliPanelOptions = CliOptions & {
/**
* Whether the CLI should be collapsed by default. Defaults to `true`.
*/
isCollapsed?: boolean;
};
/**
* A component that displays the CLI on the bottom of page.
*/
export declare class CliPanelComponent {
private readonly canView;
/**
* The options for the CLI.
*/
options?: CliPanelOptions;
visible: boolean;
protected terminalHeight: ContainerSize;
protected initialized: boolean;
private subscriptions;
constructor(canView: CliCanViewService);
onToggle($event: boolean): void;
onContentSizeChange($event: number): void;
static ɵfac: i0.ɵɵFactoryDeclaration<CliPanelComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CliPanelComponent, "cli-panel", never, { "options": { "alias": "options"; "required": false; }; }, {}, never, never, false, never>;
}