PageSourceSearch

https://mhtclouding.com/tongying/assets/MailSidebar-CK8sRFUN.js

js mhtclouding.com collected 2026-10-02 16:03:19 UTC 2,304 bytes, 1 lines download raw bytes

1import{_ as G,r as v,w as k,d as n,o as c,c as r,e as t,f as d,h as l,H as f,I as h,m,A as i,n as w,p as I,x as B,al as N,s as V,t as A}from"./index-uGWb9Yh4.js";const L=a=>(V("data-v-cc9b8e81"),a=a(),A(),a),M={class:"mail-sidebar"},j={class:"sidebar-section"},D=L(()=>t("div",{class:"section-title"},"邮箱",-1)),E={class:"folder-item"},H={class:"folder-name"},O={class:"folder-count"},T={class:"sidebar-section"},q={class:"section-title"},z={class:"group-item"},J={class:"group-name"},K={class:"group-count"},P={__name:"MailSidebar",props:{mailFolders:{type:Array,default:()=>[]},customerGroups:{type:Array,default:()=>[]},activeFolder:{type:String,default:"inbox"},activeCustomerGroup:{type:String,default:""},selectedCustomer:{type:Object,default:null}},emits:["update:activeFolder","update:activeCustomerGroup","update:selectedCustomer","folder-change","customer-group-change","customer-select"],setup(a,{emit:g}){const b=a,o=g;v([]);const u=v(!1),C=s=>{o("update:activeFolder",s),o("update:activeCustomerGroup",""),o("folder-change",s),u.value=!1},S=s=>{o("update:activeCustomerGroup",s),o("update:activeFolder",""),o("customer-group-change",s),u.value=!1};return k(()=>b.activeCustomerGroup,s=>{s&&(u.value=!1)}),(s,Q)=>{const y=n("el-badge"),_=n("el-menu-item"),p=n("el-menu"),x=n("el-icon"),F=n("el-tooltip");return c(),r("div",M,[t("div",j,[D,d(p,{"default-active":a.activeFolder,class:"folder-menu",onSelect:C},{default:l(()=>[(c(!0),r(f,null,h(a.mailFolders,e=>(c(),m(_,{key:e.id,index:e.id},{title:l(()=>[t("div",E,[t("span",H,i(e.name),1),t("span",O,i(e.count),1),e.badge?(c(),m(y,{key:0,value:e.badge,class:"badge"},null,8,["value"])):w("",!0)])]),_:2},1032,["index"]))),128))]),_:1},8,["default-active"])]),t("div",T,[t("div",q,[I(" 客户分组 "),d(F,{content:"为了性能,每组最多展示200个客户",placement:"top"},{default:l(()=>[d(x,null,{default:l(()=>[d(B(N))]),_:1})]),_:1})]),d(p,{"default-active":a.activeCustomerGroup,class:"customer-group-menu",onSelect:S},{default:l(()=>[(c(!0),r(f,null,h(a.customerGroups,e=>(c(),m(_,{key:e.id,index:e.id},{title:l(()=>[t("div",z,[t("span",J,i(e.name),1),t("span",K,i(e.count)+"/"+i(e.maxCount),1)])]),_:2},1032,["index"]))),128))]),_:1},8,["default-active"])])])}}},U=G(P,[["__scopeId","data-v-cc9b8e81"]]);export{U as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.