import{r as o,h as e}from"./p-6vpKbd31.js";const t='@-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 r=class{constructor(e){o(this,e);this.selectedOption=0}componentWillLoad(){var o;console.log("verdocs-toggle componentWillLoad",this.options);this.selectedOption=((o=this.options)===null||o===void 0?void 0:o.defaultSelection)||0}render(){return e("div",{key:"31aac06c36d64cec8c297593fbf81cbf53dba179",class:"container"},e("span",{key:"b289e9a9d8081c64542bdf8c1c98c315cef22a9a",class:"label"},`${this.options.label}:`),e("div",{key:"5b6de07895d3c2f871d254dbfd6f7d2034128b77",class:"buttons"},this.options.buttons.map(((o,t)=>e("button",{id:o.id,key:o.id,innerHTML:o.icon,class:t===this.selectedOption?"selected":"",onClick:()=>{console.log("clicked",t);this.selectedOption=t}})))))}};r.style=t;export{r as verdocs_toggle};
//# sourceMappingURL=p-1fece585.entry.js.map