import{V as t}from"./index-9PRMimni.js";const{t:e}=t();function r(){const a=[{label:e("system.dashboardManagement.statusDisable"),value:0},{label:e("system.dashboardManagement.statusNormal"),value:1}],o=[{label:e("system.dashboardManagement.modelTypeKeyInformation"),value:1},{label:e("system.dashboardManagement.modelTypeDashboard"),value:2}],n=[{field:"keyword",component:"NInput",label:e("system.dashboardManagement.keywords"),componentProps:{}},{field:"modelType",component:"NSelect",label:e("system.dashboardManagement.modelType"),componentProps:{options:o}},{field:"status",component:"NSelect",label:e("system.dashboardManagement.status"),componentProps:{options:a}}],s=[{field:"modelName",component:"NInput",label:e("system.dashboardManagement.modelNameCn"),componentProps:{},rules:[{required:!0,message:`${e("system.dashboardManagement.modelNameCn")} ${e("common.required")}`,trigger:["blur"]}]},{field:"modelNameEn",component:"NInput",label:e("system.dashboardManagement.modelNameEn"),componentProps:{},rules:[{required:!0,message:`${e("system.dashboardManagement.modelNameEn")} ${e("common.required")}`,trigger:["blur"]}]},{field:"iconName",component:"NInput",label:e("system.dashboardManagement.iconName"),componentProps:{}},{field:"modelType",component:"NSelect",label:e("system.dashboardManagement.modelType"),componentProps:{options:o},rules:[{required:!0,type:"number",message:`${e("system.dashboardManagement.modelType")} ${e("common.required")}`,trigger:["change"]}]},{field:"componentName",component:"NInput",label:e("system.dashboardManagement.modelId")},{field:"priority",component:"NInputNumber",label:e("system.dashboardManagement.viewOrder")},{field:"status",component:"NRadioGroup",label:e("system.dashboardManagement.status"),componentProps:{options:a}}];return{searchSchemas:n,formSchemas:s,statusList:a,modelTypeList:o}}export{r as c};
