import{r as s,c as t,h as i,g as e}from"./p-52e3bb32.js";import{r as o}from"./p-ffe5c0e8.js";import{d as r}from"./p-ee33960b.js";import"./p-bdd811bc.js";const c=class{constructor(i){s(this,i),this.afOnFocusOutside=t(this,"afOnFocusOutside",7),this.afOnFocusInside=t(this,"afOnFocusInside",7),this.afDataIdentifier=o("data-digi-util-detect-focus-outside")}componentWillLoad(){this.$el.setAttribute(this.afDataIdentifier,"")}focusinHandler(s){r(s.target,`[${this.afDataIdentifier}]`)?this.afOnFocusOutside.emit(s):this.afOnFocusInside.emit(s)}render(){return i("slot",{key:"97e05fb2f9c26c26d7705d319a3b404021329bc1"})}get $el(){return e(this)}};export{c as digi_util_detect_focus_outside}