feat(tui): restore plugin manager dialog
This commit is contained in:
parent
1c8175a61a
commit
06290907a9
18 changed files with 148 additions and 1451 deletions
|
|
@ -230,11 +230,11 @@ export interface DialogSelectOptions<Value> {
|
|||
}
|
||||
|
||||
export interface Dialog {
|
||||
/** Shows a dialog and returns a function that closes it. */
|
||||
show(render: () => JSX.Element, onClose?: () => void): () => void
|
||||
/** Sets the presentation options for this plugin's active dialog. */
|
||||
/** Shows a dialog. */
|
||||
show(render: () => JSX.Element, onClose?: () => void): void
|
||||
/** Sets the active dialog's presentation options. */
|
||||
set(options: DialogOptions): void
|
||||
/** Closes this plugin's active dialog. */
|
||||
/** Closes the active dialog. */
|
||||
clear(): void
|
||||
alert(options: DialogAlertOptions): Promise<void>
|
||||
confirm(options: DialogConfirmOptions): Promise<boolean | undefined>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue