vault/ui/app/components/console/command-input.hbs
Vault Automation 0c6c13dd38
license: update headers to IBM Corp. (#10229) (#10233)
* license: update headers to IBM Corp.
* `make proto`
* update offset because source file changed

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2025-10-21 15:20:20 -06:00

30 lines
865 B
Handlebars

{{!
Copyright IBM Corp. 2016, 2025
SPDX-License-Identifier: BUSL-1.1
}}
<div class="console-ui-input" data-test-component="console/command-input">
{{#if this.isRunning}}
<div class="control console-spinner is-loading"></div>
{{else}}
<Chevron />
{{/if}}
<input
aria-label="web R.E.P.L."
aria-describedby="namespace-reminder"
onkeyup={{action "handleKeyUp"}}
value={{this.value}}
autocomplete="off"
spellcheck="false"
id="console-input"
/>
<Hds::Button
class="hds-side-nav__icon-button"
{{on "click" (action "fullscreen")}}
data-test-dismiss-console-button
@icon={{if this.isFullscreen "minimize" "maximize"}}
@text={{if this.isFullscreen "Minimize window" "Maximize window"}}
@isIconOnly={{true}}
/>
</div>
<NamespaceReminder @class="console-reminder" @mode="execute" @noun="command" />