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,t as p,ut as m,w as h}from"./_plugin-vue_export-helper-9JxOV_6y.js";import{a as g,i as _}from"./vue-router-DunO2xT0.js";import"./router__product_manage-yF5jbuvB.js";import"./style-uQ45SeWa.js";import"./GxPagination-1gJXbpdv.js";import"./date-picker-EjBDsx_3.js";import"./GxDialog-D15Qks3A.js";import"./css-kczJbcfV.js";import"./css-C7OSowuz.js";import{t as v}from"./directive-CkUp73VW.js";/* empty css            */import{Qr as y,xt as b,yt as x}from"./stores-CQxCz3yU.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";/* empty css            */import"./api-dpZxEEWu.js";import"./ChooseIconImageDialog-Cj3_qVkk.js";/* empty css            */import"./IntercomRoom-DmktrUKx.js";import"./CreateMenuOrItem-Da25_-li.js";import"./RoleAuthorization-CMp_ussp.js";import{n as S,t as C}from"./XmlTestFloatingPanel-B4yrhTrg.js";var w={class:`request-prototyping-design flex-grow flex flex-row w-full relative`},T={key:0,class:`content-left flex flex-col flex-shrink-0 w-208 bg-white z-30`},E={class:`content-deatail flex-grow`},D=p(r({__name:`index`,setup(r){let p=x(),D=b();i(()=>D.curFunction);let O=y();g();let k=_(),A=i(()=>k.query.xmlTestMode===`true`&&!p.isApplyProd),j=i(()=>{let e=k.name,t=O.activeDesignTabItem;return e&&typeof e==`string`&&/request-prototyping-(design|preview)_single/.test(e)?!0:t?!!t.isSinglePage:!1}),M={"request-prototyping-design_interfacial":``,"request-prototyping-design_subfunction":``,"request-prototyping-design_data":``,"request-prototyping-design_rule":``,"request-prototyping-design_version":``},N=a(``);return m(()=>{if(k.name===`request-prototyping-design`)return;let e=k&&k.matched[2],t=e&&e.name;console.log(`request-prototyping-design tab name: `,t),t&&Object.prototype.hasOwnProperty.call(M,t)&&(N.value=t)}),c(`isPreviewForm`,i(()=>p.isPreviewForm)),(r,i)=>{let a=l(`RouterView`),c=v;return s(),n(`div`,w,[j.value?o(``,!0):(s(),n(`div`,T,[e(S)])),u((s(),n(`div`,{class:`flex-grow content-right flex flex-col`,style:d({maxWidth:j.value?`100%`:`calc(100% - 208px)`})},[t(`div`,E,[e(a)])],4)),[[c,f(D).loading]]),A.value?(s(),h(C,{key:1})):o(``,!0)])}}}),[[`__scopeId`,`data-v-a9fff0b9`]]);export{D as default};