import{A as e,C as t,E as n,M as r,S as i,St as a,T as o,X as s,Z as c,et as l,ft as u,in as d,kt as f,nn as p,p as m,t as h,ut as g,w as _}from"./_plugin-vue_export-helper-9JxOV_6y.js";import{a as v,i as y}from"./vue-router-DunO2xT0.js";import"./router__product_manage-CCFG7aNl.js";import"./style-uQ45SeWa.js";import"./GxPagination-1gJXbpdv.js";import"./date-picker-EjBDsx_3.js";import{a as b,o as x}from"./GxDialog-D15Qks3A.js";import{t as S}from"./button-CENWFHkZ.js";import"./css-kczJbcfV.js";import"./css-C7OSowuz.js";import{t as C}from"./directive-CkUp73VW.js";/* empty css            */import{Qr as w,Zr as T,xt as E,yt as D}from"./stores-EFfd1fcK.js";/* empty css            *//* empty css             */import"./useStructurizedVersionDialog-0SS1SzGE.js";import"./validate-D8FPRL2x.js";/* empty css            */import"./request-D0ipHUJ7.js";import"./project-2XcXb7qo.js";import"./css-BV-4fLwt2.js";import"./API_Setting-Dvs4eHlj.js";import"./echarts-DfhiEwHl.js";/* empty css            *//* empty css            *//* empty css            */import"./Data_Table-CO0OwwxJ.js";/* empty css            *//* empty css            */import"./dist-fizESd4s.js";import"./enum-ET0qfRd1.js";import"./uiController-iH_iYkiu.js";/* empty css            *//* empty css            *//* empty css            *//* empty css            */import"./api-BrMGQ2HQ.js";import"./request-object-map-DeVhrGNd.js";import"./api-BXFZqqga.js";import"./dist-CzPA3L0H.js";import"./dist-wA8HUTa9.js";import"./dist-B3CIwgPS.js";import"./dist-CGCpNNkO.js";import"./view_base_options-B1nQ3fRa.js";import{t as O}from"./DesignMainLayoutHeader-qwQIGOFD.js";/* empty css            */import"./api-dpZxEEWu.js";import"./ChooseIconImageDialog-B0Cxhu0G.js";/* empty css            */import"./IntercomRoom-DmktrUKx.js";import"./CreateMenuOrItem-UPx9FvFr.js";import"./RoleAuthorization-B85EvwuS.js";import{n as k,t as A}from"./XmlTestFloatingPanel-Dmfr6Nhd.js";var j={id:`design-main-panel-wrap`,class:`w-full request-prototyping-design flex-grow flex flex-row overflow-hidden select-none`},M={class:`flex-grow flex flex-col`},N={class:`flex-grow flex flex-row`},P={class:`absolute w-2 h-full left-full top-0`},F={class:`absolute top-1/2 -translate-y-1/2 z-10 -left-2 hover:left-0 rounded-r-xl overflow-hidden bg-slate-200/80 hover:shadow-md`,style:{transition:`left .2s`,background:`var(--adap-blue-primary)`}},I={class:`content-deatail flex-grow`},L=h(r({__name:`index`,setup(r){let h=D(),L=E();T();let R=w(),z=i(()=>h.localIdentifyAndRoleInfo?.mainFormId),B=a(!0),V=i(()=>`calc(100% - ${B.value?`208`:`0`}px)`);c(`menuExpandStatus`,B),i(()=>L.curFunction),v();let H=y(),U=i(()=>{let e=H.name,t=R.activeDesignTabItem;return e&&typeof e==`string`&&/request-prototyping-(design|preview)_single/.test(e)?!0:t?!!t.isSinglePage:!1}),W={"request-prototyping-design_interfacial":``,"request-prototyping-design_subfunction":``,"request-prototyping-design_data":``,"request-prototyping-design_rule":``,"request-prototyping-design_version":``},G=a(``);g(()=>{if(H.name===`request-prototyping-design`)return;let e=H&&H.matched[2],t=e&&e.name;console.log(`request-prototyping-design tab name: `,t),t&&Object.prototype.hasOwnProperty.call(W,t)&&(G.value=t)});let K=i(()=>H.query.xmlTestMode===`true`&&!h.isApplyProd);return c(`isPreviewForm`,i(()=>h.isPreviewForm)),(r,i)=>{let a=S,c=l(`RouterView`),h=C;return s(),n(`div`,j,[t(`div`,M,[U.value?o(``,!0):(s(),_(O,{"root-panel-form-uuid":z.value,key:z.value},null,8,[`root-panel-form-uuid`])),t(`div`,N,[U.value?o(``,!0):(s(),n(`div`,{key:0,class:p([`content-left flex flex-col bg-white relative z-30 flex-shrink-0`,B.value?`w-208`:`w-0`]),style:{transition:`none`}},[u(e(k,null,null,512),[[m,B.value]]),t(`div`,P,[t(`div`,F,[e(a,{class:`!pl-0 !pr-0 hover:!pr-1 hover:!pl-1`,style:{height:`102px`,color:`white`,background:`transparent`,"font-size":`12px`},title:`展开/收起菜单`,text:``,type:`primary`,icon:B.value?f(b):f(x),onClick:i[0]||=e=>B.value=!B.value},null,8,[`icon`])])])],2)),u((s(),n(`div`,{class:`flex-grow content-right flex flex-col overflow-hidden`,style:d({maxWidth:U.value?`100%`:V.value})},[t(`div`,I,[e(c)])],4)),[[h,f(L).loading]])])]),K.value?(s(),_(A,{key:0})):o(``,!0)])}}}),[[`__scopeId`,`data-v-c2eb6515`]]);export{L as default};