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-CHMrPtlZ.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-Dcoqi2M5.js";/* empty css            *//* empty css             */import"./useStructurizedVersionDialog-Z2GQgiO7.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-tpLT5NKN.js";/* empty css            */import"./api-dpZxEEWu.js";import"./ChooseIconImageDialog-DeipZKqZ.js";/* empty css            */import"./IntercomRoom-DmktrUKx.js";import"./CreateMenuOrItem-Dstfx-sP.js";import"./RoleAuthorization-C5kqtOGg.js";import{n as S,t as C}from"./XmlTestFloatingPanel-DKirY0yL.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};