import { 
 | 
    ListGuesser, 
 | 
    EditGuesser, 
 | 
    ShowGuesser, 
 | 
} from "react-admin"; 
 | 
  
 | 
import host from "./host"; 
 | 
import config from './config'; 
 | 
import tenant from './tenant'; 
 | 
import role from './role'; 
 | 
import userLogin from './userLogin'; 
 | 
import dept from "./dept"; 
 | 
import menu from './menu' 
 | 
import user from './user'; 
 | 
import operationRecord from './operationRecord'; 
 | 
import zone from './zone'; 
 | 
import staSts from './staSts'; 
 | 
import staType from './staType'; 
 | 
import code from './code'; 
 | 
import sta from './sta'; 
 | 
import codeGap from './codeGap'; 
 | 
import route from './route'; 
 | 
import funcSta from './funcSta'; 
 | 
import locSts from './locSts'; 
 | 
import locType from './locType'; 
 | 
import loc from './loc'; 
 | 
import agvSts from './agvSts'; 
 | 
import agvModel from './agvModel'; 
 | 
import agv from './agv'; 
 | 
import agvDetail from './agvDetail'; 
 | 
import actionSts from './actionSts'; 
 | 
import actionType from './actionType'; 
 | 
import busSts from './busSts'; 
 | 
import taskSts from './taskSts'; 
 | 
import taskType from './taskType'; 
 | 
import vehFaultRec from './vehFaultRec'; 
 | 
import bus from './bus'; 
 | 
import task from './task'; 
 | 
import travel from './travel'; 
 | 
import segment from './segment'; 
 | 
import jam from './jam'; 
 | 
import action from './action'; 
 | 
import mission from "./mission"; 
 | 
  
 | 
const ResourceContent = (node) => { 
 | 
    switch (node.component) { 
 | 
        case 'host': 
 | 
            return host; 
 | 
        case 'config': 
 | 
            return config; 
 | 
        case 'tenant': 
 | 
            return tenant; 
 | 
        case 'role': 
 | 
            return role; 
 | 
        case 'userLogin': 
 | 
            return userLogin; 
 | 
        case 'dept': 
 | 
            return dept; 
 | 
        case 'menu': 
 | 
            return menu; 
 | 
        case 'user': 
 | 
            return user; 
 | 
        case 'operationRecord': 
 | 
            return operationRecord; 
 | 
        case 'zone': 
 | 
            return zone; 
 | 
        case 'staSts': 
 | 
            return staSts; 
 | 
        case 'staType': 
 | 
            return staType; 
 | 
        case 'code': 
 | 
            return code; 
 | 
        case 'sta': 
 | 
            return sta; 
 | 
        case 'codeGap': 
 | 
            return codeGap; 
 | 
        case 'route': 
 | 
            return route; 
 | 
        case 'funcSta': 
 | 
            return funcSta; 
 | 
        case 'locSts': 
 | 
            return locSts; 
 | 
        case 'locType': 
 | 
            return locType; 
 | 
        case 'loc': 
 | 
            return loc; 
 | 
        case 'agvSts': 
 | 
            return agvSts; 
 | 
        case 'agvModel': 
 | 
            return agvModel; 
 | 
        case 'agv': 
 | 
            return agv; 
 | 
        case 'agvDetail': 
 | 
            return agvDetail; 
 | 
        case 'actionSts': 
 | 
            return actionSts; 
 | 
        case 'actionType': 
 | 
            return actionType; 
 | 
        case 'busSts': 
 | 
            return busSts; 
 | 
        case 'taskSts': 
 | 
            return taskSts; 
 | 
        case 'taskType': 
 | 
            return taskType; 
 | 
        case 'vehFaultRec': 
 | 
            return vehFaultRec; 
 | 
        case 'bus': 
 | 
            return bus; 
 | 
        case 'task': 
 | 
            return task; 
 | 
        case 'travel': 
 | 
            return travel; 
 | 
        case 'segment': 
 | 
            return segment; 
 | 
        case 'jam': 
 | 
            return jam; 
 | 
        case 'action': 
 | 
            return action; 
 | 
        case 'mission': 
 | 
            return mission; 
 | 
        default: 
 | 
            return { 
 | 
                list: ListGuesser, 
 | 
                edit: EditGuesser, 
 | 
                show: ShowGuesser, 
 | 
            } 
 | 
    } 
 | 
} 
 | 
  
 | 
export default ResourceContent; 
 |