"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("../item-layout/item-layout.cjs"),c=require("../avatar/avatar.cjs"),i=require("../../_plugin-vue2_normalizer-e_CkxkSV.cjs"),l={name:"DtRecipeContactInfo",components:{DtAvatar:c.default,DtItemLayout:o.default},props:{role:{type:String,default:""},showAvatar:{type:Boolean,default:!0},avatarSrc:{type:String,default:""},avatarSeed:{type:String,default:null},avatarFullName:{type:String,default:""},avatarSize:{type:String,default:"lg"},avatarLabelledBy:{type:String,default:""},avatarColor:{type:String,default:null},presence:{type:String,default:null},avatarList:{type:Array,default:null}},emits:["avatar-click"],methods:{avatarClick(){this.$emit("avatar-click")}}};var s=function(){var t=this,a=t._self._c;return a("dt-item-layout",{staticClass:"d-recipe-contact-info",attrs:{role:t.role,"data-qa":"contact-info","content-class":"d-recipe-contact-info__content","right-class":"d-recipe-contact-info__right",unstyled:""},scopedSlots:t._u([t.showAvatar?{key:"left",fn:function(){return[a("button",{staticClass:"d-recipe-contact-info__left",attrs:{"data-qa":"contact-info-left","aria-labelledby":t.avatarLabelledBy},on:{click:t.avatarClick}},[t.avatarList?a("span",{staticClass:"d-recipe-contact-info__avatars"},t._l(t.avatarList,function(e,r){return a("dt-avatar",{key:r,attrs:{size:t.avatarSize,seed:e.seed,"full-name":e.fullName,"image-src":e.src,"image-alt":"","overlay-text":e.text,"avatar-class":[{"d-recipe-contact-info__avatar-stacked":r>0,"d-recipe-contact-info__avatar-halo":!!e.halo}]},scopedSlots:t._u([{key:"icon",fn:function({iconSize:n}){return[t._t("avatarIcon",null,{iconSize:n})]}},e.icon?{key:"overlayIcon",fn:function(){return[a(e.icon,{tag:"component"})]},proxy:!0}:null],null,!0)})}),1):a("dt-avatar",{attrs:{size:t.avatarSize,"full-name":t.avatarFullName,"image-src":t.avatarSrc,"image-alt":"",seed:t.avatarSeed,color:t.avatarColor,presence:t.presence},scopedSlots:t._u([{key:"icon",fn:function({iconSize:e}){return[t._t("avatarIcon",null,{iconSize:e})]}}],null,!0)})],1)]},proxy:!0}:null,{key:"default",fn:function(){return[a("div",{staticClass:"d-recipe-contact-info__header",attrs:{"data-qa":"contact-info-header"}},[t._t("header")],2)]},proxy:!0},{key:"subtitle",fn:function(){return[a("div",{staticClass:"d-recipe-contact-info__subtitle",attrs:{"data-qa":"contact-info-subtitle"}},[t._t("subtitle")],2)]},proxy:!0},t.$slots.bottom?{key:"bottom",fn:function(){return[a("div",{staticClass:"d-recipe-contact-info__bottom",attrs:{"data-qa":"contact-info-bottom"}},[t._t("bottom")],2)]},proxy:!0}:null,t.$slots.right?{key:"right",fn:function(){return[a("div",{attrs:{"data-qa":"contact-info-right"}},[t._t("right")],2)]},proxy:!0}:null],null,!0)})},u=[],f=i.n(l,s,u);const d=f.exports;exports.default=d;
//# sourceMappingURL=contact-info.cjs.map
