<script setup lang="ts">
defineProps<{
  title?: string;
  dense?: boolean;
  outlined?: boolean;
  readonly?: boolean;
  separator?: boolean;
}>();

const mail = defineModel<string>('mail');
const telephone = defineModel<string>('telephone');
</script>

<template>
  <div class="row">
    <div class="col-3 app-text-muted">• {{ $t(`formDialogTitleContact`) }}</div>
    <div class="col-9 row q-col-gutter-md">
      <q-input
        for="input-mail"
        id="input-mail"
        :dense="dense"
        outlined
        :readonly="readonly"
        hide-bottom-space
        class="col-6"
        :label="$t('formDialogInputEmail')"
        v-model="mail"
      />
      <q-input
        for="input-telephone"
        id="input-telephone"
        :dense="dense"
        outlined
        :readonly="readonly"
        hide-bottom-space
        class="col-6"
        :label="$t('formDialogInputTelephone')"
        v-model="telephone"
      />
    </div>
  </div>

  <q-separator
    v-if="separator"
    class="col-12 q-mt-xl q-mb-md"
    style="padding-block: 0.5px"
  />
</template>

<style></style>
