You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
677 B
1 lines
677 B
import{o as r,a}from"./delegate-CI_DDEu_.js";const d="@@coContext",u={mounted(c,{value:t,modifiers:n}){c[d]={handler:void 0},typeof t=="function"&&(c[d].handler=t,r("clickoutside",c,t,{capture:n.capture}))},updated(c,{value:t,modifiers:n}){const e=c[d];typeof t=="function"?e.handler?e.handler!==t&&(a("clickoutside",c,e.handler,{capture:n.capture}),e.handler=t,r("clickoutside",c,t,{capture:n.capture})):(c[d].handler=t,r("clickoutside",c,t,{capture:n.capture})):e.handler&&(a("clickoutside",c,e.handler,{capture:n.capture}),e.handler=void 0)},unmounted(c,{modifiers:t}){const{handler:n}=c[d];n&&a("clickoutside",c,n,{capture:t.capture}),c[d].handler=void 0}};export{u as c};
|