import{p as e,H as o,c as t,h as s,t as i}from"./p-yZBlG3YQ.js";import{d}from"./p-DT0LGcPi.js";const n=()=>`verdocs-question-dialog{top:0;left:0;right:0;bottom:0;position:fixed;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:"Inter", "Barlow", sans-serif}verdocs-question-dialog.closed{display:none}verdocs-question-dialog textarea{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #707ae5;border-radius:4px;background:#ffffff;color:#000;width:100%;font-size:14px;padding:9px;outline:none}verdocs-question-dialog .heading .title{font-size:18px}verdocs-question-dialog .buttons{gap:20px;display:-ms-flexbox;display:flex;margin-top:24px;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center}verdocs-question-dialog .buttons button{-ms-flex:1;flex:1;border:0;height:38px;display:-ms-flexbox;display:flex;color:#ffffff;font-size:14px;cursor:pointer;border-radius:6px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}verdocs-question-dialog .buttons button.cancel{background-color:#654dcb}verdocs-question-dialog .buttons button.ok{background-color:#55bc81}verdocs-question-dialog .buttons button.ok.single{max-width:150px}verdocs-question-dialog .buttons button:disabled{background-color:#6c727f}`;const c=`<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.4809 13.8423H15.4C16.2962 13.8423 17 13.1288 17 12.2764V5.56582C17 4.71348 16.2962 4 15.4 4H4.6C3.70383 4 3 4.71348 3 5.56582V12.2764C3 13.1288 3.70383 13.8423 4.6 13.8423H6.19908L6.2 17L6.20346 16.9997L6.20502 16.9988L10.4809 13.8423ZM6.79895 17.8034C6.35668 18.1298 5.73 18.0406 5.39921 17.6042C5.26989 17.4335 5.2 17.2262 5.2 17.0133L5.19937 14.8423H4.6C3.16406 14.8423 2 13.6935 2 12.2764V5.56582C2 4.14876 3.16406 3 4.6 3H15.4C16.8359 3 18 4.14876 18 5.56582V12.2764C18 13.6935 16.8359 14.8423 15.4 14.8423H10.81L6.79895 17.8034Z" fill="#ffffff"/></svg>`;const a=e(class e extends o{constructor(e){super();if(e!==false){this.__registerHost()}this.next=t(this,"next");this.exit=t(this,"exit");this.question="";this.closed=false}handleOk(){this.next.emit({question:this.question})}handleCancel(){this.exit.emit()}handleDismiss(e){this.closed=true;if(e.target.className==="background-overlay"){e.preventDefault();this.exit.emit()}}render(){return s("verdocs-dialog",{key:"2697b58a7c65243705c15993e5a967894b725196",onExit:e=>this.handleDismiss(e)},s("div",{key:"0c6d340d05717b4580e001e8cff4d544f3dac072",slot:"heading",class:"heading"},s("div",{key:"e5e3c323b48a90431f2593a062715d316608dc71",class:"icon",innerHTML:c}),s("div",{key:"8ebc86de76b84cf255efbf6bc8db8876142e858d",class:"title"},"Ask the Sender a Question")),s("div",{key:"c3f96587257dbd2e0ce98eba44a8ef7c3bba7c88",slot:"content",class:"content"},s("textarea",{key:"22c2c8dd80e41e77e0bed92f0b48a81f85466532",name:"question",rows:6,placeholder:"Enter your question...",onInput:e=>this.question=e.target.value},this.question)),s("div",{key:"11a32d726ead166b7b9bfa994a31de4c4998fdec",class:"footer",slot:"footer"},s("div",{key:"3fa336237b33537b9154c1eb7dfcd6b929a28e1e",class:"buttons"},s("button",{key:"aedcec8fc3948515d93adce69f15eb048bdd824e",class:"cancel",onClick:()=>this.handleCancel()},"Cancel"),s("button",{key:"2bd012fe2e6866922edde4a4abadb943c78f44ef",class:"ok",onClick:()=>this.handleOk()},"OK"))))}static get style(){return n()}},[0,"verdocs-question-dialog",{question:[1025],closed:[32]}]);function r(){if(typeof customElements==="undefined"){return}const e=["verdocs-question-dialog","verdocs-dialog"];e.forEach((e=>{switch(e){case"verdocs-question-dialog":if(!customElements.get(i(e))){customElements.define(i(e),a)}break;case"verdocs-dialog":if(!customElements.get(i(e))){d()}break}}))}export{a as V,r as d};
//# sourceMappingURL=p-DsEO0-XR.js.map