import{o as e}from"./utils-cLZb83du.js";import{r as t}from"./batchControllerManage-BRzxsm-n.js";var n={protoUrl:``,protoTypeSource:`GENERATE`,protoImgFileId:``,pageType:`normal`,backType:`close`,canRightSwipingExit:!1,titleDisplayType:`equipmentWrapAndTitleBar`,rightContextMenu:`non`},r=async(r,i,a,o)=>{if(!r)return;let{userIntfId:s,userIntfNo:c,userIntfName:l,protoType:u,protoObject:d,formType:f}=r,p=[],{pageType:m,canRightSwipingExit:h,titleDisplayType:g,rightContextMenu:_}={...n,...o||{}};p.push({key:`title`,value:a||``}),p.push({key:`page-type`,value:m}),p.push({key:`back-type`,value:f?f===`WINDOW`||f===`PAGE`?`back`:`close`:`non`}),p.push({key:`can-right-swiping-exit`,value:h}),p.push({key:`title-display-type`,value:g}),p.push({key:`right-context-menu`,value:_});let v={uuid:e(),controlTypeId:i,isRootPanel:!0,propertys:[{key:`bind-user-intf-id`,value:s},{key:`bind-user-intf-no`,value:c},{key:`bind-user-intf-name`,value:l},{key:`bind-user-interface-type`,value:f},{key:`label`,value:a||``},{key:`prototype-type`,value:u||``},...p],childControllerItems:[{uuid:e(),controlTypeId:`_gx-mobile-navbar-button`,propertys:[{key:`action-type`,value:``},{key:`back-interface-name`,value:``},{key:`back-interface-id`,value:``},{key:`back-interface-url`,value:``},{key:`label`,value:`按钮`},{key:`plain`,value:`true`},{key:`border`,value:`false`}]},{uuid:e(),controlTypeId:`_gx-mobile-navbar-dropdown`,propertys:[{key:`label`,value:`更多`}],childControllerItems:[{uuid:e(),controlTypeId:`gx-mobile-navbar-button`,propertys:[{key:`action-type`,value:``},{key:`back-interface-name`,value:``},{key:`back-interface-id`,value:``},{key:`back-interface-url`,value:``},{key:`label`,value:`按钮`},{key:`plain`,value:`true`},{key:`border`,value:`false`}]}]}]},y=t(v,s);if(y)return{rawXmlObj:y,controllerItemObj:v}};export{r as t};