<template>
    
    <v-card
        tile
        flat
        :outlined="newPasswordPage.outlined"
        :height="newPasswordPage.height"
        :width="newPasswordPage.width"
        :color="newPasswordPage.color"
        class="mx-auto d-flex align-center"
    >
        <component
            :is="'new-password-' + newPasswordPage.currentComponent"
            :app="app"
        >
        </component>
    </v-card>
</template>

<script>
    export default {
        props: {
            app: {required: true},
        },

        computed: {
            newPasswordPage() {
                return this.app.classes.Newpasswordpage;
            }
        },

        components: {
            NewPasswordForm: require('./Form/NewPasswordForm').default,
            NewPasswordThankYou: require('./Thankyou/NewPasswordThankYou').default,
        },

        name: 'NewPasswordPage',
    }
</script>