import{r as t,c as r,h as n,H as e}from"./p-c1e62c18.js";const o=class{constructor(n){t(this,n),this.change=r(this,"change",7),this.options=[],this.shape="rectangular"}render(){const{options:t,shape:r,value:o}=this;return n(e,{class:{[r]:!0}},t.map((t=>n("dvn-button",{leaned:!0,onClick:()=>this.change.emit(t.value),shape:r,tint:"primary",view:t.value===o?"solid":"flat"},t.label))))}};o.style="dvn-content-switcher{--base-color:var(--color-primary);--button-border-radius:var(--corner-radius);--content-switcher-height:32px;display:inline-block;border-radius:var(--corner-radius);height:var(--content-switcher-height);box-shadow:inset 0px 0px 0px 1px var(--base-color)}dvn-content-switcher.rounded{border-radius:var(--content-switcher-height)}dvn-content-switcher dvn-button button{font-weight:normal !important}";export{o as dvn_content_switcher}