const r={RoleAccessPortal:{desc:"角色访问入口",coreName:"roleAccessPortal"},AccessPortal:{desc:"企业访问入口",coreName:"AccessPortal"},ZxlPrdOrgIdentify:{desc:"身份",coreName:"identify",userReqDesignConfig:{frequency:12}},ZxlPrdRole:{desc:"角色",coreName:"role",userReqDesignConfig:{frequency:13},overAllConfig:{type:"table",columns:[{label:"身份",prop:"identifyName"},{label:"预计人数",prop:"expectedNum"}]}},ZxlPrjPrdGlossary:{desc:"术语",coreName:"glossary",userReqDesignConfig:{frequency:11},overAllConfig:{type:"table",columns:[{label:"缩写",prop:"glossaryAbbreviation"},{label:"英文名称",prop:"englishName"}]}},ZxlPrdRequestModule:{desc:"模块",coreName:"module",userReqDesignConfig:{frequency:14},overAllConfig:{type:"table",columns:[{label:"身份",prop:"identifyName"},{label:"程序类型",prop:"clientTypeStr"}]}},ZxlPrdRequestFunction:{desc:"功能",coreName:"function",userReqDesignConfig:{frequency:1,comprehensive:!0},overAllConfig:{type:"special"}},ZxlPrdRequestSubfunction:{desc:"子功能",coreName:"subfunction",userReqDesignConfig:{frequency:2},parentObjectType:"ZxlPrdRequestFunction"},ZxlPrdRequestUseCaseStep:{desc:"用例步骤",coreName:"useCaseStep",userReqDesignConfig:{disabled:!0},parentObjectType:"ZxlPrdRequestSubfunction"},ZxlPrdRequestUserIntf:{desc:"用户界面",coreName:"userIntf",userReqDesignConfig:{frequency:8,comprehensive:!0}},ZxlPrdRequestUserIntfChild:{desc:"子窗体",coreName:"userIntfChild",parentObjectType:"ZxlPrdRequestUserIntf",dependOn:{relateParentProp:"formFunctionType",validValue:["Multiple"]}},ZxlPrdRequestUserIntfOperation:{desc:"界面子功能",coreName:"userIntfOperation",parentObjectType:"ZxlPrdRequestUserIntf"},ZxlPrdRequestUserIntfField:{desc:"用户界面字段",coreName:"userIntfField",userReqDesignConfig:{frequency:9},parentObjectType:"ZxlPrdRequestUserIntf",dependOn:{relateParentProp:"formFunctionType",validValue:["Detail","List","Select","Insert","Update","MENU","BATCH_EDIT","Other"]}},ZxlPrdRequestEntity:{desc:"数据实体",coreName:"bizEntity",userReqDesignConfig:{frequency:4,comprehensive:!0}},ZxlPrdRequestField:{desc:"数据字段",coreName:"field",userReqDesignConfig:{frequency:5},parentObjectType:"ZxlPrdRequestEntity"},ZxlPrdRequestInterface:{desc:"接口实体",coreName:"interface",userReqDesignConfig:{frequency:4,comprehensive:!0}},ZxlPrdRequestInterfaceParam:{desc:"数据字段",coreName:"param",userReqDesignConfig:{frequency:5},parentObjectType:"ZxlPrdRequestInterface"},ZxlPrdRequestNonFunction:{desc:"非功能需求",coreName:"nonFunction",userReqDesignConfig:{frequency:10},overAllConfig:{type:"table",columns:[{label:"类型",prop:"nonFunctionCategoryName"},{label:"指标单位",prop:"measureUnit"},{label:"指标值",prop:"measureValue"}]}},ZxlPrdRequestNonFunctionCategory:{desc:"非功能需求类别",coreName:"nonFunctionCategory",userReqDesignConfig:{frequency:15},parentObjectType:"ZxlPrdRequestNonFunction"},ZxlPrdRequestBizRule:{desc:"业务规则",coreName:"bizRule",userReqDesignConfig:{frequency:3},overAllConfig:{type:"table",columns:[{label:"关联对象类型",prop:"objectTypeStr"},{label:"关联对象编号",prop:"objectNo"},{label:"关联对象名称",prop:"objectName"}]}},ZxlPrdRequestGeneralField:{desc:"通用字段",coreName:"generalField",userReqDesignConfig:{frequency:6},overAllConfig:{type:"table",columns:[{label:"类型",prop:"fieldTypeStr"},{label:"英文名称",prop:"fieldEnglishName"},{label:"字符数量",prop:"fieldLength"}]}},ZxlPrdRequestFieldDict:{desc:"枚举字段",coreName:"fieldDict",userReqDesignConfig:{frequency:7},parentObjectType:"ZxlPrdRequestGeneralField"},ZxlPrdRequestFlow:{desc:"流程需求",coreName:"requestFlow",userReqDesignConfig:{comprehensive:!0}},ZxlPrdRequestFlowNodeStart:{desc:"流程开始节点",coreName:"node",parentObjectType:"ZxlPrdRequestFlow",nodeType:"START_NODE"},ZxlPrdRequestFlowNodeHandle:{desc:"流程处理节点",coreName:"node",parentObjectType:"ZxlPrdRequestFlow",nodeType:"HANDLE_NODE"},ZxlPrdRequestFlowNodeMultiSign:{desc:"流程会签节点",coreName:"node",parentObjectType:"ZxlPrdRequestFlow",nodeType:"MULTI_SIGN_NODE"},ZxlPrdRequestFlowNodeCondition:{desc:"流程条件节点",coreName:"node",parentObjectType:"ZxlPrdRequestFlow",nodeType:"CONDITION_NODE"},ZxlPrdRequestFlowNodeAuto:{desc:"流程自动节点",coreName:"node",parentObjectType:"ZxlPrdRequestFlow",nodeType:"AUTO_NODE"},ZxlPrdRequestFlowNodeEnd:{desc:"流程结束节点",coreName:"node",parentObjectType:"ZxlPrdRequestFlow",nodeType:"END_NODE"},ZxlPrdRequestFlowLink:{desc:"流程连线",coreName:"link",parentObjectType:"ZxlPrdRequestFlow"},ZxlPrdRequestFlowAction:{desc:"流程操作",coreName:"action",parentObjectType:"ZxlPrdRequestFlow"},ZxlPrdUiDesignControl:{desc:"控件管理",coreName:"ui_control"},ZxlPrdUiDesignControlProperty:{desc:"控件属性管理",coreName:"ui_control_property"},ZxlPrdRoleMenuItem:{desc:"角色菜单项",coreName:"role-menu-item"}},l=(n,t)=>n.find(e=>e.coreName==r[t.parentObjectType].coreName),s=(()=>{const n=[],t=[];for(let e in r)r[e].objectType=e,r[e].instanceDetailList=[],r[e].instanceNameList=[],r[e].parentObjectType?t.push(r[e]):n.push(r[e]);return t.forEach(e=>{const o=l(n,e)||l(t,e);o.children||(o.children=[]),o.children.push(e)}),n})();export{s as a,r as m};
