Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}}),require(`../../chunk-Bmb41Sf3.cjs`);const e=require(`../../_plugin-vue_export-helper-D8jCH6HB.cjs`),t=require(`./general-row-constants.cjs`);let n=require(`vue`),r=require(`@dialpad/dialtone-icons/vue3`);var i=new Map([[t.LEFTBAR_GENERAL_ROW_TYPES.INBOX,r.DtIconInbox],[t.LEFTBAR_GENERAL_ROW_TYPES.CONTACTS,r.DtIconContacts],[t.LEFTBAR_GENERAL_ROW_TYPES.CHANNELS,r.DtIconHash],[t.LEFTBAR_GENERAL_ROW_TYPES.THREADS,r.DtIconThread],[t.LEFTBAR_GENERAL_ROW_TYPES.LAUNCHPAD,r.DtIconLayoutTemplate],[t.LEFTBAR_GENERAL_ROW_TYPES.LOCKED_CHANNEL,r.DtIconLock],[t.LEFTBAR_GENERAL_ROW_TYPES.QUICK_START,r.DtIconSparkle],[t.LEFTBAR_GENERAL_ROW_TYPES.COACHING_GROUP,r.DtIconUsers],[t.LEFTBAR_GENERAL_ROW_TYPES.COACHING_CENTER,r.DtIconExternalLink],[`locked channel unread`,r.DtIconLockFilled],[`channel unread`,r.DtIconHashBold],[t.LEFTBAR_GENERAL_ROW_TYPES.ASSIGNED,r.DtIconAtSign],[t.LEFTBAR_GENERAL_ROW_TYPES.DIGITAL,r.DtIconLaptop2],[t.LEFTBAR_GENERAL_ROW_TYPES.SCHEDULED,r.DtIconCalendarClock]]),a={compatConfig:{MODE:3},name:`DtRecipeLeftbarGeneralRowIcon`,components:{DtIconDialbot:r.DtIconDialbot,DtIconInbox:r.DtIconInbox,DtIconContacts:r.DtIconContacts,DtIconHash:r.DtIconHash,DtIconThread:r.DtIconThread,DtIconLayoutTemplate:r.DtIconLayoutTemplate,DtIconLock:r.DtIconLock,DtIconSparkle:r.DtIconSparkle,DtIconUsers:r.DtIconUsers,DtIconExternalLink:r.DtIconExternalLink,DtIconLockFilled:r.DtIconLockFilled,DtIconHashBold:r.DtIconHashBold,DtIconAtSign:r.DtIconAtSign,DtIconLaptop2:r.DtIconLaptop2,DtIconCalendarClock:r.DtIconCalendarClock},props:{type:{type:String,default:null},color:{type:String,default:null},iconSize:{type:String,default:`300`}},computed:{isIconType(){return![t.LEFTBAR_GENERAL_ROW_TYPES.DIALBOT,t.LEFTBAR_GENERAL_ROW_TYPES.CONTACT_CENTER].includes(this.type)},isContactCenterType(){return this.type===t.LEFTBAR_GENERAL_ROW_TYPES.CONTACT_CENTER},isDialbotType(){return this.type===t.LEFTBAR_GENERAL_ROW_TYPES.DIALBOT},getIconName(){return i.get(this.type)},contactCenterIconClasses(){return[`d-recipe-leftbar-row__icon-cc`,t.LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS[this.color]]}}},o={key:2,class:`d-recipe-leftbar-general-row__icon`,"data-qa":`general-row-dialbot`};function s(e,t,r,i,a,s){let c=(0,n.resolveComponent)(`dt-icon-dialbot`);return s.isIconType?((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(s.getIconName),{key:0,size:r.iconSize},null,8,[`size`])):s.isContactCenterType?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:1,class:(0,n.normalizeClass)(s.contactCenterIconClasses)},null,2)):s.isDialbotType?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,o,[(0,n.createVNode)(c,{size:`500`})])):(0,n.createCommentVNode)(``,!0)}var c=e.t(a,[[`render`,s]]);exports.default=c;
//# sourceMappingURL=leftbar-general-row-icon.cjs.map