|
|
@ -19,6 +19,7 @@ export class CommandInput extends React.Component<Props, null>
|
|
|
|
let store = this.props.commandStore;
|
|
|
|
let store = this.props.commandStore;
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div className="command-input-area" style={{ display: "flex" }}>
|
|
|
|
<div className="command-input-area" style={{ display: "flex" }}>
|
|
|
|
|
|
|
|
<div style={{ display: "flex", width: "100%", position: "relative" }}>
|
|
|
|
<div className="drag-area" data-id="dragArea" />
|
|
|
|
<div className="drag-area" data-id="dragArea" />
|
|
|
|
<Button
|
|
|
|
<Button
|
|
|
|
icon="wrench"
|
|
|
|
icon="wrench"
|
|
|
@ -30,6 +31,7 @@ export class CommandInput extends React.Component<Props, null>
|
|
|
|
minimal={true}
|
|
|
|
minimal={true}
|
|
|
|
small={true}
|
|
|
|
small={true}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
|
|
|
|
<div style={{ position: "absolute", left: 60, bottom: 0, width: `calc( 100% - ${60}px)` }}>
|
|
|
|
<InputHint
|
|
|
|
<InputHint
|
|
|
|
cmdList={store.cmdList}
|
|
|
|
cmdList={store.cmdList}
|
|
|
|
keyWordList={store.keyWordList}
|
|
|
|
keyWordList={store.keyWordList}
|
|
|
@ -38,6 +40,8 @@ export class CommandInput extends React.Component<Props, null>
|
|
|
|
historyCmdList={store.historyCmdList}
|
|
|
|
historyCmdList={store.historyCmdList}
|
|
|
|
commandStore={this.props.commandStore}
|
|
|
|
commandStore={this.props.commandStore}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<Icon icon="caret-up" onClick={this.props.ShowOutput} />
|
|
|
|
<Icon icon="caret-up" onClick={this.props.ShowOutput} />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
)
|
|
|
|