"use strict";exports.__esModule=!0;var validateProjectName=require("validate-npm-package-name");exports.default=[{name:"mode",type:"list",message:"Please select project mode",choices:[{name:"sigle component",value:"sigle"},{name:"multiple component",value:"multi"}]},{name:"projectName",type:"input",message:"Please input project's name",validate:function(e){return!!e||"Please input project's name"},when:function(e){return"multi"===e.mode}},{name:"comName",type:"input",message:"Please input component's name",validate:function(e){return!!validateProjectName(e).validForNewPackages||"Please enter a valid canvas's component name"}},{name:"comCName",type:"input",message:"Please input component's Chinese name",validate:function(e){return!!e||"Please input component's Chinese name"}},{name:"author",type:"input",message:"Please input author",default:""},{name:"description",type:"input",message:"Please input project description",default:""},{name:"entry",type:"input",message:"Please input project entry file name",default:"index"},{name:"framework",type:"list",message:"Please select project framework",choices:[{name:"react",value:"react"},{name:"vue",value:"vue"}]},{name:"language",type:"list",message:"Please select develop language",choices:[{name:"typescript",value:"typescript"},{name:"javascript",value:"javascript"}]}];