"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("@dialpad/dialtone-icons/vue2"),i=require("./unread-pill-constants.cjs"),a=require("../../localization/index.cjs"),o=require("../../_plugin-vue2_normalizer-e_CkxkSV.cjs"),l={name:"DtRecipeUnreadPill",components:{DtIconArrowUp:n.DtIconArrowUp,DtIconArrowDown:n.DtIconArrowDown},props:{kind:{type:String,required:!0,validator:t=>i.UNREAD_PILL_KINDS.includes(t)},direction:{type:String,required:!0,validator:t=>i.UNREAD_PILL_DIRECTIONS.includes(t)}},emits:["click"],data(){return{i18n:new a.DialtoneLocalization}},computed:{text(){return this.kind==="mentions"?this.i18n.$t("DIALTONE_UNREAD_PILL_MENTIONS_TEXT"):this.i18n.$t("DIALTONE_UNREAD_PILL_MESSAGES_TEXT")}}};var s=function(){var e=this,r=e._self._c;return r("button",e._g({class:["d-recipe-leftbar-unread-pill",`d-recipe-leftbar-unread-pill-${e.kind}`],attrs:{type:"button","data-qa":"dt-recipe-leftbar-unread-pill"}},e.$listeners),[e.direction==="up"?r("dt-icon-arrow-up",{attrs:{size:"300"}}):r("dt-icon-arrow-down",{attrs:{size:"300"}}),r("span",{attrs:{"data-qa":"dt-recipe-leftbar-unread-pill__label"}},[e._t("default",function(){return[e._v(" "+e._s(e.text)+" ")]})],2)],1)},_=[],c=o.n(l,s,_);const d=c.exports;exports.default=d;
//# sourceMappingURL=unread-pill.cjs.map
