2023-03-01 14:13:26 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Terminal is a text based user interface.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/terminal)
|
|
|
|
*
|
|
|
|
* @module terminal
|
|
|
|
*
|
|
|
|
*/
|
2022-09-06 12:03:37 +00:00
|
|
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
|
|
|
2023-03-01 14:13:26 +00:00
|
|
|
/**
|
|
|
|
* Defines valid properties in Terminal component.
|
|
|
|
*/
|
2022-09-06 12:03:37 +00:00
|
|
|
export interface TerminalProps {
|
|
|
|
/**
|
|
|
|
* Initial text to display on terminal.
|
|
|
|
*/
|
|
|
|
welcomeMessage?: string | undefined;
|
|
|
|
/**
|
|
|
|
* Prompt text for each command.
|
|
|
|
*/
|
|
|
|
prompt?: string | undefined;
|
|
|
|
}
|
|
|
|
|
2023-03-01 14:13:26 +00:00
|
|
|
/**
|
|
|
|
* Defines valid slots in Terminal component.
|
|
|
|
*/
|
2022-09-14 11:26:01 +00:00
|
|
|
export interface TerminalSlots {}
|
2022-09-06 12:03:37 +00:00
|
|
|
|
2023-03-01 14:13:26 +00:00
|
|
|
/**
|
|
|
|
* Defines valid emits in Terminal component.
|
|
|
|
*/
|
|
|
|
export interface TerminalEmits {}
|
2022-09-06 12:03:37 +00:00
|
|
|
|
2023-03-01 14:13:26 +00:00
|
|
|
/**
|
|
|
|
* **PrimeVue - Terminal**
|
|
|
|
*
|
|
|
|
* _Terminal is a text based user interface._
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/terminal/)
|
|
|
|
* --- ---
|
|
|
|
* ![Primevue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
|
|
|
*
|
|
|
|
* @group Component
|
|
|
|
*/
|
2022-09-14 11:26:01 +00:00
|
|
|
declare class Terminal extends ClassComponent<TerminalProps, TerminalSlots, TerminalEmits> {}
|
2022-09-06 12:03:37 +00:00
|
|
|
|
|
|
|
declare module '@vue/runtime-core' {
|
|
|
|
interface GlobalComponents {
|
2022-09-14 11:26:01 +00:00
|
|
|
Terminal: GlobalComponentConstructor<Terminal>;
|
2022-09-06 12:03:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Terminal;
|