"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../../common/mixins/input-group.cjs"),n=require("../../_plugin-vue2_normalizer-e_CkxkSV.cjs"),r=require("../validation-messages/validation-messages.cjs"),i={name:"DtInputGroup",components:{DtValidationMessages:r.default},mixins:[t.InputGroupMixin],props:{dataQaGroup:{type:String,default:"input-group"},dataQaGroupLegend:{type:String,default:"input-group-legend"},dataQaGroupMessages:{type:String,default:"input-group-messages"}},emits:["input"],data(){return{internalValue:this.value,provideObj:{value:this.value}}},watch:{value(a){this.internalValue=a},internalValue(a){this.provideObj.value=a}},methods:{getMessageKey(a,e){return`input-group-message-${a}-${e}-${this.id}`}}};var u=function(){var e=this,s=e._self._c;return s("fieldset",{staticClass:"d-input-group__fieldset",attrs:{"data-qa":e.dataQaGroup}},[e.$slots.legend||e.legend?s("legend",e._b({class:["d-label",e.legendClass],attrs:{"data-qa":e.dataQaGroupLegend}},"legend",e.legendChildProps,!1),[e._t("legend",function(){return[e._v(" "+e._s(e.legend)+" ")]})],2):e._e(),e._t("default"),s("dt-validation-messages",e._b({class:e.messagesClass,attrs:{"validation-messages":e.formattedMessages,"show-messages":e.showMessages,"data-qa":e.dataQaGroupMessages}},"dt-validation-messages",e.messagesChildProps,!1))],2)},l=[],d=n.n(i,u,l);const o=d.exports;exports.default=o;
//# sourceMappingURL=input-group.cjs.map
