<template>
  <div class="current-settings">
    <div class="current-settings__label">
      Current text to speech settings
    </div>
    <ul>
      <li><b>Language:</b> {{ language }} </li>
      <li><b>Provider:</b> {{ provider }}</li>
      <li><b>Engine:</b> {{ engine }}</li>
      <li><b>Gender:</b> {{ gender }}</li>
      <li><b>Name:</b> {{ voice }}</li>
    </ul>
  </div>
</template>

<script>

export default {
  name: 'TTSSettings',

  computed: {
    language () { return this.$liteStore.get('app/language'); },
    provider () { return this.$liteStore.get('app/provider'); },
    engine () { return this.$liteStore.get('app/engine'); },
    gender () { return this.$liteStore.get('app/gender'); },
    voice () { return this.$liteStore.get('app/voice'); }
  }

};

</script>

<style lang="scss" scoped>
.current-settings {
  font-size: 14px;
  line-height: 18px;

  &__label {
    font-size: 12px;
    line-height: 24px;
    color: #91969d;
  }

  ul {
    display: block;
    padding: 1rem;
    margin-bottom: 0;
    list-style: none;
    background: rgba(64, 159, 236, 0.1);
    border-radius: 4px;
    color: rgb(30, 35, 43);
  }

  li {
    margin: 0 0 4px;
  }
}
</style>
