export default () => {
    const { t } = useI18n()
    return reactive({
        closeBtn: {
            props: {
                icon: "pi",
                severity: "secondary",
                text: true,
                rounded: true,
            }
        },
        recoveryBtn: {
            props: {
                label: t('passwordRecovery'),
                // loading: computed(() => $p?.value?.includes('number'))
            }
        },
        ways: ["number", "email"],
        labels: {
            number: "enterYourMobileNumber",
            email: "enterYourEmail",
        },
        fields: {
            email: {
                rules: ['required', 'email']
            },
            phoneNumber: {
                rules: ['required', 'phone']
            },
        }
    })
}