<template>
    <ModuleDashboard name="ERM" :availableWidgets="availableWidgets" />
</template>

<script>
import ModuleDashboard from "../ModuleDashboard/ModuleDashboard.vue";
import ERMCounts from "../ModuleDashboard/Widgets/ERMCounts.vue";
import ERMLicensesNeedingAction from "../ModuleDashboard/Widgets/ERMLicensesNeedingAction.vue";
import ERMRunUsageReport from "../ModuleDashboard/Widgets/ERMRunUsageReport.vue";
import ERMLatestSUSHIJobs from "../ModuleDashboard/Widgets/ERMLatestSUSHIJobs.vue";
import { markRaw } from "vue";

export default {
    components: { ModuleDashboard },
    setup() {
        const availableWidgets = [
            markRaw(ERMRunUsageReport),
            markRaw(ERMLatestSUSHIJobs),
            markRaw(ERMCounts),
            markRaw(ERMLicensesNeedingAction),
        ];
        return {
            availableWidgets,
        };
    },
};
</script>
