data_center/public/admin/assets/oa-phone.a025b5b8.js

2 lines
2.5 KiB
JavaScript

import{c as V}from"./element-plus.9c2fdfa8.js";import{d as P,bH as j,e as B,a4 as _,o as e,c as o,a as n,U as r,L as f,T as h,a7 as v,O as D,u as s,S as x,M as F,V as I,Q as L,bf as M,be as N}from"./@vue.53f8d7c3.js";import{u as C}from"./useMenuOa.902528ff.js";import{l as O,d as A}from"./index.b57b84f0.js";import"./@vueuse.038954e7.js";import"./@element-plus.37f92579.js";import"./lodash-es.29c53eac.js";import"./dayjs.e873ead7.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./wx_oa.91a2178f.js";import"./lodash.5512e984.js";import"./axios.92474d72.js";import"./vue-router.e2f4a118.js";import"./pinia.bd103f5d.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.ee641d3d.js";import"./color.cbc2f3a9.js";import"./clone.7fddbad2.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a7d78d4d.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.9cf3e967.js";const E=i=>(M("data-v-d95f9d8f"),i=i(),N(),i),G={class:"oa-phone mr-[35px]"},z=E(()=>n("div",{class:"oa-phone-content"},null,-1)),H={class:"flex oa-phone-menu"},Q={class:"flex items-center justify-center oa-phone-menu-switch"},T=["onClick"],U={class:"oa-phone-menu-subitem"},$=P({__name:"oa-phone",setup(i){j(S=>({"591d956f":s(y)}));const b=O(),y=B(()=>b.theme||"#4A5DFF"),{menuList:m,menuIndex:p,handleAddMenu:c}=C(C);return(S,l)=>{const k=_("Grid"),d=V,g=_("Plus");return e(),o("div",G,[z,n("div",H,[n("div",Q,[r(d,null,{default:f(()=>[r(k)]),_:1})]),(e(!0),o(h,null,v(s(m),(t,a)=>(e(),o("div",{key:a,class:"relative flex-1",onClick:u=>p.value=a},[n("div",{class:D(["flex items-center justify-center flex-1 text-sm oa-phone-menu-item",{"active-menu":s(p)===a}])},x(t.name),3),F(n("div",U,[(e(!0),o(h,null,v(t.sub_button,(u,w)=>(e(),o("div",{key:w,class:"oa-phone-menu-subitem-title"},x(u.name),1))),128))],512),[[I,t.sub_button.length&&t.has_menu]])],8,T))),128)),s(m).length<=2?(e(),o("div",{key:0,class:"flex items-center justify-center flex-1 h-full",onClick:l[0]||(l[0]=(...t)=>s(c)&&s(c)(...t))},[r(d,null,{default:f(()=>[r(g)]),_:1})])):L("",!0)])])}}});const Bt=A($,[["__scopeId","data-v-d95f9d8f"]]);export{Bt as default};