suyuan/public/admin/assets/oa-phone.c2404932.js

2 lines
2.5 KiB
JavaScript
Raw Normal View History

2023-12-14 14:08:59 +08:00
import{c as P}from"./element-plus.7a22678c.js";import{d as V,by as j,b as B,a3 as _,o as e,c as o,a as n,T as r,K as f,U as h,a6 as v,u as s,Q as D,O as F,S as x,L as I,M as L,b7 as M,b6 as N}from"./@vue.108c970a.js";import{u as b}from"./useMenuOa.122b2e2a.js";import{l as O,d as A}from"./index.8530c548.js";import"./@vueuse.d3d080b7.js";import"./@element-plus.d6eabd08.js";import"./lodash-es.29c53eac.js";import"./dayjs.ff93117e.js";import"./axios.eb055ccc.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.860a5825.js";import"./lodash.ec5da75f.js";import"./vue-router.ed788fee.js";import"./pinia.eff1ffd5.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.31dc130b.js";import"./color.b6d632a4.js";import"./clone.7a47b02c.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.3a33898e.js";import"./ms.a9ae1d6d.js";import"./nprogress.fa64f2fc.js";import"./vue-clipboard3.be0dfeee.js";import"./clipboard.824ba320.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.241b9b5d.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)),K={class:"flex oa-phone-menu"},Q={class:"flex items-center justify-center oa-phone-menu-switch"},T=["onClick"],U={class:"oa-phone-menu-subitem"},$=V({__name:"oa-phone",setup(i){j(S=>({"591d956f":s(C)}));const y=O(),C=B(()=>y.theme||"#4A5DFF"),{menuList:m,menuIndex:p,handleAddMenu:c}=b(b);return(S,l)=>{const k=_("Grid"),d=P,g=_("Plus");return e(),o("div",G,[z,n("div",K,[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:F(["flex items-center justify-center flex-1 text-sm oa-phone-menu-item",{"active-menu":s(p)===a}])},x(t.name),3),I(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),[[L,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})])):D("",!0)])])}}});const jt=A($,[["__scopeId","data-v-d95f9d8f"]]);export{jt as default};