Private
_passwordPrivate
_promptPrivate
_validationPrivate
_valueProtected
disposableProtected
expectingReadonly
pluginReadonly
quickReadonly
quickProtected
visibleIf the UI should show a progress indicator. Defaults to false.
Change this to true, e.g., while loading more data or validating user input.
If the UI should show a progress indicator. Defaults to false.
Change this to true, e.g., while loading more data or validating user input.
Buttons for actions in the UI.
Buttons for actions in the UI.
If the UI should allow for user input. Defaults to true.
Change this to false, e.g., while validating user input or loading data for the next step in user input.
If the UI should allow for user input. Defaults to true.
Change this to false, e.g., while validating user input or loading data for the next step in user input.
If the UI should stay open even when loosing UI focus. Defaults to false.
If the UI should stay open even when loosing UI focus. Defaults to false.
An event signaling when the user indicated acceptance of the input value.
An event signaling when the value has changed.
An event signaling when this input UI is hidden.
There are several reasons why this UI might have to be hidden and the extension will be notified through QuickInput.onDidHide. (Examples include: an explicit call to QuickInput.hide, the user pressing Esc, some other input UI opening, etc.)
An event signaling when a button was triggered.
If the input value should be hidden. Defaults to false.
If the input value should be hidden. Defaults to false.
Optional placeholder in the filter text.
Optional placeholder in the filter text.
An optional prompt text providing some ask or explanation to the user.
An optional prompt text providing some ask or explanation to the user.
An optional current step count.
An optional current step count.
An optional title.
An optional title.
An optional total step count.
An optional total step count.
An optional validation message indicating a problem with the current input value. By returning a string, the InputBox will use a default InputBoxValidationSeverity of Error. Returning undefined clears the validation message.
An optional validation message indicating a problem with the current input value. By returning a string, the InputBox will use a default InputBoxValidationSeverity of Error. Returning undefined clears the validation message.
Current input value.
Current input value.
Selection range in the input value. Defined as tuple of two number where the
first is the inclusive start index and the second the exclusive end index. When undefined
the whole
pre-filled value will be selected, when empty (start equals end) only the cursor will be set,
otherwise the defined range will be selected.
This property does not get updated when the user types or makes a selection, but it can be updated by the extension.
Selection range in the input value. Defined as tuple of two number where the
first is the inclusive start index and the second the exclusive end index. When undefined
the whole
pre-filled value will be selected, when empty (start equals end) only the cursor will be set,
otherwise the defined range will be selected.
This property does not get updated when the user types or makes a selection, but it can be updated by the extension.
Protected
convertURLHides this input UI. This will also fire an QuickInput.onDidHide event.
Makes the input UI visible in its current configuration. Any other input UI will first fire an QuickInput.onDidHide event.
Protected
update
Base implementation of InputBox that uses QuickOpenExt. Missing functionality is going to be implemented in the scope of https://github.com/eclipse-theia/theia/issues/5109