WokerTask/public/admin/assets/oa-phone.861d29d4.js

2 lines
2.6 KiB
JavaScript

import{c as V}from"./element-plus.ff90c99c.js";import{d as F,bI as I,u as e,b as P,ag as _,o,c as s,a as n,W as r,Q as f,F as h,a9 as v,K as j,V as x,R as B,X as D,T as N,bg as A,bf as E}from"./@vue.f8dfc830.js";import{u as b}from"./useMenuOa.a593f2e0.js";import{q as G,d as L}from"./index.71302537.js";import"./lodash-es.a73406b7.js";import"./@vueuse.a2e59ee9.js";import"./@element-plus.0374639c.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.7f1be2bc.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.34a21088.js";import"./wx_oa.545c399a.js";import"./lodash.3e731b89.js";import"./axios.c2babb35.js";import"./vue-router.6d4cf914.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.3a7f085f.js";import"./color.5ae3e2dd.js";import"./clone.7bcb5228.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.37836f15.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.79024f1a.js";const M=i=>(A("data-v-d95f9d8f"),i=i(),E(),i),O={class:"oa-phone mr-[35px]"},q=M(()=>n("div",{class:"oa-phone-content"},null,-1)),z={class:"flex oa-phone-menu"},K={class:"flex items-center justify-center oa-phone-menu-switch"},Q=["onClick"],R={class:"oa-phone-menu-subitem"},T=F({__name:"oa-phone",setup(i){I(y=>({"591d956f":e(g)}));const C=G(),g=P(()=>C.theme||"#4A5DFF"),{menuList:m,menuIndex:p,handleAddMenu:c}=b(b);return(y,l)=>{const k=_("Grid"),d=V,S=_("Plus");return o(),s("div",O,[q,n("div",z,[n("div",K,[r(d,null,{default:f(()=>[r(k)]),_:1})]),(o(!0),s(h,null,v(e(m),(t,a)=>(o(),s("div",{key:a,class:"relative flex-1",onClick:u=>p.value=a},[n("div",{class:j(["flex items-center justify-center flex-1 text-sm oa-phone-menu-item",{"active-menu":e(p)===a}])},x(t.name),3),B(n("div",R,[(o(!0),s(h,null,v(t.sub_button,(u,w)=>(o(),s("div",{key:w,class:"oa-phone-menu-subitem-title"},x(u.name),1))),128))],512),[[D,t.sub_button.length&&t.has_menu]])],8,Q))),128)),e(m).length<=2?(o(),s("div",{key:0,class:"flex items-center justify-center flex-1 h-full",onClick:l[0]||(l[0]=(...t)=>e(c)&&e(c)(...t))},[r(d,null,{default:f(()=>[r(S)]),_:1})])):N("",!0)])])}}});const Bt=L(T,[["__scopeId","data-v-d95f9d8f"]]);export{Bt as default};