suyuan-breed/public/admin/assets/oa-phone.4cc8f463.js

2 lines
2.5 KiB
JavaScript
Raw Normal View History

2024-01-30 09:49:28 +08:00
import{c as P}from"./element-plus.995fab54.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.588fa623.js";import{l as O,d as A}from"./index.49bc9e20.js";import"./@vueuse.d3d080b7.js";import"./@element-plus.d6eabd08.js";import"./lodash-es.29c53eac.js";import"./dayjs.664390f6.js";import"./axios.4ebfdb3f.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.b9ea8136.js";import"./lodash.e92d81a1.js";import"./vue-router.ed788fee.js";import"./pinia.eff1ffd5.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.dbf33394.js";import"./color.e1b5fced.js";import"./clone.0a4e8ac3.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.f174a91e.js";import"./ms.a9ae1d6d.js";import"./nprogress.d7c3ab1b.js";import"./vue-clipboard3.add720e2.js";import"./clipboard.01ea18f5.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};