"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[8529],{68529:function(e,t,i){i.r(t),i.d(t,{default:function(){return y}});var s=i(66252),n=i(49963),o=i(3577);const l=e=>((0,s.dD)("data-v-c806017e"),e=e(),(0,s.Cn)(),e),c={class:"more"},a={class:"more_box"},d=l((()=>(0,s._)("i",{class:"fi fi-rr-edit"},null,-1))),r={class:"text"},m=l((()=>(0,s._)("i",{class:"fi fi-bs-expand-arrows-alt"},null,-1))),u={class:"text"},p=l((()=>(0,s._)("i",{class:"fi fi-br-download"},null,-1))),w={class:"text"},v=l((()=>(0,s._)("span",{class:"icon iconfont icon-shanchu operate_icon"},null,-1))),k={class:"text"};function f(e,t,i,l,f,_){return(0,s.wg)(),(0,s.iD)("div",c,[(0,s._)("i",{class:"fi fi-br-menu-dots-vertical",onClick:t[0]||(t[0]=(0,n.iM)(((...t)=>e.openList&&e.openList(...t)),["stop"]))}),(0,s.wy)((0,s._)("div",a,[e.moreList.includes("edit")?((0,s.wg)(),(0,s.iD)("div",{key:0,class:"item",onClick:t[1]||(t[1]=(0,n.iM)((t=>e.setMore("edit")),["stop"]))},[d,(0,s._)("div",r,(0,o.zw)(e.$t("more.edit")),1)])):(0,s.kq)("",!0),e.moreList.includes("enlargement")?((0,s.wg)(),(0,s.iD)("div",{key:1,class:"item",onClick:t[2]||(t[2]=(0,n.iM)((t=>e.setMore("enlargement")),["stop"]))},[m,(0,s._)("div",u,(0,o.zw)(e.$t("more.enlargement")),1)])):(0,s.kq)("",!0),e.moreList.includes("down")?((0,s.wg)(),(0,s.iD)("div",{key:2,class:"item",onClick:t[3]||(t[3]=(0,n.iM)((t=>e.setMore("down")),["stop"]))},[p,(0,s._)("div",w,(0,o.zw)(e.$t("more.down")),1)])):(0,s.kq)("",!0),e.moreList.includes("delete")?((0,s.wg)(),(0,s.iD)("div",{key:3,class:"item",onClick:t[4]||(t[4]=(0,n.iM)((t=>e.setMore("delete")),["stop"]))},[v,(0,s._)("div",k,(0,o.zw)(e.$t("more.delete")),1)])):(0,s.kq)("",!0)],512),[[n.F8,e.show]])])}var _=i(2262),g=i(33907),L=i(47332),M=(0,s.aZ)({components:{},props:{moreList:{type:Array,default:()=>[]},item:{type:Object,default:()=>{}},index:{type:Number,default:0}},emits:["deleteFile","scaleImage"],setup(e,{emit:t}){(0,g.oR)();const i=(0,_.qj)({show:!1}),s=(0,_.qj)({}),n=()=>{i.show=!0,document.addEventListener("click",o)},o=()=>{i.show=!1,document.removeEventListener("click",o)},l=i=>{"delete"==i?t("deleteFile",e.item):"edit"==i?t("scaleImage",e.index):"down"==i?(console.log(e.item),(0,L.W$)(e.item.url)):"enlargement"==i&&t("scaleImage",e.index),o()};return{...(0,_.BK)(s),...(0,_.BK)(i),openList:n,setMore:l}},provide(){return{}}}),h=i(83744);const x=(0,h.Z)(M,[["render",f],["__scopeId","data-v-c806017e"]]);var y=x}}]);