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