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