import{r as o,h as e}from"./p-C1erT8T2.js";const r='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-toggle{font-family:"Inter", "Barlow", sans-serif}verdocs-toggle .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#f5f5fa}verdocs-toggle .label{font-size:24px;font-weight:700;color:#33354c;-ms-flex-item-align:center;align-self:center;margin-right:27px;font-family:sans-serif}verdocs-toggle .buttons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}verdocs-toggle .buttons button{width:60px;height:60px;border:2px solid #654dcb;border-radius:5px;cursor:pointer}verdocs-toggle .buttons button:not(:last-child){margin-right:11px}verdocs-toggle .buttons svg{width:30px;height:30px}verdocs-toggle .buttons button:hover{background-color:#654dcb;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .buttons button:hover svg{fill:#f5f5fa;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected{background-color:#707ae5;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected svg{fill:#ffffff;-webkit-transition:0.25s;transition:0.25s}';const t=class{constructor(e){o(this,e);this.selectedOption=0}componentWillLoad(){var o;this.selectedOption=((o=this.options)===null||o===void 0?void 0:o.defaultSelection)||0}render(){return e("div",{key:"aaa423ec2c2783ea0e8df7ce716ef0faeb5381b7",class:"container"},e("span",{key:"4a046c8928e0c524a39fac38ef4e6659ab22caca",class:"label"},`${this.options.label}:`),e("div",{key:"e83171226f4084830a49ad684a13c579874d5918",class:"buttons"},this.options.buttons.map(((o,r)=>e("button",{id:o.id,key:o.id,innerHTML:o.icon,class:r===this.selectedOption?"selected":"",onClick:()=>{console.log("clicked",r);this.selectedOption=r}})))))}};t.style=r;export{t as verdocs_toggle};
//# sourceMappingURL=p-a8ef0781.entry.js.map