import{$ as e,C as t,S as n,St as r,T as i,X as a,Y as o,ft as s,in as c,j as l,k as u,kt as d,lt as f,w as p,x as m}from"./vue.runtime.esm-bundler-DpGzKKN4.js";import{a as h,i as g}from"./vue-router-BU7Z_qXI.js";import"./GxPagination-DOexUzbO.js";import{t as _}from"./directive-9SA1IQHd.js";import{t as v}from"./_plugin-vue_export-helper-CnS4QQza.js";import{Hi as y,xt as b,yt as x}from"./stores-BWYw2E2w.js";import"./css-CW_FwBqc2.js";import{t as S}from"./XmlTestFloatingPanel-CTKsCOMP.js";import{t as C}from"./LeftMenuDraggable-BlgmxFc6.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=v(l({__name:`index`,setup(l){let v=x(),D=b();m(()=>D.curFunction);let O=y();h();let k=g(),A=m(()=>k.query.xmlTestMode===`true`&&!v.isApplyProd),j=m(()=>{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=r(``);return f(()=>{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)}),a(`isPreviewForm`,m(()=>v.isPreviewForm)),(r,a)=>{let l=e(`RouterView`),f=_;return o(),i(`div`,w,[j.value?p(``,!0):(o(),i(`div`,T,[u(C)])),s((o(),i(`div`,{class:`flex-grow content-right flex flex-col`,style:c({maxWidth:j.value?`100%`:`calc(100% - 208px)`})},[n(`div`,E,[u(l)])],4)),[[f,d(D).loading]]),A.value?(o(),t(S,{key:1})):p(``,!0)])}}}),[[`__scopeId`,`data-v-a9fff0b9`]]);export{D as default};