/*!
 * KoliBri - The accessible HTML-Standard
 */
import{proxyCustomElement,HTMLElement,h}from"@stencil/core/internal/client";import{d as defineCustomElement$7}from"./component.js";import{d as defineCustomElement$6}from"./shadow2.js";import{d as defineCustomElement$5}from"./component9.js";import{d as defineCustomElement$4}from"./component2.js";import{d as defineCustomElement$3}from"./component3.js";import{d as defineCustomElement$2}from"./component16.js";const defaultStyleCss="",KolTreeItemDefaultStyle0="",KolTreeItem$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),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 h("kol-tree-item-wc",{_active:this._active,_label:this._label,_open:this._open,_href:this._href,ref:e=>this.element=e},h("slot",null))}static get style(){return{default:""}}},[33,"kol-tree-item",{_active:[4],_label:[1],_open:[4],_href:[1],focusLink:[64],expand:[64],collapse:[64],isOpen:[64]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-tree-item","kol-icon","kol-link","kol-link-wc","kol-span-wc","kol-tooltip-wc","kol-tree-item-wc"].forEach((e=>{switch(e){case"kol-tree-item":customElements.get(e)||customElements.define(e,KolTreeItem$1);break;case"kol-icon":customElements.get(e)||defineCustomElement$7();break;case"kol-link":customElements.get(e)||defineCustomElement$6();break;case"kol-link-wc":customElements.get(e)||defineCustomElement$5();break;case"kol-span-wc":customElements.get(e)||defineCustomElement$4();break;case"kol-tooltip-wc":customElements.get(e)||defineCustomElement$3();break;case"kol-tree-item-wc":customElements.get(e)||defineCustomElement$2()}}))}const KolTreeItem=KolTreeItem$1,defineCustomElement=defineCustomElement$1;export{KolTreeItem,defineCustomElement};