"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("@dialpad/dialtone-icons/vue3"),c=require("../localization/index.cjs"),e=require("vue"),s=require("../_plugin-vue_export-helper-BRilXfQE.cjs"),i=require("../lib/button/button.cjs"),r={name:"SrOnlyCloseButton",components:{DtIconClose:l.DtIconClose,DtButton:i.default},emits:["close"],data(){return{i18n:new c.DialtoneLocalization}},computed:{closeButtonTitle(){return this.i18n.$t("DIALTONE_CLOSE_BUTTON")}},methods:{close(){this.$emit("close")}}};function u(d,_,p,b,m,t){const o=e.resolveComponent("dt-icon-close"),n=e.resolveComponent("dt-button");return e.openBlock(),e.createBlock(n,{id:"sr-only-close-button","data-qa":"dt-sr-only-close-button",class:"d-vi-visible-sr","aria-label":t.closeButtonTitle,title:t.closeButtonTitle,onClick:t.close,onKeydown:e.withKeys(e.withModifiers(t.close,["prevent","stop"]),["space"])},{default:e.withCtx(()=>[e.createVNode(o)]),_:1},8,["aria-label","title","onClick","onKeydown"])}const a=s._(r,[["render",u]]);exports.default=a;
//# sourceMappingURL=sr_only_close_button.cjs.map
