"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@dialpad/dialtone-icons/vue3"),r=require("./notice-constants.cjs"),l=require("../../common/utils/index.cjs"),t=require("vue"),i=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),s=new Map([["info",e.DtIconInfo],["success",e.DtIconCheckCircle],["warning",e.DtIconAlertTriangle],["error",e.DtIconAlertCircle],["base",e.DtIconBell]]),a={compatConfig:{MODE:3},name:"DtNoticeIcon",components:{DtIconInfo:e.DtIconInfo,DtIconCheckCircle:e.DtIconCheckCircle,DtIconAlertTriangle:e.DtIconAlertTriangle,DtIconAlertCircle:e.DtIconAlertCircle,DtIconBell:e.DtIconBell},props:{kind:{type:String,default:"base",validate(n){return r.NOTICE_KINDS.includes(n)}}},data(){return{hasSlotContent:l.hasSlotContent}},computed:{defaultIcon(){return s.get(this.kind)}}},u={key:0,"aria-hidden":"true",class:"d-notice__icon"};function d(n,D,_,C,c,o){return o.defaultIcon||c.hasSlotContent(n.$slots.default)?(t.openBlock(),t.createElementBlock("div",u,[t.renderSlot(n.$slots,"default",{},()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.defaultIcon),{size:"400"}))])])):t.createCommentVNode("",!0)}const I=i._(a,[["render",d]]);exports.default=I;
//# sourceMappingURL=notice-icon.cjs.map
