<template>
  <div class="panel">
    <label>
      Server <input type="text" :value="modelValue.server" @input="emit('server', $event.target.value)">
    </label>
    <label>
      Port <input type="text" :value="modelValue.port" @input="emit('port', $event.target.value)">
    </label>
    <label>
      Username <input type="text" :value="modelValue.username" @input="emit('username', $event.target.value)">
    </label>
    <label>
      Passwort <input type="text" :value="modelValue.password" @input="emit('password', $event.target.value)">
    </label>
    <button @click="$emit('connect')">
      Connect
    </button>
  </div>
</template>

<script>
import dynamicModelObjectEmit from '../mixins/dynamicModelObjectEmit';

export default {
  mixins: [
    dynamicModelObjectEmit,
  ],

  emits: ['connect'],
};
</script>

<style lang="scss">
</style>
