import{a as y,G as k,H as v}from"./index.17037962789732.js";import"./index.170379627897334.js";import"./index.170379627897317.js";import{u as S}from"./instance.17037962789732.js";import x from"./Simple.1703796278973.js";import b from"./Advance.1703796278973.js";import{h as g}from"./system.1703796278973.js";import{d as C,l as j,k as B,u as e,o,c as m,a as p,t as K,z as N,x as J,b as n,M as V,C as h,F as A}from"./vue.1703796278973.js";const L=C({__name:"index",setup(D){const i=g(),s=S(),t=j(()=>JSON.parse(s.detail.metadata)),a=B("Simple"),_={Simple:x,Advance:b},u=()=>{i.jumpPage("device/Product/Detail",{id:s.current.productId},{key:"metadata"})};return(E,c)=>{const d=y,r=k,l=v;return!e(t)||!e(t).functions||e(t)&&!e(t).functions.length?(o(),m(d,{key:0,style:{"margin-top":"50px"}},{description:p(()=>[K(" 请配置对应产品的 "),N("a",{onClick:u},"物模型属性功能")]),_:1})):(o(),J(A,{key:1},[n(l,{activeKey:e(a),"onUpdate:activeKey":c[0]||(c[0]=f=>V(a)?a.value=f:null)},{default:p(()=>[n(r,{key:"Simple",tab:"精简模式"}),n(r,{key:"Advance",tab:"高级模式"})]),_:1},8,["activeKey"]),(o(),m(h(_[e(a)])))],64))}}});export{L as _};
