"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./notice-icon.cjs"),c=require("./notice-content.cjs"),r=require("./notice-action.cjs"),i=require("./notice-constants.cjs"),s=require("../../_plugin-vue2_normalizer-e_CkxkSV.cjs"),a={name:"DtNotice",components:{DtNoticeIcon:o.default,DtNoticeContent:c.default,DtNoticeAction:r.default},props:{titleId:{type:String,default:void 0},contentId:{type:String,default:void 0},title:{type:String,default:""},role:{type:String,default:"status",validate(e){return i.NOTICE_ROLES.includes(e)}},important:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(e){return i.NOTICE_KINDS.includes(e)}},hideClose:{type:Boolean,default:!1},hideIcon:{type:Boolean,default:!1},hideAction:{type:Boolean,default:!1},truncateText:{type:Boolean,default:!1}},emits:["close"],computed:{noticeClass(){return["d-notice",{error:"d-notice--error",info:"d-notice--info",success:"d-notice--success",warning:"d-notice--warning",base:"d-notice--base"}[this.kind],{"d-notice--important":this.important,"d-notice--truncate":this.truncateText}]}}};var d=function(){var t=this,n=t._self._c;return n("aside",{class:t.noticeClass,attrs:{"data-qa":"notice"}},[t.hideIcon?t._e():n("dt-notice-icon",{attrs:{kind:t.kind}},[t._t("icon")],2),n("dt-notice-content",t._g({attrs:{"title-id":t.titleId,"content-id":t.contentId,title:t.title,role:t.role},scopedSlots:t._u([{key:"titleOverride",fn:function(){return[t._t("titleOverride")]},proxy:!0}],null,!0)},t.$listeners),[t._t("default")],2),n("dt-notice-action",t._g({attrs:{"hide-action":t.hideAction,"hide-close":t.hideClose}},t.$listeners),[t._t("action")],2)],1)},l=[],u=s.n(a,d,l);const _=u.exports;exports.default=_;
//# sourceMappingURL=notice.cjs.map
