/*!
 * KoliBri - The accessible HTML-Standard
 */
import{r as i,h as t}from"./index-a5e15b1e.js";const s="",e=s,n=class{constructor(e){i(this,e),this._active=void 0,this._label=void 0,this._open=void 0,this._href=void 0}async focusLink(){this.element&&await this.element.focusLink()}async expand(){this.element&&await this.element.expand()}async collapse(){this.element&&await this.element.collapse()}async isOpen(){var e,t;return null!==(t=await(null===(e=this.element)||void 0===e?void 0:e.isOpen()))&&void 0!==t&&t}render(){return t("kol-tree-item-wc",{_active:this._active,_label:this._label,_open:this._open,_href:this._href,ref:e=>this.element=e},t("slot",null))}};n.style={default:e};export{n as kol_tree_item};