<template>
	<ListViewWithHead :table-config="tableConfig" :head-config="headFormConfigs" :dialog-configs="dialogConfigs" />
</template>

<script>
import initConfig from './config';
import ListViewWithHead from './components/ListViewWithHead.vue';

export default {
	name: 'MaterialView',
	components: { ListViewWithHead },
	provide() {
		return {
			urls: this.allUrls
		}
	},
	data() {
		const { tableConfig, headFormConfigs, urls, dialogConfigs } = initConfig.call(this);
		return {
			tableConfig,
			headFormConfigs,
			allUrls: urls,
			dialogConfigs,
		};
	},
	created() {},
	mounted() {},
	methods: {},
};
</script>

<style scoped></style>
