import { type ModuleConfig } from '/@/cool';

export default (): ModuleConfig => {
	return {
		label: '地图监控',
		description: '站点、分拣员、车辆实时位置与历史轨迹',
		order: 8,
		views: [
			{
				path: '/maps/site',
				name: 'maps-site',
				meta: { label: '站点地图' },
				component: () => import('./views/site.vue')
			},
			{
				path: '/maps/sorter',
				name: 'maps-sorter',
				meta: { label: '分拣员位置' },
				component: () => import('./views/sorter.vue')
			},
			{
				path: '/maps/vehicle',
				name: 'maps-vehicle',
				meta: { label: '车辆位置' },
				component: () => import('./views/vehicle.vue')
			}
		]
	};
};
