<script
    setup
    lang="ts"
>
    import MenuPanelInputField from 'src/modules/profile/components/shared/menu-panel-input-field.vue';

    import { useEmployeeStore } from 'src/stores/employee-store';

    const employee_store = useEmployeeStore();
</script>

<template>
    <div class="column q-pa-md full-height">
        <MenuPanelInputField
            v-model="employee_store.employee.first_name"
            class="col-auto"
            :label-string="$t('profile.personal.first_name')"
        />
        <MenuPanelInputField
            v-model="employee_store.employee.last_name"
            class="col-auto"
            :label-string="$t('profile.personal.last_name')"
        />
        <MenuPanelInputField
            v-model="employee_store.employee.phone_number"
            class="col-auto"
            :label-string="$t('profile.personal.phone_number')"
        />

        <MenuPanelInputField
            v-model="employee_store.employee.birth_date"
            class="col-auto"
            :label-string="$t('profile.personal.birthdate')"
        />

        <MenuPanelInputField
            v-model="employee_store.employee.residence"
            class="col-auto"
            :label-string="$t('profile.personal.address')"
        />


        <!-- DEV NOTE: May revisit later for changes by employee that will need approval -->
        <!-- <div
            class="absolute-bottom"
            :class="$q.screen.lt.md ? 'column' : 'row'"
        >
            <q-space />
            <q-btn
                v-if="is_editing"
                flat
                color="negative"
                type="reset"
                icon="cancel"
                class="q-ma-sm q-py-xs"
                :label="$t('timesheet.cancel_button')"
            />
            <q-btn
                push
                color="accent"
                type="submit"
                :icon="is_editing ? 'save_alt' : 'create'"
                class="q-ma-sm q-py-xs"
                :label="is_editing ? $t('shared.label.save') : $t('shared.label.update')"
            />
        </div> -->
    </div>
</template>