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,mn as p,nn as m,p as h,t as g,ut as _,w as v}from"./_plugin-vue_export-helper-C0lsYS1a.js";import{a as y,i as b}from"./vue-router-Bm5zhq9W.js";import"./router__product_manage-BRp5l5cw.js";import"./style-Bvb0L3Ww.js";import"./GxPagination-DaT0MOF0.js";import"./date-picker-D5PhQ0Eg.js";import{a as x,o as S}from"./GxDialog-DixGJxSz.js";import{t as C}from"./button-CTBy3KbX.js";import"./css-Dlj1uVAN.js";import"./css-CNIqhbiM.js";import{t as w}from"./directive-2hBfY9mU.js";/* empty css            */import{Kr as T,qr as E,xt as D,yt as O}from"./stores-PVUTfPb_.js";/* empty css            *//* empty css            */import"./useStructurizedVersionDialog-ByTgs9AA.js";import"./validate-C3ezFD8l.js";/* empty css            */import"./request-B9wfR4zJ.js";import"./project-DmuW7_Il.js";import"./css-CssVcQ35.js";import"./echarts-7KHUkREE.js";/* empty css            *//* empty css            *//* empty css            */import"./Data_Table-D3M72EzC.js";/* empty css            *//* empty css            */import"./dist-vqWK4Cer.js";import"./enum-BDOokdVp.js";import"./uiController-CO3vK248.js";/* empty css            *//* empty css            *//* empty css            *//* empty css            */import"./api-6R2yRADk.js";import"./request-object-map-BbUK30jY.js";import"./api-C9iru3wz.js";import"./API_Setting-C0VuBTtS.js";import"./dist-DLb51VnU.js";import"./dist-bFkGdJab.js";import"./dist-ocZsTCMM.js";import"./dist-v9np1tFX.js";import"./view_base_options-c2kiHw0P.js";import{t as k}from"./DesignMainLayoutHeader-DvMMcaoY.js";/* empty css            *//* empty css            *//* empty css            */import"./IntercomRoom-BYwlMeSO.js";import"./CreateMenuOrItem-XAZ4jnnZ.js";import"./ChooseIconImageDialog-CJ1n2ICc.js";import"./RoleAuthorization-BhtquBAw.js";import"./api-BcPeqJwQ.js";import{t as A}from"./LeftMenuDraggable-CcGPwy_Q.js";var j={id:`design-main-panel-wrap`,class:`w-full request-prototyping-design flex-grow flex flex-row overflow-hidden`},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=g(r({__name:`index`,setup(r){let p=O(),g=D();T();let L=E(),R=i(()=>p.localIdentifyAndRoleInfo?.mainFormId),z=a(!0),B=i(()=>`calc(100% - ${z.value?`208`:`0`}px)`);c(`menuExpandStatus`,z),i(()=>g.curFunction),y();let V=b(),H=i(()=>{let e=V.name,t=L.activeDesignTabItem;return e&&typeof e==`string`&&/request-prototyping-(design|preview)_single/.test(e)?!0:t?!!t.isSinglePage:!1}),U={"request-prototyping-design_interfacial":``,"request-prototyping-design_subfunction":``,"request-prototyping-design_data":``,"request-prototyping-design_rule":``,"request-prototyping-design_version":``},W=a(``);return _(()=>{if(V.name===`request-prototyping-design`)return;let e=V&&V.matched[2],t=e&&e.name;console.log(`request-prototyping-design tab name: `,t),t&&Object.prototype.hasOwnProperty.call(U,t)&&(W.value=t)}),c(`isPreviewForm`,i(()=>p.isPreviewForm)),(r,i)=>{let a=C,c=l(`RouterView`),p=w;return s(),n(`div`,j,[t(`div`,M,[H.value?o(``,!0):(s(),v(k,{"root-panel-form-uuid":R.value,key:R.value},null,8,[`root-panel-form-uuid`])),t(`div`,N,[H.value?o(``,!0):(s(),n(`div`,{key:0,class:m([`content-left flex flex-col bg-white relative z-30 flex-shrink-0`,z.value?`w-208`:`w-0`]),style:{transition:`none`}},[u(e(A,null,null,512),[[h,z.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:z.value?f(x):f(S),onClick:i[0]||=e=>z.value=!z.value},null,8,[`icon`])])])],2)),u((s(),n(`div`,{class:`flex-grow content-right flex flex-col overflow-hidden`,style:d({maxWidth:B.value})},[t(`div`,I,[e(c)])],4)),[[p,f(g).loading]])])])])}}}),[[`__scopeId`,`data-v-09fe43c7`]]);export{L as default};