"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),u=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),d=require("../keyboard-shortcut/keyboard-shortcut.cjs"),s=require("../stack/stack.cjs"),_=require("../tooltip/tooltip.cjs"),p=require("../button/button.cjs"),b={compatConfig:{MODE:3},name:"DtRecipeMessageInputButton",components:{DtButton:p.default,DtTooltip:_.default,DtStack:s.default,DtKeyboardShortcut:d.default},props:{ariaLabel:{type:String,required:!0},tooltipText:{type:String,required:!0},keyboardShortcutText:{type:String,default:""},isActive:{type:Boolean,default:!1},dataQa:{type:String,required:!0}},emits:["click"]};function k(o,r,e,y,f,S){const n=t.resolveComponent("dt-button"),a=t.resolveComponent("dt-keyboard-shortcut"),i=t.resolveComponent("dt-stack"),c=t.resolveComponent("dt-tooltip");return t.openBlock(),t.createBlock(c,null,{anchor:t.withCtx(()=>[t.createVNode(n,{"data-qa":e.dataQa,importance:"clear",kind:"muted","aria-label":e.ariaLabel,size:"xs",active:e.isActive,onClick:r[0]||(r[0]=l=>o.$emit("click",l))},{icon:t.withCtx(()=>[t.renderSlot(o.$slots,"icon")]),_:3},8,["data-qa","aria-label","active"])]),default:t.withCtx(()=>[t.createVNode(i,{gap:"200"},{default:t.withCtx(()=>[t.createElementVNode("p",null,t.toDisplayString(e.tooltipText),1),e.keyboardShortcutText?(t.openBlock(),t.createBlock(a,{key:0,inverted:"",shortcut:e.keyboardShortcutText},null,8,["shortcut"])):t.createCommentVNode("",!0)]),_:1})]),_:3})}const m=u._(b,[["render",k]]);exports.default=m;
//# sourceMappingURL=message-input-button.cjs.map
